@activepieces/piece-zoho-books 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/i18n/translation.json +9 -7
- package/src/index.js +22 -22
package/src/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
"use strict";var ov=Object.create;var Er=Object.defineProperty;var iv=Object.getOwnPropertyDescriptor;var av=Object.getOwnPropertyNames;var sv=Object.getPrototypeOf,cv=Object.prototype.hasOwnProperty;var s=(e,r)=>Er(e,"name",{value:r,configurable:!0});var O=(e,r)=>()=>{try{return r||e((r={exports:{}}).exports,r),r.exports}catch(n){throw r=0,n}},Ae=(e,r)=>{for(var n in r)Er(e,n,{get:r[n],enumerable:!0})},md=(e,r,n,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of av(r))!cv.call(e,t)&&t!==n&&Er(e,t,{get:()=>r[t],enumerable:!(i=iv(r,t))||i.enumerable});return e};var Ct=(e,r,n)=>(n=e!=null?ov(sv(e)):{},md(r||!e||!e.__esModule?Er(n,"default",{value:e,enumerable:!0}):n,e)),uv=e=>md(Er({},"__esModule",{value:!0}),e);var $m=O((Sm,Ea)=>{(function(e){"use strict";let r="(0?\\d+|0x[a-f0-9]+)",n={fourOctet:new RegExp(`^${r}\\.${r}\\.${r}\\.${r}$`,"i"),threeOctet:new RegExp(`^${r}\\.${r}\\.${r}$`,"i"),twoOctet:new RegExp(`^${r}\\.${r}$`,"i"),longValue:new RegExp(`^${r}$`,"i")},i=new RegExp("^0[0-7]+$","i"),t=new RegExp("^0x[a-f0-9]+$","i"),o="%[0-9a-z]{1,}",a="(?:[0-9a-f]+::?)+",c={zoneIndex:new RegExp(o,"i"),native:new RegExp(`^(::)?(${a})?([0-9a-f]+)?(::)?(${o})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${r}\\.${r}\\.${r}\\.${r}(${o})?)$`,"i"),transitional:new RegExp(`^((?:${a})|(?:::)(?:${a})?)${r}\\.${r}\\.${r}\\.${r}(${o})?$`,"i")};function l(p,y){if(p.indexOf("::")!==p.lastIndexOf("::"))return null;let P=0,E=-1,_=(p.match(c.zoneIndex)||[])[0],A,C;for(_&&(_=_.substring(1),p=p.replace(/%.+$/,""));(E=p.indexOf(":",E+1))>=0;)P++;if(p.substr(0,2)==="::"&&P--,p.substr(-2,2)==="::"&&P--,P>y)return null;for(C=y-P,A=":";C--;)A+="0:";return p=p.replace("::",A),p[0]===":"&&(p=p.slice(1)),p[p.length-1]===":"&&(p=p.slice(0,-1)),y=(function(){let X=p.split(":"),ne=[];for(let Ue=0;Ue<X.length;Ue++)ne.push(parseInt(X[Ue],16));return ne})(),{parts:y,zoneId:_}}s(l,"expandIPv6");function d(p,y,P,E){if(p.length!==y.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let _=0,A;for(;E>0;){if(A=P-E,A<0&&(A=0),p[_]>>A!==y[_]>>A)return!1;E-=P,_+=1}return!0}s(d,"matchCIDR");function m(p){if(t.test(p))return parseInt(p,16);if(p[0]==="0"&&!isNaN(parseInt(p[1],10))){if(i.test(p))return parseInt(p,8);throw new Error(`ipaddr: cannot parse ${p} as octal`)}return parseInt(p,10)}s(m,"parseIntAuto");function b(p,y){for(;p.length<y;)p=`0${p}`;return p}s(b,"padPart");let h={};h.IPv4=(function(){function p(y){if(y.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");let P,E;for(P=0;P<y.length;P++)if(E=y[P],!(0<=E&&E<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=y}return s(p,"IPv4"),p.prototype.SpecialRanges={unspecified:[[new p([0,0,0,0]),8]],broadcast:[[new p([255,255,255,255]),32]],multicast:[[new p([224,0,0,0]),4]],linkLocal:[[new p([169,254,0,0]),16]],loopback:[[new p([127,0,0,0]),8]],carrierGradeNat:[[new p([100,64,0,0]),10]],private:[[new p([10,0,0,0]),8],[new p([172,16,0,0]),12],[new p([192,168,0,0]),16]],reserved:[[new p([192,0,0,0]),24],[new p([192,0,2,0]),24],[new p([192,88,99,0]),24],[new p([198,18,0,0]),15],[new p([198,51,100,0]),24],[new p([203,0,113,0]),24],[new p([240,0,0,0]),4]],as112:[[new p([192,175,48,0]),24],[new p([192,31,196,0]),24]],amt:[[new p([192,52,193,0]),24]]},p.prototype.kind=function(){return"ipv4"},p.prototype.match=function(y,P){let E;if(P===void 0&&(E=y,y=E[0],P=E[1]),y.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return d(this.octets,y.octets,8,P)},p.prototype.prefixLengthFromSubnetMask=function(){let y=0,P=!1,E={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},_,A,C;for(_=3;_>=0;_-=1)if(A=this.octets[_],A in E){if(C=E[A],P&&C!==0)return null;C!==8&&(P=!0),y+=C}else return null;return 32-y},p.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},p.prototype.toByteArray=function(){return this.octets.slice(0)},p.prototype.toIPv4MappedAddress=function(){return h.IPv6.parse(`::ffff:${this.toString()}`)},p.prototype.toNormalizedString=function(){return this.toString()},p.prototype.toString=function(){return this.octets.join(".")},p})(),h.IPv4.broadcastAddressFromCIDR=function(p){try{let y=this.parseCIDR(p),P=y[0].toByteArray(),E=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),_=[],A=0;for(;A<4;)_.push(parseInt(P[A],10)|parseInt(E[A],10)^255),A++;return new this(_)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.isIPv4=function(p){return this.parser(p)!==null},h.IPv4.isValid=function(p){try{return new this(this.parser(p)),!0}catch{return!1}},h.IPv4.isValidCIDR=function(p){try{return this.parseCIDR(p),!0}catch{return!1}},h.IPv4.isValidFourPartDecimal=function(p){return!!(h.IPv4.isValid(p)&&p.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},h.IPv4.isValidCIDRFourPartDecimal=function(p){let y=p.match(/^(.+)\/(\d+)$/);return!h.IPv4.isValidCIDR(p)||!y?!1:h.IPv4.isValidFourPartDecimal(y[1])},h.IPv4.networkAddressFromCIDR=function(p){let y,P,E,_,A;try{for(y=this.parseCIDR(p),E=y[0].toByteArray(),A=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),_=[],P=0;P<4;)_.push(parseInt(E[P],10)&parseInt(A[P],10)),P++;return new this(_)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.parse=function(p){let y=this.parser(p);if(y===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(y)},h.IPv4.parseCIDR=function(p){let y;if(y=p.match(/^(.+)\/(\d+)$/)){let P=parseInt(y[2]);if(P>=0&&P<=32){let E=[this.parse(y[1]),P];return Object.defineProperty(E,"toString",{value:s(function(){return this.join("/")},"value")}),E}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},h.IPv4.parser=function(p){let y,P,E;if(y=p.match(n.fourOctet))return(function(){let _=y.slice(1,6),A=[];for(let C=0;C<_.length;C++)P=_[C],A.push(m(P));return A})();if(y=p.match(n.longValue)){if(E=m(y[1]),E>4294967295||E<0)throw new Error("ipaddr: address outside defined range");return(function(){let _=[],A;for(A=0;A<=24;A+=8)_.push(E>>A&255);return _})().reverse()}else return(y=p.match(n.twoOctet))?(function(){let _=y.slice(1,4),A=[];if(E=m(_[1]),E>16777215||E<0)throw new Error("ipaddr: address outside defined range");return A.push(m(_[0])),A.push(E>>16&255),A.push(E>>8&255),A.push(E&255),A})():(y=p.match(n.threeOctet))?(function(){let _=y.slice(1,5),A=[];if(E=m(_[2]),E>65535||E<0)throw new Error("ipaddr: address outside defined range");return A.push(m(_[0])),A.push(m(_[1])),A.push(E>>8&255),A.push(E&255),A})():null},h.IPv4.subnetMaskFromPrefixLength=function(p){if(p=parseInt(p),p<0||p>32)throw new Error("ipaddr: invalid IPv4 prefix length");let y=[0,0,0,0],P=0,E=Math.floor(p/8);for(;P<E;)y[P]=255,P++;return E<4&&(y[E]=Math.pow(2,p%8)-1<<8-p%8),new this(y)},h.IPv6=(function(){function p(y,P){let E,_;if(y.length===16)for(this.parts=[],E=0;E<=14;E+=2)this.parts.push(y[E]<<8|y[E+1]);else if(y.length===8)this.parts=y;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(E=0;E<this.parts.length;E++)if(_=this.parts[E],!(0<=_&&_<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");P&&(this.zoneId=P)}return s(p,"IPv6"),p.prototype.SpecialRanges={unspecified:[new p([0,0,0,0,0,0,0,0]),128],linkLocal:[new p([65152,0,0,0,0,0,0,0]),10],multicast:[new p([65280,0,0,0,0,0,0,0]),8],loopback:[new p([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new p([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new p([0,0,0,0,0,65535,0,0]),96],discard:[new p([256,0,0,0,0,0,0,0]),64],rfc6145:[new p([0,0,0,0,65535,0,0,0]),96],rfc6052:[new p([100,65435,0,0,0,0,0,0]),96],"6to4":[new p([8194,0,0,0,0,0,0,0]),16],teredo:[new p([8193,0,0,0,0,0,0,0]),32],benchmarking:[new p([8193,2,0,0,0,0,0,0]),48],amt:[new p([8193,3,0,0,0,0,0,0]),32],as112v6:[[new p([8193,4,274,0,0,0,0,0]),48],[new p([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new p([8193,16,0,0,0,0,0,0]),28],orchid2:[new p([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new p([8193,48,0,0,0,0,0,0]),28],reserved:[[new p([8193,0,0,0,0,0,0,0]),23],[new p([8193,3512,0,0,0,0,0,0]),32]]},p.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},p.prototype.kind=function(){return"ipv6"},p.prototype.match=function(y,P){let E;if(P===void 0&&(E=y,y=E[0],P=E[1]),y.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return d(this.parts,y.parts,16,P)},p.prototype.prefixLengthFromSubnetMask=function(){let y=0,P=!1,E={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},_,A;for(let C=7;C>=0;C-=1)if(_=this.parts[C],_ in E){if(A=E[_],P&&A!==0)return null;A!==16&&(P=!0),y+=A}else return null;return 128-y},p.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},p.prototype.toByteArray=function(){let y,P=[],E=this.parts;for(let _=0;_<E.length;_++)y=E[_],P.push(y>>8),P.push(y&255);return P},p.prototype.toFixedLengthString=function(){let y=(function(){let E=[];for(let _=0;_<this.parts.length;_++)E.push(b(this.parts[_].toString(16),4));return E}).call(this).join(":"),P="";return this.zoneId&&(P=`%${this.zoneId}`),y+P},p.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");let y=this.parts.slice(-2),P=y[0],E=y[1];return new h.IPv4([P>>8,P&255,E>>8,E&255])},p.prototype.toNormalizedString=function(){let y=(function(){let E=[];for(let _=0;_<this.parts.length;_++)E.push(this.parts[_].toString(16));return E}).call(this).join(":"),P="";return this.zoneId&&(P=`%${this.zoneId}`),y+P},p.prototype.toRFC5952String=function(){let y=/((^|:)(0(:|$)){2,})/g,P=this.toNormalizedString(),E=0,_=-1,A;for(;A=y.exec(P);)A[0].length>_&&(E=A.index,_=A[0].length);return _<0?P:`${P.substring(0,E)}::${P.substring(E+_)}`},p.prototype.toString=function(){return this.toRFC5952String()},p})(),h.IPv6.broadcastAddressFromCIDR=function(p){try{let y=this.parseCIDR(p),P=y[0].toByteArray(),E=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),_=[],A=0;for(;A<16;)_.push(parseInt(P[A],10)|parseInt(E[A],10)^255),A++;return new this(_)}catch(y){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${y})`)}},h.IPv6.isIPv6=function(p){return this.parser(p)!==null},h.IPv6.isValid=function(p){if(typeof p=="string"&&p.indexOf(":")===-1)return!1;try{let y=this.parser(p);return new this(y.parts,y.zoneId),!0}catch{return!1}},h.IPv6.isValidCIDR=function(p){if(typeof p=="string"&&p.indexOf(":")===-1)return!1;try{return this.parseCIDR(p),!0}catch{return!1}},h.IPv6.networkAddressFromCIDR=function(p){let y,P,E,_,A;try{for(y=this.parseCIDR(p),E=y[0].toByteArray(),A=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),_=[],P=0;P<16;)_.push(parseInt(E[P],10)&parseInt(A[P],10)),P++;return new this(_)}catch(C){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${C})`)}},h.IPv6.parse=function(p){let y=this.parser(p);if(y.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(y.parts,y.zoneId)},h.IPv6.parseCIDR=function(p){let y,P,E;if((P=p.match(/^(.+)\/(\d+)$/))&&(y=parseInt(P[2]),y>=0&&y<=128))return E=[this.parse(P[1]),y],Object.defineProperty(E,"toString",{value:s(function(){return this.join("/")},"value")}),E;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},h.IPv6.parser=function(p){let y,P,E,_,A,C;if(E=p.match(c.deprecatedTransitional))return this.parser(`::ffff:${E[1]}`);if(c.native.test(p))return l(p,8);if((E=p.match(c.transitional))&&(C=E[6]||"",y=E[1],E[1].endsWith("::")||(y=y.slice(0,-1)),y=l(y+C,6),y.parts)){for(A=[parseInt(E[2]),parseInt(E[3]),parseInt(E[4]),parseInt(E[5])],P=0;P<A.length;P++)if(_=A[P],!(0<=_&&_<=255))return null;return y.parts.push(A[0]<<8|A[1]),y.parts.push(A[2]<<8|A[3]),{parts:y.parts,zoneId:y.zoneId}}return null},h.IPv6.subnetMaskFromPrefixLength=function(p){if(p=parseInt(p),p<0||p>128)throw new Error("ipaddr: invalid IPv6 prefix length");let y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],P=0,E=Math.floor(p/8);for(;P<E;)y[P]=255,P++;return E<16&&(y[E]=Math.pow(2,p%8)-1<<8-p%8),new this(y)},h.fromByteArray=function(p){let y=p.length;if(y===4)return new h.IPv4(p);if(y===16)return new h.IPv6(p);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},h.isValid=function(p){return h.IPv6.isValid(p)||h.IPv4.isValid(p)},h.isValidCIDR=function(p){return h.IPv6.isValidCIDR(p)||h.IPv4.isValidCIDR(p)},h.parse=function(p){if(h.IPv6.isValid(p))return h.IPv6.parse(p);if(h.IPv4.isValid(p))return h.IPv4.parse(p);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},h.parseCIDR=function(p){try{return h.IPv6.parseCIDR(p)}catch{try{return h.IPv4.parseCIDR(p)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},h.process=function(p){let y=this.parse(p);return y.kind()==="ipv6"&&y.isIPv4MappedAddress()?y.toIPv4Address():y},h.subnetMatch=function(p,y,P){let E,_,A,C;P==null&&(P="unicast");for(_ in y)if(Object.prototype.hasOwnProperty.call(y,_)){for(A=y[_],A[0]&&!(A[0]instanceof Array)&&(A=[A]),E=0;E<A.length;E++)if(C=A[E],p.kind()===C[0].kind()&&p.match.apply(p,C))return _}return P},typeof Ea<"u"&&Ea.exports?Ea.exports=h:e.ipaddr=h})(Sm)});var Yg=O((uU,Xg)=>{var Kg=require("stream").Stream,eE=require("util");Xg.exports=Ne;function Ne(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}s(Ne,"DelayedStream");eE.inherits(Ne,Kg);Ne.create=function(e,r){var n=new this;r=r||{};for(var i in r)n[i]=r[i];n.source=e;var t=e.emit;return e.emit=function(){return n._handleEmit(arguments),t.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n};Object.defineProperty(Ne.prototype,"readable",{configurable:!0,enumerable:!0,get:s(function(){return this.source.readable},"get")});Ne.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Ne.prototype.resume=function(){this._released||this.release(),this.source.resume()};Ne.prototype.pause=function(){this.source.pause()};Ne.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};Ne.prototype.pipe=function(){var e=Kg.prototype.pipe.apply(this,arguments);return this.resume(),e};Ne.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};Ne.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var ry=O((lU,ty)=>{var tE=require("util"),ey=require("stream").Stream,Qg=Yg();ty.exports=re;function re(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}s(re,"CombinedStream");tE.inherits(re,ey);re.create=function(e){var r=new this;e=e||{};for(var n in e)r[n]=e[n];return r};re.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};re.prototype.append=function(e){var r=re.isStreamLike(e);if(r){if(!(e instanceof Qg)){var n=Qg.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};re.prototype.pipe=function(e,r){return ey.prototype.pipe.call(this,e,r),this.resume(),e};re.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};re.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var r=e;r(function(n){var i=re.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};re.prototype._pipeNext=function(e){this._currentStream=e;var r=re.isStreamLike(e);if(r){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var n=e;this.write(n),this._getNext()};re.prototype._handleErrors=function(e){var r=this;e.on("error",function(n){r._emitError(n)})};re.prototype.write=function(e){this.emit("data",e)};re.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};re.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};re.prototype.end=function(){this._reset(),this.emit("end")};re.prototype.destroy=function(){this._reset(),this.emit("close")};re.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};re.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};re.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(r){r.dataSize&&(e.dataSize+=r.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};re.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var oy=O((mU,ny)=>{"use strict";ny.exports={"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dat"]},"application/msword":{source:"iana",extensions:["doc"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",extensions:["docx"]},"application/vnd.ms-excel":{source:"iana",extensions:["xls"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",extensions:["xlsx"]},"application/vnd.ms-powerpoint":{source:"iana",extensions:["ppt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",extensions:["pptx"]},"application/csv":{compressible:!0,extensions:["csv"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"text/plain":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["txt","text","log"]},"text/html":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["html","htm"]},"text/css":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["css"]},"text/csv":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["csv"]},"text/markdown":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["md","markdown"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/webp":{source:"apache",compressible:!1,extensions:["webp"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tiff","tif"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/heic":{source:"iana",compressible:!1,extensions:["heic"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mp3","mpga"]},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/ogg":{source:"iana",compressible:!1,extensions:["ogg","oga"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","m4v"]},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg"]},"video/webm":{source:"iana",compressible:!1,extensions:["webm"]},"video/quicktime":{source:"iana",compressible:!1,extensions:["mov","qt"]},"video/x-msvideo":{source:"iana",compressible:!1,extensions:["avi"]},"font/woff":{source:"iana",compressible:!1,extensions:["woff"]},"font/woff2":{source:"iana",compressible:!1,extensions:["woff2"]},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"multipart/form-data":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/ics":{compressible:!0,extensions:["ics"]},"text/calendar":{source:"iana",compressible:!0,extensions:["ics","ifb"]},"application/x-ndjson":{compressible:!0,extensions:["ndjson"]}}});var sy=O(_e=>{"use strict";var us=oy(),rE=require("path").extname,iy=/^\s*([^;\s]*)(?:;|\s|$)/,nE=/^text\//i;_e.charset=ay;_e.charsets={lookup:ay};_e.contentType=oE;_e.extension=iE;_e.extensions=Object.create(null);_e.lookup=aE;_e.types=Object.create(null);sE(_e.extensions,_e.types);function ay(e){if(!e||typeof e!="string")return!1;var r=iy.exec(e),n=r&&us[r[1].toLowerCase()];return n&&n.charset?n.charset:r&&nE.test(r[1])?"UTF-8":!1}s(ay,"charset");function oE(e){if(!e||typeof e!="string")return!1;var r=e.indexOf("/")===-1?_e.lookup(e):e;if(!r)return!1;if(r.indexOf("charset")===-1){var n=_e.charset(r);n&&(r+="; charset="+n.toLowerCase())}return r}s(oE,"contentType");function iE(e){if(!e||typeof e!="string")return!1;var r=iy.exec(e),n=r&&_e.extensions[r[1].toLowerCase()];return!n||!n.length?!1:n[0]}s(iE,"extension");function aE(e){if(!e||typeof e!="string")return!1;var r=rE("x."+e).toLowerCase().substr(1);return r&&_e.types[r]||!1}s(aE,"lookup");function sE(e,r){var n=["nginx","apache",void 0,"iana"];Object.keys(us).forEach(s(function(t){var o=us[t],a=o.extensions;if(!(!a||!a.length)){e[t]=a;for(var c=0;c<a.length;c++){var l=a[c];if(r[l]){var d=n.indexOf(us[r[l]].source),m=n.indexOf(o.source);if(r[l]!=="application/octet-stream"&&(d>m||d===m&&r[l].substr(0,12)==="application/"))continue}r[l]=t}}},"forEachMimeType"))}s(sE,"populateMaps")});var uy=O((yU,cy)=>{cy.exports=cE;function cE(e){var r=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;r?r(e):setTimeout(e,0)}s(cE,"defer")});var Bl=O((vU,ly)=>{var py=uy();ly.exports=uE;function uE(e){var r=!1;return py(function(){r=!0}),s(function(i,t){r?e(i,t):py(s(function(){e(i,t)},"nextTick_callback"))},"async_callback")}s(uE,"async")});var Vl=O((_U,dy)=>{dy.exports=pE;function pE(e){Object.keys(e.jobs).forEach(lE.bind(e)),e.jobs={}}s(pE,"abort");function lE(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}s(lE,"clean")});var Hl=O((bU,fy)=>{var my=Bl(),dE=Vl();fy.exports=mE;function mE(e,r,n,i){var t=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[t]=fE(r,t,e[t],function(o,a){t in n.jobs&&(delete n.jobs[t],o?dE(n):n.results[t]=a,i(o,n.results))})}s(mE,"iterate");function fE(e,r,n,i){var t;return e.length==2?t=e(n,my(i)):t=e(n,r,my(i)),t}s(fE,"runJob")});var Gl=O((IU,gy)=>{gy.exports=gE;function gE(e,r){var n=!Array.isArray(e),i={index:0,keyedList:n||r?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return r&&i.keyedList.sort(n?r:function(t,o){return r(e[t],e[o])}),i}s(gE,"state")});var Wl=O((SU,yy)=>{var yE=Vl(),hE=Bl();yy.exports=vE;function vE(e){Object.keys(this.jobs).length&&(this.index=this.size,yE(this),hE(e)(null,this.results))}s(vE,"terminator")});var vy=O((AU,hy)=>{var xE=Hl(),_E=Gl(),PE=Wl();hy.exports=bE;function bE(e,r,n){for(var i=_E(e);i.index<(i.keyedList||e).length;)xE(e,r,i,function(t,o){if(t){n(t,o);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return PE.bind(i,n)}s(bE,"parallel")});var ql=O((OU,ps)=>{var xy=Hl(),EE=Gl(),IE=Wl();ps.exports=TE;ps.exports.ascending=_y;ps.exports.descending=SE;function TE(e,r,n,i){var t=EE(e,n);return xy(e,r,t,s(function o(a,c){if(a){i(a,c);return}if(t.index++,t.index<(t.keyedList||e).length){xy(e,r,t,o);return}i(null,t.results)},"iteratorHandler")),IE.bind(t,i)}s(TE,"serialOrdered");function _y(e,r){return e<r?-1:e>r?1:0}s(_y,"ascending");function SE(e,r){return-1*_y(e,r)}s(SE,"descending")});var by=O((RU,Py)=>{var $E=ql();Py.exports=AE;function AE(e,r,n){return $E(e,r,null,n)}s(AE,"serial")});var Iy=O((NU,Ey)=>{Ey.exports={parallel:vy(),serial:by(),serialOrdered:ql()}});var Jl=O((DU,Ty)=>{"use strict";Ty.exports=Object});var $y=O((CU,Sy)=>{"use strict";Sy.exports=Error});var zy=O((UU,Ay)=>{"use strict";Ay.exports=EvalError});var ky=O((MU,Oy)=>{"use strict";Oy.exports=RangeError});var wy=O((LU,Ry)=>{"use strict";Ry.exports=ReferenceError});var Dy=O((jU,Ny)=>{"use strict";Ny.exports=SyntaxError});var ls=O((ZU,Cy)=>{"use strict";Cy.exports=TypeError});var My=O((FU,Uy)=>{"use strict";Uy.exports=URIError});var jy=O((BU,Ly)=>{"use strict";Ly.exports=Math.abs});var Fy=O((VU,Zy)=>{"use strict";Zy.exports=Math.floor});var Vy=O((HU,By)=>{"use strict";By.exports=Math.max});var Gy=O((GU,Hy)=>{"use strict";Hy.exports=Math.min});var qy=O((WU,Wy)=>{"use strict";Wy.exports=Math.pow});var Ky=O((qU,Jy)=>{"use strict";Jy.exports=Math.round});var Yy=O((JU,Xy)=>{"use strict";Xy.exports=Number.isNaN||s(function(r){return r!==r},"isNaN")});var eh=O((XU,Qy)=>{"use strict";var zE=Yy();Qy.exports=s(function(r){return zE(r)||r===0?r:r<0?-1:1},"sign")});var rh=O((QU,th)=>{"use strict";th.exports=Object.getOwnPropertyDescriptor});var Kl=O((e0,nh)=>{"use strict";var ds=rh();if(ds)try{ds([],"length")}catch{ds=null}nh.exports=ds});var ih=O((t0,oh)=>{"use strict";var ms=Object.defineProperty||!1;if(ms)try{ms({},"a",{value:1})}catch{ms=!1}oh.exports=ms});var Xl=O((r0,ah)=>{"use strict";ah.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var t=42;r[n]=t;for(var o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(r,n);if(c.value!==t||c.enumerable!==!0)return!1}return!0},"hasSymbols")});var uh=O((o0,ch)=>{"use strict";var sh=typeof Symbol<"u"&&Symbol,OE=Xl();ch.exports=s(function(){return typeof sh!="function"||typeof Symbol!="function"||typeof sh("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:OE()},"hasNativeSymbols")});var Yl=O((a0,ph)=>{"use strict";ph.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Ql=O((s0,lh)=>{"use strict";var kE=Jl();lh.exports=kE.getPrototypeOf||null});var fh=O((c0,mh)=>{"use strict";var RE="Function.prototype.bind called on incompatible ",wE=Object.prototype.toString,NE=Math.max,DE="[object Function]",dh=s(function(r,n){for(var i=[],t=0;t<r.length;t+=1)i[t]=r[t];for(var o=0;o<n.length;o+=1)i[o+r.length]=n[o];return i},"concatty"),CE=s(function(r,n){for(var i=[],t=n||0,o=0;t<r.length;t+=1,o+=1)i[o]=r[t];return i},"slicy"),UE=s(function(e,r){for(var n="",i=0;i<e.length;i+=1)n+=e[i],i+1<e.length&&(n+=r);return n},"joiny");mh.exports=s(function(r){var n=this;if(typeof n!="function"||wE.apply(n)!==DE)throw new TypeError(RE+n);for(var i=CE(arguments,1),t,o=s(function(){if(this instanceof t){var m=n.apply(this,dh(i,arguments));return Object(m)===m?m:this}return n.apply(r,dh(i,arguments))},"binder"),a=NE(0,n.length-i.length),c=[],l=0;l<a;l++)c[l]="$"+l;if(t=Function("binder","return function ("+UE(c,",")+"){ return binder.apply(this,arguments); }")(o),n.prototype){var d=s(function(){},"Empty");d.prototype=n.prototype,t.prototype=new d,d.prototype=null}return t},"bind")});var vr=O((p0,gh)=>{"use strict";var ME=fh();gh.exports=Function.prototype.bind||ME});var fs=O((l0,yh)=>{"use strict";yh.exports=Function.prototype.call});var ed=O((d0,hh)=>{"use strict";hh.exports=Function.prototype.apply});var xh=O((m0,vh)=>{"use strict";vh.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Ph=O((f0,_h)=>{"use strict";var LE=vr(),jE=ed(),ZE=fs(),FE=xh();_h.exports=FE||LE.call(ZE,jE)});var Eh=O((g0,bh)=>{"use strict";var BE=vr(),VE=ls(),HE=fs(),GE=Ph();bh.exports=s(function(r){if(r.length<1||typeof r[0]!="function")throw new VE("a function is required");return GE(BE,HE,r)},"callBindBasic")});var zh=O((h0,Ah)=>{"use strict";var WE=Eh(),Ih=Kl(),Sh;try{Sh=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var td=!!Sh&&Ih&&Ih(Object.prototype,"__proto__"),$h=Object,Th=$h.getPrototypeOf;Ah.exports=td&&typeof td.get=="function"?WE([td.get]):typeof Th=="function"?s(function(r){return Th(r==null?r:$h(r))},"getDunder"):!1});var Nh=O((x0,wh)=>{"use strict";var Oh=Yl(),kh=Ql(),Rh=zh();wh.exports=Oh?s(function(r){return Oh(r)},"getProto"):kh?s(function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return kh(r)},"getProto"):Rh?s(function(r){return Rh(r)},"getProto"):null});var rd=O((P0,Dh)=>{"use strict";var qE=Function.prototype.call,JE=Object.prototype.hasOwnProperty,KE=vr();Dh.exports=KE.call(qE,JE)});var Fh=O((b0,Zh)=>{"use strict";var B,XE=Jl(),YE=$y(),QE=zy(),eI=ky(),tI=wy(),br=Dy(),Pr=ls(),rI=My(),nI=jy(),oI=Fy(),iI=Vy(),aI=Gy(),sI=qy(),cI=Ky(),uI=eh(),Lh=Function,nd=s(function(e){try{return Lh('"use strict"; return ('+e+").constructor;")()}catch{}},"getEvalledConstructor"),ho=Kl(),pI=ih(),od=s(function(){throw new Pr},"throwTypeError"),lI=ho?(function(){try{return arguments.callee,od}catch{try{return ho(arguments,"callee").get}catch{return od}}})():od,xr=uh()(),pe=Nh(),dI=Ql(),mI=Yl(),jh=ed(),vo=fs(),_r={},fI=typeof Uint8Array>"u"||!pe?B:pe(Uint8Array),Dt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?B:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?B:ArrayBuffer,"%ArrayIteratorPrototype%":xr&&pe?pe([][Symbol.iterator]()):B,"%AsyncFromSyncIteratorPrototype%":B,"%AsyncFunction%":_r,"%AsyncGenerator%":_r,"%AsyncGeneratorFunction%":_r,"%AsyncIteratorPrototype%":_r,"%Atomics%":typeof Atomics>"u"?B:Atomics,"%BigInt%":typeof BigInt>"u"?B:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?B:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?B:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?B:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":YE,"%eval%":eval,"%EvalError%":QE,"%Float16Array%":typeof Float16Array>"u"?B:Float16Array,"%Float32Array%":typeof Float32Array>"u"?B:Float32Array,"%Float64Array%":typeof Float64Array>"u"?B:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?B:FinalizationRegistry,"%Function%":Lh,"%GeneratorFunction%":_r,"%Int8Array%":typeof Int8Array>"u"?B:Int8Array,"%Int16Array%":typeof Int16Array>"u"?B:Int16Array,"%Int32Array%":typeof Int32Array>"u"?B:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xr&&pe?pe(pe([][Symbol.iterator]())):B,"%JSON%":typeof JSON=="object"?JSON:B,"%Map%":typeof Map>"u"?B:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xr||!pe?B:pe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":XE,"%Object.getOwnPropertyDescriptor%":ho,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?B:Promise,"%Proxy%":typeof Proxy>"u"?B:Proxy,"%RangeError%":eI,"%ReferenceError%":tI,"%Reflect%":typeof Reflect>"u"?B:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?B:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xr||!pe?B:pe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?B:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xr&&pe?pe(""[Symbol.iterator]()):B,"%Symbol%":xr?Symbol:B,"%SyntaxError%":br,"%ThrowTypeError%":lI,"%TypedArray%":fI,"%TypeError%":Pr,"%Uint8Array%":typeof Uint8Array>"u"?B:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?B:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?B:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?B:Uint32Array,"%URIError%":rI,"%WeakMap%":typeof WeakMap>"u"?B:WeakMap,"%WeakRef%":typeof WeakRef>"u"?B:WeakRef,"%WeakSet%":typeof WeakSet>"u"?B:WeakSet,"%Function.prototype.call%":vo,"%Function.prototype.apply%":jh,"%Object.defineProperty%":pI,"%Object.getPrototypeOf%":dI,"%Math.abs%":nI,"%Math.floor%":oI,"%Math.max%":iI,"%Math.min%":aI,"%Math.pow%":sI,"%Math.round%":cI,"%Math.sign%":uI,"%Reflect.getPrototypeOf%":mI};if(pe)try{null.error}catch(e){Ch=pe(pe(e)),Dt["%Error.prototype%"]=Ch}var Ch,gI=s(function e(r){var n;if(r==="%AsyncFunction%")n=nd("async function () {}");else if(r==="%GeneratorFunction%")n=nd("function* () {}");else if(r==="%AsyncGeneratorFunction%")n=nd("async function* () {}");else if(r==="%AsyncGenerator%"){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if(r==="%AsyncIteratorPrototype%"){var t=e("%AsyncGenerator%");t&&pe&&(n=pe(t.prototype))}return Dt[r]=n,n},"doEval"),Uh={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},xo=vr(),gs=rd(),yI=xo.call(vo,Array.prototype.concat),hI=xo.call(jh,Array.prototype.splice),Mh=xo.call(vo,String.prototype.replace),ys=xo.call(vo,String.prototype.slice),vI=xo.call(vo,RegExp.prototype.exec),xI=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_I=/\\(\\)?/g,PI=s(function(r){var n=ys(r,0,1),i=ys(r,-1);if(n==="%"&&i!=="%")throw new br("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new br("invalid intrinsic syntax, expected opening `%`");var t=[];return Mh(r,xI,function(o,a,c,l){t[t.length]=c?Mh(l,_I,"$1"):a||o}),t},"stringToPath"),bI=s(function(r,n){var i=r,t;if(gs(Uh,i)&&(t=Uh[i],i="%"+t[0]+"%"),gs(Dt,i)){var o=Dt[i];if(o===_r&&(o=gI(i)),typeof o>"u"&&!n)throw new Pr("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:t,name:i,value:o}}throw new br("intrinsic "+r+" does not exist!")},"getBaseIntrinsic");Zh.exports=s(function(r,n){if(typeof r!="string"||r.length===0)throw new Pr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Pr('"allowMissing" argument must be a boolean');if(vI(/^%?[^%]*%?$/,r)===null)throw new br("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=PI(r),t=i.length>0?i[0]:"",o=bI("%"+t+"%",n),a=o.name,c=o.value,l=!1,d=o.alias;d&&(t=d[0],hI(i,yI([0,1],d)));for(var m=1,b=!0;m<i.length;m+=1){var h=i[m],p=ys(h,0,1),y=ys(h,-1);if((p==='"'||p==="'"||p==="`"||y==='"'||y==="'"||y==="`")&&p!==y)throw new br("property names with quotes must have matching quotes");if((h==="constructor"||!b)&&(l=!0),t+="."+h,a="%"+t+"%",gs(Dt,a))c=Dt[a];else if(c!=null){if(!(h in c)){if(!n)throw new Pr("base intrinsic for "+r+" exists, but the property is not available.");return}if(ho&&m+1>=i.length){var P=ho(c,h);b=!!P,b&&"get"in P&&!("originalValue"in P.get)?c=P.get:c=c[h]}else b=gs(c,h),c=c[h];b&&!l&&(Dt[a]=c)}}return c},"GetIntrinsic")});var Vh=O((I0,Bh)=>{"use strict";var EI=Xl();Bh.exports=s(function(){return EI()&&!!Symbol.toStringTag},"hasToStringTagShams")});var Wh=O((S0,Gh)=>{"use strict";var II=Fh(),Hh=II("%Object.defineProperty%",!0),TI=Vh()(),SI=rd(),$I=ls(),hs=TI?Symbol.toStringTag:null;Gh.exports=s(function(r,n){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,t=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof t<"u"&&typeof t!="boolean")throw new $I("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");hs&&(i||!SI(r,hs))&&(Hh?Hh(r,hs,{configurable:!t,enumerable:!1,value:n,writable:!1}):r[hs]=n)},"setToStringTag")});var Jh=O((A0,qh)=>{"use strict";var AI=Function.prototype.call,zI=Object.prototype.hasOwnProperty,OI=vr();qh.exports=OI.call(AI,zI)});var Xh=O((z0,Kh)=>{"use strict";Kh.exports=function(e,r){return Object.keys(r).forEach(function(n){e[n]=e[n]||r[n]}),e}});var ev=O((O0,Qh)=>{"use strict";var cd=ry(),kI=require("util"),id=require("path"),RI=require("http"),wI=require("https"),NI=require("url").parse,DI=require("fs"),CI=require("stream").Stream,UI=require("crypto"),ad=sy(),MI=Iy(),LI=Wh(),lt=Jh(),sd=Xh();function Yh(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}s(Yh,"escapeHeaderParam");function G(e){if(!(this instanceof G))return new G(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],cd.call(this),e=e||{};for(var r in e)this[r]=e[r]}s(G,"FormData");kI.inherits(G,cd);G.LINE_BREAK=`\r
|
|
2
|
-
`;G.DEFAULT_CONTENT_TYPE="application/octet-stream";G.prototype.append=function(e,r,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=cd.prototype.append.bind(this);if((typeof r=="number"||r==null)&&(r=String(r)),Array.isArray(r)){this._error(new Error("Arrays are not supported."));return}var t=this._multiPartHeader(e,r,n),o=this._multiPartFooter();i(t),i(r),i(o),this._trackLength(t,r,n)};G.prototype._trackLength=function(e,r,n){var i=0;n.knownLength!=null?i+=Number(n.knownLength):Buffer.isBuffer(r)?i=r.length:typeof r=="string"&&(i=Buffer.byteLength(r)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+G.LINE_BREAK.length,!(!r||!r.path&&!(r.readable&<(r,"httpVersion"))&&!(r instanceof CI))&&(n.knownLength||this._valuesToMeasure.push(r))};G.prototype._lengthRetriever=function(e,r){lt(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?r(null,e.end+1-(e.start?e.start:0)):DI.stat(e.path,function(n,i){if(n){r(n);return}var t=i.size-(e.start?e.start:0);r(null,t)}):lt(e,"httpVersion")?r(null,Number(e.headers["content-length"])):lt(e,"httpModule")?(e.on("response",function(n){e.pause(),r(null,Number(n.headers["content-length"]))}),e.resume()):r("Unknown stream")};G.prototype._multiPartHeader=function(e,r,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(r,n),t=this._getContentType(r,n),o="",a={"Content-Disposition":["form-data",'name="'+Yh(e)+'"'].concat(i||[]),"Content-Type":[].concat(t||[])};typeof n.header=="object"&&sd(a,n.header);var c;for(var l in a)if(lt(a,l)){if(c=a[l],c==null)continue;Array.isArray(c)||(c=[c]),c.length&&(o+=l+": "+c.join("; ")+G.LINE_BREAK)}return"--"+this.getBoundary()+G.LINE_BREAK+o+G.LINE_BREAK};G.prototype._getContentDisposition=function(e,r){var n;if(typeof r.filepath=="string"?n=id.normalize(r.filepath).replace(/\\/g,"/"):r.filename||e&&(e.name||e.path)?n=id.basename(r.filename||e&&(e.name||e.path)):e&&e.readable&<(e,"httpVersion")&&(n=id.basename(e.client._httpMessage.path||"")),n)return'filename="'+Yh(n)+'"'};G.prototype._getContentType=function(e,r){var n=r.contentType;return!n&&e&&e.name&&(n=ad.lookup(e.name)),!n&&e&&e.path&&(n=ad.lookup(e.path)),!n&&e&&e.readable&<(e,"httpVersion")&&(n=e.headers["content-type"]),!n&&(r.filepath||r.filename)&&(n=ad.lookup(r.filepath||r.filename)),!n&&e&&typeof e=="object"&&(n=G.DEFAULT_CONTENT_TYPE),n};G.prototype._multiPartFooter=function(){return function(e){var r=G.LINE_BREAK,n=this._streams.length===0;n&&(r+=this._lastBoundary()),e(r)}.bind(this)};G.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+G.LINE_BREAK};G.prototype.getHeaders=function(e){var r,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(r in e)lt(e,r)&&(n[r.toLowerCase()]=e[r]);return n};G.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};G.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};G.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),r=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)typeof this._streams[n]!="function"&&(Buffer.isBuffer(this._streams[n])?e=Buffer.concat([e,this._streams[n]]):e=Buffer.concat([e,Buffer.from(this._streams[n])]),(typeof this._streams[n]!="string"||this._streams[n].substring(2,r.length+2)!==r)&&(e=Buffer.concat([e,Buffer.from(G.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};G.prototype._generateBoundary=function(){this._boundary="--------------------------"+UI.randomBytes(12).toString("hex")};G.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};G.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};G.prototype.getLength=function(e){var r=this._overheadLength+this._valueLength;if(this._streams.length&&(r+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,r));return}MI.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){if(n){e(n);return}i.forEach(function(t){r+=t}),e(null,r)})};G.prototype.submit=function(e,r){var n,i,t={method:"post"};return typeof e=="string"?(e=NI(e),i=sd({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},t)):(i=sd(e,t),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol==="https:"?n=wI.request(i):n=RI.request(i),this.getLength(function(o,a){if(o&&o!=="Unknown stream"){this._error(o);return}if(a&&n.setHeader("Content-Length",a),this.pipe(n),r){var c,l=s(function(d,m){return n.removeListener("error",l),n.removeListener("response",c),r.call(this,d,m)},"callback");c=l.bind(this,null),n.on("error",l),n.on("response",c)}}.bind(this)),n};G.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};G.prototype.toString=function(){return"[object FormData]"};LI(G.prototype,"FormData");Qh.exports=G});var qI={};Ae(qI,{zohoBooks:()=>WI,zohoBooksAuth:()=>ud});module.exports=uv(qI);var be={};Ae(be,{$ZodAny:()=>Mr,$ZodArray:()=>Fr,$ZodAsyncError:()=>ze,$ZodBase64:()=>ui,$ZodBase64URL:()=>pi,$ZodBigInt:()=>Kt,$ZodBigIntFormat:()=>fi,$ZodBoolean:()=>yt,$ZodCIDRv4:()=>si,$ZodCIDRv6:()=>ci,$ZodCUID:()=>Jo,$ZodCUID2:()=>Ko,$ZodCatch:()=>Oi,$ZodCheck:()=>J,$ZodCheckBigIntFormat:()=>ic,$ZodCheckEndsWith:()=>hc,$ZodCheckGreaterThan:()=>Mo,$ZodCheckIncludes:()=>gc,$ZodCheckLengthEquals:()=>lc,$ZodCheckLessThan:()=>Uo,$ZodCheckLowerCase:()=>mc,$ZodCheckMaxLength:()=>uc,$ZodCheckMaxSize:()=>ac,$ZodCheckMimeType:()=>xc,$ZodCheckMinLength:()=>pc,$ZodCheckMinSize:()=>sc,$ZodCheckMultipleOf:()=>nc,$ZodCheckNumberFormat:()=>oc,$ZodCheckOverwrite:()=>_c,$ZodCheckProperty:()=>vc,$ZodCheckRegex:()=>dc,$ZodCheckSizeEquals:()=>cc,$ZodCheckStartsWith:()=>yc,$ZodCheckStringFormat:()=>qt,$ZodCheckUpperCase:()=>fc,$ZodCodec:()=>Yt,$ZodCustom:()=>Xr,$ZodCustomStringFormat:()=>mi,$ZodDate:()=>Zr,$ZodDefault:()=>Si,$ZodDiscriminatedUnion:()=>Br,$ZodE164:()=>li,$ZodEmail:()=>Go,$ZodEmoji:()=>Wo,$ZodEncodeError:()=>Je,$ZodEnum:()=>Gr,$ZodError:()=>Rr,$ZodExactOptional:()=>Ti,$ZodFile:()=>Ii,$ZodFunction:()=>Ni,$ZodGUID:()=>Vo,$ZodIPv4:()=>oi,$ZodIPv6:()=>ii,$ZodISODate:()=>ti,$ZodISODateTime:()=>ei,$ZodISODuration:()=>ni,$ZodISOTime:()=>ri,$ZodIntersection:()=>Pi,$ZodJWT:()=>di,$ZodKSUID:()=>Qo,$ZodLazy:()=>Ci,$ZodLiteral:()=>Wr,$ZodMAC:()=>ai,$ZodMap:()=>bi,$ZodNaN:()=>ki,$ZodNanoID:()=>qo,$ZodNever:()=>vi,$ZodNonOptional:()=>Ai,$ZodNull:()=>hi,$ZodNullable:()=>Jr,$ZodNumber:()=>Jt,$ZodNumberFormat:()=>Ur,$ZodObject:()=>xi,$ZodObjectJIT:()=>Ic,$ZodOptional:()=>Xt,$ZodPipe:()=>Kr,$ZodPrefault:()=>$i,$ZodPromise:()=>Di,$ZodReadonly:()=>Ri,$ZodRealError:()=>he,$ZodRecord:()=>Hr,$ZodRegistry:()=>Ui,$ZodSet:()=>Ei,$ZodString:()=>je,$ZodStringFormat:()=>W,$ZodSuccess:()=>zi,$ZodSymbol:()=>gi,$ZodTemplateLiteral:()=>wi,$ZodTransform:()=>qr,$ZodTuple:()=>Vr,$ZodType:()=>N,$ZodULID:()=>Xo,$ZodURL:()=>Cr,$ZodUUID:()=>Ho,$ZodUndefined:()=>yi,$ZodUnion:()=>ht,$ZodUnknown:()=>Lr,$ZodVoid:()=>jr,$ZodXID:()=>Yo,$ZodXor:()=>_i,$brand:()=>Tr,$constructor:()=>f,$input:()=>Li,$output:()=>Mi,Doc:()=>Dr,JSONSchema:()=>am,JSONSchemaGenerator:()=>fa,NEVER:()=>Po,TimePrecision:()=>Zi,_any:()=>Rn,_array:()=>hu,_base64:()=>bn,_base64url:()=>En,_bigint:()=>Ki,_boolean:()=>zn,_catch:()=>g_,_check:()=>im,_cidrv4:()=>_n,_cidrv6:()=>Pn,_coercedBigint:()=>kn,_coercedBoolean:()=>On,_coercedDate:()=>Dn,_coercedNumber:()=>$n,_coercedString:()=>on,_cuid:()=>mn,_cuid2:()=>fn,_custom:()=>Zn,_date:()=>na,_decode:()=>Ao,_decodeAsync:()=>Oo,_default:()=>d_,_discriminatedUnion:()=>e_,_e164:()=>In,_email:()=>an,_emoji:()=>ln,_encode:()=>$o,_encodeAsync:()=>zo,_endsWith:()=>Et,_enum:()=>a_,_file:()=>ia,_float32:()=>Gi,_float64:()=>Wi,_gt:()=>ke,_gte:()=>ae,_guid:()=>tr,_includes:()=>Pt,_int:()=>An,_int32:()=>qi,_int64:()=>Xi,_intersection:()=>t_,_ipv4:()=>vn,_ipv6:()=>xn,_isoDate:()=>Bi,_isoDateTime:()=>Fi,_isoDuration:()=>Hi,_isoTime:()=>Vi,_jwt:()=>Tn,_ksuid:()=>hn,_lazy:()=>x_,_length:()=>rt,_literal:()=>c_,_lowercase:()=>xt,_lt:()=>Oe,_lte:()=>fe,_mac:()=>ji,_map:()=>o_,_max:()=>fe,_maxLength:()=>tt,_maxSize:()=>Fe,_mime:()=>It,_min:()=>ae,_minLength:()=>oe,_minSize:()=>Re,_multipleOf:()=>Ze,_nan:()=>oa,_nanoid:()=>dn,_nativeEnum:()=>s_,_negative:()=>Un,_never:()=>ra,_nonnegative:()=>Ln,_nonoptional:()=>m_,_nonpositive:()=>Mn,_normalize:()=>Tt,_null:()=>ta,_nullable:()=>l_,_number:()=>Sn,_optional:()=>p_,_overwrite:()=>Se,_parse:()=>Ft,_parseAsync:()=>Bt,_pipe:()=>y_,_positive:()=>Cn,_promise:()=>__,_property:()=>jn,_readonly:()=>h_,_record:()=>n_,_refine:()=>aa,_regex:()=>le,_safeDecode:()=>Ro,_safeDecodeAsync:()=>No,_safeEncode:()=>ko,_safeEncodeAsync:()=>wo,_safeParse:()=>Vt,_safeParseAsync:()=>Gt,_set:()=>i_,_size:()=>et,_slugify:()=>rr,_startsWith:()=>bt,_string:()=>nn,_stringFormat:()=>zt,_stringbool:()=>pa,_success:()=>f_,_superRefine:()=>sa,_symbol:()=>Qi,_templateLiteral:()=>v_,_toLowerCase:()=>$t,_toUpperCase:()=>At,_transform:()=>u_,_trim:()=>St,_tuple:()=>r_,_uint32:()=>Ji,_uint64:()=>Yi,_ulid:()=>gn,_undefined:()=>ea,_union:()=>Yx,_unknown:()=>wn,_uppercase:()=>_t,_url:()=>vt,_uuid:()=>sn,_uuidv4:()=>cn,_uuidv6:()=>un,_uuidv7:()=>pn,_void:()=>Nn,_xid:()=>yn,_xor:()=>Qx,clone:()=>se,config:()=>Q,createStandardJSONSchemaMethod:()=>nr,createToJSONSchemaMethod:()=>vu,decode:()=>Sd,decodeAsync:()=>Ad,describe:()=>ca,encode:()=>Td,encodeAsync:()=>$d,extractDefs:()=>ot,finalize:()=>it,flattenError:()=>jt,formatError:()=>Zt,globalConfig:()=>Ir,globalRegistry:()=>ce,initializeContext:()=>nt,isValidBase64:()=>Ec,isValidBase64URL:()=>Kd,isValidJWT:()=>Xd,locales:()=>er,meta:()=>ua,parse:()=>mt,parseAsync:()=>ft,prettifyError:()=>So,process:()=>q,regexes:()=>ve,registry:()=>rn,safeDecode:()=>Od,safeDecodeAsync:()=>Rd,safeEncode:()=>zd,safeEncodeAsync:()=>kd,safeParse:()=>Ht,safeParseAsync:()=>Wt,toDotPath:()=>Id,toJSONSchema:()=>Fn,treeifyError:()=>To,util:()=>S,version:()=>Pc});var Po=Object.freeze({status:"aborted"});function f(e,r,n){function i(c,l){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),r(c,l);let d=a.prototype,m=Object.keys(d);for(let b=0;b<m.length;b++){let h=m[b];h in c||(c[h]=d[h].bind(c))}}s(i,"init");let t=n?.Parent??Object;class o extends t{static{s(this,"Definition")}}Object.defineProperty(o,"name",{value:e});function a(c){var l;let d=n?.Parent?new o:this;i(d,c),(l=d._zod).deferred??(l.deferred=[]);for(let m of d._zod.deferred)m();return d}return s(a,"_"),Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s(c=>n?.Parent&&c instanceof n.Parent?!0:c?._zod?.traits?.has(e),"value")}),Object.defineProperty(a,"name",{value:e}),a}s(f,"$constructor");var Tr=Symbol("zod_brand"),ze=class extends Error{static{s(this,"$ZodAsyncError")}constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Je=class extends Error{static{s(this,"$ZodEncodeError")}constructor(r){super(`Encountered unidirectional transform during encode: ${r}`),this.name="ZodEncodeError"}},Ir={};function Q(e){return e&&Object.assign(Ir,e),Ir}s(Q,"config");var S={};Ae(S,{BIGINT_FORMAT_RANGES:()=>As,Class:()=>Ps,NUMBER_FORMAT_RANGES:()=>$s,aborted:()=>Qe,allowsEval:()=>Is,assert:()=>fv,assertEqual:()=>pv,assertIs:()=>dv,assertNever:()=>mv,assertNotEqual:()=>lv,assignProp:()=>Xe,base64ToUint8Array:()=>Pd,base64urlToUint8Array:()=>Tv,cached:()=>Mt,captureStackTrace:()=>Eo,cleanEnum:()=>Iv,cleanRegex:()=>Ar,clone:()=>se,cloneDef:()=>yv,createTransparentProxy:()=>bv,defineLazy:()=>j,esc:()=>bo,escapeRegex:()=>Te,extend:()=>hd,finalizeIssue:()=>ye,floatSafeRemainder:()=>bs,getElementAtPath:()=>hv,getEnumValues:()=>$r,getLengthableOrigin:()=>kr,getParsedType:()=>Pv,getSizableOrigin:()=>Or,hexToUint8Array:()=>$v,isObject:()=>dt,isPlainObject:()=>Ye,issue:()=>Lt,joinValues:()=>v,jsonStringifyReplacer:()=>Ut,merge:()=>Ev,mergeDefs:()=>Le,normalizeParams:()=>I,nullish:()=>Ke,numKeys:()=>_v,objectClone:()=>gv,omit:()=>yd,optionalKeys:()=>Ss,parsedType:()=>$,partial:()=>xd,pick:()=>gd,prefixIssues:()=>Pe,primitiveTypes:()=>Ts,promiseAllObject:()=>vv,propertyKeyTypes:()=>zr,randomString:()=>xv,required:()=>_d,safeExtend:()=>vd,shallowClone:()=>Io,slugify:()=>Es,stringifyPrimitive:()=>T,uint8ArrayToBase64:()=>bd,uint8ArrayToBase64url:()=>Sv,uint8ArrayToHex:()=>Av,unwrapMessage:()=>Sr});function pv(e){return e}s(pv,"assertEqual");function lv(e){return e}s(lv,"assertNotEqual");function dv(e){}s(dv,"assertIs");function mv(e){throw new Error("Unexpected value in exhaustive check")}s(mv,"assertNever");function fv(e){}s(fv,"assert");function $r(e){let r=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,t])=>r.indexOf(+i)===-1).map(([i,t])=>t)}s($r,"getEnumValues");function v(e,r="|"){return e.map(n=>T(n)).join(r)}s(v,"joinValues");function Ut(e,r){return typeof r=="bigint"?r.toString():r}s(Ut,"jsonStringifyReplacer");function Mt(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}s(Mt,"cached");function Ke(e){return e==null}s(Ke,"nullish");function Ar(e){let r=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(r,n)}s(Ar,"cleanRegex");function bs(e,r){let n=(e.toString().split(".")[1]||"").length,i=r.toString(),t=(i.split(".")[1]||"").length;if(t===0&&/\d?e-\d?/.test(i)){let l=i.match(/\d?e-(\d?)/);l?.[1]&&(t=Number.parseInt(l[1]))}let o=n>t?n:t,a=Number.parseInt(e.toFixed(o).replace(".","")),c=Number.parseInt(r.toFixed(o).replace(".",""));return a%c/10**o}s(bs,"floatSafeRemainder");var fd=Symbol("evaluating");function j(e,r,n){let i;Object.defineProperty(e,r,{get(){if(i!==fd)return i===void 0&&(i=fd,i=n()),i},set(t){Object.defineProperty(e,r,{value:t})},configurable:!0})}s(j,"defineLazy");function gv(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}s(gv,"objectClone");function Xe(e,r,n){Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0})}s(Xe,"assignProp");function Le(...e){let r={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(r,i)}return Object.defineProperties({},r)}s(Le,"mergeDefs");function yv(e){return Le(e._zod.def)}s(yv,"cloneDef");function hv(e,r){return r?r.reduce((n,i)=>n?.[i],e):e}s(hv,"getElementAtPath");function vv(e){let r=Object.keys(e),n=r.map(i=>e[i]);return Promise.all(n).then(i=>{let t={};for(let o=0;o<r.length;o++)t[r[o]]=i[o];return t})}s(vv,"promiseAllObject");function xv(e=10){let r="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=r[Math.floor(Math.random()*r.length)];return n}s(xv,"randomString");function bo(e){return JSON.stringify(e)}s(bo,"esc");function Es(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}s(Es,"slugify");var Eo="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function dt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}s(dt,"isObject");var Is=Mt(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Ye(e){if(dt(e)===!1)return!1;let r=e.constructor;if(r===void 0||typeof r!="function")return!0;let n=r.prototype;return!(dt(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}s(Ye,"isPlainObject");function Io(e){return Ye(e)?{...e}:Array.isArray(e)?[...e]:e}s(Io,"shallowClone");function _v(e){let r=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&r++;return r}s(_v,"numKeys");var Pv=s(e=>{let r=typeof e;switch(r){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${r}`)}},"getParsedType"),zr=new Set(["string","number","symbol"]),Ts=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Te(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}s(Te,"escapeRegex");function se(e,r,n){let i=new e._zod.constr(r??e._zod.def);return(!r||n?.parent)&&(i._zod.parent=e),i}s(se,"clone");function I(e){let r=e;if(!r)return{};if(typeof r=="string")return{error:s(()=>r,"error")};if(r?.message!==void 0){if(r?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");r.error=r.message}return delete r.message,typeof r.error=="string"?{...r,error:s(()=>r.error,"error")}:r}s(I,"normalizeParams");function bv(e){let r;return new Proxy({},{get(n,i,t){return r??(r=e()),Reflect.get(r,i,t)},set(n,i,t,o){return r??(r=e()),Reflect.set(r,i,t,o)},has(n,i){return r??(r=e()),Reflect.has(r,i)},deleteProperty(n,i){return r??(r=e()),Reflect.deleteProperty(r,i)},ownKeys(n){return r??(r=e()),Reflect.ownKeys(r)},getOwnPropertyDescriptor(n,i){return r??(r=e()),Reflect.getOwnPropertyDescriptor(r,i)},defineProperty(n,i,t){return r??(r=e()),Reflect.defineProperty(r,i,t)}})}s(bv,"createTransparentProxy");function T(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}s(T,"stringifyPrimitive");function Ss(e){return Object.keys(e).filter(r=>e[r]._zod.optin==="optional"&&e[r]._zod.optout==="optional")}s(Ss,"optionalKeys");var $s={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},As={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function gd(e,r){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let o=Le(e._zod.def,{get shape(){let a={};for(let c in r){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);r[c]&&(a[c]=n.shape[c])}return Xe(this,"shape",a),a},checks:[]});return se(e,o)}s(gd,"pick");function yd(e,r){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let o=Le(e._zod.def,{get shape(){let a={...e._zod.def.shape};for(let c in r){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);r[c]&&delete a[c]}return Xe(this,"shape",a),a},checks:[]});return se(e,o)}s(yd,"omit");function hd(e,r){if(!Ye(r))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let o=e._zod.def.shape;for(let a in r)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let t=Le(e._zod.def,{get shape(){let o={...e._zod.def.shape,...r};return Xe(this,"shape",o),o}});return se(e,t)}s(hd,"extend");function vd(e,r){if(!Ye(r))throw new Error("Invalid input to safeExtend: expected a plain object");let n=Le(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r};return Xe(this,"shape",i),i}});return se(e,n)}s(vd,"safeExtend");function Ev(e,r){let n=Le(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r._zod.def.shape};return Xe(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:[]});return se(e,n)}s(Ev,"merge");function xd(e,r,n){let t=r._zod.def.checks;if(t&&t.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let a=Le(r._zod.def,{get shape(){let c=r._zod.def.shape,l={...c};if(n)for(let d in n){if(!(d in c))throw new Error(`Unrecognized key: "${d}"`);n[d]&&(l[d]=e?new e({type:"optional",innerType:c[d]}):c[d])}else for(let d in c)l[d]=e?new e({type:"optional",innerType:c[d]}):c[d];return Xe(this,"shape",l),l},checks:[]});return se(r,a)}s(xd,"partial");function _d(e,r,n){let i=Le(r._zod.def,{get shape(){let t=r._zod.def.shape,o={...t};if(n)for(let a in n){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);n[a]&&(o[a]=new e({type:"nonoptional",innerType:t[a]}))}else for(let a in t)o[a]=new e({type:"nonoptional",innerType:t[a]});return Xe(this,"shape",o),o}});return se(r,i)}s(_d,"required");function Qe(e,r=0){if(e.aborted===!0)return!0;for(let n=r;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}s(Qe,"aborted");function Pe(e,r){return r.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}s(Pe,"prefixIssues");function Sr(e){return typeof e=="string"?e:e?.message}s(Sr,"unwrapMessage");function ye(e,r,n){let i={...e,path:e.path??[]};if(!e.message){let t=Sr(e.inst?._zod.def?.error?.(e))??Sr(r?.error?.(e))??Sr(n.customError?.(e))??Sr(n.localeError?.(e))??"Invalid input";i.message=t}return delete i.inst,delete i.continue,r?.reportInput||delete i.input,i}s(ye,"finalizeIssue");function Or(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}s(Or,"getSizableOrigin");function kr(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}s(kr,"getLengthableOrigin");function $(e){let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return r}s($,"parsedType");function Lt(...e){let[r,n,i]=e;return typeof r=="string"?{message:r,code:"custom",input:n,inst:i}:{...r}}s(Lt,"issue");function Iv(e){return Object.entries(e).filter(([r,n])=>Number.isNaN(Number.parseInt(r,10))).map(r=>r[1])}s(Iv,"cleanEnum");function Pd(e){let r=atob(e),n=new Uint8Array(r.length);for(let i=0;i<r.length;i++)n[i]=r.charCodeAt(i);return n}s(Pd,"base64ToUint8Array");function bd(e){let r="";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return btoa(r)}s(bd,"uint8ArrayToBase64");function Tv(e){let r=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-r.length%4)%4);return Pd(r+n)}s(Tv,"base64urlToUint8Array");function Sv(e){return bd(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}s(Sv,"uint8ArrayToBase64url");function $v(e){let r=e.replace(/^0x/,"");if(r.length%2!==0)throw new Error("Invalid hex string length");let n=new Uint8Array(r.length/2);for(let i=0;i<r.length;i+=2)n[i/2]=Number.parseInt(r.slice(i,i+2),16);return n}s($v,"hexToUint8Array");function Av(e){return Array.from(e).map(r=>r.toString(16).padStart(2,"0")).join("")}s(Av,"uint8ArrayToHex");var Ps=class{static{s(this,"Class")}constructor(...r){}};var Ed=s((e,r)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:r,enumerable:!1}),e.message=JSON.stringify(r,Ut,2),Object.defineProperty(e,"toString",{value:s(()=>e.message,"value"),enumerable:!1})},"initializer"),Rr=f("$ZodError",Ed),he=f("$ZodError",Ed,{Parent:Error});function jt(e,r=n=>n.message){let n={},i=[];for(let t of e.issues)t.path.length>0?(n[t.path[0]]=n[t.path[0]]||[],n[t.path[0]].push(r(t))):i.push(r(t));return{formErrors:i,fieldErrors:n}}s(jt,"flattenError");function Zt(e,r=n=>n.message){let n={_errors:[]},i=s(t=>{for(let o of t.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(a=>i({issues:a}));else if(o.code==="invalid_key")i({issues:o.issues});else if(o.code==="invalid_element")i({issues:o.issues});else if(o.path.length===0)n._errors.push(r(o));else{let a=n,c=0;for(;c<o.path.length;){let l=o.path[c];c===o.path.length-1?(a[l]=a[l]||{_errors:[]},a[l]._errors.push(r(o))):a[l]=a[l]||{_errors:[]},a=a[l],c++}}},"processError");return i(e),n}s(Zt,"formatError");function To(e,r=n=>n.message){let n={errors:[]},i=s((t,o=[])=>{var a,c;for(let l of t.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(d=>i({issues:d},l.path));else if(l.code==="invalid_key")i({issues:l.issues},l.path);else if(l.code==="invalid_element")i({issues:l.issues},l.path);else{let d=[...o,...l.path];if(d.length===0){n.errors.push(r(l));continue}let m=n,b=0;for(;b<d.length;){let h=d[b],p=b===d.length-1;typeof h=="string"?(m.properties??(m.properties={}),(a=m.properties)[h]??(a[h]={errors:[]}),m=m.properties[h]):(m.items??(m.items=[]),(c=m.items)[h]??(c[h]={errors:[]}),m=m.items[h]),p&&m.errors.push(r(l)),b++}}},"processError");return i(e),n}s(To,"treeifyError");function Id(e){let r=[],n=e.map(i=>typeof i=="object"?i.key:i);for(let i of n)typeof i=="number"?r.push(`[${i}]`):typeof i=="symbol"?r.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?r.push(`[${JSON.stringify(i)}]`):(r.length&&r.push("."),r.push(i));return r.join("")}s(Id,"toDotPath");function So(e){let r=[],n=[...e.issues].sort((i,t)=>(i.path??[]).length-(t.path??[]).length);for(let i of n)r.push(`\u2716 ${i.message}`),i.path?.length&&r.push(` \u2192 at ${Id(i.path)}`);return r.join(`
|
|
3
|
-
`)}s(So,"prettifyError");var Ft=s(e=>(r,n,i,t)=>{let o=i?Object.assign(i,{async:!1}):{async:!1},a=r._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new ze;if(a.issues.length){let c=new(t?.Err??e)(a.issues.map(l=>ye(l,o,Q())));throw Eo(c,t?.callee),c}return a.value},"_parse"),mt=Ft(he),Bt=s(e=>async(r,n,i,t)=>{let o=i?Object.assign(i,{async:!0}):{async:!0},a=r._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let c=new(t?.Err??e)(a.issues.map(l=>ye(l,o,Q())));throw Eo(c,t?.callee),c}return a.value},"_parseAsync"),ft=Bt(he),Vt=s(e=>(r,n,i)=>{let t=i?{...i,async:!1}:{async:!1},o=r._zod.run({value:n,issues:[]},t);if(o instanceof Promise)throw new ze;return o.issues.length?{success:!1,error:new(e??Rr)(o.issues.map(a=>ye(a,t,Q())))}:{success:!0,data:o.value}},"_safeParse"),Ht=Vt(he),Gt=s(e=>async(r,n,i)=>{let t=i?Object.assign(i,{async:!0}):{async:!0},o=r._zod.run({value:n,issues:[]},t);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(a=>ye(a,t,Q())))}:{success:!0,data:o.value}},"_safeParseAsync"),Wt=Gt(he),$o=s(e=>(r,n,i)=>{let t=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Ft(e)(r,n,t)},"_encode"),Td=$o(he),Ao=s(e=>(r,n,i)=>Ft(e)(r,n,i),"_decode"),Sd=Ao(he),zo=s(e=>async(r,n,i)=>{let t=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Bt(e)(r,n,t)},"_encodeAsync"),$d=zo(he),Oo=s(e=>async(r,n,i)=>Bt(e)(r,n,i),"_decodeAsync"),Ad=Oo(he),ko=s(e=>(r,n,i)=>{let t=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Vt(e)(r,n,t)},"_safeEncode"),zd=ko(he),Ro=s(e=>(r,n,i)=>Vt(e)(r,n,i),"_safeDecode"),Od=Ro(he),wo=s(e=>async(r,n,i)=>{let t=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Gt(e)(r,n,t)},"_safeEncodeAsync"),kd=wo(he),No=s(e=>async(r,n,i)=>Gt(e)(r,n,i),"_safeDecodeAsync"),Rd=No(he);var ve={};Ae(ve,{base64:()=>Vs,base64url:()=>Do,bigint:()=>Ks,boolean:()=>Ys,browserEmail:()=>Uv,cidrv4:()=>Fs,cidrv6:()=>Bs,cuid:()=>zs,cuid2:()=>Os,date:()=>Gs,datetime:()=>qs,domain:()=>jv,duration:()=>Ds,e164:()=>Hs,email:()=>Us,emoji:()=>Ms,extendedDuration:()=>Ov,guid:()=>Cs,hex:()=>Zv,hostname:()=>Lv,html5Email:()=>Nv,idnEmail:()=>Cv,integer:()=>Xs,ipv4:()=>Ls,ipv6:()=>js,ksuid:()=>ws,lowercase:()=>tc,mac:()=>Zs,md5_base64:()=>Bv,md5_base64url:()=>Vv,md5_hex:()=>Fv,nanoid:()=>Ns,null:()=>Qs,number:()=>Co,rfc5322Email:()=>Dv,sha1_base64:()=>Gv,sha1_base64url:()=>Wv,sha1_hex:()=>Hv,sha256_base64:()=>Jv,sha256_base64url:()=>Kv,sha256_hex:()=>qv,sha384_base64:()=>Yv,sha384_base64url:()=>Qv,sha384_hex:()=>Xv,sha512_base64:()=>tx,sha512_base64url:()=>rx,sha512_hex:()=>ex,string:()=>Js,time:()=>Ws,ulid:()=>ks,undefined:()=>ec,unicodeEmail:()=>wd,uppercase:()=>rc,uuid:()=>gt,uuid4:()=>kv,uuid6:()=>Rv,uuid7:()=>wv,xid:()=>Rs});var zs=/^[cC][^\s-]{8,}$/,Os=/^[0-9a-z]+$/,ks=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Rs=/^[0-9a-vA-V]{20}$/,ws=/^[A-Za-z0-9]{27}$/,Ns=/^[a-zA-Z0-9_-]{21}$/,Ds=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Ov=/^[-+]?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)?)??$/,Cs=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,gt=s(e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,"uuid"),kv=gt(4),Rv=gt(6),wv=gt(7),Us=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Nv=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Dv=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,wd=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Cv=wd,Uv=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Mv="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Ms(){return new RegExp(Mv,"u")}s(Ms,"emoji");var Ls=/^(?:(?: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])$/,js=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Zs=s(e=>{let r=Te(e??":");return new RegExp(`^(?:[0-9A-F]{2}${r}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${r}){5}[0-9a-f]{2}$`)},"mac"),Fs=/^((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])\/([0-9]|[1-2][0-9]|3[0-2])$/,Bs=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Vs=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Do=/^[A-Za-z0-9_-]*$/,Lv=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,jv=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Hs=/^\+[1-9]\d{6,14}$/,Nd="(?:(?:\\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])))",Gs=new RegExp(`^${Nd}$`);function Dd(e){let r="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${r}`:e.precision===0?`${r}:[0-5]\\d`:`${r}:[0-5]\\d\\.\\d{${e.precision}}`:`${r}(?::[0-5]\\d(?:\\.\\d+)?)?`}s(Dd,"timeSource");function Ws(e){return new RegExp(`^${Dd(e)}$`)}s(Ws,"time");function qs(e){let r=Dd({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${r}(?:${n.join("|")})`;return new RegExp(`^${Nd}T(?:${i})$`)}s(qs,"datetime");var Js=s(e=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},"string"),Ks=/^-?\d+n?$/,Xs=/^-?\d+$/,Co=/^-?\d+(?:\.\d+)?$/,Ys=/^(?:true|false)$/i,Qs=/^null$/i;var ec=/^undefined$/i;var tc=/^[^A-Z]*$/,rc=/^[^a-z]*$/,Zv=/^[0-9a-fA-F]*$/;function wr(e,r){return new RegExp(`^[A-Za-z0-9+/]{${e}}${r}$`)}s(wr,"fixedBase64");function Nr(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}s(Nr,"fixedBase64url");var Fv=/^[0-9a-fA-F]{32}$/,Bv=wr(22,"=="),Vv=Nr(22),Hv=/^[0-9a-fA-F]{40}$/,Gv=wr(27,"="),Wv=Nr(27),qv=/^[0-9a-fA-F]{64}$/,Jv=wr(43,"="),Kv=Nr(43),Xv=/^[0-9a-fA-F]{96}$/,Yv=wr(64,""),Qv=Nr(64),ex=/^[0-9a-fA-F]{128}$/,tx=wr(86,"=="),rx=Nr(86);var J=f("$ZodCheck",(e,r)=>{var n;e._zod??(e._zod={}),e._zod.def=r,(n=e._zod).onattach??(n.onattach=[])}),Ud={number:"number",bigint:"bigint",object:"date"},Uo=f("$ZodCheckLessThan",(e,r)=>{J.init(e,r);let n=Ud[typeof r.value];e._zod.onattach.push(i=>{let t=i._zod.bag,o=(r.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;r.value<o&&(r.inclusive?t.maximum=r.value:t.exclusiveMaximum=r.value)}),e._zod.check=i=>{(r.inclusive?i.value<=r.value:i.value<r.value)||i.issues.push({origin:n,code:"too_big",maximum:typeof r.value=="object"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),Mo=f("$ZodCheckGreaterThan",(e,r)=>{J.init(e,r);let n=Ud[typeof r.value];e._zod.onattach.push(i=>{let t=i._zod.bag,o=(r.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;r.value>o&&(r.inclusive?t.minimum=r.value:t.exclusiveMinimum=r.value)}),e._zod.check=i=>{(r.inclusive?i.value>=r.value:i.value>r.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof r.value=="object"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),nc=f("$ZodCheckMultipleOf",(e,r)=>{J.init(e,r),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=r.value)}),e._zod.check=n=>{if(typeof n.value!=typeof r.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%r.value===BigInt(0):bs(n.value,r.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:r.value,input:n.value,inst:e,continue:!r.abort})}}),oc=f("$ZodCheckNumberFormat",(e,r)=>{J.init(e,r),r.format=r.format||"float64";let n=r.format?.includes("int"),i=n?"int":"number",[t,o]=$s[r.format];e._zod.onattach.push(a=>{let c=a._zod.bag;c.format=r.format,c.minimum=t,c.maximum=o,n&&(c.pattern=Xs)}),e._zod.check=a=>{let c=a.value;if(n){if(!Number.isInteger(c)){a.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?a.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort}):a.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});return}}c<t&&a.issues.push({origin:"number",input:c,code:"too_small",minimum:t,inclusive:!0,inst:e,continue:!r.abort}),c>o&&a.issues.push({origin:"number",input:c,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!r.abort})}}),ic=f("$ZodCheckBigIntFormat",(e,r)=>{J.init(e,r);let[n,i]=As[r.format];e._zod.onattach.push(t=>{let o=t._zod.bag;o.format=r.format,o.minimum=n,o.maximum=i}),e._zod.check=t=>{let o=t.value;o<n&&t.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!r.abort}),o>i&&t.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!r.abort})}}),ac=f("$ZodCheckMaxSize",(e,r)=>{var n;J.init(e,r),(n=e._zod.def).when??(n.when=i=>{let t=i.value;return!Ke(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{let t=i._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(i._zod.bag.maximum=r.maximum)}),e._zod.check=i=>{let t=i.value;t.size<=r.maximum||i.issues.push({origin:Or(t),code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),sc=f("$ZodCheckMinSize",(e,r)=>{var n;J.init(e,r),(n=e._zod.def).when??(n.when=i=>{let t=i.value;return!Ke(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{let t=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(i._zod.bag.minimum=r.minimum)}),e._zod.check=i=>{let t=i.value;t.size>=r.minimum||i.issues.push({origin:Or(t),code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),cc=f("$ZodCheckSizeEquals",(e,r)=>{var n;J.init(e,r),(n=e._zod.def).when??(n.when=i=>{let t=i.value;return!Ke(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{let t=i._zod.bag;t.minimum=r.size,t.maximum=r.size,t.size=r.size}),e._zod.check=i=>{let t=i.value,o=t.size;if(o===r.size)return;let a=o>r.size;i.issues.push({origin:Or(t),...a?{code:"too_big",maximum:r.size}:{code:"too_small",minimum:r.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!r.abort})}}),uc=f("$ZodCheckMaxLength",(e,r)=>{var n;J.init(e,r),(n=e._zod.def).when??(n.when=i=>{let t=i.value;return!Ke(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{let t=i._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(i._zod.bag.maximum=r.maximum)}),e._zod.check=i=>{let t=i.value;if(t.length<=r.maximum)return;let a=kr(t);i.issues.push({origin:a,code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),pc=f("$ZodCheckMinLength",(e,r)=>{var n;J.init(e,r),(n=e._zod.def).when??(n.when=i=>{let t=i.value;return!Ke(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{let t=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(i._zod.bag.minimum=r.minimum)}),e._zod.check=i=>{let t=i.value;if(t.length>=r.minimum)return;let a=kr(t);i.issues.push({origin:a,code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),lc=f("$ZodCheckLengthEquals",(e,r)=>{var n;J.init(e,r),(n=e._zod.def).when??(n.when=i=>{let t=i.value;return!Ke(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{let t=i._zod.bag;t.minimum=r.length,t.maximum=r.length,t.length=r.length}),e._zod.check=i=>{let t=i.value,o=t.length;if(o===r.length)return;let a=kr(t),c=o>r.length;i.issues.push({origin:a,...c?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!r.abort})}}),qt=f("$ZodCheckStringFormat",(e,r)=>{var n,i;J.init(e,r),e._zod.onattach.push(t=>{let o=t._zod.bag;o.format=r.format,r.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(r.pattern))}),r.pattern?(n=e._zod).check??(n.check=t=>{r.pattern.lastIndex=0,!r.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:r.format,input:t.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})}):(i=e._zod).check??(i.check=()=>{})}),dc=f("$ZodCheckRegex",(e,r)=>{qt.init(e,r),e._zod.check=n=>{r.pattern.lastIndex=0,!r.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:r.pattern.toString(),inst:e,continue:!r.abort})}}),mc=f("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=tc),qt.init(e,r)}),fc=f("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=rc),qt.init(e,r)}),gc=f("$ZodCheckIncludes",(e,r)=>{J.init(e,r);let n=Te(r.includes),i=new RegExp(typeof r.position=="number"?`^.{${r.position}}${n}`:n);r.pattern=i,e._zod.onattach.push(t=>{let o=t._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=t=>{t.value.includes(r.includes,r.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:t.value,inst:e,continue:!r.abort})}}),yc=f("$ZodCheckStartsWith",(e,r)=>{J.init(e,r);let n=new RegExp(`^${Te(r.prefix)}.*`);r.pattern??(r.pattern=n),e._zod.onattach.push(i=>{let t=i._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=i=>{i.value.startsWith(r.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:i.value,inst:e,continue:!r.abort})}}),hc=f("$ZodCheckEndsWith",(e,r)=>{J.init(e,r);let n=new RegExp(`.*${Te(r.suffix)}$`);r.pattern??(r.pattern=n),e._zod.onattach.push(i=>{let t=i._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=i=>{i.value.endsWith(r.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:i.value,inst:e,continue:!r.abort})}});function Cd(e,r,n){e.issues.length&&r.issues.push(...Pe(n,e.issues))}s(Cd,"handleCheckPropertyResult");var vc=f("$ZodCheckProperty",(e,r)=>{J.init(e,r),e._zod.check=n=>{let i=r.schema._zod.run({value:n.value[r.property],issues:[]},{});if(i instanceof Promise)return i.then(t=>Cd(t,n,r.property));Cd(i,n,r.property)}}),xc=f("$ZodCheckMimeType",(e,r)=>{J.init(e,r);let n=new Set(r.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=r.mime}),e._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:r.mime,input:i.value.type,inst:e,continue:!r.abort})}}),_c=f("$ZodCheckOverwrite",(e,r)=>{J.init(e,r),e._zod.check=n=>{n.value=r.tx(n.value)}});var Dr=class{static{s(this,"Doc")}constructor(r=[]){this.content=[],this.indent=0,this&&(this.args=r)}indented(r){this.indent+=1,r(this),this.indent-=1}write(r){if(typeof r=="function"){r(this,{execution:"sync"}),r(this,{execution:"async"});return}let i=r.split(`
|
|
4
|
-
`).filter(
|
|
5
|
-
`))}};var Pc={major:4,minor:3,patch:6};var N=f("$ZodType",(e,r)=>{var n;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=Pc;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let t of i)for(let o of t._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=s((a,c,l)=>{let d=Qe(a),m;for(let b of c){if(b._zod.def.when){if(!b._zod.def.when(a))continue}else if(d)continue;let h=a.issues.length,p=b._zod.check(a);if(p instanceof Promise&&l?.async===!1)throw new ze;if(m||p instanceof Promise)m=(m??Promise.resolve()).then(async()=>{await p,a.issues.length!==h&&(d||(d=Qe(a,h)))});else{if(a.issues.length===h)continue;d||(d=Qe(a,h))}}return m?m.then(()=>a):a},"runChecks"),o=s((a,c,l)=>{if(Qe(a))return a.aborted=!0,a;let d=t(c,i,l);if(d instanceof Promise){if(l.async===!1)throw new ze;return d.then(m=>e._zod.parse(m,l))}return e._zod.parse(d,l)},"handleCanaryResult");e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){let d=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});return d instanceof Promise?d.then(m=>o(m,a,c)):o(d,a,c)}let l=e._zod.parse(a,c);if(l instanceof Promise){if(c.async===!1)throw new ze;return l.then(d=>t(d,i,c))}return t(l,i,c)}}j(e,"~standard",()=>({validate:s(t=>{try{let o=Ht(e,t);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return Wt(e,t).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},"validate"),vendor:"zod",version:1}))}),je=f("$ZodString",(e,r)=>{N.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Js(e._zod.bag),e._zod.parse=(n,i)=>{if(r.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),W=f("$ZodStringFormat",(e,r)=>{qt.init(e,r),je.init(e,r)}),Vo=f("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=Cs),W.init(e,r)}),Ho=f("$ZodUUID",(e,r)=>{if(r.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(i===void 0)throw new Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=gt(i))}else r.pattern??(r.pattern=gt());W.init(e,r)}),Go=f("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=Us),W.init(e,r)}),Cr=f("$ZodURL",(e,r)=>{W.init(e,r),e._zod.check=n=>{try{let i=n.value.trim(),t=new URL(i);r.hostname&&(r.hostname.lastIndex=0,r.hostname.test(t.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:n.value,inst:e,continue:!r.abort})),r.protocol&&(r.protocol.lastIndex=0,r.protocol.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:n.value,inst:e,continue:!r.abort})),r.normalize?n.value=t.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!r.abort})}}}),Wo=f("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=Ms()),W.init(e,r)}),qo=f("$ZodNanoID",(e,r)=>{r.pattern??(r.pattern=Ns),W.init(e,r)}),Jo=f("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=zs),W.init(e,r)}),Ko=f("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=Os),W.init(e,r)}),Xo=f("$ZodULID",(e,r)=>{r.pattern??(r.pattern=ks),W.init(e,r)}),Yo=f("$ZodXID",(e,r)=>{r.pattern??(r.pattern=Rs),W.init(e,r)}),Qo=f("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=ws),W.init(e,r)}),ei=f("$ZodISODateTime",(e,r)=>{r.pattern??(r.pattern=qs(r)),W.init(e,r)}),ti=f("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=Gs),W.init(e,r)}),ri=f("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=Ws(r)),W.init(e,r)}),ni=f("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=Ds),W.init(e,r)}),oi=f("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=Ls),W.init(e,r),e._zod.bag.format="ipv4"}),ii=f("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=js),W.init(e,r),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!r.abort})}}}),ai=f("$ZodMAC",(e,r)=>{r.pattern??(r.pattern=Zs(r.delimiter)),W.init(e,r),e._zod.bag.format="mac"}),si=f("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Fs),W.init(e,r)}),ci=f("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=Bs),W.init(e,r),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[t,o]=i;if(!o)throw new Error;let a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${t}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!r.abort})}}});function Ec(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}s(Ec,"isValidBase64");var ui=f("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=Vs),W.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{Ec(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!r.abort})}});function Kd(e){if(!Do.test(e))return!1;let r=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=r.padEnd(Math.ceil(r.length/4)*4,"=");return Ec(n)}s(Kd,"isValidBase64URL");var pi=f("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=Do),W.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{Kd(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!r.abort})}}),li=f("$ZodE164",(e,r)=>{r.pattern??(r.pattern=Hs),W.init(e,r)});function Xd(e,r=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let t=JSON.parse(atob(i));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||r&&(!("alg"in t)||t.alg!==r))}catch{return!1}}s(Xd,"isValidJWT");var di=f("$ZodJWT",(e,r)=>{W.init(e,r),e._zod.check=n=>{Xd(n.value,r.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!r.abort})}}),mi=f("$ZodCustomStringFormat",(e,r)=>{W.init(e,r),e._zod.check=n=>{r.fn(n.value)||n.issues.push({code:"invalid_format",format:r.format,input:n.value,inst:e,continue:!r.abort})}}),Jt=f("$ZodNumber",(e,r)=>{N.init(e,r),e._zod.pattern=e._zod.bag.pattern??Co,e._zod.parse=(n,i)=>{if(r.coerce)try{n.value=Number(n.value)}catch{}let t=n.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return n;let o=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...o?{received:o}:{}}),n}}),Ur=f("$ZodNumberFormat",(e,r)=>{oc.init(e,r),Jt.init(e,r)}),yt=f("$ZodBoolean",(e,r)=>{N.init(e,r),e._zod.pattern=Ys,e._zod.parse=(n,i)=>{if(r.coerce)try{n.value=!!n.value}catch{}let t=n.value;return typeof t=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),n}}),Kt=f("$ZodBigInt",(e,r)=>{N.init(e,r),e._zod.pattern=Ks,e._zod.parse=(n,i)=>{if(r.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),fi=f("$ZodBigIntFormat",(e,r)=>{ic.init(e,r),Kt.init(e,r)}),gi=f("$ZodSymbol",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value;return typeof t=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),n}}),yi=f("$ZodUndefined",(e,r)=>{N.init(e,r),e._zod.pattern=ec,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,i)=>{let t=n.value;return typeof t>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),n}}),hi=f("$ZodNull",(e,r)=>{N.init(e,r),e._zod.pattern=Qs,e._zod.values=new Set([null]),e._zod.parse=(n,i)=>{let t=n.value;return t===null||n.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),n}}),Mr=f("$ZodAny",(e,r)=>{N.init(e,r),e._zod.parse=n=>n}),Lr=f("$ZodUnknown",(e,r)=>{N.init(e,r),e._zod.parse=n=>n}),vi=f("$ZodNever",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),jr=f("$ZodVoid",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value;return typeof t>"u"||n.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),n}}),Zr=f("$ZodDate",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{if(r.coerce)try{n.value=new Date(n.value)}catch{}let t=n.value,o=t instanceof Date;return o&&!Number.isNaN(t.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:t,...o?{received:"Invalid Date"}:{},inst:e}),n}});function Ld(e,r,n){e.issues.length&&r.issues.push(...Pe(n,e.issues)),r.value[n]=e.value}s(Ld,"handleArrayResult");var Fr=f("$ZodArray",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value;if(!Array.isArray(t))return n.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),n;n.value=Array(t.length);let o=[];for(let a=0;a<t.length;a++){let c=t[a],l=r.element._zod.run({value:c,issues:[]},i);l instanceof Promise?o.push(l.then(d=>Ld(d,n,a))):Ld(l,n,a)}return o.length?Promise.all(o).then(()=>n):n}});function Bo(e,r,n,i,t){if(e.issues.length){if(t&&!(n in i))return;r.issues.push(...Pe(n,e.issues))}e.value===void 0?n in i&&(r.value[n]=void 0):r.value[n]=e.value}s(Bo,"handlePropertyResult");function Yd(e){let r=Object.keys(e.shape);for(let i of r)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=Ss(e.shape);return{...e,keys:r,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(n)}}s(Yd,"normalizeDef");function Qd(e,r,n,i,t,o){let a=[],c=t.keySet,l=t.catchall._zod,d=l.def.type,m=l.optout==="optional";for(let b in r){if(c.has(b))continue;if(d==="never"){a.push(b);continue}let h=l.run({value:r[b],issues:[]},i);h instanceof Promise?e.push(h.then(p=>Bo(p,n,b,r,m))):Bo(h,n,b,r,m)}return a.length&&n.issues.push({code:"unrecognized_keys",keys:a,input:r,inst:o}),e.length?Promise.all(e).then(()=>n):n}s(Qd,"handleCatchall");var xi=f("$ZodObject",(e,r)=>{if(N.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let c=r.shape;Object.defineProperty(r,"shape",{get:s(()=>{let l={...c};return Object.defineProperty(r,"shape",{value:l}),l},"get")})}let i=Mt(()=>Yd(r));j(e._zod,"propValues",()=>{let c=r.shape,l={};for(let d in c){let m=c[d]._zod;if(m.values){l[d]??(l[d]=new Set);for(let b of m.values)l[d].add(b)}}return l});let t=dt,o=r.catchall,a;e._zod.parse=(c,l)=>{a??(a=i.value);let d=c.value;if(!t(d))return c.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),c;c.value={};let m=[],b=a.shape;for(let h of a.keys){let p=b[h],y=p._zod.optout==="optional",P=p._zod.run({value:d[h],issues:[]},l);P instanceof Promise?m.push(P.then(E=>Bo(E,c,h,d,y))):Bo(P,c,h,d,y)}return o?Qd(m,d,c,l,i.value,e):m.length?Promise.all(m).then(()=>c):c}}),Ic=f("$ZodObjectJIT",(e,r)=>{xi.init(e,r);let n=e._zod.parse,i=Mt(()=>Yd(r)),t=s(h=>{let p=new Dr(["shape","payload","ctx"]),y=i.value,P=s(C=>{let X=bo(C);return`shape[${X}]._zod.run({ value: input[${X}], issues: [] }, ctx)`},"parseStr");p.write("const input = payload.value;");let E=Object.create(null),_=0;for(let C of y.keys)E[C]=`key_${_++}`;p.write("const newResult = {};");for(let C of y.keys){let X=E[C],ne=bo(C),vs=h[C]?._zod?.optout==="optional";p.write(`const ${X} = ${P(C)};`),vs?p.write(`
|
|
6
|
-
if (${
|
|
7
|
-
if (${
|
|
8
|
-
payload.issues = payload.issues.concat(${
|
|
1
|
+
"use strict";var KP=Object.create;var Xo=Object.defineProperty;var JP=Object.getOwnPropertyDescriptor;var XP=Object.getOwnPropertyNames;var YP=Object.getPrototypeOf,QP=Object.prototype.hasOwnProperty;var s=(e,t)=>Xo(e,"name",{value:t,configurable:!0});var j=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Ue=(e,t)=>{for(var r in t)Xo(e,r,{get:t[r],enumerable:!0})},Ap=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of XP(t))!QP.call(e,o)&&o!==r&&Xo(e,o,{get:()=>t[o],enumerable:!(n=JP(t,o))||n.enumerable});return e};var oo=(e,t,r)=>(r=e!=null?KP(YP(e)):{},Ap(t||!e||!e.__esModule?Xo(r,"default",{value:e,enumerable:!0}):r,e)),ez=e=>Ap(Xo({},"__esModule",{value:!0}),e);var Sh=j((Ah,Ns)=>{(function(e){"use strict";let t="(0?\\d+|0x[a-f0-9]+)",r={fourOctet:new RegExp(`^${t}\\.${t}\\.${t}\\.${t}$`,"i"),threeOctet:new RegExp(`^${t}\\.${t}\\.${t}$`,"i"),twoOctet:new RegExp(`^${t}\\.${t}$`,"i"),longValue:new RegExp(`^${t}$`,"i")},n=new RegExp("^0[0-7]+$","i"),o=new RegExp("^0x[a-f0-9]+$","i"),a="%[0-9a-z]{1,}",i="(?:[0-9a-f]+::?)+",l={zoneIndex:new RegExp(a,"i"),native:new RegExp(`^(::)?(${i})?([0-9a-f]+)?(::)?(${a})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${t}\\.${t}\\.${t}\\.${t}(${a})?)$`,"i"),transitional:new RegExp(`^((?:${i})|(?:::)(?:${i})?)${t}\\.${t}\\.${t}\\.${t}(${a})?$`,"i")};function d(p,v){if(p.indexOf("::")!==p.lastIndexOf("::"))return null;let A=0,C=-1,E=(p.match(l.zoneIndex)||[])[0],O,L;for(E&&(E=E.substring(1),p=p.replace(/%.+$/,""));(C=p.indexOf(":",C+1))>=0;)A++;if(p.substr(0,2)==="::"&&A--,p.substr(-2,2)==="::"&&A--,A>v)return null;for(L=v-A,O=":";L--;)O+="0:";return p=p.replace("::",O),p[0]===":"&&(p=p.slice(1)),p[p.length-1]===":"&&(p=p.slice(0,-1)),v=(function(){let ie=p.split(":"),ce=[];for(let we=0;we<ie.length;we++)ce.push(parseInt(ie[we],16));return ce})(),{parts:v,zoneId:E}}s(d,"expandIPv6");function m(p,v,A,C){if(p.length!==v.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let E=0,O;for(;C>0;){if(O=A-C,O<0&&(O=0),p[E]>>O!==v[E]>>O)return!1;C-=A,E+=1}return!0}s(m,"matchCIDR");function b(p){if(o.test(p))return parseInt(p,16);if(p[0]==="0"&&!isNaN(parseInt(p[1],10))){if(n.test(p))return parseInt(p,8);throw new Error(`ipaddr: cannot parse ${p} as octal`)}return parseInt(p,10)}s(b,"parseIntAuto");function x(p,v){for(;p.length<v;)p=`0${p}`;return p}s(x,"padPart");let I={};I.IPv4=(function(){function p(v){if(v.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");let A,C;for(A=0;A<v.length;A++)if(C=v[A],!(0<=C&&C<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=v}return s(p,"IPv4"),p.prototype.SpecialRanges={unspecified:[[new p([0,0,0,0]),8]],broadcast:[[new p([255,255,255,255]),32]],multicast:[[new p([224,0,0,0]),4]],linkLocal:[[new p([169,254,0,0]),16]],loopback:[[new p([127,0,0,0]),8]],carrierGradeNat:[[new p([100,64,0,0]),10]],private:[[new p([10,0,0,0]),8],[new p([172,16,0,0]),12],[new p([192,168,0,0]),16]],reserved:[[new p([192,0,0,0]),24],[new p([192,0,2,0]),24],[new p([192,88,99,0]),24],[new p([198,18,0,0]),15],[new p([198,51,100,0]),24],[new p([203,0,113,0]),24],[new p([240,0,0,0]),4]],as112:[[new p([192,175,48,0]),24],[new p([192,31,196,0]),24]],amt:[[new p([192,52,193,0]),24]]},p.prototype.kind=function(){return"ipv4"},p.prototype.match=function(v,A){let C;if(A===void 0&&(C=v,v=C[0],A=C[1]),v.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return m(this.octets,v.octets,8,A)},p.prototype.prefixLengthFromSubnetMask=function(){let v=0,A=!1,C={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},E,O,L;for(E=3;E>=0;E-=1)if(O=this.octets[E],O in C){if(L=C[O],A&&L!==0)return null;L!==8&&(A=!0),v+=L}else return null;return 32-v},p.prototype.range=function(){return I.subnetMatch(this,this.SpecialRanges)},p.prototype.toByteArray=function(){return this.octets.slice(0)},p.prototype.toIPv4MappedAddress=function(){return I.IPv6.parse(`::ffff:${this.toString()}`)},p.prototype.toNormalizedString=function(){return this.toString()},p.prototype.toString=function(){return this.octets.join(".")},p})(),I.IPv4.broadcastAddressFromCIDR=function(p){try{let v=this.parseCIDR(p),A=v[0].toByteArray(),C=this.subnetMaskFromPrefixLength(v[1]).toByteArray(),E=[],O=0;for(;O<4;)E.push(parseInt(A[O],10)|parseInt(C[O],10)^255),O++;return new this(E)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},I.IPv4.isIPv4=function(p){return this.parser(p)!==null},I.IPv4.isValid=function(p){try{return new this(this.parser(p)),!0}catch{return!1}},I.IPv4.isValidCIDR=function(p){try{return this.parseCIDR(p),!0}catch{return!1}},I.IPv4.isValidFourPartDecimal=function(p){return!!(I.IPv4.isValid(p)&&p.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},I.IPv4.isValidCIDRFourPartDecimal=function(p){let v=p.match(/^(.+)\/(\d+)$/);return!I.IPv4.isValidCIDR(p)||!v?!1:I.IPv4.isValidFourPartDecimal(v[1])},I.IPv4.networkAddressFromCIDR=function(p){let v,A,C,E,O;try{for(v=this.parseCIDR(p),C=v[0].toByteArray(),O=this.subnetMaskFromPrefixLength(v[1]).toByteArray(),E=[],A=0;A<4;)E.push(parseInt(C[A],10)&parseInt(O[A],10)),A++;return new this(E)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},I.IPv4.parse=function(p){let v=this.parser(p);if(v===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(v)},I.IPv4.parseCIDR=function(p){let v;if(v=p.match(/^(.+)\/(\d+)$/)){let A=parseInt(v[2]);if(A>=0&&A<=32){let C=[this.parse(v[1]),A];return Object.defineProperty(C,"toString",{value:s(function(){return this.join("/")},"value")}),C}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},I.IPv4.parser=function(p){let v,A,C;if(v=p.match(r.fourOctet))return(function(){let E=v.slice(1,6),O=[];for(let L=0;L<E.length;L++)A=E[L],O.push(b(A));return O})();if(v=p.match(r.longValue)){if(C=b(v[1]),C>4294967295||C<0)throw new Error("ipaddr: address outside defined range");return(function(){let E=[],O;for(O=0;O<=24;O+=8)E.push(C>>O&255);return E})().reverse()}else return(v=p.match(r.twoOctet))?(function(){let E=v.slice(1,4),O=[];if(C=b(E[1]),C>16777215||C<0)throw new Error("ipaddr: address outside defined range");return O.push(b(E[0])),O.push(C>>16&255),O.push(C>>8&255),O.push(C&255),O})():(v=p.match(r.threeOctet))?(function(){let E=v.slice(1,5),O=[];if(C=b(E[2]),C>65535||C<0)throw new Error("ipaddr: address outside defined range");return O.push(b(E[0])),O.push(b(E[1])),O.push(C>>8&255),O.push(C&255),O})():null},I.IPv4.subnetMaskFromPrefixLength=function(p){if(p=parseInt(p),p<0||p>32)throw new Error("ipaddr: invalid IPv4 prefix length");let v=[0,0,0,0],A=0,C=Math.floor(p/8);for(;A<C;)v[A]=255,A++;return C<4&&(v[C]=Math.pow(2,p%8)-1<<8-p%8),new this(v)},I.IPv6=(function(){function p(v,A){let C,E;if(v.length===16)for(this.parts=[],C=0;C<=14;C+=2)this.parts.push(v[C]<<8|v[C+1]);else if(v.length===8)this.parts=v;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(C=0;C<this.parts.length;C++)if(E=this.parts[C],!(0<=E&&E<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");A&&(this.zoneId=A)}return s(p,"IPv6"),p.prototype.SpecialRanges={unspecified:[new p([0,0,0,0,0,0,0,0]),128],linkLocal:[new p([65152,0,0,0,0,0,0,0]),10],multicast:[new p([65280,0,0,0,0,0,0,0]),8],loopback:[new p([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new p([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new p([0,0,0,0,0,65535,0,0]),96],discard:[new p([256,0,0,0,0,0,0,0]),64],rfc6145:[new p([0,0,0,0,65535,0,0,0]),96],rfc6052:[new p([100,65435,0,0,0,0,0,0]),96],"6to4":[new p([8194,0,0,0,0,0,0,0]),16],teredo:[new p([8193,0,0,0,0,0,0,0]),32],benchmarking:[new p([8193,2,0,0,0,0,0,0]),48],amt:[new p([8193,3,0,0,0,0,0,0]),32],as112v6:[[new p([8193,4,274,0,0,0,0,0]),48],[new p([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new p([8193,16,0,0,0,0,0,0]),28],orchid2:[new p([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new p([8193,48,0,0,0,0,0,0]),28],reserved:[[new p([8193,0,0,0,0,0,0,0]),23],[new p([8193,3512,0,0,0,0,0,0]),32]]},p.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},p.prototype.kind=function(){return"ipv6"},p.prototype.match=function(v,A){let C;if(A===void 0&&(C=v,v=C[0],A=C[1]),v.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return m(this.parts,v.parts,16,A)},p.prototype.prefixLengthFromSubnetMask=function(){let v=0,A=!1,C={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},E,O;for(let L=7;L>=0;L-=1)if(E=this.parts[L],E in C){if(O=C[E],A&&O!==0)return null;O!==16&&(A=!0),v+=O}else return null;return 128-v},p.prototype.range=function(){return I.subnetMatch(this,this.SpecialRanges)},p.prototype.toByteArray=function(){let v,A=[],C=this.parts;for(let E=0;E<C.length;E++)v=C[E],A.push(v>>8),A.push(v&255);return A},p.prototype.toFixedLengthString=function(){let v=(function(){let C=[];for(let E=0;E<this.parts.length;E++)C.push(x(this.parts[E].toString(16),4));return C}).call(this).join(":"),A="";return this.zoneId&&(A=`%${this.zoneId}`),v+A},p.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");let v=this.parts.slice(-2),A=v[0],C=v[1];return new I.IPv4([A>>8,A&255,C>>8,C&255])},p.prototype.toNormalizedString=function(){let v=(function(){let C=[];for(let E=0;E<this.parts.length;E++)C.push(this.parts[E].toString(16));return C}).call(this).join(":"),A="";return this.zoneId&&(A=`%${this.zoneId}`),v+A},p.prototype.toRFC5952String=function(){let v=/((^|:)(0(:|$)){2,})/g,A=this.toNormalizedString(),C=0,E=-1,O;for(;O=v.exec(A);)O[0].length>E&&(C=O.index,E=O[0].length);return E<0?A:`${A.substring(0,C)}::${A.substring(C+E)}`},p.prototype.toString=function(){return this.toRFC5952String()},p})(),I.IPv6.broadcastAddressFromCIDR=function(p){try{let v=this.parseCIDR(p),A=v[0].toByteArray(),C=this.subnetMaskFromPrefixLength(v[1]).toByteArray(),E=[],O=0;for(;O<16;)E.push(parseInt(A[O],10)|parseInt(C[O],10)^255),O++;return new this(E)}catch(v){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${v})`)}},I.IPv6.isIPv6=function(p){return this.parser(p)!==null},I.IPv6.isValid=function(p){if(typeof p=="string"&&p.indexOf(":")===-1)return!1;try{let v=this.parser(p);return new this(v.parts,v.zoneId),!0}catch{return!1}},I.IPv6.isValidCIDR=function(p){if(typeof p=="string"&&p.indexOf(":")===-1)return!1;try{return this.parseCIDR(p),!0}catch{return!1}},I.IPv6.networkAddressFromCIDR=function(p){let v,A,C,E,O;try{for(v=this.parseCIDR(p),C=v[0].toByteArray(),O=this.subnetMaskFromPrefixLength(v[1]).toByteArray(),E=[],A=0;A<16;)E.push(parseInt(C[A],10)&parseInt(O[A],10)),A++;return new this(E)}catch(L){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${L})`)}},I.IPv6.parse=function(p){let v=this.parser(p);if(v.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(v.parts,v.zoneId)},I.IPv6.parseCIDR=function(p){let v,A,C;if((A=p.match(/^(.+)\/(\d+)$/))&&(v=parseInt(A[2]),v>=0&&v<=128))return C=[this.parse(A[1]),v],Object.defineProperty(C,"toString",{value:s(function(){return this.join("/")},"value")}),C;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},I.IPv6.parser=function(p){let v,A,C,E,O,L;if(C=p.match(l.deprecatedTransitional))return this.parser(`::ffff:${C[1]}`);if(l.native.test(p))return d(p,8);if((C=p.match(l.transitional))&&(L=C[6]||"",v=C[1],C[1].endsWith("::")||(v=v.slice(0,-1)),v=d(v+L,6),v.parts)){for(O=[parseInt(C[2]),parseInt(C[3]),parseInt(C[4]),parseInt(C[5])],A=0;A<O.length;A++)if(E=O[A],!(0<=E&&E<=255))return null;return v.parts.push(O[0]<<8|O[1]),v.parts.push(O[2]<<8|O[3]),{parts:v.parts,zoneId:v.zoneId}}return null},I.IPv6.subnetMaskFromPrefixLength=function(p){if(p=parseInt(p),p<0||p>128)throw new Error("ipaddr: invalid IPv6 prefix length");let v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],A=0,C=Math.floor(p/8);for(;A<C;)v[A]=255,A++;return C<16&&(v[C]=Math.pow(2,p%8)-1<<8-p%8),new this(v)},I.fromByteArray=function(p){let v=p.length;if(v===4)return new I.IPv4(p);if(v===16)return new I.IPv6(p);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},I.isValid=function(p){return I.IPv6.isValid(p)||I.IPv4.isValid(p)},I.isValidCIDR=function(p){return I.IPv6.isValidCIDR(p)||I.IPv4.isValidCIDR(p)},I.parse=function(p){if(I.IPv6.isValid(p))return I.IPv6.parse(p);if(I.IPv4.isValid(p))return I.IPv4.parse(p);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},I.parseCIDR=function(p){try{return I.IPv6.parseCIDR(p)}catch{try{return I.IPv4.parseCIDR(p)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},I.process=function(p){let v=this.parse(p);return v.kind()==="ipv6"&&v.isIPv4MappedAddress()?v.toIPv4Address():v},I.subnetMatch=function(p,v,A){let C,E,O,L;A==null&&(A="unicast");for(E in v)if(Object.prototype.hasOwnProperty.call(v,E)){for(O=v[E],O[0]&&!(O[0]instanceof Array)&&(O=[O]),C=0;C<O.length;C++)if(L=O[C],p.kind()===L[0].kind()&&p.match.apply(p,L))return E}return A},typeof Ns<"u"&&Ns.exports?Ns.exports=I:e.ipaddr=I})(Ah)});var F_=j((dq,L_)=>{var U_=require("stream").Stream,eC=require("util");L_.exports=We;function We(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}s(We,"DelayedStream");eC.inherits(We,U_);We.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var o=e.emit;return e.emit=function(){return r._handleEmit(arguments),o.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(We.prototype,"readable",{configurable:!0,enumerable:!0,get:s(function(){return this.source.readable},"get")});We.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};We.prototype.resume=function(){this._released||this.release(),this.source.resume()};We.prototype.pause=function(){this.source.pause()};We.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};We.prototype.pipe=function(){var e=U_.prototype.pipe.apply(this,arguments);return this.resume(),e};We.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};We.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var V_=j((pq,Z_)=>{var tC=require("util"),q_=require("stream").Stream,j_=F_();Z_.exports=pe;function pe(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}s(pe,"CombinedStream");tC.inherits(pe,q_);pe.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};pe.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};pe.prototype.append=function(e){var t=pe.isStreamLike(e);if(t){if(!(e instanceof j_)){var r=j_.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};pe.prototype.pipe=function(e,t){return q_.prototype.pipe.call(this,e,t),this.resume(),e};pe.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};pe.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var n=pe.isStreamLike(r);n&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};pe.prototype._pipeNext=function(e){this._currentStream=e;var t=pe.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};pe.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};pe.prototype.write=function(e){this.emit("data",e)};pe.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};pe.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};pe.prototype.end=function(){this._reset(),this.emit("end")};pe.prototype.destroy=function(){this._reset(),this.emit("close")};pe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};pe.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};pe.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};pe.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var G_=j((fq,H_)=>{"use strict";H_.exports={"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dat"]},"application/msword":{source:"iana",extensions:["doc"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",extensions:["docx"]},"application/vnd.ms-excel":{source:"iana",extensions:["xls"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",extensions:["xlsx"]},"application/vnd.ms-powerpoint":{source:"iana",extensions:["ppt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",extensions:["pptx"]},"application/csv":{compressible:!0,extensions:["csv"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"text/plain":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["txt","text","log"]},"text/html":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["html","htm"]},"text/css":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["css"]},"text/csv":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["csv"]},"text/markdown":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["md","markdown"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/webp":{source:"apache",compressible:!1,extensions:["webp"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tiff","tif"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/heic":{source:"iana",compressible:!1,extensions:["heic"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mp3","mpga"]},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/ogg":{source:"iana",compressible:!1,extensions:["ogg","oga"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","m4v"]},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg"]},"video/webm":{source:"iana",compressible:!1,extensions:["webm"]},"video/quicktime":{source:"iana",compressible:!1,extensions:["mov","qt"]},"video/x-msvideo":{source:"iana",compressible:!1,extensions:["avi"]},"font/woff":{source:"iana",compressible:!1,extensions:["woff"]},"font/woff2":{source:"iana",compressible:!1,extensions:["woff2"]},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"multipart/form-data":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/ics":{compressible:!0,extensions:["ics"]},"text/calendar":{source:"iana",compressible:!0,extensions:["ics","ifb"]},"application/x-ndjson":{compressible:!0,extensions:["ndjson"]}}});var J_=j(Ne=>{"use strict";var Fs=G_(),oC=require("path").extname,W_=/^\s*([^;\s]*)(?:;|\s|$)/,rC=/^text\//i;Ne.charset=K_;Ne.charsets={lookup:K_};Ne.contentType=nC;Ne.extension=aC;Ne.extensions=Object.create(null);Ne.lookup=iC;Ne.types=Object.create(null);sC(Ne.extensions,Ne.types);function K_(e){if(!e||typeof e!="string")return!1;var t=W_.exec(e),r=t&&Fs[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&rC.test(t[1])?"UTF-8":!1}s(K_,"charset");function nC(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Ne.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=Ne.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}s(nC,"contentType");function aC(e){if(!e||typeof e!="string")return!1;var t=W_.exec(e),r=t&&Ne.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}s(aC,"extension");function iC(e){if(!e||typeof e!="string")return!1;var t=oC("x."+e).toLowerCase().substr(1);return t&&Ne.types[t]||!1}s(iC,"lookup");function sC(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Fs).forEach(s(function(o){var a=Fs[o],i=a.extensions;if(!(!i||!i.length)){e[o]=i;for(var l=0;l<i.length;l++){var d=i[l];if(t[d]){var m=r.indexOf(Fs[t[d]].source),b=r.indexOf(a.source);if(t[d]!=="application/octet-stream"&&(m>b||m===b&&t[d].substr(0,12)==="application/"))continue}t[d]=o}}},"forEachMimeType"))}s(sC,"populateMaps")});var Y_=j((gq,X_)=>{X_.exports=lC;function lC(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}s(lC,"defer")});var Jm=j((kq,eg)=>{var Q_=Y_();eg.exports=cC;function cC(e){var t=!1;return Q_(function(){t=!0}),s(function(n,o){t?e(n,o):Q_(s(function(){e(n,o)},"nextTick_callback"))},"async_callback")}s(cC,"async")});var Xm=j((Iq,tg)=>{tg.exports=uC;function uC(e){Object.keys(e.jobs).forEach(dC.bind(e)),e.jobs={}}s(uC,"abort");function dC(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}s(dC,"clean")});var Ym=j((zq,rg)=>{var og=Jm(),mC=Xm();rg.exports=pC;function pC(e,t,r,n){var o=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[o]=yC(t,o,e[o],function(a,i){o in r.jobs&&(delete r.jobs[o],a?mC(r):r.results[o]=i,n(a,r.results))})}s(pC,"iterate");function yC(e,t,r,n){var o;return e.length==2?o=e(r,og(n)):o=e(r,t,og(n)),o}s(yC,"runJob")});var Qm=j((Aq,ng)=>{ng.exports=fC;function fC(e,t){var r=!Array.isArray(e),n={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&n.keyedList.sort(r?t:function(o,a){return t(e[o],e[a])}),n}s(fC,"state")});var ep=j((Tq,ag)=>{var hC=Xm(),_C=Jm();ag.exports=gC;function gC(e){Object.keys(this.jobs).length&&(this.index=this.size,hC(this),_C(e)(null,this.results))}s(gC,"terminator")});var sg=j((Eq,ig)=>{var bC=Ym(),kC=Qm(),vC=ep();ig.exports=IC;function IC(e,t,r){for(var n=kC(e);n.index<(n.keyedList||e).length;)bC(e,t,n,function(o,a){if(o){r(o,a);return}if(Object.keys(n.jobs).length===0){r(null,n.results);return}}),n.index++;return vC.bind(n,r)}s(IC,"parallel")});var tp=j((Oq,js)=>{var lg=Ym(),PC=Qm(),zC=ep();js.exports=xC;js.exports.ascending=cg;js.exports.descending=AC;function xC(e,t,r,n){var o=PC(e,r);return lg(e,t,o,s(function a(i,l){if(i){n(i,l);return}if(o.index++,o.index<(o.keyedList||e).length){lg(e,t,o,a);return}n(null,o.results)},"iteratorHandler")),zC.bind(o,n)}s(xC,"serialOrdered");function cg(e,t){return e<t?-1:e>t?1:0}s(cg,"ascending");function AC(e,t){return-1*cg(e,t)}s(AC,"descending")});var dg=j((wq,ug)=>{var SC=tp();ug.exports=TC;function TC(e,t,r){return SC(e,t,null,r)}s(TC,"serial")});var pg=j(($q,mg)=>{mg.exports={parallel:sg(),serial:dg(),serialOrdered:tp()}});var op=j((Bq,yg)=>{"use strict";yg.exports=Object});var hg=j((Mq,fg)=>{"use strict";fg.exports=Error});var gg=j((Uq,_g)=>{"use strict";_g.exports=EvalError});var kg=j((Lq,bg)=>{"use strict";bg.exports=RangeError});var Ig=j((Fq,vg)=>{"use strict";vg.exports=ReferenceError});var zg=j((jq,Pg)=>{"use strict";Pg.exports=SyntaxError});var qs=j((qq,xg)=>{"use strict";xg.exports=TypeError});var Sg=j((Zq,Ag)=>{"use strict";Ag.exports=URIError});var Cg=j((Vq,Tg)=>{"use strict";Tg.exports=Math.abs});var Dg=j((Hq,Eg)=>{"use strict";Eg.exports=Math.floor});var Ng=j((Gq,Og)=>{"use strict";Og.exports=Math.max});var Rg=j((Wq,wg)=>{"use strict";wg.exports=Math.min});var Bg=j((Kq,$g)=>{"use strict";$g.exports=Math.pow});var Ug=j((Jq,Mg)=>{"use strict";Mg.exports=Math.round});var Fg=j((Xq,Lg)=>{"use strict";Lg.exports=Number.isNaN||s(function(t){return t!==t},"isNaN")});var qg=j((Qq,jg)=>{"use strict";var CC=Fg();jg.exports=s(function(t){return CC(t)||t===0?t:t<0?-1:1},"sign")});var Vg=j((tZ,Zg)=>{"use strict";Zg.exports=Object.getOwnPropertyDescriptor});var rp=j((oZ,Hg)=>{"use strict";var Zs=Vg();if(Zs)try{Zs([],"length")}catch{Zs=null}Hg.exports=Zs});var Wg=j((rZ,Gg)=>{"use strict";var Vs=Object.defineProperty||!1;if(Vs)try{Vs({},"a",{value:1})}catch{Vs=!1}Gg.exports=Vs});var np=j((nZ,Kg)=>{"use strict";Kg.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,r);if(l.value!==o||l.enumerable!==!0)return!1}return!0},"hasSymbols")});var Yg=j((iZ,Xg)=>{"use strict";var Jg=typeof Symbol<"u"&&Symbol,EC=np();Xg.exports=s(function(){return typeof Jg!="function"||typeof Symbol!="function"||typeof Jg("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:EC()},"hasNativeSymbols")});var ap=j((lZ,Qg)=>{"use strict";Qg.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ip=j((cZ,eb)=>{"use strict";var DC=op();eb.exports=DC.getPrototypeOf||null});var rb=j((uZ,ob)=>{"use strict";var OC="Function.prototype.bind called on incompatible ",NC=Object.prototype.toString,wC=Math.max,RC="[object Function]",tb=s(function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var a=0;a<r.length;a+=1)n[a+t.length]=r[a];return n},"concatty"),$C=s(function(t,r){for(var n=[],o=r||0,a=0;o<t.length;o+=1,a+=1)n[a]=t[o];return n},"slicy"),BC=s(function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},"joiny");ob.exports=s(function(t){var r=this;if(typeof r!="function"||NC.apply(r)!==RC)throw new TypeError(OC+r);for(var n=$C(arguments,1),o,a=s(function(){if(this instanceof o){var b=r.apply(this,tb(n,arguments));return Object(b)===b?b:this}return r.apply(t,tb(n,arguments))},"binder"),i=wC(0,r.length-n.length),l=[],d=0;d<i;d++)l[d]="$"+d;if(o=Function("binder","return function ("+BC(l,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var m=s(function(){},"Empty");m.prototype=r.prototype,o.prototype=new m,m.prototype=null}return o},"bind")});var Mo=j((mZ,nb)=>{"use strict";var MC=rb();nb.exports=Function.prototype.bind||MC});var Hs=j((pZ,ab)=>{"use strict";ab.exports=Function.prototype.call});var sp=j((yZ,ib)=>{"use strict";ib.exports=Function.prototype.apply});var lb=j((fZ,sb)=>{"use strict";sb.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var ub=j((hZ,cb)=>{"use strict";var UC=Mo(),LC=sp(),FC=Hs(),jC=lb();cb.exports=jC||UC.call(FC,LC)});var mb=j((_Z,db)=>{"use strict";var qC=Mo(),ZC=qs(),VC=Hs(),HC=ub();db.exports=s(function(t){if(t.length<1||typeof t[0]!="function")throw new ZC("a function is required");return HC(qC,VC,t)},"callBindBasic")});var gb=j((bZ,_b)=>{"use strict";var GC=mb(),pb=rp(),fb;try{fb=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var lp=!!fb&&pb&&pb(Object.prototype,"__proto__"),hb=Object,yb=hb.getPrototypeOf;_b.exports=lp&&typeof lp.get=="function"?GC([lp.get]):typeof yb=="function"?s(function(t){return yb(t==null?t:hb(t))},"getDunder"):!1});var Pb=j((vZ,Ib)=>{"use strict";var bb=ap(),kb=ip(),vb=gb();Ib.exports=bb?s(function(t){return bb(t)},"getProto"):kb?s(function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return kb(t)},"getProto"):vb?s(function(t){return vb(t)},"getProto"):null});var cp=j((PZ,zb)=>{"use strict";var WC=Function.prototype.call,KC=Object.prototype.hasOwnProperty,JC=Mo();zb.exports=JC.call(WC,KC)});var Db=j((zZ,Eb)=>{"use strict";var ee,XC=op(),YC=hg(),QC=gg(),eE=kg(),tE=Ig(),jo=zg(),Fo=qs(),oE=Sg(),rE=Cg(),nE=Dg(),aE=Ng(),iE=Rg(),sE=Bg(),lE=Ug(),cE=qg(),Tb=Function,up=s(function(e){try{return Tb('"use strict"; return ('+e+").constructor;")()}catch{}},"getEvalledConstructor"),ea=rp(),uE=Wg(),dp=s(function(){throw new Fo},"throwTypeError"),dE=ea?(function(){try{return arguments.callee,dp}catch{try{return ea(arguments,"callee").get}catch{return dp}}})():dp,Uo=Yg()(),ve=Pb(),mE=ip(),pE=ap(),Cb=sp(),ta=Hs(),Lo={},yE=typeof Uint8Array>"u"||!ve?ee:ve(Uint8Array),to={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ee:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ee:ArrayBuffer,"%ArrayIteratorPrototype%":Uo&&ve?ve([][Symbol.iterator]()):ee,"%AsyncFromSyncIteratorPrototype%":ee,"%AsyncFunction%":Lo,"%AsyncGenerator%":Lo,"%AsyncGeneratorFunction%":Lo,"%AsyncIteratorPrototype%":Lo,"%Atomics%":typeof Atomics>"u"?ee:Atomics,"%BigInt%":typeof BigInt>"u"?ee:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ee:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ee:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ee:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":YC,"%eval%":eval,"%EvalError%":QC,"%Float16Array%":typeof Float16Array>"u"?ee:Float16Array,"%Float32Array%":typeof Float32Array>"u"?ee:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ee:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ee:FinalizationRegistry,"%Function%":Tb,"%GeneratorFunction%":Lo,"%Int8Array%":typeof Int8Array>"u"?ee:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ee:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ee:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Uo&&ve?ve(ve([][Symbol.iterator]())):ee,"%JSON%":typeof JSON=="object"?JSON:ee,"%Map%":typeof Map>"u"?ee:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Uo||!ve?ee:ve(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":XC,"%Object.getOwnPropertyDescriptor%":ea,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ee:Promise,"%Proxy%":typeof Proxy>"u"?ee:Proxy,"%RangeError%":eE,"%ReferenceError%":tE,"%Reflect%":typeof Reflect>"u"?ee:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ee:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Uo||!ve?ee:ve(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ee:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Uo&&ve?ve(""[Symbol.iterator]()):ee,"%Symbol%":Uo?Symbol:ee,"%SyntaxError%":jo,"%ThrowTypeError%":dE,"%TypedArray%":yE,"%TypeError%":Fo,"%Uint8Array%":typeof Uint8Array>"u"?ee:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ee:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ee:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ee:Uint32Array,"%URIError%":oE,"%WeakMap%":typeof WeakMap>"u"?ee:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ee:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ee:WeakSet,"%Function.prototype.call%":ta,"%Function.prototype.apply%":Cb,"%Object.defineProperty%":uE,"%Object.getPrototypeOf%":mE,"%Math.abs%":rE,"%Math.floor%":nE,"%Math.max%":aE,"%Math.min%":iE,"%Math.pow%":sE,"%Math.round%":lE,"%Math.sign%":cE,"%Reflect.getPrototypeOf%":pE};if(ve)try{null.error}catch(e){xb=ve(ve(e)),to["%Error.prototype%"]=xb}var xb,fE=s(function e(t){var r;if(t==="%AsyncFunction%")r=up("async function () {}");else if(t==="%GeneratorFunction%")r=up("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=up("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&ve&&(r=ve(o.prototype))}return to[t]=r,r},"doEval"),Ab={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},oa=Mo(),Gs=cp(),hE=oa.call(ta,Array.prototype.concat),_E=oa.call(Cb,Array.prototype.splice),Sb=oa.call(ta,String.prototype.replace),Ws=oa.call(ta,String.prototype.slice),gE=oa.call(ta,RegExp.prototype.exec),bE=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kE=/\\(\\)?/g,vE=s(function(t){var r=Ws(t,0,1),n=Ws(t,-1);if(r==="%"&&n!=="%")throw new jo("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new jo("invalid intrinsic syntax, expected opening `%`");var o=[];return Sb(t,bE,function(a,i,l,d){o[o.length]=l?Sb(d,kE,"$1"):i||a}),o},"stringToPath"),IE=s(function(t,r){var n=t,o;if(Gs(Ab,n)&&(o=Ab[n],n="%"+o[0]+"%"),Gs(to,n)){var a=to[n];if(a===Lo&&(a=fE(n)),typeof a>"u"&&!r)throw new Fo("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new jo("intrinsic "+t+" does not exist!")},"getBaseIntrinsic");Eb.exports=s(function(t,r){if(typeof t!="string"||t.length===0)throw new Fo("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Fo('"allowMissing" argument must be a boolean');if(gE(/^%?[^%]*%?$/,t)===null)throw new jo("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=vE(t),o=n.length>0?n[0]:"",a=IE("%"+o+"%",r),i=a.name,l=a.value,d=!1,m=a.alias;m&&(o=m[0],_E(n,hE([0,1],m)));for(var b=1,x=!0;b<n.length;b+=1){var I=n[b],p=Ws(I,0,1),v=Ws(I,-1);if((p==='"'||p==="'"||p==="`"||v==='"'||v==="'"||v==="`")&&p!==v)throw new jo("property names with quotes must have matching quotes");if((I==="constructor"||!x)&&(d=!0),o+="."+I,i="%"+o+"%",Gs(to,i))l=to[i];else if(l!=null){if(!(I in l)){if(!r)throw new Fo("base intrinsic for "+t+" exists, but the property is not available.");return}if(ea&&b+1>=n.length){var A=ea(l,I);x=!!A,x&&"get"in A&&!("originalValue"in A.get)?l=A.get:l=l[I]}else x=Gs(l,I),l=l[I];x&&!d&&(to[i]=l)}}return l},"GetIntrinsic")});var Nb=j((AZ,Ob)=>{"use strict";var PE=np();Ob.exports=s(function(){return PE()&&!!Symbol.toStringTag},"hasToStringTagShams")});var $b=j((TZ,Rb)=>{"use strict";var zE=Db(),wb=zE("%Object.defineProperty%",!0),xE=Nb()(),AE=cp(),SE=qs(),Ks=xE?Symbol.toStringTag:null;Rb.exports=s(function(t,r){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,o=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!="boolean"||typeof o<"u"&&typeof o!="boolean")throw new SE("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Ks&&(n||!AE(t,Ks))&&(wb?wb(t,Ks,{configurable:!o,enumerable:!1,value:r,writable:!1}):t[Ks]=r)},"setToStringTag")});var Mb=j((EZ,Bb)=>{"use strict";var TE=Function.prototype.call,CE=Object.prototype.hasOwnProperty,EE=Mo();Bb.exports=EE.call(TE,CE)});var Lb=j((DZ,Ub)=>{"use strict";Ub.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var qb=j((OZ,jb)=>{"use strict";var fp=V_(),DE=require("util"),mp=require("path"),OE=require("http"),NE=require("https"),wE=require("url").parse,RE=require("fs"),$E=require("stream").Stream,BE=require("crypto"),pp=J_(),ME=pg(),UE=$b(),Ct=Mb(),yp=Lb();function Fb(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}s(Fb,"escapeHeaderParam");function re(e){if(!(this instanceof re))return new re(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],fp.call(this),e=e||{};for(var t in e)this[t]=e[t]}s(re,"FormData");DE.inherits(re,fp);re.LINE_BREAK=`\r
|
|
2
|
+
`;re.DEFAULT_CONTENT_TYPE="application/octet-stream";re.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var n=fp.prototype.append.bind(this);if((typeof t=="number"||t==null)&&(t=String(t)),Array.isArray(t)){this._error(new Error("Arrays are not supported."));return}var o=this._multiPartHeader(e,t,r),a=this._multiPartFooter();n(o),n(t),n(a),this._trackLength(o,t,r)};re.prototype._trackLength=function(e,t,r){var n=0;r.knownLength!=null?n+=Number(r.knownLength):Buffer.isBuffer(t)?n=t.length:typeof t=="string"&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+re.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&Ct(t,"httpVersion"))&&!(t instanceof $E))&&(r.knownLength||this._valuesToMeasure.push(t))};re.prototype._lengthRetriever=function(e,t){Ct(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):RE.stat(e.path,function(r,n){if(r){t(r);return}var o=n.size-(e.start?e.start:0);t(null,o)}):Ct(e,"httpVersion")?t(null,Number(e.headers["content-length"])):Ct(e,"httpModule")?(e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume()):t("Unknown stream")};re.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var n=this._getContentDisposition(t,r),o=this._getContentType(t,r),a="",i={"Content-Disposition":["form-data",'name="'+Fb(e)+'"'].concat(n||[]),"Content-Type":[].concat(o||[])};typeof r.header=="object"&&yp(i,r.header);var l;for(var d in i)if(Ct(i,d)){if(l=i[d],l==null)continue;Array.isArray(l)||(l=[l]),l.length&&(a+=d+": "+l.join("; ")+re.LINE_BREAK)}return"--"+this.getBoundary()+re.LINE_BREAK+a+re.LINE_BREAK};re.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath=="string"?r=mp.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?r=mp.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&Ct(e,"httpVersion")&&(r=mp.basename(e.client._httpMessage.path||"")),r)return'filename="'+Fb(r)+'"'};re.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e&&e.name&&(r=pp.lookup(e.name)),!r&&e&&e.path&&(r=pp.lookup(e.path)),!r&&e&&e.readable&&Ct(e,"httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=pp.lookup(t.filepath||t.filename)),!r&&e&&typeof e=="object"&&(r=re.DEFAULT_CONTENT_TYPE),r};re.prototype._multiPartFooter=function(){return function(e){var t=re.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};re.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+re.LINE_BREAK};re.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)Ct(e,t)&&(r[t.toLowerCase()]=e[t]);return r};re.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};re.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};re.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,n=this._streams.length;r<n;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(re.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};re.prototype._generateBoundary=function(){this._boundary="--------------------------"+BE.randomBytes(12).toString("hex")};re.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};re.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};re.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}ME.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(o){t+=o}),e(null,t)})};re.prototype.submit=function(e,t){var r,n,o={method:"post"};return typeof e=="string"?(e=wE(e),n=yp({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},o)):(n=yp(e,o),n.port||(n.port=n.protocol==="https:"?443:80)),n.headers=this.getHeaders(e.headers),n.protocol==="https:"?r=NE.request(n):r=OE.request(n),this.getLength(function(a,i){if(a&&a!=="Unknown stream"){this._error(a);return}if(i&&r.setHeader("Content-Length",i),this.pipe(r),t){var l,d=s(function(m,b){return r.removeListener("error",d),r.removeListener("response",l),t.call(this,m,b)},"callback");l=d.bind(this,null),r.on("error",d),r.on("response",l)}}.bind(this)),r};re.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};re.prototype.toString=function(){return"[object FormData]"};UE(re.prototype,"FormData");jb.exports=re});var bD={};Ue(bD,{zohoBooks:()=>gD});module.exports=ez(bD);var $e={};Ue($e,{$ZodAny:()=>hr,$ZodArray:()=>kr,$ZodAsyncError:()=>Ze,$ZodBase64:()=>Za,$ZodBase64URL:()=>Va,$ZodBigInt:()=>_o,$ZodBigIntFormat:()=>Ka,$ZodBoolean:()=>Rt,$ZodCIDRv4:()=>ja,$ZodCIDRv6:()=>qa,$ZodCUID:()=>wa,$ZodCUID2:()=>Ra,$ZodCatch:()=>di,$ZodCheck:()=>se,$ZodCheckBigIntFormat:()=>ec,$ZodCheckEndsWith:()=>mc,$ZodCheckGreaterThan:()=>Pa,$ZodCheckIncludes:()=>uc,$ZodCheckLengthEquals:()=>ic,$ZodCheckLessThan:()=>Ia,$ZodCheckLowerCase:()=>lc,$ZodCheckMaxLength:()=>nc,$ZodCheckMaxSize:()=>tc,$ZodCheckMimeType:()=>yc,$ZodCheckMinLength:()=>ac,$ZodCheckMinSize:()=>oc,$ZodCheckMultipleOf:()=>Yl,$ZodCheckNumberFormat:()=>Ql,$ZodCheckOverwrite:()=>fc,$ZodCheckProperty:()=>pc,$ZodCheckRegex:()=>sc,$ZodCheckSizeEquals:()=>rc,$ZodCheckStartsWith:()=>dc,$ZodCheckStringFormat:()=>fo,$ZodCheckUpperCase:()=>cc,$ZodCodec:()=>bo,$ZodCustom:()=>Cr,$ZodCustomStringFormat:()=>Wa,$ZodDate:()=>br,$ZodDefault:()=>si,$ZodDiscriminatedUnion:()=>vr,$ZodE164:()=>Ha,$ZodEmail:()=>Da,$ZodEmoji:()=>Oa,$ZodEncodeError:()=>mt,$ZodEnum:()=>zr,$ZodError:()=>ir,$ZodExactOptional:()=>ii,$ZodFile:()=>ai,$ZodFunction:()=>fi,$ZodGUID:()=>Ca,$ZodIPv4:()=>Ua,$ZodIPv6:()=>La,$ZodISODate:()=>mr,$ZodISODateTime:()=>dr,$ZodISODuration:()=>yr,$ZodISOTime:()=>pr,$ZodIntersection:()=>oi,$ZodJWT:()=>Ga,$ZodKSUID:()=>Ma,$ZodLazy:()=>_i,$ZodLiteral:()=>xr,$ZodMAC:()=>Fa,$ZodMap:()=>ri,$ZodNaN:()=>mi,$ZodNanoID:()=>Na,$ZodNever:()=>Qa,$ZodNonOptional:()=>ci,$ZodNull:()=>Ya,$ZodNullable:()=>Sr,$ZodNumber:()=>ho,$ZodNumberFormat:()=>fr,$ZodObject:()=>ei,$ZodObjectJIT:()=>bc,$ZodOptional:()=>go,$ZodPipe:()=>Tr,$ZodPrefault:()=>li,$ZodPromise:()=>hi,$ZodReadonly:()=>pi,$ZodRealError:()=>Ce,$ZodRecord:()=>Pr,$ZodRegistry:()=>gi,$ZodSet:()=>ni,$ZodString:()=>tt,$ZodStringFormat:()=>ne,$ZodSuccess:()=>ui,$ZodSymbol:()=>Ja,$ZodTemplateLiteral:()=>yi,$ZodTransform:()=>Ar,$ZodTuple:()=>Ir,$ZodType:()=>H,$ZodULID:()=>$a,$ZodURL:()=>ur,$ZodUUID:()=>Ea,$ZodUndefined:()=>Xa,$ZodUnion:()=>$t,$ZodUnknown:()=>_r,$ZodVoid:()=>gr,$ZodXID:()=>Ba,$ZodXor:()=>ti,$brand:()=>Qo,$constructor:()=>k,$input:()=>ki,$output:()=>bi,Doc:()=>cr,JSONSchema:()=>by,JSONSchemaGenerator:()=>Zi,NEVER:()=>ia,TimePrecision:()=>Ii,_any:()=>yn,_array:()=>mu,_base64:()=>Qr,_base64url:()=>en,_bigint:()=>Si,_boolean:()=>dn,_catch:()=>iA,_check:()=>gy,_cidrv4:()=>Xr,_cidrv6:()=>Yr,_coercedBigint:()=>pn,_coercedBoolean:()=>mn,_coercedDate:()=>_n,_coercedNumber:()=>cn,_coercedString:()=>$r,_cuid:()=>Zr,_cuid2:()=>Vr,_custom:()=>Pn,_date:()=>wi,_decode:()=>pa,_decodeAsync:()=>fa,_default:()=>rA,_discriminatedUnion:()=>Vx,_e164:()=>tn,_email:()=>Br,_emoji:()=>jr,_encode:()=>ma,_encodeAsync:()=>ya,_endsWith:()=>jt,_enum:()=>Xx,_file:()=>$i,_float32:()=>Pi,_float64:()=>zi,_gt:()=>He,_gte:()=>he,_guid:()=>Io,_includes:()=>Lt,_int:()=>un,_int32:()=>xi,_int64:()=>Ti,_intersection:()=>Hx,_ipv4:()=>Kr,_ipv6:()=>Jr,_isoDate:()=>nn,_isoDateTime:()=>rn,_isoDuration:()=>sn,_isoTime:()=>an,_jwt:()=>on,_ksuid:()=>Wr,_lazy:()=>uA,_length:()=>bt,_literal:()=>Qx,_lowercase:()=>Mt,_lt:()=>Ve,_lte:()=>Ae,_mac:()=>vi,_map:()=>Kx,_max:()=>Ae,_maxLength:()=>gt,_maxSize:()=>rt,_mime:()=>qt,_min:()=>he,_minLength:()=>ye,_minSize:()=>Ge,_multipleOf:()=>ot,_nan:()=>Ri,_nanoid:()=>qr,_nativeEnum:()=>Yx,_negative:()=>bn,_never:()=>Ni,_nonnegative:()=>vn,_nonoptional:()=>nA,_nonpositive:()=>kn,_normalize:()=>Zt,_null:()=>Oi,_nullable:()=>oA,_number:()=>ln,_optional:()=>tA,_overwrite:()=>Fe,_parse:()=>lo,_parseAsync:()=>co,_pipe:()=>sA,_positive:()=>gn,_promise:()=>dA,_property:()=>In,_readonly:()=>lA,_record:()=>Wx,_refine:()=>zn,_regex:()=>Pe,_safeDecode:()=>_a,_safeDecodeAsync:()=>ba,_safeEncode:()=>ha,_safeEncodeAsync:()=>ga,_safeParse:()=>uo,_safeParseAsync:()=>po,_set:()=>Jx,_size:()=>_t,_slugify:()=>Po,_startsWith:()=>Ft,_string:()=>Rr,_stringFormat:()=>Wt,_stringbool:()=>Li,_success:()=>aA,_superRefine:()=>Bi,_symbol:()=>Ei,_templateLiteral:()=>cA,_toLowerCase:()=>Ht,_toUpperCase:()=>Gt,_transform:()=>eA,_trim:()=>Vt,_tuple:()=>Gx,_uint32:()=>Ai,_uint64:()=>Ci,_ulid:()=>Hr,_undefined:()=>Di,_union:()=>qx,_unknown:()=>fn,_uppercase:()=>Ut,_url:()=>Bt,_uuid:()=>Mr,_uuidv4:()=>Ur,_uuidv6:()=>Lr,_uuidv7:()=>Fr,_void:()=>hn,_xid:()=>Gr,_xor:()=>Zx,clone:()=>ge,config:()=>de,createStandardJSONSchemaMethod:()=>zo,createToJSONSchemaMethod:()=>pu,decode:()=>Up,decodeAsync:()=>Fp,describe:()=>Mi,encode:()=>Mp,encodeAsync:()=>Lp,extractDefs:()=>vt,finalize:()=>It,flattenError:()=>io,formatError:()=>so,globalConfig:()=>Yo,globalRegistry:()=>be,initializeContext:()=>kt,isValidBase64:()=>gc,isValidBase64URL:()=>cy,isValidJWT:()=>uy,locales:()=>vo,meta:()=>Ui,parse:()=>Ot,parseAsync:()=>Nt,prettifyError:()=>da,process:()=>ae,regexes:()=>Ee,registry:()=>wr,safeDecode:()=>qp,safeDecodeAsync:()=>Vp,safeEncode:()=>jp,safeEncodeAsync:()=>Zp,safeParse:()=>mo,safeParseAsync:()=>yo,toDotPath:()=>Bp,toJSONSchema:()=>xn,treeifyError:()=>ua,util:()=>$,version:()=>hc});var ia=Object.freeze({status:"aborted"});function k(e,t,r){function n(l,d){if(l._zod||Object.defineProperty(l,"_zod",{value:{def:d,constr:i,traits:new Set},enumerable:!1}),l._zod.traits.has(e))return;l._zod.traits.add(e),t(l,d);let m=i.prototype,b=Object.keys(m);for(let x=0;x<b.length;x++){let I=b[x];I in l||(l[I]=m[I].bind(l))}}s(n,"init");let o=r?.Parent??Object;class a extends o{static{s(this,"Definition")}}Object.defineProperty(a,"name",{value:e});function i(l){var d;let m=r?.Parent?new a:this;n(m,l),(d=m._zod).deferred??(d.deferred=[]);for(let b of m._zod.deferred)b();return m}return s(i,"_"),Object.defineProperty(i,"init",{value:n}),Object.defineProperty(i,Symbol.hasInstance,{value:s(l=>r?.Parent&&l instanceof r.Parent?!0:l?._zod?.traits?.has(e),"value")}),Object.defineProperty(i,"name",{value:e}),i}s(k,"$constructor");var Qo=Symbol("zod_brand"),Ze=class extends Error{static{s(this,"$ZodAsyncError")}constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},mt=class extends Error{static{s(this,"$ZodEncodeError")}constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},Yo={};function de(e){return e&&Object.assign(Yo,e),Yo}s(de,"config");var $={};Ue($,{BIGINT_FORMAT_RANGES:()=>Pl,Class:()=>hl,NUMBER_FORMAT_RANGES:()=>Il,aborted:()=>ht,allowsEval:()=>bl,assert:()=>az,assertEqual:()=>tz,assertIs:()=>rz,assertNever:()=>nz,assertNotEqual:()=>oz,assignProp:()=>yt,base64ToUint8Array:()=>wp,base64urlToUint8Array:()=>hz,cached:()=>no,captureStackTrace:()=>la,cleanEnum:()=>fz,cleanRegex:()=>or,clone:()=>ge,cloneDef:()=>sz,createTransparentProxy:()=>pz,defineLazy:()=>X,esc:()=>sa,escapeRegex:()=>Le,extend:()=>Ep,finalizeIssue:()=>Te,floatSafeRemainder:()=>_l,getElementAtPath:()=>lz,getEnumValues:()=>tr,getLengthableOrigin:()=>ar,getParsedType:()=>mz,getSizableOrigin:()=>nr,hexToUint8Array:()=>gz,isObject:()=>Dt,isPlainObject:()=>ft,issue:()=>ao,joinValues:()=>T,jsonStringifyReplacer:()=>ro,merge:()=>yz,mergeDefs:()=>et,normalizeParams:()=>N,nullish:()=>pt,numKeys:()=>dz,objectClone:()=>iz,omit:()=>Cp,optionalKeys:()=>vl,parsedType:()=>M,partial:()=>Op,pick:()=>Tp,prefixIssues:()=>Re,primitiveTypes:()=>kl,promiseAllObject:()=>cz,propertyKeyTypes:()=>rr,randomString:()=>uz,required:()=>Np,safeExtend:()=>Dp,shallowClone:()=>ca,slugify:()=>gl,stringifyPrimitive:()=>w,uint8ArrayToBase64:()=>Rp,uint8ArrayToBase64url:()=>_z,uint8ArrayToHex:()=>bz,unwrapMessage:()=>er});function tz(e){return e}s(tz,"assertEqual");function oz(e){return e}s(oz,"assertNotEqual");function rz(e){}s(rz,"assertIs");function nz(e){throw new Error("Unexpected value in exhaustive check")}s(nz,"assertNever");function az(e){}s(az,"assert");function tr(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}s(tr,"getEnumValues");function T(e,t="|"){return e.map(r=>w(r)).join(t)}s(T,"joinValues");function ro(e,t){return typeof t=="bigint"?t.toString():t}s(ro,"jsonStringifyReplacer");function no(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw new Error("cached value already set")}}}s(no,"cached");function pt(e){return e==null}s(pt,"nullish");function or(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}s(or,"cleanRegex");function _l(e,t){let r=(e.toString().split(".")[1]||"").length,n=t.toString(),o=(n.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(n)){let d=n.match(/\d?e-(\d?)/);d?.[1]&&(o=Number.parseInt(d[1]))}let a=r>o?r:o,i=Number.parseInt(e.toFixed(a).replace(".","")),l=Number.parseInt(t.toFixed(a).replace(".",""));return i%l/10**a}s(_l,"floatSafeRemainder");var Sp=Symbol("evaluating");function X(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==Sp)return n===void 0&&(n=Sp,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}s(X,"defineLazy");function iz(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}s(iz,"objectClone");function yt(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}s(yt,"assignProp");function et(...e){let t={};for(let r of e){let n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}s(et,"mergeDefs");function sz(e){return et(e._zod.def)}s(sz,"cloneDef");function lz(e,t){return t?t.reduce((r,n)=>r?.[n],e):e}s(lz,"getElementAtPath");function cz(e){let t=Object.keys(e),r=t.map(n=>e[n]);return Promise.all(r).then(n=>{let o={};for(let a=0;a<t.length;a++)o[t[a]]=n[a];return o})}s(cz,"promiseAllObject");function uz(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r}s(uz,"randomString");function sa(e){return JSON.stringify(e)}s(sa,"esc");function gl(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}s(gl,"slugify");var la="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Dt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}s(Dt,"isObject");var bl=no(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function ft(e){if(Dt(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(Dt(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}s(ft,"isPlainObject");function ca(e){return ft(e)?{...e}:Array.isArray(e)?[...e]:e}s(ca,"shallowClone");function dz(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}s(dz,"numKeys");var mz=s(e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},"getParsedType"),rr=new Set(["string","number","symbol"]),kl=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Le(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}s(Le,"escapeRegex");function ge(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}s(ge,"clone");function N(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:s(()=>t,"error")};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:s(()=>t.error,"error")}:t}s(N,"normalizeParams");function pz(e){let t;return new Proxy({},{get(r,n,o){return t??(t=e()),Reflect.get(t,n,o)},set(r,n,o,a){return t??(t=e()),Reflect.set(t,n,o,a)},has(r,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(r,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(r,n,o){return t??(t=e()),Reflect.defineProperty(t,n,o)}})}s(pz,"createTransparentProxy");function w(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}s(w,"stringifyPrimitive");function vl(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}s(vl,"optionalKeys");var Il={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Pl={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Tp(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let a=et(e._zod.def,{get shape(){let i={};for(let l in t){if(!(l in r.shape))throw new Error(`Unrecognized key: "${l}"`);t[l]&&(i[l]=r.shape[l])}return yt(this,"shape",i),i},checks:[]});return ge(e,a)}s(Tp,"pick");function Cp(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let a=et(e._zod.def,{get shape(){let i={...e._zod.def.shape};for(let l in t){if(!(l in r.shape))throw new Error(`Unrecognized key: "${l}"`);t[l]&&delete i[l]}return yt(this,"shape",i),i},checks:[]});return ge(e,a)}s(Cp,"omit");function Ep(e,t){if(!ft(t))throw new Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let a=e._zod.def.shape;for(let i in t)if(Object.getOwnPropertyDescriptor(a,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let o=et(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t};return yt(this,"shape",a),a}});return ge(e,o)}s(Ep,"extend");function Dp(e,t){if(!ft(t))throw new Error("Invalid input to safeExtend: expected a plain object");let r=et(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return yt(this,"shape",n),n}});return ge(e,r)}s(Dp,"safeExtend");function yz(e,t){let r=et(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return yt(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return ge(e,r)}s(yz,"merge");function Op(e,t,r){let o=t._zod.def.checks;if(o&&o.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let i=et(t._zod.def,{get shape(){let l=t._zod.def.shape,d={...l};if(r)for(let m in r){if(!(m in l))throw new Error(`Unrecognized key: "${m}"`);r[m]&&(d[m]=e?new e({type:"optional",innerType:l[m]}):l[m])}else for(let m in l)d[m]=e?new e({type:"optional",innerType:l[m]}):l[m];return yt(this,"shape",d),d},checks:[]});return ge(t,i)}s(Op,"partial");function Np(e,t,r){let n=et(t._zod.def,{get shape(){let o=t._zod.def.shape,a={...o};if(r)for(let i in r){if(!(i in a))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(a[i]=new e({type:"nonoptional",innerType:o[i]}))}else for(let i in o)a[i]=new e({type:"nonoptional",innerType:o[i]});return yt(this,"shape",a),a}});return ge(t,n)}s(Np,"required");function ht(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}s(ht,"aborted");function Re(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}s(Re,"prefixIssues");function er(e){return typeof e=="string"?e:e?.message}s(er,"unwrapMessage");function Te(e,t,r){let n={...e,path:e.path??[]};if(!e.message){let o=er(e.inst?._zod.def?.error?.(e))??er(t?.error?.(e))??er(r.customError?.(e))??er(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}s(Te,"finalizeIssue");function nr(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}s(nr,"getSizableOrigin");function ar(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}s(ar,"getLengthableOrigin");function M(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}s(M,"parsedType");function ao(...e){let[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}s(ao,"issue");function fz(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}s(fz,"cleanEnum");function wp(e){let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}s(wp,"base64ToUint8Array");function Rp(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}s(Rp,"uint8ArrayToBase64");function hz(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return wp(t+r)}s(hz,"base64urlToUint8Array");function _z(e){return Rp(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}s(_z,"uint8ArrayToBase64url");function gz(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let r=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)r[n/2]=Number.parseInt(t.slice(n,n+2),16);return r}s(gz,"hexToUint8Array");function bz(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}s(bz,"uint8ArrayToHex");var hl=class{static{s(this,"Class")}constructor(...t){}};var $p=s((e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,ro,2),Object.defineProperty(e,"toString",{value:s(()=>e.message,"value"),enumerable:!1})},"initializer"),ir=k("$ZodError",$p),Ce=k("$ZodError",$p,{Parent:Error});function io(e,t=r=>r.message){let r={},n=[];for(let o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}s(io,"flattenError");function so(e,t=r=>r.message){let r={_errors:[]},n=s(o=>{for(let a of o.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(i=>n({issues:i}));else if(a.code==="invalid_key")n({issues:a.issues});else if(a.code==="invalid_element")n({issues:a.issues});else if(a.path.length===0)r._errors.push(t(a));else{let i=r,l=0;for(;l<a.path.length;){let d=a.path[l];l===a.path.length-1?(i[d]=i[d]||{_errors:[]},i[d]._errors.push(t(a))):i[d]=i[d]||{_errors:[]},i=i[d],l++}}},"processError");return n(e),r}s(so,"formatError");function ua(e,t=r=>r.message){let r={errors:[]},n=s((o,a=[])=>{var i,l;for(let d of o.issues)if(d.code==="invalid_union"&&d.errors.length)d.errors.map(m=>n({issues:m},d.path));else if(d.code==="invalid_key")n({issues:d.issues},d.path);else if(d.code==="invalid_element")n({issues:d.issues},d.path);else{let m=[...a,...d.path];if(m.length===0){r.errors.push(t(d));continue}let b=r,x=0;for(;x<m.length;){let I=m[x],p=x===m.length-1;typeof I=="string"?(b.properties??(b.properties={}),(i=b.properties)[I]??(i[I]={errors:[]}),b=b.properties[I]):(b.items??(b.items=[]),(l=b.items)[I]??(l[I]={errors:[]}),b=b.items[I]),p&&b.errors.push(t(d)),x++}}},"processError");return n(e),r}s(ua,"treeifyError");function Bp(e){let t=[],r=e.map(n=>typeof n=="object"?n.key:n);for(let n of r)typeof n=="number"?t.push(`[${n}]`):typeof n=="symbol"?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}s(Bp,"toDotPath");function da(e){let t=[],r=[...e.issues].sort((n,o)=>(n.path??[]).length-(o.path??[]).length);for(let n of r)t.push(`\u2716 ${n.message}`),n.path?.length&&t.push(` \u2192 at ${Bp(n.path)}`);return t.join(`
|
|
3
|
+
`)}s(da,"prettifyError");var lo=s(e=>(t,r,n,o)=>{let a=n?Object.assign(n,{async:!1}):{async:!1},i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise)throw new Ze;if(i.issues.length){let l=new(o?.Err??e)(i.issues.map(d=>Te(d,a,de())));throw la(l,o?.callee),l}return i.value},"_parse"),Ot=lo(Ce),co=s(e=>async(t,r,n,o)=>{let a=n?Object.assign(n,{async:!0}):{async:!0},i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise&&(i=await i),i.issues.length){let l=new(o?.Err??e)(i.issues.map(d=>Te(d,a,de())));throw la(l,o?.callee),l}return i.value},"_parseAsync"),Nt=co(Ce),uo=s(e=>(t,r,n)=>{let o=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},o);if(a instanceof Promise)throw new Ze;return a.issues.length?{success:!1,error:new(e??ir)(a.issues.map(i=>Te(i,o,de())))}:{success:!0,data:a.value}},"_safeParse"),mo=uo(Ce),po=s(e=>async(t,r,n)=>{let o=n?Object.assign(n,{async:!0}):{async:!0},a=t._zod.run({value:r,issues:[]},o);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(i=>Te(i,o,de())))}:{success:!0,data:a.value}},"_safeParseAsync"),yo=po(Ce),ma=s(e=>(t,r,n)=>{let o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return lo(e)(t,r,o)},"_encode"),Mp=ma(Ce),pa=s(e=>(t,r,n)=>lo(e)(t,r,n),"_decode"),Up=pa(Ce),ya=s(e=>async(t,r,n)=>{let o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return co(e)(t,r,o)},"_encodeAsync"),Lp=ya(Ce),fa=s(e=>async(t,r,n)=>co(e)(t,r,n),"_decodeAsync"),Fp=fa(Ce),ha=s(e=>(t,r,n)=>{let o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return uo(e)(t,r,o)},"_safeEncode"),jp=ha(Ce),_a=s(e=>(t,r,n)=>uo(e)(t,r,n),"_safeDecode"),qp=_a(Ce),ga=s(e=>async(t,r,n)=>{let o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return po(e)(t,r,o)},"_safeEncodeAsync"),Zp=ga(Ce),ba=s(e=>async(t,r,n)=>po(e)(t,r,n),"_safeDecodeAsync"),Vp=ba(Ce);var Ee={};Ue(Ee,{base64:()=>Ul,base64url:()=>ka,bigint:()=>Vl,boolean:()=>Gl,browserEmail:()=>Tz,cidrv4:()=>Bl,cidrv6:()=>Ml,cuid:()=>zl,cuid2:()=>xl,date:()=>Fl,datetime:()=>ql,domain:()=>Dz,duration:()=>El,e164:()=>Ll,email:()=>Ol,emoji:()=>Nl,extendedDuration:()=>vz,guid:()=>Dl,hex:()=>Oz,hostname:()=>Ez,html5Email:()=>xz,idnEmail:()=>Sz,integer:()=>Hl,ipv4:()=>wl,ipv6:()=>Rl,ksuid:()=>Tl,lowercase:()=>Jl,mac:()=>$l,md5_base64:()=>wz,md5_base64url:()=>Rz,md5_hex:()=>Nz,nanoid:()=>Cl,null:()=>Wl,number:()=>va,rfc5322Email:()=>Az,sha1_base64:()=>Bz,sha1_base64url:()=>Mz,sha1_hex:()=>$z,sha256_base64:()=>Lz,sha256_base64url:()=>Fz,sha256_hex:()=>Uz,sha384_base64:()=>qz,sha384_base64url:()=>Zz,sha384_hex:()=>jz,sha512_base64:()=>Hz,sha512_base64url:()=>Gz,sha512_hex:()=>Vz,string:()=>Zl,time:()=>jl,ulid:()=>Al,undefined:()=>Kl,unicodeEmail:()=>Hp,uppercase:()=>Xl,uuid:()=>wt,uuid4:()=>Iz,uuid6:()=>Pz,uuid7:()=>zz,xid:()=>Sl});var zl=/^[cC][^\s-]{8,}$/,xl=/^[0-9a-z]+$/,Al=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Sl=/^[0-9a-vA-V]{20}$/,Tl=/^[A-Za-z0-9]{27}$/,Cl=/^[a-zA-Z0-9_-]{21}$/,El=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,vz=/^[-+]?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)?)??$/,Dl=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,wt=s(e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,"uuid"),Iz=wt(4),Pz=wt(6),zz=wt(7),Ol=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,xz=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Az=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Hp=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Sz=Hp,Tz=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Cz="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Nl(){return new RegExp(Cz,"u")}s(Nl,"emoji");var wl=/^(?:(?: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])$/,Rl=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,$l=s(e=>{let t=Le(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},"mac"),Bl=/^((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])\/([0-9]|[1-2][0-9]|3[0-2])$/,Ml=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ul=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ka=/^[A-Za-z0-9_-]*$/,Ez=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Dz=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Ll=/^\+[1-9]\d{6,14}$/,Gp="(?:(?:\\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])))",Fl=new RegExp(`^${Gp}$`);function Wp(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}s(Wp,"timeSource");function jl(e){return new RegExp(`^${Wp(e)}$`)}s(jl,"time");function ql(e){let t=Wp({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${t}(?:${r.join("|")})`;return new RegExp(`^${Gp}T(?:${n})$`)}s(ql,"datetime");var Zl=s(e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},"string"),Vl=/^-?\d+n?$/,Hl=/^-?\d+$/,va=/^-?\d+(?:\.\d+)?$/,Gl=/^(?:true|false)$/i,Wl=/^null$/i;var Kl=/^undefined$/i;var Jl=/^[^A-Z]*$/,Xl=/^[^a-z]*$/,Oz=/^[0-9a-fA-F]*$/;function sr(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}s(sr,"fixedBase64");function lr(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}s(lr,"fixedBase64url");var Nz=/^[0-9a-fA-F]{32}$/,wz=sr(22,"=="),Rz=lr(22),$z=/^[0-9a-fA-F]{40}$/,Bz=sr(27,"="),Mz=lr(27),Uz=/^[0-9a-fA-F]{64}$/,Lz=sr(43,"="),Fz=lr(43),jz=/^[0-9a-fA-F]{96}$/,qz=sr(64,""),Zz=lr(64),Vz=/^[0-9a-fA-F]{128}$/,Hz=sr(86,"=="),Gz=lr(86);var se=k("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),Jp={number:"number",bigint:"bigint",object:"date"},Ia=k("$ZodCheckLessThan",(e,t)=>{se.init(e,t);let r=Jp[typeof t.value];e._zod.onattach.push(n=>{let o=n._zod.bag,a=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<a&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Pa=k("$ZodCheckGreaterThan",(e,t)=>{se.init(e,t);let r=Jp[typeof t.value];e._zod.onattach.push(n=>{let o=n._zod.bag,a=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>a&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Yl=k("$ZodCheckMultipleOf",(e,t)=>{se.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):_l(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),Ql=k("$ZodCheckNumberFormat",(e,t)=>{se.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[o,a]=Il[t.format];e._zod.onattach.push(i=>{let l=i._zod.bag;l.format=t.format,l.minimum=o,l.maximum=a,r&&(l.pattern=Hl)}),e._zod.check=i=>{let l=i.value;if(r){if(!Number.isInteger(l)){i.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?i.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):i.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}l<o&&i.issues.push({origin:"number",input:l,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),l>a&&i.issues.push({origin:"number",input:l,code:"too_big",maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),ec=k("$ZodCheckBigIntFormat",(e,t)=>{se.init(e,t);let[r,n]=Pl[t.format];e._zod.onattach.push(o=>{let a=o._zod.bag;a.format=t.format,a.minimum=r,a.maximum=n}),e._zod.check=o=>{let a=o.value;a<r&&o.issues.push({origin:"bigint",input:a,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),a>n&&o.issues.push({origin:"bigint",input:a,code:"too_big",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}}),tc=k("$ZodCheckMaxSize",(e,t)=>{var r;se.init(e,t),(r=e._zod.def).when??(r.when=n=>{let o=n.value;return!pt(o)&&o.size!==void 0}),e._zod.onattach.push(n=>{let o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let o=n.value;o.size<=t.maximum||n.issues.push({origin:nr(o),code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),oc=k("$ZodCheckMinSize",(e,t)=>{var r;se.init(e,t),(r=e._zod.def).when??(r.when=n=>{let o=n.value;return!pt(o)&&o.size!==void 0}),e._zod.onattach.push(n=>{let o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let o=n.value;o.size>=t.minimum||n.issues.push({origin:nr(o),code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),rc=k("$ZodCheckSizeEquals",(e,t)=>{var r;se.init(e,t),(r=e._zod.def).when??(r.when=n=>{let o=n.value;return!pt(o)&&o.size!==void 0}),e._zod.onattach.push(n=>{let o=n._zod.bag;o.minimum=t.size,o.maximum=t.size,o.size=t.size}),e._zod.check=n=>{let o=n.value,a=o.size;if(a===t.size)return;let i=a>t.size;n.issues.push({origin:nr(o),...i?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),nc=k("$ZodCheckMaxLength",(e,t)=>{var r;se.init(e,t),(r=e._zod.def).when??(r.when=n=>{let o=n.value;return!pt(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{let o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let o=n.value;if(o.length<=t.maximum)return;let i=ar(o);n.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ac=k("$ZodCheckMinLength",(e,t)=>{var r;se.init(e,t),(r=e._zod.def).when??(r.when=n=>{let o=n.value;return!pt(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{let o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let o=n.value;if(o.length>=t.minimum)return;let i=ar(o);n.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ic=k("$ZodCheckLengthEquals",(e,t)=>{var r;se.init(e,t),(r=e._zod.def).when??(r.when=n=>{let o=n.value;return!pt(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{let o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{let o=n.value,a=o.length;if(a===t.length)return;let i=ar(o),l=a>t.length;n.issues.push({origin:i,...l?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),fo=k("$ZodCheckStringFormat",(e,t)=>{var r,n;se.init(e,t),e._zod.onattach.push(o=>{let a=o._zod.bag;a.format=t.format,t.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),sc=k("$ZodCheckRegex",(e,t)=>{fo.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),lc=k("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Jl),fo.init(e,t)}),cc=k("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Xl),fo.init(e,t)}),uc=k("$ZodCheckIncludes",(e,t)=>{se.init(e,t);let r=Le(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{let a=o._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),dc=k("$ZodCheckStartsWith",(e,t)=>{se.init(e,t);let r=new RegExp(`^${Le(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{let o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),mc=k("$ZodCheckEndsWith",(e,t)=>{se.init(e,t);let r=new RegExp(`.*${Le(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{let o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function Kp(e,t,r){e.issues.length&&t.issues.push(...Re(r,e.issues))}s(Kp,"handleCheckPropertyResult");var pc=k("$ZodCheckProperty",(e,t)=>{se.init(e,t),e._zod.check=r=>{let n=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(o=>Kp(o,r,t.property));Kp(n,r,t.property)}}),yc=k("$ZodCheckMimeType",(e,t)=>{se.init(e,t);let r=new Set(t.mime);e._zod.onattach.push(n=>{n._zod.bag.mime=t.mime}),e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}}),fc=k("$ZodCheckOverwrite",(e,t)=>{se.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});var cr=class{static{s(this,"Doc")}constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let n=t.split(`
|
|
4
|
+
`).filter(i=>i),o=Math.min(...n.map(i=>i.length-i.trimStart().length)),a=n.map(i=>i.slice(o)).map(i=>" ".repeat(this.indent*2)+i);for(let i of a)this.content.push(i)}compile(){let t=Function,r=this?.args,o=[...(this?.content??[""]).map(a=>` ${a}`)];return new t(...r,o.join(`
|
|
5
|
+
`))}};var hc={major:4,minor:3,patch:6};var H=k("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=hc;let n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(let o of n)for(let a of o._zod.onattach)a(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let o=s((i,l,d)=>{let m=ht(i),b;for(let x of l){if(x._zod.def.when){if(!x._zod.def.when(i))continue}else if(m)continue;let I=i.issues.length,p=x._zod.check(i);if(p instanceof Promise&&d?.async===!1)throw new Ze;if(b||p instanceof Promise)b=(b??Promise.resolve()).then(async()=>{await p,i.issues.length!==I&&(m||(m=ht(i,I)))});else{if(i.issues.length===I)continue;m||(m=ht(i,I))}}return b?b.then(()=>i):i},"runChecks"),a=s((i,l,d)=>{if(ht(i))return i.aborted=!0,i;let m=o(l,n,d);if(m instanceof Promise){if(d.async===!1)throw new Ze;return m.then(b=>e._zod.parse(b,d))}return e._zod.parse(m,d)},"handleCanaryResult");e._zod.run=(i,l)=>{if(l.skipChecks)return e._zod.parse(i,l);if(l.direction==="backward"){let m=e._zod.parse({value:i.value,issues:[]},{...l,skipChecks:!0});return m instanceof Promise?m.then(b=>a(b,i,l)):a(m,i,l)}let d=e._zod.parse(i,l);if(d instanceof Promise){if(l.async===!1)throw new Ze;return d.then(m=>o(m,n,l))}return o(d,n,l)}}X(e,"~standard",()=>({validate:s(o=>{try{let a=mo(e,o);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return yo(e,o).then(i=>i.success?{value:i.data}:{issues:i.error?.issues})}},"validate"),vendor:"zod",version:1}))}),tt=k("$ZodString",(e,t)=>{H.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Zl(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),ne=k("$ZodStringFormat",(e,t)=>{fo.init(e,t),tt.init(e,t)}),Ca=k("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Dl),ne.init(e,t)}),Ea=k("$ZodUUID",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=wt(n))}else t.pattern??(t.pattern=wt());ne.init(e,t)}),Da=k("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Ol),ne.init(e,t)}),ur=k("$ZodURL",(e,t)=>{ne.init(e,t),e._zod.check=r=>{try{let n=r.value.trim(),o=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=o.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Oa=k("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Nl()),ne.init(e,t)}),Na=k("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Cl),ne.init(e,t)}),wa=k("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=zl),ne.init(e,t)}),Ra=k("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=xl),ne.init(e,t)}),$a=k("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Al),ne.init(e,t)}),Ba=k("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Sl),ne.init(e,t)}),Ma=k("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Tl),ne.init(e,t)}),dr=k("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=ql(t)),ne.init(e,t)}),mr=k("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Fl),ne.init(e,t)}),pr=k("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=jl(t)),ne.init(e,t)}),yr=k("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=El),ne.init(e,t)}),Ua=k("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=wl),ne.init(e,t),e._zod.bag.format="ipv4"}),La=k("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Rl),ne.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),Fa=k("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=$l(t.delimiter)),ne.init(e,t),e._zod.bag.format="mac"}),ja=k("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Bl),ne.init(e,t)}),qa=k("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Ml),ne.init(e,t),e._zod.check=r=>{let n=r.value.split("/");try{if(n.length!==2)throw new Error;let[o,a]=n;if(!a)throw new Error;let i=Number(a);if(`${i}`!==a)throw new Error;if(i<0||i>128)throw new Error;new URL(`http://[${o}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function gc(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}s(gc,"isValidBase64");var Za=k("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Ul),ne.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{gc(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function cy(e){if(!ka.test(e))return!1;let t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return gc(r)}s(cy,"isValidBase64URL");var Va=k("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=ka),ne.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{cy(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),Ha=k("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Ll),ne.init(e,t)});function uy(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[n]=r;if(!n)return!1;let o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}s(uy,"isValidJWT");var Ga=k("$ZodJWT",(e,t)=>{ne.init(e,t),e._zod.check=r=>{uy(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Wa=k("$ZodCustomStringFormat",(e,t)=>{ne.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),ho=k("$ZodNumber",(e,t)=>{H.init(e,t),e._zod.pattern=e._zod.bag.pattern??va,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let o=r.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return r;let a=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...a?{received:a}:{}}),r}}),fr=k("$ZodNumberFormat",(e,t)=>{Ql.init(e,t),ho.init(e,t)}),Rt=k("$ZodBoolean",(e,t)=>{H.init(e,t),e._zod.pattern=Gl,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let o=r.value;return typeof o=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),r}}),_o=k("$ZodBigInt",(e,t)=>{H.init(e,t),e._zod.pattern=Vl,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),Ka=k("$ZodBigIntFormat",(e,t)=>{ec.init(e,t),_o.init(e,t)}),Ja=k("$ZodSymbol",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:o,inst:e}),r}}),Xa=k("$ZodUndefined",(e,t)=>{H.init(e,t),e._zod.pattern=Kl,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(r,n)=>{let o=r.value;return typeof o>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:o,inst:e}),r}}),Ya=k("$ZodNull",(e,t)=>{H.init(e,t),e._zod.pattern=Wl,e._zod.values=new Set([null]),e._zod.parse=(r,n)=>{let o=r.value;return o===null||r.issues.push({expected:"null",code:"invalid_type",input:o,inst:e}),r}}),hr=k("$ZodAny",(e,t)=>{H.init(e,t),e._zod.parse=r=>r}),_r=k("$ZodUnknown",(e,t)=>{H.init(e,t),e._zod.parse=r=>r}),Qa=k("$ZodNever",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),gr=k("$ZodVoid",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>"u"||r.issues.push({expected:"void",code:"invalid_type",input:o,inst:e}),r}}),br=k("$ZodDate",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let o=r.value,a=o instanceof Date;return a&&!Number.isNaN(o.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:o,...a?{received:"Invalid Date"}:{},inst:e}),r}});function Yp(e,t,r){e.issues.length&&t.issues.push(...Re(r,e.issues)),t.value[r]=e.value}s(Yp,"handleArrayResult");var kr=k("$ZodArray",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);let a=[];for(let i=0;i<o.length;i++){let l=o[i],d=t.element._zod.run({value:l,issues:[]},n);d instanceof Promise?a.push(d.then(m=>Yp(m,r,i))):Yp(d,r,i)}return a.length?Promise.all(a).then(()=>r):r}});function Ta(e,t,r,n,o){if(e.issues.length){if(o&&!(r in n))return;t.issues.push(...Re(r,e.issues))}e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}s(Ta,"handlePropertyResult");function dy(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);let r=vl(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}s(dy,"normalizeDef");function my(e,t,r,n,o,a){let i=[],l=o.keySet,d=o.catchall._zod,m=d.def.type,b=d.optout==="optional";for(let x in t){if(l.has(x))continue;if(m==="never"){i.push(x);continue}let I=d.run({value:t[x],issues:[]},n);I instanceof Promise?e.push(I.then(p=>Ta(p,r,x,t,b))):Ta(I,r,x,t,b)}return i.length&&r.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:a}),e.length?Promise.all(e).then(()=>r):r}s(my,"handleCatchall");var ei=k("$ZodObject",(e,t)=>{if(H.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let l=t.shape;Object.defineProperty(t,"shape",{get:s(()=>{let d={...l};return Object.defineProperty(t,"shape",{value:d}),d},"get")})}let n=no(()=>dy(t));X(e._zod,"propValues",()=>{let l=t.shape,d={};for(let m in l){let b=l[m]._zod;if(b.values){d[m]??(d[m]=new Set);for(let x of b.values)d[m].add(x)}}return d});let o=Dt,a=t.catchall,i;e._zod.parse=(l,d)=>{i??(i=n.value);let m=l.value;if(!o(m))return l.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),l;l.value={};let b=[],x=i.shape;for(let I of i.keys){let p=x[I],v=p._zod.optout==="optional",A=p._zod.run({value:m[I],issues:[]},d);A instanceof Promise?b.push(A.then(C=>Ta(C,l,I,m,v))):Ta(A,l,I,m,v)}return a?my(b,m,l,d,n.value,e):b.length?Promise.all(b).then(()=>l):l}}),bc=k("$ZodObjectJIT",(e,t)=>{ei.init(e,t);let r=e._zod.parse,n=no(()=>dy(t)),o=s(I=>{let p=new cr(["shape","payload","ctx"]),v=n.value,A=s(L=>{let ie=sa(L);return`shape[${ie}]._zod.run({ value: input[${ie}], issues: [] }, ctx)`},"parseStr");p.write("const input = payload.value;");let C=Object.create(null),E=0;for(let L of v.keys)C[L]=`key_${E++}`;p.write("const newResult = {};");for(let L of v.keys){let ie=C[L],ce=sa(L),pl=I[L]?._zod?.optout==="optional";p.write(`const ${ie} = ${A(L)};`),pl?p.write(`
|
|
6
|
+
if (${ie}.issues.length) {
|
|
7
|
+
if (${ce} in input) {
|
|
8
|
+
payload.issues = payload.issues.concat(${ie}.issues.map(iss => ({
|
|
9
9
|
...iss,
|
|
10
|
-
path: iss.path ? [${
|
|
10
|
+
path: iss.path ? [${ce}, ...iss.path] : [${ce}]
|
|
11
11
|
})));
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
if (${
|
|
16
|
-
if (${
|
|
17
|
-
newResult[${
|
|
15
|
+
if (${ie}.value === undefined) {
|
|
16
|
+
if (${ce} in input) {
|
|
17
|
+
newResult[${ce}] = undefined;
|
|
18
18
|
}
|
|
19
19
|
} else {
|
|
20
|
-
newResult[${
|
|
20
|
+
newResult[${ce}] = ${ie}.value;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
`):p.write(`
|
|
24
|
-
if (${
|
|
25
|
-
payload.issues = payload.issues.concat(${
|
|
24
|
+
if (${ie}.issues.length) {
|
|
25
|
+
payload.issues = payload.issues.concat(${ie}.issues.map(iss => ({
|
|
26
26
|
...iss,
|
|
27
|
-
path: iss.path ? [${
|
|
27
|
+
path: iss.path ? [${ce}, ...iss.path] : [${ce}]
|
|
28
28
|
})));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
if (${
|
|
32
|
-
if (${
|
|
33
|
-
newResult[${
|
|
31
|
+
if (${ie}.value === undefined) {
|
|
32
|
+
if (${ce} in input) {
|
|
33
|
+
newResult[${ce}] = undefined;
|
|
34
34
|
}
|
|
35
35
|
} else {
|
|
36
|
-
newResult[${
|
|
36
|
+
newResult[${ce}] = ${ie}.value;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
`)}p.write("payload.value = newResult;"),p.write("return payload;");let A=p.compile();return(C,X)=>A(h,C,X)},"generateFastpass"),o,a=dt,c=!Ir.jitless,d=c&&Is.value,m=r.catchall,b;e._zod.parse=(h,p)=>{b??(b=i.value);let y=h.value;return a(y)?c&&d&&p?.async===!1&&p.jitless!==!0?(o||(o=t(r.shape)),h=o(h,p),m?Qd([],y,h,p,b,e):h):n(h,p):(h.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),h)}});function jd(e,r,n,i){for(let o of e)if(o.issues.length===0)return r.value=o.value,r;let t=e.filter(o=>!Qe(o));return t.length===1?(r.value=t[0].value,t[0]):(r.issues.push({code:"invalid_union",input:r.value,inst:n,errors:e.map(o=>o.issues.map(a=>ye(a,i,Q())))}),r)}s(jd,"handleUnionResults");var ht=f("$ZodUnion",(e,r)=>{N.init(e,r),j(e._zod,"optin",()=>r.options.some(t=>t._zod.optin==="optional")?"optional":void 0),j(e._zod,"optout",()=>r.options.some(t=>t._zod.optout==="optional")?"optional":void 0),j(e._zod,"values",()=>{if(r.options.every(t=>t._zod.values))return new Set(r.options.flatMap(t=>Array.from(t._zod.values)))}),j(e._zod,"pattern",()=>{if(r.options.every(t=>t._zod.pattern)){let t=r.options.map(o=>o._zod.pattern);return new RegExp(`^(${t.map(o=>Ar(o.source)).join("|")})$`)}});let n=r.options.length===1,i=r.options[0]._zod.run;e._zod.parse=(t,o)=>{if(n)return i(t,o);let a=!1,c=[];for(let l of r.options){let d=l._zod.run({value:t.value,issues:[]},o);if(d instanceof Promise)c.push(d),a=!0;else{if(d.issues.length===0)return d;c.push(d)}}return a?Promise.all(c).then(l=>jd(l,t,e,o)):jd(c,t,e,o)}});function Zd(e,r,n,i){let t=e.filter(o=>o.issues.length===0);return t.length===1?(r.value=t[0].value,r):(t.length===0?r.issues.push({code:"invalid_union",input:r.value,inst:n,errors:e.map(o=>o.issues.map(a=>ye(a,i,Q())))}):r.issues.push({code:"invalid_union",input:r.value,inst:n,errors:[],inclusive:!1}),r)}s(Zd,"handleExclusiveUnionResults");var _i=f("$ZodXor",(e,r)=>{ht.init(e,r),r.inclusive=!1;let n=r.options.length===1,i=r.options[0]._zod.run;e._zod.parse=(t,o)=>{if(n)return i(t,o);let a=!1,c=[];for(let l of r.options){let d=l._zod.run({value:t.value,issues:[]},o);d instanceof Promise?(c.push(d),a=!0):c.push(d)}return a?Promise.all(c).then(l=>Zd(l,t,e,o)):Zd(c,t,e,o)}}),Br=f("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,ht.init(e,r);let n=e._zod.parse;j(e._zod,"propValues",()=>{let t={};for(let o of r.options){let a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(o)}"`);for(let[c,l]of Object.entries(a)){t[c]||(t[c]=new Set);for(let d of l)t[c].add(d)}}return t});let i=Mt(()=>{let t=r.options,o=new Map;for(let a of t){let c=a._zod.propValues?.[r.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(a)}"`);for(let l of c){if(o.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);o.set(l,a)}}return o});e._zod.parse=(t,o)=>{let a=t.value;if(!dt(a))return t.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),t;let c=i.value.get(a?.[r.discriminator]);return c?c._zod.run(t,o):r.unionFallback?n(t,o):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,input:a,path:[r.discriminator],inst:e}),t)}}),Pi=f("$ZodIntersection",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value,o=r.left._zod.run({value:t,issues:[]},i),a=r.right._zod.run({value:t,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([l,d])=>Fd(n,l,d)):Fd(n,o,a)}});function bc(e,r){if(e===r)return{valid:!0,data:e};if(e instanceof Date&&r instanceof Date&&+e==+r)return{valid:!0,data:e};if(Ye(e)&&Ye(r)){let n=Object.keys(r),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),t={...e,...r};for(let o of i){let a=bc(e[o],r[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};t[o]=a.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<e.length;i++){let t=e[i],o=r[i],a=bc(t,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}s(bc,"mergeValues");function Fd(e,r,n){let i=new Map,t;for(let c of r.issues)if(c.code==="unrecognized_keys"){t??(t=c);for(let l of c.keys)i.has(l)||i.set(l,{}),i.get(l).l=!0}else e.issues.push(c);for(let c of n.issues)if(c.code==="unrecognized_keys")for(let l of c.keys)i.has(l)||i.set(l,{}),i.get(l).r=!0;else e.issues.push(c);let o=[...i].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(o.length&&t&&e.issues.push({...t,keys:o}),Qe(e))return e;let a=bc(r.value,n.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}s(Fd,"handleIntersectionResults");var Vr=f("$ZodTuple",(e,r)=>{N.init(e,r);let n=r.items;e._zod.parse=(i,t)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let a=[],c=[...n].reverse().findIndex(m=>m._zod.optin!=="optional"),l=c===-1?0:n.length-c;if(!r.rest){let m=o.length>n.length,b=o.length<l-1;if(m||b)return i.issues.push({...m?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:o,inst:e,origin:"array"}),i}let d=-1;for(let m of n){if(d++,d>=o.length&&d>=l)continue;let b=m._zod.run({value:o[d],issues:[]},t);b instanceof Promise?a.push(b.then(h=>Lo(h,i,d))):Lo(b,i,d)}if(r.rest){let m=o.slice(n.length);for(let b of m){d++;let h=r.rest._zod.run({value:b,issues:[]},t);h instanceof Promise?a.push(h.then(p=>Lo(p,i,d))):Lo(h,i,d)}}return a.length?Promise.all(a).then(()=>i):i}});function Lo(e,r,n){e.issues.length&&r.issues.push(...Pe(n,e.issues)),r.value[n]=e.value}s(Lo,"handleTupleResult");var Hr=f("$ZodRecord",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value;if(!Ye(t))return n.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),n;let o=[],a=r.keyType._zod.values;if(a){n.value={};let c=new Set;for(let d of a)if(typeof d=="string"||typeof d=="number"||typeof d=="symbol"){c.add(typeof d=="number"?d.toString():d);let m=r.valueType._zod.run({value:t[d],issues:[]},i);m instanceof Promise?o.push(m.then(b=>{b.issues.length&&n.issues.push(...Pe(d,b.issues)),n.value[d]=b.value})):(m.issues.length&&n.issues.push(...Pe(d,m.issues)),n.value[d]=m.value)}let l;for(let d in t)c.has(d)||(l=l??[],l.push(d));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:l})}else{n.value={};for(let c of Reflect.ownKeys(t)){if(c==="__proto__")continue;let l=r.keyType._zod.run({value:c,issues:[]},i);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&Co.test(c)&&l.issues.length){let b=r.keyType._zod.run({value:Number(c),issues:[]},i);if(b instanceof Promise)throw new Error("Async schemas not supported in object keys currently");b.issues.length===0&&(l=b)}if(l.issues.length){r.mode==="loose"?n.value[c]=t[c]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(b=>ye(b,i,Q())),input:c,path:[c],inst:e});continue}let m=r.valueType._zod.run({value:t[c],issues:[]},i);m instanceof Promise?o.push(m.then(b=>{b.issues.length&&n.issues.push(...Pe(c,b.issues)),n.value[l.value]=b.value})):(m.issues.length&&n.issues.push(...Pe(c,m.issues)),n.value[l.value]=m.value)}}return o.length?Promise.all(o).then(()=>n):n}}),bi=f("$ZodMap",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value;if(!(t instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),n;let o=[];n.value=new Map;for(let[a,c]of t){let l=r.keyType._zod.run({value:a,issues:[]},i),d=r.valueType._zod.run({value:c,issues:[]},i);l instanceof Promise||d instanceof Promise?o.push(Promise.all([l,d]).then(([m,b])=>{Bd(m,b,n,a,t,e,i)})):Bd(l,d,n,a,t,e,i)}return o.length?Promise.all(o).then(()=>n):n}});function Bd(e,r,n,i,t,o,a){e.issues.length&&(zr.has(typeof i)?n.issues.push(...Pe(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:t,inst:o,issues:e.issues.map(c=>ye(c,a,Q()))})),r.issues.length&&(zr.has(typeof i)?n.issues.push(...Pe(i,r.issues)):n.issues.push({origin:"map",code:"invalid_element",input:t,inst:o,key:i,issues:r.issues.map(c=>ye(c,a,Q()))})),n.value.set(e.value,r.value)}s(Bd,"handleMapResult");var Ei=f("$ZodSet",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value;if(!(t instanceof Set))return n.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),n;let o=[];n.value=new Set;for(let a of t){let c=r.valueType._zod.run({value:a,issues:[]},i);c instanceof Promise?o.push(c.then(l=>Vd(l,n))):Vd(c,n)}return o.length?Promise.all(o).then(()=>n):n}});function Vd(e,r){e.issues.length&&r.issues.push(...e.issues),r.value.add(e.value)}s(Vd,"handleSetResult");var Gr=f("$ZodEnum",(e,r)=>{N.init(e,r);let n=$r(r.entries),i=new Set(n);e._zod.values=i,e._zod.pattern=new RegExp(`^(${n.filter(t=>zr.has(typeof t)).map(t=>typeof t=="string"?Te(t):t.toString()).join("|")})$`),e._zod.parse=(t,o)=>{let a=t.value;return i.has(a)||t.issues.push({code:"invalid_value",values:n,input:a,inst:e}),t}}),Wr=f("$ZodLiteral",(e,r)=>{if(N.init(e,r),r.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(r.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.values.map(i=>typeof i=="string"?Te(i):i?Te(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,t)=>{let o=i.value;return n.has(o)||i.issues.push({code:"invalid_value",values:r.values,input:o,inst:e}),i}}),Ii=f("$ZodFile",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{let t=n.value;return t instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),n}}),qr=f("$ZodTransform",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Je(e.constructor.name);let t=r.transform(n.value,n);if(i.async)return(t instanceof Promise?t:Promise.resolve(t)).then(a=>(n.value=a,n));if(t instanceof Promise)throw new ze;return n.value=t,n}});function Hd(e,r){return e.issues.length&&r===void 0?{issues:[],value:void 0}:e}s(Hd,"handleOptionalResult");var Xt=f("$ZodOptional",(e,r)=>{N.init(e,r),e._zod.optin="optional",e._zod.optout="optional",j(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,void 0]):void 0),j(e._zod,"pattern",()=>{let n=r.innerType._zod.pattern;return n?new RegExp(`^(${Ar(n.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(r.innerType._zod.optin==="optional"){let t=r.innerType._zod.run(n,i);return t instanceof Promise?t.then(o=>Hd(o,n.value)):Hd(t,n.value)}return n.value===void 0?n:r.innerType._zod.run(n,i)}}),Ti=f("$ZodExactOptional",(e,r)=>{Xt.init(e,r),j(e._zod,"values",()=>r.innerType._zod.values),j(e._zod,"pattern",()=>r.innerType._zod.pattern),e._zod.parse=(n,i)=>r.innerType._zod.run(n,i)}),Jr=f("$ZodNullable",(e,r)=>{N.init(e,r),j(e._zod,"optin",()=>r.innerType._zod.optin),j(e._zod,"optout",()=>r.innerType._zod.optout),j(e._zod,"pattern",()=>{let n=r.innerType._zod.pattern;return n?new RegExp(`^(${Ar(n.source)}|null)$`):void 0}),j(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:r.innerType._zod.run(n,i)}),Si=f("$ZodDefault",(e,r)=>{N.init(e,r),e._zod.optin="optional",j(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return r.innerType._zod.run(n,i);if(n.value===void 0)return n.value=r.defaultValue,n;let t=r.innerType._zod.run(n,i);return t instanceof Promise?t.then(o=>Gd(o,r)):Gd(t,r)}});function Gd(e,r){return e.value===void 0&&(e.value=r.defaultValue),e}s(Gd,"handleDefaultResult");var $i=f("$ZodPrefault",(e,r)=>{N.init(e,r),e._zod.optin="optional",j(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(n,i)=>(i.direction==="backward"||n.value===void 0&&(n.value=r.defaultValue),r.innerType._zod.run(n,i))}),Ai=f("$ZodNonOptional",(e,r)=>{N.init(e,r),j(e._zod,"values",()=>{let n=r.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,i)=>{let t=r.innerType._zod.run(n,i);return t instanceof Promise?t.then(o=>Wd(o,e)):Wd(t,e)}});function Wd(e,r){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:r}),e}s(Wd,"handleNonOptionalResult");var zi=f("$ZodSuccess",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Je("ZodSuccess");let t=r.innerType._zod.run(n,i);return t instanceof Promise?t.then(o=>(n.value=o.issues.length===0,n)):(n.value=t.issues.length===0,n)}}),Oi=f("$ZodCatch",(e,r)=>{N.init(e,r),j(e._zod,"optin",()=>r.innerType._zod.optin),j(e._zod,"optout",()=>r.innerType._zod.optout),j(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return r.innerType._zod.run(n,i);let t=r.innerType._zod.run(n,i);return t instanceof Promise?t.then(o=>(n.value=o.value,o.issues.length&&(n.value=r.catchValue({...n,error:{issues:o.issues.map(a=>ye(a,i,Q()))},input:n.value}),n.issues=[]),n)):(n.value=t.value,t.issues.length&&(n.value=r.catchValue({...n,error:{issues:t.issues.map(o=>ye(o,i,Q()))},input:n.value}),n.issues=[]),n)}}),ki=f("$ZodNaN",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),Kr=f("$ZodPipe",(e,r)=>{N.init(e,r),j(e._zod,"values",()=>r.in._zod.values),j(e._zod,"optin",()=>r.in._zod.optin),j(e._zod,"optout",()=>r.out._zod.optout),j(e._zod,"propValues",()=>r.in._zod.propValues),e._zod.parse=(n,i)=>{if(i.direction==="backward"){let o=r.out._zod.run(n,i);return o instanceof Promise?o.then(a=>jo(a,r.in,i)):jo(o,r.in,i)}let t=r.in._zod.run(n,i);return t instanceof Promise?t.then(o=>jo(o,r.out,i)):jo(t,r.out,i)}});function jo(e,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:e.value,issues:e.issues},n)}s(jo,"handlePipeResult");var Yt=f("$ZodCodec",(e,r)=>{N.init(e,r),j(e._zod,"values",()=>r.in._zod.values),j(e._zod,"optin",()=>r.in._zod.optin),j(e._zod,"optout",()=>r.out._zod.optout),j(e._zod,"propValues",()=>r.in._zod.propValues),e._zod.parse=(n,i)=>{if((i.direction||"forward")==="forward"){let o=r.in._zod.run(n,i);return o instanceof Promise?o.then(a=>Zo(a,r,i)):Zo(o,r,i)}else{let o=r.out._zod.run(n,i);return o instanceof Promise?o.then(a=>Zo(a,r,i)):Zo(o,r,i)}}});function Zo(e,r,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||"forward")==="forward"){let t=r.transform(e.value,e);return t instanceof Promise?t.then(o=>Fo(e,o,r.out,n)):Fo(e,t,r.out,n)}else{let t=r.reverseTransform(e.value,e);return t instanceof Promise?t.then(o=>Fo(e,o,r.in,n)):Fo(e,t,r.in,n)}}s(Zo,"handleCodecAResult");function Fo(e,r,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:r,issues:e.issues},i)}s(Fo,"handleCodecTxResult");var Ri=f("$ZodReadonly",(e,r)=>{N.init(e,r),j(e._zod,"propValues",()=>r.innerType._zod.propValues),j(e._zod,"values",()=>r.innerType._zod.values),j(e._zod,"optin",()=>r.innerType?._zod?.optin),j(e._zod,"optout",()=>r.innerType?._zod?.optout),e._zod.parse=(n,i)=>{if(i.direction==="backward")return r.innerType._zod.run(n,i);let t=r.innerType._zod.run(n,i);return t instanceof Promise?t.then(qd):qd(t)}});function qd(e){return e.value=Object.freeze(e.value),e}s(qd,"handleReadonlyResult");var wi=f("$ZodTemplateLiteral",(e,r)=>{N.init(e,r);let n=[];for(let i of r.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let t=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=t.startsWith("^")?1:0,a=t.endsWith("$")?t.length-1:t.length;n.push(t.slice(o,a))}else if(i===null||Ts.has(typeof i))n.push(Te(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(i,t)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:r.format??"template_literal",pattern:e._zod.pattern.source}),i)}),Ni=f("$ZodFunction",(e,r)=>(N.init(e,r),e._def=r,e._zod.def=r,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...i){let t=e._def.input?mt(e._def.input,i):i,o=Reflect.apply(n,this,t);return e._def.output?mt(e._def.output,o):o}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let t=e._def.input?await ft(e._def.input,i):i,o=await Reflect.apply(n,this,t);return e._def.output?await ft(e._def.output,o):o}},e._zod.parse=(n,i)=>typeof n.value!="function"?(n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type==="promise"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let i=e.constructor;return Array.isArray(n[0])?new i({type:"function",input:new Vr({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output}):new i({type:"function",input:n[0],output:e._def.output})},e.output=n=>{let i=e.constructor;return new i({type:"function",input:e._def.input,output:n})},e)),Di=f("$ZodPromise",(e,r)=>{N.init(e,r),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(t=>r.innerType._zod.run({value:t,issues:[]},i))}),Ci=f("$ZodLazy",(e,r)=>{N.init(e,r),j(e._zod,"innerType",()=>r.getter()),j(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),j(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),j(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),j(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),Xr=f("$ZodCustom",(e,r)=>{J.init(e,r),N.init(e,r),e._zod.parse=(n,i)=>n,e._zod.check=n=>{let i=n.value,t=r.fn(i);if(t instanceof Promise)return t.then(o=>Jd(o,n,i,e));Jd(t,n,i,e)}});function Jd(e,r,n,i){if(!e){let t={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(t.params=i._zod.def.params),r.issues.push(Lt(t))}}s(Jd,"handleRefineResult");var er={};Ae(er,{ar:()=>Tc,az:()=>Sc,be:()=>$c,bg:()=>Ac,ca:()=>zc,cs:()=>Oc,da:()=>kc,de:()=>Rc,en:()=>Yr,eo:()=>wc,es:()=>Nc,fa:()=>Dc,fi:()=>Cc,fr:()=>Uc,frCA:()=>Mc,he:()=>Lc,hu:()=>jc,hy:()=>Zc,id:()=>Fc,is:()=>Bc,it:()=>Vc,ja:()=>Hc,ka:()=>Gc,kh:()=>Wc,km:()=>Qr,ko:()=>qc,lt:()=>Jc,mk:()=>Kc,ms:()=>Xc,nl:()=>Yc,no:()=>Qc,ota:()=>eu,pl:()=>ru,ps:()=>tu,pt:()=>nu,ru:()=>ou,sl:()=>iu,sv:()=>au,ta:()=>su,th:()=>cu,tr:()=>uu,ua:()=>pu,uk:()=>tn,ur:()=>lu,uz:()=>du,vi:()=>mu,yo:()=>yu,zhCN:()=>fu,zhTW:()=>gu});var ox=s(()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${t.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${o}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`}case"invalid_value":return t.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${T(t.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${t.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${t.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${t.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${t.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${t.minimum.toString()} ${a.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${t.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${t.prefix}"`:o.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${o.suffix}"`:o.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${o.includes}"`:o.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${o.pattern}`:`${n[o.format]??t.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${t.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${t.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${t.keys.length>1?"\u0629":""}: ${v(t.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${t.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${t.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}},"error");function Tc(){return{localeError:ox()}}s(Tc,"default");var ix=s(()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${t.expected}, daxil olan ${c}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${o}, daxil olan ${c}`}case"invalid_value":return t.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${T(t.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${t.origin??"d\u0259y\u0259r"} ${o}${t.maximum.toString()} ${a.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${t.origin??"d\u0259y\u0259r"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${o.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:o.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${o.suffix}" il\u0259 bitm\u0259lidir`:o.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${o.includes}" daxil olmal\u0131d\u0131r`:o.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${o.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${n[o.format]??t.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${t.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${t.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}},"error");function Sc(){return{localeError:ix()}}s(Sc,"default");function em(e,r,n,i){let t=Math.abs(e),o=t%10,a=t%100;return a>=11&&a<=19?i:o===1?r:o>=2&&o<=4?n:i}s(em,"getBelarusianPlural");var ax=s(()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},i={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${t.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${o}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`}case"invalid_value":return t.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${T(t.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);if(a){let c=Number(t.maximum),l=em(c,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${t.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${o}${t.maximum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${t.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);if(a){let c=Number(t.minimum),l=em(c,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${t.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${o}${t.minimum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${t.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${n[o.format]??t.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${t.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${v(t.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${t.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${t.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}},"error");function $c(){return{localeError:ax()}}s($c,"default");var sx=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${t.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`}case"invalid_value":return t.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${T(t.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${t.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${t.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${t.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${t.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${t.minimum.toString()} ${a.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${t.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;if(o.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${o.prefix}"`;if(o.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${o.suffix}"`;if(o.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${o.includes}"`;if(o.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${o.pattern}`;let a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return o.format==="emoji"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="datetime"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="date"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),o.format==="time"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="duration"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${a} ${n[o.format]??t.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${t.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${t.keys.length>1?"\u043E\u0432\u0435":""}: ${v(t.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${t.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${t.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}},"error");function Ac(){return{localeError:sx()}}s(Ac,"default");var cx=s(()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${t.expected}, s'ha rebut ${c}`:`Tipus inv\xE0lid: s'esperava ${o}, s'ha rebut ${c}`}case"invalid_value":return t.values.length===1?`Valor inv\xE0lid: s'esperava ${T(t.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${v(t.values," o ")}`;case"too_big":{let o=t.inclusive?"com a m\xE0xim":"menys de",a=r(t.origin);return a?`Massa gran: s'esperava que ${t.origin??"el valor"} contingu\xE9s ${o} ${t.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"com a m\xEDnim":"m\xE9s de",a=r(t.origin);return a?`Massa petit: s'esperava que ${t.origin} contingu\xE9s ${o} ${t.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${o.prefix}"`:o.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format inv\xE0lid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${o.pattern}`:`Format inv\xE0lid per a ${n[o.format]??t.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${t.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${t.origin}`;default:return"Entrada inv\xE0lida"}}},"error");function zc(){return{localeError:cx()}}s(zc,"default");var ux=s(()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${t.expected}, obdr\u017Eeno ${c}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${o}, obdr\u017Eeno ${c}`}case"invalid_value":return t.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${T(t.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${t.origin??"hodnota"} mus\xED m\xEDt ${o}${t.maximum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${t.origin??"hodnota"} mus\xED b\xFDt ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${t.origin??"hodnota"} mus\xED m\xEDt ${o}${t.minimum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${t.origin??"hodnota"} mus\xED b\xFDt ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${o.prefix}"`:o.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${o.suffix}"`:o.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${o.includes}"`:o.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${o.pattern}`:`Neplatn\xFD form\xE1t ${n[o.format]??t.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${t.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${v(t.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${t.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${t.origin}`;default:return"Neplatn\xFD vstup"}}},"error");function Oc(){return{localeError:ux()}}s(Oc,"default");var px=s(()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldigt input: forventede instanceof ${t.expected}, fik ${c}`:`Ugyldigt input: forventede ${o}, fik ${c}`}case"invalid_value":return t.values.length===1?`Ugyldig v\xE6rdi: forventede ${T(t.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin),c=i[t.origin]??t.origin;return a?`For stor: forventede ${c??"value"} ${a.verb} ${o} ${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${c??"value"} havde ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin),c=i[t.origin]??t.origin;return a?`For lille: forventede ${c} ${a.verb} ${o} ${t.minimum.toString()} ${a.unit}`:`For lille: forventede ${c} havde ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??t.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${t.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${t.origin}`;default:return"Ugyldigt input"}}},"error");function kc(){return{localeError:px()}}s(kc,"default");var lx=s(()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${t.expected}, erhalten ${c}`:`Ung\xFCltige Eingabe: erwartet ${o}, erhalten ${c}`}case"invalid_value":return t.values.length===1?`Ung\xFCltige Eingabe: erwartet ${T(t.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Zu gro\xDF: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ist`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ist`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Ung\xFCltiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ung\xFCltiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ung\xFCltiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${o.pattern} entsprechen`:`Ung\xFCltig: ${n[o.format]??t.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${t.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${t.origin}`;default:return"Ung\xFCltige Eingabe"}}},"error");function Rc(){return{localeError:lx()}}s(Rc,"default");var dx=s(()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return`Invalid input: expected ${o}, received ${c}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${T(t.values[0])}`:`Invalid option: expected one of ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Too big: expected ${t.origin??"value"} to have ${o}${t.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${t.origin??"value"} to be ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Too small: expected ${t.origin} to have ${o}${t.minimum.toString()} ${a.unit}`:`Too small: expected ${t.origin} to be ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??t.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${t.divisor}`;case"unrecognized_keys":return`Unrecognized key${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Invalid key in ${t.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${t.origin}`;default:return"Invalid input"}}},"error");function Yr(){return{localeError:dx()}}s(Yr,"default");var mx=s(()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${t.expected}, ricevi\u011Dis ${c}`:`Nevalida enigo: atendi\u011Dis ${o}, ricevi\u011Dis ${c}`}case"invalid_value":return t.values.length===1?`Nevalida enigo: atendi\u011Dis ${T(t.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Tro granda: atendi\u011Dis ke ${t.origin??"valoro"} havu ${o}${t.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${t.origin??"valoro"} havu ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Tro malgranda: atendi\u011Dis ke ${t.origin} havu ${o}${t.minimum.toString()} ${a.unit}`:`Tro malgranda: atendi\u011Dis ke ${t.origin} estu ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${n[o.format]??t.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${t.divisor}`;case"unrecognized_keys":return`Nekonata${t.keys.length>1?"j":""} \u015Dlosilo${t.keys.length>1?"j":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${t.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${t.origin}`;default:return"Nevalida enigo"}}},"error");function wc(){return{localeError:mx()}}s(wc,"default");var fx=s(()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${t.expected}, recibido ${c}`:`Entrada inv\xE1lida: se esperaba ${o}, recibido ${c}`}case"invalid_value":return t.values.length===1?`Entrada inv\xE1lida: se esperaba ${T(t.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin),c=i[t.origin]??t.origin;return a?`Demasiado grande: se esperaba que ${c??"valor"} tuviera ${o}${t.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${c??"valor"} fuera ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin),c=i[t.origin]??t.origin;return a?`Demasiado peque\xF1o: se esperaba que ${c} tuviera ${o}${t.minimum.toString()} ${a.unit}`:`Demasiado peque\xF1o: se esperaba que ${c} fuera ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inv\xE1lida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${o.pattern}`:`Inv\xE1lido ${n[o.format]??t.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${t.divisor}`;case"unrecognized_keys":return`Llave${t.keys.length>1?"s":""} desconocida${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${i[t.origin]??t.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${i[t.origin]??t.origin}`;default:return"Entrada inv\xE1lida"}}},"error");function Nc(){return{localeError:fx()}}s(Nc,"default");var gx=s(()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${t.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${o} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return t.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${T(t.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${v(t.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${t.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${t.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} ${a.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:o.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:o.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${o.includes}" \u0628\u0627\u0634\u062F`:o.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${o.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${n[o.format]??t.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${t.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${t.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${v(t.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${t.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${t.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}},"error");function Dc(){return{localeError:gx()}}s(Dc,"default");var yx=s(()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${c}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${c}`}case"invalid_value":return t.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${T(t.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Liian suuri: ${a.subject} t\xE4ytyy olla ${o}${t.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Liian pieni: ${a.subject} t\xE4ytyy olla ${o}${t.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${o.includes}"`:o.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${o.pattern}`:`Virheellinen ${n[o.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${v(t.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}},"error");function Cc(){return{localeError:yx()}}s(Cc,"default");var hx=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN",number:"nombre",array:"tableau"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entr\xE9e invalide : instanceof ${t.expected} attendu, ${c} re\xE7u`:`Entr\xE9e invalide : ${o} attendu, ${c} re\xE7u`}case"invalid_value":return t.values.length===1?`Entr\xE9e invalide : ${T(t.values[0])} attendu`:`Option invalide : une valeur parmi ${v(t.values,"|")} attendue`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Trop grand : ${t.origin??"valeur"} doit ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${t.origin??"valeur"} doit \xEAtre ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Trop petit : ${t.origin} doit ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Trop petit : ${t.origin} doit \xEAtre ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${o.pattern}`:`${n[o.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${t.divisor}`;case"unrecognized_keys":return`Cl\xE9${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${v(t.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${t.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Uc(){return{localeError:hx()}}s(Uc,"default");var vx=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entr\xE9e invalide : attendu instanceof ${t.expected}, re\xE7u ${c}`:`Entr\xE9e invalide : attendu ${o}, re\xE7u ${c}`}case"invalid_value":return t.values.length===1?`Entr\xE9e invalide : attendu ${T(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"\u2264":"<",a=r(t.origin);return a?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${o}${t.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"\u2265":">",a=r(t.origin);return a?`Trop petit : attendu que ${t.origin} ait ${o}${t.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${t.origin} soit ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${o.pattern}`:`${n[o.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${t.divisor}`;case"unrecognized_keys":return`Cl\xE9${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${v(t.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${t.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Mc(){return{localeError:vx()}}s(Mc,"default");var xx=s(()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},r={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},n=s(d=>d?e[d]:void 0,"typeEntry"),i=s(d=>{let m=n(d);return m?m.label:d??e.unknown.label},"typeLabel"),t=s(d=>`\u05D4${i(d)}`,"withDefinite"),o=s(d=>(n(d)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA","verbFor"),a=s(d=>d?r[d]??null:null,"getSizing"),c={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},l={nan:"NaN"};return d=>{switch(d.code){case"invalid_type":{let m=d.expected,b=l[m??""]??i(m),h=$(d.input),p=l[h]??e[h]?.label??h;return/^[A-Z]/.test(d.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${d.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${b}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`}case"invalid_value":{if(d.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${T(d.values[0])}`;let m=d.values.map(p=>T(p));if(d.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${m[0]} \u05D0\u05D5 ${m[1]}`;let b=m[m.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${m.slice(0,-1).join(", ")} \u05D0\u05D5 ${b}`}case"too_big":{let m=a(d.origin),b=t(d.origin??"value");if(d.origin==="string")return`${m?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${b} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${d.maximum.toString()} ${m?.unit??""} ${d.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(d.origin==="number"){let y=d.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${d.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${d.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${b} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}`}if(d.origin==="array"||d.origin==="set"){let y=d.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",P=d.inclusive?`${d.maximum} ${m?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${d.maximum} ${m?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${b} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${P}`.trim()}let h=d.inclusive?"<=":"<",p=o(d.origin??"value");return m?.unit?`${m.longLabel} \u05DE\u05D3\u05D9: ${b} ${p} ${h}${d.maximum.toString()} ${m.unit}`:`${m?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${b} ${p} ${h}${d.maximum.toString()}`}case"too_small":{let m=a(d.origin),b=t(d.origin??"value");if(d.origin==="string")return`${m?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${b} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${d.minimum.toString()} ${m?.unit??""} ${d.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(d.origin==="number"){let y=d.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${d.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${d.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${b} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}`}if(d.origin==="array"||d.origin==="set"){let y=d.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(d.minimum===1&&d.inclusive){let E=(d.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${b} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${E}`}let P=d.inclusive?`${d.minimum} ${m?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${d.minimum} ${m?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${b} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${P}`.trim()}let h=d.inclusive?">=":">",p=o(d.origin??"value");return m?.unit?`${m.shortLabel} \u05DE\u05D3\u05D9: ${b} ${p} ${h}${d.minimum.toString()} ${m.unit}`:`${m?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${b} ${p} ${h}${d.minimum.toString()}`}case"invalid_format":{let m=d;if(m.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${m.prefix}"`;if(m.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${m.suffix}"`;if(m.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${m.includes}"`;if(m.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${m.pattern}`;let b=c[m.format],h=b?.label??m.format,y=(b?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${h} \u05DC\u05D0 ${y}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${d.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${d.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${d.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${v(d.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${t(d.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}},"error");function Lc(){return{localeError:xx()}}s(Lc,"default");var _x=s(()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${t.expected}, a kapott \xE9rt\xE9k ${c}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${o}, a kapott \xE9rt\xE9k ${c}`}case"invalid_value":return t.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${T(t.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`T\xFAl nagy: ${t.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${o}${t.maximum.toString()} ${a.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${t.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${t.origin} m\xE9rete t\xFAl kicsi ${o}${t.minimum.toString()} ${a.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${t.origin} t\xFAl kicsi ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\xC9rv\xE9nytelen string: "${o.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:o.format==="ends_with"?`\xC9rv\xE9nytelen string: "${o.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:o.format==="includes"?`\xC9rv\xE9nytelen string: "${o.includes}" \xE9rt\xE9ket kell tartalmaznia`:o.format==="regex"?`\xC9rv\xE9nytelen string: ${o.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${n[o.format]??t.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${t.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${t.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${t.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}},"error");function jc(){return{localeError:_x()}}s(jc,"default");function tm(e,r,n){return Math.abs(e)===1?r:n}s(tm,"getArmenianPlural");function Qt(e){if(!e)return"";let r=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],n=e[e.length-1];return e+(r.includes(n)?"\u0576":"\u0568")}s(Qt,"withDefiniteArticle");var Px=s(()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},i={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${t.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${o}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`}case"invalid_value":return t.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${T(t.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);if(a){let c=Number(t.maximum),l=tm(c,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qt(t.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${t.maximum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qt(t.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);if(a){let c=Number(t.minimum),l=tm(c,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qt(t.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${t.minimum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qt(t.origin)} \u056C\u056B\u0576\u056B ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${o.prefix}"-\u0578\u057E`:o.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${o.suffix}"-\u0578\u057E`:o.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${o.includes}"`:o.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${o.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${n[o.format]??t.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${t.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${t.keys.length>1?"\u0576\u0565\u0580":""}. ${v(t.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${Qt(t.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${Qt(t.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}},"error");function Zc(){return{localeError:Px()}}s(Zc,"default");var bx=s(()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${c}`:`Input tidak valid: diharapkan ${o}, diterima ${c}`}case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${T(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${o}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Terlalu kecil: diharapkan ${t.origin} memiliki ${o}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${n[o.format]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}},"error");function Fc(){return{localeError:bx()}}s(Fc,"default");var Ex=s(()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"n\xFAmer",array:"fylki"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera instanceof ${t.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera ${o}`}case"invalid_value":return t.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${T(t.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${t.origin??"gildi"} hafi ${o}${t.maximum.toString()} ${a.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${t.origin??"gildi"} s\xE9 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${t.origin} hafi ${o}${t.minimum.toString()} ${a.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${t.origin} s\xE9 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${o.prefix}"`:o.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${o.suffix}"`:o.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${o.includes}"`:o.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${o.pattern}`:`Rangt ${n[o.format]??t.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${t.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${t.keys.length>1?"ir lyklar":"ur lykill"}: ${v(t.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${t.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${t.origin}`;default:return"Rangt gildi"}}},"error");function Bc(){return{localeError:Ex()}}s(Bc,"default");var Ix=s(()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input non valido: atteso instanceof ${t.expected}, ricevuto ${c}`:`Input non valido: atteso ${o}, ricevuto ${c}`}case"invalid_value":return t.values.length===1?`Input non valido: atteso ${T(t.values[0])}`:`Opzione non valida: atteso uno tra ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Troppo grande: ${t.origin??"valore"} deve avere ${o}${t.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Troppo piccolo: ${t.origin} deve avere ${o}${t.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${t.origin} deve essere ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Invalid ${n[o.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${v(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}},"error");function Vc(){return{localeError:Ix()}}s(Vc,"default");var Tx=s(()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},i={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${t.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${o}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return t.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${T(t.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${v(t.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let o=t.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",a=r(t.origin);return a?`\u5927\u304D\u3059\u304E\u308B\u5024: ${t.origin??"\u5024"}\u306F${t.maximum.toString()}${a.unit??"\u8981\u7D20"}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${t.origin??"\u5024"}\u306F${t.maximum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let o=t.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",a=r(t.origin);return a?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${t.origin}\u306F${t.minimum.toString()}${a.unit}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${t.origin}\u306F${t.minimum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${o.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${n[o.format]??t.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${t.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${t.keys.length>1?"\u7FA4":""}: ${v(t.keys,"\u3001")}`;case"invalid_key":return`${t.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${t.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}},"error");function Hc(){return{localeError:Tx()}}s(Hc,"default");var Sx=s(()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},i={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${t.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`}case"invalid_value":return t.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${T(t.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${v(t.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${t.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${t.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${t.origin} \u10D8\u10E7\u10DD\u10E1 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.prefix}"-\u10D8\u10D7`:o.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.suffix}"-\u10D8\u10D7`:o.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${o.includes}"-\u10E1`:o.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${o.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${n[o.format]??t.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${t.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${t.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${v(t.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${t.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${t.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}},"error");function Gc(){return{localeError:Sx()}}s(Gc,"default");var $x=s(()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},i={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${t.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`}case"invalid_value":return t.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${T(t.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${t.maximum.toString()} ${a.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin} ${o} ${t.minimum.toString()} ${a.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin} ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${o.prefix}"`:o.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${o.suffix}"`:o.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${o.includes}"`:o.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${o.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${n[o.format]??t.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${t.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${v(t.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${t.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${t.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}},"error");function Qr(){return{localeError:$x()}}s(Qr,"default");function Wc(){return Qr()}s(Wc,"default");var Ax=s(()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${t.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${o}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`}case"invalid_value":return t.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${T(t.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${v(t.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let o=t.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",a=o==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=r(t.origin),l=c?.unit??"\uC694\uC18C";return c?`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${t.maximum.toString()}${l} ${o}${a}`:`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${t.maximum.toString()} ${o}${a}`}case"too_small":{let o=t.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",a=o==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=r(t.origin),l=c?.unit??"\uC694\uC18C";return c?`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${t.minimum.toString()}${l} ${o}${a}`:`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${t.minimum.toString()} ${o}${a}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:o.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${o.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${n[o.format]??t.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${t.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${v(t.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${t.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${t.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}},"error");function qc(){return{localeError:Ax()}}s(qc,"default");var en=s(e=>e.charAt(0).toUpperCase()+e.slice(1),"capitalizeFirstCharacter");function rm(e){let r=Math.abs(e),n=r%10,i=r%100;return i>=11&&i<=19||n===0?"many":n===1?"one":"few"}s(rm,"getUnitTypeFromNumber");var zx=s(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function r(t,o,a,c){let l=e[t]??null;return l===null?l:{unit:l.unit[o],verb:l.verb[c][a?"inclusive":"notInclusive"]}}s(r,"getSizing");let n={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},i={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Gautas tipas ${c}, o tik\u0117tasi - instanceof ${t.expected}`:`Gautas tipas ${c}, o tik\u0117tasi - ${o}`}case"invalid_value":return t.values.length===1?`Privalo b\u016Bti ${T(t.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${v(t.values,"|")} pasirinkim\u0173`;case"too_big":{let o=i[t.origin]??t.origin,a=r(t.origin,rm(Number(t.maximum)),t.inclusive??!1,"smaller");if(a?.verb)return`${en(o??t.origin??"reik\u0161m\u0117")} ${a.verb} ${t.maximum.toString()} ${a.unit??"element\u0173"}`;let c=t.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${en(o??t.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${t.maximum.toString()} ${a?.unit}`}case"too_small":{let o=i[t.origin]??t.origin,a=r(t.origin,rm(Number(t.minimum)),t.inclusive??!1,"bigger");if(a?.verb)return`${en(o??t.origin??"reik\u0161m\u0117")} ${a.verb} ${t.minimum.toString()} ${a.unit??"element\u0173"}`;let c=t.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${en(o??t.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${t.minimum.toString()} ${a?.unit}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${o.prefix}"`:o.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${o.includes}"`:o.format==="regex"?`Eilut\u0117 privalo atitikti ${o.pattern}`:`Neteisingas ${n[o.format]??t.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${t.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${t.keys.length>1?"i":"as"} rakt${t.keys.length>1?"ai":"as"}: ${v(t.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let o=i[t.origin]??t.origin;return`${en(o??t.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}},"error");function Jc(){return{localeError:zx()}}s(Jc,"default");var Ox=s(()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},i={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${t.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${T(t.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${o}${t.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin} \u0434\u0430 \u0438\u043C\u0430 ${o}${t.minimum.toString()} ${a.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${o.pattern}`:`Invalid ${n[o.format]??t.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${v(t.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${t.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${t.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}},"error");function Kc(){return{localeError:Ox()}}s(Kc,"default");var kx=s(()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak sah: dijangka instanceof ${t.expected}, diterima ${c}`:`Input tidak sah: dijangka ${o}, diterima ${c}`}case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${T(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Terlalu besar: dijangka ${t.origin??"nilai"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Terlalu kecil: dijangka ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${n[o.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${v(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}},"error");function Xc(){return{localeError:kx()}}s(Xc,"default");var Rx=s(()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${c}`:`Ongeldige invoer: verwacht ${o}, ontving ${c}`}case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${T(t.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin),c=t.origin==="date"?"laat":t.origin==="string"?"lang":"groot";return a?`Te ${c}: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${c}: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} is`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin),c=t.origin==="date"?"vroeg":t.origin==="string"?"kort":"klein";return a?`Te ${c}: verwacht dat ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${c}: verwacht dat ${t.origin} ${o}${t.minimum.toString()} is`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${n[o.format]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}},"error");function Yc(){return{localeError:Rx()}}s(Yc,"default");var wx=s(()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventet instanceof ${t.expected}, fikk ${c}`:`Ugyldig input: forventet ${o}, fikk ${c}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${T(t.values[0])}`:`Ugyldig valg: forventet en av ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`For stor(t): forventet ${t.origin??"value"} til \xE5 ha ${o}${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til \xE5 ha ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`For lite(n): forventet ${t.origin} til \xE5 ha ${o}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${t.origin} til \xE5 ha ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}},"error");function Qc(){return{localeError:wx()}}s(Qc,"default");var Nx=s(()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`F\xE2sit giren: umulan instanceof ${t.expected}, al\u0131nan ${c}`:`F\xE2sit giren: umulan ${o}, al\u0131nan ${c}`}case"invalid_value":return t.values.length===1?`F\xE2sit giren: umulan ${T(t.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Fazla b\xFCy\xFCk: ${t.origin??"value"}, ${o}${t.maximum.toString()} ${a.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${t.origin??"value"}, ${o}${t.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Fazla k\xFC\xE7\xFCk: ${t.origin}, ${o}${t.minimum.toString()} ${a.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${t.origin}, ${o}${t.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let o=t;return o.format==="starts_with"?`F\xE2sit metin: "${o.prefix}" ile ba\u015Flamal\u0131.`:o.format==="ends_with"?`F\xE2sit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`F\xE2sit metin: "${o.includes}" ihtiv\xE2 etmeli.`:o.format==="regex"?`F\xE2sit metin: ${o.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${n[o.format]??t.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${t.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${t.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}},"error");function eu(){return{localeError:Nx()}}s(eu,"default");var Dx=s(()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${t.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${o} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return t.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${T(t.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${v(t.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${t.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${t.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} \u0648\u064A`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} ${a.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} \u0648\u064A`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:o.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:o.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${o.includes}" \u0648\u0644\u0631\u064A`:o.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${o.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${n[o.format]??t.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${t.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${t.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${v(t.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${t.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${t.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}},"error");function tu(){return{localeError:Dx()}}s(tu,"default");var Cx=s(()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},i={nan:"NaN",number:"liczba",array:"tablica"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${t.expected}, otrzymano ${c}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${o}, otrzymano ${c}`}case"invalid_value":return t.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${T(t.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${t.maximum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${t.minimum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${o.prefix}"`:o.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${o.suffix}"`:o.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${o.includes}"`:o.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${o.pattern}`:`Nieprawid\u0142ow(y/a/e) ${n[o.format]??t.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${t.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${t.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}},"error");function ru(){return{localeError:Cx()}}s(ru,"default");var Ux=s(()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",number:"n\xFAmero",null:"nulo"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Tipo inv\xE1lido: esperado instanceof ${t.expected}, recebido ${c}`:`Tipo inv\xE1lido: esperado ${o}, recebido ${c}`}case"invalid_value":return t.values.length===1?`Entrada inv\xE1lida: esperado ${T(t.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${o}${t.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Muito pequeno: esperado que ${t.origin} tivesse ${o}${t.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${o.prefix}"`:o.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inv\xE1lido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${o.pattern}`:`${n[o.format]??t.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${t.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${t.origin}`;default:return"Campo inv\xE1lido"}}},"error");function nu(){return{localeError:Ux()}}s(nu,"default");function nm(e,r,n,i){let t=Math.abs(e),o=t%10,a=t%100;return a>=11&&a<=19?i:o===1?r:o>=2&&o<=4?n:i}s(nm,"getRussianPlural");var Mx=s(()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${t.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`}case"invalid_value":return t.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${T(t.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);if(a){let c=Number(t.maximum),l=nm(c,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${t.maximum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);if(a){let c=Number(t.minimum),l=nm(c,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${t.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${t.minimum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${t.origin} \u0431\u0443\u0434\u0435\u0442 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${n[o.format]??t.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${t.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${t.keys.length>1?"\u0438":""}: ${v(t.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${t.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${t.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}},"error");function ou(){return{localeError:Mx()}}s(ou,"default");var Lx=s(()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${t.expected}, prejeto ${c}`:`Neveljaven vnos: pri\u010Dakovano ${o}, prejeto ${c}`}case"invalid_value":return t.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${T(t.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Preveliko: pri\u010Dakovano, da bo ${t.origin??"vrednost"} imelo ${o}${t.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${t.origin??"vrednost"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Premajhno: pri\u010Dakovano, da bo ${t.origin} imelo ${o}${t.minimum.toString()} ${a.unit}`:`Premajhno: pri\u010Dakovano, da bo ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${n[o.format]??t.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${v(t.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}},"error");function iu(){return{localeError:Lx()}}s(iu,"default");var jx=s(()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${t.expected}, fick ${c}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${o}, fick ${c}`}case"invalid_value":return t.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${T(t.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`F\xF6r stor(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.maximum.toString()} ${a.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${t.origin??"v\xE4rdet"} att ha ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`F\xF6r lite(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.minimum.toString()} ${a.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${o.includes}"`:o.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${o.pattern}"`:`Ogiltig(t) ${n[o.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${t.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}},"error");function au(){return{localeError:jx()}}s(au,"default");var Zx=s(()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${t.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`}case"invalid_value":return t.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${T(t.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${v(t.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${t.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${t.maximum.toString()} ${a.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${t.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${t.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${t.origin} ${o}${t.minimum.toString()} ${a.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${t.origin} ${o}${t.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${o.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${n[o.format]??t.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${t.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${t.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${t.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}},"error");function su(){return{localeError:Zx()}}s(su,"default");var Fx=s(()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},i={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${t.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${o} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`}case"invalid_value":return t.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${T(t.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",a=r(t.origin);return a?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.maximum.toString()} ${a.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",a=r(t.origin);return a?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.minimum.toString()} ${a.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${o.prefix}"`:o.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${o.suffix}"`:o.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${o.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:o.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${o.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${n[o.format]??t.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${t.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${v(t.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${t.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${t.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}},"error");function cu(){return{localeError:Fx()}}s(cu,"default");var Bx=s(()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${t.expected}, al\u0131nan ${c}`:`Ge\xE7ersiz de\u011Fer: beklenen ${o}, al\u0131nan ${c}`}case"invalid_value":return t.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${T(t.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\xC7ok b\xFCy\xFCk: beklenen ${t.origin??"de\u011Fer"} ${o}${t.maximum.toString()} ${a.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${t.origin??"de\u011Fer"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\xC7ok k\xFC\xE7\xFCk: beklenen ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Ge\xE7ersiz metin: "${o.prefix}" ile ba\u015Flamal\u0131`:o.format==="ends_with"?`Ge\xE7ersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Ge\xE7ersiz metin: "${o.includes}" i\xE7ermeli`:o.format==="regex"?`Ge\xE7ersiz metin: ${o.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${n[o.format]??t.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${t.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${t.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}},"error");function uu(){return{localeError:Bx()}}s(uu,"default");var Vx=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${t.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${o}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`}case"invalid_value":return t.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${T(t.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin} \u0431\u0443\u0434\u0435 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${n[o.format]??t.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${t.keys.length>1?"\u0456":""}: ${v(t.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${t.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${t.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}},"error");function tn(){return{localeError:Vx()}}s(tn,"default");function pu(){return tn()}s(pu,"default");var Hx=s(()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},i={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${t.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${o} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return t.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${T(t.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${v(t.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${t.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${o}${t.maximum.toString()} ${a.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${t.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${o}${t.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${t.origin} \u06A9\u06D2 ${o}${t.minimum.toString()} ${a.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${t.origin} \u06A9\u0627 ${o}${t.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${o.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${n[o.format]??t.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${t.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${t.keys.length>1?"\u0632":""}: ${v(t.keys,"\u060C ")}`;case"invalid_key":return`${t.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${t.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}},"error");function lu(){return{localeError:Hx()}}s(lu,"default");var Gx=s(()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${c}`:`Noto\u2018g\u2018ri kirish: kutilgan ${o}, qabul qilingan ${c}`}case"invalid_value":return t.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${T(t.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Juda katta: kutilgan ${t.origin??"qiymat"} ${o}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${t.origin??"qiymat"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Juda kichik: kutilgan ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto\u2018g\u2018ri satr: "${o.includes}" ni o\u2018z ichiga olishi kerak`:o.format==="regex"?`Noto\u2018g\u2018ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${n[o.format]??t.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${t.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${t.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}},"error");function du(){return{localeError:Gx()}}s(du,"default");var Wx=s(()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},i={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${t.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${o}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`}case"invalid_value":return t.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${T(t.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${t.origin??"gi\xE1 tr\u1ECB"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${t.origin??"gi\xE1 tr\u1ECB"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${o.prefix}"`:o.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${o.suffix}"`:o.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${o.includes}"`:o.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${o.pattern}`:`${n[o.format]??t.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${t.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${v(t.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${t.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${t.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}},"error");function mu(){return{localeError:Wx()}}s(mu,"default");var qx=s(()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},i={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${t.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${o}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`}case"invalid_value":return t.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${T(t.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${t.origin??"\u503C"} ${o}${t.maximum.toString()} ${a.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${t.origin??"\u503C"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.prefix}" \u5F00\u5934`:o.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.suffix}" \u7ED3\u5C3E`:o.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${o.pattern}`:`\u65E0\u6548${n[o.format]??t.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${t.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${t.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}},"error");function fu(){return{localeError:qx()}}s(fu,"default");var Jx=s(()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${t.expected}\uFF0C\u4F46\u6536\u5230 ${c}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${o}\uFF0C\u4F46\u6536\u5230 ${c}`}case"invalid_value":return t.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${T(t.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${t.origin??"\u503C"} \u61C9\u70BA ${o}${t.maximum.toString()} ${a.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${t.origin??"\u503C"} \u61C9\u70BA ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${t.origin} \u61C9\u70BA ${o}${t.minimum.toString()} ${a.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${t.origin} \u61C9\u70BA ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.prefix}" \u958B\u982D`:o.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.suffix}" \u7D50\u5C3E`:o.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${o.pattern}`:`\u7121\u6548\u7684 ${n[o.format]??t.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${t.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${t.keys.length>1?"\u5011":""}\uFF1A${v(t.keys,"\u3001")}`;case"invalid_key":return`${t.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${t.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}},"error");function gu(){return{localeError:Jx()}}s(gu,"default");var Kx=s(()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function r(t){return e[t]??null}s(r,"getSizing");let n={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},i={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return t=>{switch(t.code){case"invalid_type":{let o=i[t.expected]??t.expected,a=$(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${t.expected}, \xE0m\u1ECD\u0300 a r\xED ${c}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${o}, \xE0m\u1ECD\u0300 a r\xED ${c}`}case"invalid_value":return t.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${T(t.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${v(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",a=r(t.origin);return a?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${t.origin??"iye"} ${a.verb} ${o}${t.maximum} ${a.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${t.maximum}`}case"too_small":{let o=t.inclusive?">=":">",a=r(t.origin);return a?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${t.origin} ${a.verb} ${o}${t.minimum} ${a.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${t.minimum}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${o.prefix}"`:o.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${o.suffix}"`:o.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${o.includes}"`:o.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${o.pattern}`:`A\u1E63\xEC\u1E63e: ${n[o.format]??t.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${t.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${v(t.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${t.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${t.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}},"error");function yu(){return{localeError:Kx()}}s(yu,"default");var om,Mi=Symbol("ZodOutput"),Li=Symbol("ZodInput"),Ui=class{static{s(this,"$ZodRegistry")}constructor(){this._map=new WeakMap,this._idmap=new Map}add(r,...n){let i=n[0];return this._map.set(r,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,r),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(r){let n=this._map.get(r);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(r),this}get(r){let n=r._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let t={...i,...this._map.get(r)};return Object.keys(t).length?t:void 0}return this._map.get(r)}has(r){return this._map.has(r)}};function rn(){return new Ui}s(rn,"registry");(om=globalThis).__zod_globalRegistry??(om.__zod_globalRegistry=rn());var ce=globalThis.__zod_globalRegistry;function nn(e,r){return new e({type:"string",...I(r)})}s(nn,"_string");function on(e,r){return new e({type:"string",coerce:!0,...I(r)})}s(on,"_coercedString");function an(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...I(r)})}s(an,"_email");function tr(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...I(r)})}s(tr,"_guid");function sn(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...I(r)})}s(sn,"_uuid");function cn(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...I(r)})}s(cn,"_uuidv4");function un(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...I(r)})}s(un,"_uuidv6");function pn(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...I(r)})}s(pn,"_uuidv7");function vt(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...I(r)})}s(vt,"_url");function ln(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...I(r)})}s(ln,"_emoji");function dn(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...I(r)})}s(dn,"_nanoid");function mn(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...I(r)})}s(mn,"_cuid");function fn(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...I(r)})}s(fn,"_cuid2");function gn(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...I(r)})}s(gn,"_ulid");function yn(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...I(r)})}s(yn,"_xid");function hn(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...I(r)})}s(hn,"_ksuid");function vn(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...I(r)})}s(vn,"_ipv4");function xn(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...I(r)})}s(xn,"_ipv6");function ji(e,r){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...I(r)})}s(ji,"_mac");function _n(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...I(r)})}s(_n,"_cidrv4");function Pn(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...I(r)})}s(Pn,"_cidrv6");function bn(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...I(r)})}s(bn,"_base64");function En(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...I(r)})}s(En,"_base64url");function In(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...I(r)})}s(In,"_e164");function Tn(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...I(r)})}s(Tn,"_jwt");var Zi={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Fi(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...I(r)})}s(Fi,"_isoDateTime");function Bi(e,r){return new e({type:"string",format:"date",check:"string_format",...I(r)})}s(Bi,"_isoDate");function Vi(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...I(r)})}s(Vi,"_isoTime");function Hi(e,r){return new e({type:"string",format:"duration",check:"string_format",...I(r)})}s(Hi,"_isoDuration");function Sn(e,r){return new e({type:"number",checks:[],...I(r)})}s(Sn,"_number");function $n(e,r){return new e({type:"number",coerce:!0,checks:[],...I(r)})}s($n,"_coercedNumber");function An(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...I(r)})}s(An,"_int");function Gi(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...I(r)})}s(Gi,"_float32");function Wi(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...I(r)})}s(Wi,"_float64");function qi(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...I(r)})}s(qi,"_int32");function Ji(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...I(r)})}s(Ji,"_uint32");function zn(e,r){return new e({type:"boolean",...I(r)})}s(zn,"_boolean");function On(e,r){return new e({type:"boolean",coerce:!0,...I(r)})}s(On,"_coercedBoolean");function Ki(e,r){return new e({type:"bigint",...I(r)})}s(Ki,"_bigint");function kn(e,r){return new e({type:"bigint",coerce:!0,...I(r)})}s(kn,"_coercedBigint");function Xi(e,r){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...I(r)})}s(Xi,"_int64");function Yi(e,r){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...I(r)})}s(Yi,"_uint64");function Qi(e,r){return new e({type:"symbol",...I(r)})}s(Qi,"_symbol");function ea(e,r){return new e({type:"undefined",...I(r)})}s(ea,"_undefined");function ta(e,r){return new e({type:"null",...I(r)})}s(ta,"_null");function Rn(e){return new e({type:"any"})}s(Rn,"_any");function wn(e){return new e({type:"unknown"})}s(wn,"_unknown");function ra(e,r){return new e({type:"never",...I(r)})}s(ra,"_never");function Nn(e,r){return new e({type:"void",...I(r)})}s(Nn,"_void");function na(e,r){return new e({type:"date",...I(r)})}s(na,"_date");function Dn(e,r){return new e({type:"date",coerce:!0,...I(r)})}s(Dn,"_coercedDate");function oa(e,r){return new e({type:"nan",...I(r)})}s(oa,"_nan");function Oe(e,r){return new Uo({check:"less_than",...I(r),value:e,inclusive:!1})}s(Oe,"_lt");function fe(e,r){return new Uo({check:"less_than",...I(r),value:e,inclusive:!0})}s(fe,"_lte");function ke(e,r){return new Mo({check:"greater_than",...I(r),value:e,inclusive:!1})}s(ke,"_gt");function ae(e,r){return new Mo({check:"greater_than",...I(r),value:e,inclusive:!0})}s(ae,"_gte");function Cn(e){return ke(0,e)}s(Cn,"_positive");function Un(e){return Oe(0,e)}s(Un,"_negative");function Mn(e){return fe(0,e)}s(Mn,"_nonpositive");function Ln(e){return ae(0,e)}s(Ln,"_nonnegative");function Ze(e,r){return new nc({check:"multiple_of",...I(r),value:e})}s(Ze,"_multipleOf");function Fe(e,r){return new ac({check:"max_size",...I(r),maximum:e})}s(Fe,"_maxSize");function Re(e,r){return new sc({check:"min_size",...I(r),minimum:e})}s(Re,"_minSize");function et(e,r){return new cc({check:"size_equals",...I(r),size:e})}s(et,"_size");function tt(e,r){return new uc({check:"max_length",...I(r),maximum:e})}s(tt,"_maxLength");function oe(e,r){return new pc({check:"min_length",...I(r),minimum:e})}s(oe,"_minLength");function rt(e,r){return new lc({check:"length_equals",...I(r),length:e})}s(rt,"_length");function le(e,r){return new dc({check:"string_format",format:"regex",...I(r),pattern:e})}s(le,"_regex");function xt(e){return new mc({check:"string_format",format:"lowercase",...I(e)})}s(xt,"_lowercase");function _t(e){return new fc({check:"string_format",format:"uppercase",...I(e)})}s(_t,"_uppercase");function Pt(e,r){return new gc({check:"string_format",format:"includes",...I(r),includes:e})}s(Pt,"_includes");function bt(e,r){return new yc({check:"string_format",format:"starts_with",...I(r),prefix:e})}s(bt,"_startsWith");function Et(e,r){return new hc({check:"string_format",format:"ends_with",...I(r),suffix:e})}s(Et,"_endsWith");function jn(e,r,n){return new vc({check:"property",property:e,schema:r,...I(n)})}s(jn,"_property");function It(e,r){return new xc({check:"mime_type",mime:e,...I(r)})}s(It,"_mime");function Se(e){return new _c({check:"overwrite",tx:e})}s(Se,"_overwrite");function Tt(e){return Se(r=>r.normalize(e))}s(Tt,"_normalize");function St(){return Se(e=>e.trim())}s(St,"_trim");function $t(){return Se(e=>e.toLowerCase())}s($t,"_toLowerCase");function At(){return Se(e=>e.toUpperCase())}s(At,"_toUpperCase");function rr(){return Se(e=>Es(e))}s(rr,"_slugify");function hu(e,r,n){return new e({type:"array",element:r,...I(n)})}s(hu,"_array");function Yx(e,r,n){return new e({type:"union",options:r,...I(n)})}s(Yx,"_union");function Qx(e,r,n){return new e({type:"union",options:r,inclusive:!1,...I(n)})}s(Qx,"_xor");function e_(e,r,n,i){return new e({type:"union",options:n,discriminator:r,...I(i)})}s(e_,"_discriminatedUnion");function t_(e,r,n){return new e({type:"intersection",left:r,right:n})}s(t_,"_intersection");function r_(e,r,n,i){let t=n instanceof N,o=t?i:n,a=t?n:null;return new e({type:"tuple",items:r,rest:a,...I(o)})}s(r_,"_tuple");function n_(e,r,n,i){return new e({type:"record",keyType:r,valueType:n,...I(i)})}s(n_,"_record");function o_(e,r,n,i){return new e({type:"map",keyType:r,valueType:n,...I(i)})}s(o_,"_map");function i_(e,r,n){return new e({type:"set",valueType:r,...I(n)})}s(i_,"_set");function a_(e,r,n){let i=Array.isArray(r)?Object.fromEntries(r.map(t=>[t,t])):r;return new e({type:"enum",entries:i,...I(n)})}s(a_,"_enum");function s_(e,r,n){return new e({type:"enum",entries:r,...I(n)})}s(s_,"_nativeEnum");function c_(e,r,n){return new e({type:"literal",values:Array.isArray(r)?r:[r],...I(n)})}s(c_,"_literal");function ia(e,r){return new e({type:"file",...I(r)})}s(ia,"_file");function u_(e,r){return new e({type:"transform",transform:r})}s(u_,"_transform");function p_(e,r){return new e({type:"optional",innerType:r})}s(p_,"_optional");function l_(e,r){return new e({type:"nullable",innerType:r})}s(l_,"_nullable");function d_(e,r,n){return new e({type:"default",innerType:r,get defaultValue(){return typeof n=="function"?n():Io(n)}})}s(d_,"_default");function m_(e,r,n){return new e({type:"nonoptional",innerType:r,...I(n)})}s(m_,"_nonoptional");function f_(e,r){return new e({type:"success",innerType:r})}s(f_,"_success");function g_(e,r,n){return new e({type:"catch",innerType:r,catchValue:typeof n=="function"?n:()=>n})}s(g_,"_catch");function y_(e,r,n){return new e({type:"pipe",in:r,out:n})}s(y_,"_pipe");function h_(e,r){return new e({type:"readonly",innerType:r})}s(h_,"_readonly");function v_(e,r,n){return new e({type:"template_literal",parts:r,...I(n)})}s(v_,"_templateLiteral");function x_(e,r){return new e({type:"lazy",getter:r})}s(x_,"_lazy");function __(e,r){return new e({type:"promise",innerType:r})}s(__,"_promise");function Zn(e,r,n){let i=I(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:r,...i})}s(Zn,"_custom");function aa(e,r,n){return new e({type:"custom",check:"custom",fn:r,...I(n)})}s(aa,"_refine");function sa(e){let r=im(n=>(n.addIssue=i=>{if(typeof i=="string")n.issues.push(Lt(i,n.value,r._zod.def));else{let t=i;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=n.value),t.inst??(t.inst=r),t.continue??(t.continue=!r._zod.def.abort),n.issues.push(Lt(t))}},e(n.value,n)));return r}s(sa,"_superRefine");function im(e,r){let n=new J({check:"custom",...I(r)});return n._zod.check=e,n}s(im,"_check");function ca(e){let r=new J({check:"describe"});return r._zod.onattach=[n=>{let i=ce.get(n)??{};ce.add(n,{...i,description:e})}],r._zod.check=()=>{},r}s(ca,"describe");function ua(e){let r=new J({check:"meta"});return r._zod.onattach=[n=>{let i=ce.get(n)??{};ce.add(n,{...i,...e})}],r._zod.check=()=>{},r}s(ua,"meta");function pa(e,r){let n=I(r),i=n.truthy??["true","1","yes","on","y","enabled"],t=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(i=i.map(p=>typeof p=="string"?p.toLowerCase():p),t=t.map(p=>typeof p=="string"?p.toLowerCase():p));let o=new Set(i),a=new Set(t),c=e.Codec??Yt,l=e.Boolean??yt,d=e.String??je,m=new d({type:"string",error:n.error}),b=new l({type:"boolean",error:n.error}),h=new c({type:"pipe",in:m,out:b,transform:s(((p,y)=>{let P=p;return n.case!=="sensitive"&&(P=P.toLowerCase()),o.has(P)?!0:a.has(P)?!1:(y.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:y.value,inst:h,continue:!1}),{})}),"transform"),reverseTransform:s(((p,y)=>p===!0?i[0]||"true":t[0]||"false"),"reverseTransform"),error:n.error});return h}s(pa,"_stringbool");function zt(e,r,n,i={}){let t=I(i),o={...I(i),check:"string_format",type:"string",format:r,fn:typeof n=="function"?n:c=>n.test(c),...t};return n instanceof RegExp&&(o.pattern=n),new e(o)}s(zt,"_stringFormat");function nt(e){let r=e?.target??"draft-2020-12";return r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ce,target:r,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}s(nt,"initializeContext");function q(e,r,n={path:[],schemaPath:[]}){var i;let t=e._zod.def,o=r.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};r.seen.set(e,a);let c=e._zod.toJSONSchema?.();if(c)a.schema=c;else{let m={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(r,a.schema,m);else{let h=a.schema,p=r.processors[t.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);p(e,r,h,m)}let b=e._zod.parent;b&&(a.ref||(a.ref=b),q(b,r,m),r.seen.get(b).isParent=!0)}let l=r.metadataRegistry.get(e);return l&&Object.assign(a.schema,l),r.io==="input"&&ge(e)&&(delete a.schema.examples,delete a.schema.default),r.io==="input"&&a.schema._prefault&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,r.seen.get(e).schema}s(q,"process");function ot(e,r){let n=e.seen.get(r);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let a of e.seen.entries()){let c=e.metadataRegistry.get(a[0])?.id;if(c){let l=i.get(c);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(c,a[0])}}let t=s(a=>{let c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let b=e.external.registry.get(a[0])?.id,h=e.external.uri??(y=>y);if(b)return{ref:h(b)};let p=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=p,{defId:p,ref:`${h("__shared")}#/${c}/${p}`}}if(a[1]===n)return{ref:"#"};let d=`#/${c}/`,m=a[1].schema.id??`__schema${e.counter++}`;return{defId:m,ref:d+m}},"makeURI"),o=s(a=>{if(a[1].schema.$ref)return;let c=a[1],{ref:l,defId:d}=t(a);c.def={...c.schema},d&&(c.defId=d);let m=c.schema;for(let b in m)delete m[b];m.$ref=l},"extractToDef");if(e.cycles==="throw")for(let a of e.seen.entries()){let c=a[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
|
|
39
|
+
`)}p.write("payload.value = newResult;"),p.write("return payload;");let O=p.compile();return(L,ie)=>O(I,L,ie)},"generateFastpass"),a,i=Dt,l=!Yo.jitless,m=l&&bl.value,b=t.catchall,x;e._zod.parse=(I,p)=>{x??(x=n.value);let v=I.value;return i(v)?l&&m&&p?.async===!1&&p.jitless!==!0?(a||(a=o(t.shape)),I=a(I,p),b?my([],v,I,p,x,e):I):r(I,p):(I.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),I)}});function Qp(e,t,r,n){for(let a of e)if(a.issues.length===0)return t.value=a.value,t;let o=e.filter(a=>!ht(a));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(a=>a.issues.map(i=>Te(i,n,de())))}),t)}s(Qp,"handleUnionResults");var $t=k("$ZodUnion",(e,t)=>{H.init(e,t),X(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),X(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),X(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),X(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){let o=t.options.map(a=>a._zod.pattern);return new RegExp(`^(${o.map(a=>or(a.source)).join("|")})$`)}});let r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(o,a)=>{if(r)return n(o,a);let i=!1,l=[];for(let d of t.options){let m=d._zod.run({value:o.value,issues:[]},a);if(m instanceof Promise)l.push(m),i=!0;else{if(m.issues.length===0)return m;l.push(m)}}return i?Promise.all(l).then(d=>Qp(d,o,e,a)):Qp(l,o,e,a)}});function ey(e,t,r,n){let o=e.filter(a=>a.issues.length===0);return o.length===1?(t.value=o[0].value,t):(o.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(a=>a.issues.map(i=>Te(i,n,de())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t)}s(ey,"handleExclusiveUnionResults");var ti=k("$ZodXor",(e,t)=>{$t.init(e,t),t.inclusive=!1;let r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(o,a)=>{if(r)return n(o,a);let i=!1,l=[];for(let d of t.options){let m=d._zod.run({value:o.value,issues:[]},a);m instanceof Promise?(l.push(m),i=!0):l.push(m)}return i?Promise.all(l).then(d=>ey(d,o,e,a)):ey(l,o,e,a)}}),vr=k("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,$t.init(e,t);let r=e._zod.parse;X(e._zod,"propValues",()=>{let o={};for(let a of t.options){let i=a._zod.propValues;if(!i||Object.keys(i).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let[l,d]of Object.entries(i)){o[l]||(o[l]=new Set);for(let m of d)o[l].add(m)}}return o});let n=no(()=>{let o=t.options,a=new Map;for(let i of o){let l=i._zod.propValues?.[t.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(let d of l){if(a.has(d))throw new Error(`Duplicate discriminator value "${String(d)}"`);a.set(d,i)}}return a});e._zod.parse=(o,a)=>{let i=o.value;if(!Dt(i))return o.issues.push({code:"invalid_type",expected:"object",input:i,inst:e}),o;let l=n.value.get(i?.[t.discriminator]);return l?l._zod.run(o,a):t.unionFallback?r(o,a):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:i,path:[t.discriminator],inst:e}),o)}}),oi=k("$ZodIntersection",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value,a=t.left._zod.run({value:o,issues:[]},n),i=t.right._zod.run({value:o,issues:[]},n);return a instanceof Promise||i instanceof Promise?Promise.all([a,i]).then(([d,m])=>ty(r,d,m)):ty(r,a,i)}});function _c(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(ft(e)&&ft(t)){let r=Object.keys(t),n=Object.keys(e).filter(a=>r.indexOf(a)!==-1),o={...e,...t};for(let a of n){let i=_c(e[a],t[a]);if(!i.valid)return{valid:!1,mergeErrorPath:[a,...i.mergeErrorPath]};o[a]=i.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let o=e[n],a=t[n],i=_c(o,a);if(!i.valid)return{valid:!1,mergeErrorPath:[n,...i.mergeErrorPath]};r.push(i.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}s(_c,"mergeValues");function ty(e,t,r){let n=new Map,o;for(let l of t.issues)if(l.code==="unrecognized_keys"){o??(o=l);for(let d of l.keys)n.has(d)||n.set(d,{}),n.get(d).l=!0}else e.issues.push(l);for(let l of r.issues)if(l.code==="unrecognized_keys")for(let d of l.keys)n.has(d)||n.set(d,{}),n.get(d).r=!0;else e.issues.push(l);let a=[...n].filter(([,l])=>l.l&&l.r).map(([l])=>l);if(a.length&&o&&e.issues.push({...o,keys:a}),ht(e))return e;let i=_c(t.value,r.value);if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}s(ty,"handleIntersectionResults");var Ir=k("$ZodTuple",(e,t)=>{H.init(e,t);let r=t.items;e._zod.parse=(n,o)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];let i=[],l=[...r].reverse().findIndex(b=>b._zod.optin!=="optional"),d=l===-1?0:r.length-l;if(!t.rest){let b=a.length>r.length,x=a.length<d-1;if(b||x)return n.issues.push({...b?{code:"too_big",maximum:r.length,inclusive:!0}:{code:"too_small",minimum:r.length},input:a,inst:e,origin:"array"}),n}let m=-1;for(let b of r){if(m++,m>=a.length&&m>=d)continue;let x=b._zod.run({value:a[m],issues:[]},o);x instanceof Promise?i.push(x.then(I=>za(I,n,m))):za(x,n,m)}if(t.rest){let b=a.slice(r.length);for(let x of b){m++;let I=t.rest._zod.run({value:x,issues:[]},o);I instanceof Promise?i.push(I.then(p=>za(p,n,m))):za(I,n,m)}}return i.length?Promise.all(i).then(()=>n):n}});function za(e,t,r){e.issues.length&&t.issues.push(...Re(r,e.issues)),t.value[r]=e.value}s(za,"handleTupleResult");var Pr=k("$ZodRecord",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;if(!ft(o))return r.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),r;let a=[],i=t.keyType._zod.values;if(i){r.value={};let l=new Set;for(let m of i)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){l.add(typeof m=="number"?m.toString():m);let b=t.valueType._zod.run({value:o[m],issues:[]},n);b instanceof Promise?a.push(b.then(x=>{x.issues.length&&r.issues.push(...Re(m,x.issues)),r.value[m]=x.value})):(b.issues.length&&r.issues.push(...Re(m,b.issues)),r.value[m]=b.value)}let d;for(let m in o)l.has(m)||(d=d??[],d.push(m));d&&d.length>0&&r.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:d})}else{r.value={};for(let l of Reflect.ownKeys(o)){if(l==="__proto__")continue;let d=t.keyType._zod.run({value:l,issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof l=="string"&&va.test(l)&&d.issues.length){let x=t.keyType._zod.run({value:Number(l),issues:[]},n);if(x instanceof Promise)throw new Error("Async schemas not supported in object keys currently");x.issues.length===0&&(d=x)}if(d.issues.length){t.mode==="loose"?r.value[l]=o[l]:r.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(x=>Te(x,n,de())),input:l,path:[l],inst:e});continue}let b=t.valueType._zod.run({value:o[l],issues:[]},n);b instanceof Promise?a.push(b.then(x=>{x.issues.length&&r.issues.push(...Re(l,x.issues)),r.value[d.value]=x.value})):(b.issues.length&&r.issues.push(...Re(l,b.issues)),r.value[d.value]=b.value)}}return a.length?Promise.all(a).then(()=>r):r}}),ri=k("$ZodMap",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;if(!(o instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:o,inst:e}),r;let a=[];r.value=new Map;for(let[i,l]of o){let d=t.keyType._zod.run({value:i,issues:[]},n),m=t.valueType._zod.run({value:l,issues:[]},n);d instanceof Promise||m instanceof Promise?a.push(Promise.all([d,m]).then(([b,x])=>{oy(b,x,r,i,o,e,n)})):oy(d,m,r,i,o,e,n)}return a.length?Promise.all(a).then(()=>r):r}});function oy(e,t,r,n,o,a,i){e.issues.length&&(rr.has(typeof n)?r.issues.push(...Re(n,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:o,inst:a,issues:e.issues.map(l=>Te(l,i,de()))})),t.issues.length&&(rr.has(typeof n)?r.issues.push(...Re(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:o,inst:a,key:n,issues:t.issues.map(l=>Te(l,i,de()))})),r.value.set(e.value,t.value)}s(oy,"handleMapResult");var ni=k("$ZodSet",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;if(!(o instanceof Set))return r.issues.push({input:o,inst:e,expected:"set",code:"invalid_type"}),r;let a=[];r.value=new Set;for(let i of o){let l=t.valueType._zod.run({value:i,issues:[]},n);l instanceof Promise?a.push(l.then(d=>ry(d,r))):ry(l,r)}return a.length?Promise.all(a).then(()=>r):r}});function ry(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}s(ry,"handleSetResult");var zr=k("$ZodEnum",(e,t)=>{H.init(e,t);let r=tr(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(o=>rr.has(typeof o)).map(o=>typeof o=="string"?Le(o):o.toString()).join("|")})$`),e._zod.parse=(o,a)=>{let i=o.value;return n.has(i)||o.issues.push({code:"invalid_value",values:r,input:i,inst:e}),o}}),xr=k("$ZodLiteral",(e,t)=>{if(H.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?Le(n):n?Le(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,o)=>{let a=n.value;return r.has(a)||n.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),n}}),ai=k("$ZodFile",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return o instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:o,inst:e}),r}}),Ar=k("$ZodTransform",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new mt(e.constructor.name);let o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(i=>(r.value=i,r));if(o instanceof Promise)throw new Ze;return r.value=o,r}});function ny(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}s(ny,"handleOptionalResult");var go=k("$ZodOptional",(e,t)=>{H.init(e,t),e._zod.optin="optional",e._zod.optout="optional",X(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),X(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${or(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(a=>ny(a,r.value)):ny(o,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}}),ii=k("$ZodExactOptional",(e,t)=>{go.init(e,t),X(e._zod,"values",()=>t.innerType._zod.values),X(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),Sr=k("$ZodNullable",(e,t)=>{H.init(e,t),X(e._zod,"optin",()=>t.innerType._zod.optin),X(e._zod,"optout",()=>t.innerType._zod.optout),X(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${or(r.source)}|null)$`):void 0}),X(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),si=k("$ZodDefault",(e,t)=>{H.init(e,t),e._zod.optin="optional",X(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(a=>ay(a,t)):ay(o,t)}});function ay(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}s(ay,"handleDefaultResult");var li=k("$ZodPrefault",(e,t)=>{H.init(e,t),e._zod.optin="optional",X(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),ci=k("$ZodNonOptional",(e,t)=>{H.init(e,t),X(e._zod,"values",()=>{let r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(a=>iy(a,e)):iy(o,e)}});function iy(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}s(iy,"handleNonOptionalResult");var ui=k("$ZodSuccess",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new mt("ZodSuccess");let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(a=>(r.value=a.issues.length===0,r)):(r.value=o.issues.length===0,r)}}),di=k("$ZodCatch",(e,t)=>{H.init(e,t),X(e._zod,"optin",()=>t.innerType._zod.optin),X(e._zod,"optout",()=>t.innerType._zod.optout),X(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(a=>(r.value=a.value,a.issues.length&&(r.value=t.catchValue({...r,error:{issues:a.issues.map(i=>Te(i,n,de()))},input:r.value}),r.issues=[]),r)):(r.value=o.value,o.issues.length&&(r.value=t.catchValue({...r,error:{issues:o.issues.map(a=>Te(a,n,de()))},input:r.value}),r.issues=[]),r)}}),mi=k("$ZodNaN",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),Tr=k("$ZodPipe",(e,t)=>{H.init(e,t),X(e._zod,"values",()=>t.in._zod.values),X(e._zod,"optin",()=>t.in._zod.optin),X(e._zod,"optout",()=>t.out._zod.optout),X(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){let a=t.out._zod.run(r,n);return a instanceof Promise?a.then(i=>xa(i,t.in,n)):xa(a,t.in,n)}let o=t.in._zod.run(r,n);return o instanceof Promise?o.then(a=>xa(a,t.out,n)):xa(o,t.out,n)}});function xa(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}s(xa,"handlePipeResult");var bo=k("$ZodCodec",(e,t)=>{H.init(e,t),X(e._zod,"values",()=>t.in._zod.values),X(e._zod,"optin",()=>t.in._zod.optin),X(e._zod,"optout",()=>t.out._zod.optout),X(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if((n.direction||"forward")==="forward"){let a=t.in._zod.run(r,n);return a instanceof Promise?a.then(i=>Aa(i,t,n)):Aa(a,t,n)}else{let a=t.out._zod.run(r,n);return a instanceof Promise?a.then(i=>Aa(i,t,n)):Aa(a,t,n)}}});function Aa(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){let o=t.transform(e.value,e);return o instanceof Promise?o.then(a=>Sa(e,a,t.out,r)):Sa(e,o,t.out,r)}else{let o=t.reverseTransform(e.value,e);return o instanceof Promise?o.then(a=>Sa(e,a,t.in,r)):Sa(e,o,t.in,r)}}s(Aa,"handleCodecAResult");function Sa(e,t,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},n)}s(Sa,"handleCodecTxResult");var pi=k("$ZodReadonly",(e,t)=>{H.init(e,t),X(e._zod,"propValues",()=>t.innerType._zod.propValues),X(e._zod,"values",()=>t.innerType._zod.values),X(e._zod,"optin",()=>t.innerType?._zod?.optin),X(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(sy):sy(o)}});function sy(e){return e.value=Object.freeze(e.value),e}s(sy,"handleReadonlyResult");var yi=k("$ZodTemplateLiteral",(e,t)=>{H.init(e,t);let r=[];for(let n of t.parts)if(typeof n=="object"&&n!==null){if(!n._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);let o=n._zod.pattern instanceof RegExp?n._zod.pattern.source:n._zod.pattern;if(!o)throw new Error(`Invalid template literal part: ${n._zod.traits}`);let a=o.startsWith("^")?1:0,i=o.endsWith("$")?o.length-1:o.length;r.push(o.slice(a,i))}else if(n===null||kl.has(typeof n))r.push(Le(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(n,o)=>typeof n.value!="string"?(n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),n)}),fi=k("$ZodFunction",(e,t)=>(H.init(e,t),e._def=t,e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...n){let o=e._def.input?Ot(e._def.input,n):n,a=Reflect.apply(r,this,o);return e._def.output?Ot(e._def.output,a):a}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...n){let o=e._def.input?await Nt(e._def.input,n):n,a=await Reflect.apply(r,this,o);return e._def.output?await Nt(e._def.output,a):a}},e._zod.parse=(r,n)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let n=e.constructor;return Array.isArray(r[0])?new n({type:"function",input:new Ir({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new n({type:"function",input:r[0],output:e._def.output})},e.output=r=>{let n=e.constructor;return new n({type:"function",input:e._def.input,output:r})},e)),hi=k("$ZodPromise",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>Promise.resolve(r.value).then(o=>t.innerType._zod.run({value:o,issues:[]},n))}),_i=k("$ZodLazy",(e,t)=>{H.init(e,t),X(e._zod,"innerType",()=>t.getter()),X(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),X(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),X(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),X(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)}),Cr=k("$ZodCustom",(e,t)=>{se.init(e,t),H.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{let n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(a=>ly(a,r,n,e));ly(o,r,n,e)}});function ly(e,t,r,n){if(!e){let o={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(ao(o))}}s(ly,"handleRefineResult");var vo={};Ue(vo,{ar:()=>kc,az:()=>vc,be:()=>Ic,bg:()=>Pc,ca:()=>zc,cs:()=>xc,da:()=>Ac,de:()=>Sc,en:()=>Er,eo:()=>Tc,es:()=>Cc,fa:()=>Ec,fi:()=>Dc,fr:()=>Oc,frCA:()=>Nc,he:()=>wc,hu:()=>Rc,hy:()=>$c,id:()=>Bc,is:()=>Mc,it:()=>Uc,ja:()=>Lc,ka:()=>Fc,kh:()=>jc,km:()=>Dr,ko:()=>qc,lt:()=>Zc,mk:()=>Vc,ms:()=>Hc,nl:()=>Gc,no:()=>Wc,ota:()=>Kc,pl:()=>Xc,ps:()=>Jc,pt:()=>Yc,ru:()=>Qc,sl:()=>eu,sv:()=>tu,ta:()=>ou,th:()=>ru,tr:()=>nu,ua:()=>au,uk:()=>Nr,ur:()=>iu,uz:()=>su,vi:()=>lu,yo:()=>du,zhCN:()=>cu,zhTW:()=>uu});var Kz=s(()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${o.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${l}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${a}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${l}`}case"invalid_value":return o.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${w(o.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${o.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${a} ${o.maximum.toString()} ${i.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${o.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${a} ${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${o.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${a} ${o.minimum.toString()} ${i.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${o.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${a} ${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${o.prefix}"`:a.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${a.suffix}"`:a.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${a.includes}"`:a.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${a.pattern}`:`${r[a.format]??o.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${o.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${o.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${o.keys.length>1?"\u0629":""}: ${T(o.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${o.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${o.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}},"error");function kc(){return{localeError:Kz()}}s(kc,"default");var Jz=s(()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${o.expected}, daxil olan ${l}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${a}, daxil olan ${l}`}case"invalid_value":return o.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${w(o.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${o.origin??"d\u0259y\u0259r"} ${a}${o.maximum.toString()} ${i.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${o.origin??"d\u0259y\u0259r"} ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${o.origin} ${a}${o.minimum.toString()} ${i.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${o.origin} ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${a.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:a.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${a.suffix}" il\u0259 bitm\u0259lidir`:a.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${a.includes}" daxil olmal\u0131d\u0131r`:a.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${a.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${r[a.format]??o.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${o.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${o.keys.length>1?"lar":""}: ${T(o.keys,", ")}`;case"invalid_key":return`${o.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${o.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}},"error");function vc(){return{localeError:Jz()}}s(vc,"default");function py(e,t,r,n){let o=Math.abs(e),a=o%10,i=o%100;return i>=11&&i<=19?n:a===1?t:a>=2&&a<=4?r:n}s(py,"getBelarusianPlural");var Xz=s(()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},n={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${o.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${l}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${a}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${l}`}case"invalid_value":return o.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${w(o.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);if(i){let l=Number(o.maximum),d=py(l,i.unit.one,i.unit.few,i.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${o.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${i.verb} ${a}${o.maximum.toString()} ${d}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${o.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);if(i){let l=Number(o.minimum),d=py(l,i.unit.one,i.unit.few,i.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${o.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${i.verb} ${a}${o.minimum.toString()} ${d}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${o.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${a.prefix}"`:a.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${a.suffix}"`:a.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${a.includes}"`:a.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${a.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${r[a.format]??o.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${o.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${o.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${T(o.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${o.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${o.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}},"error");function Ic(){return{localeError:Xz()}}s(Ic,"default");var Yz=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${o.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${l}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${a}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${l}`}case"invalid_value":return o.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${w(o.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${o.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${a}${o.maximum.toString()} ${i.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${o.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${o.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${a}${o.minimum.toString()} ${i.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${o.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;if(a.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${a.prefix}"`;if(a.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${a.suffix}"`;if(a.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${a.includes}"`;if(a.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${a.pattern}`;let i="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return a.format==="emoji"&&(i="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),a.format==="datetime"&&(i="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),a.format==="date"&&(i="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),a.format==="time"&&(i="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),a.format==="duration"&&(i="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${i} ${r[a.format]??o.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${o.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${o.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${o.keys.length>1?"\u043E\u0432\u0435":""}: ${T(o.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${o.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${o.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}},"error");function Pc(){return{localeError:Yz()}}s(Pc,"default");var Qz=s(()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${o.expected}, s'ha rebut ${l}`:`Tipus inv\xE0lid: s'esperava ${a}, s'ha rebut ${l}`}case"invalid_value":return o.values.length===1?`Valor inv\xE0lid: s'esperava ${w(o.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${T(o.values," o ")}`;case"too_big":{let a=o.inclusive?"com a m\xE0xim":"menys de",i=t(o.origin);return i?`Massa gran: s'esperava que ${o.origin??"el valor"} contingu\xE9s ${a} ${o.maximum.toString()} ${i.unit??"elements"}`:`Massa gran: s'esperava que ${o.origin??"el valor"} fos ${a} ${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?"com a m\xEDnim":"m\xE9s de",i=t(o.origin);return i?`Massa petit: s'esperava que ${o.origin} contingu\xE9s ${a} ${o.minimum.toString()} ${i.unit}`:`Massa petit: s'esperava que ${o.origin} fos ${a} ${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${a.prefix}"`:a.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${a.suffix}"`:a.format==="includes"?`Format inv\xE0lid: ha d'incloure "${a.includes}"`:a.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${a.pattern}`:`Format inv\xE0lid per a ${r[a.format]??o.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${o.divisor}`;case"unrecognized_keys":return`Clau${o.keys.length>1?"s":""} no reconeguda${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${o.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${o.origin}`;default:return"Entrada inv\xE0lida"}}},"error");function zc(){return{localeError:Qz()}}s(zc,"default");var ex=s(()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},n={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${o.expected}, obdr\u017Eeno ${l}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${a}, obdr\u017Eeno ${l}`}case"invalid_value":return o.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${w(o.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${o.origin??"hodnota"} mus\xED m\xEDt ${a}${o.maximum.toString()} ${i.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${o.origin??"hodnota"} mus\xED b\xFDt ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${o.origin??"hodnota"} mus\xED m\xEDt ${a}${o.minimum.toString()} ${i.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${o.origin??"hodnota"} mus\xED b\xFDt ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${a.prefix}"`:a.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${a.suffix}"`:a.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${a.includes}"`:a.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${a.pattern}`:`Neplatn\xFD form\xE1t ${r[a.format]??o.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${o.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${T(o.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${o.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${o.origin}`;default:return"Neplatn\xFD vstup"}}},"error");function xc(){return{localeError:ex()}}s(xc,"default");var tx=s(()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Ugyldigt input: forventede instanceof ${o.expected}, fik ${l}`:`Ugyldigt input: forventede ${a}, fik ${l}`}case"invalid_value":return o.values.length===1?`Ugyldig v\xE6rdi: forventede ${w(o.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin),l=n[o.origin]??o.origin;return i?`For stor: forventede ${l??"value"} ${i.verb} ${a} ${o.maximum.toString()} ${i.unit??"elementer"}`:`For stor: forventede ${l??"value"} havde ${a} ${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin),l=n[o.origin]??o.origin;return i?`For lille: forventede ${l} ${i.verb} ${a} ${o.minimum.toString()} ${i.unit}`:`For lille: forventede ${l} havde ${a} ${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Ugyldig streng: skal starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: skal ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: skal indeholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${a.pattern}`:`Ugyldig ${r[a.format]??o.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${o.divisor}`;case"unrecognized_keys":return`${o.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${T(o.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${o.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${o.origin}`;default:return"Ugyldigt input"}}},"error");function Ac(){return{localeError:tx()}}s(Ac,"default");var ox=s(()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},n={nan:"NaN",number:"Zahl",array:"Array"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${o.expected}, erhalten ${l}`:`Ung\xFCltige Eingabe: erwartet ${a}, erhalten ${l}`}case"invalid_value":return o.values.length===1?`Ung\xFCltige Eingabe: erwartet ${w(o.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Zu gro\xDF: erwartet, dass ${o.origin??"Wert"} ${a}${o.maximum.toString()} ${i.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${o.origin??"Wert"} ${a}${o.maximum.toString()} ist`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Zu klein: erwartet, dass ${o.origin} ${a}${o.minimum.toString()} ${i.unit} hat`:`Zu klein: erwartet, dass ${o.origin} ${a}${o.minimum.toString()} ist`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Ung\xFCltiger String: muss mit "${a.prefix}" beginnen`:a.format==="ends_with"?`Ung\xFCltiger String: muss mit "${a.suffix}" enden`:a.format==="includes"?`Ung\xFCltiger String: muss "${a.includes}" enthalten`:a.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${a.pattern} entsprechen`:`Ung\xFCltig: ${r[a.format]??o.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${o.divisor} sein`;case"unrecognized_keys":return`${o.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${T(o.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${o.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${o.origin}`;default:return"Ung\xFCltige Eingabe"}}},"error");function Sc(){return{localeError:ox()}}s(Sc,"default");var rx=s(()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return`Invalid input: expected ${a}, received ${l}`}case"invalid_value":return o.values.length===1?`Invalid input: expected ${w(o.values[0])}`:`Invalid option: expected one of ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Too big: expected ${o.origin??"value"} to have ${a}${o.maximum.toString()} ${i.unit??"elements"}`:`Too big: expected ${o.origin??"value"} to be ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Too small: expected ${o.origin} to have ${a}${o.minimum.toString()} ${i.unit}`:`Too small: expected ${o.origin} to be ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${r[a.format]??o.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${o.divisor}`;case"unrecognized_keys":return`Unrecognized key${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Invalid key in ${o.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${o.origin}`;default:return"Invalid input"}}},"error");function Er(){return{localeError:rx()}}s(Er,"default");var nx=s(()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},n={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${o.expected}, ricevi\u011Dis ${l}`:`Nevalida enigo: atendi\u011Dis ${a}, ricevi\u011Dis ${l}`}case"invalid_value":return o.values.length===1?`Nevalida enigo: atendi\u011Dis ${w(o.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Tro granda: atendi\u011Dis ke ${o.origin??"valoro"} havu ${a}${o.maximum.toString()} ${i.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${o.origin??"valoro"} havu ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Tro malgranda: atendi\u011Dis ke ${o.origin} havu ${a}${o.minimum.toString()} ${i.unit}`:`Tro malgranda: atendi\u011Dis ke ${o.origin} estu ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${a.prefix}"`:a.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${a.suffix}"`:a.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${a.includes}"`:a.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${a.pattern}`:`Nevalida ${r[a.format]??o.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${o.divisor}`;case"unrecognized_keys":return`Nekonata${o.keys.length>1?"j":""} \u015Dlosilo${o.keys.length>1?"j":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${o.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${o.origin}`;default:return"Nevalida enigo"}}},"error");function Tc(){return{localeError:nx()}}s(Tc,"default");var ax=s(()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${o.expected}, recibido ${l}`:`Entrada inv\xE1lida: se esperaba ${a}, recibido ${l}`}case"invalid_value":return o.values.length===1?`Entrada inv\xE1lida: se esperaba ${w(o.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin),l=n[o.origin]??o.origin;return i?`Demasiado grande: se esperaba que ${l??"valor"} tuviera ${a}${o.maximum.toString()} ${i.unit??"elementos"}`:`Demasiado grande: se esperaba que ${l??"valor"} fuera ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin),l=n[o.origin]??o.origin;return i?`Demasiado peque\xF1o: se esperaba que ${l} tuviera ${a}${o.minimum.toString()} ${i.unit}`:`Demasiado peque\xF1o: se esperaba que ${l} fuera ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${a.prefix}"`:a.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${a.suffix}"`:a.format==="includes"?`Cadena inv\xE1lida: debe incluir "${a.includes}"`:a.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${a.pattern}`:`Inv\xE1lido ${r[a.format]??o.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${o.divisor}`;case"unrecognized_keys":return`Llave${o.keys.length>1?"s":""} desconocida${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${n[o.origin]??o.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${n[o.origin]??o.origin}`;default:return"Entrada inv\xE1lida"}}},"error");function Cc(){return{localeError:ax()}}s(Cc,"default");var ix=s(()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},n={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${o.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${l} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${a} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${l} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return o.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${w(o.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${T(o.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${o.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${a}${o.maximum.toString()} ${i.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${o.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${a}${o.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${o.origin} \u0628\u0627\u06CC\u062F ${a}${o.minimum.toString()} ${i.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${o.origin} \u0628\u0627\u06CC\u062F ${a}${o.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${a.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:a.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${a.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:a.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${a.includes}" \u0628\u0627\u0634\u062F`:a.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${a.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${r[a.format]??o.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${o.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${o.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${T(o.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${o.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${o.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}},"error");function Ec(){return{localeError:ix()}}s(Ec,"default");var sx=s(()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Virheellinen tyyppi: odotettiin instanceof ${o.expected}, oli ${l}`:`Virheellinen tyyppi: odotettiin ${a}, oli ${l}`}case"invalid_value":return o.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${w(o.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Liian suuri: ${i.subject} t\xE4ytyy olla ${a}${o.maximum.toString()} ${i.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Liian pieni: ${i.subject} t\xE4ytyy olla ${a}${o.minimum.toString()} ${i.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${a.prefix}"`:a.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${a.suffix}"`:a.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${a.includes}"`:a.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${a.pattern}`:`Virheellinen ${r[a.format]??o.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${o.divisor} monikerta`;case"unrecognized_keys":return`${o.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${T(o.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}},"error");function Dc(){return{localeError:sx()}}s(Dc,"default");var lx=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},n={nan:"NaN",number:"nombre",array:"tableau"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Entr\xE9e invalide : instanceof ${o.expected} attendu, ${l} re\xE7u`:`Entr\xE9e invalide : ${a} attendu, ${l} re\xE7u`}case"invalid_value":return o.values.length===1?`Entr\xE9e invalide : ${w(o.values[0])} attendu`:`Option invalide : une valeur parmi ${T(o.values,"|")} attendue`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Trop grand : ${o.origin??"valeur"} doit ${i.verb} ${a}${o.maximum.toString()} ${i.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${o.origin??"valeur"} doit \xEAtre ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Trop petit : ${o.origin} doit ${i.verb} ${a}${o.minimum.toString()} ${i.unit}`:`Trop petit : ${o.origin} doit \xEAtre ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Cha\xEEne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${a.pattern}`:`${r[a.format]??o.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${o.divisor}`;case"unrecognized_keys":return`Cl\xE9${o.keys.length>1?"s":""} non reconnue${o.keys.length>1?"s":""} : ${T(o.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${o.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${o.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Oc(){return{localeError:lx()}}s(Oc,"default");var cx=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Entr\xE9e invalide : attendu instanceof ${o.expected}, re\xE7u ${l}`:`Entr\xE9e invalide : attendu ${a}, re\xE7u ${l}`}case"invalid_value":return o.values.length===1?`Entr\xE9e invalide : attendu ${w(o.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"\u2264":"<",i=t(o.origin);return i?`Trop grand : attendu que ${o.origin??"la valeur"} ait ${a}${o.maximum.toString()} ${i.unit}`:`Trop grand : attendu que ${o.origin??"la valeur"} soit ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?"\u2265":">",i=t(o.origin);return i?`Trop petit : attendu que ${o.origin} ait ${a}${o.minimum.toString()} ${i.unit}`:`Trop petit : attendu que ${o.origin} soit ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Cha\xEEne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${a.pattern}`:`${r[a.format]??o.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${o.divisor}`;case"unrecognized_keys":return`Cl\xE9${o.keys.length>1?"s":""} non reconnue${o.keys.length>1?"s":""} : ${T(o.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${o.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${o.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Nc(){return{localeError:cx()}}s(Nc,"default");var ux=s(()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},r=s(m=>m?e[m]:void 0,"typeEntry"),n=s(m=>{let b=r(m);return b?b.label:m??e.unknown.label},"typeLabel"),o=s(m=>`\u05D4${n(m)}`,"withDefinite"),a=s(m=>(r(m)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA","verbFor"),i=s(m=>m?t[m]??null:null,"getSizing"),l={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},d={nan:"NaN"};return m=>{switch(m.code){case"invalid_type":{let b=m.expected,x=d[b??""]??n(b),I=M(m.input),p=d[I]??e[I]?.label??I;return/^[A-Z]/.test(m.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${m.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${x}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`}case"invalid_value":{if(m.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${w(m.values[0])}`;let b=m.values.map(p=>w(p));if(m.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${b[0]} \u05D0\u05D5 ${b[1]}`;let x=b[b.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${b.slice(0,-1).join(", ")} \u05D0\u05D5 ${x}`}case"too_big":{let b=i(m.origin),x=o(m.origin??"value");if(m.origin==="string")return`${b?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${x} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${m.maximum.toString()} ${b?.unit??""} ${m.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(m.origin==="number"){let v=m.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${m.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${m.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${x} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${v}`}if(m.origin==="array"||m.origin==="set"){let v=m.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",A=m.inclusive?`${m.maximum} ${b?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${m.maximum} ${b?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${x} ${v} \u05DC\u05D4\u05DB\u05D9\u05DC ${A}`.trim()}let I=m.inclusive?"<=":"<",p=a(m.origin??"value");return b?.unit?`${b.longLabel} \u05DE\u05D3\u05D9: ${x} ${p} ${I}${m.maximum.toString()} ${b.unit}`:`${b?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${x} ${p} ${I}${m.maximum.toString()}`}case"too_small":{let b=i(m.origin),x=o(m.origin??"value");if(m.origin==="string")return`${b?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${x} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${m.minimum.toString()} ${b?.unit??""} ${m.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(m.origin==="number"){let v=m.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${m.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${m.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${x} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${v}`}if(m.origin==="array"||m.origin==="set"){let v=m.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(m.minimum===1&&m.inclusive){let C=(m.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${x} ${v} \u05DC\u05D4\u05DB\u05D9\u05DC ${C}`}let A=m.inclusive?`${m.minimum} ${b?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${m.minimum} ${b?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${x} ${v} \u05DC\u05D4\u05DB\u05D9\u05DC ${A}`.trim()}let I=m.inclusive?">=":">",p=a(m.origin??"value");return b?.unit?`${b.shortLabel} \u05DE\u05D3\u05D9: ${x} ${p} ${I}${m.minimum.toString()} ${b.unit}`:`${b?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${x} ${p} ${I}${m.minimum.toString()}`}case"invalid_format":{let b=m;if(b.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${b.prefix}"`;if(b.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${b.suffix}"`;if(b.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${b.includes}"`;if(b.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${b.pattern}`;let x=l[b.format],I=x?.label??b.format,v=(x?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${I} \u05DC\u05D0 ${v}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${m.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${m.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${m.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${T(m.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${o(m.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}},"error");function wc(){return{localeError:ux()}}s(wc,"default");var dx=s(()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},n={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${o.expected}, a kapott \xE9rt\xE9k ${l}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${a}, a kapott \xE9rt\xE9k ${l}`}case"invalid_value":return o.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${w(o.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`T\xFAl nagy: ${o.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${a}${o.maximum.toString()} ${i.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${o.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${o.origin} m\xE9rete t\xFAl kicsi ${a}${o.minimum.toString()} ${i.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${o.origin} t\xFAl kicsi ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\xC9rv\xE9nytelen string: "${a.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:a.format==="ends_with"?`\xC9rv\xE9nytelen string: "${a.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:a.format==="includes"?`\xC9rv\xE9nytelen string: "${a.includes}" \xE9rt\xE9ket kell tartalmaznia`:a.format==="regex"?`\xC9rv\xE9nytelen string: ${a.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${r[a.format]??o.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${o.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${o.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${o.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}},"error");function Rc(){return{localeError:dx()}}s(Rc,"default");function yy(e,t,r){return Math.abs(e)===1?t:r}s(yy,"getArmenianPlural");function ko(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],r=e[e.length-1];return e+(t.includes(r)?"\u0576":"\u0568")}s(ko,"withDefiniteArticle");var mx=s(()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},n={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${o.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${l}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${a}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${l}`}case"invalid_value":return o.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${w(o.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);if(i){let l=Number(o.maximum),d=yy(l,i.unit.one,i.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ko(o.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${a}${o.maximum.toString()} ${d}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ko(o.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);if(i){let l=Number(o.minimum),d=yy(l,i.unit.one,i.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ko(o.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${a}${o.minimum.toString()} ${d}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ko(o.origin)} \u056C\u056B\u0576\u056B ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${a.prefix}"-\u0578\u057E`:a.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${a.suffix}"-\u0578\u057E`:a.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${a.includes}"`:a.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${a.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${r[a.format]??o.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${o.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${o.keys.length>1?"\u0576\u0565\u0580":""}. ${T(o.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${ko(o.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${ko(o.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}},"error");function $c(){return{localeError:mx()}}s($c,"default");var px=s(()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Input tidak valid: diharapkan instanceof ${o.expected}, diterima ${l}`:`Input tidak valid: diharapkan ${a}, diterima ${l}`}case"invalid_value":return o.values.length===1?`Input tidak valid: diharapkan ${w(o.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Terlalu besar: diharapkan ${o.origin??"value"} memiliki ${a}${o.maximum.toString()} ${i.unit??"elemen"}`:`Terlalu besar: diharapkan ${o.origin??"value"} menjadi ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Terlalu kecil: diharapkan ${o.origin} memiliki ${a}${o.minimum.toString()} ${i.unit}`:`Terlalu kecil: diharapkan ${o.origin} menjadi ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`String tidak valid: harus dimulai dengan "${a.prefix}"`:a.format==="ends_with"?`String tidak valid: harus berakhir dengan "${a.suffix}"`:a.format==="includes"?`String tidak valid: harus menyertakan "${a.includes}"`:a.format==="regex"?`String tidak valid: harus sesuai pola ${a.pattern}`:`${r[a.format]??o.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${o.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${o.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${o.origin}`;default:return"Input tidak valid"}}},"error");function Bc(){return{localeError:px()}}s(Bc,"default");var yx=s(()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},n={nan:"NaN",number:"n\xFAmer",array:"fylki"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${l} \xFEar sem \xE1 a\xF0 vera instanceof ${o.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${l} \xFEar sem \xE1 a\xF0 vera ${a}`}case"invalid_value":return o.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${w(o.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${o.origin??"gildi"} hafi ${a}${o.maximum.toString()} ${i.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${o.origin??"gildi"} s\xE9 ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${o.origin} hafi ${a}${o.minimum.toString()} ${i.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${o.origin} s\xE9 ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${a.prefix}"`:a.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${a.suffix}"`:a.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${a.includes}"`:a.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${a.pattern}`:`Rangt ${r[a.format]??o.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${o.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${o.keys.length>1?"ir lyklar":"ur lykill"}: ${T(o.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${o.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${o.origin}`;default:return"Rangt gildi"}}},"error");function Mc(){return{localeError:yx()}}s(Mc,"default");var fx=s(()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"numero",array:"vettore"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Input non valido: atteso instanceof ${o.expected}, ricevuto ${l}`:`Input non valido: atteso ${a}, ricevuto ${l}`}case"invalid_value":return o.values.length===1?`Input non valido: atteso ${w(o.values[0])}`:`Opzione non valida: atteso uno tra ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Troppo grande: ${o.origin??"valore"} deve avere ${a}${o.maximum.toString()} ${i.unit??"elementi"}`:`Troppo grande: ${o.origin??"valore"} deve essere ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Troppo piccolo: ${o.origin} deve avere ${a}${o.minimum.toString()} ${i.unit}`:`Troppo piccolo: ${o.origin} deve essere ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Stringa non valida: deve iniziare con "${a.prefix}"`:a.format==="ends_with"?`Stringa non valida: deve terminare con "${a.suffix}"`:a.format==="includes"?`Stringa non valida: deve includere "${a.includes}"`:a.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${a.pattern}`:`Invalid ${r[a.format]??o.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${o.divisor}`;case"unrecognized_keys":return`Chiav${o.keys.length>1?"i":"e"} non riconosciut${o.keys.length>1?"e":"a"}: ${T(o.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${o.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${o.origin}`;default:return"Input non valido"}}},"error");function Uc(){return{localeError:fx()}}s(Uc,"default");var hx=s(()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},n={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${o.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${l}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${a}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${l}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return o.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${w(o.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${T(o.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let a=o.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",i=t(o.origin);return i?`\u5927\u304D\u3059\u304E\u308B\u5024: ${o.origin??"\u5024"}\u306F${o.maximum.toString()}${i.unit??"\u8981\u7D20"}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${o.origin??"\u5024"}\u306F${o.maximum.toString()}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let a=o.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",i=t(o.origin);return i?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${o.origin}\u306F${o.minimum.toString()}${i.unit}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${o.origin}\u306F${o.minimum.toString()}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${a.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:a.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${a.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:a.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${a.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:a.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${a.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${r[a.format]??o.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${o.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${o.keys.length>1?"\u7FA4":""}: ${T(o.keys,"\u3001")}`;case"invalid_key":return`${o.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${o.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}},"error");function Lc(){return{localeError:hx()}}s(Lc,"default");var _x=s(()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},n={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${o.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${l}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${a}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${l}`}case"invalid_value":return o.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${w(o.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${T(o.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${i.verb} ${a}${o.maximum.toString()} ${i.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o.origin} ${i.verb} ${a}${o.minimum.toString()} ${i.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o.origin} \u10D8\u10E7\u10DD\u10E1 ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${a.prefix}"-\u10D8\u10D7`:a.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${a.suffix}"-\u10D8\u10D7`:a.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${a.includes}"-\u10E1`:a.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${a.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${r[a.format]??o.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${o.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${o.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${T(o.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${o.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${o.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}},"error");function Fc(){return{localeError:_x()}}s(Fc,"default");var gx=s(()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},n={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${o.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${l}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${a} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${l}`}case"invalid_value":return o.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${w(o.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${a} ${o.maximum.toString()} ${i.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${a} ${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o.origin} ${a} ${o.minimum.toString()} ${i.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o.origin} ${a} ${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${a.prefix}"`:a.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${a.suffix}"`:a.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${a.includes}"`:a.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${a.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${r[a.format]??o.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${o.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${T(o.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${o.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${o.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}},"error");function Dr(){return{localeError:gx()}}s(Dr,"default");function jc(){return Dr()}s(jc,"default");var bx=s(()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${o.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${l}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${a}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${l}\uC785\uB2C8\uB2E4`}case"invalid_value":return o.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${w(o.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${T(o.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let a=o.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",i=a==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=t(o.origin),d=l?.unit??"\uC694\uC18C";return l?`${o.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${o.maximum.toString()}${d} ${a}${i}`:`${o.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${o.maximum.toString()} ${a}${i}`}case"too_small":{let a=o.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",i=a==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=t(o.origin),d=l?.unit??"\uC694\uC18C";return l?`${o.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${o.minimum.toString()}${d} ${a}${i}`:`${o.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${o.minimum.toString()} ${a}${i}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${a.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:a.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${a.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:a.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${a.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:a.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${a.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${r[a.format]??o.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${o.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${T(o.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${o.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${o.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}},"error");function qc(){return{localeError:bx()}}s(qc,"default");var Or=s(e=>e.charAt(0).toUpperCase()+e.slice(1),"capitalizeFirstCharacter");function fy(e){let t=Math.abs(e),r=t%10,n=t%100;return n>=11&&n<=19||r===0?"many":r===1?"one":"few"}s(fy,"getUnitTypeFromNumber");var kx=s(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(o,a,i,l){let d=e[o]??null;return d===null?d:{unit:d.unit[a],verb:d.verb[l][i?"inclusive":"notInclusive"]}}s(t,"getSizing");let r={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},n={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Gautas tipas ${l}, o tik\u0117tasi - instanceof ${o.expected}`:`Gautas tipas ${l}, o tik\u0117tasi - ${a}`}case"invalid_value":return o.values.length===1?`Privalo b\u016Bti ${w(o.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${T(o.values,"|")} pasirinkim\u0173`;case"too_big":{let a=n[o.origin]??o.origin,i=t(o.origin,fy(Number(o.maximum)),o.inclusive??!1,"smaller");if(i?.verb)return`${Or(a??o.origin??"reik\u0161m\u0117")} ${i.verb} ${o.maximum.toString()} ${i.unit??"element\u0173"}`;let l=o.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${Or(a??o.origin??"reik\u0161m\u0117")} turi b\u016Bti ${l} ${o.maximum.toString()} ${i?.unit}`}case"too_small":{let a=n[o.origin]??o.origin,i=t(o.origin,fy(Number(o.minimum)),o.inclusive??!1,"bigger");if(i?.verb)return`${Or(a??o.origin??"reik\u0161m\u0117")} ${i.verb} ${o.minimum.toString()} ${i.unit??"element\u0173"}`;let l=o.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${Or(a??o.origin??"reik\u0161m\u0117")} turi b\u016Bti ${l} ${o.minimum.toString()} ${i?.unit}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${a.prefix}"`:a.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${a.suffix}"`:a.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${a.includes}"`:a.format==="regex"?`Eilut\u0117 privalo atitikti ${a.pattern}`:`Neteisingas ${r[a.format]??o.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${o.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${o.keys.length>1?"i":"as"} rakt${o.keys.length>1?"ai":"as"}: ${T(o.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let a=n[o.origin]??o.origin;return`${Or(a??o.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}},"error");function Zc(){return{localeError:kx()}}s(Zc,"default");var vx=s(()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},n={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${o.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${l}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${a}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${l}`}case"invalid_value":return o.values.length===1?`Invalid input: expected ${w(o.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${a}${o.maximum.toString()} ${i.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o.origin} \u0434\u0430 \u0438\u043C\u0430 ${a}${o.minimum.toString()} ${i.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${a.prefix}"`:a.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${a.suffix}"`:a.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${a.includes}"`:a.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${a.pattern}`:`Invalid ${r[a.format]??o.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${o.divisor}`;case"unrecognized_keys":return`${o.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${T(o.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${o.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${o.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}},"error");function Vc(){return{localeError:vx()}}s(Vc,"default");var Ix=s(()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"nombor"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Input tidak sah: dijangka instanceof ${o.expected}, diterima ${l}`:`Input tidak sah: dijangka ${a}, diterima ${l}`}case"invalid_value":return o.values.length===1?`Input tidak sah: dijangka ${w(o.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Terlalu besar: dijangka ${o.origin??"nilai"} ${i.verb} ${a}${o.maximum.toString()} ${i.unit??"elemen"}`:`Terlalu besar: dijangka ${o.origin??"nilai"} adalah ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Terlalu kecil: dijangka ${o.origin} ${i.verb} ${a}${o.minimum.toString()} ${i.unit}`:`Terlalu kecil: dijangka ${o.origin} adalah ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`String tidak sah: mesti bermula dengan "${a.prefix}"`:a.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${a.suffix}"`:a.format==="includes"?`String tidak sah: mesti mengandungi "${a.includes}"`:a.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${a.pattern}`:`${r[a.format]??o.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${o.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${T(o.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${o.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${o.origin}`;default:return"Input tidak sah"}}},"error");function Hc(){return{localeError:Ix()}}s(Hc,"default");var Px=s(()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},n={nan:"NaN",number:"getal"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Ongeldige invoer: verwacht instanceof ${o.expected}, ontving ${l}`:`Ongeldige invoer: verwacht ${a}, ontving ${l}`}case"invalid_value":return o.values.length===1?`Ongeldige invoer: verwacht ${w(o.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin),l=o.origin==="date"?"laat":o.origin==="string"?"lang":"groot";return i?`Te ${l}: verwacht dat ${o.origin??"waarde"} ${a}${o.maximum.toString()} ${i.unit??"elementen"} ${i.verb}`:`Te ${l}: verwacht dat ${o.origin??"waarde"} ${a}${o.maximum.toString()} is`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin),l=o.origin==="date"?"vroeg":o.origin==="string"?"kort":"klein";return i?`Te ${l}: verwacht dat ${o.origin} ${a}${o.minimum.toString()} ${i.unit} ${i.verb}`:`Te ${l}: verwacht dat ${o.origin} ${a}${o.minimum.toString()} is`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Ongeldige tekst: moet met "${a.prefix}" beginnen`:a.format==="ends_with"?`Ongeldige tekst: moet op "${a.suffix}" eindigen`:a.format==="includes"?`Ongeldige tekst: moet "${a.includes}" bevatten`:a.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${a.pattern}`:`Ongeldig: ${r[a.format]??o.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${o.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${o.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${o.origin}`;default:return"Ongeldige invoer"}}},"error");function Gc(){return{localeError:Px()}}s(Gc,"default");var zx=s(()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"tall",array:"liste"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Ugyldig input: forventet instanceof ${o.expected}, fikk ${l}`:`Ugyldig input: forventet ${a}, fikk ${l}`}case"invalid_value":return o.values.length===1?`Ugyldig verdi: forventet ${w(o.values[0])}`:`Ugyldig valg: forventet en av ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`For stor(t): forventet ${o.origin??"value"} til \xE5 ha ${a}${o.maximum.toString()} ${i.unit??"elementer"}`:`For stor(t): forventet ${o.origin??"value"} til \xE5 ha ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`For lite(n): forventet ${o.origin} til \xE5 ha ${a}${o.minimum.toString()} ${i.unit}`:`For lite(n): forventet ${o.origin} til \xE5 ha ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${a.pattern}`:`Ugyldig ${r[a.format]??o.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${o.divisor}`;case"unrecognized_keys":return`${o.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${T(o.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${o.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${o.origin}`;default:return"Ugyldig input"}}},"error");function Wc(){return{localeError:zx()}}s(Wc,"default");var xx=s(()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},n={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`F\xE2sit giren: umulan instanceof ${o.expected}, al\u0131nan ${l}`:`F\xE2sit giren: umulan ${a}, al\u0131nan ${l}`}case"invalid_value":return o.values.length===1?`F\xE2sit giren: umulan ${w(o.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Fazla b\xFCy\xFCk: ${o.origin??"value"}, ${a}${o.maximum.toString()} ${i.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${o.origin??"value"}, ${a}${o.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Fazla k\xFC\xE7\xFCk: ${o.origin}, ${a}${o.minimum.toString()} ${i.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${o.origin}, ${a}${o.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let a=o;return a.format==="starts_with"?`F\xE2sit metin: "${a.prefix}" ile ba\u015Flamal\u0131.`:a.format==="ends_with"?`F\xE2sit metin: "${a.suffix}" ile bitmeli.`:a.format==="includes"?`F\xE2sit metin: "${a.includes}" ihtiv\xE2 etmeli.`:a.format==="regex"?`F\xE2sit metin: ${a.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${r[a.format]??o.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${o.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`${o.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${o.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}},"error");function Kc(){return{localeError:xx()}}s(Kc,"default");var Ax=s(()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},n={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${o.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${l} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${a} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${l} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return o.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${w(o.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${T(o.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${o.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${a}${o.maximum.toString()} ${i.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${o.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${a}${o.maximum.toString()} \u0648\u064A`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${o.origin} \u0628\u0627\u06CC\u062F ${a}${o.minimum.toString()} ${i.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${o.origin} \u0628\u0627\u06CC\u062F ${a}${o.minimum.toString()} \u0648\u064A`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${a.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:a.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${a.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:a.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${a.includes}" \u0648\u0644\u0631\u064A`:a.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${a.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${r[a.format]??o.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${o.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${o.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${T(o.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${o.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${o.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}},"error");function Jc(){return{localeError:Ax()}}s(Jc,"default");var Sx=s(()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},n={nan:"NaN",number:"liczba",array:"tablica"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${o.expected}, otrzymano ${l}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${a}, otrzymano ${l}`}case"invalid_value":return o.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${w(o.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${o.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${a}${o.maximum.toString()} ${i.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${o.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${o.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${a}${o.minimum.toString()} ${i.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${o.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${a.prefix}"`:a.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${a.suffix}"`:a.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${a.includes}"`:a.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${a.pattern}`:`Nieprawid\u0142ow(y/a/e) ${r[a.format]??o.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${o.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${o.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${o.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}},"error");function Xc(){return{localeError:Sx()}}s(Xc,"default");var Tx=s(()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",number:"n\xFAmero",null:"nulo"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Tipo inv\xE1lido: esperado instanceof ${o.expected}, recebido ${l}`:`Tipo inv\xE1lido: esperado ${a}, recebido ${l}`}case"invalid_value":return o.values.length===1?`Entrada inv\xE1lida: esperado ${w(o.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Muito grande: esperado que ${o.origin??"valor"} tivesse ${a}${o.maximum.toString()} ${i.unit??"elementos"}`:`Muito grande: esperado que ${o.origin??"valor"} fosse ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Muito pequeno: esperado que ${o.origin} tivesse ${a}${o.minimum.toString()} ${i.unit}`:`Muito pequeno: esperado que ${o.origin} fosse ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${a.prefix}"`:a.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${a.suffix}"`:a.format==="includes"?`Texto inv\xE1lido: deve incluir "${a.includes}"`:a.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${a.pattern}`:`${r[a.format]??o.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${o.divisor}`;case"unrecognized_keys":return`Chave${o.keys.length>1?"s":""} desconhecida${o.keys.length>1?"s":""}: ${T(o.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${o.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${o.origin}`;default:return"Campo inv\xE1lido"}}},"error");function Yc(){return{localeError:Tx()}}s(Yc,"default");function hy(e,t,r,n){let o=Math.abs(e),a=o%10,i=o%100;return i>=11&&i<=19?n:a===1?t:a>=2&&a<=4?r:n}s(hy,"getRussianPlural");var Cx=s(()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${o.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${l}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${a}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${l}`}case"invalid_value":return o.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${w(o.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);if(i){let l=Number(o.maximum),d=hy(l,i.unit.one,i.unit.few,i.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${o.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${a}${o.maximum.toString()} ${d}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${o.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);if(i){let l=Number(o.minimum),d=hy(l,i.unit.one,i.unit.few,i.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${o.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${a}${o.minimum.toString()} ${d}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${o.origin} \u0431\u0443\u0434\u0435\u0442 ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${a.prefix}"`:a.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${a.suffix}"`:a.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${a.includes}"`:a.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${a.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${r[a.format]??o.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${o.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${o.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${o.keys.length>1?"\u0438":""}: ${T(o.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${o.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${o.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}},"error");function Qc(){return{localeError:Cx()}}s(Qc,"default");var Ex=s(()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},n={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${o.expected}, prejeto ${l}`:`Neveljaven vnos: pri\u010Dakovano ${a}, prejeto ${l}`}case"invalid_value":return o.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${w(o.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Preveliko: pri\u010Dakovano, da bo ${o.origin??"vrednost"} imelo ${a}${o.maximum.toString()} ${i.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${o.origin??"vrednost"} ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Premajhno: pri\u010Dakovano, da bo ${o.origin} imelo ${a}${o.minimum.toString()} ${i.unit}`:`Premajhno: pri\u010Dakovano, da bo ${o.origin} ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${a.prefix}"`:a.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${a.suffix}"`:a.format==="includes"?`Neveljaven niz: mora vsebovati "${a.includes}"`:a.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${a.pattern}`:`Neveljaven ${r[a.format]??o.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${o.divisor}`;case"unrecognized_keys":return`Neprepoznan${o.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${T(o.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${o.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${o.origin}`;default:return"Neveljaven vnos"}}},"error");function eu(){return{localeError:Ex()}}s(eu,"default");var Dx=s(()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},n={nan:"NaN",number:"antal",array:"lista"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${o.expected}, fick ${l}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${a}, fick ${l}`}case"invalid_value":return o.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${w(o.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`F\xF6r stor(t): f\xF6rv\xE4ntade ${o.origin??"v\xE4rdet"} att ha ${a}${o.maximum.toString()} ${i.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${o.origin??"v\xE4rdet"} att ha ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`F\xF6r lite(t): f\xF6rv\xE4ntade ${o.origin??"v\xE4rdet"} att ha ${a}${o.minimum.toString()} ${i.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${o.origin??"v\xE4rdet"} att ha ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${a.prefix}"`:a.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${a.suffix}"`:a.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${a.includes}"`:a.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${a.pattern}"`:`Ogiltig(t) ${r[a.format]??o.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${o.divisor}`;case"unrecognized_keys":return`${o.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${T(o.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${o.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${o.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}},"error");function tu(){return{localeError:Dx()}}s(tu,"default");var Ox=s(()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${o.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${l}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${a}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${l}`}case"invalid_value":return o.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${w(o.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${T(o.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${a}${o.maximum.toString()} ${i.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${a}${o.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o.origin} ${a}${o.minimum.toString()} ${i.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o.origin} ${a}${o.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${a.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:a.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${a.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:a.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${a.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:a.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${a.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${r[a.format]??o.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${o.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${o.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${T(o.keys,", ")}`;case"invalid_key":return`${o.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${o.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}},"error");function ou(){return{localeError:Ox()}}s(ou,"default");var Nx=s(()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},n={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${o.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${l}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${a} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${l}`}case"invalid_value":return o.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${w(o.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",i=t(o.origin);return i?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${o.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${o.maximum.toString()} ${i.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${o.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",i=t(o.origin);return i?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${o.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${o.minimum.toString()} ${i.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${o.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${a.prefix}"`:a.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${a.suffix}"`:a.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${a.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:a.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${a.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${r[a.format]??o.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${o.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${T(o.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${o.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${o.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}},"error");function ru(){return{localeError:Nx()}}s(ru,"default");var wx=s(()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${o.expected}, al\u0131nan ${l}`:`Ge\xE7ersiz de\u011Fer: beklenen ${a}, al\u0131nan ${l}`}case"invalid_value":return o.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${w(o.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\xC7ok b\xFCy\xFCk: beklenen ${o.origin??"de\u011Fer"} ${a}${o.maximum.toString()} ${i.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${o.origin??"de\u011Fer"} ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\xC7ok k\xFC\xE7\xFCk: beklenen ${o.origin} ${a}${o.minimum.toString()} ${i.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${o.origin} ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Ge\xE7ersiz metin: "${a.prefix}" ile ba\u015Flamal\u0131`:a.format==="ends_with"?`Ge\xE7ersiz metin: "${a.suffix}" ile bitmeli`:a.format==="includes"?`Ge\xE7ersiz metin: "${a.includes}" i\xE7ermeli`:a.format==="regex"?`Ge\xE7ersiz metin: ${a.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${r[a.format]??o.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${o.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${o.keys.length>1?"lar":""}: ${T(o.keys,", ")}`;case"invalid_key":return`${o.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${o.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}},"error");function nu(){return{localeError:wx()}}s(nu,"default");var Rx=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${o.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${l}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${a}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${l}`}case"invalid_value":return o.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${w(o.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${o.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${i.verb} ${a}${o.maximum.toString()} ${i.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${o.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${o.origin} ${i.verb} ${a}${o.minimum.toString()} ${i.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${o.origin} \u0431\u0443\u0434\u0435 ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${a.prefix}"`:a.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${a.suffix}"`:a.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${a.includes}"`:a.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${a.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${r[a.format]??o.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${o.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${o.keys.length>1?"\u0456":""}: ${T(o.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${o.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${o.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}},"error");function Nr(){return{localeError:Rx()}}s(Nr,"default");function au(){return Nr()}s(au,"default");var $x=s(()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},n={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${o.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${l} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${a} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${l} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return o.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${w(o.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${T(o.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${o.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${a}${o.maximum.toString()} ${i.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${o.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${a}${o.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${o.origin} \u06A9\u06D2 ${a}${o.minimum.toString()} ${i.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${o.origin} \u06A9\u0627 ${a}${o.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${a.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:a.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${a.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:a.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${a.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:a.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${a.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${r[a.format]??o.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${o.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${o.keys.length>1?"\u0632":""}: ${T(o.keys,"\u060C ")}`;case"invalid_key":return`${o.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${o.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}},"error");function iu(){return{localeError:$x()}}s(iu,"default");var Bx=s(()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},n={nan:"NaN",number:"raqam",array:"massiv"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${o.expected}, qabul qilingan ${l}`:`Noto\u2018g\u2018ri kirish: kutilgan ${a}, qabul qilingan ${l}`}case"invalid_value":return o.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${w(o.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Juda katta: kutilgan ${o.origin??"qiymat"} ${a}${o.maximum.toString()} ${i.unit} ${i.verb}`:`Juda katta: kutilgan ${o.origin??"qiymat"} ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Juda kichik: kutilgan ${o.origin} ${a}${o.minimum.toString()} ${i.unit} ${i.verb}`:`Juda kichik: kutilgan ${o.origin} ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${a.prefix}" bilan boshlanishi kerak`:a.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${a.suffix}" bilan tugashi kerak`:a.format==="includes"?`Noto\u2018g\u2018ri satr: "${a.includes}" ni o\u2018z ichiga olishi kerak`:a.format==="regex"?`Noto\u2018g\u2018ri satr: ${a.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${r[a.format]??o.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${o.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${o.keys.length>1?"lar":""}: ${T(o.keys,", ")}`;case"invalid_key":return`${o.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${o.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}},"error");function su(){return{localeError:Bx()}}s(su,"default");var Mx=s(()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},n={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${o.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${l}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${a}, nh\u1EADn \u0111\u01B0\u1EE3c ${l}`}case"invalid_value":return o.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${w(o.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${o.origin??"gi\xE1 tr\u1ECB"} ${i.verb} ${a}${o.maximum.toString()} ${i.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${o.origin??"gi\xE1 tr\u1ECB"} ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${o.origin} ${i.verb} ${a}${o.minimum.toString()} ${i.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${o.origin} ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${a.prefix}"`:a.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${a.suffix}"`:a.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${a.includes}"`:a.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${a.pattern}`:`${r[a.format]??o.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${o.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${T(o.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${o.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${o.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}},"error");function lu(){return{localeError:Mx()}}s(lu,"default");var Ux=s(()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},n={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${o.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${l}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${a}\uFF0C\u5B9E\u9645\u63A5\u6536 ${l}`}case"invalid_value":return o.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${w(o.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${o.origin??"\u503C"} ${a}${o.maximum.toString()} ${i.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${o.origin??"\u503C"} ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${o.origin} ${a}${o.minimum.toString()} ${i.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${o.origin} ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${a.prefix}" \u5F00\u5934`:a.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${a.suffix}" \u7ED3\u5C3E`:a.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${a.includes}"`:a.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${a.pattern}`:`\u65E0\u6548${r[a.format]??o.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${o.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${T(o.keys,", ")}`;case"invalid_key":return`${o.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${o.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}},"error");function cu(){return{localeError:Ux()}}s(cu,"default");var Lx=s(()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},n={nan:"NaN"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${o.expected}\uFF0C\u4F46\u6536\u5230 ${l}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${a}\uFF0C\u4F46\u6536\u5230 ${l}`}case"invalid_value":return o.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${w(o.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${o.origin??"\u503C"} \u61C9\u70BA ${a}${o.maximum.toString()} ${i.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${o.origin??"\u503C"} \u61C9\u70BA ${a}${o.maximum.toString()}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${o.origin} \u61C9\u70BA ${a}${o.minimum.toString()} ${i.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${o.origin} \u61C9\u70BA ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${a.prefix}" \u958B\u982D`:a.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${a.suffix}" \u7D50\u5C3E`:a.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${a.includes}"`:a.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${a.pattern}`:`\u7121\u6548\u7684 ${r[a.format]??o.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${o.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${o.keys.length>1?"\u5011":""}\uFF1A${T(o.keys,"\u3001")}`;case"invalid_key":return`${o.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${o.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}},"error");function uu(){return{localeError:Lx()}}s(uu,"default");var Fx=s(()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(o){return e[o]??null}s(t,"getSizing");let r={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},n={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return o=>{switch(o.code){case"invalid_type":{let a=n[o.expected]??o.expected,i=M(o.input),l=n[i]??i;return/^[A-Z]/.test(o.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${o.expected}, \xE0m\u1ECD\u0300 a r\xED ${l}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${a}, \xE0m\u1ECD\u0300 a r\xED ${l}`}case"invalid_value":return o.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${w(o.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${T(o.values,"|")}`;case"too_big":{let a=o.inclusive?"<=":"<",i=t(o.origin);return i?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${o.origin??"iye"} ${i.verb} ${a}${o.maximum} ${i.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${a}${o.maximum}`}case"too_small":{let a=o.inclusive?">=":">",i=t(o.origin);return i?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${o.origin} ${i.verb} ${a}${o.minimum} ${i.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${a}${o.minimum}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${a.prefix}"`:a.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${a.suffix}"`:a.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${a.includes}"`:a.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${a.pattern}`:`A\u1E63\xEC\u1E63e: ${r[a.format]??o.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${o.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${T(o.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${o.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${o.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}},"error");function du(){return{localeError:Fx()}}s(du,"default");var _y,bi=Symbol("ZodOutput"),ki=Symbol("ZodInput"),gi=class{static{s(this,"$ZodRegistry")}constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function wr(){return new gi}s(wr,"registry");(_y=globalThis).__zod_globalRegistry??(_y.__zod_globalRegistry=wr());var be=globalThis.__zod_globalRegistry;function Rr(e,t){return new e({type:"string",...N(t)})}s(Rr,"_string");function $r(e,t){return new e({type:"string",coerce:!0,...N(t)})}s($r,"_coercedString");function Br(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...N(t)})}s(Br,"_email");function Io(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...N(t)})}s(Io,"_guid");function Mr(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...N(t)})}s(Mr,"_uuid");function Ur(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...N(t)})}s(Ur,"_uuidv4");function Lr(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...N(t)})}s(Lr,"_uuidv6");function Fr(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...N(t)})}s(Fr,"_uuidv7");function Bt(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...N(t)})}s(Bt,"_url");function jr(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...N(t)})}s(jr,"_emoji");function qr(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...N(t)})}s(qr,"_nanoid");function Zr(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...N(t)})}s(Zr,"_cuid");function Vr(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...N(t)})}s(Vr,"_cuid2");function Hr(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...N(t)})}s(Hr,"_ulid");function Gr(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...N(t)})}s(Gr,"_xid");function Wr(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...N(t)})}s(Wr,"_ksuid");function Kr(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...N(t)})}s(Kr,"_ipv4");function Jr(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...N(t)})}s(Jr,"_ipv6");function vi(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...N(t)})}s(vi,"_mac");function Xr(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...N(t)})}s(Xr,"_cidrv4");function Yr(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...N(t)})}s(Yr,"_cidrv6");function Qr(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...N(t)})}s(Qr,"_base64");function en(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...N(t)})}s(en,"_base64url");function tn(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...N(t)})}s(tn,"_e164");function on(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...N(t)})}s(on,"_jwt");var Ii={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function rn(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...N(t)})}s(rn,"_isoDateTime");function nn(e,t){return new e({type:"string",format:"date",check:"string_format",...N(t)})}s(nn,"_isoDate");function an(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...N(t)})}s(an,"_isoTime");function sn(e,t){return new e({type:"string",format:"duration",check:"string_format",...N(t)})}s(sn,"_isoDuration");function ln(e,t){return new e({type:"number",checks:[],...N(t)})}s(ln,"_number");function cn(e,t){return new e({type:"number",coerce:!0,checks:[],...N(t)})}s(cn,"_coercedNumber");function un(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...N(t)})}s(un,"_int");function Pi(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...N(t)})}s(Pi,"_float32");function zi(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...N(t)})}s(zi,"_float64");function xi(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...N(t)})}s(xi,"_int32");function Ai(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...N(t)})}s(Ai,"_uint32");function dn(e,t){return new e({type:"boolean",...N(t)})}s(dn,"_boolean");function mn(e,t){return new e({type:"boolean",coerce:!0,...N(t)})}s(mn,"_coercedBoolean");function Si(e,t){return new e({type:"bigint",...N(t)})}s(Si,"_bigint");function pn(e,t){return new e({type:"bigint",coerce:!0,...N(t)})}s(pn,"_coercedBigint");function Ti(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...N(t)})}s(Ti,"_int64");function Ci(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...N(t)})}s(Ci,"_uint64");function Ei(e,t){return new e({type:"symbol",...N(t)})}s(Ei,"_symbol");function Di(e,t){return new e({type:"undefined",...N(t)})}s(Di,"_undefined");function Oi(e,t){return new e({type:"null",...N(t)})}s(Oi,"_null");function yn(e){return new e({type:"any"})}s(yn,"_any");function fn(e){return new e({type:"unknown"})}s(fn,"_unknown");function Ni(e,t){return new e({type:"never",...N(t)})}s(Ni,"_never");function hn(e,t){return new e({type:"void",...N(t)})}s(hn,"_void");function wi(e,t){return new e({type:"date",...N(t)})}s(wi,"_date");function _n(e,t){return new e({type:"date",coerce:!0,...N(t)})}s(_n,"_coercedDate");function Ri(e,t){return new e({type:"nan",...N(t)})}s(Ri,"_nan");function Ve(e,t){return new Ia({check:"less_than",...N(t),value:e,inclusive:!1})}s(Ve,"_lt");function Ae(e,t){return new Ia({check:"less_than",...N(t),value:e,inclusive:!0})}s(Ae,"_lte");function He(e,t){return new Pa({check:"greater_than",...N(t),value:e,inclusive:!1})}s(He,"_gt");function he(e,t){return new Pa({check:"greater_than",...N(t),value:e,inclusive:!0})}s(he,"_gte");function gn(e){return He(0,e)}s(gn,"_positive");function bn(e){return Ve(0,e)}s(bn,"_negative");function kn(e){return Ae(0,e)}s(kn,"_nonpositive");function vn(e){return he(0,e)}s(vn,"_nonnegative");function ot(e,t){return new Yl({check:"multiple_of",...N(t),value:e})}s(ot,"_multipleOf");function rt(e,t){return new tc({check:"max_size",...N(t),maximum:e})}s(rt,"_maxSize");function Ge(e,t){return new oc({check:"min_size",...N(t),minimum:e})}s(Ge,"_minSize");function _t(e,t){return new rc({check:"size_equals",...N(t),size:e})}s(_t,"_size");function gt(e,t){return new nc({check:"max_length",...N(t),maximum:e})}s(gt,"_maxLength");function ye(e,t){return new ac({check:"min_length",...N(t),minimum:e})}s(ye,"_minLength");function bt(e,t){return new ic({check:"length_equals",...N(t),length:e})}s(bt,"_length");function Pe(e,t){return new sc({check:"string_format",format:"regex",...N(t),pattern:e})}s(Pe,"_regex");function Mt(e){return new lc({check:"string_format",format:"lowercase",...N(e)})}s(Mt,"_lowercase");function Ut(e){return new cc({check:"string_format",format:"uppercase",...N(e)})}s(Ut,"_uppercase");function Lt(e,t){return new uc({check:"string_format",format:"includes",...N(t),includes:e})}s(Lt,"_includes");function Ft(e,t){return new dc({check:"string_format",format:"starts_with",...N(t),prefix:e})}s(Ft,"_startsWith");function jt(e,t){return new mc({check:"string_format",format:"ends_with",...N(t),suffix:e})}s(jt,"_endsWith");function In(e,t,r){return new pc({check:"property",property:e,schema:t,...N(r)})}s(In,"_property");function qt(e,t){return new yc({check:"mime_type",mime:e,...N(t)})}s(qt,"_mime");function Fe(e){return new fc({check:"overwrite",tx:e})}s(Fe,"_overwrite");function Zt(e){return Fe(t=>t.normalize(e))}s(Zt,"_normalize");function Vt(){return Fe(e=>e.trim())}s(Vt,"_trim");function Ht(){return Fe(e=>e.toLowerCase())}s(Ht,"_toLowerCase");function Gt(){return Fe(e=>e.toUpperCase())}s(Gt,"_toUpperCase");function Po(){return Fe(e=>gl(e))}s(Po,"_slugify");function mu(e,t,r){return new e({type:"array",element:t,...N(r)})}s(mu,"_array");function qx(e,t,r){return new e({type:"union",options:t,...N(r)})}s(qx,"_union");function Zx(e,t,r){return new e({type:"union",options:t,inclusive:!1,...N(r)})}s(Zx,"_xor");function Vx(e,t,r,n){return new e({type:"union",options:r,discriminator:t,...N(n)})}s(Vx,"_discriminatedUnion");function Hx(e,t,r){return new e({type:"intersection",left:t,right:r})}s(Hx,"_intersection");function Gx(e,t,r,n){let o=r instanceof H,a=o?n:r,i=o?r:null;return new e({type:"tuple",items:t,rest:i,...N(a)})}s(Gx,"_tuple");function Wx(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,...N(n)})}s(Wx,"_record");function Kx(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,...N(n)})}s(Kx,"_map");function Jx(e,t,r){return new e({type:"set",valueType:t,...N(r)})}s(Jx,"_set");function Xx(e,t,r){let n=Array.isArray(t)?Object.fromEntries(t.map(o=>[o,o])):t;return new e({type:"enum",entries:n,...N(r)})}s(Xx,"_enum");function Yx(e,t,r){return new e({type:"enum",entries:t,...N(r)})}s(Yx,"_nativeEnum");function Qx(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...N(r)})}s(Qx,"_literal");function $i(e,t){return new e({type:"file",...N(t)})}s($i,"_file");function eA(e,t){return new e({type:"transform",transform:t})}s(eA,"_transform");function tA(e,t){return new e({type:"optional",innerType:t})}s(tA,"_optional");function oA(e,t){return new e({type:"nullable",innerType:t})}s(oA,"_nullable");function rA(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():ca(r)}})}s(rA,"_default");function nA(e,t,r){return new e({type:"nonoptional",innerType:t,...N(r)})}s(nA,"_nonoptional");function aA(e,t){return new e({type:"success",innerType:t})}s(aA,"_success");function iA(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}s(iA,"_catch");function sA(e,t,r){return new e({type:"pipe",in:t,out:r})}s(sA,"_pipe");function lA(e,t){return new e({type:"readonly",innerType:t})}s(lA,"_readonly");function cA(e,t,r){return new e({type:"template_literal",parts:t,...N(r)})}s(cA,"_templateLiteral");function uA(e,t){return new e({type:"lazy",getter:t})}s(uA,"_lazy");function dA(e,t){return new e({type:"promise",innerType:t})}s(dA,"_promise");function Pn(e,t,r){let n=N(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}s(Pn,"_custom");function zn(e,t,r){return new e({type:"custom",check:"custom",fn:t,...N(r)})}s(zn,"_refine");function Bi(e){let t=gy(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(ao(n,r.value,t._zod.def));else{let o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=t),o.continue??(o.continue=!t._zod.def.abort),r.issues.push(ao(o))}},e(r.value,r)));return t}s(Bi,"_superRefine");function gy(e,t){let r=new se({check:"custom",...N(t)});return r._zod.check=e,r}s(gy,"_check");function Mi(e){let t=new se({check:"describe"});return t._zod.onattach=[r=>{let n=be.get(r)??{};be.add(r,{...n,description:e})}],t._zod.check=()=>{},t}s(Mi,"describe");function Ui(e){let t=new se({check:"meta"});return t._zod.onattach=[r=>{let n=be.get(r)??{};be.add(r,{...n,...e})}],t._zod.check=()=>{},t}s(Ui,"meta");function Li(e,t){let r=N(t),n=r.truthy??["true","1","yes","on","y","enabled"],o=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(n=n.map(p=>typeof p=="string"?p.toLowerCase():p),o=o.map(p=>typeof p=="string"?p.toLowerCase():p));let a=new Set(n),i=new Set(o),l=e.Codec??bo,d=e.Boolean??Rt,m=e.String??tt,b=new m({type:"string",error:r.error}),x=new d({type:"boolean",error:r.error}),I=new l({type:"pipe",in:b,out:x,transform:s(((p,v)=>{let A=p;return r.case!=="sensitive"&&(A=A.toLowerCase()),a.has(A)?!0:i.has(A)?!1:(v.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...i],input:v.value,inst:I,continue:!1}),{})}),"transform"),reverseTransform:s(((p,v)=>p===!0?n[0]||"true":o[0]||"false"),"reverseTransform"),error:r.error});return I}s(Li,"_stringbool");function Wt(e,t,r,n={}){let o=N(n),a={...N(n),check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:l=>r.test(l),...o};return r instanceof RegExp&&(a.pattern=r),new e(a)}s(Wt,"_stringFormat");function kt(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??be,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}s(kt,"initializeContext");function ae(e,t,r={path:[],schemaPath:[]}){var n;let o=e._zod.def,a=t.seen.get(e);if(a)return a.count++,r.schemaPath.includes(e)&&(a.cycle=r.path),a.schema;let i={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,i);let l=e._zod.toJSONSchema?.();if(l)i.schema=l;else{let b={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,i.schema,b);else{let I=i.schema,p=t.processors[o.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);p(e,t,I,b)}let x=e._zod.parent;x&&(i.ref||(i.ref=x),ae(x,t,b),t.seen.get(x).isParent=!0)}let d=t.metadataRegistry.get(e);return d&&Object.assign(i.schema,d),t.io==="input"&&Se(e)&&(delete i.schema.examples,delete i.schema.default),t.io==="input"&&i.schema._prefault&&((n=i.schema).default??(n.default=i.schema._prefault)),delete i.schema._prefault,t.seen.get(e).schema}s(ae,"process");function vt(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=new Map;for(let i of e.seen.entries()){let l=e.metadataRegistry.get(i[0])?.id;if(l){let d=n.get(l);if(d&&d!==i[0])throw new Error(`Duplicate schema id "${l}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(l,i[0])}}let o=s(i=>{let l=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let x=e.external.registry.get(i[0])?.id,I=e.external.uri??(v=>v);if(x)return{ref:I(x)};let p=i[1].defId??i[1].schema.id??`schema${e.counter++}`;return i[1].defId=p,{defId:p,ref:`${I("__shared")}#/${l}/${p}`}}if(i[1]===r)return{ref:"#"};let m=`#/${l}/`,b=i[1].schema.id??`__schema${e.counter++}`;return{defId:b,ref:m+b}},"makeURI"),a=s(i=>{if(i[1].schema.$ref)return;let l=i[1],{ref:d,defId:m}=o(i);l.def={...l.schema},m&&(l.defId=m);let b=l.schema;for(let x in b)delete b[x];b.$ref=d},"extractToDef");if(e.cycles==="throw")for(let i of e.seen.entries()){let l=i[1];if(l.cycle)throw new Error(`Cycle detected: #/${l.cycle?.join("/")}/<root>
|
|
40
40
|
|
|
41
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let c=a[1];if(r===a[0]){o(a);continue}if(e.external){let d=e.external.registry.get(a[0])?.id;if(r!==a[0]&&d){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(c.cycle){o(a);continue}if(c.count>1&&e.reused==="ref"){o(a);continue}}}s(ot,"extractDefs");function it(e,r){let n=e.seen.get(r);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=s(a=>{let c=e.seen.get(a);if(c.ref===null)return;let l=c.def??c.schema,d={...l},m=c.ref;if(c.ref=null,m){i(m);let h=e.seen.get(m),p=h.schema;if(p.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(l.allOf=l.allOf??[],l.allOf.push(p)):Object.assign(l,p),Object.assign(l,d),a._zod.parent===m)for(let P in l)P==="$ref"||P==="allOf"||P in d||delete l[P];if(p.$ref&&h.def)for(let P in l)P==="$ref"||P==="allOf"||P in h.def&&JSON.stringify(l[P])===JSON.stringify(h.def[P])&&delete l[P]}let b=a._zod.parent;if(b&&b!==m){i(b);let h=e.seen.get(b);if(h?.schema.$ref&&(l.$ref=h.schema.$ref,h.def))for(let p in l)p==="$ref"||p==="allOf"||p in h.def&&JSON.stringify(l[p])===JSON.stringify(h.def[p])&&delete l[p]}e.override({zodSchema:a,jsonSchema:l,path:c.path??[]})},"flattenRef");for(let a of[...e.seen.entries()].reverse())i(a[0]);let t={};if(e.target==="draft-2020-12"?t.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?t.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?t.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let a=e.external.registry.get(r)?.id;if(!a)throw new Error("Schema is missing an `id` property");t.$id=e.external.uri(a)}Object.assign(t,n.def??n.schema);let o=e.external?.defs??{};for(let a of e.seen.entries()){let c=a[1];c.def&&c.defId&&(o[c.defId]=c.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?t.$defs=o:t.definitions=o);try{let a=JSON.parse(JSON.stringify(t));return Object.defineProperty(a,"~standard",{value:{...r["~standard"],jsonSchema:{input:nr(r,"input",e.processors),output:nr(r,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}s(it,"finalize");function ge(e,r){let n=r??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return ge(i.element,n);if(i.type==="set")return ge(i.valueType,n);if(i.type==="lazy")return ge(i.getter(),n);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return ge(i.innerType,n);if(i.type==="intersection")return ge(i.left,n)||ge(i.right,n);if(i.type==="record"||i.type==="map")return ge(i.keyType,n)||ge(i.valueType,n);if(i.type==="pipe")return ge(i.in,n)||ge(i.out,n);if(i.type==="object"){for(let t in i.shape)if(ge(i.shape[t],n))return!0;return!1}if(i.type==="union"){for(let t of i.options)if(ge(t,n))return!0;return!1}if(i.type==="tuple"){for(let t of i.items)if(ge(t,n))return!0;return!!(i.rest&&ge(i.rest,n))}return!1}s(ge,"isTransforming");var vu=s((e,r={})=>n=>{let i=nt({...n,processors:r});return q(e,i),ot(i,e),it(i,e)},"createToJSONSchemaMethod"),nr=s((e,r,n={})=>i=>{let{libraryOptions:t,target:o}=i??{},a=nt({...t??{},target:o,io:r,processors:n});return q(e,a),ot(a,e),it(a,e)},"createStandardJSONSchemaMethod");var P_={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},xu=s((e,r,n,i)=>{let t=n;t.type="string";let{minimum:o,maximum:a,format:c,patterns:l,contentEncoding:d}=e._zod.bag;if(typeof o=="number"&&(t.minLength=o),typeof a=="number"&&(t.maxLength=a),c&&(t.format=P_[c]??c,t.format===""&&delete t.format,c==="time"&&delete t.format),d&&(t.contentEncoding=d),l&&l.size>0){let m=[...l];m.length===1?t.pattern=m[0].source:m.length>1&&(t.allOf=[...m.map(b=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:b.source}))])}},"stringProcessor"),_u=s((e,r,n,i)=>{let t=n,{minimum:o,maximum:a,format:c,multipleOf:l,exclusiveMaximum:d,exclusiveMinimum:m}=e._zod.bag;typeof c=="string"&&c.includes("int")?t.type="integer":t.type="number",typeof m=="number"&&(r.target==="draft-04"||r.target==="openapi-3.0"?(t.minimum=m,t.exclusiveMinimum=!0):t.exclusiveMinimum=m),typeof o=="number"&&(t.minimum=o,typeof m=="number"&&r.target!=="draft-04"&&(m>=o?delete t.minimum:delete t.exclusiveMinimum)),typeof d=="number"&&(r.target==="draft-04"||r.target==="openapi-3.0"?(t.maximum=d,t.exclusiveMaximum=!0):t.exclusiveMaximum=d),typeof a=="number"&&(t.maximum=a,typeof d=="number"&&r.target!=="draft-04"&&(d<=a?delete t.maximum:delete t.exclusiveMaximum)),typeof l=="number"&&(t.multipleOf=l)},"numberProcessor"),Pu=s((e,r,n,i)=>{n.type="boolean"},"booleanProcessor"),bu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},"bigintProcessor"),Eu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},"symbolProcessor"),Iu=s((e,r,n,i)=>{r.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},"nullProcessor"),Tu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},"undefinedProcessor"),Su=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},"voidProcessor"),$u=s((e,r,n,i)=>{n.not={}},"neverProcessor"),Au=s((e,r,n,i)=>{},"anyProcessor"),zu=s((e,r,n,i)=>{},"unknownProcessor"),Ou=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},"dateProcessor"),ku=s((e,r,n,i)=>{let t=e._zod.def,o=$r(t.entries);o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),n.enum=o},"enumProcessor"),Ru=s((e,r,n,i)=>{let t=e._zod.def,o=[];for(let a of t.values)if(a===void 0){if(r.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(r.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];n.type=a===null?"null":typeof a,r.target==="draft-04"||r.target==="openapi-3.0"?n.enum=[a]:n.const=a}else o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),o.every(a=>typeof a=="boolean")&&(n.type="boolean"),o.every(a=>a===null)&&(n.type="null"),n.enum=o},"literalProcessor"),wu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},"nanProcessor"),Nu=s((e,r,n,i)=>{let t=n,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");t.type="string",t.pattern=o.source},"templateLiteralProcessor"),Du=s((e,r,n,i)=>{let t=n,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:c,mime:l}=e._zod.bag;a!==void 0&&(o.minLength=a),c!==void 0&&(o.maxLength=c),l?l.length===1?(o.contentMediaType=l[0],Object.assign(t,o)):(Object.assign(t,o),t.anyOf=l.map(d=>({contentMediaType:d}))):Object.assign(t,o)},"fileProcessor"),Cu=s((e,r,n,i)=>{n.type="boolean"},"successProcessor"),Uu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},"customProcessor"),Mu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},"functionProcessor"),Lu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},"transformProcessor"),ju=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},"mapProcessor"),Zu=s((e,r,n,i)=>{if(r.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},"setProcessor"),Fu=s((e,r,n,i)=>{let t=n,o=e._zod.def,{minimum:a,maximum:c}=e._zod.bag;typeof a=="number"&&(t.minItems=a),typeof c=="number"&&(t.maxItems=c),t.type="array",t.items=q(o.element,r,{...i,path:[...i.path,"items"]})},"arrayProcessor"),Bu=s((e,r,n,i)=>{let t=n,o=e._zod.def;t.type="object",t.properties={};let a=o.shape;for(let d in a)t.properties[d]=q(a[d],r,{...i,path:[...i.path,"properties",d]});let c=new Set(Object.keys(a)),l=new Set([...c].filter(d=>{let m=o.shape[d]._zod;return r.io==="input"?m.optin===void 0:m.optout===void 0}));l.size>0&&(t.required=Array.from(l)),o.catchall?._zod.def.type==="never"?t.additionalProperties=!1:o.catchall?o.catchall&&(t.additionalProperties=q(o.catchall,r,{...i,path:[...i.path,"additionalProperties"]})):r.io==="output"&&(t.additionalProperties=!1)},"objectProcessor"),da=s((e,r,n,i)=>{let t=e._zod.def,o=t.inclusive===!1,a=t.options.map((c,l)=>q(c,r,{...i,path:[...i.path,o?"oneOf":"anyOf",l]}));o?n.oneOf=a:n.anyOf=a},"unionProcessor"),Vu=s((e,r,n,i)=>{let t=e._zod.def,o=q(t.left,r,{...i,path:[...i.path,"allOf",0]}),a=q(t.right,r,{...i,path:[...i.path,"allOf",1]}),c=s(d=>"allOf"in d&&Object.keys(d).length===1,"isSimpleIntersection"),l=[...c(o)?o.allOf:[o],...c(a)?a.allOf:[a]];n.allOf=l},"intersectionProcessor"),Hu=s((e,r,n,i)=>{let t=n,o=e._zod.def;t.type="array";let a=r.target==="draft-2020-12"?"prefixItems":"items",c=r.target==="draft-2020-12"||r.target==="openapi-3.0"?"items":"additionalItems",l=o.items.map((h,p)=>q(h,r,{...i,path:[...i.path,a,p]})),d=o.rest?q(o.rest,r,{...i,path:[...i.path,c,...r.target==="openapi-3.0"?[o.items.length]:[]]}):null;r.target==="draft-2020-12"?(t.prefixItems=l,d&&(t.items=d)):r.target==="openapi-3.0"?(t.items={anyOf:l},d&&t.items.anyOf.push(d),t.minItems=l.length,d||(t.maxItems=l.length)):(t.items=l,d&&(t.additionalItems=d));let{minimum:m,maximum:b}=e._zod.bag;typeof m=="number"&&(t.minItems=m),typeof b=="number"&&(t.maxItems=b)},"tupleProcessor"),Gu=s((e,r,n,i)=>{let t=n,o=e._zod.def;t.type="object";let a=o.keyType,l=a._zod.bag?.patterns;if(o.mode==="loose"&&l&&l.size>0){let m=q(o.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});t.patternProperties={};for(let b of l)t.patternProperties[b.source]=m}else(r.target==="draft-07"||r.target==="draft-2020-12")&&(t.propertyNames=q(o.keyType,r,{...i,path:[...i.path,"propertyNames"]})),t.additionalProperties=q(o.valueType,r,{...i,path:[...i.path,"additionalProperties"]});let d=a._zod.values;if(d){let m=[...d].filter(b=>typeof b=="string"||typeof b=="number");m.length>0&&(t.required=m)}},"recordProcessor"),Wu=s((e,r,n,i)=>{let t=e._zod.def,o=q(t.innerType,r,i),a=r.seen.get(e);r.target==="openapi-3.0"?(a.ref=t.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},"nullableProcessor"),qu=s((e,r,n,i)=>{let t=e._zod.def;q(t.innerType,r,i);let o=r.seen.get(e);o.ref=t.innerType},"nonoptionalProcessor"),Ju=s((e,r,n,i)=>{let t=e._zod.def;q(t.innerType,r,i);let o=r.seen.get(e);o.ref=t.innerType,n.default=JSON.parse(JSON.stringify(t.defaultValue))},"defaultProcessor"),Ku=s((e,r,n,i)=>{let t=e._zod.def;q(t.innerType,r,i);let o=r.seen.get(e);o.ref=t.innerType,r.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(t.defaultValue)))},"prefaultProcessor"),Xu=s((e,r,n,i)=>{let t=e._zod.def;q(t.innerType,r,i);let o=r.seen.get(e);o.ref=t.innerType;let a;try{a=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},"catchProcessor"),Yu=s((e,r,n,i)=>{let t=e._zod.def,o=r.io==="input"?t.in._zod.def.type==="transform"?t.out:t.in:t.out;q(o,r,i);let a=r.seen.get(e);a.ref=o},"pipeProcessor"),Qu=s((e,r,n,i)=>{let t=e._zod.def;q(t.innerType,r,i);let o=r.seen.get(e);o.ref=t.innerType,n.readOnly=!0},"readonlyProcessor"),ep=s((e,r,n,i)=>{let t=e._zod.def;q(t.innerType,r,i);let o=r.seen.get(e);o.ref=t.innerType},"promiseProcessor"),ma=s((e,r,n,i)=>{let t=e._zod.def;q(t.innerType,r,i);let o=r.seen.get(e);o.ref=t.innerType},"optionalProcessor"),tp=s((e,r,n,i)=>{let t=e._zod.innerType;q(t,r,i);let o=r.seen.get(e);o.ref=t},"lazyProcessor"),la={string:xu,number:_u,boolean:Pu,bigint:bu,symbol:Eu,null:Iu,undefined:Tu,void:Su,never:$u,any:Au,unknown:zu,date:Ou,enum:ku,literal:Ru,nan:wu,template_literal:Nu,file:Du,success:Cu,custom:Uu,function:Mu,transform:Lu,map:ju,set:Zu,array:Fu,object:Bu,union:da,intersection:Vu,tuple:Hu,record:Gu,nullable:Wu,nonoptional:qu,default:Ju,prefault:Ku,catch:Xu,pipe:Yu,readonly:Qu,promise:ep,optional:ma,lazy:tp};function Fn(e,r){if("_idmap"in e){let i=e,t=nt({...r,processors:la}),o={};for(let l of i._idmap.entries()){let[d,m]=l;q(m,t)}let a={},c={registry:i,uri:r?.uri,defs:o};t.external=c;for(let l of i._idmap.entries()){let[d,m]=l;ot(t,m),a[d]=it(t,m)}if(Object.keys(o).length>0){let l=t.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[l]:o}}return{schemas:a}}let n=nt({...r,processors:la});return q(e,n),ot(n,e),it(n,e)}s(Fn,"toJSONSchema");var fa=class{static{s(this,"JSONSchemaGenerator")}get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(r){this.ctx.counter=r}get seen(){return this.ctx.seen}constructor(r){let n=r?.target??"draft-2020-12";n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),this.ctx=nt({processors:la,target:n,...r?.metadata&&{metadata:r.metadata},...r?.unrepresentable&&{unrepresentable:r.unrepresentable},...r?.override&&{override:r.override},...r?.io&&{io:r.io}})}process(r,n={path:[],schemaPath:[]}){return q(r,this.ctx,n)}emit(r,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),ot(this.ctx,r);let i=it(this.ctx,r),{"~standard":t,...o}=i;return o}};var am={};var ie=f("ZodMiniType",(e,r)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");N.init(e,r),e.def=r,e.type=r.type,e.parse=(n,i)=>mt(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>Ht(e,n,i),e.parseAsync=async(n,i)=>ft(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>Wt(e,n,i),e.check=(...n)=>e.clone({...r,checks:[...r.checks??[],...n.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]},{parent:!0}),e.with=e.check,e.clone=(n,i)=>se(e,n,i),e.brand=()=>e,e.register=((n,i)=>(n.add(e,i),e)),e.apply=n=>n(e)}),ga=f("ZodMiniString",(e,r)=>{je.init(e,r),ie.init(e,r)});function u(e){return nn(ga,e)}s(u,"string");var sm=f("ZodMiniStringFormat",(e,r)=>{W.init(e,r),ga.init(e,r)});var I_=f("ZodMiniURL",(e,r)=>{Cr.init(e,r),sm.init(e,r)});function cm(e){return vt(I_,e)}s(cm,"url");var ya=f("ZodMiniNumber",(e,r)=>{Jt.init(e,r),ie.init(e,r)});function ue(e){return Sn(ya,e)}s(ue,"number");var T_=f("ZodMiniNumberFormat",(e,r)=>{Ur.init(e,r),ya.init(e,r)});function um(e){return An(T_,e)}s(um,"int");var rp=f("ZodMiniBoolean",(e,r)=>{yt.init(e,r),ie.init(e,r)});function H(e){return zn(rp,e)}s(H,"boolean");var pm=f("ZodMiniBigInt",(e,r)=>{Kt.init(e,r),ie.init(e,r)});var S_=f("ZodMiniAny",(e,r)=>{Mr.init(e,r),ie.init(e,r)});function Bn(){return Rn(S_)}s(Bn,"any");var $_=f("ZodMiniUnknown",(e,r)=>{Lr.init(e,r),ie.init(e,r)});function U(){return wn($_)}s(U,"unknown");var A_=f("ZodMiniVoid",(e,r)=>{jr.init(e,r),ie.init(e,r)});function lm(e){return Nn(A_,e)}s(lm,"_void");var dm=f("ZodMiniDate",(e,r)=>{Zr.init(e,r),ie.init(e,r)});var z_=f("ZodMiniArray",(e,r)=>{Fr.init(e,r),ie.init(e,r)});function w(e,r){return new z_({type:"array",element:e,...I(r)})}s(w,"array");var O_=f("ZodMiniObject",(e,r)=>{xi.init(e,r),ie.init(e,r),j(e,"shape",()=>r.shape)});function g(e,r){let n={type:"object",shape:e??{},...I(r)};return new O_(n)}s(g,"object");var k_=f("ZodMiniUnion",(e,r)=>{ht.init(e,r),ie.init(e,r)});function Z(e,r){return new k_({type:"union",options:e,...I(r)})}s(Z,"union");var R_=f("ZodMiniDiscriminatedUnion",(e,r)=>{Br.init(e,r),ie.init(e,r)});function at(e,r,n){return new R_({type:"union",options:r,discriminator:e,...I(n)})}s(at,"discriminatedUnion");var w_=f("ZodMiniRecord",(e,r)=>{Hr.init(e,r),ie.init(e,r)});function M(e,r,n){return new w_({type:"record",keyType:e,valueType:r,...I(n)})}s(M,"record");var N_=f("ZodMiniEnum",(e,r)=>{Gr.init(e,r),ie.init(e,r),e.options=Object.values(r.entries)});function R(e,r){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new N_({type:"enum",entries:n,...I(r)})}s(R,"_enum");var D_=f("ZodMiniLiteral",(e,r)=>{Wr.init(e,r),ie.init(e,r)});function k(e,r){return new D_({type:"literal",values:Array.isArray(e)?e:[e],...I(r)})}s(k,"literal");var C_=f("ZodMiniTransform",(e,r)=>{qr.init(e,r),ie.init(e,r)});function st(e){return new C_({type:"transform",transform:e})}s(st,"transform");var U_=f("ZodMiniOptional",(e,r)=>{Xt.init(e,r),ie.init(e,r)});function x(e){return new U_({type:"optional",innerType:e})}s(x,"optional");var M_=f("ZodMiniNullable",(e,r)=>{Jr.init(e,r),ie.init(e,r)});function Vn(e){return new M_({type:"nullable",innerType:e})}s(Vn,"nullable");var L_=f("ZodMiniPipe",(e,r)=>{Kr.init(e,r),ie.init(e,r)});function ct(e,r){return new L_({type:"pipe",in:e,out:r})}s(ct,"pipe");var j_=f("ZodMiniCustom",(e,r)=>{Xr.init(e,r),ie.init(e,r)});function ha(e,r){return Zn(j_,e??(()=>!0),r)}s(ha,"custom");var Hn={};Ae(Hn,{bigint:()=>H_,boolean:()=>V_,date:()=>G_,number:()=>B_,string:()=>F_});function F_(e){return on(ga,e)}s(F_,"string");function B_(e){return $n(ya,e)}s(B_,"number");function V_(e){return On(rp,e)}s(V_,"boolean");function H_(e){return kn(pm,e)}s(H_,"bigint");function G_(e){return Dn(dm,e)}s(G_,"date");var op=g({retryOnFailure:g({defaultValue:x(H()),hide:x(H())}),continueOnFailure:g({defaultValue:x(H()),hide:x(H())})}),np=class{constructor(r,n,i,t,o,a,c,l,d,m,b,h,p){this.name=r;this.displayName=n;this.description=i;this.props=t;this.propertyGroups=o;this.run=a;this.test=c;this.requireAuth=l;this.errorHandlingOptions=d;this.outputSchema=m;this.audience=b;this.aiMetadata=h;this.classification=p}static{s(this,"IAction")}},fm=s(e=>new np(e.name,e.displayName,e.description,e.props,e.propertyGroups,e.run,e.test??e.run,e.requireAuth??!0,e.errorHandlingOptions??{continueOnFailure:{defaultValue:!1},retryOnFailure:{defaultValue:!1}},e.outputSchema,e.audience,e.aiMetadata,e.classification),"createAction");var V=g({displayName:u(),description:x(u()),advanced:x(H()),width:x(R(["half","full"])),icon:x(u()),placeholder:x(u())}),L=s((e,r)=>g({type:k(r),required:H(),defaultValue:x(Bn())}),"TPropertyValue");var Ee=g({...V.shape,...L(u(),"SHORT_TEXT").shape}),Be=g({...V.shape,...L(u(),"LONG_TEXT").shape});var gm=g({label:u(),value:U(),description:x(u()),icon:x(u())}),va=g({disabled:x(H()),placeholder:x(u()),options:w(gm)});var q_=R(["cards"]),Ie=g({...V.shape,options:va,display:x(q_),...L(U(),"STATIC_DROPDOWN").shape}),Ve=g({...V.shape,options:va,...L(w(U()),"STATIC_MULTI_SELECT_DROPDOWN").shape});var ip=g({...V.shape,...L(U(),"DROPDOWN").shape,refreshers:w(u())}),Gn=g({...V.shape,...L(w(U()),"MULTI_SELECT_DROPDOWN").shape,refreshers:w(u())});var He=g({...V.shape,reveals:x(w(u())),...L(H(),"CHECKBOX").shape});var Ge=g({...V.shape,display:x(R(["stepper"])),min:x(ue()),max:x(ue()),step:x(ue()),...L(ue(),"NUMBER").shape});var Wn=g({...V.shape,streaming:x(H()),...L(U(),"FILE").shape});var qn=g({...V.shape,...L(u(),"DATE_TIME").shape});var ym=M(u(),Z([Ee,Be,Ie,Gn,Ve,He,Ge,Wn,qn])),Jn=g({...V.shape,properties:ym,...L(w(U()),"ARRAY").shape});var hm=R(["any_time","last_24_hours","last_7_days","last_30_days","last_90_days","this_month","custom"]),vm=g({preset:x(hm),after:x(u()),before:x(u())}),ap=g({...V.shape,display:x(R(["dropdown"])),...L(vm,"DATE_RANGE").shape});var Kn=g({...V.shape,...L(Z([M(u(),U())]),"JSON").shape});var xm=Z([Ee,Ie,Kn,Jn,Ve]),J_=M(u(),xm),sp=g({refreshers:w(u()),...V.shape,...L(U(),"DYNAMIC").shape});var xa=g({...V.shape,...L(lm(),"MARKDOWN").shape});var Xn=(n=>(n.ARCHIVE="ARCHIVE",n.REGISTRY="REGISTRY",n))(Xn||{}),or=(n=>(n.CUSTOM="CUSTOM",n.OFFICIAL="OFFICIAL",n))(or||{}),ir=(_=>(_.ARTIFICIAL_INTELLIGENCE="ARTIFICIAL_INTELLIGENCE",_.COMMUNICATION="COMMUNICATION",_.COMMERCE="COMMERCE",_.CORE="CORE",_.UNIVERSAL_AI="UNIVERSAL_AI",_.FLOW_CONTROL="FLOW_CONTROL",_.BUSINESS_INTELLIGENCE="BUSINESS_INTELLIGENCE",_.ACCOUNTING="ACCOUNTING",_.PRODUCTIVITY="PRODUCTIVITY",_.CONTENT_AND_FILES="CONTENT_AND_FILES",_.DEVELOPER_TOOLS="DEVELOPER_TOOLS",_.CUSTOMER_SUPPORT="CUSTOMER_SUPPORT",_.FORMS_AND_SURVEYS="FORMS_AND_SURVEYS",_.HUMAN_RESOURCES="HUMAN_RESOURCES",_.PAYMENT_PROCESSING="PAYMENT_PROCESSING",_.MARKETING="MARKETING",_.SALES_AND_CRM="SALES_AND_CRM",_))(ir||{});var Yn=(n=>(n.AUTHORIZATION_CODE="authorization_code",n.CLIENT_CREDENTIALS="client_credentials",n))(Yn||{}),cp="both_client_credentials_and_authorization_code";var Ot=(t=>(t.POLLING="POLLING",t.WEBHOOK="WEBHOOK",t.APP_WEBHOOK="APP_WEBHOOK",t.MANUAL="MANUAL",t))(Ot||{}),Qn=(o=>(o.NONE="NONE",o.HEADER_PRESENT="HEADER_PRESENT",o.QUERY_PRESENT="QUERY_PRESENT",o.BODY_PARAM_PRESENT="BODY_PARAM_PRESENT",o.HEAD_REQUEST="HEAD_REQUEST",o))(Qn||{}),K_=g({strategy:R(Qn),paramName:x(u())}),eo=(n=>(n.SIMULATION="SIMULATION",n.TEST_FUNCTION="TEST_FUNCTION",n))(eo||{});var _a=(n=>(n.WEBSOCKET="WEBSOCKET",n.NONE="NONE",n))(_a||{}),_m=g({status:x(ue()),body:x(U()),headers:x(M(u(),u()))}),Pm=g({type:k("DELAY"),resumeDateTime:u(),requestIdToReply:x(u()),handlerId:x(u()),streamStepProgress:x(R(_a))}),bm=g({type:k("WEBHOOK"),requestId:u(),requestIdToReply:x(u()),response:_m,handlerId:x(u()),streamStepProgress:x(R(_a))}),X_=Z([Pm,bm]);var Y_=g({body:U(),rawBody:x(U()),headers:M(u(),u()),queryParams:M(u(),u())});function we(e){return e==null}s(we,"isNil");function to(e){return e==null?!0:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:!1}s(to,"isEmpty");function Pa(e,r){if(e==null)throw new Error(`${r} is null or undefined`)}s(Pa,"assertNotNullOrUndefined");function up(e){try{return{data:e(),error:null}}catch(r){return{data:null,error:r}}}s(up,"tryCatchSync");var pp=Ct(require("crypto"),1);var Q_=128,ut,ar,eP=s(e=>{if(e<0)throw new RangeError("Wrong ID size");try{!ut||ut.length<e?(ut=Buffer.allocUnsafe(e*Q_),pp.default.randomFillSync(ut),ar=0):ar+e>ut.length&&(pp.default.randomFillSync(ut),ar=0)}catch(r){throw ut=void 0,r}ar+=e},"fillPool"),tP=s(e=>(eP(e|=0),ut.subarray(ar-e,ar)),"random"),rP=s((e,r,n)=>{let i=(2<<31-Math.clz32(e.length-1|1))-1,t=Math.ceil(1.6*i*r/e.length);return(o=r)=>{if(o<=0)return"";let a="";for(;;){let c=n(t),l=t;for(;l--;)if(a+=e[c[l]&i]||"",a.length===o)return a}}},"customRandom"),Im=s((e,r=21)=>rP(e,r,tP),"customAlphabet");var nP="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Tm=21,dO=u().check(le(new RegExp(`^[0-9a-zA-Z]{${Tm}}$`))),oP=Im(nP,Tm);var pt=ct(st(e=>e instanceof Date?e.toISOString():e),u()),$e={id:u(),created:pt,updated:pt},ee=s(e=>x(Vn(e)),"Nullable");function lp(e){return x(Vn(R(e)))}s(lp,"NullableEnum");var gO=ct(st(e=>e==="true"||e===!0?!0:e==="false"||e===!1?!1:void 0),x(H())),ba=s(e=>ct(st(r=>Array.isArray(r)?r:r!==void 0?[r]:void 0),x(w(e))),"OptionalArrayFromQuery");var vO=M(u(),U());var sr=(_=>(_.OPENAI="openai",_.OPENROUTER="openrouter",_.ANTHROPIC="anthropic",_.AZURE="azure",_.GOOGLE="google",_.ACTIVEPIECES="activepieces",_.CLOUDFLARE_GATEWAY="cloudflare-gateway",_.CUSTOM="custom",_.BEDROCK="bedrock",_.VERTEX="vertex",_.MISTRAL="mistral",_.XAI="xai",_.DEEPSEEK="deepseek",_.ZAI="zai",_.QWEN="qwen",_.MINIMAX="minimax",_.MOONSHOT="moonshot",_))(sr||{});var kO=u().check(le(/^#[0-9A-Fa-f]{6}$/));var wO=g({filename:u(),data:U(),type:k("file"),mimetype:x(u())});var iP=Ct($m());var jO=g({...$e,name:u(),permissions:w(u()),platformId:ee(u()),type:u(),userCount:x(ue())});var ns={};Ae(ns,{$brand:()=>Tr,$input:()=>Li,$output:()=>Mi,NEVER:()=>Po,TimePrecision:()=>Zi,ZodAny:()=>Dp,ZodArray:()=>Lp,ZodBase64:()=>Va,ZodBase64URL:()=>Ha,ZodBigInt:()=>fr,ZodBigIntFormat:()=>qa,ZodBoolean:()=>mr,ZodCIDRv4:()=>Fa,ZodCIDRv6:()=>Ba,ZodCUID:()=>Da,ZodCUID2:()=>Ca,ZodCatch:()=>sl,ZodCodec:()=>rs,ZodCustom:()=>fo,ZodCustomStringFormat:()=>lr,ZodDate:()=>co,ZodDefault:()=>tl,ZodDiscriminatedUnion:()=>Zp,ZodE164:()=>Ga,ZodEmail:()=>Ra,ZodEmoji:()=>wa,ZodEnum:()=>ur,ZodError:()=>aP,ZodExactOptional:()=>Yp,ZodFile:()=>Kp,ZodFirstPartyTypeKind:()=>xl,ZodFunction:()=>yl,ZodGUID:()=>no,ZodIPv4:()=>ja,ZodIPv6:()=>Za,ZodISODate:()=>Sa,ZodISODateTime:()=>Ta,ZodISODuration:()=>Aa,ZodISOTime:()=>$a,ZodIntersection:()=>Fp,ZodIssueCode:()=>cP,ZodJWT:()=>Wa,ZodKSUID:()=>La,ZodLazy:()=>ml,ZodLiteral:()=>Jp,ZodMAC:()=>Ap,ZodMap:()=>Wp,ZodNaN:()=>ul,ZodNanoID:()=>Na,ZodNever:()=>Up,ZodNonOptional:()=>es,ZodNull:()=>wp,ZodNullable:()=>el,ZodNumber:()=>dr,ZodNumberFormat:()=>Rt,ZodObject:()=>po,ZodOptional:()=>Qa,ZodPipe:()=>ts,ZodPrefault:()=>nl,ZodPromise:()=>gl,ZodReadonly:()=>pl,ZodRealError:()=>xe,ZodRecord:()=>mo,ZodSet:()=>qp,ZodString:()=>pr,ZodStringFormat:()=>K,ZodSuccess:()=>al,ZodSymbol:()=>kp,ZodTemplateLiteral:()=>dl,ZodTransform:()=>Xp,ZodTuple:()=>Vp,ZodType:()=>F,ZodULID:()=>Ua,ZodURL:()=>so,ZodUUID:()=>De,ZodUndefined:()=>Rp,ZodUnion:()=>lo,ZodUnknown:()=>Cp,ZodVoid:()=>Mp,ZodXID:()=>Ma,ZodXor:()=>jp,_ZodString:()=>ka,_default:()=>rl,_function:()=>Df,any:()=>mf,array:()=>uo,base64:()=>Jm,base64url:()=>Km,bigint:()=>cf,boolean:()=>Op,catch:()=>cl,check:()=>Cf,cidrv4:()=>Wm,cidrv6:()=>qm,clone:()=>se,codec:()=>Rf,coerce:()=>_l,config:()=>Q,core:()=>be,cuid:()=>Lm,cuid2:()=>jm,custom:()=>Uf,date:()=>gf,decode:()=>Pp,decodeAsync:()=>Ep,describe:()=>Mf,discriminatedUnion:()=>Pf,e164:()=>Xm,email:()=>zm,emoji:()=>Um,encode:()=>_p,encodeAsync:()=>bp,endsWith:()=>Et,enum:()=>Xa,exactOptional:()=>Qp,file:()=>Af,flattenError:()=>jt,float32:()=>nf,float64:()=>of,formatError:()=>Zt,fromJSONSchema:()=>Hf,function:()=>Df,getErrorMap:()=>pP,globalRegistry:()=>ce,gt:()=>ke,gte:()=>ae,guid:()=>Om,hash:()=>rf,hex:()=>tf,hostname:()=>ef,httpUrl:()=>Cm,includes:()=>Pt,instanceof:()=>jf,int:()=>Oa,int32:()=>af,int64:()=>uf,intersection:()=>Bp,ipv4:()=>Vm,ipv6:()=>Gm,iso:()=>cr,json:()=>Ff,jwt:()=>Ym,keyof:()=>yf,ksuid:()=>Bm,lazy:()=>fl,length:()=>rt,literal:()=>$f,locales:()=>er,looseObject:()=>xf,looseRecord:()=>Ef,lowercase:()=>xt,lt:()=>Oe,lte:()=>fe,mac:()=>Hm,map:()=>If,maxLength:()=>tt,maxSize:()=>Fe,meta:()=>Lf,mime:()=>It,minLength:()=>oe,minSize:()=>Re,multipleOf:()=>Ze,nan:()=>kf,nanoid:()=>Mm,nativeEnum:()=>Sf,negative:()=>Un,never:()=>Ja,nonnegative:()=>Ln,nonoptional:()=>il,nonpositive:()=>Mn,normalize:()=>Tt,null:()=>Np,nullable:()=>io,nullish:()=>zf,number:()=>zp,object:()=>hf,optional:()=>oo,overwrite:()=>Se,parse:()=>yp,parseAsync:()=>hp,partialRecord:()=>bf,pipe:()=>ao,positive:()=>Cn,prefault:()=>ol,preprocess:()=>Bf,prettifyError:()=>So,promise:()=>Nf,property:()=>jn,readonly:()=>ll,record:()=>Gp,refine:()=>hl,regex:()=>le,regexes:()=>ve,registry:()=>rn,safeDecode:()=>Tp,safeDecodeAsync:()=>$p,safeEncode:()=>Ip,safeEncodeAsync:()=>Sp,safeParse:()=>vp,safeParseAsync:()=>xp,set:()=>Tf,setErrorMap:()=>uP,size:()=>et,slugify:()=>rr,startsWith:()=>bt,strictObject:()=>vf,string:()=>za,stringFormat:()=>Qm,stringbool:()=>Zf,success:()=>Of,superRefine:()=>vl,symbol:()=>lf,templateLiteral:()=>wf,toJSONSchema:()=>Fn,toLowerCase:()=>$t,toUpperCase:()=>At,transform:()=>Ya,treeifyError:()=>To,trim:()=>St,tuple:()=>Hp,uint32:()=>sf,uint64:()=>pf,ulid:()=>Zm,undefined:()=>df,union:()=>Ka,unknown:()=>kt,uppercase:()=>_t,url:()=>Dm,util:()=>S,uuid:()=>km,uuidv4:()=>Rm,uuidv6:()=>wm,uuidv7:()=>Nm,void:()=>ff,xid:()=>Fm,xor:()=>_f});var ro={};Ae(ro,{ZodAny:()=>Dp,ZodArray:()=>Lp,ZodBase64:()=>Va,ZodBase64URL:()=>Ha,ZodBigInt:()=>fr,ZodBigIntFormat:()=>qa,ZodBoolean:()=>mr,ZodCIDRv4:()=>Fa,ZodCIDRv6:()=>Ba,ZodCUID:()=>Da,ZodCUID2:()=>Ca,ZodCatch:()=>sl,ZodCodec:()=>rs,ZodCustom:()=>fo,ZodCustomStringFormat:()=>lr,ZodDate:()=>co,ZodDefault:()=>tl,ZodDiscriminatedUnion:()=>Zp,ZodE164:()=>Ga,ZodEmail:()=>Ra,ZodEmoji:()=>wa,ZodEnum:()=>ur,ZodExactOptional:()=>Yp,ZodFile:()=>Kp,ZodFunction:()=>yl,ZodGUID:()=>no,ZodIPv4:()=>ja,ZodIPv6:()=>Za,ZodIntersection:()=>Fp,ZodJWT:()=>Wa,ZodKSUID:()=>La,ZodLazy:()=>ml,ZodLiteral:()=>Jp,ZodMAC:()=>Ap,ZodMap:()=>Wp,ZodNaN:()=>ul,ZodNanoID:()=>Na,ZodNever:()=>Up,ZodNonOptional:()=>es,ZodNull:()=>wp,ZodNullable:()=>el,ZodNumber:()=>dr,ZodNumberFormat:()=>Rt,ZodObject:()=>po,ZodOptional:()=>Qa,ZodPipe:()=>ts,ZodPrefault:()=>nl,ZodPromise:()=>gl,ZodReadonly:()=>pl,ZodRecord:()=>mo,ZodSet:()=>qp,ZodString:()=>pr,ZodStringFormat:()=>K,ZodSuccess:()=>al,ZodSymbol:()=>kp,ZodTemplateLiteral:()=>dl,ZodTransform:()=>Xp,ZodTuple:()=>Vp,ZodType:()=>F,ZodULID:()=>Ua,ZodURL:()=>so,ZodUUID:()=>De,ZodUndefined:()=>Rp,ZodUnion:()=>lo,ZodUnknown:()=>Cp,ZodVoid:()=>Mp,ZodXID:()=>Ma,ZodXor:()=>jp,_ZodString:()=>ka,_default:()=>rl,_function:()=>Df,any:()=>mf,array:()=>uo,base64:()=>Jm,base64url:()=>Km,bigint:()=>cf,boolean:()=>Op,catch:()=>cl,check:()=>Cf,cidrv4:()=>Wm,cidrv6:()=>qm,codec:()=>Rf,cuid:()=>Lm,cuid2:()=>jm,custom:()=>Uf,date:()=>gf,describe:()=>Mf,discriminatedUnion:()=>Pf,e164:()=>Xm,email:()=>zm,emoji:()=>Um,enum:()=>Xa,exactOptional:()=>Qp,file:()=>Af,float32:()=>nf,float64:()=>of,function:()=>Df,guid:()=>Om,hash:()=>rf,hex:()=>tf,hostname:()=>ef,httpUrl:()=>Cm,instanceof:()=>jf,int:()=>Oa,int32:()=>af,int64:()=>uf,intersection:()=>Bp,ipv4:()=>Vm,ipv6:()=>Gm,json:()=>Ff,jwt:()=>Ym,keyof:()=>yf,ksuid:()=>Bm,lazy:()=>fl,literal:()=>$f,looseObject:()=>xf,looseRecord:()=>Ef,mac:()=>Hm,map:()=>If,meta:()=>Lf,nan:()=>kf,nanoid:()=>Mm,nativeEnum:()=>Sf,never:()=>Ja,nonoptional:()=>il,null:()=>Np,nullable:()=>io,nullish:()=>zf,number:()=>zp,object:()=>hf,optional:()=>oo,partialRecord:()=>bf,pipe:()=>ao,prefault:()=>ol,preprocess:()=>Bf,promise:()=>Nf,readonly:()=>ll,record:()=>Gp,refine:()=>hl,set:()=>Tf,strictObject:()=>vf,string:()=>za,stringFormat:()=>Qm,stringbool:()=>Zf,success:()=>Of,superRefine:()=>vl,symbol:()=>lf,templateLiteral:()=>wf,transform:()=>Ya,tuple:()=>Hp,uint32:()=>sf,uint64:()=>pf,ulid:()=>Zm,undefined:()=>df,union:()=>Ka,unknown:()=>kt,url:()=>Dm,uuid:()=>km,uuidv4:()=>Rm,uuidv6:()=>wm,uuidv7:()=>Nm,void:()=>ff,xid:()=>Fm,xor:()=>_f});var Ia={};Ae(Ia,{endsWith:()=>Et,gt:()=>ke,gte:()=>ae,includes:()=>Pt,length:()=>rt,lowercase:()=>xt,lt:()=>Oe,lte:()=>fe,maxLength:()=>tt,maxSize:()=>Fe,mime:()=>It,minLength:()=>oe,minSize:()=>Re,multipleOf:()=>Ze,negative:()=>Un,nonnegative:()=>Ln,nonpositive:()=>Mn,normalize:()=>Tt,overwrite:()=>Se,positive:()=>Cn,property:()=>jn,regex:()=>le,size:()=>et,slugify:()=>rr,startsWith:()=>bt,toLowerCase:()=>$t,toUpperCase:()=>At,trim:()=>St,uppercase:()=>_t});var cr={};Ae(cr,{ZodISODate:()=>Sa,ZodISODateTime:()=>Ta,ZodISODuration:()=>Aa,ZodISOTime:()=>$a,date:()=>mp,datetime:()=>dp,duration:()=>gp,time:()=>fp});var Ta=f("ZodISODateTime",(e,r)=>{ei.init(e,r),K.init(e,r)});function dp(e){return Fi(Ta,e)}s(dp,"datetime");var Sa=f("ZodISODate",(e,r)=>{ti.init(e,r),K.init(e,r)});function mp(e){return Bi(Sa,e)}s(mp,"date");var $a=f("ZodISOTime",(e,r)=>{ri.init(e,r),K.init(e,r)});function fp(e){return Vi($a,e)}s(fp,"time");var Aa=f("ZodISODuration",(e,r)=>{ni.init(e,r),K.init(e,r)});function gp(e){return Hi(Aa,e)}s(gp,"duration");var Am=s((e,r)=>{Rr.init(e,r),e.name="ZodError",Object.defineProperties(e,{format:{value:s(n=>Zt(e,n),"value")},flatten:{value:s(n=>jt(e,n),"value")},addIssue:{value:s(n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Ut,2)},"value")},addIssues:{value:s(n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Ut,2)},"value")},isEmpty:{get(){return e.issues.length===0}}})},"initializer"),aP=f("ZodError",Am),xe=f("ZodError",Am,{Parent:Error});var yp=Ft(xe),hp=Bt(xe),vp=Vt(xe),xp=Gt(xe),_p=$o(xe),Pp=Ao(xe),bp=zo(xe),Ep=Oo(xe),Ip=ko(xe),Tp=Ro(xe),Sp=wo(xe),$p=No(xe);var F=f("ZodType",(e,r)=>(N.init(e,r),Object.assign(e["~standard"],{jsonSchema:{input:nr(e,"input"),output:nr(e,"output")}}),e.toJSONSchema=vu(e,{}),e.def=r,e.type=r.type,Object.defineProperty(e,"_def",{value:r}),e.check=(...n)=>e.clone(S.mergeDefs(r,{checks:[...r.checks??[],...n.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0}),e.with=e.check,e.clone=(n,i)=>se(e,n,i),e.brand=()=>e,e.register=((n,i)=>(n.add(e,i),e)),e.parse=(n,i)=>yp(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>vp(e,n,i),e.parseAsync=async(n,i)=>hp(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>xp(e,n,i),e.spa=e.safeParseAsync,e.encode=(n,i)=>_p(e,n,i),e.decode=(n,i)=>Pp(e,n,i),e.encodeAsync=async(n,i)=>bp(e,n,i),e.decodeAsync=async(n,i)=>Ep(e,n,i),e.safeEncode=(n,i)=>Ip(e,n,i),e.safeDecode=(n,i)=>Tp(e,n,i),e.safeEncodeAsync=async(n,i)=>Sp(e,n,i),e.safeDecodeAsync=async(n,i)=>$p(e,n,i),e.refine=(n,i)=>e.check(hl(n,i)),e.superRefine=n=>e.check(vl(n)),e.overwrite=n=>e.check(Se(n)),e.optional=()=>oo(e),e.exactOptional=()=>Qp(e),e.nullable=()=>io(e),e.nullish=()=>oo(io(e)),e.nonoptional=n=>il(e,n),e.array=()=>uo(e),e.or=n=>Ka([e,n]),e.and=n=>Bp(e,n),e.transform=n=>ao(e,Ya(n)),e.default=n=>rl(e,n),e.prefault=n=>ol(e,n),e.catch=n=>cl(e,n),e.pipe=n=>ao(e,n),e.readonly=()=>ll(e),e.describe=n=>{let i=e.clone();return ce.add(i,{description:n}),i},Object.defineProperty(e,"description",{get(){return ce.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return ce.get(e);let i=e.clone();return ce.add(i,n[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=n=>n(e),e)),ka=f("_ZodString",(e,r)=>{je.init(e,r),F.init(e,r),e._zod.processJSONSchema=(i,t,o)=>xu(e,i,t,o);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...i)=>e.check(le(...i)),e.includes=(...i)=>e.check(Pt(...i)),e.startsWith=(...i)=>e.check(bt(...i)),e.endsWith=(...i)=>e.check(Et(...i)),e.min=(...i)=>e.check(oe(...i)),e.max=(...i)=>e.check(tt(...i)),e.length=(...i)=>e.check(rt(...i)),e.nonempty=(...i)=>e.check(oe(1,...i)),e.lowercase=i=>e.check(xt(i)),e.uppercase=i=>e.check(_t(i)),e.trim=()=>e.check(St()),e.normalize=(...i)=>e.check(Tt(...i)),e.toLowerCase=()=>e.check($t()),e.toUpperCase=()=>e.check(At()),e.slugify=()=>e.check(rr())}),pr=f("ZodString",(e,r)=>{je.init(e,r),ka.init(e,r),e.email=n=>e.check(an(Ra,n)),e.url=n=>e.check(vt(so,n)),e.jwt=n=>e.check(Tn(Wa,n)),e.emoji=n=>e.check(ln(wa,n)),e.guid=n=>e.check(tr(no,n)),e.uuid=n=>e.check(sn(De,n)),e.uuidv4=n=>e.check(cn(De,n)),e.uuidv6=n=>e.check(un(De,n)),e.uuidv7=n=>e.check(pn(De,n)),e.nanoid=n=>e.check(dn(Na,n)),e.guid=n=>e.check(tr(no,n)),e.cuid=n=>e.check(mn(Da,n)),e.cuid2=n=>e.check(fn(Ca,n)),e.ulid=n=>e.check(gn(Ua,n)),e.base64=n=>e.check(bn(Va,n)),e.base64url=n=>e.check(En(Ha,n)),e.xid=n=>e.check(yn(Ma,n)),e.ksuid=n=>e.check(hn(La,n)),e.ipv4=n=>e.check(vn(ja,n)),e.ipv6=n=>e.check(xn(Za,n)),e.cidrv4=n=>e.check(_n(Fa,n)),e.cidrv6=n=>e.check(Pn(Ba,n)),e.e164=n=>e.check(In(Ga,n)),e.datetime=n=>e.check(dp(n)),e.date=n=>e.check(mp(n)),e.time=n=>e.check(fp(n)),e.duration=n=>e.check(gp(n))});function za(e){return nn(pr,e)}s(za,"string");var K=f("ZodStringFormat",(e,r)=>{W.init(e,r),ka.init(e,r)}),Ra=f("ZodEmail",(e,r)=>{Go.init(e,r),K.init(e,r)});function zm(e){return an(Ra,e)}s(zm,"email");var no=f("ZodGUID",(e,r)=>{Vo.init(e,r),K.init(e,r)});function Om(e){return tr(no,e)}s(Om,"guid");var De=f("ZodUUID",(e,r)=>{Ho.init(e,r),K.init(e,r)});function km(e){return sn(De,e)}s(km,"uuid");function Rm(e){return cn(De,e)}s(Rm,"uuidv4");function wm(e){return un(De,e)}s(wm,"uuidv6");function Nm(e){return pn(De,e)}s(Nm,"uuidv7");var so=f("ZodURL",(e,r)=>{Cr.init(e,r),K.init(e,r)});function Dm(e){return vt(so,e)}s(Dm,"url");function Cm(e){return vt(so,{protocol:/^https?$/,hostname:ve.domain,...S.normalizeParams(e)})}s(Cm,"httpUrl");var wa=f("ZodEmoji",(e,r)=>{Wo.init(e,r),K.init(e,r)});function Um(e){return ln(wa,e)}s(Um,"emoji");var Na=f("ZodNanoID",(e,r)=>{qo.init(e,r),K.init(e,r)});function Mm(e){return dn(Na,e)}s(Mm,"nanoid");var Da=f("ZodCUID",(e,r)=>{Jo.init(e,r),K.init(e,r)});function Lm(e){return mn(Da,e)}s(Lm,"cuid");var Ca=f("ZodCUID2",(e,r)=>{Ko.init(e,r),K.init(e,r)});function jm(e){return fn(Ca,e)}s(jm,"cuid2");var Ua=f("ZodULID",(e,r)=>{Xo.init(e,r),K.init(e,r)});function Zm(e){return gn(Ua,e)}s(Zm,"ulid");var Ma=f("ZodXID",(e,r)=>{Yo.init(e,r),K.init(e,r)});function Fm(e){return yn(Ma,e)}s(Fm,"xid");var La=f("ZodKSUID",(e,r)=>{Qo.init(e,r),K.init(e,r)});function Bm(e){return hn(La,e)}s(Bm,"ksuid");var ja=f("ZodIPv4",(e,r)=>{oi.init(e,r),K.init(e,r)});function Vm(e){return vn(ja,e)}s(Vm,"ipv4");var Ap=f("ZodMAC",(e,r)=>{ai.init(e,r),K.init(e,r)});function Hm(e){return ji(Ap,e)}s(Hm,"mac");var Za=f("ZodIPv6",(e,r)=>{ii.init(e,r),K.init(e,r)});function Gm(e){return xn(Za,e)}s(Gm,"ipv6");var Fa=f("ZodCIDRv4",(e,r)=>{si.init(e,r),K.init(e,r)});function Wm(e){return _n(Fa,e)}s(Wm,"cidrv4");var Ba=f("ZodCIDRv6",(e,r)=>{ci.init(e,r),K.init(e,r)});function qm(e){return Pn(Ba,e)}s(qm,"cidrv6");var Va=f("ZodBase64",(e,r)=>{ui.init(e,r),K.init(e,r)});function Jm(e){return bn(Va,e)}s(Jm,"base64");var Ha=f("ZodBase64URL",(e,r)=>{pi.init(e,r),K.init(e,r)});function Km(e){return En(Ha,e)}s(Km,"base64url");var Ga=f("ZodE164",(e,r)=>{li.init(e,r),K.init(e,r)});function Xm(e){return In(Ga,e)}s(Xm,"e164");var Wa=f("ZodJWT",(e,r)=>{di.init(e,r),K.init(e,r)});function Ym(e){return Tn(Wa,e)}s(Ym,"jwt");var lr=f("ZodCustomStringFormat",(e,r)=>{mi.init(e,r),K.init(e,r)});function Qm(e,r,n={}){return zt(lr,e,r,n)}s(Qm,"stringFormat");function ef(e){return zt(lr,"hostname",ve.hostname,e)}s(ef,"hostname");function tf(e){return zt(lr,"hex",ve.hex,e)}s(tf,"hex");function rf(e,r){let n=r?.enc??"hex",i=`${e}_${n}`,t=ve[i];if(!t)throw new Error(`Unrecognized hash format: ${i}`);return zt(lr,i,t,r)}s(rf,"hash");var dr=f("ZodNumber",(e,r)=>{Jt.init(e,r),F.init(e,r),e._zod.processJSONSchema=(i,t,o)=>_u(e,i,t,o),e.gt=(i,t)=>e.check(ke(i,t)),e.gte=(i,t)=>e.check(ae(i,t)),e.min=(i,t)=>e.check(ae(i,t)),e.lt=(i,t)=>e.check(Oe(i,t)),e.lte=(i,t)=>e.check(fe(i,t)),e.max=(i,t)=>e.check(fe(i,t)),e.int=i=>e.check(Oa(i)),e.safe=i=>e.check(Oa(i)),e.positive=i=>e.check(ke(0,i)),e.nonnegative=i=>e.check(ae(0,i)),e.negative=i=>e.check(Oe(0,i)),e.nonpositive=i=>e.check(fe(0,i)),e.multipleOf=(i,t)=>e.check(Ze(i,t)),e.step=(i,t)=>e.check(Ze(i,t)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function zp(e){return Sn(dr,e)}s(zp,"number");var Rt=f("ZodNumberFormat",(e,r)=>{Ur.init(e,r),dr.init(e,r)});function Oa(e){return An(Rt,e)}s(Oa,"int");function nf(e){return Gi(Rt,e)}s(nf,"float32");function of(e){return Wi(Rt,e)}s(of,"float64");function af(e){return qi(Rt,e)}s(af,"int32");function sf(e){return Ji(Rt,e)}s(sf,"uint32");var mr=f("ZodBoolean",(e,r)=>{yt.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Pu(e,n,i,t)});function Op(e){return zn(mr,e)}s(Op,"boolean");var fr=f("ZodBigInt",(e,r)=>{Kt.init(e,r),F.init(e,r),e._zod.processJSONSchema=(i,t,o)=>bu(e,i,t,o),e.gte=(i,t)=>e.check(ae(i,t)),e.min=(i,t)=>e.check(ae(i,t)),e.gt=(i,t)=>e.check(ke(i,t)),e.gte=(i,t)=>e.check(ae(i,t)),e.min=(i,t)=>e.check(ae(i,t)),e.lt=(i,t)=>e.check(Oe(i,t)),e.lte=(i,t)=>e.check(fe(i,t)),e.max=(i,t)=>e.check(fe(i,t)),e.positive=i=>e.check(ke(BigInt(0),i)),e.negative=i=>e.check(Oe(BigInt(0),i)),e.nonpositive=i=>e.check(fe(BigInt(0),i)),e.nonnegative=i=>e.check(ae(BigInt(0),i)),e.multipleOf=(i,t)=>e.check(Ze(i,t));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function cf(e){return Ki(fr,e)}s(cf,"bigint");var qa=f("ZodBigIntFormat",(e,r)=>{fi.init(e,r),fr.init(e,r)});function uf(e){return Xi(qa,e)}s(uf,"int64");function pf(e){return Yi(qa,e)}s(pf,"uint64");var kp=f("ZodSymbol",(e,r)=>{gi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Eu(e,n,i,t)});function lf(e){return Qi(kp,e)}s(lf,"symbol");var Rp=f("ZodUndefined",(e,r)=>{yi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Tu(e,n,i,t)});function df(e){return ea(Rp,e)}s(df,"_undefined");var wp=f("ZodNull",(e,r)=>{hi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Iu(e,n,i,t)});function Np(e){return ta(wp,e)}s(Np,"_null");var Dp=f("ZodAny",(e,r)=>{Mr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Au(e,n,i,t)});function mf(){return Rn(Dp)}s(mf,"any");var Cp=f("ZodUnknown",(e,r)=>{Lr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>zu(e,n,i,t)});function kt(){return wn(Cp)}s(kt,"unknown");var Up=f("ZodNever",(e,r)=>{vi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>$u(e,n,i,t)});function Ja(e){return ra(Up,e)}s(Ja,"never");var Mp=f("ZodVoid",(e,r)=>{jr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Su(e,n,i,t)});function ff(e){return Nn(Mp,e)}s(ff,"_void");var co=f("ZodDate",(e,r)=>{Zr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(i,t,o)=>Ou(e,i,t,o),e.min=(i,t)=>e.check(ae(i,t)),e.max=(i,t)=>e.check(fe(i,t));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function gf(e){return na(co,e)}s(gf,"date");var Lp=f("ZodArray",(e,r)=>{Fr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Fu(e,n,i,t),e.element=r.element,e.min=(n,i)=>e.check(oe(n,i)),e.nonempty=n=>e.check(oe(1,n)),e.max=(n,i)=>e.check(tt(n,i)),e.length=(n,i)=>e.check(rt(n,i)),e.unwrap=()=>e.element});function uo(e,r){return hu(Lp,e,r)}s(uo,"array");function yf(e){let r=e._zod.def.shape;return Xa(Object.keys(r))}s(yf,"keyof");var po=f("ZodObject",(e,r)=>{Ic.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Bu(e,n,i,t),S.defineLazy(e,"shape",()=>r.shape),e.keyof=()=>Xa(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:kt()}),e.loose=()=>e.clone({...e._zod.def,catchall:kt()}),e.strict=()=>e.clone({...e._zod.def,catchall:Ja()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>S.extend(e,n),e.safeExtend=n=>S.safeExtend(e,n),e.merge=n=>S.merge(e,n),e.pick=n=>S.pick(e,n),e.omit=n=>S.omit(e,n),e.partial=(...n)=>S.partial(Qa,e,n[0]),e.required=(...n)=>S.required(es,e,n[0])});function hf(e,r){let n={type:"object",shape:e??{},...S.normalizeParams(r)};return new po(n)}s(hf,"object");function vf(e,r){return new po({type:"object",shape:e,catchall:Ja(),...S.normalizeParams(r)})}s(vf,"strictObject");function xf(e,r){return new po({type:"object",shape:e,catchall:kt(),...S.normalizeParams(r)})}s(xf,"looseObject");var lo=f("ZodUnion",(e,r)=>{ht.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>da(e,n,i,t),e.options=r.options});function Ka(e,r){return new lo({type:"union",options:e,...S.normalizeParams(r)})}s(Ka,"union");var jp=f("ZodXor",(e,r)=>{lo.init(e,r),_i.init(e,r),e._zod.processJSONSchema=(n,i,t)=>da(e,n,i,t),e.options=r.options});function _f(e,r){return new jp({type:"union",options:e,inclusive:!1,...S.normalizeParams(r)})}s(_f,"xor");var Zp=f("ZodDiscriminatedUnion",(e,r)=>{lo.init(e,r),Br.init(e,r)});function Pf(e,r,n){return new Zp({type:"union",options:r,discriminator:e,...S.normalizeParams(n)})}s(Pf,"discriminatedUnion");var Fp=f("ZodIntersection",(e,r)=>{Pi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Vu(e,n,i,t)});function Bp(e,r){return new Fp({type:"intersection",left:e,right:r})}s(Bp,"intersection");var Vp=f("ZodTuple",(e,r)=>{Vr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Hu(e,n,i,t),e.rest=n=>e.clone({...e._zod.def,rest:n})});function Hp(e,r,n){let i=r instanceof N,t=i?n:r,o=i?r:null;return new Vp({type:"tuple",items:e,rest:o,...S.normalizeParams(t)})}s(Hp,"tuple");var mo=f("ZodRecord",(e,r)=>{Hr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Gu(e,n,i,t),e.keyType=r.keyType,e.valueType=r.valueType});function Gp(e,r,n){return new mo({type:"record",keyType:e,valueType:r,...S.normalizeParams(n)})}s(Gp,"record");function bf(e,r,n){let i=se(e);return i._zod.values=void 0,new mo({type:"record",keyType:i,valueType:r,...S.normalizeParams(n)})}s(bf,"partialRecord");function Ef(e,r,n){return new mo({type:"record",keyType:e,valueType:r,mode:"loose",...S.normalizeParams(n)})}s(Ef,"looseRecord");var Wp=f("ZodMap",(e,r)=>{bi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>ju(e,n,i,t),e.keyType=r.keyType,e.valueType=r.valueType,e.min=(...n)=>e.check(Re(...n)),e.nonempty=n=>e.check(Re(1,n)),e.max=(...n)=>e.check(Fe(...n)),e.size=(...n)=>e.check(et(...n))});function If(e,r,n){return new Wp({type:"map",keyType:e,valueType:r,...S.normalizeParams(n)})}s(If,"map");var qp=f("ZodSet",(e,r)=>{Ei.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Zu(e,n,i,t),e.min=(...n)=>e.check(Re(...n)),e.nonempty=n=>e.check(Re(1,n)),e.max=(...n)=>e.check(Fe(...n)),e.size=(...n)=>e.check(et(...n))});function Tf(e,r){return new qp({type:"set",valueType:e,...S.normalizeParams(r)})}s(Tf,"set");var ur=f("ZodEnum",(e,r)=>{Gr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(i,t,o)=>ku(e,i,t,o),e.enum=r.entries,e.options=Object.values(r.entries);let n=new Set(Object.keys(r.entries));e.extract=(i,t)=>{let o={};for(let a of i)if(n.has(a))o[a]=r.entries[a];else throw new Error(`Key ${a} not found in enum`);return new ur({...r,checks:[],...S.normalizeParams(t),entries:o})},e.exclude=(i,t)=>{let o={...r.entries};for(let a of i)if(n.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new ur({...r,checks:[],...S.normalizeParams(t),entries:o})}});function Xa(e,r){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new ur({type:"enum",entries:n,...S.normalizeParams(r)})}s(Xa,"_enum");function Sf(e,r){return new ur({type:"enum",entries:e,...S.normalizeParams(r)})}s(Sf,"nativeEnum");var Jp=f("ZodLiteral",(e,r)=>{Wr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Ru(e,n,i,t),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function $f(e,r){return new Jp({type:"literal",values:Array.isArray(e)?e:[e],...S.normalizeParams(r)})}s($f,"literal");var Kp=f("ZodFile",(e,r)=>{Ii.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Du(e,n,i,t),e.min=(n,i)=>e.check(Re(n,i)),e.max=(n,i)=>e.check(Fe(n,i)),e.mime=(n,i)=>e.check(It(Array.isArray(n)?n:[n],i))});function Af(e){return ia(Kp,e)}s(Af,"file");var Xp=f("ZodTransform",(e,r)=>{qr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Lu(e,n,i,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Je(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(S.issue(o,n.value,r));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=n.value),a.inst??(a.inst=e),n.issues.push(S.issue(a))}};let t=r.transform(n.value,n);return t instanceof Promise?t.then(o=>(n.value=o,n)):(n.value=t,n)}});function Ya(e){return new Xp({type:"transform",transform:e})}s(Ya,"transform");var Qa=f("ZodOptional",(e,r)=>{Xt.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>ma(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function oo(e){return new Qa({type:"optional",innerType:e})}s(oo,"optional");var Yp=f("ZodExactOptional",(e,r)=>{Ti.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>ma(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function Qp(e){return new Yp({type:"optional",innerType:e})}s(Qp,"exactOptional");var el=f("ZodNullable",(e,r)=>{Jr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Wu(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function io(e){return new el({type:"nullable",innerType:e})}s(io,"nullable");function zf(e){return oo(io(e))}s(zf,"nullish");var tl=f("ZodDefault",(e,r)=>{Si.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Ju(e,n,i,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function rl(e,r){return new tl({type:"default",innerType:e,get defaultValue(){return typeof r=="function"?r():S.shallowClone(r)}})}s(rl,"_default");var nl=f("ZodPrefault",(e,r)=>{$i.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Ku(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function ol(e,r){return new nl({type:"prefault",innerType:e,get defaultValue(){return typeof r=="function"?r():S.shallowClone(r)}})}s(ol,"prefault");var es=f("ZodNonOptional",(e,r)=>{Ai.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>qu(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function il(e,r){return new es({type:"nonoptional",innerType:e,...S.normalizeParams(r)})}s(il,"nonoptional");var al=f("ZodSuccess",(e,r)=>{zi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Cu(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function Of(e){return new al({type:"success",innerType:e})}s(Of,"success");var sl=f("ZodCatch",(e,r)=>{Oi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Xu(e,n,i,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function cl(e,r){return new sl({type:"catch",innerType:e,catchValue:typeof r=="function"?r:()=>r})}s(cl,"_catch");var ul=f("ZodNaN",(e,r)=>{ki.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>wu(e,n,i,t)});function kf(e){return oa(ul,e)}s(kf,"nan");var ts=f("ZodPipe",(e,r)=>{Kr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Yu(e,n,i,t),e.in=r.in,e.out=r.out});function ao(e,r){return new ts({type:"pipe",in:e,out:r})}s(ao,"pipe");var rs=f("ZodCodec",(e,r)=>{ts.init(e,r),Yt.init(e,r)});function Rf(e,r,n){return new rs({type:"pipe",in:e,out:r,transform:n.decode,reverseTransform:n.encode})}s(Rf,"codec");var pl=f("ZodReadonly",(e,r)=>{Ri.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Qu(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function ll(e){return new pl({type:"readonly",innerType:e})}s(ll,"readonly");var dl=f("ZodTemplateLiteral",(e,r)=>{wi.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Nu(e,n,i,t)});function wf(e,r){return new dl({type:"template_literal",parts:e,...S.normalizeParams(r)})}s(wf,"templateLiteral");var ml=f("ZodLazy",(e,r)=>{Ci.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>tp(e,n,i,t),e.unwrap=()=>e._zod.def.getter()});function fl(e){return new ml({type:"lazy",getter:e})}s(fl,"lazy");var gl=f("ZodPromise",(e,r)=>{Di.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>ep(e,n,i,t),e.unwrap=()=>e._zod.def.innerType});function Nf(e){return new gl({type:"promise",innerType:e})}s(Nf,"promise");var yl=f("ZodFunction",(e,r)=>{Ni.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Mu(e,n,i,t)});function Df(e){return new yl({type:"function",input:Array.isArray(e?.input)?Hp(e?.input):e?.input??uo(kt()),output:e?.output??kt()})}s(Df,"_function");var fo=f("ZodCustom",(e,r)=>{Xr.init(e,r),F.init(e,r),e._zod.processJSONSchema=(n,i,t)=>Uu(e,n,i,t)});function Cf(e){let r=new J({check:"custom"});return r._zod.check=e,r}s(Cf,"check");function Uf(e,r){return Zn(fo,e??(()=>!0),r)}s(Uf,"custom");function hl(e,r={}){return aa(fo,e,r)}s(hl,"refine");function vl(e){return sa(e)}s(vl,"superRefine");var Mf=ca,Lf=ua;function jf(e,r={}){let n=new fo({type:"custom",check:"custom",fn:s(i=>i instanceof e,"fn"),abort:!0,...S.normalizeParams(r)});return n._zod.bag.Class=e,n._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:n,path:[...n._zod.def.path??[]]})},n}s(jf,"_instanceof");var Zf=s((...e)=>pa({Codec:rs,Boolean:mr,String:pr},...e),"stringbool");function Ff(e){let r=fl(()=>Ka([za(e),zp(),Op(),Np(),uo(r),Gp(za(),r)]));return r}s(Ff,"json");function Bf(e,r){return ao(Ya(e),r)}s(Bf,"preprocess");var cP={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function uP(e){Q({customError:e})}s(uP,"setErrorMap");function pP(){return Q().customError}s(pP,"getErrorMap");var xl;xl||(xl={});var z={...ro,...Ia,iso:cr},lP=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function dP(e,r){let n=e.$schema;return n==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":n==="http://json-schema.org/draft-07/schema#"?"draft-7":n==="http://json-schema.org/draft-04/schema#"?"draft-4":r??"draft-2020-12"}s(dP,"detectVersion");function mP(e,r){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let n=e.slice(1).split("/").filter(Boolean);if(n.length===0)return r.rootSchema;let i=r.version==="draft-2020-12"?"$defs":"definitions";if(n[0]===i){let t=n[1];if(!t||!r.defs[t])throw new Error(`Reference not found: ${e}`);return r.defs[t]}throw new Error(`Reference not found: ${e}`)}s(mP,"resolveRef");function Vf(e,r){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return z.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let t=e.$ref;if(r.refs.has(t))return r.refs.get(t);if(r.processing.has(t))return z.lazy(()=>{if(!r.refs.has(t))throw new Error(`Circular reference not resolved: ${t}`);return r.refs.get(t)});r.processing.add(t);let o=mP(t,r),a=me(o,r);return r.refs.set(t,a),r.processing.delete(t),a}if(e.enum!==void 0){let t=e.enum;if(r.version==="openapi-3.0"&&e.nullable===!0&&t.length===1&&t[0]===null)return z.null();if(t.length===0)return z.never();if(t.length===1)return z.literal(t[0]);if(t.every(a=>typeof a=="string"))return z.enum(t);let o=t.map(a=>z.literal(a));return o.length<2?o[0]:z.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return z.literal(e.const);let n=e.type;if(Array.isArray(n)){let t=n.map(o=>{let a={...e,type:o};return Vf(a,r)});return t.length===0?z.never():t.length===1?t[0]:z.union(t)}if(!n)return z.any();let i;switch(n){case"string":{let t=z.string();if(e.format){let o=e.format;o==="email"?t=t.check(z.email()):o==="uri"||o==="uri-reference"?t=t.check(z.url()):o==="uuid"||o==="guid"?t=t.check(z.uuid()):o==="date-time"?t=t.check(z.iso.datetime()):o==="date"?t=t.check(z.iso.date()):o==="time"?t=t.check(z.iso.time()):o==="duration"?t=t.check(z.iso.duration()):o==="ipv4"?t=t.check(z.ipv4()):o==="ipv6"?t=t.check(z.ipv6()):o==="mac"?t=t.check(z.mac()):o==="cidr"?t=t.check(z.cidrv4()):o==="cidr-v6"?t=t.check(z.cidrv6()):o==="base64"?t=t.check(z.base64()):o==="base64url"?t=t.check(z.base64url()):o==="e164"?t=t.check(z.e164()):o==="jwt"?t=t.check(z.jwt()):o==="emoji"?t=t.check(z.emoji()):o==="nanoid"?t=t.check(z.nanoid()):o==="cuid"?t=t.check(z.cuid()):o==="cuid2"?t=t.check(z.cuid2()):o==="ulid"?t=t.check(z.ulid()):o==="xid"?t=t.check(z.xid()):o==="ksuid"&&(t=t.check(z.ksuid()))}typeof e.minLength=="number"&&(t=t.min(e.minLength)),typeof e.maxLength=="number"&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),i=t;break}case"number":case"integer":{let t=n==="integer"?z.number().int():z.number();typeof e.minimum=="number"&&(t=t.min(e.minimum)),typeof e.maximum=="number"&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum=="number"?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(t=t.lt(e.maximum)),typeof e.multipleOf=="number"&&(t=t.multipleOf(e.multipleOf)),i=t;break}case"boolean":{i=z.boolean();break}case"null":{i=z.null();break}case"object":{let t={},o=e.properties||{},a=new Set(e.required||[]);for(let[l,d]of Object.entries(o)){let m=me(d,r);t[l]=a.has(l)?m:m.optional()}if(e.propertyNames){let l=me(e.propertyNames,r),d=e.additionalProperties&&typeof e.additionalProperties=="object"?me(e.additionalProperties,r):z.any();if(Object.keys(t).length===0){i=z.record(l,d);break}let m=z.object(t).passthrough(),b=z.looseRecord(l,d);i=z.intersection(m,b);break}if(e.patternProperties){let l=e.patternProperties,d=Object.keys(l),m=[];for(let h of d){let p=me(l[h],r),y=z.string().regex(new RegExp(h));m.push(z.looseRecord(y,p))}let b=[];if(Object.keys(t).length>0&&b.push(z.object(t).passthrough()),b.push(...m),b.length===0)i=z.object({}).passthrough();else if(b.length===1)i=b[0];else{let h=z.intersection(b[0],b[1]);for(let p=2;p<b.length;p++)h=z.intersection(h,b[p]);i=h}break}let c=z.object(t);e.additionalProperties===!1?i=c.strict():typeof e.additionalProperties=="object"?i=c.catchall(me(e.additionalProperties,r)):i=c.passthrough();break}case"array":{let t=e.prefixItems,o=e.items;if(t&&Array.isArray(t)){let a=t.map(l=>me(l,r)),c=o&&typeof o=="object"&&!Array.isArray(o)?me(o,r):void 0;c?i=z.tuple(a).rest(c):i=z.tuple(a),typeof e.minItems=="number"&&(i=i.check(z.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(z.maxLength(e.maxItems)))}else if(Array.isArray(o)){let a=o.map(l=>me(l,r)),c=e.additionalItems&&typeof e.additionalItems=="object"?me(e.additionalItems,r):void 0;c?i=z.tuple(a).rest(c):i=z.tuple(a),typeof e.minItems=="number"&&(i=i.check(z.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(z.maxLength(e.maxItems)))}else if(o!==void 0){let a=me(o,r),c=z.array(a);typeof e.minItems=="number"&&(c=c.min(e.minItems)),typeof e.maxItems=="number"&&(c=c.max(e.maxItems)),i=c}else i=z.array(z.any());break}default:throw new Error(`Unsupported type: ${n}`)}return e.description&&(i=i.describe(e.description)),e.default!==void 0&&(i=i.default(e.default)),i}s(Vf,"convertBaseSchema");function me(e,r){if(typeof e=="boolean")return e?z.any():z.never();let n=Vf(e,r),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let c=e.anyOf.map(d=>me(d,r)),l=z.union(c);n=i?z.intersection(n,l):l}if(e.oneOf&&Array.isArray(e.oneOf)){let c=e.oneOf.map(d=>me(d,r)),l=z.xor(c);n=i?z.intersection(n,l):l}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=i?n:z.any();else{let c=i?n:me(e.allOf[0],r),l=i?0:1;for(let d=l;d<e.allOf.length;d++)c=z.intersection(c,me(e.allOf[d],r));n=c}e.nullable===!0&&r.version==="openapi-3.0"&&(n=z.nullable(n)),e.readOnly===!0&&(n=z.readonly(n));let t={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let c of o)c in e&&(t[c]=e[c]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let c of a)c in e&&(t[c]=e[c]);for(let c of Object.keys(e))lP.has(c)||(t[c]=e[c]);return Object.keys(t).length>0&&r.registry.add(n,t),n}s(me,"convertSchema");function Hf(e,r){if(typeof e=="boolean")return e?z.any():z.never();let n=dP(e,r?.defaultTarget),i=e.$defs||e.definitions||{},t={version:n,defs:i,refs:new Map,processing:new Set,rootSchema:e,registry:r?.registry??ce};return me(e,t)}s(Hf,"fromJSONSchema");var _l={};Ae(_l,{bigint:()=>hP,boolean:()=>yP,date:()=>vP,number:()=>gP,string:()=>fP});function fP(e){return on(pr,e)}s(fP,"string");function gP(e){return $n(dr,e)}s(gP,"number");function yP(e){return On(mr,e)}s(yP,"boolean");function hP(e){return kn(fr,e)}s(hP,"bigint");function vP(e){return Dn(co,e)}s(vP,"date");Q(Yr());var Sk=ns.enum(["active","out_of_credits","rejected","unreachable"]);var Gf=(i=>(i.AGENT_DECIDE="agent-decide",i.CHOOSE_YOURSELF="choose-yourself",i.LEAVE_EMPTY="leave-empty",i))(Gf||{}),Pl=(n=>(n.FILE="FILE",n.TABLE="TABLE",n))(Pl||{}),bl=(i=>(i.SSE="sse",i.STREAMABLE_HTTP="streamable-http",i.SIMPLE_HTTP="http",i))(bl||{});var El=(i=>(i.TEXT="text",i.NUMBER="number",i.BOOLEAN="boolean",i))(El||{});var Il=(n=>(n.IN_PROGRESS="in-progress",n.COMPLETED="completed",n))(Il||{});var xP=g({mode:R(Gf),value:U()}),_P=g({auth:x(u()),fields:M(u(),xP)}),PP=g({pieceName:u(),pieceVersion:u(),actionName:u(),predefinedInput:x(_P)}),bP=g({type:k("PIECE"),toolName:u().check(oe(1)),pieceMetadata:PP}),EP=g({type:k("none")}),IP=g({type:k("access_token"),accessToken:u()}),TP=g({type:k("api_key"),apiKey:u(),apiKeyHeader:u()}),SP=g({type:k("headers"),headers:M(u(),u())}),$P=at("type",[EP,IP,TP,SP]),Wf=g({type:k("FLOW"),toolName:u().check(oe(1)),externalFlowId:u(),flowDisplayName:x(u())}),qf=g({type:k("MCP"),toolName:u().check(oe(1)),serverUrl:cm(),protocol:R(bl),auth:$P}),Jf=g({type:k("KNOWLEDGE_BASE"),toolName:u().check(oe(1)),sourceType:R(Pl),sourceId:u(),sourceName:u()}),AP=at("type",[bP,Wf,qf,Jf]),zP=g({displayName:u(),description:x(u()),type:R(El)}),Kf=g({type:k("MARKDOWN"),markdown:u()}),gr={type:k("TOOL_CALL"),input:ee(M(u(),U())),output:x(U()),toolName:u(),status:R(Il),toolCallId:u(),startTime:u(),endTime:x(u())},eR=g(gr),Xf=at("toolCallType",[g({...gr,toolCallType:k("PIECE"),pieceName:u(),pieceVersion:u(),actionName:u()}),g({...gr,toolCallType:k("FLOW"),displayName:u(),externalFlowId:u()}),g({...gr,toolCallType:k("MCP"),displayName:u(),serverUrl:u()}),g({...gr,toolCallType:k("KNOWLEDGE_BASE"),displayName:u(),sourceType:u()}),g({...gr,toolCallType:k("UNKNOWN"),displayName:u()})]),OP=Z([Kf,Xf]);var kP=10800*1e3,RP=900*1e3;var Sl=(n=>(n.IMAGE="image",n.TEXT="text",n))(Sl||{}),We=g({apiKey:u()}),NP=We,DP=g({apiKey:u(),apiKeyHash:u()}),CP=We,UP=We,MP=We,LP=We,jP=We,ZP=We,FP=We,tg=g({serviceAccountJson:u().check(oe(1))}),rg=g({accessKeyId:u().check(oe(1)),secretAccessKey:u().check(oe(1))}),BP=g({}),VP=g({}),HP=g({}),GP=g({}),WP=g({}),qP=g({}),$l=g({modelId:u(),modelName:u(),modelType:R(Sl)}),ng=g({apiKeyHeader:u(),baseUrl:u(),models:w($l),defaultHeaders:x(M(u(),u())),apiStyle:x(R(["chat","responses"]))}),og=g({accountId:u(),gatewayId:u(),models:w($l),vertexProject:x(u()),vertexRegion:x(u())}),ig=g({resourceName:u(),apiVersion:ct(st(e=>typeof e=="string"&&e.trim().length===0?void 0:e),x(u()))}),ag=g({region:u().check(oe(1))}),sg=g({project:u().check(le(/^[a-z0-9][a-z0-9-]{0,62}$/)),region:u().check(le(/^[a-z0-9][a-z0-9-]{0,62}$/)),models:w($l)}),cg=g({}),JP=Z([NP,MP,LP,jP,ZP,UP,CP,DP,rg,tg,FP]),ug=Z([ng,og,ig,sg,ag,BP,HP,GP,WP,VP,qP,cg]),KP=g({id:u(),name:u(),type:R(Sl)}),XP=g({id:u(),name:u(),provider:R(sr),config:ug,enabledForChat:H()}),YP=g({provider:R(sr),name:u(),enabledForChat:H(),keys:w(g({id:u(),name:u()}))}),QP=g({provider:R(sr),configId:u(),config:ug,auth:JP,platformId:u()});var oR={openai:"openai",anthropic:"anthropic","google-ai-studio":"google","google-vertex-ai":"google"},Yf=["gpt-5.5","gpt-5.4-mini","gpt-5.4-nano","gpt-4.1","gpt-4.1-mini"],eb=["claude-sonnet-4-6","claude-opus-4-7","claude-haiku-4-5"],pg=["claude-sonnet-4.6","claude-opus-4.7","claude-opus-4.8","claude-haiku-4.5"],Tl=["gemini-2.5-pro","gemini-2.5-flash","gemini-3.7-flash","gemini-3.1-pro-preview","gemini-3-flash-preview"],tb=["grok-4.20"],iR=pg.map(e=>`anthropic/${e}`),rb={openai:Yf,anthropic:eb,google:Tl,vertex:Tl,activepieces:[...pg.map(e=>`anthropic/${e}`),...Yf.map(e=>`openai/${e}`),...Tl.map(e=>`google/${e}`),...tb.map(e=>`x-ai/${e}`)]};var Qf=128e3,nb={openai:128e3,anthropic:2e5,google:1048576,bedrock:2e5,vertex:1048576,azure:128e3,openrouter:128e3,activepieces:2e5,mistral:128e3};function ob({provider:e}){return e?nb[e]??Qf:Qf}s(ob,"getMaxContextTokens");var eg={openai:"text-embedding-3-small",google:"text-embedding-004",azure:"text-embedding-3-small",activepieces:"text-embedding-3-small",openrouter:"openai/text-embedding-3-small"},ib={anthropic:"native",google:"native",openrouter:"plugin",activepieces:"plugin"},ab=new Set(["anthropic","mistral","xai","deepseek","zai","qwen","minimax","moonshot"]),sb={xai:"https://api.x.ai/v1",deepseek:"https://api.deepseek.com/v1",zai:"https://api.z.ai/api/paas/v4",qwen:"https://dashscope-intl.aliyuncs.com/compatible-mode/v1",minimax:"https://api.minimax.io/v1",moonshot:"https://api.moonshot.ai/v1"};function de(e){return{chatModels:rb[e],maxContextTokens:ob({provider:e}),defaultEmbeddingModel:eg[e],supportsEmbedding:eg[e]!==void 0,supportsImageGeneration:!ab.has(e),webSearch:ib[e]}}s(de,"buildProviderCapabilities");var cb={openai:de("openai"),anthropic:de("anthropic"),openrouter:de("openrouter"),azure:de("azure"),google:de("google"),"cloudflare-gateway":de("cloudflare-gateway"),custom:de("custom"),bedrock:de("bedrock"),vertex:de("vertex"),mistral:de("mistral"),activepieces:de("activepieces"),xai:de("xai"),deepseek:de("deepseek"),zai:de("zai"),qwen:de("qwen"),minimax:de("minimax"),moonshot:de("moonshot")};var ub=g({base64Url:u(),fileName:u(),extension:x(u())}),pb=g({mimeType:u(),url:u(),fileName:x(u())}),Al=Z([ub,pb]);var lb=Z([g({type:k("file"),value:Al}),g({type:k("markdown"),value:u(),files:x(w(Al))})]),db=g({sessionId:u(),message:u(),files:x(w(u()))});var dg=(n=>(n.ON_NEW_RECORD="ON_NEW_RECORD",n.ON_UPDATE_RECORD="ON_UPDATE_RECORD",n))(dg||{}),mg=(n=>(n.ENABLED="ENABLED",n.DISABLED="DISABLED",n))(mg||{}),zl=(i=>(i.RECORD_CREATED="RECORD_CREATED",i.RECORD_UPDATED="RECORD_UPDATED",i.RECORD_DELETED="RECORD_DELETED",i))(zl||{});var mb=Z([g({...$e,name:u(),externalId:u(),type:k("STATIC_DROPDOWN"),tableId:u(),projectId:u(),data:g({options:w(g({value:u()}))})}),g({...$e,name:u(),externalId:u(),type:Z([k("TEXT"),k("NUMBER"),k("DATE"),k("DATETIME")]),tableId:u(),projectId:u()})]),fb=g({...$e,name:u(),folderId:ee(u()),projectId:u(),externalId:u(),status:lp(mg),trigger:lp(dg)}),gb=g({...$e,tableId:u(),projectId:u(),cells:M(u(),g({updated:u(),created:u(),value:U(),fieldName:u()}))}),yb=g({events:w(R(zl)),webhookUrl:u(),flowId:u()}),hb=g({fields:w(g({id:u(),name:u()})),rows:w(M(u(),u())),name:u()}),vb=g({projectId:u(),limit:x(Hn.number()),cursor:x(u()),name:x(u()),externalIds:ba(u()),folderId:x(u()),folderIds:ba(u())}),xb=g({records:w(w(g({fieldId:u(),value:gg()}))),tableId:u()}),_b=g({cells:x(w(g({fieldId:u(),value:gg()}))),tableId:u(),agentUpdate:x(H())}),fg=at("operator",[wt("eq"),wt("neq"),wt("gt"),wt("gte"),wt("lt"),wt("lte"),wt("co"),lg("exists"),lg("not_exists")]),Pb=g({tableId:u(),limit:x(Hn.number()),cursor:x(u()),filters:ba(fg)});function gg(){return ct(st(e=>e==null?e:String(e)),Vn(u()))}s(gg,"coerceToString");function wt(e){return g({fieldId:u(),operator:k(e),value:u()})}s(wt,"valueFilter");function lg(e){return g({fieldId:u(),operator:k(e)})}s(lg,"existenceFilter");var bb=g({status:x(ue()),body:x(U()),headers:x(M(u(),u()))}),Eb=g({...$e,deleted:ee(pt),ownerId:u(),displayName:u(),platformId:u(),externalId:ee(u())});var yg=g({name:u(),description:x(u()),type:u(),required:H()}),Ib=g({pieceName:u(),triggerName:u(),input:g({toolName:u(),toolDescription:u(),inputSchema:w(yg),returnsResponse:H()})});var hg="^[0-9]+\\.[0-9]+\\.[0-9]+$",IR=new RegExp(hg),Sb="^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$",TR=u().check(le(new RegExp(hg))),SR=u().check(le(new RegExp(Sb))),$b=g({packageType:k("ARCHIVE"),pieceType:R(or),pieceName:u(),pieceVersion:u(),archiveId:u(),platformId:u()}),vg=g({packageType:k("REGISTRY"),pieceType:k("OFFICIAL"),pieceName:u(),pieceVersion:u()}),xg=g({packageType:k("REGISTRY"),pieceType:k("CUSTOM"),pieceName:u(),pieceVersion:u(),platformId:u()}),$R=Z([vg,xg]),AR=Z([$b,vg,xg]);var Ab=at("type",[g({type:k("CRON_EXPRESSION"),cronExpression:u(),timezone:u()}),g({type:k("INTERVAL"),intervalMs:um().check(ae(6e4))})]),zR=g({...$e,type:R(Ot),projectId:u(),flowId:u(),triggerName:u(),schedule:ee(Ab),flowVersionId:u(),pieceName:u(),pieceVersion:u(),deleted:ee(u()),simulate:H()}),_g=(_=>(_.UNKNOWN="UNKNOWN",_.FLOW_RUN_LOG="FLOW_RUN_LOG",_.FLOW_RUN_LOG_SLICE="FLOW_RUN_LOG_SLICE",_.PACKAGE_ARCHIVE="PACKAGE_ARCHIVE",_.FLOW_STEP_FILE="FLOW_STEP_FILE",_.SAMPLE_DATA="SAMPLE_DATA",_.TRIGGER_PAYLOAD="TRIGGER_PAYLOAD",_.SAMPLE_DATA_INPUT="SAMPLE_DATA_INPUT",_.TRIGGER_EVENT_FILE="TRIGGER_EVENT_FILE",_.PROJECT_RELEASE="PROJECT_RELEASE",_.FLOW_VERSION_BACKUP="FLOW_VERSION_BACKUP",_.PLATFORM_ASSET="PLATFORM_ASSET",_.USER_PROFILE_PICTURE="USER_PROFILE_PICTURE",_.WEBHOOK_PAYLOAD="WEBHOOK_PAYLOAD",_.KNOWLEDGE_BASE="KNOWLEDGE_BASE",_.FLOW_BUNDLE="FLOW_BUNDLE",_.PREWARM_SCOPE="PREWARM_SCOPE",_))(_g||{}),Pg=(n=>(n.NONE="NONE",n.ZSTD="ZSTD",n))(Pg||{}),bg=(n=>(n.S3="S3",n.DB="DB",n))(bg||{}),OR=g({...$e,projectId:ee(u()),platformId:ee(u()),type:R(_g),compression:R(Pg),data:x(U()),location:R(bg),size:ee(ue()),fileName:ee(u()),s3Key:ee(u()),metadata:ee(M(u(),u()))}),Eg=(i=>(i.ADMIN="ADMIN",i.MEMBER="MEMBER",i.OPERATOR="OPERATOR",i))(Eg||{}),Ig=(n=>(n.ACTIVE="ACTIVE",n.INACTIVE="INACTIVE",n))(Ig||{}),kR=g({id:u(),email:u(),firstName:u(),status:R(Ig),externalId:ee(u()),platformId:ee(u()),platformRole:R(Eg),lastName:u(),created:pt,updated:pt,lastActiveDate:ee(pt),imageUrl:ee(u())});var Ol=g({...V.shape,...L(M(u(),U()),"OBJECT").shape});var kl=g({...V.shape,formatProperty:x(u()),...L(u(),"RICH_TEXT").shape});var Ag=g({...V.shape,...L(u(),"COLOR").shape});var Rl=Z([Ee,Be,kl,xa,He,Ie,Ve,ip,Gn,sp,Ge,Jn,Ol,Kn,qn,ap,Wn,Ag]),te={ShortText(e){return{...e,valueSchema:void 0,type:"SHORT_TEXT"}},Checkbox(e){return{...e,valueSchema:void 0,type:"CHECKBOX"}},LongText(e){return{...e,valueSchema:void 0,type:"LONG_TEXT"}},RichText(e){return{...e,valueSchema:void 0,type:"RICH_TEXT"}},MarkDown(e){return{displayName:"Markdown",required:!1,description:e.value,type:"MARKDOWN",valueSchema:void 0,variant:e.variant??"INFO"}},Number(e){return{...e,valueSchema:void 0,type:"NUMBER"}},Json(e){return{...e,valueSchema:void 0,type:"JSON"}},Array(e){return{...e,valueSchema:void 0,type:"ARRAY"}},Object(e){return{...e,valueSchema:void 0,type:"OBJECT"}},Dropdown(e){return{...e,valueSchema:void 0,type:"DROPDOWN"}},StaticDropdown(e){return{...e,valueSchema:void 0,type:"STATIC_DROPDOWN"}},MultiSelectDropdown(e){return{...e,valueSchema:void 0,type:"MULTI_SELECT_DROPDOWN"}},DynamicProperties(e){return{...e,valueSchema:void 0,type:"DYNAMIC"}},StaticMultiSelectDropdown(e){return{...e,valueSchema:void 0,type:"STATIC_MULTI_SELECT_DROPDOWN"}},DateTime(e){return{...e,valueSchema:void 0,type:"DATE_TIME"}},DateRange(e){return{...e,valueSchema:void 0,type:"DATE_RANGE"}},File(e){return{...e,valueSchema:void 0,type:"FILE"}},Custom(e){let r=e.code.toString();return{...e,code:r,valueSchema:void 0,type:"CUSTOM"}},Color(e){return{...e,valueSchema:void 0,type:"COLOR"}}};var Ce=g({displayName:u(),description:x(u()),hasConnectionIdentifier:x(H())});var zg=g({username:u(),password:u()}),wl=g({...Ce.shape,username:g({displayName:u(),description:x(u())}),password:g({displayName:u(),description:x(u())}),...L(zg,"BASIC_AUTH").shape});var Rb=M(u(),Z([Ee,Be,Ge,He,Ie])),Nl=g({...Ce.shape,props:Rb,...L(U(),"CUSTOM_AUTH").shape});var Nt=g({...Ce.shape,...L(g({auth:u()}),"SECRET_TEXT").shape});var wb=M(u(),Z([Ee,Be,Nt,Ge,He,Ie,Ve,xa])),Og=g({...Ce.shape,props:wb,...L(U(),"OIDC").shape});var Dl=(n=>(n.HEADER="HEADER",n.BODY="BODY",n))(Dl||{}),kg=Z([Ee,Nt,Ie]),Rg=M(u(),kg),Nb=g({props:x(M(u(),kg)),authUrl:u(),tokenUrl:u(),scope:w(u()),prompt:x(Z([k("none"),k("consent"),k("login"),k("omit")])),pkce:x(H()),pkceMethod:x(Z([k("plain"),k("S256")])),authorizationMethod:x(R(Dl)),grantType:x(Z([R(Yn),k(cp)])),extra:x(M(u(),u()))}),wg=g({access_token:u(),props:x(Rg),data:M(u(),Bn())}),Cl=g({...Ce.shape,...Nb.shape,...L(wg,"OAUTH2").shape});var yr=Z([wl,Nl,Og,Cl,Nt]),go="Connection",Ul={SecretText(e){return{...e,valueSchema:void 0,type:"SECRET_TEXT"}},OAuth2(e){return{...e,valueSchema:void 0,type:"OAUTH2",displayName:e.displayName||go}},BasicAuth(e){return{...e,valueSchema:void 0,type:"BASIC_AUTH",displayName:e.displayName||go,required:!0}},CustomAuth(e){return{...e,valueSchema:void 0,type:"CUSTOM_AUTH",displayName:e.displayName||go}},OIDC(e){return{...e,valueSchema:void 0,type:"OIDC",displayName:e.displayName||go}},None(){}};var fN={OAUTH2:"OAUTH2",CLOUD_OAUTH2:"OAUTH2",PLATFORM_OAUTH2:"OAUTH2",BASIC_AUTH:"BASIC_AUTH",CUSTOM_AUTH:"CUSTOM_AUTH",OIDC:"OIDC",SECRET_TEXT:"SECRET_TEXT",NO_AUTH:void 0};var Db=g({...V.shape,...L(U(),"CUSTOM").shape,code:u()});var Cb=Z([Rl,yr]),Ml=M(u(),Cb),DN=M(u(),Rl);var Ng=Z([g({strategy:k("CRON"),cronExpression:u()}),g({strategy:k("NONE")})]);var Dg="2",os="0.82.0";var Ll=class{constructor(r,n,i,t,o,a,c,l,d=os,m,b="",h){this.displayName=r;this.logoUrl=n;this.authors=i;this.events=t;this.categories=c;this.auth=l;this.minimumSupportedRelease=d;this.maximumSupportedRelease=m;this.description=b;this.deprecated=h;this._actions={};this._triggers={};this.getContextInfo=s(()=>({version:Dg}),"getContextInfo");(!Mb(d)||Lb(d,os))&&(this.minimumSupportedRelease=os),o.forEach(p=>this._actions[p.name]=p),a.forEach(p=>this._triggers[p.name]=p)}static{s(this,"Piece")}metadata(){return{displayName:this.displayName,logoUrl:this.logoUrl,actions:this._actions,triggers:this._triggers,categories:this.categories,description:this.description,authors:this.authors,auth:Ub(this.auth),minimumSupportedRelease:this.minimumSupportedRelease,maximumSupportedRelease:this.maximumSupportedRelease,deprecated:this.deprecated,contextInfo:this.getContextInfo?.()}}getAction(r){return this._actions[r]}getTrigger(r){return this._triggers[r]}actions(){return this._actions}triggers(){return this._triggers}},Ug=s(e=>{if(e.auth&&Array.isArray(e.auth)&&!e.auth.every((n,i,t)=>i===t.findIndex(o=>o.type===n.type)))throw new Error("Auth properties must be unique by type");return new Ll(e.displayName,e.logoUrl,e.authors??[],e.events,e.actions,e.triggers,e.categories??[],e.auth,e.minimumSupportedRelease,e.maximumSupportedRelease,e.description,e.deprecated)},"createPiece");function Ub(e){if(e!==void 0)return Array.isArray(e)?e.map(Cg):Cg(e)}s(Ub,"withConnectionIdentifierFlag");function Cg(e){return{...e,hasConnectionIdentifier:e.getConnectionIdentifier!==void 0}}s(Cg,"flagConnectionIdentifier");function Mb(e){return/^\d+\.\d+\.\d+$/.test(e)}s(Mb,"isValidSimpleSemver");function Lb(e,r){let[n,i,t]=e.split(".").map(Number),[o,a,c]=r.split(".").map(Number);return n!==o?n<o:i!==a?i<a:t<c}s(Lb,"isSemverLessThan");var jb=x(M(u(),M(u(),u()))),Mg=g({id:x(u()),name:u(),displayName:u(),logoUrl:u(),description:u(),authors:w(u()),platformId:x(u()),directoryPath:x(u()),auth:x(Z([yr,w(yr)])),version:u(),categories:x(w(R(ir))),minimumSupportedRelease:x(u()),maximumSupportedRelease:x(u()),deprecated:x(H()),i18n:jb}),Zb=R(["human","ai","both"]),Lg=g({description:x(u()),idempotent:x(H())}),jg=R(["READ","SEARCH","WRITE","DESTRUCTIVE"]);var Fb=R(["tabs","section","summary","builder","footer"]),Zg=g({key:u(),display:Fb,label:x(u()),description:x(u()),icon:x(u()),props:w(u())}),Fg=g({name:u(),displayName:u(),description:u(),props:Ml,propertyGroups:x(w(Zg)),requireAuth:H(),errorHandlingOptions:x(op),outputSchema:x(ha()),audience:x(Zb),aiMetadata:x(Lg),classification:x(jg)}),Bg=g({name:u(),displayName:u(),description:u(),props:Ml,propertyGroups:x(w(Zg)),errorHandlingOptions:x(op),type:R(Ot),sampleData:U(),handshakeConfiguration:x(ha()),renewConfiguration:x(Ng),testStrategy:R(eo),outputSchema:x(ha()),aiMetadata:x(Lg),classification:x(jg)}),Bb=g({...Mg.shape,actions:M(u(),Fg),triggers:M(u(),Bg)}),Vb=g({...Mg.shape,actions:ue(),triggers:ue(),suggestedActions:x(w(Fg)),suggestedTriggers:x(w(Bg))}),Vg=g({projectUsage:ue(),pieceType:R(or),packageType:R(Xn),platformId:x(u()),archiveId:x(u())}),MD=g({...Bb.shape,...Vg.shape}),LD=g({...Vb.shape,...Vg.shape}),jD=g({name:u(),version:u()});var Hb=Ct(require("path")),Gb=Ct(require("fs/promises"));var hr=require("node:stream");var is=class{constructor(r,n){this.baseUrl=r;this.authenticationConverter=n}static{s(this,"BaseHttpClient")}getUrl(r){let n=new URL(`${this.baseUrl}${r.url}`),i=`${n.origin}${n.pathname}`,t=new URLSearchParams;return n.searchParams.forEach((o,a)=>{t.append(a,o)}),{urlWithoutQueryParams:i,queryParams:t}}getHeaders(r){let n={Accept:"application/json"};return r.authentication&&this.populateAuthentication(r.authentication,n),r.body&&(r.headers?.["Content-Type"]==="text/csv"?n["Content-Type"]="text/csv":n["Content-Type"]="application/json"),r.headers&&(n={...n,...r.headers}),n}populateAuthentication(r,n){this.authenticationConverter.convert(r,n)}};var as=class{static{s(this,"DelegatingAuthenticationConverter")}constructor(r=new jl,n=new Zl){this.converters={BEARER_TOKEN:r,BASIC:n}}convert(r,n){return this.converters[r.type].convert(r,n)}},jl=class{static{s(this,"BearerTokenAuthenticationConverter")}convert(r,n){return n.Authorization=`Bearer ${r.token}`,n}},Zl=class{static{s(this,"BasicTokenAuthenticationConverter")}convert(r,n){let i=`${r.username}:${r.password}`,t=Buffer.from(i).toString("base64");return n.Authorization=`Basic ${t}`,n}};var yo=class extends Error{constructor(n,i){let t=i.status||500,o=Buffer.isBuffer(i.responseBody)?i.responseBody.toString():i.responseBody;super(JSON.stringify({response:{status:t,body:o},request:{body:n}}));this.requestBody=n;this.status=t,this.responseBody=o}static{s(this,"HttpError")}errorMessage(){return{response:{status:this.status,body:this.responseBody},request:{body:this.requestBody}}}get response(){return{status:this.status,body:this.responseBody}}get request(){return{body:this.requestBody}}};function Hg({error:e,requestBody:r}){return e instanceof yo?e.errorMessage():{response:{status:0,body:e instanceof Error?e.message:String(e)},request:{body:r}}}s(Hg,"toFailsafeOutput");var Fl=(a=>(a.GET="GET",a.POST="POST",a.PATCH="PATCH",a.PUT="PUT",a.DELETE="DELETE",a.HEAD="HEAD",a))(Fl||{});var ss=class extends is{static{s(this,"FetchHttpClient")}constructor(r="",n=new as){super(r,n)}async sendRequest(r,n){process.env.NODE_TLS_REJECT_UNAUTHORIZED="0";let{urlWithoutQueryParams:i,queryParams:t}=this.getUrl(r),o=this.getHeaders(r),a=r.queryParams??{};for(let[C,X]of Object.entries(a))t.append(C,X);let c=t.toString(),l=c?`${i}?${c}`:i,d=r.responseType??"json",m=r.followRedirects??!0,b=r.retries??0,{body:h,extraHeaders:p,isStream:y}=cs(r.method)?Wb(r.body,o):{body:void 0,extraHeaders:{},isStream:!1},P=Jb({...o,...p}),E=await qb(async()=>{let C=new AbortController,X=r.timeout&&r.timeout>0?setTimeout(()=>C.abort(),r.timeout):void 0;try{let ne={method:r.method.toString(),headers:P,body:h,redirect:m?"follow":"manual",signal:C.signal};return y&&(ne.duplex="half"),n?.dispatcher!==void 0&&(ne.dispatcher=n.dispatcher),await fetch(l,ne)}finally{X!==void 0&&clearTimeout(X)}},y?0:b),_=m?300:400;if(E.status<200||E.status>=_){let C=await Gg(E,d==="stream"?"text":d),X=new yo(r.body,{status:E.status,responseBody:C});throw console.error("[HttpClient#(sanitized error message)] Request failed:",X),X}let A=await Gg(E,d);return{status:E.status,headers:Kb(E.headers),body:A}}};function cs(e){return e!=="GET"&&e!=="HEAD"}s(cs,"acceptsRequestBody");function Wb(e,r){if(qg(e))return{body:void 0,extraHeaders:{},isStream:!1};if(Yb(e)){let i=Xb(e);if(i!==null)return{body:i,extraHeaders:e.getHeaders(),isStream:!1};let t=new hr.PassThrough;return e.on("error",o=>t.destroy(o)),e.pipe(t),{body:t,extraHeaders:e.getHeaders(),isStream:!0}}return e instanceof hr.Readable?{body:e,extraHeaders:{},isStream:!0}:typeof e=="string"||Buffer.isBuffer(e)||e instanceof URLSearchParams||e instanceof ArrayBuffer||typeof FormData<"u"&&e instanceof FormData||typeof Blob<"u"&&e instanceof Blob?{body:e,extraHeaders:{},isStream:!1}:(r["Content-Type"]??r["content-type"]??"").includes("application/x-www-form-urlencoded")?{body:new URLSearchParams(e).toString(),extraHeaders:{},isStream:!1}:{body:JSON.stringify(e),extraHeaders:{},isStream:!1}}s(Wb,"serializeBody");async function Gg(e,r){switch(r){case"arraybuffer":return Buffer.from(await e.arrayBuffer());case"stream":return qg(e.body)?hr.Readable.from([]):hr.Readable.fromWeb(e.body);case"blob":return await e.blob();case"text":return await e.text();default:{let n=await e.text();if(n.length===0)return;try{return JSON.parse(n)}catch{return n}}}}s(Gg,"parseResponseBody");async function qb(e,r){let n;for(let i=0;i<=r;i++)try{let t=await e();if(t.status>=500&&i<r){await Wg(i);continue}return t}catch(t){if(n=t,i<r){await Wg(i);continue}throw t}throw n}s(qb,"sendWithRetries");function Wg(e){let r=Math.min(1e3*2**e,3e4);return new Promise(n=>setTimeout(n,r))}s(Wg,"backoff");function Jb(e){let r=new Map;for(let[n,i]of Object.entries(e))i!==void 0&&r.set(n.toLowerCase(),[n,Array.isArray(i)?i.join(", "):i]);return Object.fromEntries(r.values())}s(Jb,"normalizeHeaders");function Kb(e){let r={};return e.forEach((n,i)=>{r[i]=n}),r}s(Kb,"toHttpHeaders");function Xb(e){if(!e.hasKnownLength()||e.getLengthSync()>Qb)return null;let{data:r}=up(()=>e.getBuffer());return r}s(Xb,"bufferFormDataIfSafe");function Yb(e){return typeof e=="object"&&e!==null&&typeof e.getHeaders=="function"&&typeof e.pipe=="function"&&typeof e.on=="function"}s(Yb,"isNodeFormData");function qg(e){return e==null}s(qg,"isNil");var Qb=100*1024*1024;var Jg=new ss;var jI=Ct(require("fs")),tv=Ct(ev());var ZI={"application/json":"json","application/pdf":"pdf","application/xml":"xml","text/xml":"xml","application/zip":"zip","application/gzip":"gz","application/x-tar":"tar","application/octet-stream":"bin","application/msword":"doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/rtf":"rtf","application/javascript":"js","application/x-www-form-urlencoded":"bin","text/plain":"txt","text/html":"html","text/css":"css","text/csv":"csv","text/calendar":"ics","text/markdown":"md","image/png":"png","image/jpeg":"jpeg","image/jpg":"jpg","image/gif":"gif","image/webp":"webp","image/svg+xml":"svg","image/bmp":"bmp","image/tiff":"tiff","image/x-icon":"ico","image/vnd.microsoft.icon":"ico","image/heic":"heic","audio/mpeg":"mp3","audio/mp4":"m4a","audio/wav":"wav","audio/x-wav":"wav","audio/ogg":"ogg","audio/webm":"weba","video/mp4":"mp4","video/mpeg":"mpeg","video/webm":"webm","video/quicktime":"mov","video/x-msvideo":"avi","font/woff":"woff","font/woff2":"woff2","font/ttf":"ttf","font/otf":"otf"};function FI(e){let r=e.split(";")[0].trim().toLowerCase();return ZI[r]??""}s(FI,"contentTypeToExtension");var BI=s(({baseUrl:e,relativePath:r})=>{let n=e.endsWith("/")?e:`${e}/`,i=r.startsWith("/")?r.slice(1):r;return`${n}${i}`},"joinBaseUrlWithRelativePath"),VI=s((e,r)=>{let n="https://api.example.com";try{let i=r?e(r):void 0;return(i?.endsWith("/")?i.slice(0,-1):i)??n}catch{return n}},"getBaseUrlForDescription");function rv({auth:e,baseUrl:r,authMapping:n,description:i,displayName:t,name:o,props:a,extraProps:c,authLocation:l="headers",classification:d="WRITE"}){return fm({audience:"human",name:o||"custom_api_call",classification:d,displayName:t||"Custom API Call",description:i||"Make a custom API call to a specific endpoint",auth:e,requireAuth:!!e,props:{url:te.DynamicProperties({auth:e,displayName:"",required:!0,refreshers:[],props:s(async({auth:m})=>({url:te.ShortText({displayName:"URL",description:`Full URL, or a path relative to ${VI(r,m)}`,required:!0,placeholder:"/resource",defaultValue:m?r(m):"",...a?.url??{}})}),"props")}),method:te.StaticDropdown({displayName:"Method",required:!0,defaultValue:"GET",options:{options:Object.values(Fl).map(m=>({label:m,value:m}))},...a?.method??{}}),headers:te.Object({displayName:"Headers",description:"Authorization headers are injected automatically from your connection.",required:!1,...a?.headers??{}}),queryParams:te.Object({displayName:"Query Parameters",description:"Appended to the URL as ?key=value.",required:!1,...a?.queryParams??{}}),body_type:te.Dropdown({auth:e,displayName:"Body Type",required:!1,defaultValue:"none",refreshers:["method"],options:s(async({method:m})=>cs(m)?{disabled:!1,options:[{label:"None",value:"none"},{label:"JSON",value:"json"},{label:"Form Data",value:"form_data"},{label:"Raw",value:"raw"}]}:{disabled:!0,placeholder:"Not available for GET or HEAD requests",options:[]},"options")}),body:te.DynamicProperties({auth:e,displayName:"Body",refreshers:["body_type","method"],required:!1,props:s(async({body_type:m,method:b})=>{if(!m||!cs(b))return{};let h=m,p={};switch(h){case"none":break;case"json":p.data=te.Json({displayName:"JSON Body",required:!0,...a?.body??{}});break;case"raw":p.data=te.LongText({displayName:"Raw Body",required:!0});break;case"form_data":p.data=te.Array({displayName:"Form Data",required:!0,properties:{fieldName:te.ShortText({displayName:"Field Name",required:!0}),fieldType:te.StaticDropdown({displayName:"Field Type",required:!0,options:{disabled:!1,options:[{label:"Text",value:"text"},{label:"File",value:"file"}]}}),textFieldValue:te.LongText({displayName:"Text Field Value",required:!1}),fileFieldValue:te.File({displayName:"File Field Value",required:!1})}});break}return p},"props")}),response_is_binary:te.Checkbox({displayName:"Response is Binary",description:"Enable for files like PDFs, images, etc.",required:!1,defaultValue:!1,advanced:!0,...a?.response_is_binary??{}}),failsafe:te.Checkbox({displayName:"Return Error as Output",description:"On a failed request, output the error instead of failing the step.",required:!1,advanced:!0,...a?.failsafe??{}}),timeout:te.Number({displayName:"Timeout",description:"Seconds to wait for a response. Empty: up to the flow limit (10 min).",required:!1,advanced:!0,...a?.timeout??{}}),followRedirects:te.Checkbox({displayName:"Follow redirects",description:"Follow 3xx redirects instead of returning them as the response.",required:!1,defaultValue:!1,advanced:!0,...a?.followRedirects??{}}),...c},run:s(async m=>{let{method:b,url:h,headers:p,queryParams:y,body:P,body_type:E,failsafe:_,timeout:A,response_is_binary:C,followRedirects:X}=m.propsValue;Pa(b,"Method"),Pa(h,"URL");let ne=we(n)?{}:await n(m.auth,m.propsValue),Ue=h.url,vs=Ue.startsWith("http://")||Ue.startsWith("https://")?Ue:BI({baseUrl:r(m.auth),relativePath:Ue}),qe={method:b,url:vs,headers:{...p??{},...l==="headers"||!we(l)?ne:{}},queryParams:{...l==="queryParams"?ne:{},...y??{}},timeout:A?A*1e3:0,followRedirects:X};if(C&&(qe.responseType="arraybuffer"),P)if(E&&E!=="none"){let Me=P.data;if(E==="form_data"){let nv=Me,_o=new tv.default;for(let{fieldName:pd,fieldType:ld,textFieldValue:dd,fileFieldValue:xs}of nv)ld==="text"&&!to(dd)?_o.append(pd,dd):ld==="file"&&!to(xs)&&_o.append(pd,xs.data,{filename:xs?.filename});qe.body=_o,qe.headers={...qe.headers,..._o.getHeaders()}}else qe.body=Me}else E||(qe.body=P);try{let Me=await Jg.sendRequest(qe);return await HI(m.files,Me.body,Me.status,Me.headers,C)}catch(Me){if(_)return Hg({error:Me,requestBody:qe.body});throw Me}},"run")})}s(rv,"createCustomApiCallAction");var HI=s(async(e,r,n,i,t)=>{let o;if(t&&GI(r)){let a=Array.isArray(i?.["content-type"])?i["content-type"][0]:i?.["content-type"],c=FI(a??"")||"txt",l;r instanceof ArrayBuffer?l=Buffer.from(new Uint8Array(r)):Buffer.isBuffer(r)?l=r:l=Buffer.from(r),o=await e.write({fileName:`output.${c}`,data:l})}else o=r;return{status:n,headers:i,body:o}},"handleBinaryResponse"),GI=s(e=>e instanceof ArrayBuffer||Buffer.isBuffer(e),"isBinaryBody");var ud=Ul.OAuth2({props:{location:te.StaticDropdown({displayName:"Location",description:"The location of your Zoho Books account",required:!0,options:{options:[{label:"zoho.eu (Europe)",value:"zoho.eu"},{label:"zoho.com (United States)",value:"zoho.com"},{label:"zoho.com.au (Australia)",value:"zoho.com.au"},{label:"zoho.jp (Japan)",value:"zoho.jp"},{label:"zoho.in (India)",value:"zoho.in"},{label:"zohocloud.ca (Canada)",value:"zohocloud.ca"}]}})},description:"Authentication for Zoho Books",scope:["ZohoBooks.fullaccess.all"],authUrl:"https://accounts.{location}/oauth/v2/auth",tokenUrl:"https://accounts.{location}/oauth/v2/token",required:!0}),WI=Ug({displayName:"Zoho Books",description:"Comprehensive online accounting software for small businesses.",logoUrl:"https://cdn.activepieces.com/pieces/zoho-books.png",minimumSupportedRelease:"0.30.0",categories:["ACCOUNTING"],authors:["ikus060"],auth:ud,actions:[rv({baseUrl:s(e=>{let r=e.data;return r&&r.api_domain?`${r.api_domain}/books/v3`:""},"baseUrl"),auth:ud,authMapping:s(async e=>({Authorization:`Zoho-oauthtoken ${e.access_token}`}),"authMapping")})],triggers:[]});0&&(module.exports={zohoBooks,zohoBooksAuth});
|
|
41
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let i of e.seen.entries()){let l=i[1];if(t===i[0]){a(i);continue}if(e.external){let m=e.external.registry.get(i[0])?.id;if(t!==i[0]&&m){a(i);continue}}if(e.metadataRegistry.get(i[0])?.id){a(i);continue}if(l.cycle){a(i);continue}if(l.count>1&&e.reused==="ref"){a(i);continue}}}s(vt,"extractDefs");function It(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=s(i=>{let l=e.seen.get(i);if(l.ref===null)return;let d=l.def??l.schema,m={...d},b=l.ref;if(l.ref=null,b){n(b);let I=e.seen.get(b),p=I.schema;if(p.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(d.allOf=d.allOf??[],d.allOf.push(p)):Object.assign(d,p),Object.assign(d,m),i._zod.parent===b)for(let A in d)A==="$ref"||A==="allOf"||A in m||delete d[A];if(p.$ref&&I.def)for(let A in d)A==="$ref"||A==="allOf"||A in I.def&&JSON.stringify(d[A])===JSON.stringify(I.def[A])&&delete d[A]}let x=i._zod.parent;if(x&&x!==b){n(x);let I=e.seen.get(x);if(I?.schema.$ref&&(d.$ref=I.schema.$ref,I.def))for(let p in d)p==="$ref"||p==="allOf"||p in I.def&&JSON.stringify(d[p])===JSON.stringify(I.def[p])&&delete d[p]}e.override({zodSchema:i,jsonSchema:d,path:l.path??[]})},"flattenRef");for(let i of[...e.seen.entries()].reverse())n(i[0]);let o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let i=e.external.registry.get(t)?.id;if(!i)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(i)}Object.assign(o,r.def??r.schema);let a=e.external?.defs??{};for(let i of e.seen.entries()){let l=i[1];l.def&&l.defId&&(a[l.defId]=l.def)}e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?o.$defs=a:o.definitions=a);try{let i=JSON.parse(JSON.stringify(o));return Object.defineProperty(i,"~standard",{value:{...t["~standard"],jsonSchema:{input:zo(t,"input",e.processors),output:zo(t,"output",e.processors)}},enumerable:!1,writable:!1}),i}catch{throw new Error("Error converting schema to JSON.")}}s(It,"finalize");function Se(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return Se(n.element,r);if(n.type==="set")return Se(n.valueType,r);if(n.type==="lazy")return Se(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return Se(n.innerType,r);if(n.type==="intersection")return Se(n.left,r)||Se(n.right,r);if(n.type==="record"||n.type==="map")return Se(n.keyType,r)||Se(n.valueType,r);if(n.type==="pipe")return Se(n.in,r)||Se(n.out,r);if(n.type==="object"){for(let o in n.shape)if(Se(n.shape[o],r))return!0;return!1}if(n.type==="union"){for(let o of n.options)if(Se(o,r))return!0;return!1}if(n.type==="tuple"){for(let o of n.items)if(Se(o,r))return!0;return!!(n.rest&&Se(n.rest,r))}return!1}s(Se,"isTransforming");var pu=s((e,t={})=>r=>{let n=kt({...r,processors:t});return ae(e,n),vt(n,e),It(n,e)},"createToJSONSchemaMethod"),zo=s((e,t,r={})=>n=>{let{libraryOptions:o,target:a}=n??{},i=kt({...o??{},target:a,io:t,processors:r});return ae(e,i),vt(i,e),It(i,e)},"createStandardJSONSchemaMethod");var mA={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},yu=s((e,t,r,n)=>{let o=r;o.type="string";let{minimum:a,maximum:i,format:l,patterns:d,contentEncoding:m}=e._zod.bag;if(typeof a=="number"&&(o.minLength=a),typeof i=="number"&&(o.maxLength=i),l&&(o.format=mA[l]??l,o.format===""&&delete o.format,l==="time"&&delete o.format),m&&(o.contentEncoding=m),d&&d.size>0){let b=[...d];b.length===1?o.pattern=b[0].source:b.length>1&&(o.allOf=[...b.map(x=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:x.source}))])}},"stringProcessor"),fu=s((e,t,r,n)=>{let o=r,{minimum:a,maximum:i,format:l,multipleOf:d,exclusiveMaximum:m,exclusiveMinimum:b}=e._zod.bag;typeof l=="string"&&l.includes("int")?o.type="integer":o.type="number",typeof b=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.minimum=b,o.exclusiveMinimum=!0):o.exclusiveMinimum=b),typeof a=="number"&&(o.minimum=a,typeof b=="number"&&t.target!=="draft-04"&&(b>=a?delete o.minimum:delete o.exclusiveMinimum)),typeof m=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.maximum=m,o.exclusiveMaximum=!0):o.exclusiveMaximum=m),typeof i=="number"&&(o.maximum=i,typeof m=="number"&&t.target!=="draft-04"&&(m<=i?delete o.maximum:delete o.exclusiveMaximum)),typeof d=="number"&&(o.multipleOf=d)},"numberProcessor"),hu=s((e,t,r,n)=>{r.type="boolean"},"booleanProcessor"),_u=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},"bigintProcessor"),gu=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},"symbolProcessor"),bu=s((e,t,r,n)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},"nullProcessor"),ku=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},"undefinedProcessor"),vu=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},"voidProcessor"),Iu=s((e,t,r,n)=>{r.not={}},"neverProcessor"),Pu=s((e,t,r,n)=>{},"anyProcessor"),zu=s((e,t,r,n)=>{},"unknownProcessor"),xu=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},"dateProcessor"),Au=s((e,t,r,n)=>{let o=e._zod.def,a=tr(o.entries);a.every(i=>typeof i=="number")&&(r.type="number"),a.every(i=>typeof i=="string")&&(r.type="string"),r.enum=a},"enumProcessor"),Su=s((e,t,r,n)=>{let o=e._zod.def,a=[];for(let i of o.values)if(i===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof i=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");a.push(Number(i))}else a.push(i);if(a.length!==0)if(a.length===1){let i=a[0];r.type=i===null?"null":typeof i,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[i]:r.const=i}else a.every(i=>typeof i=="number")&&(r.type="number"),a.every(i=>typeof i=="string")&&(r.type="string"),a.every(i=>typeof i=="boolean")&&(r.type="boolean"),a.every(i=>i===null)&&(r.type="null"),r.enum=a},"literalProcessor"),Tu=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},"nanProcessor"),Cu=s((e,t,r,n)=>{let o=r,a=e._zod.pattern;if(!a)throw new Error("Pattern not found in template literal");o.type="string",o.pattern=a.source},"templateLiteralProcessor"),Eu=s((e,t,r,n)=>{let o=r,a={type:"string",format:"binary",contentEncoding:"binary"},{minimum:i,maximum:l,mime:d}=e._zod.bag;i!==void 0&&(a.minLength=i),l!==void 0&&(a.maxLength=l),d?d.length===1?(a.contentMediaType=d[0],Object.assign(o,a)):(Object.assign(o,a),o.anyOf=d.map(m=>({contentMediaType:m}))):Object.assign(o,a)},"fileProcessor"),Du=s((e,t,r,n)=>{r.type="boolean"},"successProcessor"),Ou=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},"customProcessor"),Nu=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},"functionProcessor"),wu=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},"transformProcessor"),Ru=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},"mapProcessor"),$u=s((e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},"setProcessor"),Bu=s((e,t,r,n)=>{let o=r,a=e._zod.def,{minimum:i,maximum:l}=e._zod.bag;typeof i=="number"&&(o.minItems=i),typeof l=="number"&&(o.maxItems=l),o.type="array",o.items=ae(a.element,t,{...n,path:[...n.path,"items"]})},"arrayProcessor"),Mu=s((e,t,r,n)=>{let o=r,a=e._zod.def;o.type="object",o.properties={};let i=a.shape;for(let m in i)o.properties[m]=ae(i[m],t,{...n,path:[...n.path,"properties",m]});let l=new Set(Object.keys(i)),d=new Set([...l].filter(m=>{let b=a.shape[m]._zod;return t.io==="input"?b.optin===void 0:b.optout===void 0}));d.size>0&&(o.required=Array.from(d)),a.catchall?._zod.def.type==="never"?o.additionalProperties=!1:a.catchall?a.catchall&&(o.additionalProperties=ae(a.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},"objectProcessor"),ji=s((e,t,r,n)=>{let o=e._zod.def,a=o.inclusive===!1,i=o.options.map((l,d)=>ae(l,t,{...n,path:[...n.path,a?"oneOf":"anyOf",d]}));a?r.oneOf=i:r.anyOf=i},"unionProcessor"),Uu=s((e,t,r,n)=>{let o=e._zod.def,a=ae(o.left,t,{...n,path:[...n.path,"allOf",0]}),i=ae(o.right,t,{...n,path:[...n.path,"allOf",1]}),l=s(m=>"allOf"in m&&Object.keys(m).length===1,"isSimpleIntersection"),d=[...l(a)?a.allOf:[a],...l(i)?i.allOf:[i]];r.allOf=d},"intersectionProcessor"),Lu=s((e,t,r,n)=>{let o=r,a=e._zod.def;o.type="array";let i=t.target==="draft-2020-12"?"prefixItems":"items",l=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",d=a.items.map((I,p)=>ae(I,t,{...n,path:[...n.path,i,p]})),m=a.rest?ae(a.rest,t,{...n,path:[...n.path,l,...t.target==="openapi-3.0"?[a.items.length]:[]]}):null;t.target==="draft-2020-12"?(o.prefixItems=d,m&&(o.items=m)):t.target==="openapi-3.0"?(o.items={anyOf:d},m&&o.items.anyOf.push(m),o.minItems=d.length,m||(o.maxItems=d.length)):(o.items=d,m&&(o.additionalItems=m));let{minimum:b,maximum:x}=e._zod.bag;typeof b=="number"&&(o.minItems=b),typeof x=="number"&&(o.maxItems=x)},"tupleProcessor"),Fu=s((e,t,r,n)=>{let o=r,a=e._zod.def;o.type="object";let i=a.keyType,d=i._zod.bag?.patterns;if(a.mode==="loose"&&d&&d.size>0){let b=ae(a.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});o.patternProperties={};for(let x of d)o.patternProperties[x.source]=b}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(o.propertyNames=ae(a.keyType,t,{...n,path:[...n.path,"propertyNames"]})),o.additionalProperties=ae(a.valueType,t,{...n,path:[...n.path,"additionalProperties"]});let m=i._zod.values;if(m){let b=[...m].filter(x=>typeof x=="string"||typeof x=="number");b.length>0&&(o.required=b)}},"recordProcessor"),ju=s((e,t,r,n)=>{let o=e._zod.def,a=ae(o.innerType,t,n),i=t.seen.get(e);t.target==="openapi-3.0"?(i.ref=o.innerType,r.nullable=!0):r.anyOf=[a,{type:"null"}]},"nullableProcessor"),qu=s((e,t,r,n)=>{let o=e._zod.def;ae(o.innerType,t,n);let a=t.seen.get(e);a.ref=o.innerType},"nonoptionalProcessor"),Zu=s((e,t,r,n)=>{let o=e._zod.def;ae(o.innerType,t,n);let a=t.seen.get(e);a.ref=o.innerType,r.default=JSON.parse(JSON.stringify(o.defaultValue))},"defaultProcessor"),Vu=s((e,t,r,n)=>{let o=e._zod.def;ae(o.innerType,t,n);let a=t.seen.get(e);a.ref=o.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(o.defaultValue)))},"prefaultProcessor"),Hu=s((e,t,r,n)=>{let o=e._zod.def;ae(o.innerType,t,n);let a=t.seen.get(e);a.ref=o.innerType;let i;try{i=o.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=i},"catchProcessor"),Gu=s((e,t,r,n)=>{let o=e._zod.def,a=t.io==="input"?o.in._zod.def.type==="transform"?o.out:o.in:o.out;ae(a,t,n);let i=t.seen.get(e);i.ref=a},"pipeProcessor"),Wu=s((e,t,r,n)=>{let o=e._zod.def;ae(o.innerType,t,n);let a=t.seen.get(e);a.ref=o.innerType,r.readOnly=!0},"readonlyProcessor"),Ku=s((e,t,r,n)=>{let o=e._zod.def;ae(o.innerType,t,n);let a=t.seen.get(e);a.ref=o.innerType},"promiseProcessor"),qi=s((e,t,r,n)=>{let o=e._zod.def;ae(o.innerType,t,n);let a=t.seen.get(e);a.ref=o.innerType},"optionalProcessor"),Ju=s((e,t,r,n)=>{let o=e._zod.innerType;ae(o,t,n);let a=t.seen.get(e);a.ref=o},"lazyProcessor"),Fi={string:yu,number:fu,boolean:hu,bigint:_u,symbol:gu,null:bu,undefined:ku,void:vu,never:Iu,any:Pu,unknown:zu,date:xu,enum:Au,literal:Su,nan:Tu,template_literal:Cu,file:Eu,success:Du,custom:Ou,function:Nu,transform:wu,map:Ru,set:$u,array:Bu,object:Mu,union:ji,intersection:Uu,tuple:Lu,record:Fu,nullable:ju,nonoptional:qu,default:Zu,prefault:Vu,catch:Hu,pipe:Gu,readonly:Wu,promise:Ku,optional:qi,lazy:Ju};function xn(e,t){if("_idmap"in e){let n=e,o=kt({...t,processors:Fi}),a={};for(let d of n._idmap.entries()){let[m,b]=d;ae(b,o)}let i={},l={registry:n,uri:t?.uri,defs:a};o.external=l;for(let d of n._idmap.entries()){let[m,b]=d;vt(o,b),i[m]=It(o,b)}if(Object.keys(a).length>0){let d=o.target==="draft-2020-12"?"$defs":"definitions";i.__shared={[d]:a}}return{schemas:i}}let r=kt({...t,processors:Fi});return ae(e,r),vt(r,e),It(r,e)}s(xn,"toJSONSchema");var Zi=class{static{s(this,"JSONSchemaGenerator")}get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=kt({processors:Fi,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return ae(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),vt(this.ctx,t);let n=It(this.ctx,t),{"~standard":o,...a}=n;return a}};var by={};var fe=k("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");H.init(e,t),e.def=t,e.type=t.type,e.parse=(r,n)=>Ot(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>mo(e,r,n),e.parseAsync=async(r,n)=>Nt(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>yo(e,r,n),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]},{parent:!0}),e.with=e.check,e.clone=(r,n)=>ge(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.apply=r=>r(e)}),Vi=k("ZodMiniString",(e,t)=>{tt.init(e,t),fe.init(e,t)});function y(e){return Rr(Vi,e)}s(y,"string");var xo=k("ZodMiniStringFormat",(e,t)=>{ne.init(e,t),Vi.init(e,t)});var fA=k("ZodMiniURL",(e,t)=>{ur.init(e,t),xo.init(e,t)});function ky(e){return Bt(fA,e)}s(ky,"url");var Hi=k("ZodMiniNumber",(e,t)=>{ho.init(e,t),fe.init(e,t)});function ke(e){return ln(Hi,e)}s(ke,"number");var hA=k("ZodMiniNumberFormat",(e,t)=>{fr.init(e,t),Hi.init(e,t)});function vy(e){return un(hA,e)}s(vy,"int");var Xu=k("ZodMiniBoolean",(e,t)=>{Rt.init(e,t),fe.init(e,t)});function oe(e){return dn(Xu,e)}s(oe,"boolean");var Iy=k("ZodMiniBigInt",(e,t)=>{_o.init(e,t),fe.init(e,t)});var _A=k("ZodMiniAny",(e,t)=>{hr.init(e,t),fe.init(e,t)});function An(){return yn(_A)}s(An,"any");var gA=k("ZodMiniUnknown",(e,t)=>{_r.init(e,t),fe.init(e,t)});function W(){return fn(gA)}s(W,"unknown");var bA=k("ZodMiniVoid",(e,t)=>{gr.init(e,t),fe.init(e,t)});function Py(e){return hn(bA,e)}s(Py,"_void");var zy=k("ZodMiniDate",(e,t)=>{br.init(e,t),fe.init(e,t)});var kA=k("ZodMiniArray",(e,t)=>{kr.init(e,t),fe.init(e,t)});function V(e,t){return new kA({type:"array",element:e,...N(t)})}s(V,"array");var vA=k("ZodMiniObject",(e,t)=>{ei.init(e,t),fe.init(e,t),X(e,"shape",()=>t.shape)});function P(e,t){let r={type:"object",shape:e??{},...N(t)};return new vA(r)}s(P,"object");var IA=k("ZodMiniUnion",(e,t)=>{$t.init(e,t),fe.init(e,t)});function Y(e,t){return new IA({type:"union",options:e,...N(t)})}s(Y,"union");var PA=k("ZodMiniDiscriminatedUnion",(e,t)=>{vr.init(e,t),fe.init(e,t)});function Pt(e,t,r){return new PA({type:"union",options:t,discriminator:e,...N(r)})}s(Pt,"discriminatedUnion");var zA=k("ZodMiniRecord",(e,t)=>{Pr.init(e,t),fe.init(e,t)});function K(e,t,r){return new zA({type:"record",keyType:e,valueType:t,...N(r)})}s(K,"record");var xA=k("ZodMiniEnum",(e,t)=>{zr.init(e,t),fe.init(e,t),e.options=Object.values(t.entries)});function Z(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new xA({type:"enum",entries:r,...N(t)})}s(Z,"_enum");var AA=k("ZodMiniLiteral",(e,t)=>{xr.init(e,t),fe.init(e,t)});function q(e,t){return new AA({type:"literal",values:Array.isArray(e)?e:[e],...N(t)})}s(q,"literal");var SA=k("ZodMiniTransform",(e,t)=>{Ar.init(e,t),fe.init(e,t)});function zt(e){return new SA({type:"transform",transform:e})}s(zt,"transform");var TA=k("ZodMiniOptional",(e,t)=>{go.init(e,t),fe.init(e,t)});function S(e){return new TA({type:"optional",innerType:e})}s(S,"optional");var CA=k("ZodMiniNullable",(e,t)=>{Sr.init(e,t),fe.init(e,t)});function Sn(e){return new CA({type:"nullable",innerType:e})}s(Sn,"nullable");var EA=k("ZodMiniPipe",(e,t)=>{Tr.init(e,t),fe.init(e,t)});function xt(e,t){return new EA({type:"pipe",in:e,out:t})}s(xt,"pipe");var xy=k("ZodMiniCustom",(e,t)=>{Cr.init(e,t),fe.init(e,t)});function Gi(e,t){return Pn(xy,e??(()=>!0),t)}s(Gi,"custom");function Yu(e,t={}){return zn(xy,e,t)}s(Yu,"refine");var Wi={};Ue(Wi,{ZodMiniISODate:()=>ed,ZodMiniISODateTime:()=>Qu,ZodMiniISODuration:()=>od,ZodMiniISOTime:()=>td,date:()=>OA,datetime:()=>DA,duration:()=>wA,time:()=>NA});var Qu=k("ZodMiniISODateTime",(e,t)=>{dr.init(e,t),xo.init(e,t)});function DA(e){return rn(Qu,e)}s(DA,"datetime");var ed=k("ZodMiniISODate",(e,t)=>{mr.init(e,t),xo.init(e,t)});function OA(e){return nn(ed,e)}s(OA,"date");var td=k("ZodMiniISOTime",(e,t)=>{pr.init(e,t),xo.init(e,t)});function NA(e){return an(td,e)}s(NA,"time");var od=k("ZodMiniISODuration",(e,t)=>{yr.init(e,t),xo.init(e,t)});function wA(e){return sn(od,e)}s(wA,"duration");var Tn={};Ue(Tn,{bigint:()=>MA,boolean:()=>BA,date:()=>UA,number:()=>$A,string:()=>RA});function RA(e){return $r(Vi,e)}s(RA,"string");function $A(e){return cn(Hi,e)}s($A,"number");function BA(e){return mn(Xu,e)}s(BA,"boolean");function MA(e){return pn(Iy,e)}s(MA,"bigint");function UA(e){return _n(zy,e)}s(UA,"date");var nd=P({retryOnFailure:P({defaultValue:S(oe()),hide:S(oe())}),continueOnFailure:P({defaultValue:S(oe()),hide:S(oe())})}),rd=class{constructor(t,r,n,o,a,i,l,d,m,b,x,I,p){this.name=t;this.displayName=r;this.description=n;this.props=o;this.propertyGroups=a;this.run=i;this.test=l;this.requireAuth=d;this.errorHandlingOptions=m;this.outputSchema=b;this.audience=x;this.aiMetadata=I;this.classification=p}static{s(this,"IAction")}},_=s(e=>new rd(e.name,e.displayName,e.description,e.props,e.propertyGroups,e.run,e.test??e.run,e.requireAuth??!0,e.errorHandlingOptions??{continueOnFailure:{defaultValue:!1},retryOnFailure:{defaultValue:!1}},e.outputSchema,e.audience,e.aiMetadata,e.classification),"createAction");var te=P({displayName:y(),description:S(y()),advanced:S(oe()),width:S(Z(["half","full"])),icon:S(y()),placeholder:S(y())}),J=s((e,t)=>P({type:q(t),required:oe(),defaultValue:S(An())}),"TPropertyValue");var Be=P({...te.shape,...J(y(),"SHORT_TEXT").shape}),nt=P({...te.shape,...J(y(),"LONG_TEXT").shape});var Sy=P({label:y(),value:W(),description:S(y()),icon:S(y())}),Ki=P({disabled:S(oe()),placeholder:S(y()),options:V(Sy)});var FA=Z(["cards"]),Me=P({...te.shape,options:Ki,display:S(FA),...J(W(),"STATIC_DROPDOWN").shape}),at=P({...te.shape,options:Ki,...J(V(W()),"STATIC_MULTI_SELECT_DROPDOWN").shape});var ad=P({...te.shape,...J(W(),"DROPDOWN").shape,refreshers:V(y())}),Cn=P({...te.shape,...J(V(W()),"MULTI_SELECT_DROPDOWN").shape,refreshers:V(y())});var it=P({...te.shape,reveals:S(V(y())),...J(oe(),"CHECKBOX").shape});var st=P({...te.shape,display:S(Z(["stepper"])),min:S(ke()),max:S(ke()),step:S(ke()),...J(ke(),"NUMBER").shape});var En=P({...te.shape,streaming:S(oe()),...J(W(),"FILE").shape});var Dn=P({...te.shape,...J(y(),"DATE_TIME").shape});var Ty=K(y(),Y([Be,nt,Me,Cn,at,it,st,En,Dn])),On=P({...te.shape,properties:Ty,...J(V(W()),"ARRAY").shape});var Cy=Z(["any_time","last_24_hours","last_7_days","last_30_days","last_90_days","this_month","custom"]),Ey=P({preset:S(Cy),after:S(y()),before:S(y())}),id=P({...te.shape,display:S(Z(["dropdown"])),...J(Ey,"DATE_RANGE").shape});var Nn=P({...te.shape,...J(Y([K(y(),W())]),"JSON").shape});var Dy=Y([Be,Me,Nn,On,at]),jA=K(y(),Dy),sd=P({refreshers:V(y()),...te.shape,...J(W(),"DYNAMIC").shape});var Ji=P({...te.shape,...J(Py(),"MARKDOWN").shape});var wn=(r=>(r.ARCHIVE="ARCHIVE",r.REGISTRY="REGISTRY",r))(wn||{}),Ao=(r=>(r.CUSTOM="CUSTOM",r.OFFICIAL="OFFICIAL",r))(Ao||{}),Kt=(E=>(E.ARTIFICIAL_INTELLIGENCE="ARTIFICIAL_INTELLIGENCE",E.COMMUNICATION="COMMUNICATION",E.COMMERCE="COMMERCE",E.CORE="CORE",E.UNIVERSAL_AI="UNIVERSAL_AI",E.FLOW_CONTROL="FLOW_CONTROL",E.BUSINESS_INTELLIGENCE="BUSINESS_INTELLIGENCE",E.ACCOUNTING="ACCOUNTING",E.PRODUCTIVITY="PRODUCTIVITY",E.CONTENT_AND_FILES="CONTENT_AND_FILES",E.DEVELOPER_TOOLS="DEVELOPER_TOOLS",E.CUSTOMER_SUPPORT="CUSTOMER_SUPPORT",E.FORMS_AND_SURVEYS="FORMS_AND_SURVEYS",E.HUMAN_RESOURCES="HUMAN_RESOURCES",E.PAYMENT_PROCESSING="PAYMENT_PROCESSING",E.MARKETING="MARKETING",E.SALES_AND_CRM="SALES_AND_CRM",E))(Kt||{});var Rn=(r=>(r.AUTHORIZATION_CODE="authorization_code",r.CLIENT_CREDENTIALS="client_credentials",r))(Rn||{}),ld="both_client_credentials_and_authorization_code";var Jt=(o=>(o.POLLING="POLLING",o.WEBHOOK="WEBHOOK",o.APP_WEBHOOK="APP_WEBHOOK",o.MANUAL="MANUAL",o))(Jt||{}),$n=(a=>(a.NONE="NONE",a.HEADER_PRESENT="HEADER_PRESENT",a.QUERY_PRESENT="QUERY_PRESENT",a.BODY_PARAM_PRESENT="BODY_PARAM_PRESENT",a.HEAD_REQUEST="HEAD_REQUEST",a))($n||{}),qA=P({strategy:Z($n),paramName:S(y())}),Bn=(r=>(r.SIMULATION="SIMULATION",r.TEST_FUNCTION="TEST_FUNCTION",r))(Bn||{});var Xi=(r=>(r.WEBSOCKET="WEBSOCKET",r.NONE="NONE",r))(Xi||{}),Oy=P({status:S(ke()),body:S(W()),headers:S(K(y(),y()))}),Ny=P({type:q("DELAY"),resumeDateTime:y(),requestIdToReply:S(y()),handlerId:S(y()),streamStepProgress:S(Z(Xi))}),wy=P({type:q("WEBHOOK"),requestId:y(),requestIdToReply:S(y()),response:Oy,handlerId:S(y()),streamStepProgress:S(Z(Xi))}),ZA=Y([Ny,wy]);var VA=P({body:W(),rawBody:S(W()),headers:K(y(),y()),queryParams:K(y(),y())});function De(e){return e==null}s(De,"isNil");function Mn(e){return e==null?!0:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:!1}s(Mn,"isEmpty");var z=s((e,t)=>De(t)?{}:{[e]:t},"spreadIfDefined");function Yi(e,t){if(e==null)throw new Error(`${t} is null or undefined`)}s(Yi,"assertNotNullOrUndefined");async function ud(e){try{return{data:await e(),error:null}}catch(t){return{data:null,error:t}}}s(ud,"tryCatch");function dd(e){try{return{data:e(),error:null}}catch(t){return{data:null,error:t}}}s(dd,"tryCatchSync");var md=oo(require("crypto"),1);var HA=128,At,So,GA=s(e=>{if(e<0)throw new RangeError("Wrong ID size");try{!At||At.length<e?(At=Buffer.allocUnsafe(e*HA),md.default.randomFillSync(At),So=0):So+e>At.length&&(md.default.randomFillSync(At),So=0)}catch(t){throw At=void 0,t}So+=e},"fillPool"),WA=s(e=>(GA(e|=0),At.subarray(So-e,So)),"random"),KA=s((e,t,r)=>{let n=(2<<31-Math.clz32(e.length-1|1))-1,o=Math.ceil(1.6*n*t/e.length);return(a=t)=>{if(a<=0)return"";let i="";for(;;){let l=r(o),d=o;for(;d--;)if(i+=e[l[d]&n]||"",i.length===a)return i}}},"customRandom"),Ry=s((e,t=21)=>KA(e,t,WA),"customAlphabet");var JA="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",$y=21,N$=y().check(Pe(new RegExp(`^[0-9a-zA-Z]{${$y}}$`))),XA=Ry(JA,$y);var St=xt(zt(e=>e instanceof Date?e.toISOString():e),y()),je={id:y(),created:St,updated:St},me=s(e=>S(Sn(e)),"Nullable");function pd(e){return S(Sn(Z(e)))}s(pd,"NullableEnum");var $$=xt(zt(e=>e==="true"||e===!0?!0:e==="false"||e===!1?!1:void 0),S(oe())),B$=S(Wi.datetime({offset:!0}).check(Yu(e=>e.slice(0,4)!=="0000"))),Qi=s(e=>xt(zt(t=>Array.isArray(t)?t:t!==void 0?[t]:void 0),S(V(e))),"OptionalArrayFromQuery");var L$=K(y(),W());var yd=(b=>(b.DUTCH="nl",b.ENGLISH="en",b.GERMAN="de",b.FRENCH="fr",b.SPANISH="es",b.JAPANESE="ja",b.CHINESE_SIMPLIFIED="zh",b.PORTUGUESE="pt",b.ARABIC="ar",b.CHINESE_TRADITIONAL="zh-TW",b))(yd||{});var Tt=(L=>(L.OPENAI="openai",L.OPENROUTER="openrouter",L.ANTHROPIC="anthropic",L.AZURE="azure",L.GOOGLE="google",L.ACTIVEPIECES="activepieces",L.CLOUDFLARE_GATEWAY="cloudflare-gateway",L.CUSTOM="custom",L.BEDROCK="bedrock",L.VERTEX="vertex",L.MISTRAL="mistral",L.XAI="xai",L.DEEPSEEK="deepseek",L.ZAI="zai",L.QWEN="qwen",L.MINIMAX="minimax",L.MOONSHOT="moonshot",L.META="meta",L.NVIDIA="nvidia",L))(Tt||{});var R={};Ue(R,{$brand:()=>Qo,$input:()=>ki,$output:()=>bi,NEVER:()=>ia,TimePrecision:()=>Ii,ZodAny:()=>Md,ZodArray:()=>jd,ZodBase64:()=>ks,ZodBase64URL:()=>vs,ZodBigInt:()=>wo,ZodBigIntFormat:()=>zs,ZodBoolean:()=>No,ZodCIDRv4:()=>gs,ZodCIDRv6:()=>bs,ZodCUID:()=>ds,ZodCUID2:()=>ms,ZodCatch:()=>um,ZodCodec:()=>Os,ZodCustom:()=>Jn,ZodCustomStringFormat:()=>Do,ZodDate:()=>Vn,ZodDefault:()=>nm,ZodDiscriminatedUnion:()=>Zd,ZodE164:()=>Is,ZodEmail:()=>ls,ZodEmoji:()=>cs,ZodEnum:()=>Co,ZodError:()=>YA,ZodExactOptional:()=>tm,ZodFile:()=>Qd,ZodFirstPartyTypeKind:()=>Im,ZodFunction:()=>bm,ZodGUID:()=>Ln,ZodIPv4:()=>hs,ZodIPv6:()=>_s,ZodISODate:()=>os,ZodISODateTime:()=>ts,ZodISODuration:()=>ns,ZodISOTime:()=>rs,ZodIntersection:()=>Vd,ZodIssueCode:()=>eS,ZodJWT:()=>Ps,ZodKSUID:()=>fs,ZodLazy:()=>hm,ZodLiteral:()=>Yd,ZodMAC:()=>Dd,ZodMap:()=>Jd,ZodNaN:()=>mm,ZodNanoID:()=>us,ZodNever:()=>Ld,ZodNonOptional:()=>Es,ZodNull:()=>$d,ZodNullable:()=>rm,ZodNumber:()=>Oo,ZodNumberFormat:()=>Yt,ZodObject:()=>Gn,ZodOptional:()=>Cs,ZodPipe:()=>Ds,ZodPrefault:()=>im,ZodPromise:()=>gm,ZodReadonly:()=>pm,ZodRealError:()=>Oe,ZodRecord:()=>Kn,ZodSet:()=>Xd,ZodString:()=>Eo,ZodStringFormat:()=>le,ZodSuccess:()=>cm,ZodSymbol:()=>wd,ZodTemplateLiteral:()=>fm,ZodTransform:()=>em,ZodTuple:()=>Gd,ZodType:()=>Q,ZodULID:()=>ps,ZodURL:()=>Zn,ZodUUID:()=>Je,ZodUndefined:()=>Rd,ZodUnion:()=>Wn,ZodUnknown:()=>Ud,ZodVoid:()=>Fd,ZodXID:()=>ys,ZodXor:()=>qd,_ZodString:()=>ss,_default:()=>am,_function:()=>Zf,any:()=>If,array:()=>Hn,base64:()=>nf,base64url:()=>af,bigint:()=>_f,boolean:()=>Nd,catch:()=>dm,check:()=>Vf,cidrv4:()=>of,cidrv6:()=>rf,clone:()=>ge,codec:()=>Ff,coerce:()=>Pm,config:()=>de,core:()=>$e,cuid:()=>Wy,cuid2:()=>Ky,custom:()=>Hf,date:()=>zf,decode:()=>zd,decodeAsync:()=>Ad,describe:()=>Gf,discriminatedUnion:()=>Ef,e164:()=>sf,email:()=>My,emoji:()=>Hy,encode:()=>Pd,encodeAsync:()=>xd,endsWith:()=>jt,enum:()=>Ss,exactOptional:()=>om,file:()=>Bf,flattenError:()=>io,float32:()=>pf,float64:()=>yf,formatError:()=>so,fromJSONSchema:()=>eh,function:()=>Zf,getErrorMap:()=>oS,globalRegistry:()=>be,gt:()=>He,gte:()=>he,guid:()=>Uy,hash:()=>mf,hex:()=>df,hostname:()=>uf,httpUrl:()=>Vy,includes:()=>Lt,instanceof:()=>Kf,int:()=>is,int32:()=>ff,int64:()=>gf,intersection:()=>Hd,ipv4:()=>Qy,ipv6:()=>tf,iso:()=>To,json:()=>Xf,jwt:()=>lf,keyof:()=>xf,ksuid:()=>Yy,lazy:()=>_m,length:()=>bt,literal:()=>$f,locales:()=>vo,looseObject:()=>Tf,looseRecord:()=>Of,lowercase:()=>Mt,lt:()=>Ve,lte:()=>Ae,mac:()=>ef,map:()=>Nf,maxLength:()=>gt,maxSize:()=>rt,meta:()=>Wf,mime:()=>qt,minLength:()=>ye,minSize:()=>Ge,multipleOf:()=>ot,nan:()=>Lf,nanoid:()=>Gy,nativeEnum:()=>Rf,negative:()=>bn,never:()=>xs,nonnegative:()=>vn,nonoptional:()=>lm,nonpositive:()=>kn,normalize:()=>Zt,null:()=>Bd,nullable:()=>jn,nullish:()=>Mf,number:()=>Od,object:()=>Af,optional:()=>Fn,overwrite:()=>Fe,parse:()=>bd,parseAsync:()=>kd,partialRecord:()=>Df,pipe:()=>qn,positive:()=>gn,prefault:()=>sm,preprocess:()=>Yf,prettifyError:()=>da,promise:()=>qf,property:()=>In,readonly:()=>ym,record:()=>Kd,refine:()=>km,regex:()=>Pe,regexes:()=>Ee,registry:()=>wr,safeDecode:()=>Td,safeDecodeAsync:()=>Ed,safeEncode:()=>Sd,safeEncodeAsync:()=>Cd,safeParse:()=>vd,safeParseAsync:()=>Id,set:()=>wf,setErrorMap:()=>tS,size:()=>_t,slugify:()=>Po,startsWith:()=>Ft,strictObject:()=>Sf,string:()=>as,stringFormat:()=>cf,stringbool:()=>Jf,success:()=>Uf,superRefine:()=>vm,symbol:()=>kf,templateLiteral:()=>jf,toJSONSchema:()=>xn,toLowerCase:()=>Ht,toUpperCase:()=>Gt,transform:()=>Ts,treeifyError:()=>ua,trim:()=>Vt,tuple:()=>Wd,uint32:()=>hf,uint64:()=>bf,ulid:()=>Jy,undefined:()=>vf,union:()=>As,unknown:()=>Xt,uppercase:()=>Ut,url:()=>Zy,util:()=>$,uuid:()=>Ly,uuidv4:()=>Fy,uuidv6:()=>jy,uuidv7:()=>qy,void:()=>Pf,xid:()=>Xy,xor:()=>Cf});var Un={};Ue(Un,{ZodAny:()=>Md,ZodArray:()=>jd,ZodBase64:()=>ks,ZodBase64URL:()=>vs,ZodBigInt:()=>wo,ZodBigIntFormat:()=>zs,ZodBoolean:()=>No,ZodCIDRv4:()=>gs,ZodCIDRv6:()=>bs,ZodCUID:()=>ds,ZodCUID2:()=>ms,ZodCatch:()=>um,ZodCodec:()=>Os,ZodCustom:()=>Jn,ZodCustomStringFormat:()=>Do,ZodDate:()=>Vn,ZodDefault:()=>nm,ZodDiscriminatedUnion:()=>Zd,ZodE164:()=>Is,ZodEmail:()=>ls,ZodEmoji:()=>cs,ZodEnum:()=>Co,ZodExactOptional:()=>tm,ZodFile:()=>Qd,ZodFunction:()=>bm,ZodGUID:()=>Ln,ZodIPv4:()=>hs,ZodIPv6:()=>_s,ZodIntersection:()=>Vd,ZodJWT:()=>Ps,ZodKSUID:()=>fs,ZodLazy:()=>hm,ZodLiteral:()=>Yd,ZodMAC:()=>Dd,ZodMap:()=>Jd,ZodNaN:()=>mm,ZodNanoID:()=>us,ZodNever:()=>Ld,ZodNonOptional:()=>Es,ZodNull:()=>$d,ZodNullable:()=>rm,ZodNumber:()=>Oo,ZodNumberFormat:()=>Yt,ZodObject:()=>Gn,ZodOptional:()=>Cs,ZodPipe:()=>Ds,ZodPrefault:()=>im,ZodPromise:()=>gm,ZodReadonly:()=>pm,ZodRecord:()=>Kn,ZodSet:()=>Xd,ZodString:()=>Eo,ZodStringFormat:()=>le,ZodSuccess:()=>cm,ZodSymbol:()=>wd,ZodTemplateLiteral:()=>fm,ZodTransform:()=>em,ZodTuple:()=>Gd,ZodType:()=>Q,ZodULID:()=>ps,ZodURL:()=>Zn,ZodUUID:()=>Je,ZodUndefined:()=>Rd,ZodUnion:()=>Wn,ZodUnknown:()=>Ud,ZodVoid:()=>Fd,ZodXID:()=>ys,ZodXor:()=>qd,_ZodString:()=>ss,_default:()=>am,_function:()=>Zf,any:()=>If,array:()=>Hn,base64:()=>nf,base64url:()=>af,bigint:()=>_f,boolean:()=>Nd,catch:()=>dm,check:()=>Vf,cidrv4:()=>of,cidrv6:()=>rf,codec:()=>Ff,cuid:()=>Wy,cuid2:()=>Ky,custom:()=>Hf,date:()=>zf,describe:()=>Gf,discriminatedUnion:()=>Ef,e164:()=>sf,email:()=>My,emoji:()=>Hy,enum:()=>Ss,exactOptional:()=>om,file:()=>Bf,float32:()=>pf,float64:()=>yf,function:()=>Zf,guid:()=>Uy,hash:()=>mf,hex:()=>df,hostname:()=>uf,httpUrl:()=>Vy,instanceof:()=>Kf,int:()=>is,int32:()=>ff,int64:()=>gf,intersection:()=>Hd,ipv4:()=>Qy,ipv6:()=>tf,json:()=>Xf,jwt:()=>lf,keyof:()=>xf,ksuid:()=>Yy,lazy:()=>_m,literal:()=>$f,looseObject:()=>Tf,looseRecord:()=>Of,mac:()=>ef,map:()=>Nf,meta:()=>Wf,nan:()=>Lf,nanoid:()=>Gy,nativeEnum:()=>Rf,never:()=>xs,nonoptional:()=>lm,null:()=>Bd,nullable:()=>jn,nullish:()=>Mf,number:()=>Od,object:()=>Af,optional:()=>Fn,partialRecord:()=>Df,pipe:()=>qn,prefault:()=>sm,preprocess:()=>Yf,promise:()=>qf,readonly:()=>ym,record:()=>Kd,refine:()=>km,set:()=>wf,strictObject:()=>Sf,string:()=>as,stringFormat:()=>cf,stringbool:()=>Jf,success:()=>Uf,superRefine:()=>vm,symbol:()=>kf,templateLiteral:()=>jf,transform:()=>Ts,tuple:()=>Wd,uint32:()=>hf,uint64:()=>bf,ulid:()=>Jy,undefined:()=>vf,union:()=>As,unknown:()=>Xt,url:()=>Zy,uuid:()=>Ly,uuidv4:()=>Fy,uuidv6:()=>jy,uuidv7:()=>qy,void:()=>Pf,xid:()=>Xy,xor:()=>Cf});var es={};Ue(es,{endsWith:()=>jt,gt:()=>He,gte:()=>he,includes:()=>Lt,length:()=>bt,lowercase:()=>Mt,lt:()=>Ve,lte:()=>Ae,maxLength:()=>gt,maxSize:()=>rt,mime:()=>qt,minLength:()=>ye,minSize:()=>Ge,multipleOf:()=>ot,negative:()=>bn,nonnegative:()=>vn,nonpositive:()=>kn,normalize:()=>Zt,overwrite:()=>Fe,positive:()=>gn,property:()=>In,regex:()=>Pe,size:()=>_t,slugify:()=>Po,startsWith:()=>Ft,toLowerCase:()=>Ht,toUpperCase:()=>Gt,trim:()=>Vt,uppercase:()=>Ut});var To={};Ue(To,{ZodISODate:()=>os,ZodISODateTime:()=>ts,ZodISODuration:()=>ns,ZodISOTime:()=>rs,date:()=>hd,datetime:()=>fd,duration:()=>gd,time:()=>_d});var ts=k("ZodISODateTime",(e,t)=>{dr.init(e,t),le.init(e,t)});function fd(e){return rn(ts,e)}s(fd,"datetime");var os=k("ZodISODate",(e,t)=>{mr.init(e,t),le.init(e,t)});function hd(e){return nn(os,e)}s(hd,"date");var rs=k("ZodISOTime",(e,t)=>{pr.init(e,t),le.init(e,t)});function _d(e){return an(rs,e)}s(_d,"time");var ns=k("ZodISODuration",(e,t)=>{yr.init(e,t),le.init(e,t)});function gd(e){return sn(ns,e)}s(gd,"duration");var By=s((e,t)=>{ir.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:s(r=>so(e,r),"value")},flatten:{value:s(r=>io(e,r),"value")},addIssue:{value:s(r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,ro,2)},"value")},addIssues:{value:s(r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,ro,2)},"value")},isEmpty:{get(){return e.issues.length===0}}})},"initializer"),YA=k("ZodError",By),Oe=k("ZodError",By,{Parent:Error});var bd=lo(Oe),kd=co(Oe),vd=uo(Oe),Id=po(Oe),Pd=ma(Oe),zd=pa(Oe),xd=ya(Oe),Ad=fa(Oe),Sd=ha(Oe),Td=_a(Oe),Cd=ga(Oe),Ed=ba(Oe);var Q=k("ZodType",(e,t)=>(H.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:zo(e,"input"),output:zo(e,"output")}}),e.toJSONSchema=pu(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone($.mergeDefs(t,{checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0}),e.with=e.check,e.clone=(r,n)=>ge(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.parse=(r,n)=>bd(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>vd(e,r,n),e.parseAsync=async(r,n)=>kd(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>Id(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>Pd(e,r,n),e.decode=(r,n)=>zd(e,r,n),e.encodeAsync=async(r,n)=>xd(e,r,n),e.decodeAsync=async(r,n)=>Ad(e,r,n),e.safeEncode=(r,n)=>Sd(e,r,n),e.safeDecode=(r,n)=>Td(e,r,n),e.safeEncodeAsync=async(r,n)=>Cd(e,r,n),e.safeDecodeAsync=async(r,n)=>Ed(e,r,n),e.refine=(r,n)=>e.check(km(r,n)),e.superRefine=r=>e.check(vm(r)),e.overwrite=r=>e.check(Fe(r)),e.optional=()=>Fn(e),e.exactOptional=()=>om(e),e.nullable=()=>jn(e),e.nullish=()=>Fn(jn(e)),e.nonoptional=r=>lm(e,r),e.array=()=>Hn(e),e.or=r=>As([e,r]),e.and=r=>Hd(e,r),e.transform=r=>qn(e,Ts(r)),e.default=r=>am(e,r),e.prefault=r=>sm(e,r),e.catch=r=>dm(e,r),e.pipe=r=>qn(e,r),e.readonly=()=>ym(e),e.describe=r=>{let n=e.clone();return be.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return be.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return be.get(e);let n=e.clone();return be.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=r=>r(e),e)),ss=k("_ZodString",(e,t)=>{tt.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(n,o,a)=>yu(e,n,o,a);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...n)=>e.check(Pe(...n)),e.includes=(...n)=>e.check(Lt(...n)),e.startsWith=(...n)=>e.check(Ft(...n)),e.endsWith=(...n)=>e.check(jt(...n)),e.min=(...n)=>e.check(ye(...n)),e.max=(...n)=>e.check(gt(...n)),e.length=(...n)=>e.check(bt(...n)),e.nonempty=(...n)=>e.check(ye(1,...n)),e.lowercase=n=>e.check(Mt(n)),e.uppercase=n=>e.check(Ut(n)),e.trim=()=>e.check(Vt()),e.normalize=(...n)=>e.check(Zt(...n)),e.toLowerCase=()=>e.check(Ht()),e.toUpperCase=()=>e.check(Gt()),e.slugify=()=>e.check(Po())}),Eo=k("ZodString",(e,t)=>{tt.init(e,t),ss.init(e,t),e.email=r=>e.check(Br(ls,r)),e.url=r=>e.check(Bt(Zn,r)),e.jwt=r=>e.check(on(Ps,r)),e.emoji=r=>e.check(jr(cs,r)),e.guid=r=>e.check(Io(Ln,r)),e.uuid=r=>e.check(Mr(Je,r)),e.uuidv4=r=>e.check(Ur(Je,r)),e.uuidv6=r=>e.check(Lr(Je,r)),e.uuidv7=r=>e.check(Fr(Je,r)),e.nanoid=r=>e.check(qr(us,r)),e.guid=r=>e.check(Io(Ln,r)),e.cuid=r=>e.check(Zr(ds,r)),e.cuid2=r=>e.check(Vr(ms,r)),e.ulid=r=>e.check(Hr(ps,r)),e.base64=r=>e.check(Qr(ks,r)),e.base64url=r=>e.check(en(vs,r)),e.xid=r=>e.check(Gr(ys,r)),e.ksuid=r=>e.check(Wr(fs,r)),e.ipv4=r=>e.check(Kr(hs,r)),e.ipv6=r=>e.check(Jr(_s,r)),e.cidrv4=r=>e.check(Xr(gs,r)),e.cidrv6=r=>e.check(Yr(bs,r)),e.e164=r=>e.check(tn(Is,r)),e.datetime=r=>e.check(fd(r)),e.date=r=>e.check(hd(r)),e.time=r=>e.check(_d(r)),e.duration=r=>e.check(gd(r))});function as(e){return Rr(Eo,e)}s(as,"string");var le=k("ZodStringFormat",(e,t)=>{ne.init(e,t),ss.init(e,t)}),ls=k("ZodEmail",(e,t)=>{Da.init(e,t),le.init(e,t)});function My(e){return Br(ls,e)}s(My,"email");var Ln=k("ZodGUID",(e,t)=>{Ca.init(e,t),le.init(e,t)});function Uy(e){return Io(Ln,e)}s(Uy,"guid");var Je=k("ZodUUID",(e,t)=>{Ea.init(e,t),le.init(e,t)});function Ly(e){return Mr(Je,e)}s(Ly,"uuid");function Fy(e){return Ur(Je,e)}s(Fy,"uuidv4");function jy(e){return Lr(Je,e)}s(jy,"uuidv6");function qy(e){return Fr(Je,e)}s(qy,"uuidv7");var Zn=k("ZodURL",(e,t)=>{ur.init(e,t),le.init(e,t)});function Zy(e){return Bt(Zn,e)}s(Zy,"url");function Vy(e){return Bt(Zn,{protocol:/^https?$/,hostname:Ee.domain,...$.normalizeParams(e)})}s(Vy,"httpUrl");var cs=k("ZodEmoji",(e,t)=>{Oa.init(e,t),le.init(e,t)});function Hy(e){return jr(cs,e)}s(Hy,"emoji");var us=k("ZodNanoID",(e,t)=>{Na.init(e,t),le.init(e,t)});function Gy(e){return qr(us,e)}s(Gy,"nanoid");var ds=k("ZodCUID",(e,t)=>{wa.init(e,t),le.init(e,t)});function Wy(e){return Zr(ds,e)}s(Wy,"cuid");var ms=k("ZodCUID2",(e,t)=>{Ra.init(e,t),le.init(e,t)});function Ky(e){return Vr(ms,e)}s(Ky,"cuid2");var ps=k("ZodULID",(e,t)=>{$a.init(e,t),le.init(e,t)});function Jy(e){return Hr(ps,e)}s(Jy,"ulid");var ys=k("ZodXID",(e,t)=>{Ba.init(e,t),le.init(e,t)});function Xy(e){return Gr(ys,e)}s(Xy,"xid");var fs=k("ZodKSUID",(e,t)=>{Ma.init(e,t),le.init(e,t)});function Yy(e){return Wr(fs,e)}s(Yy,"ksuid");var hs=k("ZodIPv4",(e,t)=>{Ua.init(e,t),le.init(e,t)});function Qy(e){return Kr(hs,e)}s(Qy,"ipv4");var Dd=k("ZodMAC",(e,t)=>{Fa.init(e,t),le.init(e,t)});function ef(e){return vi(Dd,e)}s(ef,"mac");var _s=k("ZodIPv6",(e,t)=>{La.init(e,t),le.init(e,t)});function tf(e){return Jr(_s,e)}s(tf,"ipv6");var gs=k("ZodCIDRv4",(e,t)=>{ja.init(e,t),le.init(e,t)});function of(e){return Xr(gs,e)}s(of,"cidrv4");var bs=k("ZodCIDRv6",(e,t)=>{qa.init(e,t),le.init(e,t)});function rf(e){return Yr(bs,e)}s(rf,"cidrv6");var ks=k("ZodBase64",(e,t)=>{Za.init(e,t),le.init(e,t)});function nf(e){return Qr(ks,e)}s(nf,"base64");var vs=k("ZodBase64URL",(e,t)=>{Va.init(e,t),le.init(e,t)});function af(e){return en(vs,e)}s(af,"base64url");var Is=k("ZodE164",(e,t)=>{Ha.init(e,t),le.init(e,t)});function sf(e){return tn(Is,e)}s(sf,"e164");var Ps=k("ZodJWT",(e,t)=>{Ga.init(e,t),le.init(e,t)});function lf(e){return on(Ps,e)}s(lf,"jwt");var Do=k("ZodCustomStringFormat",(e,t)=>{Wa.init(e,t),le.init(e,t)});function cf(e,t,r={}){return Wt(Do,e,t,r)}s(cf,"stringFormat");function uf(e){return Wt(Do,"hostname",Ee.hostname,e)}s(uf,"hostname");function df(e){return Wt(Do,"hex",Ee.hex,e)}s(df,"hex");function mf(e,t){let r=t?.enc??"hex",n=`${e}_${r}`,o=Ee[n];if(!o)throw new Error(`Unrecognized hash format: ${n}`);return Wt(Do,n,o,t)}s(mf,"hash");var Oo=k("ZodNumber",(e,t)=>{ho.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(n,o,a)=>fu(e,n,o,a),e.gt=(n,o)=>e.check(He(n,o)),e.gte=(n,o)=>e.check(he(n,o)),e.min=(n,o)=>e.check(he(n,o)),e.lt=(n,o)=>e.check(Ve(n,o)),e.lte=(n,o)=>e.check(Ae(n,o)),e.max=(n,o)=>e.check(Ae(n,o)),e.int=n=>e.check(is(n)),e.safe=n=>e.check(is(n)),e.positive=n=>e.check(He(0,n)),e.nonnegative=n=>e.check(he(0,n)),e.negative=n=>e.check(Ve(0,n)),e.nonpositive=n=>e.check(Ae(0,n)),e.multipleOf=(n,o)=>e.check(ot(n,o)),e.step=(n,o)=>e.check(ot(n,o)),e.finite=()=>e;let r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function Od(e){return ln(Oo,e)}s(Od,"number");var Yt=k("ZodNumberFormat",(e,t)=>{fr.init(e,t),Oo.init(e,t)});function is(e){return un(Yt,e)}s(is,"int");function pf(e){return Pi(Yt,e)}s(pf,"float32");function yf(e){return zi(Yt,e)}s(yf,"float64");function ff(e){return xi(Yt,e)}s(ff,"int32");function hf(e){return Ai(Yt,e)}s(hf,"uint32");var No=k("ZodBoolean",(e,t)=>{Rt.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>hu(e,r,n,o)});function Nd(e){return dn(No,e)}s(Nd,"boolean");var wo=k("ZodBigInt",(e,t)=>{_o.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(n,o,a)=>_u(e,n,o,a),e.gte=(n,o)=>e.check(he(n,o)),e.min=(n,o)=>e.check(he(n,o)),e.gt=(n,o)=>e.check(He(n,o)),e.gte=(n,o)=>e.check(he(n,o)),e.min=(n,o)=>e.check(he(n,o)),e.lt=(n,o)=>e.check(Ve(n,o)),e.lte=(n,o)=>e.check(Ae(n,o)),e.max=(n,o)=>e.check(Ae(n,o)),e.positive=n=>e.check(He(BigInt(0),n)),e.negative=n=>e.check(Ve(BigInt(0),n)),e.nonpositive=n=>e.check(Ae(BigInt(0),n)),e.nonnegative=n=>e.check(he(BigInt(0),n)),e.multipleOf=(n,o)=>e.check(ot(n,o));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function _f(e){return Si(wo,e)}s(_f,"bigint");var zs=k("ZodBigIntFormat",(e,t)=>{Ka.init(e,t),wo.init(e,t)});function gf(e){return Ti(zs,e)}s(gf,"int64");function bf(e){return Ci(zs,e)}s(bf,"uint64");var wd=k("ZodSymbol",(e,t)=>{Ja.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>gu(e,r,n,o)});function kf(e){return Ei(wd,e)}s(kf,"symbol");var Rd=k("ZodUndefined",(e,t)=>{Xa.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ku(e,r,n,o)});function vf(e){return Di(Rd,e)}s(vf,"_undefined");var $d=k("ZodNull",(e,t)=>{Ya.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>bu(e,r,n,o)});function Bd(e){return Oi($d,e)}s(Bd,"_null");var Md=k("ZodAny",(e,t)=>{hr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Pu(e,r,n,o)});function If(){return yn(Md)}s(If,"any");var Ud=k("ZodUnknown",(e,t)=>{_r.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>zu(e,r,n,o)});function Xt(){return fn(Ud)}s(Xt,"unknown");var Ld=k("ZodNever",(e,t)=>{Qa.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Iu(e,r,n,o)});function xs(e){return Ni(Ld,e)}s(xs,"never");var Fd=k("ZodVoid",(e,t)=>{gr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>vu(e,r,n,o)});function Pf(e){return hn(Fd,e)}s(Pf,"_void");var Vn=k("ZodDate",(e,t)=>{br.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(n,o,a)=>xu(e,n,o,a),e.min=(n,o)=>e.check(he(n,o)),e.max=(n,o)=>e.check(Ae(n,o));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function zf(e){return wi(Vn,e)}s(zf,"date");var jd=k("ZodArray",(e,t)=>{kr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Bu(e,r,n,o),e.element=t.element,e.min=(r,n)=>e.check(ye(r,n)),e.nonempty=r=>e.check(ye(1,r)),e.max=(r,n)=>e.check(gt(r,n)),e.length=(r,n)=>e.check(bt(r,n)),e.unwrap=()=>e.element});function Hn(e,t){return mu(jd,e,t)}s(Hn,"array");function xf(e){let t=e._zod.def.shape;return Ss(Object.keys(t))}s(xf,"keyof");var Gn=k("ZodObject",(e,t)=>{bc.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Mu(e,r,n,o),$.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>Ss(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Xt()}),e.loose=()=>e.clone({...e._zod.def,catchall:Xt()}),e.strict=()=>e.clone({...e._zod.def,catchall:xs()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>$.extend(e,r),e.safeExtend=r=>$.safeExtend(e,r),e.merge=r=>$.merge(e,r),e.pick=r=>$.pick(e,r),e.omit=r=>$.omit(e,r),e.partial=(...r)=>$.partial(Cs,e,r[0]),e.required=(...r)=>$.required(Es,e,r[0])});function Af(e,t){let r={type:"object",shape:e??{},...$.normalizeParams(t)};return new Gn(r)}s(Af,"object");function Sf(e,t){return new Gn({type:"object",shape:e,catchall:xs(),...$.normalizeParams(t)})}s(Sf,"strictObject");function Tf(e,t){return new Gn({type:"object",shape:e,catchall:Xt(),...$.normalizeParams(t)})}s(Tf,"looseObject");var Wn=k("ZodUnion",(e,t)=>{$t.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ji(e,r,n,o),e.options=t.options});function As(e,t){return new Wn({type:"union",options:e,...$.normalizeParams(t)})}s(As,"union");var qd=k("ZodXor",(e,t)=>{Wn.init(e,t),ti.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ji(e,r,n,o),e.options=t.options});function Cf(e,t){return new qd({type:"union",options:e,inclusive:!1,...$.normalizeParams(t)})}s(Cf,"xor");var Zd=k("ZodDiscriminatedUnion",(e,t)=>{Wn.init(e,t),vr.init(e,t)});function Ef(e,t,r){return new Zd({type:"union",options:t,discriminator:e,...$.normalizeParams(r)})}s(Ef,"discriminatedUnion");var Vd=k("ZodIntersection",(e,t)=>{oi.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Uu(e,r,n,o)});function Hd(e,t){return new Vd({type:"intersection",left:e,right:t})}s(Hd,"intersection");var Gd=k("ZodTuple",(e,t)=>{Ir.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Lu(e,r,n,o),e.rest=r=>e.clone({...e._zod.def,rest:r})});function Wd(e,t,r){let n=t instanceof H,o=n?r:t,a=n?t:null;return new Gd({type:"tuple",items:e,rest:a,...$.normalizeParams(o)})}s(Wd,"tuple");var Kn=k("ZodRecord",(e,t)=>{Pr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Fu(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});function Kd(e,t,r){return new Kn({type:"record",keyType:e,valueType:t,...$.normalizeParams(r)})}s(Kd,"record");function Df(e,t,r){let n=ge(e);return n._zod.values=void 0,new Kn({type:"record",keyType:n,valueType:t,...$.normalizeParams(r)})}s(Df,"partialRecord");function Of(e,t,r){return new Kn({type:"record",keyType:e,valueType:t,mode:"loose",...$.normalizeParams(r)})}s(Of,"looseRecord");var Jd=k("ZodMap",(e,t)=>{ri.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ru(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Ge(...r)),e.nonempty=r=>e.check(Ge(1,r)),e.max=(...r)=>e.check(rt(...r)),e.size=(...r)=>e.check(_t(...r))});function Nf(e,t,r){return new Jd({type:"map",keyType:e,valueType:t,...$.normalizeParams(r)})}s(Nf,"map");var Xd=k("ZodSet",(e,t)=>{ni.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>$u(e,r,n,o),e.min=(...r)=>e.check(Ge(...r)),e.nonempty=r=>e.check(Ge(1,r)),e.max=(...r)=>e.check(rt(...r)),e.size=(...r)=>e.check(_t(...r))});function wf(e,t){return new Xd({type:"set",valueType:e,...$.normalizeParams(t)})}s(wf,"set");var Co=k("ZodEnum",(e,t)=>{zr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Au(e,n,o,a),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{let a={};for(let i of n)if(r.has(i))a[i]=t.entries[i];else throw new Error(`Key ${i} not found in enum`);return new Co({...t,checks:[],...$.normalizeParams(o),entries:a})},e.exclude=(n,o)=>{let a={...t.entries};for(let i of n)if(r.has(i))delete a[i];else throw new Error(`Key ${i} not found in enum`);return new Co({...t,checks:[],...$.normalizeParams(o),entries:a})}});function Ss(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new Co({type:"enum",entries:r,...$.normalizeParams(t)})}s(Ss,"_enum");function Rf(e,t){return new Co({type:"enum",entries:e,...$.normalizeParams(t)})}s(Rf,"nativeEnum");var Yd=k("ZodLiteral",(e,t)=>{xr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Su(e,r,n,o),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function $f(e,t){return new Yd({type:"literal",values:Array.isArray(e)?e:[e],...$.normalizeParams(t)})}s($f,"literal");var Qd=k("ZodFile",(e,t)=>{ai.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Eu(e,r,n,o),e.min=(r,n)=>e.check(Ge(r,n)),e.max=(r,n)=>e.check(rt(r,n)),e.mime=(r,n)=>e.check(qt(Array.isArray(r)?r:[r],n))});function Bf(e){return $i(Qd,e)}s(Bf,"file");var em=k("ZodTransform",(e,t)=>{Ar.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>wu(e,r,n,o),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new mt(e.constructor.name);r.addIssue=a=>{if(typeof a=="string")r.issues.push($.issue(a,r.value,t));else{let i=a;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=r.value),i.inst??(i.inst=e),r.issues.push($.issue(i))}};let o=t.transform(r.value,r);return o instanceof Promise?o.then(a=>(r.value=a,r)):(r.value=o,r)}});function Ts(e){return new em({type:"transform",transform:e})}s(Ts,"transform");var Cs=k("ZodOptional",(e,t)=>{go.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>qi(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function Fn(e){return new Cs({type:"optional",innerType:e})}s(Fn,"optional");var tm=k("ZodExactOptional",(e,t)=>{ii.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>qi(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function om(e){return new tm({type:"optional",innerType:e})}s(om,"exactOptional");var rm=k("ZodNullable",(e,t)=>{Sr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ju(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function jn(e){return new rm({type:"nullable",innerType:e})}s(jn,"nullable");function Mf(e){return Fn(jn(e))}s(Mf,"nullish");var nm=k("ZodDefault",(e,t)=>{si.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Zu(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function am(e,t){return new nm({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():$.shallowClone(t)}})}s(am,"_default");var im=k("ZodPrefault",(e,t)=>{li.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Vu(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function sm(e,t){return new im({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():$.shallowClone(t)}})}s(sm,"prefault");var Es=k("ZodNonOptional",(e,t)=>{ci.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>qu(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function lm(e,t){return new Es({type:"nonoptional",innerType:e,...$.normalizeParams(t)})}s(lm,"nonoptional");var cm=k("ZodSuccess",(e,t)=>{ui.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Du(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function Uf(e){return new cm({type:"success",innerType:e})}s(Uf,"success");var um=k("ZodCatch",(e,t)=>{di.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Hu(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function dm(e,t){return new um({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}s(dm,"_catch");var mm=k("ZodNaN",(e,t)=>{mi.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Tu(e,r,n,o)});function Lf(e){return Ri(mm,e)}s(Lf,"nan");var Ds=k("ZodPipe",(e,t)=>{Tr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Gu(e,r,n,o),e.in=t.in,e.out=t.out});function qn(e,t){return new Ds({type:"pipe",in:e,out:t})}s(qn,"pipe");var Os=k("ZodCodec",(e,t)=>{Ds.init(e,t),bo.init(e,t)});function Ff(e,t,r){return new Os({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}s(Ff,"codec");var pm=k("ZodReadonly",(e,t)=>{pi.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Wu(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function ym(e){return new pm({type:"readonly",innerType:e})}s(ym,"readonly");var fm=k("ZodTemplateLiteral",(e,t)=>{yi.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Cu(e,r,n,o)});function jf(e,t){return new fm({type:"template_literal",parts:e,...$.normalizeParams(t)})}s(jf,"templateLiteral");var hm=k("ZodLazy",(e,t)=>{_i.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ju(e,r,n,o),e.unwrap=()=>e._zod.def.getter()});function _m(e){return new hm({type:"lazy",getter:e})}s(_m,"lazy");var gm=k("ZodPromise",(e,t)=>{hi.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ku(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function qf(e){return new gm({type:"promise",innerType:e})}s(qf,"promise");var bm=k("ZodFunction",(e,t)=>{fi.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Nu(e,r,n,o)});function Zf(e){return new bm({type:"function",input:Array.isArray(e?.input)?Wd(e?.input):e?.input??Hn(Xt()),output:e?.output??Xt()})}s(Zf,"_function");var Jn=k("ZodCustom",(e,t)=>{Cr.init(e,t),Q.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ou(e,r,n,o)});function Vf(e){let t=new se({check:"custom"});return t._zod.check=e,t}s(Vf,"check");function Hf(e,t){return Pn(Jn,e??(()=>!0),t)}s(Hf,"custom");function km(e,t={}){return zn(Jn,e,t)}s(km,"refine");function vm(e){return Bi(e)}s(vm,"superRefine");var Gf=Mi,Wf=Ui;function Kf(e,t={}){let r=new Jn({type:"custom",check:"custom",fn:s(n=>n instanceof e,"fn"),abort:!0,...$.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:r,path:[...r._zod.def.path??[]]})},r}s(Kf,"_instanceof");var Jf=s((...e)=>Li({Codec:Os,Boolean:No,String:Eo},...e),"stringbool");function Xf(e){let t=_m(()=>As([as(e),Od(),Nd(),Bd(),Hn(t),Kd(as(),t)]));return t}s(Xf,"json");function Yf(e,t){return qn(Ts(e),t)}s(Yf,"preprocess");var eS={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function tS(e){de({customError:e})}s(tS,"setErrorMap");function oS(){return de().customError}s(oS,"getErrorMap");var Im;Im||(Im={});var U={...Un,...es,iso:To},rS=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function nS(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}s(nS,"detectVersion");function aS(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let n=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===n){let o=r[1];if(!o||!t.defs[o])throw new Error(`Reference not found: ${e}`);return t.defs[o]}throw new Error(`Reference not found: ${e}`)}s(aS,"resolveRef");function Qf(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return U.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let o=e.$ref;if(t.refs.has(o))return t.refs.get(o);if(t.processing.has(o))return U.lazy(()=>{if(!t.refs.has(o))throw new Error(`Circular reference not resolved: ${o}`);return t.refs.get(o)});t.processing.add(o);let a=aS(o,t),i=xe(a,t);return t.refs.set(o,i),t.processing.delete(o),i}if(e.enum!==void 0){let o=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&o.length===1&&o[0]===null)return U.null();if(o.length===0)return U.never();if(o.length===1)return U.literal(o[0]);if(o.every(i=>typeof i=="string"))return U.enum(o);let a=o.map(i=>U.literal(i));return a.length<2?a[0]:U.union([a[0],a[1],...a.slice(2)])}if(e.const!==void 0)return U.literal(e.const);let r=e.type;if(Array.isArray(r)){let o=r.map(a=>{let i={...e,type:a};return Qf(i,t)});return o.length===0?U.never():o.length===1?o[0]:U.union(o)}if(!r)return U.any();let n;switch(r){case"string":{let o=U.string();if(e.format){let a=e.format;a==="email"?o=o.check(U.email()):a==="uri"||a==="uri-reference"?o=o.check(U.url()):a==="uuid"||a==="guid"?o=o.check(U.uuid()):a==="date-time"?o=o.check(U.iso.datetime()):a==="date"?o=o.check(U.iso.date()):a==="time"?o=o.check(U.iso.time()):a==="duration"?o=o.check(U.iso.duration()):a==="ipv4"?o=o.check(U.ipv4()):a==="ipv6"?o=o.check(U.ipv6()):a==="mac"?o=o.check(U.mac()):a==="cidr"?o=o.check(U.cidrv4()):a==="cidr-v6"?o=o.check(U.cidrv6()):a==="base64"?o=o.check(U.base64()):a==="base64url"?o=o.check(U.base64url()):a==="e164"?o=o.check(U.e164()):a==="jwt"?o=o.check(U.jwt()):a==="emoji"?o=o.check(U.emoji()):a==="nanoid"?o=o.check(U.nanoid()):a==="cuid"?o=o.check(U.cuid()):a==="cuid2"?o=o.check(U.cuid2()):a==="ulid"?o=o.check(U.ulid()):a==="xid"?o=o.check(U.xid()):a==="ksuid"&&(o=o.check(U.ksuid()))}typeof e.minLength=="number"&&(o=o.min(e.minLength)),typeof e.maxLength=="number"&&(o=o.max(e.maxLength)),e.pattern&&(o=o.regex(new RegExp(e.pattern))),n=o;break}case"number":case"integer":{let o=r==="integer"?U.number().int():U.number();typeof e.minimum=="number"&&(o=o.min(e.minimum)),typeof e.maximum=="number"&&(o=o.max(e.maximum)),typeof e.exclusiveMinimum=="number"?o=o.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(o=o.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?o=o.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(o=o.lt(e.maximum)),typeof e.multipleOf=="number"&&(o=o.multipleOf(e.multipleOf)),n=o;break}case"boolean":{n=U.boolean();break}case"null":{n=U.null();break}case"object":{let o={},a=e.properties||{},i=new Set(e.required||[]);for(let[d,m]of Object.entries(a)){let b=xe(m,t);o[d]=i.has(d)?b:b.optional()}if(e.propertyNames){let d=xe(e.propertyNames,t),m=e.additionalProperties&&typeof e.additionalProperties=="object"?xe(e.additionalProperties,t):U.any();if(Object.keys(o).length===0){n=U.record(d,m);break}let b=U.object(o).passthrough(),x=U.looseRecord(d,m);n=U.intersection(b,x);break}if(e.patternProperties){let d=e.patternProperties,m=Object.keys(d),b=[];for(let I of m){let p=xe(d[I],t),v=U.string().regex(new RegExp(I));b.push(U.looseRecord(v,p))}let x=[];if(Object.keys(o).length>0&&x.push(U.object(o).passthrough()),x.push(...b),x.length===0)n=U.object({}).passthrough();else if(x.length===1)n=x[0];else{let I=U.intersection(x[0],x[1]);for(let p=2;p<x.length;p++)I=U.intersection(I,x[p]);n=I}break}let l=U.object(o);e.additionalProperties===!1?n=l.strict():typeof e.additionalProperties=="object"?n=l.catchall(xe(e.additionalProperties,t)):n=l.passthrough();break}case"array":{let o=e.prefixItems,a=e.items;if(o&&Array.isArray(o)){let i=o.map(d=>xe(d,t)),l=a&&typeof a=="object"&&!Array.isArray(a)?xe(a,t):void 0;l?n=U.tuple(i).rest(l):n=U.tuple(i),typeof e.minItems=="number"&&(n=n.check(U.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(U.maxLength(e.maxItems)))}else if(Array.isArray(a)){let i=a.map(d=>xe(d,t)),l=e.additionalItems&&typeof e.additionalItems=="object"?xe(e.additionalItems,t):void 0;l?n=U.tuple(i).rest(l):n=U.tuple(i),typeof e.minItems=="number"&&(n=n.check(U.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(U.maxLength(e.maxItems)))}else if(a!==void 0){let i=xe(a,t),l=U.array(i);typeof e.minItems=="number"&&(l=l.min(e.minItems)),typeof e.maxItems=="number"&&(l=l.max(e.maxItems)),n=l}else n=U.array(U.any());break}default:throw new Error(`Unsupported type: ${r}`)}return e.description&&(n=n.describe(e.description)),e.default!==void 0&&(n=n.default(e.default)),n}s(Qf,"convertBaseSchema");function xe(e,t){if(typeof e=="boolean")return e?U.any():U.never();let r=Qf(e,t),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let l=e.anyOf.map(m=>xe(m,t)),d=U.union(l);r=n?U.intersection(r,d):d}if(e.oneOf&&Array.isArray(e.oneOf)){let l=e.oneOf.map(m=>xe(m,t)),d=U.xor(l);r=n?U.intersection(r,d):d}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=n?r:U.any();else{let l=n?r:xe(e.allOf[0],t),d=n?0:1;for(let m=d;m<e.allOf.length;m++)l=U.intersection(l,xe(e.allOf[m],t));r=l}e.nullable===!0&&t.version==="openapi-3.0"&&(r=U.nullable(r)),e.readOnly===!0&&(r=U.readonly(r));let o={},a=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let l of a)l in e&&(o[l]=e[l]);let i=["contentEncoding","contentMediaType","contentSchema"];for(let l of i)l in e&&(o[l]=e[l]);for(let l of Object.keys(e))rS.has(l)||(o[l]=e[l]);return Object.keys(o).length>0&&t.registry.add(r,o),r}s(xe,"convertSchema");function eh(e,t){if(typeof e=="boolean")return e?U.any():U.never();let r=nS(e,t?.defaultTarget),n=e.$defs||e.definitions||{},o={version:r,defs:n,refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??be};return xe(e,o)}s(eh,"fromJSONSchema");var Pm={};Ue(Pm,{bigint:()=>cS,boolean:()=>lS,date:()=>uS,number:()=>sS,string:()=>iS});function iS(e){return $r(Eo,e)}s(iS,"string");function sS(e){return cn(Oo,e)}s(sS,"number");function lS(e){return mn(No,e)}s(lS,"boolean");function cS(e){return pn(wo,e)}s(cS,"bigint");function uS(e){return _n(Vn,e)}s(uS,"date");de(Er());var th=(l=>(l.FLOW_STEP="FLOW_STEP",l.FLOW_AGENT_STEP="FLOW_AGENT_STEP",l.AGENT="AGENT",l.AGENT_BUILDER="AGENT_BUILDER",l.CHAT="CHAT",l.ACTION_RUN="ACTION_RUN",l.KNOWLEDGE_BASE="KNOWLEDGE_BASE",l))(th||{}),oh=(r=>(r.PRODUCTION="PRODUCTION",r.TESTING="TESTING",r))(oh||{}),xB=R.object({origin:R.enum(th),environment:R.enum(oh),agentId:R.string().optional(),flowId:R.string().optional(),flowRunId:R.string().optional(),userId:R.string().optional()});var zm={required:"required",invalidGitRepoSlug:"invalidGitRepoSlug",invalidGitRepoBranch:"invalidGitRepoBranch",invalidGitRepoRemoteUrl:"invalidGitRepoRemoteUrl",invalidExternalId:"invalidExternalId",invalidFileName:"invalidFileName",messageRequiresContentOrFiles:"messageRequiresContentOrFiles",agentConfigTooLarge:"agentConfigTooLarge",invalidGcpResourceId:"invalidGcpResourceId",duplicateRouteName:"duplicateRouteName",atLeastOne:"atLeastOne",wholeNumber:"wholeNumber",atMostTenThousand:"atMostTenThousand",tierNameTooLong:"tierNameTooLong",tierDescriptionTooLong:"tierDescriptionTooLong",invalidEmoji:"invalidEmoji",tierTooManyModels:"tierTooManyModels",tierDuplicateModel:"tierDuplicateModel",tierThinkingBudgetInvalid:"tierThinkingBudgetInvalid",invalidHeaderName:"invalidHeaderName",reservedHeaderName:"reservedHeaderName",duplicateHeaderName:"duplicateHeaderName",invalidHeaderValue:"invalidHeaderValue",invalidDomain:"invalidDomain",duplicateDomain:"duplicateDomain"};var rh=(r=>(r.IMAGE="image",r.TEXT="text",r))(rh||{}),ze=R.object({apiKey:R.string()}),nh=R.object({serviceAccountJson:R.string().min(1)}),ah=ze,ih=ze.extend({apiKeyHash:R.string()}),sh=ze,lh=ze,ch=ze,uh=ze,dh=ze,mh=ze,ph=R.object({accessKeyId:R.string().min(1),secretAccessKey:R.string().min(1),sessionToken:R.string().optional()}),yh=ze,fh=R.object({}),hh=R.object({}),xm=R.object({modelId:R.string(),modelName:R.string(),modelType:R.enum(rh)}),_h=R.object({apiKeyHeader:R.string(),baseUrl:R.string(),models:R.array(xm),defaultHeaders:R.record(R.string(),R.string()).optional(),apiStyle:R.enum(["chat","responses"]).optional()}),gh=R.object({accountId:R.string(),gatewayId:R.string(),models:R.array(xm),vertexProject:R.string().optional(),vertexRegion:R.string().optional()}),bh=R.object({resourceName:R.string(),apiVersion:R.string().optional().transform(e=>e?.trim().length===0?void 0:e)}),kh=R.object({}),vh=R.object({}),Ih=R.object({}),Ph=R.object({region:R.string().min(1)}),zh=R.object({project:R.string().regex(/^[a-z0-9][a-z0-9-]{0,62}$/,zm.invalidGcpResourceId),region:R.string().regex(/^[a-z0-9][a-z0-9-]{0,62}$/,zm.invalidGcpResourceId),models:R.array(xm)}),xh=R.object({}),lt=R.object({}),NB=R.union([ah,ch,uh,dh,mh,lh,sh,ih,ph,nh,yh]),wB=R.union([_h,gh,bh,zh,Ph,fh,kh,vh,Ih,hh,xh,lt]),RB=R.discriminatedUnion("provider",[R.object({provider:R.literal("openai"),config:vh.partial(),auth:dh.partial()}),R.object({provider:R.literal("openrouter"),config:Ih.partial(),auth:mh.partial()}),R.object({provider:R.literal("anthropic"),config:fh.partial(),auth:ah.partial()}),R.object({provider:R.literal("azure"),config:bh.partial(),auth:ch.partial()}),R.object({provider:R.literal("google"),config:kh.partial(),auth:uh.partial()}),R.object({provider:R.literal("cloudflare-gateway"),config:gh.partial(),auth:lh.partial()}),R.object({provider:R.literal("custom"),config:_h.partial(),auth:sh.partial()}),R.object({provider:R.literal("activepieces"),config:hh.partial(),auth:ih.partial()}),R.object({provider:R.literal("bedrock"),config:Ph.partial(),auth:ph.partial()}),R.object({provider:R.literal("vertex"),config:zh.partial(),auth:nh.partial()}),R.object({provider:R.literal("mistral"),config:xh.partial(),auth:yh.partial()}),R.object({provider:R.literal("xai"),config:lt.partial(),auth:ze.partial()}),R.object({provider:R.literal("deepseek"),config:lt.partial(),auth:ze.partial()}),R.object({provider:R.literal("zai"),config:lt.partial(),auth:ze.partial()}),R.object({provider:R.literal("qwen"),config:lt.partial(),auth:ze.partial()}),R.object({provider:R.literal("minimax"),config:lt.partial(),auth:ze.partial()}),R.object({provider:R.literal("moonshot"),config:lt.partial(),auth:ze.partial()}),R.object({provider:R.literal("meta"),config:lt.partial(),auth:ze.partial()}),R.object({provider:R.literal("nvidia"),config:lt.partial(),auth:ze.partial()})]);var VB=y().check(Pe(/^#[0-9A-Fa-f]{6}$/));var GB=P({filename:y(),data:W(),type:q("file"),mimetype:S(y())});var dS=oo(Sh());var eM=P({...je,name:y(),permissions:V(y()),platformId:me(y()),type:y(),userCount:S(ke())});var uM=R.enum(["active","out_of_credits","rejected","unreachable"]);var Th=(n=>(n.AGENT_DECIDE="agent-decide",n.CHOOSE_YOURSELF="choose-yourself",n.LEAVE_EMPTY="leave-empty",n))(Th||{}),Am=(r=>(r.FILE="FILE",r.TABLE="TABLE",r))(Am||{}),Sm=(n=>(n.SSE="sse",n.STREAMABLE_HTTP="streamable-http",n.SIMPLE_HTTP="http",n))(Sm||{});var Tm=(n=>(n.TEXT="text",n.NUMBER="number",n.BOOLEAN="boolean",n))(Tm||{});var Cm=(r=>(r.IN_PROGRESS="in-progress",r.COMPLETED="completed",r))(Cm||{});var mS=P({mode:Z(Th),value:W()}),pS=P({auth:S(y()),fields:K(y(),mS)}),yS=P({pieceName:y(),pieceVersion:y(),actionName:y(),predefinedInput:S(pS)}),fS=P({type:q("PIECE"),toolName:y().check(ye(1)),pieceMetadata:yS}),hS=P({type:q("none")}),_S=P({type:q("access_token"),accessToken:y()}),gS=P({type:q("api_key"),apiKey:y(),apiKeyHeader:y()}),bS=P({type:q("headers"),headers:K(y(),y())}),kS=Pt("type",[hS,_S,gS,bS]),Ch=P({type:q("FLOW"),toolName:y().check(ye(1)),externalFlowId:y(),flowDisplayName:S(y())}),Eh=P({type:q("MCP"),toolName:y().check(ye(1)),serverUrl:ky(),protocol:Z(Sm),auth:kS}),Dh=P({type:q("KNOWLEDGE_BASE"),toolName:y().check(ye(1)),sourceType:Z(Am),sourceId:y(),sourceName:y()}),vS=Pt("type",[fS,Ch,Eh,Dh]),IS=P({displayName:y(),description:S(y()),type:Z(Tm)}),Oh=P({type:q("MARKDOWN"),markdown:y()}),Ro={type:q("TOOL_CALL"),input:me(K(y(),W())),output:S(W()),toolName:y(),status:Z(Cm),toolCallId:y(),startTime:y(),endTime:S(y())},eU=P(Ro),Nh=Pt("toolCallType",[P({...Ro,toolCallType:q("PIECE"),pieceName:y(),pieceVersion:y(),actionName:y()}),P({...Ro,toolCallType:q("FLOW"),displayName:y(),externalFlowId:y()}),P({...Ro,toolCallType:q("MCP"),displayName:y(),serverUrl:y()}),P({...Ro,toolCallType:q("KNOWLEDGE_BASE"),displayName:y(),sourceType:y()}),P({...Ro,toolCallType:q("UNKNOWN"),displayName:y()})]),PS=Y([Oh,Nh]);var zS=10800*1e3,xS=900*1e3;var Nm=(r=>(r.IMAGE="image",r.TEXT="text",r))(Nm||{}),ct=P({apiKey:y()}),SS=ct,TS=P({apiKey:y(),apiKeyHash:y()}),CS=ct,ES=ct,DS=ct,OS=ct,NS=ct,wS=ct,RS=ct,$h=P({serviceAccountJson:y().check(ye(1))}),Bh=P({accessKeyId:y().check(ye(1)),secretAccessKey:y().check(ye(1)),sessionToken:S(y())}),$S=P({}),BS=P({}),MS=P({}),US=P({}),LS=P({}),FS=P({}),wm=P({modelId:y(),modelName:y(),modelType:Z(Nm)}),Mh=P({apiKeyHeader:y(),baseUrl:y(),models:V(wm),defaultHeaders:S(K(y(),y())),apiStyle:S(Z(["chat","responses"]))}),Uh=P({accountId:y(),gatewayId:y(),models:V(wm),vertexProject:S(y()),vertexRegion:S(y())}),Lh=P({resourceName:y(),apiVersion:xt(zt(e=>typeof e=="string"&&e.trim().length===0?void 0:e),S(y()))}),Fh=P({region:y().check(ye(1))}),jh=P({project:y().check(Pe(/^[a-z0-9][a-z0-9-]{0,62}$/)),region:y().check(Pe(/^[a-z0-9][a-z0-9-]{0,62}$/)),models:V(wm)}),qh=P({}),jS=Y([SS,DS,OS,NS,wS,ES,CS,TS,Bh,$h,RS]),Zh=Y([Mh,Uh,Lh,jh,Fh,$S,MS,US,LS,BS,FS,qh]),qS=P({id:y(),name:y(),type:Z(Nm)}),ZS=P({id:y(),name:y(),provider:Z(Tt),config:Zh,enabledForChat:oe()}),VS=P({provider:Z(Tt),name:y(),enabledForChat:oe(),keys:V(P({id:y(),name:y()}))}),HS=P({provider:Z(Tt),configId:y(),config:Zh,auth:jS,platformId:y()});var nU={openai:"openai",anthropic:"anthropic","google-ai-studio":"google","google-vertex-ai":"google"},wh=["gpt-5.5","gpt-5.6-sol","gpt-5.6-terra","gpt-5.6-luna","gpt-5.4-mini","gpt-5.4-nano","gpt-4.1","gpt-4.1-mini"],GS=["claude-sonnet-5-5","claude-opus-5-5","claude-haiku-5-5"],WS=["claude-sonnet-4-6","claude-opus-4-7","claude-haiku-4-5"],Vh=["claude-sonnet-4.6","claude-opus-4.7","claude-opus-4.8","claude-haiku-4.5"],Em=["gemini-3.7-flash","gemini-3.1-pro-preview","gemini-3-flash-preview"],Om=["gemini-2.5-pro","gemini-2.5-flash"],KS=["grok-4.20"],aU={anthropic:WS,google:Om,vertex:Om},iU=[...Vh.map(e=>`anthropic/${e}`),"deepseek/deepseek-v4.1-flash"],JS={openai:wh,anthropic:GS,google:Em,vertex:Em,activepieces:[...Vh.map(e=>`anthropic/${e}`),...wh.map(e=>`openai/${e}`),...[...Em,...Om].map(e=>`google/${e}`),...KS.map(e=>`x-ai/${e}`)]};var Rh=128e3,XS={openai:128e3,anthropic:2e5,google:1048576,bedrock:2e5,vertex:1048576,azure:128e3,openrouter:128e3,activepieces:2e5,mistral:128e3,meta:1048576};function YS({provider:e}){return e?XS[e]??Rh:Rh}s(YS,"getMaxContextTokens");var Dm={openai:["text-embedding-3-small","text-embedding-3-large"],google:["text-embedding-004","gemini-embedding-001"],azure:["text-embedding-3-small","text-embedding-3-large"],activepieces:["text-embedding-3-small"],openrouter:["openai/text-embedding-3-small","openai/text-embedding-3-large"]},QS={anthropic:"native",google:"native",openrouter:"plugin",activepieces:"plugin"},eT=new Set(["anthropic","mistral","xai","deepseek","zai","qwen","minimax","moonshot","meta","nvidia"]),tT={xai:"https://api.x.ai/v1",deepseek:"https://api.deepseek.com/v1",zai:"https://api.z.ai/api/paas/v4",qwen:"https://dashscope-intl.aliyuncs.com/compatible-mode/v1",minimax:"https://api.minimax.io/v1",moonshot:"https://api.moonshot.ai/v1",meta:"https://api.meta.ai/v1",nvidia:"https://integrate.api.nvidia.com/v1"};function _e(e){return{chatModels:JS[e],maxContextTokens:YS({provider:e}),embeddingModels:Dm[e]??[],defaultEmbeddingModel:Dm[e]?.[0],supportsEmbedding:(Dm[e]??[]).length>0,supportsImageGeneration:!eT.has(e),defaultImageModel:oT[e],webSearch:QS[e]}}s(_e,"buildProviderCapabilities");var Hh=[{id:"fast",label:"Fast",modelId:"google/gemini-3.1-flash-lite-image"},{id:"smart",label:"Expert",modelId:"google/gemini-3.1-flash-image"},{id:"premium",label:"Heavy",modelId:"google/gemini-3-pro-image"}],oT={activepieces:Hh[0].modelId,openrouter:"google/gemini-3.1-flash-lite-image",openai:"gpt-image-1.5",google:"gemini-3.1-flash-image"},rT={openai:_e("openai"),anthropic:_e("anthropic"),openrouter:_e("openrouter"),azure:_e("azure"),google:_e("google"),"cloudflare-gateway":_e("cloudflare-gateway"),custom:_e("custom"),bedrock:_e("bedrock"),vertex:_e("vertex"),mistral:_e("mistral"),activepieces:_e("activepieces"),xai:_e("xai"),deepseek:_e("deepseek"),zai:_e("zai"),qwen:_e("qwen"),minimax:_e("minimax"),moonshot:_e("moonshot"),meta:_e("meta"),nvidia:_e("nvidia")};var nT=P({base64Url:y(),fileName:y(),extension:S(y())}),aT=P({mimeType:y(),url:y(),fileName:S(y())}),Rm=Y([nT,aT]);var iT=Y([P({type:q("file"),value:Rm}),P({type:q("markdown"),value:y(),files:S(V(Rm))})]),sT=P({sessionId:y(),message:y(),files:S(V(y()))});var Wh=(r=>(r.ON_NEW_RECORD="ON_NEW_RECORD",r.ON_UPDATE_RECORD="ON_UPDATE_RECORD",r))(Wh||{}),Kh=(r=>(r.ENABLED="ENABLED",r.DISABLED="DISABLED",r))(Kh||{}),$m=(n=>(n.RECORD_CREATED="RECORD_CREATED",n.RECORD_UPDATED="RECORD_UPDATED",n.RECORD_DELETED="RECORD_DELETED",n))($m||{});var lT=Y([P({...je,name:y(),externalId:y(),type:q("STATIC_DROPDOWN"),tableId:y(),projectId:y(),data:P({options:V(P({value:y()}))})}),P({...je,name:y(),externalId:y(),type:Y([q("TEXT"),q("NUMBER"),q("DATE"),q("DATETIME")]),tableId:y(),projectId:y()})]),cT=P({...je,name:y(),folderId:me(y()),projectId:y(),externalId:y(),status:pd(Kh),trigger:pd(Wh)}),uT=P({...je,tableId:y(),projectId:y(),cells:K(y(),P({updated:y(),created:y(),value:W(),fieldName:y()}))}),dT=P({events:V(Z($m)),webhookUrl:y(),flowId:y()}),mT=P({fields:V(P({id:y(),name:y()})),rows:V(K(y(),y())),name:y()}),pT=P({projectId:y(),limit:S(Tn.number()),cursor:S(y()),name:S(y()),externalIds:Qi(y()),folderId:S(y()),folderIds:Qi(y())}),yT=P({records:V(V(P({fieldId:y(),value:Xh()}))),tableId:y()}),fT=P({cells:S(V(P({fieldId:y(),value:Xh()}))),tableId:y(),agentUpdate:S(oe())}),Jh=Pt("operator",[Qt("eq"),Qt("neq"),Qt("gt"),Qt("gte"),Qt("lt"),Qt("lte"),Qt("co"),Gh("exists"),Gh("not_exists")]),hT=P({tableId:y(),limit:S(Tn.number()),cursor:S(y()),filters:Qi(Jh)});function Xh(){return xt(zt(e=>e==null?e:String(e)),Sn(y()))}s(Xh,"coerceToString");function Qt(e){return P({fieldId:y(),operator:q(e),value:y()})}s(Qt,"valueFilter");function Gh(e){return P({fieldId:y(),operator:q(e)})}s(Gh,"existenceFilter");var _T=P({status:S(ke()),body:S(W()),headers:S(K(y(),y()))}),gT=P({...je,deleted:me(St),ownerId:y(),displayName:y(),platformId:y(),externalId:me(y())});var Yh=P({name:y(),description:S(y()),type:y(),required:oe()}),bT=P({pieceName:y(),triggerName:y(),input:P({toolName:y(),toolDescription:y(),inputSchema:V(Yh),returnsResponse:oe()})});var Qh="^[0-9]+\\.[0-9]+\\.[0-9]+$",xU=new RegExp(Qh),vT="^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$",AU=y().check(Pe(new RegExp(Qh))),SU=y().check(Pe(new RegExp(vT))),IT=P({packageType:q("ARCHIVE"),pieceType:Z(Ao),pieceName:y(),pieceVersion:y(),archiveId:y(),platformId:y()}),e_=P({packageType:q("REGISTRY"),pieceType:q("OFFICIAL"),pieceName:y(),pieceVersion:y()}),t_=P({packageType:q("REGISTRY"),pieceType:q("CUSTOM"),pieceName:y(),pieceVersion:y(),platformId:y()}),TU=Y([e_,t_]),CU=Y([IT,e_,t_]);var PT=Pt("type",[P({type:q("CRON_EXPRESSION"),cronExpression:y(),timezone:y()}),P({type:q("INTERVAL"),intervalMs:vy().check(he(6e4))})]),EU=P({...je,type:Z(Jt),projectId:y(),flowId:y(),triggerName:y(),schedule:me(PT),flowVersionId:y(),pieceName:y(),pieceVersion:y(),deleted:me(y()),simulate:oe()}),o_=(O=>(O.UNKNOWN="UNKNOWN",O.FLOW_RUN_LOG="FLOW_RUN_LOG",O.FLOW_RUN_LOG_SLICE="FLOW_RUN_LOG_SLICE",O.PACKAGE_ARCHIVE="PACKAGE_ARCHIVE",O.FLOW_STEP_FILE="FLOW_STEP_FILE",O.SAMPLE_DATA="SAMPLE_DATA",O.TRIGGER_PAYLOAD="TRIGGER_PAYLOAD",O.SAMPLE_DATA_INPUT="SAMPLE_DATA_INPUT",O.TRIGGER_EVENT_FILE="TRIGGER_EVENT_FILE",O.PROJECT_RELEASE="PROJECT_RELEASE",O.FLOW_VERSION_BACKUP="FLOW_VERSION_BACKUP",O.PLATFORM_ASSET="PLATFORM_ASSET",O.USER_PROFILE_PICTURE="USER_PROFILE_PICTURE",O.WEBHOOK_PAYLOAD="WEBHOOK_PAYLOAD",O.MCP_CALL_PAYLOAD="MCP_CALL_PAYLOAD",O.KNOWLEDGE_BASE="KNOWLEDGE_BASE",O.FLOW_BUNDLE="FLOW_BUNDLE",O.PREWARM_SCOPE="PREWARM_SCOPE",O))(o_||{}),r_=(r=>(r.NONE="NONE",r.ZSTD="ZSTD",r))(r_||{}),n_=(r=>(r.S3="S3",r.DB="DB",r))(n_||{}),DU=P({...je,projectId:me(y()),platformId:me(y()),type:Z(o_),compression:Z(r_),data:S(W()),location:Z(n_),size:me(ke()),fileName:me(y()),s3Key:me(y()),metadata:me(K(y(),y()))}),a_=(n=>(n.ADMIN="ADMIN",n.MEMBER="MEMBER",n.OPERATOR="OPERATOR",n))(a_||{}),i_=(r=>(r.ACTIVE="ACTIVE",r.INACTIVE="INACTIVE",r))(i_||{}),OU=P({id:y(),email:y(),firstName:y(),status:Z(i_),externalId:me(y()),platformId:me(y()),platformRole:Z(a_),lastName:y(),created:St,updated:St,lastActiveDate:me(St),imageUrl:me(y())});var Bm=P({...te.shape,...J(K(y(),W()),"OBJECT").shape});var Mm=P({...te.shape,formatProperty:S(y()),...J(y(),"RICH_TEXT").shape});var d_=P({...te.shape,...J(y(),"COLOR").shape});var Um=Y([Be,nt,Mm,Ji,it,Me,at,ad,Cn,sd,st,On,Bm,Nn,Dn,id,En,d_]),c={ShortText(e){return{...e,valueSchema:void 0,type:"SHORT_TEXT"}},Checkbox(e){return{...e,valueSchema:void 0,type:"CHECKBOX"}},LongText(e){return{...e,valueSchema:void 0,type:"LONG_TEXT"}},RichText(e){return{...e,valueSchema:void 0,type:"RICH_TEXT"}},MarkDown(e){return{displayName:"Markdown",required:!1,description:e.value,type:"MARKDOWN",valueSchema:void 0,variant:e.variant??"INFO"}},Number(e){return{...e,valueSchema:void 0,type:"NUMBER"}},Json(e){return{...e,valueSchema:void 0,type:"JSON"}},Array(e){return{...e,valueSchema:void 0,type:"ARRAY"}},Object(e){return{...e,valueSchema:void 0,type:"OBJECT"}},Dropdown(e){return{...e,valueSchema:void 0,type:"DROPDOWN"}},StaticDropdown(e){return{...e,valueSchema:void 0,type:"STATIC_DROPDOWN"}},MultiSelectDropdown(e){return{...e,valueSchema:void 0,type:"MULTI_SELECT_DROPDOWN"}},DynamicProperties(e){return{...e,valueSchema:void 0,type:"DYNAMIC"}},StaticMultiSelectDropdown(e){return{...e,valueSchema:void 0,type:"STATIC_MULTI_SELECT_DROPDOWN"}},DateTime(e){return{...e,valueSchema:void 0,type:"DATE_TIME"}},DateRange(e){return{...e,valueSchema:void 0,type:"DATE_RANGE"}},File(e){return{...e,valueSchema:void 0,type:"FILE"}},Custom(e){let t=e.code.toString();return{...e,code:t,valueSchema:void 0,type:"CUSTOM"}},Color(e){return{...e,valueSchema:void 0,type:"COLOR"}}};var Xe=P({displayName:y(),description:S(y()),hasConnectionIdentifier:S(oe())});var m_=P({username:y(),password:y()}),Lm=P({...Xe.shape,username:P({displayName:y(),description:S(y())}),password:P({displayName:y(),description:S(y())}),...J(m_,"BASIC_AUTH").shape});var AT=K(y(),Y([Be,nt,st,it,Me])),Fm=P({...Xe.shape,props:AT,...J(W(),"CUSTOM_AUTH").shape});var eo=P({...Xe.shape,...J(P({auth:y()}),"SECRET_TEXT").shape});var ST=K(y(),Y([Be,nt,eo,st,it,Me,at,Ji])),p_=P({...Xe.shape,props:ST,...J(W(),"OIDC").shape});var jm=(r=>(r.HEADER="HEADER",r.BODY="BODY",r))(jm||{}),y_=Y([Be,eo,Me]),f_=K(y(),y_),h_=P({serverUrlProp:y(),authUrlProp:y(),tokenUrlProp:y(),scopesProp:S(y())}),TT=P({props:S(K(y(),y_)),authUrl:y(),tokenUrl:y(),scope:V(y()),prompt:S(Y([q("none"),q("consent"),q("login"),q("omit")])),pkce:S(oe()),pkceMethod:S(Y([q("plain"),q("S256")])),authorizationMethod:S(Z(jm)),grantType:S(Y([Z(Rn),q(ld)])),extra:S(K(y(),y())),discovery:S(h_)}),__=P({access_token:y(),props:S(f_),data:K(y(),An())}),qm=P({...Xe.shape,...TT.shape,...J(__,"OAUTH2").shape});var $o=Y([Lm,Fm,p_,qm,eo]),Xn="Connection",Zm={SecretText(e){return{...e,valueSchema:void 0,type:"SECRET_TEXT"}},OAuth2(e){return{...e,valueSchema:void 0,type:"OAUTH2",displayName:e.displayName||Xn}},BasicAuth(e){return{...e,valueSchema:void 0,type:"BASIC_AUTH",displayName:e.displayName||Xn,required:!0}},CustomAuth(e){return{...e,valueSchema:void 0,type:"CUSTOM_AUTH",displayName:e.displayName||Xn}},OIDC(e){return{...e,valueSchema:void 0,type:"OIDC",displayName:e.displayName||Xn}},None(){}};var f0={OAUTH2:"OAUTH2",CLOUD_OAUTH2:"OAUTH2",PLATFORM_OAUTH2:"OAUTH2",BASIC_AUTH:"BASIC_AUTH",CUSTOM_AUTH:"CUSTOM_AUTH",OIDC:"OIDC",SECRET_TEXT:"SECRET_TEXT",NO_AUTH:void 0};var CT=P({...te.shape,...J(W(),"CUSTOM").shape,code:y()});var ET=Y([Um,$o]),Vm=K(y(),ET),R0=K(y(),Um);var g_=Y([P({strategy:q("CRON"),cronExpression:y()}),P({strategy:q("NONE")})]);var b_="2",ws="0.82.0";var Hm=class{constructor(t,r,n,o,a,i,l,d,m=ws,b,x="",I){this.displayName=t;this.logoUrl=r;this.authors=n;this.events=o;this.categories=l;this.auth=d;this.minimumSupportedRelease=m;this.maximumSupportedRelease=b;this.description=x;this.deprecated=I;this._actions={};this._triggers={};this.getContextInfo=s(()=>({version:b_}),"getContextInfo");(!OT(m)||NT(m,ws))&&(this.minimumSupportedRelease=ws),a.forEach(p=>this._actions[p.name]=p),i.forEach(p=>this._triggers[p.name]=p)}static{s(this,"Piece")}metadata(){return{displayName:this.displayName,logoUrl:this.logoUrl,actions:this._actions,triggers:this._triggers,categories:this.categories,description:this.description,authors:this.authors,auth:DT(this.auth),minimumSupportedRelease:this.minimumSupportedRelease,maximumSupportedRelease:this.maximumSupportedRelease,deprecated:this.deprecated,contextInfo:this.getContextInfo?.()}}getAction(t){return this._actions[t]}getTrigger(t){return this._triggers[t]}actions(){return this._actions}triggers(){return this._triggers}},v_=s(e=>{if(e.auth&&Array.isArray(e.auth)&&!e.auth.every((r,n,o)=>n===o.findIndex(a=>a.type===r.type)))throw new Error("Auth properties must be unique by type");return new Hm(e.displayName,e.logoUrl,e.authors??[],e.events,e.actions,e.triggers,e.categories??[],e.auth,e.minimumSupportedRelease,e.maximumSupportedRelease,e.description,e.deprecated)},"createPiece");function DT(e){if(e!==void 0)return Array.isArray(e)?e.map(k_):k_(e)}s(DT,"withConnectionIdentifierFlag");function k_(e){return{...e,hasConnectionIdentifier:e.getConnectionIdentifier!==void 0}}s(k_,"flagConnectionIdentifier");function OT(e){return/^\d+\.\d+\.\d+$/.test(e)}s(OT,"isValidSimpleSemver");function NT(e,t){let[r,n,o]=e.split(".").map(Number),[a,i,l]=t.split(".").map(Number);return r!==a?r<a:n!==i?n<i:o<l}s(NT,"isSemverLessThan");var wT=S(K(y(),K(y(),y()))),I_=P({id:S(y()),name:y(),displayName:y(),logoUrl:y(),description:y(),authors:V(y()),platformId:S(y()),directoryPath:S(y()),auth:S(Y([$o,V($o)])),version:y(),categories:S(V(Z(Kt))),minimumSupportedRelease:S(y()),maximumSupportedRelease:S(y()),deprecated:S(oe()),i18n:wT}),RT=Z(["human","ai","both"]),P_=P({description:S(y()),idempotent:S(oe())}),z_=Z(["READ","SEARCH","WRITE","DESTRUCTIVE"]);var $T=Z(["tabs","section","summary","builder","footer"]),x_=P({key:y(),display:$T,label:S(y()),description:S(y()),icon:S(y()),props:V(y())}),A_=P({name:y(),displayName:y(),description:y(),props:Vm,propertyGroups:S(V(x_)),requireAuth:oe(),errorHandlingOptions:S(nd),outputSchema:S(Gi()),audience:S(RT),aiMetadata:S(P_),classification:S(z_)}),S_=P({name:y(),displayName:y(),description:y(),props:Vm,propertyGroups:S(V(x_)),errorHandlingOptions:S(nd),type:Z(Jt),sampleData:W(),handshakeConfiguration:S(Gi()),renewConfiguration:S(g_),testStrategy:Z(Bn),outputSchema:S(Gi()),aiMetadata:S(P_),classification:S(z_)}),BT=P({...I_.shape,actions:K(y(),A_),triggers:K(y(),S_)}),MT=P({...I_.shape,actions:ke(),triggers:ke(),suggestedActions:S(V(A_)),suggestedTriggers:S(V(S_))}),T_=P({projectUsage:ke(),pieceType:Z(Ao),packageType:Z(wn),platformId:S(y()),archiveId:S(y())}),UF=P({...BT.shape,...T_.shape}),LF=P({...MT.shape,...T_.shape}),FF=P({name:y(),version:y()});var E_=oo(require("path")),Gm=oo(require("fs/promises"));var Rs={translatePiece:s(({piece:e,locale:t})=>{let r=t?e.i18n?.[t]:void 0;if(!r)return e;let n=C_(e.categories)?LT:UT;return N_({node:e,tree:n,translations:r})},"translatePiece"),pathsToTranslate:s(e=>C_(e)?[...Rs.pathsToValuesToTranslate,"displayName"]:Rs.pathsToValuesToTranslate,"pathsToTranslate"),initializeI18n:s(async e=>{try{let t=Object.values(yd),r={};for(let n of t){let o=await ZT(n,e);o&&(r[n]=o)}return Object.keys(r).length>0?r:void 0}catch(t){console.log(`Error initializing i18n for ${e}:`,t);return}},"initializeI18n"),pathsToValuesToTranslate:["description","auth.username.displayName","auth.username.description","auth.password.displayName","auth.password.description","auth.props.*.displayName","auth.props.*.description","auth.props.*.options.options.*.label","auth.description","actions.*.displayName","actions.*.description","actions.*.props.*.displayName","actions.*.props.*.description","actions.*.props.*.options.options.*.label","actions.*.propertyGroups.*.label","actions.*.propertyGroups.*.description","triggers.*.displayName","triggers.*.description","triggers.*.props.*.displayName","triggers.*.props.*.description","triggers.*.props.*.options.options.*.label","triggers.*.propertyGroups.*.label","triggers.*.propertyGroups.*.description"]},UT=D_(Rs.pathsToTranslate()),LT=D_(Rs.pathsToTranslate(["CORE"]));function D_(e){return e.reduce((t,r)=>O_({tree:t,keys:r.split(".")}),{})}s(D_,"buildTree");function C_(e){return e?.includes("CORE")??!1}s(C_,"isCorePiece");function O_({tree:e,keys:[t,...r]}){return{...e,[t]:r.length===0?null:O_({tree:e[t]??{},keys:r})}}s(O_,"addPath");function N_({node:e,tree:t,translations:r}){if(!jT(e))return e;let n={},o=!1;for(let[a,i]of Object.entries(t))for(let l of a==="*"?Object.keys(e):[a]){let d=e[l],m=i===null?FT({value:d,translations:r}):N_({node:d,tree:i,translations:r});m!==d&&(n[l]=m,o=!0)}return o?Object.assign(Array.isArray(e)?[]:{},e,n):e}s(N_,"translateNode");function FT({value:e,translations:t}){return typeof e!="string"?e:t[e.slice(0,512)]||e}s(FT,"translateValue");function jT(e){return typeof e=="object"&&e!==null}s(jT,"isRecord");async function qT(e){try{return await Gm.default.access(e),!0}catch{return!1}}s(qT,"fileExists");var ZT=s(async(e,t)=>{let r=E_.default.join(t,"src","i18n",`${e}.json`);if(!await qT(r))return null;try{let n=await Gm.default.readFile(r,"utf8"),o=JSON.parse(n);if(typeof o=="object"&&o!==null)return o;throw new Error(`Invalid i18n file format for ${e} in piece ${t}`)}catch(n){return console.error(`Error reading i18n file for ${e} in piece ${t}:`,n),null}},"readLocaleFile");var Bo=require("node:stream");var $s=class{constructor(t,r){this.baseUrl=t;this.authenticationConverter=r}static{s(this,"BaseHttpClient")}getUrl(t){let r=new URL(`${this.baseUrl}${t.url}`),n=`${r.origin}${r.pathname}`,o=new URLSearchParams;return r.searchParams.forEach((a,i)=>{o.append(i,a)}),{urlWithoutQueryParams:n,queryParams:o}}getHeaders(t){let r={Accept:"application/json"};return t.authentication&&this.populateAuthentication(t.authentication,r),t.body&&(t.headers?.["Content-Type"]==="text/csv"?r["Content-Type"]="text/csv":r["Content-Type"]="application/json"),t.headers&&(r={...r,...t.headers}),r}populateAuthentication(t,r){this.authenticationConverter.convert(t,r)}};var Bs=class{static{s(this,"DelegatingAuthenticationConverter")}constructor(t=new Wm,r=new Km){this.converters={BEARER_TOKEN:t,BASIC:r}}convert(t,r){return this.converters[t.type].convert(t,r)}},Wm=class{static{s(this,"BearerTokenAuthenticationConverter")}convert(t,r){return r.Authorization=`Bearer ${t.token}`,r}},Km=class{static{s(this,"BasicTokenAuthenticationConverter")}convert(t,r){let n=`${t.username}:${t.password}`,o=Buffer.from(n).toString("base64");return r.Authorization=`Basic ${o}`,r}};var Yn=class extends Error{constructor(r,n){let o=n.status||500,a=Buffer.isBuffer(n.responseBody)?n.responseBody.toString():n.responseBody;super(JSON.stringify({response:{status:o,body:a},request:{body:r}}));this.requestBody=r;this.status=o,this.responseBody=a}static{s(this,"HttpError")}errorMessage(){return{response:{status:this.status,body:this.responseBody},request:{body:this.requestBody}}}get response(){return{status:this.status,body:this.responseBody}}get request(){return{body:this.requestBody}}};function w_({error:e,requestBody:t}){return e instanceof Yn?e.errorMessage():{response:{status:0,body:e instanceof Error?e.message:String(e)},request:{body:t}}}s(w_,"toFailsafeOutput");var Ms=(i=>(i.GET="GET",i.POST="POST",i.PATCH="PATCH",i.PUT="PUT",i.DELETE="DELETE",i.HEAD="HEAD",i))(Ms||{});var Us=class extends $s{static{s(this,"FetchHttpClient")}constructor(t="",r=new Bs){super(t,r)}async sendRequest(t,r){process.env.NODE_TLS_REJECT_UNAUTHORIZED="0";let{urlWithoutQueryParams:n,queryParams:o}=this.getUrl(t),a=this.getHeaders(t),i=B_(t.body)?YT(a):a,l=t.queryParams??{};for(let[ie,ce]of Object.entries(l))o.append(ie,ce);let d=o.toString(),m=d?`${n}?${d}`:n,b=t.responseType??"json",x=t.followRedirects??!0,I=t.retries??0,{body:p,extraHeaders:v,isStream:A}=Ls(t.method)?HT(t.body,i):{body:void 0,extraHeaders:{},isStream:!1},C=WT({...i,...v}),E=await GT(async()=>{let ie=new AbortController,ce=t.timeout&&t.timeout>0?setTimeout(()=>ie.abort(),t.timeout):void 0;try{let we={method:t.method.toString(),headers:C,body:p,redirect:x?"follow":"manual",signal:ie.signal};return A&&(we.duplex="half"),r?.dispatcher!==void 0&&(we.dispatcher=r.dispatcher),await fetch(m,we)}finally{ce!==void 0&&clearTimeout(ce)}},A?0:I),O=x?300:400;if(E.status<200||E.status>=O){let ie=await R_(E,b==="stream"?"text":b),ce=new Yn(t.redactBodyInErrors===!0?VT:t.body,{status:E.status,responseBody:ie});throw console.error("[HttpClient#(sanitized error message)] Request failed:",ce),ce}let L=await R_(E,b);return{status:E.status,headers:KT(E.headers),body:L}}},VT="[redacted]";function Ls(e){return e!=="GET"&&e!=="HEAD"}s(Ls,"acceptsRequestBody");function HT(e,t){if(M_(e))return{body:void 0,extraHeaders:{},isStream:!1};if(XT(e)){let n=JT(e);if(n!==null)return{body:n,extraHeaders:e.getHeaders(),isStream:!1};let o=new Bo.PassThrough;return e.on("error",a=>o.destroy(a)),e.pipe(o),{body:o,extraHeaders:e.getHeaders(),isStream:!0}}return e instanceof Bo.Readable?{body:e,extraHeaders:{},isStream:!0}:typeof e=="string"||Buffer.isBuffer(e)||e instanceof URLSearchParams||e instanceof ArrayBuffer||B_(e)||typeof Blob<"u"&&e instanceof Blob?{body:e,extraHeaders:{},isStream:!1}:(t["Content-Type"]??t["content-type"]??"").includes("application/x-www-form-urlencoded")?{body:new URLSearchParams(e).toString(),extraHeaders:{},isStream:!1}:{body:JSON.stringify(e),extraHeaders:{},isStream:!1}}s(HT,"serializeBody");async function R_(e,t){switch(t){case"arraybuffer":return Buffer.from(await e.arrayBuffer());case"stream":return M_(e.body)?Bo.Readable.from([]):Bo.Readable.fromWeb(e.body);case"blob":return await e.blob();case"text":return await e.text();default:{let r=await e.text();if(r.length===0)return;try{return JSON.parse(r)}catch{return r}}}}s(R_,"parseResponseBody");async function GT(e,t){let r;for(let n=0;n<=t;n++)try{let o=await e();if(o.status>=500&&n<t){await $_(n);continue}return o}catch(o){if(r=o,n<t){await $_(n);continue}throw o}throw r}s(GT,"sendWithRetries");function $_(e){let t=Math.min(1e3*2**e,3e4);return new Promise(r=>setTimeout(r,t))}s($_,"backoff");function WT(e){let t=new Map;for(let[r,n]of Object.entries(e))n!==void 0&&t.set(r.toLowerCase(),[r,Array.isArray(n)?n.join(", "):n]);return Object.fromEntries(t.values())}s(WT,"normalizeHeaders");function KT(e){let t={};return e.forEach((r,n)=>{t[n]=r}),t}s(KT,"toHttpHeaders");function JT(e){if(!e.hasKnownLength()||e.getLengthSync()>QT)return null;let{data:t}=dd(()=>e.getBuffer());return t}s(JT,"bufferFormDataIfSafe");function XT(e){return typeof e=="object"&&e!==null&&typeof e.getHeaders=="function"&&typeof e.pipe=="function"&&typeof e.on=="function"}s(XT,"isNodeFormData");function B_(e){return typeof FormData<"u"&&e instanceof FormData}s(B_,"isNativeFormData");function YT(e){return Object.fromEntries(Object.entries(e).filter(([t])=>t.toLowerCase()!=="content-type"))}s(YT,"withoutContentType");function M_(e){return e==null}s(M_,"isNil");var QT=100*1024*1024;var Qn=new Us;var LE=oo(require("fs"));var FE={"application/json":"json","application/pdf":"pdf","application/xml":"xml","text/xml":"xml","application/zip":"zip","application/gzip":"gz","application/x-tar":"tar","application/octet-stream":"bin","application/msword":"doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/rtf":"rtf","application/javascript":"js","application/x-www-form-urlencoded":"bin","text/plain":"txt","text/html":"html","text/css":"css","text/csv":"csv","text/calendar":"ics","text/markdown":"md","image/png":"png","image/jpeg":"jpeg","image/jpg":"jpg","image/gif":"gif","image/webp":"webp","image/svg+xml":"svg","image/bmp":"bmp","image/tiff":"tiff","image/x-icon":"ico","image/vnd.microsoft.icon":"ico","image/heic":"heic","audio/mpeg":"mp3","audio/mp4":"m4a","audio/wav":"wav","audio/x-wav":"wav","audio/ogg":"ogg","audio/webm":"weba","video/mp4":"mp4","video/mpeg":"mpeg","video/webm":"webm","video/quicktime":"mov","video/x-msvideo":"avi","font/woff":"woff","font/woff2":"woff2","font/ttf":"ttf","font/otf":"otf"};function jE(e){let t=e.split(";")[0].trim().toLowerCase();return FE[t]??""}s(jE,"contentTypeToExtension");var qE=s(({baseUrl:e,relativePath:t})=>{let r=e.endsWith("/")?e:`${e}/`,n=t.startsWith("/")?t.slice(1):t;return`${r}${n}`},"joinBaseUrlWithRelativePath"),ZE=s((e,t)=>{let r="https://api.example.com";try{let n=t?e(t):void 0;return(n?.endsWith("/")?n.slice(0,-1):n)??r}catch{return r}},"getBaseUrlForDescription");function Zb({auth:e,baseUrl:t,authMapping:r,description:n,displayName:o,name:a,props:i,extraProps:l,authLocation:d="headers",classification:m="WRITE"}){return _({audience:"human",name:a||"custom_api_call",classification:m,displayName:o||"Custom API Call",description:n||"Make a custom API call to a specific endpoint",auth:e,requireAuth:!!e,props:{url:c.DynamicProperties({auth:e,displayName:"",required:!0,refreshers:[],props:s(async({auth:b})=>({url:c.ShortText({displayName:"URL",description:`Full URL, or a path relative to ${ZE(t,b)}`,required:!0,placeholder:"/resource",defaultValue:b?t(b):"",...i?.url??{}})}),"props")}),method:c.StaticDropdown({displayName:"Method",required:!0,defaultValue:"GET",options:{options:Object.values(Ms).map(b=>({label:b,value:b}))},...i?.method??{}}),headers:c.Object({displayName:"Headers",description:"Authorization headers are injected automatically from your connection.",required:!1,...i?.headers??{}}),queryParams:c.Object({displayName:"Query Parameters",description:"Appended to the URL as ?key=value.",required:!1,...i?.queryParams??{}}),body_type:c.Dropdown({auth:e,displayName:"Body Type",required:!1,defaultValue:"none",refreshers:["method"],options:s(async({method:b})=>Ls(b)?{disabled:!1,options:[{label:"None",value:"none"},{label:"JSON",value:"json"},{label:"Form Data",value:"form_data"},{label:"Raw",value:"raw"}]}:{disabled:!0,placeholder:"Not available for GET or HEAD requests",options:[]},"options")}),body:c.DynamicProperties({auth:e,displayName:"Body",refreshers:["body_type","method"],required:!1,props:s(async({body_type:b,method:x})=>{if(!b||!Ls(x))return{};let I=b,p={};switch(I){case"none":break;case"json":p.data=c.Json({displayName:"JSON Body",required:!0,...i?.body??{}});break;case"raw":p.data=c.LongText({displayName:"Raw Body",required:!0});break;case"form_data":p.data=c.Array({displayName:"Form Data",required:!0,properties:{fieldName:c.ShortText({displayName:"Field Name",required:!0}),fieldType:c.StaticDropdown({displayName:"Field Type",required:!0,options:{disabled:!1,options:[{label:"Text",value:"text"},{label:"File",value:"file"}]}}),textFieldValue:c.LongText({displayName:"Text Field Value",required:!1}),fileFieldValue:c.File({displayName:"File Field Value",required:!1})}});break}return p},"props")}),response_is_binary:c.Checkbox({displayName:"Response is Binary",description:"Enable for files like PDFs, images, etc.",required:!1,defaultValue:!1,advanced:!0,...i?.response_is_binary??{}}),failsafe:c.Checkbox({displayName:"Return Error as Output",description:"On a failed request, output the error instead of failing the step.",required:!1,advanced:!0,...i?.failsafe??{}}),timeout:c.Number({displayName:"Timeout",description:"Seconds to wait for a response. Empty: up to the flow limit (10 min).",required:!1,advanced:!0,...i?.timeout??{}}),followRedirects:c.Checkbox({displayName:"Follow redirects",description:"Follow 3xx redirects instead of returning them as the response.",required:!1,defaultValue:!1,advanced:!0,...i?.followRedirects??{}}),...l},propertyGroups:[{key:"request",display:"section",label:"Request",icon:"send",props:["method","url","headers","queryParams"]},{key:"payload",display:"section",label:"Data to send",icon:"code",props:["body_type","body"]}],run:s(async b=>{let{method:x,url:I,headers:p,queryParams:v,body:A,body_type:C,failsafe:E,timeout:O,response_is_binary:L,followRedirects:ie}=b.propsValue;Yi(x,"Method"),Yi(I,"URL");let ce=De(r)?{}:await r(b.auth,b.propsValue),we=I.url,pl=we.startsWith("http://")||we.startsWith("https://")?we:qE({baseUrl:t(b.auth),relativePath:we}),dt={method:x,url:pl,headers:{...p??{},...d==="headers"||!De(d)?ce:{}},queryParams:{...d==="queryParams"?ce:{},...v??{}},timeout:O?O*1e3:0,followRedirects:ie};if(L&&(dt.responseType="arraybuffer"),A)if(C&&C!=="none"){let Qe=A.data;if(C==="form_data"){let GP=Qe,{default:WP}=await Promise.resolve().then(()=>oo(qb())),aa=new WP;for(let{fieldName:Pp,fieldType:zp,textFieldValue:xp,fileFieldValue:yl}of GP)zp==="text"&&!Mn(xp)?aa.append(Pp,xp):zp==="file"&&!Mn(yl)&&aa.append(Pp,yl.data,{filename:yl?.filename});dt.body=aa,dt.headers={...dt.headers,...aa.getHeaders()}}else dt.body=Qe}else C||(dt.body=A);try{let Qe=await Qn.sendRequest(dt);return await VE(b.files,Qe.body,Qe.status,Qe.headers,L)}catch(Qe){if(E)return w_({error:Qe,requestBody:dt.body});throw Qe}},"run")})}s(Zb,"createCustomApiCallAction");var VE=s(async(e,t,r,n,o)=>{let a;if(o&&HE(t)){let i=Array.isArray(n?.["content-type"])?n["content-type"][0]:n?.["content-type"],l=jE(i??"")||"txt",d;t instanceof ArrayBuffer?d=Buffer.from(new Uint8Array(t)):Buffer.isBuffer(t)?d=t:d=Buffer.from(t),a=await e.write({fileName:`output.${l}`,data:d})}else a=t;return{status:r,headers:n,body:a}},"handleBinaryResponse"),HE=s(e=>e instanceof ArrayBuffer||Buffer.isBuffer(e),"isBinaryBody");var h=Zm.OAuth2({props:{location:c.StaticDropdown({displayName:"Location",description:"The location of your Zoho Books account",required:!0,options:{options:[{label:"zoho.eu (Europe)",value:"zoho.eu"},{label:"zoho.com (United States)",value:"zoho.com"},{label:"zoho.com.au (Australia)",value:"zoho.com.au"},{label:"zoho.jp (Japan)",value:"zoho.jp"},{label:"zoho.in (India)",value:"zoho.in"},{label:"zohocloud.ca (Canada)",value:"zohocloud.ca"}]}})},description:"Authentication for Zoho Books",scope:["ZohoBooks.fullaccess.all"],authUrl:"https://accounts.{location}/oauth/v2/auth",tokenUrl:"https://accounts.{location}/oauth/v2/token",required:!0});function GE(){return c.ShortText({displayName:"Organization ID",description:"Zoho Books organization ID, from List Organizations. Leave empty to use the default organization of the connection.",required:!1})}s(GE,"organizationId");function WE({required:e,displayName:t="Contact ID",description:r="Contact (customer or vendor) ID, from List Contacts or Create Contact."}){return c.ShortText({displayName:t,description:r,required:e})}s(WE,"contactId");function KE({required:e,displayName:t="Contact Person ID",description:r="Contact person ID, from List Contact Persons or Create Contact Person."}){return c.ShortText({displayName:t,description:r,required:e})}s(KE,"contactPersonId");function JE({required:e,displayName:t="Invoice ID",description:r="Invoice ID, from List Invoices or Create Invoice."}){return c.ShortText({displayName:t,description:r,required:e})}s(JE,"invoiceId");function XE({required:e,displayName:t="Customer Payment ID",description:r="Customer payment ID, from List Customer Payments or Create Customer Payment."}){return c.ShortText({displayName:t,description:r,required:e})}s(XE,"customerPaymentId");function YE({required:e,displayName:t,description:r}){return c.StaticDropdown({displayName:t,description:r,required:e,options:{options:[{label:"Yes",value:"true"},{label:"No",value:"false"}]}})}s(YE,"flag");function QE({description:e}){return c.Json({displayName:"Additional Fields",description:e,required:!1})}s(QE,"additionalFields");function eD(){return c.Number({displayName:"Page",description:"Page number, starting at 1. When page_context.has_more_page is true, call again with the next page and the same filters.",required:!1,defaultValue:1})}s(eD,"page");function tD(){return c.Number({displayName:"Per Page",description:"Records per page, 1 to 200. Defaults to 200.",required:!1,defaultValue:200})}s(tD,"perPage");var u={organizationId:GE,contactId:WE,contactPersonId:KE,invoiceId:JE,customerPaymentId:XE,flag:YE,additionalFields:QE,page:eD,perPage:tD};function hp({auth:e}){let t=e.data?.api_domain;return t?`${t}/books/v3`:""}s(hp,"baseUrl");function _p({auth:e}){return{Authorization:`Zoho-oauthtoken ${e.access_token}`}}s(_p,"authHeaders");function Vb({query:e}){return Object.fromEntries(Object.entries(e??{}).filter(t=>t[1]!==void 0).map(([t,r])=>[t,String(r)]))}s(Vb,"toQueryParams");async function oD({auth:e,method:t,path:r,query:n,body:o,headers:a}){return(await Qn.sendRequest({method:t,url:`${hp({auth:e})}${r}`,headers:{...a,..._p({auth:e})},queryParams:Vb({query:n}),body:o})).body}s(oD,"request");async function rD({auth:e,path:t,query:r}){let n=await Qn.sendRequest({method:"GET",url:`${hp({auth:e})}${t}`,headers:{..._p({auth:e}),Accept:"*/*"},queryParams:Vb({query:r}),responseType:"arraybuffer"}),o=n.headers?.["content-type"],a=n.headers?.["content-disposition"];return{data:Buffer.from(n.body),contentType:typeof o=="string"?o:void 0,fileName:typeof a=="string"?await nD({disposition:a}):void 0}}s(rD,"download");async function nD({disposition:e}){let t=/filename\*=(?:UTF-8'')?"?([^";]+)"?/i.exec(e)?.[1];if(t){let{data:r}=await ud(async()=>decodeURIComponent(t));return r??t}return/filename="?([^";]+)"?/i.exec(e)?.[1]}s(nD,"fileNameFromDisposition");var f={baseUrl:hp,authHeaders:_p,request:oD,download:rD};async function aD({auth:e}){return await f.request({auth:e,method:"GET",path:"/organizations"})}s(aD,"listOrganizations");async function iD({auth:e,organizationId:t}){if(t)return t;let{organizations:r=[]}=await aD({auth:e}),n=r.find(o=>o.is_default_org)??r[0];if(!n)throw new Error("Organization ID was not given and this Zoho Books connection has no organizations. Create an organization in Zoho Books, or pass Organization ID.");return n.organization_id}s(iD,"resolveOrganizationId");async function sD({auth:e,organizationId:t,contactId:r}){return await f.request({auth:e,method:"GET",path:`/contacts/${encodeURIComponent(r)}`,query:{organization_id:t}})}s(sD,"getContact");var g={resolveOrganizationId:iD,getContact:sD};function lD({value:e}){return e===void 0?void 0:e==="true"}s(lD,"toBoolean");function cD({page:e,perPage:t}){return{page:Math.max(Math.trunc(e??1),1),per_page:Math.min(Math.max(Math.trunc(t??Hb),1),Hb)}}s(cD,"pageQuery");function uD({value:e,propName:t}){if(e.length===0||!e.every(r=>typeof r=="string"&&r!==""))throw new Error(`${t} must be a non-empty list of non-empty strings.`);return e}s(uD,"toStringList");var B={toBoolean:lD,pageQuery:cD,toStringList:uD},Hb=200;var F=[{key:"code",label:"Response Code",format:"number"},{key:"message",label:"Message"}],Ke=[{key:"can_lock",label:"Can Lock",format:"boolean"}],ut=[{key:"can_lock",label:"Can Lock",format:"boolean"},{key:"custom_locks",label:"Custom Locks"},{key:"system_locks",label:"System Locks"}],Et=[{key:"address_id",label:"Address ID"},{key:"attention",label:"Attention"},{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state_code",label:"State Code"},{key:"state",label:"State"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"county",label:"County"},{key:"latitude",label:"Latitude"},{key:"longitude",label:"Longitude"},{key:"country_code",label:"Country Code"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"}],Wb=[{key:"is_email_enabled",label:"Email Enabled",format:"boolean"},{key:"is_portal_notification_enabled",label:"Portal Notification Enabled",format:"boolean"}],gp=[{key:"contact_person_id",label:"Contact Person ID"},{key:"salutation",label:"Salutation"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"mobile_country_code",label:"Mobile Country Code"},{key:"mobile_code_formatted",label:"Mobile Code (Formatted)"},{key:"date_of_birth",label:"Date Of Birth",format:"date"},{key:"gender",label:"Gender"},{key:"department",label:"Department"},{key:"designation",label:"Designation"},{key:"skype",label:"Skype"},{key:"fax",label:"Fax"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"zcrm_contact_id",label:"Zoho CRM Contact ID"},{key:"is_portal_mfa_enabled",label:"Portal Mfa Enabled",format:"boolean"},{key:"is_added_in_portal",label:"Added In Portal",format:"boolean"},{key:"can_invite",label:"Can Invite",format:"boolean"},{key:"is_primary_contact",label:"Primary Contact",format:"boolean"},{key:"is_portal_invitation_accepted",label:"Portal Invitation Accepted",format:"boolean"},{key:"is_sms_enabled_for_cp",label:"Sms Enabled For Cp",format:"boolean"},{key:"photo_document_url",label:"Photo Document URL",format:"image"},{key:"photo_document_name",label:"Photo Document Name"},{key:"contactperson_custom_fields",label:"Contactperson Custom Fields"},{key:"portal_enabled_via",label:"Portal Enabled Via"},{key:"communication_preference",label:"Communication Preference",children:Wb}],Js=[{key:"statement_template_id",label:"Statement Template ID"},{key:"statement_template_name",label:"Statement Template Name"},{key:"invoice_template_id",label:"Invoice Template ID"},{key:"invoice_template_name",label:"Invoice Template Name"},{key:"bill_template_id",label:"Bill Template ID"},{key:"bill_template_name",label:"Bill Template Name"},{key:"estimate_template_id",label:"Estimate Template ID"},{key:"estimate_template_name",label:"Estimate Template Name"},{key:"creditnote_template_id",label:"Credit Note Template ID"},{key:"creditnote_template_name",label:"Credit Note Template Name"},{key:"purchaseorder_template_id",label:"Purchase Order Template ID"},{key:"purchaseorder_template_name",label:"Purchase Order Template Name"},{key:"salesorder_template_id",label:"Sales Order Template ID"},{key:"salesorder_template_name",label:"Sales Order Template Name"},{key:"paymentthankyou_template_id",label:"Payment Thank You Template ID"},{key:"paymentthankyou_template_name",label:"Payment Thank You Template Name"},{key:"invoice_email_template_id",label:"Invoice Email Template ID"},{key:"invoice_email_template_name",label:"Invoice Email Template Name"},{key:"estimate_email_template_id",label:"Estimate Email Template ID"},{key:"estimate_email_template_name",label:"Estimate Email Template Name"},{key:"creditnote_email_template_id",label:"Credit Note Email Template ID"},{key:"creditnote_email_template_name",label:"Credit Note Email Template Name"},{key:"purchaseorder_email_template_id",label:"Purchase Order Email Template ID"},{key:"purchaseorder_email_template_name",label:"Purchase Order Email Template Name"},{key:"salesorder_email_template_id",label:"Sales Order Email Template ID"},{key:"salesorder_email_template_name",label:"Sales Order Email Template Name"},{key:"paymentthankyou_email_template_id",label:"Payment Thank You Email Template ID"},{key:"paymentthankyou_email_template_name",label:"Payment Thank You Email Template Name"},{key:"payment_remittance_email_template_id",label:"Payment Remittance Email Template ID"},{key:"payment_remittance_email_template_name",label:"Payment Remittance Email Template Name"}],Xs=[{key:"currency_id",label:"Currency ID"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"is_base_currency",label:"Base Currency",format:"boolean"},{key:"currency_name_formatted",label:"Currency Name (Formatted)"},{key:"outstanding_receivable_amount",label:"Outstanding Receivable Amount",format:"currency"},{key:"unused_credits_receivable_amount",label:"Unused Credits Receivable Amount",format:"currency"}],Kb=[{key:"invoice_number",label:"Invoice Number"},{key:"invoice_payment_id",label:"Invoice Payment ID"},{key:"invoice_id",label:"Invoice ID"},{key:"invoice_customer_id",label:"Invoice Customer ID"},{key:"invoice_customer_name",label:"Invoice Customer Name"},{key:"amount_applied",label:"Amount Applied",format:"number"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"apply_date",label:"Apply Date",format:"date"},{key:"allow_partial_payments",label:"Allow Partial Payments",format:"boolean"},{key:"invoice_installments",label:"Invoice Installments"},{key:"installments",label:"Installments"}],bp=[{key:"check_id",label:"Check ID"},{key:"check_number",label:"Check Number"},{key:"memo",label:"Memo"},{key:"check_status",label:"Check Status"},{key:"expiry_date",label:"Expiry Date",format:"date"},{key:"clearance_account_id",label:"Clearance Account ID"}],qo=[{key:"decimal_separator",label:"Decimal Separator"},{key:"number_separator",label:"Number Separator"},{key:"secondary_grouping_size",label:"Secondary Grouping Size",format:"number"}],kp=[{key:"line_item_id",label:"Line Item ID"},{key:"item_id",label:"Item ID"},{key:"item_order",label:"Item Order",format:"number"},{key:"name",label:"Name"},{key:"internal_name",label:"Internal Name"},{key:"description",label:"Description"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"unit",label:"Unit"},{key:"quantity",label:"Quantity",format:"number"},{key:"discount_amount",label:"Discount Amount",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discounts",label:"Discounts"},{key:"bcy_rate",label:"Base Currency Rate",format:"currency"},{key:"rate",label:"Rate",format:"currency"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"header_id",label:"Header ID"},{key:"header_name",label:"Header Name"},{key:"pricebook_id",label:"Pricebook ID"},{key:"tax_id",label:"Tax ID"},{key:"tax_name",label:"Tax Name"},{key:"tax_type",label:"Tax Type"},{key:"tax_percentage",label:"Tax Percentage",format:"number"},{key:"item_total",label:"Item Total",format:"currency"},{key:"item_custom_fields",label:"Item Custom Fields"},{key:"pricing_scheme",label:"Pricing Scheme"},{key:"tags",label:"Tags"},{key:"documents",label:"Documents"},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"tds_tax_name",label:"TDS Tax Name"},{key:"tds_tax_percentage",label:"TDS Tax Percentage"},{key:"tds_tax_amount",label:"TDS Tax Amount",format:"currency"},{key:"line_item_taxes",label:"Line Item Taxes"},{key:"line_item_tds",label:"Line Item TDS"},{key:"bill_id",label:"Bill ID"},{key:"bill_item_id",label:"Bill Item ID"},{key:"project_id",label:"Project ID"},{key:"time_entry_ids",label:"Time Entry IDs"},{key:"expense_id",label:"Expense ID"},{key:"item_type",label:"Item Type"},{key:"expense_receipt_name",label:"Expense Receipt Name"},{key:"sales_rate",label:"Sales Rate",format:"currency"},{key:"purchase_rate",label:"Purchase Rate",format:"currency"},{key:"salesorder_item_id",label:"Sales Order Item ID"},{key:"cost_amount",label:"Cost Amount",format:"currency"},{key:"markup_percent",label:"Markup Percent",format:"number"},{key:"item_code",label:"Item Code"},{key:"mapped_items",label:"Mapped Items"},{key:"is_modifier_item",label:"Modifier Item",format:"boolean"},{key:"line_item_category",label:"Line Item Category"}],Zo=[{key:"payment_gateways",label:"Payment Gateways"}],dD=[{key:"is_email_enabled",label:"Email Enabled",format:"boolean"}],Ys=[{key:"contact_person_id",label:"Contact Person ID"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"is_primary_contact",label:"Primary Contact",format:"boolean"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"communication_preference",label:"Communication Preference",children:dD}],Vo=[{key:"customer_balance",label:"Customer Balance",format:"currency"},{key:"credit_limit",label:"Credit Limit",format:"currency"},{key:"unused_customer_credits",label:"Unused Customer Credits",format:"currency"},{key:"is_credit_limit_migration_completed",label:"Credit Limit Migration Completed",format:"boolean"}],Ye=[{key:"street",label:"Street"},{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"country_code",label:"Country Code"},{key:"fax",label:"Fax"},{key:"phone",label:"Phone"},{key:"attention",label:"Attention"}],Qs=[{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"address",label:"Address"},{key:"city",label:"City"},{key:"phone",label:"Phone"},{key:"city_code",label:"City Code"},{key:"street2",label:"Street2"},{key:"state",label:"State"},{key:"fax",label:"Fax"},{key:"state_code",label:"State Code"}],Ho=[{key:"reference_invoice_id",label:"Reference Invoice ID"}],Go=[{key:"qr_source",label:"QR Source"},{key:"is_qr_enabled",label:"QR Enabled",format:"boolean"},{key:"qr_value",label:"QR Value"},{key:"qr_description",label:"QR Description"}],ra=[{key:"error_details",label:"Error Details"},{key:"rejected_reason",label:"Rejected Reason"},{key:"is_push_entity",label:"Push Entity",format:"boolean"},{key:"can_push",label:"Can Push",format:"boolean"},{key:"has_events",label:"Has Events",format:"boolean"},{key:"events",label:"Events"},{key:"latest_event",label:"Latest Event"}],Wo=[{key:"is_org_email_id",label:"Organization Email ID",format:"boolean"},{key:"user_name",label:"User Name"},{key:"organization_contact_id",label:"Organization Contact ID"},{key:"email",label:"Email",format:"email"},{key:"selected",label:"Selected",format:"boolean"}],na=[{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"last_name",label:"Last Name"},{key:"contact_person_id",label:"Contact Person ID"},{key:"salutation",label:"Salutation"},{key:"first_name",label:"First Name"},{key:"email",label:"Email",format:"email"},{key:"selected",label:"Selected",format:"boolean"}],Jb=[{key:"end_date",label:"End Date",format:"date"},{key:"date",label:"Date",format:"date"},{key:"start_date",label:"Start Date",format:"date"}],Xb=[{key:"language_code",label:"Language Code"},{key:"language_code_formatted",label:"Language Code (Formatted)"},{key:"is_selected",label:"Selected",format:"boolean"}],vp=[{key:"email_template_id",label:"Email Template ID"},{key:"name",label:"Name"},{key:"selected",label:"Selected",format:"boolean"}],Yb=[{key:"field_id",label:"Field ID"},{key:"customfield_id",label:"Customfield ID"},{key:"is_active",label:"Active",format:"boolean"},{key:"visibility",label:"Visibility"},{key:"precision",label:"Precision",format:"number"},{key:"index",label:"Index",format:"number"},{key:"is_unique",label:"Unique",format:"boolean"},{key:"is_mandatory",label:"Mandatory",format:"boolean"},{key:"label",label:"Label"},{key:"show_on_pdf",label:"Show On PDF",format:"boolean"},{key:"is_custom_field",label:"Custom Field",format:"boolean"},{key:"api_name",label:"API Name"},{key:"value_formatted",label:"Value (Formatted)"},{key:"search_entity",label:"Search Entity"},{key:"data_type",label:"Data Type"},{key:"placeholder",label:"Placeholder"},{key:"value",label:"Value"},{key:"is_dependent_field",label:"Dependent Field",format:"boolean"},{key:"is_basecurrency_amount",label:"Basecurrency Amount",format:"boolean"},{key:"max_length",label:"Max Length",format:"number"},{key:"help_text",label:"Help Text"}],Qb=[{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"file_name",label:"File Name"},{key:"attachment_order",label:"Attachment Order",format:"number"},{key:"source",label:"Source",format:"number"},{key:"document_id",label:"Document ID"},{key:"file_size",label:"File Size",format:"filesize"},{key:"source_formatted",label:"Source (Formatted)"},{key:"uploaded_by",label:"Uploaded By"},{key:"file_type",label:"File Type"},{key:"file_size_formatted",label:"File Size (Formatted)"},{key:"uploaded_on",label:"Uploaded On"},{key:"uploaded_by_id",label:"Uploaded By ID"},{key:"alter_text",label:"Alter Text"},{key:"uploaded_on_date_formatted",label:"Uploaded On Date (Formatted)"}],ek=[{key:"street_address1",label:"Street Address1"},{key:"street_address2",label:"Street Address2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"state_code",label:"State Code"},{key:"country",label:"Country"},{key:"zip",label:"Zip"},{key:"latitude",label:"Latitude"},{key:"longitude",label:"Longitude"},{key:"attention",label:"Attention"}],tk=[{key:"is_tax_registered",label:"Tax Registered",format:"boolean"},{key:"tax_reg_no",label:"Tax Reg No"}],Ip=[{key:"index",label:"Index",format:"number"},{key:"label",label:"Label"},{key:"value",label:"Value"}],ok=[{key:"code",label:"Response Code",format:"number"},{key:"ids",label:"IDs"},{key:"message",label:"Message"}],el=[{key:"page",label:"Page",format:"number"},{key:"per_page",label:"Per Page",format:"number"},{key:"has_more_page",label:"Has More Page",format:"boolean"},{key:"report_name",label:"Report Name"},{key:"sort_column",label:"Sort Column"},{key:"sort_order",label:"Sort Order"}],rk=[{key:"column_name",label:"Column Name"},{key:"search_text",label:"Search Text"},{key:"search_text_formatted",label:"Search Text (Formatted)"},{key:"comparator",label:"Comparator"}],nk=[{key:"page",label:"Page",format:"number"},{key:"per_page",label:"Per Page",format:"number"},{key:"has_more_page",label:"Has More Page",format:"boolean"},{key:"report_name",label:"Report Name"},{key:"applied_filter",label:"Applied Filter"},{key:"sort_column",label:"Sort Column"},{key:"sort_order",label:"Sort Order"},{key:"search_criteria",label:"Search Criteria",listItems:rk}],Gb=[{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"zipcode",label:"Zipcode"},{key:"country",label:"Country"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"},{key:"attention",label:"Attention"}],tl={fields:[...F,{key:"address_info",label:"Address Info",children:[{key:"address_id",label:"Address ID"},{key:"address_type",label:"Address Type"},{key:"attention",label:"Attention"},{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state_code",label:"State Code"},{key:"city_code",label:"City Code"},{key:"state",label:"State"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"county",label:"County"},{key:"country_code",label:"Country Code"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"},{key:"latitude",label:"Latitude"},{key:"longitude",label:"Longitude"},{key:"update_existing_transactions_address",label:"Update Existing Transactions Address"}]}]},ol={fields:[...F,{key:"documents",label:"Documents",labelKey:"file_name",listItems:[{key:"document_id",label:"Document ID"},{key:"file_name",label:"File Name"},{key:"file_type",label:"File Type"},{key:"file_size",label:"File Size",format:"filesize"},{key:"file_size_formatted",label:"File Size (Formatted)"}]}]},ak={fields:[...F,{key:"comment",label:"Comment",children:[{key:"comment_id",label:"Comment ID"},{key:"comments_html_format",label:"Comments HTML Format",format:"html"},{key:"description",label:"Description"},{key:"commented_by_id",label:"Commented By ID"},{key:"commented_by",label:"Commented By"},{key:"date",label:"Date",format:"date"},{key:"date_description",label:"Date Description"},{key:"time",label:"Time"},{key:"transaction_id",label:"Transaction ID"},{key:"transaction_type",label:"Transaction Type"},{key:"is_entity_deleted",label:"Entity Deleted",format:"boolean"},{key:"operation_type",label:"Operation Type"}]}]},rl={fields:[...F,{key:"comment",label:"Comment",children:[{key:"comment_id",label:"Comment ID"},{key:"invoice_id",label:"Invoice ID"},{key:"comments_html_format",label:"Comments HTML Format",format:"html"},{key:"description",label:"Description"},{key:"commented_by_id",label:"Commented By ID"},{key:"commented_by",label:"Commented By"},{key:"date",label:"Date",format:"date"},{key:"date_description",label:"Date Description"},{key:"time",label:"Time"},{key:"comment_type",label:"Comment Type"}]}]},ik={fields:[...F,{key:"use_credits",label:"Use Credits",format:"currency",children:[{key:"invoice_payments",label:"Invoice Payments",listItems:[{key:"invoice_payment_id",label:"Invoice Payment ID"},{key:"payment_id",label:"Payment ID"},{key:"invoice_id",label:"Invoice ID"},{key:"amount_used",label:"Amount Used",format:"number"}]},{key:"apply_creditnotes",label:"Apply Credit Notes"},{key:"apply_journals",label:"Apply Journals"}]}]},D={fields:F},nl={fields:F},sk={fields:[...F,{key:"contact",label:"Contact",children:[{key:"contact_id",label:"Contact ID"},{key:"contact_name",label:"Contact Name"},{key:"company_name",label:"Company Name"},{key:"can_show_integration_outlet_info",label:"Can Show Integration Outlet Info",format:"boolean"},{key:"contact_tax_information",label:"Contact Tax Information"},{key:"contact_blocks",label:"Contact Blocks"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"designation",label:"Designation"},{key:"department",label:"Department"},{key:"website",label:"Website",format:"url"},{key:"is_bcy_only_contact",label:"Base Currency Only Contact",format:"boolean"},{key:"is_credit_limit_migration_completed",label:"Credit Limit Migration Completed",format:"boolean"},{key:"language_code",label:"Language Code"},{key:"language_code_formatted",label:"Language Code (Formatted)"},{key:"contact_salutation",label:"Contact Salutation"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"invited_by",label:"Invited By"},{key:"portal_status",label:"Portal Status"},{key:"is_client_review_asked",label:"Client Review Asked",format:"boolean"},{key:"has_transaction",label:"Has Transaction",format:"boolean"},{key:"contact_type",label:"Contact Type"},{key:"customer_sub_type",label:"Customer Sub Type"},{key:"contact_relation_type",label:"Contact Relation Type"},{key:"owner_id",label:"Owner ID"},{key:"owner_name",label:"Owner Name"},{key:"source",label:"Source",format:"number"},{key:"documents",label:"Documents"},{key:"twitter",label:"Twitter"},{key:"facebook",label:"Facebook"},{key:"is_crm_customer",label:"CRM Customer",format:"boolean"},{key:"is_linked_with_zohocrm",label:"Linked With Zoho CRM",format:"boolean"},{key:"is_deleted_in_crm",label:"Deleted In CRM",format:"boolean"},{key:"primary_contact_id",label:"Primary Contact ID"},{key:"zcrm_account_id",label:"Zoho CRM Account ID"},{key:"zcrm_contact_id",label:"Zoho CRM Contact ID"},{key:"crm_owner_id",label:"CRM Owner ID"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"credit_limit_exceeded_amount",label:"Credit Limit Exceeded Amount",format:"currency"},{key:"currency_id",label:"Currency ID"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"can_show_customer_ob",label:"Can Show Customer Opening Balance",format:"boolean"},{key:"can_show_vendor_ob",label:"Can Show Vendor Opening Balance",format:"boolean"},{key:"opening_balance_amount",label:"Opening Balance Amount",format:"currency"},{key:"opening_balance_amount_bcy",label:"Opening Balance Amount (Base Currency)",format:"currency"},{key:"outstanding_ob_receivable_amount",label:"Outstanding Opening Balance Receivable Amount",format:"currency"},{key:"outstanding_ob_payable_amount",label:"Outstanding Opening Balance Payable Amount",format:"currency"},{key:"outstanding_receivable_amount",label:"Outstanding Receivable Amount",format:"currency"},{key:"outstanding_receivable_amount_bcy",label:"Outstanding Receivable Amount (Base Currency)",format:"currency"},{key:"outstanding_payable_amount",label:"Outstanding Payable Amount",format:"currency"},{key:"outstanding_payable_amount_bcy",label:"Outstanding Payable Amount (Base Currency)",format:"currency"},{key:"unused_credits_receivable_amount",label:"Unused Credits Receivable Amount",format:"currency"},{key:"unused_credits_receivable_amount_bcy",label:"Unused Credits Receivable Amount (Base Currency)",format:"currency"},{key:"unused_credits_payable_amount",label:"Unused Credits Payable Amount",format:"currency"},{key:"unused_credits_payable_amount_bcy",label:"Unused Credits Payable Amount (Base Currency)",format:"currency"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"status",label:"Status"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"is_sms_enabled",label:"Sms Enabled",format:"boolean"},{key:"is_consent_agreed",label:"Consent Agreed",format:"boolean"},{key:"consent_date",label:"Consent Date",format:"date"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"pan_no",label:"PAN No"},{key:"trader_name",label:"Trader Name"},{key:"legal_name",label:"Legal Name"},{key:"tax_reg_label",label:"Tax Reg Label"},{key:"udyam_reg_no",label:"Udyam Reg No"},{key:"msme_type",label:"Msme Type"},{key:"is_valid_udyam_no",label:"Valid Udyam No",format:"boolean"},{key:"udyam_validated_time",label:"Udyam Validated Time",format:"datetime"},{key:"udyam_validated_time_formatted",label:"Udyam Validated Time (Formatted)"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"contact_category",label:"Contact Category"},{key:"sales_channel",label:"Sales Channel"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"portal_receipt_count",label:"Portal Receipt Count",format:"number"},{key:"opening_balances",label:"Opening Balances"},{key:"entity_address_id",label:"Entity Address ID"},{key:"billing_address",label:"Billing Address",children:Et},{key:"shipping_address",label:"Shipping Address",children:Et},{key:"contact_persons",label:"Contact Persons",labelKey:"first_name",listItems:gp},{key:"addresses",label:"Addresses"},{key:"pricebook_id",label:"Pricebook ID"},{key:"pricebook_name",label:"Pricebook Name"},{key:"default_templates",label:"Default Templates",children:Js},{key:"associated_with_square",label:"Associated With Square",format:"boolean"},{key:"cards",label:"Cards"},{key:"checks",label:"Checks"},{key:"upi_mandates",label:"Upi Mandates"},{key:"bank_accounts",label:"Bank Accounts"},{key:"vpa_list",label:"Vpa List"},{key:"notes",label:"Notes"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_name",label:"Created By Name"},{key:"created_by_id",label:"Created By ID"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"tags",label:"Tags"},{key:"zohopeople_client_id",label:"Zoho People Client ID"},{key:"networking_status",label:"Networking Status"},{key:"networking_key",label:"Networking Key"},{key:"customer_currency_summaries",label:"Customer Currency Summaries",listItems:Xs},{key:"approvers_list",label:"Approvers List"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"is_multi_match_approval",label:"Multi Match Approval",format:"boolean"},{key:"approval_name",label:"Approval Name"},{key:"approval_path",label:"Approval Path"},{key:"approvers",label:"Approvers"},{key:"note_to_approver",label:"Note To Approver"},{key:"integration_references",label:"Integration References"},{key:"additional_information",label:"Additional Information"},{key:"registration_details",label:"Registration Details"}]}]},Ko={fields:[...F,{key:"contact_person",label:"Contact Person",children:[{key:"contact_id",label:"Contact ID"},{key:"contact_person_id",label:"Contact Person ID"},{key:"zcrm_contact_id",label:"Zoho CRM Contact ID"},{key:"salutation",label:"Salutation"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"mobile_country_code",label:"Mobile Country Code"},{key:"mobile_code_formatted",label:"Mobile Code (Formatted)"},{key:"department",label:"Department"},{key:"designation",label:"Designation"},{key:"skype",label:"Skype"},{key:"fax",label:"Fax"},{key:"is_primary_contact",label:"Primary Contact",format:"boolean"},{key:"is_added_in_portal",label:"Added In Portal",format:"boolean"},{key:"can_invite",label:"Can Invite",format:"boolean"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"updated_time",label:"Updated Time",format:"datetime"},{key:"contactperson_custom_fields",label:"Contactperson Custom Fields"},{key:"communication_preference",label:"Communication Preference",children:Wb}]}]},al={fields:[...F,{key:"payment",label:"Payment",children:[{key:"payment_id",label:"Payment ID"},{key:"payment_number",label:"Payment Number"},{key:"sales_channel",label:"Sales Channel"},{key:"account_identifier",label:"Account Identifier"},{key:"payment_link_id",label:"Payment Link ID"},{key:"created_by",label:"Created By"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"updated_time",label:"Updated Time",format:"datetime"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"payment_number_prefix",label:"Payment Number Prefix"},{key:"payment_number_suffix",label:"Payment Number Suffix"},{key:"documents",label:"Documents"},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"payment_mode",label:"Payment Mode"},{key:"card_type",label:"Card Type"},{key:"date",label:"Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"account_type",label:"Account Type"},{key:"customer_advance_account_id",label:"Customer Advance Account ID"},{key:"customer_advance_account_name",label:"Customer Advance Account Name"},{key:"currency_id",label:"Currency ID"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_code",label:"Currency Code"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"amount",label:"Amount",format:"currency"},{key:"bcy_amount",label:"Base Currency Amount",format:"currency"},{key:"unused_amount",label:"Unused Amount",format:"currency"},{key:"bank_charges",label:"Bank Charges",format:"currency"},{key:"bank_charges_account_id",label:"Bank Charges Account ID"},{key:"bank_charges_account_name",label:"Bank Charges Account Name"},{key:"tax_account_id",label:"Tax Account ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"tax_account_name",label:"Tax Account Name"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"description",label:"Description"},{key:"product_description",label:"Product Description"},{key:"reference_number",label:"Reference Number"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"approvers_list",label:"Approvers List"},{key:"online_transaction_id",label:"Online Transaction ID"},{key:"payment_gateway",label:"Payment Gateway"},{key:"settlement_status",label:"Settlement Status"},{key:"tds_type",label:"TDS Type"},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"is_ondc_channel",label:"Ondc Channel",format:"boolean"},{key:"is_paid_via_check",label:"Paid Via Check",format:"boolean"},{key:"invoices",label:"Invoices",labelKey:"invoice_number",listItems:Kb},{key:"check_details",label:"Check Details",children:bp},{key:"registration_details",label:"Registration Details"},{key:"payment_status",label:"Payment Status"},{key:"tender_id",label:"Tender ID"},{key:"payment_refunds",label:"Payment Refunds"},{key:"deposit_details",label:"Deposit Details"},{key:"last_four_digits",label:"Last Four Digits"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"template_type",label:"Template Type"},{key:"attachment_name",label:"Attachment Name"},{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"can_send_payment_sms",label:"Can Send Payment Sms",format:"boolean"},{key:"is_payment_details_required",label:"Payment Details Required",format:"boolean"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"imported_transactions",label:"Imported Transactions"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"rounding_mode",label:"Rounding Mode"},{key:"tags",label:"Tags"}]}]},Jo={fields:[...F,{key:"payment_refund",label:"Payment Refund",children:[{key:"payment_refund_id",label:"Payment Refund ID"},{key:"payment_id",label:"Payment ID"},{key:"date",label:"Date",format:"date"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"refund_mode",label:"Refund Mode"},{key:"reference_number",label:"Reference Number"},{key:"amount",label:"Amount",format:"currency"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"from_account_id",label:"From Account ID"},{key:"from_account_name",label:"From Account Name"},{key:"description",label:"Description"},{key:"html_string",label:"HTML String",format:"html"},{key:"product_description",label:"Product Description"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"rounding_mode",label:"Rounding Mode"},{key:"price_precision",label:"Price Precision",format:"number"}]}]},lk={fields:[...F,{key:"invoice",label:"Invoice",children:[{key:"invoice_id",label:"Invoice ID"},{key:"channel_invoice_id",label:"Channel Invoice ID"},{key:"account_identifier",label:"Account Identifier"},{key:"invoice_number",label:"Invoice Number"},{key:"invoice_number_prefix",label:"Invoice Number Prefix"},{key:"invoice_number_suffix",label:"Invoice Number Suffix"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"issued_date",label:"Issued Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"customer_custom_fields",label:"Customer Custom Fields"},{key:"customer_custom_field_hash",label:"Customer Custom Fields",dynamicKey:!0},{key:"email",label:"Email",format:"email"},{key:"currency_id",label:"Currency ID"},{key:"currency_formatter",label:"Currency Formatter",children:qo},{key:"invoice_source",label:"Invoice Source"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_name_formatted",label:"Currency Name (Formatted)"},{key:"status",label:"Status"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"recurring_invoice_id",label:"Recurring Invoice ID"},{key:"is_last_child_invoice",label:"Last Child Invoice",format:"boolean"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"invoice_installments",label:"Invoice Installments"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"payment_made",label:"Payment Made",format:"currency"},{key:"zcrm_potential_id",label:"Zoho CRM Potential ID"},{key:"zcrm_potential_name",label:"Zoho CRM Potential Name"},{key:"reference_number",label:"Reference Number"},{key:"discount_code",label:"Discount Code"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"is_progress_invoice",label:"Progress Invoice",format:"boolean"},{key:"can_show_kit_return",label:"Can Show Kit Return",format:"boolean"},{key:"is_kit_partial_return",label:"Kit Partial Return",format:"boolean"},{key:"show_convert_to_package",label:"Show Convert To Package",format:"boolean"},{key:"show_convert_to_shipment",label:"Show Convert To Shipment",format:"boolean"},{key:"line_items",label:"Line Items",labelKey:"name",listItems:kp},{key:"total_retention_amount",label:"Total Retention Amount",format:"currency"},{key:"retention_items",label:"Retention Items"},{key:"retention_override_preference",label:"Retention Override Preference"},{key:"credits_associated",label:"Credits Associated"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"is_autobill_enabled",label:"Autobill Enabled",format:"boolean"},{key:"inprocess_transaction_present",label:"Inprocess Transaction Present",format:"boolean"},{key:"allow_partial_payments",label:"Allow Partial Payments",format:"boolean"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"sub_total",label:"Sub Total",format:"currency"},{key:"tax_total",label:"Tax Total",format:"currency"},{key:"total_taxable_amount",label:"Total Taxable Amount",format:"currency"},{key:"discount_total",label:"Discount Total",format:"number"},{key:"discount_percent",label:"Discount Percent",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discount_applied_on_amount",label:"Discount Applied On Amount",format:"number"},{key:"discount_type",label:"Discount Type"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"adjustment_account_id",label:"Adjustment Account ID"},{key:"adjustment_account_name",label:"Adjustment Account Name"},{key:"tds_override_preference",label:"TDS Override Preference"},{key:"is_discount_before_tax",label:"Discount Before Tax",format:"boolean"},{key:"adjustment",label:"Adjustment",format:"currency"},{key:"adjustment_description",label:"Adjustment Description"},{key:"shipping_charge_tax_id",label:"Shipping Charge Tax ID"},{key:"shipping_charge_tax_name",label:"Shipping Charge Tax Name"},{key:"shipping_charge_tax_type",label:"Shipping Charge Tax Type"},{key:"shipping_charge_tax_percentage",label:"Shipping Charge Tax Percentage"},{key:"shipping_charge_tax_exemption_id",label:"Shipping Charge Tax Exemption ID"},{key:"shipping_charge_tax_exemption_code",label:"Shipping Charge Tax Exemption Code"},{key:"shipping_charge_tax",label:"Shipping Charge Tax"},{key:"bcy_shipping_charge_tax",label:"Base Currency Shipping Charge Tax"},{key:"shipping_charge_exclusive_of_tax",label:"Shipping Charge Exclusive Of Tax",format:"number"},{key:"shipping_charge_inclusive_of_tax",label:"Shipping Charge Inclusive Of Tax",format:"number"},{key:"shipping_charge_tax_formatted",label:"Shipping Charge Tax (Formatted)"},{key:"shipping_charge_exclusive_of_tax_formatted",label:"Shipping Charge Exclusive Of Tax (Formatted)"},{key:"shipping_charge_inclusive_of_tax_formatted",label:"Shipping Charge Inclusive Of Tax (Formatted)"},{key:"shipping_charge_account_id",label:"Shipping Charge Account ID"},{key:"shipping_charge_account_name",label:"Shipping Charge Account Name"},{key:"shipping_charge",label:"Shipping Charge",format:"currency"},{key:"bcy_shipping_charge",label:"Base Currency Shipping Charge",format:"currency"},{key:"bcy_adjustment",label:"Base Currency Adjustment",format:"currency"},{key:"bcy_sub_total",label:"Base Currency Sub Total",format:"currency"},{key:"bcy_discount_total",label:"Base Currency Discount Total",format:"number"},{key:"bcy_tax_total",label:"Base Currency Tax Total",format:"currency"},{key:"bcy_total",label:"Base Currency Total",format:"currency"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"write_off_amount",label:"Write Off Amount",format:"currency"},{key:"roundoff_value",label:"Roundoff Value",format:"number"},{key:"transaction_rounding_type",label:"Transaction Rounding Type"},{key:"rounding_mode",label:"Rounding Mode"},{key:"bcy_rounding_mode",label:"Base Currency Rounding Mode"},{key:"is_inclusive_tax",label:"Inclusive Tax",format:"boolean"},{key:"sub_total_inclusive_of_tax",label:"Sub Total Inclusive Of Tax",format:"number"},{key:"contact_category",label:"Contact Category"},{key:"tax_rounding",label:"Tax Rounding"},{key:"taxes",label:"Taxes"},{key:"shipping_charge_taxes",label:"Shipping Charge Taxes"},{key:"exceptions",label:"Exceptions"},{key:"tds_calculation_type",label:"TDS Calculation Type"},{key:"can_send_invoice_sms",label:"Can Send Invoice Sms",format:"boolean"},{key:"payment_expected_date",label:"Payment Expected Date",format:"date"},{key:"payment_discount",label:"Payment Discount",format:"number"},{key:"stop_reminder_until_payment_expected_date",label:"Stop Reminder Until Payment Expected Date",format:"boolean"},{key:"last_payment_date",label:"Last Payment Date",format:"date"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"ach_payment_initiated",label:"Ach Payment Initiated",format:"boolean"},{key:"payment_options",label:"Payment Options",children:Zo},{key:"reader_offline_payment_initiated",label:"Reader Offline Payment Initiated",format:"boolean"},{key:"contact_persons",label:"Contact Persons"},{key:"contact_persons_associated",label:"Contact Persons Associated"},{key:"attachment_name",label:"Attachment Name"},{key:"documents",label:"Documents"},{key:"computation_type",label:"Computation Type"},{key:"tds_summary",label:"TDS Summary"},{key:"debit_notes",label:"Debit Notes"},{key:"in_process_payments",label:"In Process Payments"},{key:"deliverychallans",label:"Deliverychallans"},{key:"ewaybills",label:"Ewaybills"},{key:"dispatch_from_address",label:"Dispatch From Address"},{key:"is_eway_bill_required",label:"Eway Bill Required",format:"boolean"},{key:"can_generate_ewaybill_using_irn",label:"Can Generate E-Way Bill Using IRN",format:"boolean"},{key:"merchant_id",label:"Merchant ID"},{key:"merchant_name",label:"Merchant Name"},{key:"ecomm_operator_id",label:"Ecomm Operator ID"},{key:"ecomm_operator_name",label:"Ecomm Operator Name"},{key:"salesorder_id",label:"Sales Order ID"},{key:"salesorder_number",label:"Sales Order Number"},{key:"salesorders",label:"Sales Orders",listItems:[{key:"salesorder_id",label:"Sales Order ID"},{key:"salesorder_number",label:"Sales Order Number"},{key:"reference_number",label:"Reference Number"},{key:"salesorder_order_status",label:"Sales Order Order Status"},{key:"order_sub_status",label:"Order Sub Status"},{key:"order_sub_status_id",label:"Order Sub Status ID"},{key:"total",label:"Total",format:"currency"},{key:"sub_total",label:"Sub Total",format:"currency"},{key:"date",label:"Date",format:"date"},{key:"shipment_date",label:"Shipment Date",format:"date"}]},{key:"packages",label:"Packages"},{key:"shipping_bills",label:"Shipping Bills"},{key:"contact_persons_details",label:"Contact Persons Details",labelKey:"first_name",listItems:Ys},{key:"contact",label:"Contact",children:Vo},{key:"salesperson_id",label:"Salesperson ID"},{key:"salesperson_name",label:"Salesperson Name"},{key:"is_emailed",label:"Emailed",format:"boolean"},{key:"reminders_sent",label:"Reminders Sent",format:"number"},{key:"last_reminder_sent_date",label:"Last Reminder Sent Date",format:"date"},{key:"next_reminder_date_formatted",label:"Next Reminder Date (Formatted)"},{key:"is_viewed_by_client",label:"Viewed By Client",format:"boolean"},{key:"client_viewed_time",label:"Client Viewed Time",format:"datetime"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"template_type",label:"Template Type"},{key:"notes",label:"Notes"},{key:"terms",label:"Terms"},{key:"billing_address",label:"Billing Address",children:Ye},{key:"shipping_address",label:"Shipping Address",children:Ye},{key:"invoice_url",label:"Invoice URL",format:"url"},{key:"subject_content",label:"Subject Content"},{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_id",label:"Created By ID"},{key:"created_by_name",label:"Created By Name"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"is_backorder",label:"Backorder",format:"boolean"},{key:"sales_channel",label:"Sales Channel"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"type",label:"Type"},{key:"color_code",label:"Color Code"},{key:"current_sub_status_id",label:"Current Sub Status ID"},{key:"current_sub_status",label:"Current Sub Status"},{key:"sub_statuses",label:"Sub Statuses"},{key:"reason_for_debit_note",label:"Reason For Debit Note"},{key:"estimate_id",label:"Estimate ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"credits_applied",label:"Credits Applied",format:"currency"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"schedule_time",label:"Schedule Time",format:"datetime"},{key:"no_of_copies",label:"No Of Copies",format:"number"},{key:"show_no_of_copies",label:"Show No Of Copies",format:"boolean"},{key:"customer_default_billing_address",label:"Customer Default Billing Address",children:Qs},{key:"reference_invoice",label:"Reference Invoice",children:Ho},{key:"includes_package_tracking_info",label:"Includes Package Tracking Info",format:"boolean"},{key:"approvers_list",label:"Approvers List"},{key:"qr_code",label:"QR Code",children:Go},{key:"networking",label:"Networking",children:ra},{key:"tags",label:"Tags"},{key:"exchange_invoices",label:"Exchange Invoices"},{key:"registration_details",label:"Registration Details"}]}]},il={fields:[...F,{key:"invoice",label:"Invoice",children:[{key:"invoice_id",label:"Invoice ID"},{key:"channel_invoice_id",label:"Channel Invoice ID"},{key:"account_identifier",label:"Account Identifier"},{key:"invoice_number",label:"Invoice Number"},{key:"invoice_number_prefix",label:"Invoice Number Prefix"},{key:"invoice_number_suffix",label:"Invoice Number Suffix"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"issued_date",label:"Issued Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"customer_custom_fields",label:"Customer Custom Fields"},{key:"customer_custom_field_hash",label:"Customer Custom Fields",dynamicKey:!0},{key:"email",label:"Email",format:"email"},{key:"currency_id",label:"Currency ID"},{key:"currency_formatter",label:"Currency Formatter",children:qo},{key:"invoice_source",label:"Invoice Source"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_name_formatted",label:"Currency Name (Formatted)"},{key:"status",label:"Status"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"recurring_invoice_id",label:"Recurring Invoice ID"},{key:"is_last_child_invoice",label:"Last Child Invoice",format:"boolean"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"invoice_installments",label:"Invoice Installments"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"payment_made",label:"Payment Made",format:"currency"},{key:"zcrm_potential_id",label:"Zoho CRM Potential ID"},{key:"zcrm_potential_name",label:"Zoho CRM Potential Name"},{key:"reference_number",label:"Reference Number"},{key:"discount_code",label:"Discount Code"},{key:"is_inventory_valuation_pending",label:"Inventory Valuation Pending",format:"boolean"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"is_progress_invoice",label:"Progress Invoice",format:"boolean"},{key:"can_show_kit_return",label:"Can Show Kit Return",format:"boolean"},{key:"is_kit_partial_return",label:"Kit Partial Return",format:"boolean"},{key:"show_convert_to_package",label:"Show Convert To Package",format:"boolean"},{key:"show_convert_to_shipment",label:"Show Convert To Shipment",format:"boolean"},{key:"line_items",label:"Line Items",labelKey:"name",listItems:kp},{key:"total_retention_amount",label:"Total Retention Amount",format:"currency"},{key:"retention_items",label:"Retention Items"},{key:"retention_override_preference",label:"Retention Override Preference"},{key:"credits_associated",label:"Credits Associated"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"is_autobill_enabled",label:"Autobill Enabled",format:"boolean"},{key:"inprocess_transaction_present",label:"Inprocess Transaction Present",format:"boolean"},{key:"allow_partial_payments",label:"Allow Partial Payments",format:"boolean"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"sub_total",label:"Sub Total",format:"currency"},{key:"tax_total",label:"Tax Total",format:"currency"},{key:"total_taxable_amount",label:"Total Taxable Amount",format:"currency"},{key:"discount_total",label:"Discount Total",format:"number"},{key:"discount_percent",label:"Discount Percent",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discount_applied_on_amount",label:"Discount Applied On Amount",format:"number"},{key:"discount_type",label:"Discount Type"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"adjustment_account_id",label:"Adjustment Account ID"},{key:"adjustment_account_name",label:"Adjustment Account Name"},{key:"tds_override_preference",label:"TDS Override Preference"},{key:"is_discount_before_tax",label:"Discount Before Tax",format:"boolean"},{key:"adjustment",label:"Adjustment",format:"currency"},{key:"adjustment_description",label:"Adjustment Description"},{key:"shipping_charge_tax_id",label:"Shipping Charge Tax ID"},{key:"shipping_charge_tax_name",label:"Shipping Charge Tax Name"},{key:"shipping_charge_tax_type",label:"Shipping Charge Tax Type"},{key:"shipping_charge_tax_percentage",label:"Shipping Charge Tax Percentage"},{key:"shipping_charge_tax_exemption_id",label:"Shipping Charge Tax Exemption ID"},{key:"shipping_charge_tax_exemption_code",label:"Shipping Charge Tax Exemption Code"},{key:"shipping_charge_tax",label:"Shipping Charge Tax"},{key:"bcy_shipping_charge_tax",label:"Base Currency Shipping Charge Tax"},{key:"shipping_charge_exclusive_of_tax",label:"Shipping Charge Exclusive Of Tax",format:"number"},{key:"shipping_charge_inclusive_of_tax",label:"Shipping Charge Inclusive Of Tax",format:"number"},{key:"shipping_charge_tax_formatted",label:"Shipping Charge Tax (Formatted)"},{key:"shipping_charge_exclusive_of_tax_formatted",label:"Shipping Charge Exclusive Of Tax (Formatted)"},{key:"shipping_charge_inclusive_of_tax_formatted",label:"Shipping Charge Inclusive Of Tax (Formatted)"},{key:"shipping_charge_account_id",label:"Shipping Charge Account ID"},{key:"shipping_charge_account_name",label:"Shipping Charge Account Name"},{key:"shipping_charge",label:"Shipping Charge",format:"currency"},{key:"bcy_shipping_charge",label:"Base Currency Shipping Charge",format:"currency"},{key:"bcy_adjustment",label:"Base Currency Adjustment",format:"currency"},{key:"bcy_sub_total",label:"Base Currency Sub Total",format:"currency"},{key:"bcy_discount_total",label:"Base Currency Discount Total",format:"number"},{key:"bcy_tax_total",label:"Base Currency Tax Total",format:"currency"},{key:"bcy_total",label:"Base Currency Total",format:"currency"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"write_off_amount",label:"Write Off Amount",format:"currency"},{key:"roundoff_value",label:"Roundoff Value",format:"number"},{key:"transaction_rounding_type",label:"Transaction Rounding Type"},{key:"rounding_mode",label:"Rounding Mode"},{key:"bcy_rounding_mode",label:"Base Currency Rounding Mode"},{key:"is_inclusive_tax",label:"Inclusive Tax",format:"boolean"},{key:"sub_total_inclusive_of_tax",label:"Sub Total Inclusive Of Tax",format:"number"},{key:"contact_category",label:"Contact Category"},{key:"tax_rounding",label:"Tax Rounding"},{key:"taxes",label:"Taxes"},{key:"shipping_charge_taxes",label:"Shipping Charge Taxes"},{key:"exceptions",label:"Exceptions"},{key:"tds_calculation_type",label:"TDS Calculation Type"},{key:"can_send_invoice_sms",label:"Can Send Invoice Sms",format:"boolean"},{key:"payment_expected_date",label:"Payment Expected Date",format:"date"},{key:"payment_discount",label:"Payment Discount",format:"number"},{key:"stop_reminder_until_payment_expected_date",label:"Stop Reminder Until Payment Expected Date",format:"boolean"},{key:"last_payment_date",label:"Last Payment Date",format:"date"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"ach_payment_initiated",label:"Ach Payment Initiated",format:"boolean"},{key:"payment_options",label:"Payment Options",children:Zo},{key:"reader_offline_payment_initiated",label:"Reader Offline Payment Initiated",format:"boolean"},{key:"contact_persons",label:"Contact Persons"},{key:"contact_persons_associated",label:"Contact Persons Associated"},{key:"attachment_name",label:"Attachment Name"},{key:"documents",label:"Documents"},{key:"computation_type",label:"Computation Type"},{key:"tds_summary",label:"TDS Summary"},{key:"debit_notes",label:"Debit Notes"},{key:"in_process_payments",label:"In Process Payments"},{key:"deliverychallans",label:"Deliverychallans"},{key:"ewaybills",label:"Ewaybills"},{key:"dispatch_from_address",label:"Dispatch From Address"},{key:"is_eway_bill_required",label:"Eway Bill Required",format:"boolean"},{key:"can_generate_ewaybill_using_irn",label:"Can Generate E-Way Bill Using IRN",format:"boolean"},{key:"merchant_id",label:"Merchant ID"},{key:"merchant_name",label:"Merchant Name"},{key:"ecomm_operator_id",label:"Ecomm Operator ID"},{key:"ecomm_operator_name",label:"Ecomm Operator Name"},{key:"salesorder_id",label:"Sales Order ID"},{key:"salesorder_number",label:"Sales Order Number"},{key:"salesorders",label:"Sales Orders"},{key:"packages",label:"Packages"},{key:"shipping_bills",label:"Shipping Bills"},{key:"contact_persons_details",label:"Contact Persons Details",labelKey:"first_name",listItems:Ys},{key:"contact",label:"Contact",children:Vo},{key:"salesperson_id",label:"Salesperson ID"},{key:"salesperson_name",label:"Salesperson Name"},{key:"is_emailed",label:"Emailed",format:"boolean"},{key:"reminders_sent",label:"Reminders Sent",format:"number"},{key:"last_reminder_sent_date",label:"Last Reminder Sent Date",format:"date"},{key:"next_reminder_date_formatted",label:"Next Reminder Date (Formatted)"},{key:"is_viewed_by_client",label:"Viewed By Client",format:"boolean"},{key:"client_viewed_time",label:"Client Viewed Time",format:"datetime"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"template_type",label:"Template Type"},{key:"notes",label:"Notes"},{key:"terms",label:"Terms"},{key:"billing_address",label:"Billing Address",children:Ye},{key:"shipping_address",label:"Shipping Address",children:Ye},{key:"invoice_url",label:"Invoice URL",format:"url"},{key:"subject_content",label:"Subject Content"},{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_id",label:"Created By ID"},{key:"created_by_name",label:"Created By Name"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"is_backorder",label:"Backorder",format:"boolean"},{key:"sales_channel",label:"Sales Channel"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"type",label:"Type"},{key:"color_code",label:"Color Code"},{key:"current_sub_status_id",label:"Current Sub Status ID"},{key:"current_sub_status",label:"Current Sub Status"},{key:"sub_statuses",label:"Sub Statuses"},{key:"reason_for_debit_note",label:"Reason For Debit Note"},{key:"estimate_id",label:"Estimate ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"credits_applied",label:"Credits Applied",format:"currency"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"schedule_time",label:"Schedule Time",format:"datetime"},{key:"no_of_copies",label:"No Of Copies",format:"number"},{key:"show_no_of_copies",label:"Show No Of Copies",format:"boolean"},{key:"customer_default_billing_address",label:"Customer Default Billing Address",children:Qs},{key:"reference_invoice",label:"Reference Invoice",children:Ho},{key:"includes_package_tracking_info",label:"Includes Package Tracking Info",format:"boolean"},{key:"approvers_list",label:"Approvers List"},{key:"qr_code",label:"QR Code",children:Go},{key:"networking",label:"Networking",children:ra},{key:"tags",label:"Tags"},{key:"exchange_invoices",label:"Exchange Invoices"},{key:"registration_details",label:"Registration Details"}]}]},ck={fields:[...F,{key:"data",label:"Data",children:[{key:"share_link",label:"Share Link",format:"url"}]}]},qe={fields:[...F,{key:"data",label:"Data"}]},uk={fields:[...F,{key:"invoice",label:"Invoice",children:[{key:"invoice_id",label:"Invoice ID"},{key:"channel_invoice_id",label:"Channel Invoice ID"},{key:"account_identifier",label:"Account Identifier"},{key:"invoice_number",label:"Invoice Number"},{key:"invoice_number_prefix",label:"Invoice Number Prefix"},{key:"invoice_number_suffix",label:"Invoice Number Suffix"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"issued_date",label:"Issued Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"customer_custom_fields",label:"Customer Custom Fields"},{key:"customer_custom_field_hash",label:"Customer Custom Fields",dynamicKey:!0},{key:"email",label:"Email",format:"email"},{key:"currency_id",label:"Currency ID"},{key:"currency_formatter",label:"Currency Formatter",children:qo},{key:"invoice_source",label:"Invoice Source"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_name_formatted",label:"Currency Name (Formatted)"},{key:"status",label:"Status"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"recurring_invoice_id",label:"Recurring Invoice ID"},{key:"is_last_child_invoice",label:"Last Child Invoice",format:"boolean"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"invoice_installments",label:"Invoice Installments"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"payment_made",label:"Payment Made",format:"currency"},{key:"zcrm_potential_id",label:"Zoho CRM Potential ID"},{key:"zcrm_potential_name",label:"Zoho CRM Potential Name"},{key:"reference_number",label:"Reference Number"},{key:"discount_code",label:"Discount Code"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"is_progress_invoice",label:"Progress Invoice",format:"boolean"},{key:"can_show_kit_return",label:"Can Show Kit Return",format:"boolean"},{key:"is_kit_partial_return",label:"Kit Partial Return",format:"boolean"},{key:"show_convert_to_package",label:"Show Convert To Package",format:"boolean"},{key:"show_convert_to_shipment",label:"Show Convert To Shipment",format:"boolean"},{key:"line_items",label:"Line Items",labelKey:"name",listItems:[{key:"line_item_id",label:"Line Item ID"},{key:"item_id",label:"Item ID"},{key:"item_order",label:"Item Order",format:"number"},{key:"name",label:"Name"},{key:"internal_name",label:"Internal Name"},{key:"description",label:"Description"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"unit",label:"Unit"},{key:"quantity",label:"Quantity",format:"number"},{key:"discount_amount",label:"Discount Amount",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discounts",label:"Discounts"},{key:"bcy_rate",label:"Base Currency Rate",format:"currency"},{key:"rate",label:"Rate",format:"currency"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"header_id",label:"Header ID"},{key:"header_name",label:"Header Name"},{key:"pricebook_id",label:"Pricebook ID"},{key:"tax_id",label:"Tax ID"},{key:"tax_name",label:"Tax Name"},{key:"tax_type",label:"Tax Type"},{key:"tax_percentage",label:"Tax Percentage",format:"number"},{key:"item_total",label:"Item Total",format:"currency"},{key:"item_custom_fields",label:"Item Custom Fields"},{key:"pricing_scheme",label:"Pricing Scheme"},{key:"tags",label:"Tags"},{key:"documents",label:"Documents"},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"tds_tax_name",label:"TDS Tax Name"},{key:"tds_tax_percentage",label:"TDS Tax Percentage"},{key:"tds_tax_amount",label:"TDS Tax Amount",format:"currency"},{key:"line_item_taxes",label:"Line Item Taxes"},{key:"line_item_tds",label:"Line Item TDS"},{key:"bill_id",label:"Bill ID"},{key:"bill_item_id",label:"Bill Item ID"},{key:"project_id",label:"Project ID"},{key:"project_name",label:"Project Name"},{key:"time_entry_ids",label:"Time Entry IDs"},{key:"expense_id",label:"Expense ID"},{key:"item_type",label:"Item Type"},{key:"expense_receipt_name",label:"Expense Receipt Name"},{key:"sales_rate",label:"Sales Rate",format:"currency"},{key:"purchase_rate",label:"Purchase Rate",format:"currency"},{key:"salesorder_item_id",label:"Sales Order Item ID"},{key:"cost_amount",label:"Cost Amount",format:"currency"},{key:"markup_percent",label:"Markup Percent",format:"number"},{key:"item_code",label:"Item Code"},{key:"mapped_items",label:"Mapped Items"},{key:"is_modifier_item",label:"Modifier Item",format:"boolean"},{key:"line_item_category",label:"Line Item Category"}]},{key:"total_retention_amount",label:"Total Retention Amount",format:"currency"},{key:"retention_items",label:"Retention Items"},{key:"retention_override_preference",label:"Retention Override Preference"},{key:"credits_associated",label:"Credits Associated"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"is_autobill_enabled",label:"Autobill Enabled",format:"boolean"},{key:"inprocess_transaction_present",label:"Inprocess Transaction Present",format:"boolean"},{key:"allow_partial_payments",label:"Allow Partial Payments",format:"boolean"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"sub_total",label:"Sub Total",format:"currency"},{key:"tax_total",label:"Tax Total",format:"currency"},{key:"total_taxable_amount",label:"Total Taxable Amount",format:"currency"},{key:"discount_total",label:"Discount Total",format:"number"},{key:"discount_percent",label:"Discount Percent",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discount_applied_on_amount",label:"Discount Applied On Amount",format:"number"},{key:"discount_type",label:"Discount Type"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"adjustment_account_id",label:"Adjustment Account ID"},{key:"adjustment_account_name",label:"Adjustment Account Name"},{key:"tds_override_preference",label:"TDS Override Preference"},{key:"is_discount_before_tax",label:"Discount Before Tax",format:"boolean"},{key:"adjustment",label:"Adjustment",format:"currency"},{key:"adjustment_description",label:"Adjustment Description"},{key:"shipping_charge_tax_id",label:"Shipping Charge Tax ID"},{key:"shipping_charge_tax_name",label:"Shipping Charge Tax Name"},{key:"shipping_charge_tax_type",label:"Shipping Charge Tax Type"},{key:"shipping_charge_tax_percentage",label:"Shipping Charge Tax Percentage"},{key:"shipping_charge_tax_exemption_id",label:"Shipping Charge Tax Exemption ID"},{key:"shipping_charge_tax_exemption_code",label:"Shipping Charge Tax Exemption Code"},{key:"shipping_charge_tax",label:"Shipping Charge Tax"},{key:"bcy_shipping_charge_tax",label:"Base Currency Shipping Charge Tax"},{key:"shipping_charge_exclusive_of_tax",label:"Shipping Charge Exclusive Of Tax",format:"number"},{key:"shipping_charge_inclusive_of_tax",label:"Shipping Charge Inclusive Of Tax",format:"number"},{key:"shipping_charge_tax_formatted",label:"Shipping Charge Tax (Formatted)"},{key:"shipping_charge_exclusive_of_tax_formatted",label:"Shipping Charge Exclusive Of Tax (Formatted)"},{key:"shipping_charge_inclusive_of_tax_formatted",label:"Shipping Charge Inclusive Of Tax (Formatted)"},{key:"shipping_charge_account_id",label:"Shipping Charge Account ID"},{key:"shipping_charge_account_name",label:"Shipping Charge Account Name"},{key:"shipping_charge",label:"Shipping Charge",format:"currency"},{key:"bcy_shipping_charge",label:"Base Currency Shipping Charge",format:"currency"},{key:"bcy_adjustment",label:"Base Currency Adjustment",format:"currency"},{key:"bcy_sub_total",label:"Base Currency Sub Total",format:"currency"},{key:"bcy_discount_total",label:"Base Currency Discount Total",format:"number"},{key:"bcy_tax_total",label:"Base Currency Tax Total",format:"currency"},{key:"bcy_total",label:"Base Currency Total",format:"currency"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"write_off_amount",label:"Write Off Amount",format:"currency"},{key:"roundoff_value",label:"Roundoff Value",format:"number"},{key:"transaction_rounding_type",label:"Transaction Rounding Type"},{key:"rounding_mode",label:"Rounding Mode"},{key:"bcy_rounding_mode",label:"Base Currency Rounding Mode"},{key:"is_inclusive_tax",label:"Inclusive Tax",format:"boolean"},{key:"sub_total_inclusive_of_tax",label:"Sub Total Inclusive Of Tax",format:"number"},{key:"contact_category",label:"Contact Category"},{key:"tax_rounding",label:"Tax Rounding"},{key:"taxes",label:"Taxes"},{key:"shipping_charge_taxes",label:"Shipping Charge Taxes"},{key:"exceptions",label:"Exceptions"},{key:"tds_calculation_type",label:"TDS Calculation Type"},{key:"can_send_invoice_sms",label:"Can Send Invoice Sms",format:"boolean"},{key:"payment_expected_date",label:"Payment Expected Date",format:"date"},{key:"payment_discount",label:"Payment Discount",format:"number"},{key:"stop_reminder_until_payment_expected_date",label:"Stop Reminder Until Payment Expected Date",format:"boolean"},{key:"last_payment_date",label:"Last Payment Date",format:"date"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"ach_payment_initiated",label:"Ach Payment Initiated",format:"boolean"},{key:"payment_options",label:"Payment Options",children:Zo},{key:"reader_offline_payment_initiated",label:"Reader Offline Payment Initiated",format:"boolean"},{key:"contact_persons",label:"Contact Persons"},{key:"contact_persons_associated",label:"Contact Persons Associated"},{key:"attachment_name",label:"Attachment Name"},{key:"documents",label:"Documents"},{key:"computation_type",label:"Computation Type"},{key:"tds_summary",label:"TDS Summary"},{key:"debit_notes",label:"Debit Notes"},{key:"in_process_payments",label:"In Process Payments"},{key:"deliverychallans",label:"Deliverychallans"},{key:"ewaybills",label:"Ewaybills"},{key:"dispatch_from_address",label:"Dispatch From Address"},{key:"is_eway_bill_required",label:"Eway Bill Required",format:"boolean"},{key:"can_generate_ewaybill_using_irn",label:"Can Generate E-Way Bill Using IRN",format:"boolean"},{key:"merchant_id",label:"Merchant ID"},{key:"merchant_name",label:"Merchant Name"},{key:"ecomm_operator_id",label:"Ecomm Operator ID"},{key:"ecomm_operator_name",label:"Ecomm Operator Name"},{key:"salesorder_id",label:"Sales Order ID"},{key:"salesorder_number",label:"Sales Order Number"},{key:"salesorders",label:"Sales Orders"},{key:"packages",label:"Packages"},{key:"shipping_bills",label:"Shipping Bills"},{key:"contact_persons_details",label:"Contact Persons Details"},{key:"contact",label:"Contact",children:Vo},{key:"salesperson_id",label:"Salesperson ID"},{key:"salesperson_name",label:"Salesperson Name"},{key:"is_emailed",label:"Emailed",format:"boolean"},{key:"reminders_sent",label:"Reminders Sent",format:"number"},{key:"last_reminder_sent_date",label:"Last Reminder Sent Date",format:"date"},{key:"next_reminder_date_formatted",label:"Next Reminder Date (Formatted)"},{key:"is_viewed_by_client",label:"Viewed By Client",format:"boolean"},{key:"client_viewed_time",label:"Client Viewed Time",format:"datetime"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"template_type",label:"Template Type"},{key:"notes",label:"Notes"},{key:"terms",label:"Terms"},{key:"billing_address",label:"Billing Address",children:Ye},{key:"shipping_address",label:"Shipping Address",children:Ye},{key:"invoice_url",label:"Invoice URL",format:"url"},{key:"subject_content",label:"Subject Content"},{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_id",label:"Created By ID"},{key:"created_by_name",label:"Created By Name"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"is_backorder",label:"Backorder",format:"boolean"},{key:"sales_channel",label:"Sales Channel"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"type",label:"Type"},{key:"color_code",label:"Color Code"},{key:"current_sub_status_id",label:"Current Sub Status ID"},{key:"current_sub_status",label:"Current Sub Status"},{key:"sub_statuses",label:"Sub Statuses"},{key:"reason_for_debit_note",label:"Reason For Debit Note"},{key:"estimate_id",label:"Estimate ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"credits_applied",label:"Credits Applied",format:"currency"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"schedule_time",label:"Schedule Time",format:"datetime"},{key:"no_of_copies",label:"No Of Copies",format:"number"},{key:"show_no_of_copies",label:"Show No Of Copies",format:"boolean"},{key:"customer_default_billing_address",label:"Customer Default Billing Address"},{key:"reference_invoice",label:"Reference Invoice",children:Ho},{key:"includes_package_tracking_info",label:"Includes Package Tracking Info",format:"boolean"},{key:"approvers_list",label:"Approvers List"},{key:"qr_code",label:"QR Code",children:Go},{key:"networking",label:"Networking",children:ra},{key:"tags",label:"Tags"},{key:"exchange_invoices",label:"Exchange Invoices"},{key:"registration_details",label:"Registration Details"}]}]},sl={fields:[...F,{key:"organization_address",label:"Organization Address",children:[{key:"organization_address_id",label:"Organization Address ID"},{key:"attention",label:"Attention"},{key:"address",label:"Address"},{key:"address1",label:"Address1"},{key:"address2",label:"Address2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"country",label:"Country"},{key:"zip",label:"Zip"},{key:"phone",label:"Phone"}]}]},dk={fields:[{key:"customerpayments",label:"Customerpayments",listItems:[{key:"code",label:"Response Code",format:"number"},{key:"message",label:"Message"},{key:"payment_id",label:"Payment ID"}]}]},mk={fields:[...F,{key:"is_first_email",label:"First Email",format:"boolean"}]},Ie={fields:[{key:"file",label:"File",format:"url"},{key:"contentType",label:"ContentType"}]},pk={fields:[...F,{key:"data",label:"Data",children:[{key:"contact_name",label:"Contact Name"},{key:"from_email",label:"From Email",format:"email"},{key:"subject",label:"Subject"},{key:"from_emails",label:"From Emails",labelKey:"email",listItems:Wo},{key:"contact_id",label:"Contact ID"},{key:"body",label:"Body",format:"html"},{key:"to_contacts",label:"To Contacts",labelKey:"first_name",listItems:[{key:"last_name",label:"Last Name"},{key:"contact_person_id",label:"Contact Person ID"},{key:"salutation",label:"Salutation"},{key:"first_name",label:"First Name"},{key:"email",label:"Email",format:"email"},{key:"selected",label:"Selected",format:"boolean"}]}]}]},yk={fields:[...F,{key:"data",label:"Data",children:[{key:"contact_name",label:"Contact Name"},{key:"file_name_without_extension",label:"File Name Without Extension"},{key:"from_email",label:"From Email",format:"email"},{key:"signature",label:"Signature"},{key:"file_name",label:"File Name"},{key:"error_list",label:"Error List"},{key:"from_emails",label:"From Emails",labelKey:"email",listItems:Wo},{key:"contact_id",label:"Contact ID"},{key:"to_contacts",label:"To Contacts",labelKey:"first_name",listItems:na}]}]},fk={fields:[...F,{key:"incomeandexpense",label:"Incomeandexpense",children:[{key:"total",label:"Total",format:"currency",children:[{key:"income_total",label:"Income Total",format:"currency"},{key:"receipts_total",label:"Receipts Total",format:"currency"},{key:"expense_total",label:"Expense Total",format:"currency"}]},{key:"income_and_expense",label:"Income And Expense",listItems:Jb},{key:"is_data_exists",label:"Data Exists",format:"boolean"}]},{key:"page_context",label:"Page Context",children:[{key:"customer_name",label:"Customer Name"},{key:"applied_filter",label:"Applied Filter"},{key:"from_date",label:"From Date",format:"date"},{key:"to_date",label:"To Date",format:"date"}]}]},hk={fields:[...F,{key:"inventory_summary",label:"Inventory Summary",children:[{key:"sales_summary",label:"Sales Summary",children:[{key:"qty_to_be_packed",label:"Quantity To Be Packed",format:"number"},{key:"qty_to_be_shipped",label:"Quantity To Be Shipped",format:"number"},{key:"qty_to_be_invoiced",label:"Quantity To Be Invoiced",format:"number"}]},{key:"purchase_summary",label:"Purchase Summary",children:[{key:"total_qty_ordered",label:"Total Quantity Ordered",format:"number"},{key:"qty_to_be_received",label:"Quantity To Be Received",format:"number"},{key:"total_cost",label:"Total Cost",format:"number"}]}]}]},_k={fields:[...F,{key:"opening_balance_details",label:"Opening Balance Details",children:[{key:"total_outstanding_opening_balances",label:"Total Outstanding Opening Balances",format:"number"},{key:"opening_balances",label:"Opening Balances"}]}]},ll={fields:[...F,{key:"contact",label:"Contact",children:[{key:"contact_id",label:"Contact ID"},{key:"contact_name",label:"Contact Name"},{key:"company_name",label:"Company Name"},{key:"can_show_integration_outlet_info",label:"Can Show Integration Outlet Info",format:"boolean"},{key:"contact_tax_information",label:"Contact Tax Information"},{key:"contact_blocks",label:"Contact Blocks"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"designation",label:"Designation"},{key:"department",label:"Department"},{key:"website",label:"Website",format:"url"},{key:"is_bcy_only_contact",label:"Base Currency Only Contact",format:"boolean"},{key:"is_credit_limit_migration_completed",label:"Credit Limit Migration Completed",format:"boolean"},{key:"language_code",label:"Language Code"},{key:"language_code_formatted",label:"Language Code (Formatted)"},{key:"contact_salutation",label:"Contact Salutation"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"invited_by",label:"Invited By"},{key:"portal_status",label:"Portal Status"},{key:"is_client_review_asked",label:"Client Review Asked",format:"boolean"},{key:"has_transaction",label:"Has Transaction",format:"boolean"},{key:"contact_type",label:"Contact Type"},{key:"customer_sub_type",label:"Customer Sub Type"},{key:"contact_relation_type",label:"Contact Relation Type"},{key:"owner_id",label:"Owner ID"},{key:"owner_name",label:"Owner Name"},{key:"source",label:"Source",format:"number"},{key:"documents",label:"Documents",labelKey:"file_name",listItems:[{key:"file_name",label:"File Name"},{key:"attachment_order",label:"Attachment Order",format:"number"},{key:"source",label:"Source",format:"number"},{key:"document_id",label:"Document ID"},{key:"file_size",label:"File Size",format:"filesize"},{key:"source_formatted",label:"Source (Formatted)"},{key:"uploaded_by",label:"Uploaded By"},{key:"can_show_in_portal",label:"Can Show In Portal",format:"boolean"},{key:"file_type",label:"File Type"},{key:"file_size_formatted",label:"File Size (Formatted)"},{key:"uploaded_on",label:"Uploaded On"},{key:"uploaded_by_id",label:"Uploaded By ID"},{key:"alter_text",label:"Alter Text"},{key:"uploaded_on_date_formatted",label:"Uploaded On Date (Formatted)"}]},{key:"twitter",label:"Twitter"},{key:"facebook",label:"Facebook"},{key:"is_crm_customer",label:"CRM Customer",format:"boolean"},{key:"is_linked_with_zohocrm",label:"Linked With Zoho CRM",format:"boolean"},{key:"is_deleted_in_crm",label:"Deleted In CRM",format:"boolean"},{key:"primary_contact_id",label:"Primary Contact ID"},{key:"zcrm_account_id",label:"Zoho CRM Account ID"},{key:"zcrm_contact_id",label:"Zoho CRM Contact ID"},{key:"crm_owner_id",label:"CRM Owner ID"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"credit_limit_exceeded_amount",label:"Credit Limit Exceeded Amount",format:"currency"},{key:"currency_id",label:"Currency ID"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"can_show_customer_ob",label:"Can Show Customer Opening Balance",format:"boolean"},{key:"can_show_vendor_ob",label:"Can Show Vendor Opening Balance",format:"boolean"},{key:"opening_balance_amount",label:"Opening Balance Amount",format:"currency"},{key:"opening_balance_amount_bcy",label:"Opening Balance Amount (Base Currency)",format:"currency"},{key:"outstanding_ob_receivable_amount",label:"Outstanding Opening Balance Receivable Amount",format:"currency"},{key:"outstanding_ob_payable_amount",label:"Outstanding Opening Balance Payable Amount",format:"currency"},{key:"outstanding_receivable_amount",label:"Outstanding Receivable Amount",format:"currency"},{key:"outstanding_receivable_amount_bcy",label:"Outstanding Receivable Amount (Base Currency)",format:"currency"},{key:"outstanding_payable_amount",label:"Outstanding Payable Amount",format:"currency"},{key:"outstanding_payable_amount_bcy",label:"Outstanding Payable Amount (Base Currency)",format:"currency"},{key:"unused_credits_receivable_amount",label:"Unused Credits Receivable Amount",format:"currency"},{key:"unused_credits_receivable_amount_bcy",label:"Unused Credits Receivable Amount (Base Currency)",format:"currency"},{key:"unused_credits_payable_amount",label:"Unused Credits Payable Amount",format:"currency"},{key:"unused_credits_payable_amount_bcy",label:"Unused Credits Payable Amount (Base Currency)",format:"currency"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"status",label:"Status"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"is_sms_enabled",label:"Sms Enabled",format:"boolean"},{key:"is_consent_agreed",label:"Consent Agreed",format:"boolean"},{key:"consent_date",label:"Consent Date",format:"date"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"pan_no",label:"PAN No"},{key:"trader_name",label:"Trader Name"},{key:"legal_name",label:"Legal Name"},{key:"tax_reg_label",label:"Tax Reg Label"},{key:"udyam_reg_no",label:"Udyam Reg No"},{key:"msme_type",label:"Msme Type"},{key:"is_valid_udyam_no",label:"Valid Udyam No",format:"boolean"},{key:"udyam_validated_time",label:"Udyam Validated Time",format:"datetime"},{key:"udyam_validated_time_formatted",label:"Udyam Validated Time (Formatted)"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"contact_category",label:"Contact Category"},{key:"sales_channel",label:"Sales Channel"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"portal_receipt_count",label:"Portal Receipt Count",format:"number"},{key:"opening_balances",label:"Opening Balances"},{key:"entity_address_id",label:"Entity Address ID"},{key:"billing_address",label:"Billing Address",children:Et},{key:"shipping_address",label:"Shipping Address",children:Et},{key:"contact_persons",label:"Contact Persons",labelKey:"first_name",listItems:gp},{key:"addresses",label:"Addresses",listItems:[{key:"address_id",label:"Address ID"},{key:"attention",label:"Attention"},{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"state_code",label:"State Code"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"country_code",label:"Country Code"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"}]},{key:"pricebook_id",label:"Pricebook ID"},{key:"pricebook_name",label:"Pricebook Name"},{key:"default_templates",label:"Default Templates",children:Js},{key:"associated_with_square",label:"Associated With Square",format:"boolean"},{key:"cards",label:"Cards"},{key:"checks",label:"Checks"},{key:"upi_mandates",label:"Upi Mandates"},{key:"bank_accounts",label:"Bank Accounts"},{key:"vpa_list",label:"Vpa List"},{key:"notes",label:"Notes"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_name",label:"Created By Name"},{key:"created_by_id",label:"Created By ID"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"tags",label:"Tags"},{key:"zohopeople_client_id",label:"Zoho People Client ID"},{key:"networking_status",label:"Networking Status"},{key:"networking_key",label:"Networking Key"},{key:"customer_currency_summaries",label:"Customer Currency Summaries",listItems:Xs},{key:"approvers_list",label:"Approvers List"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"is_multi_match_approval",label:"Multi Match Approval",format:"boolean"},{key:"approval_name",label:"Approval Name"},{key:"approval_path",label:"Approval Path"},{key:"approvers",label:"Approvers"},{key:"note_to_approver",label:"Note To Approver"},{key:"integration_references",label:"Integration References"},{key:"additional_information",label:"Additional Information"},{key:"registration_details",label:"Registration Details"}]}]},gk={fields:[...F,{key:"profitandloss",label:"Profitandloss",children:[{key:"total",label:"Total",format:"currency",children:[{key:"net_profit_total",label:"Net Profit Total",format:"currency"},{key:"income_total",label:"Income Total",format:"currency"},{key:"expense_total",label:"Expense Total",format:"currency"}]},{key:"income_and_expense",label:"Income And Expense",listItems:Jb},{key:"is_data_exists",label:"Data Exists",format:"boolean"}]},{key:"page_context",label:"Page Context",children:[{key:"report_basis",label:"Report Basis"},{key:"customer_name",label:"Customer Name"},{key:"applied_filter",label:"Applied Filter"},{key:"from_date",label:"From Date",format:"date"},{key:"to_date",label:"To Date",format:"date"}]}]},bk={fields:[...F,{key:"data",label:"Data",children:[{key:"to_followers",label:"To Followers",labelKey:"name",listItems:[{key:"user_id",label:"User ID"},{key:"name",label:"Name"},{key:"mobile",label:"Mobile"},{key:"email",label:"Email",format:"email"}]},{key:"contact_name",label:"Contact Name"},{key:"file_name_without_extension",label:"File Name Without Extension"},{key:"from_email",label:"From Email",format:"email"},{key:"bcc_mails",label:"BCC Emails"},{key:"subject",label:"Subject"},{key:"file_name",label:"File Name"},{key:"filter_by",label:"Filter By"},{key:"contact_id",label:"Contact ID"},{key:"bcc_mails_str",label:"BCC Emails"},{key:"body",label:"Body",format:"html"},{key:"entity_id",label:"Entity ID"},{key:"emailtemplate_documents",label:"Emailtemplate Documents"},{key:"to_mails_str",label:"To Emails",format:"email"},{key:"cc_mails_list",label:"CC Emails List"},{key:"error_list",label:"Error List"},{key:"translated_languages",label:"Translated Languages",listItems:Xb},{key:"cc_mails_str",label:"CC Emails",format:"email"},{key:"from_emails",label:"From Emails",labelKey:"email",listItems:Wo},{key:"to_contacts",label:"To Contacts",labelKey:"first_name",listItems:na},{key:"emailtemplates",label:"Emailtemplates",labelKey:"name",listItems:vp},{key:"from_address",label:"From Address"}]}]},kk={fields:[{key:"result",label:"Result",value:""}]},cl={fields:[...F,{key:"unused_credits_receivable",label:"Unused Credits Receivable",format:"currency"}]},vk={fields:[...F,{key:"data",label:"Data",children:[{key:"to_followers",label:"To Followers"},{key:"contact_name",label:"Contact Name"},{key:"file_name_without_extension",label:"File Name Without Extension"},{key:"from_email",label:"From Email",format:"email"},{key:"bcc_mails",label:"BCC Emails"},{key:"subject",label:"Subject"},{key:"file_name",label:"File Name"},{key:"filter_by",label:"Filter By"},{key:"contact_id",label:"Contact ID"},{key:"bcc_mails_str",label:"BCC Emails"},{key:"body",label:"Body",format:"html"},{key:"entity_id",label:"Entity ID"},{key:"emailtemplate_documents",label:"Emailtemplate Documents"},{key:"to_mails_str",label:"To Emails",format:"email"},{key:"cc_mails_list",label:"CC Emails List"},{key:"error_list",label:"Error List"},{key:"translated_languages",label:"Translated Languages"},{key:"cc_mails_str",label:"CC Emails",format:"email"},{key:"from_emails",label:"From Emails",labelKey:"email",listItems:Wo},{key:"to_contacts",label:"To Contacts",labelKey:"first_name",listItems:na},{key:"emailtemplates",label:"Emailtemplates",labelKey:"name",listItems:vp},{key:"from_address",label:"From Address"}]}]},ul={fields:[...F,{key:"payment",label:"Payment",children:[{key:"payment_id",label:"Payment ID"},{key:"payment_number",label:"Payment Number"},{key:"sales_channel",label:"Sales Channel"},{key:"account_identifier",label:"Account Identifier"},{key:"payment_link_id",label:"Payment Link ID"},{key:"created_by",label:"Created By"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"updated_time",label:"Updated Time",format:"datetime"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"payment_number_prefix",label:"Payment Number Prefix"},{key:"payment_number_suffix",label:"Payment Number Suffix"},{key:"documents",label:"Documents"},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"payment_mode",label:"Payment Mode"},{key:"card_type",label:"Card Type"},{key:"date",label:"Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"account_type",label:"Account Type"},{key:"customer_advance_account_id",label:"Customer Advance Account ID"},{key:"customer_advance_account_name",label:"Customer Advance Account Name"},{key:"currency_id",label:"Currency ID"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_code",label:"Currency Code"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"amount",label:"Amount",format:"currency"},{key:"bcy_amount",label:"Base Currency Amount",format:"currency"},{key:"unused_amount",label:"Unused Amount",format:"currency"},{key:"bank_charges",label:"Bank Charges",format:"currency"},{key:"bank_charges_account_id",label:"Bank Charges Account ID"},{key:"bank_charges_account_name",label:"Bank Charges Account Name"},{key:"tax_account_id",label:"Tax Account ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"tax_account_name",label:"Tax Account Name"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"description",label:"Description"},{key:"product_description",label:"Product Description"},{key:"reference_number",label:"Reference Number"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"approvers_list",label:"Approvers List"},{key:"online_transaction_id",label:"Online Transaction ID"},{key:"payment_gateway",label:"Payment Gateway"},{key:"settlement_status",label:"Settlement Status"},{key:"tds_type",label:"TDS Type"},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"is_ondc_channel",label:"Ondc Channel",format:"boolean"},{key:"is_paid_via_check",label:"Paid Via Check",format:"boolean"},{key:"invoices",label:"Invoices",labelKey:"invoice_number",listItems:Kb},{key:"check_details",label:"Check Details",children:bp},{key:"registration_details",label:"Registration Details"},{key:"payment_status",label:"Payment Status"},{key:"tender_id",label:"Tender ID"},{key:"payment_refunds",label:"Payment Refunds",listItems:[{key:"payment_refund_id",label:"Payment Refund ID"},{key:"date",label:"Date",format:"date"},{key:"refund_mode",label:"Refund Mode"},{key:"refund_mode_formatted",label:"Refund Mode (Formatted)"},{key:"reference_number",label:"Reference Number"},{key:"description",label:"Description"},{key:"amount_bcy",label:"Amount (Base Currency)",format:"number"},{key:"amount_fcy",label:"Amount (Foreign Currency)",format:"number"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"}]},{key:"deposit_details",label:"Deposit Details"},{key:"last_four_digits",label:"Last Four Digits"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"template_type",label:"Template Type"},{key:"attachment_name",label:"Attachment Name"},{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"can_send_payment_sms",label:"Can Send Payment Sms",format:"boolean"},{key:"is_payment_details_required",label:"Payment Details Required",format:"boolean"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"imported_transactions",label:"Imported Transactions"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"rounding_mode",label:"Rounding Mode"},{key:"tags",label:"Tags"}]}]},Ik={fields:[...F,{key:"custom_fields",label:"Custom Fields",labelKey:"label",listItems:Yb}]},Pk={fields:[...F,{key:"data",label:"Data",children:[{key:"dashboard_details",label:"Dashboard Details",children:[{key:"overdue_formatted",label:"Overdue (Formatted)"},{key:"total_due_formatted",label:"Total Due (Formatted)"},{key:"due_within_30_days_formatted",label:"Due Within 30 Days (Formatted)"},{key:"overdue",label:"Overdue"},{key:"total_due",label:"Total Due"},{key:"average_days_for_full_pay",label:"Average Days For Full Pay"},{key:"due_today_formatted",label:"Due Today (Formatted)"},{key:"due_today",label:"Due Today"},{key:"due_within_30_days",label:"Due Within 30 Days"}]},{key:"task_details",label:"Task Details",listItems:[{key:"task_name",label:"Task Name"},{key:"task_name_formatted",label:"Task Name (Formatted)"},{key:"is_highlighted",label:"Highlighted",format:"boolean"},{key:"is_completed",label:"Completed",format:"boolean"},{key:"can_show_mark_as_completed",label:"Can Show Mark As Completed",format:"boolean"}]}]}]},zk={fields:[...F,{key:"data",label:"Data",children:[{key:"to_followers",label:"To Followers"},{key:"file_name_without_extension",label:"File Name Without Extension"},{key:"from_email",label:"From Email",format:"email"},{key:"documents",label:"Documents"},{key:"bcc_mails",label:"BCC Emails"},{key:"subject",label:"Subject"},{key:"attachment_name",label:"Attachment Name"},{key:"attach_pdf",label:"Attach PDF",format:"boolean"},{key:"to_salesperson",label:"To Salesperson"},{key:"body",label:"Body",format:"html"},{key:"to_mails_str",label:"To Emails",format:"email"},{key:"translated_languages",label:"Translated Languages",listItems:Xb},{key:"gateways_configured",label:"Gateways Configured",format:"boolean"},{key:"from_emails",label:"From Emails",labelKey:"email",listItems:Wo},{key:"can_show_credit_limit_warning",label:"Can Show Credit Limit Warning",format:"boolean"},{key:"to_contacts",label:"To Contacts",labelKey:"first_name",listItems:na},{key:"emailtemplates",label:"Emailtemplates",labelKey:"name",listItems:vp},{key:"from_address",label:"From Address"},{key:"customer_sub_type",label:"Customer Sub Type"},{key:"file_name",label:"File Name"},{key:"deprecated_placeholders_used",label:"Deprecated Placeholders Used"},{key:"bcc_mails_str",label:"BCC Emails"},{key:"entity_id",label:"Entity ID"},{key:"emailtemplate_documents",label:"Emailtemplate Documents"},{key:"can_show_attach_ewb",label:"Can Show Attach E-Way Bill",format:"boolean"},{key:"entity_type",label:"Entity Type"},{key:"cc_mails_list",label:"CC Emails List",labelKey:"email",listItems:[{key:"user_name",label:"User Name"},{key:"email",label:"Email",format:"email"}]},{key:"error_list",label:"Error List"},{key:"cc_mails_str",label:"CC Emails",format:"email"},{key:"gateways_associated",label:"Gateways Associated",format:"boolean"},{key:"customer_name",label:"Customer Name"},{key:"customer_id",label:"Customer ID"},{key:"status",label:"Status"}]}]},dl={fields:[...F,{key:"metadata",label:"Metadata",children:[{key:"data",label:"Data",children:[{key:"value",label:"Value"}]},{key:"visibility",label:"Visibility"}]}]},xk={fields:[...F,{key:"invoice",label:"Invoice",children:[{key:"invoice_id",label:"Invoice ID"},{key:"channel_invoice_id",label:"Channel Invoice ID"},{key:"account_identifier",label:"Account Identifier"},{key:"invoice_number",label:"Invoice Number"},{key:"invoice_number_prefix",label:"Invoice Number Prefix"},{key:"invoice_number_suffix",label:"Invoice Number Suffix"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"issued_date",label:"Issued Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"customer_custom_fields",label:"Customer Custom Fields"},{key:"customer_custom_field_hash",label:"Customer Custom Fields",dynamicKey:!0},{key:"email",label:"Email",format:"email"},{key:"currency_id",label:"Currency ID"},{key:"currency_formatter",label:"Currency Formatter",children:qo},{key:"invoice_source",label:"Invoice Source"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_name_formatted",label:"Currency Name (Formatted)"},{key:"status",label:"Status"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"recurring_invoice_id",label:"Recurring Invoice ID"},{key:"is_last_child_invoice",label:"Last Child Invoice",format:"boolean"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"invoice_installments",label:"Invoice Installments"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"payment_made",label:"Payment Made",format:"currency"},{key:"zcrm_potential_id",label:"Zoho CRM Potential ID"},{key:"zcrm_potential_name",label:"Zoho CRM Potential Name"},{key:"reference_number",label:"Reference Number"},{key:"discount_code",label:"Discount Code"},{key:"is_inventory_valuation_pending",label:"Inventory Valuation Pending",format:"boolean"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"is_progress_invoice",label:"Progress Invoice",format:"boolean"},{key:"can_show_kit_return",label:"Can Show Kit Return",format:"boolean"},{key:"is_kit_partial_return",label:"Kit Partial Return",format:"boolean"},{key:"show_convert_to_package",label:"Show Convert To Package",format:"boolean"},{key:"show_convert_to_shipment",label:"Show Convert To Shipment",format:"boolean"},{key:"line_items",label:"Line Items",labelKey:"name",listItems:[{key:"line_item_id",label:"Line Item ID"},{key:"item_id",label:"Item ID"},{key:"item_order",label:"Item Order",format:"number"},{key:"name",label:"Name"},{key:"internal_name",label:"Internal Name"},{key:"description",label:"Description"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"unit",label:"Unit"},{key:"quantity",label:"Quantity",format:"number"},{key:"discount_amount",label:"Discount Amount",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discounts",label:"Discounts"},{key:"bcy_rate",label:"Base Currency Rate",format:"currency"},{key:"rate",label:"Rate",format:"currency"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"header_id",label:"Header ID"},{key:"header_name",label:"Header Name"},{key:"pricebook_id",label:"Pricebook ID"},{key:"tax_id",label:"Tax ID"},{key:"tax_name",label:"Tax Name"},{key:"tax_type",label:"Tax Type"},{key:"tax_percentage",label:"Tax Percentage",format:"number"},{key:"item_total",label:"Item Total",format:"currency"},{key:"item_custom_fields",label:"Item Custom Fields"},{key:"pricing_scheme",label:"Pricing Scheme"},{key:"tags",label:"Tags"},{key:"documents",label:"Documents"},{key:"image_document_id",label:"Image Document ID"},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"tds_tax_name",label:"TDS Tax Name"},{key:"tds_tax_percentage",label:"TDS Tax Percentage"},{key:"tds_tax_amount",label:"TDS Tax Amount",format:"currency"},{key:"line_item_taxes",label:"Line Item Taxes"},{key:"line_item_tds",label:"Line Item TDS"},{key:"bill_id",label:"Bill ID"},{key:"bill_item_id",label:"Bill Item ID"},{key:"project_id",label:"Project ID"},{key:"time_entry_ids",label:"Time Entry IDs"},{key:"expense_id",label:"Expense ID"},{key:"item_type",label:"Item Type"},{key:"expense_receipt_name",label:"Expense Receipt Name"},{key:"sales_rate",label:"Sales Rate",format:"currency"},{key:"purchase_rate",label:"Purchase Rate",format:"currency"},{key:"salesorder_item_id",label:"Sales Order Item ID"},{key:"cost_amount",label:"Cost Amount",format:"currency"},{key:"markup_percent",label:"Markup Percent",format:"number"},{key:"item_code",label:"Item Code"},{key:"mapped_items",label:"Mapped Items"},{key:"is_modifier_item",label:"Modifier Item",format:"boolean"},{key:"line_item_category",label:"Line Item Category"}]},{key:"total_retention_amount",label:"Total Retention Amount",format:"currency"},{key:"retention_items",label:"Retention Items"},{key:"retention_override_preference",label:"Retention Override Preference"},{key:"credits_associated",label:"Credits Associated"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"is_autobill_enabled",label:"Autobill Enabled",format:"boolean"},{key:"inprocess_transaction_present",label:"Inprocess Transaction Present",format:"boolean"},{key:"allow_partial_payments",label:"Allow Partial Payments",format:"boolean"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"sub_total",label:"Sub Total",format:"currency"},{key:"tax_total",label:"Tax Total",format:"currency"},{key:"total_taxable_amount",label:"Total Taxable Amount",format:"currency"},{key:"discount_total",label:"Discount Total",format:"number"},{key:"discount_percent",label:"Discount Percent",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discount_applied_on_amount",label:"Discount Applied On Amount",format:"number"},{key:"discount_type",label:"Discount Type"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"adjustment_account_id",label:"Adjustment Account ID"},{key:"adjustment_account_name",label:"Adjustment Account Name"},{key:"tds_override_preference",label:"TDS Override Preference"},{key:"is_discount_before_tax",label:"Discount Before Tax",format:"boolean"},{key:"adjustment",label:"Adjustment",format:"currency"},{key:"adjustment_description",label:"Adjustment Description"},{key:"shipping_charge_tax_id",label:"Shipping Charge Tax ID"},{key:"shipping_charge_tax_name",label:"Shipping Charge Tax Name"},{key:"shipping_charge_tax_type",label:"Shipping Charge Tax Type"},{key:"shipping_charge_tax_percentage",label:"Shipping Charge Tax Percentage"},{key:"shipping_charge_tax_exemption_id",label:"Shipping Charge Tax Exemption ID"},{key:"shipping_charge_tax_exemption_code",label:"Shipping Charge Tax Exemption Code"},{key:"shipping_charge_tax",label:"Shipping Charge Tax"},{key:"bcy_shipping_charge_tax",label:"Base Currency Shipping Charge Tax"},{key:"shipping_charge_exclusive_of_tax",label:"Shipping Charge Exclusive Of Tax",format:"number"},{key:"shipping_charge_inclusive_of_tax",label:"Shipping Charge Inclusive Of Tax",format:"number"},{key:"shipping_charge_tax_formatted",label:"Shipping Charge Tax (Formatted)"},{key:"shipping_charge_exclusive_of_tax_formatted",label:"Shipping Charge Exclusive Of Tax (Formatted)"},{key:"shipping_charge_inclusive_of_tax_formatted",label:"Shipping Charge Inclusive Of Tax (Formatted)"},{key:"shipping_charge_account_id",label:"Shipping Charge Account ID"},{key:"shipping_charge_account_name",label:"Shipping Charge Account Name"},{key:"shipping_charge",label:"Shipping Charge",format:"currency"},{key:"bcy_shipping_charge",label:"Base Currency Shipping Charge",format:"currency"},{key:"bcy_adjustment",label:"Base Currency Adjustment",format:"currency"},{key:"bcy_sub_total",label:"Base Currency Sub Total",format:"currency"},{key:"bcy_discount_total",label:"Base Currency Discount Total",format:"number"},{key:"bcy_tax_total",label:"Base Currency Tax Total",format:"currency"},{key:"bcy_total",label:"Base Currency Total",format:"currency"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"write_off_amount",label:"Write Off Amount",format:"currency"},{key:"roundoff_value",label:"Roundoff Value",format:"number"},{key:"transaction_rounding_type",label:"Transaction Rounding Type"},{key:"rounding_mode",label:"Rounding Mode"},{key:"bcy_rounding_mode",label:"Base Currency Rounding Mode"},{key:"is_inclusive_tax",label:"Inclusive Tax",format:"boolean"},{key:"sub_total_inclusive_of_tax",label:"Sub Total Inclusive Of Tax",format:"number"},{key:"contact_category",label:"Contact Category"},{key:"tax_rounding",label:"Tax Rounding"},{key:"taxes",label:"Taxes"},{key:"shipping_charge_taxes",label:"Shipping Charge Taxes"},{key:"exceptions",label:"Exceptions"},{key:"tds_calculation_type",label:"TDS Calculation Type"},{key:"can_send_invoice_sms",label:"Can Send Invoice Sms",format:"boolean"},{key:"payment_expected_date",label:"Payment Expected Date",format:"date"},{key:"payment_discount",label:"Payment Discount",format:"number"},{key:"stop_reminder_until_payment_expected_date",label:"Stop Reminder Until Payment Expected Date",format:"boolean"},{key:"last_payment_date",label:"Last Payment Date",format:"date"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"ach_payment_initiated",label:"Ach Payment Initiated",format:"boolean"},{key:"payment_options",label:"Payment Options",children:Zo},{key:"reader_offline_payment_initiated",label:"Reader Offline Payment Initiated",format:"boolean"},{key:"contact_persons",label:"Contact Persons"},{key:"contact_persons_associated",label:"Contact Persons Associated"},{key:"attachment_name",label:"Attachment Name"},{key:"documents",label:"Documents",labelKey:"file_name",listItems:Qb},{key:"computation_type",label:"Computation Type"},{key:"tds_summary",label:"TDS Summary"},{key:"debit_notes",label:"Debit Notes"},{key:"in_process_payments",label:"In Process Payments"},{key:"deliverychallans",label:"Deliverychallans"},{key:"ewaybills",label:"Ewaybills"},{key:"dispatch_from_address",label:"Dispatch From Address"},{key:"is_eway_bill_required",label:"Eway Bill Required",format:"boolean"},{key:"can_generate_ewaybill_using_irn",label:"Can Generate E-Way Bill Using IRN",format:"boolean"},{key:"merchant_id",label:"Merchant ID"},{key:"merchant_name",label:"Merchant Name"},{key:"ecomm_operator_id",label:"Ecomm Operator ID"},{key:"ecomm_operator_name",label:"Ecomm Operator Name"},{key:"salesorder_id",label:"Sales Order ID"},{key:"salesorder_number",label:"Sales Order Number"},{key:"salesorders",label:"Sales Orders"},{key:"packages",label:"Packages"},{key:"shipping_bills",label:"Shipping Bills"},{key:"contact_persons_details",label:"Contact Persons Details",labelKey:"first_name",listItems:Ys},{key:"contact",label:"Contact",children:Vo},{key:"salesperson_id",label:"Salesperson ID"},{key:"salesperson_name",label:"Salesperson Name"},{key:"is_emailed",label:"Emailed",format:"boolean"},{key:"reminders_sent",label:"Reminders Sent",format:"number"},{key:"last_reminder_sent_date",label:"Last Reminder Sent Date",format:"date"},{key:"next_reminder_date_formatted",label:"Next Reminder Date (Formatted)"},{key:"is_viewed_by_client",label:"Viewed By Client",format:"boolean"},{key:"client_viewed_time",label:"Client Viewed Time",format:"datetime"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"template_type",label:"Template Type"},{key:"notes",label:"Notes"},{key:"terms",label:"Terms"},{key:"billing_address",label:"Billing Address",children:Ye},{key:"shipping_address",label:"Shipping Address",children:Ye},{key:"invoice_url",label:"Invoice URL",format:"url"},{key:"subject_content",label:"Subject Content"},{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_id",label:"Created By ID"},{key:"created_by_name",label:"Created By Name"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"is_backorder",label:"Backorder",format:"boolean"},{key:"sales_channel",label:"Sales Channel"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"type",label:"Type"},{key:"color_code",label:"Color Code"},{key:"current_sub_status_id",label:"Current Sub Status ID"},{key:"current_sub_status",label:"Current Sub Status"},{key:"sub_statuses",label:"Sub Statuses"},{key:"reason_for_debit_note",label:"Reason For Debit Note"},{key:"estimate_id",label:"Estimate ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"credits_applied",label:"Credits Applied",format:"currency"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"schedule_time",label:"Schedule Time",format:"datetime"},{key:"no_of_copies",label:"No Of Copies",format:"number"},{key:"show_no_of_copies",label:"Show No Of Copies",format:"boolean"},{key:"customer_default_billing_address",label:"Customer Default Billing Address",children:Qs},{key:"reference_invoice",label:"Reference Invoice",children:Ho},{key:"includes_package_tracking_info",label:"Includes Package Tracking Info",format:"boolean"},{key:"approvers_list",label:"Approvers List"},{key:"qr_code",label:"QR Code",children:Go},{key:"networking",label:"Networking",children:ra},{key:"tags",label:"Tags"},{key:"exchange_invoices",label:"Exchange Invoices"},{key:"registration_details",label:"Registration Details"}]}]},Ak={fields:[...F,{key:"data",label:"Data",children:[{key:"to_followers",label:"To Followers"},{key:"file_name_without_extension",label:"File Name Without Extension"},{key:"from_email",label:"From Email",format:"email"},{key:"documents",label:"Documents"},{key:"bcc_mails",label:"BCC Emails"},{key:"subject",label:"Subject"},{key:"attachment_name",label:"Attachment Name"},{key:"attach_pdf",label:"Attach PDF",format:"boolean"},{key:"is_reminder_enabled",label:"Reminder Enabled",format:"boolean"},{key:"body",label:"Body",format:"html"},{key:"to_mails_str",label:"To Emails",format:"email"},{key:"translated_languages",label:"Translated Languages"},{key:"gateways_configured",label:"Gateways Configured",format:"boolean"},{key:"from_emails",label:"From Emails",labelKey:"email",listItems:Wo},{key:"to_contacts",label:"To Contacts",labelKey:"first_name",listItems:na},{key:"from_address",label:"From Address"},{key:"customer_sub_type",label:"Customer Sub Type"},{key:"file_name",label:"File Name"},{key:"deprecated_placeholders_used",label:"Deprecated Placeholders Used"},{key:"bcc_mails_str",label:"BCC Emails"},{key:"entity_id",label:"Entity ID"},{key:"next_reminder_date",label:"Next Reminder Date",format:"date"},{key:"emailtemplate_documents",label:"Emailtemplate Documents"},{key:"can_show_attach_ewb",label:"Can Show Attach E-Way Bill",format:"boolean"},{key:"cc_mails_list",label:"CC Emails List"},{key:"error_list",label:"Error List"},{key:"cc_mails_str",label:"CC Emails",format:"email"},{key:"gateways_associated",label:"Gateways Associated",format:"boolean"},{key:"customer_name",label:"Customer Name"},{key:"customer_id",label:"Customer ID"}]}]},Sk={fields:[...F,{key:"addresses",label:"Addresses",labelKey:"email",listItems:[{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"address",label:"Address"},{key:"is_verifiable",label:"Verifiable",format:"boolean"},{key:"is_primary",label:"Primary",format:"boolean"},{key:"address2",label:"Address2"},{key:"city",label:"City"},{key:"address1",label:"Address1"},{key:"city_code",label:"City Code"},{key:"is_org_primary_address",label:"Organization Primary Address",format:"boolean"},{key:"is_verified",label:"Verified",format:"boolean"},{key:"location_id",label:"Location ID"},{key:"organization_address_id",label:"Organization Address ID"},{key:"phone",label:"Phone"},{key:"is_location",label:"Location",format:"boolean"},{key:"is_valid",label:"Valid",format:"boolean"},{key:"attention",label:"Attention"},{key:"state",label:"State"},{key:"email",label:"Email",format:"email"}]}]},Tk={fields:[...F,{key:"organization",label:"Organization",children:[{key:"organization_id",label:"Organization ID"},{key:"name",label:"Name"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"logo_url",label:"Logo URL",format:"image"},{key:"store_logo_url",label:"Store Logo URL",format:"image"},{key:"is_default_org",label:"Default Organization",format:"boolean"},{key:"user_role",label:"User Role"},{key:"role_id",label:"Role ID"},{key:"account_created_date",label:"Account Created Date",format:"date"},{key:"time_zone",label:"Time Zone"},{key:"language_code",label:"Language Code"},{key:"customer_languages",label:"Customer Languages"},{key:"date_format",label:"Date Format"},{key:"field_separator",label:"Field Separator"},{key:"fiscal_year_start_month",label:"Fiscal Year Start Month",format:"number"},{key:"primary_domain_name",label:"Primary Domain Name"},{key:"is_public_domain",label:"Public Domain",format:"boolean"},{key:"can_show_authentication_warning",label:"Can Show Authentication Warning",format:"boolean"},{key:"fiscal_year_start_date",label:"Fiscal Year Start Date",format:"number"},{key:"contact_name",label:"Contact Name"},{key:"industry_type",label:"Industry Type"},{key:"industry_size",label:"Industry Size"},{key:"previous_invoicing_option",label:"Previous Invoicing Option"},{key:"previous_product_option",label:"Previous Product Option"},{key:"business_management_type",label:"Business Management Type"},{key:"company_id_label",label:"Company ID Label"},{key:"custom_field_type",label:"Custom Field Type",format:"number"},{key:"is_trial_period_extended",label:"Trial Period Extended",format:"boolean"},{key:"is_sez",label:"Sez",format:"boolean"},{key:"is_designated_zone",label:"Designated Zone",format:"boolean"},{key:"is_free_zone",label:"Free Zone",format:"boolean"},{key:"store_url",label:"Store URL",format:"url"},{key:"company_id_value",label:"Company ID Value"},{key:"label_for_company_id",label:"Label For Company ID"},{key:"tax_id_label",label:"Tax ID Label"},{key:"tax_id_value",label:"Tax ID Value"},{key:"currency_id",label:"Currency ID"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_format",label:"Currency Format"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"status",label:"Status"},{key:"address",label:"Address",children:ek},{key:"tax_settings",label:"Tax Settings",children:tk},{key:"is_registered_for_gst",label:"Registered For GST",format:"boolean"},{key:"is_composition_scheme_enabled",label:"Composition Scheme Enabled",format:"boolean"},{key:"org_address",label:"Organization Address"},{key:"remit_to_address",label:"Remit To Address"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"},{key:"website",label:"Website",format:"url"},{key:"version",label:"Version"},{key:"weight_unit",label:"Weight Unit"},{key:"dimension_unit",label:"Dimension Unit"},{key:"business_type",label:"Business Type"},{key:"email",label:"Email",format:"email"},{key:"unverified_emails_count",label:"Unverified Emails Count",format:"number"},{key:"tax_basis",label:"Tax Basis"},{key:"custom_fields",label:"Custom Fields",labelKey:"label",listItems:Ip},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"is_org_active",label:"Organization Active",format:"boolean"},{key:"is_new_customer_custom_fields",label:"New Customer Custom Fields",format:"boolean"},{key:"is_late_fee_disabled",label:"Late Fee Disabled",format:"boolean"},{key:"is_portal_enabled",label:"Portal Enabled",format:"boolean"},{key:"org_joined_app_list",label:"Organization Joined App List"},{key:"company_identification_labels_list",label:"Company Identification Labels List"},{key:"portal_name",label:"Portal Name"},{key:"is_estimate_enabled",label:"Estimate Enabled",format:"boolean"},{key:"is_project_enabled",label:"Project Enabled",format:"boolean"},{key:"is_purchaseorder_enabled",label:"Purchase Order Enabled",format:"boolean"},{key:"is_salesorder_enabled",label:"Sales Order Enabled",format:"boolean"},{key:"is_retainerinvoice_enabled",label:"Retainerinvoice Enabled",format:"boolean"},{key:"mode",label:"Mode"},{key:"payments_url",label:"Payments URL",format:"url"}]}]},ml={fields:[...F,{key:"data",label:"Data",listItems:ok}]},Ck={fields:[...F,{key:"addresses",label:"Addresses",listItems:[{key:"addresses",label:"Addresses",labelKey:"contact_name",listItems:[{key:"contact_id",label:"Contact ID"},{key:"contact_name",label:"Contact Name"},{key:"contact_type",label:"Contact Type"},{key:"status",label:"Status"},{key:"currency_code",label:"Currency Code"},{key:"address_type",label:"Address Type"},{key:"is_current_address",label:"Current Address",format:"boolean"},{key:"address_id",label:"Address ID"},{key:"attention",label:"Attention"},{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"state_code",label:"State Code"},{key:"city_code",label:"City Code"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"country_code",label:"Country Code"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"}]}]},{key:"page_context",label:"Page Context",children:[{key:"page",label:"Page",format:"number"},{key:"per_page",label:"Per Page",format:"number"},{key:"has_more_page",label:"Has More Page",format:"boolean"},{key:"report_name",label:"Report Name"},{key:"can_show_reports_banner",label:"Can Show Reports Banner",format:"boolean"},{key:"can_schedule",label:"Can Schedule",format:"boolean"},{key:"report_type",label:"Report Type"},{key:"applied_filter",label:"Applied Filter"},{key:"is_for_date_range",label:"For Date Range",format:"boolean"},{key:"last_accessed_time_formatted",label:"Last Accessed Time (Formatted)"},{key:"is_period_basis",label:"Period Basis",format:"boolean"},{key:"sort_column",label:"Sort Column"},{key:"sort_order",label:"Sort Order"}]}]},Ek={fields:[...F,{key:"contact_persons",label:"Contact Persons",labelKey:"contact_name",listItems:[{key:"contact_id",label:"Contact ID"},{key:"contact_name",label:"Contact Name"},{key:"contact_person_id",label:"Contact Person ID"},{key:"salutation",label:"Salutation"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"department",label:"Department"},{key:"designation",label:"Designation"},{key:"skype",label:"Skype"},{key:"fax",label:"Fax"},{key:"currency_code",label:"Currency Code"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"is_primary_contact",label:"Primary Contact",format:"boolean"},{key:"contactperson_custom_fields",label:"Contactperson Custom Fields"}]},{key:"page_context",label:"Page Context",children:el}]},Dk={fields:[...F,{key:"addresses",label:"Addresses",listItems:[{key:"address_id",label:"Address ID"},{key:"attention",label:"Attention"},{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"state_code",label:"State Code"},{key:"city_code",label:"City Code"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"county",label:"County"},{key:"country_code",label:"Country Code"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"}]}]},Ok={fields:[...F,{key:"contact_comments",label:"Contact Comments",labelKey:"contact_name",listItems:[{key:"comment_id",label:"Comment ID"},{key:"contact_id",label:"Contact ID"},{key:"contact_name",label:"Contact Name"},{key:"comments_html_format",label:"Comments HTML Format",format:"html"},{key:"description",label:"Description"},{key:"commented_by_id",label:"Commented By ID"},{key:"commented_by",label:"Commented By"},{key:"date",label:"Date",format:"date"},{key:"date_description",label:"Date Description"},{key:"time",label:"Time"},{key:"transaction_id",label:"Transaction ID"},{key:"transaction_type",label:"Transaction Type"},{key:"is_entity_deleted",label:"Entity Deleted",format:"boolean"},{key:"operation_type",label:"Operation Type"}]},{key:"page_context",label:"Page Context",children:[{key:"page",label:"Page",format:"number"},{key:"per_page",label:"Per Page",format:"number"},{key:"has_more_page",label:"Has More Page",format:"boolean"},{key:"customer_name",label:"Customer Name"},{key:"applied_filter",label:"Applied Filter"},{key:"sort_column",label:"Sort Column"},{key:"sort_order",label:"Sort Order"}]}]},Nk={fields:[...F,{key:"creditnote_refunds",label:"Credit Note Refunds"},{key:"page_context",label:"Page Context",children:el}]},wk={fields:[...F,{key:"payment_refunds",label:"Payment Refunds"},{key:"page_context",label:"Page Context",children:el}]},Rk={fields:[...F,{key:"contact_persons",label:"Contact Persons",labelKey:"first_name",listItems:[{key:"contact_person_id",label:"Contact Person ID"},{key:"salutation",label:"Salutation"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"department",label:"Department"},{key:"designation",label:"Designation"},{key:"skype",label:"Skype"},{key:"fax",label:"Fax"},{key:"is_primary_contact",label:"Primary Contact",format:"boolean"},{key:"is_added_in_portal",label:"Added In Portal",format:"boolean"},{key:"can_invite",label:"Can Invite",format:"boolean"},{key:"is_portal_invitation_accepted",label:"Portal Invitation Accepted",format:"boolean"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"contactperson_custom_fields",label:"Contactperson Custom Fields"}]},{key:"page_context",label:"Page Context",children:[{key:"page",label:"Page",format:"number"},{key:"per_page",label:"Per Page",format:"number"},{key:"has_more_page",label:"Has More Page",format:"boolean"},{key:"customer_name",label:"Customer Name"},{key:"sort_column",label:"Sort Column"},{key:"sort_order",label:"Sort Order"}]}]},$k={fields:[...F,{key:"contacts",label:"Contacts"},{key:"page_context",label:"Page Context",children:nk}]},Bk={fields:[...F,{key:"payment_refunds",label:"Payment Refunds",labelKey:"payment_number",listItems:[{key:"payment_refund_id",label:"Payment Refund ID"},{key:"payment_id",label:"Payment ID"},{key:"date",label:"Date",format:"date"},{key:"refund_mode",label:"Refund Mode"},{key:"reference_number",label:"Reference Number"},{key:"payment_number",label:"Payment Number"},{key:"customer_name",label:"Customer Name"},{key:"description",label:"Description"},{key:"amount_bcy",label:"Amount (Base Currency)",format:"number"},{key:"amount_fcy",label:"Amount (Foreign Currency)",format:"number"}]},{key:"page_context",label:"Page Context",children:el}]},Mk={fields:[...F,{key:"customerpayments",label:"Customerpayments",labelKey:"payment_number",listItems:[{key:"payment_id",label:"Payment ID"},{key:"payment_number",label:"Payment Number"},{key:"invoice_numbers",label:"Invoice Numbers"},{key:"date",label:"Date",format:"date"},{key:"payment_mode",label:"Payment Mode"},{key:"payment_mode_formatted",label:"Payment Mode (Formatted)"},{key:"amount",label:"Amount",format:"currency"},{key:"bcy_amount",label:"Base Currency Amount",format:"currency"},{key:"unused_amount",label:"Unused Amount",format:"currency"},{key:"bcy_unused_amount",label:"Base Currency Unused Amount",format:"currency"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"description",label:"Description"},{key:"product_description",label:"Product Description"},{key:"reference_number",label:"Reference Number"},{key:"is_paid_via_check",label:"Paid Via Check",format:"boolean"},{key:"check_details",label:"Check Details",children:bp},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"last_four_digits",label:"Last Four Digits"},{key:"gateway_transaction_id",label:"Gateway Transaction ID"},{key:"payment_gateway",label:"Payment Gateway"},{key:"bcy_refunded_amount",label:"Base Currency Refunded Amount",format:"currency"},{key:"applied_invoices",label:"Applied Invoices"},{key:"has_attachment",label:"Has Attachment",format:"boolean"},{key:"tags",label:"Tags"},{key:"documents",label:"Documents"},{key:"custom_fields_list",label:"Custom Fields List"},{key:"tax_account_id",label:"Tax Account ID"},{key:"tax_account_name",label:"Tax Account Name"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"payment_type",label:"Payment Type"},{key:"payment_status",label:"Payment Status"},{key:"settlement_status",label:"Settlement Status"},{key:"networking",label:"Networking"},{key:"registration_details",label:"Registration Details"},{key:"sales_channel",label:"Sales Channel"}]},{key:"page_context",label:"Page Context",children:nk}]},Uk={fields:[...F,{key:"comments",label:"Comments",listItems:[{key:"comment_id",label:"Comment ID"},{key:"invoice_id",label:"Invoice ID"},{key:"comments_html_format",label:"Comments HTML Format",format:"html"},{key:"description",label:"Description"},{key:"commented_by_id",label:"Commented By ID"},{key:"commented_by",label:"Commented By"},{key:"comment_type",label:"Comment Type"},{key:"operation_type",label:"Operation Type"},{key:"date",label:"Date",format:"date"},{key:"date_description",label:"Date Description"},{key:"time",label:"Time"},{key:"transaction_id",label:"Transaction ID"},{key:"transaction_type",label:"Transaction Type"}]}]},Lk={fields:[...F,{key:"credits",label:"Credits",listItems:[{key:"creditnote_id",label:"Credit Note ID"},{key:"creditnotes_invoice_id",label:"Credit Notes Invoice ID"},{key:"creditnotes_number",label:"Credit Notes Number"},{key:"credited_date",label:"Credited Date",format:"date"},{key:"amount_applied",label:"Amount Applied",format:"number"}]}]},Fk={fields:[...F,{key:"payments",label:"Payments",labelKey:"payment_number",listItems:[{key:"payment_id",label:"Payment ID"},{key:"payment_number",label:"Payment Number"},{key:"invoice_id",label:"Invoice ID"},{key:"invoice_payment_id",label:"Invoice Payment ID"},{key:"payment_mode",label:"Payment Mode"},{key:"description",label:"Description"},{key:"date",label:"Date",format:"date"},{key:"reference_number",label:"Reference Number"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"amount",label:"Amount",format:"currency"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"online_transaction_id",label:"Online Transaction ID"},{key:"is_single_invoice_payment",label:"Single Invoice Payment",format:"boolean"}]}]},jk={fields:[...F,{key:"templates",label:"Templates",labelKey:"template_name",listItems:[{key:"template_name",label:"Template Name"},{key:"template_id",label:"Template ID"},{key:"template_type",label:"Template Type"}]}]},qk={fields:[...F,{key:"invoices",label:"Invoices",labelKey:"invoice_number",listItems:[{key:"ach_payment_initiated",label:"Ach Payment Initiated",format:"boolean"},{key:"invoice_id",label:"Invoice ID"},{key:"zcrm_potential_id",label:"Zoho CRM Potential ID"},{key:"customer_id",label:"Customer ID"},{key:"zcrm_potential_name",label:"Zoho CRM Potential Name"},{key:"customer_name",label:"Customer Name"},{key:"company_name",label:"Company Name"},{key:"registration_details",label:"Registration Details"},{key:"status",label:"Status"},{key:"invoice_number",label:"Invoice Number"},{key:"reference_number",label:"Reference Number"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"issued_date",label:"Issued Date",format:"date"},{key:"due_days",label:"Due Days"},{key:"email",label:"Email",format:"email"},{key:"type",label:"Type"},{key:"project_name",label:"Project Name"},{key:"billing_address",label:"Billing Address",children:Gb},{key:"shipping_address",label:"Shipping Address",children:Gb},{key:"country",label:"Country"},{key:"phone",label:"Phone"},{key:"created_by",label:"Created By"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"payment_expected_date",label:"Payment Expected Date",format:"date"},{key:"custom_fields",label:"Custom Fields",labelKey:"label",listItems:[{key:"field_id",label:"Field ID"},{key:"customfield_id",label:"Customfield ID"},{key:"show_in_store",label:"Show In Store",format:"boolean"},{key:"show_in_portal",label:"Show In Portal",format:"boolean"},{key:"is_active",label:"Active",format:"boolean"},{key:"index",label:"Index",format:"number"},{key:"label",label:"Label"},{key:"show_on_pdf",label:"Show On PDF",format:"boolean"},{key:"is_custom_field",label:"Custom Field",format:"boolean"},{key:"edit_on_portal",label:"Edit On Portal",format:"boolean"},{key:"edit_on_store",label:"Edit On Store",format:"boolean"},{key:"api_name",label:"API Name"},{key:"show_in_all_pdf",label:"Show In All PDF",format:"boolean"},{key:"value_formatted",label:"Value (Formatted)"},{key:"search_entity",label:"Search Entity"},{key:"data_type",label:"Data Type"},{key:"placeholder",label:"Placeholder"},{key:"value",label:"Value"},{key:"is_dependent_field",label:"Dependent Field",format:"boolean"}]},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"tags",label:"Tags"},{key:"salesperson_name",label:"Salesperson Name"},{key:"shipping_charge",label:"Shipping Charge",format:"currency"},{key:"adjustment",label:"Adjustment",format:"currency"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"updated_time",label:"Updated Time",format:"datetime"},{key:"is_viewed_by_client",label:"Viewed By Client",format:"boolean"},{key:"has_attachment",label:"Has Attachment",format:"boolean"},{key:"client_viewed_time",label:"Client Viewed Time",format:"datetime"},{key:"is_emailed",label:"Emailed",format:"boolean"},{key:"color_code",label:"Color Code"},{key:"current_sub_status_id",label:"Current Sub Status ID"},{key:"current_sub_status",label:"Current Sub Status"},{key:"currency_id",label:"Currency ID"},{key:"schedule_time",label:"Schedule Time",format:"datetime"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"template_type",label:"Template Type"},{key:"no_of_copies",label:"No Of Copies",format:"number"},{key:"show_no_of_copies",label:"Show No Of Copies",format:"boolean"},{key:"invoice_source",label:"Invoice Source"},{key:"sales_channel",label:"Sales Channel"},{key:"transaction_type",label:"Transaction Type"},{key:"reminders_sent",label:"Reminders Sent",format:"number"},{key:"last_reminder_sent_date",label:"Last Reminder Sent Date",format:"date"},{key:"last_payment_date",label:"Last Payment Date",format:"date"},{key:"template_id",label:"Template ID"},{key:"documents",label:"Documents"},{key:"salesperson_id",label:"Salesperson ID"},{key:"write_off_amount",label:"Write Off Amount",format:"currency"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"networking",label:"Networking"},{key:"invoice_url",label:"Invoice URL",format:"url"}]},{key:"page_context",label:"Page Context",children:[{key:"page",label:"Page",format:"number"},{key:"per_page",label:"Per Page",format:"number"},{key:"has_more_page",label:"Has More Page",format:"boolean"},{key:"report_name",label:"Report Name"},{key:"applied_filter",label:"Applied Filter"},{key:"seller_app_sales_channels",label:"Seller App Sales Channels"},{key:"sort_column",label:"Sort Column"},{key:"sort_order",label:"Sort Order"},{key:"search_criteria",label:"Search Criteria",listItems:rk}]}]},Zk={fields:[...F,{key:"organizations",label:"Organizations",labelKey:"name",listItems:[{key:"isOrgNotSupported",label:"IsOrgNotSupported",format:"boolean"},{key:"organization_id",label:"Organization ID"},{key:"name",label:"Name"},{key:"org_alias_name",label:"Organization Alias Name"},{key:"contact_name",label:"Contact Name"},{key:"email",label:"Email",format:"email"},{key:"source",label:"Source",format:"number"},{key:"country",label:"Country"},{key:"country_code",label:"Country Code"},{key:"org_settings",label:"Organization Settings",format:"boolean"},{key:"is_ziedition",label:"Ziedition",format:"boolean"},{key:"custom_field_type",label:"Custom Field Type",format:"number"},{key:"custom_fields",label:"Custom Fields",labelKey:"label",listItems:Ip},{key:"is_sku_enabled",label:"SKU Enabled",format:"boolean"},{key:"phone",label:"Phone"},{key:"org_type",label:"Organization Type"},{key:"state_code",label:"State Code"},{key:"state",label:"State"},{key:"zoho_one_org",label:"Zoho One Organization"},{key:"zi_zb_edition",label:"Zi Zb Edition",format:"number"},{key:"org_created_app_source",label:"Organization Created App Source",format:"number"},{key:"zi_zb_client",label:"Zi Zb Client",format:"number"},{key:"is_solo_org",label:"Solo Organization",format:"boolean"},{key:"partners_domain",label:"Partners Domain"},{key:"version",label:"Version"},{key:"version_formatted",label:"Version (Formatted)"},{key:"is_search360_enabled",label:"Search360 Enabled",format:"boolean"},{key:"is_sales_inclusive_tax_enabled",label:"Sales Inclusive Tax Enabled",format:"boolean"},{key:"sales_tax_type",label:"Sales Tax Type"},{key:"tax_group_enabled",label:"Tax Group Enabled",format:"boolean"},{key:"language_code",label:"Language Code"},{key:"fiscal_year_start_month",label:"Fiscal Year Start Month",format:"number"},{key:"time_zone",label:"Time Zone"},{key:"field_separator",label:"Field Separator"},{key:"time_zone_formatted",label:"Time Zone (Formatted)"},{key:"can_change_timezone",label:"Can Change Timezone",format:"boolean"},{key:"digital_signature_mode",label:"Digital Signature Mode"},{key:"is_dsign_required",label:"Dsign Required",format:"boolean"},{key:"can_sign_invoice",label:"Can Sign Invoice",format:"boolean"},{key:"is_user_dsign_mandatory",label:"User Dsign Mandatory",format:"boolean"},{key:"currency_id",label:"Currency ID"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_format",label:"Currency Format"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"org_joined_app_list",label:"Organization Joined App List"},{key:"is_designated_zone",label:"Designated Zone",format:"boolean"},{key:"is_free_zone",label:"Free Zone",format:"boolean"},{key:"is_registered_for_composite_scheme",label:"Registered For Composite Scheme",format:"boolean"},{key:"is_sales_reverse_charge_enabled",label:"Sales Reverse Charge Enabled",format:"boolean"},{key:"is_export_with_payment_enabled",label:"Export With Payment Enabled",format:"boolean"},{key:"is_registered_for_tax",label:"Registered For Tax",format:"boolean"},{key:"is_tax_registered",label:"Tax Registered",format:"boolean"},{key:"is_international_trade_enabled",label:"International Trade Enabled",format:"boolean"},{key:"is_gst_india_version",label:"GST India Version",format:"boolean"},{key:"is_registered_for_gst",label:"Registered For GST",format:"boolean"},{key:"is_multientity_org",label:"Multientity Organization",format:"boolean"},{key:"is_multientity_enabled",label:"Multientity Enabled",format:"boolean"},{key:"isOrgActive",label:"IsOrgActive",format:"boolean"},{key:"plan_type",label:"Plan Type",format:"number"},{key:"plan_name",label:"Plan Name"},{key:"plan_period",label:"Plan Period"},{key:"account_created_date",label:"Account Created Date",format:"date"},{key:"account_created_date_formatted",label:"Account Created Date (Formatted)"},{key:"is_org_active",label:"Organization Active",format:"boolean"},{key:"is_quick_setup_completed",label:"Quick Setup Completed",format:"boolean"},{key:"is_trial_period_extended",label:"Trial Period Extended",format:"boolean"},{key:"is_trial_expired",label:"Trial Expired",format:"boolean"},{key:"is_invoice_pmt_tds_allowed",label:"Invoice Pmt TDS Allowed",format:"boolean"},{key:"is_hsn_or_sac_enabled",label:"HSN Or Sac Enabled",format:"boolean"},{key:"is_location_enabled",label:"Location Enabled",format:"boolean"},{key:"mode",label:"Mode"},{key:"other_active_services",label:"Other Active Services"},{key:"is_last_active_service",label:"Last Active Service",format:"boolean"},{key:"support_email",label:"Support Email",format:"email"},{key:"is_po_enabled",label:"Po Enabled",format:"boolean"},{key:"is_salesorder_enabled",label:"Sales Order Enabled",format:"boolean"},{key:"is_inventory_enabled",label:"Inventory Enabled",format:"boolean"},{key:"is_trial_extended",label:"Trial Extended",format:"boolean"},{key:"zi_migration_status",label:"Zi Migration Status",format:"number"},{key:"is_new_customer_custom_fields",label:"New Customer Custom Fields",format:"boolean"},{key:"is_portal_enabled",label:"Portal Enabled",format:"boolean"},{key:"portal_name",label:"Portal Name"},{key:"is_retainerinvoice_enabled",label:"Retainerinvoice Enabled",format:"boolean"},{key:"is_bill_of_supply_enabled",label:"Bill Of Supply Enabled",format:"boolean"},{key:"can_show_document_tab",label:"Can Show Document Tab",format:"boolean"},{key:"is_scan_preference_enabled",label:"Scan Preference Enabled",format:"boolean"},{key:"is_user_accountant",label:"User Accountant",format:"boolean"},{key:"is_user_last_admin",label:"User Last Admin",format:"boolean"},{key:"is_user_super_admin",label:"User Super Admin",format:"boolean"},{key:"user_status",label:"User Status",format:"number"},{key:"user_status_formatted",label:"User Status (Formatted)"},{key:"org_action",label:"Organization Action"},{key:"AppList",label:"AppList"},{key:"is_zpayroll_grid",label:"Zpayroll Grid",format:"boolean"},{key:"is_default_org",label:"Default Organization",format:"boolean"},{key:"is_subscription_paused",label:"Subscription Paused",format:"boolean"}]}]},Vk={fields:[...F,{key:"organizations",label:"Organizations",listItems:[{key:"available_in",label:"Available In"},{key:"available_in_formatted",label:"Available In (Formatted)"},{key:"edition",label:"Edition"},{key:"is_super_admin",label:"Super Admin",format:"boolean"},{key:"admin_services",label:"Admin Services"},{key:"is_active",label:"Active",format:"boolean"},{key:"base_currency",label:"Base Currency"},{key:"organization_id",label:"Organization ID"},{key:"organization_name",label:"Organization Name"}]}]},Hk={fields:[...F,{key:"invoice",label:"Invoice",children:[{key:"account_identifier",label:"Account Identifier"},{key:"invoice_number",label:"Invoice Number"},{key:"invoice_number_prefix",label:"Invoice Number Prefix"},{key:"invoice_number_suffix",label:"Invoice Number Suffix"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"issued_date",label:"Issued Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"customer_id",label:"Customer ID"},{key:"customer_custom_fields",label:"Customer Custom Fields",labelKey:"label",listItems:Yb},{key:"customer_custom_field_hash",label:"Customer Custom Fields",dynamicKey:!0},{key:"email",label:"Email",format:"email"},{key:"currency_id",label:"Currency ID"},{key:"currency_formatter",label:"Currency Formatter",children:qo},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_name_formatted",label:"Currency Name (Formatted)"},{key:"status",label:"Status"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"recurring_invoice_id",label:"Recurring Invoice ID"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"invoice_installments",label:"Invoice Installments"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"zcrm_potential_id",label:"Zoho CRM Potential ID"},{key:"zcrm_potential_name",label:"Zoho CRM Potential Name"},{key:"reference_number",label:"Reference Number"},{key:"discount_code",label:"Discount Code"},{key:"lock_detail",label:"Lock Detail"},{key:"is_progress_invoice",label:"Progress Invoice",format:"boolean"},{key:"show_convert_to_package",label:"Show Convert To Package",format:"boolean"},{key:"show_convert_to_shipment",label:"Show Convert To Shipment",format:"boolean"},{key:"line_items",label:"Line Items",labelKey:"name",listItems:[{key:"item_id",label:"Item ID"},{key:"item_order",label:"Item Order",format:"number"},{key:"name",label:"Name"},{key:"internal_name",label:"Internal Name"},{key:"description",label:"Description"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"unit",label:"Unit"},{key:"quantity",label:"Quantity",format:"number"},{key:"discount_amount",label:"Discount Amount",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discounts",label:"Discounts"},{key:"bcy_rate",label:"Base Currency Rate",format:"currency"},{key:"rate",label:"Rate",format:"currency"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"header_id",label:"Header ID"},{key:"header_name",label:"Header Name"},{key:"pricebook_id",label:"Pricebook ID"},{key:"tax_id",label:"Tax ID"},{key:"tax_name",label:"Tax Name"},{key:"tax_name_formatted",label:"Tax Name (Formatted)"},{key:"tax_type",label:"Tax Type"},{key:"tax_percentage",label:"Tax Percentage",format:"number"},{key:"tax_status",label:"Tax Status"},{key:"item_total",label:"Item Total",format:"currency"},{key:"item_custom_fields",label:"Item Custom Fields"},{key:"pricing_scheme",label:"Pricing Scheme"},{key:"tags",label:"Tags"},{key:"image_name",label:"Image Name"},{key:"image_type",label:"Image Type"},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"tds_tax_name",label:"TDS Tax Name"},{key:"tds_tax_percentage",label:"TDS Tax Percentage"},{key:"tds_tax_amount",label:"TDS Tax Amount",format:"currency"},{key:"line_item_taxes",label:"Line Item Taxes"},{key:"line_item_tds",label:"Line Item TDS"},{key:"bill_id",label:"Bill ID"},{key:"bill_item_id",label:"Bill Item ID"},{key:"project_id",label:"Project ID"},{key:"is_reference_project_associated",label:"Reference Project Associated",format:"boolean"},{key:"reference_project_name",label:"Reference Project Name"},{key:"time_entry_ids",label:"Time Entry IDs"},{key:"expense_id",label:"Expense ID"},{key:"item_type",label:"Item Type"},{key:"expense_receipt_name",label:"Expense Receipt Name"},{key:"sales_rate",label:"Sales Rate",format:"currency"},{key:"purchase_rate",label:"Purchase Rate",format:"currency"},{key:"salesorder_item_id",label:"Sales Order Item ID"},{key:"cost_amount",label:"Cost Amount",format:"currency"},{key:"markup_percent",label:"Markup Percent",format:"number"},{key:"item_code",label:"Item Code"},{key:"mapped_items",label:"Mapped Items"},{key:"is_modifier_item",label:"Modifier Item",format:"boolean"},{key:"line_item_category",label:"Line Item Category"}]},{key:"total_retention_amount",label:"Total Retention Amount",format:"currency"},{key:"retention_items",label:"Retention Items"},{key:"retention_override_preference",label:"Retention Override Preference"},{key:"credits_associated",label:"Credits Associated"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"is_autobill_enabled",label:"Autobill Enabled",format:"boolean"},{key:"inprocess_transaction_present",label:"Inprocess Transaction Present",format:"boolean"},{key:"allow_partial_payments",label:"Allow Partial Payments",format:"boolean"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"sub_total",label:"Sub Total",format:"currency"},{key:"tax_total",label:"Tax Total",format:"currency"},{key:"total_taxable_amount",label:"Total Taxable Amount",format:"currency"},{key:"discount_total",label:"Discount Total",format:"number"},{key:"discount_percent",label:"Discount Percent",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discount_applied_on_amount",label:"Discount Applied On Amount",format:"number"},{key:"discount_type",label:"Discount Type"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"adjustment_account_id",label:"Adjustment Account ID"},{key:"adjustment_account_name",label:"Adjustment Account Name"},{key:"tds_override_preference",label:"TDS Override Preference"},{key:"is_discount_before_tax",label:"Discount Before Tax",format:"boolean"},{key:"is_item_level_tax_calc",label:"Item Level Tax Calc",format:"boolean"},{key:"adjustment",label:"Adjustment",format:"currency"},{key:"adjustment_description",label:"Adjustment Description"},{key:"shipping_charge_tax_id",label:"Shipping Charge Tax ID"},{key:"shipping_charge_tax_name",label:"Shipping Charge Tax Name"},{key:"shipping_charge_tax_type",label:"Shipping Charge Tax Type"},{key:"shipping_charge_tax_percentage",label:"Shipping Charge Tax Percentage"},{key:"shipping_charge_tax_exemption_id",label:"Shipping Charge Tax Exemption ID"},{key:"shipping_charge_tax_exemption_code",label:"Shipping Charge Tax Exemption Code"},{key:"shipping_charge_tax",label:"Shipping Charge Tax"},{key:"bcy_shipping_charge_tax",label:"Base Currency Shipping Charge Tax"},{key:"shipping_charge_exclusive_of_tax",label:"Shipping Charge Exclusive Of Tax",format:"number"},{key:"shipping_charge_inclusive_of_tax",label:"Shipping Charge Inclusive Of Tax",format:"number"},{key:"shipping_charge_tax_formatted",label:"Shipping Charge Tax (Formatted)"},{key:"shipping_charge_exclusive_of_tax_formatted",label:"Shipping Charge Exclusive Of Tax (Formatted)"},{key:"shipping_charge_inclusive_of_tax_formatted",label:"Shipping Charge Inclusive Of Tax (Formatted)"},{key:"shipping_charge_account_id",label:"Shipping Charge Account ID"},{key:"shipping_charge_account_name",label:"Shipping Charge Account Name"},{key:"shipping_charge",label:"Shipping Charge",format:"currency"},{key:"bcy_shipping_charge",label:"Base Currency Shipping Charge",format:"currency"},{key:"bcy_adjustment",label:"Base Currency Adjustment",format:"currency"},{key:"bcy_sub_total",label:"Base Currency Sub Total",format:"currency"},{key:"bcy_discount_total",label:"Base Currency Discount Total",format:"number"},{key:"bcy_tax_total",label:"Base Currency Tax Total",format:"currency"},{key:"bcy_total",label:"Base Currency Total",format:"currency"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"write_off_amount",label:"Write Off Amount",format:"currency"},{key:"roundoff_value",label:"Roundoff Value",format:"number"},{key:"transaction_rounding_type",label:"Transaction Rounding Type"},{key:"rounding_mode",label:"Rounding Mode"},{key:"bcy_rounding_mode",label:"Base Currency Rounding Mode"},{key:"is_inclusive_tax",label:"Inclusive Tax",format:"boolean"},{key:"sub_total_inclusive_of_tax",label:"Sub Total Inclusive Of Tax",format:"number"},{key:"contact_category",label:"Contact Category"},{key:"tax_rounding",label:"Tax Rounding"},{key:"tax_on_discount_preference",label:"Tax On Discount Preference"},{key:"is_discount_tax_inclusive",label:"Discount Tax Inclusive",format:"boolean"},{key:"taxes",label:"Taxes"},{key:"shipping_charge_taxes",label:"Shipping Charge Taxes"},{key:"exceptions",label:"Exceptions"},{key:"tds_calculation_type",label:"TDS Calculation Type"},{key:"can_send_invoice_sms",label:"Can Send Invoice Sms",format:"boolean"},{key:"payment_expected_date",label:"Payment Expected Date",format:"date"},{key:"payment_discount",label:"Payment Discount",format:"number"},{key:"stop_reminder_until_payment_expected_date",label:"Stop Reminder Until Payment Expected Date",format:"boolean"},{key:"last_payment_date",label:"Last Payment Date",format:"date"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"ach_payment_initiated",label:"Ach Payment Initiated",format:"boolean"},{key:"payment_options",label:"Payment Options",children:Zo},{key:"reader_offline_payment_initiated",label:"Reader Offline Payment Initiated",format:"boolean"},{key:"contact_persons",label:"Contact Persons"},{key:"contact_persons_associated",label:"Contact Persons Associated"},{key:"attachment_name",label:"Attachment Name"},{key:"computation_type",label:"Computation Type"},{key:"tds_summary",label:"TDS Summary"},{key:"debit_notes",label:"Debit Notes"},{key:"in_process_payments",label:"In Process Payments"},{key:"deliverychallans",label:"Deliverychallans"},{key:"ewaybills",label:"Ewaybills"},{key:"dispatch_from_address",label:"Dispatch From Address"},{key:"is_eway_bill_required",label:"Eway Bill Required",format:"boolean"},{key:"can_generate_ewaybill_using_irn",label:"Can Generate E-Way Bill Using IRN",format:"boolean"},{key:"merchant_id",label:"Merchant ID"},{key:"merchant_name",label:"Merchant Name"},{key:"ecomm_operator_id",label:"Ecomm Operator ID"},{key:"ecomm_operator_name",label:"Ecomm Operator Name"},{key:"salesorder_id",label:"Sales Order ID"},{key:"salesorder_number",label:"Sales Order Number"},{key:"salesorders",label:"Sales Orders"},{key:"packages",label:"Packages"},{key:"shipping_bills",label:"Shipping Bills"},{key:"contact_persons_details",label:"Contact Persons Details"},{key:"contact",label:"Contact",children:Vo},{key:"salesperson_id",label:"Salesperson ID"},{key:"salesperson_name",label:"Salesperson Name"},{key:"is_emailed",label:"Emailed",format:"boolean"},{key:"reminders_sent",label:"Reminders Sent",format:"number"},{key:"last_reminder_sent_date",label:"Last Reminder Sent Date",format:"date"},{key:"next_reminder_date_formatted",label:"Next Reminder Date (Formatted)"},{key:"is_viewed_by_client",label:"Viewed By Client",format:"boolean"},{key:"client_viewed_time",label:"Client Viewed Time",format:"datetime"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"template_type",label:"Template Type"},{key:"notes",label:"Notes"},{key:"terms",label:"Terms"},{key:"subject_content",label:"Subject Content"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_id",label:"Created By ID"},{key:"created_by_name",label:"Created By Name"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"is_backorder",label:"Backorder",format:"boolean"},{key:"sales_channel",label:"Sales Channel"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"type",label:"Type"},{key:"color_code",label:"Color Code"},{key:"current_sub_status_id",label:"Current Sub Status ID"},{key:"current_sub_status",label:"Current Sub Status"},{key:"sub_statuses",label:"Sub Statuses"},{key:"reason_for_debit_note",label:"Reason For Debit Note"},{key:"estimate_id",label:"Estimate ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"schedule_time",label:"Schedule Time",format:"datetime"},{key:"no_of_copies",label:"No Of Copies",format:"number"},{key:"show_no_of_copies",label:"Show No Of Copies",format:"boolean"},{key:"customer_default_billing_address",label:"Customer Default Billing Address"},{key:"reference_invoice",label:"Reference Invoice",children:Ho},{key:"includes_package_tracking_info",label:"Includes Package Tracking Info",format:"boolean"},{key:"approvers_list",label:"Approvers List"},{key:"qr_code",label:"QR Code",children:Go},{key:"tags",label:"Tags"},{key:"registration_details",label:"Registration Details"}]}]},Gk={fields:[...F,{key:"data",label:"Data",children:[{key:"is_first_email",label:"First Email",format:"boolean"}]}]},Wk={fields:[...F,{key:"info",label:"Info",children:[{key:"email_errors_info",label:"Email Errors Info",listItems:ok},{key:"email_success_info",label:"Email Success Info",children:[{key:"message",label:"Message"},{key:"sent_count",label:"Sent Count",format:"number"}]}]}]},Kk={fields:[...F,{key:"contact",label:"Contact",children:[{key:"contact_id",label:"Contact ID"},{key:"contact_name",label:"Contact Name"},{key:"company_name",label:"Company Name"},{key:"can_show_integration_outlet_info",label:"Can Show Integration Outlet Info",format:"boolean"},{key:"contact_tax_information",label:"Contact Tax Information"},{key:"contact_blocks",label:"Contact Blocks"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"designation",label:"Designation"},{key:"department",label:"Department"},{key:"website",label:"Website",format:"url"},{key:"is_bcy_only_contact",label:"Base Currency Only Contact",format:"boolean"},{key:"is_credit_limit_migration_completed",label:"Credit Limit Migration Completed",format:"boolean"},{key:"language_code",label:"Language Code"},{key:"language_code_formatted",label:"Language Code (Formatted)"},{key:"contact_salutation",label:"Contact Salutation"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"invited_by",label:"Invited By"},{key:"portal_status",label:"Portal Status"},{key:"is_client_review_asked",label:"Client Review Asked",format:"boolean"},{key:"has_transaction",label:"Has Transaction",format:"boolean"},{key:"contact_type",label:"Contact Type"},{key:"customer_sub_type",label:"Customer Sub Type"},{key:"contact_relation_type",label:"Contact Relation Type"},{key:"owner_id",label:"Owner ID"},{key:"owner_name",label:"Owner Name"},{key:"source",label:"Source",format:"number"},{key:"documents",label:"Documents"},{key:"twitter",label:"Twitter"},{key:"facebook",label:"Facebook"},{key:"is_crm_customer",label:"CRM Customer",format:"boolean"},{key:"is_linked_with_zohocrm",label:"Linked With Zoho CRM",format:"boolean"},{key:"is_deleted_in_crm",label:"Deleted In CRM",format:"boolean"},{key:"primary_contact_id",label:"Primary Contact ID"},{key:"zcrm_account_id",label:"Zoho CRM Account ID"},{key:"zcrm_contact_id",label:"Zoho CRM Contact ID"},{key:"crm_owner_id",label:"CRM Owner ID"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"credit_limit_exceeded_amount",label:"Credit Limit Exceeded Amount",format:"currency"},{key:"currency_id",label:"Currency ID"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"can_show_customer_ob",label:"Can Show Customer Opening Balance",format:"boolean"},{key:"can_show_vendor_ob",label:"Can Show Vendor Opening Balance",format:"boolean"},{key:"opening_balance_amount",label:"Opening Balance Amount",format:"currency"},{key:"opening_balance_amount_bcy",label:"Opening Balance Amount (Base Currency)",format:"currency"},{key:"outstanding_ob_receivable_amount",label:"Outstanding Opening Balance Receivable Amount",format:"currency"},{key:"outstanding_ob_payable_amount",label:"Outstanding Opening Balance Payable Amount",format:"currency"},{key:"outstanding_receivable_amount",label:"Outstanding Receivable Amount",format:"currency"},{key:"outstanding_receivable_amount_bcy",label:"Outstanding Receivable Amount (Base Currency)",format:"currency"},{key:"outstanding_payable_amount",label:"Outstanding Payable Amount",format:"currency"},{key:"outstanding_payable_amount_bcy",label:"Outstanding Payable Amount (Base Currency)",format:"currency"},{key:"unused_credits_receivable_amount",label:"Unused Credits Receivable Amount",format:"currency"},{key:"unused_credits_receivable_amount_bcy",label:"Unused Credits Receivable Amount (Base Currency)",format:"currency"},{key:"unused_credits_payable_amount",label:"Unused Credits Payable Amount",format:"currency"},{key:"unused_credits_payable_amount_bcy",label:"Unused Credits Payable Amount (Base Currency)",format:"currency"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"status",label:"Status"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"is_sms_enabled",label:"Sms Enabled",format:"boolean"},{key:"is_consent_agreed",label:"Consent Agreed",format:"boolean"},{key:"consent_date",label:"Consent Date",format:"date"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"pan_no",label:"PAN No"},{key:"trader_name",label:"Trader Name"},{key:"legal_name",label:"Legal Name"},{key:"tax_reg_label",label:"Tax Reg Label"},{key:"udyam_reg_no",label:"Udyam Reg No"},{key:"msme_type",label:"Msme Type"},{key:"is_valid_udyam_no",label:"Valid Udyam No",format:"boolean"},{key:"udyam_validated_time",label:"Udyam Validated Time",format:"datetime"},{key:"udyam_validated_time_formatted",label:"Udyam Validated Time (Formatted)"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"contact_category",label:"Contact Category"},{key:"sales_channel",label:"Sales Channel"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"portal_receipt_count",label:"Portal Receipt Count",format:"number"},{key:"opening_balances",label:"Opening Balances"},{key:"entity_address_id",label:"Entity Address ID"},{key:"billing_address",label:"Billing Address",children:Et},{key:"shipping_address",label:"Shipping Address",children:Et},{key:"contact_persons",label:"Contact Persons",labelKey:"first_name",listItems:gp},{key:"addresses",label:"Addresses"},{key:"pricebook_id",label:"Pricebook ID"},{key:"pricebook_name",label:"Pricebook Name"},{key:"default_templates",label:"Default Templates",children:Js},{key:"associated_with_square",label:"Associated With Square",format:"boolean"},{key:"cards",label:"Cards"},{key:"checks",label:"Checks"},{key:"upi_mandates",label:"Upi Mandates"},{key:"bank_accounts",label:"Bank Accounts"},{key:"vpa_list",label:"Vpa List"},{key:"notes",label:"Notes"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_name",label:"Created By Name"},{key:"created_by_id",label:"Created By ID"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"tags",label:"Tags",listItems:[{key:"tag_option_id",label:"Tag Option ID"},{key:"is_tag_mandatory",label:"Tag Mandatory",format:"boolean"},{key:"tag_name",label:"Tag Name"},{key:"tag_id",label:"Tag ID"},{key:"tag_option_name",label:"Tag Option Name"}]},{key:"zohopeople_client_id",label:"Zoho People Client ID"},{key:"networking_status",label:"Networking Status"},{key:"networking_key",label:"Networking Key"},{key:"customer_currency_summaries",label:"Customer Currency Summaries",listItems:Xs},{key:"approvers_list",label:"Approvers List"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"is_multi_match_approval",label:"Multi Match Approval",format:"boolean"},{key:"approval_name",label:"Approval Name"},{key:"approval_path",label:"Approval Path"},{key:"approvers",label:"Approvers"},{key:"note_to_approver",label:"Note To Approver"},{key:"integration_references",label:"Integration References"},{key:"additional_information",label:"Additional Information"},{key:"registration_details",label:"Registration Details"}]}]},Jk={fields:[...F,{key:"billing_address",label:"Billing Address",children:[{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"fax",label:"Fax"},{key:"phone",label:"Phone"},{key:"attention",label:"Attention"},{key:"is_one_off_address",label:"One Off Address",format:"boolean"},{key:"is_update_customer",label:"Update Customer",format:"boolean"}]}]},Xk={fields:[...F,{key:"invoice",label:"Invoice",children:[{key:"invoice_id",label:"Invoice ID"},{key:"channel_invoice_id",label:"Channel Invoice ID"},{key:"account_identifier",label:"Account Identifier"},{key:"invoice_number",label:"Invoice Number"},{key:"invoice_number_prefix",label:"Invoice Number Prefix"},{key:"invoice_number_suffix",label:"Invoice Number Suffix"},{key:"date",label:"Date",format:"date"},{key:"due_date",label:"Due Date",format:"date"},{key:"issued_date",label:"Issued Date",format:"date"},{key:"offline_created_date_with_time",label:"Offline Created Date With Time",format:"datetime"},{key:"customer_id",label:"Customer ID"},{key:"customer_name",label:"Customer Name"},{key:"customer_custom_fields",label:"Customer Custom Fields"},{key:"customer_custom_field_hash",label:"Customer Custom Fields",dynamicKey:!0},{key:"email",label:"Email",format:"email"},{key:"currency_id",label:"Currency ID"},{key:"currency_formatter",label:"Currency Formatter",children:qo},{key:"invoice_source",label:"Invoice Source"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_name_formatted",label:"Currency Name (Formatted)"},{key:"status",label:"Status"},{key:"unprocessed_payment_amount",label:"Unprocessed Payment Amount",format:"currency"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"recurring_invoice_id",label:"Recurring Invoice ID"},{key:"is_last_child_invoice",label:"Last Child Invoice",format:"boolean"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"invoice_installments",label:"Invoice Installments"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"payment_made",label:"Payment Made",format:"currency"},{key:"zcrm_potential_id",label:"Zoho CRM Potential ID"},{key:"zcrm_potential_name",label:"Zoho CRM Potential Name"},{key:"reference_number",label:"Reference Number"},{key:"discount_code",label:"Discount Code"},{key:"is_inventory_valuation_pending",label:"Inventory Valuation Pending",format:"boolean"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"is_progress_invoice",label:"Progress Invoice",format:"boolean"},{key:"can_show_kit_return",label:"Can Show Kit Return",format:"boolean"},{key:"is_kit_partial_return",label:"Kit Partial Return",format:"boolean"},{key:"show_convert_to_package",label:"Show Convert To Package",format:"boolean"},{key:"show_convert_to_shipment",label:"Show Convert To Shipment",format:"boolean"},{key:"line_items",label:"Line Items",labelKey:"name",listItems:kp},{key:"total_retention_amount",label:"Total Retention Amount",format:"currency"},{key:"retention_items",label:"Retention Items"},{key:"retention_override_preference",label:"Retention Override Preference"},{key:"credits_associated",label:"Credits Associated"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"is_autobill_enabled",label:"Autobill Enabled",format:"boolean"},{key:"inprocess_transaction_present",label:"Inprocess Transaction Present",format:"boolean"},{key:"allow_partial_payments",label:"Allow Partial Payments",format:"boolean"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"sub_total",label:"Sub Total",format:"currency"},{key:"tax_total",label:"Tax Total",format:"currency"},{key:"total_taxable_amount",label:"Total Taxable Amount",format:"currency"},{key:"discount_total",label:"Discount Total",format:"number"},{key:"discount_percent",label:"Discount Percent",format:"number"},{key:"discount",label:"Discount",format:"number"},{key:"discount_applied_on_amount",label:"Discount Applied On Amount",format:"number"},{key:"discount_type",label:"Discount Type"},{key:"discount_account_id",label:"Discount Account ID"},{key:"discount_account_name",label:"Discount Account Name"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"adjustment_account_id",label:"Adjustment Account ID"},{key:"adjustment_account_name",label:"Adjustment Account Name"},{key:"tds_override_preference",label:"TDS Override Preference"},{key:"is_discount_before_tax",label:"Discount Before Tax",format:"boolean"},{key:"adjustment",label:"Adjustment",format:"currency"},{key:"adjustment_description",label:"Adjustment Description"},{key:"shipping_charge_tax_id",label:"Shipping Charge Tax ID"},{key:"shipping_charge_tax_name",label:"Shipping Charge Tax Name"},{key:"shipping_charge_tax_type",label:"Shipping Charge Tax Type"},{key:"shipping_charge_tax_percentage",label:"Shipping Charge Tax Percentage"},{key:"shipping_charge_tax_exemption_id",label:"Shipping Charge Tax Exemption ID"},{key:"shipping_charge_tax_exemption_code",label:"Shipping Charge Tax Exemption Code"},{key:"shipping_charge_tax",label:"Shipping Charge Tax"},{key:"bcy_shipping_charge_tax",label:"Base Currency Shipping Charge Tax"},{key:"shipping_charge_exclusive_of_tax",label:"Shipping Charge Exclusive Of Tax",format:"number"},{key:"shipping_charge_inclusive_of_tax",label:"Shipping Charge Inclusive Of Tax",format:"number"},{key:"shipping_charge_tax_formatted",label:"Shipping Charge Tax (Formatted)"},{key:"shipping_charge_exclusive_of_tax_formatted",label:"Shipping Charge Exclusive Of Tax (Formatted)"},{key:"shipping_charge_inclusive_of_tax_formatted",label:"Shipping Charge Inclusive Of Tax (Formatted)"},{key:"shipping_charge_account_id",label:"Shipping Charge Account ID"},{key:"shipping_charge_account_name",label:"Shipping Charge Account Name"},{key:"shipping_charge",label:"Shipping Charge",format:"currency"},{key:"bcy_shipping_charge",label:"Base Currency Shipping Charge",format:"currency"},{key:"bcy_adjustment",label:"Base Currency Adjustment",format:"currency"},{key:"bcy_sub_total",label:"Base Currency Sub Total",format:"currency"},{key:"bcy_discount_total",label:"Base Currency Discount Total",format:"number"},{key:"bcy_tax_total",label:"Base Currency Tax Total",format:"currency"},{key:"bcy_total",label:"Base Currency Total",format:"currency"},{key:"total",label:"Total",format:"currency"},{key:"balance",label:"Balance",format:"currency"},{key:"write_off_amount",label:"Write Off Amount",format:"currency"},{key:"roundoff_value",label:"Roundoff Value",format:"number"},{key:"transaction_rounding_type",label:"Transaction Rounding Type"},{key:"rounding_mode",label:"Rounding Mode"},{key:"bcy_rounding_mode",label:"Base Currency Rounding Mode"},{key:"is_inclusive_tax",label:"Inclusive Tax",format:"boolean"},{key:"sub_total_inclusive_of_tax",label:"Sub Total Inclusive Of Tax",format:"number"},{key:"contact_category",label:"Contact Category"},{key:"tax_rounding",label:"Tax Rounding"},{key:"taxes",label:"Taxes"},{key:"shipping_charge_taxes",label:"Shipping Charge Taxes"},{key:"exceptions",label:"Exceptions"},{key:"tds_calculation_type",label:"TDS Calculation Type"},{key:"can_send_invoice_sms",label:"Can Send Invoice Sms",format:"boolean"},{key:"payment_expected_date",label:"Payment Expected Date",format:"date"},{key:"payment_discount",label:"Payment Discount",format:"number"},{key:"stop_reminder_until_payment_expected_date",label:"Stop Reminder Until Payment Expected Date",format:"boolean"},{key:"last_payment_date",label:"Last Payment Date",format:"date"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"ach_payment_initiated",label:"Ach Payment Initiated",format:"boolean"},{key:"payment_options",label:"Payment Options",children:Zo},{key:"reader_offline_payment_initiated",label:"Reader Offline Payment Initiated",format:"boolean"},{key:"contact_persons",label:"Contact Persons"},{key:"contact_persons_associated",label:"Contact Persons Associated"},{key:"attachment_name",label:"Attachment Name"},{key:"documents",label:"Documents",labelKey:"file_name",listItems:Qb},{key:"computation_type",label:"Computation Type"},{key:"tds_summary",label:"TDS Summary"},{key:"debit_notes",label:"Debit Notes"},{key:"in_process_payments",label:"In Process Payments"},{key:"deliverychallans",label:"Deliverychallans"},{key:"ewaybills",label:"Ewaybills"},{key:"dispatch_from_address",label:"Dispatch From Address"},{key:"is_eway_bill_required",label:"Eway Bill Required",format:"boolean"},{key:"can_generate_ewaybill_using_irn",label:"Can Generate E-Way Bill Using IRN",format:"boolean"},{key:"merchant_id",label:"Merchant ID"},{key:"merchant_name",label:"Merchant Name"},{key:"ecomm_operator_id",label:"Ecomm Operator ID"},{key:"ecomm_operator_name",label:"Ecomm Operator Name"},{key:"salesorder_id",label:"Sales Order ID"},{key:"salesorder_number",label:"Sales Order Number"},{key:"salesorders",label:"Sales Orders"},{key:"packages",label:"Packages"},{key:"shipping_bills",label:"Shipping Bills"},{key:"contact_persons_details",label:"Contact Persons Details",labelKey:"first_name",listItems:Ys},{key:"contact",label:"Contact",children:Vo},{key:"salesperson_id",label:"Salesperson ID"},{key:"salesperson_name",label:"Salesperson Name"},{key:"is_emailed",label:"Emailed",format:"boolean"},{key:"reminders_sent",label:"Reminders Sent",format:"number"},{key:"last_reminder_sent_date",label:"Last Reminder Sent Date",format:"date"},{key:"next_reminder_date_formatted",label:"Next Reminder Date (Formatted)"},{key:"is_viewed_by_client",label:"Viewed By Client",format:"boolean"},{key:"client_viewed_time",label:"Client Viewed Time",format:"datetime"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"template_id",label:"Template ID"},{key:"template_name",label:"Template Name"},{key:"template_type",label:"Template Type"},{key:"notes",label:"Notes"},{key:"terms",label:"Terms"},{key:"billing_address",label:"Billing Address",children:Ye},{key:"shipping_address",label:"Shipping Address",children:Ye},{key:"invoice_url",label:"Invoice URL",format:"url"},{key:"subject_content",label:"Subject Content"},{key:"can_send_in_mail",label:"Can Send In Email",format:"boolean"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_id",label:"Created By ID"},{key:"created_by_name",label:"Created By Name"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"page_width",label:"Page Width"},{key:"page_height",label:"Page Height"},{key:"orientation",label:"Orientation"},{key:"is_backorder",label:"Backorder",format:"boolean"},{key:"sales_channel",label:"Sales Channel"},{key:"is_pre_gst",label:"Pre GST",format:"boolean"},{key:"type",label:"Type"},{key:"color_code",label:"Color Code"},{key:"current_sub_status_id",label:"Current Sub Status ID"},{key:"current_sub_status",label:"Current Sub Status"},{key:"sub_statuses",label:"Sub Statuses"},{key:"reason_for_debit_note",label:"Reason For Debit Note"},{key:"estimate_id",label:"Estimate ID"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"credits_applied",label:"Credits Applied",format:"currency"},{key:"tax_amount_withheld",label:"Tax Amount Withheld",format:"number"},{key:"schedule_time",label:"Schedule Time",format:"datetime"},{key:"no_of_copies",label:"No Of Copies",format:"number"},{key:"show_no_of_copies",label:"Show No Of Copies",format:"boolean"},{key:"customer_default_billing_address",label:"Customer Default Billing Address",children:Qs},{key:"reference_invoice",label:"Reference Invoice",children:Ho},{key:"includes_package_tracking_info",label:"Includes Package Tracking Info",format:"boolean"},{key:"approvers_list",label:"Approvers List"},{key:"qr_code",label:"QR Code",children:Go},{key:"networking",label:"Networking",children:ra},{key:"tags",label:"Tags"},{key:"exchange_invoices",label:"Exchange Invoices"},{key:"registration_details",label:"Registration Details"}]}]},Yk={fields:[...F,{key:"shipping_address",label:"Shipping Address",children:[{key:"company_name",label:"Company Name"},{key:"address",label:"Address"},{key:"street2",label:"Street2"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"zip",label:"Zip"},{key:"country",label:"Country"},{key:"fax",label:"Fax"},{key:"phone",label:"Phone"},{key:"attention",label:"Attention"},{key:"is_one_off_address",label:"One Off Address",format:"boolean"},{key:"is_update_customer",label:"Update Customer",format:"boolean"}]}]},Qk={fields:[...F,{key:"organization",label:"Organization",children:[{key:"organization_id",label:"Organization ID"},{key:"name",label:"Name"},{key:"logo_url",label:"Logo URL",format:"image"},{key:"store_logo_url",label:"Store Logo URL",format:"image"},{key:"is_default_org",label:"Default Organization",format:"boolean"},{key:"user_role",label:"User Role"},{key:"role_id",label:"Role ID"},{key:"account_created_date",label:"Account Created Date",format:"date"},{key:"time_zone",label:"Time Zone"},{key:"language_code",label:"Language Code"},{key:"customer_languages",label:"Customer Languages"},{key:"date_format",label:"Date Format"},{key:"field_separator",label:"Field Separator"},{key:"fiscal_year_start_month",label:"Fiscal Year Start Month",format:"number"},{key:"primary_domain_name",label:"Primary Domain Name"},{key:"is_public_domain",label:"Public Domain",format:"boolean"},{key:"can_show_authentication_warning",label:"Can Show Authentication Warning",format:"boolean"},{key:"fiscal_year_start_date",label:"Fiscal Year Start Date",format:"number"},{key:"contact_name",label:"Contact Name"},{key:"industry_type",label:"Industry Type"},{key:"industry_size",label:"Industry Size"},{key:"previous_invoicing_option",label:"Previous Invoicing Option"},{key:"previous_product_option",label:"Previous Product Option"},{key:"business_management_type",label:"Business Management Type"},{key:"company_id_label",label:"Company ID Label"},{key:"custom_field_type",label:"Custom Field Type",format:"number"},{key:"is_trial_period_extended",label:"Trial Period Extended",format:"boolean"},{key:"is_sez",label:"Sez",format:"boolean"},{key:"is_designated_zone",label:"Designated Zone",format:"boolean"},{key:"is_free_zone",label:"Free Zone",format:"boolean"},{key:"store_url",label:"Store URL",format:"url"},{key:"company_id_value",label:"Company ID Value"},{key:"label_for_company_id",label:"Label For Company ID"},{key:"tax_id_label",label:"Tax ID Label"},{key:"tax_id_value",label:"Tax ID Value"},{key:"currency_id",label:"Currency ID"},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"currency_format",label:"Currency Format"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"status",label:"Status"},{key:"address",label:"Address",children:ek},{key:"tax_settings",label:"Tax Settings",children:tk},{key:"is_registered_for_gst",label:"Registered For GST",format:"boolean"},{key:"is_composition_scheme_enabled",label:"Composition Scheme Enabled",format:"boolean"},{key:"org_address",label:"Organization Address"},{key:"remit_to_address",label:"Remit To Address"},{key:"phone",label:"Phone"},{key:"fax",label:"Fax"},{key:"website",label:"Website",format:"url"},{key:"version",label:"Version"},{key:"weight_unit",label:"Weight Unit"},{key:"dimension_unit",label:"Dimension Unit"},{key:"business_type",label:"Business Type"},{key:"email",label:"Email",format:"email"},{key:"unverified_emails_count",label:"Unverified Emails Count",format:"number"},{key:"tax_basis",label:"Tax Basis"},{key:"custom_fields",label:"Custom Fields",labelKey:"label",listItems:Ip},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"is_org_active",label:"Organization Active",format:"boolean"},{key:"is_new_customer_custom_fields",label:"New Customer Custom Fields",format:"boolean"},{key:"is_late_fee_disabled",label:"Late Fee Disabled",format:"boolean"},{key:"is_portal_enabled",label:"Portal Enabled",format:"boolean"},{key:"portal_name",label:"Portal Name"},{key:"is_estimate_enabled",label:"Estimate Enabled",format:"boolean"},{key:"is_project_enabled",label:"Project Enabled",format:"boolean"},{key:"is_purchaseorder_enabled",label:"Purchase Order Enabled",format:"boolean"},{key:"is_salesorder_enabled",label:"Sales Order Enabled",format:"boolean"},{key:"is_retainerinvoice_enabled",label:"Retainerinvoice Enabled",format:"boolean"},{key:"mode",label:"Mode"},{key:"payments_url",label:"Payments URL",format:"url"}]}]},ev={fields:[...F,{key:"contact",label:"Contact",children:[{key:"contact_id",label:"Contact ID"},{key:"contact_name",label:"Contact Name"},{key:"company_name",label:"Company Name"},{key:"can_show_integration_outlet_info",label:"Can Show Integration Outlet Info",format:"boolean"},{key:"contact_tax_information",label:"Contact Tax Information"},{key:"contact_blocks",label:"Contact Blocks"},{key:"first_name",label:"First Name"},{key:"last_name",label:"Last Name"},{key:"designation",label:"Designation"},{key:"department",label:"Department"},{key:"website",label:"Website",format:"url"},{key:"is_bcy_only_contact",label:"Base Currency Only Contact",format:"boolean"},{key:"is_credit_limit_migration_completed",label:"Credit Limit Migration Completed",format:"boolean"},{key:"language_code",label:"Language Code"},{key:"language_code_formatted",label:"Language Code (Formatted)"},{key:"contact_salutation",label:"Contact Salutation"},{key:"email",label:"Email",format:"email"},{key:"phone",label:"Phone"},{key:"mobile",label:"Mobile"},{key:"photo_url",label:"Photo URL",format:"image"},{key:"invited_by",label:"Invited By"},{key:"portal_status",label:"Portal Status"},{key:"is_client_review_asked",label:"Client Review Asked",format:"boolean"},{key:"has_transaction",label:"Has Transaction",format:"boolean"},{key:"contact_type",label:"Contact Type"},{key:"customer_sub_type",label:"Customer Sub Type"},{key:"contact_relation_type",label:"Contact Relation Type"},{key:"owner_id",label:"Owner ID"},{key:"owner_name",label:"Owner Name"},{key:"source",label:"Source",format:"number"},{key:"documents",label:"Documents"},{key:"twitter",label:"Twitter"},{key:"facebook",label:"Facebook"},{key:"is_crm_customer",label:"CRM Customer",format:"boolean"},{key:"is_linked_with_zohocrm",label:"Linked With Zoho CRM",format:"boolean"},{key:"is_deleted_in_crm",label:"Deleted In CRM",format:"boolean"},{key:"primary_contact_id",label:"Primary Contact ID"},{key:"zcrm_account_id",label:"Zoho CRM Account ID"},{key:"zcrm_contact_id",label:"Zoho CRM Contact ID"},{key:"crm_owner_id",label:"CRM Owner ID"},{key:"payment_terms",label:"Payment Terms",format:"number"},{key:"payment_terms_label",label:"Payment Terms Label"},{key:"payment_terms_id",label:"Payment Terms ID"},{key:"credit_limit_exceeded_amount",label:"Credit Limit Exceeded Amount",format:"currency"},{key:"currency_id",label:"Currency ID"},{key:"lock_details",label:"Lock Details",children:Ke},{key:"locked_actions",label:"Locked Actions"},{key:"lock_detail",label:"Lock Detail",children:ut},{key:"currency_code",label:"Currency Code"},{key:"currency_symbol",label:"Currency Symbol"},{key:"price_precision",label:"Price Precision",format:"number"},{key:"exchange_rate",label:"Exchange Rate",format:"number"},{key:"can_show_customer_ob",label:"Can Show Customer Opening Balance",format:"boolean"},{key:"can_show_vendor_ob",label:"Can Show Vendor Opening Balance",format:"boolean"},{key:"opening_balance_amount",label:"Opening Balance Amount",format:"currency"},{key:"opening_balance_amount_bcy",label:"Opening Balance Amount (Base Currency)",format:"currency"},{key:"outstanding_ob_receivable_amount",label:"Outstanding Opening Balance Receivable Amount",format:"currency"},{key:"outstanding_ob_payable_amount",label:"Outstanding Opening Balance Payable Amount",format:"currency"},{key:"outstanding_receivable_amount",label:"Outstanding Receivable Amount",format:"currency"},{key:"outstanding_receivable_amount_bcy",label:"Outstanding Receivable Amount (Base Currency)",format:"currency"},{key:"outstanding_payable_amount",label:"Outstanding Payable Amount",format:"currency"},{key:"outstanding_payable_amount_bcy",label:"Outstanding Payable Amount (Base Currency)",format:"currency"},{key:"unused_credits_receivable_amount",label:"Unused Credits Receivable Amount",format:"currency"},{key:"unused_credits_receivable_amount_bcy",label:"Unused Credits Receivable Amount (Base Currency)",format:"currency"},{key:"unused_credits_payable_amount",label:"Unused Credits Payable Amount",format:"currency"},{key:"unused_credits_payable_amount_bcy",label:"Unused Credits Payable Amount (Base Currency)",format:"currency"},{key:"unused_retainer_payments",label:"Unused Retainer Payments",format:"number"},{key:"status",label:"Status"},{key:"payment_reminder_enabled",label:"Payment Reminder Enabled",format:"boolean"},{key:"is_sms_enabled",label:"Sms Enabled",format:"boolean"},{key:"is_consent_agreed",label:"Consent Agreed",format:"boolean"},{key:"consent_date",label:"Consent Date",format:"date"},{key:"is_client_review_settings_enabled",label:"Client Review Settings Enabled",format:"boolean"},{key:"custom_fields",label:"Custom Fields"},{key:"custom_field_hash",label:"Custom Fields",dynamicKey:!0},{key:"tds_tax_id",label:"TDS Tax ID"},{key:"pan_no",label:"PAN No"},{key:"trader_name",label:"Trader Name"},{key:"legal_name",label:"Legal Name"},{key:"tax_reg_label",label:"Tax Reg Label"},{key:"udyam_reg_no",label:"Udyam Reg No"},{key:"msme_type",label:"Msme Type"},{key:"is_valid_udyam_no",label:"Valid Udyam No",format:"boolean"},{key:"udyam_validated_time",label:"Udyam Validated Time",format:"datetime"},{key:"udyam_validated_time_formatted",label:"Udyam Validated Time (Formatted)"},{key:"account_id",label:"Account ID"},{key:"account_name",label:"Account Name"},{key:"contact_category",label:"Contact Category"},{key:"sales_channel",label:"Sales Channel"},{key:"ach_supported",label:"Ach Supported",format:"boolean"},{key:"portal_receipt_count",label:"Portal Receipt Count",format:"number"},{key:"opening_balances",label:"Opening Balances"},{key:"entity_address_id",label:"Entity Address ID"},{key:"billing_address",label:"Billing Address",children:Et},{key:"shipping_address",label:"Shipping Address",children:Et},{key:"contact_persons",label:"Contact Persons"},{key:"addresses",label:"Addresses"},{key:"pricebook_id",label:"Pricebook ID"},{key:"pricebook_name",label:"Pricebook Name"},{key:"default_templates",label:"Default Templates",children:Js},{key:"associated_with_square",label:"Associated With Square",format:"boolean"},{key:"cards",label:"Cards"},{key:"checks",label:"Checks"},{key:"upi_mandates",label:"Upi Mandates"},{key:"bank_accounts",label:"Bank Accounts"},{key:"vpa_list",label:"Vpa List"},{key:"notes",label:"Notes"},{key:"created_time",label:"Created Time",format:"datetime"},{key:"created_date",label:"Created Date",format:"date"},{key:"created_by_name",label:"Created By Name"},{key:"created_by_id",label:"Created By ID"},{key:"last_modified_by_id",label:"Last Modified By ID"},{key:"last_modified_time",label:"Last Modified Time",format:"datetime"},{key:"tags",label:"Tags"},{key:"zohopeople_client_id",label:"Zoho People Client ID"},{key:"networking_status",label:"Networking Status"},{key:"networking_key",label:"Networking Key"},{key:"customer_currency_summaries",label:"Customer Currency Summaries",listItems:Xs},{key:"approvers_list",label:"Approvers List"},{key:"submitted_date",label:"Submitted Date",format:"date"},{key:"submitted_by",label:"Submitted By"},{key:"submitted_by_name",label:"Submitted By Name"},{key:"submitted_by_email",label:"Submitted By Email",format:"email"},{key:"submitted_by_photo_url",label:"Submitted By Photo URL",format:"image"},{key:"submitter_id",label:"Submitter ID"},{key:"approver_id",label:"Approver ID"},{key:"is_multi_match_approval",label:"Multi Match Approval",format:"boolean"},{key:"approval_name",label:"Approval Name"},{key:"approval_path",label:"Approval Path"},{key:"approvers",label:"Approvers"},{key:"note_to_approver",label:"Note To Approver"},{key:"integration_references",label:"Integration References"},{key:"additional_information",label:"Additional Information"},{key:"registration_details",label:"Registration Details"}]}]};var tv=_({auth:h,name:"zoho_books_create_contact_person",outputSchema:Ko,displayName:"Create Contact Person",description:"Adds a contact person to a Zoho Books customer or vendor.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Adds a contact person to an existing contact and returns it with its contact_person_id. Each call creates a new person; use List Contact Persons first to avoid duplicates. Use Mark Contact Person as Primary to make the person primary.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),firstName:c.ShortText({displayName:"First Name",required:!0}),lastName:c.ShortText({displayName:"Last Name",required:!1}),salutation:c.ShortText({displayName:"Salutation",description:'e.g. "Mr".',required:!1}),email:c.ShortText({displayName:"Email",required:!1}),phone:c.ShortText({displayName:"Phone",description:'e.g. "+1-925-921-9201".',required:!1}),mobile:c.ShortText({displayName:"Mobile",required:!1}),skype:c.ShortText({displayName:"Skype",required:!1}),designation:c.ShortText({displayName:"Designation",description:'e.g. "Sales Engineer".',required:!1}),department:c.ShortText({displayName:"Department",description:'e.g. "Sales".',required:!1}),enablePortal:u.flag({displayName:"Enable Portal",description:"Gives the person access to the client portal.",required:!1}),additionalFields:u.additionalFields({description:'Other contact person fields, e.g. {"communication_preference": {"is_sms_enabled": true, "is_whatsapp_enabled": false}}. The props above win over the same keys here.'})},async run(e){let{contactId:t,firstName:r,lastName:n,salutation:o,email:a,phone:i,mobile:l,skype:d,designation:m,department:b,enablePortal:x,additionalFields:I}=e.propsValue,p=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/contacts/contactpersons",query:{organization_id:p},body:{...I,contact_id:t,first_name:r,...z("last_name",n),...z("salutation",o),...z("email",a),...z("phone",i),...z("mobile",l),...z("skype",d),...z("designation",m),...z("department",b),...z("enable_portal",B.toBoolean({value:x}))}})}});var ov=_({auth:h,name:"zoho_books_delete_contact_person",outputSchema:D,displayName:"Delete Contact Person",description:"Deletes a contact person of a Zoho Books customer or vendor.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes a contact person. It cannot be undone; the contact itself is kept.",idempotent:!1},props:{organizationId:u.organizationId(),contactPersonId:u.contactPersonId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/contacts/contactpersons/${encodeURIComponent(e.propsValue.contactPersonId)}`,query:{organization_id:t}})}});var rv=_({auth:h,name:"zoho_books_get_contact_person",outputSchema:Ko,displayName:"Get Contact Person",description:"Gets a contact person of a Zoho Books customer or vendor.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets one contact person of a contact by ID, with name, email, phones and primary status.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0,description:"ID of the contact the person belongs to, from List Contacts or Create Contact."}),contactPersonId:u.contactPersonId({required:!0})},async run(e){let{contactId:t,contactPersonId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/contactpersons/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var nv=_({auth:h,name:"zoho_books_list_contact_persons",outputSchema:Rk,displayName:"List Contact Persons",description:"Lists the contact persons of a Zoho Books customer or vendor.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the contact persons of one contact with their contact_person_id and is_primary_contact. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),page:u.page(),perPage:u.perPage()},async run(e){let{contactId:t,page:r,perPage:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/contactpersons`,query:{organization_id:o,...B.pageQuery({page:r,perPage:n})}})}});var av=_({auth:h,name:"zoho_books_mark_contact_person_primary",outputSchema:D,displayName:"Mark Contact Person as Primary",description:"Makes a contact person the primary contact person of its contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Makes a contact person the primary contact person of its contact; the previous primary person stays as a regular contact person.",idempotent:!0},props:{organizationId:u.organizationId(),contactPersonId:u.contactPersonId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/contactpersons/${encodeURIComponent(e.propsValue.contactPersonId)}/primary`,query:{organization_id:t}})}});var iv=_({auth:h,name:"zoho_books_update_contact_person",outputSchema:Ko,displayName:"Update Contact Person",description:"Updates a contact person of a Zoho Books customer or vendor.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates a contact person; only the fields given are sent besides the contact ID. Use Get Contact Person to read the current values.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0,description:"ID of the contact the person belongs to, from List Contacts or Get Contact Person."}),contactPersonId:u.contactPersonId({required:!0}),firstName:c.ShortText({displayName:"First Name",required:!1}),lastName:c.ShortText({displayName:"Last Name",required:!1}),salutation:c.ShortText({displayName:"Salutation",description:'e.g. "Mr".',required:!1}),email:c.ShortText({displayName:"Email",required:!1}),phone:c.ShortText({displayName:"Phone",description:'e.g. "+1-925-921-9201".',required:!1}),mobile:c.ShortText({displayName:"Mobile",required:!1}),skype:c.ShortText({displayName:"Skype",required:!1}),designation:c.ShortText({displayName:"Designation",description:'e.g. "Sales Engineer".',required:!1}),department:c.ShortText({displayName:"Department",description:'e.g. "Sales".',required:!1}),enablePortal:u.flag({displayName:"Enable Portal",description:"Gives the person access to the client portal.",required:!1}),isPrimaryContact:u.flag({displayName:"Is Primary Contact",description:"Makes the person the primary contact person of the contact.",required:!1}),additionalFields:u.additionalFields({description:'Other contact person fields, e.g. {"communication_preference": {"is_sms_enabled": true, "is_whatsapp_enabled": false}}. The props above win over the same keys here.'})},async run(e){let{contactId:t,contactPersonId:r,firstName:n,lastName:o,salutation:a,email:i,phone:l,mobile:d,skype:m,designation:b,department:x,enablePortal:I,isPrimaryContact:p,additionalFields:v}=e.propsValue,A=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/contacts/contactpersons/${encodeURIComponent(r)}`,query:{organization_id:A},body:{...v,contact_id:t,...z("first_name",n),...z("last_name",o),...z("salutation",a),...z("email",i),...z("phone",l),...z("mobile",d),...z("skype",m),...z("designation",b),...z("department",x),...z("enable_portal",B.toBoolean({value:I})),...z("is_primary_contact",B.toBoolean({value:p}))}})}});var sv=_({auth:h,name:"zoho_books_add_contact_address",outputSchema:tl,displayName:"Add Contact Address",description:"Adds an additional address to a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Adds an additional address to a contact and returns its address_id. Each call adds a new address, so check List Contact Addresses first; use Update Contact to change the billing or shipping address.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),attention:c.ShortText({displayName:"Attention",description:'Name of the person the address is directed to, e.g. "Mr. John".',required:!1}),address:c.ShortText({displayName:"Street",description:'e.g. "4900 Hopyard Rd".',required:!1}),street2:c.ShortText({displayName:"Street 2",description:'e.g. "Suite 310".',required:!1}),city:c.ShortText({displayName:"City",required:!1}),state:c.ShortText({displayName:"State",required:!1}),zip:c.ShortText({displayName:"ZIP Code",required:!1}),country:c.ShortText({displayName:"Country",required:!1}),fax:c.ShortText({displayName:"Fax",required:!1}),phone:c.ShortText({displayName:"Phone",required:!1})},async run(e){let{contactId:t,attention:r,address:n,street2:o,city:a,state:i,zip:l,country:d,fax:m,phone:b}=e.propsValue,x=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/address`,query:{organization_id:x},body:{attention:r,address:n,street2:o,city:a,state:i,zip:l,country:d,fax:m,phone:b}})}});var lv=_({auth:h,name:"zoho_books_add_contact_attachment",outputSchema:ol,displayName:"Add Contact Attachment",description:"Attaches a file to a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Uploads a file and attaches it to a contact as a document. Each call adds a new document; Get Contact Document, Update Contact Document and Delete Contact Document take its document_id.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),file:c.File({displayName:"File",description:"File to attach, e.g. a signed contract PDF.",required:!0})},async run(e){let{contactId:t,file:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),o=new FormData;return o.append("attachment",new Blob([r.data]),r.filename),await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/attachment`,query:{organization_id:n},body:o})}});var cv=_({auth:h,name:"zoho_books_add_contact_comment",outputSchema:ak,displayName:"Add Contact Comment",description:"Adds a comment to a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Adds a comment to a contact. Each call adds a new comment, so check List Contact Comments first to avoid duplicates; Delete Contact Comment removes one.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),description:c.LongText({displayName:"Comment",description:'Text of the comment, e.g. "Followed up on outstanding balance."',required:!0})},async run(e){let{contactId:t,description:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/comments`,query:{organization_id:n},body:{description:r}})}});var uv=_({auth:h,name:"zoho_books_assign_contact_owner",outputSchema:nl,displayName:"Assign Contact Owner",description:"Assigns a Zoho Books user as the owner of a contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Makes a Zoho Books user the owner of one contact, replacing the current owner. Use Assign Owner to Contacts for several contacts at once.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),ownerId:c.ShortText({displayName:"Owner ID",description:"User ID of the Zoho Books user to make the owner, e.g. the owner_id of another contact from Get Contact.",required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/owner`,query:{organization_id:t,owner_id:e.propsValue.ownerId}})}});var dv=_({auth:h,name:"zoho_books_assign_owner_to_contacts",outputSchema:nl,displayName:"Assign Owner to Contacts",description:"Assigns a Zoho Books user as the owner of several contacts at once.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Makes a Zoho Books user the owner of up to 200 contacts in one call, replacing their current owners. Use Assign Contact Owner for a single contact.",idempotent:!0},props:{organizationId:u.organizationId(),contactIds:c.Array({displayName:"Contact IDs",description:'Up to 200 contact IDs, from List Contacts, e.g. ["460000000026049", "460000000026050"].',required:!0}),ownerId:c.ShortText({displayName:"Owner ID",description:"User ID of the Zoho Books user to make the owner, e.g. the owner_id of another contact from Get Contact.",required:!0})},async run(e){let{contactIds:t,ownerId:r}=e.propsValue,n=B.toStringList({value:t,propName:"Contact IDs"}),o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/contacts/owner",query:{organization_id:o,contact_ids:n.join(","),owner_id:r}})}});var mv=_({auth:h,name:"zoho_books_create_contact",outputSchema:sk,displayName:"Create Contact",description:"Creates a customer or vendor in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Creates a customer or vendor and returns it with its contact_id. Each call creates a new contact; use List Contacts first to avoid duplicates, or Upsert Contact by Custom Field.",idempotent:!1},props:{organizationId:u.organizationId(),contactName:c.ShortText({displayName:"Contact Name",description:'Display name of the contact, e.g. "Bowman and Co".',required:!0}),contactType:c.StaticDropdown({displayName:"Contact Type",description:"Defaults to customer.",required:!1,options:{options:[{label:"Customer",value:"customer"},{label:"Vendor",value:"vendor"}]}}),customerSubType:c.StaticDropdown({displayName:"Customer Sub Type",description:"Customers only.",required:!1,options:{options:[{label:"Business",value:"business"},{label:"Individual",value:"individual"}]}}),companyName:c.ShortText({displayName:"Company Name",required:!1}),email:c.ShortText({displayName:"Email",description:"Email of the primary contact person.",required:!1}),firstName:c.ShortText({displayName:"First Name",description:"First name of the primary contact person.",required:!1}),lastName:c.ShortText({displayName:"Last Name",description:"Last name of the primary contact person.",required:!1}),phone:c.ShortText({displayName:"Phone",description:"Phone of the primary contact person.",required:!1}),website:c.ShortText({displayName:"Website",required:!1}),currencyId:c.ShortText({displayName:"Currency ID",description:"Currency ID of the contact. Defaults to the organization base currency.",required:!1}),paymentTerms:c.Number({displayName:"Payment Terms",description:"Days allowed for payment after the invoice date, e.g. 15.",required:!1}),paymentTermsLabel:c.ShortText({displayName:"Payment Terms Label",description:'e.g. "Net 15".',required:!1}),notes:c.LongText({displayName:"Notes",required:!1}),billingAddress:c.Json({displayName:"Billing Address",description:'e.g. {"attention": "Mr. John", "address": "4900 Hopyard Rd", "street2": "Suite 310", "city": "Pleasanton", "state": "CA", "zip": "94588", "country": "U.S.A", "phone": "+1-925-921-9201"}.',required:!1}),shippingAddress:c.Json({displayName:"Shipping Address",description:"Same keys as Billing Address.",required:!1}),additionalFields:u.additionalFields({description:'Other contact fields, e.g. {"credit_limit": 1000, "contact_persons": [{"first_name": "...", "email": "...", "is_primary_contact": true}], "custom_fields": [{"api_name": "cf_x", "value": "..."}], "tax_id": "...", "pricebook_id": "...", "owner_id": "...", "language_code": "en"}. The props above win over the same keys here.'})},async run(e){let{contactName:t,contactType:r,customerSubType:n,companyName:o,email:a,firstName:i,lastName:l,phone:d,website:m,currencyId:b,paymentTerms:x,paymentTermsLabel:I,notes:p,billingAddress:v,shippingAddress:A,additionalFields:C}=e.propsValue,E=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),O=[a,i,l,d].some(L=>L!==void 0);return await f.request({auth:e.auth,method:"POST",path:"/contacts",query:{organization_id:E},body:{...C,contact_name:t,...z("contact_type",r),...z("customer_sub_type",n),...z("company_name",o),...z("website",m),...z("currency_id",b),...z("payment_terms",x),...z("payment_terms_label",I),...z("notes",p),...z("billing_address",v),...z("shipping_address",A),...O?{contact_persons:[{first_name:i,last_name:l,email:a,phone:d,is_primary_contact:!0}]}:{}}})}});var pv=_({auth:h,name:"zoho_books_delete_contact_address",outputSchema:D,displayName:"Delete Contact Address",description:"Deletes an additional address of a Zoho Books contact.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes an additional address of a contact. It cannot be undone.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),addressId:c.ShortText({displayName:"Address ID",description:"Address ID, from List Contact Addresses or Add Contact Address.",required:!0})},async run(e){let{contactId:t,addressId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/contacts/${encodeURIComponent(t)}/address/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var yv=_({auth:h,name:"zoho_books_delete_contact_comment",outputSchema:D,displayName:"Delete Contact Comment",description:"Deletes a comment from a Zoho Books contact.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes one comment from a contact. It cannot be undone. Comment IDs come from List Contact Comments or Add Contact Comment.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),commentId:c.ShortText({displayName:"Comment ID",description:"Comment ID, from List Contact Comments or Add Contact Comment.",required:!0})},async run(e){let{contactId:t,commentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/contacts/${encodeURIComponent(t)}/comments/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var fv=_({auth:h,name:"zoho_books_delete_contact_document",outputSchema:D,displayName:"Delete Contact Document",description:"Deletes a document attached to a Zoho Books contact.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Deletes one document attached to a contact; Restore Contact Documents can bring deleted documents back. Document IDs come from the documents of Get Contact or from Add Contact Attachment.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),documentId:c.ShortText({displayName:"Document ID",description:"Document ID, from the documents of Get Contact or from Add Contact Attachment.",required:!0})},async run(e){let{contactId:t,documentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/contacts/${encodeURIComponent(t)}/documents/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var hv=_({auth:h,name:"zoho_books_delete_contact",outputSchema:D,displayName:"Delete Contact",description:"Deletes a Zoho Books contact (customer or vendor).",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes one customer or vendor. It cannot be undone; use Mark Contact Inactive to keep the history instead, or Delete Contacts for several at once.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}`,query:{organization_id:t}})}});var _v=_({auth:h,name:"zoho_books_delete_contacts",outputSchema:qe,displayName:"Delete Contacts",description:"Deletes several Zoho Books contacts (customers or vendors) at once.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes several customers or vendors in one call. It cannot be undone; use Delete Contact for a single contact or Mark Contact Inactive to keep the history.",idempotent:!1},props:{organizationId:u.organizationId(),contactIds:c.Array({displayName:"Contact IDs",description:'Contact IDs to delete, from List Contacts, e.g. ["460000000026049", "460000000026050"].',required:!0})},async run(e){let{contactIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Contact IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:"/contacts",query:{organization_id:n,contact_ids:r.join(",")}})}});var gv=_({auth:h,name:"zoho_books_disable_contact_payment_reminder",outputSchema:D,displayName:"Disable Contact Payment Reminder",description:"Turns off automated payment reminders for a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns off automated payment reminders for a customer. Use Enable Contact Payment Reminder to turn them back on.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/paymentreminder/disable`,query:{organization_id:t}})}});var bv=_({auth:h,name:"zoho_books_disable_contact_portal",outputSchema:D,displayName:"Disable Contact Portal",description:"Turns off customer portal access for a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns off customer portal access for a contact; Enable Contact Portal turns it back on. Needs the customer portal enabled in Zoho Books settings.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/portal/disable`,query:{organization_id:t}})}});var kv=_({auth:h,name:"zoho_books_email_contact_statement",outputSchema:D,displayName:"Email Contact Statement",description:"Emails a statement of transactions to a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails the account statement of a contact for a date range (the current month when no dates are given). Get Contact Statement Email Content returns the default recipients, subject and body to reuse. Each call sends an email.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),toMailIds:c.Array({displayName:"To",description:'Recipient email addresses, e.g. ["willsmith@bowmanfurniture.com"].',required:!0}),ccMailIds:c.Array({displayName:"CC",description:'Email addresses to copy, e.g. ["peterparker@bowmanfurniture.com"].',required:!1}),subject:c.ShortText({displayName:"Subject",description:'Up to 1000 characters, e.g. "Statement of transactions with Zillium Inc".',required:!0}),body:c.LongText({displayName:"Body",description:"Email body, HTML allowed, up to 5000 characters.",required:!0}),startDate:c.ShortText({displayName:"Start Date",description:"Statement start date, yyyy-mm-dd. Without both dates the current month is sent.",required:!1}),endDate:c.ShortText({displayName:"End Date",description:"Statement end date, yyyy-mm-dd.",required:!1}),sendFromOrgEmail:u.flag({displayName:"Send From Organization Email",description:"Yes sends the email from the organization's email address.",required:!1})},async run(e){let{contactId:t,toMailIds:r,ccMailIds:n,subject:o,body:a,startDate:i,endDate:l,sendFromOrgEmail:d}=e.propsValue,m=B.toStringList({value:r,propName:"To"}),b=n??[];if(!b.every(I=>typeof I=="string"&&I!==""))throw new Error("CC must be a list of email addresses.");let x=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/statements/email`,query:{organization_id:x,start_date:i,end_date:l},body:{to_mail_ids:m,...b.length>0?{cc_mail_ids:b}:{},subject:o,body:a,...z("send_from_org_email_id",B.toBoolean({value:d}))}})}});var vv=_({auth:h,name:"zoho_books_email_contact",outputSchema:D,displayName:"Email Contact",description:"Sends an email to a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sends an email to a contact, optionally with its customer statement PDF attached. Get Contact Email Content returns the default recipients, subject and body to reuse; use Email Contact Statement to pick the statement period. Each call sends an email.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),toMailIds:c.Array({displayName:"To",description:'Recipient email addresses, e.g. ["willsmith@bowmanfurniture.com"].',required:!0}),subject:c.ShortText({displayName:"Subject",description:'Up to 1000 characters, e.g. "Welcome to Zillium Inc."',required:!0}),body:c.LongText({displayName:"Body",description:"Email body, HTML allowed, up to 5000 characters.",required:!0}),sendCustomerStatement:u.flag({displayName:"Send Customer Statement",description:"Yes attaches the customer statement PDF.",required:!1})},async run(e){let{contactId:t,toMailIds:r,subject:n,body:o,sendCustomerStatement:a}=e.propsValue,i=B.toStringList({value:r,propName:"To"}),l=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/email`,query:{organization_id:l,send_customer_statement:a},body:{to_mail_ids:i,subject:n,body:o}})}});var Iv=_({auth:h,name:"zoho_books_enable_contact_payment_reminder",outputSchema:D,displayName:"Enable Contact Payment Reminder",description:"Turns on automated payment reminders for a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns on automated payment reminders for a customer. Use Disable Contact Payment Reminder to turn them off.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/paymentreminder/enable`,query:{organization_id:t}})}});var Pv=_({auth:h,name:"zoho_books_enable_contact_portal",outputSchema:D,displayName:"Enable Contact Portal",description:"Gives contact persons of a Zoho Books contact access to the customer portal.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns on customer portal access for the given contact persons of one contact. Needs the customer portal enabled in Zoho Books settings. Use Disable Contact Portal to turn it off.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),contactPersonIds:c.Array({displayName:"Contact Person IDs",description:'Contact person IDs of this contact to give portal access, from List Contact Persons, e.g. ["460000000026051"].',required:!0})},async run(e){let{contactId:t,contactPersonIds:r}=e.propsValue,n=B.toStringList({value:r,propName:"Contact Person IDs"}),o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/portal/enable`,query:{organization_id:o},body:{contact_persons:n.map(a=>({contact_person_id:a}))}})}});var zv=_({auth:h,name:"zoho_books_get_contact_client_review_email_content",outputSchema:pk,displayName:"Get Contact Client Review Email Content",description:"Gets the client review email content for a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the default recipients, subject and body of the client review email for a contact, to check or edit before sending it with Send Contact Client Review Email.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/clientreviews/email`,query:{organization_id:t}})}});var xv=_({auth:h,name:"zoho_books_get_contact_document",outputSchema:Ie,displayName:"Get Contact Document",description:"Downloads a document attached to a Zoho Books contact.",audience:"ai",classification:"READ",aiMetadata:{description:"Downloads one document attached to a contact and returns it as a file. Document IDs come from the documents of Get Contact or from Add Contact Attachment.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),documentId:c.ShortText({displayName:"Document ID",description:"Document ID, from the documents of Get Contact or from Add Contact Attachment.",required:!0})},async run(e){let{contactId:t,documentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),o=await f.download({auth:e.auth,path:`/contacts/${encodeURIComponent(t)}/documents/${encodeURIComponent(r)}`,query:{organization_id:n}});return{file:await e.files.write({fileName:o.fileName??`contact-document-${r}`,data:o.data}),contentType:o.contentType}}});var Av=_({auth:h,name:"zoho_books_get_contact_email_content",outputSchema:yk,displayName:"Get Contact Email Content",description:"Gets the default email content for emailing a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the default recipients, subject and body Zoho Books would use to email a contact, to reuse in Email Contact. Nothing is sent.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/email`,query:{organization_id:t}})}});var Sv=_({auth:h,name:"zoho_books_get_contact_income_and_expense",outputSchema:fk,displayName:"Get Contact Income And Expense",description:"Gets the income and expense summary of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the income and expense totals recorded for a contact, as shown on its overview. For the profit and loss figures use Get Contact Profit And Loss.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/incomeandexpense`,query:{organization_id:t}})}});var Tv=_({auth:h,name:"zoho_books_get_contact_inventory_summary",outputSchema:hk,displayName:"Get Contact Inventory Summary",description:"Gets the inventory summary of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the inventory summary of a contact (the quantities of items sold to or bought from it). Needs inventory tracking enabled in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/inventorysummary`,query:{organization_id:t}})}});var Cv=_({auth:h,name:"zoho_books_get_contact_opening_balances",outputSchema:_k,displayName:"Get Contact Opening Balances",description:"Gets the opening balances of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the opening balances recorded for a contact, such as the receivable or payable balance it started with.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),contactType:c.StaticDropdown({displayName:"Contact Type",description:"Whether the contact is a customer or a vendor, from the contact_type of Get Contact.",required:!0,options:{options:[{label:"Customer",value:"customer"},{label:"Vendor",value:"vendor"}]}})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/openingbalances`,query:{organization_id:t,contact_type:e.propsValue.contactType}})}});var Ev=_({auth:h,name:"zoho_books_get_contact_profit_and_loss",outputSchema:gk,displayName:"Get Contact Profit And Loss",description:"Gets the profit and loss summary of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the profit and loss summary of a contact. For income and expense totals use Get Contact Income And Expense.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/profitandloss`,query:{organization_id:t}})}});var Dv=_({auth:h,name:"zoho_books_get_contact_statement_email_content",outputSchema:bk,displayName:"Get Contact Statement Email Content",description:"Gets the default email content for sending a statement to a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the default recipients, subject and body Zoho Books would use to email a contact statement for a date range (the current month when no dates are given), to reuse in Email Contact Statement. Nothing is sent.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),startDate:c.ShortText({displayName:"Start Date",description:"Statement start date, yyyy-mm-dd. Without both dates the current month is used.",required:!1}),endDate:c.ShortText({displayName:"End Date",description:"Statement end date, yyyy-mm-dd.",required:!1})},async run(e){let{contactId:t,startDate:r,endDate:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/statements/email`,query:{organization_id:o,start_date:r,end_date:n}})}});var Ov=_({auth:h,name:"zoho_books_get_contact_statement",outputSchema:kk,displayName:"Get Contact Statement",description:"Gets the statement of account of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the statement of account of a contact (its transactions and balances) for a date range. To email the statement use Email Contact Statement.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),startDate:c.ShortText({displayName:"Start Date",description:"Statement start date, yyyy-mm-dd. Leave Start Date and End Date empty for the current month.",required:!1}),endDate:c.ShortText({displayName:"End Date",description:"Statement end date, yyyy-mm-dd.",required:!1})},async run(e){let{contactId:t,startDate:r,endDate:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/statements`,query:{organization_id:o,start_date:r,end_date:n}})}});var Nv=_({auth:h,name:"zoho_books_get_contact_unused_credits",outputSchema:cl,displayName:"Get Contact Unused Credits",description:"Gets the unused credits of a Zoho Books customer.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the credits of a customer that are not yet applied, such as open credit notes and excess payments, with their IDs and balances. For unused retainer payments use Get Contact Unused Retainer Payments.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/receivables/unusedcredits`,query:{organization_id:t}})}});var wv=_({auth:h,name:"zoho_books_get_contact_unused_retainer_payments",outputSchema:cl,displayName:"Get Contact Unused Retainer Payments",description:"Gets the retainer payments of a Zoho Books contact not yet applied to invoices.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the retainer payments a customer has made that are not yet applied to invoices, optionally for one currency. Needs retainer invoices enabled in Zoho Books. Use Get Contact Unused Credits for other credits.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),currencyId:c.ShortText({displayName:"Currency ID",description:"Only payments in this currency, e.g. the currency_id from Get Contact.",required:!1})},async run(e){let{contactId:t,currencyId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/receivables/unusedretainerpayments`,query:{organization_id:n,currency_id:r}})}});var Rv=_({auth:h,name:"zoho_books_get_contact_vendor_statement_email_content",outputSchema:vk,displayName:"Get Contact Vendor Statement Email Content",description:"Gets the vendor statement email content for a Zoho Books vendor.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the default recipients, subject and body of the statement email for a vendor, to check or edit before sending it with Send Contact Vendor Statement Email. For customer statements use Get Contact Statement Email Content.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0,displayName:"Vendor ID",description:"Contact ID of a vendor, from List Contacts or Create Contact."}),startDate:c.ShortText({displayName:"Start Date",description:'Statement start date, yyyy-mm-dd, e.g. "2026-10-01".',required:!0}),endDate:c.ShortText({displayName:"End Date",description:'Statement end date, yyyy-mm-dd, e.g. "2026-10-31".',required:!0})},async run(e){let{contactId:t,startDate:r,endDate:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/vendorstatements/email`,query:{organization_id:o,start_date:r,end_date:n}})}});var $v=_({auth:h,name:"zoho_books_get_contact",outputSchema:ll,displayName:"Get Contact",description:"Gets a Zoho Books contact (customer or vendor) by ID.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets one customer or vendor by contact_id, with its addresses, contact persons, balances and custom fields. Use List Contacts to find a contact_id by name or email.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await g.getContact({auth:e.auth,organizationId:t,contactId:e.propsValue.contactId})}});var Bv=_({auth:h,name:"zoho_books_invite_contact_person_to_portal",outputSchema:D,displayName:"Invite Contact Person to Portal",description:"Sends a customer portal invitation to a Zoho Books contact person.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails a customer portal invitation to one contact person. Needs the customer portal enabled in Zoho Books settings. Each call sends an email; use Resend Contact Person Portal Invite for a person already invited.",idempotent:!1},props:{organizationId:u.organizationId(),contactPersonId:u.contactPersonId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/contactpersons/${encodeURIComponent(e.propsValue.contactPersonId)}/portal/invite`,query:{organization_id:t}})}});var Mv=_({auth:h,name:"zoho_books_list_all_contact_addresses",outputSchema:Ck,displayName:"List All Contact Addresses",description:"Lists the addresses of all Zoho Books contacts.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the addresses of every contact in the organization with their address_id and contact_id. Use List Contact Addresses for one contact. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),page:u.page(),perPage:u.perPage()},async run(e){let{page:t,perPage:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/contacts/address",query:{organization_id:n,...B.pageQuery({page:t,perPage:r})}})}});var Uv=_({auth:h,name:"zoho_books_list_all_contact_persons",outputSchema:Ek,displayName:"List All Contact Persons",description:"Lists contact persons across all contacts in a Zoho Books organization.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists contact persons of every contact in the organization, with their contact_person_id and contact_id. Use List Contact Persons instead for the persons of one contact. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),page:u.page(),perPage:u.perPage()},async run(e){let{page:t,perPage:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/contacts/contactpersons",query:{organization_id:n,...B.pageQuery({page:t,perPage:r})}})}});var Lv=_({auth:h,name:"zoho_books_list_contact_addresses",outputSchema:Dk,displayName:"List Contact Addresses",description:"Lists the billing, shipping and additional addresses of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the billing, shipping and additional addresses of one contact with their address_id, which Update Contact Address and Delete Contact Address take. Use List All Contact Addresses for every contact.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/address`,query:{organization_id:t}})}});var Fv=_({auth:h,name:"zoho_books_list_contact_comments",outputSchema:Ok,displayName:"List Contact Comments",description:"Lists the comments and recent activity of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the comments and recent activity of one contact, newest first, with each comment_id. Add Contact Comment adds one. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),page:u.page(),perPage:u.perPage()},async run(e){let{contactId:t,page:r,perPage:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/comments`,query:{organization_id:o,...B.pageQuery({page:r,perPage:n})}})}});var jv=_({auth:h,name:"zoho_books_list_contact_credit_note_refunds",outputSchema:Nk,displayName:"List Contact Credit Note Refunds",description:"Lists the credit note refunds issued to a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the credit note refunds issued to one customer. Use List Contact Payment Refunds for refunds of customer payments. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),page:u.page(),perPage:u.perPage()},async run(e){let{contactId:t,page:r,perPage:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/refunds`,query:{organization_id:o,...B.pageQuery({page:r,perPage:n})}})}});var qv=_({auth:h,name:"zoho_books_list_contact_payment_refunds",outputSchema:wk,displayName:"List Contact Payment Refunds",description:"Lists the customer payment refunds of a Zoho Books contact.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the refunds of customer payments made to a contact. For refunds of credit notes use List Contact Credit Note Refunds. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),page:u.page(),perPage:u.perPage()},async run(e){let{contactId:t,page:r,perPage:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/contacts/${encodeURIComponent(t)}/paymentrefunds`,query:{organization_id:o,...B.pageQuery({page:r,perPage:n})}})}});var mD=["Status.All","Status.Active","Status.Inactive","Status.Duplicate","Status.PortalEnabled","Status.PortalDisabled","Status.CreditLimitExceed","Status.Crm","Invoice.OverDue","Invoice.Unpaid"],pD=["contact_name","first_name","last_name","email","outstanding_receivable_amount","created_time","last_modified_time"],Zv=_({auth:h,name:"zoho_books_list_contacts",outputSchema:$k,displayName:"List Contacts",description:"Lists Zoho Books contacts (customers and vendors), with filters.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists customers and vendors with their contact_id, filtered by type, name, email, phone, status or free text. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),contactType:c.StaticDropdown({displayName:"Contact Type",required:!1,options:{options:[{label:"Customer",value:"customer"},{label:"Vendor",value:"vendor"}]}}),contactName:c.ShortText({displayName:"Contact Name",description:"Exact contact name.",required:!1}),contactNameContains:c.ShortText({displayName:"Contact Name Contains",description:"Part of the contact name.",required:!1}),companyName:c.ShortText({displayName:"Company Name",required:!1}),email:c.ShortText({displayName:"Email",description:"Email of the primary contact person.",required:!1}),phone:c.ShortText({displayName:"Phone",description:"Phone of the primary contact person.",required:!1}),searchText:c.ShortText({displayName:"Search Text",description:"Searches contact names and notes.",required:!1}),filterBy:c.StaticDropdown({displayName:"Filter By",description:"Status filter. Defaults to Status.All.",required:!1,options:{options:mD.map(e=>({label:e,value:e}))}}),sortColumn:c.StaticDropdown({displayName:"Sort Column",required:!1,options:{options:pD.map(e=>({label:e,value:e}))}}),page:u.page(),perPage:u.perPage()},async run(e){let{contactType:t,contactName:r,contactNameContains:n,companyName:o,email:a,phone:i,searchText:l,filterBy:d,sortColumn:m,page:b,perPage:x}=e.propsValue,I=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/contacts",query:{organization_id:I,contact_type:t,contact_name:r,contact_name_contains:n,company_name:o,email:a,phone:i,search_text:l,filter_by:d,sort_column:m,...B.pageQuery({page:b,perPage:x})}})}});var Vv=_({auth:h,name:"zoho_books_mark_contact_active",outputSchema:D,displayName:"Mark Contact Active",description:"Marks a Zoho Books contact as active.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Marks an inactive customer or vendor as active again so it can be used on new transactions. Use Mark Contact Inactive to reverse it.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/active`,query:{organization_id:t}})}});var Hv=_({auth:h,name:"zoho_books_mark_contact_address_as_billing",outputSchema:D,displayName:"Mark Contact Address As Billing",description:"Makes an address the billing address of a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Makes one of the contact addresses its billing address. Address IDs come from List Contact Addresses, List All Contact Addresses or Add Contact Address.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),addressId:c.ShortText({displayName:"Address ID",description:"Address ID, from List Contact Addresses, List All Contact Addresses or Add Contact Address.",required:!0})},async run(e){let{contactId:t,addressId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/address/${encodeURIComponent(r)}/markasbilling`,query:{organization_id:n}})}});var Gv=_({auth:h,name:"zoho_books_mark_contact_address_as_shipping",outputSchema:D,displayName:"Mark Contact Address As Shipping",description:"Makes an address the shipping address of a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Makes one of the contact addresses its shipping address. Address IDs come from List Contact Addresses, List All Contact Addresses or Add Contact Address.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),addressId:c.ShortText({displayName:"Address ID",description:"Address ID, from List Contact Addresses, List All Contact Addresses or Add Contact Address.",required:!0})},async run(e){let{contactId:t,addressId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/address/${encodeURIComponent(r)}/markasshipping`,query:{organization_id:n}})}});var Wv=_({auth:h,name:"zoho_books_mark_contact_inactive",outputSchema:D,displayName:"Mark Contact Inactive",description:"Marks a Zoho Books contact as inactive.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Marks a customer or vendor as inactive so it is hidden from new transactions while its history is kept. Use Mark Contact Active to reverse it; prefer this over Delete Contact.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/inactive`,query:{organization_id:t}})}});var Kv=_({auth:h,name:"zoho_books_merge_contacts",outputSchema:qe,displayName:"Merge Contacts",description:"Merges duplicate Zoho Books contacts into one contact.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Merges the contacts in Contact IDs To Merge into the contact in Contact ID: their transactions move to it and the merged contacts are removed. It cannot be undone. Contact IDs come from List Contacts.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0,description:"ID of the contact to keep, from List Contacts."}),contactIdsToMerge:c.Array({displayName:"Contact IDs To Merge",description:"IDs of the duplicate contacts to merge into Contact ID, from List Contacts.",required:!0})},async run(e){let{contactId:t,contactIdsToMerge:r}=e.propsValue,n=B.toStringList({value:r,propName:"Contact IDs To Merge"});if(n.includes(t))throw new Error("Contact IDs To Merge must not include Contact ID, the contact to keep.");let o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/merge`,query:{organization_id:o,contact_ids:n.join(",")}})}});var Jv=_({auth:h,name:"zoho_books_remove_contact_tag",outputSchema:D,displayName:"Remove Contact Tag",description:"Removes a reporting tag from a Zoho Books contact.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Removes one reporting tag from a contact by the ID of its selected option; the tag itself stays in the organization. The tag_option_id comes from the tags of Get Contact; to set tag options use Update Contact Tags.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),tagOptionId:c.ShortText({displayName:"Tag Option ID",description:"The tag_option_id of the tag to remove, from the tags of Get Contact.",required:!0})},async run(e){let{contactId:t,tagOptionId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/contacts/${encodeURIComponent(t)}/tags/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var Xv=_({auth:h,name:"zoho_books_resend_contact_person_portal_invite",outputSchema:D,displayName:"Resend Contact Person Portal Invite",description:"Resends the customer portal invitation to a Zoho Books contact person.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails the customer portal invitation again to a contact person invited with Invite Contact Person to Portal. Needs the customer portal enabled in Zoho Books settings. Each call sends an email.",idempotent:!1},props:{organizationId:u.organizationId(),contactPersonId:u.contactPersonId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/contactpersons/${encodeURIComponent(e.propsValue.contactPersonId)}/portal/invite/resend`,query:{organization_id:t}})}});var Yv=_({auth:h,name:"zoho_books_restore_contact_documents",outputSchema:D,displayName:"Restore Contact Documents",description:"Restores deleted documents of Zoho Books contacts.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Restores contact documents removed with Delete Contact Document, by their document IDs. Restoring a document that is already restored changes nothing.",idempotent:!0},props:{organizationId:u.organizationId(),documentIds:c.Array({displayName:"Document IDs",description:"IDs of the deleted documents, as given to Delete Contact Document.",required:!0})},async run(e){let{documentIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Document IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/contacts/documents/restore",query:{organization_id:n,document_ids:r.join(",")}})}});var Qv=_({auth:h,name:"zoho_books_send_contact_client_review_email",outputSchema:D,displayName:"Send Contact Client Review Email",description:"Sends the client review email to a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails a contact the client review request. Each call sends another email. Get Contact Client Review Email Content gives the default recipients, subject and body.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),toMailIds:c.Array({displayName:"To",description:'Recipient email addresses, e.g. ["willsmith@bowmanfurniture.com"].',required:!0}),ccMailIds:c.Array({displayName:"CC",description:"Email addresses to copy.",required:!1}),subject:c.ShortText({displayName:"Subject",description:"Up to 1000 characters.",required:!0}),body:c.LongText({displayName:"Body",description:"Email body; HTML is allowed. Up to 5000 characters.",required:!1}),sendFromOrgEmailId:u.flag({required:!1,displayName:"Send From Organization Email",description:"Yes sends from the organization's email address instead of the user's."}),additionalFields:u.additionalFields({description:"Other email fields. The props above win over the same keys here."})},async run(e){let{contactId:t,toMailIds:r,ccMailIds:n,subject:o,body:a,sendFromOrgEmailId:i,additionalFields:l}=e.propsValue,d=B.toStringList({value:r,propName:"To"}),m=n??[];if(!m.every(x=>typeof x=="string"&&x!==""))throw new Error("CC must be a list of email addresses.");let b=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/clientreviews/email`,query:{organization_id:b},body:{...l,to_mail_ids:d,...m.length>0?{cc_mail_ids:m}:{},...z("subject",o),...z("body",a),...z("send_from_org_email_id",B.toBoolean({value:i}))}})}});var eI=_({auth:h,name:"zoho_books_send_contact_vendor_statement_email",outputSchema:D,displayName:"Send Contact Vendor Statement Email",description:"Emails a statement of account to a Zoho Books vendor.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails the statement of account for a date range to a vendor. Each call sends another email. Get Contact Vendor Statement Email Content gives the default recipients, subject and body. For customers use Email Contact Statement.",idempotent:!1},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0,displayName:"Vendor ID",description:"Contact ID of a vendor, from List Contacts or Create Contact."}),startDate:c.ShortText({displayName:"Start Date",description:'Statement start date, yyyy-mm-dd, e.g. "2026-10-01".',required:!0}),endDate:c.ShortText({displayName:"End Date",description:'Statement end date, yyyy-mm-dd, e.g. "2026-10-31".',required:!0}),toMailIds:c.Array({displayName:"To",description:'Recipient email addresses, e.g. ["accounts@vendor.com"].',required:!0}),ccMailIds:c.Array({displayName:"CC",description:"Email addresses to copy.",required:!1}),subject:c.ShortText({displayName:"Subject",description:"Up to 1000 characters.",required:!0}),body:c.LongText({displayName:"Body",description:"Email body; HTML is allowed. Up to 5000 characters.",required:!1}),sendFromOrgEmailId:u.flag({required:!1,displayName:"Send From Organization Email",description:"Yes sends from the organization's email address instead of the user's."}),additionalFields:u.additionalFields({description:"Other email fields. The props above win over the same keys here."})},async run(e){let{contactId:t,startDate:r,endDate:n,toMailIds:o,ccMailIds:a,subject:i,body:l,sendFromOrgEmailId:d,additionalFields:m}=e.propsValue,b=B.toStringList({value:o,propName:"To"}),x=a??[];if(!x.every(p=>typeof p=="string"&&p!==""))throw new Error("CC must be a list of email addresses.");let I=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/vendorstatements/email`,query:{organization_id:I,start_date:r,end_date:n},body:{...m,to_mail_ids:b,...x.length>0?{cc_mail_ids:x}:{},...z("subject",i),...z("body",l),...z("send_from_org_email_id",B.toBoolean({value:d}))}})}});var tI=_({auth:h,name:"zoho_books_track_contact_1099",outputSchema:D,displayName:"Track Contact 1099",description:"Tracks a Zoho Books contact for 1099 reporting.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns on 1099 tracking for one vendor. Only for organizations in the US edition. Use Track Contacts 1099 for several contacts and Untrack Contact 1099 to stop.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/track1099`,query:{organization_id:t}})}});var oI=_({auth:h,name:"zoho_books_track_contacts_1099",outputSchema:D,displayName:"Track Contacts for 1099",description:"Marks several Zoho Books contacts for 1099 tracking at once.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns on 1099 tracking for up to 200 vendors in one call. Only for organizations in the US edition. Use Track Contact 1099 for a single contact and Untrack Contact 1099 to stop.",idempotent:!0},props:{organizationId:u.organizationId(),contactIds:c.Array({displayName:"Contact IDs",description:'Up to 200 contact IDs, from List Contacts, e.g. ["460000000026049", "460000000026050"].',required:!0})},async run(e){let{contactIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Contact IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/contacts/track1099",query:{organization_id:n,contact_ids:r.join(",")}})}});var rI=_({auth:h,name:"zoho_books_untrack_contact_1099",outputSchema:D,displayName:"Untrack Contact 1099",description:"Stops tracking a Zoho Books contact for 1099 reporting.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns off 1099 tracking for one vendor. Only for organizations in the US edition. Use Track Contact 1099 to turn it back on.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(e.propsValue.contactId)}/untrack1099`,query:{organization_id:t}})}});var nI=_({auth:h,name:"zoho_books_update_contact_address",outputSchema:tl,displayName:"Update Contact Address",description:"Updates an additional address of a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates an additional address of a contact; only the fields given are sent. Use Update Contact to change the billing or shipping address.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),addressId:c.ShortText({displayName:"Address ID",description:"Address ID, from List Contact Addresses or Add Contact Address.",required:!0}),attention:c.ShortText({displayName:"Attention",description:'Name of the person the address is directed to, e.g. "Mr. John".',required:!1}),address:c.ShortText({displayName:"Street",description:'e.g. "4900 Hopyard Rd".',required:!1}),street2:c.ShortText({displayName:"Street 2",description:'e.g. "Suite 310".',required:!1}),city:c.ShortText({displayName:"City",required:!1}),state:c.ShortText({displayName:"State",required:!1}),zip:c.ShortText({displayName:"ZIP Code",required:!1}),country:c.ShortText({displayName:"Country",required:!1}),fax:c.ShortText({displayName:"Fax",required:!1}),phone:c.ShortText({displayName:"Phone",required:!1})},async run(e){let{contactId:t,addressId:r,attention:n,address:o,street2:a,city:i,state:l,zip:d,country:m,fax:b,phone:x}=e.propsValue,I=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/contacts/${encodeURIComponent(t)}/address/${encodeURIComponent(r)}`,query:{organization_id:I},body:{address_id:r,attention:n,address:o,street2:a,city:i,state:l,zip:d,country:m,fax:b,phone:x}})}});var aI=_({auth:h,name:"zoho_books_update_contact_document",outputSchema:D,displayName:"Update Contact Document",description:"Updates the details of a document attached to a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates a document attached to a contact; only the fields given are sent. Document IDs come from the documents of Get Contact or from Add Contact Attachment.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),documentId:c.ShortText({displayName:"Document ID",description:"Document ID, from the documents of Get Contact or from Add Contact Attachment.",required:!0}),fields:c.Json({displayName:"Document Fields",description:'Document fields to change, e.g. {"file_name": "signed-contract.pdf"}.',required:!0})},async run(e){let{contactId:t,documentId:r,fields:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/contacts/${encodeURIComponent(t)}/documents/${encodeURIComponent(r)}`,query:{organization_id:o},body:n})}});var iI=_({auth:h,name:"zoho_books_update_contact_tags",outputSchema:Kk,displayName:"Update Contact Tags",description:"Sets reporting tag options on a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sets reporting tag options on a contact: each tag given gets the option given, and the other tags already on the contact are kept. It reads the contact first, so an edit made in between can be overwritten. Current tags are in Get Contact; to remove a tag use Remove Contact Tag.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),tags:c.Array({displayName:"Tags",description:"Reporting tags to set, each with its tag ID and the ID of the option to select.",required:!0,properties:{tagId:c.ShortText({displayName:"Tag ID",description:"Reporting tag ID.",required:!0}),tagOptionId:c.ShortText({displayName:"Tag Option ID",description:"ID of the reporting tag option to select.",required:!0})}})},async run(e){let{contactId:t,tags:r}=e.propsValue;if(r.length===0||!r.every(l=>typeof l=="object"&&l!==null&&"tagId"in l&&typeof l.tagId=="string"&&l.tagId!==""&&"tagOptionId"in l&&typeof l.tagOptionId=="string"&&l.tagOptionId!==""))throw new Error("Tags must be a non-empty list, each with a Tag ID and a Tag Option ID.");let n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),o=await g.getContact({auth:e.auth,organizationId:n,contactId:t}),a=new Set(r.map(l=>l.tagId)),i=(o.contact?.tags??[]).filter(l=>!a.has(l.tag_id)).map(l=>({tag_id:l.tag_id,tag_option_id:l.tag_option_id}));return await f.request({auth:e.auth,method:"PUT",path:`/contacts/${encodeURIComponent(t)}/tags`,query:{organization_id:n},body:{tags:[...i,...r.map(l=>({tag_id:l.tagId,tag_option_id:l.tagOptionId}))]}})}});var sI=_({auth:h,name:"zoho_books_update_contact",outputSchema:ll,displayName:"Update Contact",description:"Updates a Zoho Books contact (customer or vendor).",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates a customer or vendor by contact_id; only the fields given are sent. A contact_persons list in Additional Fields replaces the existing persons, so persons left out of it are removed; use Update Contact Person to change one person instead.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),contactName:c.ShortText({displayName:"Contact Name",description:'Display name of the contact, e.g. "Bowman and Co".',required:!1}),contactType:c.StaticDropdown({displayName:"Contact Type",required:!1,options:{options:[{label:"Customer",value:"customer"},{label:"Vendor",value:"vendor"}]}}),customerSubType:c.StaticDropdown({displayName:"Customer Sub Type",description:"Customers only.",required:!1,options:{options:[{label:"Business",value:"business"},{label:"Individual",value:"individual"}]}}),companyName:c.ShortText({displayName:"Company Name",required:!1}),website:c.ShortText({displayName:"Website",required:!1}),currencyId:c.ShortText({displayName:"Currency ID",description:"Currency ID of the contact.",required:!1}),paymentTerms:c.Number({displayName:"Payment Terms",description:"Days allowed for payment after the invoice date, e.g. 15.",required:!1}),paymentTermsLabel:c.ShortText({displayName:"Payment Terms Label",description:'e.g. "Net 15".',required:!1}),creditLimit:c.Number({displayName:"Credit Limit",description:"Customers only. Maximum outstanding receivable allowed, e.g. 1000.",required:!1}),notes:c.LongText({displayName:"Notes",required:!1}),billingAddress:c.Json({displayName:"Billing Address",description:'e.g. {"attention": "Mr. John", "address": "4900 Hopyard Rd", "street2": "Suite 310", "city": "Pleasanton", "state": "CA", "zip": "94588", "country": "U.S.A", "phone": "+1-925-921-9201"}.',required:!1}),shippingAddress:c.Json({displayName:"Shipping Address",description:"Same keys as Billing Address.",required:!1}),additionalFields:u.additionalFields({description:'Other contact fields, e.g. {"contact_persons": [{"contact_person_id": "460000000026051", "first_name": "...", "email": "...", "is_primary_contact": true}], "custom_fields": [{"api_name": "cf_x", "value": "..."}], "tags": [{"tag_id": "...", "tag_option_id": "..."}], "tax_id": "...", "pricebook_id": "...", "owner_id": "...", "contact_number": "CNT-001234"}. contact_persons replaces the whole list: include contact_person_id for persons to keep. The props above win over the same keys here.'})},async run(e){let{contactId:t,contactName:r,contactType:n,customerSubType:o,companyName:a,website:i,currencyId:l,paymentTerms:d,paymentTermsLabel:m,creditLimit:b,notes:x,billingAddress:I,shippingAddress:p,additionalFields:v}=e.propsValue,A=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/contacts/${encodeURIComponent(t)}`,query:{organization_id:A},body:{...v,...z("contact_name",r),...z("contact_type",n),...z("customer_sub_type",o),...z("company_name",a),...z("website",i),...z("currency_id",l),...z("payment_terms",d),...z("payment_terms_label",m),...z("credit_limit",b),...z("notes",x),...z("billing_address",I),...z("shipping_address",p)}})}});var lI=_({auth:h,name:"zoho_books_upsert_contact_by_custom_field",outputSchema:ev,displayName:"Upsert Contact by Custom Field",description:"Updates the Zoho Books contact matching a unique custom field value, or creates it when none matches.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Finds the contact whose unique custom field equals the given value and updates it; with Create If Missing set to Yes, creates the contact when none matches. The custom field must be set to accept unique values only. Use Update Contact when the contact_id is known.",idempotent:!0},props:{organizationId:u.organizationId(),uniqueFieldApiName:c.ShortText({displayName:"Unique Custom Field API Name",description:'API name of a contact custom field that accepts unique values only, e.g. "cf_customer_code".',required:!0}),uniqueFieldValue:c.ShortText({displayName:"Unique Custom Field Value",description:'Value of that custom field identifying the contact, e.g. "CUST-0042".',required:!0}),createIfMissing:u.flag({displayName:"Create If Missing",description:"Yes creates a new contact when no contact has this value. Defaults to No, which fails when none matches.",required:!1}),contactName:c.ShortText({displayName:"Contact Name",description:'Display name of the contact, e.g. "Bowman and Co".',required:!0}),contactType:c.StaticDropdown({displayName:"Contact Type",required:!0,options:{options:[{label:"Customer",value:"customer"},{label:"Vendor",value:"vendor"}]}}),customerSubType:c.StaticDropdown({displayName:"Customer Sub Type",description:"Customers only.",required:!1,options:{options:[{label:"Business",value:"business"},{label:"Individual",value:"individual"}]}}),companyName:c.ShortText({displayName:"Company Name",required:!1}),website:c.ShortText({displayName:"Website",required:!1}),currencyId:c.ShortText({displayName:"Currency ID",description:"Currency ID of the contact. Defaults to the organization base currency on create.",required:!1}),paymentTerms:c.Number({displayName:"Payment Terms",description:"Days allowed for payment after the invoice date, e.g. 15.",required:!1}),paymentTermsLabel:c.ShortText({displayName:"Payment Terms Label",description:'e.g. "Net 15".',required:!1}),notes:c.LongText({displayName:"Notes",required:!1}),billingAddress:c.Json({displayName:"Billing Address",description:'e.g. {"attention": "Mr. John", "address": "4900 Hopyard Rd", "street2": "Suite 310", "city": "Pleasanton", "state": "CA", "zip": "94588", "country": "U.S.A", "phone": "+1-925-921-9201"}.',required:!1}),shippingAddress:c.Json({displayName:"Shipping Address",description:"Same keys as Billing Address.",required:!1}),additionalFields:u.additionalFields({description:'Other contact fields, e.g. {"credit_limit": 1000, "contact_persons": [{"contact_person_id": "460000000026051", "first_name": "...", "email": "...", "is_primary_contact": true}], "custom_fields": [{"api_name": "cf_x", "value": "..."}], "tax_id": "...", "pricebook_id": "...", "owner_id": "..."}. On a match, contact_persons replaces the whole list: include contact_person_id for persons to keep. The props above win over the same keys here.'})},async run(e){let{uniqueFieldApiName:t,uniqueFieldValue:r,createIfMissing:n,contactName:o,contactType:a,customerSubType:i,companyName:l,website:d,currencyId:m,paymentTerms:b,paymentTermsLabel:x,notes:I,billingAddress:p,shippingAddress:v,additionalFields:A}=e.propsValue,C=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:"/contacts",query:{organization_id:C},headers:{"X-Unique-Identifier-Key":t,"X-Unique-Identifier-Value":r,...z("X-Upsert",n)},body:{...A,contact_name:o,...z("contact_type",a),...z("customer_sub_type",i),...z("company_name",l),...z("website",d),...z("currency_id",m),...z("payment_terms",b),...z("payment_terms_label",x),...z("notes",I),...z("billing_address",p),...z("shipping_address",v)}})}});var cI=_({auth:h,name:"zoho_books_verify_contact_address",outputSchema:D,displayName:"Verify Contact Address",description:"Verifies a saved address of a Zoho Books contact.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Verifies one saved address of a contact and marks it verified. Address IDs come from List Contact Addresses, List All Contact Addresses or Add Contact Address.",idempotent:!0},props:{organizationId:u.organizationId(),contactId:u.contactId({required:!0}),addressId:c.ShortText({displayName:"Address ID",description:"Address ID, from List Contact Addresses, List All Contact Addresses or Add Contact Address.",required:!0})},async run(e){let{contactId:t,addressId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/contacts/${encodeURIComponent(t)}/address/${encodeURIComponent(r)}/verify`,query:{organization_id:n}})}});var uI=_({auth:h,name:"zoho_books_create_customer_payment_refund",outputSchema:Jo,displayName:"Create Customer Payment Refund",description:"Refunds the excess amount of a customer payment in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Refunds part or all of the unapplied (excess) amount of a customer payment and returns the refund with its payment_refund_id. Each call records a new refund; use List Customer Payment Refunds first to avoid duplicates.",idempotent:!1},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0}),amount:c.Number({displayName:"Amount",description:"Amount to refund, e.g. 50.",required:!0}),date:c.ShortText({displayName:"Date",description:'Refund date, yyyy-mm-dd, e.g. "2026-06-05".',required:!0}),fromAccountId:c.ShortText({displayName:"From Account ID",description:"ID of the cash or bank account the refund is paid from.",required:!0}),refundMode:c.ShortText({displayName:"Refund Mode",description:'How the refund is paid, e.g. "cash" or "banktransfer".',required:!1}),referenceNumber:c.ShortText({displayName:"Reference Number",required:!1}),description:c.LongText({displayName:"Description",required:!1}),exchangeRate:c.Number({displayName:"Exchange Rate",description:"Exchange rate from the payment currency to the base currency, e.g. 1.",required:!1}),additionalFields:u.additionalFields({description:'Other refund fields, e.g. {"payment_form": "cash"}. The props above win over the same keys here.'})},async run(e){let{customerPaymentId:t,amount:r,date:n,fromAccountId:o,refundMode:a,referenceNumber:i,description:l,exchangeRate:d,additionalFields:m}=e.propsValue,b=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/customerpayments/${encodeURIComponent(t)}/refunds`,query:{organization_id:b},body:{...m,amount:r,date:n,from_account_id:o,...z("refund_mode",a),...z("reference_number",i),...z("description",l),...z("exchange_rate",d)}})}});var dI=_({auth:h,name:"zoho_books_create_customer_payment",outputSchema:al,displayName:"Create Customer Payment",description:"Records a payment received from a customer in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Records a payment received from a customer and applies it to invoices; returns it with its payment_id. Each call records a new payment; use List Customer Payments first to avoid duplicates, or Upsert Customer Payment by Custom Field.",idempotent:!1},props:{organizationId:u.organizationId(),customerId:u.contactId({required:!0,displayName:"Customer ID",description:"Contact ID of the paying customer, from List Contacts or Create Contact."}),paymentMode:c.ShortText({displayName:"Payment Mode",description:"How the payment was made: check, cash, creditcard, banktransfer, bankremittance, autotransaction or others, or a payment mode set up in the organization.",required:!0}),amount:c.Number({displayName:"Amount",description:"Amount received, e.g. 450.",required:!0}),date:c.ShortText({displayName:"Date",description:'Payment date, yyyy-mm-dd, e.g. "2026-06-05".',required:!0}),invoices:c.Array({displayName:"Invoices",description:'Invoices the payment is applied to, e.g. [{"invoice_id": "90300000079426", "amount_applied": 450}]. Invoice IDs come from List Invoices.',required:!0,properties:{invoice_id:c.ShortText({displayName:"Invoice ID",required:!0}),amount_applied:c.Number({displayName:"Amount Applied",required:!0}),tax_amount_withheld:c.Number({displayName:"Tax Amount Withheld",required:!1})}}),referenceNumber:c.ShortText({displayName:"Reference Number",description:'e.g. "INV-384".',required:!1}),description:c.LongText({displayName:"Description",required:!1}),accountId:c.ShortText({displayName:"Deposit Account ID",description:"ID of the cash or bank account the payment is deposited to.",required:!1}),bankCharges:c.Number({displayName:"Bank Charges",required:!1}),exchangeRate:c.Number({displayName:"Exchange Rate",description:"Exchange rate from the invoice currency to the base currency, e.g. 1.",required:!1}),additionalFields:u.additionalFields({description:'Other payment fields, e.g. {"location_id": "...", "retainerinvoice_id": "...", "contact_persons": ["982000000870911"], "custom_fields": [{"label": "...", "value": "..."}], "tags": [{"tag_id": "...", "tag_option_id": "..."}]}. The props above win over the same keys here.'})},async run(e){let{customerId:t,paymentMode:r,amount:n,date:o,invoices:a,referenceNumber:i,description:l,accountId:d,bankCharges:m,exchangeRate:b,additionalFields:x}=e.propsValue,I=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/customerpayments",query:{organization_id:I},body:{...x,customer_id:t,payment_mode:r,amount:n,date:o,invoices:a,...z("reference_number",i),...z("description",l),...z("account_id",d),...z("bank_charges",m),...z("exchange_rate",b)}})}});var mI=_({auth:h,name:"zoho_books_delete_customer_payment_refund",outputSchema:D,displayName:"Delete Customer Payment Refund",description:"Deletes a refund of a customer payment in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes a refund of a customer payment; the refunded amount becomes unused on the payment again. It cannot be undone.",idempotent:!1},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0}),refundId:c.ShortText({displayName:"Refund ID",description:"Refund ID (payment_refund_id), from List Customer Payment Refunds or Create Customer Payment Refund.",required:!0})},async run(e){let{customerPaymentId:t,refundId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/customerpayments/${encodeURIComponent(t)}/refunds/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var pI=_({auth:h,name:"zoho_books_delete_customer_payment",outputSchema:D,displayName:"Delete Customer Payment",description:"Deletes a payment received from a customer in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes one customer payment; the invoices it paid become unpaid again. It cannot be undone. Use Delete Customer Payments for several at once.",idempotent:!1},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/customerpayments/${encodeURIComponent(e.propsValue.customerPaymentId)}`,query:{organization_id:t}})}});var yI=_({auth:h,name:"zoho_books_delete_customer_payments",outputSchema:dk,displayName:"Delete Customer Payments",description:"Deletes several customer payments in Zoho Books at once.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes several customer payments in one call; the invoices they paid become unpaid again. It cannot be undone. Use Delete Customer Payment for a single payment.",idempotent:!1},props:{organizationId:u.organizationId(),paymentIds:c.Array({displayName:"Customer Payment IDs",description:"IDs of the payments to delete, from List Customer Payments.",required:!0})},async run(e){let{paymentIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Customer Payment IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:"/customerpayments",query:{organization_id:n,payment_id:r.join(","),bulk_delete:"true"}})}});var fI=_({auth:h,name:"zoho_books_get_customer_payment_refund",outputSchema:Jo,displayName:"Get Customer Payment Refund",description:"Gets a refund of a customer payment in Zoho Books.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets one refund of a customer payment by ID, with its date, amount, refund mode and account.",idempotent:!0},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0}),refundId:c.ShortText({displayName:"Refund ID",description:"Refund ID (payment_refund_id), from List Customer Payment Refunds or Create Customer Payment Refund.",required:!0})},async run(e){let{customerPaymentId:t,refundId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/customerpayments/${encodeURIComponent(t)}/refunds/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var hI=_({auth:h,name:"zoho_books_get_customer_payment",outputSchema:ul,displayName:"Get Customer Payment",description:"Gets a payment received from a customer in Zoho Books.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets one customer payment by ID, with the invoices it is applied to, the amount refunded and its custom fields (with their customfield_id).",idempotent:!0},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/customerpayments/${encodeURIComponent(e.propsValue.customerPaymentId)}`,query:{organization_id:t}})}});var _I=_({auth:h,name:"zoho_books_list_customer_payment_refunds",outputSchema:Bk,displayName:"List Customer Payment Refunds",description:"Lists the refunds of a customer payment in Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the refunds made from one customer payment with their payment_refund_id. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0}),page:u.page(),perPage:u.perPage()},async run(e){let{customerPaymentId:t,page:r,perPage:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/customerpayments/${encodeURIComponent(t)}/refunds`,query:{organization_id:o,...B.pageQuery({page:r,perPage:n})}})}});var yD=["PaymentMode.All","PaymentMode.Check","PaymentMode.Cash","PaymentMode.BankTransfer","PaymentMode.Paypal","PaymentMode.CreditCard","PaymentMode.GoogleCheckout","PaymentMode.Credit","PaymentMode.Authorizenet","PaymentMode.BankRemittance","PaymentMode.Payflowpro","PaymentMode.Stripe","PaymentMode.TwoCheckout","PaymentMode.Braintree","PaymentMode.Others"],gI=_({auth:h,name:"zoho_books_list_customer_payments",outputSchema:Mk,displayName:"List Customer Payments",description:"Lists payments received from customers in Zoho Books, with filters.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists customer payments with their payment_id, filtered by customer, reference number, date, amount, payment mode or free text. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),customerId:u.contactId({required:!1,displayName:"Customer ID",description:"Contact ID of the customer, from List Contacts."}),customerName:c.ShortText({displayName:"Customer Name",description:"Exact customer name.",required:!1}),customerNameContains:c.ShortText({displayName:"Customer Name Contains",description:"Part of the customer name.",required:!1}),referenceNumber:c.ShortText({displayName:"Reference Number",description:"Exact reference number.",required:!1}),referenceNumberContains:c.ShortText({displayName:"Reference Number Contains",description:"Part of the reference number.",required:!1}),date:c.ShortText({displayName:"Date",description:"Payment date, yyyy-mm-dd.",required:!1}),amount:c.Number({displayName:"Amount",description:"Exact payment amount.",required:!1}),amountGreaterThan:c.Number({displayName:"Amount Greater Than",required:!1}),amountLessThan:c.Number({displayName:"Amount Less Than",required:!1}),paymentMode:c.ShortText({displayName:"Payment Mode",description:'Exact payment mode, e.g. "cash".',required:!1}),notesContains:c.ShortText({displayName:"Notes Contains",description:"Part of the customer notes.",required:!1}),searchText:c.ShortText({displayName:"Search Text",description:"Searches reference number, customer name and payment description.",required:!1}),filterBy:c.StaticDropdown({displayName:"Filter By",description:"Payment mode filter. Defaults to PaymentMode.All.",required:!1,options:{options:yD.map(e=>({label:e,value:e}))}}),sortColumn:c.ShortText({displayName:"Sort Column",description:'Column to sort by, e.g. "date" or "created_time".',required:!1}),page:u.page(),perPage:u.perPage()},async run(e){let{customerId:t,customerName:r,customerNameContains:n,referenceNumber:o,referenceNumberContains:a,date:i,amount:l,amountGreaterThan:d,amountLessThan:m,paymentMode:b,notesContains:x,searchText:I,filterBy:p,sortColumn:v,page:A,perPage:C}=e.propsValue,E=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/customerpayments",query:{organization_id:E,customer_id:t,customer_name:r,customer_name_contains:n,reference_number:o,reference_number_contains:a,date:i,amount:l,amount_greater_than:d,amount_less_than:m,payment_mode:b,notes_contains:x,search_text:I,filter_by:p,sort_column:v,...B.pageQuery({page:A,perPage:C})}})}});var bI=_({auth:h,name:"zoho_books_update_customer_payment_custom_fields",outputSchema:D,displayName:"Update Customer Payment Custom Fields",description:"Sets custom field values on an existing customer payment in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sets the given custom field values on a customer payment; other custom fields and payment details are left as they are. Get Customer Payment returns the payment custom fields with their customfield_id.",idempotent:!0},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0}),customFields:c.Array({displayName:"Custom Fields",description:'Custom field values to set, e.g. [{"customfield_id": "46000000012845", "value": "Normal"}].',required:!0,properties:{customfield_id:c.ShortText({displayName:"Custom Field ID",required:!0}),value:c.ShortText({displayName:"Value",required:!0})}})},async run(e){let{customerPaymentId:t,customFields:r}=e.propsValue;if(r.length===0)throw new Error("Custom Fields must contain at least one custom field.");let n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/customerpayment/${encodeURIComponent(t)}/customfields`,query:{organization_id:n},body:{custom_fields:r}})}});var kI=_({auth:h,name:"zoho_books_update_customer_payment_refund",outputSchema:Jo,displayName:"Update Customer Payment Refund",description:"Updates a refund of a customer payment in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates a refund of a customer payment; only the fields given are sent. Use Get Customer Payment Refund to read the current values.",idempotent:!0},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0}),refundId:c.ShortText({displayName:"Refund ID",description:"Refund ID (payment_refund_id), from List Customer Payment Refunds or Create Customer Payment Refund.",required:!0}),amount:c.Number({displayName:"Amount",description:"Refunded amount, e.g. 50.",required:!1}),date:c.ShortText({displayName:"Date",description:'Refund date, yyyy-mm-dd, e.g. "2026-06-05".',required:!1}),fromAccountId:c.ShortText({displayName:"From Account ID",description:"ID of the cash or bank account the refund is paid from.",required:!1}),refundMode:c.ShortText({displayName:"Refund Mode",description:'How the refund is paid, e.g. "cash" or "banktransfer".',required:!1}),referenceNumber:c.ShortText({displayName:"Reference Number",required:!1}),description:c.LongText({displayName:"Description",required:!1}),exchangeRate:c.Number({displayName:"Exchange Rate",description:"Exchange rate from the payment currency to the base currency, e.g. 1.",required:!1}),additionalFields:u.additionalFields({description:'Other refund fields, e.g. {"payment_form": "cash"}. The props above win over the same keys here.'})},async run(e){let{customerPaymentId:t,refundId:r,amount:n,date:o,fromAccountId:a,refundMode:i,referenceNumber:l,description:d,exchangeRate:m,additionalFields:b}=e.propsValue,x=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/customerpayments/${encodeURIComponent(t)}/refunds/${encodeURIComponent(r)}`,query:{organization_id:x},body:{...b,...z("amount",n),...z("date",o),...z("from_account_id",a),...z("refund_mode",i),...z("reference_number",l),...z("description",d),...z("exchange_rate",m)}})}});var vI=_({auth:h,name:"zoho_books_update_customer_payment",outputSchema:ul,displayName:"Update Customer Payment",description:"Updates a payment received from a customer in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates a customer payment; only the fields given are sent. Invoices, when given, replace the invoices the payment is applied to. Use Get Customer Payment to read the current values.",idempotent:!0},props:{organizationId:u.organizationId(),customerPaymentId:u.customerPaymentId({required:!0}),customerId:u.contactId({required:!1,displayName:"Customer ID",description:"Contact ID of the paying customer, from List Contacts."}),paymentMode:c.ShortText({displayName:"Payment Mode",description:"How the payment was made: check, cash, creditcard, banktransfer, bankremittance, autotransaction or others, or a payment mode set up in the organization.",required:!1}),amount:c.Number({displayName:"Amount",description:"Amount received, e.g. 450.",required:!1}),date:c.ShortText({displayName:"Date",description:'Payment date, yyyy-mm-dd, e.g. "2026-06-05".',required:!1}),invoices:c.Array({displayName:"Invoices",description:'Invoices the payment is applied to, e.g. [{"invoice_id": "90300000079426", "amount_applied": 450}]. Invoice IDs come from List Invoices. Leave empty to keep the current ones.',required:!1,properties:{invoice_id:c.ShortText({displayName:"Invoice ID",required:!0}),amount_applied:c.Number({displayName:"Amount Applied",required:!0}),tax_amount_withheld:c.Number({displayName:"Tax Amount Withheld",required:!1})}}),referenceNumber:c.ShortText({displayName:"Reference Number",description:'e.g. "INV-384".',required:!1}),description:c.LongText({displayName:"Description",required:!1}),accountId:c.ShortText({displayName:"Deposit Account ID",description:"ID of the cash or bank account the payment is deposited to.",required:!1}),bankCharges:c.Number({displayName:"Bank Charges",required:!1}),exchangeRate:c.Number({displayName:"Exchange Rate",description:"Exchange rate from the invoice currency to the base currency, e.g. 1.",required:!1}),additionalFields:u.additionalFields({description:'Other payment fields, e.g. {"location_id": "...", "retainerinvoice_id": "...", "custom_fields": [{"label": "...", "value": "..."}], "tags": [{"tag_id": "...", "tag_option_id": "..."}]}. The props above win over the same keys here.'})},async run(e){let{customerPaymentId:t,customerId:r,paymentMode:n,amount:o,date:a,invoices:i,referenceNumber:l,description:d,accountId:m,bankCharges:b,exchangeRate:x,additionalFields:I}=e.propsValue,p=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/customerpayments/${encodeURIComponent(t)}`,query:{organization_id:p},body:{...I,...z("customer_id",r),...z("payment_mode",n),...z("amount",o),...z("date",a),...i&&i.length>0?{invoices:i}:{},...z("reference_number",l),...z("description",d),...z("account_id",m),...z("bank_charges",b),...z("exchange_rate",x)}})}});var II=_({auth:h,name:"zoho_books_upsert_customer_payment_by_custom_field",outputSchema:al,displayName:"Upsert Customer Payment by Custom Field",description:"Updates the customer payment matching a unique custom field value, or creates it when none matches.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Finds the customer payment whose unique custom field (one that rejects duplicate values) has the given value and updates it; with Create If Missing set to Yes, records a new payment when none matches. Repeating the call with the same key does not create duplicates.",idempotent:!0},props:{organizationId:u.organizationId(),uniqueFieldApiName:c.ShortText({displayName:"Unique Custom Field API Name",description:'API name of a customer payment custom field set to reject duplicates, e.g. "cf_external_id".',required:!0}),uniqueFieldValue:c.ShortText({displayName:"Unique Custom Field Value",description:"Value of that custom field that identifies the payment.",required:!0}),createIfMissing:u.flag({displayName:"Create If Missing",description:"Yes records a new payment when no payment has the value. Defaults to No.",required:!1}),customerId:u.contactId({required:!0,displayName:"Customer ID",description:"Contact ID of the paying customer, from List Contacts or Create Contact."}),paymentMode:c.ShortText({displayName:"Payment Mode",description:"How the payment was made: check, cash, creditcard, banktransfer, bankremittance, autotransaction or others, or a payment mode set up in the organization.",required:!0}),amount:c.Number({displayName:"Amount",description:"Amount received, e.g. 450.",required:!0}),invoices:c.Array({displayName:"Invoices",description:'Invoices the payment is applied to, e.g. [{"invoice_id": "90300000079426", "amount_applied": 450}]. Invoice IDs come from List Invoices.',required:!0,properties:{invoice_id:c.ShortText({displayName:"Invoice ID",required:!0}),amount_applied:c.Number({displayName:"Amount Applied",required:!0}),tax_amount_withheld:c.Number({displayName:"Tax Amount Withheld",required:!1})}}),date:c.ShortText({displayName:"Date",description:'Payment date, yyyy-mm-dd, e.g. "2026-06-05".',required:!1}),referenceNumber:c.ShortText({displayName:"Reference Number",description:'e.g. "INV-384".',required:!1}),description:c.LongText({displayName:"Description",required:!1}),accountId:c.ShortText({displayName:"Deposit Account ID",description:"ID of the cash or bank account the payment is deposited to.",required:!1}),bankCharges:c.Number({displayName:"Bank Charges",required:!1}),exchangeRate:c.Number({displayName:"Exchange Rate",description:"Exchange rate from the invoice currency to the base currency, e.g. 1.",required:!1}),additionalFields:u.additionalFields({description:'Other payment fields, e.g. {"location_id": "...", "retainerinvoice_id": "...", "custom_fields": [{"label": "...", "value": "..."}], "tags": [{"tag_id": "...", "tag_option_id": "..."}]}. The props above win over the same keys here.'})},async run(e){let{uniqueFieldApiName:t,uniqueFieldValue:r,createIfMissing:n,customerId:o,paymentMode:a,amount:i,invoices:l,date:d,referenceNumber:m,description:b,accountId:x,bankCharges:I,exchangeRate:p,additionalFields:v}=e.propsValue,A=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:"/customerpayments",query:{organization_id:A},headers:{"X-Unique-Identifier-Key":t,"X-Unique-Identifier-Value":r,...z("X-Upsert",n)},body:{...v,customer_id:o,payment_mode:a,amount:i,invoices:l,...z("date",d),...z("reference_number",m),...z("description",b),...z("account_id",x),...z("bank_charges",I),...z("exchange_rate",p)}})}});var PI=_({auth:h,name:"zoho_books_add_invoice_attachment",outputSchema:ol,displayName:"Add Invoice Attachment",description:"Attaches a file to an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Attaches a gif, png, jpeg, jpg, bmp or pdf file to an invoice. Each call adds another file. Update Invoice Attachment Preference sets whether it goes out with invoice emails.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),file:c.File({displayName:"File",description:"File to attach: gif, png, jpeg, jpg, bmp or pdf.",required:!0}),canSendInMail:u.flag({required:!1,displayName:"Send With Invoice Email",description:"Yes to include the file when the invoice is emailed."})},async run(e){let{invoiceId:t,file:r,canSendInMail:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),a=new FormData;return a.append("attachment",new Blob([r.data]),r.filename),await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(t)}/attachment`,query:{organization_id:o,can_send_in_mail:n},body:a})}});var zI=_({auth:h,name:"zoho_books_add_invoice_comment",outputSchema:rl,displayName:"Add Invoice Comment",description:"Adds a comment to a Zoho Books invoice.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Adds a comment to an invoice and returns it with its comment_id. Each call adds a new comment; check List Invoice Comments first to avoid duplicates.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),description:c.LongText({displayName:"Comment",description:"Text of the comment.",required:!0}),paymentExpectedDate:c.ShortText({displayName:"Payment Expected Date",description:'Date the payment is expected, as yyyy-mm-dd, e.g. "2026-11-30".',required:!1}),showCommentToClients:u.flag({displayName:"Show Comment To Clients",description:"Whether the customer sees the comment in the customer portal.",required:!1})},async run(e){let{invoiceId:t,description:r,paymentExpectedDate:n,showCommentToClients:o}=e.propsValue,a=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(t)}/comments`,query:{organization_id:a},body:{description:r,...z("payment_expected_date",n),...z("show_comment_to_clients",B.toBoolean({value:o}))}})}});var xI=_({auth:h,name:"zoho_books_apply_credits_to_invoice",outputSchema:ik,displayName:"Apply Credits to Invoice",description:"Applies customer credits to an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Applies the customer's excess payments and/or credit notes to an invoice, reducing its balance; Get Contact Unused Credits lists what is available. Each call applies the amounts again. List Invoice Credits Applied shows the result.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),invoicePayments:c.Json({displayName:"Excess Payments",description:'Excess customer payments to apply, e.g. [{"payment_id": "982000000567190", "amount_applied": 12.2}]. payment_id comes from List Customer Payments or Get Contact Unused Credits.',required:!1}),applyCreditnotes:c.Json({displayName:"Credit Notes",description:'Credit notes to apply, e.g. [{"creditnote_id": "982000000567134", "amount_applied": 12.2}]. creditnote_id comes from Get Contact Unused Credits.',required:!1})},async run(e){let{invoiceId:t,invoicePayments:r,applyCreditnotes:n}=e.propsValue;if(r===void 0&&n===void 0)throw new Error("Give Excess Payments, Credit Notes, or both.");let o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(t)}/credits`,query:{organization_id:o},body:{invoice_payments:r??[],apply_creditnotes:n??[]}})}});var AI=_({auth:h,name:"zoho_books_apply_pricebook_to_invoice",outputSchema:D,displayName:"Apply Price Book To Invoice",description:"Applies a price book to a Zoho Books invoice.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Applies a price book (price list) to an invoice so its line items use the price book rates. Needs price lists enabled in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),pricebookId:c.ShortText({displayName:"Price Book ID",description:"Price book (price list) ID, from Zoho Books (the pricebook_id of the price list).",required:!0})},async run(e){let{invoiceId:t,pricebookId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}/pricebooks/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var SI=_({auth:h,name:"zoho_books_approve_invoice",outputSchema:D,displayName:"Approve Invoice",description:"Approves an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Approves an invoice that was submitted with Submit Invoice. Needs the invoice approval workflow enabled and a user allowed to approve.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/approve`,query:{organization_id:t}})}});var TI=_({auth:h,name:"zoho_books_approve_invoices",outputSchema:D,displayName:"Approve Invoices",description:"Approves several Zoho Books invoices that are pending approval.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Approves several invoices pending approval in one call; use Approve Invoice for one. Needs the invoice approval workflow enabled in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/approve",query:{organization_id:n,invoice_ids:r.join(",")}})}});var CI=_({auth:h,name:"zoho_books_attach_document_to_invoice",outputSchema:D,displayName:"Attach Document to Invoice",description:"Attaches an existing document to an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Attaches an existing Zoho Books document, by document_id, to an invoice. To upload a new file use Add Invoice Attachment.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),documentId:c.ShortText({displayName:"Document ID",description:"Document ID of a file already in Zoho Books Documents.",required:!0})},async run(e){let{invoiceId:t,documentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(t)}/documents/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var EI=_({auth:h,name:"zoho_books_cancel_invoice_write_off",outputSchema:D,displayName:"Cancel Invoice Write Off",description:"Cancels the write-off of an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Cancels a write-off made with Write Off Invoice, restoring the unpaid balance of the invoice.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/writeoff/cancel`,query:{organization_id:t}})}});var DI=_({auth:h,name:"zoho_books_create_invoice_from_sales_order",outputSchema:lk,displayName:"Create Invoice from Sales Order",description:"Creates an invoice from a confirmed sales order in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Creates an invoice for everything on a confirmed sales order and returns it with its invoice_id. Needs sales orders enabled in Zoho Books. Each call creates another invoice.",idempotent:!1},props:{organizationId:u.organizationId(),salesOrderId:c.ShortText({displayName:"Sales Order ID",description:"ID of a confirmed sales order in Zoho Books (the salesorder_id of the sales order).",required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/fromsalesorder",query:{organization_id:t,salesorder_id:e.propsValue.salesOrderId}})}});var OI=_({auth:h,name:"zoho_books_create_invoice_payment_link",outputSchema:ck,displayName:"Create Invoice Payment Link",description:"Generates a payment link for a Zoho Books invoice.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Generates a shareable payment link for an invoice that expires on the given date. Each call generates a new link. Needs an online payment gateway connected in Zoho Books.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),linkType:c.StaticDropdown({displayName:"Link Type",description:"Whether the link is public or private.",required:!0,options:{options:[{label:"Public",value:"public"},{label:"Private",value:"private"}]}}),expiryTime:c.ShortText({displayName:"Expiry Date",description:'Date the link expires, as yyyy-MM-dd, e.g. "2026-12-31".',required:!0})},async run(e){let{invoiceId:t,linkType:r,expiryTime:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/share/paymentlink",query:{organization_id:o,transaction_id:t,transaction_type:"invoice",link_type:r,expiry_time:n}})}});var NI=_({auth:h,name:"zoho_books_create_invoice",outputSchema:il,displayName:"Create Invoice",description:"Creates an invoice for a customer in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Creates a draft invoice for a customer and returns it with its invoice_id. Each call creates a new invoice; use List Invoices first to avoid duplicates, or Upsert Invoice by Custom Field. Set Send to email it right away.",idempotent:!1},props:{organizationId:u.organizationId(),customerId:u.contactId({required:!0,displayName:"Customer ID",description:"Contact ID of the customer, from List Contacts or Create Contact."}),lineItems:c.Json({displayName:"Line Items",description:'Array of line items; item_id or name is needed on each, e.g. [{"item_id": "982000000030049", "name": "Laptop", "description": "15 inch, 16 GB RAM", "rate": 1200, "quantity": 2, "tax_id": "982000000557028", "discount": "10%"}]. tax_id comes from the Zoho Books taxes settings; discount is an amount or a percentage.',required:!0}),date:c.ShortText({displayName:"Date",description:"Invoice date, yyyy-mm-dd. Defaults to today.",required:!1}),dueDate:c.ShortText({displayName:"Due Date",description:"Due date, yyyy-mm-dd. Defaults to the date plus the payment terms.",required:!1}),paymentTerms:c.Number({displayName:"Payment Terms",description:"Days allowed for payment after the invoice date, e.g. 15.",required:!1}),invoiceNumber:c.ShortText({displayName:"Invoice Number",description:'Custom invoice number, e.g. "INV-00003". Needs Ignore Auto Number Generation set to Yes.',required:!1}),ignoreAutoNumberGeneration:u.flag({required:!1,displayName:"Ignore Auto Number Generation",description:"Yes to use the Invoice Number given instead of the next automatic number."}),referenceNumber:c.ShortText({displayName:"Reference Number",description:"External reference such as a purchase order number.",required:!1}),currencyId:c.ShortText({displayName:"Currency ID",description:"Currency ID of the invoice. Defaults to the currency of the customer.",required:!1}),discount:c.ShortText({displayName:"Discount",description:'Invoice-level discount, a flat amount (e.g. "50") or a percentage (e.g. "10%").',required:!1}),isDiscountBeforeTax:u.flag({required:!1,displayName:"Discount Before Tax",description:"Yes to apply the discount before tax, No to apply it after tax."}),salespersonName:c.ShortText({displayName:"Salesperson Name",required:!1}),notes:c.LongText({displayName:"Notes",description:"Notes shown on the invoice, e.g. a thank-you message.",required:!1}),terms:c.LongText({displayName:"Terms",description:"Terms and conditions shown on the invoice.",required:!1}),send:u.flag({required:!1,displayName:"Send",description:"Yes to email the invoice to the customer contact persons once created."}),additionalFields:u.additionalFields({description:'Other invoice fields, e.g. {"payment_terms_label": "Net 15", "template_id": "...", "location_id": "...", "exchange_rate": 1, "is_inclusive_tax": false, "shipping_charge": "25.00", "adjustment": -2, "adjustment_description": "Rounding", "allow_partial_payments": true, "contact_persons_associated": [{"contact_person_id": "..."}], "custom_fields": [{"api_name": "cf_po", "value": "..."}], "tags": [{"tag_id": "...", "tag_option_id": "..."}], "place_of_supply": "TN", "gst_treatment": "business_gst"}. The props above win over the same keys here.'})},async run(e){let{customerId:t,lineItems:r,date:n,dueDate:o,paymentTerms:a,invoiceNumber:i,ignoreAutoNumberGeneration:l,referenceNumber:d,currencyId:m,discount:b,isDiscountBeforeTax:x,salespersonName:I,notes:p,terms:v,send:A,additionalFields:C}=e.propsValue,E=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices",query:{organization_id:E,send:A,ignore_auto_number_generation:l},body:{...C,customer_id:t,line_items:r,...z("date",n),...z("due_date",o),...z("payment_terms",a),...z("invoice_number",i),...z("reference_number",d),...z("currency_id",m),...z("discount",b),...z("is_discount_before_tax",B.toBoolean({value:x})),...z("salesperson_name",I),...z("notes",p),...z("terms",v)}})}});var wI=_({auth:h,name:"zoho_books_create_invoices_from_estimates",outputSchema:qe,displayName:"Create Invoices From Estimates",description:"Creates Zoho Books invoices from estimates.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Converts the given accepted estimates into invoices and returns them with their invoice_id. Each call creates new invoices, so do not repeat it for the same estimates.",idempotent:!1},props:{organizationId:u.organizationId(),estimateIds:c.Array({displayName:"Estimate IDs",description:"IDs of accepted estimates, from Zoho Books (the estimate_id of each estimate).",required:!0})},async run(e){let{estimateIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Estimate IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/fromestimates",query:{organization_id:n,estimate_ids:r.join(",")}})}});var RI=_({auth:h,name:"zoho_books_create_invoices_from_projects",outputSchema:uk,displayName:"Create Invoices From Projects",description:"Creates Zoho Books invoices from the unbilled time and expenses of projects.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Bills the unbilled time and expenses of the given billable projects as new invoices and returns them with their invoice_id. Each call creates new invoices, so do not repeat it for the same projects.",idempotent:!1},props:{organizationId:u.organizationId(),projectIds:c.Array({displayName:"Project IDs",description:"IDs of billable projects, from Zoho Books (the project_id of each project).",required:!0}),invoiceNumber:c.ShortText({displayName:"Invoice Number",description:"Invoice number to give the created invoice, up to 30 characters. Leave empty for auto-numbering.",required:!1})},async run(e){let{projectIds:t,invoiceNumber:r}=e.propsValue,n=B.toStringList({value:t,propName:"Project IDs"}),o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/fromprojects",query:{organization_id:o,project_ids:n.join(","),invoice_number:r}})}});var $I=_({auth:h,name:"zoho_books_delete_invoice_applied_credit",outputSchema:D,displayName:"Delete Invoice Applied Credit",description:"Removes a credit applied to an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Removes one applied credit note from an invoice, raising its balance and returning the credit to the customer. The creditnotes_invoice_id comes from List Invoice Credits Applied.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),creditnotesInvoiceId:c.ShortText({displayName:"Credit Note Invoice ID",description:"The creditnotes_invoice_id of the applied credit, from List Invoice Credits Applied (not the creditnote_id).",required:!0})},async run(e){let{invoiceId:t,creditnotesInvoiceId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/invoices/${encodeURIComponent(t)}/creditsapplied/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var BI=_({auth:h,name:"zoho_books_delete_invoice_attachment",outputSchema:D,displayName:"Delete Invoice Attachment",description:"Deletes the file attached to an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes the file attached to an invoice (the one added with Add Invoice Attachment); it cannot be undone.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/attachment`,query:{organization_id:t}})}});var MI=_({auth:h,name:"zoho_books_delete_invoice_comment",outputSchema:D,displayName:"Delete Invoice Comment",description:"Deletes a comment from a Zoho Books invoice.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes an invoice comment. It cannot be undone. The comment_id comes from List Invoice Comments or Add Invoice Comment.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),commentId:c.ShortText({displayName:"Comment ID",description:"Comment ID, from List Invoice Comments or Add Invoice Comment.",required:!0})},async run(e){let{invoiceId:t,commentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/invoices/${encodeURIComponent(t)}/comments/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var UI=_({auth:h,name:"zoho_books_delete_invoice_document",outputSchema:D,displayName:"Delete Invoice Document",description:"Deletes a document attached to an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently removes one document from an invoice; it cannot be undone. System-generated documents cannot be deleted.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),documentId:c.ShortText({displayName:"Document ID",description:"Document ID, from the documents of Get Invoice or from Add Invoice Attachment.",required:!0})},async run(e){let{invoiceId:t,documentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/invoices/${encodeURIComponent(t)}/documents/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var LI=_({auth:h,name:"zoho_books_delete_invoice_payment",outputSchema:D,displayName:"Delete Invoice Payment",description:"Deletes a payment made to an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Removes one payment from an invoice, raising its balance again; it cannot be undone. The invoice_payment_id comes from List Invoice Payments.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),invoicePaymentId:c.ShortText({displayName:"Invoice Payment ID",description:"The invoice_payment_id of the payment, from List Invoice Payments (not the payment_id).",required:!0})},async run(e){let{invoiceId:t,invoicePaymentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/invoices/${encodeURIComponent(t)}/payments/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var FI=_({auth:h,name:"zoho_books_delete_invoice",outputSchema:D,displayName:"Delete Invoice",description:"Deletes an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes one invoice; it cannot be undone. Use Void Invoice instead to keep the record, or Delete Invoices for several at once.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}`,query:{organization_id:t}})}});var jI=_({auth:h,name:"zoho_books_delete_invoices",outputSchema:qe,displayName:"Delete Invoices",description:"Deletes several invoices in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes several invoices in one call; it cannot be undone. Use Delete Invoice for one invoice, or Void Invoice to keep the record.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs to delete, from List Invoices or Create Invoice.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:"/invoices",query:{organization_id:n,invoice_ids:r.join(",")}})}});var qI=_({auth:h,name:"zoho_books_disable_invoice_payment_reminder",outputSchema:D,displayName:"Disable Invoice Payment Reminder",description:"Turns off automated payment reminders for an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Stops automated payment reminders for one invoice. Enable Invoice Payment Reminder turns them back on.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/paymentreminder/disable`,query:{organization_id:t}})}});var ZI=_({auth:h,name:"zoho_books_email_invoice",outputSchema:mk,displayName:"Email Invoice",description:"Emails an invoice to the customer from Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails one invoice to the given recipients; subject and body default to the invoice email template (see Get Invoice Email Content). Each call sends another email. A draft invoice is marked as sent.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),toMailIds:c.Array({displayName:"To",description:'Recipient email addresses, e.g. ["willsmith@bowmanfurniture.com"].',required:!0}),ccMailIds:c.Array({displayName:"CC",description:"Email addresses to copy.",required:!1}),subject:c.ShortText({displayName:"Subject",required:!1}),body:c.LongText({displayName:"Body",description:"Email body; HTML is allowed.",required:!1}),fromAddressId:c.ShortText({displayName:"From Address ID",description:"ID of a verified sender address in Zoho Books. Defaults to the organization sender.",required:!1}),sendFromOrgEmailId:u.flag({required:!1,displayName:"Send From Organization Email",description:"Yes to send from the organization email address."}),sendCustomerStatement:u.flag({required:!1,displayName:"Attach Customer Statement",description:"Yes to attach the customer statement PDF."}),sendAttachment:u.flag({required:!1,displayName:"Attach Invoice Attachment",description:"Yes to attach the file attached to the invoice."})},async run(e){let{invoiceId:t,toMailIds:r,ccMailIds:n,subject:o,body:a,fromAddressId:i,sendFromOrgEmailId:l,sendCustomerStatement:d,sendAttachment:m}=e.propsValue,b=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(t)}/email`,query:{organization_id:b,send_customer_statement:d,send_attachment:m},body:{to_mail_ids:r,...n&&n.length>0?{cc_mail_ids:n}:{},...z("subject",o),...z("body",a),...z("from_address_id",i),...z("send_from_org_email_id",B.toBoolean({value:l}))}})}});var VI=_({auth:h,name:"zoho_books_email_invoices",outputSchema:D,displayName:"Email Invoices",description:"Emails several invoices to their customers in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails up to 10 invoices at once to the contact persons of their customers, with the default email content. Each call sends the emails again. Use Email Invoice to email one invoice with custom recipients, subject or body.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Up to 10 invoice IDs, from List Invoices or Create Invoice.",required:!0}),contacts:c.Json({displayName:"Contacts",description:'Delivery choice for each customer of the invoices, e.g. [{"contact_id": "460000000026049", "email": true, "snail_mail": false}]. contact_id is the customer_id of each invoice.',required:!0})},async run(e){let{invoiceIds:t,contacts:r}=e.propsValue,n=B.toStringList({value:t,propName:"Invoice IDs"}),o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/email",query:{organization_id:o,invoice_ids:n.join(",")},body:{...z("contacts",r)}})}});var HI=_({auth:h,name:"zoho_books_enable_invoice_payment_reminder",outputSchema:D,displayName:"Enable Invoice Payment Reminder",description:"Turns on automated payment reminders for an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Resumes automated payment reminders for one invoice after Disable Invoice Payment Reminder. To email a reminder now, use Send Invoice Payment Reminder.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/paymentreminder/enable`,query:{organization_id:t}})}});var GI=_({auth:h,name:"zoho_books_export_invoices_pdf",outputSchema:Ie,displayName:"Export Invoices PDF",description:"Exports several invoices as one PDF from Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Exports up to 25 invoices into one PDF file and returns the file. Use Print Invoices for the print-ready version.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Up to 25 invoice IDs, from List Invoices.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),o=await f.download({auth:e.auth,path:"/invoices/pdf",query:{organization_id:n,invoice_ids:r.join(",")}});return{file:await e.files.write({fileName:o.fileName??"invoices.pdf",data:o.data}),contentType:o.contentType}}});var WI=_({auth:h,name:"zoho_books_finalize_invoice_approval",outputSchema:D,displayName:"Finalize Invoice Approval",description:"Gives the final approval for a Zoho Books invoice in a multi-level approval flow.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Gives the final approval for an invoice that needs a final step in a multi-level approval flow; use Approve Invoice for the regular approval. Needs the invoice approval workflow enabled in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/approve/final`,query:{organization_id:t}})}});var KI=_({auth:h,name:"zoho_books_get_invoice_attachment",outputSchema:Ie,displayName:"Get Invoice Attachment",description:"Downloads the file attached to an invoice in Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Downloads the file attached to an invoice (the last one added with Add Invoice Attachment) and returns it as a file. Use Get Invoice Document for a specific document by document_id.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),preview:u.flag({required:!1,displayName:"Thumbnail",description:"Yes to get a thumbnail of the attachment instead of the full file."})},async run(e){let{invoiceId:t,preview:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),o=await f.download({auth:e.auth,path:`/invoices/${encodeURIComponent(t)}/attachment`,query:{organization_id:n,preview:r}});return{file:await e.files.write({fileName:o.fileName??`invoice-${t}-attachment`,data:o.data}),contentType:o.contentType}}});var JI=_({auth:h,name:"zoho_books_get_invoice_custom_fields",outputSchema:Ik,displayName:"Get Invoice Custom Fields",description:"Gets the custom fields of a Zoho Books invoice.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the custom fields configured for an invoice with their customfield_id, which Update Invoice Custom Fields takes.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/customfields`,query:{organization_id:t}})}});var XI=_({auth:h,name:"zoho_books_get_invoice_dashboard",outputSchema:Pk,displayName:"Get Invoice Dashboard",description:"Gets the Zoho Books invoice dashboard with summary metrics.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the invoice dashboard of the organization with its summary metrics. Use List Invoices for the invoices themselves.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceAgent:c.ShortText({displayName:"Invoice Agent",description:"Filters the dashboard data by the invoice agent.",required:!1})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/invoices/dashboard",query:{organization_id:t,invoice_agent:e.propsValue.invoiceAgent}})}});var YI=_({auth:h,name:"zoho_books_get_invoice_delivery_notes",outputSchema:Ie,displayName:"Get Invoice Delivery Notes",description:"Gets the delivery notes of several Zoho Books invoices as one PDF file.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Generates the delivery notes of several invoices as one PDF file and returns the file. Use Print Invoice Delivery Note for a single invoice.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0}),print:u.flag({displayName:"Print Ready",description:"Whether to return the delivery notes in a print-ready format.",required:!1}),noOfCopies:c.Number({displayName:"Number Of Copies",description:"Number of copies to generate, e.g. 2.",required:!1})},async run(e){let{invoiceIds:t,print:r,noOfCopies:n}=e.propsValue,o=B.toStringList({value:t,propName:"Invoice IDs"}),a=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),i=await f.download({auth:e.auth,path:"/invoices/deliverynotes",query:{organization_id:a,invoice_ids:o.join(","),accept:"pdf",print:r,no_of_copies:n}});return{file:await e.files.write({fileName:i.fileName??"delivery-notes.pdf",data:i.data}),contentType:i.contentType}}});var QI=_({auth:h,name:"zoho_books_get_invoice_document",outputSchema:Ie,displayName:"Get Invoice Document",description:"Downloads a document attached to an invoice in Zoho Books.",audience:"ai",classification:"READ",aiMetadata:{description:"Downloads one document attached to an invoice by document_id and returns it as a file. The document_id comes from the documents of Get Invoice.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),documentId:c.ShortText({displayName:"Document ID",description:"Document ID, from the documents of Get Invoice or from Add Invoice Attachment.",required:!0})},async run(e){let{invoiceId:t,documentId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),o=await f.download({auth:e.auth,path:`/invoices/${encodeURIComponent(t)}/documents/${encodeURIComponent(r)}`,query:{organization_id:n}});return{file:await e.files.write({fileName:o.fileName??`invoice-document-${r}`,data:o.data}),contentType:o.contentType}}});var eP=_({auth:h,name:"zoho_books_get_invoice_email_content",outputSchema:zk,displayName:"Get Invoice Email Content",description:"Gets the email content of an invoice in Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the email Zoho Books would send for an invoice (recipients, subject, body, sender and email templates), to review or adapt before Email Invoice.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),emailTemplateId:c.ShortText({displayName:"Email Template ID",description:"Email template to render, from the emailtemplates in this action's response. Defaults to the template of the customer, then the default one.",required:!1})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/email`,query:{organization_id:t,email_template_id:e.propsValue.emailTemplateId}})}});var tP=_({auth:h,name:"zoho_books_get_invoice_metadata",outputSchema:dl,displayName:"Get Invoice Metadata",description:"Gets a metadata value stored against a Zoho Books invoice.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets the metadata value stored under a name against an invoice; Update Invoice Metadata sets it.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),metadataName:c.ShortText({displayName:"Metadata Name",description:'Name of the metadata key, e.g. "external_status".',required:!0})},async run(e){let{invoiceId:t,metadataName:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(t)}/metadata/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var oP=_({auth:h,name:"zoho_books_get_invoice_packing_slips",outputSchema:Ie,displayName:"Get Invoice Packing Slips",description:"Gets the packing slips of several Zoho Books invoices as one PDF file.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Generates the packing slips of several invoices as one PDF file and returns the file. Use Print Invoice Packing Slip for a single invoice.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0}),print:u.flag({displayName:"Print Ready",description:"Whether to return the packing slips in a print-ready format.",required:!1}),noOfCopies:c.Number({displayName:"Number Of Copies",description:"Number of copies to generate, e.g. 2.",required:!1})},async run(e){let{invoiceIds:t,print:r,noOfCopies:n}=e.propsValue,o=B.toStringList({value:t,propName:"Invoice IDs"}),a=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),i=await f.download({auth:e.auth,path:"/invoices/packingslips",query:{organization_id:a,invoice_ids:o.join(","),accept:"pdf",print:r,no_of_copies:n}});return{file:await e.files.write({fileName:i.fileName??"packing-slips.pdf",data:i.data}),contentType:i.contentType}}});var rP=_({auth:h,name:"zoho_books_get_invoice_payment_reminder_email_content",outputSchema:Ak,displayName:"Get Invoice Payment Reminder Email Content",description:"Gets the payment reminder email content of an invoice in Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Gets the default payment reminder email of an invoice (recipients, subject, body), to review or adapt before Send Invoice Payment Reminder.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/paymentreminder`,query:{organization_id:t}})}});var nP=_({auth:h,name:"zoho_books_get_invoice",outputSchema:xk,displayName:"Get Invoice",description:"Gets an invoice from Zoho Books.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets one invoice by invoice_id with its customer, line items, totals, status, balance and attached documents.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}`,query:{organization_id:t}})}});var aP=_({auth:h,name:"zoho_books_link_invoices_to_sales_order",outputSchema:ml,displayName:"Link Invoices to Sales Order",description:"Associates existing invoices with their sales orders in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Associates existing invoices with their matching sales orders. Needs sales orders enabled in Zoho Books. Invoices that could not be linked are listed in the errors of the response, with the reason.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs to link, from List Invoices.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/mapwithorder",query:{organization_id:n,invoice_ids:r.join(",")}})}});var iP=_({auth:h,name:"zoho_books_list_invoice_comments",outputSchema:Uk,displayName:"List Invoice Comments",description:"Lists the comments and history of a Zoho Books invoice.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the comments and activity history of an invoice with their comment_id, which Update Invoice Comment and Delete Invoice Comment take.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/comments`,query:{organization_id:t}})}});var sP=_({auth:h,name:"zoho_books_list_invoice_credits_applied",outputSchema:Lk,displayName:"List Invoice Credits Applied",description:"Lists the credits applied to an invoice in Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the credit notes applied to one invoice, each with the creditnotes_invoice_id that Delete Invoice Applied Credit takes.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/creditsapplied`,query:{organization_id:t}})}});var lP=_({auth:h,name:"zoho_books_list_invoice_payments",outputSchema:Fk,displayName:"List Invoice Payments",description:"Lists the payments made for an invoice in Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the payments applied to one invoice, each with the invoice_payment_id that Delete Invoice Payment takes and the payment_id of the customer payment.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/payments`,query:{organization_id:t}})}});var cP=_({auth:h,name:"zoho_books_list_invoice_templates",outputSchema:jk,displayName:"List Invoice Templates",description:"Lists the invoice PDF templates of Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the invoice PDF templates with their template_id, which Update Invoice Template and the template_id field of Create Invoice take.",idempotent:!0},props:{organizationId:u.organizationId()},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/invoices/templates",query:{organization_id:t}})}});var fD=["sent","draft","overdue","paid","void","unpaid","partially_paid","viewed"],hD=["customer_name","invoice_number","date","due_date","total","balance","created_time"],uP=_({auth:h,name:"zoho_books_list_invoices",outputSchema:qk,displayName:"List Invoices",description:"Lists Zoho Books invoices, with filters.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists invoices with their invoice_id, filtered by customer, status, number, reference, dates, item or free text. Returns one page; page_context.has_more_page tells whether to fetch the next page.",idempotent:!0},props:{organizationId:u.organizationId(),customerId:u.contactId({required:!1,displayName:"Customer ID",description:"Contact ID of the customer, from List Contacts or Create Contact."}),customerName:c.ShortText({displayName:"Customer Name",required:!1}),email:c.ShortText({displayName:"Email",description:"Email of the customer or contact person.",required:!1}),status:c.StaticDropdown({displayName:"Status",required:!1,options:{options:fD.map(e=>({label:e,value:e}))}}),filterBy:c.ShortText({displayName:"Filter By",description:'Advanced status or date filter, e.g. "Status.All", "Status.Sent", "Status.Draft", "Status.OverDue", "Status.Paid", "Status.Void", "Status.Unpaid", "Status.PartiallyPaid" or "Date.PaymentExpectedDate".',required:!1}),invoiceNumber:c.ShortText({displayName:"Invoice Number",description:'Exact invoice number, e.g. "INV-00003".',required:!1}),referenceNumber:c.ShortText({displayName:"Reference Number",description:"External reference such as a purchase order number.",required:!1}),searchText:c.ShortText({displayName:"Search Text",description:"Searches invoice number, purchase order and customer name.",required:!1}),itemId:c.ShortText({displayName:"Item ID",description:"Only invoices with a line item for this item.",required:!1}),itemName:c.ShortText({displayName:"Item Name",description:"Only invoices with a line item of this name.",required:!1}),date:c.ShortText({displayName:"Date",description:"Exact invoice date, yyyy-mm-dd.",required:!1}),dateStart:c.ShortText({displayName:"Date From",description:"Invoice date on or after, yyyy-mm-dd.",required:!1}),dateEnd:c.ShortText({displayName:"Date To",description:"Invoice date on or before, yyyy-mm-dd.",required:!1}),dueDateStart:c.ShortText({displayName:"Due Date From",description:"Due date on or after, yyyy-mm-dd.",required:!1}),dueDateEnd:c.ShortText({displayName:"Due Date To",description:"Due date on or before, yyyy-mm-dd.",required:!1}),lastModifiedTime:c.ShortText({displayName:"Modified After",description:'Only invoices modified after this time, e.g. "2023-11-18T02:02:51-0800".',required:!1}),sortColumn:c.StaticDropdown({displayName:"Sort Column",required:!1,options:{options:hD.map(e=>({label:e,value:e}))}}),page:u.page(),perPage:u.perPage()},async run(e){let{customerId:t,customerName:r,email:n,status:o,filterBy:a,invoiceNumber:i,referenceNumber:l,searchText:d,itemId:m,itemName:b,date:x,dateStart:I,dateEnd:p,dueDateStart:v,dueDateEnd:A,lastModifiedTime:C,sortColumn:E,page:O,perPage:L}=e.propsValue,ie=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/invoices",query:{organization_id:ie,customer_id:t,customer_name:r,email:n,status:o,filter_by:a,invoice_number:i,reference_number:l,search_text:d,item_id:m,item_name:b,date:x,date_start:I,date_end:p,due_date_start:v,due_date_end:A,last_modified_time:C,sort_column:E,...B.pageQuery({page:O,perPage:L})}})}});var dP=_({auth:h,name:"zoho_books_mark_invoice_draft",outputSchema:D,displayName:"Mark Invoice Draft",description:"Marks a voided invoice as draft in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Turns a voided invoice back into a draft, reversing Void Invoice.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/status/draft`,query:{organization_id:t}})}});var mP=_({auth:h,name:"zoho_books_mark_invoice_sent",outputSchema:qe,displayName:"Mark Invoice Sent",description:"Marks a draft invoice as sent in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Marks a draft invoice as sent without emailing it. Use Email Invoice to actually email it to the customer.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/status/sent`,query:{organization_id:t}})}});var pP=_({auth:h,name:"zoho_books_mark_invoices_sent",outputSchema:qe,displayName:"Mark Invoices Sent",description:"Marks several Zoho Books invoices as sent.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Changes the status of several draft invoices to sent without emailing them; use Mark Invoice Sent for one, or Email Invoices to actually send them.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/status/sent",query:{organization_id:n,invoice_ids:r.join(",")}})}});var yP=_({auth:h,name:"zoho_books_preview_invoice_coupons",outputSchema:Hk,displayName:"Preview Invoice Coupons",description:"Previews the effect of coupons on a Zoho Books invoice before it is created.",audience:"ai",classification:"READ",aiMetadata:{description:"Previews the totals of an invoice with coupons applied, without creating it; use Create Invoice to create it afterwards. Needs coupons configured in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),customerId:u.contactId({required:!0,displayName:"Customer ID",description:"Customer contact ID, from List Contacts or Create Contact."}),lineItems:c.Array({displayName:"Line Items",description:'Line items of the invoice, e.g. [{"item_id": "982000000030049", "quantity": 2, "rate": 120, "description": "500GB hard drive"}].',required:!0}),currencyId:c.ShortText({displayName:"Currency ID",description:"Currency of the invoice. Defaults to the currency of the customer.",required:!1}),date:c.ShortText({displayName:"Invoice Date",description:'Invoice date as yyyy-mm-dd, e.g. "2026-11-01".',required:!1}),additionalFields:u.additionalFields({description:'Other invoice fields, e.g. {"discount": "10%", "discount_type": "entity_level", "payment_terms": 15, "shipping_charge": "25.00", "custom_fields": [{"customfield_id": "46000000012845", "value": "Normal"}]}. The props above win over the same keys here.'})},async run(e){let{customerId:t,lineItems:r,currencyId:n,date:o,additionalFields:a}=e.propsValue;if(r.length===0)throw new Error("Line Items must list at least one line item.");let i=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/coupons/preview",query:{organization_id:i},body:{...a,customer_id:t,line_items:r,...z("currency_id",n),...z("date",o)}})}});var fP=_({auth:h,name:"zoho_books_print_invoice_delivery_note",outputSchema:Ie,displayName:"Print Invoice Delivery Note",description:"Exports the delivery note of a Zoho Books invoice as a PDF file.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Exports the delivery note of one invoice as a PDF file and returns the file. Use Get Invoice Delivery Notes for several invoices at once.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),r=await f.download({auth:e.auth,path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/deliverynote/print`,query:{organization_id:t}});return{file:await e.files.write({fileName:r.fileName??"delivery-note.pdf",data:r.data}),contentType:r.contentType}}});var hP=_({auth:h,name:"zoho_books_print_invoice_packing_slip",outputSchema:Ie,displayName:"Print Invoice Packing Slip",description:"Exports the packing slip of a Zoho Books invoice as a PDF file.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Exports the packing slip of one invoice as a PDF file and returns the file. Use Get Invoice Packing Slips for several invoices at once.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),r=await f.download({auth:e.auth,path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/packingslip/print`,query:{organization_id:t}});return{file:await e.files.write({fileName:r.fileName??"packing-slip.pdf",data:r.data}),contentType:r.contentType}}});var _P=_({auth:h,name:"zoho_books_print_invoices",outputSchema:Ie,displayName:"Print Invoices",description:"Gets a print-ready PDF of several invoices from Zoho Books.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Builds a print-ready PDF of up to 25 invoices and returns the file. Use Export Invoices PDF for the plain export.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Up to 25 invoice IDs, from List Invoices.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId}),o=await f.download({auth:e.auth,path:"/invoices/print",query:{organization_id:n,invoice_ids:r.join(",")}});return{file:await e.files.write({fileName:o.fileName??"invoices-print.pdf",data:o.data}),contentType:o.contentType}}});var gP=_({auth:h,name:"zoho_books_reject_invoice",outputSchema:D,displayName:"Reject Invoice",description:"Rejects a Zoho Books invoice that is pending approval.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Rejects an invoice that is pending approval, with an optional reason; use Approve Invoice to approve it instead. Needs the invoice approval workflow enabled in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),reason:c.LongText({displayName:"Reason",description:"Reason for rejecting the invoice, up to 500 characters.",required:!1})},async run(e){let{invoiceId:t,reason:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(t)}/reject`,query:{organization_id:n,reason:r}})}});var bP=_({auth:h,name:"zoho_books_send_invoice_dunning_notifications",outputSchema:D,displayName:"Send Invoice Dunning Notifications",description:"Sends dunning notifications to the customer of an overdue Zoho Books invoice.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sends the configured dunning notifications for an overdue invoice to its customer. Each call sends again; use Send Invoice Payment Reminder for a single reminder email. Needs payment reminders configured in Zoho Books.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/senddunningnotifications`,query:{organization_id:t}})}});var kP=_({auth:h,name:"zoho_books_send_invoice_payment_reminder",outputSchema:Gk,displayName:"Send Invoice Payment Reminder",description:"Emails a payment reminder for an unpaid invoice from Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails a payment reminder for one open or overdue invoice; recipients, subject and body default to the reminder template (see Get Invoice Payment Reminder Email Content). Each call sends another email. Use Send Invoice Payment Reminders for several invoices.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),toMailIds:c.Array({displayName:"To",description:'Recipient email addresses, e.g. ["willsmith@bowmanfurniture.com"].',required:!1}),ccMailIds:c.Array({displayName:"CC",description:"Email addresses to copy.",required:!1}),subject:c.ShortText({displayName:"Subject",required:!0}),body:c.LongText({displayName:"Body",description:"Email body; HTML is allowed.",required:!1}),sendFromOrgEmailId:u.flag({required:!1,displayName:"Send From Organization Email",description:"Yes to send from the organization email address."}),sendCustomerStatement:u.flag({required:!1,displayName:"Attach Customer Statement",description:"Yes to attach the customer statement PDF."})},async run(e){let{invoiceId:t,toMailIds:r,ccMailIds:n,subject:o,body:a,sendFromOrgEmailId:i,sendCustomerStatement:l}=e.propsValue,d=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(t)}/paymentreminder`,query:{organization_id:d,send_customer_statement:l},body:{...r&&r.length>0?{to_mail_ids:r}:{},...n&&n.length>0?{cc_mail_ids:n}:{},...z("subject",o),...z("body",a),...z("send_from_org_email_id",B.toBoolean({value:i}))}})}});var vP=_({auth:h,name:"zoho_books_send_invoice_payment_reminders",outputSchema:Wk,displayName:"Send Invoice Payment Reminders",description:"Emails payment reminders for several unpaid invoices in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Emails a payment reminder with the default content for up to 10 invoices at once; only open or overdue invoices get one. Each call sends the reminders again. Use Send Invoice Payment Reminder to customize one reminder.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Up to 10 invoice IDs, from List Invoices.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/paymentreminder",query:{organization_id:n,invoice_ids:r.join(",")}})}});var IP=_({auth:h,name:"zoho_books_submit_invoice",outputSchema:D,displayName:"Submit Invoice",description:"Submits an invoice for approval in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Submits a draft invoice for approval. Needs the invoice approval workflow enabled in Zoho Books; Approve Invoice then approves it.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/submit`,query:{organization_id:t}})}});var PP=_({auth:h,name:"zoho_books_submit_invoices",outputSchema:D,displayName:"Submit Invoices",description:"Submits several Zoho Books invoices for approval.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Submits several draft invoices for approval in one call; use Submit Invoice for one, then Approve Invoices. Needs the invoice approval workflow enabled in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/submit",query:{organization_id:n,invoice_ids:r.join(",")}})}});var zP=_({auth:h,name:"zoho_books_unlink_invoices_from_sales_orders",outputSchema:ml,displayName:"Unlink Invoices From Sales Orders",description:"Removes the link between Zoho Books invoices and their sales orders.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Removes the link between the given invoices and their sales orders, undoing Link Invoices To Sales Order. Needs sales orders enabled in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:"/invoices/unmap/salesorders",query:{organization_id:n,invoice_ids:r.join(",")}})}});var xP=_({auth:h,name:"zoho_books_update_invoice_attachment_preference",outputSchema:D,displayName:"Update Invoice Attachment Preference",description:"Sets whether the invoice attachment is sent with invoice emails in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sets whether the file attached to an invoice (see Add Invoice Attachment) is included when the invoice is emailed.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),canSendInMail:u.flag({required:!0,displayName:"Send With Invoice Email",description:"Yes to include the attachment when the invoice is emailed, No to leave it out."})},async run(e){let{invoiceId:t,canSendInMail:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}/attachment`,query:{organization_id:n,can_send_in_mail:r}})}});var AP=_({auth:h,name:"zoho_books_update_invoice_billing_address",outputSchema:Jk,displayName:"Update Invoice Billing Address",description:"Updates the billing address of one invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Changes the billing address printed on one invoice only; the address of the customer stays as it is. Only the fields given are sent.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),address:c.LongText({displayName:"Address",description:'Street address, e.g. "4900 Hopyard Rd, Suite 310".',required:!1}),city:c.ShortText({displayName:"City",required:!1}),state:c.ShortText({displayName:"State",required:!1}),zip:c.ShortText({displayName:"ZIP Code",required:!1}),country:c.ShortText({displayName:"Country",required:!1}),fax:c.ShortText({displayName:"Fax",required:!1})},async run(e){let{invoiceId:t,address:r,city:n,state:o,zip:a,country:i,fax:l}=e.propsValue,d=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}/address/billing`,query:{organization_id:d},body:{address:r,city:n,state:o,zip:a,country:i,fax:l}})}});var SP=_({auth:h,name:"zoho_books_update_invoice_comment",outputSchema:rl,displayName:"Update Invoice Comment",description:"Updates a comment on a Zoho Books invoice.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates the text or client visibility of an invoice comment; only the fields given are sent. The comment_id comes from List Invoice Comments or Add Invoice Comment.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),commentId:c.ShortText({displayName:"Comment ID",description:"Comment ID, from List Invoice Comments or Add Invoice Comment.",required:!0}),description:c.LongText({displayName:"Comment",description:"New text of the comment.",required:!1}),showCommentToClients:u.flag({displayName:"Show Comment To Clients",description:"Whether the customer sees the comment in the customer portal.",required:!1})},async run(e){let{invoiceId:t,commentId:r,description:n,showCommentToClients:o}=e.propsValue,a=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}/comments/${encodeURIComponent(r)}`,query:{organization_id:a},body:{...z("description",n),...z("show_comment_to_clients",B.toBoolean({value:o}))}})}});var TP=_({auth:h,name:"zoho_books_update_invoice_custom_fields",outputSchema:D,displayName:"Update Invoice Custom Fields",description:"Updates custom field values of an existing Zoho Books invoice.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sets the values of the given custom fields on an invoice without touching its other fields. Custom field IDs come from Get Invoice Custom Fields or the custom_fields of Get Invoice.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),customFields:c.Array({displayName:"Custom Fields",description:'Custom field values to set, e.g. [{"customfield_id": "46000000012845", "value": "Normal"}].',required:!0,properties:{customfield_id:c.ShortText({displayName:"Custom Field ID",description:"From Get Invoice Custom Fields.",required:!0}),value:c.ShortText({displayName:"Value",required:!0})}})},async run(e){let{invoiceId:t,customFields:r}=e.propsValue;if(r.length===0)throw new Error("Custom Fields must list at least one custom field.");let n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoice/${encodeURIComponent(t)}/customfields`,query:{organization_id:n},body:{custom_fields:r}})}});var CP=_({auth:h,name:"zoho_books_update_invoice_metadata",outputSchema:dl,displayName:"Update Invoice Metadata",description:"Updates a metadata value stored against a Zoho Books invoice.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sets the metadata value stored under a name against an invoice; Get Invoice Metadata reads it back.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),metadataName:c.ShortText({displayName:"Metadata Name",description:'Name of the metadata key, e.g. "external_status".',required:!0}),metadata:c.Json({displayName:"Metadata",description:'Request body with the metadata to store, e.g. {"value": "synced"}.',required:!0})},async run(e){let{invoiceId:t,metadataName:r,metadata:n}=e.propsValue,o=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}/metadata/${encodeURIComponent(r)}`,query:{organization_id:o},body:n})}});var EP=_({auth:h,name:"zoho_books_update_invoice_shipping_address",outputSchema:Yk,displayName:"Update Invoice Shipping Address",description:"Updates the shipping address of one invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Changes the shipping address printed on one invoice only; the address of the customer stays as it is. Only the fields given are sent.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),address:c.LongText({displayName:"Address",description:'Street address, e.g. "4900 Hopyard Rd, Suite 310".',required:!1}),street2:c.ShortText({displayName:"Street 2",description:"Suite, apartment or floor.",required:!1}),city:c.ShortText({displayName:"City",required:!1}),state:c.ShortText({displayName:"State",required:!1}),zip:c.ShortText({displayName:"ZIP Code",required:!1}),country:c.ShortText({displayName:"Country",required:!1}),fax:c.ShortText({displayName:"Fax",required:!1})},async run(e){let{invoiceId:t,address:r,street2:n,city:o,state:a,zip:i,country:l,fax:d}=e.propsValue,m=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}/address/shipping`,query:{organization_id:m},body:{address:r,street2:n,city:o,state:a,zip:i,country:l,fax:d}})}});var DP=_({auth:h,name:"zoho_books_update_invoice_template",outputSchema:D,displayName:"Update Invoice Template",description:"Changes the PDF template of an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Sets the PDF template used for one invoice. The template_id comes from List Invoice Templates.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),templateId:c.ShortText({displayName:"Template ID",description:"Invoice template ID, from List Invoice Templates.",required:!0})},async run(e){let{invoiceId:t,templateId:r}=e.propsValue,n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}/templates/${encodeURIComponent(r)}`,query:{organization_id:n}})}});var OP=_({auth:h,name:"zoho_books_update_invoice",outputSchema:Xk,displayName:"Update Invoice",description:"Updates an invoice in Zoho Books.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates an invoice; only the fields given are sent. Line Items, when given, replaces every line: include the line_item_id from Get Invoice for each line to keep, and leave out the lines to remove.",idempotent:!0},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0}),customerId:u.contactId({required:!1,displayName:"Customer ID",description:"Contact ID of the customer, from List Contacts or Create Contact."}),lineItems:c.Json({displayName:"Line Items",description:'Full list of line items, replacing the current ones, e.g. [{"line_item_id": "982000000567021", "item_id": "982000000030049", "name": "Laptop", "description": "15 inch, 16 GB RAM", "rate": 1200, "quantity": 2, "tax_id": "982000000557028", "discount": "10%"}]. Keep line_item_id (from Get Invoice) on existing lines; omit it for new lines.',required:!1}),date:c.ShortText({displayName:"Date",description:"Invoice date, yyyy-mm-dd.",required:!1}),dueDate:c.ShortText({displayName:"Due Date",description:"Due date, yyyy-mm-dd.",required:!1}),paymentTerms:c.Number({displayName:"Payment Terms",description:"Days allowed for payment after the invoice date, e.g. 15.",required:!1}),invoiceNumber:c.ShortText({displayName:"Invoice Number",description:'Custom invoice number, e.g. "INV-00003". Needs Ignore Auto Number Generation set to Yes.',required:!1}),ignoreAutoNumberGeneration:u.flag({required:!1,displayName:"Ignore Auto Number Generation",description:"Yes to use the Invoice Number given instead of the next automatic number."}),referenceNumber:c.ShortText({displayName:"Reference Number",description:"External reference such as a purchase order number.",required:!1}),currencyId:c.ShortText({displayName:"Currency ID",description:"Currency ID of the invoice.",required:!1}),discount:c.ShortText({displayName:"Discount",description:'Invoice-level discount, a flat amount (e.g. "50") or a percentage (e.g. "10%").',required:!1}),isDiscountBeforeTax:u.flag({required:!1,displayName:"Discount Before Tax",description:"Yes to apply the discount before tax, No to apply it after tax."}),salespersonName:c.ShortText({displayName:"Salesperson Name",required:!1}),notes:c.LongText({displayName:"Notes",description:"Notes shown on the invoice, e.g. a thank-you message.",required:!1}),terms:c.LongText({displayName:"Terms",description:"Terms and conditions shown on the invoice.",required:!1}),additionalFields:u.additionalFields({description:'Other invoice fields to change, e.g. {"payment_terms_label": "Net 15", "template_id": "...", "location_id": "...", "exchange_rate": 1, "is_inclusive_tax": false, "shipping_charge": "25.00", "adjustment": -2, "adjustment_description": "Rounding", "allow_partial_payments": true, "contact_persons_associated": [{"contact_person_id": "..."}], "custom_fields": [{"api_name": "cf_po", "value": "..."}], "tags": [{"tag_id": "...", "tag_option_id": "..."}], "place_of_supply": "TN", "gst_treatment": "business_gst"}. The props above win over the same keys here.'})},async run(e){let{invoiceId:t,customerId:r,lineItems:n,date:o,dueDate:a,paymentTerms:i,invoiceNumber:l,ignoreAutoNumberGeneration:d,referenceNumber:m,currencyId:b,discount:x,isDiscountBeforeTax:I,salespersonName:p,notes:v,terms:A,additionalFields:C}=e.propsValue,E=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/invoices/${encodeURIComponent(t)}`,query:{organization_id:E,ignore_auto_number_generation:d},body:{...C,...z("customer_id",r),...z("line_items",n),...z("date",o),...z("due_date",a),...z("payment_terms",i),...z("invoice_number",l),...z("reference_number",m),...z("currency_id",b),...z("discount",x),...z("is_discount_before_tax",B.toBoolean({value:I})),...z("salesperson_name",p),...z("notes",v),...z("terms",A)}})}});var NP=_({auth:h,name:"zoho_books_upsert_invoice_by_custom_field",outputSchema:il,displayName:"Upsert Invoice by Custom Field",description:"Updates the invoice matching a unique custom field value in Zoho Books, or creates one.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Finds the invoice whose unique custom field (one set to reject duplicate values) has the given value and updates it with the fields given. With Create If Missing set to Yes, creates the invoice when none matches, which then needs Customer ID and Line Items.",idempotent:!0},props:{organizationId:u.organizationId(),uniqueIdentifierKey:c.ShortText({displayName:"Unique Custom Field API Name",description:'API name of an invoice custom field that rejects duplicate values, e.g. "cf_order_ref".',required:!0}),uniqueIdentifierValue:c.ShortText({displayName:"Unique Custom Field Value",description:"Value of that custom field identifying the invoice.",required:!0}),createIfMissing:u.flag({required:!1,displayName:"Create If Missing",description:"Yes to create a new invoice when no invoice has this value. Defaults to No (update only)."}),customerId:u.contactId({required:!1,displayName:"Customer ID",description:"Contact ID of the customer, from List Contacts or Create Contact."}),lineItems:c.Json({displayName:"Line Items",description:'Array of line items, replacing the current ones on an update; needed when creating. item_id or name is needed on each, e.g. [{"item_id": "982000000030049", "name": "Laptop", "description": "15 inch, 16 GB RAM", "rate": 1200, "quantity": 2, "tax_id": "982000000557028", "discount": "10%"}]. tax_id comes from the Zoho Books taxes settings; discount is an amount or a percentage.',required:!1}),date:c.ShortText({displayName:"Date",description:"Invoice date, yyyy-mm-dd. Defaults to today on create.",required:!1}),dueDate:c.ShortText({displayName:"Due Date",description:"Due date, yyyy-mm-dd. Defaults to the date plus the payment terms.",required:!1}),paymentTerms:c.Number({displayName:"Payment Terms",description:"Days allowed for payment after the invoice date, e.g. 15.",required:!1}),invoiceNumber:c.ShortText({displayName:"Invoice Number",description:'Custom invoice number, e.g. "INV-00003". Leave empty to keep the current number or use the next automatic number.',required:!1}),referenceNumber:c.ShortText({displayName:"Reference Number",description:"External reference such as a purchase order number.",required:!1}),currencyId:c.ShortText({displayName:"Currency ID",description:"Currency ID of the invoice. Defaults to the currency of the customer.",required:!1}),discount:c.ShortText({displayName:"Discount",description:'Invoice-level discount, a flat amount (e.g. "50") or a percentage (e.g. "10%").',required:!1}),isDiscountBeforeTax:u.flag({required:!1,displayName:"Discount Before Tax",description:"Yes to apply the discount before tax, No to apply it after tax."}),salespersonName:c.ShortText({displayName:"Salesperson Name",required:!1}),notes:c.LongText({displayName:"Notes",description:"Notes shown on the invoice, e.g. a thank-you message.",required:!1}),terms:c.LongText({displayName:"Terms",description:"Terms and conditions shown on the invoice.",required:!1}),additionalFields:u.additionalFields({description:'Other invoice fields, e.g. {"payment_terms_label": "Net 15", "template_id": "...", "location_id": "...", "exchange_rate": 1, "is_inclusive_tax": false, "shipping_charge": "25.00", "adjustment": -2, "adjustment_description": "Rounding", "allow_partial_payments": true, "contact_persons_associated": [{"contact_person_id": "..."}], "custom_fields": [{"api_name": "cf_po", "value": "..."}], "tags": [{"tag_id": "...", "tag_option_id": "..."}], "place_of_supply": "TN", "gst_treatment": "business_gst"}. The props above win over the same keys here.'})},async run(e){let{uniqueIdentifierKey:t,uniqueIdentifierValue:r,createIfMissing:n,customerId:o,lineItems:a,date:i,dueDate:l,paymentTerms:d,invoiceNumber:m,referenceNumber:b,currencyId:x,discount:I,isDiscountBeforeTax:p,salespersonName:v,notes:A,terms:C,additionalFields:E}=e.propsValue,O=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:"/invoices",query:{organization_id:O},headers:{"X-Unique-Identifier-Key":t,"X-Unique-Identifier-Value":r,...z("X-Upsert",n)},body:{...E,...z("customer_id",o),...z("line_items",a),...z("date",i),...z("due_date",l),...z("payment_terms",d),...z("invoice_number",m),...z("reference_number",b),...z("currency_id",x),...z("discount",I),...z("is_discount_before_tax",B.toBoolean({value:p})),...z("salesperson_name",v),...z("notes",A),...z("terms",C)}})}});var wP=_({auth:h,name:"zoho_books_void_invoice",outputSchema:D,displayName:"Void Invoice",description:"Voids an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Voids an invoice; its payments and applied credits are unlinked and become customer credits. Mark Invoice Draft reopens a voided invoice.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/status/void`,query:{organization_id:t}})}});var RP=_({auth:h,name:"zoho_books_void_invoices",outputSchema:D,displayName:"Void Invoices",description:"Marks several Zoho Books invoices as void.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Voids several invoices in one call; voided invoices stay on record but leave receivables. Use Void Invoice for one, and Mark Invoice Draft to reopen a voided invoice.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0}),canCreateNetworkEntity:u.flag({displayName:"Create Network Entity",description:"Whether to create the corresponding network entity for the voided invoices.",required:!1}),unmapSalesorder:u.flag({displayName:"Unlink Sales Orders",description:"Whether to unlink the sales orders associated with the voided invoices.",required:!1})},async run(e){let{invoiceIds:t,canCreateNetworkEntity:r,unmapSalesorder:n}=e.propsValue,o=B.toStringList({value:t,propName:"Invoice IDs"}),a=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/status/void",query:{organization_id:a,invoice_ids:o.join(","),can_create_network_entity:r,unmap_salesorder:n}})}});var $P=_({auth:h,name:"zoho_books_write_off_invoice",outputSchema:D,displayName:"Write Off Invoice",description:"Writes off the balance of an invoice in Zoho Books.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Writes off the unpaid balance of an invoice, closing it without payment. Cancel Invoice Write Off reverses it.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceId:u.invoiceId({required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:`/invoices/${encodeURIComponent(e.propsValue.invoiceId)}/writeoff`,query:{organization_id:t}})}});var BP=_({auth:h,name:"zoho_books_write_off_invoices",outputSchema:D,displayName:"Write Off Invoices",description:"Writes off the balance of several Zoho Books invoices.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Writes off the unpaid balance of several invoices in one call; use Write Off Invoice for one, and Cancel Invoice Write Off to undo one.",idempotent:!1},props:{organizationId:u.organizationId(),invoiceIds:c.Array({displayName:"Invoice IDs",description:"Invoice IDs, from List Invoices or Create Invoice.",required:!0})},async run(e){let{invoiceIds:t}=e.propsValue,r=B.toStringList({value:t,propName:"Invoice IDs"}),n=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/invoices/writeoff",query:{organization_id:n,invoice_ids:r.join(",")}})}});var MP=_({auth:h,name:"zoho_books_create_organization_address",outputSchema:sl,displayName:"Create Organization Address",description:"Adds an address to a Zoho Books organization.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Adds an address to the organization and returns it with its address_id. Each call adds another address. Needs the admin role in Zoho Books.",idempotent:!1},props:{organizationId:u.organizationId(),attention:c.ShortText({displayName:"Attention",description:"Name of the person the address is directed to.",required:!1}),address1:c.ShortText({displayName:"Address Line 1",required:!1}),address2:c.ShortText({displayName:"Address Line 2",required:!1}),city:c.ShortText({displayName:"City",required:!1}),state:c.ShortText({displayName:"State",required:!1}),stateCode:c.ShortText({displayName:"State Code",description:'e.g. "NY".',required:!1}),country:c.ShortText({displayName:"Country",required:!1}),zip:c.ShortText({displayName:"ZIP Code",required:!1}),phone:c.ShortText({displayName:"Phone",required:!1})},async run(e){let{attention:t,address1:r,address2:n,city:o,state:a,stateCode:i,country:l,zip:d,phone:m}=e.propsValue,b=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"POST",path:"/organizations/address",query:{organization_id:b},body:{attention:t,address1:r,address2:n,city:o,state:a,state_code:i,country:l,zip:d,phone:m}})}});var UP=_({auth:h,name:"zoho_books_delete_organization_address",outputSchema:D,displayName:"Delete Organization Address",description:"Deletes an address of a Zoho Books organization.",audience:"ai",classification:"DESTRUCTIVE",aiMetadata:{description:"Permanently deletes an organization address. It cannot be undone. Needs the admin role in Zoho Books.",idempotent:!1},props:{organizationId:u.organizationId(),addressId:c.ShortText({displayName:"Address ID",description:"Address ID, from Get Organization Address or Create Organization Address.",required:!0})},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"DELETE",path:`/organizations/address/${encodeURIComponent(e.propsValue.addressId)}`,query:{organization_id:t}})}});var LP=_({auth:h,name:"zoho_books_get_organization_address",outputSchema:Sk,displayName:"Get Organization Address",description:"Gets the addresses of a Zoho Books organization.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets the organization addresses with their address_id, which Update Organization Address and Delete Organization Address take.",idempotent:!0},props:{organizationId:u.organizationId()},async run(e){let t=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/organizations/address",query:{organization_id:t}})}});var FP=_({auth:h,name:"zoho_books_get_organization",outputSchema:Tk,displayName:"Get Organization",description:"Gets the details of a Zoho Books organization.",audience:"ai",classification:"READ",aiMetadata:{description:"Gets one organization by ID: name, base currency, fiscal year, time zone, address and tax settings.",idempotent:!0},props:{organizationId:c.ShortText({displayName:"Organization ID",description:"Organization ID, from List Organizations.",required:!0})},async run(e){return await f.request({auth:e.auth,method:"GET",path:`/organizations/${encodeURIComponent(e.propsValue.organizationId)}`})}});var jP=_({auth:h,name:"zoho_books_list_organizations",outputSchema:Zk,displayName:"List Organizations",description:"Lists the Zoho Books organizations the connection can access.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists every organization the connected user belongs to, with organization_id and is_default_org. Use it to find the Organization ID other actions take; they use the default organization when it is left empty.",idempotent:!0},props:{},async run(e){return await f.request({auth:e.auth,method:"GET",path:"/organizations"})}});var qP=_({auth:h,name:"zoho_books_list_user_organizations",outputSchema:Vk,displayName:"List User Organizations",description:"Lists the organizations a user can access, with filters.",audience:"ai",classification:"SEARCH",aiMetadata:{description:"Lists the organizations of a user, filtered to admin-only, active-only or same-currency organizations. Use List Organizations when no filter is needed.",idempotent:!0},props:{organizationId:u.organizationId(),email:c.ShortText({displayName:"Email",description:"Email address of the user whose organizations are listed. Leave empty for the connected user.",required:!1}),showAdminOrgsOnly:u.flag({required:!1,displayName:"Admin Organizations Only",description:"Only organizations where the user is an admin."}),showActiveOrgsOnly:u.flag({required:!1,displayName:"Active Organizations Only",description:"Only active organizations."}),showSameCurrencyOrgsOnly:u.flag({required:!1,displayName:"Same Currency Only",description:"Only organizations that use the same currency."})},async run(e){let{email:t,showAdminOrgsOnly:r,showActiveOrgsOnly:n,showSameCurrencyOrgsOnly:o}=e.propsValue,a=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"GET",path:"/organizations/user",query:{organization_id:a,email:t,show_admin_orgs_only:r,show_active_orgs_only:n,show_same_currency_orgs_only:o}})}});var ZP=_({auth:h,name:"zoho_books_update_organization_address",outputSchema:sl,displayName:"Update Organization Address",description:"Updates an address of a Zoho Books organization.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates an organization address; only the fields given are sent. Needs the admin role in Zoho Books.",idempotent:!0},props:{organizationId:u.organizationId(),addressId:c.ShortText({displayName:"Address ID",description:"Address ID, from Get Organization Address or Create Organization Address.",required:!0}),attention:c.ShortText({displayName:"Attention",description:"Name of the person the address is directed to.",required:!1}),address1:c.ShortText({displayName:"Address Line 1",required:!1}),address2:c.ShortText({displayName:"Address Line 2",required:!1}),city:c.ShortText({displayName:"City",required:!1}),state:c.ShortText({displayName:"State",required:!1}),stateCode:c.ShortText({displayName:"State Code",description:'e.g. "NY".',required:!1}),country:c.ShortText({displayName:"Country",required:!1}),zip:c.ShortText({displayName:"ZIP Code",required:!1}),phone:c.ShortText({displayName:"Phone",required:!1})},async run(e){let{addressId:t,attention:r,address1:n,address2:o,city:a,state:i,stateCode:l,country:d,zip:m,phone:b}=e.propsValue,x=await g.resolveOrganizationId({auth:e.auth,organizationId:e.propsValue.organizationId});return await f.request({auth:e.auth,method:"PUT",path:`/organizations/address/${encodeURIComponent(t)}`,query:{organization_id:x},body:{attention:r,address1:n,address2:o,city:a,state:i,state_code:l,country:d,zip:m,phone:b}})}});var _D=["january","february","march","april","may","june","july","august","september","october","november","december"],VP=_({auth:h,name:"zoho_books_update_organization",outputSchema:Qk,displayName:"Update Organization",description:"Updates the details of a Zoho Books organization.",audience:"ai",classification:"WRITE",aiMetadata:{description:"Updates an organization; only the fields given are sent. Needs the admin role in Zoho Books.",idempotent:!0},props:{organizationId:c.ShortText({displayName:"Organization ID",description:"Organization ID, from List Organizations.",required:!0}),name:c.ShortText({displayName:"Name",description:"Organization name.",required:!1}),contactName:c.ShortText({displayName:"Contact Name",description:"Name of the organization contact person.",required:!1}),email:c.ShortText({displayName:"Email",description:"Email of the organization contact person.",required:!1}),phone:c.ShortText({displayName:"Phone",required:!1}),website:c.ShortText({displayName:"Website",required:!1}),timeZone:c.ShortText({displayName:"Time Zone",description:'Time zone, e.g. "PST".',required:!1}),dateFormat:c.ShortText({displayName:"Date Format",description:'Date format, e.g. "dd MMM yyyy".',required:!1}),languageCode:c.ShortText({displayName:"Language Code",description:'Language code, e.g. "en".',required:!1}),fiscalYearStartMonth:c.StaticDropdown({displayName:"Fiscal Year Start Month",required:!1,options:{options:_D.map(e=>({label:e,value:e}))}}),additionalFields:u.additionalFields({description:'Other organization fields, e.g. {"address": {"street_address1": "...", "city": "..."}, "currency_id": "...", "taxid_label": "...", "taxid_value": "...", "custom_fields": [{"index": 1, "value": "..."}]}. The props above win over the same keys here.'})},async run(e){let{organizationId:t,name:r,contactName:n,email:o,phone:a,website:i,timeZone:l,dateFormat:d,languageCode:m,fiscalYearStartMonth:b,additionalFields:x}=e.propsValue;return await f.request({auth:e.auth,method:"PUT",path:`/organizations/${encodeURIComponent(t)}`,body:{...x,...z("name",r),...z("contact_name",n),...z("email",o),...z("phone",a),...z("website",i),...z("time_zone",l),...z("date_format",d),...z("language_code",m),...z("fiscal_year_start_month",b)}})}});var HP=[tv,ov,rv,nv,av,iv,sv,lv,cv,uv,dv,mv,pv,yv,fv,hv,_v,gv,bv,kv,vv,Iv,Pv,zv,xv,Av,Sv,Tv,Cv,Ev,Dv,Ov,Nv,wv,Rv,$v,Bv,Mv,Uv,Lv,Fv,jv,qv,Zv,Vv,Hv,Gv,Wv,Kv,Jv,Xv,Yv,Qv,eI,tI,oI,rI,nI,aI,iI,sI,lI,cI,uI,dI,mI,pI,yI,fI,hI,_I,gI,bI,kI,vI,II,PI,zI,xI,AI,SI,TI,CI,EI,DI,OI,NI,wI,RI,$I,BI,MI,UI,LI,FI,jI,qI,ZI,VI,HI,GI,WI,KI,JI,XI,YI,QI,eP,tP,oP,rP,nP,aP,iP,sP,lP,cP,uP,dP,mP,pP,yP,fP,hP,_P,gP,bP,kP,vP,IP,PP,zP,xP,AP,SP,TP,CP,EP,DP,OP,NP,wP,RP,$P,BP,MP,UP,LP,FP,jP,qP,ZP,VP];var gD=v_({displayName:"Zoho Books",description:"Comprehensive online accounting software for small businesses.",logoUrl:"https://cdn.activepieces.com/pieces/zoho-books.png",minimumSupportedRelease:"0.88.2",categories:["ACCOUNTING"],authors:["ikus060"],auth:h,actions:[...HP,Zb({baseUrl:s(e=>e?f.baseUrl({auth:e}):"","baseUrl"),auth:h,authMapping:s(async e=>f.authHeaders({auth:e}),"authMapping")})],triggers:[]});0&&(module.exports={zohoBooks});
|
|
42
42
|
/*! Bundled license information:
|
|
43
43
|
|
|
44
44
|
mime-types/index.js:
|