create-twenty-app 2.6.0 → 2.8.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/README.md +3 -3
- package/dist/cli.cjs +47 -47
- package/dist/cli.mjs +5164 -5074
- package/dist/constants/template/AGENTS.md +13 -13
- package/dist/constants/template/README.md +2 -2
- package/dist/constants/template/src/__tests__/global-setup.ts +1 -1
- package/dist/create-app.command.d.ts +1 -1
- package/package.json +2 -2
- package/src/constants/template/README.md +2 -2
package/dist/cli.cjs
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";const f9=require("chalk"),mp=require("commander"),h9=require("fs-extra"),Ot=require("path"),gp=require("uuid"),vp=require("util"),$p=require("child_process"),p9=require("lodash.kebabcase"),Go=require("node:child_process"),rt=require("twenty-sdk/cli");require("lodash.camelcase");const _p=e=>e&&e.__esModule?e:{default:e};function yp(e){if(e&&e.__esModule)return e;const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const u=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,u.get?u:{enumerable:!0,get:()=>e[i]})}}return n.default=e,Object.freeze(n)}const me=_p(f9),ot=yp(h9),Hu=yp(Ot),m9=_p(p9),g9="create-twenty-app",v9="2.6.0",Ho={name:g9,version:v9},$9="src",_9=async({appName:e,appDisplayName:n,appDescription:i,appDirectory:u,onProgress:t})=>{t?.("Copying base template"),await ot.copy(Ot.join(__dirname,"./constants/template"),u),t?.("Configuring dotfiles (.gitignore, .github, .yarnrc.yml)"),await y9({appDirectory:u}),t?.("Mirroring AGENTS.md to CLAUDE.md"),await b9({appDirectory:u}),await S9({appDirectory:u}),t?.("Generating unique application identifiers"),await w9({appDisplayName:n,appDescription:i,appDirectory:u}),t?.("Updating package.json"),await k9({appName:e,appDirectory:u})},y9=async({appDirectory:e})=>{const n=[{from:"gitignore",to:".gitignore"},{from:"github",to:".github"},{from:"yarnrc.yml",to:".yarnrc.yml"}];for(const{from:i,to:u}of n){const t=Ot.join(e,i);await ot.pathExists(t)&&await ot.rename(t,Ot.join(e,u))}},b9=async({appDirectory:e})=>{await ot.copy(Ot.join(e,"AGENTS.md"),Ot.join(e,"CLAUDE.md"))},S9=async({appDirectory:e})=>{await ot.ensureDir(Ot.join(e,"public"))},w9=async({appDisplayName:e,appDescription:n,appDirectory:i})=>{const u=Ot.join(i,$9,"constants","universal-identifiers.ts"),t=await ot.readFile(u,"utf-8");await ot.writeFile(u,t.replace("DISPLAY-NAME-TO-BE-GENERATED",e).replace("DESCRIPTION-TO-BE-GENERATED",n).replace(/UUID-TO-BE-GENERATED/g,()=>gp.v4()))},k9=async({appName:e,appDirectory:n})=>{const i=await ot.readJson(Ot.join(n,"package.json"));i.name=e,i.dependencies["twenty-sdk"]=Ho.version,i.dependencies["twenty-client-sdk"]=Ho.version,await ot.writeFile(Ot.join(n,"package.json"),JSON.stringify(i,null,2),"utf8")};var wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ri={exports:{}};var I9=ri.exports,Gf;function x9(){return Gf||(Gf=1,(function(e,n){(function(){var i,u="4.17.21",t=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",p="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",v=500,m="__lodash_placeholder__",_=1,h=2,d=4,c=1,y=2,b=1,k=2,I=4,P=8,E=16,x=32,U=64,z=128,H=256,J=512,te=30,q="...",G=800,W=16,he=1,Ce=2,Me=3,Fe=1/0,Nt=9007199254740991,wg=17976931348623157e292,Si=NaN,Bt=4294967295,kg=Bt-1,Ig=Bt>>>1,xg=[["ary",z],["bind",b],["bindKey",k],["curry",P],["curryRight",E],["flip",J],["partial",x],["partialRight",U],["rearg",H]],Vn="[object Arguments]",wi="[object Array]",Og="[object AsyncFunction]",Pr="[object Boolean]",Tr="[object Date]",Eg="[object DOMException]",ki="[object Error]",Ii="[object Function]",fc="[object GeneratorFunction]",Pt="[object Map]",Cr="[object Number]",Ag="[object Null]",Kt="[object Object]",hc="[object Promise]",Ng="[object Proxy]",zr="[object RegExp]",Tt="[object Set]",Dr="[object String]",xi="[object Symbol]",Pg="[object Undefined]",Ur="[object WeakMap]",Tg="[object WeakSet]",Rr="[object ArrayBuffer]",Yn="[object DataView]",Ia="[object Float32Array]",xa="[object Float64Array]",Oa="[object Int8Array]",Ea="[object Int16Array]",Aa="[object Int32Array]",Na="[object Uint8Array]",Pa="[object Uint8ClampedArray]",Ta="[object Uint16Array]",Ca="[object Uint32Array]",Cg=/\b__p \+= '';/g,zg=/\b(__p \+=) '' \+/g,Dg=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pc=/&(?:amp|lt|gt|quot|#39);/g,mc=/[&<>"']/g,Ug=RegExp(pc.source),Rg=RegExp(mc.source),Lg=/<%-([\s\S]+?)%>/g,Mg=/<%([\s\S]+?)%>/g,gc=/<%=([\s\S]+?)%>/g,jg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fg=/^\w*$/,Zg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,za=/[\\^$.*+?()[\]{}|]/g,Bg=RegExp(za.source),Da=/^\s+/,Gg=/\s/,Wg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Hg=/\{\n\/\* \[wrapped with (.+)\] \*/,qg=/,? & /,Kg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jg=/[()=,{}\[\]\/\s]/,Vg=/\\(\\)?/g,Yg=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vc=/\w*$/,Xg=/^[-+]0x[0-9a-f]+$/i,Qg=/^0b[01]+$/i,ev=/^\[object .+?Constructor\]$/,tv=/^0o[0-7]+$/i,nv=/^(?:0|[1-9]\d*)$/,rv=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Oi=/($^)/,iv=/['\n\r\u2028\u2029\\]/g,Ei="\\ud800-\\udfff",ov="\\u0300-\\u036f",av="\\ufe20-\\ufe2f",uv="\\u20d0-\\u20ff",$c=ov+av+uv,_c="\\u2700-\\u27bf",yc="a-z\\xdf-\\xf6\\xf8-\\xff",sv="\\xac\\xb1\\xd7\\xf7",lv="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",cv="\\u2000-\\u206f",dv=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",bc="A-Z\\xc0-\\xd6\\xd8-\\xde",Sc="\\ufe0e\\ufe0f",wc=sv+lv+cv+dv,Ua="['’]",fv="["+Ei+"]",kc="["+wc+"]",Ai="["+$c+"]",Ic="\\d+",hv="["+_c+"]",xc="["+yc+"]",Oc="[^"+Ei+wc+Ic+_c+yc+bc+"]",Ra="\\ud83c[\\udffb-\\udfff]",pv="(?:"+Ai+"|"+Ra+")",Ec="[^"+Ei+"]",La="(?:\\ud83c[\\udde6-\\uddff]){2}",Ma="[\\ud800-\\udbff][\\udc00-\\udfff]",Xn="["+bc+"]",Ac="\\u200d",Nc="(?:"+xc+"|"+Oc+")",mv="(?:"+Xn+"|"+Oc+")",Pc="(?:"+Ua+"(?:d|ll|m|re|s|t|ve))?",Tc="(?:"+Ua+"(?:D|LL|M|RE|S|T|VE))?",Cc=pv+"?",zc="["+Sc+"]?",gv="(?:"+Ac+"(?:"+[Ec,La,Ma].join("|")+")"+zc+Cc+")*",vv="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$v="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Dc=zc+Cc+gv,_v="(?:"+[hv,La,Ma].join("|")+")"+Dc,yv="(?:"+[Ec+Ai+"?",Ai,La,Ma,fv].join("|")+")",bv=RegExp(Ua,"g"),Sv=RegExp(Ai,"g"),ja=RegExp(Ra+"(?="+Ra+")|"+yv+Dc,"g"),wv=RegExp([Xn+"?"+xc+"+"+Pc+"(?="+[kc,Xn,"$"].join("|")+")",mv+"+"+Tc+"(?="+[kc,Xn+Nc,"$"].join("|")+")",Xn+"?"+Nc+"+"+Pc,Xn+"+"+Tc,$v,vv,Ic,_v].join("|"),"g"),kv=RegExp("["+Ac+Ei+$c+Sc+"]"),Iv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xv=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ov=-1,Ie={};Ie[Ia]=Ie[xa]=Ie[Oa]=Ie[Ea]=Ie[Aa]=Ie[Na]=Ie[Pa]=Ie[Ta]=Ie[Ca]=!0,Ie[Vn]=Ie[wi]=Ie[Rr]=Ie[Pr]=Ie[Yn]=Ie[Tr]=Ie[ki]=Ie[Ii]=Ie[Pt]=Ie[Cr]=Ie[Kt]=Ie[zr]=Ie[Tt]=Ie[Dr]=Ie[Ur]=!1;var Se={};Se[Vn]=Se[wi]=Se[Rr]=Se[Yn]=Se[Pr]=Se[Tr]=Se[Ia]=Se[xa]=Se[Oa]=Se[Ea]=Se[Aa]=Se[Pt]=Se[Cr]=Se[Kt]=Se[zr]=Se[Tt]=Se[Dr]=Se[xi]=Se[Na]=Se[Pa]=Se[Ta]=Se[Ca]=!0,Se[ki]=Se[Ii]=Se[Ur]=!1;var Ev={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Av={"&":"&","<":"<",">":">",'"':""","'":"'"},Nv={"&":"&","<":"<",">":">",""":'"',"'":"'"},Pv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tv=parseFloat,Cv=parseInt,Uc=typeof wn=="object"&&wn&&wn.Object===Object&&wn,zv=typeof self=="object"&&self&&self.Object===Object&&self,Ze=Uc||zv||Function("return this")(),Fa=n&&!n.nodeType&&n,En=Fa&&!0&&e&&!e.nodeType&&e,Rc=En&&En.exports===Fa,Za=Rc&&Uc.process,$t=(function(){try{var N=En&&En.require&&En.require("util").types;return N||Za&&Za.binding&&Za.binding("util")}catch{}})(),Lc=$t&&$t.isArrayBuffer,Mc=$t&&$t.isDate,jc=$t&&$t.isMap,Fc=$t&&$t.isRegExp,Zc=$t&&$t.isSet,Bc=$t&&$t.isTypedArray;function st(N,R,D){switch(D.length){case 0:return N.call(R);case 1:return N.call(R,D[0]);case 2:return N.call(R,D[0],D[1]);case 3:return N.call(R,D[0],D[1],D[2])}return N.apply(R,D)}function Dv(N,R,D,K){for(var re=-1,$e=N==null?0:N.length;++re<$e;){var Ue=N[re];R(K,Ue,D(Ue),N)}return K}function _t(N,R){for(var D=-1,K=N==null?0:N.length;++D<K&&R(N[D],D,N)!==!1;);return N}function Uv(N,R){for(var D=N==null?0:N.length;D--&&R(N[D],D,N)!==!1;);return N}function Gc(N,R){for(var D=-1,K=N==null?0:N.length;++D<K;)if(!R(N[D],D,N))return!1;return!0}function hn(N,R){for(var D=-1,K=N==null?0:N.length,re=0,$e=[];++D<K;){var Ue=N[D];R(Ue,D,N)&&($e[re++]=Ue)}return $e}function Ni(N,R){var D=N==null?0:N.length;return!!D&&Qn(N,R,0)>-1}function Ba(N,R,D){for(var K=-1,re=N==null?0:N.length;++K<re;)if(D(R,N[K]))return!0;return!1}function Ee(N,R){for(var D=-1,K=N==null?0:N.length,re=Array(K);++D<K;)re[D]=R(N[D],D,N);return re}function pn(N,R){for(var D=-1,K=R.length,re=N.length;++D<K;)N[re+D]=R[D];return N}function Ga(N,R,D,K){var re=-1,$e=N==null?0:N.length;for(K&&$e&&(D=N[++re]);++re<$e;)D=R(D,N[re],re,N);return D}function Rv(N,R,D,K){var re=N==null?0:N.length;for(K&&re&&(D=N[--re]);re--;)D=R(D,N[re],re,N);return D}function Wa(N,R){for(var D=-1,K=N==null?0:N.length;++D<K;)if(R(N[D],D,N))return!0;return!1}var Lv=Ha("length");function Mv(N){return N.split("")}function jv(N){return N.match(Kg)||[]}function Wc(N,R,D){var K;return D(N,function(re,$e,Ue){if(R(re,$e,Ue))return K=$e,!1}),K}function Pi(N,R,D,K){for(var re=N.length,$e=D+(K?1:-1);K?$e--:++$e<re;)if(R(N[$e],$e,N))return $e;return-1}function Qn(N,R,D){return R===R?Xv(N,R,D):Pi(N,Hc,D)}function Fv(N,R,D,K){for(var re=D-1,$e=N.length;++re<$e;)if(K(N[re],R))return re;return-1}function Hc(N){return N!==N}function qc(N,R){var D=N==null?0:N.length;return D?Ka(N,R)/D:Si}function Ha(N){return function(R){return R==null?i:R[N]}}function qa(N){return function(R){return N==null?i:N[R]}}function Kc(N,R,D,K,re){return re(N,function($e,Ue,be){D=K?(K=!1,$e):R(D,$e,Ue,be)}),D}function Zv(N,R){var D=N.length;for(N.sort(R);D--;)N[D]=N[D].value;return N}function Ka(N,R){for(var D,K=-1,re=N.length;++K<re;){var $e=R(N[K]);$e!==i&&(D=D===i?$e:D+$e)}return D}function Ja(N,R){for(var D=-1,K=Array(N);++D<N;)K[D]=R(D);return K}function Bv(N,R){return Ee(R,function(D){return[D,N[D]]})}function Jc(N){return N&&N.slice(0,Qc(N)+1).replace(Da,"")}function lt(N){return function(R){return N(R)}}function Va(N,R){return Ee(R,function(D){return N[D]})}function Lr(N,R){return N.has(R)}function Vc(N,R){for(var D=-1,K=N.length;++D<K&&Qn(R,N[D],0)>-1;);return D}function Yc(N,R){for(var D=N.length;D--&&Qn(R,N[D],0)>-1;);return D}function Gv(N,R){for(var D=N.length,K=0;D--;)N[D]===R&&++K;return K}var Wv=qa(Ev),Hv=qa(Av);function qv(N){return"\\"+Pv[N]}function Kv(N,R){return N==null?i:N[R]}function er(N){return kv.test(N)}function Jv(N){return Iv.test(N)}function Vv(N){for(var R,D=[];!(R=N.next()).done;)D.push(R.value);return D}function Ya(N){var R=-1,D=Array(N.size);return N.forEach(function(K,re){D[++R]=[re,K]}),D}function Xc(N,R){return function(D){return N(R(D))}}function mn(N,R){for(var D=-1,K=N.length,re=0,$e=[];++D<K;){var Ue=N[D];(Ue===R||Ue===m)&&(N[D]=m,$e[re++]=D)}return $e}function Ti(N){var R=-1,D=Array(N.size);return N.forEach(function(K){D[++R]=K}),D}function Yv(N){var R=-1,D=Array(N.size);return N.forEach(function(K){D[++R]=[K,K]}),D}function Xv(N,R,D){for(var K=D-1,re=N.length;++K<re;)if(N[K]===R)return K;return-1}function Qv(N,R,D){for(var K=D+1;K--;)if(N[K]===R)return K;return K}function tr(N){return er(N)?t$(N):Lv(N)}function Ct(N){return er(N)?n$(N):Mv(N)}function Qc(N){for(var R=N.length;R--&&Gg.test(N.charAt(R)););return R}var e$=qa(Nv);function t$(N){for(var R=ja.lastIndex=0;ja.test(N);)++R;return R}function n$(N){return N.match(ja)||[]}function r$(N){return N.match(wv)||[]}var i$=(function N(R){R=R==null?Ze:nr.defaults(Ze.Object(),R,nr.pick(Ze,xv));var D=R.Array,K=R.Date,re=R.Error,$e=R.Function,Ue=R.Math,be=R.Object,Xa=R.RegExp,o$=R.String,yt=R.TypeError,Ci=D.prototype,a$=$e.prototype,rr=be.prototype,zi=R["__core-js_shared__"],Di=a$.toString,ye=rr.hasOwnProperty,u$=0,ed=(function(){var r=/[^.]+$/.exec(zi&&zi.keys&&zi.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})(),Ui=rr.toString,s$=Di.call(be),l$=Ze._,c$=Xa("^"+Di.call(ye).replace(za,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ri=Rc?R.Buffer:i,gn=R.Symbol,Li=R.Uint8Array,td=Ri?Ri.allocUnsafe:i,Mi=Xc(be.getPrototypeOf,be),nd=be.create,rd=rr.propertyIsEnumerable,ji=Ci.splice,id=gn?gn.isConcatSpreadable:i,Mr=gn?gn.iterator:i,An=gn?gn.toStringTag:i,Fi=(function(){try{var r=zn(be,"defineProperty");return r({},"",{}),r}catch{}})(),d$=R.clearTimeout!==Ze.clearTimeout&&R.clearTimeout,f$=K&&K.now!==Ze.Date.now&&K.now,h$=R.setTimeout!==Ze.setTimeout&&R.setTimeout,Zi=Ue.ceil,Bi=Ue.floor,Qa=be.getOwnPropertySymbols,p$=Ri?Ri.isBuffer:i,od=R.isFinite,m$=Ci.join,g$=Xc(be.keys,be),Re=Ue.max,We=Ue.min,v$=K.now,$$=R.parseInt,ad=Ue.random,_$=Ci.reverse,eu=zn(R,"DataView"),jr=zn(R,"Map"),tu=zn(R,"Promise"),ir=zn(R,"Set"),Fr=zn(R,"WeakMap"),Zr=zn(be,"create"),Gi=Fr&&new Fr,or={},y$=Dn(eu),b$=Dn(jr),S$=Dn(tu),w$=Dn(ir),k$=Dn(Fr),Wi=gn?gn.prototype:i,Br=Wi?Wi.valueOf:i,ud=Wi?Wi.toString:i;function S(r){if(Ne(r)&&!oe(r)&&!(r instanceof fe)){if(r instanceof bt)return r;if(ye.call(r,"__wrapped__"))return lf(r)}return new bt(r)}var ar=(function(){function r(){}return function(o){if(!Ae(o))return{};if(nd)return nd(o);r.prototype=o;var s=new r;return r.prototype=i,s}})();function Hi(){}function bt(r,o){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!o,this.__index__=0,this.__values__=i}S.templateSettings={escape:Lg,evaluate:Mg,interpolate:gc,variable:"",imports:{_:S}},S.prototype=Hi.prototype,S.prototype.constructor=S,bt.prototype=ar(Hi.prototype),bt.prototype.constructor=bt;function fe(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Bt,this.__views__=[]}function I$(){var r=new fe(this.__wrapped__);return r.__actions__=Qe(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Qe(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Qe(this.__views__),r}function x$(){if(this.__filtered__){var r=new fe(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function O$(){var r=this.__wrapped__.value(),o=this.__dir__,s=oe(r),f=o<0,$=s?r.length:0,w=M3(0,$,this.__views__),O=w.start,A=w.end,T=A-O,L=f?A:O-1,M=this.__iteratees__,F=M.length,B=0,V=We(T,this.__takeCount__);if(!s||!f&&$==T&&V==T)return Pd(r,this.__actions__);var X=[];e:for(;T--&&B<V;){L+=o;for(var ue=-1,Q=r[L];++ue<F;){var ce=M[ue],pe=ce.iteratee,ft=ce.type,Ve=pe(Q);if(ft==Ce)Q=Ve;else if(!Ve){if(ft==he)continue e;break e}}X[B++]=Q}return X}fe.prototype=ar(Hi.prototype),fe.prototype.constructor=fe;function Nn(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function E$(){this.__data__=Zr?Zr(null):{},this.size=0}function A$(r){var o=this.has(r)&&delete this.__data__[r];return this.size-=o?1:0,o}function N$(r){var o=this.__data__;if(Zr){var s=o[r];return s===g?i:s}return ye.call(o,r)?o[r]:i}function P$(r){var o=this.__data__;return Zr?o[r]!==i:ye.call(o,r)}function T$(r,o){var s=this.__data__;return this.size+=this.has(r)?0:1,s[r]=Zr&&o===i?g:o,this}Nn.prototype.clear=E$,Nn.prototype.delete=A$,Nn.prototype.get=N$,Nn.prototype.has=P$,Nn.prototype.set=T$;function Jt(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function C$(){this.__data__=[],this.size=0}function z$(r){var o=this.__data__,s=qi(o,r);if(s<0)return!1;var f=o.length-1;return s==f?o.pop():ji.call(o,s,1),--this.size,!0}function D$(r){var o=this.__data__,s=qi(o,r);return s<0?i:o[s][1]}function U$(r){return qi(this.__data__,r)>-1}function R$(r,o){var s=this.__data__,f=qi(s,r);return f<0?(++this.size,s.push([r,o])):s[f][1]=o,this}Jt.prototype.clear=C$,Jt.prototype.delete=z$,Jt.prototype.get=D$,Jt.prototype.has=U$,Jt.prototype.set=R$;function Vt(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function L$(){this.size=0,this.__data__={hash:new Nn,map:new(jr||Jt),string:new Nn}}function M$(r){var o=oo(this,r).delete(r);return this.size-=o?1:0,o}function j$(r){return oo(this,r).get(r)}function F$(r){return oo(this,r).has(r)}function Z$(r,o){var s=oo(this,r),f=s.size;return s.set(r,o),this.size+=s.size==f?0:1,this}Vt.prototype.clear=L$,Vt.prototype.delete=M$,Vt.prototype.get=j$,Vt.prototype.has=F$,Vt.prototype.set=Z$;function Pn(r){var o=-1,s=r==null?0:r.length;for(this.__data__=new Vt;++o<s;)this.add(r[o])}function B$(r){return this.__data__.set(r,g),this}function G$(r){return this.__data__.has(r)}Pn.prototype.add=Pn.prototype.push=B$,Pn.prototype.has=G$;function zt(r){var o=this.__data__=new Jt(r);this.size=o.size}function W$(){this.__data__=new Jt,this.size=0}function H$(r){var o=this.__data__,s=o.delete(r);return this.size=o.size,s}function q$(r){return this.__data__.get(r)}function K$(r){return this.__data__.has(r)}function J$(r,o){var s=this.__data__;if(s instanceof Jt){var f=s.__data__;if(!jr||f.length<t-1)return f.push([r,o]),this.size=++s.size,this;s=this.__data__=new Vt(f)}return s.set(r,o),this.size=s.size,this}zt.prototype.clear=W$,zt.prototype.delete=H$,zt.prototype.get=q$,zt.prototype.has=K$,zt.prototype.set=J$;function sd(r,o){var s=oe(r),f=!s&&Un(r),$=!s&&!f&&bn(r),w=!s&&!f&&!$&&cr(r),O=s||f||$||w,A=O?Ja(r.length,o$):[],T=A.length;for(var L in r)(o||ye.call(r,L))&&!(O&&(L=="length"||$&&(L=="offset"||L=="parent")||w&&(L=="buffer"||L=="byteLength"||L=="byteOffset")||en(L,T)))&&A.push(L);return A}function ld(r){var o=r.length;return o?r[fu(0,o-1)]:i}function V$(r,o){return ao(Qe(r),Tn(o,0,r.length))}function Y$(r){return ao(Qe(r))}function nu(r,o,s){(s!==i&&!Dt(r[o],s)||s===i&&!(o in r))&&Yt(r,o,s)}function Gr(r,o,s){var f=r[o];(!(ye.call(r,o)&&Dt(f,s))||s===i&&!(o in r))&&Yt(r,o,s)}function qi(r,o){for(var s=r.length;s--;)if(Dt(r[s][0],o))return s;return-1}function X$(r,o,s,f){return vn(r,function($,w,O){o(f,$,s($),O)}),f}function cd(r,o){return r&&Wt(o,je(o),r)}function Q$(r,o){return r&&Wt(o,tt(o),r)}function Yt(r,o,s){o=="__proto__"&&Fi?Fi(r,o,{configurable:!0,enumerable:!0,value:s,writable:!0}):r[o]=s}function ru(r,o){for(var s=-1,f=o.length,$=D(f),w=r==null;++s<f;)$[s]=w?i:Ru(r,o[s]);return $}function Tn(r,o,s){return r===r&&(s!==i&&(r=r<=s?r:s),o!==i&&(r=r>=o?r:o)),r}function St(r,o,s,f,$,w){var O,A=o&_,T=o&h,L=o&d;if(s&&(O=$?s(r,f,$,w):s(r)),O!==i)return O;if(!Ae(r))return r;var M=oe(r);if(M){if(O=F3(r),!A)return Qe(r,O)}else{var F=He(r),B=F==Ii||F==fc;if(bn(r))return zd(r,A);if(F==Kt||F==Vn||B&&!$){if(O=T||B?{}:Qd(r),!A)return T?N3(r,Q$(O,r)):A3(r,cd(O,r))}else{if(!Se[F])return $?r:{};O=Z3(r,F,A)}}w||(w=new zt);var V=w.get(r);if(V)return V;w.set(r,O),Af(r)?r.forEach(function(Q){O.add(St(Q,o,s,Q,r,w))}):Of(r)&&r.forEach(function(Q,ce){O.set(ce,St(Q,o,s,ce,r,w))});var X=L?T?wu:Su:T?tt:je,ue=M?i:X(r);return _t(ue||r,function(Q,ce){ue&&(ce=Q,Q=r[ce]),Gr(O,ce,St(Q,o,s,ce,r,w))}),O}function e3(r){var o=je(r);return function(s){return dd(s,r,o)}}function dd(r,o,s){var f=s.length;if(r==null)return!f;for(r=be(r);f--;){var $=s[f],w=o[$],O=r[$];if(O===i&&!($ in r)||!w(O))return!1}return!0}function fd(r,o,s){if(typeof r!="function")throw new yt(l);return Yr(function(){r.apply(i,s)},o)}function Wr(r,o,s,f){var $=-1,w=Ni,O=!0,A=r.length,T=[],L=o.length;if(!A)return T;s&&(o=Ee(o,lt(s))),f?(w=Ba,O=!1):o.length>=t&&(w=Lr,O=!1,o=new Pn(o));e:for(;++$<A;){var M=r[$],F=s==null?M:s(M);if(M=f||M!==0?M:0,O&&F===F){for(var B=L;B--;)if(o[B]===F)continue e;T.push(M)}else w(o,F,f)||T.push(M)}return T}var vn=Md(Gt),hd=Md(ou,!0);function t3(r,o){var s=!0;return vn(r,function(f,$,w){return s=!!o(f,$,w),s}),s}function Ki(r,o,s){for(var f=-1,$=r.length;++f<$;){var w=r[f],O=o(w);if(O!=null&&(A===i?O===O&&!dt(O):s(O,A)))var A=O,T=w}return T}function n3(r,o,s,f){var $=r.length;for(s=ae(s),s<0&&(s=-s>$?0:$+s),f=f===i||f>$?$:ae(f),f<0&&(f+=$),f=s>f?0:Pf(f);s<f;)r[s++]=o;return r}function pd(r,o){var s=[];return vn(r,function(f,$,w){o(f,$,w)&&s.push(f)}),s}function Be(r,o,s,f,$){var w=-1,O=r.length;for(s||(s=G3),$||($=[]);++w<O;){var A=r[w];o>0&&s(A)?o>1?Be(A,o-1,s,f,$):pn($,A):f||($[$.length]=A)}return $}var iu=jd(),md=jd(!0);function Gt(r,o){return r&&iu(r,o,je)}function ou(r,o){return r&&md(r,o,je)}function Ji(r,o){return hn(o,function(s){return tn(r[s])})}function Cn(r,o){o=_n(o,r);for(var s=0,f=o.length;r!=null&&s<f;)r=r[Ht(o[s++])];return s&&s==f?r:i}function gd(r,o,s){var f=o(r);return oe(r)?f:pn(f,s(r))}function Ke(r){return r==null?r===i?Pg:Ag:An&&An in be(r)?L3(r):Y3(r)}function au(r,o){return r>o}function r3(r,o){return r!=null&&ye.call(r,o)}function i3(r,o){return r!=null&&o in be(r)}function o3(r,o,s){return r>=We(o,s)&&r<Re(o,s)}function uu(r,o,s){for(var f=s?Ba:Ni,$=r[0].length,w=r.length,O=w,A=D(w),T=1/0,L=[];O--;){var M=r[O];O&&o&&(M=Ee(M,lt(o))),T=We(M.length,T),A[O]=!s&&(o||$>=120&&M.length>=120)?new Pn(O&&M):i}M=r[0];var F=-1,B=A[0];e:for(;++F<$&&L.length<T;){var V=M[F],X=o?o(V):V;if(V=s||V!==0?V:0,!(B?Lr(B,X):f(L,X,s))){for(O=w;--O;){var ue=A[O];if(!(ue?Lr(ue,X):f(r[O],X,s)))continue e}B&&B.push(X),L.push(V)}}return L}function a3(r,o,s,f){return Gt(r,function($,w,O){o(f,s($),w,O)}),f}function Hr(r,o,s){o=_n(o,r),r=rf(r,o);var f=r==null?r:r[Ht(kt(o))];return f==null?i:st(f,r,s)}function vd(r){return Ne(r)&&Ke(r)==Vn}function u3(r){return Ne(r)&&Ke(r)==Rr}function s3(r){return Ne(r)&&Ke(r)==Tr}function qr(r,o,s,f,$){return r===o?!0:r==null||o==null||!Ne(r)&&!Ne(o)?r!==r&&o!==o:l3(r,o,s,f,qr,$)}function l3(r,o,s,f,$,w){var O=oe(r),A=oe(o),T=O?wi:He(r),L=A?wi:He(o);T=T==Vn?Kt:T,L=L==Vn?Kt:L;var M=T==Kt,F=L==Kt,B=T==L;if(B&&bn(r)){if(!bn(o))return!1;O=!0,M=!1}if(B&&!M)return w||(w=new zt),O||cr(r)?Vd(r,o,s,f,$,w):U3(r,o,T,s,f,$,w);if(!(s&c)){var V=M&&ye.call(r,"__wrapped__"),X=F&&ye.call(o,"__wrapped__");if(V||X){var ue=V?r.value():r,Q=X?o.value():o;return w||(w=new zt),$(ue,Q,s,f,w)}}return B?(w||(w=new zt),R3(r,o,s,f,$,w)):!1}function c3(r){return Ne(r)&&He(r)==Pt}function su(r,o,s,f){var $=s.length,w=$,O=!f;if(r==null)return!w;for(r=be(r);$--;){var A=s[$];if(O&&A[2]?A[1]!==r[A[0]]:!(A[0]in r))return!1}for(;++$<w;){A=s[$];var T=A[0],L=r[T],M=A[1];if(O&&A[2]){if(L===i&&!(T in r))return!1}else{var F=new zt;if(f)var B=f(L,M,T,r,o,F);if(!(B===i?qr(M,L,c|y,f,F):B))return!1}}return!0}function $d(r){if(!Ae(r)||H3(r))return!1;var o=tn(r)?c$:ev;return o.test(Dn(r))}function d3(r){return Ne(r)&&Ke(r)==zr}function f3(r){return Ne(r)&&He(r)==Tt}function h3(r){return Ne(r)&&ho(r.length)&&!!Ie[Ke(r)]}function _d(r){return typeof r=="function"?r:r==null?nt:typeof r=="object"?oe(r)?Sd(r[0],r[1]):bd(r):Zf(r)}function lu(r){if(!Vr(r))return g$(r);var o=[];for(var s in be(r))ye.call(r,s)&&s!="constructor"&&o.push(s);return o}function p3(r){if(!Ae(r))return V3(r);var o=Vr(r),s=[];for(var f in r)f=="constructor"&&(o||!ye.call(r,f))||s.push(f);return s}function cu(r,o){return r<o}function yd(r,o){var s=-1,f=et(r)?D(r.length):[];return vn(r,function($,w,O){f[++s]=o($,w,O)}),f}function bd(r){var o=Iu(r);return o.length==1&&o[0][2]?tf(o[0][0],o[0][1]):function(s){return s===r||su(s,r,o)}}function Sd(r,o){return Ou(r)&&ef(o)?tf(Ht(r),o):function(s){var f=Ru(s,r);return f===i&&f===o?Lu(s,r):qr(o,f,c|y)}}function Vi(r,o,s,f,$){r!==o&&iu(o,function(w,O){if($||($=new zt),Ae(w))m3(r,o,O,s,Vi,f,$);else{var A=f?f(Au(r,O),w,O+"",r,o,$):i;A===i&&(A=w),nu(r,O,A)}},tt)}function m3(r,o,s,f,$,w,O){var A=Au(r,s),T=Au(o,s),L=O.get(T);if(L){nu(r,s,L);return}var M=w?w(A,T,s+"",r,o,O):i,F=M===i;if(F){var B=oe(T),V=!B&&bn(T),X=!B&&!V&&cr(T);M=T,B||V||X?oe(A)?M=A:ze(A)?M=Qe(A):V?(F=!1,M=zd(T,!0)):X?(F=!1,M=Dd(T,!0)):M=[]:Xr(T)||Un(T)?(M=A,Un(A)?M=Tf(A):(!Ae(A)||tn(A))&&(M=Qd(T))):F=!1}F&&(O.set(T,M),$(M,T,f,w,O),O.delete(T)),nu(r,s,M)}function wd(r,o){var s=r.length;if(s)return o+=o<0?s:0,en(o,s)?r[o]:i}function kd(r,o,s){o.length?o=Ee(o,function(w){return oe(w)?function(O){return Cn(O,w.length===1?w[0]:w)}:w}):o=[nt];var f=-1;o=Ee(o,lt(Y()));var $=yd(r,function(w,O,A){var T=Ee(o,function(L){return L(w)});return{criteria:T,index:++f,value:w}});return Zv($,function(w,O){return E3(w,O,s)})}function g3(r,o){return Id(r,o,function(s,f){return Lu(r,f)})}function Id(r,o,s){for(var f=-1,$=o.length,w={};++f<$;){var O=o[f],A=Cn(r,O);s(A,O)&&Kr(w,_n(O,r),A)}return w}function v3(r){return function(o){return Cn(o,r)}}function du(r,o,s,f){var $=f?Fv:Qn,w=-1,O=o.length,A=r;for(r===o&&(o=Qe(o)),s&&(A=Ee(r,lt(s)));++w<O;)for(var T=0,L=o[w],M=s?s(L):L;(T=$(A,M,T,f))>-1;)A!==r&&ji.call(A,T,1),ji.call(r,T,1);return r}function xd(r,o){for(var s=r?o.length:0,f=s-1;s--;){var $=o[s];if(s==f||$!==w){var w=$;en($)?ji.call(r,$,1):mu(r,$)}}return r}function fu(r,o){return r+Bi(ad()*(o-r+1))}function $3(r,o,s,f){for(var $=-1,w=Re(Zi((o-r)/(s||1)),0),O=D(w);w--;)O[f?w:++$]=r,r+=s;return O}function hu(r,o){var s="";if(!r||o<1||o>Nt)return s;do o%2&&(s+=r),o=Bi(o/2),o&&(r+=r);while(o);return s}function le(r,o){return Nu(nf(r,o,nt),r+"")}function _3(r){return ld(dr(r))}function y3(r,o){var s=dr(r);return ao(s,Tn(o,0,s.length))}function Kr(r,o,s,f){if(!Ae(r))return r;o=_n(o,r);for(var $=-1,w=o.length,O=w-1,A=r;A!=null&&++$<w;){var T=Ht(o[$]),L=s;if(T==="__proto__"||T==="constructor"||T==="prototype")return r;if($!=O){var M=A[T];L=f?f(M,T,A):i,L===i&&(L=Ae(M)?M:en(o[$+1])?[]:{})}Gr(A,T,L),A=A[T]}return r}var Od=Gi?function(r,o){return Gi.set(r,o),r}:nt,b3=Fi?function(r,o){return Fi(r,"toString",{configurable:!0,enumerable:!1,value:ju(o),writable:!0})}:nt;function S3(r){return ao(dr(r))}function wt(r,o,s){var f=-1,$=r.length;o<0&&(o=-o>$?0:$+o),s=s>$?$:s,s<0&&(s+=$),$=o>s?0:s-o>>>0,o>>>=0;for(var w=D($);++f<$;)w[f]=r[f+o];return w}function w3(r,o){var s;return vn(r,function(f,$,w){return s=o(f,$,w),!s}),!!s}function Yi(r,o,s){var f=0,$=r==null?f:r.length;if(typeof o=="number"&&o===o&&$<=Ig){for(;f<$;){var w=f+$>>>1,O=r[w];O!==null&&!dt(O)&&(s?O<=o:O<o)?f=w+1:$=w}return $}return pu(r,o,nt,s)}function pu(r,o,s,f){var $=0,w=r==null?0:r.length;if(w===0)return 0;o=s(o);for(var O=o!==o,A=o===null,T=dt(o),L=o===i;$<w;){var M=Bi(($+w)/2),F=s(r[M]),B=F!==i,V=F===null,X=F===F,ue=dt(F);if(O)var Q=f||X;else L?Q=X&&(f||B):A?Q=X&&B&&(f||!V):T?Q=X&&B&&!V&&(f||!ue):V||ue?Q=!1:Q=f?F<=o:F<o;Q?$=M+1:w=M}return We(w,kg)}function Ed(r,o){for(var s=-1,f=r.length,$=0,w=[];++s<f;){var O=r[s],A=o?o(O):O;if(!s||!Dt(A,T)){var T=A;w[$++]=O===0?0:O}}return w}function Ad(r){return typeof r=="number"?r:dt(r)?Si:+r}function ct(r){if(typeof r=="string")return r;if(oe(r))return Ee(r,ct)+"";if(dt(r))return ud?ud.call(r):"";var o=r+"";return o=="0"&&1/r==-Fe?"-0":o}function $n(r,o,s){var f=-1,$=Ni,w=r.length,O=!0,A=[],T=A;if(s)O=!1,$=Ba;else if(w>=t){var L=o?null:z3(r);if(L)return Ti(L);O=!1,$=Lr,T=new Pn}else T=o?[]:A;e:for(;++f<w;){var M=r[f],F=o?o(M):M;if(M=s||M!==0?M:0,O&&F===F){for(var B=T.length;B--;)if(T[B]===F)continue e;o&&T.push(F),A.push(M)}else $(T,F,s)||(T!==A&&T.push(F),A.push(M))}return A}function mu(r,o){return o=_n(o,r),r=rf(r,o),r==null||delete r[Ht(kt(o))]}function Nd(r,o,s,f){return Kr(r,o,s(Cn(r,o)),f)}function Xi(r,o,s,f){for(var $=r.length,w=f?$:-1;(f?w--:++w<$)&&o(r[w],w,r););return s?wt(r,f?0:w,f?w+1:$):wt(r,f?w+1:0,f?$:w)}function Pd(r,o){var s=r;return s instanceof fe&&(s=s.value()),Ga(o,function(f,$){return $.func.apply($.thisArg,pn([f],$.args))},s)}function gu(r,o,s){var f=r.length;if(f<2)return f?$n(r[0]):[];for(var $=-1,w=D(f);++$<f;)for(var O=r[$],A=-1;++A<f;)A!=$&&(w[$]=Wr(w[$]||O,r[A],o,s));return $n(Be(w,1),o,s)}function Td(r,o,s){for(var f=-1,$=r.length,w=o.length,O={};++f<$;){var A=f<w?o[f]:i;s(O,r[f],A)}return O}function vu(r){return ze(r)?r:[]}function $u(r){return typeof r=="function"?r:nt}function _n(r,o){return oe(r)?r:Ou(r,o)?[r]:sf(_e(r))}var k3=le;function yn(r,o,s){var f=r.length;return s=s===i?f:s,!o&&s>=f?r:wt(r,o,s)}var Cd=d$||function(r){return Ze.clearTimeout(r)};function zd(r,o){if(o)return r.slice();var s=r.length,f=td?td(s):new r.constructor(s);return r.copy(f),f}function _u(r){var o=new r.constructor(r.byteLength);return new Li(o).set(new Li(r)),o}function I3(r,o){var s=o?_u(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}function x3(r){var o=new r.constructor(r.source,vc.exec(r));return o.lastIndex=r.lastIndex,o}function O3(r){return Br?be(Br.call(r)):{}}function Dd(r,o){var s=o?_u(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}function Ud(r,o){if(r!==o){var s=r!==i,f=r===null,$=r===r,w=dt(r),O=o!==i,A=o===null,T=o===o,L=dt(o);if(!A&&!L&&!w&&r>o||w&&O&&T&&!A&&!L||f&&O&&T||!s&&T||!$)return 1;if(!f&&!w&&!L&&r<o||L&&s&&$&&!f&&!w||A&&s&&$||!O&&$||!T)return-1}return 0}function E3(r,o,s){for(var f=-1,$=r.criteria,w=o.criteria,O=$.length,A=s.length;++f<O;){var T=Ud($[f],w[f]);if(T){if(f>=A)return T;var L=s[f];return T*(L=="desc"?-1:1)}}return r.index-o.index}function Rd(r,o,s,f){for(var $=-1,w=r.length,O=s.length,A=-1,T=o.length,L=Re(w-O,0),M=D(T+L),F=!f;++A<T;)M[A]=o[A];for(;++$<O;)(F||$<w)&&(M[s[$]]=r[$]);for(;L--;)M[A++]=r[$++];return M}function Ld(r,o,s,f){for(var $=-1,w=r.length,O=-1,A=s.length,T=-1,L=o.length,M=Re(w-A,0),F=D(M+L),B=!f;++$<M;)F[$]=r[$];for(var V=$;++T<L;)F[V+T]=o[T];for(;++O<A;)(B||$<w)&&(F[V+s[O]]=r[$++]);return F}function Qe(r,o){var s=-1,f=r.length;for(o||(o=D(f));++s<f;)o[s]=r[s];return o}function Wt(r,o,s,f){var $=!s;s||(s={});for(var w=-1,O=o.length;++w<O;){var A=o[w],T=f?f(s[A],r[A],A,s,r):i;T===i&&(T=r[A]),$?Yt(s,A,T):Gr(s,A,T)}return s}function A3(r,o){return Wt(r,xu(r),o)}function N3(r,o){return Wt(r,Yd(r),o)}function Qi(r,o){return function(s,f){var $=oe(s)?Dv:X$,w=o?o():{};return $(s,r,Y(f,2),w)}}function ur(r){return le(function(o,s){var f=-1,$=s.length,w=$>1?s[$-1]:i,O=$>2?s[2]:i;for(w=r.length>3&&typeof w=="function"?($--,w):i,O&&Je(s[0],s[1],O)&&(w=$<3?i:w,$=1),o=be(o);++f<$;){var A=s[f];A&&r(o,A,f,w)}return o})}function Md(r,o){return function(s,f){if(s==null)return s;if(!et(s))return r(s,f);for(var $=s.length,w=o?$:-1,O=be(s);(o?w--:++w<$)&&f(O[w],w,O)!==!1;);return s}}function jd(r){return function(o,s,f){for(var $=-1,w=be(o),O=f(o),A=O.length;A--;){var T=O[r?A:++$];if(s(w[T],T,w)===!1)break}return o}}function P3(r,o,s){var f=o&b,$=Jr(r);function w(){var O=this&&this!==Ze&&this instanceof w?$:r;return O.apply(f?s:this,arguments)}return w}function Fd(r){return function(o){o=_e(o);var s=er(o)?Ct(o):i,f=s?s[0]:o.charAt(0),$=s?yn(s,1).join(""):o.slice(1);return f[r]()+$}}function sr(r){return function(o){return Ga(jf(Mf(o).replace(bv,"")),r,"")}}function Jr(r){return function(){var o=arguments;switch(o.length){case 0:return new r;case 1:return new r(o[0]);case 2:return new r(o[0],o[1]);case 3:return new r(o[0],o[1],o[2]);case 4:return new r(o[0],o[1],o[2],o[3]);case 5:return new r(o[0],o[1],o[2],o[3],o[4]);case 6:return new r(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new r(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var s=ar(r.prototype),f=r.apply(s,o);return Ae(f)?f:s}}function T3(r,o,s){var f=Jr(r);function $(){for(var w=arguments.length,O=D(w),A=w,T=lr($);A--;)O[A]=arguments[A];var L=w<3&&O[0]!==T&&O[w-1]!==T?[]:mn(O,T);if(w-=L.length,w<s)return Hd(r,o,eo,$.placeholder,i,O,L,i,i,s-w);var M=this&&this!==Ze&&this instanceof $?f:r;return st(M,this,O)}return $}function Zd(r){return function(o,s,f){var $=be(o);if(!et(o)){var w=Y(s,3);o=je(o),s=function(A){return w($[A],A,$)}}var O=r(o,s,f);return O>-1?$[w?o[O]:O]:i}}function Bd(r){return Qt(function(o){var s=o.length,f=s,$=bt.prototype.thru;for(r&&o.reverse();f--;){var w=o[f];if(typeof w!="function")throw new yt(l);if($&&!O&&io(w)=="wrapper")var O=new bt([],!0)}for(f=O?f:s;++f<s;){w=o[f];var A=io(w),T=A=="wrapper"?ku(w):i;T&&Eu(T[0])&&T[1]==(z|P|x|H)&&!T[4].length&&T[9]==1?O=O[io(T[0])].apply(O,T[3]):O=w.length==1&&Eu(w)?O[A]():O.thru(w)}return function(){var L=arguments,M=L[0];if(O&&L.length==1&&oe(M))return O.plant(M).value();for(var F=0,B=s?o[F].apply(this,L):M;++F<s;)B=o[F].call(this,B);return B}})}function eo(r,o,s,f,$,w,O,A,T,L){var M=o&z,F=o&b,B=o&k,V=o&(P|E),X=o&J,ue=B?i:Jr(r);function Q(){for(var ce=arguments.length,pe=D(ce),ft=ce;ft--;)pe[ft]=arguments[ft];if(V)var Ve=lr(Q),ht=Gv(pe,Ve);if(f&&(pe=Rd(pe,f,$,V)),w&&(pe=Ld(pe,w,O,V)),ce-=ht,V&&ce<L){var De=mn(pe,Ve);return Hd(r,o,eo,Q.placeholder,s,pe,De,A,T,L-ce)}var Ut=F?s:this,rn=B?Ut[r]:r;return ce=pe.length,A?pe=X3(pe,A):X&&ce>1&&pe.reverse(),M&&T<ce&&(pe.length=T),this&&this!==Ze&&this instanceof Q&&(rn=ue||Jr(rn)),rn.apply(Ut,pe)}return Q}function Gd(r,o){return function(s,f){return a3(s,r,o(f),{})}}function to(r,o){return function(s,f){var $;if(s===i&&f===i)return o;if(s!==i&&($=s),f!==i){if($===i)return f;typeof s=="string"||typeof f=="string"?(s=ct(s),f=ct(f)):(s=Ad(s),f=Ad(f)),$=r(s,f)}return $}}function yu(r){return Qt(function(o){return o=Ee(o,lt(Y())),le(function(s){var f=this;return r(o,function($){return st($,f,s)})})})}function no(r,o){o=o===i?" ":ct(o);var s=o.length;if(s<2)return s?hu(o,r):o;var f=hu(o,Zi(r/tr(o)));return er(o)?yn(Ct(f),0,r).join(""):f.slice(0,r)}function C3(r,o,s,f){var $=o&b,w=Jr(r);function O(){for(var A=-1,T=arguments.length,L=-1,M=f.length,F=D(M+T),B=this&&this!==Ze&&this instanceof O?w:r;++L<M;)F[L]=f[L];for(;T--;)F[L++]=arguments[++A];return st(B,$?s:this,F)}return O}function Wd(r){return function(o,s,f){return f&&typeof f!="number"&&Je(o,s,f)&&(s=f=i),o=nn(o),s===i?(s=o,o=0):s=nn(s),f=f===i?o<s?1:-1:nn(f),$3(o,s,f,r)}}function ro(r){return function(o,s){return typeof o=="string"&&typeof s=="string"||(o=It(o),s=It(s)),r(o,s)}}function Hd(r,o,s,f,$,w,O,A,T,L){var M=o&P,F=M?O:i,B=M?i:O,V=M?w:i,X=M?i:w;o|=M?x:U,o&=~(M?U:x),o&I||(o&=-4);var ue=[r,o,$,V,F,X,B,A,T,L],Q=s.apply(i,ue);return Eu(r)&&of(Q,ue),Q.placeholder=f,af(Q,r,o)}function bu(r){var o=Ue[r];return function(s,f){if(s=It(s),f=f==null?0:We(ae(f),292),f&&od(s)){var $=(_e(s)+"e").split("e"),w=o($[0]+"e"+(+$[1]+f));return $=(_e(w)+"e").split("e"),+($[0]+"e"+(+$[1]-f))}return o(s)}}var z3=ir&&1/Ti(new ir([,-0]))[1]==Fe?function(r){return new ir(r)}:Bu;function qd(r){return function(o){var s=He(o);return s==Pt?Ya(o):s==Tt?Yv(o):Bv(o,r(o))}}function Xt(r,o,s,f,$,w,O,A){var T=o&k;if(!T&&typeof r!="function")throw new yt(l);var L=f?f.length:0;if(L||(o&=-97,f=$=i),O=O===i?O:Re(ae(O),0),A=A===i?A:ae(A),L-=$?$.length:0,o&U){var M=f,F=$;f=$=i}var B=T?i:ku(r),V=[r,o,s,f,$,M,F,w,O,A];if(B&&J3(V,B),r=V[0],o=V[1],s=V[2],f=V[3],$=V[4],A=V[9]=V[9]===i?T?0:r.length:Re(V[9]-L,0),!A&&o&(P|E)&&(o&=-25),!o||o==b)var X=P3(r,o,s);else o==P||o==E?X=T3(r,o,A):(o==x||o==(b|x))&&!$.length?X=C3(r,o,s,f):X=eo.apply(i,V);var ue=B?Od:of;return af(ue(X,V),r,o)}function Kd(r,o,s,f){return r===i||Dt(r,rr[s])&&!ye.call(f,s)?o:r}function Jd(r,o,s,f,$,w){return Ae(r)&&Ae(o)&&(w.set(o,r),Vi(r,o,i,Jd,w),w.delete(o)),r}function D3(r){return Xr(r)?i:r}function Vd(r,o,s,f,$,w){var O=s&c,A=r.length,T=o.length;if(A!=T&&!(O&&T>A))return!1;var L=w.get(r),M=w.get(o);if(L&&M)return L==o&&M==r;var F=-1,B=!0,V=s&y?new Pn:i;for(w.set(r,o),w.set(o,r);++F<A;){var X=r[F],ue=o[F];if(f)var Q=O?f(ue,X,F,o,r,w):f(X,ue,F,r,o,w);if(Q!==i){if(Q)continue;B=!1;break}if(V){if(!Wa(o,function(ce,pe){if(!Lr(V,pe)&&(X===ce||$(X,ce,s,f,w)))return V.push(pe)})){B=!1;break}}else if(!(X===ue||$(X,ue,s,f,w))){B=!1;break}}return w.delete(r),w.delete(o),B}function U3(r,o,s,f,$,w,O){switch(s){case Yn:if(r.byteLength!=o.byteLength||r.byteOffset!=o.byteOffset)return!1;r=r.buffer,o=o.buffer;case Rr:return!(r.byteLength!=o.byteLength||!w(new Li(r),new Li(o)));case Pr:case Tr:case Cr:return Dt(+r,+o);case ki:return r.name==o.name&&r.message==o.message;case zr:case Dr:return r==o+"";case Pt:var A=Ya;case Tt:var T=f&c;if(A||(A=Ti),r.size!=o.size&&!T)return!1;var L=O.get(r);if(L)return L==o;f|=y,O.set(r,o);var M=Vd(A(r),A(o),f,$,w,O);return O.delete(r),M;case xi:if(Br)return Br.call(r)==Br.call(o)}return!1}function R3(r,o,s,f,$,w){var O=s&c,A=Su(r),T=A.length,L=Su(o),M=L.length;if(T!=M&&!O)return!1;for(var F=T;F--;){var B=A[F];if(!(O?B in o:ye.call(o,B)))return!1}var V=w.get(r),X=w.get(o);if(V&&X)return V==o&&X==r;var ue=!0;w.set(r,o),w.set(o,r);for(var Q=O;++F<T;){B=A[F];var ce=r[B],pe=o[B];if(f)var ft=O?f(pe,ce,B,o,r,w):f(ce,pe,B,r,o,w);if(!(ft===i?ce===pe||$(ce,pe,s,f,w):ft)){ue=!1;break}Q||(Q=B=="constructor")}if(ue&&!Q){var Ve=r.constructor,ht=o.constructor;Ve!=ht&&"constructor"in r&&"constructor"in o&&!(typeof Ve=="function"&&Ve instanceof Ve&&typeof ht=="function"&&ht instanceof ht)&&(ue=!1)}return w.delete(r),w.delete(o),ue}function Qt(r){return Nu(nf(r,i,ff),r+"")}function Su(r){return gd(r,je,xu)}function wu(r){return gd(r,tt,Yd)}var ku=Gi?function(r){return Gi.get(r)}:Bu;function io(r){for(var o=r.name+"",s=or[o],f=ye.call(or,o)?s.length:0;f--;){var $=s[f],w=$.func;if(w==null||w==r)return $.name}return o}function lr(r){var o=ye.call(S,"placeholder")?S:r;return o.placeholder}function Y(){var r=S.iteratee||Fu;return r=r===Fu?_d:r,arguments.length?r(arguments[0],arguments[1]):r}function oo(r,o){var s=r.__data__;return W3(o)?s[typeof o=="string"?"string":"hash"]:s.map}function Iu(r){for(var o=je(r),s=o.length;s--;){var f=o[s],$=r[f];o[s]=[f,$,ef($)]}return o}function zn(r,o){var s=Kv(r,o);return $d(s)?s:i}function L3(r){var o=ye.call(r,An),s=r[An];try{r[An]=i;var f=!0}catch{}var $=Ui.call(r);return f&&(o?r[An]=s:delete r[An]),$}var xu=Qa?function(r){return r==null?[]:(r=be(r),hn(Qa(r),function(o){return rd.call(r,o)}))}:Gu,Yd=Qa?function(r){for(var o=[];r;)pn(o,xu(r)),r=Mi(r);return o}:Gu,He=Ke;(eu&&He(new eu(new ArrayBuffer(1)))!=Yn||jr&&He(new jr)!=Pt||tu&&He(tu.resolve())!=hc||ir&&He(new ir)!=Tt||Fr&&He(new Fr)!=Ur)&&(He=function(r){var o=Ke(r),s=o==Kt?r.constructor:i,f=s?Dn(s):"";if(f)switch(f){case y$:return Yn;case b$:return Pt;case S$:return hc;case w$:return Tt;case k$:return Ur}return o});function M3(r,o,s){for(var f=-1,$=s.length;++f<$;){var w=s[f],O=w.size;switch(w.type){case"drop":r+=O;break;case"dropRight":o-=O;break;case"take":o=We(o,r+O);break;case"takeRight":r=Re(r,o-O);break}}return{start:r,end:o}}function j3(r){var o=r.match(Hg);return o?o[1].split(qg):[]}function Xd(r,o,s){o=_n(o,r);for(var f=-1,$=o.length,w=!1;++f<$;){var O=Ht(o[f]);if(!(w=r!=null&&s(r,O)))break;r=r[O]}return w||++f!=$?w:($=r==null?0:r.length,!!$&&ho($)&&en(O,$)&&(oe(r)||Un(r)))}function F3(r){var o=r.length,s=new r.constructor(o);return o&&typeof r[0]=="string"&&ye.call(r,"index")&&(s.index=r.index,s.input=r.input),s}function Qd(r){return typeof r.constructor=="function"&&!Vr(r)?ar(Mi(r)):{}}function Z3(r,o,s){var f=r.constructor;switch(o){case Rr:return _u(r);case Pr:case Tr:return new f(+r);case Yn:return I3(r,s);case Ia:case xa:case Oa:case Ea:case Aa:case Na:case Pa:case Ta:case Ca:return Dd(r,s);case Pt:return new f;case Cr:case Dr:return new f(r);case zr:return x3(r);case Tt:return new f;case xi:return O3(r)}}function B3(r,o){var s=o.length;if(!s)return r;var f=s-1;return o[f]=(s>1?"& ":"")+o[f],o=o.join(s>2?", ":" "),r.replace(Wg,`{
|
|
2
|
+
"use strict";const p9=require("chalk"),vp=require("commander"),m9=require("fs-extra"),Nt=require("path"),$p=require("uuid"),_p=require("util"),yp=require("child_process"),g9=require("lodash.kebabcase"),Wo=require("node:child_process"),it=require("twenty-sdk/cli");require("lodash.camelcase");const bp=e=>e&&e.__esModule?e:{default:e};function Sp(e){if(e&&e.__esModule)return e;const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const u=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,u.get?u:{enumerable:!0,get:()=>e[i]})}}return n.default=e,Object.freeze(n)}const me=bp(p9),at=Sp(m9),qu=Sp(Nt),v9=bp(g9),$9="create-twenty-app",_9="2.8.0",qo={name:$9,version:_9},y9="src",b9=async({appName:e,appDisplayName:n,appDescription:i,appDirectory:u,onProgress:t})=>{t?.("Copying base template"),await at.copy(Nt.join(__dirname,"./constants/template"),u),t?.("Configuring dotfiles (.gitignore, .github, .yarnrc.yml)"),await S9({appDirectory:u}),t?.("Mirroring AGENTS.md to CLAUDE.md"),await w9({appDirectory:u}),await I9({appDirectory:u}),t?.("Generating unique application identifiers"),await k9({appDisplayName:n,appDescription:i,appDirectory:u}),t?.("Updating package.json"),await O9({appName:e,appDirectory:u})},S9=async({appDirectory:e})=>{const n=[{from:"gitignore",to:".gitignore"},{from:"github",to:".github"},{from:"yarnrc.yml",to:".yarnrc.yml"}];for(const{from:i,to:u}of n){const t=Nt.join(e,i);await at.pathExists(t)&&await at.rename(t,Nt.join(e,u))}},w9=async({appDirectory:e})=>{await at.copy(Nt.join(e,"AGENTS.md"),Nt.join(e,"CLAUDE.md"))},I9=async({appDirectory:e})=>{await at.ensureDir(Nt.join(e,"public"))},k9=async({appDisplayName:e,appDescription:n,appDirectory:i})=>{const u=Nt.join(i,y9,"constants","universal-identifiers.ts"),t=await at.readFile(u,"utf-8");await at.writeFile(u,t.replace("DISPLAY-NAME-TO-BE-GENERATED",e).replace("DESCRIPTION-TO-BE-GENERATED",n).replace(/UUID-TO-BE-GENERATED/g,()=>$p.v4()))},O9=async({appName:e,appDirectory:n})=>{const i=await at.readJson(Nt.join(n,"package.json"));i.name=e,i.dependencies["twenty-sdk"]=qo.version,i.dependencies["twenty-client-sdk"]=qo.version,await at.writeFile(Nt.join(n,"package.json"),JSON.stringify(i,null,2),"utf8")};var In=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ii={exports:{}};var E9=ii.exports,Wf;function N9(){return Wf||(Wf=1,(function(e,n){(function(){var i,u="4.17.21",t=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",p="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",v=500,m="__lodash_placeholder__",_=1,h=2,d=4,c=1,y=2,b=1,I=2,k=4,P=8,N=16,O=32,U=64,z=128,q=256,J=512,te=30,K="...",W=800,H=16,he=1,Ce=2,Me=3,Ze=1/0,Pt=9007199254740991,kg=17976931348623157e292,wi=NaN,Gt=4294967295,Og=Gt-1,Eg=Gt>>>1,Ng=[["ary",z],["bind",b],["bindKey",I],["curry",P],["curryRight",N],["flip",J],["partial",O],["partialRight",U],["rearg",q]],Yn="[object Arguments]",Ii="[object Array]",xg="[object AsyncFunction]",Tr="[object Boolean]",Cr="[object Date]",Ag="[object DOMException]",ki="[object Error]",Oi="[object Function]",hc="[object GeneratorFunction]",Tt="[object Map]",zr="[object Number]",Pg="[object Null]",Vt="[object Object]",pc="[object Promise]",Tg="[object Proxy]",Dr="[object RegExp]",Ct="[object Set]",Ur="[object String]",Ei="[object Symbol]",Cg="[object Undefined]",Rr="[object WeakMap]",zg="[object WeakSet]",Lr="[object ArrayBuffer]",Xn="[object DataView]",Oa="[object Float32Array]",Ea="[object Float64Array]",Na="[object Int8Array]",xa="[object Int16Array]",Aa="[object Int32Array]",Pa="[object Uint8Array]",Ta="[object Uint8ClampedArray]",Ca="[object Uint16Array]",za="[object Uint32Array]",Dg=/\b__p \+= '';/g,Ug=/\b(__p \+=) '' \+/g,Rg=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mc=/&(?:amp|lt|gt|quot|#39);/g,gc=/[&<>"']/g,Lg=RegExp(mc.source),Mg=RegExp(gc.source),jg=/<%-([\s\S]+?)%>/g,Fg=/<%([\s\S]+?)%>/g,vc=/<%=([\s\S]+?)%>/g,Zg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Bg=/^\w*$/,Gg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Da=/[\\^$.*+?()[\]{}|]/g,Wg=RegExp(Da.source),Ua=/^\s+/,Hg=/\s/,qg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Kg=/\{\n\/\* \[wrapped with (.+)\] \*/,Vg=/,? & /,Jg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Yg=/[()=,{}\[\]\/\s]/,Xg=/\\(\\)?/g,Qg=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$c=/\w*$/,ev=/^[-+]0x[0-9a-f]+$/i,tv=/^0b[01]+$/i,nv=/^\[object .+?Constructor\]$/,rv=/^0o[0-7]+$/i,iv=/^(?:0|[1-9]\d*)$/,ov=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ni=/($^)/,av=/['\n\r\u2028\u2029\\]/g,xi="\\ud800-\\udfff",uv="\\u0300-\\u036f",sv="\\ufe20-\\ufe2f",lv="\\u20d0-\\u20ff",_c=uv+sv+lv,yc="\\u2700-\\u27bf",bc="a-z\\xdf-\\xf6\\xf8-\\xff",cv="\\xac\\xb1\\xd7\\xf7",dv="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fv="\\u2000-\\u206f",hv=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sc="A-Z\\xc0-\\xd6\\xd8-\\xde",wc="\\ufe0e\\ufe0f",Ic=cv+dv+fv+hv,Ra="['’]",pv="["+xi+"]",kc="["+Ic+"]",Ai="["+_c+"]",Oc="\\d+",mv="["+yc+"]",Ec="["+bc+"]",Nc="[^"+xi+Ic+Oc+yc+bc+Sc+"]",La="\\ud83c[\\udffb-\\udfff]",gv="(?:"+Ai+"|"+La+")",xc="[^"+xi+"]",Ma="(?:\\ud83c[\\udde6-\\uddff]){2}",ja="[\\ud800-\\udbff][\\udc00-\\udfff]",Qn="["+Sc+"]",Ac="\\u200d",Pc="(?:"+Ec+"|"+Nc+")",vv="(?:"+Qn+"|"+Nc+")",Tc="(?:"+Ra+"(?:d|ll|m|re|s|t|ve))?",Cc="(?:"+Ra+"(?:D|LL|M|RE|S|T|VE))?",zc=gv+"?",Dc="["+wc+"]?",$v="(?:"+Ac+"(?:"+[xc,Ma,ja].join("|")+")"+Dc+zc+")*",_v="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yv="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Uc=Dc+zc+$v,bv="(?:"+[mv,Ma,ja].join("|")+")"+Uc,Sv="(?:"+[xc+Ai+"?",Ai,Ma,ja,pv].join("|")+")",wv=RegExp(Ra,"g"),Iv=RegExp(Ai,"g"),Fa=RegExp(La+"(?="+La+")|"+Sv+Uc,"g"),kv=RegExp([Qn+"?"+Ec+"+"+Tc+"(?="+[kc,Qn,"$"].join("|")+")",vv+"+"+Cc+"(?="+[kc,Qn+Pc,"$"].join("|")+")",Qn+"?"+Pc+"+"+Tc,Qn+"+"+Cc,yv,_v,Oc,bv].join("|"),"g"),Ov=RegExp("["+Ac+xi+_c+wc+"]"),Ev=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Nv=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xv=-1,ke={};ke[Oa]=ke[Ea]=ke[Na]=ke[xa]=ke[Aa]=ke[Pa]=ke[Ta]=ke[Ca]=ke[za]=!0,ke[Yn]=ke[Ii]=ke[Lr]=ke[Tr]=ke[Xn]=ke[Cr]=ke[ki]=ke[Oi]=ke[Tt]=ke[zr]=ke[Vt]=ke[Dr]=ke[Ct]=ke[Ur]=ke[Rr]=!1;var Se={};Se[Yn]=Se[Ii]=Se[Lr]=Se[Xn]=Se[Tr]=Se[Cr]=Se[Oa]=Se[Ea]=Se[Na]=Se[xa]=Se[Aa]=Se[Tt]=Se[zr]=Se[Vt]=Se[Dr]=Se[Ct]=Se[Ur]=Se[Ei]=Se[Pa]=Se[Ta]=Se[Ca]=Se[za]=!0,Se[ki]=Se[Oi]=Se[Rr]=!1;var Av={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Pv={"&":"&","<":"<",">":">",'"':""","'":"'"},Tv={"&":"&","<":"<",">":">",""":'"',"'":"'"},Cv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zv=parseFloat,Dv=parseInt,Rc=typeof In=="object"&&In&&In.Object===Object&&In,Uv=typeof self=="object"&&self&&self.Object===Object&&self,Be=Rc||Uv||Function("return this")(),Za=n&&!n.nodeType&&n,xn=Za&&!0&&e&&!e.nodeType&&e,Lc=xn&&xn.exports===Za,Ba=Lc&&Rc.process,_t=(function(){try{var A=xn&&xn.require&&xn.require("util").types;return A||Ba&&Ba.binding&&Ba.binding("util")}catch{}})(),Mc=_t&&_t.isArrayBuffer,jc=_t&&_t.isDate,Fc=_t&&_t.isMap,Zc=_t&&_t.isRegExp,Bc=_t&&_t.isSet,Gc=_t&&_t.isTypedArray;function lt(A,R,D){switch(D.length){case 0:return A.call(R);case 1:return A.call(R,D[0]);case 2:return A.call(R,D[0],D[1]);case 3:return A.call(R,D[0],D[1],D[2])}return A.apply(R,D)}function Rv(A,R,D,V){for(var re=-1,$e=A==null?0:A.length;++re<$e;){var Ue=A[re];R(V,Ue,D(Ue),A)}return V}function yt(A,R){for(var D=-1,V=A==null?0:A.length;++D<V&&R(A[D],D,A)!==!1;);return A}function Lv(A,R){for(var D=A==null?0:A.length;D--&&R(A[D],D,A)!==!1;);return A}function Wc(A,R){for(var D=-1,V=A==null?0:A.length;++D<V;)if(!R(A[D],D,A))return!1;return!0}function pn(A,R){for(var D=-1,V=A==null?0:A.length,re=0,$e=[];++D<V;){var Ue=A[D];R(Ue,D,A)&&($e[re++]=Ue)}return $e}function Pi(A,R){var D=A==null?0:A.length;return!!D&&er(A,R,0)>-1}function Ga(A,R,D){for(var V=-1,re=A==null?0:A.length;++V<re;)if(D(R,A[V]))return!0;return!1}function Ne(A,R){for(var D=-1,V=A==null?0:A.length,re=Array(V);++D<V;)re[D]=R(A[D],D,A);return re}function mn(A,R){for(var D=-1,V=R.length,re=A.length;++D<V;)A[re+D]=R[D];return A}function Wa(A,R,D,V){var re=-1,$e=A==null?0:A.length;for(V&&$e&&(D=A[++re]);++re<$e;)D=R(D,A[re],re,A);return D}function Mv(A,R,D,V){var re=A==null?0:A.length;for(V&&re&&(D=A[--re]);re--;)D=R(D,A[re],re,A);return D}function Ha(A,R){for(var D=-1,V=A==null?0:A.length;++D<V;)if(R(A[D],D,A))return!0;return!1}var jv=qa("length");function Fv(A){return A.split("")}function Zv(A){return A.match(Jg)||[]}function Hc(A,R,D){var V;return D(A,function(re,$e,Ue){if(R(re,$e,Ue))return V=$e,!1}),V}function Ti(A,R,D,V){for(var re=A.length,$e=D+(V?1:-1);V?$e--:++$e<re;)if(R(A[$e],$e,A))return $e;return-1}function er(A,R,D){return R===R?e$(A,R,D):Ti(A,qc,D)}function Bv(A,R,D,V){for(var re=D-1,$e=A.length;++re<$e;)if(V(A[re],R))return re;return-1}function qc(A){return A!==A}function Kc(A,R){var D=A==null?0:A.length;return D?Va(A,R)/D:wi}function qa(A){return function(R){return R==null?i:R[A]}}function Ka(A){return function(R){return A==null?i:A[R]}}function Vc(A,R,D,V,re){return re(A,function($e,Ue,be){D=V?(V=!1,$e):R(D,$e,Ue,be)}),D}function Gv(A,R){var D=A.length;for(A.sort(R);D--;)A[D]=A[D].value;return A}function Va(A,R){for(var D,V=-1,re=A.length;++V<re;){var $e=R(A[V]);$e!==i&&(D=D===i?$e:D+$e)}return D}function Ja(A,R){for(var D=-1,V=Array(A);++D<A;)V[D]=R(D);return V}function Wv(A,R){return Ne(R,function(D){return[D,A[D]]})}function Jc(A){return A&&A.slice(0,ed(A)+1).replace(Ua,"")}function ct(A){return function(R){return A(R)}}function Ya(A,R){return Ne(R,function(D){return A[D]})}function Mr(A,R){return A.has(R)}function Yc(A,R){for(var D=-1,V=A.length;++D<V&&er(R,A[D],0)>-1;);return D}function Xc(A,R){for(var D=A.length;D--&&er(R,A[D],0)>-1;);return D}function Hv(A,R){for(var D=A.length,V=0;D--;)A[D]===R&&++V;return V}var qv=Ka(Av),Kv=Ka(Pv);function Vv(A){return"\\"+Cv[A]}function Jv(A,R){return A==null?i:A[R]}function tr(A){return Ov.test(A)}function Yv(A){return Ev.test(A)}function Xv(A){for(var R,D=[];!(R=A.next()).done;)D.push(R.value);return D}function Xa(A){var R=-1,D=Array(A.size);return A.forEach(function(V,re){D[++R]=[re,V]}),D}function Qc(A,R){return function(D){return A(R(D))}}function gn(A,R){for(var D=-1,V=A.length,re=0,$e=[];++D<V;){var Ue=A[D];(Ue===R||Ue===m)&&(A[D]=m,$e[re++]=D)}return $e}function Ci(A){var R=-1,D=Array(A.size);return A.forEach(function(V){D[++R]=V}),D}function Qv(A){var R=-1,D=Array(A.size);return A.forEach(function(V){D[++R]=[V,V]}),D}function e$(A,R,D){for(var V=D-1,re=A.length;++V<re;)if(A[V]===R)return V;return-1}function t$(A,R,D){for(var V=D+1;V--;)if(A[V]===R)return V;return V}function nr(A){return tr(A)?r$(A):jv(A)}function zt(A){return tr(A)?i$(A):Fv(A)}function ed(A){for(var R=A.length;R--&&Hg.test(A.charAt(R)););return R}var n$=Ka(Tv);function r$(A){for(var R=Fa.lastIndex=0;Fa.test(A);)++R;return R}function i$(A){return A.match(Fa)||[]}function o$(A){return A.match(kv)||[]}var a$=(function A(R){R=R==null?Be:rr.defaults(Be.Object(),R,rr.pick(Be,Nv));var D=R.Array,V=R.Date,re=R.Error,$e=R.Function,Ue=R.Math,be=R.Object,Qa=R.RegExp,u$=R.String,bt=R.TypeError,zi=D.prototype,s$=$e.prototype,ir=be.prototype,Di=R["__core-js_shared__"],Ui=s$.toString,ye=ir.hasOwnProperty,l$=0,td=(function(){var r=/[^.]+$/.exec(Di&&Di.keys&&Di.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})(),Ri=ir.toString,c$=Ui.call(be),d$=Be._,f$=Qa("^"+Ui.call(ye).replace(Da,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Li=Lc?R.Buffer:i,vn=R.Symbol,Mi=R.Uint8Array,nd=Li?Li.allocUnsafe:i,ji=Qc(be.getPrototypeOf,be),rd=be.create,id=ir.propertyIsEnumerable,Fi=zi.splice,od=vn?vn.isConcatSpreadable:i,jr=vn?vn.iterator:i,An=vn?vn.toStringTag:i,Zi=(function(){try{var r=Dn(be,"defineProperty");return r({},"",{}),r}catch{}})(),h$=R.clearTimeout!==Be.clearTimeout&&R.clearTimeout,p$=V&&V.now!==Be.Date.now&&V.now,m$=R.setTimeout!==Be.setTimeout&&R.setTimeout,Bi=Ue.ceil,Gi=Ue.floor,eu=be.getOwnPropertySymbols,g$=Li?Li.isBuffer:i,ad=R.isFinite,v$=zi.join,$$=Qc(be.keys,be),Re=Ue.max,He=Ue.min,_$=V.now,y$=R.parseInt,ud=Ue.random,b$=zi.reverse,tu=Dn(R,"DataView"),Fr=Dn(R,"Map"),nu=Dn(R,"Promise"),or=Dn(R,"Set"),Zr=Dn(R,"WeakMap"),Br=Dn(be,"create"),Wi=Zr&&new Zr,ar={},S$=Un(tu),w$=Un(Fr),I$=Un(nu),k$=Un(or),O$=Un(Zr),Hi=vn?vn.prototype:i,Gr=Hi?Hi.valueOf:i,sd=Hi?Hi.toString:i;function S(r){if(Ae(r)&&!oe(r)&&!(r instanceof fe)){if(r instanceof St)return r;if(ye.call(r,"__wrapped__"))return cf(r)}return new St(r)}var ur=(function(){function r(){}return function(o){if(!xe(o))return{};if(rd)return rd(o);r.prototype=o;var s=new r;return r.prototype=i,s}})();function qi(){}function St(r,o){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!o,this.__index__=0,this.__values__=i}S.templateSettings={escape:jg,evaluate:Fg,interpolate:vc,variable:"",imports:{_:S}},S.prototype=qi.prototype,S.prototype.constructor=S,St.prototype=ur(qi.prototype),St.prototype.constructor=St;function fe(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Gt,this.__views__=[]}function E$(){var r=new fe(this.__wrapped__);return r.__actions__=et(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=et(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=et(this.__views__),r}function N$(){if(this.__filtered__){var r=new fe(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function x$(){var r=this.__wrapped__.value(),o=this.__dir__,s=oe(r),f=o<0,$=s?r.length:0,w=F3(0,$,this.__views__),E=w.start,x=w.end,T=x-E,M=f?x:E-1,j=this.__iteratees__,Z=j.length,G=0,Y=He(T,this.__takeCount__);if(!s||!f&&$==T&&Y==T)return Td(r,this.__actions__);var Q=[];e:for(;T--&&G<Y;){M+=o;for(var ue=-1,ee=r[M];++ue<Z;){var ce=j[ue],pe=ce.iteratee,ht=ce.type,Ye=pe(ee);if(ht==Ce)ee=Ye;else if(!Ye){if(ht==he)continue e;break e}}Q[G++]=ee}return Q}fe.prototype=ur(qi.prototype),fe.prototype.constructor=fe;function Pn(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function A$(){this.__data__=Br?Br(null):{},this.size=0}function P$(r){var o=this.has(r)&&delete this.__data__[r];return this.size-=o?1:0,o}function T$(r){var o=this.__data__;if(Br){var s=o[r];return s===g?i:s}return ye.call(o,r)?o[r]:i}function C$(r){var o=this.__data__;return Br?o[r]!==i:ye.call(o,r)}function z$(r,o){var s=this.__data__;return this.size+=this.has(r)?0:1,s[r]=Br&&o===i?g:o,this}Pn.prototype.clear=A$,Pn.prototype.delete=P$,Pn.prototype.get=T$,Pn.prototype.has=C$,Pn.prototype.set=z$;function Jt(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function D$(){this.__data__=[],this.size=0}function U$(r){var o=this.__data__,s=Ki(o,r);if(s<0)return!1;var f=o.length-1;return s==f?o.pop():Fi.call(o,s,1),--this.size,!0}function R$(r){var o=this.__data__,s=Ki(o,r);return s<0?i:o[s][1]}function L$(r){return Ki(this.__data__,r)>-1}function M$(r,o){var s=this.__data__,f=Ki(s,r);return f<0?(++this.size,s.push([r,o])):s[f][1]=o,this}Jt.prototype.clear=D$,Jt.prototype.delete=U$,Jt.prototype.get=R$,Jt.prototype.has=L$,Jt.prototype.set=M$;function Yt(r){var o=-1,s=r==null?0:r.length;for(this.clear();++o<s;){var f=r[o];this.set(f[0],f[1])}}function j$(){this.size=0,this.__data__={hash:new Pn,map:new(Fr||Jt),string:new Pn}}function F$(r){var o=ao(this,r).delete(r);return this.size-=o?1:0,o}function Z$(r){return ao(this,r).get(r)}function B$(r){return ao(this,r).has(r)}function G$(r,o){var s=ao(this,r),f=s.size;return s.set(r,o),this.size+=s.size==f?0:1,this}Yt.prototype.clear=j$,Yt.prototype.delete=F$,Yt.prototype.get=Z$,Yt.prototype.has=B$,Yt.prototype.set=G$;function Tn(r){var o=-1,s=r==null?0:r.length;for(this.__data__=new Yt;++o<s;)this.add(r[o])}function W$(r){return this.__data__.set(r,g),this}function H$(r){return this.__data__.has(r)}Tn.prototype.add=Tn.prototype.push=W$,Tn.prototype.has=H$;function Dt(r){var o=this.__data__=new Jt(r);this.size=o.size}function q$(){this.__data__=new Jt,this.size=0}function K$(r){var o=this.__data__,s=o.delete(r);return this.size=o.size,s}function V$(r){return this.__data__.get(r)}function J$(r){return this.__data__.has(r)}function Y$(r,o){var s=this.__data__;if(s instanceof Jt){var f=s.__data__;if(!Fr||f.length<t-1)return f.push([r,o]),this.size=++s.size,this;s=this.__data__=new Yt(f)}return s.set(r,o),this.size=s.size,this}Dt.prototype.clear=q$,Dt.prototype.delete=K$,Dt.prototype.get=V$,Dt.prototype.has=J$,Dt.prototype.set=Y$;function ld(r,o){var s=oe(r),f=!s&&Rn(r),$=!s&&!f&&Sn(r),w=!s&&!f&&!$&&dr(r),E=s||f||$||w,x=E?Ja(r.length,u$):[],T=x.length;for(var M in r)(o||ye.call(r,M))&&!(E&&(M=="length"||$&&(M=="offset"||M=="parent")||w&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||tn(M,T)))&&x.push(M);return x}function cd(r){var o=r.length;return o?r[hu(0,o-1)]:i}function X$(r,o){return uo(et(r),Cn(o,0,r.length))}function Q$(r){return uo(et(r))}function ru(r,o,s){(s!==i&&!Ut(r[o],s)||s===i&&!(o in r))&&Xt(r,o,s)}function Wr(r,o,s){var f=r[o];(!(ye.call(r,o)&&Ut(f,s))||s===i&&!(o in r))&&Xt(r,o,s)}function Ki(r,o){for(var s=r.length;s--;)if(Ut(r[s][0],o))return s;return-1}function e3(r,o,s,f){return $n(r,function($,w,E){o(f,$,s($),E)}),f}function dd(r,o){return r&&Ht(o,je(o),r)}function t3(r,o){return r&&Ht(o,nt(o),r)}function Xt(r,o,s){o=="__proto__"&&Zi?Zi(r,o,{configurable:!0,enumerable:!0,value:s,writable:!0}):r[o]=s}function iu(r,o){for(var s=-1,f=o.length,$=D(f),w=r==null;++s<f;)$[s]=w?i:Lu(r,o[s]);return $}function Cn(r,o,s){return r===r&&(s!==i&&(r=r<=s?r:s),o!==i&&(r=r>=o?r:o)),r}function wt(r,o,s,f,$,w){var E,x=o&_,T=o&h,M=o&d;if(s&&(E=$?s(r,f,$,w):s(r)),E!==i)return E;if(!xe(r))return r;var j=oe(r);if(j){if(E=B3(r),!x)return et(r,E)}else{var Z=qe(r),G=Z==Oi||Z==hc;if(Sn(r))return Dd(r,x);if(Z==Vt||Z==Yn||G&&!$){if(E=T||G?{}:ef(r),!x)return T?T3(r,t3(E,r)):P3(r,dd(E,r))}else{if(!Se[Z])return $?r:{};E=G3(r,Z,x)}}w||(w=new Dt);var Y=w.get(r);if(Y)return Y;w.set(r,E),Af(r)?r.forEach(function(ee){E.add(wt(ee,o,s,ee,r,w))}):Nf(r)&&r.forEach(function(ee,ce){E.set(ce,wt(ee,o,s,ce,r,w))});var Q=M?T?Iu:wu:T?nt:je,ue=j?i:Q(r);return yt(ue||r,function(ee,ce){ue&&(ce=ee,ee=r[ce]),Wr(E,ce,wt(ee,o,s,ce,r,w))}),E}function n3(r){var o=je(r);return function(s){return fd(s,r,o)}}function fd(r,o,s){var f=s.length;if(r==null)return!f;for(r=be(r);f--;){var $=s[f],w=o[$],E=r[$];if(E===i&&!($ in r)||!w(E))return!1}return!0}function hd(r,o,s){if(typeof r!="function")throw new bt(l);return Xr(function(){r.apply(i,s)},o)}function Hr(r,o,s,f){var $=-1,w=Pi,E=!0,x=r.length,T=[],M=o.length;if(!x)return T;s&&(o=Ne(o,ct(s))),f?(w=Ga,E=!1):o.length>=t&&(w=Mr,E=!1,o=new Tn(o));e:for(;++$<x;){var j=r[$],Z=s==null?j:s(j);if(j=f||j!==0?j:0,E&&Z===Z){for(var G=M;G--;)if(o[G]===Z)continue e;T.push(j)}else w(o,Z,f)||T.push(j)}return T}var $n=jd(Wt),pd=jd(au,!0);function r3(r,o){var s=!0;return $n(r,function(f,$,w){return s=!!o(f,$,w),s}),s}function Vi(r,o,s){for(var f=-1,$=r.length;++f<$;){var w=r[f],E=o(w);if(E!=null&&(x===i?E===E&&!ft(E):s(E,x)))var x=E,T=w}return T}function i3(r,o,s,f){var $=r.length;for(s=ae(s),s<0&&(s=-s>$?0:$+s),f=f===i||f>$?$:ae(f),f<0&&(f+=$),f=s>f?0:Tf(f);s<f;)r[s++]=o;return r}function md(r,o){var s=[];return $n(r,function(f,$,w){o(f,$,w)&&s.push(f)}),s}function Ge(r,o,s,f,$){var w=-1,E=r.length;for(s||(s=H3),$||($=[]);++w<E;){var x=r[w];o>0&&s(x)?o>1?Ge(x,o-1,s,f,$):mn($,x):f||($[$.length]=x)}return $}var ou=Fd(),gd=Fd(!0);function Wt(r,o){return r&&ou(r,o,je)}function au(r,o){return r&&gd(r,o,je)}function Ji(r,o){return pn(o,function(s){return nn(r[s])})}function zn(r,o){o=yn(o,r);for(var s=0,f=o.length;r!=null&&s<f;)r=r[qt(o[s++])];return s&&s==f?r:i}function vd(r,o,s){var f=o(r);return oe(r)?f:mn(f,s(r))}function Ve(r){return r==null?r===i?Cg:Pg:An&&An in be(r)?j3(r):Q3(r)}function uu(r,o){return r>o}function o3(r,o){return r!=null&&ye.call(r,o)}function a3(r,o){return r!=null&&o in be(r)}function u3(r,o,s){return r>=He(o,s)&&r<Re(o,s)}function su(r,o,s){for(var f=s?Ga:Pi,$=r[0].length,w=r.length,E=w,x=D(w),T=1/0,M=[];E--;){var j=r[E];E&&o&&(j=Ne(j,ct(o))),T=He(j.length,T),x[E]=!s&&(o||$>=120&&j.length>=120)?new Tn(E&&j):i}j=r[0];var Z=-1,G=x[0];e:for(;++Z<$&&M.length<T;){var Y=j[Z],Q=o?o(Y):Y;if(Y=s||Y!==0?Y:0,!(G?Mr(G,Q):f(M,Q,s))){for(E=w;--E;){var ue=x[E];if(!(ue?Mr(ue,Q):f(r[E],Q,s)))continue e}G&&G.push(Q),M.push(Y)}}return M}function s3(r,o,s,f){return Wt(r,function($,w,E){o(f,s($),w,E)}),f}function qr(r,o,s){o=yn(o,r),r=of(r,o);var f=r==null?r:r[qt(kt(o))];return f==null?i:lt(f,r,s)}function $d(r){return Ae(r)&&Ve(r)==Yn}function l3(r){return Ae(r)&&Ve(r)==Lr}function c3(r){return Ae(r)&&Ve(r)==Cr}function Kr(r,o,s,f,$){return r===o?!0:r==null||o==null||!Ae(r)&&!Ae(o)?r!==r&&o!==o:d3(r,o,s,f,Kr,$)}function d3(r,o,s,f,$,w){var E=oe(r),x=oe(o),T=E?Ii:qe(r),M=x?Ii:qe(o);T=T==Yn?Vt:T,M=M==Yn?Vt:M;var j=T==Vt,Z=M==Vt,G=T==M;if(G&&Sn(r)){if(!Sn(o))return!1;E=!0,j=!1}if(G&&!j)return w||(w=new Dt),E||dr(r)?Yd(r,o,s,f,$,w):L3(r,o,T,s,f,$,w);if(!(s&c)){var Y=j&&ye.call(r,"__wrapped__"),Q=Z&&ye.call(o,"__wrapped__");if(Y||Q){var ue=Y?r.value():r,ee=Q?o.value():o;return w||(w=new Dt),$(ue,ee,s,f,w)}}return G?(w||(w=new Dt),M3(r,o,s,f,$,w)):!1}function f3(r){return Ae(r)&&qe(r)==Tt}function lu(r,o,s,f){var $=s.length,w=$,E=!f;if(r==null)return!w;for(r=be(r);$--;){var x=s[$];if(E&&x[2]?x[1]!==r[x[0]]:!(x[0]in r))return!1}for(;++$<w;){x=s[$];var T=x[0],M=r[T],j=x[1];if(E&&x[2]){if(M===i&&!(T in r))return!1}else{var Z=new Dt;if(f)var G=f(M,j,T,r,o,Z);if(!(G===i?Kr(j,M,c|y,f,Z):G))return!1}}return!0}function _d(r){if(!xe(r)||K3(r))return!1;var o=nn(r)?f$:nv;return o.test(Un(r))}function h3(r){return Ae(r)&&Ve(r)==Dr}function p3(r){return Ae(r)&&qe(r)==Ct}function m3(r){return Ae(r)&&po(r.length)&&!!ke[Ve(r)]}function yd(r){return typeof r=="function"?r:r==null?rt:typeof r=="object"?oe(r)?wd(r[0],r[1]):Sd(r):Bf(r)}function cu(r){if(!Yr(r))return $$(r);var o=[];for(var s in be(r))ye.call(r,s)&&s!="constructor"&&o.push(s);return o}function g3(r){if(!xe(r))return X3(r);var o=Yr(r),s=[];for(var f in r)f=="constructor"&&(o||!ye.call(r,f))||s.push(f);return s}function du(r,o){return r<o}function bd(r,o){var s=-1,f=tt(r)?D(r.length):[];return $n(r,function($,w,E){f[++s]=o($,w,E)}),f}function Sd(r){var o=Ou(r);return o.length==1&&o[0][2]?nf(o[0][0],o[0][1]):function(s){return s===r||lu(s,r,o)}}function wd(r,o){return Nu(r)&&tf(o)?nf(qt(r),o):function(s){var f=Lu(s,r);return f===i&&f===o?Mu(s,r):Kr(o,f,c|y)}}function Yi(r,o,s,f,$){r!==o&&ou(o,function(w,E){if($||($=new Dt),xe(w))v3(r,o,E,s,Yi,f,$);else{var x=f?f(Au(r,E),w,E+"",r,o,$):i;x===i&&(x=w),ru(r,E,x)}},nt)}function v3(r,o,s,f,$,w,E){var x=Au(r,s),T=Au(o,s),M=E.get(T);if(M){ru(r,s,M);return}var j=w?w(x,T,s+"",r,o,E):i,Z=j===i;if(Z){var G=oe(T),Y=!G&&Sn(T),Q=!G&&!Y&&dr(T);j=T,G||Y||Q?oe(x)?j=x:ze(x)?j=et(x):Y?(Z=!1,j=Dd(T,!0)):Q?(Z=!1,j=Ud(T,!0)):j=[]:Qr(T)||Rn(T)?(j=x,Rn(x)?j=Cf(x):(!xe(x)||nn(x))&&(j=ef(T))):Z=!1}Z&&(E.set(T,j),$(j,T,f,w,E),E.delete(T)),ru(r,s,j)}function Id(r,o){var s=r.length;if(s)return o+=o<0?s:0,tn(o,s)?r[o]:i}function kd(r,o,s){o.length?o=Ne(o,function(w){return oe(w)?function(E){return zn(E,w.length===1?w[0]:w)}:w}):o=[rt];var f=-1;o=Ne(o,ct(X()));var $=bd(r,function(w,E,x){var T=Ne(o,function(M){return M(w)});return{criteria:T,index:++f,value:w}});return Gv($,function(w,E){return A3(w,E,s)})}function $3(r,o){return Od(r,o,function(s,f){return Mu(r,f)})}function Od(r,o,s){for(var f=-1,$=o.length,w={};++f<$;){var E=o[f],x=zn(r,E);s(x,E)&&Vr(w,yn(E,r),x)}return w}function _3(r){return function(o){return zn(o,r)}}function fu(r,o,s,f){var $=f?Bv:er,w=-1,E=o.length,x=r;for(r===o&&(o=et(o)),s&&(x=Ne(r,ct(s)));++w<E;)for(var T=0,M=o[w],j=s?s(M):M;(T=$(x,j,T,f))>-1;)x!==r&&Fi.call(x,T,1),Fi.call(r,T,1);return r}function Ed(r,o){for(var s=r?o.length:0,f=s-1;s--;){var $=o[s];if(s==f||$!==w){var w=$;tn($)?Fi.call(r,$,1):gu(r,$)}}return r}function hu(r,o){return r+Gi(ud()*(o-r+1))}function y3(r,o,s,f){for(var $=-1,w=Re(Bi((o-r)/(s||1)),0),E=D(w);w--;)E[f?w:++$]=r,r+=s;return E}function pu(r,o){var s="";if(!r||o<1||o>Pt)return s;do o%2&&(s+=r),o=Gi(o/2),o&&(r+=r);while(o);return s}function le(r,o){return Pu(rf(r,o,rt),r+"")}function b3(r){return cd(fr(r))}function S3(r,o){var s=fr(r);return uo(s,Cn(o,0,s.length))}function Vr(r,o,s,f){if(!xe(r))return r;o=yn(o,r);for(var $=-1,w=o.length,E=w-1,x=r;x!=null&&++$<w;){var T=qt(o[$]),M=s;if(T==="__proto__"||T==="constructor"||T==="prototype")return r;if($!=E){var j=x[T];M=f?f(j,T,x):i,M===i&&(M=xe(j)?j:tn(o[$+1])?[]:{})}Wr(x,T,M),x=x[T]}return r}var Nd=Wi?function(r,o){return Wi.set(r,o),r}:rt,w3=Zi?function(r,o){return Zi(r,"toString",{configurable:!0,enumerable:!1,value:Fu(o),writable:!0})}:rt;function I3(r){return uo(fr(r))}function It(r,o,s){var f=-1,$=r.length;o<0&&(o=-o>$?0:$+o),s=s>$?$:s,s<0&&(s+=$),$=o>s?0:s-o>>>0,o>>>=0;for(var w=D($);++f<$;)w[f]=r[f+o];return w}function k3(r,o){var s;return $n(r,function(f,$,w){return s=o(f,$,w),!s}),!!s}function Xi(r,o,s){var f=0,$=r==null?f:r.length;if(typeof o=="number"&&o===o&&$<=Eg){for(;f<$;){var w=f+$>>>1,E=r[w];E!==null&&!ft(E)&&(s?E<=o:E<o)?f=w+1:$=w}return $}return mu(r,o,rt,s)}function mu(r,o,s,f){var $=0,w=r==null?0:r.length;if(w===0)return 0;o=s(o);for(var E=o!==o,x=o===null,T=ft(o),M=o===i;$<w;){var j=Gi(($+w)/2),Z=s(r[j]),G=Z!==i,Y=Z===null,Q=Z===Z,ue=ft(Z);if(E)var ee=f||Q;else M?ee=Q&&(f||G):x?ee=Q&&G&&(f||!Y):T?ee=Q&&G&&!Y&&(f||!ue):Y||ue?ee=!1:ee=f?Z<=o:Z<o;ee?$=j+1:w=j}return He(w,Og)}function xd(r,o){for(var s=-1,f=r.length,$=0,w=[];++s<f;){var E=r[s],x=o?o(E):E;if(!s||!Ut(x,T)){var T=x;w[$++]=E===0?0:E}}return w}function Ad(r){return typeof r=="number"?r:ft(r)?wi:+r}function dt(r){if(typeof r=="string")return r;if(oe(r))return Ne(r,dt)+"";if(ft(r))return sd?sd.call(r):"";var o=r+"";return o=="0"&&1/r==-Ze?"-0":o}function _n(r,o,s){var f=-1,$=Pi,w=r.length,E=!0,x=[],T=x;if(s)E=!1,$=Ga;else if(w>=t){var M=o?null:U3(r);if(M)return Ci(M);E=!1,$=Mr,T=new Tn}else T=o?[]:x;e:for(;++f<w;){var j=r[f],Z=o?o(j):j;if(j=s||j!==0?j:0,E&&Z===Z){for(var G=T.length;G--;)if(T[G]===Z)continue e;o&&T.push(Z),x.push(j)}else $(T,Z,s)||(T!==x&&T.push(Z),x.push(j))}return x}function gu(r,o){return o=yn(o,r),r=of(r,o),r==null||delete r[qt(kt(o))]}function Pd(r,o,s,f){return Vr(r,o,s(zn(r,o)),f)}function Qi(r,o,s,f){for(var $=r.length,w=f?$:-1;(f?w--:++w<$)&&o(r[w],w,r););return s?It(r,f?0:w,f?w+1:$):It(r,f?w+1:0,f?$:w)}function Td(r,o){var s=r;return s instanceof fe&&(s=s.value()),Wa(o,function(f,$){return $.func.apply($.thisArg,mn([f],$.args))},s)}function vu(r,o,s){var f=r.length;if(f<2)return f?_n(r[0]):[];for(var $=-1,w=D(f);++$<f;)for(var E=r[$],x=-1;++x<f;)x!=$&&(w[$]=Hr(w[$]||E,r[x],o,s));return _n(Ge(w,1),o,s)}function Cd(r,o,s){for(var f=-1,$=r.length,w=o.length,E={};++f<$;){var x=f<w?o[f]:i;s(E,r[f],x)}return E}function $u(r){return ze(r)?r:[]}function _u(r){return typeof r=="function"?r:rt}function yn(r,o){return oe(r)?r:Nu(r,o)?[r]:lf(_e(r))}var O3=le;function bn(r,o,s){var f=r.length;return s=s===i?f:s,!o&&s>=f?r:It(r,o,s)}var zd=h$||function(r){return Be.clearTimeout(r)};function Dd(r,o){if(o)return r.slice();var s=r.length,f=nd?nd(s):new r.constructor(s);return r.copy(f),f}function yu(r){var o=new r.constructor(r.byteLength);return new Mi(o).set(new Mi(r)),o}function E3(r,o){var s=o?yu(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}function N3(r){var o=new r.constructor(r.source,$c.exec(r));return o.lastIndex=r.lastIndex,o}function x3(r){return Gr?be(Gr.call(r)):{}}function Ud(r,o){var s=o?yu(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}function Rd(r,o){if(r!==o){var s=r!==i,f=r===null,$=r===r,w=ft(r),E=o!==i,x=o===null,T=o===o,M=ft(o);if(!x&&!M&&!w&&r>o||w&&E&&T&&!x&&!M||f&&E&&T||!s&&T||!$)return 1;if(!f&&!w&&!M&&r<o||M&&s&&$&&!f&&!w||x&&s&&$||!E&&$||!T)return-1}return 0}function A3(r,o,s){for(var f=-1,$=r.criteria,w=o.criteria,E=$.length,x=s.length;++f<E;){var T=Rd($[f],w[f]);if(T){if(f>=x)return T;var M=s[f];return T*(M=="desc"?-1:1)}}return r.index-o.index}function Ld(r,o,s,f){for(var $=-1,w=r.length,E=s.length,x=-1,T=o.length,M=Re(w-E,0),j=D(T+M),Z=!f;++x<T;)j[x]=o[x];for(;++$<E;)(Z||$<w)&&(j[s[$]]=r[$]);for(;M--;)j[x++]=r[$++];return j}function Md(r,o,s,f){for(var $=-1,w=r.length,E=-1,x=s.length,T=-1,M=o.length,j=Re(w-x,0),Z=D(j+M),G=!f;++$<j;)Z[$]=r[$];for(var Y=$;++T<M;)Z[Y+T]=o[T];for(;++E<x;)(G||$<w)&&(Z[Y+s[E]]=r[$++]);return Z}function et(r,o){var s=-1,f=r.length;for(o||(o=D(f));++s<f;)o[s]=r[s];return o}function Ht(r,o,s,f){var $=!s;s||(s={});for(var w=-1,E=o.length;++w<E;){var x=o[w],T=f?f(s[x],r[x],x,s,r):i;T===i&&(T=r[x]),$?Xt(s,x,T):Wr(s,x,T)}return s}function P3(r,o){return Ht(r,Eu(r),o)}function T3(r,o){return Ht(r,Xd(r),o)}function eo(r,o){return function(s,f){var $=oe(s)?Rv:e3,w=o?o():{};return $(s,r,X(f,2),w)}}function sr(r){return le(function(o,s){var f=-1,$=s.length,w=$>1?s[$-1]:i,E=$>2?s[2]:i;for(w=r.length>3&&typeof w=="function"?($--,w):i,E&&Je(s[0],s[1],E)&&(w=$<3?i:w,$=1),o=be(o);++f<$;){var x=s[f];x&&r(o,x,f,w)}return o})}function jd(r,o){return function(s,f){if(s==null)return s;if(!tt(s))return r(s,f);for(var $=s.length,w=o?$:-1,E=be(s);(o?w--:++w<$)&&f(E[w],w,E)!==!1;);return s}}function Fd(r){return function(o,s,f){for(var $=-1,w=be(o),E=f(o),x=E.length;x--;){var T=E[r?x:++$];if(s(w[T],T,w)===!1)break}return o}}function C3(r,o,s){var f=o&b,$=Jr(r);function w(){var E=this&&this!==Be&&this instanceof w?$:r;return E.apply(f?s:this,arguments)}return w}function Zd(r){return function(o){o=_e(o);var s=tr(o)?zt(o):i,f=s?s[0]:o.charAt(0),$=s?bn(s,1).join(""):o.slice(1);return f[r]()+$}}function lr(r){return function(o){return Wa(Ff(jf(o).replace(wv,"")),r,"")}}function Jr(r){return function(){var o=arguments;switch(o.length){case 0:return new r;case 1:return new r(o[0]);case 2:return new r(o[0],o[1]);case 3:return new r(o[0],o[1],o[2]);case 4:return new r(o[0],o[1],o[2],o[3]);case 5:return new r(o[0],o[1],o[2],o[3],o[4]);case 6:return new r(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new r(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var s=ur(r.prototype),f=r.apply(s,o);return xe(f)?f:s}}function z3(r,o,s){var f=Jr(r);function $(){for(var w=arguments.length,E=D(w),x=w,T=cr($);x--;)E[x]=arguments[x];var M=w<3&&E[0]!==T&&E[w-1]!==T?[]:gn(E,T);if(w-=M.length,w<s)return qd(r,o,to,$.placeholder,i,E,M,i,i,s-w);var j=this&&this!==Be&&this instanceof $?f:r;return lt(j,this,E)}return $}function Bd(r){return function(o,s,f){var $=be(o);if(!tt(o)){var w=X(s,3);o=je(o),s=function(x){return w($[x],x,$)}}var E=r(o,s,f);return E>-1?$[w?o[E]:E]:i}}function Gd(r){return en(function(o){var s=o.length,f=s,$=St.prototype.thru;for(r&&o.reverse();f--;){var w=o[f];if(typeof w!="function")throw new bt(l);if($&&!E&&oo(w)=="wrapper")var E=new St([],!0)}for(f=E?f:s;++f<s;){w=o[f];var x=oo(w),T=x=="wrapper"?ku(w):i;T&&xu(T[0])&&T[1]==(z|P|O|q)&&!T[4].length&&T[9]==1?E=E[oo(T[0])].apply(E,T[3]):E=w.length==1&&xu(w)?E[x]():E.thru(w)}return function(){var M=arguments,j=M[0];if(E&&M.length==1&&oe(j))return E.plant(j).value();for(var Z=0,G=s?o[Z].apply(this,M):j;++Z<s;)G=o[Z].call(this,G);return G}})}function to(r,o,s,f,$,w,E,x,T,M){var j=o&z,Z=o&b,G=o&I,Y=o&(P|N),Q=o&J,ue=G?i:Jr(r);function ee(){for(var ce=arguments.length,pe=D(ce),ht=ce;ht--;)pe[ht]=arguments[ht];if(Y)var Ye=cr(ee),pt=Hv(pe,Ye);if(f&&(pe=Ld(pe,f,$,Y)),w&&(pe=Md(pe,w,E,Y)),ce-=pt,Y&&ce<M){var De=gn(pe,Ye);return qd(r,o,to,ee.placeholder,s,pe,De,x,T,M-ce)}var Rt=Z?s:this,on=G?Rt[r]:r;return ce=pe.length,x?pe=e4(pe,x):Q&&ce>1&&pe.reverse(),j&&T<ce&&(pe.length=T),this&&this!==Be&&this instanceof ee&&(on=ue||Jr(on)),on.apply(Rt,pe)}return ee}function Wd(r,o){return function(s,f){return s3(s,r,o(f),{})}}function no(r,o){return function(s,f){var $;if(s===i&&f===i)return o;if(s!==i&&($=s),f!==i){if($===i)return f;typeof s=="string"||typeof f=="string"?(s=dt(s),f=dt(f)):(s=Ad(s),f=Ad(f)),$=r(s,f)}return $}}function bu(r){return en(function(o){return o=Ne(o,ct(X())),le(function(s){var f=this;return r(o,function($){return lt($,f,s)})})})}function ro(r,o){o=o===i?" ":dt(o);var s=o.length;if(s<2)return s?pu(o,r):o;var f=pu(o,Bi(r/nr(o)));return tr(o)?bn(zt(f),0,r).join(""):f.slice(0,r)}function D3(r,o,s,f){var $=o&b,w=Jr(r);function E(){for(var x=-1,T=arguments.length,M=-1,j=f.length,Z=D(j+T),G=this&&this!==Be&&this instanceof E?w:r;++M<j;)Z[M]=f[M];for(;T--;)Z[M++]=arguments[++x];return lt(G,$?s:this,Z)}return E}function Hd(r){return function(o,s,f){return f&&typeof f!="number"&&Je(o,s,f)&&(s=f=i),o=rn(o),s===i?(s=o,o=0):s=rn(s),f=f===i?o<s?1:-1:rn(f),y3(o,s,f,r)}}function io(r){return function(o,s){return typeof o=="string"&&typeof s=="string"||(o=Ot(o),s=Ot(s)),r(o,s)}}function qd(r,o,s,f,$,w,E,x,T,M){var j=o&P,Z=j?E:i,G=j?i:E,Y=j?w:i,Q=j?i:w;o|=j?O:U,o&=~(j?U:O),o&k||(o&=-4);var ue=[r,o,$,Y,Z,Q,G,x,T,M],ee=s.apply(i,ue);return xu(r)&&af(ee,ue),ee.placeholder=f,uf(ee,r,o)}function Su(r){var o=Ue[r];return function(s,f){if(s=Ot(s),f=f==null?0:He(ae(f),292),f&&ad(s)){var $=(_e(s)+"e").split("e"),w=o($[0]+"e"+(+$[1]+f));return $=(_e(w)+"e").split("e"),+($[0]+"e"+(+$[1]-f))}return o(s)}}var U3=or&&1/Ci(new or([,-0]))[1]==Ze?function(r){return new or(r)}:Gu;function Kd(r){return function(o){var s=qe(o);return s==Tt?Xa(o):s==Ct?Qv(o):Wv(o,r(o))}}function Qt(r,o,s,f,$,w,E,x){var T=o&I;if(!T&&typeof r!="function")throw new bt(l);var M=f?f.length:0;if(M||(o&=-97,f=$=i),E=E===i?E:Re(ae(E),0),x=x===i?x:ae(x),M-=$?$.length:0,o&U){var j=f,Z=$;f=$=i}var G=T?i:ku(r),Y=[r,o,s,f,$,j,Z,w,E,x];if(G&&Y3(Y,G),r=Y[0],o=Y[1],s=Y[2],f=Y[3],$=Y[4],x=Y[9]=Y[9]===i?T?0:r.length:Re(Y[9]-M,0),!x&&o&(P|N)&&(o&=-25),!o||o==b)var Q=C3(r,o,s);else o==P||o==N?Q=z3(r,o,x):(o==O||o==(b|O))&&!$.length?Q=D3(r,o,s,f):Q=to.apply(i,Y);var ue=G?Nd:af;return uf(ue(Q,Y),r,o)}function Vd(r,o,s,f){return r===i||Ut(r,ir[s])&&!ye.call(f,s)?o:r}function Jd(r,o,s,f,$,w){return xe(r)&&xe(o)&&(w.set(o,r),Yi(r,o,i,Jd,w),w.delete(o)),r}function R3(r){return Qr(r)?i:r}function Yd(r,o,s,f,$,w){var E=s&c,x=r.length,T=o.length;if(x!=T&&!(E&&T>x))return!1;var M=w.get(r),j=w.get(o);if(M&&j)return M==o&&j==r;var Z=-1,G=!0,Y=s&y?new Tn:i;for(w.set(r,o),w.set(o,r);++Z<x;){var Q=r[Z],ue=o[Z];if(f)var ee=E?f(ue,Q,Z,o,r,w):f(Q,ue,Z,r,o,w);if(ee!==i){if(ee)continue;G=!1;break}if(Y){if(!Ha(o,function(ce,pe){if(!Mr(Y,pe)&&(Q===ce||$(Q,ce,s,f,w)))return Y.push(pe)})){G=!1;break}}else if(!(Q===ue||$(Q,ue,s,f,w))){G=!1;break}}return w.delete(r),w.delete(o),G}function L3(r,o,s,f,$,w,E){switch(s){case Xn:if(r.byteLength!=o.byteLength||r.byteOffset!=o.byteOffset)return!1;r=r.buffer,o=o.buffer;case Lr:return!(r.byteLength!=o.byteLength||!w(new Mi(r),new Mi(o)));case Tr:case Cr:case zr:return Ut(+r,+o);case ki:return r.name==o.name&&r.message==o.message;case Dr:case Ur:return r==o+"";case Tt:var x=Xa;case Ct:var T=f&c;if(x||(x=Ci),r.size!=o.size&&!T)return!1;var M=E.get(r);if(M)return M==o;f|=y,E.set(r,o);var j=Yd(x(r),x(o),f,$,w,E);return E.delete(r),j;case Ei:if(Gr)return Gr.call(r)==Gr.call(o)}return!1}function M3(r,o,s,f,$,w){var E=s&c,x=wu(r),T=x.length,M=wu(o),j=M.length;if(T!=j&&!E)return!1;for(var Z=T;Z--;){var G=x[Z];if(!(E?G in o:ye.call(o,G)))return!1}var Y=w.get(r),Q=w.get(o);if(Y&&Q)return Y==o&&Q==r;var ue=!0;w.set(r,o),w.set(o,r);for(var ee=E;++Z<T;){G=x[Z];var ce=r[G],pe=o[G];if(f)var ht=E?f(pe,ce,G,o,r,w):f(ce,pe,G,r,o,w);if(!(ht===i?ce===pe||$(ce,pe,s,f,w):ht)){ue=!1;break}ee||(ee=G=="constructor")}if(ue&&!ee){var Ye=r.constructor,pt=o.constructor;Ye!=pt&&"constructor"in r&&"constructor"in o&&!(typeof Ye=="function"&&Ye instanceof Ye&&typeof pt=="function"&&pt instanceof pt)&&(ue=!1)}return w.delete(r),w.delete(o),ue}function en(r){return Pu(rf(r,i,hf),r+"")}function wu(r){return vd(r,je,Eu)}function Iu(r){return vd(r,nt,Xd)}var ku=Wi?function(r){return Wi.get(r)}:Gu;function oo(r){for(var o=r.name+"",s=ar[o],f=ye.call(ar,o)?s.length:0;f--;){var $=s[f],w=$.func;if(w==null||w==r)return $.name}return o}function cr(r){var o=ye.call(S,"placeholder")?S:r;return o.placeholder}function X(){var r=S.iteratee||Zu;return r=r===Zu?yd:r,arguments.length?r(arguments[0],arguments[1]):r}function ao(r,o){var s=r.__data__;return q3(o)?s[typeof o=="string"?"string":"hash"]:s.map}function Ou(r){for(var o=je(r),s=o.length;s--;){var f=o[s],$=r[f];o[s]=[f,$,tf($)]}return o}function Dn(r,o){var s=Jv(r,o);return _d(s)?s:i}function j3(r){var o=ye.call(r,An),s=r[An];try{r[An]=i;var f=!0}catch{}var $=Ri.call(r);return f&&(o?r[An]=s:delete r[An]),$}var Eu=eu?function(r){return r==null?[]:(r=be(r),pn(eu(r),function(o){return id.call(r,o)}))}:Wu,Xd=eu?function(r){for(var o=[];r;)mn(o,Eu(r)),r=ji(r);return o}:Wu,qe=Ve;(tu&&qe(new tu(new ArrayBuffer(1)))!=Xn||Fr&&qe(new Fr)!=Tt||nu&&qe(nu.resolve())!=pc||or&&qe(new or)!=Ct||Zr&&qe(new Zr)!=Rr)&&(qe=function(r){var o=Ve(r),s=o==Vt?r.constructor:i,f=s?Un(s):"";if(f)switch(f){case S$:return Xn;case w$:return Tt;case I$:return pc;case k$:return Ct;case O$:return Rr}return o});function F3(r,o,s){for(var f=-1,$=s.length;++f<$;){var w=s[f],E=w.size;switch(w.type){case"drop":r+=E;break;case"dropRight":o-=E;break;case"take":o=He(o,r+E);break;case"takeRight":r=Re(r,o-E);break}}return{start:r,end:o}}function Z3(r){var o=r.match(Kg);return o?o[1].split(Vg):[]}function Qd(r,o,s){o=yn(o,r);for(var f=-1,$=o.length,w=!1;++f<$;){var E=qt(o[f]);if(!(w=r!=null&&s(r,E)))break;r=r[E]}return w||++f!=$?w:($=r==null?0:r.length,!!$&&po($)&&tn(E,$)&&(oe(r)||Rn(r)))}function B3(r){var o=r.length,s=new r.constructor(o);return o&&typeof r[0]=="string"&&ye.call(r,"index")&&(s.index=r.index,s.input=r.input),s}function ef(r){return typeof r.constructor=="function"&&!Yr(r)?ur(ji(r)):{}}function G3(r,o,s){var f=r.constructor;switch(o){case Lr:return yu(r);case Tr:case Cr:return new f(+r);case Xn:return E3(r,s);case Oa:case Ea:case Na:case xa:case Aa:case Pa:case Ta:case Ca:case za:return Ud(r,s);case Tt:return new f;case zr:case Ur:return new f(r);case Dr:return N3(r);case Ct:return new f;case Ei:return x3(r)}}function W3(r,o){var s=o.length;if(!s)return r;var f=s-1;return o[f]=(s>1?"& ":"")+o[f],o=o.join(s>2?", ":" "),r.replace(qg,`{
|
|
3
3
|
/* [wrapped with `+o+`] */
|
|
4
|
-
`)}function G3(r){return oe(r)||Un(r)||!!(id&&r&&r[id])}function en(r,o){var s=typeof r;return o=o??Nt,!!o&&(s=="number"||s!="symbol"&&nv.test(r))&&r>-1&&r%1==0&&r<o}function Je(r,o,s){if(!Ae(s))return!1;var f=typeof o;return(f=="number"?et(s)&&en(o,s.length):f=="string"&&o in s)?Dt(s[o],r):!1}function Ou(r,o){if(oe(r))return!1;var s=typeof r;return s=="number"||s=="symbol"||s=="boolean"||r==null||dt(r)?!0:Fg.test(r)||!jg.test(r)||o!=null&&r in be(o)}function W3(r){var o=typeof r;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?r!=="__proto__":r===null}function Eu(r){var o=io(r),s=S[o];if(typeof s!="function"||!(o in fe.prototype))return!1;if(r===s)return!0;var f=ku(s);return!!f&&r===f[0]}function H3(r){return!!ed&&ed in r}var q3=zi?tn:Wu;function Vr(r){var o=r&&r.constructor,s=typeof o=="function"&&o.prototype||rr;return r===s}function ef(r){return r===r&&!Ae(r)}function tf(r,o){return function(s){return s==null?!1:s[r]===o&&(o!==i||r in be(s))}}function K3(r){var o=co(r,function(f){return s.size===v&&s.clear(),f}),s=o.cache;return o}function J3(r,o){var s=r[1],f=o[1],$=s|f,w=$<(b|k|z),O=f==z&&s==P||f==z&&s==H&&r[7].length<=o[8]||f==(z|H)&&o[7].length<=o[8]&&s==P;if(!(w||O))return r;f&b&&(r[2]=o[2],$|=s&b?0:I);var A=o[3];if(A){var T=r[3];r[3]=T?Rd(T,A,o[4]):A,r[4]=T?mn(r[3],m):o[4]}return A=o[5],A&&(T=r[5],r[5]=T?Ld(T,A,o[6]):A,r[6]=T?mn(r[5],m):o[6]),A=o[7],A&&(r[7]=A),f&z&&(r[8]=r[8]==null?o[8]:We(r[8],o[8])),r[9]==null&&(r[9]=o[9]),r[0]=o[0],r[1]=$,r}function V3(r){var o=[];if(r!=null)for(var s in be(r))o.push(s);return o}function Y3(r){return Ui.call(r)}function nf(r,o,s){return o=Re(o===i?r.length-1:o,0),function(){for(var f=arguments,$=-1,w=Re(f.length-o,0),O=D(w);++$<w;)O[$]=f[o+$];$=-1;for(var A=D(o+1);++$<o;)A[$]=f[$];return A[o]=s(O),st(r,this,A)}}function rf(r,o){return o.length<2?r:Cn(r,wt(o,0,-1))}function X3(r,o){for(var s=r.length,f=We(o.length,s),$=Qe(r);f--;){var w=o[f];r[f]=en(w,s)?$[w]:i}return r}function Au(r,o){if(!(o==="constructor"&&typeof r[o]=="function")&&o!="__proto__")return r[o]}var of=uf(Od),Yr=h$||function(r,o){return Ze.setTimeout(r,o)},Nu=uf(b3);function af(r,o,s){var f=o+"";return Nu(r,B3(f,Q3(j3(f),s)))}function uf(r){var o=0,s=0;return function(){var f=v$(),$=W-(f-s);if(s=f,$>0){if(++o>=G)return arguments[0]}else o=0;return r.apply(i,arguments)}}function ao(r,o){var s=-1,f=r.length,$=f-1;for(o=o===i?f:o;++s<o;){var w=fu(s,$),O=r[w];r[w]=r[s],r[s]=O}return r.length=o,r}var sf=K3(function(r){var o=[];return r.charCodeAt(0)===46&&o.push(""),r.replace(Zg,function(s,f,$,w){o.push($?w.replace(Vg,"$1"):f||s)}),o});function Ht(r){if(typeof r=="string"||dt(r))return r;var o=r+"";return o=="0"&&1/r==-Fe?"-0":o}function Dn(r){if(r!=null){try{return Di.call(r)}catch{}try{return r+""}catch{}}return""}function Q3(r,o){return _t(xg,function(s){var f="_."+s[0];o&s[1]&&!Ni(r,f)&&r.push(f)}),r.sort()}function lf(r){if(r instanceof fe)return r.clone();var o=new bt(r.__wrapped__,r.__chain__);return o.__actions__=Qe(r.__actions__),o.__index__=r.__index__,o.__values__=r.__values__,o}function e4(r,o,s){(s?Je(r,o,s):o===i)?o=1:o=Re(ae(o),0);var f=r==null?0:r.length;if(!f||o<1)return[];for(var $=0,w=0,O=D(Zi(f/o));$<f;)O[w++]=wt(r,$,$+=o);return O}function t4(r){for(var o=-1,s=r==null?0:r.length,f=0,$=[];++o<s;){var w=r[o];w&&($[f++]=w)}return $}function n4(){var r=arguments.length;if(!r)return[];for(var o=D(r-1),s=arguments[0],f=r;f--;)o[f-1]=arguments[f];return pn(oe(s)?Qe(s):[s],Be(o,1))}var r4=le(function(r,o){return ze(r)?Wr(r,Be(o,1,ze,!0)):[]}),i4=le(function(r,o){var s=kt(o);return ze(s)&&(s=i),ze(r)?Wr(r,Be(o,1,ze,!0),Y(s,2)):[]}),o4=le(function(r,o){var s=kt(o);return ze(s)&&(s=i),ze(r)?Wr(r,Be(o,1,ze,!0),i,s):[]});function a4(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===i?1:ae(o),wt(r,o<0?0:o,f)):[]}function u4(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===i?1:ae(o),o=f-o,wt(r,0,o<0?0:o)):[]}function s4(r,o){return r&&r.length?Xi(r,Y(o,3),!0,!0):[]}function l4(r,o){return r&&r.length?Xi(r,Y(o,3),!0):[]}function c4(r,o,s,f){var $=r==null?0:r.length;return $?(s&&typeof s!="number"&&Je(r,o,s)&&(s=0,f=$),n3(r,o,s,f)):[]}function cf(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=s==null?0:ae(s);return $<0&&($=Re(f+$,0)),Pi(r,Y(o,3),$)}function df(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=f-1;return s!==i&&($=ae(s),$=s<0?Re(f+$,0):We($,f-1)),Pi(r,Y(o,3),$,!0)}function ff(r){var o=r==null?0:r.length;return o?Be(r,1):[]}function d4(r){var o=r==null?0:r.length;return o?Be(r,Fe):[]}function f4(r,o){var s=r==null?0:r.length;return s?(o=o===i?1:ae(o),Be(r,o)):[]}function h4(r){for(var o=-1,s=r==null?0:r.length,f={};++o<s;){var $=r[o];f[$[0]]=$[1]}return f}function hf(r){return r&&r.length?r[0]:i}function p4(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=s==null?0:ae(s);return $<0&&($=Re(f+$,0)),Qn(r,o,$)}function m4(r){var o=r==null?0:r.length;return o?wt(r,0,-1):[]}var g4=le(function(r){var o=Ee(r,vu);return o.length&&o[0]===r[0]?uu(o):[]}),v4=le(function(r){var o=kt(r),s=Ee(r,vu);return o===kt(s)?o=i:s.pop(),s.length&&s[0]===r[0]?uu(s,Y(o,2)):[]}),$4=le(function(r){var o=kt(r),s=Ee(r,vu);return o=typeof o=="function"?o:i,o&&s.pop(),s.length&&s[0]===r[0]?uu(s,i,o):[]});function _4(r,o){return r==null?"":m$.call(r,o)}function kt(r){var o=r==null?0:r.length;return o?r[o-1]:i}function y4(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=f;return s!==i&&($=ae(s),$=$<0?Re(f+$,0):We($,f-1)),o===o?Qv(r,o,$):Pi(r,Hc,$,!0)}function b4(r,o){return r&&r.length?wd(r,ae(o)):i}var S4=le(pf);function pf(r,o){return r&&r.length&&o&&o.length?du(r,o):r}function w4(r,o,s){return r&&r.length&&o&&o.length?du(r,o,Y(s,2)):r}function k4(r,o,s){return r&&r.length&&o&&o.length?du(r,o,i,s):r}var I4=Qt(function(r,o){var s=r==null?0:r.length,f=ru(r,o);return xd(r,Ee(o,function($){return en($,s)?+$:$}).sort(Ud)),f});function x4(r,o){var s=[];if(!(r&&r.length))return s;var f=-1,$=[],w=r.length;for(o=Y(o,3);++f<w;){var O=r[f];o(O,f,r)&&(s.push(O),$.push(f))}return xd(r,$),s}function Pu(r){return r==null?r:_$.call(r)}function O4(r,o,s){var f=r==null?0:r.length;return f?(s&&typeof s!="number"&&Je(r,o,s)?(o=0,s=f):(o=o==null?0:ae(o),s=s===i?f:ae(s)),wt(r,o,s)):[]}function E4(r,o){return Yi(r,o)}function A4(r,o,s){return pu(r,o,Y(s,2))}function N4(r,o){var s=r==null?0:r.length;if(s){var f=Yi(r,o);if(f<s&&Dt(r[f],o))return f}return-1}function P4(r,o){return Yi(r,o,!0)}function T4(r,o,s){return pu(r,o,Y(s,2),!0)}function C4(r,o){var s=r==null?0:r.length;if(s){var f=Yi(r,o,!0)-1;if(Dt(r[f],o))return f}return-1}function z4(r){return r&&r.length?Ed(r):[]}function D4(r,o){return r&&r.length?Ed(r,Y(o,2)):[]}function U4(r){var o=r==null?0:r.length;return o?wt(r,1,o):[]}function R4(r,o,s){return r&&r.length?(o=s||o===i?1:ae(o),wt(r,0,o<0?0:o)):[]}function L4(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===i?1:ae(o),o=f-o,wt(r,o<0?0:o,f)):[]}function M4(r,o){return r&&r.length?Xi(r,Y(o,3),!1,!0):[]}function j4(r,o){return r&&r.length?Xi(r,Y(o,3)):[]}var F4=le(function(r){return $n(Be(r,1,ze,!0))}),Z4=le(function(r){var o=kt(r);return ze(o)&&(o=i),$n(Be(r,1,ze,!0),Y(o,2))}),B4=le(function(r){var o=kt(r);return o=typeof o=="function"?o:i,$n(Be(r,1,ze,!0),i,o)});function G4(r){return r&&r.length?$n(r):[]}function W4(r,o){return r&&r.length?$n(r,Y(o,2)):[]}function H4(r,o){return o=typeof o=="function"?o:i,r&&r.length?$n(r,i,o):[]}function Tu(r){if(!(r&&r.length))return[];var o=0;return r=hn(r,function(s){if(ze(s))return o=Re(s.length,o),!0}),Ja(o,function(s){return Ee(r,Ha(s))})}function mf(r,o){if(!(r&&r.length))return[];var s=Tu(r);return o==null?s:Ee(s,function(f){return st(o,i,f)})}var q4=le(function(r,o){return ze(r)?Wr(r,o):[]}),K4=le(function(r){return gu(hn(r,ze))}),J4=le(function(r){var o=kt(r);return ze(o)&&(o=i),gu(hn(r,ze),Y(o,2))}),V4=le(function(r){var o=kt(r);return o=typeof o=="function"?o:i,gu(hn(r,ze),i,o)}),Y4=le(Tu);function X4(r,o){return Td(r||[],o||[],Gr)}function Q4(r,o){return Td(r||[],o||[],Kr)}var e_=le(function(r){var o=r.length,s=o>1?r[o-1]:i;return s=typeof s=="function"?(r.pop(),s):i,mf(r,s)});function gf(r){var o=S(r);return o.__chain__=!0,o}function t_(r,o){return o(r),r}function uo(r,o){return o(r)}var n_=Qt(function(r){var o=r.length,s=o?r[0]:0,f=this.__wrapped__,$=function(w){return ru(w,r)};return o>1||this.__actions__.length||!(f instanceof fe)||!en(s)?this.thru($):(f=f.slice(s,+s+(o?1:0)),f.__actions__.push({func:uo,args:[$],thisArg:i}),new bt(f,this.__chain__).thru(function(w){return o&&!w.length&&w.push(i),w}))});function r_(){return gf(this)}function i_(){return new bt(this.value(),this.__chain__)}function o_(){this.__values__===i&&(this.__values__=Nf(this.value()));var r=this.__index__>=this.__values__.length,o=r?i:this.__values__[this.__index__++];return{done:r,value:o}}function a_(){return this}function u_(r){for(var o,s=this;s instanceof Hi;){var f=lf(s);f.__index__=0,f.__values__=i,o?$.__wrapped__=f:o=f;var $=f;s=s.__wrapped__}return $.__wrapped__=r,o}function s_(){var r=this.__wrapped__;if(r instanceof fe){var o=r;return this.__actions__.length&&(o=new fe(this)),o=o.reverse(),o.__actions__.push({func:uo,args:[Pu],thisArg:i}),new bt(o,this.__chain__)}return this.thru(Pu)}function l_(){return Pd(this.__wrapped__,this.__actions__)}var c_=Qi(function(r,o,s){ye.call(r,s)?++r[s]:Yt(r,s,1)});function d_(r,o,s){var f=oe(r)?Gc:t3;return s&&Je(r,o,s)&&(o=i),f(r,Y(o,3))}function f_(r,o){var s=oe(r)?hn:pd;return s(r,Y(o,3))}var h_=Zd(cf),p_=Zd(df);function m_(r,o){return Be(so(r,o),1)}function g_(r,o){return Be(so(r,o),Fe)}function v_(r,o,s){return s=s===i?1:ae(s),Be(so(r,o),s)}function vf(r,o){var s=oe(r)?_t:vn;return s(r,Y(o,3))}function $f(r,o){var s=oe(r)?Uv:hd;return s(r,Y(o,3))}var $_=Qi(function(r,o,s){ye.call(r,s)?r[s].push(o):Yt(r,s,[o])});function __(r,o,s,f){r=et(r)?r:dr(r),s=s&&!f?ae(s):0;var $=r.length;return s<0&&(s=Re($+s,0)),po(r)?s<=$&&r.indexOf(o,s)>-1:!!$&&Qn(r,o,s)>-1}var y_=le(function(r,o,s){var f=-1,$=typeof o=="function",w=et(r)?D(r.length):[];return vn(r,function(O){w[++f]=$?st(o,O,s):Hr(O,o,s)}),w}),b_=Qi(function(r,o,s){Yt(r,s,o)});function so(r,o){var s=oe(r)?Ee:yd;return s(r,Y(o,3))}function S_(r,o,s,f){return r==null?[]:(oe(o)||(o=o==null?[]:[o]),s=f?i:s,oe(s)||(s=s==null?[]:[s]),kd(r,o,s))}var w_=Qi(function(r,o,s){r[s?0:1].push(o)},function(){return[[],[]]});function k_(r,o,s){var f=oe(r)?Ga:Kc,$=arguments.length<3;return f(r,Y(o,4),s,$,vn)}function I_(r,o,s){var f=oe(r)?Rv:Kc,$=arguments.length<3;return f(r,Y(o,4),s,$,hd)}function x_(r,o){var s=oe(r)?hn:pd;return s(r,fo(Y(o,3)))}function O_(r){var o=oe(r)?ld:_3;return o(r)}function E_(r,o,s){(s?Je(r,o,s):o===i)?o=1:o=ae(o);var f=oe(r)?V$:y3;return f(r,o)}function A_(r){var o=oe(r)?Y$:S3;return o(r)}function N_(r){if(r==null)return 0;if(et(r))return po(r)?tr(r):r.length;var o=He(r);return o==Pt||o==Tt?r.size:lu(r).length}function P_(r,o,s){var f=oe(r)?Wa:w3;return s&&Je(r,o,s)&&(o=i),f(r,Y(o,3))}var T_=le(function(r,o){if(r==null)return[];var s=o.length;return s>1&&Je(r,o[0],o[1])?o=[]:s>2&&Je(o[0],o[1],o[2])&&(o=[o[0]]),kd(r,Be(o,1),[])}),lo=f$||function(){return Ze.Date.now()};function C_(r,o){if(typeof o!="function")throw new yt(l);return r=ae(r),function(){if(--r<1)return o.apply(this,arguments)}}function _f(r,o,s){return o=s?i:o,o=r&&o==null?r.length:o,Xt(r,z,i,i,i,i,o)}function yf(r,o){var s;if(typeof o!="function")throw new yt(l);return r=ae(r),function(){return--r>0&&(s=o.apply(this,arguments)),r<=1&&(o=i),s}}var Cu=le(function(r,o,s){var f=b;if(s.length){var $=mn(s,lr(Cu));f|=x}return Xt(r,f,o,s,$)}),bf=le(function(r,o,s){var f=b|k;if(s.length){var $=mn(s,lr(bf));f|=x}return Xt(o,f,r,s,$)});function Sf(r,o,s){o=s?i:o;var f=Xt(r,P,i,i,i,i,i,o);return f.placeholder=Sf.placeholder,f}function wf(r,o,s){o=s?i:o;var f=Xt(r,E,i,i,i,i,i,o);return f.placeholder=wf.placeholder,f}function kf(r,o,s){var f,$,w,O,A,T,L=0,M=!1,F=!1,B=!0;if(typeof r!="function")throw new yt(l);o=It(o)||0,Ae(s)&&(M=!!s.leading,F="maxWait"in s,w=F?Re(It(s.maxWait)||0,o):w,B="trailing"in s?!!s.trailing:B);function V(De){var Ut=f,rn=$;return f=$=i,L=De,O=r.apply(rn,Ut),O}function X(De){return L=De,A=Yr(ce,o),M?V(De):O}function ue(De){var Ut=De-T,rn=De-L,Bf=o-Ut;return F?We(Bf,w-rn):Bf}function Q(De){var Ut=De-T,rn=De-L;return T===i||Ut>=o||Ut<0||F&&rn>=w}function ce(){var De=lo();if(Q(De))return pe(De);A=Yr(ce,ue(De))}function pe(De){return A=i,B&&f?V(De):(f=$=i,O)}function ft(){A!==i&&Cd(A),L=0,f=T=$=A=i}function Ve(){return A===i?O:pe(lo())}function ht(){var De=lo(),Ut=Q(De);if(f=arguments,$=this,T=De,Ut){if(A===i)return X(T);if(F)return Cd(A),A=Yr(ce,o),V(T)}return A===i&&(A=Yr(ce,o)),O}return ht.cancel=ft,ht.flush=Ve,ht}var z_=le(function(r,o){return fd(r,1,o)}),D_=le(function(r,o,s){return fd(r,It(o)||0,s)});function U_(r){return Xt(r,J)}function co(r,o){if(typeof r!="function"||o!=null&&typeof o!="function")throw new yt(l);var s=function(){var f=arguments,$=o?o.apply(this,f):f[0],w=s.cache;if(w.has($))return w.get($);var O=r.apply(this,f);return s.cache=w.set($,O)||w,O};return s.cache=new(co.Cache||Vt),s}co.Cache=Vt;function fo(r){if(typeof r!="function")throw new yt(l);return function(){var o=arguments;switch(o.length){case 0:return!r.call(this);case 1:return!r.call(this,o[0]);case 2:return!r.call(this,o[0],o[1]);case 3:return!r.call(this,o[0],o[1],o[2])}return!r.apply(this,o)}}function R_(r){return yf(2,r)}var L_=k3(function(r,o){o=o.length==1&&oe(o[0])?Ee(o[0],lt(Y())):Ee(Be(o,1),lt(Y()));var s=o.length;return le(function(f){for(var $=-1,w=We(f.length,s);++$<w;)f[$]=o[$].call(this,f[$]);return st(r,this,f)})}),zu=le(function(r,o){var s=mn(o,lr(zu));return Xt(r,x,i,o,s)}),If=le(function(r,o){var s=mn(o,lr(If));return Xt(r,U,i,o,s)}),M_=Qt(function(r,o){return Xt(r,H,i,i,i,o)});function j_(r,o){if(typeof r!="function")throw new yt(l);return o=o===i?o:ae(o),le(r,o)}function F_(r,o){if(typeof r!="function")throw new yt(l);return o=o==null?0:Re(ae(o),0),le(function(s){var f=s[o],$=yn(s,0,o);return f&&pn($,f),st(r,this,$)})}function Z_(r,o,s){var f=!0,$=!0;if(typeof r!="function")throw new yt(l);return Ae(s)&&(f="leading"in s?!!s.leading:f,$="trailing"in s?!!s.trailing:$),kf(r,o,{leading:f,maxWait:o,trailing:$})}function B_(r){return _f(r,1)}function G_(r,o){return zu($u(o),r)}function W_(){if(!arguments.length)return[];var r=arguments[0];return oe(r)?r:[r]}function H_(r){return St(r,d)}function q_(r,o){return o=typeof o=="function"?o:i,St(r,d,o)}function K_(r){return St(r,_|d)}function J_(r,o){return o=typeof o=="function"?o:i,St(r,_|d,o)}function V_(r,o){return o==null||dd(r,o,je(o))}function Dt(r,o){return r===o||r!==r&&o!==o}var Y_=ro(au),X_=ro(function(r,o){return r>=o}),Un=vd((function(){return arguments})())?vd:function(r){return Ne(r)&&ye.call(r,"callee")&&!rd.call(r,"callee")},oe=D.isArray,Q_=Lc?lt(Lc):u3;function et(r){return r!=null&&ho(r.length)&&!tn(r)}function ze(r){return Ne(r)&&et(r)}function e6(r){return r===!0||r===!1||Ne(r)&&Ke(r)==Pr}var bn=p$||Wu,t6=Mc?lt(Mc):s3;function n6(r){return Ne(r)&&r.nodeType===1&&!Xr(r)}function r6(r){if(r==null)return!0;if(et(r)&&(oe(r)||typeof r=="string"||typeof r.splice=="function"||bn(r)||cr(r)||Un(r)))return!r.length;var o=He(r);if(o==Pt||o==Tt)return!r.size;if(Vr(r))return!lu(r).length;for(var s in r)if(ye.call(r,s))return!1;return!0}function i6(r,o){return qr(r,o)}function o6(r,o,s){s=typeof s=="function"?s:i;var f=s?s(r,o):i;return f===i?qr(r,o,i,s):!!f}function Du(r){if(!Ne(r))return!1;var o=Ke(r);return o==ki||o==Eg||typeof r.message=="string"&&typeof r.name=="string"&&!Xr(r)}function a6(r){return typeof r=="number"&&od(r)}function tn(r){if(!Ae(r))return!1;var o=Ke(r);return o==Ii||o==fc||o==Og||o==Ng}function xf(r){return typeof r=="number"&&r==ae(r)}function ho(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Nt}function Ae(r){var o=typeof r;return r!=null&&(o=="object"||o=="function")}function Ne(r){return r!=null&&typeof r=="object"}var Of=jc?lt(jc):c3;function u6(r,o){return r===o||su(r,o,Iu(o))}function s6(r,o,s){return s=typeof s=="function"?s:i,su(r,o,Iu(o),s)}function l6(r){return Ef(r)&&r!=+r}function c6(r){if(q3(r))throw new re(a);return $d(r)}function d6(r){return r===null}function f6(r){return r==null}function Ef(r){return typeof r=="number"||Ne(r)&&Ke(r)==Cr}function Xr(r){if(!Ne(r)||Ke(r)!=Kt)return!1;var o=Mi(r);if(o===null)return!0;var s=ye.call(o,"constructor")&&o.constructor;return typeof s=="function"&&s instanceof s&&Di.call(s)==s$}var Uu=Fc?lt(Fc):d3;function h6(r){return xf(r)&&r>=-Nt&&r<=Nt}var Af=Zc?lt(Zc):f3;function po(r){return typeof r=="string"||!oe(r)&&Ne(r)&&Ke(r)==Dr}function dt(r){return typeof r=="symbol"||Ne(r)&&Ke(r)==xi}var cr=Bc?lt(Bc):h3;function p6(r){return r===i}function m6(r){return Ne(r)&&He(r)==Ur}function g6(r){return Ne(r)&&Ke(r)==Tg}var v6=ro(cu),$6=ro(function(r,o){return r<=o});function Nf(r){if(!r)return[];if(et(r))return po(r)?Ct(r):Qe(r);if(Mr&&r[Mr])return Vv(r[Mr]());var o=He(r),s=o==Pt?Ya:o==Tt?Ti:dr;return s(r)}function nn(r){if(!r)return r===0?r:0;if(r=It(r),r===Fe||r===-Fe){var o=r<0?-1:1;return o*wg}return r===r?r:0}function ae(r){var o=nn(r),s=o%1;return o===o?s?o-s:o:0}function Pf(r){return r?Tn(ae(r),0,Bt):0}function It(r){if(typeof r=="number")return r;if(dt(r))return Si;if(Ae(r)){var o=typeof r.valueOf=="function"?r.valueOf():r;r=Ae(o)?o+"":o}if(typeof r!="string")return r===0?r:+r;r=Jc(r);var s=Qg.test(r);return s||tv.test(r)?Cv(r.slice(2),s?2:8):Xg.test(r)?Si:+r}function Tf(r){return Wt(r,tt(r))}function _6(r){return r?Tn(ae(r),-Nt,Nt):r===0?r:0}function _e(r){return r==null?"":ct(r)}var y6=ur(function(r,o){if(Vr(o)||et(o)){Wt(o,je(o),r);return}for(var s in o)ye.call(o,s)&&Gr(r,s,o[s])}),Cf=ur(function(r,o){Wt(o,tt(o),r)}),mo=ur(function(r,o,s,f){Wt(o,tt(o),r,f)}),b6=ur(function(r,o,s,f){Wt(o,je(o),r,f)}),S6=Qt(ru);function w6(r,o){var s=ar(r);return o==null?s:cd(s,o)}var k6=le(function(r,o){r=be(r);var s=-1,f=o.length,$=f>2?o[2]:i;for($&&Je(o[0],o[1],$)&&(f=1);++s<f;)for(var w=o[s],O=tt(w),A=-1,T=O.length;++A<T;){var L=O[A],M=r[L];(M===i||Dt(M,rr[L])&&!ye.call(r,L))&&(r[L]=w[L])}return r}),I6=le(function(r){return r.push(i,Jd),st(zf,i,r)});function x6(r,o){return Wc(r,Y(o,3),Gt)}function O6(r,o){return Wc(r,Y(o,3),ou)}function E6(r,o){return r==null?r:iu(r,Y(o,3),tt)}function A6(r,o){return r==null?r:md(r,Y(o,3),tt)}function N6(r,o){return r&&Gt(r,Y(o,3))}function P6(r,o){return r&&ou(r,Y(o,3))}function T6(r){return r==null?[]:Ji(r,je(r))}function C6(r){return r==null?[]:Ji(r,tt(r))}function Ru(r,o,s){var f=r==null?i:Cn(r,o);return f===i?s:f}function z6(r,o){return r!=null&&Xd(r,o,r3)}function Lu(r,o){return r!=null&&Xd(r,o,i3)}var D6=Gd(function(r,o,s){o!=null&&typeof o.toString!="function"&&(o=Ui.call(o)),r[o]=s},ju(nt)),U6=Gd(function(r,o,s){o!=null&&typeof o.toString!="function"&&(o=Ui.call(o)),ye.call(r,o)?r[o].push(s):r[o]=[s]},Y),R6=le(Hr);function je(r){return et(r)?sd(r):lu(r)}function tt(r){return et(r)?sd(r,!0):p3(r)}function L6(r,o){var s={};return o=Y(o,3),Gt(r,function(f,$,w){Yt(s,o(f,$,w),f)}),s}function M6(r,o){var s={};return o=Y(o,3),Gt(r,function(f,$,w){Yt(s,$,o(f,$,w))}),s}var j6=ur(function(r,o,s){Vi(r,o,s)}),zf=ur(function(r,o,s,f){Vi(r,o,s,f)}),F6=Qt(function(r,o){var s={};if(r==null)return s;var f=!1;o=Ee(o,function(w){return w=_n(w,r),f||(f=w.length>1),w}),Wt(r,wu(r),s),f&&(s=St(s,_|h|d,D3));for(var $=o.length;$--;)mu(s,o[$]);return s});function Z6(r,o){return Df(r,fo(Y(o)))}var B6=Qt(function(r,o){return r==null?{}:g3(r,o)});function Df(r,o){if(r==null)return{};var s=Ee(wu(r),function(f){return[f]});return o=Y(o),Id(r,s,function(f,$){return o(f,$[0])})}function G6(r,o,s){o=_n(o,r);var f=-1,$=o.length;for($||($=1,r=i);++f<$;){var w=r==null?i:r[Ht(o[f])];w===i&&(f=$,w=s),r=tn(w)?w.call(r):w}return r}function W6(r,o,s){return r==null?r:Kr(r,o,s)}function H6(r,o,s,f){return f=typeof f=="function"?f:i,r==null?r:Kr(r,o,s,f)}var Uf=qd(je),Rf=qd(tt);function q6(r,o,s){var f=oe(r),$=f||bn(r)||cr(r);if(o=Y(o,4),s==null){var w=r&&r.constructor;$?s=f?new w:[]:Ae(r)?s=tn(w)?ar(Mi(r)):{}:s={}}return($?_t:Gt)(r,function(O,A,T){return o(s,O,A,T)}),s}function K6(r,o){return r==null?!0:mu(r,o)}function J6(r,o,s){return r==null?r:Nd(r,o,$u(s))}function V6(r,o,s,f){return f=typeof f=="function"?f:i,r==null?r:Nd(r,o,$u(s),f)}function dr(r){return r==null?[]:Va(r,je(r))}function Y6(r){return r==null?[]:Va(r,tt(r))}function X6(r,o,s){return s===i&&(s=o,o=i),s!==i&&(s=It(s),s=s===s?s:0),o!==i&&(o=It(o),o=o===o?o:0),Tn(It(r),o,s)}function Q6(r,o,s){return o=nn(o),s===i?(s=o,o=0):s=nn(s),r=It(r),o3(r,o,s)}function e8(r,o,s){if(s&&typeof s!="boolean"&&Je(r,o,s)&&(o=s=i),s===i&&(typeof o=="boolean"?(s=o,o=i):typeof r=="boolean"&&(s=r,r=i)),r===i&&o===i?(r=0,o=1):(r=nn(r),o===i?(o=r,r=0):o=nn(o)),r>o){var f=r;r=o,o=f}if(s||r%1||o%1){var $=ad();return We(r+$*(o-r+Tv("1e-"+(($+"").length-1))),o)}return fu(r,o)}var t8=sr(function(r,o,s){return o=o.toLowerCase(),r+(s?Lf(o):o)});function Lf(r){return Mu(_e(r).toLowerCase())}function Mf(r){return r=_e(r),r&&r.replace(rv,Wv).replace(Sv,"")}function n8(r,o,s){r=_e(r),o=ct(o);var f=r.length;s=s===i?f:Tn(ae(s),0,f);var $=s;return s-=o.length,s>=0&&r.slice(s,$)==o}function r8(r){return r=_e(r),r&&Rg.test(r)?r.replace(mc,Hv):r}function i8(r){return r=_e(r),r&&Bg.test(r)?r.replace(za,"\\$&"):r}var o8=sr(function(r,o,s){return r+(s?"-":"")+o.toLowerCase()}),a8=sr(function(r,o,s){return r+(s?" ":"")+o.toLowerCase()}),u8=Fd("toLowerCase");function s8(r,o,s){r=_e(r),o=ae(o);var f=o?tr(r):0;if(!o||f>=o)return r;var $=(o-f)/2;return no(Bi($),s)+r+no(Zi($),s)}function l8(r,o,s){r=_e(r),o=ae(o);var f=o?tr(r):0;return o&&f<o?r+no(o-f,s):r}function c8(r,o,s){r=_e(r),o=ae(o);var f=o?tr(r):0;return o&&f<o?no(o-f,s)+r:r}function d8(r,o,s){return s||o==null?o=0:o&&(o=+o),$$(_e(r).replace(Da,""),o||0)}function f8(r,o,s){return(s?Je(r,o,s):o===i)?o=1:o=ae(o),hu(_e(r),o)}function h8(){var r=arguments,o=_e(r[0]);return r.length<3?o:o.replace(r[1],r[2])}var p8=sr(function(r,o,s){return r+(s?"_":"")+o.toLowerCase()});function m8(r,o,s){return s&&typeof s!="number"&&Je(r,o,s)&&(o=s=i),s=s===i?Bt:s>>>0,s?(r=_e(r),r&&(typeof o=="string"||o!=null&&!Uu(o))&&(o=ct(o),!o&&er(r))?yn(Ct(r),0,s):r.split(o,s)):[]}var g8=sr(function(r,o,s){return r+(s?" ":"")+Mu(o)});function v8(r,o,s){return r=_e(r),s=s==null?0:Tn(ae(s),0,r.length),o=ct(o),r.slice(s,s+o.length)==o}function $8(r,o,s){var f=S.templateSettings;s&&Je(r,o,s)&&(o=i),r=_e(r),o=mo({},o,f,Kd);var $=mo({},o.imports,f.imports,Kd),w=je($),O=Va($,w),A,T,L=0,M=o.interpolate||Oi,F="__p += '",B=Xa((o.escape||Oi).source+"|"+M.source+"|"+(M===gc?Yg:Oi).source+"|"+(o.evaluate||Oi).source+"|$","g"),V="//# sourceURL="+(ye.call(o,"sourceURL")?(o.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ov+"]")+`
|
|
5
|
-
`;r.replace(
|
|
4
|
+
`)}function H3(r){return oe(r)||Rn(r)||!!(od&&r&&r[od])}function tn(r,o){var s=typeof r;return o=o??Pt,!!o&&(s=="number"||s!="symbol"&&iv.test(r))&&r>-1&&r%1==0&&r<o}function Je(r,o,s){if(!xe(s))return!1;var f=typeof o;return(f=="number"?tt(s)&&tn(o,s.length):f=="string"&&o in s)?Ut(s[o],r):!1}function Nu(r,o){if(oe(r))return!1;var s=typeof r;return s=="number"||s=="symbol"||s=="boolean"||r==null||ft(r)?!0:Bg.test(r)||!Zg.test(r)||o!=null&&r in be(o)}function q3(r){var o=typeof r;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?r!=="__proto__":r===null}function xu(r){var o=oo(r),s=S[o];if(typeof s!="function"||!(o in fe.prototype))return!1;if(r===s)return!0;var f=ku(s);return!!f&&r===f[0]}function K3(r){return!!td&&td in r}var V3=Di?nn:Hu;function Yr(r){var o=r&&r.constructor,s=typeof o=="function"&&o.prototype||ir;return r===s}function tf(r){return r===r&&!xe(r)}function nf(r,o){return function(s){return s==null?!1:s[r]===o&&(o!==i||r in be(s))}}function J3(r){var o=fo(r,function(f){return s.size===v&&s.clear(),f}),s=o.cache;return o}function Y3(r,o){var s=r[1],f=o[1],$=s|f,w=$<(b|I|z),E=f==z&&s==P||f==z&&s==q&&r[7].length<=o[8]||f==(z|q)&&o[7].length<=o[8]&&s==P;if(!(w||E))return r;f&b&&(r[2]=o[2],$|=s&b?0:k);var x=o[3];if(x){var T=r[3];r[3]=T?Ld(T,x,o[4]):x,r[4]=T?gn(r[3],m):o[4]}return x=o[5],x&&(T=r[5],r[5]=T?Md(T,x,o[6]):x,r[6]=T?gn(r[5],m):o[6]),x=o[7],x&&(r[7]=x),f&z&&(r[8]=r[8]==null?o[8]:He(r[8],o[8])),r[9]==null&&(r[9]=o[9]),r[0]=o[0],r[1]=$,r}function X3(r){var o=[];if(r!=null)for(var s in be(r))o.push(s);return o}function Q3(r){return Ri.call(r)}function rf(r,o,s){return o=Re(o===i?r.length-1:o,0),function(){for(var f=arguments,$=-1,w=Re(f.length-o,0),E=D(w);++$<w;)E[$]=f[o+$];$=-1;for(var x=D(o+1);++$<o;)x[$]=f[$];return x[o]=s(E),lt(r,this,x)}}function of(r,o){return o.length<2?r:zn(r,It(o,0,-1))}function e4(r,o){for(var s=r.length,f=He(o.length,s),$=et(r);f--;){var w=o[f];r[f]=tn(w,s)?$[w]:i}return r}function Au(r,o){if(!(o==="constructor"&&typeof r[o]=="function")&&o!="__proto__")return r[o]}var af=sf(Nd),Xr=m$||function(r,o){return Be.setTimeout(r,o)},Pu=sf(w3);function uf(r,o,s){var f=o+"";return Pu(r,W3(f,t4(Z3(f),s)))}function sf(r){var o=0,s=0;return function(){var f=_$(),$=H-(f-s);if(s=f,$>0){if(++o>=W)return arguments[0]}else o=0;return r.apply(i,arguments)}}function uo(r,o){var s=-1,f=r.length,$=f-1;for(o=o===i?f:o;++s<o;){var w=hu(s,$),E=r[w];r[w]=r[s],r[s]=E}return r.length=o,r}var lf=J3(function(r){var o=[];return r.charCodeAt(0)===46&&o.push(""),r.replace(Gg,function(s,f,$,w){o.push($?w.replace(Xg,"$1"):f||s)}),o});function qt(r){if(typeof r=="string"||ft(r))return r;var o=r+"";return o=="0"&&1/r==-Ze?"-0":o}function Un(r){if(r!=null){try{return Ui.call(r)}catch{}try{return r+""}catch{}}return""}function t4(r,o){return yt(Ng,function(s){var f="_."+s[0];o&s[1]&&!Pi(r,f)&&r.push(f)}),r.sort()}function cf(r){if(r instanceof fe)return r.clone();var o=new St(r.__wrapped__,r.__chain__);return o.__actions__=et(r.__actions__),o.__index__=r.__index__,o.__values__=r.__values__,o}function n4(r,o,s){(s?Je(r,o,s):o===i)?o=1:o=Re(ae(o),0);var f=r==null?0:r.length;if(!f||o<1)return[];for(var $=0,w=0,E=D(Bi(f/o));$<f;)E[w++]=It(r,$,$+=o);return E}function r4(r){for(var o=-1,s=r==null?0:r.length,f=0,$=[];++o<s;){var w=r[o];w&&($[f++]=w)}return $}function i4(){var r=arguments.length;if(!r)return[];for(var o=D(r-1),s=arguments[0],f=r;f--;)o[f-1]=arguments[f];return mn(oe(s)?et(s):[s],Ge(o,1))}var o4=le(function(r,o){return ze(r)?Hr(r,Ge(o,1,ze,!0)):[]}),a4=le(function(r,o){var s=kt(o);return ze(s)&&(s=i),ze(r)?Hr(r,Ge(o,1,ze,!0),X(s,2)):[]}),u4=le(function(r,o){var s=kt(o);return ze(s)&&(s=i),ze(r)?Hr(r,Ge(o,1,ze,!0),i,s):[]});function s4(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===i?1:ae(o),It(r,o<0?0:o,f)):[]}function l4(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===i?1:ae(o),o=f-o,It(r,0,o<0?0:o)):[]}function c4(r,o){return r&&r.length?Qi(r,X(o,3),!0,!0):[]}function d4(r,o){return r&&r.length?Qi(r,X(o,3),!0):[]}function f4(r,o,s,f){var $=r==null?0:r.length;return $?(s&&typeof s!="number"&&Je(r,o,s)&&(s=0,f=$),i3(r,o,s,f)):[]}function df(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=s==null?0:ae(s);return $<0&&($=Re(f+$,0)),Ti(r,X(o,3),$)}function ff(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=f-1;return s!==i&&($=ae(s),$=s<0?Re(f+$,0):He($,f-1)),Ti(r,X(o,3),$,!0)}function hf(r){var o=r==null?0:r.length;return o?Ge(r,1):[]}function h4(r){var o=r==null?0:r.length;return o?Ge(r,Ze):[]}function p4(r,o){var s=r==null?0:r.length;return s?(o=o===i?1:ae(o),Ge(r,o)):[]}function m4(r){for(var o=-1,s=r==null?0:r.length,f={};++o<s;){var $=r[o];f[$[0]]=$[1]}return f}function pf(r){return r&&r.length?r[0]:i}function g4(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=s==null?0:ae(s);return $<0&&($=Re(f+$,0)),er(r,o,$)}function v4(r){var o=r==null?0:r.length;return o?It(r,0,-1):[]}var $4=le(function(r){var o=Ne(r,$u);return o.length&&o[0]===r[0]?su(o):[]}),_4=le(function(r){var o=kt(r),s=Ne(r,$u);return o===kt(s)?o=i:s.pop(),s.length&&s[0]===r[0]?su(s,X(o,2)):[]}),y4=le(function(r){var o=kt(r),s=Ne(r,$u);return o=typeof o=="function"?o:i,o&&s.pop(),s.length&&s[0]===r[0]?su(s,i,o):[]});function b4(r,o){return r==null?"":v$.call(r,o)}function kt(r){var o=r==null?0:r.length;return o?r[o-1]:i}function S4(r,o,s){var f=r==null?0:r.length;if(!f)return-1;var $=f;return s!==i&&($=ae(s),$=$<0?Re(f+$,0):He($,f-1)),o===o?t$(r,o,$):Ti(r,qc,$,!0)}function w4(r,o){return r&&r.length?Id(r,ae(o)):i}var I4=le(mf);function mf(r,o){return r&&r.length&&o&&o.length?fu(r,o):r}function k4(r,o,s){return r&&r.length&&o&&o.length?fu(r,o,X(s,2)):r}function O4(r,o,s){return r&&r.length&&o&&o.length?fu(r,o,i,s):r}var E4=en(function(r,o){var s=r==null?0:r.length,f=iu(r,o);return Ed(r,Ne(o,function($){return tn($,s)?+$:$}).sort(Rd)),f});function N4(r,o){var s=[];if(!(r&&r.length))return s;var f=-1,$=[],w=r.length;for(o=X(o,3);++f<w;){var E=r[f];o(E,f,r)&&(s.push(E),$.push(f))}return Ed(r,$),s}function Tu(r){return r==null?r:b$.call(r)}function x4(r,o,s){var f=r==null?0:r.length;return f?(s&&typeof s!="number"&&Je(r,o,s)?(o=0,s=f):(o=o==null?0:ae(o),s=s===i?f:ae(s)),It(r,o,s)):[]}function A4(r,o){return Xi(r,o)}function P4(r,o,s){return mu(r,o,X(s,2))}function T4(r,o){var s=r==null?0:r.length;if(s){var f=Xi(r,o);if(f<s&&Ut(r[f],o))return f}return-1}function C4(r,o){return Xi(r,o,!0)}function z4(r,o,s){return mu(r,o,X(s,2),!0)}function D4(r,o){var s=r==null?0:r.length;if(s){var f=Xi(r,o,!0)-1;if(Ut(r[f],o))return f}return-1}function U4(r){return r&&r.length?xd(r):[]}function R4(r,o){return r&&r.length?xd(r,X(o,2)):[]}function L4(r){var o=r==null?0:r.length;return o?It(r,1,o):[]}function M4(r,o,s){return r&&r.length?(o=s||o===i?1:ae(o),It(r,0,o<0?0:o)):[]}function j4(r,o,s){var f=r==null?0:r.length;return f?(o=s||o===i?1:ae(o),o=f-o,It(r,o<0?0:o,f)):[]}function F4(r,o){return r&&r.length?Qi(r,X(o,3),!1,!0):[]}function Z4(r,o){return r&&r.length?Qi(r,X(o,3)):[]}var B4=le(function(r){return _n(Ge(r,1,ze,!0))}),G4=le(function(r){var o=kt(r);return ze(o)&&(o=i),_n(Ge(r,1,ze,!0),X(o,2))}),W4=le(function(r){var o=kt(r);return o=typeof o=="function"?o:i,_n(Ge(r,1,ze,!0),i,o)});function H4(r){return r&&r.length?_n(r):[]}function q4(r,o){return r&&r.length?_n(r,X(o,2)):[]}function K4(r,o){return o=typeof o=="function"?o:i,r&&r.length?_n(r,i,o):[]}function Cu(r){if(!(r&&r.length))return[];var o=0;return r=pn(r,function(s){if(ze(s))return o=Re(s.length,o),!0}),Ja(o,function(s){return Ne(r,qa(s))})}function gf(r,o){if(!(r&&r.length))return[];var s=Cu(r);return o==null?s:Ne(s,function(f){return lt(o,i,f)})}var V4=le(function(r,o){return ze(r)?Hr(r,o):[]}),J4=le(function(r){return vu(pn(r,ze))}),Y4=le(function(r){var o=kt(r);return ze(o)&&(o=i),vu(pn(r,ze),X(o,2))}),X4=le(function(r){var o=kt(r);return o=typeof o=="function"?o:i,vu(pn(r,ze),i,o)}),Q4=le(Cu);function e_(r,o){return Cd(r||[],o||[],Wr)}function t_(r,o){return Cd(r||[],o||[],Vr)}var n_=le(function(r){var o=r.length,s=o>1?r[o-1]:i;return s=typeof s=="function"?(r.pop(),s):i,gf(r,s)});function vf(r){var o=S(r);return o.__chain__=!0,o}function r_(r,o){return o(r),r}function so(r,o){return o(r)}var i_=en(function(r){var o=r.length,s=o?r[0]:0,f=this.__wrapped__,$=function(w){return iu(w,r)};return o>1||this.__actions__.length||!(f instanceof fe)||!tn(s)?this.thru($):(f=f.slice(s,+s+(o?1:0)),f.__actions__.push({func:so,args:[$],thisArg:i}),new St(f,this.__chain__).thru(function(w){return o&&!w.length&&w.push(i),w}))});function o_(){return vf(this)}function a_(){return new St(this.value(),this.__chain__)}function u_(){this.__values__===i&&(this.__values__=Pf(this.value()));var r=this.__index__>=this.__values__.length,o=r?i:this.__values__[this.__index__++];return{done:r,value:o}}function s_(){return this}function l_(r){for(var o,s=this;s instanceof qi;){var f=cf(s);f.__index__=0,f.__values__=i,o?$.__wrapped__=f:o=f;var $=f;s=s.__wrapped__}return $.__wrapped__=r,o}function c_(){var r=this.__wrapped__;if(r instanceof fe){var o=r;return this.__actions__.length&&(o=new fe(this)),o=o.reverse(),o.__actions__.push({func:so,args:[Tu],thisArg:i}),new St(o,this.__chain__)}return this.thru(Tu)}function d_(){return Td(this.__wrapped__,this.__actions__)}var f_=eo(function(r,o,s){ye.call(r,s)?++r[s]:Xt(r,s,1)});function h_(r,o,s){var f=oe(r)?Wc:r3;return s&&Je(r,o,s)&&(o=i),f(r,X(o,3))}function p_(r,o){var s=oe(r)?pn:md;return s(r,X(o,3))}var m_=Bd(df),g_=Bd(ff);function v_(r,o){return Ge(lo(r,o),1)}function $_(r,o){return Ge(lo(r,o),Ze)}function __(r,o,s){return s=s===i?1:ae(s),Ge(lo(r,o),s)}function $f(r,o){var s=oe(r)?yt:$n;return s(r,X(o,3))}function _f(r,o){var s=oe(r)?Lv:pd;return s(r,X(o,3))}var y_=eo(function(r,o,s){ye.call(r,s)?r[s].push(o):Xt(r,s,[o])});function b_(r,o,s,f){r=tt(r)?r:fr(r),s=s&&!f?ae(s):0;var $=r.length;return s<0&&(s=Re($+s,0)),mo(r)?s<=$&&r.indexOf(o,s)>-1:!!$&&er(r,o,s)>-1}var S_=le(function(r,o,s){var f=-1,$=typeof o=="function",w=tt(r)?D(r.length):[];return $n(r,function(E){w[++f]=$?lt(o,E,s):qr(E,o,s)}),w}),w_=eo(function(r,o,s){Xt(r,s,o)});function lo(r,o){var s=oe(r)?Ne:bd;return s(r,X(o,3))}function I_(r,o,s,f){return r==null?[]:(oe(o)||(o=o==null?[]:[o]),s=f?i:s,oe(s)||(s=s==null?[]:[s]),kd(r,o,s))}var k_=eo(function(r,o,s){r[s?0:1].push(o)},function(){return[[],[]]});function O_(r,o,s){var f=oe(r)?Wa:Vc,$=arguments.length<3;return f(r,X(o,4),s,$,$n)}function E_(r,o,s){var f=oe(r)?Mv:Vc,$=arguments.length<3;return f(r,X(o,4),s,$,pd)}function N_(r,o){var s=oe(r)?pn:md;return s(r,ho(X(o,3)))}function x_(r){var o=oe(r)?cd:b3;return o(r)}function A_(r,o,s){(s?Je(r,o,s):o===i)?o=1:o=ae(o);var f=oe(r)?X$:S3;return f(r,o)}function P_(r){var o=oe(r)?Q$:I3;return o(r)}function T_(r){if(r==null)return 0;if(tt(r))return mo(r)?nr(r):r.length;var o=qe(r);return o==Tt||o==Ct?r.size:cu(r).length}function C_(r,o,s){var f=oe(r)?Ha:k3;return s&&Je(r,o,s)&&(o=i),f(r,X(o,3))}var z_=le(function(r,o){if(r==null)return[];var s=o.length;return s>1&&Je(r,o[0],o[1])?o=[]:s>2&&Je(o[0],o[1],o[2])&&(o=[o[0]]),kd(r,Ge(o,1),[])}),co=p$||function(){return Be.Date.now()};function D_(r,o){if(typeof o!="function")throw new bt(l);return r=ae(r),function(){if(--r<1)return o.apply(this,arguments)}}function yf(r,o,s){return o=s?i:o,o=r&&o==null?r.length:o,Qt(r,z,i,i,i,i,o)}function bf(r,o){var s;if(typeof o!="function")throw new bt(l);return r=ae(r),function(){return--r>0&&(s=o.apply(this,arguments)),r<=1&&(o=i),s}}var zu=le(function(r,o,s){var f=b;if(s.length){var $=gn(s,cr(zu));f|=O}return Qt(r,f,o,s,$)}),Sf=le(function(r,o,s){var f=b|I;if(s.length){var $=gn(s,cr(Sf));f|=O}return Qt(o,f,r,s,$)});function wf(r,o,s){o=s?i:o;var f=Qt(r,P,i,i,i,i,i,o);return f.placeholder=wf.placeholder,f}function If(r,o,s){o=s?i:o;var f=Qt(r,N,i,i,i,i,i,o);return f.placeholder=If.placeholder,f}function kf(r,o,s){var f,$,w,E,x,T,M=0,j=!1,Z=!1,G=!0;if(typeof r!="function")throw new bt(l);o=Ot(o)||0,xe(s)&&(j=!!s.leading,Z="maxWait"in s,w=Z?Re(Ot(s.maxWait)||0,o):w,G="trailing"in s?!!s.trailing:G);function Y(De){var Rt=f,on=$;return f=$=i,M=De,E=r.apply(on,Rt),E}function Q(De){return M=De,x=Xr(ce,o),j?Y(De):E}function ue(De){var Rt=De-T,on=De-M,Gf=o-Rt;return Z?He(Gf,w-on):Gf}function ee(De){var Rt=De-T,on=De-M;return T===i||Rt>=o||Rt<0||Z&&on>=w}function ce(){var De=co();if(ee(De))return pe(De);x=Xr(ce,ue(De))}function pe(De){return x=i,G&&f?Y(De):(f=$=i,E)}function ht(){x!==i&&zd(x),M=0,f=T=$=x=i}function Ye(){return x===i?E:pe(co())}function pt(){var De=co(),Rt=ee(De);if(f=arguments,$=this,T=De,Rt){if(x===i)return Q(T);if(Z)return zd(x),x=Xr(ce,o),Y(T)}return x===i&&(x=Xr(ce,o)),E}return pt.cancel=ht,pt.flush=Ye,pt}var U_=le(function(r,o){return hd(r,1,o)}),R_=le(function(r,o,s){return hd(r,Ot(o)||0,s)});function L_(r){return Qt(r,J)}function fo(r,o){if(typeof r!="function"||o!=null&&typeof o!="function")throw new bt(l);var s=function(){var f=arguments,$=o?o.apply(this,f):f[0],w=s.cache;if(w.has($))return w.get($);var E=r.apply(this,f);return s.cache=w.set($,E)||w,E};return s.cache=new(fo.Cache||Yt),s}fo.Cache=Yt;function ho(r){if(typeof r!="function")throw new bt(l);return function(){var o=arguments;switch(o.length){case 0:return!r.call(this);case 1:return!r.call(this,o[0]);case 2:return!r.call(this,o[0],o[1]);case 3:return!r.call(this,o[0],o[1],o[2])}return!r.apply(this,o)}}function M_(r){return bf(2,r)}var j_=O3(function(r,o){o=o.length==1&&oe(o[0])?Ne(o[0],ct(X())):Ne(Ge(o,1),ct(X()));var s=o.length;return le(function(f){for(var $=-1,w=He(f.length,s);++$<w;)f[$]=o[$].call(this,f[$]);return lt(r,this,f)})}),Du=le(function(r,o){var s=gn(o,cr(Du));return Qt(r,O,i,o,s)}),Of=le(function(r,o){var s=gn(o,cr(Of));return Qt(r,U,i,o,s)}),F_=en(function(r,o){return Qt(r,q,i,i,i,o)});function Z_(r,o){if(typeof r!="function")throw new bt(l);return o=o===i?o:ae(o),le(r,o)}function B_(r,o){if(typeof r!="function")throw new bt(l);return o=o==null?0:Re(ae(o),0),le(function(s){var f=s[o],$=bn(s,0,o);return f&&mn($,f),lt(r,this,$)})}function G_(r,o,s){var f=!0,$=!0;if(typeof r!="function")throw new bt(l);return xe(s)&&(f="leading"in s?!!s.leading:f,$="trailing"in s?!!s.trailing:$),kf(r,o,{leading:f,maxWait:o,trailing:$})}function W_(r){return yf(r,1)}function H_(r,o){return Du(_u(o),r)}function q_(){if(!arguments.length)return[];var r=arguments[0];return oe(r)?r:[r]}function K_(r){return wt(r,d)}function V_(r,o){return o=typeof o=="function"?o:i,wt(r,d,o)}function J_(r){return wt(r,_|d)}function Y_(r,o){return o=typeof o=="function"?o:i,wt(r,_|d,o)}function X_(r,o){return o==null||fd(r,o,je(o))}function Ut(r,o){return r===o||r!==r&&o!==o}var Q_=io(uu),e6=io(function(r,o){return r>=o}),Rn=$d((function(){return arguments})())?$d:function(r){return Ae(r)&&ye.call(r,"callee")&&!id.call(r,"callee")},oe=D.isArray,t6=Mc?ct(Mc):l3;function tt(r){return r!=null&&po(r.length)&&!nn(r)}function ze(r){return Ae(r)&&tt(r)}function n6(r){return r===!0||r===!1||Ae(r)&&Ve(r)==Tr}var Sn=g$||Hu,r6=jc?ct(jc):c3;function i6(r){return Ae(r)&&r.nodeType===1&&!Qr(r)}function o6(r){if(r==null)return!0;if(tt(r)&&(oe(r)||typeof r=="string"||typeof r.splice=="function"||Sn(r)||dr(r)||Rn(r)))return!r.length;var o=qe(r);if(o==Tt||o==Ct)return!r.size;if(Yr(r))return!cu(r).length;for(var s in r)if(ye.call(r,s))return!1;return!0}function a6(r,o){return Kr(r,o)}function u6(r,o,s){s=typeof s=="function"?s:i;var f=s?s(r,o):i;return f===i?Kr(r,o,i,s):!!f}function Uu(r){if(!Ae(r))return!1;var o=Ve(r);return o==ki||o==Ag||typeof r.message=="string"&&typeof r.name=="string"&&!Qr(r)}function s6(r){return typeof r=="number"&&ad(r)}function nn(r){if(!xe(r))return!1;var o=Ve(r);return o==Oi||o==hc||o==xg||o==Tg}function Ef(r){return typeof r=="number"&&r==ae(r)}function po(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Pt}function xe(r){var o=typeof r;return r!=null&&(o=="object"||o=="function")}function Ae(r){return r!=null&&typeof r=="object"}var Nf=Fc?ct(Fc):f3;function l6(r,o){return r===o||lu(r,o,Ou(o))}function c6(r,o,s){return s=typeof s=="function"?s:i,lu(r,o,Ou(o),s)}function d6(r){return xf(r)&&r!=+r}function f6(r){if(V3(r))throw new re(a);return _d(r)}function h6(r){return r===null}function p6(r){return r==null}function xf(r){return typeof r=="number"||Ae(r)&&Ve(r)==zr}function Qr(r){if(!Ae(r)||Ve(r)!=Vt)return!1;var o=ji(r);if(o===null)return!0;var s=ye.call(o,"constructor")&&o.constructor;return typeof s=="function"&&s instanceof s&&Ui.call(s)==c$}var Ru=Zc?ct(Zc):h3;function m6(r){return Ef(r)&&r>=-Pt&&r<=Pt}var Af=Bc?ct(Bc):p3;function mo(r){return typeof r=="string"||!oe(r)&&Ae(r)&&Ve(r)==Ur}function ft(r){return typeof r=="symbol"||Ae(r)&&Ve(r)==Ei}var dr=Gc?ct(Gc):m3;function g6(r){return r===i}function v6(r){return Ae(r)&&qe(r)==Rr}function $6(r){return Ae(r)&&Ve(r)==zg}var _6=io(du),y6=io(function(r,o){return r<=o});function Pf(r){if(!r)return[];if(tt(r))return mo(r)?zt(r):et(r);if(jr&&r[jr])return Xv(r[jr]());var o=qe(r),s=o==Tt?Xa:o==Ct?Ci:fr;return s(r)}function rn(r){if(!r)return r===0?r:0;if(r=Ot(r),r===Ze||r===-Ze){var o=r<0?-1:1;return o*kg}return r===r?r:0}function ae(r){var o=rn(r),s=o%1;return o===o?s?o-s:o:0}function Tf(r){return r?Cn(ae(r),0,Gt):0}function Ot(r){if(typeof r=="number")return r;if(ft(r))return wi;if(xe(r)){var o=typeof r.valueOf=="function"?r.valueOf():r;r=xe(o)?o+"":o}if(typeof r!="string")return r===0?r:+r;r=Jc(r);var s=tv.test(r);return s||rv.test(r)?Dv(r.slice(2),s?2:8):ev.test(r)?wi:+r}function Cf(r){return Ht(r,nt(r))}function b6(r){return r?Cn(ae(r),-Pt,Pt):r===0?r:0}function _e(r){return r==null?"":dt(r)}var S6=sr(function(r,o){if(Yr(o)||tt(o)){Ht(o,je(o),r);return}for(var s in o)ye.call(o,s)&&Wr(r,s,o[s])}),zf=sr(function(r,o){Ht(o,nt(o),r)}),go=sr(function(r,o,s,f){Ht(o,nt(o),r,f)}),w6=sr(function(r,o,s,f){Ht(o,je(o),r,f)}),I6=en(iu);function k6(r,o){var s=ur(r);return o==null?s:dd(s,o)}var O6=le(function(r,o){r=be(r);var s=-1,f=o.length,$=f>2?o[2]:i;for($&&Je(o[0],o[1],$)&&(f=1);++s<f;)for(var w=o[s],E=nt(w),x=-1,T=E.length;++x<T;){var M=E[x],j=r[M];(j===i||Ut(j,ir[M])&&!ye.call(r,M))&&(r[M]=w[M])}return r}),E6=le(function(r){return r.push(i,Jd),lt(Df,i,r)});function N6(r,o){return Hc(r,X(o,3),Wt)}function x6(r,o){return Hc(r,X(o,3),au)}function A6(r,o){return r==null?r:ou(r,X(o,3),nt)}function P6(r,o){return r==null?r:gd(r,X(o,3),nt)}function T6(r,o){return r&&Wt(r,X(o,3))}function C6(r,o){return r&&au(r,X(o,3))}function z6(r){return r==null?[]:Ji(r,je(r))}function D6(r){return r==null?[]:Ji(r,nt(r))}function Lu(r,o,s){var f=r==null?i:zn(r,o);return f===i?s:f}function U6(r,o){return r!=null&&Qd(r,o,o3)}function Mu(r,o){return r!=null&&Qd(r,o,a3)}var R6=Wd(function(r,o,s){o!=null&&typeof o.toString!="function"&&(o=Ri.call(o)),r[o]=s},Fu(rt)),L6=Wd(function(r,o,s){o!=null&&typeof o.toString!="function"&&(o=Ri.call(o)),ye.call(r,o)?r[o].push(s):r[o]=[s]},X),M6=le(qr);function je(r){return tt(r)?ld(r):cu(r)}function nt(r){return tt(r)?ld(r,!0):g3(r)}function j6(r,o){var s={};return o=X(o,3),Wt(r,function(f,$,w){Xt(s,o(f,$,w),f)}),s}function F6(r,o){var s={};return o=X(o,3),Wt(r,function(f,$,w){Xt(s,$,o(f,$,w))}),s}var Z6=sr(function(r,o,s){Yi(r,o,s)}),Df=sr(function(r,o,s,f){Yi(r,o,s,f)}),B6=en(function(r,o){var s={};if(r==null)return s;var f=!1;o=Ne(o,function(w){return w=yn(w,r),f||(f=w.length>1),w}),Ht(r,Iu(r),s),f&&(s=wt(s,_|h|d,R3));for(var $=o.length;$--;)gu(s,o[$]);return s});function G6(r,o){return Uf(r,ho(X(o)))}var W6=en(function(r,o){return r==null?{}:$3(r,o)});function Uf(r,o){if(r==null)return{};var s=Ne(Iu(r),function(f){return[f]});return o=X(o),Od(r,s,function(f,$){return o(f,$[0])})}function H6(r,o,s){o=yn(o,r);var f=-1,$=o.length;for($||($=1,r=i);++f<$;){var w=r==null?i:r[qt(o[f])];w===i&&(f=$,w=s),r=nn(w)?w.call(r):w}return r}function q6(r,o,s){return r==null?r:Vr(r,o,s)}function K6(r,o,s,f){return f=typeof f=="function"?f:i,r==null?r:Vr(r,o,s,f)}var Rf=Kd(je),Lf=Kd(nt);function V6(r,o,s){var f=oe(r),$=f||Sn(r)||dr(r);if(o=X(o,4),s==null){var w=r&&r.constructor;$?s=f?new w:[]:xe(r)?s=nn(w)?ur(ji(r)):{}:s={}}return($?yt:Wt)(r,function(E,x,T){return o(s,E,x,T)}),s}function J6(r,o){return r==null?!0:gu(r,o)}function Y6(r,o,s){return r==null?r:Pd(r,o,_u(s))}function X6(r,o,s,f){return f=typeof f=="function"?f:i,r==null?r:Pd(r,o,_u(s),f)}function fr(r){return r==null?[]:Ya(r,je(r))}function Q6(r){return r==null?[]:Ya(r,nt(r))}function e8(r,o,s){return s===i&&(s=o,o=i),s!==i&&(s=Ot(s),s=s===s?s:0),o!==i&&(o=Ot(o),o=o===o?o:0),Cn(Ot(r),o,s)}function t8(r,o,s){return o=rn(o),s===i?(s=o,o=0):s=rn(s),r=Ot(r),u3(r,o,s)}function n8(r,o,s){if(s&&typeof s!="boolean"&&Je(r,o,s)&&(o=s=i),s===i&&(typeof o=="boolean"?(s=o,o=i):typeof r=="boolean"&&(s=r,r=i)),r===i&&o===i?(r=0,o=1):(r=rn(r),o===i?(o=r,r=0):o=rn(o)),r>o){var f=r;r=o,o=f}if(s||r%1||o%1){var $=ud();return He(r+$*(o-r+zv("1e-"+(($+"").length-1))),o)}return hu(r,o)}var r8=lr(function(r,o,s){return o=o.toLowerCase(),r+(s?Mf(o):o)});function Mf(r){return ju(_e(r).toLowerCase())}function jf(r){return r=_e(r),r&&r.replace(ov,qv).replace(Iv,"")}function i8(r,o,s){r=_e(r),o=dt(o);var f=r.length;s=s===i?f:Cn(ae(s),0,f);var $=s;return s-=o.length,s>=0&&r.slice(s,$)==o}function o8(r){return r=_e(r),r&&Mg.test(r)?r.replace(gc,Kv):r}function a8(r){return r=_e(r),r&&Wg.test(r)?r.replace(Da,"\\$&"):r}var u8=lr(function(r,o,s){return r+(s?"-":"")+o.toLowerCase()}),s8=lr(function(r,o,s){return r+(s?" ":"")+o.toLowerCase()}),l8=Zd("toLowerCase");function c8(r,o,s){r=_e(r),o=ae(o);var f=o?nr(r):0;if(!o||f>=o)return r;var $=(o-f)/2;return ro(Gi($),s)+r+ro(Bi($),s)}function d8(r,o,s){r=_e(r),o=ae(o);var f=o?nr(r):0;return o&&f<o?r+ro(o-f,s):r}function f8(r,o,s){r=_e(r),o=ae(o);var f=o?nr(r):0;return o&&f<o?ro(o-f,s)+r:r}function h8(r,o,s){return s||o==null?o=0:o&&(o=+o),y$(_e(r).replace(Ua,""),o||0)}function p8(r,o,s){return(s?Je(r,o,s):o===i)?o=1:o=ae(o),pu(_e(r),o)}function m8(){var r=arguments,o=_e(r[0]);return r.length<3?o:o.replace(r[1],r[2])}var g8=lr(function(r,o,s){return r+(s?"_":"")+o.toLowerCase()});function v8(r,o,s){return s&&typeof s!="number"&&Je(r,o,s)&&(o=s=i),s=s===i?Gt:s>>>0,s?(r=_e(r),r&&(typeof o=="string"||o!=null&&!Ru(o))&&(o=dt(o),!o&&tr(r))?bn(zt(r),0,s):r.split(o,s)):[]}var $8=lr(function(r,o,s){return r+(s?" ":"")+ju(o)});function _8(r,o,s){return r=_e(r),s=s==null?0:Cn(ae(s),0,r.length),o=dt(o),r.slice(s,s+o.length)==o}function y8(r,o,s){var f=S.templateSettings;s&&Je(r,o,s)&&(o=i),r=_e(r),o=go({},o,f,Vd);var $=go({},o.imports,f.imports,Vd),w=je($),E=Ya($,w),x,T,M=0,j=o.interpolate||Ni,Z="__p += '",G=Qa((o.escape||Ni).source+"|"+j.source+"|"+(j===vc?Qg:Ni).source+"|"+(o.evaluate||Ni).source+"|$","g"),Y="//# sourceURL="+(ye.call(o,"sourceURL")?(o.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xv+"]")+`
|
|
5
|
+
`;r.replace(G,function(ee,ce,pe,ht,Ye,pt){return pe||(pe=ht),Z+=r.slice(M,pt).replace(av,Vv),ce&&(x=!0,Z+=`' +
|
|
6
6
|
__e(`+ce+`) +
|
|
7
|
-
'`),
|
|
8
|
-
`+
|
|
9
|
-
__p += '`),pe&&(
|
|
7
|
+
'`),Ye&&(T=!0,Z+=`';
|
|
8
|
+
`+Ye+`;
|
|
9
|
+
__p += '`),pe&&(Z+=`' +
|
|
10
10
|
((__t = (`+pe+`)) == null ? '' : __t) +
|
|
11
|
-
'`),
|
|
12
|
-
`;var
|
|
13
|
-
`+
|
|
11
|
+
'`),M=pt+ee.length,ee}),Z+=`';
|
|
12
|
+
`;var Q=ye.call(o,"variable")&&o.variable;if(!Q)Z=`with (obj) {
|
|
13
|
+
`+Z+`
|
|
14
14
|
}
|
|
15
|
-
`;else if(
|
|
16
|
-
`+(
|
|
17
|
-
`)+"var __t, __p = ''"+(
|
|
15
|
+
`;else if(Yg.test(Q))throw new re(p);Z=(T?Z.replace(Dg,""):Z).replace(Ug,"$1").replace(Rg,"$1;"),Z="function("+(Q||"obj")+`) {
|
|
16
|
+
`+(Q?"":`obj || (obj = {});
|
|
17
|
+
`)+"var __t, __p = ''"+(x?", __e = _.escape":"")+(T?`, __j = Array.prototype.join;
|
|
18
18
|
function print() { __p += __j.call(arguments, '') }
|
|
19
19
|
`:`;
|
|
20
|
-
`)+
|
|
21
|
-
}`;var ue=Ff(function(){return $e(w,V+"return "+F).apply(i,O)});if(ue.source=F,Du(ue))throw ue;return ue}function _8(r){return _e(r).toLowerCase()}function y8(r){return _e(r).toUpperCase()}function b8(r,o,s){if(r=_e(r),r&&(s||o===i))return Jc(r);if(!r||!(o=ct(o)))return r;var f=Ct(r),$=Ct(o),w=Vc(f,$),O=Yc(f,$)+1;return yn(f,w,O).join("")}function S8(r,o,s){if(r=_e(r),r&&(s||o===i))return r.slice(0,Qc(r)+1);if(!r||!(o=ct(o)))return r;var f=Ct(r),$=Yc(f,Ct(o))+1;return yn(f,0,$).join("")}function w8(r,o,s){if(r=_e(r),r&&(s||o===i))return r.replace(Da,"");if(!r||!(o=ct(o)))return r;var f=Ct(r),$=Vc(f,Ct(o));return yn(f,$).join("")}function k8(r,o){var s=te,f=q;if(Ae(o)){var $="separator"in o?o.separator:$;s="length"in o?ae(o.length):s,f="omission"in o?ct(o.omission):f}r=_e(r);var w=r.length;if(er(r)){var O=Ct(r);w=O.length}if(s>=w)return r;var A=s-tr(f);if(A<1)return f;var T=O?yn(O,0,A).join(""):r.slice(0,A);if($===i)return T+f;if(O&&(A+=T.length-A),Uu($)){if(r.slice(A).search($)){var L,M=T;for($.global||($=Xa($.source,_e(vc.exec($))+"g")),$.lastIndex=0;L=$.exec(M);)var F=L.index;T=T.slice(0,F===i?A:F)}}else if(r.indexOf(ct($),A)!=A){var B=T.lastIndexOf($);B>-1&&(T=T.slice(0,B))}return T+f}function I8(r){return r=_e(r),r&&Ug.test(r)?r.replace(pc,e$):r}var x8=sr(function(r,o,s){return r+(s?" ":"")+o.toUpperCase()}),Mu=Fd("toUpperCase");function jf(r,o,s){return r=_e(r),o=s?i:o,o===i?Jv(r)?r$(r):jv(r):r.match(o)||[]}var Ff=le(function(r,o){try{return st(r,i,o)}catch(s){return Du(s)?s:new re(s)}}),O8=Qt(function(r,o){return _t(o,function(s){s=Ht(s),Yt(r,s,Cu(r[s],r))}),r});function E8(r){var o=r==null?0:r.length,s=Y();return r=o?Ee(r,function(f){if(typeof f[1]!="function")throw new yt(l);return[s(f[0]),f[1]]}):[],le(function(f){for(var $=-1;++$<o;){var w=r[$];if(st(w[0],this,f))return st(w[1],this,f)}})}function A8(r){return e3(St(r,_))}function ju(r){return function(){return r}}function N8(r,o){return r==null||r!==r?o:r}var P8=Bd(),T8=Bd(!0);function nt(r){return r}function Fu(r){return _d(typeof r=="function"?r:St(r,_))}function C8(r){return bd(St(r,_))}function z8(r,o){return Sd(r,St(o,_))}var D8=le(function(r,o){return function(s){return Hr(s,r,o)}}),U8=le(function(r,o){return function(s){return Hr(r,s,o)}});function Zu(r,o,s){var f=je(o),$=Ji(o,f);s==null&&!(Ae(o)&&($.length||!f.length))&&(s=o,o=r,r=this,$=Ji(o,je(o)));var w=!(Ae(s)&&"chain"in s)||!!s.chain,O=tn(r);return _t($,function(A){var T=o[A];r[A]=T,O&&(r.prototype[A]=function(){var L=this.__chain__;if(w||L){var M=r(this.__wrapped__),F=M.__actions__=Qe(this.__actions__);return F.push({func:T,args:arguments,thisArg:r}),M.__chain__=L,M}return T.apply(r,pn([this.value()],arguments))})}),r}function R8(){return Ze._===this&&(Ze._=l$),this}function Bu(){}function L8(r){return r=ae(r),le(function(o){return wd(o,r)})}var M8=yu(Ee),j8=yu(Gc),F8=yu(Wa);function Zf(r){return Ou(r)?Ha(Ht(r)):v3(r)}function Z8(r){return function(o){return r==null?i:Cn(r,o)}}var B8=Wd(),G8=Wd(!0);function Gu(){return[]}function Wu(){return!1}function W8(){return{}}function H8(){return""}function q8(){return!0}function K8(r,o){if(r=ae(r),r<1||r>Nt)return[];var s=Bt,f=We(r,Bt);o=Y(o),r-=Bt;for(var $=Ja(f,o);++s<r;)o(s);return $}function J8(r){return oe(r)?Ee(r,Ht):dt(r)?[r]:Qe(sf(_e(r)))}function V8(r){var o=++u$;return _e(r)+o}var Y8=to(function(r,o){return r+o},0),X8=bu("ceil"),Q8=to(function(r,o){return r/o},1),e9=bu("floor");function t9(r){return r&&r.length?Ki(r,nt,au):i}function n9(r,o){return r&&r.length?Ki(r,Y(o,2),au):i}function r9(r){return qc(r,nt)}function i9(r,o){return qc(r,Y(o,2))}function o9(r){return r&&r.length?Ki(r,nt,cu):i}function a9(r,o){return r&&r.length?Ki(r,Y(o,2),cu):i}var u9=to(function(r,o){return r*o},1),s9=bu("round"),l9=to(function(r,o){return r-o},0);function c9(r){return r&&r.length?Ka(r,nt):0}function d9(r,o){return r&&r.length?Ka(r,Y(o,2)):0}return S.after=C_,S.ary=_f,S.assign=y6,S.assignIn=Cf,S.assignInWith=mo,S.assignWith=b6,S.at=S6,S.before=yf,S.bind=Cu,S.bindAll=O8,S.bindKey=bf,S.castArray=W_,S.chain=gf,S.chunk=e4,S.compact=t4,S.concat=n4,S.cond=E8,S.conforms=A8,S.constant=ju,S.countBy=c_,S.create=w6,S.curry=Sf,S.curryRight=wf,S.debounce=kf,S.defaults=k6,S.defaultsDeep=I6,S.defer=z_,S.delay=D_,S.difference=r4,S.differenceBy=i4,S.differenceWith=o4,S.drop=a4,S.dropRight=u4,S.dropRightWhile=s4,S.dropWhile=l4,S.fill=c4,S.filter=f_,S.flatMap=m_,S.flatMapDeep=g_,S.flatMapDepth=v_,S.flatten=ff,S.flattenDeep=d4,S.flattenDepth=f4,S.flip=U_,S.flow=P8,S.flowRight=T8,S.fromPairs=h4,S.functions=T6,S.functionsIn=C6,S.groupBy=$_,S.initial=m4,S.intersection=g4,S.intersectionBy=v4,S.intersectionWith=$4,S.invert=D6,S.invertBy=U6,S.invokeMap=y_,S.iteratee=Fu,S.keyBy=b_,S.keys=je,S.keysIn=tt,S.map=so,S.mapKeys=L6,S.mapValues=M6,S.matches=C8,S.matchesProperty=z8,S.memoize=co,S.merge=j6,S.mergeWith=zf,S.method=D8,S.methodOf=U8,S.mixin=Zu,S.negate=fo,S.nthArg=L8,S.omit=F6,S.omitBy=Z6,S.once=R_,S.orderBy=S_,S.over=M8,S.overArgs=L_,S.overEvery=j8,S.overSome=F8,S.partial=zu,S.partialRight=If,S.partition=w_,S.pick=B6,S.pickBy=Df,S.property=Zf,S.propertyOf=Z8,S.pull=S4,S.pullAll=pf,S.pullAllBy=w4,S.pullAllWith=k4,S.pullAt=I4,S.range=B8,S.rangeRight=G8,S.rearg=M_,S.reject=x_,S.remove=x4,S.rest=j_,S.reverse=Pu,S.sampleSize=E_,S.set=W6,S.setWith=H6,S.shuffle=A_,S.slice=O4,S.sortBy=T_,S.sortedUniq=z4,S.sortedUniqBy=D4,S.split=m8,S.spread=F_,S.tail=U4,S.take=R4,S.takeRight=L4,S.takeRightWhile=M4,S.takeWhile=j4,S.tap=t_,S.throttle=Z_,S.thru=uo,S.toArray=Nf,S.toPairs=Uf,S.toPairsIn=Rf,S.toPath=J8,S.toPlainObject=Tf,S.transform=q6,S.unary=B_,S.union=F4,S.unionBy=Z4,S.unionWith=B4,S.uniq=G4,S.uniqBy=W4,S.uniqWith=H4,S.unset=K6,S.unzip=Tu,S.unzipWith=mf,S.update=J6,S.updateWith=V6,S.values=dr,S.valuesIn=Y6,S.without=q4,S.words=jf,S.wrap=G_,S.xor=K4,S.xorBy=J4,S.xorWith=V4,S.zip=Y4,S.zipObject=X4,S.zipObjectDeep=Q4,S.zipWith=e_,S.entries=Uf,S.entriesIn=Rf,S.extend=Cf,S.extendWith=mo,Zu(S,S),S.add=Y8,S.attempt=Ff,S.camelCase=t8,S.capitalize=Lf,S.ceil=X8,S.clamp=X6,S.clone=H_,S.cloneDeep=K_,S.cloneDeepWith=J_,S.cloneWith=q_,S.conformsTo=V_,S.deburr=Mf,S.defaultTo=N8,S.divide=Q8,S.endsWith=n8,S.eq=Dt,S.escape=r8,S.escapeRegExp=i8,S.every=d_,S.find=h_,S.findIndex=cf,S.findKey=x6,S.findLast=p_,S.findLastIndex=df,S.findLastKey=O6,S.floor=e9,S.forEach=vf,S.forEachRight=$f,S.forIn=E6,S.forInRight=A6,S.forOwn=N6,S.forOwnRight=P6,S.get=Ru,S.gt=Y_,S.gte=X_,S.has=z6,S.hasIn=Lu,S.head=hf,S.identity=nt,S.includes=__,S.indexOf=p4,S.inRange=Q6,S.invoke=R6,S.isArguments=Un,S.isArray=oe,S.isArrayBuffer=Q_,S.isArrayLike=et,S.isArrayLikeObject=ze,S.isBoolean=e6,S.isBuffer=bn,S.isDate=t6,S.isElement=n6,S.isEmpty=r6,S.isEqual=i6,S.isEqualWith=o6,S.isError=Du,S.isFinite=a6,S.isFunction=tn,S.isInteger=xf,S.isLength=ho,S.isMap=Of,S.isMatch=u6,S.isMatchWith=s6,S.isNaN=l6,S.isNative=c6,S.isNil=f6,S.isNull=d6,S.isNumber=Ef,S.isObject=Ae,S.isObjectLike=Ne,S.isPlainObject=Xr,S.isRegExp=Uu,S.isSafeInteger=h6,S.isSet=Af,S.isString=po,S.isSymbol=dt,S.isTypedArray=cr,S.isUndefined=p6,S.isWeakMap=m6,S.isWeakSet=g6,S.join=_4,S.kebabCase=o8,S.last=kt,S.lastIndexOf=y4,S.lowerCase=a8,S.lowerFirst=u8,S.lt=v6,S.lte=$6,S.max=t9,S.maxBy=n9,S.mean=r9,S.meanBy=i9,S.min=o9,S.minBy=a9,S.stubArray=Gu,S.stubFalse=Wu,S.stubObject=W8,S.stubString=H8,S.stubTrue=q8,S.multiply=u9,S.nth=b4,S.noConflict=R8,S.noop=Bu,S.now=lo,S.pad=s8,S.padEnd=l8,S.padStart=c8,S.parseInt=d8,S.random=e8,S.reduce=k_,S.reduceRight=I_,S.repeat=f8,S.replace=h8,S.result=G6,S.round=s9,S.runInContext=N,S.sample=O_,S.size=N_,S.snakeCase=p8,S.some=P_,S.sortedIndex=E4,S.sortedIndexBy=A4,S.sortedIndexOf=N4,S.sortedLastIndex=P4,S.sortedLastIndexBy=T4,S.sortedLastIndexOf=C4,S.startCase=g8,S.startsWith=v8,S.subtract=l9,S.sum=c9,S.sumBy=d9,S.template=$8,S.times=K8,S.toFinite=nn,S.toInteger=ae,S.toLength=Pf,S.toLower=_8,S.toNumber=It,S.toSafeInteger=_6,S.toString=_e,S.toUpper=y8,S.trim=b8,S.trimEnd=S8,S.trimStart=w8,S.truncate=k8,S.unescape=I8,S.uniqueId=V8,S.upperCase=x8,S.upperFirst=Mu,S.each=vf,S.eachRight=$f,S.first=hf,Zu(S,(function(){var r={};return Gt(S,function(o,s){ye.call(S.prototype,s)||(r[s]=o)}),r})(),{chain:!1}),S.VERSION=u,_t(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){S[r].placeholder=S}),_t(["drop","take"],function(r,o){fe.prototype[r]=function(s){s=s===i?1:Re(ae(s),0);var f=this.__filtered__&&!o?new fe(this):this.clone();return f.__filtered__?f.__takeCount__=We(s,f.__takeCount__):f.__views__.push({size:We(s,Bt),type:r+(f.__dir__<0?"Right":"")}),f},fe.prototype[r+"Right"]=function(s){return this.reverse()[r](s).reverse()}}),_t(["filter","map","takeWhile"],function(r,o){var s=o+1,f=s==he||s==Me;fe.prototype[r]=function($){var w=this.clone();return w.__iteratees__.push({iteratee:Y($,3),type:s}),w.__filtered__=w.__filtered__||f,w}}),_t(["head","last"],function(r,o){var s="take"+(o?"Right":"");fe.prototype[r]=function(){return this[s](1).value()[0]}}),_t(["initial","tail"],function(r,o){var s="drop"+(o?"":"Right");fe.prototype[r]=function(){return this.__filtered__?new fe(this):this[s](1)}}),fe.prototype.compact=function(){return this.filter(nt)},fe.prototype.find=function(r){return this.filter(r).head()},fe.prototype.findLast=function(r){return this.reverse().find(r)},fe.prototype.invokeMap=le(function(r,o){return typeof r=="function"?new fe(this):this.map(function(s){return Hr(s,r,o)})}),fe.prototype.reject=function(r){return this.filter(fo(Y(r)))},fe.prototype.slice=function(r,o){r=ae(r);var s=this;return s.__filtered__&&(r>0||o<0)?new fe(s):(r<0?s=s.takeRight(-r):r&&(s=s.drop(r)),o!==i&&(o=ae(o),s=o<0?s.dropRight(-o):s.take(o-r)),s)},fe.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},fe.prototype.toArray=function(){return this.take(Bt)},Gt(fe.prototype,function(r,o){var s=/^(?:filter|find|map|reject)|While$/.test(o),f=/^(?:head|last)$/.test(o),$=S[f?"take"+(o=="last"?"Right":""):o],w=f||/^find/.test(o);$&&(S.prototype[o]=function(){var O=this.__wrapped__,A=f?[1]:arguments,T=O instanceof fe,L=A[0],M=T||oe(O),F=function(ce){var pe=$.apply(S,pn([ce],A));return f&&B?pe[0]:pe};M&&s&&typeof L=="function"&&L.length!=1&&(T=M=!1);var B=this.__chain__,V=!!this.__actions__.length,X=w&&!B,ue=T&&!V;if(!w&&M){O=ue?O:new fe(this);var Q=r.apply(O,A);return Q.__actions__.push({func:uo,args:[F],thisArg:i}),new bt(Q,B)}return X&&ue?r.apply(this,A):(Q=this.thru(F),X?f?Q.value()[0]:Q.value():Q)})}),_t(["pop","push","shift","sort","splice","unshift"],function(r){var o=Ci[r],s=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",f=/^(?:pop|shift)$/.test(r);S.prototype[r]=function(){var $=arguments;if(f&&!this.__chain__){var w=this.value();return o.apply(oe(w)?w:[],$)}return this[s](function(O){return o.apply(oe(O)?O:[],$)})}}),Gt(fe.prototype,function(r,o){var s=S[o];if(s){var f=s.name+"";ye.call(or,f)||(or[f]=[]),or[f].push({name:o,func:s})}}),or[eo(i,k).name]=[{name:"wrapper",func:i}],fe.prototype.clone=I$,fe.prototype.reverse=x$,fe.prototype.value=O$,S.prototype.at=n_,S.prototype.chain=r_,S.prototype.commit=i_,S.prototype.next=o_,S.prototype.plant=u_,S.prototype.reverse=s_,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=l_,S.prototype.first=S.prototype.head,Mr&&(S.prototype[Mr]=a_),S}),nr=i$();En?((En.exports=nr)._=nr,Fa._=nr):Ze._=nr}).call(I9)})(ri,ri.exports)),ri.exports}var O9=x9();const E9=e=>{const n=O9.startCase(e).toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)},Wf=vp.promisify($p.exec),A9=async(e,n)=>{n?.("Enabling corepack");try{await Wf("corepack enable",{cwd:e})}catch(i){console.warn(me.default.yellow("corepack enable failed:"),i.stderr)}n?.("Running yarn install");try{await Wf("yarn install",{cwd:e})}catch(i){console.warn(me.default.yellow("yarn install failed:"),i.stdout)}},Sn=vp.promisify($p.exec),N9=async e=>{try{return await Sn("git rev-parse --is-inside-work-tree",{cwd:e}),!0}catch{}return!1},P9=async e=>{try{return await Sn("hg --cwd . root",{cwd:e}),!0}catch{}return!1},T9=async e=>{try{return await Sn("git config init.defaultBranch",{cwd:e}),!0}catch{}return!1},C9=async e=>{try{if(await Sn("git --version",{cwd:e}),await N9(e)||await P9(e))return!1;await Sn("git init",{cwd:e});try{return await T9(e)||await Sn("git checkout -b main",{cwd:e}),await Sn("git add -A",{cwd:e}),await Sn('git commit -m "Initial commit from Create Twenty App"',{cwd:e}),!0}catch{return ot.rm(Ot.join(e,".git"),{recursive:!0,force:!0}),!1}}catch{return!1}};var Rt={},qu={},Ye={},Hf;function as(){if(Hf)return Ye;Hf=1,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.isSymbol=Ye.isBigInt=Ye.isString=Ye.isNumber=Ye.isBoolean=Ye.isUndefined=void 0;const e=l=>typeof l>"u";Ye.isUndefined=e;const n=l=>typeof l=="boolean";Ye.isBoolean=n;const i=l=>typeof l=="number"&&!Number.isNaN(l);Ye.isNumber=i;const u=l=>typeof l=="string";Ye.isString=u;const t=l=>typeof l=="bigint";Ye.isBigInt=t;const a=l=>typeof l=="symbol";return Ye.isSymbol=a,Ye}var Ku={},qf;function us(){return qf||(qf=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isDate=e.isWeakSet=e.isWeakMap=e.isSet=e.isMap=e.isArray=e.isObject=e.isFunction=e.isNull=void 0;const n=m=>m===null;e.isNull=n;const i=m=>typeof m=="function";e.isFunction=i;const u=m=>!e.isNull(m)&&typeof m=="object";e.isObject=u;const t=m=>Array.isArray(m);e.isArray=t;const a=m=>m instanceof Map;e.isMap=a;const l=m=>m instanceof Set;e.isSet=l;const p=m=>m instanceof WeakMap;e.isWeakMap=p;const g=m=>m instanceof WeakSet;e.isWeakSet=g;const v=m=>m instanceof Date;e.isDate=v})(Ku)),Ku}var Kf;function Jf(){return Kf||(Kf=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNegativeInteger=e.isNonNegativeInteger=e.isPositiveInteger=e.isInteger=e.isNumberOrNaN=e.isNonEmptyString=e.isNonEmptyArray=e.isObjectOrNull=void 0;const n=as(),i=us(),u=_=>typeof _=="object";e.isObjectOrNull=u;const t=_=>i.isArray(_)&&_.length>0;e.isNonEmptyArray=t;const a=_=>n.isString(_)&&_.length>0;e.isNonEmptyString=a;const l=_=>typeof _=="number";e.isNumberOrNaN=l;const p=_=>n.isNumber(_)&&Number.isInteger(_);e.isInteger=p;const g=_=>e.isInteger(_)&&_>0;e.isPositiveInteger=g;const v=_=>e.isInteger(_)&&_>=0;e.isNonNegativeInteger=v;const m=_=>e.isInteger(_)&&_<0;e.isNegativeInteger=m})(qu)),qu}var Vf;function z9(){return Vf||(Vf=1,(function(e){var n=Rt&&Rt.__createBinding||(Object.create?(function(a,l,p,g){g===void 0&&(g=p),Object.defineProperty(a,g,{enumerable:!0,get:function(){return l[p]}})}):(function(a,l,p,g){g===void 0&&(g=p),a[g]=l[p]})),i=Rt&&Rt.__setModuleDefault||(Object.create?(function(a,l){Object.defineProperty(a,"default",{enumerable:!0,value:l})}):function(a,l){a.default=l}),u=Rt&&Rt.__importStar||function(a){if(a&&a.__esModule)return a;var l={};if(a!=null)for(var p in a)p!=="default"&&Object.prototype.hasOwnProperty.call(a,p)&&n(l,a,p);return i(l,a),l},t=Rt&&Rt.__exportStar||function(a,l){for(var p in a)p!=="default"&&!Object.prototype.hasOwnProperty.call(l,p)&&n(l,a,p)};Object.defineProperty(e,"__esModule",{value:!0}),e.structural=e.primitives=e.convenience=void 0,e.convenience=u(Jf()),t(Jf(),e),e.primitives=u(as()),t(as(),e),e.structural=u(us()),t(us(),e)})(Rt)),Rt}var sn=z9();const kn=e=>!sn.isUndefined(e)&&!sn.isNull(e);var xt="INUMBER",Ir="IOP1",xr="IOP2",Or="IOP3",ln="IVAR",Fn="IVARNAME",vr="IFUNCALL",na="IFUNDEF",at="IEXPR",_s="IEXPREVAL",Wn="IMEMBER",ra="IENDSTATEMENT",$r="IARRAY";function ge(e,n){this.type=e,this.value=n??0}ge.prototype.toString=function(){switch(this.type){case xt:case Ir:case xr:case Or:case ln:case Fn:case ra:return this.value;case vr:return"CALL "+this.value;case na:return"DEF "+this.value;case $r:return"ARRAY "+this.value;case Wn:return"."+this.value;default:return"Invalid Instruction"}};function ia(e){return new ge(Ir,e)}function dn(e){return new ge(xr,e)}function bp(e){return new ge(Or,e)}function ss(e,n,i,u,t){for(var a=[],l=[],p,g,v,m,_=0;_<e.length;_++){var h=e[_],d=h.type;if(d===xt||d===Fn)Array.isArray(h.value)?a.push.apply(a,ss(h.value.map(function(c){return new ge(xt,c)}).concat(new ge($r,h.value.length)),n,i,u,t)):a.push(h);else if(d===ln&&Object.hasOwn(t,h.value))h=new ge(xt,t[h.value]),a.push(h);else if(d===xr&&a.length>1)g=a.pop(),p=a.pop(),m=i[h.value],h=new ge(xt,m(p.value,g.value)),a.push(h);else if(d===Or&&a.length>2)v=a.pop(),g=a.pop(),p=a.pop(),h.value==="?"?a.push(p.value?g.value:v.value):(m=u[h.value],h=new ge(xt,m(p.value,g.value,v.value)),a.push(h));else if(d===Ir&&a.length>0)p=a.pop(),m=n[h.value],h=new ge(xt,m(p.value)),a.push(h);else if(d===at){for(;a.length>0;)l.push(a.shift());l.push(new ge(at,ss(h.value,n,i,u,t)))}else if(d===Wn&&a.length>0)p=a.pop(),a.push(new ge(xt,p.value[h.value]));else{for(;a.length>0;)l.push(a.shift());l.push(h)}}for(;a.length>0;)l.push(a.shift());return l}function Sp(e,n,i){for(var u=[],t=0;t<e.length;t++){var a=e[t],l=a.type;if(l===ln&&a.value===n)for(var p=0;p<i.tokens.length;p++){var g=i.tokens[p],v;g.type===Ir?v=ia(g.value):g.type===xr?v=dn(g.value):g.type===Or?v=bp(g.value):v=new ge(g.type,g.value),u.push(v)}else l===at?u.push(new ge(at,Sp(a.value,n,i))):u.push(a)}return u}function Ju(e,n,i){if(Object.values(n.functions).includes(e))return!0;for(const t of Object.values(i))if(typeof t=="object"&&t!==null){for(const a of Object.values(t))if(a===e){const l=Object.freeze({abs:Math.abs,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:Math.atan2,ceil:Math.ceil,clz32:Math.clz32,cos:Math.cos,exp:Math.exp,floor:Math.floor,imul:Math.imul,fround:Math.fround,f16round:Math.f16round,log:Math.log,max:Math.max,min:Math.min,pow:Math.pow,random:Math.random,round:Math.round,sin:Math.sin,sqrt:Math.sqrt,tan:Math.tan,log10:Math.log10,log2:Math.log2,log1p:Math.log1p,expm1:Math.expm1,cosh:Math.cosh,sinh:Math.sinh,tanh:Math.tanh,acosh:Math.acosh,asinh:Math.asinh,atanh:Math.atanh,hypot:Math.hypot,trunc:Math.trunc,sign:Math.sign,cbrt:Math.cbrt});for(var u of Object.getOwnPropertyNames(l))if(l[u]===a)return!0;return Object.values(n.functions).includes(a)}}return!1}function Rn(e,n,i){var u=[],t,a,l,p,g,v;if(ys(e))return on(e,i);for(var m=e.length,_=0;_<m;_++){var h=e[_],d=h.type;if(d===xt||d===Fn)u.push(h.value);else if(d===xr)a=u.pop(),t=u.pop(),h.value==="and"?u.push(t?!!Rn(a,n,i):!1):h.value==="or"?u.push(t?!0:!!Rn(a,n,i)):h.value==="="?(p=n.binaryOps[h.value],u.push(p(t,Rn(a,n,i),i))):(p=n.binaryOps[h.value],u.push(p(on(t,i),on(a,i))));else if(d===Or)l=u.pop(),a=u.pop(),t=u.pop(),h.value==="?"?u.push(Rn(t?a:l,n,i)):(p=n.ternaryOps[h.value],u.push(p(on(t,i),on(a,i),on(l,i))));else if(d===ln){if(/^__proto__|prototype|constructor$/.test(h.value))throw new Error("prototype access detected");if(h.value in n.functions)u.push(n.functions[h.value]);else if(h.value in n.unaryOps&&n.parser.isOperatorEnabled(h.value))u.push(n.unaryOps[h.value]);else{var c=i[h.value];if(c!==void 0){if(typeof c=="function"&&!Ju(c,n,i))throw new Error("Variable references an unallowed function: "+h.value);u.push(c)}else throw new Error("undefined variable: "+h.value)}}else if(d===Ir)t=u.pop(),p=n.unaryOps[h.value],u.push(p(on(t,i)));else if(d===vr){for(v=h.value,g=[];v-- >0;)g.unshift(on(u.pop(),i));if(p=u.pop(),!Ju(p,n,i))throw new Error("Is not an allowed function.");if(p.apply&&p.call)u.push(p.apply(void 0,g));else throw new Error(p+" is not a function")}else if(d===na)u.push((function(){for(var y=u.pop(),b=[],k=h.value;k-- >0;)b.unshift(u.pop());var I=u.pop(),P=function(){for(var E=Object.assign({},i),x=0,U=b.length;x<U;x++)E[b[x]]=arguments[x];return Rn(y,n,E)};return n.functions["lambda_"+n.functions.__counter++]=P,i[I]=P,P})());else if(d===at)u.push(D9(h,n));else if(d===_s)u.push(h);else if(d===Wn){if(t=u.pop(),/^__proto__|prototype|constructor$/.test(h.value))throw new Error("prototype access detected in MEMBER");if(typeof t=="object"&&typeof t[h.value]=="function"&&!Ju(t[h.value],n,i))throw new Error("Is not an allowed function in MEMBER.");u.push(t[h.value])}else if(d===ra)u.pop();else if(d===$r){for(v=h.value,g=[];v-- >0;)g.unshift(u.pop());u.push(g)}else throw new Error("invalid Expression")}if(u.length>1)throw new Error("invalid Expression (parity)");return u[0]===0?0:on(u[0],i)}function D9(e,n,i){return ys(e)?e:{type:_s,value:function(u){return Rn(e.value,n,u)}}}function ys(e){return e&&e.type===_s}function on(e,n){return ys(e)?e.value(n):e}function bs(e,n){for(var i=[],u,t,a,l,p,g,v=0;v<e.length;v++){var m=e[v],_=m.type;if(_===xt)typeof m.value=="number"&&m.value<0?i.push("("+m.value+")"):Array.isArray(m.value)?i.push("["+m.value.map(Yf).join(", ")+"]"):i.push(Yf(m.value));else if(_===xr)t=i.pop(),u=i.pop(),l=m.value,n?l==="^"?i.push("Math.pow("+u+", "+t+")"):l==="and"?i.push("(!!"+u+" && !!"+t+")"):l==="or"?i.push("(!!"+u+" || !!"+t+")"):l==="||"?i.push("(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }(("+u+"),("+t+")))"):l==="=="?i.push("("+u+" === "+t+")"):l==="!="?i.push("("+u+" !== "+t+")"):l==="["?i.push(u+"[("+t+") | 0]"):i.push("("+u+" "+l+" "+t+")"):l==="["?i.push(u+"["+t+"]"):i.push("("+u+" "+l+" "+t+")");else if(_===Or)if(a=i.pop(),t=i.pop(),u=i.pop(),l=m.value,l==="?")i.push("("+u+" ? "+t+" : "+a+")");else throw new Error("invalid Expression");else if(_===ln||_===Fn)i.push(m.value);else if(_===Ir)u=i.pop(),l=m.value,l==="-"||l==="+"?i.push("("+l+u+")"):n?l==="not"?i.push("(!"+u+")"):l==="!"?i.push("fac("+u+")"):i.push(l+"("+u+")"):l==="!"?i.push("("+u+"!)"):i.push("("+l+" "+u+")");else if(_===vr){for(g=m.value,p=[];g-- >0;)p.unshift(i.pop());l=i.pop(),i.push(l+"("+p.join(", ")+")")}else if(_===na){for(t=i.pop(),g=m.value,p=[];g-- >0;)p.unshift(i.pop());u=i.pop(),n?i.push("("+u+" = function("+p.join(", ")+") { return "+t+" })"):i.push("("+u+"("+p.join(", ")+") = "+t+")")}else if(_===Wn)u=i.pop(),i.push(u+"."+m.value);else if(_===$r){for(g=m.value,p=[];g-- >0;)p.unshift(i.pop());i.push("["+p.join(", ")+"]")}else if(_===at)i.push("("+bs(m.value,n)+")");else if(_!==ra)throw new Error("invalid Expression")}return i.length>1&&(n?i=[i.join(",")]:i=[i.join(";")]),String(i[0])}function Yf(e){return typeof e=="string"?JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"):e}function mr(e,n){for(var i=0;i<e.length;i++)if(e[i]===n)return!0;return!1}function Ss(e,n,i){i=i||{};for(var u=!!i.withMembers,t=null,a=0;a<e.length;a++){var l=e[a];l.type===ln||l.type===Fn?!u&&!mr(n,l.value)?n.push(l.value):(t!==null&&(mr(n,t)||n.push(t)),t=l.value):l.type===Wn&&u&&t!==null?t+="."+l.value:l.type===at?Ss(l.value,n,i):t!==null&&(mr(n,t)||n.push(t),t=null)}t!==null&&!mr(n,t)&&n.push(t)}function jt(e,n){this.tokens=e,this.parser=n,this.unaryOps=n.unaryOps,this.binaryOps=n.binaryOps,this.ternaryOps=n.ternaryOps,this.functions=n.functions}jt.prototype.simplify=function(e){return e=e||{},new jt(ss(this.tokens,this.unaryOps,this.binaryOps,this.ternaryOps,e),this.parser)};jt.prototype.substitute=function(e,n){return n instanceof jt||(n=this.parser.parse(String(n))),new jt(Sp(this.tokens,e,n),this.parser)};jt.prototype.evaluate=function(e){return e=e||{},Rn(this.tokens,this,e)};jt.prototype.toString=function(){return bs(this.tokens,!1)};jt.prototype.symbols=function(e){e=e||{};var n=[];return Ss(this.tokens,n,e),n};jt.prototype.variables=function(e){e=e||{};var n=[];Ss(this.tokens,n,e);var i=this.functions;return n.filter(function(u){return!(u in i)})};jt.prototype.toJSFunction=function(e,n){var i=this,u=new Function(e,"with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return "+bs(this.simplify(n).tokens,!0)+"; }");return function(){return u.apply(i,arguments)}};var ai="TEOF",we="TOP",oa="TNUMBER",wp="TSTRING",cn="TPAREN",_r="TBRACKET",aa="TCOMMA",ws="TNAME",ks="TSEMICOLON";function kp(e,n,i){this.type=e,this.value=n,this.index=i}kp.prototype.toString=function(){return this.type+": "+this.value};function Pe(e,n){this.pos=0,this.current=null,this.unaryOps=e.unaryOps,this.binaryOps=e.binaryOps,this.ternaryOps=e.ternaryOps,this.consts=e.consts,this.expression=n,this.savedPosition=0,this.savedCurrent=null,this.options=e.options,this.parser=e}Pe.prototype.newToken=function(e,n,i){return new kp(e,n,i??this.pos)};Pe.prototype.save=function(){this.savedPosition=this.pos,this.savedCurrent=this.current};Pe.prototype.restore=function(){this.pos=this.savedPosition,this.current=this.savedCurrent};Pe.prototype.next=function(){if(this.pos>=this.expression.length)return this.newToken(ai,"EOF");if(this.isWhitespace()||this.isComment())return this.next();if(this.isRadixInteger()||this.isNumber()||this.isOperator()||this.isString()||this.isParen()||this.isBracket()||this.isComma()||this.isSemicolon()||this.isNamedOp()||this.isConst()||this.isName())return this.current;this.parseError('Unknown character "'+this.expression.charAt(this.pos)+'"')};Pe.prototype.isString=function(){var e=!1,n=this.pos,i=this.expression.charAt(n);if(i==="'"||i==='"')for(var u=this.expression.indexOf(i,n+1);u>=0&&this.pos<this.expression.length;){if(this.pos=u+1,this.expression.charAt(u-1)!=="\\"){var t=this.expression.substring(n+1,u);this.current=this.newToken(wp,this.unescape(t),n),e=!0;break}u=this.expression.indexOf(i,u+1)}return e};Pe.prototype.isParen=function(){var e=this.expression.charAt(this.pos);return e==="("||e===")"?(this.current=this.newToken(cn,e),this.pos++,!0):!1};Pe.prototype.isBracket=function(){var e=this.expression.charAt(this.pos);return(e==="["||e==="]")&&this.isOperatorEnabled("[")?(this.current=this.newToken(_r,e),this.pos++,!0):!1};Pe.prototype.isComma=function(){var e=this.expression.charAt(this.pos);return e===","?(this.current=this.newToken(aa,","),this.pos++,!0):!1};Pe.prototype.isSemicolon=function(){var e=this.expression.charAt(this.pos);return e===";"?(this.current=this.newToken(ks,";"),this.pos++,!0):!1};Pe.prototype.isConst=function(){for(var e=this.pos,n=e;n<this.expression.length;n++){var i=this.expression.charAt(n);if(i.toUpperCase()===i.toLowerCase()&&(n===this.pos||i!=="_"&&i!=="."&&(i<"0"||i>"9")))break}if(n>e){var u=this.expression.substring(e,n);if(u in this.consts)return this.current=this.newToken(oa,this.consts[u]),this.pos+=u.length,!0}return!1};Pe.prototype.isNamedOp=function(){for(var e=this.pos,n=e;n<this.expression.length;n++){var i=this.expression.charAt(n);if(i.toUpperCase()===i.toLowerCase()&&(n===this.pos||i!=="_"&&(i<"0"||i>"9")))break}if(n>e){var u=this.expression.substring(e,n);if(this.isOperatorEnabled(u)&&(u in this.binaryOps||u in this.unaryOps||u in this.ternaryOps))return this.current=this.newToken(we,u),this.pos+=u.length,!0}return!1};Pe.prototype.isName=function(){for(var e=this.pos,n=e,i=!1;n<this.expression.length;n++){var u=this.expression.charAt(n);if(u.toUpperCase()===u.toLowerCase()){if(n===this.pos&&(u==="$"||u==="_")){u==="_"&&(i=!0);continue}else if(n===this.pos||!i||u!=="_"&&(u<"0"||u>"9"))break}else i=!0}if(i){var t=this.expression.substring(e,n);return this.current=this.newToken(ws,t),this.pos+=t.length,!0}return!1};Pe.prototype.isWhitespace=function(){for(var e=!1,n=this.expression.charAt(this.pos);(n===" "||n===" "||n===`
|
|
22
|
-
`||n==="\r")&&(e=!0,this.pos++,!(this.pos>=this.expression.length));)n=this.expression.charAt(this.pos);return e};var
|
|
23
|
-
`;break;case"r":i+="\r";break;case"t":i+=" ";break;case"u":var t=e.substring(n+1,n+5);
|
|
24
|
-
`,i+1);while(i>=0&&i<this.pos);return{line:e,column:n}};Pe.prototype.parseError=function(e){var n=this.getCoordinates();throw new Error("parse error ["+n.line+":"+n.column+"]: "+e)};function xe(e,n,i){this.parser=e,this.tokens=n,this.current=null,this.nextToken=null,this.next(),this.savedCurrent=null,this.savedNextToken=null,this.allowMemberAccess=i.allowMemberAccess!==!1}xe.prototype.next=function(){return this.current=this.nextToken,this.nextToken=this.tokens.next()};xe.prototype.tokenMatches=function(e,n){return typeof n>"u"?!0:Array.isArray(n)?mr(n,e.value):typeof n=="function"?n(e):e.value===n};xe.prototype.save=function(){this.savedCurrent=this.current,this.savedNextToken=this.nextToken,this.tokens.save()};xe.prototype.restore=function(){this.tokens.restore(),this.current=this.savedCurrent,this.nextToken=this.savedNextToken};xe.prototype.accept=function(e,n){return this.nextToken.type===e&&this.tokenMatches(this.nextToken,n)?(this.next(),!0):!1};xe.prototype.expect=function(e,n){if(!this.accept(e,n)){var i=this.tokens.getCoordinates();throw new Error("parse error ["+i.line+":"+i.column+"]: Expected "+(n||e))}};xe.prototype.parseAtom=function(e){var n=this.tokens.unaryOps;function i(t){return t.value in n}if(this.accept(ws)||this.accept(we,i))e.push(new ge(ln,this.current.value));else if(this.accept(oa))e.push(new ge(xt,this.current.value));else if(this.accept(wp))e.push(new ge(xt,this.current.value));else if(this.accept(cn,"("))this.parseExpression(e),this.expect(cn,")");else if(this.accept(_r,"["))if(this.accept(_r,"]"))e.push(new ge($r,0));else{var u=this.parseArrayList(e);e.push(new ge($r,u))}else throw new Error("unexpected "+this.nextToken)};xe.prototype.parseExpression=function(e){var n=[];this.parseUntilEndStatement(e,n)||(this.parseVariableAssignmentExpression(n),!this.parseUntilEndStatement(e,n)&&this.pushExpression(e,n))};xe.prototype.pushExpression=function(e,n){for(var i=0,u=n.length;i<u;i++)e.push(n[i])};xe.prototype.parseUntilEndStatement=function(e,n){return this.accept(ks)?(this.nextToken&&this.nextToken.type!==ai&&!(this.nextToken.type===cn&&this.nextToken.value===")")&&n.push(new ge(ra)),this.nextToken.type!==ai&&this.parseExpression(n),e.push(new ge(at,n)),!0):!1};xe.prototype.parseArrayList=function(e){for(var n=0;!this.accept(_r,"]");)for(this.parseExpression(e),++n;this.accept(aa);)this.parseExpression(e),++n;return n};xe.prototype.parseVariableAssignmentExpression=function(e){for(this.parseConditionalExpression(e);this.accept(we,"=");){var n=e.pop(),i=[],u=e.length-1;if(n.type===vr){if(!this.tokens.isOperatorEnabled("()="))throw new Error("function definition is not permitted");for(var t=0,a=n.value+1;t<a;t++){var l=u-t;e[l].type===ln&&(e[l]=new ge(Fn,e[l].value))}this.parseVariableAssignmentExpression(i),e.push(new ge(at,i)),e.push(new ge(na,n.value));continue}if(n.type!==ln&&n.type!==Wn)throw new Error("expected variable for assignment");this.parseVariableAssignmentExpression(i),e.push(new ge(Fn,n.value)),e.push(new ge(at,i)),e.push(dn("="))}};xe.prototype.parseConditionalExpression=function(e){for(this.parseOrExpression(e);this.accept(we,"?");){var n=[],i=[];this.parseConditionalExpression(n),this.expect(we,":"),this.parseConditionalExpression(i),e.push(new ge(at,n)),e.push(new ge(at,i)),e.push(bp("?"))}};xe.prototype.parseOrExpression=function(e){for(this.parseAndExpression(e);this.accept(we,"or");){var n=[];this.parseAndExpression(n),e.push(new ge(at,n)),e.push(dn("or"))}};xe.prototype.parseAndExpression=function(e){for(this.parseComparison(e);this.accept(we,"and");){var n=[];this.parseComparison(n),e.push(new ge(at,n)),e.push(dn("and"))}};var R9=["==","!=","<","<=",">=",">","in"];xe.prototype.parseComparison=function(e){for(this.parseAddSub(e);this.accept(we,R9);){var n=this.current;this.parseAddSub(e),e.push(dn(n.value))}};var L9=["+","-","||"];xe.prototype.parseAddSub=function(e){for(this.parseTerm(e);this.accept(we,L9);){var n=this.current;this.parseTerm(e),e.push(dn(n.value))}};var M9=["*","/","%"];xe.prototype.parseTerm=function(e){for(this.parseFactor(e);this.accept(we,M9);){var n=this.current;this.parseFactor(e),e.push(dn(n.value))}};xe.prototype.parseFactor=function(e){var n=this.tokens.unaryOps;function i(t){return t.value in n}if(this.save(),this.accept(we,i)){if(this.current.value!=="-"&&this.current.value!=="+"){if(this.nextToken.type===cn&&this.nextToken.value==="("){this.restore(),this.parseExponential(e);return}else if(this.nextToken.type===ks||this.nextToken.type===aa||this.nextToken.type===ai||this.nextToken.type===cn&&this.nextToken.value===")"){this.restore(),this.parseAtom(e);return}}var u=this.current;this.parseFactor(e),e.push(ia(u.value))}else this.parseExponential(e)};xe.prototype.parseExponential=function(e){for(this.parsePostfixExpression(e);this.accept(we,"^");)this.parseFactor(e),e.push(dn("^"))};xe.prototype.parsePostfixExpression=function(e){for(this.parseFunctionCall(e);this.accept(we,"!");)e.push(ia("!"))};xe.prototype.parseFunctionCall=function(e){var n=this.tokens.unaryOps;function i(a){return a.value in n}if(this.accept(we,i)){var u=this.current;this.parseAtom(e),e.push(ia(u.value))}else for(this.parseMemberExpression(e);this.accept(cn,"(");)if(this.accept(cn,")"))e.push(new ge(vr,0));else{var t=this.parseArgumentList(e);e.push(new ge(vr,t))}};xe.prototype.parseArgumentList=function(e){for(var n=0;!this.accept(cn,")");)for(this.parseExpression(e),++n;this.accept(aa);)this.parseExpression(e),++n;return n};xe.prototype.parseMemberExpression=function(e){for(this.parseAtom(e);this.accept(we,".")||this.accept(_r,"[");){var n=this.current;if(n.value==="."){if(!this.allowMemberAccess)throw new Error('unexpected ".", member access is not permitted');this.expect(ws),e.push(new ge(Wn,this.current.value))}else if(n.value==="["){if(!this.tokens.isOperatorEnabled("["))throw new Error('unexpected "[]", arrays are disabled');this.parseExpression(e),this.expect(_r,"]"),e.push(dn("["))}else throw new Error("unexpected symbol: "+n.value)}};function j9(e,n){return Number(e)+Number(n)}function F9(e,n){return e-n}function Z9(e,n){return e*n}function B9(e,n){return e/n}function G9(e,n){return e%n}function W9(e,n){return Array.isArray(e)&&Array.isArray(n)?e.concat(n):""+e+n}function H9(e,n){return e===n}function q9(e,n){return e!==n}function K9(e,n){return e>n}function J9(e,n){return e<n}function V9(e,n){return e>=n}function Y9(e,n){return e<=n}function X9(e,n){return!!(e&&n)}function Q9(e,n){return!!(e||n)}function ey(e,n){return mr(n,e)}function ty(e){return(Math.exp(e)-Math.exp(-e))/2}function ny(e){return(Math.exp(e)+Math.exp(-e))/2}function ry(e){return e===1/0?1:e===-1/0?-1:(Math.exp(e)-Math.exp(-e))/(Math.exp(e)+Math.exp(-e))}function iy(e){return e===-1/0?e:Math.log(e+Math.sqrt(e*e+1))}function oy(e){return Math.log(e+Math.sqrt(e*e-1))}function ay(e){return Math.log((1+e)/(1-e))/2}function Xf(e){return Math.log(e)*Math.LOG10E}function uy(e){return-e}function sy(e){return!e}function ly(e){return e<0?Math.ceil(e):Math.floor(e)}function cy(e){return Math.random()*(e||1)}function Qf(e){return Is(e+1)}function dy(e){return isFinite(e)&&e===Math.round(e)}var fy=4.7421875,Vu=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];function Is(e){var n,i;if(dy(e)){if(e<=0)return isFinite(e)?1/0:NaN;if(e>171)return 1/0;for(var u=e-2,t=e-1;u>1;)t*=u,u--;return t===0&&(t=1),t}if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*Is(1-e));if(e>=171.35)return 1/0;if(e>85){var a=e*e,l=a*e,p=l*e,g=p*e;return Math.sqrt(2*Math.PI/e)*Math.pow(e/Math.E,e)*(1+1/(12*e)+1/(288*a)-139/(51840*l)-571/(2488320*p)+163879/(209018880*g)+5246819/(75246796800*g*e))}--e,i=Vu[0];for(var v=1;v<Vu.length;++v)i+=Vu[v]/(e+v);return n=e+fy+.5,Math.sqrt(2*Math.PI)*Math.pow(n,e+.5)*Math.exp(-n)*i}function hy(e){return Array.isArray(e)?e.length:String(e).length}function eh(){for(var e=0,n=0,i=0;i<arguments.length;i++){var u=Math.abs(arguments[i]),t;n<u?(t=n/u,e=e*t*t+1,n=u):u>0?(t=u/n,e+=t*t):e+=u}return n===1/0?1/0:n*Math.sqrt(e)}function th(e,n,i){return e?n:i}function py(e,n){return typeof n>"u"||+n==0?Math.round(e):(e=+e,n=-+n,isNaN(e)||!(typeof n=="number"&&n%1===0)?NaN:(e=e.toString().split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]-n:-n))),e=e.toString().split("e"),+(e[0]+"e"+(e[1]?+e[1]+n:n))))}function my(e,n,i){return i&&(i[e]=n),n}function gy(e,n){return e[n|0]}function vy(e){return arguments.length===1&&Array.isArray(e)?Math.max.apply(Math,e):Math.max.apply(Math,arguments)}function $y(e){return arguments.length===1&&Array.isArray(e)?Math.min.apply(Math,e):Math.min.apply(Math,arguments)}function _y(e,n){if(typeof e!="function")throw new Error("First argument to map is not a function");if(!Array.isArray(n))throw new Error("Second argument to map is not an array");return n.map(function(i,u){return e(i,u)})}function yy(e,n,i){if(typeof e!="function")throw new Error("First argument to fold is not a function");if(!Array.isArray(i))throw new Error("Second argument to fold is not an array");return i.reduce(function(u,t,a){return e(u,t,a)},n)}function by(e,n){if(typeof e!="function")throw new Error("First argument to filter is not a function");if(!Array.isArray(n))throw new Error("Second argument to filter is not an array");return n.filter(function(i,u){return e(i,u)})}function Sy(e,n){if(!(Array.isArray(n)||typeof n=="string"))throw new Error("Second argument to indexOf is not a string or array");return n.indexOf(e)}function wy(e,n){if(!Array.isArray(n))throw new Error("Second argument to join is not an array");return n.join(e)}function ky(e){return(e>0)-(e<0)||+e}var nh=1/3;function Iy(e){return e<0?-Math.pow(-e,nh):Math.pow(e,nh)}function xy(e){return Math.exp(e)-1}function Oy(e){return Math.log(1+e)}function Ey(e){return Math.log(e)/Math.LN2}function Ay(e){if(!Array.isArray(e))throw new Error("Sum argument is not an array");return e.reduce(function(n,i){return n+Number(i)},0)}function Hn(e){this.options=e||{},this.unaryOps={sin:Math.sin,cos:Math.cos,tan:Math.tan,asin:Math.asin,acos:Math.acos,atan:Math.atan,sinh:Math.sinh||ty,cosh:Math.cosh||ny,tanh:Math.tanh||ry,asinh:Math.asinh||iy,acosh:Math.acosh||oy,atanh:Math.atanh||ay,sqrt:Math.sqrt,cbrt:Math.cbrt||Iy,log:Math.log,log2:Math.log2||Ey,ln:Math.log,lg:Math.log10||Xf,log10:Math.log10||Xf,expm1:Math.expm1||xy,log1p:Math.log1p||Oy,abs:Math.abs,ceil:Math.ceil,floor:Math.floor,round:Math.round,trunc:Math.trunc||ly,"-":uy,"+":Number,exp:Math.exp,not:sy,length:hy,"!":Qf,sign:Math.sign||ky},this.binaryOps={"+":j9,"-":F9,"*":Z9,"/":B9,"%":G9,"^":Math.pow,"||":W9,"==":H9,"!=":q9,">":K9,"<":J9,">=":V9,"<=":Y9,and:X9,or:Q9,in:ey,"=":my,"[":gy},this.ternaryOps={"?":th},this.functions={random:cy,fac:Qf,min:$y,max:vy,hypot:Math.hypot||eh,pyt:Math.hypot||eh,pow:Math.pow,atan2:Math.atan2,if:th,gamma:Is,roundTo:py,map:_y,fold:yy,filter:by,indexOf:Sy,join:wy,sum:Ay},this.consts={E:Math.E,PI:Math.PI,true:!0,false:!1}}Hn.prototype.parse=function(e){var n=[],i=new xe(this,new Pe(this,e),{allowMemberAccess:this.options.allowMemberAccess});return i.parseExpression(n),i.expect(ai,"EOF"),new jt(n,this)};Hn.prototype.evaluate=function(e,n){return this.parse(e).evaluate(n)};var Ip=new Hn;Hn.parse=function(e){return Ip.parse(e)};Hn.evaluate=function(e,n){return Ip.parse(e).evaluate(n)};var rh={"+":"add","-":"subtract","*":"multiply","/":"divide","%":"remainder","^":"power","!":"factorial","<":"comparison",">":"comparison","<=":"comparison",">=":"comparison","==":"comparison","!=":"comparison","||":"concatenate",and:"logical",or:"logical",not:"logical","?":"conditional",":":"conditional","=":"assignment","[":"array","()=":"fndef"};function Ny(e){return Object.hasOwn(rh,e)?rh[e]:e}Hn.prototype.isOperatorEnabled=function(e){var n=Ny(e),i=this.options.operators||{};return!(n in i)||!!i[n]};var go={exports:{}},vo={exports:{}},Lt={},it={},ih;function ut(){if(ih)return it;ih=1,it.__esModule=!0,it.extend=t,it.indexOf=g,it.escapeExpression=v,it.isEmpty=m,it.createFrame=_,it.blockParams=h,it.appendContextPath=d;var e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},n=/[&<>"'`=]/g,i=/[&<>"'`=]/;function u(c){return e[c]}function t(c){for(var y=1;y<arguments.length;y++)for(var b in arguments[y])Object.prototype.hasOwnProperty.call(arguments[y],b)&&(c[b]=arguments[y][b]);return c}var a=Object.prototype.toString;it.toString=a;var l=function(y){return typeof y=="function"};l(/x/)&&(it.isFunction=l=function(c){return typeof c=="function"&&a.call(c)==="[object Function]"}),it.isFunction=l;var p=Array.isArray||function(c){return c&&typeof c=="object"?a.call(c)==="[object Array]":!1};it.isArray=p;function g(c,y){for(var b=0,k=c.length;b<k;b++)if(c[b]===y)return b;return-1}function v(c){if(typeof c!="string"){if(c&&c.toHTML)return c.toHTML();if(c==null)return"";if(!c)return c+"";c=""+c}return i.test(c)?c.replace(n,u):c}function m(c){return!c&&c!==0?!0:!!(p(c)&&c.length===0)}function _(c){var y=t({},c);return y._parent=c,y}function h(c,y){return c.path=y,c}function d(c,y){return(c?c+".":"")+y}return it}var $o={exports:{}},oh;function Et(){return oh||(oh=1,(function(e,n){n.__esModule=!0;var i=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function u(t,a){var l=a&&a.loc,p=void 0,g=void 0,v=void 0,m=void 0;l&&(p=l.start.line,g=l.end.line,v=l.start.column,m=l.end.column,t+=" - "+p+":"+v);for(var _=Error.prototype.constructor.call(this,t),h=0;h<i.length;h++)this[i[h]]=_[i[h]];Error.captureStackTrace&&Error.captureStackTrace(this,u);try{l&&(this.lineNumber=p,this.endLineNumber=g,Object.defineProperty?(Object.defineProperty(this,"column",{value:v,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:m,enumerable:!0})):(this.column=v,this.endColumn=m))}catch{}}u.prototype=new Error,n.default=u,e.exports=n.default})($o,$o.exports)),$o.exports}var Qr={},_o={exports:{}},ah;function Py(){return ah||(ah=1,(function(e,n){n.__esModule=!0;var i=ut();n.default=function(u){u.registerHelper("blockHelperMissing",function(t,a){var l=a.inverse,p=a.fn;if(t===!0)return p(this);if(t===!1||t==null)return l(this);if(i.isArray(t))return t.length>0?(a.ids&&(a.ids=[a.name]),u.helpers.each(t,a)):l(this);if(a.data&&a.ids){var g=i.createFrame(a.data);g.contextPath=i.appendContextPath(a.data.contextPath,a.name),a={data:g}}return p(t,a)})},e.exports=n.default})(_o,_o.exports)),_o.exports}var yo={exports:{}},uh;function Ty(){return uh||(uh=1,(function(e,n){n.__esModule=!0;function i(l){return l&&l.__esModule?l:{default:l}}var u=ut(),t=Et(),a=i(t);n.default=function(l){l.registerHelper("each",function(p,g){if(!g)throw new a.default("Must pass iterator to #each");var v=g.fn,m=g.inverse,_=0,h="",d=void 0,c=void 0;g.data&&g.ids&&(c=u.appendContextPath(g.data.contextPath,g.ids[0])+"."),u.isFunction(p)&&(p=p.call(this)),g.data&&(d=u.createFrame(g.data));function y(E,x,U){d&&(d.key=E,d.index=x,d.first=x===0,d.last=!!U,c&&(d.contextPath=c+E)),h=h+v(p[E],{data:d,blockParams:u.blockParams([p[E],E],[c+E,null])})}if(p&&typeof p=="object")if(u.isArray(p))for(var b=p.length;_<b;_++)_ in p&&y(_,_,_===p.length-1);else if(typeof Symbol=="function"&&p[Symbol.iterator]){for(var k=[],I=p[Symbol.iterator](),P=I.next();!P.done;P=I.next())k.push(P.value);p=k;for(var b=p.length;_<b;_++)y(_,_,_===p.length-1)}else(function(){var E=void 0;Object.keys(p).forEach(function(x){E!==void 0&&y(E,_-1),E=x,_++}),E!==void 0&&y(E,_-1,!0)})();return _===0&&(h=m(this)),h})},e.exports=n.default})(yo,yo.exports)),yo.exports}var bo={exports:{}},sh;function Cy(){return sh||(sh=1,(function(e,n){n.__esModule=!0;function i(a){return a&&a.__esModule?a:{default:a}}var u=Et(),t=i(u);n.default=function(a){a.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new t.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=n.default})(bo,bo.exports)),bo.exports}var So={exports:{}},lh;function zy(){return lh||(lh=1,(function(e,n){n.__esModule=!0;function i(l){return l&&l.__esModule?l:{default:l}}var u=ut(),t=Et(),a=i(t);n.default=function(l){l.registerHelper("if",function(p,g){if(arguments.length!=2)throw new a.default("#if requires exactly one argument");return u.isFunction(p)&&(p=p.call(this)),!g.hash.includeZero&&!p||u.isEmpty(p)?g.inverse(this):g.fn(this)}),l.registerHelper("unless",function(p,g){if(arguments.length!=2)throw new a.default("#unless requires exactly one argument");return l.helpers.if.call(this,p,{fn:g.inverse,inverse:g.fn,hash:g.hash})})},e.exports=n.default})(So,So.exports)),So.exports}var wo={exports:{}},ch;function Dy(){return ch||(ch=1,(function(e,n){n.__esModule=!0,n.default=function(i){i.registerHelper("log",function(){for(var u=[void 0],t=arguments[arguments.length-1],a=0;a<arguments.length-1;a++)u.push(arguments[a]);var l=1;t.hash.level!=null?l=t.hash.level:t.data&&t.data.level!=null&&(l=t.data.level),u[0]=l,i.log.apply(i,u)})},e.exports=n.default})(wo,wo.exports)),wo.exports}var ko={exports:{}},dh;function Uy(){return dh||(dh=1,(function(e,n){n.__esModule=!0,n.default=function(i){i.registerHelper("lookup",function(u,t,a){return u&&a.lookupProperty(u,t)})},e.exports=n.default})(ko,ko.exports)),ko.exports}var Io={exports:{}},fh;function Ry(){return fh||(fh=1,(function(e,n){n.__esModule=!0;function i(l){return l&&l.__esModule?l:{default:l}}var u=ut(),t=Et(),a=i(t);n.default=function(l){l.registerHelper("with",function(p,g){if(arguments.length!=2)throw new a.default("#with requires exactly one argument");u.isFunction(p)&&(p=p.call(this));var v=g.fn;if(u.isEmpty(p))return g.inverse(this);var m=g.data;return g.data&&g.ids&&(m=u.createFrame(g.data),m.contextPath=u.appendContextPath(g.data.contextPath,g.ids[0])),v(p,{data:m,blockParams:u.blockParams([p],[m&&m.contextPath])})})},e.exports=n.default})(Io,Io.exports)),Io.exports}var hh;function xp(){if(hh)return Qr;hh=1,Qr.__esModule=!0,Qr.registerDefaultHelpers=y,Qr.moveHelperToHooks=b;function e(k){return k&&k.__esModule?k:{default:k}}var n=Py(),i=e(n),u=Ty(),t=e(u),a=Cy(),l=e(a),p=zy(),g=e(p),v=Dy(),m=e(v),_=Uy(),h=e(_),d=Ry(),c=e(d);function y(k){i.default(k),t.default(k),l.default(k),g.default(k),m.default(k),h.default(k),c.default(k)}function b(k,I,P){k.helpers[I]&&(k.hooks[I]=k.helpers[I],P||(k.helpers[I]=void 0))}return Qr}var xo={},Oo={exports:{}},ph;function Ly(){return ph||(ph=1,(function(e,n){n.__esModule=!0;var i=ut();n.default=function(u){u.registerDecorator("inline",function(t,a,l,p){var g=t;return a.partials||(a.partials={},g=function(v,m){var _=l.partials;l.partials=i.extend({},_,a.partials);var h=t(v,m);return l.partials=_,h}),a.partials[p.args[0]]=p.fn,g})},e.exports=n.default})(Oo,Oo.exports)),Oo.exports}var mh;function My(){if(mh)return xo;mh=1,xo.__esModule=!0,xo.registerDefaultDecorators=u;function e(t){return t&&t.__esModule?t:{default:t}}var n=Ly(),i=e(n);function u(t){i.default(t)}return xo}var Eo={exports:{}},gh;function Op(){return gh||(gh=1,(function(e,n){n.__esModule=!0;var i=ut(),u={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(a){if(typeof a=="string"){var l=i.indexOf(u.methodMap,a.toLowerCase());l>=0?a=l:a=parseInt(a,10)}return a},log:function(a){if(a=u.lookupLevel(a),typeof console<"u"&&u.lookupLevel(u.level)<=a){var l=u.methodMap[a];console[l]||(l="log");for(var p=arguments.length,g=Array(p>1?p-1:0),v=1;v<p;v++)g[v-1]=arguments[v];console[l].apply(console,g)}}};n.default=u,e.exports=n.default})(Eo,Eo.exports)),Eo.exports}var fr={},vh;function Ep(){if(vh)return fr;vh=1,fr.__esModule=!0,fr.createProtoAccessControl=a,fr.resultIsAllowed=l,fr.resetLoggedProperties=v;function e(m){return m&&m.__esModule?m:{default:m}}var n=ut(),i=Op(),u=e(i),t=Object.create(null);function a(m){var _=Object.create(null);_.__proto__=!1,n.extend(_,m.allowedProtoProperties);var h=Object.create(null);return h.constructor=!1,h.__defineGetter__=!1,h.__defineSetter__=!1,h.__lookupGetter__=!1,h.__lookupSetter__=!1,n.extend(h,m.allowedProtoMethods),{properties:{whitelist:_,defaultValue:m.allowProtoPropertiesByDefault},methods:{whitelist:h,defaultValue:m.allowProtoMethodsByDefault}}}function l(m,_,h){return p(typeof m=="function"?_.methods:_.properties,h)}function p(m,_){return m.whitelist[_]!==void 0?m.whitelist[_]===!0:m.defaultValue!==void 0?m.defaultValue:(g(_),!1)}function g(m){t[m]!==!0&&(t[m]=!0,u.default.log("error",'Handlebars: Access has been denied to resolve the property "'+m+`" because it is not an "own property" of its parent.
|
|
20
|
+
`)+Z+`return __p
|
|
21
|
+
}`;var ue=Zf(function(){return $e(w,Y+"return "+Z).apply(i,E)});if(ue.source=Z,Uu(ue))throw ue;return ue}function b8(r){return _e(r).toLowerCase()}function S8(r){return _e(r).toUpperCase()}function w8(r,o,s){if(r=_e(r),r&&(s||o===i))return Jc(r);if(!r||!(o=dt(o)))return r;var f=zt(r),$=zt(o),w=Yc(f,$),E=Xc(f,$)+1;return bn(f,w,E).join("")}function I8(r,o,s){if(r=_e(r),r&&(s||o===i))return r.slice(0,ed(r)+1);if(!r||!(o=dt(o)))return r;var f=zt(r),$=Xc(f,zt(o))+1;return bn(f,0,$).join("")}function k8(r,o,s){if(r=_e(r),r&&(s||o===i))return r.replace(Ua,"");if(!r||!(o=dt(o)))return r;var f=zt(r),$=Yc(f,zt(o));return bn(f,$).join("")}function O8(r,o){var s=te,f=K;if(xe(o)){var $="separator"in o?o.separator:$;s="length"in o?ae(o.length):s,f="omission"in o?dt(o.omission):f}r=_e(r);var w=r.length;if(tr(r)){var E=zt(r);w=E.length}if(s>=w)return r;var x=s-nr(f);if(x<1)return f;var T=E?bn(E,0,x).join(""):r.slice(0,x);if($===i)return T+f;if(E&&(x+=T.length-x),Ru($)){if(r.slice(x).search($)){var M,j=T;for($.global||($=Qa($.source,_e($c.exec($))+"g")),$.lastIndex=0;M=$.exec(j);)var Z=M.index;T=T.slice(0,Z===i?x:Z)}}else if(r.indexOf(dt($),x)!=x){var G=T.lastIndexOf($);G>-1&&(T=T.slice(0,G))}return T+f}function E8(r){return r=_e(r),r&&Lg.test(r)?r.replace(mc,n$):r}var N8=lr(function(r,o,s){return r+(s?" ":"")+o.toUpperCase()}),ju=Zd("toUpperCase");function Ff(r,o,s){return r=_e(r),o=s?i:o,o===i?Yv(r)?o$(r):Zv(r):r.match(o)||[]}var Zf=le(function(r,o){try{return lt(r,i,o)}catch(s){return Uu(s)?s:new re(s)}}),x8=en(function(r,o){return yt(o,function(s){s=qt(s),Xt(r,s,zu(r[s],r))}),r});function A8(r){var o=r==null?0:r.length,s=X();return r=o?Ne(r,function(f){if(typeof f[1]!="function")throw new bt(l);return[s(f[0]),f[1]]}):[],le(function(f){for(var $=-1;++$<o;){var w=r[$];if(lt(w[0],this,f))return lt(w[1],this,f)}})}function P8(r){return n3(wt(r,_))}function Fu(r){return function(){return r}}function T8(r,o){return r==null||r!==r?o:r}var C8=Gd(),z8=Gd(!0);function rt(r){return r}function Zu(r){return yd(typeof r=="function"?r:wt(r,_))}function D8(r){return Sd(wt(r,_))}function U8(r,o){return wd(r,wt(o,_))}var R8=le(function(r,o){return function(s){return qr(s,r,o)}}),L8=le(function(r,o){return function(s){return qr(r,s,o)}});function Bu(r,o,s){var f=je(o),$=Ji(o,f);s==null&&!(xe(o)&&($.length||!f.length))&&(s=o,o=r,r=this,$=Ji(o,je(o)));var w=!(xe(s)&&"chain"in s)||!!s.chain,E=nn(r);return yt($,function(x){var T=o[x];r[x]=T,E&&(r.prototype[x]=function(){var M=this.__chain__;if(w||M){var j=r(this.__wrapped__),Z=j.__actions__=et(this.__actions__);return Z.push({func:T,args:arguments,thisArg:r}),j.__chain__=M,j}return T.apply(r,mn([this.value()],arguments))})}),r}function M8(){return Be._===this&&(Be._=d$),this}function Gu(){}function j8(r){return r=ae(r),le(function(o){return Id(o,r)})}var F8=bu(Ne),Z8=bu(Wc),B8=bu(Ha);function Bf(r){return Nu(r)?qa(qt(r)):_3(r)}function G8(r){return function(o){return r==null?i:zn(r,o)}}var W8=Hd(),H8=Hd(!0);function Wu(){return[]}function Hu(){return!1}function q8(){return{}}function K8(){return""}function V8(){return!0}function J8(r,o){if(r=ae(r),r<1||r>Pt)return[];var s=Gt,f=He(r,Gt);o=X(o),r-=Gt;for(var $=Ja(f,o);++s<r;)o(s);return $}function Y8(r){return oe(r)?Ne(r,qt):ft(r)?[r]:et(lf(_e(r)))}function X8(r){var o=++l$;return _e(r)+o}var Q8=no(function(r,o){return r+o},0),e9=Su("ceil"),t9=no(function(r,o){return r/o},1),n9=Su("floor");function r9(r){return r&&r.length?Vi(r,rt,uu):i}function i9(r,o){return r&&r.length?Vi(r,X(o,2),uu):i}function o9(r){return Kc(r,rt)}function a9(r,o){return Kc(r,X(o,2))}function u9(r){return r&&r.length?Vi(r,rt,du):i}function s9(r,o){return r&&r.length?Vi(r,X(o,2),du):i}var l9=no(function(r,o){return r*o},1),c9=Su("round"),d9=no(function(r,o){return r-o},0);function f9(r){return r&&r.length?Va(r,rt):0}function h9(r,o){return r&&r.length?Va(r,X(o,2)):0}return S.after=D_,S.ary=yf,S.assign=S6,S.assignIn=zf,S.assignInWith=go,S.assignWith=w6,S.at=I6,S.before=bf,S.bind=zu,S.bindAll=x8,S.bindKey=Sf,S.castArray=q_,S.chain=vf,S.chunk=n4,S.compact=r4,S.concat=i4,S.cond=A8,S.conforms=P8,S.constant=Fu,S.countBy=f_,S.create=k6,S.curry=wf,S.curryRight=If,S.debounce=kf,S.defaults=O6,S.defaultsDeep=E6,S.defer=U_,S.delay=R_,S.difference=o4,S.differenceBy=a4,S.differenceWith=u4,S.drop=s4,S.dropRight=l4,S.dropRightWhile=c4,S.dropWhile=d4,S.fill=f4,S.filter=p_,S.flatMap=v_,S.flatMapDeep=$_,S.flatMapDepth=__,S.flatten=hf,S.flattenDeep=h4,S.flattenDepth=p4,S.flip=L_,S.flow=C8,S.flowRight=z8,S.fromPairs=m4,S.functions=z6,S.functionsIn=D6,S.groupBy=y_,S.initial=v4,S.intersection=$4,S.intersectionBy=_4,S.intersectionWith=y4,S.invert=R6,S.invertBy=L6,S.invokeMap=S_,S.iteratee=Zu,S.keyBy=w_,S.keys=je,S.keysIn=nt,S.map=lo,S.mapKeys=j6,S.mapValues=F6,S.matches=D8,S.matchesProperty=U8,S.memoize=fo,S.merge=Z6,S.mergeWith=Df,S.method=R8,S.methodOf=L8,S.mixin=Bu,S.negate=ho,S.nthArg=j8,S.omit=B6,S.omitBy=G6,S.once=M_,S.orderBy=I_,S.over=F8,S.overArgs=j_,S.overEvery=Z8,S.overSome=B8,S.partial=Du,S.partialRight=Of,S.partition=k_,S.pick=W6,S.pickBy=Uf,S.property=Bf,S.propertyOf=G8,S.pull=I4,S.pullAll=mf,S.pullAllBy=k4,S.pullAllWith=O4,S.pullAt=E4,S.range=W8,S.rangeRight=H8,S.rearg=F_,S.reject=N_,S.remove=N4,S.rest=Z_,S.reverse=Tu,S.sampleSize=A_,S.set=q6,S.setWith=K6,S.shuffle=P_,S.slice=x4,S.sortBy=z_,S.sortedUniq=U4,S.sortedUniqBy=R4,S.split=v8,S.spread=B_,S.tail=L4,S.take=M4,S.takeRight=j4,S.takeRightWhile=F4,S.takeWhile=Z4,S.tap=r_,S.throttle=G_,S.thru=so,S.toArray=Pf,S.toPairs=Rf,S.toPairsIn=Lf,S.toPath=Y8,S.toPlainObject=Cf,S.transform=V6,S.unary=W_,S.union=B4,S.unionBy=G4,S.unionWith=W4,S.uniq=H4,S.uniqBy=q4,S.uniqWith=K4,S.unset=J6,S.unzip=Cu,S.unzipWith=gf,S.update=Y6,S.updateWith=X6,S.values=fr,S.valuesIn=Q6,S.without=V4,S.words=Ff,S.wrap=H_,S.xor=J4,S.xorBy=Y4,S.xorWith=X4,S.zip=Q4,S.zipObject=e_,S.zipObjectDeep=t_,S.zipWith=n_,S.entries=Rf,S.entriesIn=Lf,S.extend=zf,S.extendWith=go,Bu(S,S),S.add=Q8,S.attempt=Zf,S.camelCase=r8,S.capitalize=Mf,S.ceil=e9,S.clamp=e8,S.clone=K_,S.cloneDeep=J_,S.cloneDeepWith=Y_,S.cloneWith=V_,S.conformsTo=X_,S.deburr=jf,S.defaultTo=T8,S.divide=t9,S.endsWith=i8,S.eq=Ut,S.escape=o8,S.escapeRegExp=a8,S.every=h_,S.find=m_,S.findIndex=df,S.findKey=N6,S.findLast=g_,S.findLastIndex=ff,S.findLastKey=x6,S.floor=n9,S.forEach=$f,S.forEachRight=_f,S.forIn=A6,S.forInRight=P6,S.forOwn=T6,S.forOwnRight=C6,S.get=Lu,S.gt=Q_,S.gte=e6,S.has=U6,S.hasIn=Mu,S.head=pf,S.identity=rt,S.includes=b_,S.indexOf=g4,S.inRange=t8,S.invoke=M6,S.isArguments=Rn,S.isArray=oe,S.isArrayBuffer=t6,S.isArrayLike=tt,S.isArrayLikeObject=ze,S.isBoolean=n6,S.isBuffer=Sn,S.isDate=r6,S.isElement=i6,S.isEmpty=o6,S.isEqual=a6,S.isEqualWith=u6,S.isError=Uu,S.isFinite=s6,S.isFunction=nn,S.isInteger=Ef,S.isLength=po,S.isMap=Nf,S.isMatch=l6,S.isMatchWith=c6,S.isNaN=d6,S.isNative=f6,S.isNil=p6,S.isNull=h6,S.isNumber=xf,S.isObject=xe,S.isObjectLike=Ae,S.isPlainObject=Qr,S.isRegExp=Ru,S.isSafeInteger=m6,S.isSet=Af,S.isString=mo,S.isSymbol=ft,S.isTypedArray=dr,S.isUndefined=g6,S.isWeakMap=v6,S.isWeakSet=$6,S.join=b4,S.kebabCase=u8,S.last=kt,S.lastIndexOf=S4,S.lowerCase=s8,S.lowerFirst=l8,S.lt=_6,S.lte=y6,S.max=r9,S.maxBy=i9,S.mean=o9,S.meanBy=a9,S.min=u9,S.minBy=s9,S.stubArray=Wu,S.stubFalse=Hu,S.stubObject=q8,S.stubString=K8,S.stubTrue=V8,S.multiply=l9,S.nth=w4,S.noConflict=M8,S.noop=Gu,S.now=co,S.pad=c8,S.padEnd=d8,S.padStart=f8,S.parseInt=h8,S.random=n8,S.reduce=O_,S.reduceRight=E_,S.repeat=p8,S.replace=m8,S.result=H6,S.round=c9,S.runInContext=A,S.sample=x_,S.size=T_,S.snakeCase=g8,S.some=C_,S.sortedIndex=A4,S.sortedIndexBy=P4,S.sortedIndexOf=T4,S.sortedLastIndex=C4,S.sortedLastIndexBy=z4,S.sortedLastIndexOf=D4,S.startCase=$8,S.startsWith=_8,S.subtract=d9,S.sum=f9,S.sumBy=h9,S.template=y8,S.times=J8,S.toFinite=rn,S.toInteger=ae,S.toLength=Tf,S.toLower=b8,S.toNumber=Ot,S.toSafeInteger=b6,S.toString=_e,S.toUpper=S8,S.trim=w8,S.trimEnd=I8,S.trimStart=k8,S.truncate=O8,S.unescape=E8,S.uniqueId=X8,S.upperCase=N8,S.upperFirst=ju,S.each=$f,S.eachRight=_f,S.first=pf,Bu(S,(function(){var r={};return Wt(S,function(o,s){ye.call(S.prototype,s)||(r[s]=o)}),r})(),{chain:!1}),S.VERSION=u,yt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){S[r].placeholder=S}),yt(["drop","take"],function(r,o){fe.prototype[r]=function(s){s=s===i?1:Re(ae(s),0);var f=this.__filtered__&&!o?new fe(this):this.clone();return f.__filtered__?f.__takeCount__=He(s,f.__takeCount__):f.__views__.push({size:He(s,Gt),type:r+(f.__dir__<0?"Right":"")}),f},fe.prototype[r+"Right"]=function(s){return this.reverse()[r](s).reverse()}}),yt(["filter","map","takeWhile"],function(r,o){var s=o+1,f=s==he||s==Me;fe.prototype[r]=function($){var w=this.clone();return w.__iteratees__.push({iteratee:X($,3),type:s}),w.__filtered__=w.__filtered__||f,w}}),yt(["head","last"],function(r,o){var s="take"+(o?"Right":"");fe.prototype[r]=function(){return this[s](1).value()[0]}}),yt(["initial","tail"],function(r,o){var s="drop"+(o?"":"Right");fe.prototype[r]=function(){return this.__filtered__?new fe(this):this[s](1)}}),fe.prototype.compact=function(){return this.filter(rt)},fe.prototype.find=function(r){return this.filter(r).head()},fe.prototype.findLast=function(r){return this.reverse().find(r)},fe.prototype.invokeMap=le(function(r,o){return typeof r=="function"?new fe(this):this.map(function(s){return qr(s,r,o)})}),fe.prototype.reject=function(r){return this.filter(ho(X(r)))},fe.prototype.slice=function(r,o){r=ae(r);var s=this;return s.__filtered__&&(r>0||o<0)?new fe(s):(r<0?s=s.takeRight(-r):r&&(s=s.drop(r)),o!==i&&(o=ae(o),s=o<0?s.dropRight(-o):s.take(o-r)),s)},fe.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},fe.prototype.toArray=function(){return this.take(Gt)},Wt(fe.prototype,function(r,o){var s=/^(?:filter|find|map|reject)|While$/.test(o),f=/^(?:head|last)$/.test(o),$=S[f?"take"+(o=="last"?"Right":""):o],w=f||/^find/.test(o);$&&(S.prototype[o]=function(){var E=this.__wrapped__,x=f?[1]:arguments,T=E instanceof fe,M=x[0],j=T||oe(E),Z=function(ce){var pe=$.apply(S,mn([ce],x));return f&&G?pe[0]:pe};j&&s&&typeof M=="function"&&M.length!=1&&(T=j=!1);var G=this.__chain__,Y=!!this.__actions__.length,Q=w&&!G,ue=T&&!Y;if(!w&&j){E=ue?E:new fe(this);var ee=r.apply(E,x);return ee.__actions__.push({func:so,args:[Z],thisArg:i}),new St(ee,G)}return Q&&ue?r.apply(this,x):(ee=this.thru(Z),Q?f?ee.value()[0]:ee.value():ee)})}),yt(["pop","push","shift","sort","splice","unshift"],function(r){var o=zi[r],s=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",f=/^(?:pop|shift)$/.test(r);S.prototype[r]=function(){var $=arguments;if(f&&!this.__chain__){var w=this.value();return o.apply(oe(w)?w:[],$)}return this[s](function(E){return o.apply(oe(E)?E:[],$)})}}),Wt(fe.prototype,function(r,o){var s=S[o];if(s){var f=s.name+"";ye.call(ar,f)||(ar[f]=[]),ar[f].push({name:o,func:s})}}),ar[to(i,I).name]=[{name:"wrapper",func:i}],fe.prototype.clone=E$,fe.prototype.reverse=N$,fe.prototype.value=x$,S.prototype.at=i_,S.prototype.chain=o_,S.prototype.commit=a_,S.prototype.next=u_,S.prototype.plant=l_,S.prototype.reverse=c_,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=d_,S.prototype.first=S.prototype.head,jr&&(S.prototype[jr]=s_),S}),rr=a$();xn?((xn.exports=rr)._=rr,Za._=rr):Be._=rr}).call(E9)})(ii,ii.exports)),ii.exports}var x9=N9();const A9=e=>{const n=x9.startCase(e).toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)},Hf=_p.promisify(yp.exec),P9=async(e,n)=>{n?.("Enabling corepack");try{await Hf("corepack enable",{cwd:e})}catch(i){console.warn(me.default.yellow("corepack enable failed:"),i.stderr)}n?.("Running yarn install");try{await Hf("yarn install",{cwd:e})}catch(i){console.warn(me.default.yellow("yarn install failed:"),i.stdout)}},wn=_p.promisify(yp.exec),T9=async e=>{try{return await wn("git rev-parse --is-inside-work-tree",{cwd:e}),!0}catch{}return!1},C9=async e=>{try{return await wn("hg --cwd . root",{cwd:e}),!0}catch{}return!1},z9=async e=>{try{return await wn("git config init.defaultBranch",{cwd:e}),!0}catch{}return!1},D9=async e=>{try{if(await wn("git --version",{cwd:e}),await T9(e)||await C9(e))return!1;await wn("git init",{cwd:e});try{return await z9(e)||await wn("git checkout -b main",{cwd:e}),await wn("git add -A",{cwd:e}),await wn('git commit -m "Initial commit from Create Twenty App"',{cwd:e}),!0}catch{return at.rm(Nt.join(e,".git"),{recursive:!0,force:!0}),!1}}catch{return!1}};var Lt={},Ku={},Xe={},qf;function us(){if(qf)return Xe;qf=1,Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.isSymbol=Xe.isBigInt=Xe.isString=Xe.isNumber=Xe.isBoolean=Xe.isUndefined=void 0;const e=l=>typeof l>"u";Xe.isUndefined=e;const n=l=>typeof l=="boolean";Xe.isBoolean=n;const i=l=>typeof l=="number"&&!Number.isNaN(l);Xe.isNumber=i;const u=l=>typeof l=="string";Xe.isString=u;const t=l=>typeof l=="bigint";Xe.isBigInt=t;const a=l=>typeof l=="symbol";return Xe.isSymbol=a,Xe}var Vu={},Kf;function ss(){return Kf||(Kf=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isDate=e.isWeakSet=e.isWeakMap=e.isSet=e.isMap=e.isArray=e.isObject=e.isFunction=e.isNull=void 0;const n=m=>m===null;e.isNull=n;const i=m=>typeof m=="function";e.isFunction=i;const u=m=>!e.isNull(m)&&typeof m=="object";e.isObject=u;const t=m=>Array.isArray(m);e.isArray=t;const a=m=>m instanceof Map;e.isMap=a;const l=m=>m instanceof Set;e.isSet=l;const p=m=>m instanceof WeakMap;e.isWeakMap=p;const g=m=>m instanceof WeakSet;e.isWeakSet=g;const v=m=>m instanceof Date;e.isDate=v})(Vu)),Vu}var Vf;function Jf(){return Vf||(Vf=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNegativeInteger=e.isNonNegativeInteger=e.isPositiveInteger=e.isInteger=e.isNumberOrNaN=e.isNonEmptyString=e.isNonEmptyArray=e.isObjectOrNull=void 0;const n=us(),i=ss(),u=_=>typeof _=="object";e.isObjectOrNull=u;const t=_=>i.isArray(_)&&_.length>0;e.isNonEmptyArray=t;const a=_=>n.isString(_)&&_.length>0;e.isNonEmptyString=a;const l=_=>typeof _=="number";e.isNumberOrNaN=l;const p=_=>n.isNumber(_)&&Number.isInteger(_);e.isInteger=p;const g=_=>e.isInteger(_)&&_>0;e.isPositiveInteger=g;const v=_=>e.isInteger(_)&&_>=0;e.isNonNegativeInteger=v;const m=_=>e.isInteger(_)&&_<0;e.isNegativeInteger=m})(Ku)),Ku}var Yf;function U9(){return Yf||(Yf=1,(function(e){var n=Lt&&Lt.__createBinding||(Object.create?(function(a,l,p,g){g===void 0&&(g=p),Object.defineProperty(a,g,{enumerable:!0,get:function(){return l[p]}})}):(function(a,l,p,g){g===void 0&&(g=p),a[g]=l[p]})),i=Lt&&Lt.__setModuleDefault||(Object.create?(function(a,l){Object.defineProperty(a,"default",{enumerable:!0,value:l})}):function(a,l){a.default=l}),u=Lt&&Lt.__importStar||function(a){if(a&&a.__esModule)return a;var l={};if(a!=null)for(var p in a)p!=="default"&&Object.prototype.hasOwnProperty.call(a,p)&&n(l,a,p);return i(l,a),l},t=Lt&&Lt.__exportStar||function(a,l){for(var p in a)p!=="default"&&!Object.prototype.hasOwnProperty.call(l,p)&&n(l,a,p)};Object.defineProperty(e,"__esModule",{value:!0}),e.structural=e.primitives=e.convenience=void 0,e.convenience=u(Jf()),t(Jf(),e),e.primitives=u(us()),t(us(),e),e.structural=u(ss()),t(ss(),e)})(Lt)),Lt}var ln=U9();const kn=e=>!ln.isUndefined(e)&&!ln.isNull(e);var Et="INUMBER",Or="IOP1",Er="IOP2",Nr="IOP3",cn="IVAR",Zn="IVARNAME",$r="IFUNCALL",ra="IFUNDEF",ut="IEXPR",ys="IEXPREVAL",Hn="IMEMBER",ia="IENDSTATEMENT",_r="IARRAY";function ge(e,n){this.type=e,this.value=n??0}ge.prototype.toString=function(){switch(this.type){case Et:case Or:case Er:case Nr:case cn:case Zn:case ia:return this.value;case $r:return"CALL "+this.value;case ra:return"DEF "+this.value;case _r:return"ARRAY "+this.value;case Hn:return"."+this.value;default:return"Invalid Instruction"}};function oa(e){return new ge(Or,e)}function fn(e){return new ge(Er,e)}function wp(e){return new ge(Nr,e)}function ls(e,n,i,u,t){for(var a=[],l=[],p,g,v,m,_=0;_<e.length;_++){var h=e[_],d=h.type;if(d===Et||d===Zn)Array.isArray(h.value)?a.push.apply(a,ls(h.value.map(function(c){return new ge(Et,c)}).concat(new ge(_r,h.value.length)),n,i,u,t)):a.push(h);else if(d===cn&&Object.hasOwn(t,h.value))h=new ge(Et,t[h.value]),a.push(h);else if(d===Er&&a.length>1)g=a.pop(),p=a.pop(),m=i[h.value],h=new ge(Et,m(p.value,g.value)),a.push(h);else if(d===Nr&&a.length>2)v=a.pop(),g=a.pop(),p=a.pop(),h.value==="?"?a.push(p.value?g.value:v.value):(m=u[h.value],h=new ge(Et,m(p.value,g.value,v.value)),a.push(h));else if(d===Or&&a.length>0)p=a.pop(),m=n[h.value],h=new ge(Et,m(p.value)),a.push(h);else if(d===ut){for(;a.length>0;)l.push(a.shift());l.push(new ge(ut,ls(h.value,n,i,u,t)))}else if(d===Hn&&a.length>0)p=a.pop(),a.push(new ge(Et,p.value[h.value]));else{for(;a.length>0;)l.push(a.shift());l.push(h)}}for(;a.length>0;)l.push(a.shift());return l}function Ip(e,n,i){for(var u=[],t=0;t<e.length;t++){var a=e[t],l=a.type;if(l===cn&&a.value===n)for(var p=0;p<i.tokens.length;p++){var g=i.tokens[p],v;g.type===Or?v=oa(g.value):g.type===Er?v=fn(g.value):g.type===Nr?v=wp(g.value):v=new ge(g.type,g.value),u.push(v)}else l===ut?u.push(new ge(ut,Ip(a.value,n,i))):u.push(a)}return u}function Ju(e,n,i){if(Object.values(n.functions).includes(e))return!0;for(const t of Object.values(i))if(typeof t=="object"&&t!==null){for(const a of Object.values(t))if(a===e){const l=Object.freeze({abs:Math.abs,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:Math.atan2,ceil:Math.ceil,clz32:Math.clz32,cos:Math.cos,exp:Math.exp,floor:Math.floor,imul:Math.imul,fround:Math.fround,f16round:Math.f16round,log:Math.log,max:Math.max,min:Math.min,pow:Math.pow,random:Math.random,round:Math.round,sin:Math.sin,sqrt:Math.sqrt,tan:Math.tan,log10:Math.log10,log2:Math.log2,log1p:Math.log1p,expm1:Math.expm1,cosh:Math.cosh,sinh:Math.sinh,tanh:Math.tanh,acosh:Math.acosh,asinh:Math.asinh,atanh:Math.atanh,hypot:Math.hypot,trunc:Math.trunc,sign:Math.sign,cbrt:Math.cbrt});for(var u of Object.getOwnPropertyNames(l))if(l[u]===a)return!0;return Object.values(n.functions).includes(a)}}return!1}function Ln(e,n,i){var u=[],t,a,l,p,g,v;if(bs(e))return an(e,i);for(var m=e.length,_=0;_<m;_++){var h=e[_],d=h.type;if(d===Et||d===Zn)u.push(h.value);else if(d===Er)a=u.pop(),t=u.pop(),h.value==="and"?u.push(t?!!Ln(a,n,i):!1):h.value==="or"?u.push(t?!0:!!Ln(a,n,i)):h.value==="="?(p=n.binaryOps[h.value],u.push(p(t,Ln(a,n,i),i))):(p=n.binaryOps[h.value],u.push(p(an(t,i),an(a,i))));else if(d===Nr)l=u.pop(),a=u.pop(),t=u.pop(),h.value==="?"?u.push(Ln(t?a:l,n,i)):(p=n.ternaryOps[h.value],u.push(p(an(t,i),an(a,i),an(l,i))));else if(d===cn){if(/^__proto__|prototype|constructor$/.test(h.value))throw new Error("prototype access detected");if(h.value in n.functions)u.push(n.functions[h.value]);else if(h.value in n.unaryOps&&n.parser.isOperatorEnabled(h.value))u.push(n.unaryOps[h.value]);else{var c=i[h.value];if(c!==void 0){if(typeof c=="function"&&!Ju(c,n,i))throw new Error("Variable references an unallowed function: "+h.value);u.push(c)}else throw new Error("undefined variable: "+h.value)}}else if(d===Or)t=u.pop(),p=n.unaryOps[h.value],u.push(p(an(t,i)));else if(d===$r){for(v=h.value,g=[];v-- >0;)g.unshift(an(u.pop(),i));if(p=u.pop(),!Ju(p,n,i))throw new Error("Is not an allowed function.");if(p.apply&&p.call)u.push(p.apply(void 0,g));else throw new Error(p+" is not a function")}else if(d===ra)u.push((function(){for(var y=u.pop(),b=[],I=h.value;I-- >0;)b.unshift(u.pop());var k=u.pop(),P=function(){for(var N=Object.assign({},i),O=0,U=b.length;O<U;O++)N[b[O]]=arguments[O];return Ln(y,n,N)};return n.functions["lambda_"+n.functions.__counter++]=P,i[k]=P,P})());else if(d===ut)u.push(R9(h,n));else if(d===ys)u.push(h);else if(d===Hn){if(t=u.pop(),/^__proto__|prototype|constructor$/.test(h.value))throw new Error("prototype access detected in MEMBER");if(typeof t=="object"&&typeof t[h.value]=="function"&&!Ju(t[h.value],n,i))throw new Error("Is not an allowed function in MEMBER.");u.push(t[h.value])}else if(d===ia)u.pop();else if(d===_r){for(v=h.value,g=[];v-- >0;)g.unshift(u.pop());u.push(g)}else throw new Error("invalid Expression")}if(u.length>1)throw new Error("invalid Expression (parity)");return u[0]===0?0:an(u[0],i)}function R9(e,n,i){return bs(e)?e:{type:ys,value:function(u){return Ln(e.value,n,u)}}}function bs(e){return e&&e.type===ys}function an(e,n){return bs(e)?e.value(n):e}function Ss(e,n){for(var i=[],u,t,a,l,p,g,v=0;v<e.length;v++){var m=e[v],_=m.type;if(_===Et)typeof m.value=="number"&&m.value<0?i.push("("+m.value+")"):Array.isArray(m.value)?i.push("["+m.value.map(Xf).join(", ")+"]"):i.push(Xf(m.value));else if(_===Er)t=i.pop(),u=i.pop(),l=m.value,n?l==="^"?i.push("Math.pow("+u+", "+t+")"):l==="and"?i.push("(!!"+u+" && !!"+t+")"):l==="or"?i.push("(!!"+u+" || !!"+t+")"):l==="||"?i.push("(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }(("+u+"),("+t+")))"):l==="=="?i.push("("+u+" === "+t+")"):l==="!="?i.push("("+u+" !== "+t+")"):l==="["?i.push(u+"[("+t+") | 0]"):i.push("("+u+" "+l+" "+t+")"):l==="["?i.push(u+"["+t+"]"):i.push("("+u+" "+l+" "+t+")");else if(_===Nr)if(a=i.pop(),t=i.pop(),u=i.pop(),l=m.value,l==="?")i.push("("+u+" ? "+t+" : "+a+")");else throw new Error("invalid Expression");else if(_===cn||_===Zn)i.push(m.value);else if(_===Or)u=i.pop(),l=m.value,l==="-"||l==="+"?i.push("("+l+u+")"):n?l==="not"?i.push("(!"+u+")"):l==="!"?i.push("fac("+u+")"):i.push(l+"("+u+")"):l==="!"?i.push("("+u+"!)"):i.push("("+l+" "+u+")");else if(_===$r){for(g=m.value,p=[];g-- >0;)p.unshift(i.pop());l=i.pop(),i.push(l+"("+p.join(", ")+")")}else if(_===ra){for(t=i.pop(),g=m.value,p=[];g-- >0;)p.unshift(i.pop());u=i.pop(),n?i.push("("+u+" = function("+p.join(", ")+") { return "+t+" })"):i.push("("+u+"("+p.join(", ")+") = "+t+")")}else if(_===Hn)u=i.pop(),i.push(u+"."+m.value);else if(_===_r){for(g=m.value,p=[];g-- >0;)p.unshift(i.pop());i.push("["+p.join(", ")+"]")}else if(_===ut)i.push("("+Ss(m.value,n)+")");else if(_!==ia)throw new Error("invalid Expression")}return i.length>1&&(n?i=[i.join(",")]:i=[i.join(";")]),String(i[0])}function Xf(e){return typeof e=="string"?JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"):e}function gr(e,n){for(var i=0;i<e.length;i++)if(e[i]===n)return!0;return!1}function ws(e,n,i){i=i||{};for(var u=!!i.withMembers,t=null,a=0;a<e.length;a++){var l=e[a];l.type===cn||l.type===Zn?!u&&!gr(n,l.value)?n.push(l.value):(t!==null&&(gr(n,t)||n.push(t)),t=l.value):l.type===Hn&&u&&t!==null?t+="."+l.value:l.type===ut?ws(l.value,n,i):t!==null&&(gr(n,t)||n.push(t),t=null)}t!==null&&!gr(n,t)&&n.push(t)}function Ft(e,n){this.tokens=e,this.parser=n,this.unaryOps=n.unaryOps,this.binaryOps=n.binaryOps,this.ternaryOps=n.ternaryOps,this.functions=n.functions}Ft.prototype.simplify=function(e){return e=e||{},new Ft(ls(this.tokens,this.unaryOps,this.binaryOps,this.ternaryOps,e),this.parser)};Ft.prototype.substitute=function(e,n){return n instanceof Ft||(n=this.parser.parse(String(n))),new Ft(Ip(this.tokens,e,n),this.parser)};Ft.prototype.evaluate=function(e){return e=e||{},Ln(this.tokens,this,e)};Ft.prototype.toString=function(){return Ss(this.tokens,!1)};Ft.prototype.symbols=function(e){e=e||{};var n=[];return ws(this.tokens,n,e),n};Ft.prototype.variables=function(e){e=e||{};var n=[];ws(this.tokens,n,e);var i=this.functions;return n.filter(function(u){return!(u in i)})};Ft.prototype.toJSFunction=function(e,n){var i=this,u=new Function(e,"with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return "+Ss(this.simplify(n).tokens,!0)+"; }");return function(){return u.apply(i,arguments)}};var ui="TEOF",we="TOP",aa="TNUMBER",kp="TSTRING",dn="TPAREN",yr="TBRACKET",ua="TCOMMA",Is="TNAME",ks="TSEMICOLON";function Op(e,n,i){this.type=e,this.value=n,this.index=i}Op.prototype.toString=function(){return this.type+": "+this.value};function Pe(e,n){this.pos=0,this.current=null,this.unaryOps=e.unaryOps,this.binaryOps=e.binaryOps,this.ternaryOps=e.ternaryOps,this.consts=e.consts,this.expression=n,this.savedPosition=0,this.savedCurrent=null,this.options=e.options,this.parser=e}Pe.prototype.newToken=function(e,n,i){return new Op(e,n,i??this.pos)};Pe.prototype.save=function(){this.savedPosition=this.pos,this.savedCurrent=this.current};Pe.prototype.restore=function(){this.pos=this.savedPosition,this.current=this.savedCurrent};Pe.prototype.next=function(){if(this.pos>=this.expression.length)return this.newToken(ui,"EOF");if(this.isWhitespace()||this.isComment())return this.next();if(this.isRadixInteger()||this.isNumber()||this.isOperator()||this.isString()||this.isParen()||this.isBracket()||this.isComma()||this.isSemicolon()||this.isNamedOp()||this.isConst()||this.isName())return this.current;this.parseError('Unknown character "'+this.expression.charAt(this.pos)+'"')};Pe.prototype.isString=function(){var e=!1,n=this.pos,i=this.expression.charAt(n);if(i==="'"||i==='"')for(var u=this.expression.indexOf(i,n+1);u>=0&&this.pos<this.expression.length;){if(this.pos=u+1,this.expression.charAt(u-1)!=="\\"){var t=this.expression.substring(n+1,u);this.current=this.newToken(kp,this.unescape(t),n),e=!0;break}u=this.expression.indexOf(i,u+1)}return e};Pe.prototype.isParen=function(){var e=this.expression.charAt(this.pos);return e==="("||e===")"?(this.current=this.newToken(dn,e),this.pos++,!0):!1};Pe.prototype.isBracket=function(){var e=this.expression.charAt(this.pos);return(e==="["||e==="]")&&this.isOperatorEnabled("[")?(this.current=this.newToken(yr,e),this.pos++,!0):!1};Pe.prototype.isComma=function(){var e=this.expression.charAt(this.pos);return e===","?(this.current=this.newToken(ua,","),this.pos++,!0):!1};Pe.prototype.isSemicolon=function(){var e=this.expression.charAt(this.pos);return e===";"?(this.current=this.newToken(ks,";"),this.pos++,!0):!1};Pe.prototype.isConst=function(){for(var e=this.pos,n=e;n<this.expression.length;n++){var i=this.expression.charAt(n);if(i.toUpperCase()===i.toLowerCase()&&(n===this.pos||i!=="_"&&i!=="."&&(i<"0"||i>"9")))break}if(n>e){var u=this.expression.substring(e,n);if(u in this.consts)return this.current=this.newToken(aa,this.consts[u]),this.pos+=u.length,!0}return!1};Pe.prototype.isNamedOp=function(){for(var e=this.pos,n=e;n<this.expression.length;n++){var i=this.expression.charAt(n);if(i.toUpperCase()===i.toLowerCase()&&(n===this.pos||i!=="_"&&(i<"0"||i>"9")))break}if(n>e){var u=this.expression.substring(e,n);if(this.isOperatorEnabled(u)&&(u in this.binaryOps||u in this.unaryOps||u in this.ternaryOps))return this.current=this.newToken(we,u),this.pos+=u.length,!0}return!1};Pe.prototype.isName=function(){for(var e=this.pos,n=e,i=!1;n<this.expression.length;n++){var u=this.expression.charAt(n);if(u.toUpperCase()===u.toLowerCase()){if(n===this.pos&&(u==="$"||u==="_")){u==="_"&&(i=!0);continue}else if(n===this.pos||!i||u!=="_"&&(u<"0"||u>"9"))break}else i=!0}if(i){var t=this.expression.substring(e,n);return this.current=this.newToken(Is,t),this.pos+=t.length,!0}return!1};Pe.prototype.isWhitespace=function(){for(var e=!1,n=this.expression.charAt(this.pos);(n===" "||n===" "||n===`
|
|
22
|
+
`||n==="\r")&&(e=!0,this.pos++,!(this.pos>=this.expression.length));)n=this.expression.charAt(this.pos);return e};var L9=/^[0-9a-f]{4}$/i;Pe.prototype.unescape=function(e){var n=e.indexOf("\\");if(n<0)return e;for(var i=e.substring(0,n);n>=0;){var u=e.charAt(++n);switch(u){case"'":i+="'";break;case'"':i+='"';break;case"\\":i+="\\";break;case"/":i+="/";break;case"b":i+="\b";break;case"f":i+="\f";break;case"n":i+=`
|
|
23
|
+
`;break;case"r":i+="\r";break;case"t":i+=" ";break;case"u":var t=e.substring(n+1,n+5);L9.test(t)||this.parseError("Illegal escape sequence: \\u"+t),i+=String.fromCharCode(parseInt(t,16)),n+=4;break;default:throw this.parseError('Illegal escape sequence: "\\'+u+'"')}++n;var a=e.indexOf("\\",n);i+=e.substring(n,a<0?e.length:a),n=a}return i};Pe.prototype.isComment=function(){var e=this.expression.charAt(this.pos);return e==="/"&&this.expression.charAt(this.pos+1)==="*"?(this.pos=this.expression.indexOf("*/",this.pos)+2,this.pos===1&&(this.pos=this.expression.length),!0):!1};Pe.prototype.isRadixInteger=function(){var e=this.pos;if(e>=this.expression.length-2||this.expression.charAt(e)!=="0")return!1;++e;var n,i;if(this.expression.charAt(e)==="x")n=16,i=/^[0-9a-f]$/i,++e;else if(this.expression.charAt(e)==="b")n=2,i=/^[01]$/i,++e;else return!1;for(var u=!1,t=e;e<this.expression.length;){var a=this.expression.charAt(e);if(i.test(a))e++,u=!0;else break}return u&&(this.current=this.newToken(aa,parseInt(this.expression.substring(t,e),n)),this.pos=e),u};Pe.prototype.isNumber=function(){for(var e=!1,n=this.pos,i=n,u=n,t=!1,a=!1,l;n<this.expression.length&&(l=this.expression.charAt(n),l>="0"&&l<="9"||!t&&l===".");)l==="."?t=!0:a=!0,n++,e=a;if(e&&(u=n),l==="e"||l==="E"){n++;for(var p=!0,g=!1;n<this.expression.length;){if(l=this.expression.charAt(n),p&&(l==="+"||l==="-"))p=!1;else if(l>="0"&&l<="9")g=!0,p=!1;else break;n++}g||(n=u)}return e?(this.current=this.newToken(aa,parseFloat(this.expression.substring(i,n))),this.pos=n):this.pos=u,e};Pe.prototype.isOperator=function(){var e=this.pos,n=this.expression.charAt(this.pos);if(n==="+"||n==="-"||n==="*"||n==="/"||n==="%"||n==="^"||n==="?"||n===":"||n===".")this.current=this.newToken(we,n);else if(n==="∙"||n==="•")this.current=this.newToken(we,"*");else if(n===">")this.expression.charAt(this.pos+1)==="="?(this.current=this.newToken(we,">="),this.pos++):this.current=this.newToken(we,">");else if(n==="<")this.expression.charAt(this.pos+1)==="="?(this.current=this.newToken(we,"<="),this.pos++):this.current=this.newToken(we,"<");else if(n==="|")if(this.expression.charAt(this.pos+1)==="|")this.current=this.newToken(we,"||"),this.pos++;else return!1;else if(n==="=")this.expression.charAt(this.pos+1)==="="?(this.current=this.newToken(we,"=="),this.pos++):this.current=this.newToken(we,n);else if(n==="!")this.expression.charAt(this.pos+1)==="="?(this.current=this.newToken(we,"!="),this.pos++):this.current=this.newToken(we,n);else return!1;return this.pos++,this.isOperatorEnabled(this.current.value)?!0:(this.pos=e,!1)};Pe.prototype.isOperatorEnabled=function(e){return this.parser.isOperatorEnabled(e)};Pe.prototype.getCoordinates=function(){var e=0,n,i=-1;do e++,n=this.pos-i,i=this.expression.indexOf(`
|
|
24
|
+
`,i+1);while(i>=0&&i<this.pos);return{line:e,column:n}};Pe.prototype.parseError=function(e){var n=this.getCoordinates();throw new Error("parse error ["+n.line+":"+n.column+"]: "+e)};function Oe(e,n,i){this.parser=e,this.tokens=n,this.current=null,this.nextToken=null,this.next(),this.savedCurrent=null,this.savedNextToken=null,this.allowMemberAccess=i.allowMemberAccess!==!1}Oe.prototype.next=function(){return this.current=this.nextToken,this.nextToken=this.tokens.next()};Oe.prototype.tokenMatches=function(e,n){return typeof n>"u"?!0:Array.isArray(n)?gr(n,e.value):typeof n=="function"?n(e):e.value===n};Oe.prototype.save=function(){this.savedCurrent=this.current,this.savedNextToken=this.nextToken,this.tokens.save()};Oe.prototype.restore=function(){this.tokens.restore(),this.current=this.savedCurrent,this.nextToken=this.savedNextToken};Oe.prototype.accept=function(e,n){return this.nextToken.type===e&&this.tokenMatches(this.nextToken,n)?(this.next(),!0):!1};Oe.prototype.expect=function(e,n){if(!this.accept(e,n)){var i=this.tokens.getCoordinates();throw new Error("parse error ["+i.line+":"+i.column+"]: Expected "+(n||e))}};Oe.prototype.parseAtom=function(e){var n=this.tokens.unaryOps;function i(t){return t.value in n}if(this.accept(Is)||this.accept(we,i))e.push(new ge(cn,this.current.value));else if(this.accept(aa))e.push(new ge(Et,this.current.value));else if(this.accept(kp))e.push(new ge(Et,this.current.value));else if(this.accept(dn,"("))this.parseExpression(e),this.expect(dn,")");else if(this.accept(yr,"["))if(this.accept(yr,"]"))e.push(new ge(_r,0));else{var u=this.parseArrayList(e);e.push(new ge(_r,u))}else throw new Error("unexpected "+this.nextToken)};Oe.prototype.parseExpression=function(e){var n=[];this.parseUntilEndStatement(e,n)||(this.parseVariableAssignmentExpression(n),!this.parseUntilEndStatement(e,n)&&this.pushExpression(e,n))};Oe.prototype.pushExpression=function(e,n){for(var i=0,u=n.length;i<u;i++)e.push(n[i])};Oe.prototype.parseUntilEndStatement=function(e,n){return this.accept(ks)?(this.nextToken&&this.nextToken.type!==ui&&!(this.nextToken.type===dn&&this.nextToken.value===")")&&n.push(new ge(ia)),this.nextToken.type!==ui&&this.parseExpression(n),e.push(new ge(ut,n)),!0):!1};Oe.prototype.parseArrayList=function(e){for(var n=0;!this.accept(yr,"]");)for(this.parseExpression(e),++n;this.accept(ua);)this.parseExpression(e),++n;return n};Oe.prototype.parseVariableAssignmentExpression=function(e){for(this.parseConditionalExpression(e);this.accept(we,"=");){var n=e.pop(),i=[],u=e.length-1;if(n.type===$r){if(!this.tokens.isOperatorEnabled("()="))throw new Error("function definition is not permitted");for(var t=0,a=n.value+1;t<a;t++){var l=u-t;e[l].type===cn&&(e[l]=new ge(Zn,e[l].value))}this.parseVariableAssignmentExpression(i),e.push(new ge(ut,i)),e.push(new ge(ra,n.value));continue}if(n.type!==cn&&n.type!==Hn)throw new Error("expected variable for assignment");this.parseVariableAssignmentExpression(i),e.push(new ge(Zn,n.value)),e.push(new ge(ut,i)),e.push(fn("="))}};Oe.prototype.parseConditionalExpression=function(e){for(this.parseOrExpression(e);this.accept(we,"?");){var n=[],i=[];this.parseConditionalExpression(n),this.expect(we,":"),this.parseConditionalExpression(i),e.push(new ge(ut,n)),e.push(new ge(ut,i)),e.push(wp("?"))}};Oe.prototype.parseOrExpression=function(e){for(this.parseAndExpression(e);this.accept(we,"or");){var n=[];this.parseAndExpression(n),e.push(new ge(ut,n)),e.push(fn("or"))}};Oe.prototype.parseAndExpression=function(e){for(this.parseComparison(e);this.accept(we,"and");){var n=[];this.parseComparison(n),e.push(new ge(ut,n)),e.push(fn("and"))}};var M9=["==","!=","<","<=",">=",">","in"];Oe.prototype.parseComparison=function(e){for(this.parseAddSub(e);this.accept(we,M9);){var n=this.current;this.parseAddSub(e),e.push(fn(n.value))}};var j9=["+","-","||"];Oe.prototype.parseAddSub=function(e){for(this.parseTerm(e);this.accept(we,j9);){var n=this.current;this.parseTerm(e),e.push(fn(n.value))}};var F9=["*","/","%"];Oe.prototype.parseTerm=function(e){for(this.parseFactor(e);this.accept(we,F9);){var n=this.current;this.parseFactor(e),e.push(fn(n.value))}};Oe.prototype.parseFactor=function(e){var n=this.tokens.unaryOps;function i(t){return t.value in n}if(this.save(),this.accept(we,i)){if(this.current.value!=="-"&&this.current.value!=="+"){if(this.nextToken.type===dn&&this.nextToken.value==="("){this.restore(),this.parseExponential(e);return}else if(this.nextToken.type===ks||this.nextToken.type===ua||this.nextToken.type===ui||this.nextToken.type===dn&&this.nextToken.value===")"){this.restore(),this.parseAtom(e);return}}var u=this.current;this.parseFactor(e),e.push(oa(u.value))}else this.parseExponential(e)};Oe.prototype.parseExponential=function(e){for(this.parsePostfixExpression(e);this.accept(we,"^");)this.parseFactor(e),e.push(fn("^"))};Oe.prototype.parsePostfixExpression=function(e){for(this.parseFunctionCall(e);this.accept(we,"!");)e.push(oa("!"))};Oe.prototype.parseFunctionCall=function(e){var n=this.tokens.unaryOps;function i(a){return a.value in n}if(this.accept(we,i)){var u=this.current;this.parseAtom(e),e.push(oa(u.value))}else for(this.parseMemberExpression(e);this.accept(dn,"(");)if(this.accept(dn,")"))e.push(new ge($r,0));else{var t=this.parseArgumentList(e);e.push(new ge($r,t))}};Oe.prototype.parseArgumentList=function(e){for(var n=0;!this.accept(dn,")");)for(this.parseExpression(e),++n;this.accept(ua);)this.parseExpression(e),++n;return n};Oe.prototype.parseMemberExpression=function(e){for(this.parseAtom(e);this.accept(we,".")||this.accept(yr,"[");){var n=this.current;if(n.value==="."){if(!this.allowMemberAccess)throw new Error('unexpected ".", member access is not permitted');this.expect(Is),e.push(new ge(Hn,this.current.value))}else if(n.value==="["){if(!this.tokens.isOperatorEnabled("["))throw new Error('unexpected "[]", arrays are disabled');this.parseExpression(e),this.expect(yr,"]"),e.push(fn("["))}else throw new Error("unexpected symbol: "+n.value)}};function Z9(e,n){return Number(e)+Number(n)}function B9(e,n){return e-n}function G9(e,n){return e*n}function W9(e,n){return e/n}function H9(e,n){return e%n}function q9(e,n){return Array.isArray(e)&&Array.isArray(n)?e.concat(n):""+e+n}function K9(e,n){return e===n}function V9(e,n){return e!==n}function J9(e,n){return e>n}function Y9(e,n){return e<n}function X9(e,n){return e>=n}function Q9(e,n){return e<=n}function ey(e,n){return!!(e&&n)}function ty(e,n){return!!(e||n)}function ny(e,n){return gr(n,e)}function ry(e){return(Math.exp(e)-Math.exp(-e))/2}function iy(e){return(Math.exp(e)+Math.exp(-e))/2}function oy(e){return e===1/0?1:e===-1/0?-1:(Math.exp(e)-Math.exp(-e))/(Math.exp(e)+Math.exp(-e))}function ay(e){return e===-1/0?e:Math.log(e+Math.sqrt(e*e+1))}function uy(e){return Math.log(e+Math.sqrt(e*e-1))}function sy(e){return Math.log((1+e)/(1-e))/2}function Qf(e){return Math.log(e)*Math.LOG10E}function ly(e){return-e}function cy(e){return!e}function dy(e){return e<0?Math.ceil(e):Math.floor(e)}function fy(e){return Math.random()*(e||1)}function eh(e){return Os(e+1)}function hy(e){return isFinite(e)&&e===Math.round(e)}var py=4.7421875,Yu=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];function Os(e){var n,i;if(hy(e)){if(e<=0)return isFinite(e)?1/0:NaN;if(e>171)return 1/0;for(var u=e-2,t=e-1;u>1;)t*=u,u--;return t===0&&(t=1),t}if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*Os(1-e));if(e>=171.35)return 1/0;if(e>85){var a=e*e,l=a*e,p=l*e,g=p*e;return Math.sqrt(2*Math.PI/e)*Math.pow(e/Math.E,e)*(1+1/(12*e)+1/(288*a)-139/(51840*l)-571/(2488320*p)+163879/(209018880*g)+5246819/(75246796800*g*e))}--e,i=Yu[0];for(var v=1;v<Yu.length;++v)i+=Yu[v]/(e+v);return n=e+py+.5,Math.sqrt(2*Math.PI)*Math.pow(n,e+.5)*Math.exp(-n)*i}function my(e){return Array.isArray(e)?e.length:String(e).length}function th(){for(var e=0,n=0,i=0;i<arguments.length;i++){var u=Math.abs(arguments[i]),t;n<u?(t=n/u,e=e*t*t+1,n=u):u>0?(t=u/n,e+=t*t):e+=u}return n===1/0?1/0:n*Math.sqrt(e)}function nh(e,n,i){return e?n:i}function gy(e,n){return typeof n>"u"||+n==0?Math.round(e):(e=+e,n=-+n,isNaN(e)||!(typeof n=="number"&&n%1===0)?NaN:(e=e.toString().split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]-n:-n))),e=e.toString().split("e"),+(e[0]+"e"+(e[1]?+e[1]+n:n))))}function vy(e,n,i){return i&&(i[e]=n),n}function $y(e,n){return e[n|0]}function _y(e){return arguments.length===1&&Array.isArray(e)?Math.max.apply(Math,e):Math.max.apply(Math,arguments)}function yy(e){return arguments.length===1&&Array.isArray(e)?Math.min.apply(Math,e):Math.min.apply(Math,arguments)}function by(e,n){if(typeof e!="function")throw new Error("First argument to map is not a function");if(!Array.isArray(n))throw new Error("Second argument to map is not an array");return n.map(function(i,u){return e(i,u)})}function Sy(e,n,i){if(typeof e!="function")throw new Error("First argument to fold is not a function");if(!Array.isArray(i))throw new Error("Second argument to fold is not an array");return i.reduce(function(u,t,a){return e(u,t,a)},n)}function wy(e,n){if(typeof e!="function")throw new Error("First argument to filter is not a function");if(!Array.isArray(n))throw new Error("Second argument to filter is not an array");return n.filter(function(i,u){return e(i,u)})}function Iy(e,n){if(!(Array.isArray(n)||typeof n=="string"))throw new Error("Second argument to indexOf is not a string or array");return n.indexOf(e)}function ky(e,n){if(!Array.isArray(n))throw new Error("Second argument to join is not an array");return n.join(e)}function Oy(e){return(e>0)-(e<0)||+e}var rh=1/3;function Ey(e){return e<0?-Math.pow(-e,rh):Math.pow(e,rh)}function Ny(e){return Math.exp(e)-1}function xy(e){return Math.log(1+e)}function Ay(e){return Math.log(e)/Math.LN2}function Py(e){if(!Array.isArray(e))throw new Error("Sum argument is not an array");return e.reduce(function(n,i){return n+Number(i)},0)}function qn(e){this.options=e||{},this.unaryOps={sin:Math.sin,cos:Math.cos,tan:Math.tan,asin:Math.asin,acos:Math.acos,atan:Math.atan,sinh:Math.sinh||ry,cosh:Math.cosh||iy,tanh:Math.tanh||oy,asinh:Math.asinh||ay,acosh:Math.acosh||uy,atanh:Math.atanh||sy,sqrt:Math.sqrt,cbrt:Math.cbrt||Ey,log:Math.log,log2:Math.log2||Ay,ln:Math.log,lg:Math.log10||Qf,log10:Math.log10||Qf,expm1:Math.expm1||Ny,log1p:Math.log1p||xy,abs:Math.abs,ceil:Math.ceil,floor:Math.floor,round:Math.round,trunc:Math.trunc||dy,"-":ly,"+":Number,exp:Math.exp,not:cy,length:my,"!":eh,sign:Math.sign||Oy},this.binaryOps={"+":Z9,"-":B9,"*":G9,"/":W9,"%":H9,"^":Math.pow,"||":q9,"==":K9,"!=":V9,">":J9,"<":Y9,">=":X9,"<=":Q9,and:ey,or:ty,in:ny,"=":vy,"[":$y},this.ternaryOps={"?":nh},this.functions={random:fy,fac:eh,min:yy,max:_y,hypot:Math.hypot||th,pyt:Math.hypot||th,pow:Math.pow,atan2:Math.atan2,if:nh,gamma:Os,roundTo:gy,map:by,fold:Sy,filter:wy,indexOf:Iy,join:ky,sum:Py},this.consts={E:Math.E,PI:Math.PI,true:!0,false:!1}}qn.prototype.parse=function(e){var n=[],i=new Oe(this,new Pe(this,e),{allowMemberAccess:this.options.allowMemberAccess});return i.parseExpression(n),i.expect(ui,"EOF"),new Ft(n,this)};qn.prototype.evaluate=function(e,n){return this.parse(e).evaluate(n)};var Ep=new qn;qn.parse=function(e){return Ep.parse(e)};qn.evaluate=function(e,n){return Ep.parse(e).evaluate(n)};var ih={"+":"add","-":"subtract","*":"multiply","/":"divide","%":"remainder","^":"power","!":"factorial","<":"comparison",">":"comparison","<=":"comparison",">=":"comparison","==":"comparison","!=":"comparison","||":"concatenate",and:"logical",or:"logical",not:"logical","?":"conditional",":":"conditional","=":"assignment","[":"array","()=":"fndef"};function Ty(e){return Object.hasOwn(ih,e)?ih[e]:e}qn.prototype.isOperatorEnabled=function(e){var n=Ty(e),i=this.options.operators||{};return!(n in i)||!!i[n]};var vo={exports:{}},$o={exports:{}},Mt={},ot={},oh;function st(){if(oh)return ot;oh=1,ot.__esModule=!0,ot.extend=t,ot.indexOf=g,ot.escapeExpression=v,ot.isEmpty=m,ot.createFrame=_,ot.blockParams=h,ot.appendContextPath=d;var e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},n=/[&<>"'`=]/g,i=/[&<>"'`=]/;function u(c){return e[c]}function t(c){for(var y=1;y<arguments.length;y++)for(var b in arguments[y])Object.prototype.hasOwnProperty.call(arguments[y],b)&&(c[b]=arguments[y][b]);return c}var a=Object.prototype.toString;ot.toString=a;var l=function(y){return typeof y=="function"};l(/x/)&&(ot.isFunction=l=function(c){return typeof c=="function"&&a.call(c)==="[object Function]"}),ot.isFunction=l;var p=Array.isArray||function(c){return c&&typeof c=="object"?a.call(c)==="[object Array]":!1};ot.isArray=p;function g(c,y){for(var b=0,I=c.length;b<I;b++)if(c[b]===y)return b;return-1}function v(c){if(typeof c!="string"){if(c&&c.toHTML)return c.toHTML();if(c==null)return"";if(!c)return c+"";c=""+c}return i.test(c)?c.replace(n,u):c}function m(c){return!c&&c!==0?!0:!!(p(c)&&c.length===0)}function _(c){var y=t({},c);return y._parent=c,y}function h(c,y){return c.path=y,c}function d(c,y){return(c?c+".":"")+y}return ot}var _o={exports:{}},ah;function xt(){return ah||(ah=1,(function(e,n){n.__esModule=!0;var i=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function u(t,a){var l=a&&a.loc,p=void 0,g=void 0,v=void 0,m=void 0;l&&(p=l.start.line,g=l.end.line,v=l.start.column,m=l.end.column,t+=" - "+p+":"+v);for(var _=Error.prototype.constructor.call(this,t),h=0;h<i.length;h++)this[i[h]]=_[i[h]];Error.captureStackTrace&&Error.captureStackTrace(this,u);try{l&&(this.lineNumber=p,this.endLineNumber=g,Object.defineProperty?(Object.defineProperty(this,"column",{value:v,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:m,enumerable:!0})):(this.column=v,this.endColumn=m))}catch{}}u.prototype=new Error,n.default=u,e.exports=n.default})(_o,_o.exports)),_o.exports}var ei={},yo={exports:{}},uh;function Cy(){return uh||(uh=1,(function(e,n){n.__esModule=!0;var i=st();n.default=function(u){u.registerHelper("blockHelperMissing",function(t,a){var l=a.inverse,p=a.fn;if(t===!0)return p(this);if(t===!1||t==null)return l(this);if(i.isArray(t))return t.length>0?(a.ids&&(a.ids=[a.name]),u.helpers.each(t,a)):l(this);if(a.data&&a.ids){var g=i.createFrame(a.data);g.contextPath=i.appendContextPath(a.data.contextPath,a.name),a={data:g}}return p(t,a)})},e.exports=n.default})(yo,yo.exports)),yo.exports}var bo={exports:{}},sh;function zy(){return sh||(sh=1,(function(e,n){n.__esModule=!0;function i(l){return l&&l.__esModule?l:{default:l}}var u=st(),t=xt(),a=i(t);n.default=function(l){l.registerHelper("each",function(p,g){if(!g)throw new a.default("Must pass iterator to #each");var v=g.fn,m=g.inverse,_=0,h="",d=void 0,c=void 0;g.data&&g.ids&&(c=u.appendContextPath(g.data.contextPath,g.ids[0])+"."),u.isFunction(p)&&(p=p.call(this)),g.data&&(d=u.createFrame(g.data));function y(N,O,U){d&&(d.key=N,d.index=O,d.first=O===0,d.last=!!U,c&&(d.contextPath=c+N)),h=h+v(p[N],{data:d,blockParams:u.blockParams([p[N],N],[c+N,null])})}if(p&&typeof p=="object")if(u.isArray(p))for(var b=p.length;_<b;_++)_ in p&&y(_,_,_===p.length-1);else if(typeof Symbol=="function"&&p[Symbol.iterator]){for(var I=[],k=p[Symbol.iterator](),P=k.next();!P.done;P=k.next())I.push(P.value);p=I;for(var b=p.length;_<b;_++)y(_,_,_===p.length-1)}else(function(){var N=void 0;Object.keys(p).forEach(function(O){N!==void 0&&y(N,_-1),N=O,_++}),N!==void 0&&y(N,_-1,!0)})();return _===0&&(h=m(this)),h})},e.exports=n.default})(bo,bo.exports)),bo.exports}var So={exports:{}},lh;function Dy(){return lh||(lh=1,(function(e,n){n.__esModule=!0;function i(a){return a&&a.__esModule?a:{default:a}}var u=xt(),t=i(u);n.default=function(a){a.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new t.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=n.default})(So,So.exports)),So.exports}var wo={exports:{}},ch;function Uy(){return ch||(ch=1,(function(e,n){n.__esModule=!0;function i(l){return l&&l.__esModule?l:{default:l}}var u=st(),t=xt(),a=i(t);n.default=function(l){l.registerHelper("if",function(p,g){if(arguments.length!=2)throw new a.default("#if requires exactly one argument");return u.isFunction(p)&&(p=p.call(this)),!g.hash.includeZero&&!p||u.isEmpty(p)?g.inverse(this):g.fn(this)}),l.registerHelper("unless",function(p,g){if(arguments.length!=2)throw new a.default("#unless requires exactly one argument");return l.helpers.if.call(this,p,{fn:g.inverse,inverse:g.fn,hash:g.hash})})},e.exports=n.default})(wo,wo.exports)),wo.exports}var Io={exports:{}},dh;function Ry(){return dh||(dh=1,(function(e,n){n.__esModule=!0,n.default=function(i){i.registerHelper("log",function(){for(var u=[void 0],t=arguments[arguments.length-1],a=0;a<arguments.length-1;a++)u.push(arguments[a]);var l=1;t.hash.level!=null?l=t.hash.level:t.data&&t.data.level!=null&&(l=t.data.level),u[0]=l,i.log.apply(i,u)})},e.exports=n.default})(Io,Io.exports)),Io.exports}var ko={exports:{}},fh;function Ly(){return fh||(fh=1,(function(e,n){n.__esModule=!0,n.default=function(i){i.registerHelper("lookup",function(u,t,a){return u&&a.lookupProperty(u,t)})},e.exports=n.default})(ko,ko.exports)),ko.exports}var Oo={exports:{}},hh;function My(){return hh||(hh=1,(function(e,n){n.__esModule=!0;function i(l){return l&&l.__esModule?l:{default:l}}var u=st(),t=xt(),a=i(t);n.default=function(l){l.registerHelper("with",function(p,g){if(arguments.length!=2)throw new a.default("#with requires exactly one argument");u.isFunction(p)&&(p=p.call(this));var v=g.fn;if(u.isEmpty(p))return g.inverse(this);var m=g.data;return g.data&&g.ids&&(m=u.createFrame(g.data),m.contextPath=u.appendContextPath(g.data.contextPath,g.ids[0])),v(p,{data:m,blockParams:u.blockParams([p],[m&&m.contextPath])})})},e.exports=n.default})(Oo,Oo.exports)),Oo.exports}var ph;function Np(){if(ph)return ei;ph=1,ei.__esModule=!0,ei.registerDefaultHelpers=y,ei.moveHelperToHooks=b;function e(I){return I&&I.__esModule?I:{default:I}}var n=Cy(),i=e(n),u=zy(),t=e(u),a=Dy(),l=e(a),p=Uy(),g=e(p),v=Ry(),m=e(v),_=Ly(),h=e(_),d=My(),c=e(d);function y(I){i.default(I),t.default(I),l.default(I),g.default(I),m.default(I),h.default(I),c.default(I)}function b(I,k,P){I.helpers[k]&&(I.hooks[k]=I.helpers[k],P||(I.helpers[k]=void 0))}return ei}var Eo={},No={exports:{}},mh;function jy(){return mh||(mh=1,(function(e,n){n.__esModule=!0;var i=st();n.default=function(u){u.registerDecorator("inline",function(t,a,l,p){var g=t;return a.partials||(a.partials={},g=function(v,m){var _=l.partials;l.partials=i.extend({},_,a.partials);var h=t(v,m);return l.partials=_,h}),a.partials[p.args[0]]=p.fn,g})},e.exports=n.default})(No,No.exports)),No.exports}var gh;function Fy(){if(gh)return Eo;gh=1,Eo.__esModule=!0,Eo.registerDefaultDecorators=u;function e(t){return t&&t.__esModule?t:{default:t}}var n=jy(),i=e(n);function u(t){i.default(t)}return Eo}var xo={exports:{}},vh;function xp(){return vh||(vh=1,(function(e,n){n.__esModule=!0;var i=st(),u={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(a){if(typeof a=="string"){var l=i.indexOf(u.methodMap,a.toLowerCase());l>=0?a=l:a=parseInt(a,10)}return a},log:function(a){if(a=u.lookupLevel(a),typeof console<"u"&&u.lookupLevel(u.level)<=a){var l=u.methodMap[a];console[l]||(l="log");for(var p=arguments.length,g=Array(p>1?p-1:0),v=1;v<p;v++)g[v-1]=arguments[v];console[l].apply(console,g)}}};n.default=u,e.exports=n.default})(xo,xo.exports)),xo.exports}var hr={},$h;function Ap(){if($h)return hr;$h=1,hr.__esModule=!0,hr.createProtoAccessControl=a,hr.resultIsAllowed=l,hr.resetLoggedProperties=v;function e(m){return m&&m.__esModule?m:{default:m}}var n=st(),i=xp(),u=e(i),t=Object.create(null);function a(m){var _=Object.create(null);_.__proto__=!1,n.extend(_,m.allowedProtoProperties);var h=Object.create(null);return h.constructor=!1,h.__defineGetter__=!1,h.__defineSetter__=!1,h.__lookupGetter__=!1,h.__lookupSetter__=!1,n.extend(h,m.allowedProtoMethods),{properties:{whitelist:_,defaultValue:m.allowProtoPropertiesByDefault},methods:{whitelist:h,defaultValue:m.allowProtoMethodsByDefault}}}function l(m,_,h){return p(typeof m=="function"?_.methods:_.properties,h)}function p(m,_){return m.whitelist[_]!==void 0?m.whitelist[_]===!0:m.defaultValue!==void 0?m.defaultValue:(g(_),!1)}function g(m){t[m]!==!0&&(t[m]=!0,u.default.log("error",'Handlebars: Access has been denied to resolve the property "'+m+`" because it is not an "own property" of its parent.
|
|
25
25
|
You can add a runtime option to disable the check or this warning:
|
|
26
|
-
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function v(){Object.keys(t).forEach(function(m){delete t[m]})}return
|
|
27
|
-
`),Me=0,
|
|
28
|
-
`)}return he}else throw new a.default("The partial "+W.name+" could not be compiled when running in runtime-only mode")}var J={strict:function(G,W,he){if(!G||!(W in G))throw new a.default('"'+W+'" not defined in '+G,{loc:he});return J.lookupProperty(G,W)},lookupProperty:function(G,W){var he=G[W];if(he==null||Object.prototype.hasOwnProperty.call(G,W)||v.resultIsAllowed(he,J.protoAccessControl,W))return he},lookup:function(G,W){for(var he=G.length,Ce=0;Ce<he;Ce++){var Me=G[Ce]&&J.lookupProperty(G[Ce],W);if(Me!=null)return Me}},lambda:function(G,W){return typeof G=="function"?G.call(W):G},escapeExpression:u.escapeExpression,invokePartial:H,fn:function(G){var W=x[G];return W.decorator=x[G+"_d"],W},programs:[],program:function(G,W,he,Ce,Me){var Fe=this.programs[G],Nt=this.fn(G);return W||Me||Ce||he?Fe=h(this,G,Nt,W,he,Ce,Me):Fe||(Fe=this.programs[G]=h(this,G,Nt)),Fe},data:function(G,W){for(;G&&W--;)G=G._parent;return G},mergeIfNeeded:function(G,W){var he=G||W;return G&&W&&G!==W&&(he=u.extend({},W,G)),he},nullContext:Object.seal({}),noop:U.VM.noop,compilerInfo:x.compiler};function te(q){var G=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],W=G.data;te._setup(G),!G.partial&&x.useData&&(W=k(q,W));var he=void 0,Ce=x.useBlockParams?[]:void 0;x.useDepths&&(G.depths?he=q!=G.depths[0]?[q].concat(G.depths):G.depths:he=[q]);function Me(Fe){return""+x.main(J,Fe,J.helpers,J.partials,W,Ce,he)}return Me=I(x.main,Me,J,G.depths||[],W,Ce),Me(q,G)}return te.isTop=!0,te._setup=function(q){if(q.partial)J.protoAccessControl=q.protoAccessControl,J.helpers=q.helpers,J.partials=q.partials,J.decorators=q.decorators,J.hooks=q.hooks;else{var G={};P(G,U.helpers,J),P(G,q.helpers,J),J.helpers=G,x.usePartial&&(J.partials=J.mergeIfNeeded(q.partials,U.partials)),(x.usePartial||x.useDecorators)&&(J.decorators=u.extend({},U.decorators,q.decorators)),J.hooks={},J.protoAccessControl=v.createProtoAccessControl(q);var W=q.allowCallsToHelperMissing||z;p.moveHelperToHooks(J,"helperMissing",W),p.moveHelperToHooks(J,"blockHelperMissing",W)}},te._child=function(q,G,W,he){if(x.useBlockParams&&!W)throw new a.default("must pass block params");if(x.useDepths&&!he)throw new a.default("must pass parent depths");return h(J,q,x[q],G,0,W,he)},te}function h(x,U,z,H,J,te,q){function G(W){var he=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],Ce=q;return q&&W!=q[0]&&!(W===x.nullContext&&q[0]===null)&&(Ce=[W].concat(q)),z(x,W,x.helpers,x.partials,he.data||H,te&&[he.blockParams].concat(te),Ce)}return G=I(z,G,x,q,H,te),G.program=U,G.depth=q?q.length:0,G.blockParams=J||0,G}function d(x,U,z){return x?!x.call&&!z.name&&(z.name=x,x=b(z.partials,x)):z.name==="@partial-block"?x=b(z.data,"partial-block"):x=b(z.partials,z.name),x}function c(x,U,z){var H=b(z.data,"partial-block");z.partial=!0,z.ids&&(z.data.contextPath=z.ids[0]||z.data.contextPath);var J=void 0;if(z.fn&&z.fn!==y&&(function(){z.data=l.createFrame(z.data);var te=z.fn;J=z.data["partial-block"]=function(G){var W=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return W.data=l.createFrame(W.data),W.data["partial-block"]=H,te(G,W)},te.partials&&(z.partials=u.extend({},z.partials,te.partials))})(),x===void 0&&J&&(x=J),x===void 0)throw new a.default("The partial "+z.name+" could not be found");if(x instanceof Function)return x(U,z)}function y(){return""}function b(x,U){if(x&&Object.prototype.hasOwnProperty.call(x,U))return x[U]}function k(x,U){return(!U||!("root"in U))&&(U=U?l.createFrame(U):{},U.root=x),U}function I(x,U,z,H,J,te){if(x.decorator){var q={};U=x.decorator(U,q,z,H&&H[0],J,te,H),u.extend(U,q)}return U}function P(x,U,z){U&&Object.keys(U).forEach(function(H){var J=U[H];x[H]=E(J,z)})}function E(x,U){var z=U.lookupProperty;return g.wrapHelper(x,function(H){return H.lookupProperty=z,H})}return an}var Po={exports:{}},Sh;function Ap(){return Sh||(Sh=1,(function(e,n){n.__esModule=!0,n.default=function(i){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var u=globalThis.Handlebars;i.noConflict=function(){return globalThis.Handlebars===i&&(globalThis.Handlebars=u),i}},e.exports=n.default})(Po,Po.exports)),Po.exports}var wh;function By(){return wh||(wh=1,(function(e,n){n.__esModule=!0;function i(I){return I&&I.__esModule?I:{default:I}}function u(I){if(I&&I.__esModule)return I;var P={};if(I!=null)for(var E in I)Object.prototype.hasOwnProperty.call(I,E)&&(P[E]=I[E]);return P.default=I,P}var t=xs(),a=u(t),l=jy(),p=i(l),g=Et(),v=i(g),m=ut(),_=u(m),h=Zy(),d=u(h),c=Ap(),y=i(c);function b(){var I=new a.HandlebarsEnvironment;return _.extend(I,a),I.SafeString=p.default,I.Exception=v.default,I.Utils=_,I.escapeExpression=_.escapeExpression,I.VM=d,I.template=function(P){return d.template(P,I)},I}var k=b();k.create=b,y.default(k),k.default=k,n.default=k,e.exports=n.default})(vo,vo.exports)),vo.exports}var To={exports:{}},kh;function Np(){return kh||(kh=1,(function(e,n){n.__esModule=!0;var i={helpers:{helperExpression:function(t){return t.type==="SubExpression"||(t.type==="MustacheStatement"||t.type==="BlockStatement")&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return t.parts.length===1&&!i.helpers.scopedId(t)&&!t.depth}}};n.default=i,e.exports=n.default})(To,To.exports)),To.exports}var hr={},Co={exports:{}},Ih;function Gy(){return Ih||(Ih=1,(function(e,n){n.__esModule=!0;var i=(function(){var u={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(p,g,v,m,_,h,d){var c=h.length-1;switch(_){case 1:return h[c-1];case 2:this.$=m.prepareProgram(h[c]);break;case 3:this.$=h[c];break;case 4:this.$=h[c];break;case 5:this.$=h[c];break;case 6:this.$=h[c];break;case 7:this.$=h[c];break;case 8:this.$=h[c];break;case 9:this.$={type:"CommentStatement",value:m.stripComment(h[c]),strip:m.stripFlags(h[c],h[c]),loc:m.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:h[c],value:h[c],loc:m.locInfo(this._$)};break;case 11:this.$=m.prepareRawBlock(h[c-2],h[c-1],h[c],this._$);break;case 12:this.$={path:h[c-3],params:h[c-2],hash:h[c-1]};break;case 13:this.$=m.prepareBlock(h[c-3],h[c-2],h[c-1],h[c],!1,this._$);break;case 14:this.$=m.prepareBlock(h[c-3],h[c-2],h[c-1],h[c],!0,this._$);break;case 15:this.$={open:h[c-5],path:h[c-4],params:h[c-3],hash:h[c-2],blockParams:h[c-1],strip:m.stripFlags(h[c-5],h[c])};break;case 16:this.$={path:h[c-4],params:h[c-3],hash:h[c-2],blockParams:h[c-1],strip:m.stripFlags(h[c-5],h[c])};break;case 17:this.$={path:h[c-4],params:h[c-3],hash:h[c-2],blockParams:h[c-1],strip:m.stripFlags(h[c-5],h[c])};break;case 18:this.$={strip:m.stripFlags(h[c-1],h[c-1]),program:h[c]};break;case 19:var y=m.prepareBlock(h[c-2],h[c-1],h[c],h[c],!1,this._$),b=m.prepareProgram([y],h[c-1].loc);b.chained=!0,this.$={strip:h[c-2].strip,program:b,chain:!0};break;case 20:this.$=h[c];break;case 21:this.$={path:h[c-1],strip:m.stripFlags(h[c-2],h[c])};break;case 22:this.$=m.prepareMustache(h[c-3],h[c-2],h[c-1],h[c-4],m.stripFlags(h[c-4],h[c]),this._$);break;case 23:this.$=m.prepareMustache(h[c-3],h[c-2],h[c-1],h[c-4],m.stripFlags(h[c-4],h[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:h[c-3],params:h[c-2],hash:h[c-1],indent:"",strip:m.stripFlags(h[c-4],h[c]),loc:m.locInfo(this._$)};break;case 25:this.$=m.preparePartialBlock(h[c-2],h[c-1],h[c],this._$);break;case 26:this.$={path:h[c-3],params:h[c-2],hash:h[c-1],strip:m.stripFlags(h[c-4],h[c])};break;case 27:this.$=h[c];break;case 28:this.$=h[c];break;case 29:this.$={type:"SubExpression",path:h[c-3],params:h[c-2],hash:h[c-1],loc:m.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:h[c],loc:m.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:m.id(h[c-2]),value:h[c],loc:m.locInfo(this._$)};break;case 32:this.$=m.id(h[c-1]);break;case 33:this.$=h[c];break;case 34:this.$=h[c];break;case 35:this.$={type:"StringLiteral",value:h[c],original:h[c],loc:m.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(h[c]),original:Number(h[c]),loc:m.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:h[c]==="true",original:h[c]==="true",loc:m.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:m.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:m.locInfo(this._$)};break;case 40:this.$=h[c];break;case 41:this.$=h[c];break;case 42:this.$=m.preparePath(!0,h[c],this._$);break;case 43:this.$=m.preparePath(!1,h[c],this._$);break;case 44:h[c-2].push({part:m.id(h[c]),original:h[c],separator:h[c-1]}),this.$=h[c-2];break;case 45:this.$=[{part:m.id(h[c]),original:h[c]}];break;case 46:this.$=[];break;case 47:h[c-1].push(h[c]);break;case 48:this.$=[];break;case 49:h[c-1].push(h[c]);break;case 50:this.$=[];break;case 51:h[c-1].push(h[c]);break;case 58:this.$=[];break;case 59:h[c-1].push(h[c]);break;case 64:this.$=[];break;case 65:h[c-1].push(h[c]);break;case 70:this.$=[];break;case 71:h[c-1].push(h[c]);break;case 78:this.$=[];break;case 79:h[c-1].push(h[c]);break;case 82:this.$=[];break;case 83:h[c-1].push(h[c]);break;case 86:this.$=[];break;case 87:h[c-1].push(h[c]);break;case 90:this.$=[];break;case 91:h[c-1].push(h[c]);break;case 94:this.$=[];break;case 95:h[c-1].push(h[c]);break;case 98:this.$=[h[c]];break;case 99:h[c-1].push(h[c]);break;case 100:this.$=[h[c]];break;case 101:h[c-1].push(h[c]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(p,g){throw new Error(p)},parse:function(p){var g=this,v=[0],m=[null],_=[],h=this.table,d="",c=0,y=0;this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var b=this.lexer.yylloc;_.push(b);var k=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function I(){var W;return W=g.lexer.lex()||1,typeof W!="number"&&(W=g.symbols_[W]||W),W}for(var P,E,x,U,z={},H,J,te,q;;){if(E=v[v.length-1],this.defaultActions[E]?x=this.defaultActions[E]:((P===null||typeof P>"u")&&(P=I()),x=h[E]&&h[E][P]),typeof x>"u"||!x.length||!x[0]){var G="";{q=[];for(H in h[E])this.terminals_[H]&&H>2&&q.push("'"+this.terminals_[H]+"'");this.lexer.showPosition?G="Parse error on line "+(c+1)+`:
|
|
26
|
+
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function v(){Object.keys(t).forEach(function(m){delete t[m]})}return hr}var _h;function Es(){if(_h)return Mt;_h=1,Mt.__esModule=!0,Mt.HandlebarsEnvironment=c;function e(b){return b&&b.__esModule?b:{default:b}}var n=st(),i=xt(),u=e(i),t=Np(),a=Fy(),l=xp(),p=e(l),g=Ap(),v="4.7.9";Mt.VERSION=v;var m=8;Mt.COMPILER_REVISION=m;var _=7;Mt.LAST_COMPATIBLE_COMPILER_REVISION=_;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Mt.REVISION_CHANGES=h;var d="[object Object]";function c(b,I,k){this.helpers=b||{},this.partials=I||{},this.decorators=k||{},t.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:p.default,log:p.default.log,registerHelper:function(I,k){if(n.toString.call(I)===d){if(k)throw new u.default("Arg not supported with multiple helpers");n.extend(this.helpers,I)}else this.helpers[I]=k},unregisterHelper:function(I){delete this.helpers[I]},registerPartial:function(I,k){if(n.toString.call(I)===d)n.extend(this.partials,I);else{if(typeof k>"u")throw new u.default('Attempting to register a partial called "'+I+'" as undefined');this.partials[I]=k}},unregisterPartial:function(I){delete this.partials[I]},registerDecorator:function(I,k){if(n.toString.call(I)===d){if(k)throw new u.default("Arg not supported with multiple decorators");n.extend(this.decorators,I)}else this.decorators[I]=k},unregisterDecorator:function(I){delete this.decorators[I]},resetLoggedPropertyAccesses:function(){g.resetLoggedProperties()}};var y=p.default.log;return Mt.log=y,Mt.createFrame=n.createFrame,Mt.logger=p.default,Mt}var Ao={exports:{}},yh;function Zy(){return yh||(yh=1,(function(e,n){n.__esModule=!0;function i(u){this.string=u}i.prototype.toString=i.prototype.toHTML=function(){return""+this.string},n.default=i,e.exports=n.default})(Ao,Ao.exports)),Ao.exports}var un={},Po={},bh;function By(){if(bh)return Po;bh=1,Po.__esModule=!0,Po.wrapHelper=e;function e(n,i){if(typeof n!="function")return n;var u=function(){var a=arguments[arguments.length-1];return arguments[arguments.length-1]=i(a),n.apply(this,arguments)};return u}return Po}var Sh;function Gy(){if(Sh)return un;Sh=1,un.__esModule=!0,un.checkRevision=m,un.template=_,un.wrapProgram=h,un.resolvePartial=d,un.invokePartial=c,un.noop=y;function e(O){return O&&O.__esModule?O:{default:O}}function n(O){if(O&&O.__esModule)return O;var U={};if(O!=null)for(var z in O)Object.prototype.hasOwnProperty.call(O,z)&&(U[z]=O[z]);return U.default=O,U}var i=st(),u=n(i),t=xt(),a=e(t),l=Es(),p=Np(),g=By(),v=Ap();function m(O){var U=O&&O[0]||1,z=l.COMPILER_REVISION;if(!(U>=l.LAST_COMPATIBLE_COMPILER_REVISION&&U<=l.COMPILER_REVISION))if(U<l.LAST_COMPATIBLE_COMPILER_REVISION){var q=l.REVISION_CHANGES[z],J=l.REVISION_CHANGES[U];throw new a.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+q+") or downgrade your runtime to an older version ("+J+").")}else throw new a.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+O[1]+").")}function _(O,U){if(!U)throw new a.default("No environment passed to template");if(!O||!O.main)throw new a.default("Unknown template object: "+typeof O);O.main.decorator=O.main_d,U.VM.checkRevision(O.compiler);var z=O.compiler&&O.compiler[0]===7;function q(K,W,H){H.hash&&(W=u.extend({},W,H.hash),H.ids&&(H.ids[0]=!0)),K=U.VM.resolvePartial.call(this,K,W,H),H.hooks=this.hooks,H.protoAccessControl=this.protoAccessControl;var he=U.VM.invokePartial.call(this,K,W,H);if(he==null&&U.compile&&(H.partials[H.name]=U.compile(K,O.compilerOptions,U),he=H.partials[H.name](W,H)),he!=null){if(H.indent){for(var Ce=he.split(`
|
|
27
|
+
`),Me=0,Ze=Ce.length;Me<Ze&&!(!Ce[Me]&&Me+1===Ze);Me++)Ce[Me]=H.indent+Ce[Me];he=Ce.join(`
|
|
28
|
+
`)}return he}else throw new a.default("The partial "+H.name+" could not be compiled when running in runtime-only mode")}var J={strict:function(W,H,he){if(!W||!(H in W))throw new a.default('"'+H+'" not defined in '+W,{loc:he});return J.lookupProperty(W,H)},lookupProperty:function(W,H){var he=W[H];if(he==null||Object.prototype.hasOwnProperty.call(W,H)||v.resultIsAllowed(he,J.protoAccessControl,H))return he},lookup:function(W,H){for(var he=W.length,Ce=0;Ce<he;Ce++){var Me=W[Ce]&&J.lookupProperty(W[Ce],H);if(Me!=null)return Me}},lambda:function(W,H){return typeof W=="function"?W.call(H):W},escapeExpression:u.escapeExpression,invokePartial:q,fn:function(W){var H=O[W];return H.decorator=O[W+"_d"],H},programs:[],program:function(W,H,he,Ce,Me){var Ze=this.programs[W],Pt=this.fn(W);return H||Me||Ce||he?Ze=h(this,W,Pt,H,he,Ce,Me):Ze||(Ze=this.programs[W]=h(this,W,Pt)),Ze},data:function(W,H){for(;W&&H--;)W=W._parent;return W},mergeIfNeeded:function(W,H){var he=W||H;return W&&H&&W!==H&&(he=u.extend({},H,W)),he},nullContext:Object.seal({}),noop:U.VM.noop,compilerInfo:O.compiler};function te(K){var W=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],H=W.data;te._setup(W),!W.partial&&O.useData&&(H=I(K,H));var he=void 0,Ce=O.useBlockParams?[]:void 0;O.useDepths&&(W.depths?he=K!=W.depths[0]?[K].concat(W.depths):W.depths:he=[K]);function Me(Ze){return""+O.main(J,Ze,J.helpers,J.partials,H,Ce,he)}return Me=k(O.main,Me,J,W.depths||[],H,Ce),Me(K,W)}return te.isTop=!0,te._setup=function(K){if(K.partial)J.protoAccessControl=K.protoAccessControl,J.helpers=K.helpers,J.partials=K.partials,J.decorators=K.decorators,J.hooks=K.hooks;else{var W={};P(W,U.helpers,J),P(W,K.helpers,J),J.helpers=W,O.usePartial&&(J.partials=J.mergeIfNeeded(K.partials,U.partials)),(O.usePartial||O.useDecorators)&&(J.decorators=u.extend({},U.decorators,K.decorators)),J.hooks={},J.protoAccessControl=v.createProtoAccessControl(K);var H=K.allowCallsToHelperMissing||z;p.moveHelperToHooks(J,"helperMissing",H),p.moveHelperToHooks(J,"blockHelperMissing",H)}},te._child=function(K,W,H,he){if(O.useBlockParams&&!H)throw new a.default("must pass block params");if(O.useDepths&&!he)throw new a.default("must pass parent depths");return h(J,K,O[K],W,0,H,he)},te}function h(O,U,z,q,J,te,K){function W(H){var he=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],Ce=K;return K&&H!=K[0]&&!(H===O.nullContext&&K[0]===null)&&(Ce=[H].concat(K)),z(O,H,O.helpers,O.partials,he.data||q,te&&[he.blockParams].concat(te),Ce)}return W=k(z,W,O,K,q,te),W.program=U,W.depth=K?K.length:0,W.blockParams=J||0,W}function d(O,U,z){return O?!O.call&&!z.name&&(z.name=O,O=b(z.partials,O)):z.name==="@partial-block"?O=b(z.data,"partial-block"):O=b(z.partials,z.name),O}function c(O,U,z){var q=b(z.data,"partial-block");z.partial=!0,z.ids&&(z.data.contextPath=z.ids[0]||z.data.contextPath);var J=void 0;if(z.fn&&z.fn!==y&&(function(){z.data=l.createFrame(z.data);var te=z.fn;J=z.data["partial-block"]=function(W){var H=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return H.data=l.createFrame(H.data),H.data["partial-block"]=q,te(W,H)},te.partials&&(z.partials=u.extend({},z.partials,te.partials))})(),O===void 0&&J&&(O=J),O===void 0)throw new a.default("The partial "+z.name+" could not be found");if(O instanceof Function)return O(U,z)}function y(){return""}function b(O,U){if(O&&Object.prototype.hasOwnProperty.call(O,U))return O[U]}function I(O,U){return(!U||!("root"in U))&&(U=U?l.createFrame(U):{},U.root=O),U}function k(O,U,z,q,J,te){if(O.decorator){var K={};U=O.decorator(U,K,z,q&&q[0],J,te,q),u.extend(U,K)}return U}function P(O,U,z){U&&Object.keys(U).forEach(function(q){var J=U[q];O[q]=N(J,z)})}function N(O,U){var z=U.lookupProperty;return g.wrapHelper(O,function(q){return q.lookupProperty=z,q})}return un}var To={exports:{}},wh;function Pp(){return wh||(wh=1,(function(e,n){n.__esModule=!0,n.default=function(i){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var u=globalThis.Handlebars;i.noConflict=function(){return globalThis.Handlebars===i&&(globalThis.Handlebars=u),i}},e.exports=n.default})(To,To.exports)),To.exports}var Ih;function Wy(){return Ih||(Ih=1,(function(e,n){n.__esModule=!0;function i(k){return k&&k.__esModule?k:{default:k}}function u(k){if(k&&k.__esModule)return k;var P={};if(k!=null)for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&(P[N]=k[N]);return P.default=k,P}var t=Es(),a=u(t),l=Zy(),p=i(l),g=xt(),v=i(g),m=st(),_=u(m),h=Gy(),d=u(h),c=Pp(),y=i(c);function b(){var k=new a.HandlebarsEnvironment;return _.extend(k,a),k.SafeString=p.default,k.Exception=v.default,k.Utils=_,k.escapeExpression=_.escapeExpression,k.VM=d,k.template=function(P){return d.template(P,k)},k}var I=b();I.create=b,y.default(I),I.default=I,n.default=I,e.exports=n.default})($o,$o.exports)),$o.exports}var Co={exports:{}},kh;function Tp(){return kh||(kh=1,(function(e,n){n.__esModule=!0;var i={helpers:{helperExpression:function(t){return t.type==="SubExpression"||(t.type==="MustacheStatement"||t.type==="BlockStatement")&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return t.parts.length===1&&!i.helpers.scopedId(t)&&!t.depth}}};n.default=i,e.exports=n.default})(Co,Co.exports)),Co.exports}var pr={},zo={exports:{}},Oh;function Hy(){return Oh||(Oh=1,(function(e,n){n.__esModule=!0;var i=(function(){var u={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(p,g,v,m,_,h,d){var c=h.length-1;switch(_){case 1:return h[c-1];case 2:this.$=m.prepareProgram(h[c]);break;case 3:this.$=h[c];break;case 4:this.$=h[c];break;case 5:this.$=h[c];break;case 6:this.$=h[c];break;case 7:this.$=h[c];break;case 8:this.$=h[c];break;case 9:this.$={type:"CommentStatement",value:m.stripComment(h[c]),strip:m.stripFlags(h[c],h[c]),loc:m.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:h[c],value:h[c],loc:m.locInfo(this._$)};break;case 11:this.$=m.prepareRawBlock(h[c-2],h[c-1],h[c],this._$);break;case 12:this.$={path:h[c-3],params:h[c-2],hash:h[c-1]};break;case 13:this.$=m.prepareBlock(h[c-3],h[c-2],h[c-1],h[c],!1,this._$);break;case 14:this.$=m.prepareBlock(h[c-3],h[c-2],h[c-1],h[c],!0,this._$);break;case 15:this.$={open:h[c-5],path:h[c-4],params:h[c-3],hash:h[c-2],blockParams:h[c-1],strip:m.stripFlags(h[c-5],h[c])};break;case 16:this.$={path:h[c-4],params:h[c-3],hash:h[c-2],blockParams:h[c-1],strip:m.stripFlags(h[c-5],h[c])};break;case 17:this.$={path:h[c-4],params:h[c-3],hash:h[c-2],blockParams:h[c-1],strip:m.stripFlags(h[c-5],h[c])};break;case 18:this.$={strip:m.stripFlags(h[c-1],h[c-1]),program:h[c]};break;case 19:var y=m.prepareBlock(h[c-2],h[c-1],h[c],h[c],!1,this._$),b=m.prepareProgram([y],h[c-1].loc);b.chained=!0,this.$={strip:h[c-2].strip,program:b,chain:!0};break;case 20:this.$=h[c];break;case 21:this.$={path:h[c-1],strip:m.stripFlags(h[c-2],h[c])};break;case 22:this.$=m.prepareMustache(h[c-3],h[c-2],h[c-1],h[c-4],m.stripFlags(h[c-4],h[c]),this._$);break;case 23:this.$=m.prepareMustache(h[c-3],h[c-2],h[c-1],h[c-4],m.stripFlags(h[c-4],h[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:h[c-3],params:h[c-2],hash:h[c-1],indent:"",strip:m.stripFlags(h[c-4],h[c]),loc:m.locInfo(this._$)};break;case 25:this.$=m.preparePartialBlock(h[c-2],h[c-1],h[c],this._$);break;case 26:this.$={path:h[c-3],params:h[c-2],hash:h[c-1],strip:m.stripFlags(h[c-4],h[c])};break;case 27:this.$=h[c];break;case 28:this.$=h[c];break;case 29:this.$={type:"SubExpression",path:h[c-3],params:h[c-2],hash:h[c-1],loc:m.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:h[c],loc:m.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:m.id(h[c-2]),value:h[c],loc:m.locInfo(this._$)};break;case 32:this.$=m.id(h[c-1]);break;case 33:this.$=h[c];break;case 34:this.$=h[c];break;case 35:this.$={type:"StringLiteral",value:h[c],original:h[c],loc:m.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(h[c]),original:Number(h[c]),loc:m.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:h[c]==="true",original:h[c]==="true",loc:m.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:m.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:m.locInfo(this._$)};break;case 40:this.$=h[c];break;case 41:this.$=h[c];break;case 42:this.$=m.preparePath(!0,h[c],this._$);break;case 43:this.$=m.preparePath(!1,h[c],this._$);break;case 44:h[c-2].push({part:m.id(h[c]),original:h[c],separator:h[c-1]}),this.$=h[c-2];break;case 45:this.$=[{part:m.id(h[c]),original:h[c]}];break;case 46:this.$=[];break;case 47:h[c-1].push(h[c]);break;case 48:this.$=[];break;case 49:h[c-1].push(h[c]);break;case 50:this.$=[];break;case 51:h[c-1].push(h[c]);break;case 58:this.$=[];break;case 59:h[c-1].push(h[c]);break;case 64:this.$=[];break;case 65:h[c-1].push(h[c]);break;case 70:this.$=[];break;case 71:h[c-1].push(h[c]);break;case 78:this.$=[];break;case 79:h[c-1].push(h[c]);break;case 82:this.$=[];break;case 83:h[c-1].push(h[c]);break;case 86:this.$=[];break;case 87:h[c-1].push(h[c]);break;case 90:this.$=[];break;case 91:h[c-1].push(h[c]);break;case 94:this.$=[];break;case 95:h[c-1].push(h[c]);break;case 98:this.$=[h[c]];break;case 99:h[c-1].push(h[c]);break;case 100:this.$=[h[c]];break;case 101:h[c-1].push(h[c]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(p,g){throw new Error(p)},parse:function(p){var g=this,v=[0],m=[null],_=[],h=this.table,d="",c=0,y=0;this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var b=this.lexer.yylloc;_.push(b);var I=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function k(){var H;return H=g.lexer.lex()||1,typeof H!="number"&&(H=g.symbols_[H]||H),H}for(var P,N,O,U,z={},q,J,te,K;;){if(N=v[v.length-1],this.defaultActions[N]?O=this.defaultActions[N]:((P===null||typeof P>"u")&&(P=k()),O=h[N]&&h[N][P]),typeof O>"u"||!O.length||!O[0]){var W="";{K=[];for(q in h[N])this.terminals_[q]&&q>2&&K.push("'"+this.terminals_[q]+"'");this.lexer.showPosition?W="Parse error on line "+(c+1)+`:
|
|
29
29
|
`+this.lexer.showPosition()+`
|
|
30
|
-
Expecting `+
|
|
30
|
+
Expecting `+K.join(", ")+", got '"+(this.terminals_[P]||P)+"'":W="Parse error on line "+(c+1)+": Unexpected "+(P==1?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(W,{text:this.lexer.match,token:this.terminals_[P]||P,line:this.lexer.yylineno,loc:b,expected:K})}}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+N+", token: "+P);switch(O[0]){case 1:v.push(P),m.push(this.lexer.yytext),_.push(this.lexer.yylloc),v.push(O[1]),P=null,y=this.lexer.yyleng,d=this.lexer.yytext,c=this.lexer.yylineno,b=this.lexer.yylloc;break;case 2:if(J=this.productions_[O[1]][1],z.$=m[m.length-J],z._$={first_line:_[_.length-(J||1)].first_line,last_line:_[_.length-1].last_line,first_column:_[_.length-(J||1)].first_column,last_column:_[_.length-1].last_column},I&&(z._$.range=[_[_.length-(J||1)].range[0],_[_.length-1].range[1]]),U=this.performAction.call(z,d,y,c,this.yy,O[1],m,_),typeof U<"u")return U;J&&(v=v.slice(0,-1*J*2),m=m.slice(0,-1*J),_=_.slice(0,-1*J)),v.push(this.productions_[O[1]][0]),m.push(z.$),_.push(z._$),te=h[v[v.length-2]][v[v.length-1]],v.push(te);break;case 3:return!0}}return!0}},t=(function(){var l={EOF:1,parseError:function(g,v){if(this.yy.parser)this.yy.parser.parseError(g,v);else throw new Error(g)},setInput:function(g){return this._input=g,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var g=this._input[0];this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g;var v=g.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),g},unput:function(g){var v=g.length,m=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v-1),this.offset-=v;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===_.length?this.yylloc.first_column:0)+_[_.length-m.length].length-m[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-v]),this},more:function(){return this._more=!0,this},less:function(g){this.unput(this.match.slice(g))},pastInput:function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var g=this.pastInput(),v=new Array(g.length+1).join("-");return g+this.upcomingInput()+`
|
|
31
31
|
`+v+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var g,v,m,_,h;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),c=0;c<d.length&&(m=this._input.match(this.rules[d[c]]),!(m&&(!v||m[0].length>v[0].length)&&(v=m,_=c,!this.options.flex)));c++);return v?(h=v[0].match(/(?:\r\n?|\n).*/g),h&&(this.yylineno+=h.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(v[0].length),this.matched+=v[0],g=this.performAction.call(this,this.yy,this,d[_],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),g||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
32
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var g=this.next();return typeof g<"u"?g:this.lex()},begin:function(g){this.conditionStack.push(g)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(g){this.begin(g)}};return l.options={},l.performAction=function(g,v,m,_){function h(d,c){return v.yytext=v.yytext.substring(d,v.yyleng-c+d)}switch(m){case 0:if(v.yytext.slice(-2)==="\\\\"?(h(0,1),this.begin("mu")):v.yytext.slice(-1)==="\\"?(h(0,1),this.begin("emu")):this.begin("mu"),v.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(h(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(v.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return v.yytext=h(1,2).replace(/\\"/g,'"'),80;case 32:return v.yytext=h(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return v.yytext=v.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},l.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],l.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},l})();u.lexer=t;function a(){this.yy={}}return a.prototype=u,u.Parser=a,new a})();n.default=i,e.exports=n.default})(Co,Co.exports)),Co.exports}var zo={exports:{}},Do={exports:{}},xh;function Pp(){return xh||(xh=1,(function(e,n){n.__esModule=!0;function i(v){return v&&v.__esModule?v:{default:v}}var u=Et(),t=i(u);function a(){this.parents=[]}a.prototype={constructor:a,mutating:!1,acceptKey:function(m,_){var h=this.accept(m[_]);if(this.mutating){if(h&&!a.prototype[h.type])throw new t.default('Unexpected node type "'+h.type+'" found when accepting '+_+" on "+m.type);m[_]=h}},acceptRequired:function(m,_){if(this.acceptKey(m,_),!m[_])throw new t.default(m.type+" requires "+_)},acceptArray:function(m){for(var _=0,h=m.length;_<h;_++)this.acceptKey(m,_),m[_]||(m.splice(_,1),_--,h--)},accept:function(m){if(m){if(!this[m.type])throw new t.default("Unknown type: "+m.type,m);this.current&&this.parents.unshift(this.current),this.current=m;var _=this[m.type](m);if(this.current=this.parents.shift(),!this.mutating||_)return _;if(_!==!1)return m}},Program:function(m){this.acceptArray(m.body)},MustacheStatement:l,Decorator:l,BlockStatement:p,DecoratorBlock:p,PartialStatement:g,PartialBlockStatement:function(m){g.call(this,m),this.acceptKey(m,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:l,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(m){this.acceptArray(m.pairs)},HashPair:function(m){this.acceptRequired(m,"value")}};function l(v){this.acceptRequired(v,"path"),this.acceptArray(v.params),this.acceptKey(v,"hash")}function p(v){l.call(this,v),this.acceptKey(v,"program"),this.acceptKey(v,"inverse")}function g(v){this.acceptRequired(v,"name"),this.acceptArray(v.params),this.acceptKey(v,"hash")}n.default=a,e.exports=n.default})(Do,Do.exports)),Do.exports}var Oh;function Wy(){return Oh||(Oh=1,(function(e,n){n.__esModule=!0;function i(m){return m&&m.__esModule?m:{default:m}}var u=Pp(),t=i(u);function a(){var m=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=m}a.prototype=new t.default,a.prototype.Program=function(m){var _=!this.options.ignoreStandalone,h=!this.isRootSeen;this.isRootSeen=!0;for(var d=m.body,c=0,y=d.length;c<y;c++){var b=d[c],k=this.accept(b);if(k){var I=l(d,c,h),P=p(d,c,h),E=k.openStandalone&&I,x=k.closeStandalone&&P,U=k.inlineStandalone&&I&&P;k.close&&g(d,c,!0),k.open&&v(d,c,!0),_&&U&&(g(d,c),v(d,c)&&b.type==="PartialStatement"&&(b.indent=/([ \t]+$)/.exec(d[c-1].original)[1])),_&&E&&(g((b.program||b.inverse).body),v(d,c)),_&&x&&(g(d,c),v((b.inverse||b.program).body))}}return m},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(m){this.accept(m.program),this.accept(m.inverse);var _=m.program||m.inverse,h=m.program&&m.inverse,d=h,c=h;if(h&&h.chained)for(d=h.body[0].program;c.chained;)c=c.body[c.body.length-1].program;var y={open:m.openStrip.open,close:m.closeStrip.close,openStandalone:p(_.body),closeStandalone:l((d||_).body)};if(m.openStrip.close&&g(_.body,null,!0),h){var b=m.inverseStrip;b.open&&v(_.body,null,!0),b.close&&g(d.body,null,!0),m.closeStrip.open&&v(c.body,null,!0),!this.options.ignoreStandalone&&l(_.body)&&p(d.body)&&(v(_.body),g(d.body))}else m.closeStrip.open&&v(_.body,null,!0);return y},a.prototype.Decorator=a.prototype.MustacheStatement=function(m){return m.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(m){var _=m.strip||{};return{inlineStandalone:!0,open:_.open,close:_.close}};function l(m,_,h){_===void 0&&(_=m.length);var d=m[_-1],c=m[_-2];if(!d)return h;if(d.type==="ContentStatement")return(c||!h?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original)}function p(m,_,h){_===void 0&&(_=-1);var d=m[_+1],c=m[_+2];if(!d)return h;if(d.type==="ContentStatement")return(c||!h?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original)}function g(m,_,h){var d=m[_==null?0:_+1];if(!(!d||d.type!=="ContentStatement"||!h&&d.rightStripped)){var c=d.value;d.value=d.value.replace(h?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==c}}function v(m,_,h){var d=m[_==null?m.length-1:_-1];if(!(!d||d.type!=="ContentStatement"||!h&&d.leftStripped)){var c=d.value;return d.value=d.value.replace(h?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==c,d.leftStripped}}n.default=a,e.exports=n.default})(zo,zo.exports)),zo.exports}var pt={},Eh;function Hy(){if(Eh)return pt;Eh=1,pt.__esModule=!0,pt.SourceLocation=t,pt.id=a,pt.stripFlags=l,pt.stripComment=p,pt.preparePath=g,pt.prepareMustache=v,pt.prepareRawBlock=m,pt.prepareBlock=_,pt.prepareProgram=h,pt.preparePartialBlock=d;function e(c){return c&&c.__esModule?c:{default:c}}var n=Et(),i=e(n);function u(c,y){if(y=y.path?y.path.original:y,c.path.original!==y){var b={loc:c.path.loc};throw new i.default(c.path.original+" doesn't match "+y,b)}}function t(c,y){this.source=c,this.start={line:y.first_line,column:y.first_column},this.end={line:y.last_line,column:y.last_column}}function a(c){return/^\[.*\]$/.test(c)?c.substring(1,c.length-1):c}function l(c,y){return{open:c.charAt(2)==="~",close:y.charAt(y.length-3)==="~"}}function p(c){return c.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function g(c,y,b){b=this.locInfo(b);for(var k=c?"@":"",I=[],P=0,E=0,x=y.length;E<x;E++){var U=y[E].part,z=y[E].original!==U;if(k+=(y[E].separator||"")+U,!z&&(U===".."||U==="."||U==="this")){if(I.length>0)throw new i.default("Invalid path: "+k,{loc:b});U===".."&&P++}else I.push(U)}return{type:"PathExpression",data:c,depth:P,parts:I,original:k,loc:b}}function v(c,y,b,k,I,P){var E=k.charAt(3)||k.charAt(2),x=E!=="{"&&E!=="&",U=/\*/.test(k);return{type:U?"Decorator":"MustacheStatement",path:c,params:y,hash:b,escaped:x,strip:I,loc:this.locInfo(P)}}function m(c,y,b,k){u(c,b),k=this.locInfo(k);var I={type:"Program",body:y,strip:{},loc:k};return{type:"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:I,openStrip:{},inverseStrip:{},closeStrip:{},loc:k}}function _(c,y,b,k,I,P){k&&k.path&&u(c,k);var E=/\*/.test(c.open);y.blockParams=c.blockParams;var x=void 0,U=void 0;if(b){if(E)throw new i.default("Unexpected inverse block on decorator",b);b.chain&&(b.program.body[0].closeStrip=k.strip),U=b.strip,x=b.program}return I&&(I=x,x=y,y=I),{type:E?"DecoratorBlock":"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:y,inverse:x,openStrip:c.strip,inverseStrip:U,closeStrip:k&&k.strip,loc:this.locInfo(P)}}function h(c,y){if(!y&&c.length){var b=c[0].loc,k=c[c.length-1].loc;b&&k&&(y={source:b.source,start:{line:b.start.line,column:b.start.column},end:{line:k.end.line,column:k.end.column}})}return{type:"Program",body:c,strip:{},loc:y}}function d(c,y,b,k){return u(c,b),{type:"PartialBlockStatement",name:c.path,params:c.params,hash:c.hash,program:y,openStrip:c.strip,closeStrip:b&&b.strip,loc:this.locInfo(k)}}return pt}var Ah;function qy(){if(Ah)return hr;Ah=1,hr.__esModule=!0,hr.parseWithoutProcessing=h,hr.parse=d;function e(k){if(k&&k.__esModule)return k;var I={};if(k!=null)for(var P in k)Object.prototype.hasOwnProperty.call(k,P)&&(I[P]=k[P]);return I.default=k,I}function n(k){return k&&k.__esModule?k:{default:k}}var i=Gy(),u=n(i),t=Wy(),a=n(t),l=Hy(),p=e(l),g=Et(),v=n(g),m=ut();hr.parser=u.default;var _={};m.extend(_,p);function h(k,I){if(k.type==="Program")return c(k),k;u.default.yy=_,_.locInfo=function(E){return new _.SourceLocation(I&&I.srcName,E)};var P=u.default.parse(k);return P}function d(k,I){var P=h(k,I),E=new a.default(I);return E.accept(P)}function c(k){y(k)}function y(k){if(k!=null){if(Array.isArray(k)){k.forEach(y);return}if(typeof k=="object"){if(k.type==="PathExpression"){if(!b(k.depth))throw new v.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(k.parts))throw new v.default("Invalid AST: PathExpression.parts must be an array");for(var I=0;I<k.parts.length;I++)if(typeof k.parts[I]!="string")throw new v.default("Invalid AST: PathExpression.parts must only contain strings")}else if(k.type==="NumberLiteral"){if(typeof k.value!="number"||!isFinite(k.value))throw new v.default("Invalid AST: NumberLiteral.value must be a number")}else if(k.type==="BooleanLiteral"&&typeof k.value!="boolean")throw new v.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(k).forEach(function(P){P!=="loc"&&y(k[P])})}}}function b(k){return typeof k=="number"&&isFinite(k)&&Math.floor(k)===k&&k>=0}return hr}var pr={},Nh;function Ky(){if(Nh)return pr;Nh=1,pr.__esModule=!0,pr.Compiler=p,pr.precompile=g,pr.compile=v;function e(h){return h&&h.__esModule?h:{default:h}}var n=Et(),i=e(n),u=ut(),t=Np(),a=e(t),l=[].slice;function p(){}p.prototype={compiler:p,equals:function(d){var c=this.opcodes.length;if(d.opcodes.length!==c)return!1;for(var y=0;y<c;y++){var b=this.opcodes[y],k=d.opcodes[y];if(b.opcode!==k.opcode||!m(b.args,k.args))return!1}c=this.children.length;for(var y=0;y<c;y++)if(!this.children[y].equals(d.children[y]))return!1;return!0},guid:0,compile:function(d,c){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=c,this.stringParams=c.stringParams,this.trackIds=c.trackIds,c.blockParams=c.blockParams||[],c.knownHelpers=u.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},c.knownHelpers),this.accept(d)},compileProgram:function(d){var c=new this.compiler,y=c.compile(d,this.options),b=this.guid++;return this.usePartial=this.usePartial||y.usePartial,this.children[b]=y,this.useDepths=this.useDepths||y.useDepths,b},accept:function(d){if(!this[d.type])throw new i.default("Unknown type: "+d.type,d);this.sourceNode.unshift(d);var c=this[d.type](d);return this.sourceNode.shift(),c},Program:function(d){this.options.blockParams.unshift(d.blockParams);for(var c=d.body,y=c.length,b=0;b<y;b++)this.accept(c[b]);return this.options.blockParams.shift(),this.isSimple=y===1,this.blockParams=d.blockParams?d.blockParams.length:0,this},BlockStatement:function(d){_(d);var c=d.program,y=d.inverse;c=c&&this.compileProgram(c),y=y&&this.compileProgram(y);var b=this.classifySexpr(d);b==="helper"?this.helperSexpr(d,c,y):b==="simple"?(this.simpleSexpr(d),this.opcode("pushProgram",c),this.opcode("pushProgram",y),this.opcode("emptyHash"),this.opcode("blockValue",d.path.original)):(this.ambiguousSexpr(d,c,y),this.opcode("pushProgram",c),this.opcode("pushProgram",y),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(d){var c=d.program&&this.compileProgram(d.program),y=this.setupFullMustacheParams(d,c,void 0),b=d.path;this.useDecorators=!0,this.opcode("registerDecorator",y.length,b.original)},PartialStatement:function(d){this.usePartial=!0;var c=d.program;c&&(c=this.compileProgram(d.program));var y=d.params;if(y.length>1)throw new i.default("Unsupported number of partial arguments: "+y.length,d);y.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):y.push({type:"PathExpression",parts:[],depth:0}));var b=d.name.original,k=d.name.type==="SubExpression";k&&this.accept(d.name),this.setupFullMustacheParams(d,c,void 0,!0);var I=d.indent||"";this.options.preventIndent&&I&&(this.opcode("appendContent",I),I=""),this.opcode("invokePartial",k,b,I),this.opcode("append")},PartialBlockStatement:function(d){this.PartialStatement(d)},MustacheStatement:function(d){this.SubExpression(d),d.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(d){this.DecoratorBlock(d)},ContentStatement:function(d){d.value&&this.opcode("appendContent",d.value)},CommentStatement:function(){},SubExpression:function(d){_(d);var c=this.classifySexpr(d);c==="simple"?this.simpleSexpr(d):c==="helper"?this.helperSexpr(d):this.ambiguousSexpr(d)},ambiguousSexpr:function(d,c,y){var b=d.path,k=b.parts[0],I=c!=null||y!=null;this.opcode("getContext",b.depth),this.opcode("pushProgram",c),this.opcode("pushProgram",y),b.strict=!0,this.accept(b),this.opcode("invokeAmbiguous",k,I)},simpleSexpr:function(d){var c=d.path;c.strict=!0,this.accept(c),this.opcode("resolvePossibleLambda")},helperSexpr:function(d,c,y){var b=this.setupFullMustacheParams(d,c,y),k=d.path,I=k.parts[0];if(this.options.knownHelpers[I])this.opcode("invokeKnownHelper",b.length,I);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+I,d);k.strict=!0,k.falsy=!0,this.accept(k),this.opcode("invokeHelper",b.length,k.original,a.default.helpers.simpleId(k))}},PathExpression:function(d){this.addDepth(d.depth),this.opcode("getContext",d.depth);var c=d.parts[0],y=a.default.helpers.scopedId(d),b=!d.depth&&!y&&this.blockParamIndex(c);b?this.opcode("lookupBlockParam",b,d.parts):c?d.data?(this.options.data=!0,this.opcode("lookupData",d.depth,d.parts,d.strict)):this.opcode("lookupOnContext",d.parts,d.falsy,d.strict,y):this.opcode("pushContext")},StringLiteral:function(d){this.opcode("pushString",d.value)},NumberLiteral:function(d){this.opcode("pushLiteral",d.value)},BooleanLiteral:function(d){this.opcode("pushLiteral",d.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(d){var c=d.pairs,y=0,b=c.length;for(this.opcode("pushHash");y<b;y++)this.pushParam(c[y].value);for(;y--;)this.opcode("assignToHash",c[y].key);this.opcode("popHash")},opcode:function(d){this.opcodes.push({opcode:d,args:l.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(d){d&&(this.useDepths=!0)},classifySexpr:function(d){var c=a.default.helpers.simpleId(d.path),y=c&&!!this.blockParamIndex(d.path.parts[0]),b=!y&&a.default.helpers.helperExpression(d),k=!y&&(b||c);if(k&&!b){var I=d.path.parts[0],P=this.options;P.knownHelpers[I]?b=!0:P.knownHelpersOnly&&(k=!1)}return b?"helper":k?"ambiguous":"simple"},pushParams:function(d){for(var c=0,y=d.length;c<y;c++)this.pushParam(d[c])},pushParam:function(d){var c=d.value!=null?d.value:d.original||"";if(this.stringParams)c.replace&&(c=c.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),d.depth&&this.addDepth(d.depth),this.opcode("getContext",d.depth||0),this.opcode("pushStringParam",c,d.type),d.type==="SubExpression"&&this.accept(d);else{if(this.trackIds){var y=void 0;if(d.parts&&!a.default.helpers.scopedId(d)&&!d.depth&&(y=this.blockParamIndex(d.parts[0])),y){var b=d.parts.slice(1).join(".");this.opcode("pushId","BlockParam",y,b)}else c=d.original||c,c.replace&&(c=c.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",d.type,c)}this.accept(d)}},setupFullMustacheParams:function(d,c,y,b){var k=d.params;return this.pushParams(k),this.opcode("pushProgram",c),this.opcode("pushProgram",y),d.hash?this.accept(d.hash):this.opcode("emptyHash",b),k},blockParamIndex:function(d){for(var c=0,y=this.options.blockParams.length;c<y;c++){var b=this.options.blockParams[c],k=b&&u.indexOf(b,d);if(b&&k>=0)return[c,k]}}};function g(h,d,c){if(h==null||typeof h!="string"&&h.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+h);d=d||{},"data"in d||(d.data=!0),d.compat&&(d.useDepths=!0);var y=c.parse(h,d),b=new c.Compiler().compile(y,d);return new c.JavaScriptCompiler().compile(b,d)}function v(h,d,c){if(d===void 0&&(d={}),h==null||typeof h!="string"&&h.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+h);d=u.extend({},d),"data"in d||(d.data=!0),d.compat&&(d.useDepths=!0);var y=void 0;function b(){var I=c.parse(h,d),P=new c.Compiler().compile(I,d),E=new c.JavaScriptCompiler().compile(P,d,void 0,!0);return c.template(E)}function k(I,P){return y||(y=b()),y.call(this,I,P)}return k._setup=function(I){return y||(y=b()),y._setup(I)},k._child=function(I,P,E,x){return y||(y=b()),y._child(I,P,E,x)},k}function m(h,d){if(h===d)return!0;if(u.isArray(h)&&u.isArray(d)&&h.length===d.length){for(var c=0;c<h.length;c++)if(!m(h[c],d[c]))return!1;return!0}}function _(h){if(!h.path.parts){var d=h.path;h.path={type:"PathExpression",data:!1,depth:0,parts:[d.original+""],original:d.original+"",loc:d.loc}}}return pr}var Uo={exports:{}},Ro={exports:{}},ei={},Yu={},Lo={},Mo={},Ph;function Jy(){if(Ph)return Mo;Ph=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Mo.encode=function(n){if(0<=n&&n<e.length)return e[n];throw new TypeError("Must be between 0 and 63: "+n)},Mo.decode=function(n){var i=65,u=90,t=97,a=122,l=48,p=57,g=43,v=47,m=26,_=52;return i<=n&&n<=u?n-i:t<=n&&n<=a?n-t+m:l<=n&&n<=p?n-l+_:n==g?62:n==v?63:-1},Mo}var Th;function Tp(){if(Th)return Lo;Th=1;var e=Jy(),n=5,i=1<<n,u=i-1,t=i;function a(p){return p<0?(-p<<1)+1:(p<<1)+0}function l(p){var g=(p&1)===1,v=p>>1;return g?-v:v}return Lo.encode=function(g){var v="",m,_=a(g);do m=_&u,_>>>=n,_>0&&(m|=t),v+=e.encode(m);while(_>0);return v},Lo.decode=function(g,v,m){var _=g.length,h=0,d=0,c,y;do{if(v>=_)throw new Error("Expected more digits in base 64 VLQ value.");if(y=e.decode(g.charCodeAt(v++)),y===-1)throw new Error("Invalid base64 digit: "+g.charAt(v-1));c=!!(y&t),y&=u,h=h+(y<<d),d+=n}while(c);m.value=l(h),m.rest=v},Lo}var Xu={},Ch;function ci(){return Ch||(Ch=1,(function(e){function n(E,x,U){if(x in E)return E[x];if(arguments.length===3)return U;throw new Error('"'+x+'" is a required argument.')}e.getArg=n;var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u=/^data:.+\,.+$/;function t(E){var x=E.match(i);return x?{scheme:x[1],auth:x[2],host:x[3],port:x[4],path:x[5]}:null}e.urlParse=t;function a(E){var x="";return E.scheme&&(x+=E.scheme+":"),x+="//",E.auth&&(x+=E.auth+"@"),E.host&&(x+=E.host),E.port&&(x+=":"+E.port),E.path&&(x+=E.path),x}e.urlGenerate=a;function l(E){var x=E,U=t(E);if(U){if(!U.path)return E;x=U.path}for(var z=e.isAbsolute(x),H=x.split(/\/+/),J,te=0,q=H.length-1;q>=0;q--)J=H[q],J==="."?H.splice(q,1):J===".."?te++:te>0&&(J===""?(H.splice(q+1,te),te=0):(H.splice(q,2),te--));return x=H.join("/"),x===""&&(x=z?"/":"."),U?(U.path=x,a(U)):x}e.normalize=l;function p(E,x){E===""&&(E="."),x===""&&(x=".");var U=t(x),z=t(E);if(z&&(E=z.path||"/"),U&&!U.scheme)return z&&(U.scheme=z.scheme),a(U);if(U||x.match(u))return x;if(z&&!z.host&&!z.path)return z.host=x,a(z);var H=x.charAt(0)==="/"?x:l(E.replace(/\/+$/,"")+"/"+x);return z?(z.path=H,a(z)):H}e.join=p,e.isAbsolute=function(E){return E.charAt(0)==="/"||i.test(E)};function g(E,x){E===""&&(E="."),E=E.replace(/\/$/,"");for(var U=0;x.indexOf(E+"/")!==0;){var z=E.lastIndexOf("/");if(z<0||(E=E.slice(0,z),E.match(/^([^\/]+:\/)?\/*$/)))return x;++U}return Array(U+1).join("../")+x.substr(E.length+1)}e.relative=g;var v=(function(){var E=Object.create(null);return!("__proto__"in E)})();function m(E){return E}function _(E){return d(E)?"$"+E:E}e.toSetString=v?m:_;function h(E){return d(E)?E.slice(1):E}e.fromSetString=v?m:h;function d(E){if(!E)return!1;var x=E.length;if(x<9||E.charCodeAt(x-1)!==95||E.charCodeAt(x-2)!==95||E.charCodeAt(x-3)!==111||E.charCodeAt(x-4)!==116||E.charCodeAt(x-5)!==111||E.charCodeAt(x-6)!==114||E.charCodeAt(x-7)!==112||E.charCodeAt(x-8)!==95||E.charCodeAt(x-9)!==95)return!1;for(var U=x-10;U>=0;U--)if(E.charCodeAt(U)!==36)return!1;return!0}function c(E,x,U){var z=b(E.source,x.source);return z!==0||(z=E.originalLine-x.originalLine,z!==0)||(z=E.originalColumn-x.originalColumn,z!==0||U)||(z=E.generatedColumn-x.generatedColumn,z!==0)||(z=E.generatedLine-x.generatedLine,z!==0)?z:b(E.name,x.name)}e.compareByOriginalPositions=c;function y(E,x,U){var z=E.generatedLine-x.generatedLine;return z!==0||(z=E.generatedColumn-x.generatedColumn,z!==0||U)||(z=b(E.source,x.source),z!==0)||(z=E.originalLine-x.originalLine,z!==0)||(z=E.originalColumn-x.originalColumn,z!==0)?z:b(E.name,x.name)}e.compareByGeneratedPositionsDeflated=y;function b(E,x){return E===x?0:E===null?1:x===null?-1:E>x?1:-1}function k(E,x){var U=E.generatedLine-x.generatedLine;return U!==0||(U=E.generatedColumn-x.generatedColumn,U!==0)||(U=b(E.source,x.source),U!==0)||(U=E.originalLine-x.originalLine,U!==0)||(U=E.originalColumn-x.originalColumn,U!==0)?U:b(E.name,x.name)}e.compareByGeneratedPositionsInflated=k;function I(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=I;function P(E,x,U){if(x=x||"",E&&(E[E.length-1]!=="/"&&x[0]!=="/"&&(E+="/"),x=E+x),U){var z=t(U);if(!z)throw new Error("sourceMapURL could not be parsed");if(z.path){var H=z.path.lastIndexOf("/");H>=0&&(z.path=z.path.substring(0,H+1))}x=p(a(z),x)}return l(x)}e.computeSourceURL=P})(Xu)),Xu}var Qu={},zh;function Cp(){if(zh)return Qu;zh=1;var e=ci(),n=Object.prototype.hasOwnProperty,i=typeof Map<"u";function u(){this._array=[],this._set=i?new Map:Object.create(null)}return u.fromArray=function(a,l){for(var p=new u,g=0,v=a.length;g<v;g++)p.add(a[g],l);return p},u.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},u.prototype.add=function(a,l){var p=i?a:e.toSetString(a),g=i?this.has(a):n.call(this._set,p),v=this._array.length;(!g||l)&&this._array.push(a),g||(i?this._set.set(a,v):this._set[p]=v)},u.prototype.has=function(a){if(i)return this._set.has(a);var l=e.toSetString(a);return n.call(this._set,l)},u.prototype.indexOf=function(a){if(i){var l=this._set.get(a);if(l>=0)return l}else{var p=e.toSetString(a);if(n.call(this._set,p))return this._set[p]}throw new Error('"'+a+'" is not in the set.')},u.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},u.prototype.toArray=function(){return this._array.slice()},Qu.ArraySet=u,Qu}var es={},Dh;function Vy(){if(Dh)return es;Dh=1;var e=ci();function n(u,t){var a=u.generatedLine,l=t.generatedLine,p=u.generatedColumn,g=t.generatedColumn;return l>a||l==a&&g>=p||e.compareByGeneratedPositionsInflated(u,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return i.prototype.unsortedForEach=function(t,a){this._array.forEach(t,a)},i.prototype.add=function(t){n(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},es.MappingList=i,es}var Uh;function zp(){if(Uh)return Yu;Uh=1;var e=Tp(),n=ci(),i=Cp().ArraySet,u=Vy().MappingList;function t(a){a||(a={}),this._file=n.getArg(a,"file",null),this._sourceRoot=n.getArg(a,"sourceRoot",null),this._skipValidation=n.getArg(a,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new u,this._sourcesContents=null}return t.prototype._version=3,t.fromSourceMap=function(l){var p=l.sourceRoot,g=new t({file:l.file,sourceRoot:p});return l.eachMapping(function(v){var m={generated:{line:v.generatedLine,column:v.generatedColumn}};v.source!=null&&(m.source=v.source,p!=null&&(m.source=n.relative(p,m.source)),m.original={line:v.originalLine,column:v.originalColumn},v.name!=null&&(m.name=v.name)),g.addMapping(m)}),l.sources.forEach(function(v){var m=v;p!==null&&(m=n.relative(p,v)),g._sources.has(m)||g._sources.add(m);var _=l.sourceContentFor(v);_!=null&&g.setSourceContent(v,_)}),g},t.prototype.addMapping=function(l){var p=n.getArg(l,"generated"),g=n.getArg(l,"original",null),v=n.getArg(l,"source",null),m=n.getArg(l,"name",null);this._skipValidation||this._validateMapping(p,g,v,m),v!=null&&(v=String(v),this._sources.has(v)||this._sources.add(v)),m!=null&&(m=String(m),this._names.has(m)||this._names.add(m)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:g!=null&&g.line,originalColumn:g!=null&&g.column,source:v,name:m})},t.prototype.setSourceContent=function(l,p){var g=l;this._sourceRoot!=null&&(g=n.relative(this._sourceRoot,g)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(g)]=p):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(g)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},t.prototype.applySourceMap=function(l,p,g){var v=p;if(p==null){if(l.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);v=l.file}var m=this._sourceRoot;m!=null&&(v=n.relative(m,v));var _=new i,h=new i;this._mappings.unsortedForEach(function(d){if(d.source===v&&d.originalLine!=null){var c=l.originalPositionFor({line:d.originalLine,column:d.originalColumn});c.source!=null&&(d.source=c.source,g!=null&&(d.source=n.join(g,d.source)),m!=null&&(d.source=n.relative(m,d.source)),d.originalLine=c.line,d.originalColumn=c.column,c.name!=null&&(d.name=c.name))}var y=d.source;y!=null&&!_.has(y)&&_.add(y);var b=d.name;b!=null&&!h.has(b)&&h.add(b)},this),this._sources=_,this._names=h,l.sources.forEach(function(d){var c=l.sourceContentFor(d);c!=null&&(g!=null&&(d=n.join(g,d)),m!=null&&(d=n.relative(m,d)),this.setSourceContent(d,c))},this)},t.prototype._validateMapping=function(l,p,g,v){if(p&&typeof p.line!="number"&&typeof p.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(l&&"line"in l&&"column"in l&&l.line>0&&l.column>=0&&!p&&!g&&!v)){if(l&&"line"in l&&"column"in l&&p&&"line"in p&&"column"in p&&l.line>0&&l.column>=0&&p.line>0&&p.column>=0&&g)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:l,source:g,original:p,name:v}))}},t.prototype._serializeMappings=function(){for(var l=0,p=1,g=0,v=0,m=0,_=0,h="",d,c,y,b,k=this._mappings.toArray(),I=0,P=k.length;I<P;I++){if(c=k[I],d="",c.generatedLine!==p)for(l=0;c.generatedLine!==p;)d+=";",p++;else if(I>0){if(!n.compareByGeneratedPositionsInflated(c,k[I-1]))continue;d+=","}d+=e.encode(c.generatedColumn-l),l=c.generatedColumn,c.source!=null&&(b=this._sources.indexOf(c.source),d+=e.encode(b-_),_=b,d+=e.encode(c.originalLine-1-v),v=c.originalLine-1,d+=e.encode(c.originalColumn-g),g=c.originalColumn,c.name!=null&&(y=this._names.indexOf(c.name),d+=e.encode(y-m),m=y)),h+=d}return h},t.prototype._generateSourcesContent=function(l,p){return l.map(function(g){if(!this._sourcesContents)return null;p!=null&&(g=n.relative(p,g));var v=n.toSetString(g);return Object.prototype.hasOwnProperty.call(this._sourcesContents,v)?this._sourcesContents[v]:null},this)},t.prototype.toJSON=function(){var l={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(l.file=this._file),this._sourceRoot!=null&&(l.sourceRoot=this._sourceRoot),this._sourcesContents&&(l.sourcesContent=this._generateSourcesContent(l.sources,l.sourceRoot)),l},t.prototype.toString=function(){return JSON.stringify(this.toJSON())},Yu.SourceMapGenerator=t,Yu}var ti={},ts={},Rh;function Yy(){return Rh||(Rh=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function n(i,u,t,a,l,p){var g=Math.floor((u-i)/2)+i,v=l(t,a[g],!0);return v===0?g:v>0?u-g>1?n(g,u,t,a,l,p):p==e.LEAST_UPPER_BOUND?u<a.length?u:-1:g:g-i>1?n(i,g,t,a,l,p):p==e.LEAST_UPPER_BOUND?g:i<0?-1:i}e.search=function(u,t,a,l){if(t.length===0)return-1;var p=n(-1,t.length,u,t,a,l||e.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&a(t[p],t[p-1],!0)===0;)--p;return p}})(ts)),ts}var ns={},Lh;function Xy(){if(Lh)return ns;Lh=1;function e(u,t,a){var l=u[t];u[t]=u[a],u[a]=l}function n(u,t){return Math.round(u+Math.random()*(t-u))}function i(u,t,a,l){if(a<l){var p=n(a,l),g=a-1;e(u,p,l);for(var v=u[l],m=a;m<l;m++)t(u[m],v)<=0&&(g+=1,e(u,g,m));e(u,g+1,m);var _=g+1;i(u,t,a,_-1),i(u,t,_+1,l)}}return ns.quickSort=function(u,t){i(u,t,0,u.length-1)},ns}var Mh;function Qy(){if(Mh)return ti;Mh=1;var e=ci(),n=Yy(),i=Cp().ArraySet,u=Tp(),t=Xy().quickSort;function a(v,m){var _=v;return typeof v=="string"&&(_=e.parseSourceMapInput(v)),_.sections!=null?new g(_,m):new l(_,m)}a.fromSourceMap=function(v,m){return l.fromSourceMap(v,m)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(m,_){var h=m.charAt(_);return h===";"||h===","},a.prototype._parseMappings=function(m,_){throw new Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(m,_,h){var d=_||null,c=h||a.GENERATED_ORDER,y;switch(c){case a.GENERATED_ORDER:y=this._generatedMappings;break;case a.ORIGINAL_ORDER:y=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var b=this.sourceRoot;y.map(function(k){var I=k.source===null?null:this._sources.at(k.source);return I=e.computeSourceURL(b,I,this._sourceMapURL),{source:I,generatedLine:k.generatedLine,generatedColumn:k.generatedColumn,originalLine:k.originalLine,originalColumn:k.originalColumn,name:k.name===null?null:this._names.at(k.name)}},this).forEach(m,d)},a.prototype.allGeneratedPositionsFor=function(m){var _=e.getArg(m,"line"),h={source:e.getArg(m,"source"),originalLine:_,originalColumn:e.getArg(m,"column",0)};if(h.source=this._findSourceIndex(h.source),h.source<0)return[];var d=[],c=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(c>=0){var y=this._originalMappings[c];if(m.column===void 0)for(var b=y.originalLine;y&&y.originalLine===b;)d.push({line:e.getArg(y,"generatedLine",null),column:e.getArg(y,"generatedColumn",null),lastColumn:e.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++c];else for(var k=y.originalColumn;y&&y.originalLine===_&&y.originalColumn==k;)d.push({line:e.getArg(y,"generatedLine",null),column:e.getArg(y,"generatedColumn",null),lastColumn:e.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++c]}return d},ti.SourceMapConsumer=a;function l(v,m){var _=v;typeof v=="string"&&(_=e.parseSourceMapInput(v));var h=e.getArg(_,"version"),d=e.getArg(_,"sources"),c=e.getArg(_,"names",[]),y=e.getArg(_,"sourceRoot",null),b=e.getArg(_,"sourcesContent",null),k=e.getArg(_,"mappings"),I=e.getArg(_,"file",null);if(h!=this._version)throw new Error("Unsupported version: "+h);y&&(y=e.normalize(y)),d=d.map(String).map(e.normalize).map(function(P){return y&&e.isAbsolute(y)&&e.isAbsolute(P)?e.relative(y,P):P}),this._names=i.fromArray(c.map(String),!0),this._sources=i.fromArray(d,!0),this._absoluteSources=this._sources.toArray().map(function(P){return e.computeSourceURL(y,P,m)}),this.sourceRoot=y,this.sourcesContent=b,this._mappings=k,this._sourceMapURL=m,this.file=I}l.prototype=Object.create(a.prototype),l.prototype.consumer=a,l.prototype._findSourceIndex=function(v){var m=v;if(this.sourceRoot!=null&&(m=e.relative(this.sourceRoot,m)),this._sources.has(m))return this._sources.indexOf(m);var _;for(_=0;_<this._absoluteSources.length;++_)if(this._absoluteSources[_]==v)return _;return-1},l.fromSourceMap=function(m,_){var h=Object.create(l.prototype),d=h._names=i.fromArray(m._names.toArray(),!0),c=h._sources=i.fromArray(m._sources.toArray(),!0);h.sourceRoot=m._sourceRoot,h.sourcesContent=m._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=m._file,h._sourceMapURL=_,h._absoluteSources=h._sources.toArray().map(function(U){return e.computeSourceURL(h.sourceRoot,U,_)});for(var y=m._mappings.toArray().slice(),b=h.__generatedMappings=[],k=h.__originalMappings=[],I=0,P=y.length;I<P;I++){var E=y[I],x=new p;x.generatedLine=E.generatedLine,x.generatedColumn=E.generatedColumn,E.source&&(x.source=c.indexOf(E.source),x.originalLine=E.originalLine,x.originalColumn=E.originalColumn,E.name&&(x.name=d.indexOf(E.name)),k.push(x)),b.push(x)}return t(h.__originalMappings,e.compareByOriginalPositions),h},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.prototype._parseMappings=function(m,_){for(var h=1,d=0,c=0,y=0,b=0,k=0,I=m.length,P=0,E={},x={},U=[],z=[],H,J,te,q,G;P<I;)if(m.charAt(P)===";")h++,P++,d=0;else if(m.charAt(P)===",")P++;else{for(H=new p,H.generatedLine=h,q=P;q<I&&!this._charIsMappingSeparator(m,q);q++);if(J=m.slice(P,q),te=E[J],te)P+=J.length;else{for(te=[];P<q;)u.decode(m,P,x),G=x.value,P=x.rest,te.push(G);if(te.length===2)throw new Error("Found a source, but no line and column");if(te.length===3)throw new Error("Found a source and line, but no column");E[J]=te}H.generatedColumn=d+te[0],d=H.generatedColumn,te.length>1&&(H.source=b+te[1],b+=te[1],H.originalLine=c+te[2],c=H.originalLine,H.originalLine+=1,H.originalColumn=y+te[3],y=H.originalColumn,te.length>4&&(H.name=k+te[4],k+=te[4])),z.push(H),typeof H.originalLine=="number"&&U.push(H)}t(z,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=z,t(U,e.compareByOriginalPositions),this.__originalMappings=U},l.prototype._findMapping=function(m,_,h,d,c,y){if(m[h]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+m[h]);if(m[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+m[d]);return n.search(m,_,c,y)},l.prototype.computeColumnSpans=function(){for(var m=0;m<this._generatedMappings.length;++m){var _=this._generatedMappings[m];if(m+1<this._generatedMappings.length){var h=this._generatedMappings[m+1];if(_.generatedLine===h.generatedLine){_.lastGeneratedColumn=h.generatedColumn-1;continue}}_.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(m){var _={generatedLine:e.getArg(m,"line"),generatedColumn:e.getArg(m,"column")},h=this._findMapping(_,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(m,"bias",a.GREATEST_LOWER_BOUND));if(h>=0){var d=this._generatedMappings[h];if(d.generatedLine===_.generatedLine){var c=e.getArg(d,"source",null);c!==null&&(c=this._sources.at(c),c=e.computeSourceURL(this.sourceRoot,c,this._sourceMapURL));var y=e.getArg(d,"name",null);return y!==null&&(y=this._names.at(y)),{source:c,line:e.getArg(d,"originalLine",null),column:e.getArg(d,"originalColumn",null),name:y}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(m){return m==null}):!1},l.prototype.sourceContentFor=function(m,_){if(!this.sourcesContent)return null;var h=this._findSourceIndex(m);if(h>=0)return this.sourcesContent[h];var d=m;this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d));var c;if(this.sourceRoot!=null&&(c=e.urlParse(this.sourceRoot))){var y=d.replace(/^file:\/\//,"");if(c.scheme=="file"&&this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];if((!c.path||c.path=="/")&&this._sources.has("/"+d))return this.sourcesContent[this._sources.indexOf("/"+d)]}if(_)return null;throw new Error('"'+d+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(m){var _=e.getArg(m,"source");if(_=this._findSourceIndex(_),_<0)return{line:null,column:null,lastColumn:null};var h={source:_,originalLine:e.getArg(m,"line"),originalColumn:e.getArg(m,"column")},d=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(m,"bias",a.GREATEST_LOWER_BOUND));if(d>=0){var c=this._originalMappings[d];if(c.source===h.source)return{line:e.getArg(c,"generatedLine",null),column:e.getArg(c,"generatedColumn",null),lastColumn:e.getArg(c,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ti.BasicSourceMapConsumer=l;function g(v,m){var _=v;typeof v=="string"&&(_=e.parseSourceMapInput(v));var h=e.getArg(_,"version"),d=e.getArg(_,"sections");if(h!=this._version)throw new Error("Unsupported version: "+h);this._sources=new i,this._names=new i;var c={line:-1,column:0};this._sections=d.map(function(y){if(y.url)throw new Error("Support for url field in sections not implemented.");var b=e.getArg(y,"offset"),k=e.getArg(b,"line"),I=e.getArg(b,"column");if(k<c.line||k===c.line&&I<c.column)throw new Error("Section offsets must be ordered and non-overlapping.");return c=b,{generatedOffset:{generatedLine:k+1,generatedColumn:I+1},consumer:new a(e.getArg(y,"map"),m)}})}return g.prototype=Object.create(a.prototype),g.prototype.constructor=a,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var v=[],m=0;m<this._sections.length;m++)for(var _=0;_<this._sections[m].consumer.sources.length;_++)v.push(this._sections[m].consumer.sources[_]);return v}}),g.prototype.originalPositionFor=function(m){var _={generatedLine:e.getArg(m,"line"),generatedColumn:e.getArg(m,"column")},h=n.search(_,this._sections,function(c,y){var b=c.generatedLine-y.generatedOffset.generatedLine;return b||c.generatedColumn-y.generatedOffset.generatedColumn}),d=this._sections[h];return d?d.consumer.originalPositionFor({line:_.generatedLine-(d.generatedOffset.generatedLine-1),column:_.generatedColumn-(d.generatedOffset.generatedLine===_.generatedLine?d.generatedOffset.generatedColumn-1:0),bias:m.bias}):{source:null,line:null,column:null,name:null}},g.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(m){return m.consumer.hasContentsOfAllSources()})},g.prototype.sourceContentFor=function(m,_){for(var h=0;h<this._sections.length;h++){var d=this._sections[h],c=d.consumer.sourceContentFor(m,!0);if(c)return c}if(_)return null;throw new Error('"'+m+'" is not in the SourceMap.')},g.prototype.generatedPositionFor=function(m){for(var _=0;_<this._sections.length;_++){var h=this._sections[_];if(h.consumer._findSourceIndex(e.getArg(m,"source"))!==-1){var d=h.consumer.generatedPositionFor(m);if(d){var c={line:d.line+(h.generatedOffset.generatedLine-1),column:d.column+(h.generatedOffset.generatedLine===d.line?h.generatedOffset.generatedColumn-1:0)};return c}}}return{line:null,column:null}},g.prototype._parseMappings=function(m,_){this.__generatedMappings=[],this.__originalMappings=[];for(var h=0;h<this._sections.length;h++)for(var d=this._sections[h],c=d.consumer._generatedMappings,y=0;y<c.length;y++){var b=c[y],k=d.consumer._sources.at(b.source);k=e.computeSourceURL(d.consumer.sourceRoot,k,this._sourceMapURL),this._sources.add(k),k=this._sources.indexOf(k);var I=null;b.name&&(I=d.consumer._names.at(b.name),this._names.add(I),I=this._names.indexOf(I));var P={source:k,generatedLine:b.generatedLine+(d.generatedOffset.generatedLine-1),generatedColumn:b.generatedColumn+(d.generatedOffset.generatedLine===b.generatedLine?d.generatedOffset.generatedColumn-1:0),originalLine:b.originalLine,originalColumn:b.originalColumn,name:I};this.__generatedMappings.push(P),typeof P.originalLine=="number"&&this.__originalMappings.push(P)}t(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),t(this.__originalMappings,e.compareByOriginalPositions)},ti.IndexedSourceMapConsumer=g,ti}var rs={},jh;function e5(){if(jh)return rs;jh=1;var e=zp().SourceMapGenerator,n=ci(),i=/(\r?\n)/,u=10,t="$$$isSourceNode$$$";function a(l,p,g,v,m){this.children=[],this.sourceContents={},this.line=l??null,this.column=p??null,this.source=g??null,this.name=m??null,this[t]=!0,v!=null&&this.add(v)}return a.fromStringWithSourceMap=function(p,g,v){var m=new a,_=p.split(i),h=0,d=function(){var I=E(),P=E()||"";return I+P;function E(){return h<_.length?_[h++]:void 0}},c=1,y=0,b=null;return g.eachMapping(function(I){if(b!==null)if(c<I.generatedLine)k(b,d()),c++,y=0;else{var P=_[h]||"",E=P.substr(0,I.generatedColumn-y);_[h]=P.substr(I.generatedColumn-y),y=I.generatedColumn,k(b,E),b=I;return}for(;c<I.generatedLine;)m.add(d()),c++;if(y<I.generatedColumn){var P=_[h]||"";m.add(P.substr(0,I.generatedColumn)),_[h]=P.substr(I.generatedColumn),y=I.generatedColumn}b=I},this),h<_.length&&(b&&k(b,d()),m.add(_.splice(h).join(""))),g.sources.forEach(function(I){var P=g.sourceContentFor(I);P!=null&&(v!=null&&(I=n.join(v,I)),m.setSourceContent(I,P))}),m;function k(I,P){if(I===null||I.source===void 0)m.add(P);else{var E=v?n.join(v,I.source):I.source;m.add(new a(I.originalLine,I.originalColumn,E,P,I.name))}}},a.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(g){this.add(g)},this);else if(p[t]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},a.prototype.prepend=function(p){if(Array.isArray(p))for(var g=p.length-1;g>=0;g--)this.prepend(p[g]);else if(p[t]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},a.prototype.walk=function(p){for(var g,v=0,m=this.children.length;v<m;v++)g=this.children[v],g[t]?g.walk(p):g!==""&&p(g,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(p){var g,v,m=this.children.length;if(m>0){for(g=[],v=0;v<m-1;v++)g.push(this.children[v]),g.push(p);g.push(this.children[v]),this.children=g}return this},a.prototype.replaceRight=function(p,g){var v=this.children[this.children.length-1];return v[t]?v.replaceRight(p,g):typeof v=="string"?this.children[this.children.length-1]=v.replace(p,g):this.children.push("".replace(p,g)),this},a.prototype.setSourceContent=function(p,g){this.sourceContents[n.toSetString(p)]=g},a.prototype.walkSourceContents=function(p){for(var g=0,v=this.children.length;g<v;g++)this.children[g][t]&&this.children[g].walkSourceContents(p);for(var m=Object.keys(this.sourceContents),g=0,v=m.length;g<v;g++)p(n.fromSetString(m[g]),this.sourceContents[m[g]])},a.prototype.toString=function(){var p="";return this.walk(function(g){p+=g}),p},a.prototype.toStringWithSourceMap=function(p){var g={code:"",line:1,column:0},v=new e(p),m=!1,_=null,h=null,d=null,c=null;return this.walk(function(y,b){g.code+=y,b.source!==null&&b.line!==null&&b.column!==null?((_!==b.source||h!==b.line||d!==b.column||c!==b.name)&&v.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:g.line,column:g.column},name:b.name}),_=b.source,h=b.line,d=b.column,c=b.name,m=!0):m&&(v.addMapping({generated:{line:g.line,column:g.column}}),_=null,m=!1);for(var k=0,I=y.length;k<I;k++)y.charCodeAt(k)===u?(g.line++,g.column=0,k+1===I?(_=null,m=!1):m&&v.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:g.line,column:g.column},name:b.name})):g.column++}),this.walkSourceContents(function(y,b){v.setSourceContent(y,b)}),{code:g.code,map:v}},rs.SourceNode=a,rs}var Fh;function t5(){return Fh||(Fh=1,ei.SourceMapGenerator=zp().SourceMapGenerator,ei.SourceMapConsumer=Qy().SourceMapConsumer,ei.SourceNode=e5().SourceNode),ei}var Zh;function n5(){return Zh||(Zh=1,(function(e,n){n.__esModule=!0;var i=ut(),u=void 0;try{var t=t5();u=t.SourceNode}catch{}u||(u=function(p,g,v,m){this.src="",m&&this.add(m)},u.prototype={add:function(g){i.isArray(g)&&(g=g.join("")),this.src+=g},prepend:function(g){i.isArray(g)&&(g=g.join("")),this.src=g+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function a(p,g,v){if(i.isArray(p)){for(var m=[],_=0,h=p.length;_<h;_++)m.push(g.wrap(p[_],v));return m}else if(typeof p=="boolean"||typeof p=="number")return p+"";return p}function l(p){this.srcFile=p,this.source=[]}l.prototype={isEmpty:function(){return!this.source.length},prepend:function(g,v){this.source.unshift(this.wrap(g,v))},push:function(g,v){this.source.push(this.wrap(g,v))},merge:function(){var g=this.empty();return this.each(function(v){g.add([" ",v,`
|
|
33
|
-
`])}),g},each:function(g){for(var v=0,m=this.source.length;v<m;v++)g(this.source[v])},empty:function(){var g=this.currentLocation||{start:{}};return new u(g.start.line,g.start.column,this.srcFile)},wrap:function(g){var v=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return g instanceof u?g:(g=a(g,this,v),new u(v.start.line,v.start.column,this.srcFile,g))},functionCall:function(g,v,m){return m=this.generateList(m),this.wrap([g,v?"."+v+"(":"(",m,")"])},quotedString:function(g){return'"'+(g+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(g){var v=this,m=[];Object.keys(g).forEach(function(h){var d=a(g[h],v);d!=="undefined"&&m.push([v.quotedString(h),":",d])});var _=this.generateList(m);return _.prepend("{"),_.add("}"),_},generateList:function(g){for(var v=this.empty(),m=0,_=g.length;m<_;m++)m&&v.add(","),v.add(a(g[m],this));return v},generateArray:function(g){var v=this.generateList(g);return v.prepend("["),v.add("]"),v}},n.default=l,e.exports=n.default})(
|
|
32
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var g=this.next();return typeof g<"u"?g:this.lex()},begin:function(g){this.conditionStack.push(g)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(g){this.begin(g)}};return l.options={},l.performAction=function(g,v,m,_){function h(d,c){return v.yytext=v.yytext.substring(d,v.yyleng-c+d)}switch(m){case 0:if(v.yytext.slice(-2)==="\\\\"?(h(0,1),this.begin("mu")):v.yytext.slice(-1)==="\\"?(h(0,1),this.begin("emu")):this.begin("mu"),v.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(h(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(v.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return v.yytext=h(1,2).replace(/\\"/g,'"'),80;case 32:return v.yytext=h(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return v.yytext=v.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},l.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],l.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},l})();u.lexer=t;function a(){this.yy={}}return a.prototype=u,u.Parser=a,new a})();n.default=i,e.exports=n.default})(zo,zo.exports)),zo.exports}var Do={exports:{}},Uo={exports:{}},Eh;function Cp(){return Eh||(Eh=1,(function(e,n){n.__esModule=!0;function i(v){return v&&v.__esModule?v:{default:v}}var u=xt(),t=i(u);function a(){this.parents=[]}a.prototype={constructor:a,mutating:!1,acceptKey:function(m,_){var h=this.accept(m[_]);if(this.mutating){if(h&&!a.prototype[h.type])throw new t.default('Unexpected node type "'+h.type+'" found when accepting '+_+" on "+m.type);m[_]=h}},acceptRequired:function(m,_){if(this.acceptKey(m,_),!m[_])throw new t.default(m.type+" requires "+_)},acceptArray:function(m){for(var _=0,h=m.length;_<h;_++)this.acceptKey(m,_),m[_]||(m.splice(_,1),_--,h--)},accept:function(m){if(m){if(!this[m.type])throw new t.default("Unknown type: "+m.type,m);this.current&&this.parents.unshift(this.current),this.current=m;var _=this[m.type](m);if(this.current=this.parents.shift(),!this.mutating||_)return _;if(_!==!1)return m}},Program:function(m){this.acceptArray(m.body)},MustacheStatement:l,Decorator:l,BlockStatement:p,DecoratorBlock:p,PartialStatement:g,PartialBlockStatement:function(m){g.call(this,m),this.acceptKey(m,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:l,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(m){this.acceptArray(m.pairs)},HashPair:function(m){this.acceptRequired(m,"value")}};function l(v){this.acceptRequired(v,"path"),this.acceptArray(v.params),this.acceptKey(v,"hash")}function p(v){l.call(this,v),this.acceptKey(v,"program"),this.acceptKey(v,"inverse")}function g(v){this.acceptRequired(v,"name"),this.acceptArray(v.params),this.acceptKey(v,"hash")}n.default=a,e.exports=n.default})(Uo,Uo.exports)),Uo.exports}var Nh;function qy(){return Nh||(Nh=1,(function(e,n){n.__esModule=!0;function i(m){return m&&m.__esModule?m:{default:m}}var u=Cp(),t=i(u);function a(){var m=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=m}a.prototype=new t.default,a.prototype.Program=function(m){var _=!this.options.ignoreStandalone,h=!this.isRootSeen;this.isRootSeen=!0;for(var d=m.body,c=0,y=d.length;c<y;c++){var b=d[c],I=this.accept(b);if(I){var k=l(d,c,h),P=p(d,c,h),N=I.openStandalone&&k,O=I.closeStandalone&&P,U=I.inlineStandalone&&k&&P;I.close&&g(d,c,!0),I.open&&v(d,c,!0),_&&U&&(g(d,c),v(d,c)&&b.type==="PartialStatement"&&(b.indent=/([ \t]+$)/.exec(d[c-1].original)[1])),_&&N&&(g((b.program||b.inverse).body),v(d,c)),_&&O&&(g(d,c),v((b.inverse||b.program).body))}}return m},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(m){this.accept(m.program),this.accept(m.inverse);var _=m.program||m.inverse,h=m.program&&m.inverse,d=h,c=h;if(h&&h.chained)for(d=h.body[0].program;c.chained;)c=c.body[c.body.length-1].program;var y={open:m.openStrip.open,close:m.closeStrip.close,openStandalone:p(_.body),closeStandalone:l((d||_).body)};if(m.openStrip.close&&g(_.body,null,!0),h){var b=m.inverseStrip;b.open&&v(_.body,null,!0),b.close&&g(d.body,null,!0),m.closeStrip.open&&v(c.body,null,!0),!this.options.ignoreStandalone&&l(_.body)&&p(d.body)&&(v(_.body),g(d.body))}else m.closeStrip.open&&v(_.body,null,!0);return y},a.prototype.Decorator=a.prototype.MustacheStatement=function(m){return m.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(m){var _=m.strip||{};return{inlineStandalone:!0,open:_.open,close:_.close}};function l(m,_,h){_===void 0&&(_=m.length);var d=m[_-1],c=m[_-2];if(!d)return h;if(d.type==="ContentStatement")return(c||!h?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original)}function p(m,_,h){_===void 0&&(_=-1);var d=m[_+1],c=m[_+2];if(!d)return h;if(d.type==="ContentStatement")return(c||!h?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original)}function g(m,_,h){var d=m[_==null?0:_+1];if(!(!d||d.type!=="ContentStatement"||!h&&d.rightStripped)){var c=d.value;d.value=d.value.replace(h?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==c}}function v(m,_,h){var d=m[_==null?m.length-1:_-1];if(!(!d||d.type!=="ContentStatement"||!h&&d.leftStripped)){var c=d.value;return d.value=d.value.replace(h?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==c,d.leftStripped}}n.default=a,e.exports=n.default})(Do,Do.exports)),Do.exports}var mt={},xh;function Ky(){if(xh)return mt;xh=1,mt.__esModule=!0,mt.SourceLocation=t,mt.id=a,mt.stripFlags=l,mt.stripComment=p,mt.preparePath=g,mt.prepareMustache=v,mt.prepareRawBlock=m,mt.prepareBlock=_,mt.prepareProgram=h,mt.preparePartialBlock=d;function e(c){return c&&c.__esModule?c:{default:c}}var n=xt(),i=e(n);function u(c,y){if(y=y.path?y.path.original:y,c.path.original!==y){var b={loc:c.path.loc};throw new i.default(c.path.original+" doesn't match "+y,b)}}function t(c,y){this.source=c,this.start={line:y.first_line,column:y.first_column},this.end={line:y.last_line,column:y.last_column}}function a(c){return/^\[.*\]$/.test(c)?c.substring(1,c.length-1):c}function l(c,y){return{open:c.charAt(2)==="~",close:y.charAt(y.length-3)==="~"}}function p(c){return c.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function g(c,y,b){b=this.locInfo(b);for(var I=c?"@":"",k=[],P=0,N=0,O=y.length;N<O;N++){var U=y[N].part,z=y[N].original!==U;if(I+=(y[N].separator||"")+U,!z&&(U===".."||U==="."||U==="this")){if(k.length>0)throw new i.default("Invalid path: "+I,{loc:b});U===".."&&P++}else k.push(U)}return{type:"PathExpression",data:c,depth:P,parts:k,original:I,loc:b}}function v(c,y,b,I,k,P){var N=I.charAt(3)||I.charAt(2),O=N!=="{"&&N!=="&",U=/\*/.test(I);return{type:U?"Decorator":"MustacheStatement",path:c,params:y,hash:b,escaped:O,strip:k,loc:this.locInfo(P)}}function m(c,y,b,I){u(c,b),I=this.locInfo(I);var k={type:"Program",body:y,strip:{},loc:I};return{type:"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:k,openStrip:{},inverseStrip:{},closeStrip:{},loc:I}}function _(c,y,b,I,k,P){I&&I.path&&u(c,I);var N=/\*/.test(c.open);y.blockParams=c.blockParams;var O=void 0,U=void 0;if(b){if(N)throw new i.default("Unexpected inverse block on decorator",b);b.chain&&(b.program.body[0].closeStrip=I.strip),U=b.strip,O=b.program}return k&&(k=O,O=y,y=k),{type:N?"DecoratorBlock":"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:y,inverse:O,openStrip:c.strip,inverseStrip:U,closeStrip:I&&I.strip,loc:this.locInfo(P)}}function h(c,y){if(!y&&c.length){var b=c[0].loc,I=c[c.length-1].loc;b&&I&&(y={source:b.source,start:{line:b.start.line,column:b.start.column},end:{line:I.end.line,column:I.end.column}})}return{type:"Program",body:c,strip:{},loc:y}}function d(c,y,b,I){return u(c,b),{type:"PartialBlockStatement",name:c.path,params:c.params,hash:c.hash,program:y,openStrip:c.strip,closeStrip:b&&b.strip,loc:this.locInfo(I)}}return mt}var Ah;function Vy(){if(Ah)return pr;Ah=1,pr.__esModule=!0,pr.parseWithoutProcessing=h,pr.parse=d;function e(I){if(I&&I.__esModule)return I;var k={};if(I!=null)for(var P in I)Object.prototype.hasOwnProperty.call(I,P)&&(k[P]=I[P]);return k.default=I,k}function n(I){return I&&I.__esModule?I:{default:I}}var i=Hy(),u=n(i),t=qy(),a=n(t),l=Ky(),p=e(l),g=xt(),v=n(g),m=st();pr.parser=u.default;var _={};m.extend(_,p);function h(I,k){if(I.type==="Program")return c(I),I;u.default.yy=_,_.locInfo=function(N){return new _.SourceLocation(k&&k.srcName,N)};var P=u.default.parse(I);return P}function d(I,k){var P=h(I,k),N=new a.default(k);return N.accept(P)}function c(I){y(I)}function y(I){if(I!=null){if(Array.isArray(I)){I.forEach(y);return}if(typeof I=="object"){if(I.type==="PathExpression"){if(!b(I.depth))throw new v.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(I.parts))throw new v.default("Invalid AST: PathExpression.parts must be an array");for(var k=0;k<I.parts.length;k++)if(typeof I.parts[k]!="string")throw new v.default("Invalid AST: PathExpression.parts must only contain strings")}else if(I.type==="NumberLiteral"){if(typeof I.value!="number"||!isFinite(I.value))throw new v.default("Invalid AST: NumberLiteral.value must be a number")}else if(I.type==="BooleanLiteral"&&typeof I.value!="boolean")throw new v.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(I).forEach(function(P){P!=="loc"&&y(I[P])})}}}function b(I){return typeof I=="number"&&isFinite(I)&&Math.floor(I)===I&&I>=0}return pr}var mr={},Ph;function Jy(){if(Ph)return mr;Ph=1,mr.__esModule=!0,mr.Compiler=p,mr.precompile=g,mr.compile=v;function e(h){return h&&h.__esModule?h:{default:h}}var n=xt(),i=e(n),u=st(),t=Tp(),a=e(t),l=[].slice;function p(){}p.prototype={compiler:p,equals:function(d){var c=this.opcodes.length;if(d.opcodes.length!==c)return!1;for(var y=0;y<c;y++){var b=this.opcodes[y],I=d.opcodes[y];if(b.opcode!==I.opcode||!m(b.args,I.args))return!1}c=this.children.length;for(var y=0;y<c;y++)if(!this.children[y].equals(d.children[y]))return!1;return!0},guid:0,compile:function(d,c){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=c,this.stringParams=c.stringParams,this.trackIds=c.trackIds,c.blockParams=c.blockParams||[],c.knownHelpers=u.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},c.knownHelpers),this.accept(d)},compileProgram:function(d){var c=new this.compiler,y=c.compile(d,this.options),b=this.guid++;return this.usePartial=this.usePartial||y.usePartial,this.children[b]=y,this.useDepths=this.useDepths||y.useDepths,b},accept:function(d){if(!this[d.type])throw new i.default("Unknown type: "+d.type,d);this.sourceNode.unshift(d);var c=this[d.type](d);return this.sourceNode.shift(),c},Program:function(d){this.options.blockParams.unshift(d.blockParams);for(var c=d.body,y=c.length,b=0;b<y;b++)this.accept(c[b]);return this.options.blockParams.shift(),this.isSimple=y===1,this.blockParams=d.blockParams?d.blockParams.length:0,this},BlockStatement:function(d){_(d);var c=d.program,y=d.inverse;c=c&&this.compileProgram(c),y=y&&this.compileProgram(y);var b=this.classifySexpr(d);b==="helper"?this.helperSexpr(d,c,y):b==="simple"?(this.simpleSexpr(d),this.opcode("pushProgram",c),this.opcode("pushProgram",y),this.opcode("emptyHash"),this.opcode("blockValue",d.path.original)):(this.ambiguousSexpr(d,c,y),this.opcode("pushProgram",c),this.opcode("pushProgram",y),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(d){var c=d.program&&this.compileProgram(d.program),y=this.setupFullMustacheParams(d,c,void 0),b=d.path;this.useDecorators=!0,this.opcode("registerDecorator",y.length,b.original)},PartialStatement:function(d){this.usePartial=!0;var c=d.program;c&&(c=this.compileProgram(d.program));var y=d.params;if(y.length>1)throw new i.default("Unsupported number of partial arguments: "+y.length,d);y.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):y.push({type:"PathExpression",parts:[],depth:0}));var b=d.name.original,I=d.name.type==="SubExpression";I&&this.accept(d.name),this.setupFullMustacheParams(d,c,void 0,!0);var k=d.indent||"";this.options.preventIndent&&k&&(this.opcode("appendContent",k),k=""),this.opcode("invokePartial",I,b,k),this.opcode("append")},PartialBlockStatement:function(d){this.PartialStatement(d)},MustacheStatement:function(d){this.SubExpression(d),d.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(d){this.DecoratorBlock(d)},ContentStatement:function(d){d.value&&this.opcode("appendContent",d.value)},CommentStatement:function(){},SubExpression:function(d){_(d);var c=this.classifySexpr(d);c==="simple"?this.simpleSexpr(d):c==="helper"?this.helperSexpr(d):this.ambiguousSexpr(d)},ambiguousSexpr:function(d,c,y){var b=d.path,I=b.parts[0],k=c!=null||y!=null;this.opcode("getContext",b.depth),this.opcode("pushProgram",c),this.opcode("pushProgram",y),b.strict=!0,this.accept(b),this.opcode("invokeAmbiguous",I,k)},simpleSexpr:function(d){var c=d.path;c.strict=!0,this.accept(c),this.opcode("resolvePossibleLambda")},helperSexpr:function(d,c,y){var b=this.setupFullMustacheParams(d,c,y),I=d.path,k=I.parts[0];if(this.options.knownHelpers[k])this.opcode("invokeKnownHelper",b.length,k);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+k,d);I.strict=!0,I.falsy=!0,this.accept(I),this.opcode("invokeHelper",b.length,I.original,a.default.helpers.simpleId(I))}},PathExpression:function(d){this.addDepth(d.depth),this.opcode("getContext",d.depth);var c=d.parts[0],y=a.default.helpers.scopedId(d),b=!d.depth&&!y&&this.blockParamIndex(c);b?this.opcode("lookupBlockParam",b,d.parts):c?d.data?(this.options.data=!0,this.opcode("lookupData",d.depth,d.parts,d.strict)):this.opcode("lookupOnContext",d.parts,d.falsy,d.strict,y):this.opcode("pushContext")},StringLiteral:function(d){this.opcode("pushString",d.value)},NumberLiteral:function(d){this.opcode("pushLiteral",d.value)},BooleanLiteral:function(d){this.opcode("pushLiteral",d.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(d){var c=d.pairs,y=0,b=c.length;for(this.opcode("pushHash");y<b;y++)this.pushParam(c[y].value);for(;y--;)this.opcode("assignToHash",c[y].key);this.opcode("popHash")},opcode:function(d){this.opcodes.push({opcode:d,args:l.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(d){d&&(this.useDepths=!0)},classifySexpr:function(d){var c=a.default.helpers.simpleId(d.path),y=c&&!!this.blockParamIndex(d.path.parts[0]),b=!y&&a.default.helpers.helperExpression(d),I=!y&&(b||c);if(I&&!b){var k=d.path.parts[0],P=this.options;P.knownHelpers[k]?b=!0:P.knownHelpersOnly&&(I=!1)}return b?"helper":I?"ambiguous":"simple"},pushParams:function(d){for(var c=0,y=d.length;c<y;c++)this.pushParam(d[c])},pushParam:function(d){var c=d.value!=null?d.value:d.original||"";if(this.stringParams)c.replace&&(c=c.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),d.depth&&this.addDepth(d.depth),this.opcode("getContext",d.depth||0),this.opcode("pushStringParam",c,d.type),d.type==="SubExpression"&&this.accept(d);else{if(this.trackIds){var y=void 0;if(d.parts&&!a.default.helpers.scopedId(d)&&!d.depth&&(y=this.blockParamIndex(d.parts[0])),y){var b=d.parts.slice(1).join(".");this.opcode("pushId","BlockParam",y,b)}else c=d.original||c,c.replace&&(c=c.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",d.type,c)}this.accept(d)}},setupFullMustacheParams:function(d,c,y,b){var I=d.params;return this.pushParams(I),this.opcode("pushProgram",c),this.opcode("pushProgram",y),d.hash?this.accept(d.hash):this.opcode("emptyHash",b),I},blockParamIndex:function(d){for(var c=0,y=this.options.blockParams.length;c<y;c++){var b=this.options.blockParams[c],I=b&&u.indexOf(b,d);if(b&&I>=0)return[c,I]}}};function g(h,d,c){if(h==null||typeof h!="string"&&h.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+h);d=d||{},"data"in d||(d.data=!0),d.compat&&(d.useDepths=!0);var y=c.parse(h,d),b=new c.Compiler().compile(y,d);return new c.JavaScriptCompiler().compile(b,d)}function v(h,d,c){if(d===void 0&&(d={}),h==null||typeof h!="string"&&h.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+h);d=u.extend({},d),"data"in d||(d.data=!0),d.compat&&(d.useDepths=!0);var y=void 0;function b(){var k=c.parse(h,d),P=new c.Compiler().compile(k,d),N=new c.JavaScriptCompiler().compile(P,d,void 0,!0);return c.template(N)}function I(k,P){return y||(y=b()),y.call(this,k,P)}return I._setup=function(k){return y||(y=b()),y._setup(k)},I._child=function(k,P,N,O){return y||(y=b()),y._child(k,P,N,O)},I}function m(h,d){if(h===d)return!0;if(u.isArray(h)&&u.isArray(d)&&h.length===d.length){for(var c=0;c<h.length;c++)if(!m(h[c],d[c]))return!1;return!0}}function _(h){if(!h.path.parts){var d=h.path;h.path={type:"PathExpression",data:!1,depth:0,parts:[d.original+""],original:d.original+"",loc:d.loc}}}return mr}var Ro={exports:{}},Lo={exports:{}},ti={},Xu={},Mo={},jo={},Th;function Yy(){if(Th)return jo;Th=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return jo.encode=function(n){if(0<=n&&n<e.length)return e[n];throw new TypeError("Must be between 0 and 63: "+n)},jo.decode=function(n){var i=65,u=90,t=97,a=122,l=48,p=57,g=43,v=47,m=26,_=52;return i<=n&&n<=u?n-i:t<=n&&n<=a?n-t+m:l<=n&&n<=p?n-l+_:n==g?62:n==v?63:-1},jo}var Ch;function zp(){if(Ch)return Mo;Ch=1;var e=Yy(),n=5,i=1<<n,u=i-1,t=i;function a(p){return p<0?(-p<<1)+1:(p<<1)+0}function l(p){var g=(p&1)===1,v=p>>1;return g?-v:v}return Mo.encode=function(g){var v="",m,_=a(g);do m=_&u,_>>>=n,_>0&&(m|=t),v+=e.encode(m);while(_>0);return v},Mo.decode=function(g,v,m){var _=g.length,h=0,d=0,c,y;do{if(v>=_)throw new Error("Expected more digits in base 64 VLQ value.");if(y=e.decode(g.charCodeAt(v++)),y===-1)throw new Error("Invalid base64 digit: "+g.charAt(v-1));c=!!(y&t),y&=u,h=h+(y<<d),d+=n}while(c);m.value=l(h),m.rest=v},Mo}var Qu={},zh;function di(){return zh||(zh=1,(function(e){function n(N,O,U){if(O in N)return N[O];if(arguments.length===3)return U;throw new Error('"'+O+'" is a required argument.')}e.getArg=n;var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u=/^data:.+\,.+$/;function t(N){var O=N.match(i);return O?{scheme:O[1],auth:O[2],host:O[3],port:O[4],path:O[5]}:null}e.urlParse=t;function a(N){var O="";return N.scheme&&(O+=N.scheme+":"),O+="//",N.auth&&(O+=N.auth+"@"),N.host&&(O+=N.host),N.port&&(O+=":"+N.port),N.path&&(O+=N.path),O}e.urlGenerate=a;function l(N){var O=N,U=t(N);if(U){if(!U.path)return N;O=U.path}for(var z=e.isAbsolute(O),q=O.split(/\/+/),J,te=0,K=q.length-1;K>=0;K--)J=q[K],J==="."?q.splice(K,1):J===".."?te++:te>0&&(J===""?(q.splice(K+1,te),te=0):(q.splice(K,2),te--));return O=q.join("/"),O===""&&(O=z?"/":"."),U?(U.path=O,a(U)):O}e.normalize=l;function p(N,O){N===""&&(N="."),O===""&&(O=".");var U=t(O),z=t(N);if(z&&(N=z.path||"/"),U&&!U.scheme)return z&&(U.scheme=z.scheme),a(U);if(U||O.match(u))return O;if(z&&!z.host&&!z.path)return z.host=O,a(z);var q=O.charAt(0)==="/"?O:l(N.replace(/\/+$/,"")+"/"+O);return z?(z.path=q,a(z)):q}e.join=p,e.isAbsolute=function(N){return N.charAt(0)==="/"||i.test(N)};function g(N,O){N===""&&(N="."),N=N.replace(/\/$/,"");for(var U=0;O.indexOf(N+"/")!==0;){var z=N.lastIndexOf("/");if(z<0||(N=N.slice(0,z),N.match(/^([^\/]+:\/)?\/*$/)))return O;++U}return Array(U+1).join("../")+O.substr(N.length+1)}e.relative=g;var v=(function(){var N=Object.create(null);return!("__proto__"in N)})();function m(N){return N}function _(N){return d(N)?"$"+N:N}e.toSetString=v?m:_;function h(N){return d(N)?N.slice(1):N}e.fromSetString=v?m:h;function d(N){if(!N)return!1;var O=N.length;if(O<9||N.charCodeAt(O-1)!==95||N.charCodeAt(O-2)!==95||N.charCodeAt(O-3)!==111||N.charCodeAt(O-4)!==116||N.charCodeAt(O-5)!==111||N.charCodeAt(O-6)!==114||N.charCodeAt(O-7)!==112||N.charCodeAt(O-8)!==95||N.charCodeAt(O-9)!==95)return!1;for(var U=O-10;U>=0;U--)if(N.charCodeAt(U)!==36)return!1;return!0}function c(N,O,U){var z=b(N.source,O.source);return z!==0||(z=N.originalLine-O.originalLine,z!==0)||(z=N.originalColumn-O.originalColumn,z!==0||U)||(z=N.generatedColumn-O.generatedColumn,z!==0)||(z=N.generatedLine-O.generatedLine,z!==0)?z:b(N.name,O.name)}e.compareByOriginalPositions=c;function y(N,O,U){var z=N.generatedLine-O.generatedLine;return z!==0||(z=N.generatedColumn-O.generatedColumn,z!==0||U)||(z=b(N.source,O.source),z!==0)||(z=N.originalLine-O.originalLine,z!==0)||(z=N.originalColumn-O.originalColumn,z!==0)?z:b(N.name,O.name)}e.compareByGeneratedPositionsDeflated=y;function b(N,O){return N===O?0:N===null?1:O===null?-1:N>O?1:-1}function I(N,O){var U=N.generatedLine-O.generatedLine;return U!==0||(U=N.generatedColumn-O.generatedColumn,U!==0)||(U=b(N.source,O.source),U!==0)||(U=N.originalLine-O.originalLine,U!==0)||(U=N.originalColumn-O.originalColumn,U!==0)?U:b(N.name,O.name)}e.compareByGeneratedPositionsInflated=I;function k(N){return JSON.parse(N.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=k;function P(N,O,U){if(O=O||"",N&&(N[N.length-1]!=="/"&&O[0]!=="/"&&(N+="/"),O=N+O),U){var z=t(U);if(!z)throw new Error("sourceMapURL could not be parsed");if(z.path){var q=z.path.lastIndexOf("/");q>=0&&(z.path=z.path.substring(0,q+1))}O=p(a(z),O)}return l(O)}e.computeSourceURL=P})(Qu)),Qu}var es={},Dh;function Dp(){if(Dh)return es;Dh=1;var e=di(),n=Object.prototype.hasOwnProperty,i=typeof Map<"u";function u(){this._array=[],this._set=i?new Map:Object.create(null)}return u.fromArray=function(a,l){for(var p=new u,g=0,v=a.length;g<v;g++)p.add(a[g],l);return p},u.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},u.prototype.add=function(a,l){var p=i?a:e.toSetString(a),g=i?this.has(a):n.call(this._set,p),v=this._array.length;(!g||l)&&this._array.push(a),g||(i?this._set.set(a,v):this._set[p]=v)},u.prototype.has=function(a){if(i)return this._set.has(a);var l=e.toSetString(a);return n.call(this._set,l)},u.prototype.indexOf=function(a){if(i){var l=this._set.get(a);if(l>=0)return l}else{var p=e.toSetString(a);if(n.call(this._set,p))return this._set[p]}throw new Error('"'+a+'" is not in the set.')},u.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},u.prototype.toArray=function(){return this._array.slice()},es.ArraySet=u,es}var ts={},Uh;function Xy(){if(Uh)return ts;Uh=1;var e=di();function n(u,t){var a=u.generatedLine,l=t.generatedLine,p=u.generatedColumn,g=t.generatedColumn;return l>a||l==a&&g>=p||e.compareByGeneratedPositionsInflated(u,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return i.prototype.unsortedForEach=function(t,a){this._array.forEach(t,a)},i.prototype.add=function(t){n(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},ts.MappingList=i,ts}var Rh;function Up(){if(Rh)return Xu;Rh=1;var e=zp(),n=di(),i=Dp().ArraySet,u=Xy().MappingList;function t(a){a||(a={}),this._file=n.getArg(a,"file",null),this._sourceRoot=n.getArg(a,"sourceRoot",null),this._skipValidation=n.getArg(a,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new u,this._sourcesContents=null}return t.prototype._version=3,t.fromSourceMap=function(l){var p=l.sourceRoot,g=new t({file:l.file,sourceRoot:p});return l.eachMapping(function(v){var m={generated:{line:v.generatedLine,column:v.generatedColumn}};v.source!=null&&(m.source=v.source,p!=null&&(m.source=n.relative(p,m.source)),m.original={line:v.originalLine,column:v.originalColumn},v.name!=null&&(m.name=v.name)),g.addMapping(m)}),l.sources.forEach(function(v){var m=v;p!==null&&(m=n.relative(p,v)),g._sources.has(m)||g._sources.add(m);var _=l.sourceContentFor(v);_!=null&&g.setSourceContent(v,_)}),g},t.prototype.addMapping=function(l){var p=n.getArg(l,"generated"),g=n.getArg(l,"original",null),v=n.getArg(l,"source",null),m=n.getArg(l,"name",null);this._skipValidation||this._validateMapping(p,g,v,m),v!=null&&(v=String(v),this._sources.has(v)||this._sources.add(v)),m!=null&&(m=String(m),this._names.has(m)||this._names.add(m)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:g!=null&&g.line,originalColumn:g!=null&&g.column,source:v,name:m})},t.prototype.setSourceContent=function(l,p){var g=l;this._sourceRoot!=null&&(g=n.relative(this._sourceRoot,g)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(g)]=p):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(g)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},t.prototype.applySourceMap=function(l,p,g){var v=p;if(p==null){if(l.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);v=l.file}var m=this._sourceRoot;m!=null&&(v=n.relative(m,v));var _=new i,h=new i;this._mappings.unsortedForEach(function(d){if(d.source===v&&d.originalLine!=null){var c=l.originalPositionFor({line:d.originalLine,column:d.originalColumn});c.source!=null&&(d.source=c.source,g!=null&&(d.source=n.join(g,d.source)),m!=null&&(d.source=n.relative(m,d.source)),d.originalLine=c.line,d.originalColumn=c.column,c.name!=null&&(d.name=c.name))}var y=d.source;y!=null&&!_.has(y)&&_.add(y);var b=d.name;b!=null&&!h.has(b)&&h.add(b)},this),this._sources=_,this._names=h,l.sources.forEach(function(d){var c=l.sourceContentFor(d);c!=null&&(g!=null&&(d=n.join(g,d)),m!=null&&(d=n.relative(m,d)),this.setSourceContent(d,c))},this)},t.prototype._validateMapping=function(l,p,g,v){if(p&&typeof p.line!="number"&&typeof p.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(l&&"line"in l&&"column"in l&&l.line>0&&l.column>=0&&!p&&!g&&!v)){if(l&&"line"in l&&"column"in l&&p&&"line"in p&&"column"in p&&l.line>0&&l.column>=0&&p.line>0&&p.column>=0&&g)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:l,source:g,original:p,name:v}))}},t.prototype._serializeMappings=function(){for(var l=0,p=1,g=0,v=0,m=0,_=0,h="",d,c,y,b,I=this._mappings.toArray(),k=0,P=I.length;k<P;k++){if(c=I[k],d="",c.generatedLine!==p)for(l=0;c.generatedLine!==p;)d+=";",p++;else if(k>0){if(!n.compareByGeneratedPositionsInflated(c,I[k-1]))continue;d+=","}d+=e.encode(c.generatedColumn-l),l=c.generatedColumn,c.source!=null&&(b=this._sources.indexOf(c.source),d+=e.encode(b-_),_=b,d+=e.encode(c.originalLine-1-v),v=c.originalLine-1,d+=e.encode(c.originalColumn-g),g=c.originalColumn,c.name!=null&&(y=this._names.indexOf(c.name),d+=e.encode(y-m),m=y)),h+=d}return h},t.prototype._generateSourcesContent=function(l,p){return l.map(function(g){if(!this._sourcesContents)return null;p!=null&&(g=n.relative(p,g));var v=n.toSetString(g);return Object.prototype.hasOwnProperty.call(this._sourcesContents,v)?this._sourcesContents[v]:null},this)},t.prototype.toJSON=function(){var l={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(l.file=this._file),this._sourceRoot!=null&&(l.sourceRoot=this._sourceRoot),this._sourcesContents&&(l.sourcesContent=this._generateSourcesContent(l.sources,l.sourceRoot)),l},t.prototype.toString=function(){return JSON.stringify(this.toJSON())},Xu.SourceMapGenerator=t,Xu}var ni={},ns={},Lh;function Qy(){return Lh||(Lh=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function n(i,u,t,a,l,p){var g=Math.floor((u-i)/2)+i,v=l(t,a[g],!0);return v===0?g:v>0?u-g>1?n(g,u,t,a,l,p):p==e.LEAST_UPPER_BOUND?u<a.length?u:-1:g:g-i>1?n(i,g,t,a,l,p):p==e.LEAST_UPPER_BOUND?g:i<0?-1:i}e.search=function(u,t,a,l){if(t.length===0)return-1;var p=n(-1,t.length,u,t,a,l||e.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&a(t[p],t[p-1],!0)===0;)--p;return p}})(ns)),ns}var rs={},Mh;function e5(){if(Mh)return rs;Mh=1;function e(u,t,a){var l=u[t];u[t]=u[a],u[a]=l}function n(u,t){return Math.round(u+Math.random()*(t-u))}function i(u,t,a,l){if(a<l){var p=n(a,l),g=a-1;e(u,p,l);for(var v=u[l],m=a;m<l;m++)t(u[m],v)<=0&&(g+=1,e(u,g,m));e(u,g+1,m);var _=g+1;i(u,t,a,_-1),i(u,t,_+1,l)}}return rs.quickSort=function(u,t){i(u,t,0,u.length-1)},rs}var jh;function t5(){if(jh)return ni;jh=1;var e=di(),n=Qy(),i=Dp().ArraySet,u=zp(),t=e5().quickSort;function a(v,m){var _=v;return typeof v=="string"&&(_=e.parseSourceMapInput(v)),_.sections!=null?new g(_,m):new l(_,m)}a.fromSourceMap=function(v,m){return l.fromSourceMap(v,m)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(m,_){var h=m.charAt(_);return h===";"||h===","},a.prototype._parseMappings=function(m,_){throw new Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(m,_,h){var d=_||null,c=h||a.GENERATED_ORDER,y;switch(c){case a.GENERATED_ORDER:y=this._generatedMappings;break;case a.ORIGINAL_ORDER:y=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var b=this.sourceRoot;y.map(function(I){var k=I.source===null?null:this._sources.at(I.source);return k=e.computeSourceURL(b,k,this._sourceMapURL),{source:k,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:this._names.at(I.name)}},this).forEach(m,d)},a.prototype.allGeneratedPositionsFor=function(m){var _=e.getArg(m,"line"),h={source:e.getArg(m,"source"),originalLine:_,originalColumn:e.getArg(m,"column",0)};if(h.source=this._findSourceIndex(h.source),h.source<0)return[];var d=[],c=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(c>=0){var y=this._originalMappings[c];if(m.column===void 0)for(var b=y.originalLine;y&&y.originalLine===b;)d.push({line:e.getArg(y,"generatedLine",null),column:e.getArg(y,"generatedColumn",null),lastColumn:e.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++c];else for(var I=y.originalColumn;y&&y.originalLine===_&&y.originalColumn==I;)d.push({line:e.getArg(y,"generatedLine",null),column:e.getArg(y,"generatedColumn",null),lastColumn:e.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++c]}return d},ni.SourceMapConsumer=a;function l(v,m){var _=v;typeof v=="string"&&(_=e.parseSourceMapInput(v));var h=e.getArg(_,"version"),d=e.getArg(_,"sources"),c=e.getArg(_,"names",[]),y=e.getArg(_,"sourceRoot",null),b=e.getArg(_,"sourcesContent",null),I=e.getArg(_,"mappings"),k=e.getArg(_,"file",null);if(h!=this._version)throw new Error("Unsupported version: "+h);y&&(y=e.normalize(y)),d=d.map(String).map(e.normalize).map(function(P){return y&&e.isAbsolute(y)&&e.isAbsolute(P)?e.relative(y,P):P}),this._names=i.fromArray(c.map(String),!0),this._sources=i.fromArray(d,!0),this._absoluteSources=this._sources.toArray().map(function(P){return e.computeSourceURL(y,P,m)}),this.sourceRoot=y,this.sourcesContent=b,this._mappings=I,this._sourceMapURL=m,this.file=k}l.prototype=Object.create(a.prototype),l.prototype.consumer=a,l.prototype._findSourceIndex=function(v){var m=v;if(this.sourceRoot!=null&&(m=e.relative(this.sourceRoot,m)),this._sources.has(m))return this._sources.indexOf(m);var _;for(_=0;_<this._absoluteSources.length;++_)if(this._absoluteSources[_]==v)return _;return-1},l.fromSourceMap=function(m,_){var h=Object.create(l.prototype),d=h._names=i.fromArray(m._names.toArray(),!0),c=h._sources=i.fromArray(m._sources.toArray(),!0);h.sourceRoot=m._sourceRoot,h.sourcesContent=m._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=m._file,h._sourceMapURL=_,h._absoluteSources=h._sources.toArray().map(function(U){return e.computeSourceURL(h.sourceRoot,U,_)});for(var y=m._mappings.toArray().slice(),b=h.__generatedMappings=[],I=h.__originalMappings=[],k=0,P=y.length;k<P;k++){var N=y[k],O=new p;O.generatedLine=N.generatedLine,O.generatedColumn=N.generatedColumn,N.source&&(O.source=c.indexOf(N.source),O.originalLine=N.originalLine,O.originalColumn=N.originalColumn,N.name&&(O.name=d.indexOf(N.name)),I.push(O)),b.push(O)}return t(h.__originalMappings,e.compareByOriginalPositions),h},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.prototype._parseMappings=function(m,_){for(var h=1,d=0,c=0,y=0,b=0,I=0,k=m.length,P=0,N={},O={},U=[],z=[],q,J,te,K,W;P<k;)if(m.charAt(P)===";")h++,P++,d=0;else if(m.charAt(P)===",")P++;else{for(q=new p,q.generatedLine=h,K=P;K<k&&!this._charIsMappingSeparator(m,K);K++);if(J=m.slice(P,K),te=N[J],te)P+=J.length;else{for(te=[];P<K;)u.decode(m,P,O),W=O.value,P=O.rest,te.push(W);if(te.length===2)throw new Error("Found a source, but no line and column");if(te.length===3)throw new Error("Found a source and line, but no column");N[J]=te}q.generatedColumn=d+te[0],d=q.generatedColumn,te.length>1&&(q.source=b+te[1],b+=te[1],q.originalLine=c+te[2],c=q.originalLine,q.originalLine+=1,q.originalColumn=y+te[3],y=q.originalColumn,te.length>4&&(q.name=I+te[4],I+=te[4])),z.push(q),typeof q.originalLine=="number"&&U.push(q)}t(z,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=z,t(U,e.compareByOriginalPositions),this.__originalMappings=U},l.prototype._findMapping=function(m,_,h,d,c,y){if(m[h]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+m[h]);if(m[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+m[d]);return n.search(m,_,c,y)},l.prototype.computeColumnSpans=function(){for(var m=0;m<this._generatedMappings.length;++m){var _=this._generatedMappings[m];if(m+1<this._generatedMappings.length){var h=this._generatedMappings[m+1];if(_.generatedLine===h.generatedLine){_.lastGeneratedColumn=h.generatedColumn-1;continue}}_.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(m){var _={generatedLine:e.getArg(m,"line"),generatedColumn:e.getArg(m,"column")},h=this._findMapping(_,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(m,"bias",a.GREATEST_LOWER_BOUND));if(h>=0){var d=this._generatedMappings[h];if(d.generatedLine===_.generatedLine){var c=e.getArg(d,"source",null);c!==null&&(c=this._sources.at(c),c=e.computeSourceURL(this.sourceRoot,c,this._sourceMapURL));var y=e.getArg(d,"name",null);return y!==null&&(y=this._names.at(y)),{source:c,line:e.getArg(d,"originalLine",null),column:e.getArg(d,"originalColumn",null),name:y}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(m){return m==null}):!1},l.prototype.sourceContentFor=function(m,_){if(!this.sourcesContent)return null;var h=this._findSourceIndex(m);if(h>=0)return this.sourcesContent[h];var d=m;this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d));var c;if(this.sourceRoot!=null&&(c=e.urlParse(this.sourceRoot))){var y=d.replace(/^file:\/\//,"");if(c.scheme=="file"&&this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];if((!c.path||c.path=="/")&&this._sources.has("/"+d))return this.sourcesContent[this._sources.indexOf("/"+d)]}if(_)return null;throw new Error('"'+d+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(m){var _=e.getArg(m,"source");if(_=this._findSourceIndex(_),_<0)return{line:null,column:null,lastColumn:null};var h={source:_,originalLine:e.getArg(m,"line"),originalColumn:e.getArg(m,"column")},d=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(m,"bias",a.GREATEST_LOWER_BOUND));if(d>=0){var c=this._originalMappings[d];if(c.source===h.source)return{line:e.getArg(c,"generatedLine",null),column:e.getArg(c,"generatedColumn",null),lastColumn:e.getArg(c,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ni.BasicSourceMapConsumer=l;function g(v,m){var _=v;typeof v=="string"&&(_=e.parseSourceMapInput(v));var h=e.getArg(_,"version"),d=e.getArg(_,"sections");if(h!=this._version)throw new Error("Unsupported version: "+h);this._sources=new i,this._names=new i;var c={line:-1,column:0};this._sections=d.map(function(y){if(y.url)throw new Error("Support for url field in sections not implemented.");var b=e.getArg(y,"offset"),I=e.getArg(b,"line"),k=e.getArg(b,"column");if(I<c.line||I===c.line&&k<c.column)throw new Error("Section offsets must be ordered and non-overlapping.");return c=b,{generatedOffset:{generatedLine:I+1,generatedColumn:k+1},consumer:new a(e.getArg(y,"map"),m)}})}return g.prototype=Object.create(a.prototype),g.prototype.constructor=a,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var v=[],m=0;m<this._sections.length;m++)for(var _=0;_<this._sections[m].consumer.sources.length;_++)v.push(this._sections[m].consumer.sources[_]);return v}}),g.prototype.originalPositionFor=function(m){var _={generatedLine:e.getArg(m,"line"),generatedColumn:e.getArg(m,"column")},h=n.search(_,this._sections,function(c,y){var b=c.generatedLine-y.generatedOffset.generatedLine;return b||c.generatedColumn-y.generatedOffset.generatedColumn}),d=this._sections[h];return d?d.consumer.originalPositionFor({line:_.generatedLine-(d.generatedOffset.generatedLine-1),column:_.generatedColumn-(d.generatedOffset.generatedLine===_.generatedLine?d.generatedOffset.generatedColumn-1:0),bias:m.bias}):{source:null,line:null,column:null,name:null}},g.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(m){return m.consumer.hasContentsOfAllSources()})},g.prototype.sourceContentFor=function(m,_){for(var h=0;h<this._sections.length;h++){var d=this._sections[h],c=d.consumer.sourceContentFor(m,!0);if(c)return c}if(_)return null;throw new Error('"'+m+'" is not in the SourceMap.')},g.prototype.generatedPositionFor=function(m){for(var _=0;_<this._sections.length;_++){var h=this._sections[_];if(h.consumer._findSourceIndex(e.getArg(m,"source"))!==-1){var d=h.consumer.generatedPositionFor(m);if(d){var c={line:d.line+(h.generatedOffset.generatedLine-1),column:d.column+(h.generatedOffset.generatedLine===d.line?h.generatedOffset.generatedColumn-1:0)};return c}}}return{line:null,column:null}},g.prototype._parseMappings=function(m,_){this.__generatedMappings=[],this.__originalMappings=[];for(var h=0;h<this._sections.length;h++)for(var d=this._sections[h],c=d.consumer._generatedMappings,y=0;y<c.length;y++){var b=c[y],I=d.consumer._sources.at(b.source);I=e.computeSourceURL(d.consumer.sourceRoot,I,this._sourceMapURL),this._sources.add(I),I=this._sources.indexOf(I);var k=null;b.name&&(k=d.consumer._names.at(b.name),this._names.add(k),k=this._names.indexOf(k));var P={source:I,generatedLine:b.generatedLine+(d.generatedOffset.generatedLine-1),generatedColumn:b.generatedColumn+(d.generatedOffset.generatedLine===b.generatedLine?d.generatedOffset.generatedColumn-1:0),originalLine:b.originalLine,originalColumn:b.originalColumn,name:k};this.__generatedMappings.push(P),typeof P.originalLine=="number"&&this.__originalMappings.push(P)}t(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),t(this.__originalMappings,e.compareByOriginalPositions)},ni.IndexedSourceMapConsumer=g,ni}var is={},Fh;function n5(){if(Fh)return is;Fh=1;var e=Up().SourceMapGenerator,n=di(),i=/(\r?\n)/,u=10,t="$$$isSourceNode$$$";function a(l,p,g,v,m){this.children=[],this.sourceContents={},this.line=l??null,this.column=p??null,this.source=g??null,this.name=m??null,this[t]=!0,v!=null&&this.add(v)}return a.fromStringWithSourceMap=function(p,g,v){var m=new a,_=p.split(i),h=0,d=function(){var k=N(),P=N()||"";return k+P;function N(){return h<_.length?_[h++]:void 0}},c=1,y=0,b=null;return g.eachMapping(function(k){if(b!==null)if(c<k.generatedLine)I(b,d()),c++,y=0;else{var P=_[h]||"",N=P.substr(0,k.generatedColumn-y);_[h]=P.substr(k.generatedColumn-y),y=k.generatedColumn,I(b,N),b=k;return}for(;c<k.generatedLine;)m.add(d()),c++;if(y<k.generatedColumn){var P=_[h]||"";m.add(P.substr(0,k.generatedColumn)),_[h]=P.substr(k.generatedColumn),y=k.generatedColumn}b=k},this),h<_.length&&(b&&I(b,d()),m.add(_.splice(h).join(""))),g.sources.forEach(function(k){var P=g.sourceContentFor(k);P!=null&&(v!=null&&(k=n.join(v,k)),m.setSourceContent(k,P))}),m;function I(k,P){if(k===null||k.source===void 0)m.add(P);else{var N=v?n.join(v,k.source):k.source;m.add(new a(k.originalLine,k.originalColumn,N,P,k.name))}}},a.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(g){this.add(g)},this);else if(p[t]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},a.prototype.prepend=function(p){if(Array.isArray(p))for(var g=p.length-1;g>=0;g--)this.prepend(p[g]);else if(p[t]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},a.prototype.walk=function(p){for(var g,v=0,m=this.children.length;v<m;v++)g=this.children[v],g[t]?g.walk(p):g!==""&&p(g,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(p){var g,v,m=this.children.length;if(m>0){for(g=[],v=0;v<m-1;v++)g.push(this.children[v]),g.push(p);g.push(this.children[v]),this.children=g}return this},a.prototype.replaceRight=function(p,g){var v=this.children[this.children.length-1];return v[t]?v.replaceRight(p,g):typeof v=="string"?this.children[this.children.length-1]=v.replace(p,g):this.children.push("".replace(p,g)),this},a.prototype.setSourceContent=function(p,g){this.sourceContents[n.toSetString(p)]=g},a.prototype.walkSourceContents=function(p){for(var g=0,v=this.children.length;g<v;g++)this.children[g][t]&&this.children[g].walkSourceContents(p);for(var m=Object.keys(this.sourceContents),g=0,v=m.length;g<v;g++)p(n.fromSetString(m[g]),this.sourceContents[m[g]])},a.prototype.toString=function(){var p="";return this.walk(function(g){p+=g}),p},a.prototype.toStringWithSourceMap=function(p){var g={code:"",line:1,column:0},v=new e(p),m=!1,_=null,h=null,d=null,c=null;return this.walk(function(y,b){g.code+=y,b.source!==null&&b.line!==null&&b.column!==null?((_!==b.source||h!==b.line||d!==b.column||c!==b.name)&&v.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:g.line,column:g.column},name:b.name}),_=b.source,h=b.line,d=b.column,c=b.name,m=!0):m&&(v.addMapping({generated:{line:g.line,column:g.column}}),_=null,m=!1);for(var I=0,k=y.length;I<k;I++)y.charCodeAt(I)===u?(g.line++,g.column=0,I+1===k?(_=null,m=!1):m&&v.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:g.line,column:g.column},name:b.name})):g.column++}),this.walkSourceContents(function(y,b){v.setSourceContent(y,b)}),{code:g.code,map:v}},is.SourceNode=a,is}var Zh;function r5(){return Zh||(Zh=1,ti.SourceMapGenerator=Up().SourceMapGenerator,ti.SourceMapConsumer=t5().SourceMapConsumer,ti.SourceNode=n5().SourceNode),ti}var Bh;function i5(){return Bh||(Bh=1,(function(e,n){n.__esModule=!0;var i=st(),u=void 0;try{var t=r5();u=t.SourceNode}catch{}u||(u=function(p,g,v,m){this.src="",m&&this.add(m)},u.prototype={add:function(g){i.isArray(g)&&(g=g.join("")),this.src+=g},prepend:function(g){i.isArray(g)&&(g=g.join("")),this.src=g+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function a(p,g,v){if(i.isArray(p)){for(var m=[],_=0,h=p.length;_<h;_++)m.push(g.wrap(p[_],v));return m}else if(typeof p=="boolean"||typeof p=="number")return p+"";return p}function l(p){this.srcFile=p,this.source=[]}l.prototype={isEmpty:function(){return!this.source.length},prepend:function(g,v){this.source.unshift(this.wrap(g,v))},push:function(g,v){this.source.push(this.wrap(g,v))},merge:function(){var g=this.empty();return this.each(function(v){g.add([" ",v,`
|
|
33
|
+
`])}),g},each:function(g){for(var v=0,m=this.source.length;v<m;v++)g(this.source[v])},empty:function(){var g=this.currentLocation||{start:{}};return new u(g.start.line,g.start.column,this.srcFile)},wrap:function(g){var v=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return g instanceof u?g:(g=a(g,this,v),new u(v.start.line,v.start.column,this.srcFile,g))},functionCall:function(g,v,m){return m=this.generateList(m),this.wrap([g,v?"."+v+"(":"(",m,")"])},quotedString:function(g){return'"'+(g+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(g){var v=this,m=[];Object.keys(g).forEach(function(h){var d=a(g[h],v);d!=="undefined"&&m.push([v.quotedString(h),":",d])});var _=this.generateList(m);return _.prepend("{"),_.add("}"),_},generateList:function(g){for(var v=this.empty(),m=0,_=g.length;m<_;m++)m&&v.add(","),v.add(a(g[m],this));return v},generateArray:function(g){var v=this.generateList(g);return v.prepend("["),v.add("]"),v}},n.default=l,e.exports=n.default})(Lo,Lo.exports)),Lo.exports}var Gh;function o5(){return Gh||(Gh=1,(function(e,n){n.__esModule=!0;function i(h){return h&&h.__esModule?h:{default:h}}var u=Es(),t=xt(),a=i(t),l=st(),p=i5(),g=i(p);function v(h){this.value=h}function m(){}m.prototype={nameLookup:function(d,c){return this.internalNameLookup(d,c)},depthedLookup:function(d){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(d),")"]},compilerInfo:function(){var d=u.COMPILER_REVISION,c=u.REVISION_CHANGES[d];return[d,c]},appendToBuffer:function(d,c,y){return l.isArray(d)||(d=[d]),d=this.source.wrap(d,c),this.environment.isSimple?["return ",d,";"]:y?["buffer += ",d,";"]:(d.appendToBuffer=!0,d)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(d,c){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",d,",",JSON.stringify(c),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(d,c,y,b){this.environment=d,this.options=c,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!b,this.name=this.environment.name,this.isChild=!!y,this.context=y||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(d,c),this.useDepths=this.useDepths||d.useDepths||d.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||d.useBlockParams;var I=d.opcodes,k=void 0,P=void 0,N=void 0,O=void 0;for(N=0,O=I.length;N<O;N++)k=I[N],this.source.currentLocation=k.loc,P=P||k.loc,this[k.opcode].apply(this,k.args);if(this.source.currentLocation=P,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new a.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
|
|
34
34
|
`]),this.decorators.push("return fn;"),b?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
|
|
35
35
|
`),this.decorators.push(`}
|
|
36
|
-
`),this.decorators=this.decorators.merge()));var U=this.createFunctionContext(b);if(this.isChild)return U;var z={compiler:this.compilerInfo(),main:U};this.decorators&&(z.main_d=this.decorators,z.useDecorators=!0);var
|
|
37
|
-
`,P,"}"])},mergeSource:function(d){var c=this.environment.isSimple,y=!this.forceBuffer,b=void 0,
|
|
36
|
+
`),this.decorators=this.decorators.merge()));var U=this.createFunctionContext(b);if(this.isChild)return U;var z={compiler:this.compilerInfo(),main:U};this.decorators&&(z.main_d=this.decorators,z.useDecorators=!0);var q=this.context,J=q.programs,te=q.decorators;for(N=0,O=J.length;N<O;N++)z[N]=J[N],te[N]&&(z[N+"_d"]=te[N],z.useDecorators=!0);return this.environment.usePartial&&(z.usePartial=!0),this.options.data&&(z.useData=!0),this.useDepths&&(z.useDepths=!0),this.useBlockParams&&(z.useBlockParams=!0),this.options.compat&&(z.compat=!0),b?z.compilerOptions=this.options:(z.compiler=JSON.stringify(z.compiler),this.source.currentLocation={start:{line:1,column:0}},z=this.objectLiteral(z),c.srcName?(z=z.toStringWithSourceMap({file:c.destName}),z.map=z.map&&z.map.toString()):z=z.toString()),z},preamble:function(){this.lastContext=0,this.source=new g.default(this.options.srcName),this.decorators=new g.default(this.options.srcName)},createFunctionContext:function(d){var c=this,y="",b=this.stackVars.concat(this.registers.list);b.length>0&&(y+=", "+b.join(", "));var I=0;Object.keys(this.aliases).forEach(function(N){var O=c.aliases[N];O.children&&O.referenceCount>1&&(y+=", alias"+ ++I+"="+N,O.children[0]="alias"+I)}),this.lookupPropertyFunctionIsUsed&&(y+=", "+this.lookupPropertyFunctionVarDeclaration());var k=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&k.push("blockParams"),this.useDepths&&k.push("depths");var P=this.mergeSource(y);return d?(k.push(P),Function.apply(this,k)):this.source.wrap(["function(",k.join(","),`) {
|
|
37
|
+
`,P,"}"])},mergeSource:function(d){var c=this.environment.isSimple,y=!this.forceBuffer,b=void 0,I=void 0,k=void 0,P=void 0;return this.source.each(function(N){N.appendToBuffer?(k?N.prepend(" + "):k=N,P=N):(k&&(I?k.prepend("buffer += "):b=!0,P.add(";"),k=P=void 0),I=!0,c||(y=!1))}),y?k?(k.prepend("return "),P.add(";")):I||this.source.push('return "";'):(d+=", buffer = "+(b?"":this.initializeBuffer()),k?(k.prepend("return buffer + "),P.add(";")):this.source.push("return buffer;")),d&&this.source.prepend("var "+d.substring(2)+(b?"":`;
|
|
38
38
|
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
|
|
39
39
|
lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
40
40
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -42,45 +42,45 @@ Expecting `+q.join(", ")+", got '"+(this.terminals_[P]||P)+"'":G="Parse error on
|
|
|
42
42
|
}
|
|
43
43
|
return undefined
|
|
44
44
|
}
|
|
45
|
-
`.trim()},blockValue:function(d){var c=this.aliasable("container.hooks.blockHelperMissing"),y=[this.contextName(0)];this.setupHelperArgs(d,0,y);var b=this.popStack();y.splice(1,0,b),this.push(this.source.functionCall(c,"call",y))},ambiguousBlockValue:function(){var d=this.aliasable("container.hooks.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs("",0,c,!0),this.flushInline();var y=this.topStack();c.splice(1,0,y),this.pushSource(["if (!",this.lastHelper,") { ",y," = ",this.source.functionCall(d,"call",c),"}"])},appendContent:function(d){this.pendingContent?d=this.pendingContent+d:this.pendingLocation=this.source.currentLocation,this.pendingContent=d},append:function(){if(this.isInline())this.replaceStack(function(c){return[" != null ? ",c,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var d=this.popStack();this.pushSource(["if (",d," != null) { ",this.appendToBuffer(d,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(d){this.lastContext=d},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(d,c,y,b){var k=0;!b&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(d[k++])):this.pushContext(),this.resolvePath("context",d,k,c,y)},lookupBlockParam:function(d,c){this.useBlockParams=!0,this.push(["blockParams[",d[0],"][",d[1],"]"]),this.resolvePath("context",c,1)},lookupData:function(d,c,y){d?this.pushStackLiteral("container.data(data, "+d+")"):this.pushStackLiteral("data"),this.resolvePath("data",c,0,!0,y)},resolvePath:function(d,c,y,b,k){var I=this;if(this.options.strict||this.options.assumeObjects){this.push(_(this.options.strict&&k,this,c,y,d));return}for(var P=c.length,E=function(U){I.replaceStack(function(z){var H=I.nameLookup(z,c[U],d);return b?[" && ",H]:[" != null ? ",H," : ",z]})},x=y;x<P;x++)E(x)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(d,c){this.pushContext(),this.pushString(c),c!=="SubExpression"&&(typeof d=="string"?this.pushString(d):this.pushStackLiteral(d))},emptyHash:function(d){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(d?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var d=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(d.ids)),this.stringParams&&(this.push(this.objectLiteral(d.contexts)),this.push(this.objectLiteral(d.types))),this.push(this.objectLiteral(d.values))},pushString:function(d){this.pushStackLiteral(this.quotedString(d))},pushLiteral:function(d){this.pushStackLiteral(d)},pushProgram:function(d){d!=null?this.pushStackLiteral(this.programExpression(d)):this.pushStackLiteral(null)},registerDecorator:function(d,c){var y=this.nameLookup("decorators",c,"decorator"),b=this.setupHelperArgs(c,d);this.decorators.push(["var decorator = ",y,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+c+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",b])," || fn;"])},invokeHelper:function(d,c,y){var b=this.popStack(),k=this.setupHelper(d,c),I=[];y&&I.push(k.name),I.push(b),this.options.strict||I.push(this.aliasable("container.hooks.helperMissing"));var P=["(",this.itemsSeparatedBy(I,"||"),")"],E=this.source.functionCall(P,"call",k.callParams);this.push(E)},itemsSeparatedBy:function(d,c){var y=[];y.push(d[0]);for(var b=1;b<d.length;b++)y.push(c,d[b]);return y},invokeKnownHelper:function(d,c){var y=this.setupHelper(d,c);this.push(this.source.functionCall(y.name,"call",y.callParams))},invokeAmbiguous:function(d,c){this.useRegister("helper");var y=this.popStack();this.emptyHash();var b=this.setupHelper(0,d,c),k=this.lastHelper=this.nameLookup("helpers",d,"helper"),I=["(","(helper = ",k," || ",y,")"];this.options.strict||(I[0]="(helper = ",I.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",I,b.paramsInit?["),(",b.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",b.callParams)," : helper))"])},invokePartial:function(d,c,y){var b=[],k=this.setupParams(c,1,b);d&&(c=this.popStack(),delete k.name),y&&(k.indent=JSON.stringify(y)),k.helpers="helpers",k.partials="partials",k.decorators="container.decorators",d?b.unshift(c):b.unshift(this.nameLookup("partials",c,"partial")),this.options.compat&&(k.depths="depths"),k=this.objectLiteral(k),b.push(k),this.push(this.source.functionCall("container.invokePartial","",b))},assignToHash:function(d){var c=this.popStack(),y=void 0,b=void 0,k=void 0;this.trackIds&&(k=this.popStack()),this.stringParams&&(b=this.popStack(),y=this.popStack());var I=this.hash;y&&(I.contexts[d]=y),b&&(I.types[d]=b),k&&(I.ids[d]=k),I.values[d]=c},pushId:function(d,c,y){d==="BlockParam"?this.pushStackLiteral("blockParams["+c[0]+"].path["+c[1]+"]"+(y?" + "+JSON.stringify("."+y):"")):d==="PathExpression"?this.pushString(c):d==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:m,compileChildren:function(d,c){for(var y=d.children,b=void 0,k=void 0,I=0,P=y.length;I<P;I++){b=y[I],k=new this.compiler;var E=this.matchExistingProgram(b);if(E==null){var x=this.context.programs.push("")-1;b.index=x,b.name="program"+x,this.context.programs[x]=k.compile(b,c,this.context,!this.precompile),this.context.decorators[x]=k.decorators,this.context.environments[x]=b,this.useDepths=this.useDepths||k.useDepths,this.useBlockParams=this.useBlockParams||k.useBlockParams,b.useDepths=this.useDepths,b.useBlockParams=this.useBlockParams}else b.index=E.index,b.name="program"+E.index,this.useDepths=this.useDepths||E.useDepths,this.useBlockParams=this.useBlockParams||E.useBlockParams}},matchExistingProgram:function(d){for(var c=0,y=this.context.environments.length;c<y;c++){var b=this.context.environments[c];if(b&&b.equals(d))return b}},programExpression:function(d){var c=this.environment.children[d],y=[c.index,"data",c.blockParams];return(this.useBlockParams||this.useDepths)&&y.push("blockParams"),this.useDepths&&y.push("depths"),"container.program("+y.join(", ")+")"},useRegister:function(d){this.registers[d]||(this.registers[d]=!0,this.registers.list.push(d))},push:function(d){return d instanceof v||(d=this.source.wrap(d)),this.inlineStack.push(d),d},pushStackLiteral:function(d){this.push(new v(d))},pushSource:function(d){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),d&&this.source.push(d)},replaceStack:function(d){var c=["("],y=void 0,b=void 0,k=void 0;if(!this.isInline())throw new a.default("replaceStack on non-inline");var I=this.popStack(!0);if(I instanceof v)y=[I.value],c=["(",y],k=!0;else{b=!0;var P=this.incrStack();c=["((",this.push(P)," = ",I,")"],y=this.topStack()}var E=d.call(this,y);k||this.popStack(),b&&this.stackSlot--,this.push(c.concat(E,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var d=this.inlineStack;this.inlineStack=[];for(var c=0,y=d.length;c<y;c++){var b=d[c];if(b instanceof v)this.compileStack.push(b);else{var k=this.incrStack();this.pushSource([k," = ",b,";"]),this.compileStack.push(k)}}},isInline:function(){return this.inlineStack.length},popStack:function(d){var c=this.isInline(),y=(c?this.inlineStack:this.compileStack).pop();if(!d&&y instanceof v)return y.value;if(!c){if(!this.stackSlot)throw new a.default("Invalid stack pop");this.stackSlot--}return y},topStack:function(){var d=this.isInline()?this.inlineStack:this.compileStack,c=d[d.length-1];return c instanceof v?c.value:c},contextName:function(d){return this.useDepths&&d?"depths["+d+"]":"depth"+d},quotedString:function(d){return this.source.quotedString(d)},objectLiteral:function(d){return this.source.objectLiteral(d)},aliasable:function(d){var c=this.aliases[d];return c?(c.referenceCount++,c):(c=this.aliases[d]=this.source.wrap(d),c.aliasable=!0,c.referenceCount=1,c)},setupHelper:function(d,c,y){var b=[],k=this.setupHelperArgs(c,d,b,y),I=this.nameLookup("helpers",c,"helper"),P=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:b,paramsInit:k,name:I,callParams:[P].concat(b)}},setupParams:function(d,c,y){var b={},k=[],I=[],P=[],E=!y,x=void 0;E&&(y=[]),b.name=this.quotedString(d),b.hash=this.popStack(),this.trackIds&&(b.hashIds=this.popStack()),this.stringParams&&(b.hashTypes=this.popStack(),b.hashContexts=this.popStack());var U=this.popStack(),z=this.popStack();(z||U)&&(b.fn=z||"container.noop",b.inverse=U||"container.noop");for(var H=c;H--;)x=this.popStack(),y[H]=x,this.trackIds&&(P[H]=this.popStack()),this.stringParams&&(I[H]=this.popStack(),k[H]=this.popStack());return E&&(b.args=this.source.generateArray(y)),this.trackIds&&(b.ids=this.source.generateArray(P)),this.stringParams&&(b.types=this.source.generateArray(I),b.contexts=this.source.generateArray(k)),this.options.data&&(b.data="data"),this.useBlockParams&&(b.blockParams="blockParams"),b},setupHelperArgs:function(d,c,y,b){var k=this.setupParams(d,c,y);return k.loc=JSON.stringify(this.source.currentLocation),k=this.objectLiteral(k),b?(this.useRegister("options"),y.push("options"),["options=",k]):y?(y.push(k),""):k}},(function(){for(var h="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),d=m.RESERVED_WORDS={},c=0,y=h.length;c<y;c++)d[h[c]]=!0})(),m.isValidJavaScriptVariableName=function(h){return!m.RESERVED_WORDS[h]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(h)};function _(h,d,c,y,b){var k=d.popStack(),I=c.length;h&&I--;for(var P=y;P<I;P++)k=d.nameLookup(k,c[P],b);return h?[d.aliasable("container.strict"),"(",k,", ",d.quotedString(c[I]),", ",JSON.stringify(d.source.currentLocation)," )"]:k}n.default=m,e.exports=n.default})(Uo,Uo.exports)),Uo.exports}var Gh;function i5(){return Gh||(Gh=1,(function(e,n){n.__esModule=!0;function i(I){return I&&I.__esModule?I:{default:I}}var u=By(),t=i(u),a=Np(),l=i(a),p=qy(),g=Ky(),v=r5(),m=i(v),_=Pp(),h=i(_),d=Ap(),c=i(d),y=t.default.create;function b(){var I=y();return I.compile=function(P,E){return g.compile(P,E,I)},I.precompile=function(P,E){return g.precompile(P,E,I)},I.AST=l.default,I.Compiler=g.Compiler,I.JavaScriptCompiler=m.default,I.Parser=p.parser,I.parse=p.parse,I.parseWithoutProcessing=p.parseWithoutProcessing,I}var k=b();k.create=b,c.default(k),k.Visitor=h.default,k.default=k,n.default=k,e.exports=n.default})(go,go.exports)),go.exports}i5();var ve=(e=>(e.ACTOR="ACTOR",e.ADDRESS="ADDRESS",e.ARRAY="ARRAY",e.BOOLEAN="BOOLEAN",e.CURRENCY="CURRENCY",e.DATE="DATE",e.DATE_TIME="DATE_TIME",e.EMAILS="EMAILS",e.FILES="FILES",e.FULL_NAME="FULL_NAME",e.LINKS="LINKS",e.MORPH_RELATION="MORPH_RELATION",e.MULTI_SELECT="MULTI_SELECT",e.NUMBER="NUMBER",e.NUMERIC="NUMERIC",e.PHONES="PHONES",e.POSITION="POSITION",e.RATING="RATING",e.RAW_JSON="RAW_JSON",e.RELATION="RELATION",e.RICH_TEXT="RICH_TEXT",e.SELECT="SELECT",e.TEXT="TEXT",e.TS_VECTOR="TS_VECTOR",e.UUID="UUID",e))(ve||{}),ee=(e=>(e.IS="IS",e.IS_NOT_NULL="IS_NOT_NULL",e.IS_NOT="IS_NOT",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.IS_BEFORE="IS_BEFORE",e.IS_AFTER="IS_AFTER",e.CONTAINS="CONTAINS",e.DOES_NOT_CONTAIN="DOES_NOT_CONTAIN",e.IS_EMPTY="IS_EMPTY",e.IS_NOT_EMPTY="IS_NOT_EMPTY",e.IS_RELATIVE="IS_RELATIVE",e.IS_IN_PAST="IS_IN_PAST",e.IS_IN_FUTURE="IS_IN_FUTURE",e.IS_TODAY="IS_TODAY",e.VECTOR_SEARCH="VECTOR_SEARCH",e))(ee||{}),qe=(e=>(e.Is="is",e.IsNotNull="isNotNull",e.IsNot="isNot",e.LessThanOrEqual="lessThan",e.GreaterThanOrEqual="greaterThan",e.IsBefore="isBefore",e.IsAfter="isAfter",e.Contains="contains",e.DoesNotContain="doesNotContain",e.IsEmpty="isEmpty",e.IsNotEmpty="isNotEmpty",e.IsRelative="isRelative",e.IsInPast="isInPast",e.IsInFuture="isInFuture",e.IsToday="isToday",e))(qe||{}),ls=(e=>(e.EMAIL="EMAIL",e.CALENDAR="CALENDAR",e.WORKFLOW="WORKFLOW",e.AGENT="AGENT",e.API="API",e.IMPORT="IMPORT",e.MANUAL="MANUAL",e.SYSTEM="SYSTEM",e.WEBHOOK="WEBHOOK",e.APPLICATION="APPLICATION",e))(ls||{});ve.ACTOR,ve.SELECT,Object.keys(ls).map((e,n)=>({id:gp.v4(),label:`${ls[e].toLowerCase()}`,value:e,position:n})),ve.UUID,ve.TEXT,ve.RAW_JSON;var Wo=(e=>(e.MONDAY="MONDAY",e.SUNDAY="SUNDAY",e.SATURDAY="SATURDAY",e))(Wo||{});ve.CURRENCY+"",ve.EMAILS+"",ve.LINKS+"",ve.PHONES+"",ve.FULL_NAME+"",ve.ADDRESS+"",ve.ACTOR+"",ve.RICH_TEXT+"";const o5={AED:{label:"UAE dirham"},AFN:{label:"Afghan afghani"},ALL:{label:"Albanian lek"},AMD:{label:"Armenian dram"},ANG:{label:"Netherlands Antillean guilder"},AOA:{label:"Angolan kwanza"},ARS:{label:"Argentine peso"},AUD:{label:"Australian dollar"},AWG:{label:"Aruban florin"},AZN:{label:"Azerbaijani manat"},BAM:{label:"Bosnia and Herzegovina mark"},BBD:{label:"Barbados dollar"},BDT:{label:"Bangladeshi taka"},BGN:{label:"Bulgarian lev"},BHD:{label:"Bahraini dinar"},BIF:{label:"Burundian franc"},BMD:{label:"Bermudian dollar"},BND:{label:"Brunei dollar"},BOB:{label:"Boliviano"},BRL:{label:"Brazilian real"},BSD:{label:"Bahamian dollar"},BTN:{label:"Bhutanese ngultrum"},BWP:{label:"Botswana pula"},BYN:{label:"Belarusian ruble"},BZD:{label:"Belize dollar"},CAD:{label:"Canadian dollar"},CDF:{label:"Congolese franc"},CHF:{label:"Swiss franc"},CLP:{label:"Chilean peso"},CLF:{label:"Unidad de Fomento"},CNY:{label:"Chinese yuan"},COP:{label:"Colombian peso"},CRC:{label:"Costa Rican colon"},CUP:{label:"Cuban peso"},CVE:{label:"Cape Verdean escudo"},CZK:{label:"Czech koruna"},DJF:{label:"Djiboutian franc"},DKK:{label:"Danish krone"},DOP:{label:"Dominican peso"},DZD:{label:"Algerian Dinar"},EGP:{label:"Egyptian pound"},ERN:{label:"Eritrean nakfa"},ETB:{label:"Ethiopian birr"},EUR:{label:"Euro"},FJD:{label:"Fiji dollar"},FKP:{label:"Falkland Islands pound"},GBP:{label:"British pound"},GEL:{label:"Georgian lari"},GHS:{label:"Ghanaian cedi"},GIP:{label:"Gibraltar pound"},GMD:{label:"Gambian dalasi"},GNF:{label:"Guinean franc"},GTQ:{label:"Guatemalan quetzal"},GYD:{label:"Guyanese dollar"},HKD:{label:"Hong Kong dollar"},HNL:{label:"Honduran lempira"},HTG:{label:"Haitian gourde"},HUF:{label:"Hungarian forint"},IDR:{label:"Indonesian rupiah"},ILS:{label:"Israeli shekel"},INR:{label:"Indian rupee"},IQD:{label:"Iraqi dinar"},IRR:{label:"Iranian rial"},ISK:{label:"Icelandic króna"},JMD:{label:"Jamaican dollar"},JOD:{label:"Jordanian dinar"},JPY:{label:"Japanese yen"},KES:{label:"Kenyan shilling"},KGS:{label:"Kyrgyzstani som"},KHR:{label:"Cambodian riel"},KMF:{label:"Comoro franc"},KPW:{label:"North Korean won"},KRW:{label:"South Korean won"},KWD:{label:"Kuwaiti dinar"},KYD:{label:"Cayman Islands dollar"},KZT:{label:"Kazakhstani tenge"},LAK:{label:"Lao kip"},LBP:{label:"Lebanese pound"},LKR:{label:"Sri Lankan rupee"},LRD:{label:"Liberian dollar"},LSL:{label:"Lesotho loti"},LYD:{label:"Libyan dinar"},MAD:{label:"Moroccan dirham"},MDL:{label:"Moldovan leu"},MGA:{label:"Malagasy ariary"},MKD:{label:"Macedonian denar"},MMK:{label:"Myanmar kyat"},MNT:{label:"Mongolian tögrög"},MOP:{label:"Macanese pataca"},MRU:{label:"Mauritanian ouguiya"},MUR:{label:"Mauritian rupee"},MVR:{label:"Maldivian rufiyaa"},MWK:{label:"Malawian kwacha"},MXN:{label:"Mexican peso"},MYR:{label:"Malaysian ringgit"},MZN:{label:"Mozambican metical"},NAD:{label:"Namibian dollar"},NGN:{label:"Nigerian naira"},NIO:{label:"Nicaraguan córdoba"},NOK:{label:"Norwegian krone"},NPR:{label:"Nepalese rupee"},NZD:{label:"New Zealand dollar"},OMR:{label:"Omani rial"},PAB:{label:"Panamanian balboa"},PEN:{label:"Peruvian sol"},PGK:{label:"Papua New Guinean kina"},PHP:{label:"Philippine peso"},PKR:{label:"Pakistani rupee"},PLN:{label:"Polish złoty"},PYG:{label:"Paraguayan guaraní"},QAR:{label:"Qatari riyal"},RON:{label:"Romanian leu"},RSD:{label:"Serbian dinar"},RUB:{label:"Russian ruble"},RWF:{label:"Rwandan franc"},SAR:{label:"Saudi riyal"},SBD:{label:"Solomon Islands dollar"},SCR:{label:"Seychelles rupee"},SDG:{label:"Sudanese pound"},SEK:{label:"Swedish krona"},SGD:{label:"Singapore dollar"},SHP:{label:"Saint Helena pound"},SLE:{label:"Sierra Leonean leone"},SOS:{label:"Somalian shilling"},SRD:{label:"Surinamese dollar"},SSP:{label:"South Sudanese pound"},STN:{label:"São Tomé and Príncipe dobra"},SVC:{label:"Salvadoran colón"},SYP:{label:"Syrian pound"},SZL:{label:"Swazi lilangeni"},THB:{label:"Thai Baht"},TJS:{label:"Tajikistani somoni"},TMT:{label:"Turkmenistan manat"},TND:{label:"Tunisian dinar"},TOP:{label:"Tongan paʻanga"},TRY:{label:"Turkish lira"},TTD:{label:"Trinidad and Tobago dollar"},TWD:{label:"Taiwanese dollar"},TZS:{label:"Tanzanian shilling"},UAH:{label:"Ukrainian hryvnia"},UGX:{label:"Ugandan shilling"},USD:{label:"United States dollar"},UYU:{label:"Uruguayan peso"},UZS:{label:"Uzbekistani sum"},VES:{label:"Venezuelan bolívar"},VND:{label:"Vietnamese đồng"},VUV:{label:"Vanuatu vatu"},WST:{label:"Samoan tala"},XOF:{label:"West African CFA franc"},XCD:{label:"East Caribbean dollar"},YER:{label:"Yemeni rial"},ZAR:{label:"South African rand"},ZMW:{label:"Zambian kwacha"},ZWG:{label:"Zimbabwe Gold"}};ve.TEXT,ve.FULL_NAME,ve.UUID;const gr=Object.freeze({status:"aborted"});function C(e,n,i){function u(p,g){var v;Object.defineProperty(p,"_zod",{value:p._zod??{},enumerable:!1}),(v=p._zod).traits??(v.traits=new Set),p._zod.traits.add(e),n(p,g);for(const m in l.prototype)m in p||Object.defineProperty(p,m,{value:l.prototype[m].bind(p)});p._zod.constr=l,p._zod.def=g}const t=i?.Parent??Object;class a extends t{}Object.defineProperty(a,"name",{value:e});function l(p){var g;const v=i?.Parent?new a:this;u(v,p),(g=v._zod).deferred??(g.deferred=[]);for(const m of v._zod.deferred)m();return v}return Object.defineProperty(l,"init",{value:u}),Object.defineProperty(l,Symbol.hasInstance,{value:p=>i?.Parent&&p instanceof i.Parent?!0:p?._zod?.traits?.has(e)}),Object.defineProperty(l,"name",{value:e}),l}const Dp=Symbol("zod_brand");class jn extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class ua extends Error{constructor(n){super(`Encountered unidirectional transform during encode: ${n}`),this.name="ZodEncodeError"}}const qo={};function Xe(e){return e&&Object.assign(qo,e),qo}function a5(e){return e}function u5(e){return e}function s5(e){}function l5(e){throw new Error}function c5(e){}function Os(e){const n=Object.values(e).filter(u=>typeof u=="number");return Object.entries(e).filter(([u,t])=>n.indexOf(+u)===-1).map(([u,t])=>t)}function Z(e,n="|"){return e.map(i=>ne(i)).join(n)}function Ko(e,n){return typeof n=="bigint"?n.toString():n}function di(e){return{get value(){{const n=e();return Object.defineProperty(this,"value",{value:n}),n}}}}function qn(e){return e==null}function sa(e){const n=e.startsWith("^")?1:0,i=e.endsWith("$")?e.length-1:e.length;return e.slice(n,i)}function Up(e,n){const i=(e.toString().split(".")[1]||"").length,u=n.toString();let t=(u.split(".")[1]||"").length;if(t===0&&/\d?e-\d?/.test(u)){const g=u.match(/\d?e-(\d?)/);g?.[1]&&(t=Number.parseInt(g[1]))}const a=i>t?i:t,l=Number.parseInt(e.toFixed(a).replace(".","")),p=Number.parseInt(n.toFixed(a).replace(".",""));return l%p/10**a}const Wh=Symbol("evaluating");function de(e,n,i){let u;Object.defineProperty(e,n,{get(){if(u!==Wh)return u===void 0&&(u=Wh,u=i()),u},set(t){Object.defineProperty(e,n,{value:t})},configurable:!0})}function d5(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function On(e,n,i){Object.defineProperty(e,n,{value:i,writable:!0,enumerable:!0,configurable:!0})}function fn(...e){const n={};for(const i of e){const u=Object.getOwnPropertyDescriptors(i);Object.assign(n,u)}return Object.defineProperties({},n)}function f5(e){return fn(e._zod.def)}function h5(e,n){return n?n.reduce((i,u)=>i?.[u],e):e}function p5(e){const n=Object.keys(e),i=n.map(u=>e[u]);return Promise.all(i).then(u=>{const t={};for(let a=0;a<n.length;a++)t[n[a]]=u[a];return t})}function m5(e=10){const n="abcdefghijklmnopqrstuvwxyz";let i="";for(let u=0;u<e;u++)i+=n[Math.floor(Math.random()*n.length)];return i}function cs(e){return JSON.stringify(e)}const Es="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function yr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Rp=di(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Zn(e){if(yr(e)===!1)return!1;const n=e.constructor;if(n===void 0)return!0;const i=n.prototype;return!(yr(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}function la(e){return Zn(e)?{...e}:Array.isArray(e)?[...e]:e}function g5(e){let n=0;for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&n++;return n}const v5=e=>{const n=typeof e;switch(n){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: ${n}`)}},Jo=new Set(["string","number","symbol"]),Lp=new Set(["string","number","bigint","boolean","symbol","undefined"]);function In(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function At(e,n,i){const u=new e._zod.constr(n??e._zod.def);return(!n||i?.parent)&&(u._zod.parent=e),u}function j(e){const n=e;if(!n)return{};if(typeof n=="string")return{error:()=>n};if(n?.message!==void 0){if(n?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");n.error=n.message}return delete n.message,typeof n.error=="string"?{...n,error:()=>n.error}:n}function $5(e){let n;return new Proxy({},{get(i,u,t){return n??(n=e()),Reflect.get(n,u,t)},set(i,u,t,a){return n??(n=e()),Reflect.set(n,u,t,a)},has(i,u){return n??(n=e()),Reflect.has(n,u)},deleteProperty(i,u){return n??(n=e()),Reflect.deleteProperty(n,u)},ownKeys(i){return n??(n=e()),Reflect.ownKeys(n)},getOwnPropertyDescriptor(i,u){return n??(n=e()),Reflect.getOwnPropertyDescriptor(n,u)},defineProperty(i,u,t){return n??(n=e()),Reflect.defineProperty(n,u,t)}})}function ne(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Mp(e){return Object.keys(e).filter(n=>e[n]._zod.optin==="optional"&&e[n]._zod.optout==="optional")}const jp={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]},Fp={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Zp(e,n){const i=e._zod.def,u=fn(e._zod.def,{get shape(){const t={};for(const a in n){if(!(a in i.shape))throw new Error(`Unrecognized key: "${a}"`);n[a]&&(t[a]=i.shape[a])}return On(this,"shape",t),t},checks:[]});return At(e,u)}function Bp(e,n){const i=e._zod.def,u=fn(e._zod.def,{get shape(){const t={...e._zod.def.shape};for(const a in n){if(!(a in i.shape))throw new Error(`Unrecognized key: "${a}"`);n[a]&&delete t[a]}return On(this,"shape",t),t},checks:[]});return At(e,u)}function Gp(e,n){if(!Zn(n))throw new Error("Invalid input to extend: expected a plain object");const i=e._zod.def.checks;if(i&&i.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const t=fn(e._zod.def,{get shape(){const a={...e._zod.def.shape,...n};return On(this,"shape",a),a},checks:[]});return At(e,t)}function Wp(e,n){if(!Zn(n))throw new Error("Invalid input to safeExtend: expected a plain object");const i={...e._zod.def,get shape(){const u={...e._zod.def.shape,...n};return On(this,"shape",u),u},checks:e._zod.def.checks};return At(e,i)}function Hp(e,n){const i=fn(e._zod.def,{get shape(){const u={...e._zod.def.shape,...n._zod.def.shape};return On(this,"shape",u),u},get catchall(){return n._zod.def.catchall},checks:[]});return At(e,i)}function qp(e,n,i){const u=fn(n._zod.def,{get shape(){const t=n._zod.def.shape,a={...t};if(i)for(const l in i){if(!(l in t))throw new Error(`Unrecognized key: "${l}"`);i[l]&&(a[l]=e?new e({type:"optional",innerType:t[l]}):t[l])}else for(const l in t)a[l]=e?new e({type:"optional",innerType:t[l]}):t[l];return On(this,"shape",a),a},checks:[]});return At(n,u)}function Kp(e,n,i){const u=fn(n._zod.def,{get shape(){const t=n._zod.def.shape,a={...t};if(i)for(const l in i){if(!(l in a))throw new Error(`Unrecognized key: "${l}"`);i[l]&&(a[l]=new e({type:"nonoptional",innerType:t[l]}))}else for(const l in t)a[l]=new e({type:"nonoptional",innerType:t[l]});return On(this,"shape",a),a},checks:[]});return At(n,u)}function Ln(e,n=0){if(e.aborted===!0)return!0;for(let i=n;i<e.issues.length;i++)if(e.issues[i]?.continue!==!0)return!0;return!1}function Mt(e,n){return n.map(i=>{var u;return(u=i).path??(u.path=[]),i.path.unshift(e),i})}function ii(e){return typeof e=="string"?e:e?.message}function Zt(e,n,i){const u={...e,path:e.path??[]};if(!e.message){const t=ii(e.inst?._zod.def?.error?.(e))??ii(n?.error?.(e))??ii(i.customError?.(e))??ii(i.localeError?.(e))??"Invalid input";u.message=t}return delete u.inst,delete u.continue,n?.reportInput||delete u.input,u}function ca(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function da(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function br(...e){const[n,i,u]=e;return typeof n=="string"?{message:n,code:"custom",input:i,inst:u}:{...n}}function _5(e){return Object.entries(e).filter(([n,i])=>Number.isNaN(Number.parseInt(n,10))).map(n=>n[1])}function Jp(e){const n=atob(e),i=new Uint8Array(n.length);for(let u=0;u<n.length;u++)i[u]=n.charCodeAt(u);return i}function Vp(e){let n="";for(let i=0;i<e.length;i++)n+=String.fromCharCode(e[i]);return btoa(n)}function y5(e){const n=e.replace(/-/g,"+").replace(/_/g,"/"),i="=".repeat((4-n.length%4)%4);return Jp(n+i)}function b5(e){return Vp(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function S5(e){const n=e.replace(/^0x/,"");if(n.length%2!==0)throw new Error("Invalid hex string length");const i=new Uint8Array(n.length/2);for(let u=0;u<n.length;u+=2)i[u/2]=Number.parseInt(n.slice(u,u+2),16);return i}function w5(e){return Array.from(e).map(n=>n.toString(16).padStart(2,"0")).join("")}class k5{constructor(...n){}}const Yp=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:Fp,Class:k5,NUMBER_FORMAT_RANGES:jp,aborted:Ln,allowsEval:Rp,assert:c5,assertEqual:a5,assertIs:s5,assertNever:l5,assertNotEqual:u5,assignProp:On,base64ToUint8Array:Jp,base64urlToUint8Array:y5,cached:di,captureStackTrace:Es,cleanEnum:_5,cleanRegex:sa,clone:At,cloneDef:f5,createTransparentProxy:$5,defineLazy:de,esc:cs,escapeRegex:In,extend:Gp,finalizeIssue:Zt,floatSafeRemainder:Up,getElementAtPath:h5,getEnumValues:Os,getLengthableOrigin:da,getParsedType:v5,getSizableOrigin:ca,hexToUint8Array:S5,isObject:yr,isPlainObject:Zn,issue:br,joinValues:Z,jsonStringifyReplacer:Ko,merge:Hp,mergeDefs:fn,normalizeParams:j,nullish:qn,numKeys:g5,objectClone:d5,omit:Bp,optionalKeys:Mp,partial:qp,pick:Zp,prefixIssues:Mt,primitiveTypes:Lp,promiseAllObject:p5,propertyKeyTypes:Jo,randomString:m5,required:Kp,safeExtend:Wp,shallowClone:la,stringifyPrimitive:ne,uint8ArrayToBase64:Vp,uint8ArrayToBase64url:b5,uint8ArrayToHex:w5,unwrapMessage:ii},Symbol.toStringTag,{value:"Module"})),Xp=(e,n)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:n,enumerable:!1}),e.message=JSON.stringify(n,Ko,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},As=C("$ZodError",Xp),gt=C("$ZodError",Xp,{Parent:Error});function Ns(e,n=i=>i.message){const i={},u=[];for(const t of e.issues)t.path.length>0?(i[t.path[0]]=i[t.path[0]]||[],i[t.path[0]].push(n(t))):u.push(n(t));return{formErrors:u,fieldErrors:i}}function Ps(e,n){const i=n||function(a){return a.message},u={_errors:[]},t=a=>{for(const l of a.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(p=>t({issues:p}));else if(l.code==="invalid_key")t({issues:l.issues});else if(l.code==="invalid_element")t({issues:l.issues});else if(l.path.length===0)u._errors.push(i(l));else{let p=u,g=0;for(;g<l.path.length;){const v=l.path[g];g===l.path.length-1?(p[v]=p[v]||{_errors:[]},p[v]._errors.push(i(l))):p[v]=p[v]||{_errors:[]},p=p[v],g++}}};return t(e),u}function Qp(e,n){const i=n||function(a){return a.message},u={errors:[]},t=(a,l=[])=>{var p,g;for(const v of a.issues)if(v.code==="invalid_union"&&v.errors.length)v.errors.map(m=>t({issues:m},v.path));else if(v.code==="invalid_key")t({issues:v.issues},v.path);else if(v.code==="invalid_element")t({issues:v.issues},v.path);else{const m=[...l,...v.path];if(m.length===0){u.errors.push(i(v));continue}let _=u,h=0;for(;h<m.length;){const d=m[h],c=h===m.length-1;typeof d=="string"?(_.properties??(_.properties={}),(p=_.properties)[d]??(p[d]={errors:[]}),_=_.properties[d]):(_.items??(_.items=[]),(g=_.items)[d]??(g[d]={errors:[]}),_=_.items[d]),c&&_.errors.push(i(v)),h++}}};return t(e),u}function e1(e){const n=[],i=e.map(u=>typeof u=="object"?u.key:u);for(const u of i)typeof u=="number"?n.push(`[${u}]`):typeof u=="symbol"?n.push(`[${JSON.stringify(String(u))}]`):/[^\w$]/.test(u)?n.push(`[${JSON.stringify(u)}]`):(n.length&&n.push("."),n.push(u));return n.join("")}function t1(e){const n=[],i=[...e.issues].sort((u,t)=>(u.path??[]).length-(t.path??[]).length);for(const u of i)n.push(`✖ ${u.message}`),u.path?.length&&n.push(` → at ${e1(u.path)}`);return n.join(`
|
|
46
|
-
`)}const fi=e=>(n,i,u,t)=>{const a=u?Object.assign(u,{async:!1}):{async:!1},l=n._zod.run({value:i,issues:[]},a);if(l instanceof Promise)throw new jn;if(l.issues.length){const p=new(t?.Err??e)(l.issues.map(g=>Zt(g,a,Xe())));throw Es(p,t?.callee),p}return l.value},ds=fi(gt),hi=e=>async(n,i,u,t)=>{const a=u?Object.assign(u,{async:!0}):{async:!0};let l=n._zod.run({value:i,issues:[]},a);if(l instanceof Promise&&(l=await l),l.issues.length){const p=new(t?.Err??e)(l.issues.map(g=>Zt(g,a,Xe())));throw Es(p,t?.callee),p}return l.value},fs=hi(gt),pi=e=>(n,i,u)=>{const t=u?{...u,async:!1}:{async:!1},a=n._zod.run({value:i,issues:[]},t);if(a instanceof Promise)throw new jn;return a.issues.length?{success:!1,error:new(e??As)(a.issues.map(l=>Zt(l,t,Xe())))}:{success:!0,data:a.value}},n1=pi(gt),mi=e=>async(n,i,u)=>{const t=u?Object.assign(u,{async:!0}):{async:!0};let a=n._zod.run({value:i,issues:[]},t);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(l=>Zt(l,t,Xe())))}:{success:!0,data:a.value}},r1=mi(gt),Ts=e=>(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return fi(e)(n,i,t)},I5=Ts(gt),Cs=e=>(n,i,u)=>fi(e)(n,i,u),x5=Cs(gt),zs=e=>async(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return hi(e)(n,i,t)},O5=zs(gt),Ds=e=>async(n,i,u)=>hi(e)(n,i,u),E5=Ds(gt),Us=e=>(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return pi(e)(n,i,t)},A5=Us(gt),Rs=e=>(n,i,u)=>pi(e)(n,i,u),N5=Rs(gt),Ls=e=>async(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return mi(e)(n,i,t)},P5=Ls(gt),Ms=e=>async(n,i,u)=>mi(e)(n,i,u),T5=Ms(gt),i1=/^[cC][^\s-]{8,}$/,o1=/^[0-9a-z]+$/,a1=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,u1=/^[0-9a-vA-V]{20}$/,s1=/^[A-Za-z0-9]{27}$/,l1=/^[a-zA-Z0-9_-]{21}$/,c1=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,C5=/^[-+]?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)?)??$/,d1=/^([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})$/,Sr=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)$/,z5=Sr(4),D5=Sr(6),U5=Sr(7),f1=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,R5=/^[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])?)*$/,L5=/^(([^<>()\[\]\\.,;:\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,}))$/,h1=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,M5=h1,j5=/^[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])?)*$/,F5="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function p1(){return new RegExp(F5,"u")}const m1=/^(?:(?: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])$/,g1=/^(([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}|:))$/,v1=/^((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])$/,$1=/^(([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])$/,_1=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,js=/^[A-Za-z0-9_-]*$/,Fs=/^(?=.{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])?)*\.?$/,y1=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,b1=/^\+(?:[0-9]){6,14}[0-9]$/,S1="(?:(?:\\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])))",w1=new RegExp(`^${S1}$`);function k1(e){const n="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${n}`:e.precision===0?`${n}:[0-5]\\d`:`${n}:[0-5]\\d\\.\\d{${e.precision}}`:`${n}(?::[0-5]\\d(?:\\.\\d+)?)?`}function I1(e){return new RegExp(`^${k1(e)}$`)}function x1(e){const n=k1({precision:e.precision}),i=["Z"];e.local&&i.push(""),e.offset&&i.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const u=`${n}(?:${i.join("|")})`;return new RegExp(`^${S1}T(?:${u})$`)}const O1=e=>{const n=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${n}$`)},E1=/^-?\d+n?$/,A1=/^-?\d+$/,N1=/^-?\d+(?:\.\d+)?/,P1=/^(?:true|false)$/i,T1=/^null$/i,C1=/^undefined$/i,z1=/^[^A-Z]*$/,D1=/^[^a-z]*$/,U1=/^[0-9a-fA-F]*$/;function gi(e,n){return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`)}function vi(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const Z5=/^[0-9a-fA-F]{32}$/,B5=gi(22,"=="),G5=vi(22),W5=/^[0-9a-fA-F]{40}$/,H5=gi(27,"="),q5=vi(27),K5=/^[0-9a-fA-F]{64}$/,J5=gi(43,"="),V5=vi(43),Y5=/^[0-9a-fA-F]{96}$/,X5=gi(64,""),Q5=vi(64),eb=/^[0-9a-fA-F]{128}$/,tb=gi(86,"=="),nb=vi(86),Zs=Object.freeze(Object.defineProperty({__proto__:null,base64:_1,base64url:js,bigint:E1,boolean:P1,browserEmail:j5,cidrv4:v1,cidrv6:$1,cuid:i1,cuid2:o1,date:w1,datetime:x1,domain:y1,duration:c1,e164:b1,email:f1,emoji:p1,extendedDuration:C5,guid:d1,hex:U1,hostname:Fs,html5Email:R5,idnEmail:M5,integer:A1,ipv4:m1,ipv6:g1,ksuid:s1,lowercase:z1,md5_base64:B5,md5_base64url:G5,md5_hex:Z5,nanoid:l1,null:T1,number:N1,rfc5322Email:L5,sha1_base64:H5,sha1_base64url:q5,sha1_hex:W5,sha256_base64:J5,sha256_base64url:V5,sha256_hex:K5,sha384_base64:X5,sha384_base64url:Q5,sha384_hex:Y5,sha512_base64:tb,sha512_base64url:nb,sha512_hex:eb,string:O1,time:I1,ulid:a1,undefined:C1,unicodeEmail:h1,uppercase:D1,uuid:Sr,uuid4:z5,uuid6:D5,uuid7:U5,xid:u1},Symbol.toStringTag,{value:"Module"})),Te=C("$ZodCheck",(e,n)=>{var i;e._zod??(e._zod={}),e._zod.def=n,(i=e._zod).onattach??(i.onattach=[])}),R1={number:"number",bigint:"bigint",object:"date"},Bs=C("$ZodCheckLessThan",(e,n)=>{Te.init(e,n);const i=R1[typeof n.value];e._zod.onattach.push(u=>{const t=u._zod.bag,a=(n.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;n.value<a&&(n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value)}),e._zod.check=u=>{(n.inclusive?u.value<=n.value:u.value<n.value)||u.issues.push({origin:i,code:"too_big",maximum:n.value,input:u.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),Gs=C("$ZodCheckGreaterThan",(e,n)=>{Te.init(e,n);const i=R1[typeof n.value];e._zod.onattach.push(u=>{const t=u._zod.bag,a=(n.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;n.value>a&&(n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value)}),e._zod.check=u=>{(n.inclusive?u.value>=n.value:u.value>n.value)||u.issues.push({origin:i,code:"too_small",minimum:n.value,input:u.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),L1=C("$ZodCheckMultipleOf",(e,n)=>{Te.init(e,n),e._zod.onattach.push(i=>{var u;(u=i._zod.bag).multipleOf??(u.multipleOf=n.value)}),e._zod.check=i=>{if(typeof i.value!=typeof n.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?i.value%n.value===BigInt(0):Up(i.value,n.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:n.value,input:i.value,inst:e,continue:!n.abort})}}),M1=C("$ZodCheckNumberFormat",(e,n)=>{Te.init(e,n),n.format=n.format||"float64";const i=n.format?.includes("int"),u=i?"int":"number",[t,a]=jp[n.format];e._zod.onattach.push(l=>{const p=l._zod.bag;p.format=n.format,p.minimum=t,p.maximum=a,i&&(p.pattern=A1)}),e._zod.check=l=>{const p=l.value;if(i){if(!Number.isInteger(p)){l.issues.push({expected:u,format:n.format,code:"invalid_type",continue:!1,input:p,inst:e});return}if(!Number.isSafeInteger(p)){p>0?l.issues.push({input:p,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:u,continue:!n.abort}):l.issues.push({input:p,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:u,continue:!n.abort});return}}p<t&&l.issues.push({origin:"number",input:p,code:"too_small",minimum:t,inclusive:!0,inst:e,continue:!n.abort}),p>a&&l.issues.push({origin:"number",input:p,code:"too_big",maximum:a,inst:e})}}),j1=C("$ZodCheckBigIntFormat",(e,n)=>{Te.init(e,n);const[i,u]=Fp[n.format];e._zod.onattach.push(t=>{const a=t._zod.bag;a.format=n.format,a.minimum=i,a.maximum=u}),e._zod.check=t=>{const a=t.value;a<i&&t.issues.push({origin:"bigint",input:a,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!n.abort}),a>u&&t.issues.push({origin:"bigint",input:a,code:"too_big",maximum:u,inst:e})}}),F1=C("$ZodCheckMaxSize",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!qn(t)&&t.size!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum<t&&(u._zod.bag.maximum=n.maximum)}),e._zod.check=u=>{const t=u.value;t.size<=n.maximum||u.issues.push({origin:ca(t),code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Z1=C("$ZodCheckMinSize",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!qn(t)&&t.size!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(u._zod.bag.minimum=n.minimum)}),e._zod.check=u=>{const t=u.value;t.size>=n.minimum||u.issues.push({origin:ca(t),code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),B1=C("$ZodCheckSizeEquals",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!qn(t)&&t.size!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag;t.minimum=n.size,t.maximum=n.size,t.size=n.size}),e._zod.check=u=>{const t=u.value,a=t.size;if(a===n.size)return;const l=a>n.size;u.issues.push({origin:ca(t),...l?{code:"too_big",maximum:n.size}:{code:"too_small",minimum:n.size},inclusive:!0,exact:!0,input:u.value,inst:e,continue:!n.abort})}}),G1=C("$ZodCheckMaxLength",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!qn(t)&&t.length!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum<t&&(u._zod.bag.maximum=n.maximum)}),e._zod.check=u=>{const t=u.value;if(t.length<=n.maximum)return;const l=da(t);u.issues.push({origin:l,code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),W1=C("$ZodCheckMinLength",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!qn(t)&&t.length!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(u._zod.bag.minimum=n.minimum)}),e._zod.check=u=>{const t=u.value;if(t.length>=n.minimum)return;const l=da(t);u.issues.push({origin:l,code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),H1=C("$ZodCheckLengthEquals",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!qn(t)&&t.length!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag;t.minimum=n.length,t.maximum=n.length,t.length=n.length}),e._zod.check=u=>{const t=u.value,a=t.length;if(a===n.length)return;const l=da(t),p=a>n.length;u.issues.push({origin:l,...p?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length},inclusive:!0,exact:!0,input:u.value,inst:e,continue:!n.abort})}}),$i=C("$ZodCheckStringFormat",(e,n)=>{var i,u;Te.init(e,n),e._zod.onattach.push(t=>{const a=t._zod.bag;a.format=n.format,n.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(n.pattern))}),n.pattern?(i=e._zod).check??(i.check=t=>{n.pattern.lastIndex=0,!n.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:n.format,input:t.value,...n.pattern?{pattern:n.pattern.toString()}:{},inst:e,continue:!n.abort})}):(u=e._zod).check??(u.check=()=>{})}),q1=C("$ZodCheckRegex",(e,n)=>{$i.init(e,n),e._zod.check=i=>{n.pattern.lastIndex=0,!n.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:n.pattern.toString(),inst:e,continue:!n.abort})}}),K1=C("$ZodCheckLowerCase",(e,n)=>{n.pattern??(n.pattern=z1),$i.init(e,n)}),J1=C("$ZodCheckUpperCase",(e,n)=>{n.pattern??(n.pattern=D1),$i.init(e,n)}),V1=C("$ZodCheckIncludes",(e,n)=>{Te.init(e,n);const i=In(n.includes),u=new RegExp(typeof n.position=="number"?`^.{${n.position}}${i}`:i);n.pattern=u,e._zod.onattach.push(t=>{const a=t._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(u)}),e._zod.check=t=>{t.value.includes(n.includes,n.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:n.includes,input:t.value,inst:e,continue:!n.abort})}}),Y1=C("$ZodCheckStartsWith",(e,n)=>{Te.init(e,n);const i=new RegExp(`^${In(n.prefix)}.*`);n.pattern??(n.pattern=i),e._zod.onattach.push(u=>{const t=u._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=u=>{u.value.startsWith(n.prefix)||u.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:n.prefix,input:u.value,inst:e,continue:!n.abort})}}),X1=C("$ZodCheckEndsWith",(e,n)=>{Te.init(e,n);const i=new RegExp(`.*${In(n.suffix)}$`);n.pattern??(n.pattern=i),e._zod.onattach.push(u=>{const t=u._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=u=>{u.value.endsWith(n.suffix)||u.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:n.suffix,input:u.value,inst:e,continue:!n.abort})}});function Hh(e,n,i){e.issues.length&&n.issues.push(...Mt(i,e.issues))}const Q1=C("$ZodCheckProperty",(e,n)=>{Te.init(e,n),e._zod.check=i=>{const u=n.schema._zod.run({value:i.value[n.property],issues:[]},{});if(u instanceof Promise)return u.then(t=>Hh(t,i,n.property));Hh(u,i,n.property)}}),e2=C("$ZodCheckMimeType",(e,n)=>{Te.init(e,n);const i=new Set(n.mime);e._zod.onattach.push(u=>{u._zod.bag.mime=n.mime}),e._zod.check=u=>{i.has(u.value.type)||u.issues.push({code:"invalid_value",values:n.mime,input:u.value.type,inst:e,continue:!n.abort})}}),t2=C("$ZodCheckOverwrite",(e,n)=>{Te.init(e,n),e._zod.check=i=>{i.value=n.tx(i.value)}});class n2{constructor(n=[]){this.content=[],this.indent=0,this&&(this.args=n)}indented(n){this.indent+=1,n(this),this.indent-=1}write(n){if(typeof n=="function"){n(this,{execution:"sync"}),n(this,{execution:"async"});return}const u=n.split(`
|
|
45
|
+
`.trim()},blockValue:function(d){var c=this.aliasable("container.hooks.blockHelperMissing"),y=[this.contextName(0)];this.setupHelperArgs(d,0,y);var b=this.popStack();y.splice(1,0,b),this.push(this.source.functionCall(c,"call",y))},ambiguousBlockValue:function(){var d=this.aliasable("container.hooks.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs("",0,c,!0),this.flushInline();var y=this.topStack();c.splice(1,0,y),this.pushSource(["if (!",this.lastHelper,") { ",y," = ",this.source.functionCall(d,"call",c),"}"])},appendContent:function(d){this.pendingContent?d=this.pendingContent+d:this.pendingLocation=this.source.currentLocation,this.pendingContent=d},append:function(){if(this.isInline())this.replaceStack(function(c){return[" != null ? ",c,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var d=this.popStack();this.pushSource(["if (",d," != null) { ",this.appendToBuffer(d,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(d){this.lastContext=d},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(d,c,y,b){var I=0;!b&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(d[I++])):this.pushContext(),this.resolvePath("context",d,I,c,y)},lookupBlockParam:function(d,c){this.useBlockParams=!0,this.push(["blockParams[",d[0],"][",d[1],"]"]),this.resolvePath("context",c,1)},lookupData:function(d,c,y){d?this.pushStackLiteral("container.data(data, "+d+")"):this.pushStackLiteral("data"),this.resolvePath("data",c,0,!0,y)},resolvePath:function(d,c,y,b,I){var k=this;if(this.options.strict||this.options.assumeObjects){this.push(_(this.options.strict&&I,this,c,y,d));return}for(var P=c.length,N=function(U){k.replaceStack(function(z){var q=k.nameLookup(z,c[U],d);return b?[" && ",q]:[" != null ? ",q," : ",z]})},O=y;O<P;O++)N(O)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(d,c){this.pushContext(),this.pushString(c),c!=="SubExpression"&&(typeof d=="string"?this.pushString(d):this.pushStackLiteral(d))},emptyHash:function(d){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(d?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var d=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(d.ids)),this.stringParams&&(this.push(this.objectLiteral(d.contexts)),this.push(this.objectLiteral(d.types))),this.push(this.objectLiteral(d.values))},pushString:function(d){this.pushStackLiteral(this.quotedString(d))},pushLiteral:function(d){this.pushStackLiteral(d)},pushProgram:function(d){d!=null?this.pushStackLiteral(this.programExpression(d)):this.pushStackLiteral(null)},registerDecorator:function(d,c){var y=this.nameLookup("decorators",c,"decorator"),b=this.setupHelperArgs(c,d);this.decorators.push(["var decorator = ",y,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+c+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",b])," || fn;"])},invokeHelper:function(d,c,y){var b=this.popStack(),I=this.setupHelper(d,c),k=[];y&&k.push(I.name),k.push(b),this.options.strict||k.push(this.aliasable("container.hooks.helperMissing"));var P=["(",this.itemsSeparatedBy(k,"||"),")"],N=this.source.functionCall(P,"call",I.callParams);this.push(N)},itemsSeparatedBy:function(d,c){var y=[];y.push(d[0]);for(var b=1;b<d.length;b++)y.push(c,d[b]);return y},invokeKnownHelper:function(d,c){var y=this.setupHelper(d,c);this.push(this.source.functionCall(y.name,"call",y.callParams))},invokeAmbiguous:function(d,c){this.useRegister("helper");var y=this.popStack();this.emptyHash();var b=this.setupHelper(0,d,c),I=this.lastHelper=this.nameLookup("helpers",d,"helper"),k=["(","(helper = ",I," || ",y,")"];this.options.strict||(k[0]="(helper = ",k.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",k,b.paramsInit?["),(",b.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",b.callParams)," : helper))"])},invokePartial:function(d,c,y){var b=[],I=this.setupParams(c,1,b);d&&(c=this.popStack(),delete I.name),y&&(I.indent=JSON.stringify(y)),I.helpers="helpers",I.partials="partials",I.decorators="container.decorators",d?b.unshift(c):b.unshift(this.nameLookup("partials",c,"partial")),this.options.compat&&(I.depths="depths"),I=this.objectLiteral(I),b.push(I),this.push(this.source.functionCall("container.invokePartial","",b))},assignToHash:function(d){var c=this.popStack(),y=void 0,b=void 0,I=void 0;this.trackIds&&(I=this.popStack()),this.stringParams&&(b=this.popStack(),y=this.popStack());var k=this.hash;y&&(k.contexts[d]=y),b&&(k.types[d]=b),I&&(k.ids[d]=I),k.values[d]=c},pushId:function(d,c,y){d==="BlockParam"?this.pushStackLiteral("blockParams["+c[0]+"].path["+c[1]+"]"+(y?" + "+JSON.stringify("."+y):"")):d==="PathExpression"?this.pushString(c):d==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:m,compileChildren:function(d,c){for(var y=d.children,b=void 0,I=void 0,k=0,P=y.length;k<P;k++){b=y[k],I=new this.compiler;var N=this.matchExistingProgram(b);if(N==null){var O=this.context.programs.push("")-1;b.index=O,b.name="program"+O,this.context.programs[O]=I.compile(b,c,this.context,!this.precompile),this.context.decorators[O]=I.decorators,this.context.environments[O]=b,this.useDepths=this.useDepths||I.useDepths,this.useBlockParams=this.useBlockParams||I.useBlockParams,b.useDepths=this.useDepths,b.useBlockParams=this.useBlockParams}else b.index=N.index,b.name="program"+N.index,this.useDepths=this.useDepths||N.useDepths,this.useBlockParams=this.useBlockParams||N.useBlockParams}},matchExistingProgram:function(d){for(var c=0,y=this.context.environments.length;c<y;c++){var b=this.context.environments[c];if(b&&b.equals(d))return b}},programExpression:function(d){var c=this.environment.children[d],y=[c.index,"data",c.blockParams];return(this.useBlockParams||this.useDepths)&&y.push("blockParams"),this.useDepths&&y.push("depths"),"container.program("+y.join(", ")+")"},useRegister:function(d){this.registers[d]||(this.registers[d]=!0,this.registers.list.push(d))},push:function(d){return d instanceof v||(d=this.source.wrap(d)),this.inlineStack.push(d),d},pushStackLiteral:function(d){this.push(new v(d))},pushSource:function(d){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),d&&this.source.push(d)},replaceStack:function(d){var c=["("],y=void 0,b=void 0,I=void 0;if(!this.isInline())throw new a.default("replaceStack on non-inline");var k=this.popStack(!0);if(k instanceof v)y=[k.value],c=["(",y],I=!0;else{b=!0;var P=this.incrStack();c=["((",this.push(P)," = ",k,")"],y=this.topStack()}var N=d.call(this,y);I||this.popStack(),b&&this.stackSlot--,this.push(c.concat(N,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var d=this.inlineStack;this.inlineStack=[];for(var c=0,y=d.length;c<y;c++){var b=d[c];if(b instanceof v)this.compileStack.push(b);else{var I=this.incrStack();this.pushSource([I," = ",b,";"]),this.compileStack.push(I)}}},isInline:function(){return this.inlineStack.length},popStack:function(d){var c=this.isInline(),y=(c?this.inlineStack:this.compileStack).pop();if(!d&&y instanceof v)return y.value;if(!c){if(!this.stackSlot)throw new a.default("Invalid stack pop");this.stackSlot--}return y},topStack:function(){var d=this.isInline()?this.inlineStack:this.compileStack,c=d[d.length-1];return c instanceof v?c.value:c},contextName:function(d){return this.useDepths&&d?"depths["+d+"]":"depth"+d},quotedString:function(d){return this.source.quotedString(d)},objectLiteral:function(d){return this.source.objectLiteral(d)},aliasable:function(d){var c=this.aliases[d];return c?(c.referenceCount++,c):(c=this.aliases[d]=this.source.wrap(d),c.aliasable=!0,c.referenceCount=1,c)},setupHelper:function(d,c,y){var b=[],I=this.setupHelperArgs(c,d,b,y),k=this.nameLookup("helpers",c,"helper"),P=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:b,paramsInit:I,name:k,callParams:[P].concat(b)}},setupParams:function(d,c,y){var b={},I=[],k=[],P=[],N=!y,O=void 0;N&&(y=[]),b.name=this.quotedString(d),b.hash=this.popStack(),this.trackIds&&(b.hashIds=this.popStack()),this.stringParams&&(b.hashTypes=this.popStack(),b.hashContexts=this.popStack());var U=this.popStack(),z=this.popStack();(z||U)&&(b.fn=z||"container.noop",b.inverse=U||"container.noop");for(var q=c;q--;)O=this.popStack(),y[q]=O,this.trackIds&&(P[q]=this.popStack()),this.stringParams&&(k[q]=this.popStack(),I[q]=this.popStack());return N&&(b.args=this.source.generateArray(y)),this.trackIds&&(b.ids=this.source.generateArray(P)),this.stringParams&&(b.types=this.source.generateArray(k),b.contexts=this.source.generateArray(I)),this.options.data&&(b.data="data"),this.useBlockParams&&(b.blockParams="blockParams"),b},setupHelperArgs:function(d,c,y,b){var I=this.setupParams(d,c,y);return I.loc=JSON.stringify(this.source.currentLocation),I=this.objectLiteral(I),b?(this.useRegister("options"),y.push("options"),["options=",I]):y?(y.push(I),""):I}},(function(){for(var h="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),d=m.RESERVED_WORDS={},c=0,y=h.length;c<y;c++)d[h[c]]=!0})(),m.isValidJavaScriptVariableName=function(h){return!m.RESERVED_WORDS[h]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(h)};function _(h,d,c,y,b){var I=d.popStack(),k=c.length;h&&k--;for(var P=y;P<k;P++)I=d.nameLookup(I,c[P],b);return h?[d.aliasable("container.strict"),"(",I,", ",d.quotedString(c[k]),", ",JSON.stringify(d.source.currentLocation)," )"]:I}n.default=m,e.exports=n.default})(Ro,Ro.exports)),Ro.exports}var Wh;function a5(){return Wh||(Wh=1,(function(e,n){n.__esModule=!0;function i(k){return k&&k.__esModule?k:{default:k}}var u=Wy(),t=i(u),a=Tp(),l=i(a),p=Vy(),g=Jy(),v=o5(),m=i(v),_=Cp(),h=i(_),d=Pp(),c=i(d),y=t.default.create;function b(){var k=y();return k.compile=function(P,N){return g.compile(P,N,k)},k.precompile=function(P,N){return g.precompile(P,N,k)},k.AST=l.default,k.Compiler=g.Compiler,k.JavaScriptCompiler=m.default,k.Parser=p.parser,k.parse=p.parse,k.parseWithoutProcessing=p.parseWithoutProcessing,k}var I=b();I.create=b,c.default(I),I.Visitor=h.default,I.default=I,n.default=I,e.exports=n.default})(vo,vo.exports)),vo.exports}a5();var ve=(e=>(e.ACTOR="ACTOR",e.ADDRESS="ADDRESS",e.ARRAY="ARRAY",e.BOOLEAN="BOOLEAN",e.CURRENCY="CURRENCY",e.DATE="DATE",e.DATE_TIME="DATE_TIME",e.EMAILS="EMAILS",e.FILES="FILES",e.FULL_NAME="FULL_NAME",e.LINKS="LINKS",e.MORPH_RELATION="MORPH_RELATION",e.MULTI_SELECT="MULTI_SELECT",e.NUMBER="NUMBER",e.NUMERIC="NUMERIC",e.PHONES="PHONES",e.POSITION="POSITION",e.RATING="RATING",e.RAW_JSON="RAW_JSON",e.RELATION="RELATION",e.RICH_TEXT="RICH_TEXT",e.SELECT="SELECT",e.TEXT="TEXT",e.TS_VECTOR="TS_VECTOR",e.UUID="UUID",e))(ve||{}),L=(e=>(e.IS="IS",e.IS_NOT_NULL="IS_NOT_NULL",e.IS_NOT="IS_NOT",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.IS_BEFORE="IS_BEFORE",e.IS_AFTER="IS_AFTER",e.CONTAINS="CONTAINS",e.DOES_NOT_CONTAIN="DOES_NOT_CONTAIN",e.IS_EMPTY="IS_EMPTY",e.IS_NOT_EMPTY="IS_NOT_EMPTY",e.IS_RELATIVE="IS_RELATIVE",e.IS_IN_PAST="IS_IN_PAST",e.IS_IN_FUTURE="IS_IN_FUTURE",e.IS_TODAY="IS_TODAY",e.VECTOR_SEARCH="VECTOR_SEARCH",e))(L||{}),Ke=(e=>(e.Is="is",e.IsNotNull="isNotNull",e.IsNot="isNot",e.LessThanOrEqual="lessThan",e.GreaterThanOrEqual="greaterThan",e.IsBefore="isBefore",e.IsAfter="isAfter",e.Contains="contains",e.DoesNotContain="doesNotContain",e.IsEmpty="isEmpty",e.IsNotEmpty="isNotEmpty",e.IsRelative="isRelative",e.IsInPast="isInPast",e.IsInFuture="isInFuture",e.IsToday="isToday",e))(Ke||{}),cs=(e=>(e.EMAIL="EMAIL",e.CALENDAR="CALENDAR",e.WORKFLOW="WORKFLOW",e.AGENT="AGENT",e.API="API",e.IMPORT="IMPORT",e.MANUAL="MANUAL",e.SYSTEM="SYSTEM",e.WEBHOOK="WEBHOOK",e.APPLICATION="APPLICATION",e))(cs||{});ve.ACTOR,ve.SELECT,Object.keys(cs).map((e,n)=>({id:$p.v4(),label:`${cs[e].toLowerCase()}`,value:e,position:n})),ve.UUID,ve.TEXT,ve.RAW_JSON;var Ho=(e=>(e.MONDAY="MONDAY",e.SUNDAY="SUNDAY",e.SATURDAY="SATURDAY",e))(Ho||{});ve.CURRENCY+"",ve.EMAILS+"",ve.LINKS+"",ve.PHONES+"",ve.FULL_NAME+"",ve.ADDRESS+"",ve.ACTOR+"",ve.RICH_TEXT+"";const u5={AED:{label:"UAE dirham"},AFN:{label:"Afghan afghani"},ALL:{label:"Albanian lek"},AMD:{label:"Armenian dram"},ANG:{label:"Netherlands Antillean guilder"},AOA:{label:"Angolan kwanza"},ARS:{label:"Argentine peso"},AUD:{label:"Australian dollar"},AWG:{label:"Aruban florin"},AZN:{label:"Azerbaijani manat"},BAM:{label:"Bosnia and Herzegovina mark"},BBD:{label:"Barbados dollar"},BDT:{label:"Bangladeshi taka"},BGN:{label:"Bulgarian lev"},BHD:{label:"Bahraini dinar"},BIF:{label:"Burundian franc"},BMD:{label:"Bermudian dollar"},BND:{label:"Brunei dollar"},BOB:{label:"Boliviano"},BRL:{label:"Brazilian real"},BSD:{label:"Bahamian dollar"},BTN:{label:"Bhutanese ngultrum"},BWP:{label:"Botswana pula"},BYN:{label:"Belarusian ruble"},BZD:{label:"Belize dollar"},CAD:{label:"Canadian dollar"},CDF:{label:"Congolese franc"},CHF:{label:"Swiss franc"},CLP:{label:"Chilean peso"},CLF:{label:"Unidad de Fomento"},CNY:{label:"Chinese yuan"},COP:{label:"Colombian peso"},CRC:{label:"Costa Rican colon"},CUP:{label:"Cuban peso"},CVE:{label:"Cape Verdean escudo"},CZK:{label:"Czech koruna"},DJF:{label:"Djiboutian franc"},DKK:{label:"Danish krone"},DOP:{label:"Dominican peso"},DZD:{label:"Algerian Dinar"},EGP:{label:"Egyptian pound"},ERN:{label:"Eritrean nakfa"},ETB:{label:"Ethiopian birr"},EUR:{label:"Euro"},FJD:{label:"Fiji dollar"},FKP:{label:"Falkland Islands pound"},GBP:{label:"British pound"},GEL:{label:"Georgian lari"},GHS:{label:"Ghanaian cedi"},GIP:{label:"Gibraltar pound"},GMD:{label:"Gambian dalasi"},GNF:{label:"Guinean franc"},GTQ:{label:"Guatemalan quetzal"},GYD:{label:"Guyanese dollar"},HKD:{label:"Hong Kong dollar"},HNL:{label:"Honduran lempira"},HTG:{label:"Haitian gourde"},HUF:{label:"Hungarian forint"},IDR:{label:"Indonesian rupiah"},ILS:{label:"Israeli shekel"},INR:{label:"Indian rupee"},IQD:{label:"Iraqi dinar"},IRR:{label:"Iranian rial"},ISK:{label:"Icelandic króna"},JMD:{label:"Jamaican dollar"},JOD:{label:"Jordanian dinar"},JPY:{label:"Japanese yen"},KES:{label:"Kenyan shilling"},KGS:{label:"Kyrgyzstani som"},KHR:{label:"Cambodian riel"},KMF:{label:"Comoro franc"},KPW:{label:"North Korean won"},KRW:{label:"South Korean won"},KWD:{label:"Kuwaiti dinar"},KYD:{label:"Cayman Islands dollar"},KZT:{label:"Kazakhstani tenge"},LAK:{label:"Lao kip"},LBP:{label:"Lebanese pound"},LKR:{label:"Sri Lankan rupee"},LRD:{label:"Liberian dollar"},LSL:{label:"Lesotho loti"},LYD:{label:"Libyan dinar"},MAD:{label:"Moroccan dirham"},MDL:{label:"Moldovan leu"},MGA:{label:"Malagasy ariary"},MKD:{label:"Macedonian denar"},MMK:{label:"Myanmar kyat"},MNT:{label:"Mongolian tögrög"},MOP:{label:"Macanese pataca"},MRU:{label:"Mauritanian ouguiya"},MUR:{label:"Mauritian rupee"},MVR:{label:"Maldivian rufiyaa"},MWK:{label:"Malawian kwacha"},MXN:{label:"Mexican peso"},MYR:{label:"Malaysian ringgit"},MZN:{label:"Mozambican metical"},NAD:{label:"Namibian dollar"},NGN:{label:"Nigerian naira"},NIO:{label:"Nicaraguan córdoba"},NOK:{label:"Norwegian krone"},NPR:{label:"Nepalese rupee"},NZD:{label:"New Zealand dollar"},OMR:{label:"Omani rial"},PAB:{label:"Panamanian balboa"},PEN:{label:"Peruvian sol"},PGK:{label:"Papua New Guinean kina"},PHP:{label:"Philippine peso"},PKR:{label:"Pakistani rupee"},PLN:{label:"Polish złoty"},PYG:{label:"Paraguayan guaraní"},QAR:{label:"Qatari riyal"},RON:{label:"Romanian leu"},RSD:{label:"Serbian dinar"},RUB:{label:"Russian ruble"},RWF:{label:"Rwandan franc"},SAR:{label:"Saudi riyal"},SBD:{label:"Solomon Islands dollar"},SCR:{label:"Seychelles rupee"},SDG:{label:"Sudanese pound"},SEK:{label:"Swedish krona"},SGD:{label:"Singapore dollar"},SHP:{label:"Saint Helena pound"},SLE:{label:"Sierra Leonean leone"},SOS:{label:"Somalian shilling"},SRD:{label:"Surinamese dollar"},SSP:{label:"South Sudanese pound"},STN:{label:"São Tomé and Príncipe dobra"},SVC:{label:"Salvadoran colón"},SYP:{label:"Syrian pound"},SZL:{label:"Swazi lilangeni"},THB:{label:"Thai Baht"},TJS:{label:"Tajikistani somoni"},TMT:{label:"Turkmenistan manat"},TND:{label:"Tunisian dinar"},TOP:{label:"Tongan paʻanga"},TRY:{label:"Turkish lira"},TTD:{label:"Trinidad and Tobago dollar"},TWD:{label:"Taiwanese dollar"},TZS:{label:"Tanzanian shilling"},UAH:{label:"Ukrainian hryvnia"},UGX:{label:"Ugandan shilling"},USD:{label:"United States dollar"},UYU:{label:"Uruguayan peso"},UZS:{label:"Uzbekistani sum"},VES:{label:"Venezuelan bolívar"},VND:{label:"Vietnamese đồng"},VUV:{label:"Vanuatu vatu"},WST:{label:"Samoan tala"},XOF:{label:"West African CFA franc"},XCD:{label:"East Caribbean dollar"},YER:{label:"Yemeni rial"},ZAR:{label:"South African rand"},ZMW:{label:"Zambian kwacha"},ZWG:{label:"Zimbabwe Gold"}};ve.TEXT,ve.FULL_NAME,ve.UUID;const vr=Object.freeze({status:"aborted"});function C(e,n,i){function u(p,g){var v;Object.defineProperty(p,"_zod",{value:p._zod??{},enumerable:!1}),(v=p._zod).traits??(v.traits=new Set),p._zod.traits.add(e),n(p,g);for(const m in l.prototype)m in p||Object.defineProperty(p,m,{value:l.prototype[m].bind(p)});p._zod.constr=l,p._zod.def=g}const t=i?.Parent??Object;class a extends t{}Object.defineProperty(a,"name",{value:e});function l(p){var g;const v=i?.Parent?new a:this;u(v,p),(g=v._zod).deferred??(g.deferred=[]);for(const m of v._zod.deferred)m();return v}return Object.defineProperty(l,"init",{value:u}),Object.defineProperty(l,Symbol.hasInstance,{value:p=>i?.Parent&&p instanceof i.Parent?!0:p?._zod?.traits?.has(e)}),Object.defineProperty(l,"name",{value:e}),l}const Rp=Symbol("zod_brand");class Fn extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class sa extends Error{constructor(n){super(`Encountered unidirectional transform during encode: ${n}`),this.name="ZodEncodeError"}}const Ko={};function Qe(e){return e&&Object.assign(Ko,e),Ko}function s5(e){return e}function l5(e){return e}function c5(e){}function d5(e){throw new Error}function f5(e){}function Ns(e){const n=Object.values(e).filter(u=>typeof u=="number");return Object.entries(e).filter(([u,t])=>n.indexOf(+u)===-1).map(([u,t])=>t)}function B(e,n="|"){return e.map(i=>ne(i)).join(n)}function Vo(e,n){return typeof n=="bigint"?n.toString():n}function fi(e){return{get value(){{const n=e();return Object.defineProperty(this,"value",{value:n}),n}}}}function Kn(e){return e==null}function la(e){const n=e.startsWith("^")?1:0,i=e.endsWith("$")?e.length-1:e.length;return e.slice(n,i)}function Lp(e,n){const i=(e.toString().split(".")[1]||"").length,u=n.toString();let t=(u.split(".")[1]||"").length;if(t===0&&/\d?e-\d?/.test(u)){const g=u.match(/\d?e-(\d?)/);g?.[1]&&(t=Number.parseInt(g[1]))}const a=i>t?i:t,l=Number.parseInt(e.toFixed(a).replace(".","")),p=Number.parseInt(n.toFixed(a).replace(".",""));return l%p/10**a}const Hh=Symbol("evaluating");function de(e,n,i){let u;Object.defineProperty(e,n,{get(){if(u!==Hh)return u===void 0&&(u=Hh,u=i()),u},set(t){Object.defineProperty(e,n,{value:t})},configurable:!0})}function h5(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Nn(e,n,i){Object.defineProperty(e,n,{value:i,writable:!0,enumerable:!0,configurable:!0})}function hn(...e){const n={};for(const i of e){const u=Object.getOwnPropertyDescriptors(i);Object.assign(n,u)}return Object.defineProperties({},n)}function p5(e){return hn(e._zod.def)}function m5(e,n){return n?n.reduce((i,u)=>i?.[u],e):e}function g5(e){const n=Object.keys(e),i=n.map(u=>e[u]);return Promise.all(i).then(u=>{const t={};for(let a=0;a<n.length;a++)t[n[a]]=u[a];return t})}function v5(e=10){const n="abcdefghijklmnopqrstuvwxyz";let i="";for(let u=0;u<e;u++)i+=n[Math.floor(Math.random()*n.length)];return i}function ds(e){return JSON.stringify(e)}const xs="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function br(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Mp=fi(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Bn(e){if(br(e)===!1)return!1;const n=e.constructor;if(n===void 0)return!0;const i=n.prototype;return!(br(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}function ca(e){return Bn(e)?{...e}:Array.isArray(e)?[...e]:e}function $5(e){let n=0;for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&n++;return n}const _5=e=>{const n=typeof e;switch(n){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: ${n}`)}},Jo=new Set(["string","number","symbol"]),jp=new Set(["string","number","bigint","boolean","symbol","undefined"]);function On(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function At(e,n,i){const u=new e._zod.constr(n??e._zod.def);return(!n||i?.parent)&&(u._zod.parent=e),u}function F(e){const n=e;if(!n)return{};if(typeof n=="string")return{error:()=>n};if(n?.message!==void 0){if(n?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");n.error=n.message}return delete n.message,typeof n.error=="string"?{...n,error:()=>n.error}:n}function y5(e){let n;return new Proxy({},{get(i,u,t){return n??(n=e()),Reflect.get(n,u,t)},set(i,u,t,a){return n??(n=e()),Reflect.set(n,u,t,a)},has(i,u){return n??(n=e()),Reflect.has(n,u)},deleteProperty(i,u){return n??(n=e()),Reflect.deleteProperty(n,u)},ownKeys(i){return n??(n=e()),Reflect.ownKeys(n)},getOwnPropertyDescriptor(i,u){return n??(n=e()),Reflect.getOwnPropertyDescriptor(n,u)},defineProperty(i,u,t){return n??(n=e()),Reflect.defineProperty(n,u,t)}})}function ne(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Fp(e){return Object.keys(e).filter(n=>e[n]._zod.optin==="optional"&&e[n]._zod.optout==="optional")}const Zp={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]},Bp={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Gp(e,n){const i=e._zod.def,u=hn(e._zod.def,{get shape(){const t={};for(const a in n){if(!(a in i.shape))throw new Error(`Unrecognized key: "${a}"`);n[a]&&(t[a]=i.shape[a])}return Nn(this,"shape",t),t},checks:[]});return At(e,u)}function Wp(e,n){const i=e._zod.def,u=hn(e._zod.def,{get shape(){const t={...e._zod.def.shape};for(const a in n){if(!(a in i.shape))throw new Error(`Unrecognized key: "${a}"`);n[a]&&delete t[a]}return Nn(this,"shape",t),t},checks:[]});return At(e,u)}function Hp(e,n){if(!Bn(n))throw new Error("Invalid input to extend: expected a plain object");const i=e._zod.def.checks;if(i&&i.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const t=hn(e._zod.def,{get shape(){const a={...e._zod.def.shape,...n};return Nn(this,"shape",a),a},checks:[]});return At(e,t)}function qp(e,n){if(!Bn(n))throw new Error("Invalid input to safeExtend: expected a plain object");const i={...e._zod.def,get shape(){const u={...e._zod.def.shape,...n};return Nn(this,"shape",u),u},checks:e._zod.def.checks};return At(e,i)}function Kp(e,n){const i=hn(e._zod.def,{get shape(){const u={...e._zod.def.shape,...n._zod.def.shape};return Nn(this,"shape",u),u},get catchall(){return n._zod.def.catchall},checks:[]});return At(e,i)}function Vp(e,n,i){const u=hn(n._zod.def,{get shape(){const t=n._zod.def.shape,a={...t};if(i)for(const l in i){if(!(l in t))throw new Error(`Unrecognized key: "${l}"`);i[l]&&(a[l]=e?new e({type:"optional",innerType:t[l]}):t[l])}else for(const l in t)a[l]=e?new e({type:"optional",innerType:t[l]}):t[l];return Nn(this,"shape",a),a},checks:[]});return At(n,u)}function Jp(e,n,i){const u=hn(n._zod.def,{get shape(){const t=n._zod.def.shape,a={...t};if(i)for(const l in i){if(!(l in a))throw new Error(`Unrecognized key: "${l}"`);i[l]&&(a[l]=new e({type:"nonoptional",innerType:t[l]}))}else for(const l in t)a[l]=new e({type:"nonoptional",innerType:t[l]});return Nn(this,"shape",a),a},checks:[]});return At(n,u)}function Mn(e,n=0){if(e.aborted===!0)return!0;for(let i=n;i<e.issues.length;i++)if(e.issues[i]?.continue!==!0)return!0;return!1}function jt(e,n){return n.map(i=>{var u;return(u=i).path??(u.path=[]),i.path.unshift(e),i})}function oi(e){return typeof e=="string"?e:e?.message}function Bt(e,n,i){const u={...e,path:e.path??[]};if(!e.message){const t=oi(e.inst?._zod.def?.error?.(e))??oi(n?.error?.(e))??oi(i.customError?.(e))??oi(i.localeError?.(e))??"Invalid input";u.message=t}return delete u.inst,delete u.continue,n?.reportInput||delete u.input,u}function da(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function fa(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Sr(...e){const[n,i,u]=e;return typeof n=="string"?{message:n,code:"custom",input:i,inst:u}:{...n}}function b5(e){return Object.entries(e).filter(([n,i])=>Number.isNaN(Number.parseInt(n,10))).map(n=>n[1])}function Yp(e){const n=atob(e),i=new Uint8Array(n.length);for(let u=0;u<n.length;u++)i[u]=n.charCodeAt(u);return i}function Xp(e){let n="";for(let i=0;i<e.length;i++)n+=String.fromCharCode(e[i]);return btoa(n)}function S5(e){const n=e.replace(/-/g,"+").replace(/_/g,"/"),i="=".repeat((4-n.length%4)%4);return Yp(n+i)}function w5(e){return Xp(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function I5(e){const n=e.replace(/^0x/,"");if(n.length%2!==0)throw new Error("Invalid hex string length");const i=new Uint8Array(n.length/2);for(let u=0;u<n.length;u+=2)i[u/2]=Number.parseInt(n.slice(u,u+2),16);return i}function k5(e){return Array.from(e).map(n=>n.toString(16).padStart(2,"0")).join("")}class O5{constructor(...n){}}const Qp=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:Bp,Class:O5,NUMBER_FORMAT_RANGES:Zp,aborted:Mn,allowsEval:Mp,assert:f5,assertEqual:s5,assertIs:c5,assertNever:d5,assertNotEqual:l5,assignProp:Nn,base64ToUint8Array:Yp,base64urlToUint8Array:S5,cached:fi,captureStackTrace:xs,cleanEnum:b5,cleanRegex:la,clone:At,cloneDef:p5,createTransparentProxy:y5,defineLazy:de,esc:ds,escapeRegex:On,extend:Hp,finalizeIssue:Bt,floatSafeRemainder:Lp,getElementAtPath:m5,getEnumValues:Ns,getLengthableOrigin:fa,getParsedType:_5,getSizableOrigin:da,hexToUint8Array:I5,isObject:br,isPlainObject:Bn,issue:Sr,joinValues:B,jsonStringifyReplacer:Vo,merge:Kp,mergeDefs:hn,normalizeParams:F,nullish:Kn,numKeys:$5,objectClone:h5,omit:Wp,optionalKeys:Fp,partial:Vp,pick:Gp,prefixIssues:jt,primitiveTypes:jp,promiseAllObject:g5,propertyKeyTypes:Jo,randomString:v5,required:Jp,safeExtend:qp,shallowClone:ca,stringifyPrimitive:ne,uint8ArrayToBase64:Xp,uint8ArrayToBase64url:w5,uint8ArrayToHex:k5,unwrapMessage:oi},Symbol.toStringTag,{value:"Module"})),e1=(e,n)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:n,enumerable:!1}),e.message=JSON.stringify(n,Vo,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},As=C("$ZodError",e1),vt=C("$ZodError",e1,{Parent:Error});function Ps(e,n=i=>i.message){const i={},u=[];for(const t of e.issues)t.path.length>0?(i[t.path[0]]=i[t.path[0]]||[],i[t.path[0]].push(n(t))):u.push(n(t));return{formErrors:u,fieldErrors:i}}function Ts(e,n){const i=n||function(a){return a.message},u={_errors:[]},t=a=>{for(const l of a.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(p=>t({issues:p}));else if(l.code==="invalid_key")t({issues:l.issues});else if(l.code==="invalid_element")t({issues:l.issues});else if(l.path.length===0)u._errors.push(i(l));else{let p=u,g=0;for(;g<l.path.length;){const v=l.path[g];g===l.path.length-1?(p[v]=p[v]||{_errors:[]},p[v]._errors.push(i(l))):p[v]=p[v]||{_errors:[]},p=p[v],g++}}};return t(e),u}function t1(e,n){const i=n||function(a){return a.message},u={errors:[]},t=(a,l=[])=>{var p,g;for(const v of a.issues)if(v.code==="invalid_union"&&v.errors.length)v.errors.map(m=>t({issues:m},v.path));else if(v.code==="invalid_key")t({issues:v.issues},v.path);else if(v.code==="invalid_element")t({issues:v.issues},v.path);else{const m=[...l,...v.path];if(m.length===0){u.errors.push(i(v));continue}let _=u,h=0;for(;h<m.length;){const d=m[h],c=h===m.length-1;typeof d=="string"?(_.properties??(_.properties={}),(p=_.properties)[d]??(p[d]={errors:[]}),_=_.properties[d]):(_.items??(_.items=[]),(g=_.items)[d]??(g[d]={errors:[]}),_=_.items[d]),c&&_.errors.push(i(v)),h++}}};return t(e),u}function n1(e){const n=[],i=e.map(u=>typeof u=="object"?u.key:u);for(const u of i)typeof u=="number"?n.push(`[${u}]`):typeof u=="symbol"?n.push(`[${JSON.stringify(String(u))}]`):/[^\w$]/.test(u)?n.push(`[${JSON.stringify(u)}]`):(n.length&&n.push("."),n.push(u));return n.join("")}function r1(e){const n=[],i=[...e.issues].sort((u,t)=>(u.path??[]).length-(t.path??[]).length);for(const u of i)n.push(`✖ ${u.message}`),u.path?.length&&n.push(` → at ${n1(u.path)}`);return n.join(`
|
|
46
|
+
`)}const hi=e=>(n,i,u,t)=>{const a=u?Object.assign(u,{async:!1}):{async:!1},l=n._zod.run({value:i,issues:[]},a);if(l instanceof Promise)throw new Fn;if(l.issues.length){const p=new(t?.Err??e)(l.issues.map(g=>Bt(g,a,Qe())));throw xs(p,t?.callee),p}return l.value},fs=hi(vt),pi=e=>async(n,i,u,t)=>{const a=u?Object.assign(u,{async:!0}):{async:!0};let l=n._zod.run({value:i,issues:[]},a);if(l instanceof Promise&&(l=await l),l.issues.length){const p=new(t?.Err??e)(l.issues.map(g=>Bt(g,a,Qe())));throw xs(p,t?.callee),p}return l.value},hs=pi(vt),mi=e=>(n,i,u)=>{const t=u?{...u,async:!1}:{async:!1},a=n._zod.run({value:i,issues:[]},t);if(a instanceof Promise)throw new Fn;return a.issues.length?{success:!1,error:new(e??As)(a.issues.map(l=>Bt(l,t,Qe())))}:{success:!0,data:a.value}},i1=mi(vt),gi=e=>async(n,i,u)=>{const t=u?Object.assign(u,{async:!0}):{async:!0};let a=n._zod.run({value:i,issues:[]},t);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(l=>Bt(l,t,Qe())))}:{success:!0,data:a.value}},o1=gi(vt),Cs=e=>(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return hi(e)(n,i,t)},E5=Cs(vt),zs=e=>(n,i,u)=>hi(e)(n,i,u),N5=zs(vt),Ds=e=>async(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return pi(e)(n,i,t)},x5=Ds(vt),Us=e=>async(n,i,u)=>pi(e)(n,i,u),A5=Us(vt),Rs=e=>(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return mi(e)(n,i,t)},P5=Rs(vt),Ls=e=>(n,i,u)=>mi(e)(n,i,u),T5=Ls(vt),Ms=e=>async(n,i,u)=>{const t=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return gi(e)(n,i,t)},C5=Ms(vt),js=e=>async(n,i,u)=>gi(e)(n,i,u),z5=js(vt),a1=/^[cC][^\s-]{8,}$/,u1=/^[0-9a-z]+$/,s1=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,l1=/^[0-9a-vA-V]{20}$/,c1=/^[A-Za-z0-9]{27}$/,d1=/^[a-zA-Z0-9_-]{21}$/,f1=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,D5=/^[-+]?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)?)??$/,h1=/^([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})$/,wr=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)$/,U5=wr(4),R5=wr(6),L5=wr(7),p1=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,M5=/^[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])?)*$/,j5=/^(([^<>()\[\]\\.,;:\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,}))$/,m1=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,F5=m1,Z5=/^[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])?)*$/,B5="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function g1(){return new RegExp(B5,"u")}const v1=/^(?:(?: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])$/,$1=/^(([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}|:))$/,_1=/^((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])$/,y1=/^(([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])$/,b1=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Fs=/^[A-Za-z0-9_-]*$/,Zs=/^(?=.{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])?)*\.?$/,S1=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,w1=/^\+(?:[0-9]){6,14}[0-9]$/,I1="(?:(?:\\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])))",k1=new RegExp(`^${I1}$`);function O1(e){const n="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${n}`:e.precision===0?`${n}:[0-5]\\d`:`${n}:[0-5]\\d\\.\\d{${e.precision}}`:`${n}(?::[0-5]\\d(?:\\.\\d+)?)?`}function E1(e){return new RegExp(`^${O1(e)}$`)}function N1(e){const n=O1({precision:e.precision}),i=["Z"];e.local&&i.push(""),e.offset&&i.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const u=`${n}(?:${i.join("|")})`;return new RegExp(`^${I1}T(?:${u})$`)}const x1=e=>{const n=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${n}$`)},A1=/^-?\d+n?$/,P1=/^-?\d+$/,T1=/^-?\d+(?:\.\d+)?/,C1=/^(?:true|false)$/i,z1=/^null$/i,D1=/^undefined$/i,U1=/^[^A-Z]*$/,R1=/^[^a-z]*$/,L1=/^[0-9a-fA-F]*$/;function vi(e,n){return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`)}function $i(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const G5=/^[0-9a-fA-F]{32}$/,W5=vi(22,"=="),H5=$i(22),q5=/^[0-9a-fA-F]{40}$/,K5=vi(27,"="),V5=$i(27),J5=/^[0-9a-fA-F]{64}$/,Y5=vi(43,"="),X5=$i(43),Q5=/^[0-9a-fA-F]{96}$/,eb=vi(64,""),tb=$i(64),nb=/^[0-9a-fA-F]{128}$/,rb=vi(86,"=="),ib=$i(86),Bs=Object.freeze(Object.defineProperty({__proto__:null,base64:b1,base64url:Fs,bigint:A1,boolean:C1,browserEmail:Z5,cidrv4:_1,cidrv6:y1,cuid:a1,cuid2:u1,date:k1,datetime:N1,domain:S1,duration:f1,e164:w1,email:p1,emoji:g1,extendedDuration:D5,guid:h1,hex:L1,hostname:Zs,html5Email:M5,idnEmail:F5,integer:P1,ipv4:v1,ipv6:$1,ksuid:c1,lowercase:U1,md5_base64:W5,md5_base64url:H5,md5_hex:G5,nanoid:d1,null:z1,number:T1,rfc5322Email:j5,sha1_base64:K5,sha1_base64url:V5,sha1_hex:q5,sha256_base64:Y5,sha256_base64url:X5,sha256_hex:J5,sha384_base64:eb,sha384_base64url:tb,sha384_hex:Q5,sha512_base64:rb,sha512_base64url:ib,sha512_hex:nb,string:x1,time:E1,ulid:s1,undefined:D1,unicodeEmail:m1,uppercase:R1,uuid:wr,uuid4:U5,uuid6:R5,uuid7:L5,xid:l1},Symbol.toStringTag,{value:"Module"})),Te=C("$ZodCheck",(e,n)=>{var i;e._zod??(e._zod={}),e._zod.def=n,(i=e._zod).onattach??(i.onattach=[])}),M1={number:"number",bigint:"bigint",object:"date"},Gs=C("$ZodCheckLessThan",(e,n)=>{Te.init(e,n);const i=M1[typeof n.value];e._zod.onattach.push(u=>{const t=u._zod.bag,a=(n.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;n.value<a&&(n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value)}),e._zod.check=u=>{(n.inclusive?u.value<=n.value:u.value<n.value)||u.issues.push({origin:i,code:"too_big",maximum:n.value,input:u.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),Ws=C("$ZodCheckGreaterThan",(e,n)=>{Te.init(e,n);const i=M1[typeof n.value];e._zod.onattach.push(u=>{const t=u._zod.bag,a=(n.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;n.value>a&&(n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value)}),e._zod.check=u=>{(n.inclusive?u.value>=n.value:u.value>n.value)||u.issues.push({origin:i,code:"too_small",minimum:n.value,input:u.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),j1=C("$ZodCheckMultipleOf",(e,n)=>{Te.init(e,n),e._zod.onattach.push(i=>{var u;(u=i._zod.bag).multipleOf??(u.multipleOf=n.value)}),e._zod.check=i=>{if(typeof i.value!=typeof n.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?i.value%n.value===BigInt(0):Lp(i.value,n.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:n.value,input:i.value,inst:e,continue:!n.abort})}}),F1=C("$ZodCheckNumberFormat",(e,n)=>{Te.init(e,n),n.format=n.format||"float64";const i=n.format?.includes("int"),u=i?"int":"number",[t,a]=Zp[n.format];e._zod.onattach.push(l=>{const p=l._zod.bag;p.format=n.format,p.minimum=t,p.maximum=a,i&&(p.pattern=P1)}),e._zod.check=l=>{const p=l.value;if(i){if(!Number.isInteger(p)){l.issues.push({expected:u,format:n.format,code:"invalid_type",continue:!1,input:p,inst:e});return}if(!Number.isSafeInteger(p)){p>0?l.issues.push({input:p,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:u,continue:!n.abort}):l.issues.push({input:p,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:u,continue:!n.abort});return}}p<t&&l.issues.push({origin:"number",input:p,code:"too_small",minimum:t,inclusive:!0,inst:e,continue:!n.abort}),p>a&&l.issues.push({origin:"number",input:p,code:"too_big",maximum:a,inst:e})}}),Z1=C("$ZodCheckBigIntFormat",(e,n)=>{Te.init(e,n);const[i,u]=Bp[n.format];e._zod.onattach.push(t=>{const a=t._zod.bag;a.format=n.format,a.minimum=i,a.maximum=u}),e._zod.check=t=>{const a=t.value;a<i&&t.issues.push({origin:"bigint",input:a,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!n.abort}),a>u&&t.issues.push({origin:"bigint",input:a,code:"too_big",maximum:u,inst:e})}}),B1=C("$ZodCheckMaxSize",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!Kn(t)&&t.size!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum<t&&(u._zod.bag.maximum=n.maximum)}),e._zod.check=u=>{const t=u.value;t.size<=n.maximum||u.issues.push({origin:da(t),code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),G1=C("$ZodCheckMinSize",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!Kn(t)&&t.size!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(u._zod.bag.minimum=n.minimum)}),e._zod.check=u=>{const t=u.value;t.size>=n.minimum||u.issues.push({origin:da(t),code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),W1=C("$ZodCheckSizeEquals",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!Kn(t)&&t.size!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag;t.minimum=n.size,t.maximum=n.size,t.size=n.size}),e._zod.check=u=>{const t=u.value,a=t.size;if(a===n.size)return;const l=a>n.size;u.issues.push({origin:da(t),...l?{code:"too_big",maximum:n.size}:{code:"too_small",minimum:n.size},inclusive:!0,exact:!0,input:u.value,inst:e,continue:!n.abort})}}),H1=C("$ZodCheckMaxLength",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!Kn(t)&&t.length!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum<t&&(u._zod.bag.maximum=n.maximum)}),e._zod.check=u=>{const t=u.value;if(t.length<=n.maximum)return;const l=fa(t);u.issues.push({origin:l,code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),q1=C("$ZodCheckMinLength",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!Kn(t)&&t.length!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(u._zod.bag.minimum=n.minimum)}),e._zod.check=u=>{const t=u.value;if(t.length>=n.minimum)return;const l=fa(t);u.issues.push({origin:l,code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),K1=C("$ZodCheckLengthEquals",(e,n)=>{var i;Te.init(e,n),(i=e._zod.def).when??(i.when=u=>{const t=u.value;return!Kn(t)&&t.length!==void 0}),e._zod.onattach.push(u=>{const t=u._zod.bag;t.minimum=n.length,t.maximum=n.length,t.length=n.length}),e._zod.check=u=>{const t=u.value,a=t.length;if(a===n.length)return;const l=fa(t),p=a>n.length;u.issues.push({origin:l,...p?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length},inclusive:!0,exact:!0,input:u.value,inst:e,continue:!n.abort})}}),_i=C("$ZodCheckStringFormat",(e,n)=>{var i,u;Te.init(e,n),e._zod.onattach.push(t=>{const a=t._zod.bag;a.format=n.format,n.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(n.pattern))}),n.pattern?(i=e._zod).check??(i.check=t=>{n.pattern.lastIndex=0,!n.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:n.format,input:t.value,...n.pattern?{pattern:n.pattern.toString()}:{},inst:e,continue:!n.abort})}):(u=e._zod).check??(u.check=()=>{})}),V1=C("$ZodCheckRegex",(e,n)=>{_i.init(e,n),e._zod.check=i=>{n.pattern.lastIndex=0,!n.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:n.pattern.toString(),inst:e,continue:!n.abort})}}),J1=C("$ZodCheckLowerCase",(e,n)=>{n.pattern??(n.pattern=U1),_i.init(e,n)}),Y1=C("$ZodCheckUpperCase",(e,n)=>{n.pattern??(n.pattern=R1),_i.init(e,n)}),X1=C("$ZodCheckIncludes",(e,n)=>{Te.init(e,n);const i=On(n.includes),u=new RegExp(typeof n.position=="number"?`^.{${n.position}}${i}`:i);n.pattern=u,e._zod.onattach.push(t=>{const a=t._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(u)}),e._zod.check=t=>{t.value.includes(n.includes,n.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:n.includes,input:t.value,inst:e,continue:!n.abort})}}),Q1=C("$ZodCheckStartsWith",(e,n)=>{Te.init(e,n);const i=new RegExp(`^${On(n.prefix)}.*`);n.pattern??(n.pattern=i),e._zod.onattach.push(u=>{const t=u._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=u=>{u.value.startsWith(n.prefix)||u.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:n.prefix,input:u.value,inst:e,continue:!n.abort})}}),e2=C("$ZodCheckEndsWith",(e,n)=>{Te.init(e,n);const i=new RegExp(`.*${On(n.suffix)}$`);n.pattern??(n.pattern=i),e._zod.onattach.push(u=>{const t=u._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=u=>{u.value.endsWith(n.suffix)||u.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:n.suffix,input:u.value,inst:e,continue:!n.abort})}});function qh(e,n,i){e.issues.length&&n.issues.push(...jt(i,e.issues))}const t2=C("$ZodCheckProperty",(e,n)=>{Te.init(e,n),e._zod.check=i=>{const u=n.schema._zod.run({value:i.value[n.property],issues:[]},{});if(u instanceof Promise)return u.then(t=>qh(t,i,n.property));qh(u,i,n.property)}}),n2=C("$ZodCheckMimeType",(e,n)=>{Te.init(e,n);const i=new Set(n.mime);e._zod.onattach.push(u=>{u._zod.bag.mime=n.mime}),e._zod.check=u=>{i.has(u.value.type)||u.issues.push({code:"invalid_value",values:n.mime,input:u.value.type,inst:e,continue:!n.abort})}}),r2=C("$ZodCheckOverwrite",(e,n)=>{Te.init(e,n),e._zod.check=i=>{i.value=n.tx(i.value)}});class i2{constructor(n=[]){this.content=[],this.indent=0,this&&(this.args=n)}indented(n){this.indent+=1,n(this),this.indent-=1}write(n){if(typeof n=="function"){n(this,{execution:"sync"}),n(this,{execution:"async"});return}const u=n.split(`
|
|
47
47
|
`).filter(l=>l),t=Math.min(...u.map(l=>l.length-l.trimStart().length)),a=u.map(l=>l.slice(t)).map(l=>" ".repeat(this.indent*2)+l);for(const l of a)this.content.push(l)}compile(){const n=Function,i=this?.args,t=[...(this?.content??[""]).map(a=>` ${a}`)];return new n(...i,t.join(`
|
|
48
|
-
`))}}const r2={major:4,minor:1,patch:11},ie=C("$ZodType",(e,n)=>{var i;e??(e={}),e._zod.def=n,e._zod.bag=e._zod.bag||{},e._zod.version=r2;const u=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&u.unshift(e);for(const t of u)for(const a of t._zod.onattach)a(e);if(u.length===0)(i=e._zod).deferred??(i.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const t=(l,p,g)=>{let v=Ln(l),m;for(const _ of p){if(_._zod.def.when){if(!_._zod.def.when(l))continue}else if(v)continue;const h=l.issues.length,d=_._zod.check(l);if(d instanceof Promise&&g?.async===!1)throw new jn;if(m||d instanceof Promise)m=(m??Promise.resolve()).then(async()=>{await d,l.issues.length!==h&&(v||(v=Ln(l,h)))});else{if(l.issues.length===h)continue;v||(v=Ln(l,h))}}return m?m.then(()=>l):l},a=(l,p,g)=>{if(Ln(l))return l.aborted=!0,l;const v=t(p,u,g);if(v instanceof Promise){if(g.async===!1)throw new jn;return v.then(m=>e._zod.parse(m,g))}return e._zod.parse(v,g)};e._zod.run=(l,p)=>{if(p.skipChecks)return e._zod.parse(l,p);if(p.direction==="backward"){const v=e._zod.parse({value:l.value,issues:[]},{...p,skipChecks:!0});return v instanceof Promise?v.then(m=>a(m,l,p)):a(v,l,p)}const g=e._zod.parse(l,p);if(g instanceof Promise){if(p.async===!1)throw new jn;return g.then(v=>t(v,u,p))}return t(g,u,p)}}e["~standard"]={validate:t=>{try{const a=n1(e,t);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return r1(e,t).then(l=>l.success?{value:l.data}:{issues:l.error?.issues})}},vendor:"zod",version:1}}),_i=C("$ZodString",(e,n)=>{ie.init(e,n),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??O1(e._zod.bag),e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),ke=C("$ZodStringFormat",(e,n)=>{$i.init(e,n),_i.init(e,n)}),i2=C("$ZodGUID",(e,n)=>{n.pattern??(n.pattern=d1),ke.init(e,n)}),o2=C("$ZodUUID",(e,n)=>{if(n.version){const u={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[n.version];if(u===void 0)throw new Error(`Invalid UUID version: "${n.version}"`);n.pattern??(n.pattern=Sr(u))}else n.pattern??(n.pattern=Sr());ke.init(e,n)}),a2=C("$ZodEmail",(e,n)=>{n.pattern??(n.pattern=f1),ke.init(e,n)}),u2=C("$ZodURL",(e,n)=>{ke.init(e,n),e._zod.check=i=>{try{const u=i.value.trim(),t=new URL(u);n.hostname&&(n.hostname.lastIndex=0,n.hostname.test(t.hostname)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Fs.source,input:i.value,inst:e,continue:!n.abort})),n.protocol&&(n.protocol.lastIndex=0,n.protocol.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:n.protocol.source,input:i.value,inst:e,continue:!n.abort})),n.normalize?i.value=t.href:i.value=u;return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!n.abort})}}}),s2=C("$ZodEmoji",(e,n)=>{n.pattern??(n.pattern=p1()),ke.init(e,n)}),l2=C("$ZodNanoID",(e,n)=>{n.pattern??(n.pattern=l1),ke.init(e,n)}),c2=C("$ZodCUID",(e,n)=>{n.pattern??(n.pattern=i1),ke.init(e,n)}),d2=C("$ZodCUID2",(e,n)=>{n.pattern??(n.pattern=o1),ke.init(e,n)}),f2=C("$ZodULID",(e,n)=>{n.pattern??(n.pattern=a1),ke.init(e,n)}),h2=C("$ZodXID",(e,n)=>{n.pattern??(n.pattern=u1),ke.init(e,n)}),p2=C("$ZodKSUID",(e,n)=>{n.pattern??(n.pattern=s1),ke.init(e,n)}),m2=C("$ZodISODateTime",(e,n)=>{n.pattern??(n.pattern=x1(n)),ke.init(e,n)}),g2=C("$ZodISODate",(e,n)=>{n.pattern??(n.pattern=w1),ke.init(e,n)}),v2=C("$ZodISOTime",(e,n)=>{n.pattern??(n.pattern=I1(n)),ke.init(e,n)}),$2=C("$ZodISODuration",(e,n)=>{n.pattern??(n.pattern=c1),ke.init(e,n)}),_2=C("$ZodIPv4",(e,n)=>{n.pattern??(n.pattern=m1),ke.init(e,n),e._zod.onattach.push(i=>{const u=i._zod.bag;u.format="ipv4"})}),y2=C("$ZodIPv6",(e,n)=>{n.pattern??(n.pattern=g1),ke.init(e,n),e._zod.onattach.push(i=>{const u=i._zod.bag;u.format="ipv6"}),e._zod.check=i=>{try{new URL(`http://[${i.value}]`)}catch{i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:e,continue:!n.abort})}}}),b2=C("$ZodCIDRv4",(e,n)=>{n.pattern??(n.pattern=v1),ke.init(e,n)}),S2=C("$ZodCIDRv6",(e,n)=>{n.pattern??(n.pattern=$1),ke.init(e,n),e._zod.check=i=>{const u=i.value.split("/");try{if(u.length!==2)throw new Error;const[t,a]=u;if(!a)throw new Error;const l=Number(a);if(`${l}`!==a)throw new Error;if(l<0||l>128)throw new Error;new URL(`http://[${t}]`)}catch{i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:e,continue:!n.abort})}}});function Ws(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const w2=C("$ZodBase64",(e,n)=>{n.pattern??(n.pattern=_1),ke.init(e,n),e._zod.onattach.push(i=>{i._zod.bag.contentEncoding="base64"}),e._zod.check=i=>{Ws(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:e,continue:!n.abort})}});function k2(e){if(!js.test(e))return!1;const n=e.replace(/[-_]/g,u=>u==="-"?"+":"/"),i=n.padEnd(Math.ceil(n.length/4)*4,"=");return Ws(i)}const I2=C("$ZodBase64URL",(e,n)=>{n.pattern??(n.pattern=js),ke.init(e,n),e._zod.onattach.push(i=>{i._zod.bag.contentEncoding="base64url"}),e._zod.check=i=>{k2(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:e,continue:!n.abort})}}),x2=C("$ZodE164",(e,n)=>{n.pattern??(n.pattern=b1),ke.init(e,n)});function O2(e,n=null){try{const i=e.split(".");if(i.length!==3)return!1;const[u]=i;if(!u)return!1;const t=JSON.parse(atob(u));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||n&&(!("alg"in t)||t.alg!==n))}catch{return!1}}const E2=C("$ZodJWT",(e,n)=>{ke.init(e,n),e._zod.check=i=>{O2(i.value,n.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:e,continue:!n.abort})}}),A2=C("$ZodCustomStringFormat",(e,n)=>{ke.init(e,n),e._zod.check=i=>{n.fn(i.value)||i.issues.push({code:"invalid_format",format:n.format,input:i.value,inst:e,continue:!n.abort})}}),Hs=C("$ZodNumber",(e,n)=>{ie.init(e,n),e._zod.pattern=e._zod.bag.pattern??N1,e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=Number(i.value)}catch{}const t=i.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return i;const a=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return i.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...a?{received:a}:{}}),i}}),N2=C("$ZodNumber",(e,n)=>{M1.init(e,n),Hs.init(e,n)}),qs=C("$ZodBoolean",(e,n)=>{ie.init(e,n),e._zod.pattern=P1,e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=!!i.value}catch{}const t=i.value;return typeof t=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),i}}),Ks=C("$ZodBigInt",(e,n)=>{ie.init(e,n),e._zod.pattern=E1,e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=BigInt(i.value)}catch{}return typeof i.value=="bigint"||i.issues.push({expected:"bigint",code:"invalid_type",input:i.value,inst:e}),i}}),P2=C("$ZodBigInt",(e,n)=>{j1.init(e,n),Ks.init(e,n)}),T2=C("$ZodSymbol",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;return typeof t=="symbol"||i.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),i}}),C2=C("$ZodUndefined",(e,n)=>{ie.init(e,n),e._zod.pattern=C1,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(i,u)=>{const t=i.value;return typeof t>"u"||i.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),i}}),z2=C("$ZodNull",(e,n)=>{ie.init(e,n),e._zod.pattern=T1,e._zod.values=new Set([null]),e._zod.parse=(i,u)=>{const t=i.value;return t===null||i.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),i}}),D2=C("$ZodAny",(e,n)=>{ie.init(e,n),e._zod.parse=i=>i}),U2=C("$ZodUnknown",(e,n)=>{ie.init(e,n),e._zod.parse=i=>i}),R2=C("$ZodNever",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:e}),i)}),L2=C("$ZodVoid",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;return typeof t>"u"||i.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),i}}),M2=C("$ZodDate",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=new Date(i.value)}catch{}const t=i.value,a=t instanceof Date;return a&&!Number.isNaN(t.getTime())||i.issues.push({expected:"date",code:"invalid_type",input:t,...a?{received:"Invalid Date"}:{},inst:e}),i}});function qh(e,n,i){e.issues.length&&n.issues.push(...Mt(i,e.issues)),n.value[i]=e.value}const j2=C("$ZodArray",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!Array.isArray(t))return i.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),i;i.value=Array(t.length);const a=[];for(let l=0;l<t.length;l++){const p=t[l],g=n.element._zod.run({value:p,issues:[]},u);g instanceof Promise?a.push(g.then(v=>qh(v,i,l))):qh(g,i,l)}return a.length?Promise.all(a).then(()=>i):i}});function Vo(e,n,i,u){e.issues.length&&n.issues.push(...Mt(i,e.issues)),e.value===void 0?i in u&&(n.value[i]=void 0):n.value[i]=e.value}function F2(e){const n=Object.keys(e.shape);for(const u of n)if(!e.shape?.[u]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${u}": expected a Zod schema`);const i=Mp(e.shape);return{...e,keys:n,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(i)}}function Z2(e,n,i,u,t,a){const l=[],p=t.keySet,g=t.catchall._zod,v=g.def.type;for(const m of Object.keys(n)){if(p.has(m))continue;if(v==="never"){l.push(m);continue}const _=g.run({value:n[m],issues:[]},u);_ instanceof Promise?e.push(_.then(h=>Vo(h,i,m,n))):Vo(_,i,m,n)}return l.length&&i.issues.push({code:"unrecognized_keys",keys:l,input:n,inst:a}),e.length?Promise.all(e).then(()=>i):i}const B2=C("$ZodObject",(e,n)=>{if(ie.init(e,n),!Object.getOwnPropertyDescriptor(n,"shape")?.get){const p=n.shape;Object.defineProperty(n,"shape",{get:()=>{const g={...p};return Object.defineProperty(n,"shape",{value:g}),g}})}const u=di(()=>F2(n));de(e._zod,"propValues",()=>{const p=n.shape,g={};for(const v in p){const m=p[v]._zod;if(m.values){g[v]??(g[v]=new Set);for(const _ of m.values)g[v].add(_)}}return g});const t=yr,a=n.catchall;let l;e._zod.parse=(p,g)=>{l??(l=u.value);const v=p.value;if(!t(v))return p.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),p;p.value={};const m=[],_=l.shape;for(const h of l.keys){const c=_[h]._zod.run({value:v[h],issues:[]},g);c instanceof Promise?m.push(c.then(y=>Vo(y,p,h,v))):Vo(c,p,h,v)}return a?Z2(m,v,p,g,u.value,e):m.length?Promise.all(m).then(()=>p):p}}),G2=C("$ZodObjectJIT",(e,n)=>{B2.init(e,n);const i=e._zod.parse,u=di(()=>F2(n)),t=h=>{const d=new n2(["shape","payload","ctx"]),c=u.value,y=P=>{const E=cs(P);return`shape[${E}]._zod.run({ value: input[${E}], issues: [] }, ctx)`};d.write("const input = payload.value;");const b=Object.create(null);let k=0;for(const P of c.keys)b[P]=`key_${k++}`;d.write("const newResult = {};");for(const P of c.keys){const E=b[P],x=cs(P);d.write(`const ${E} = ${y(P)};`),d.write(`
|
|
49
|
-
if (${
|
|
50
|
-
payload.issues = payload.issues.concat(${
|
|
48
|
+
`))}}const o2={major:4,minor:1,patch:11},ie=C("$ZodType",(e,n)=>{var i;e??(e={}),e._zod.def=n,e._zod.bag=e._zod.bag||{},e._zod.version=o2;const u=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&u.unshift(e);for(const t of u)for(const a of t._zod.onattach)a(e);if(u.length===0)(i=e._zod).deferred??(i.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const t=(l,p,g)=>{let v=Mn(l),m;for(const _ of p){if(_._zod.def.when){if(!_._zod.def.when(l))continue}else if(v)continue;const h=l.issues.length,d=_._zod.check(l);if(d instanceof Promise&&g?.async===!1)throw new Fn;if(m||d instanceof Promise)m=(m??Promise.resolve()).then(async()=>{await d,l.issues.length!==h&&(v||(v=Mn(l,h)))});else{if(l.issues.length===h)continue;v||(v=Mn(l,h))}}return m?m.then(()=>l):l},a=(l,p,g)=>{if(Mn(l))return l.aborted=!0,l;const v=t(p,u,g);if(v instanceof Promise){if(g.async===!1)throw new Fn;return v.then(m=>e._zod.parse(m,g))}return e._zod.parse(v,g)};e._zod.run=(l,p)=>{if(p.skipChecks)return e._zod.parse(l,p);if(p.direction==="backward"){const v=e._zod.parse({value:l.value,issues:[]},{...p,skipChecks:!0});return v instanceof Promise?v.then(m=>a(m,l,p)):a(v,l,p)}const g=e._zod.parse(l,p);if(g instanceof Promise){if(p.async===!1)throw new Fn;return g.then(v=>t(v,u,p))}return t(g,u,p)}}e["~standard"]={validate:t=>{try{const a=i1(e,t);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return o1(e,t).then(l=>l.success?{value:l.data}:{issues:l.error?.issues})}},vendor:"zod",version:1}}),yi=C("$ZodString",(e,n)=>{ie.init(e,n),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??x1(e._zod.bag),e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),Ie=C("$ZodStringFormat",(e,n)=>{_i.init(e,n),yi.init(e,n)}),a2=C("$ZodGUID",(e,n)=>{n.pattern??(n.pattern=h1),Ie.init(e,n)}),u2=C("$ZodUUID",(e,n)=>{if(n.version){const u={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[n.version];if(u===void 0)throw new Error(`Invalid UUID version: "${n.version}"`);n.pattern??(n.pattern=wr(u))}else n.pattern??(n.pattern=wr());Ie.init(e,n)}),s2=C("$ZodEmail",(e,n)=>{n.pattern??(n.pattern=p1),Ie.init(e,n)}),l2=C("$ZodURL",(e,n)=>{Ie.init(e,n),e._zod.check=i=>{try{const u=i.value.trim(),t=new URL(u);n.hostname&&(n.hostname.lastIndex=0,n.hostname.test(t.hostname)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Zs.source,input:i.value,inst:e,continue:!n.abort})),n.protocol&&(n.protocol.lastIndex=0,n.protocol.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:n.protocol.source,input:i.value,inst:e,continue:!n.abort})),n.normalize?i.value=t.href:i.value=u;return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!n.abort})}}}),c2=C("$ZodEmoji",(e,n)=>{n.pattern??(n.pattern=g1()),Ie.init(e,n)}),d2=C("$ZodNanoID",(e,n)=>{n.pattern??(n.pattern=d1),Ie.init(e,n)}),f2=C("$ZodCUID",(e,n)=>{n.pattern??(n.pattern=a1),Ie.init(e,n)}),h2=C("$ZodCUID2",(e,n)=>{n.pattern??(n.pattern=u1),Ie.init(e,n)}),p2=C("$ZodULID",(e,n)=>{n.pattern??(n.pattern=s1),Ie.init(e,n)}),m2=C("$ZodXID",(e,n)=>{n.pattern??(n.pattern=l1),Ie.init(e,n)}),g2=C("$ZodKSUID",(e,n)=>{n.pattern??(n.pattern=c1),Ie.init(e,n)}),v2=C("$ZodISODateTime",(e,n)=>{n.pattern??(n.pattern=N1(n)),Ie.init(e,n)}),$2=C("$ZodISODate",(e,n)=>{n.pattern??(n.pattern=k1),Ie.init(e,n)}),_2=C("$ZodISOTime",(e,n)=>{n.pattern??(n.pattern=E1(n)),Ie.init(e,n)}),y2=C("$ZodISODuration",(e,n)=>{n.pattern??(n.pattern=f1),Ie.init(e,n)}),b2=C("$ZodIPv4",(e,n)=>{n.pattern??(n.pattern=v1),Ie.init(e,n),e._zod.onattach.push(i=>{const u=i._zod.bag;u.format="ipv4"})}),S2=C("$ZodIPv6",(e,n)=>{n.pattern??(n.pattern=$1),Ie.init(e,n),e._zod.onattach.push(i=>{const u=i._zod.bag;u.format="ipv6"}),e._zod.check=i=>{try{new URL(`http://[${i.value}]`)}catch{i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:e,continue:!n.abort})}}}),w2=C("$ZodCIDRv4",(e,n)=>{n.pattern??(n.pattern=_1),Ie.init(e,n)}),I2=C("$ZodCIDRv6",(e,n)=>{n.pattern??(n.pattern=y1),Ie.init(e,n),e._zod.check=i=>{const u=i.value.split("/");try{if(u.length!==2)throw new Error;const[t,a]=u;if(!a)throw new Error;const l=Number(a);if(`${l}`!==a)throw new Error;if(l<0||l>128)throw new Error;new URL(`http://[${t}]`)}catch{i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:e,continue:!n.abort})}}});function Hs(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const k2=C("$ZodBase64",(e,n)=>{n.pattern??(n.pattern=b1),Ie.init(e,n),e._zod.onattach.push(i=>{i._zod.bag.contentEncoding="base64"}),e._zod.check=i=>{Hs(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:e,continue:!n.abort})}});function O2(e){if(!Fs.test(e))return!1;const n=e.replace(/[-_]/g,u=>u==="-"?"+":"/"),i=n.padEnd(Math.ceil(n.length/4)*4,"=");return Hs(i)}const E2=C("$ZodBase64URL",(e,n)=>{n.pattern??(n.pattern=Fs),Ie.init(e,n),e._zod.onattach.push(i=>{i._zod.bag.contentEncoding="base64url"}),e._zod.check=i=>{O2(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:e,continue:!n.abort})}}),N2=C("$ZodE164",(e,n)=>{n.pattern??(n.pattern=w1),Ie.init(e,n)});function x2(e,n=null){try{const i=e.split(".");if(i.length!==3)return!1;const[u]=i;if(!u)return!1;const t=JSON.parse(atob(u));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||n&&(!("alg"in t)||t.alg!==n))}catch{return!1}}const A2=C("$ZodJWT",(e,n)=>{Ie.init(e,n),e._zod.check=i=>{x2(i.value,n.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:e,continue:!n.abort})}}),P2=C("$ZodCustomStringFormat",(e,n)=>{Ie.init(e,n),e._zod.check=i=>{n.fn(i.value)||i.issues.push({code:"invalid_format",format:n.format,input:i.value,inst:e,continue:!n.abort})}}),qs=C("$ZodNumber",(e,n)=>{ie.init(e,n),e._zod.pattern=e._zod.bag.pattern??T1,e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=Number(i.value)}catch{}const t=i.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return i;const a=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return i.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...a?{received:a}:{}}),i}}),T2=C("$ZodNumber",(e,n)=>{F1.init(e,n),qs.init(e,n)}),Ks=C("$ZodBoolean",(e,n)=>{ie.init(e,n),e._zod.pattern=C1,e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=!!i.value}catch{}const t=i.value;return typeof t=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),i}}),Vs=C("$ZodBigInt",(e,n)=>{ie.init(e,n),e._zod.pattern=A1,e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=BigInt(i.value)}catch{}return typeof i.value=="bigint"||i.issues.push({expected:"bigint",code:"invalid_type",input:i.value,inst:e}),i}}),C2=C("$ZodBigInt",(e,n)=>{Z1.init(e,n),Vs.init(e,n)}),z2=C("$ZodSymbol",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;return typeof t=="symbol"||i.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),i}}),D2=C("$ZodUndefined",(e,n)=>{ie.init(e,n),e._zod.pattern=D1,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(i,u)=>{const t=i.value;return typeof t>"u"||i.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),i}}),U2=C("$ZodNull",(e,n)=>{ie.init(e,n),e._zod.pattern=z1,e._zod.values=new Set([null]),e._zod.parse=(i,u)=>{const t=i.value;return t===null||i.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),i}}),R2=C("$ZodAny",(e,n)=>{ie.init(e,n),e._zod.parse=i=>i}),L2=C("$ZodUnknown",(e,n)=>{ie.init(e,n),e._zod.parse=i=>i}),M2=C("$ZodNever",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:e}),i)}),j2=C("$ZodVoid",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;return typeof t>"u"||i.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),i}}),F2=C("$ZodDate",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{if(n.coerce)try{i.value=new Date(i.value)}catch{}const t=i.value,a=t instanceof Date;return a&&!Number.isNaN(t.getTime())||i.issues.push({expected:"date",code:"invalid_type",input:t,...a?{received:"Invalid Date"}:{},inst:e}),i}});function Kh(e,n,i){e.issues.length&&n.issues.push(...jt(i,e.issues)),n.value[i]=e.value}const Z2=C("$ZodArray",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!Array.isArray(t))return i.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),i;i.value=Array(t.length);const a=[];for(let l=0;l<t.length;l++){const p=t[l],g=n.element._zod.run({value:p,issues:[]},u);g instanceof Promise?a.push(g.then(v=>Kh(v,i,l))):Kh(g,i,l)}return a.length?Promise.all(a).then(()=>i):i}});function Yo(e,n,i,u){e.issues.length&&n.issues.push(...jt(i,e.issues)),e.value===void 0?i in u&&(n.value[i]=void 0):n.value[i]=e.value}function B2(e){const n=Object.keys(e.shape);for(const u of n)if(!e.shape?.[u]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${u}": expected a Zod schema`);const i=Fp(e.shape);return{...e,keys:n,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(i)}}function G2(e,n,i,u,t,a){const l=[],p=t.keySet,g=t.catchall._zod,v=g.def.type;for(const m of Object.keys(n)){if(p.has(m))continue;if(v==="never"){l.push(m);continue}const _=g.run({value:n[m],issues:[]},u);_ instanceof Promise?e.push(_.then(h=>Yo(h,i,m,n))):Yo(_,i,m,n)}return l.length&&i.issues.push({code:"unrecognized_keys",keys:l,input:n,inst:a}),e.length?Promise.all(e).then(()=>i):i}const W2=C("$ZodObject",(e,n)=>{if(ie.init(e,n),!Object.getOwnPropertyDescriptor(n,"shape")?.get){const p=n.shape;Object.defineProperty(n,"shape",{get:()=>{const g={...p};return Object.defineProperty(n,"shape",{value:g}),g}})}const u=fi(()=>B2(n));de(e._zod,"propValues",()=>{const p=n.shape,g={};for(const v in p){const m=p[v]._zod;if(m.values){g[v]??(g[v]=new Set);for(const _ of m.values)g[v].add(_)}}return g});const t=br,a=n.catchall;let l;e._zod.parse=(p,g)=>{l??(l=u.value);const v=p.value;if(!t(v))return p.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),p;p.value={};const m=[],_=l.shape;for(const h of l.keys){const c=_[h]._zod.run({value:v[h],issues:[]},g);c instanceof Promise?m.push(c.then(y=>Yo(y,p,h,v))):Yo(c,p,h,v)}return a?G2(m,v,p,g,u.value,e):m.length?Promise.all(m).then(()=>p):p}}),H2=C("$ZodObjectJIT",(e,n)=>{W2.init(e,n);const i=e._zod.parse,u=fi(()=>B2(n)),t=h=>{const d=new i2(["shape","payload","ctx"]),c=u.value,y=P=>{const N=ds(P);return`shape[${N}]._zod.run({ value: input[${N}], issues: [] }, ctx)`};d.write("const input = payload.value;");const b=Object.create(null);let I=0;for(const P of c.keys)b[P]=`key_${I++}`;d.write("const newResult = {};");for(const P of c.keys){const N=b[P],O=ds(P);d.write(`const ${N} = ${y(P)};`),d.write(`
|
|
49
|
+
if (${N}.issues.length) {
|
|
50
|
+
payload.issues = payload.issues.concat(${N}.issues.map(iss => ({
|
|
51
51
|
...iss,
|
|
52
|
-
path: iss.path ? [${
|
|
52
|
+
path: iss.path ? [${O}, ...iss.path] : [${O}]
|
|
53
53
|
})));
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
if (${
|
|
58
|
-
if (${
|
|
59
|
-
newResult[${
|
|
57
|
+
if (${N}.value === undefined) {
|
|
58
|
+
if (${O} in input) {
|
|
59
|
+
newResult[${O}] = undefined;
|
|
60
60
|
}
|
|
61
61
|
} else {
|
|
62
|
-
newResult[${
|
|
62
|
+
newResult[${O}] = ${N}.value;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
`)}d.write("payload.value = newResult;"),d.write("return payload;");const I=d.compile();return(P,E)=>I(h,P,E)};let a;const l=yr,p=!qo.jitless,v=p&&Rp.value,m=n.catchall;let _;e._zod.parse=(h,d)=>{_??(_=u.value);const c=h.value;return l(c)?p&&v&&d?.async===!1&&d.jitless!==!0?(a||(a=t(n.shape)),h=a(h,d),m?Z2([],c,h,d,_,e):h):i(h,d):(h.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),h)}});function Kh(e,n,i,u){for(const a of e)if(a.issues.length===0)return n.value=a.value,n;const t=e.filter(a=>!Ln(a));return t.length===1?(n.value=t[0].value,t[0]):(n.issues.push({code:"invalid_union",input:n.value,inst:i,errors:e.map(a=>a.issues.map(l=>Zt(l,u,Xe())))}),n)}const Js=C("$ZodUnion",(e,n)=>{ie.init(e,n),de(e._zod,"optin",()=>n.options.some(t=>t._zod.optin==="optional")?"optional":void 0),de(e._zod,"optout",()=>n.options.some(t=>t._zod.optout==="optional")?"optional":void 0),de(e._zod,"values",()=>{if(n.options.every(t=>t._zod.values))return new Set(n.options.flatMap(t=>Array.from(t._zod.values)))}),de(e._zod,"pattern",()=>{if(n.options.every(t=>t._zod.pattern)){const t=n.options.map(a=>a._zod.pattern);return new RegExp(`^(${t.map(a=>sa(a.source)).join("|")})$`)}});const i=n.options.length===1,u=n.options[0]._zod.run;e._zod.parse=(t,a)=>{if(i)return u(t,a);let l=!1;const p=[];for(const g of n.options){const v=g._zod.run({value:t.value,issues:[]},a);if(v instanceof Promise)p.push(v),l=!0;else{if(v.issues.length===0)return v;p.push(v)}}return l?Promise.all(p).then(g=>Kh(g,t,e,a)):Kh(p,t,e,a)}}),W2=C("$ZodDiscriminatedUnion",(e,n)=>{Js.init(e,n);const i=e._zod.parse;de(e._zod,"propValues",()=>{const t={};for(const a of n.options){const l=a._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(a)}"`);for(const[p,g]of Object.entries(l)){t[p]||(t[p]=new Set);for(const v of g)t[p].add(v)}}return t});const u=di(()=>{const t=n.options,a=new Map;for(const l of t){const p=l._zod.propValues?.[n.discriminator];if(!p||p.size===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(l)}"`);for(const g of p){if(a.has(g))throw new Error(`Duplicate discriminator value "${String(g)}"`);a.set(g,l)}}return a});e._zod.parse=(t,a)=>{const l=t.value;if(!yr(l))return t.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),t;const p=u.value.get(l?.[n.discriminator]);return p?p._zod.run(t,a):n.unionFallback?i(t,a):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:n.discriminator,input:l,path:[n.discriminator],inst:e}),t)}}),H2=C("$ZodIntersection",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value,a=n.left._zod.run({value:t,issues:[]},u),l=n.right._zod.run({value:t,issues:[]},u);return a instanceof Promise||l instanceof Promise?Promise.all([a,l]).then(([g,v])=>Jh(i,g,v)):Jh(i,a,l)}});function hs(e,n){if(e===n)return{valid:!0,data:e};if(e instanceof Date&&n instanceof Date&&+e==+n)return{valid:!0,data:e};if(Zn(e)&&Zn(n)){const i=Object.keys(n),u=Object.keys(e).filter(a=>i.indexOf(a)!==-1),t={...e,...n};for(const a of u){const l=hs(e[a],n[a]);if(!l.valid)return{valid:!1,mergeErrorPath:[a,...l.mergeErrorPath]};t[a]=l.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return{valid:!1,mergeErrorPath:[]};const i=[];for(let u=0;u<e.length;u++){const t=e[u],a=n[u],l=hs(t,a);if(!l.valid)return{valid:!1,mergeErrorPath:[u,...l.mergeErrorPath]};i.push(l.data)}return{valid:!0,data:i}}return{valid:!1,mergeErrorPath:[]}}function Jh(e,n,i){if(n.issues.length&&e.issues.push(...n.issues),i.issues.length&&e.issues.push(...i.issues),Ln(e))return e;const u=hs(n.value,i.value);if(!u.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);return e.value=u.data,e}const Vs=C("$ZodTuple",(e,n)=>{ie.init(e,n);const i=n.items,u=i.length-[...i].reverse().findIndex(t=>t._zod.optin!=="optional");e._zod.parse=(t,a)=>{const l=t.value;if(!Array.isArray(l))return t.issues.push({input:l,inst:e,expected:"tuple",code:"invalid_type"}),t;t.value=[];const p=[];if(!n.rest){const v=l.length>i.length,m=l.length<u-1;if(v||m)return t.issues.push({...v?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},input:l,inst:e,origin:"array"}),t}let g=-1;for(const v of i){if(g++,g>=l.length&&g>=u)continue;const m=v._zod.run({value:l[g],issues:[]},a);m instanceof Promise?p.push(m.then(_=>jo(_,t,g))):jo(m,t,g)}if(n.rest){const v=l.slice(i.length);for(const m of v){g++;const _=n.rest._zod.run({value:m,issues:[]},a);_ instanceof Promise?p.push(_.then(h=>jo(h,t,g))):jo(_,t,g)}}return p.length?Promise.all(p).then(()=>t):t}});function jo(e,n,i){e.issues.length&&n.issues.push(...Mt(i,e.issues)),n.value[i]=e.value}const q2=C("$ZodRecord",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!Zn(t))return i.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),i;const a=[];if(n.keyType._zod.values){const l=n.keyType._zod.values;i.value={};for(const g of l)if(typeof g=="string"||typeof g=="number"||typeof g=="symbol"){const v=n.valueType._zod.run({value:t[g],issues:[]},u);v instanceof Promise?a.push(v.then(m=>{m.issues.length&&i.issues.push(...Mt(g,m.issues)),i.value[g]=m.value})):(v.issues.length&&i.issues.push(...Mt(g,v.issues)),i.value[g]=v.value)}let p;for(const g in t)l.has(g)||(p=p??[],p.push(g));p&&p.length>0&&i.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:p})}else{i.value={};for(const l of Reflect.ownKeys(t)){if(l==="__proto__")continue;const p=n.keyType._zod.run({value:l,issues:[]},u);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(p.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(v=>Zt(v,u,Xe())),input:l,path:[l],inst:e}),i.value[p.value]=p.value;continue}const g=n.valueType._zod.run({value:t[l],issues:[]},u);g instanceof Promise?a.push(g.then(v=>{v.issues.length&&i.issues.push(...Mt(l,v.issues)),i.value[p.value]=v.value})):(g.issues.length&&i.issues.push(...Mt(l,g.issues)),i.value[p.value]=g.value)}}return a.length?Promise.all(a).then(()=>i):i}}),K2=C("$ZodMap",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!(t instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),i;const a=[];i.value=new Map;for(const[l,p]of t){const g=n.keyType._zod.run({value:l,issues:[]},u),v=n.valueType._zod.run({value:p,issues:[]},u);g instanceof Promise||v instanceof Promise?a.push(Promise.all([g,v]).then(([m,_])=>{Vh(m,_,i,l,t,e,u)})):Vh(g,v,i,l,t,e,u)}return a.length?Promise.all(a).then(()=>i):i}});function Vh(e,n,i,u,t,a,l){e.issues.length&&(Jo.has(typeof u)?i.issues.push(...Mt(u,e.issues)):i.issues.push({code:"invalid_key",origin:"map",input:t,inst:a,issues:e.issues.map(p=>Zt(p,l,Xe()))})),n.issues.length&&(Jo.has(typeof u)?i.issues.push(...Mt(u,n.issues)):i.issues.push({origin:"map",code:"invalid_element",input:t,inst:a,key:u,issues:n.issues.map(p=>Zt(p,l,Xe()))})),i.value.set(e.value,n.value)}const J2=C("$ZodSet",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!(t instanceof Set))return i.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),i;const a=[];i.value=new Set;for(const l of t){const p=n.valueType._zod.run({value:l,issues:[]},u);p instanceof Promise?a.push(p.then(g=>Yh(g,i))):Yh(p,i)}return a.length?Promise.all(a).then(()=>i):i}});function Yh(e,n){e.issues.length&&n.issues.push(...e.issues),n.value.add(e.value)}const V2=C("$ZodEnum",(e,n)=>{ie.init(e,n);const i=Os(n.entries),u=new Set(i);e._zod.values=u,e._zod.pattern=new RegExp(`^(${i.filter(t=>Jo.has(typeof t)).map(t=>typeof t=="string"?In(t):t.toString()).join("|")})$`),e._zod.parse=(t,a)=>{const l=t.value;return u.has(l)||t.issues.push({code:"invalid_value",values:i,input:l,inst:e}),t}}),Y2=C("$ZodLiteral",(e,n)=>{if(ie.init(e,n),n.values.length===0)throw new Error("Cannot create literal schema with no valid values");e._zod.values=new Set(n.values),e._zod.pattern=new RegExp(`^(${n.values.map(i=>typeof i=="string"?In(i):i?In(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,u)=>{const t=i.value;return e._zod.values.has(t)||i.issues.push({code:"invalid_value",values:n.values,input:t,inst:e}),i}}),X2=C("$ZodFile",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;return t instanceof File||i.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),i}}),Q2=C("$ZodTransform",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{if(u.direction==="backward")throw new ua(e.constructor.name);const t=n.transform(i.value,i);if(u.async)return(t instanceof Promise?t:Promise.resolve(t)).then(l=>(i.value=l,i));if(t instanceof Promise)throw new jn;return i.value=t,i}});function Xh(e,n){return e.issues.length&&n===void 0?{issues:[],value:void 0}:e}const e0=C("$ZodOptional",(e,n)=>{ie.init(e,n),e._zod.optin="optional",e._zod.optout="optional",de(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,void 0]):void 0),de(e._zod,"pattern",()=>{const i=n.innerType._zod.pattern;return i?new RegExp(`^(${sa(i.source)})?$`):void 0}),e._zod.parse=(i,u)=>{if(n.innerType._zod.optin==="optional"){const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>Xh(a,i.value)):Xh(t,i.value)}return i.value===void 0?i:n.innerType._zod.run(i,u)}}),t0=C("$ZodNullable",(e,n)=>{ie.init(e,n),de(e._zod,"optin",()=>n.innerType._zod.optin),de(e._zod,"optout",()=>n.innerType._zod.optout),de(e._zod,"pattern",()=>{const i=n.innerType._zod.pattern;return i?new RegExp(`^(${sa(i.source)}|null)$`):void 0}),de(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,null]):void 0),e._zod.parse=(i,u)=>i.value===null?i:n.innerType._zod.run(i,u)}),n0=C("$ZodDefault",(e,n)=>{ie.init(e,n),e._zod.optin="optional",de(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(i,u)=>{if(u.direction==="backward")return n.innerType._zod.run(i,u);if(i.value===void 0)return i.value=n.defaultValue,i;const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>Qh(a,n)):Qh(t,n)}});function Qh(e,n){return e.value===void 0&&(e.value=n.defaultValue),e}const r0=C("$ZodPrefault",(e,n)=>{ie.init(e,n),e._zod.optin="optional",de(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(i,u)=>(u.direction==="backward"||i.value===void 0&&(i.value=n.defaultValue),n.innerType._zod.run(i,u))}),i0=C("$ZodNonOptional",(e,n)=>{ie.init(e,n),de(e._zod,"values",()=>{const i=n.innerType._zod.values;return i?new Set([...i].filter(u=>u!==void 0)):void 0}),e._zod.parse=(i,u)=>{const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>ep(a,e)):ep(t,e)}});function ep(e,n){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:n}),e}const o0=C("$ZodSuccess",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{if(u.direction==="backward")throw new ua("ZodSuccess");const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>(i.value=a.issues.length===0,i)):(i.value=t.issues.length===0,i)}}),a0=C("$ZodCatch",(e,n)=>{ie.init(e,n),de(e._zod,"optin",()=>n.innerType._zod.optin),de(e._zod,"optout",()=>n.innerType._zod.optout),de(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(i,u)=>{if(u.direction==="backward")return n.innerType._zod.run(i,u);const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>(i.value=a.value,a.issues.length&&(i.value=n.catchValue({...i,error:{issues:a.issues.map(l=>Zt(l,u,Xe()))},input:i.value}),i.issues=[]),i)):(i.value=t.value,t.issues.length&&(i.value=n.catchValue({...i,error:{issues:t.issues.map(a=>Zt(a,u,Xe()))},input:i.value}),i.issues=[]),i)}}),u0=C("$ZodNaN",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>((typeof i.value!="number"||!Number.isNaN(i.value))&&i.issues.push({input:i.value,inst:e,expected:"nan",code:"invalid_type"}),i)}),s0=C("$ZodPipe",(e,n)=>{ie.init(e,n),de(e._zod,"values",()=>n.in._zod.values),de(e._zod,"optin",()=>n.in._zod.optin),de(e._zod,"optout",()=>n.out._zod.optout),de(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(i,u)=>{if(u.direction==="backward"){const a=n.out._zod.run(i,u);return a instanceof Promise?a.then(l=>Fo(l,n.in,u)):Fo(a,n.in,u)}const t=n.in._zod.run(i,u);return t instanceof Promise?t.then(a=>Fo(a,n.out,u)):Fo(t,n.out,u)}});function Fo(e,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:e.value,issues:e.issues},i)}const Ys=C("$ZodCodec",(e,n)=>{ie.init(e,n),de(e._zod,"values",()=>n.in._zod.values),de(e._zod,"optin",()=>n.in._zod.optin),de(e._zod,"optout",()=>n.out._zod.optout),de(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(i,u)=>{if((u.direction||"forward")==="forward"){const a=n.in._zod.run(i,u);return a instanceof Promise?a.then(l=>Zo(l,n,u)):Zo(a,n,u)}else{const a=n.out._zod.run(i,u);return a instanceof Promise?a.then(l=>Zo(l,n,u)):Zo(a,n,u)}}});function Zo(e,n,i){if(e.issues.length)return e.aborted=!0,e;if((i.direction||"forward")==="forward"){const t=n.transform(e.value,e);return t instanceof Promise?t.then(a=>Bo(e,a,n.out,i)):Bo(e,t,n.out,i)}else{const t=n.reverseTransform(e.value,e);return t instanceof Promise?t.then(a=>Bo(e,a,n.in,i)):Bo(e,t,n.in,i)}}function Bo(e,n,i,u){return e.issues.length?(e.aborted=!0,e):i._zod.run({value:n,issues:e.issues},u)}const l0=C("$ZodReadonly",(e,n)=>{ie.init(e,n),de(e._zod,"propValues",()=>n.innerType._zod.propValues),de(e._zod,"values",()=>n.innerType._zod.values),de(e._zod,"optin",()=>n.innerType._zod.optin),de(e._zod,"optout",()=>n.innerType._zod.optout),e._zod.parse=(i,u)=>{if(u.direction==="backward")return n.innerType._zod.run(i,u);const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(tp):tp(t)}});function tp(e){return e.value=Object.freeze(e.value),e}const c0=C("$ZodTemplateLiteral",(e,n)=>{ie.init(e,n);const i=[];for(const u of n.parts)if(typeof u=="object"&&u!==null){if(!u._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...u._zod.traits].shift()}`);const t=u._zod.pattern instanceof RegExp?u._zod.pattern.source:u._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${u._zod.traits}`);const a=t.startsWith("^")?1:0,l=t.endsWith("$")?t.length-1:t.length;i.push(t.slice(a,l))}else if(u===null||Lp.has(typeof u))i.push(In(`${u}`));else throw new Error(`Invalid template literal part: ${u}`);e._zod.pattern=new RegExp(`^${i.join("")}$`),e._zod.parse=(u,t)=>typeof u.value!="string"?(u.issues.push({input:u.value,inst:e,expected:"template_literal",code:"invalid_type"}),u):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(u.value)||u.issues.push({input:u.value,inst:e,code:"invalid_format",format:n.format??"template_literal",pattern:e._zod.pattern.source}),u)}),d0=C("$ZodFunction",(e,n)=>(ie.init(e,n),e._def=n,e._zod.def=n,e.implement=i=>{if(typeof i!="function")throw new Error("implement() must be called with a function");return function(...u){const t=e._def.input?ds(e._def.input,u):u,a=Reflect.apply(i,this,t);return e._def.output?ds(e._def.output,a):a}},e.implementAsync=i=>{if(typeof i!="function")throw new Error("implementAsync() must be called with a function");return async function(...u){const t=e._def.input?await fs(e._def.input,u):u,a=await Reflect.apply(i,this,t);return e._def.output?await fs(e._def.output,a):a}},e._zod.parse=(i,u)=>typeof i.value!="function"?(i.issues.push({code:"invalid_type",expected:"function",input:i.value,inst:e}),i):(e._def.output&&e._def.output._zod.def.type==="promise"?i.value=e.implementAsync(i.value):i.value=e.implement(i.value),i),e.input=(...i)=>{const u=e.constructor;return Array.isArray(i[0])?new u({type:"function",input:new Vs({type:"tuple",items:i[0],rest:i[1]}),output:e._def.output}):new u({type:"function",input:i[0],output:e._def.output})},e.output=i=>{const u=e.constructor;return new u({type:"function",input:e._def.input,output:i})},e)),f0=C("$ZodPromise",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>Promise.resolve(i.value).then(t=>n.innerType._zod.run({value:t,issues:[]},u))}),h0=C("$ZodLazy",(e,n)=>{ie.init(e,n),de(e._zod,"innerType",()=>n.getter()),de(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),de(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),de(e._zod,"optin",()=>e._zod.innerType._zod.optin??void 0),de(e._zod,"optout",()=>e._zod.innerType._zod.optout??void 0),e._zod.parse=(i,u)=>e._zod.innerType._zod.run(i,u)}),p0=C("$ZodCustom",(e,n)=>{Te.init(e,n),ie.init(e,n),e._zod.parse=(i,u)=>i,e._zod.check=i=>{const u=i.value,t=n.fn(u);if(t instanceof Promise)return t.then(a=>np(a,i,u,e));np(t,i,u,e)}});function np(e,n,i,u){if(!e){const t={code:"custom",input:i,inst:u,path:[...u._zod.def.path??[]],continue:!u._zod.def.abort};u._zod.def.params&&(t.params=u._zod.def.params),n.issues.push(br(t))}}const rb=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"};return t=>{switch(t.code){case"invalid_type":return`مدخلات غير مقبولة: يفترض إدخال ${t.expected}، ولكن تم إدخال ${i(t.input)}`;case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${ne(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${a} ${t.maximum.toString()} ${l.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${a} ${t.minimum.toString()} ${l.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:a.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${a.suffix}"`:a.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${a.includes}"`:a.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${a.pattern}`:`${u[a.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${Z(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function ib(){return{localeError:rb()}}const ob=()=>{const e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Yanlış dəyər: gözlənilən ${t.expected}, daxil olan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${ne(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${a}${t.maximum.toString()} ${l.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Çox kiçik: gözlənilən ${t.origin} ${a}${t.minimum.toString()} ${l.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Yanlış mətn: "${a.prefix}" ilə başlamalıdır`:a.format==="ends_with"?`Yanlış mətn: "${a.suffix}" ilə bitməlidir`:a.format==="includes"?`Yanlış mətn: "${a.includes}" daxil olmalıdır`:a.format==="regex"?`Yanlış mətn: ${a.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${u[a.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function ab(){return{localeError:ob()}}function rp(e,n,i,u){const t=Math.abs(e),a=t%10,l=t%100;return l>=11&&l<=19?u:a===1?n:a>=2&&a<=4?i:u}const ub=()=>{const e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"лік";case"object":{if(Array.isArray(t))return"масіў";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"};return t=>{switch(t.code){case"invalid_type":return`Няправільны ўвод: чакаўся ${t.expected}, атрымана ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${ne(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);if(l){const p=Number(t.maximum),g=rp(p,l.unit.one,l.unit.few,l.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${l.verb} ${a}${t.maximum.toString()} ${g}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);if(l){const p=Number(t.minimum),g=rp(p,l.unit.one,l.unit.few,l.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${l.verb} ${a}${t.minimum.toString()} ${g}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${a.prefix}"`:a.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${a.suffix}"`:a.format==="includes"?`Няправільны радок: павінен змяшчаць "${a.includes}"`:a.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${a.pattern}`:`Няправільны ${u[a.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${Z(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function sb(){return{localeError:ub()}}const lb=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"entrada",email:"adreça electrònica",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ça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return t=>{switch(t.code){case"invalid_type":return`Tipus invàlid: s'esperava ${t.expected}, s'ha rebut ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${ne(t.values[0])}`:`Opció invàlida: s'esperava una de ${Z(t.values," o ")}`;case"too_big":{const a=t.inclusive?"com a màxim":"menys de",l=n(t.origin);return l?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${a} ${t.maximum.toString()} ${l.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"com a mínim":"més de",l=n(t.origin);return l?`Massa petit: s'esperava que ${t.origin} contingués ${a} ${t.minimum.toString()} ${l.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Format invàlid: ha de començar amb "${a.prefix}"`:a.format==="ends_with"?`Format invàlid: ha d'acabar amb "${a.suffix}"`:a.format==="includes"?`Format invàlid: ha d'incloure "${a.includes}"`:a.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${a.pattern}`:`Format invàlid per a ${u[a.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function cb(){return{localeError:lb()}}const db=()=>{const e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"číslo";case"string":return"řetězec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(t))return"pole";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"regulární výraz",email:"e-mailová 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 čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"};return t=>{switch(t.code){case"invalid_type":return`Neplatný vstup: očekáváno ${t.expected}, obdrženo ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${ne(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${a}${t.maximum.toString()} ${l.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${a}${t.minimum.toString()} ${l.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Neplatný řetězec: musí začínat na "${a.prefix}"`:a.format==="ends_with"?`Neplatný řetězec: musí končit na "${a.suffix}"`:a.format==="includes"?`Neplatný řetězec: musí obsahovat "${a.includes}"`:a.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${a.pattern}`:`Neplatný formát ${u[a.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${Z(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function fb(){return{localeError:db()}}const hb=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}},n={string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};function i(l){return e[l]??null}function u(l){return n[l]??l}const t=l=>{const p=typeof l;switch(p){case"number":return Number.isNaN(l)?"NaN":"tal";case"object":return Array.isArray(l)?"liste":l===null?"null":Object.getPrototypeOf(l)!==Object.prototype&&l.constructor?l.constructor.name:"objekt"}return p},a={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æt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",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"};return l=>{switch(l.code){case"invalid_type":return`Ugyldigt input: forventede ${u(l.expected)}, fik ${u(t(l.input))}`;case"invalid_value":return l.values.length===1?`Ugyldig værdi: forventede ${ne(l.values[0])}`:`Ugyldigt valg: forventede en af følgende ${Z(l.values,"|")}`;case"too_big":{const p=l.inclusive?"<=":"<",g=i(l.origin),v=u(l.origin);return g?`For stor: forventede ${v??"value"} ${g.verb} ${p} ${l.maximum.toString()} ${g.unit??"elementer"}`:`For stor: forventede ${v??"value"} havde ${p} ${l.maximum.toString()}`}case"too_small":{const p=l.inclusive?">=":">",g=i(l.origin),v=u(l.origin);return g?`For lille: forventede ${v} ${g.verb} ${p} ${l.minimum.toString()} ${g.unit}`:`For lille: forventede ${v} havde ${p} ${l.minimum.toString()}`}case"invalid_format":{const p=l;return p.format==="starts_with"?`Ugyldig streng: skal starte med "${p.prefix}"`:p.format==="ends_with"?`Ugyldig streng: skal ende med "${p.suffix}"`:p.format==="includes"?`Ugyldig streng: skal indeholde "${p.includes}"`:p.format==="regex"?`Ugyldig streng: skal matche mønsteret ${p.pattern}`:`Ugyldig ${a[p.format]??l.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${l.divisor}`;case"unrecognized_keys":return`${l.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${Z(l.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${l.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${l.origin}`;default:return"Ugyldigt input"}}};function pb(){return{localeError:hb()}}const mb=()=>{const 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 n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"Zahl";case"object":{if(Array.isArray(t))return"Array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Ungültige Eingabe: erwartet ${t.expected}, erhalten ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${ne(t.values[0])}`:`Ungültige Option: erwartet eine von ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${a}${t.maximum.toString()} ${l.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${a}${t.maximum.toString()} ist`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Zu klein: erwartet, dass ${t.origin} ${a}${t.minimum.toString()} ${l.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${a}${t.minimum.toString()} ist`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ungültiger String: muss mit "${a.prefix}" beginnen`:a.format==="ends_with"?`Ungültiger String: muss mit "${a.suffix}" enden`:a.format==="includes"?`Ungültiger String: muss "${a.includes}" enthalten`:a.format==="regex"?`Ungültiger String: muss dem Muster ${a.pattern} entsprechen`:`Ungültig: ${u[a.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${Z(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function gb(){return{localeError:mb()}}const vb=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},$b=()=>{const 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"}};function n(u){return e[u]??null}const i={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"};return u=>{switch(u.code){case"invalid_type":return`Invalid input: expected ${u.expected}, received ${vb(u.input)}`;case"invalid_value":return u.values.length===1?`Invalid input: expected ${ne(u.values[0])}`:`Invalid option: expected one of ${Z(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Too big: expected ${u.origin??"value"} to have ${t}${u.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${u.origin??"value"} to be ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Too small: expected ${u.origin} to have ${t}${u.minimum.toString()} ${a.unit}`:`Too small: expected ${u.origin} to be ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Invalid string: must start with "${t.prefix}"`:t.format==="ends_with"?`Invalid string: must end with "${t.suffix}"`:t.format==="includes"?`Invalid string: must include "${t.includes}"`:t.format==="regex"?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${i[t.format]??u.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${u.divisor}`;case"unrecognized_keys":return`Unrecognized key${u.keys.length>1?"s":""}: ${Z(u.keys,", ")}`;case"invalid_key":return`Invalid key in ${u.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${u.origin}`;default:return"Invalid input"}}};function m0(){return{localeError:$b()}}const _b=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":{if(Array.isArray(e))return"tabelo";if(e===null)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},yb=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function n(u){return e[u]??null}const i={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",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ŭro",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"};return u=>{switch(u.code){case"invalid_type":return`Nevalida enigo: atendiĝis ${u.expected}, riceviĝis ${_b(u.input)}`;case"invalid_value":return u.values.length===1?`Nevalida enigo: atendiĝis ${ne(u.values[0])}`:`Nevalida opcio: atendiĝis unu el ${Z(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Tro granda: atendiĝis ke ${u.origin??"valoro"} havu ${t}${u.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${u.origin??"valoro"} havu ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Tro malgranda: atendiĝis ke ${u.origin} havu ${t}${u.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${u.origin} estu ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${t.prefix}"`:t.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${t.suffix}"`:t.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:t.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${i[t.format]??u.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${u.divisor}`;case"unrecognized_keys":return`Nekonata${u.keys.length>1?"j":""} ŝlosilo${u.keys.length>1?"j":""}: ${Z(u.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${u.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${u.origin}`;default:return"Nevalida enigo"}}};function bb(){return{localeError:yb()}}const Sb=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},n={string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};function i(l){return e[l]??null}function u(l){return n[l]??l}const t=l=>{const p=typeof l;switch(p){case"number":return Number.isNaN(l)?"NaN":"number";case"object":return Array.isArray(l)?"array":l===null?"null":Object.getPrototypeOf(l)!==Object.prototype?l.constructor.name:"object"}return p},a={regex:"entrada",email:"dirección de correo electrónico",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ón ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return l=>{switch(l.code){case"invalid_type":return`Entrada inválida: se esperaba ${u(l.expected)}, recibido ${u(t(l.input))}`;case"invalid_value":return l.values.length===1?`Entrada inválida: se esperaba ${ne(l.values[0])}`:`Opción inválida: se esperaba una de ${Z(l.values,"|")}`;case"too_big":{const p=l.inclusive?"<=":"<",g=i(l.origin),v=u(l.origin);return g?`Demasiado grande: se esperaba que ${v??"valor"} tuviera ${p}${l.maximum.toString()} ${g.unit??"elementos"}`:`Demasiado grande: se esperaba que ${v??"valor"} fuera ${p}${l.maximum.toString()}`}case"too_small":{const p=l.inclusive?">=":">",g=i(l.origin),v=u(l.origin);return g?`Demasiado pequeño: se esperaba que ${v} tuviera ${p}${l.minimum.toString()} ${g.unit}`:`Demasiado pequeño: se esperaba que ${v} fuera ${p}${l.minimum.toString()}`}case"invalid_format":{const p=l;return p.format==="starts_with"?`Cadena inválida: debe comenzar con "${p.prefix}"`:p.format==="ends_with"?`Cadena inválida: debe terminar en "${p.suffix}"`:p.format==="includes"?`Cadena inválida: debe incluir "${p.includes}"`:p.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${p.pattern}`:`Inválido ${a[p.format]??l.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${l.divisor}`;case"unrecognized_keys":return`Llave${l.keys.length>1?"s":""} desconocida${l.keys.length>1?"s":""}: ${Z(l.keys,", ")}`;case"invalid_key":return`Llave inválida en ${u(l.origin)}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${u(l.origin)}`;default:return"Entrada inválida"}}};function wb(){return{localeError:Sb()}}const kb=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"عدد";case"object":{if(Array.isArray(t))return"آرایه";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"};return t=>{switch(t.code){case"invalid_type":return`ورودی نامعتبر: میبایست ${t.expected} میبود، ${i(t.input)} دریافت شد`;case"invalid_value":return t.values.length===1?`ورودی نامعتبر: میبایست ${ne(t.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${Z(t.values,"|")} میبود`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${a}${t.maximum.toString()} ${l.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${a}${t.maximum.toString()} باشد`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`خیلی کوچک: ${t.origin} باید ${a}${t.minimum.toString()} ${l.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${a}${t.minimum.toString()} باشد`}case"invalid_format":{const a=t;return a.format==="starts_with"?`رشته نامعتبر: باید با "${a.prefix}" شروع شود`:a.format==="ends_with"?`رشته نامعتبر: باید با "${a.suffix}" تمام شود`:a.format==="includes"?`رشته نامعتبر: باید شامل "${a.includes}" باشد`:a.format==="regex"?`رشته نامعتبر: باید با الگوی ${a.pattern} مطابقت داشته باشد`:`${u[a.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${Z(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function Ib(){return{localeError:kb()}}const xb=()=>{const e={string:{unit:"merkkiä",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äivämäärän"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"säännöllinen lauseke",email:"sähköpostiosoite",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äivämäärä",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"};return t=>{switch(t.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${t.expected}, oli ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${ne(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Liian suuri: ${l.subject} täytyy olla ${a}${t.maximum.toString()} ${l.unit}`.trim():`Liian suuri: arvon täytyy olla ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Liian pieni: ${l.subject} täytyy olla ${a}${t.minimum.toString()} ${l.unit}`.trim():`Liian pieni: arvon täytyy olla ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${a.prefix}"`:a.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${a.suffix}"`:a.format==="includes"?`Virheellinen syöte: täytyy sisältää "${a.includes}"`:a.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${a.pattern}`:`Virheellinen ${u[a.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${Z(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öte"}}};function Ob(){return{localeError:xb()}}const Eb=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"nombre";case"object":{if(Array.isArray(t))return"tableau";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return t=>{switch(t.code){case"invalid_type":return`Entrée invalide : ${t.expected} attendu, ${i(t.input)} reçu`;case"invalid_value":return t.values.length===1?`Entrée invalide : ${ne(t.values[0])} attendu`:`Option invalide : une valeur parmi ${Z(t.values,"|")} attendue`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Trop grand : ${t.origin??"valeur"} doit ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"élément(s)"}`:`Trop grand : ${t.origin??"valeur"} doit être ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Trop petit : ${t.origin} doit ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Trop petit : ${t.origin} doit être ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chaîne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Chaîne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Chaîne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${a.pattern}`:`${u[a.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${Z(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Ab(){return{localeError:Eb()}}const Nb=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return t=>{switch(t.code){case"invalid_type":return`Entrée invalide : attendu ${t.expected}, reçu ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${ne(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"≤":"<",l=n(t.origin);return l?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${a}${t.maximum.toString()} ${l.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"≥":">",l=n(t.origin);return l?`Trop petit : attendu que ${t.origin} ait ${a}${t.minimum.toString()} ${l.unit}`:`Trop petit : attendu que ${t.origin} soit ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chaîne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Chaîne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Chaîne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Chaîne invalide : doit correspondre au motif ${a.pattern}`:`${u[a.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${Z(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Pb(){return{localeError:Nb()}}const Tb=()=>{const e={string:{unit:"אותיות",verb:"לכלול"},file:{unit:"בייטים",verb:"לכלול"},array:{unit:"פריטים",verb:"לכלול"},set:{unit:"פריטים",verb:"לכלול"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"קלט",email:"כתובת אימייל",url:"כתובת רשת",emoji:"אימוג'י",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"תאריך וזמן ISO",date:"תאריך ISO",time:"זמן ISO",duration:"משך זמן ISO",ipv4:"כתובת IPv4",ipv6:"כתובת IPv6",cidrv4:"טווח IPv4",cidrv6:"טווח IPv6",base64:"מחרוזת בבסיס 64",base64url:"מחרוזת בבסיס 64 לכתובות רשת",json_string:"מחרוזת JSON",e164:"מספר E.164",jwt:"JWT",template_literal:"קלט"};return t=>{switch(t.code){case"invalid_type":return`קלט לא תקין: צריך ${t.expected}, התקבל ${i(t.input)}`;case"invalid_value":return t.values.length===1?`קלט לא תקין: צריך ${ne(t.values[0])}`:`קלט לא תקין: צריך אחת מהאפשרויות ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`גדול מדי: ${t.origin??"value"} צריך להיות ${a}${t.maximum.toString()} ${l.unit??"elements"}`:`גדול מדי: ${t.origin??"value"} צריך להיות ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`קטן מדי: ${t.origin} צריך להיות ${a}${t.minimum.toString()} ${l.unit}`:`קטן מדי: ${t.origin} צריך להיות ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`מחרוזת לא תקינה: חייבת להתחיל ב"${a.prefix}"`:a.format==="ends_with"?`מחרוזת לא תקינה: חייבת להסתיים ב "${a.suffix}"`:a.format==="includes"?`מחרוזת לא תקינה: חייבת לכלול "${a.includes}"`:a.format==="regex"?`מחרוזת לא תקינה: חייבת להתאים לתבנית ${a.pattern}`:`${u[a.format]??t.format} לא תקין`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case"unrecognized_keys":return`מפתח${t.keys.length>1?"ות":""} לא מזוה${t.keys.length>1?"ים":"ה"}: ${Z(t.keys,", ")}`;case"invalid_key":return`מפתח לא תקין ב${t.origin}`;case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t.origin}`;default:return"קלט לא תקין"}}};function Cb(){return{localeError:Tb()}}const zb=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"szám";case"object":{if(Array.isArray(t))return"tömb";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"bemenet",email:"email cím",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őbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"};return t=>{switch(t.code){case"invalid_type":return`Érvénytelen bemenet: a várt érték ${t.expected}, a kapott érték ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${ne(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${a}${t.maximum.toString()} ${l.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${a}${t.minimum.toString()} ${l.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Érvénytelen string: "${a.prefix}" értékkel kell kezdődnie`:a.format==="ends_with"?`Érvénytelen string: "${a.suffix}" értékkel kell végződnie`:a.format==="includes"?`Érvénytelen string: "${a.includes}" értéket kell tartalmaznia`:a.format==="regex"?`Érvénytelen string: ${a.pattern} mintának kell megfelelnie`:`Érvénytelen ${u[a.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function Db(){return{localeError:zb()}}const Ub=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak valid: diharapkan ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${ne(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${a}${t.maximum.toString()} ${l.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Terlalu kecil: diharapkan ${t.origin} memiliki ${a}${t.minimum.toString()} ${l.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;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}`:`${u[a.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":""}: ${Z(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"}}};function Rb(){return{localeError:Ub()}}const Lb=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"númer";case"object":{if(Array.isArray(e))return"fylki";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},Mb=()=>{const e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function n(u){return e[u]??null}const i={regex:"gildi",email:"netfang",url:"vefslóð",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ími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",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ölugildi",jwt:"JWT",template_literal:"gildi"};return u=>{switch(u.code){case"invalid_type":return`Rangt gildi: Þú slóst inn ${Lb(u.input)} þar sem á að vera ${u.expected}`;case"invalid_value":return u.values.length===1?`Rangt gildi: gert ráð fyrir ${ne(u.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${Z(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Of stórt: gert er ráð fyrir að ${u.origin??"gildi"} hafi ${t}${u.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${u.origin??"gildi"} sé ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Of lítið: gert er ráð fyrir að ${u.origin} hafi ${t}${u.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${u.origin} sé ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Ógildur strengur: verður að byrja á "${t.prefix}"`:t.format==="ends_with"?`Ógildur strengur: verður að enda á "${t.suffix}"`:t.format==="includes"?`Ógildur strengur: verður að innihalda "${t.includes}"`:t.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${i[t.format]??u.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${u.divisor}`;case"unrecognized_keys":return`Óþekkt ${u.keys.length>1?"ir lyklar":"ur lykill"}: ${Z(u.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${u.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${u.origin}`;default:return"Rangt gildi"}}};function jb(){return{localeError:Mb()}}const Fb=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"numero";case"object":{if(Array.isArray(t))return"vettore";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Input non valido: atteso ${t.expected}, ricevuto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input non valido: atteso ${ne(t.values[0])}`:`Opzione non valida: atteso uno tra ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Troppo grande: ${t.origin??"valore"} deve avere ${a}${t.maximum.toString()} ${l.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Troppo piccolo: ${t.origin} deve avere ${a}${t.minimum.toString()} ${l.unit}`:`Troppo piccolo: ${t.origin} deve essere ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;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 ${u[a.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"}: ${Z(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"}}};function Zb(){return{localeError:Fb()}}const Bb=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"数値";case"object":{if(Array.isArray(t))return"配列";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"};return t=>{switch(t.code){case"invalid_type":return`無効な入力: ${t.expected}が期待されましたが、${i(t.input)}が入力されました`;case"invalid_value":return t.values.length===1?`無効な入力: ${ne(t.values[0])}が期待されました`:`無効な選択: ${Z(t.values,"、")}のいずれかである必要があります`;case"too_big":{const a=t.inclusive?"以下である":"より小さい",l=n(t.origin);return l?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${l.unit??"要素"}${a}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a}必要があります`}case"too_small":{const a=t.inclusive?"以上である":"より大きい",l=n(t.origin);return l?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${l.unit}${a}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a}必要があります`}case"invalid_format":{const a=t;return a.format==="starts_with"?`無効な文字列: "${a.prefix}"で始まる必要があります`:a.format==="ends_with"?`無効な文字列: "${a.suffix}"で終わる必要があります`:a.format==="includes"?`無効な文字列: "${a.includes}"を含む必要があります`:a.format==="regex"?`無効な文字列: パターン${a.pattern}に一致する必要があります`:`無効な${u[a.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${Z(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function Gb(){return{localeError:Bb()}}const Wb=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"რიცხვი";case"object":{if(Array.isArray(e))return"მასივი";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return{string:"სტრინგი",boolean:"ბულეანი",undefined:"undefined",bigint:"bigint",symbol:"symbol",function:"ფუნქცია"}[n]??n},Hb=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function n(u){return e[u]??null}const i={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული სტრინგი",base64url:"base64url-კოდირებული სტრინგი",json_string:"JSON სტრინგი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"};return u=>{switch(u.code){case"invalid_type":return`არასწორი შეყვანა: მოსალოდნელი ${u.expected}, მიღებული ${Wb(u.input)}`;case"invalid_value":return u.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${ne(u.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${Z(u.values,"|")}-დან`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${u.origin??"მნიშვნელობა"} ${a.verb} ${t}${u.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${u.origin??"მნიშვნელობა"} იყოს ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${u.origin} ${a.verb} ${t}${u.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${u.origin} იყოს ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`არასწორი სტრინგი: უნდა იწყებოდეს "${t.prefix}"-ით`:t.format==="ends_with"?`არასწორი სტრინგი: უნდა მთავრდებოდეს "${t.suffix}"-ით`:t.format==="includes"?`არასწორი სტრინგი: უნდა შეიცავდეს "${t.includes}"-ს`:t.format==="regex"?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${i[t.format]??u.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${u.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${u.keys.length>1?"ები":"ი"}: ${Z(u.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${u.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${u.origin}-ში`;default:return"არასწორი შეყვანა"}}};function qb(){return{localeError:Hb()}}const Kb=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"មិនមែនជាលេខ (NaN)":"លេខ";case"object":{if(Array.isArray(t))return"អារេ (Array)";if(t===null)return"គ្មានតម្លៃ (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"};return t=>{switch(t.code){case"invalid_type":return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t.expected} ប៉ុន្តែទទួលបាន ${i(t.input)}`;case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${ne(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${a} ${t.maximum.toString()} ${l.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`តូចពេក៖ ត្រូវការ ${t.origin} ${a} ${t.minimum.toString()} ${l.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${a.prefix}"`:a.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${a.suffix}"`:a.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${a.includes}"`:a.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${a.pattern}`:`មិនត្រឹមត្រូវ៖ ${u[a.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${Z(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function g0(){return{localeError:Kb()}}function Jb(){return g0()}const Vb=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"};return t=>{switch(t.code){case"invalid_type":return`잘못된 입력: 예상 타입은 ${t.expected}, 받은 타입은 ${i(t.input)}입니다`;case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${ne(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${Z(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const a=t.inclusive?"이하":"미만",l=a==="미만"?"이어야 합니다":"여야 합니다",p=n(t.origin),g=p?.unit??"요소";return p?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${g} ${a}${l}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${a}${l}`}case"too_small":{const a=t.inclusive?"이상":"초과",l=a==="이상"?"이어야 합니다":"여야 합니다",p=n(t.origin),g=p?.unit??"요소";return p?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${g} ${a}${l}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${a}${l}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`잘못된 문자열: "${a.prefix}"(으)로 시작해야 합니다`:a.format==="ends_with"?`잘못된 문자열: "${a.suffix}"(으)로 끝나야 합니다`:a.format==="includes"?`잘못된 문자열: "${a.includes}"을(를) 포함해야 합니다`:a.format==="regex"?`잘못된 문자열: 정규식 ${a.pattern} 패턴과 일치해야 합니다`:`잘못된 ${u[a.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${Z(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function Yb(){return{localeError:Vb()}}const Xb=e=>oi(typeof e,e),oi=(e,n=void 0)=>{switch(e){case"number":return Number.isNaN(n)?"NaN":"skaičius";case"bigint":return"sveikasis skaičius";case"string":return"eilutė";case"boolean":return"loginė reikšmė";case"undefined":case"void":return"neapibrėžta reikšmė";case"function":return"funkcija";case"symbol":return"simbolis";case"object":return n===void 0?"nežinomas objektas":n===null?"nulinė reikšmė":Array.isArray(n)?"masyvas":Object.getPrototypeOf(n)!==Object.prototype&&n.constructor?n.constructor.name:"objektas";case"null":return"nulinė reikšmė"}return e},ni=e=>e.charAt(0).toUpperCase()+e.slice(1);function ip(e){const n=Math.abs(e),i=n%10,u=n%100;return u>=11&&u<=19||i===0?"many":i===1?"one":"few"}const Qb=()=>{const e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function n(u,t,a,l){const p=e[u]??null;return p===null?p:{unit:p.unit[t],verb:p.verb[l][a?"inclusive":"notInclusive"]}}const i={regex:"įvestis",email:"el. pašto 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ė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"};return u=>{switch(u.code){case"invalid_type":return`Gautas tipas ${Xb(u.input)}, o tikėtasi - ${oi(u.expected)}`;case"invalid_value":return u.values.length===1?`Privalo būti ${ne(u.values[0])}`:`Privalo būti vienas iš ${Z(u.values,"|")} pasirinkimų`;case"too_big":{const t=oi(u.origin),a=n(u.origin,ip(Number(u.maximum)),u.inclusive??!1,"smaller");if(a?.verb)return`${ni(t??u.origin??"reikšmė")} ${a.verb} ${u.maximum.toString()} ${a.unit??"elementų"}`;const l=u.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${ni(t??u.origin??"reikšmė")} turi būti ${l} ${u.maximum.toString()} ${a?.unit}`}case"too_small":{const t=oi(u.origin),a=n(u.origin,ip(Number(u.minimum)),u.inclusive??!1,"bigger");if(a?.verb)return`${ni(t??u.origin??"reikšmė")} ${a.verb} ${u.minimum.toString()} ${a.unit??"elementų"}`;const l=u.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${ni(t??u.origin??"reikšmė")} turi būti ${l} ${u.minimum.toString()} ${a?.unit}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Eilutė privalo prasidėti "${t.prefix}"`:t.format==="ends_with"?`Eilutė privalo pasibaigti "${t.suffix}"`:t.format==="includes"?`Eilutė privalo įtraukti "${t.includes}"`:t.format==="regex"?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${i[t.format]??u.format}`}case"not_multiple_of":return`Skaičius privalo būti ${u.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${u.keys.length>1?"i":"as"} rakt${u.keys.length>1?"ai":"as"}: ${Z(u.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const t=oi(u.origin);return`${ni(t??u.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function e7(){return{localeError:Qb()}}const t7=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"број";case"object":{if(Array.isArray(t))return"низа";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"};return t=>{switch(t.code){case"invalid_type":return`Грешен внес: се очекува ${t.expected}, примено ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Invalid input: expected ${ne(t.values[0])}`:`Грешана опција: се очекува една ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${a}${t.maximum.toString()} ${l.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Премногу мал: се очекува ${t.origin} да има ${a}${t.minimum.toString()} ${l.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неважечка низа: мора да започнува со "${a.prefix}"`:a.format==="ends_with"?`Неважечка низа: мора да завршува со "${a.suffix}"`:a.format==="includes"?`Неважечка низа: мора да вклучува "${a.includes}"`:a.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${a.pattern}`:`Invalid ${u[a.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${Z(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function n7(){return{localeError:t7()}}const r7=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"nombor";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak sah: dijangka ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${ne(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Terlalu besar: dijangka ${t.origin??"nilai"} ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Terlalu kecil: dijangka ${t.origin} ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;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}`:`${u[a.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${Z(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"}}};function i7(){return{localeError:r7()}}const o7=()=>{const e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"getal";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Ongeldige invoer: verwacht ${t.expected}, ontving ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${ne(t.values[0])}`:`Ongeldige optie: verwacht één van ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Te lang: verwacht dat ${t.origin??"waarde"} ${a}${t.maximum.toString()} ${l.unit??"elementen"} bevat`:`Te lang: verwacht dat ${t.origin??"waarde"} ${a}${t.maximum.toString()} is`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Te kort: verwacht dat ${t.origin} ${a}${t.minimum.toString()} ${l.unit} bevat`:`Te kort: verwacht dat ${t.origin} ${a}${t.minimum.toString()} is`}case"invalid_format":{const a=t;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: ${u[a.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":""}: ${Z(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"}}};function a7(){return{localeError:o7()}}const u7=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"tall";case"object":{if(Array.isArray(t))return"liste";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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åde",ipv6:"IPv6-område",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"};return t=>{switch(t.code){case"invalid_type":return`Ugyldig input: forventet ${t.expected}, fikk ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${ne(t.values[0])}`:`Ugyldig valg: forventet en av ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`For stor(t): forventet ${t.origin??"value"} til å ha ${a}${t.maximum.toString()} ${l.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`For lite(n): forventet ${t.origin} til å ha ${a}${t.minimum.toString()} ${l.unit}`:`For lite(n): forventet ${t.origin} til å ha ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ugyldig streng: må starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: må ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: må inneholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: må matche mønsteret ${a.pattern}`:`Ugyldig ${u[a.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${Z(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function s7(){return{localeError:u7()}}const l7=()=>{const e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"numara";case"object":{if(Array.isArray(t))return"saf";if(t===null)return"gayb";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"giren",email:"epostagâh",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âmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"};return t=>{switch(t.code){case"invalid_type":return`Fâsit giren: umulan ${t.expected}, alınan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${ne(t.values[0])}`:`Fâsit tercih: mûteberler ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Fazla büyük: ${t.origin??"value"}, ${a}${t.maximum.toString()} ${l.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${a}${t.maximum.toString()} olmalıydı.`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Fazla küçük: ${t.origin}, ${a}${t.minimum.toString()} ${l.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${a}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Fâsit metin: "${a.prefix}" ile başlamalı.`:a.format==="ends_with"?`Fâsit metin: "${a.suffix}" ile bitmeli.`:a.format==="includes"?`Fâsit metin: "${a.includes}" ihtivâ etmeli.`:a.format==="regex"?`Fâsit metin: ${a.pattern} nakşına uymalı.`:`Fâsit ${u[a.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function c7(){return{localeError:l7()}}const d7=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"عدد";case"object":{if(Array.isArray(t))return"ارې";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"};return t=>{switch(t.code){case"invalid_type":return`ناسم ورودي: باید ${t.expected} وای, مګر ${i(t.input)} ترلاسه شو`;case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${ne(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${Z(t.values,"|")} څخه وای`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`ډیر لوی: ${t.origin??"ارزښت"} باید ${a}${t.maximum.toString()} ${l.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${a}${t.maximum.toString()} وي`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`ډیر کوچنی: ${t.origin} باید ${a}${t.minimum.toString()} ${l.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${a}${t.minimum.toString()} وي`}case"invalid_format":{const a=t;return a.format==="starts_with"?`ناسم متن: باید د "${a.prefix}" سره پیل شي`:a.format==="ends_with"?`ناسم متن: باید د "${a.suffix}" سره پای ته ورسيږي`:a.format==="includes"?`ناسم متن: باید "${a.includes}" ولري`:a.format==="regex"?`ناسم متن: باید د ${a.pattern} سره مطابقت ولري`:`${u[a.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${Z(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function f7(){return{localeError:d7()}}const h7=()=>{const e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"liczba";case"object":{if(Array.isArray(t))return"tablica";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"wyrażenie",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ąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"};return t=>{switch(t.code){case"invalid_type":return`Nieprawidłowe dane wejściowe: oczekiwano ${t.expected}, otrzymano ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${ne(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${a}${t.maximum.toString()} ${l.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${a}${t.minimum.toString()} ${l.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${a.prefix}"`:a.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${a.suffix}"`:a.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${a.includes}"`:a.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${a.pattern}`:`Nieprawidłow(y/a/e) ${u[a.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function p7(){return{localeError:h7()}}const m7=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"número";case"object":{if(Array.isArray(t))return"array";if(t===null)return"nulo";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"padrão",email:"endereço 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ção ISO",ipv4:"endereço IPv4",ipv6:"endereço 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úmero E.164",jwt:"JWT",template_literal:"entrada"};return t=>{switch(t.code){case"invalid_type":return`Tipo inválido: esperado ${t.expected}, recebido ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entrada inválida: esperado ${ne(t.values[0])}`:`Opção inválida: esperada uma das ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${a}${t.maximum.toString()} ${l.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Muito pequeno: esperado que ${t.origin} tivesse ${a}${t.minimum.toString()} ${l.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Texto inválido: deve começar com "${a.prefix}"`:a.format==="ends_with"?`Texto inválido: deve terminar com "${a.suffix}"`:a.format==="includes"?`Texto inválido: deve incluir "${a.includes}"`:a.format==="regex"?`Texto inválido: deve corresponder ao padrão ${a.pattern}`:`${u[a.format]??t.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`Chave inválida em ${t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${t.origin}`;default:return"Campo inválido"}}};function g7(){return{localeError:m7()}}function op(e,n,i,u){const t=Math.abs(e),a=t%10,l=t%100;return l>=11&&l<=19?u:a===1?n:a>=2&&a<=4?i:u}const v7=()=>{const e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"число";case"object":{if(Array.isArray(t))return"массив";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"};return t=>{switch(t.code){case"invalid_type":return`Неверный ввод: ожидалось ${t.expected}, получено ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${ne(t.values[0])}`:`Неверный вариант: ожидалось одно из ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);if(l){const p=Number(t.maximum),g=op(p,l.unit.one,l.unit.few,l.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${a}${t.maximum.toString()} ${g}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);if(l){const p=Number(t.minimum),g=op(p,l.unit.one,l.unit.few,l.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${a}${t.minimum.toString()} ${g}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неверная строка: должна начинаться с "${a.prefix}"`:a.format==="ends_with"?`Неверная строка: должна заканчиваться на "${a.suffix}"`:a.format==="includes"?`Неверная строка: должна содержать "${a.includes}"`:a.format==="regex"?`Неверная строка: должна соответствовать шаблону ${a.pattern}`:`Неверный ${u[a.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function $7(){return{localeError:v7()}}const _7=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"število";case"object":{if(Array.isArray(t))return"tabela";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"vnos",email:"e-poštni 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 čas",date:"ISO datum",time:"ISO čas",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 številka",jwt:"JWT",template_literal:"vnos"};return t=>{switch(t.code){case"invalid_type":return`Neveljaven vnos: pričakovano ${t.expected}, prejeto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${ne(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${a}${t.maximum.toString()} ${l.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Premajhno: pričakovano, da bo ${t.origin} imelo ${a}${t.minimum.toString()} ${l.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Neveljaven niz: mora se začeti z "${a.prefix}"`:a.format==="ends_with"?`Neveljaven niz: mora se končati z "${a.suffix}"`:a.format==="includes"?`Neveljaven niz: mora vsebovati "${a.includes}"`:a.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${a.pattern}`:`Neveljaven ${u[a.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${Z(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function y7(){return{localeError:_7()}}const b7=()=>{const e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"antal";case"object":{if(Array.isArray(t))return"lista";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"reguljärt 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äng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"};return t=>{switch(t.code){case"invalid_type":return`Ogiltig inmatning: förväntat ${t.expected}, fick ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${ne(t.values[0])}`:`Ogiltigt val: förväntade en av ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.maximum.toString()} ${l.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.minimum.toString()} ${l.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ogiltig sträng: måste börja med "${a.prefix}"`:a.format==="ends_with"?`Ogiltig sträng: måste sluta med "${a.suffix}"`:a.format==="includes"?`Ogiltig sträng: måste innehålla "${a.includes}"`:a.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${a.pattern}"`:`Ogiltig(t) ${u[a.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${Z(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function S7(){return{localeError:b7()}}const w7=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"எண் அல்லாதது":"எண்";case"object":{if(Array.isArray(t))return"அணி";if(t===null)return"வெறுமை";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"உள்ளீடு",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:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"};return t=>{switch(t.code){case"invalid_type":return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t.expected}, பெறப்பட்டது ${i(t.input)}`;case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${ne(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${Z(t.values,"|")} இல் ஒன்று`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${a}${t.maximum.toString()} ${l.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${a}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${a}${t.minimum.toString()} ${l.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${a}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const a=t;return a.format==="starts_with"?`தவறான சரம்: "${a.prefix}" இல் தொடங்க வேண்டும்`:a.format==="ends_with"?`தவறான சரம்: "${a.suffix}" இல் முடிவடைய வேண்டும்`:a.format==="includes"?`தவறான சரம்: "${a.includes}" ஐ உள்ளடக்க வேண்டும்`:a.format==="regex"?`தவறான சரம்: ${a.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${u[a.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function k7(){return{localeError:w7()}}const I7=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"ไม่ใช่ตัวเลข (NaN)":"ตัวเลข";case"object":{if(Array.isArray(t))return"อาร์เรย์ (Array)";if(t===null)return"ไม่มีค่า (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"};return t=>{switch(t.code){case"invalid_type":return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t.expected} แต่ได้รับ ${i(t.input)}`;case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${ne(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"ไม่เกิน":"น้อยกว่า",l=n(t.origin);return l?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${a} ${t.maximum.toString()} ${l.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"อย่างน้อย":"มากกว่า",l=n(t.origin);return l?`น้อยกว่ากำหนด: ${t.origin} ควรมี${a} ${t.minimum.toString()} ${l.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${a.prefix}"`:a.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${a.suffix}"`:a.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${a.includes}" อยู่ในข้อความ`:a.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${a.pattern}`:`รูปแบบไม่ถูกต้อง: ${u[a.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${Z(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function x7(){return{localeError:I7()}}const O7=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},E7=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function n(u){return e[u]??null}const i={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üre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"};return u=>{switch(u.code){case"invalid_type":return`Geçersiz değer: beklenen ${u.expected}, alınan ${O7(u.input)}`;case"invalid_value":return u.values.length===1?`Geçersiz değer: beklenen ${ne(u.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${Z(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Çok büyük: beklenen ${u.origin??"değer"} ${t}${u.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${u.origin??"değer"} ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Çok küçük: beklenen ${u.origin} ${t}${u.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${u.origin} ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Geçersiz metin: "${t.prefix}" ile başlamalı`:t.format==="ends_with"?`Geçersiz metin: "${t.suffix}" ile bitmeli`:t.format==="includes"?`Geçersiz metin: "${t.includes}" içermeli`:t.format==="regex"?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${i[t.format]??u.format}`}case"not_multiple_of":return`Geçersiz sayı: ${u.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${u.keys.length>1?"lar":""}: ${Z(u.keys,", ")}`;case"invalid_key":return`${u.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${u.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function A7(){return{localeError:E7()}}const N7=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"число";case"object":{if(Array.isArray(t))return"масив";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"};return t=>{switch(t.code){case"invalid_type":return`Неправильні вхідні дані: очікується ${t.expected}, отримано ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${ne(t.values[0])}`:`Неправильна опція: очікується одне з ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Занадто велике: очікується, що ${t.origin??"значення"} ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Занадто мале: очікується, що ${t.origin} ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неправильний рядок: повинен починатися з "${a.prefix}"`:a.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${a.suffix}"`:a.format==="includes"?`Неправильний рядок: повинен містити "${a.includes}"`:a.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${a.pattern}`:`Неправильний ${u[a.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${Z(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function v0(){return{localeError:N7()}}function P7(){return v0()}const T7=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"نمبر";case"object":{if(Array.isArray(t))return"آرے";if(t===null)return"نل";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"};return t=>{switch(t.code){case"invalid_type":return`غلط ان پٹ: ${t.expected} متوقع تھا، ${i(t.input)} موصول ہوا`;case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${ne(t.values[0])} متوقع تھا`:`غلط آپشن: ${Z(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`بہت بڑا: ${t.origin??"ویلیو"} کے ${a}${t.maximum.toString()} ${l.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${a}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`بہت چھوٹا: ${t.origin} کے ${a}${t.minimum.toString()} ${l.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${a}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const a=t;return a.format==="starts_with"?`غلط سٹرنگ: "${a.prefix}" سے شروع ہونا چاہیے`:a.format==="ends_with"?`غلط سٹرنگ: "${a.suffix}" پر ختم ہونا چاہیے`:a.format==="includes"?`غلط سٹرنگ: "${a.includes}" شامل ہونا چاہیے`:a.format==="regex"?`غلط سٹرنگ: پیٹرن ${a.pattern} سے میچ ہونا چاہیے`:`غلط ${u[a.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${Z(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function C7(){return{localeError:T7()}}const z7=()=>{const e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"số";case"object":{if(Array.isArray(t))return"mảng";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"đầu vào",email:"địa chỉ 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ày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"};return t=>{switch(t.code){case"invalid_type":return`Đầu vào không hợp lệ: mong đợi ${t.expected}, nhận được ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${ne(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Quá nhỏ: mong đợi ${t.origin} ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${a.prefix}"`:a.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${a.suffix}"`:a.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${a.includes}"`:a.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${a.pattern}`:`${u[a.format]??t.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${Z(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function D7(){return{localeError:z7()}}const U7=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"非数字(NaN)":"数字";case"object":{if(Array.isArray(t))return"数组";if(t===null)return"空值(null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"};return t=>{switch(t.code){case"invalid_type":return`无效输入:期望 ${t.expected},实际接收 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`无效输入:期望 ${ne(t.values[0])}`:`无效选项:期望以下之一 ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`数值过大:期望 ${t.origin??"值"} ${a}${t.maximum.toString()} ${l.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`数值过小:期望 ${t.origin} ${a}${t.minimum.toString()} ${l.unit}`:`数值过小:期望 ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`无效字符串:必须以 "${a.prefix}" 开头`:a.format==="ends_with"?`无效字符串:必须以 "${a.suffix}" 结尾`:a.format==="includes"?`无效字符串:必须包含 "${a.includes}"`:a.format==="regex"?`无效字符串:必须满足正则表达式 ${a.pattern}`:`无效${u[a.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${Z(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function R7(){return{localeError:U7()}}const L7=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"輸入",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:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"};return t=>{switch(t.code){case"invalid_type":return`無效的輸入值:預期為 ${t.expected},但收到 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${ne(t.values[0])}`:`無效的選項:預期為以下其中之一 ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`數值過大:預期 ${t.origin??"值"} 應為 ${a}${t.maximum.toString()} ${l.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`數值過小:預期 ${t.origin} 應為 ${a}${t.minimum.toString()} ${l.unit}`:`數值過小:預期 ${t.origin} 應為 ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`無效的字串:必須以 "${a.prefix}" 開頭`:a.format==="ends_with"?`無效的字串:必須以 "${a.suffix}" 結尾`:a.format==="includes"?`無效的字串:必須包含 "${a.includes}"`:a.format==="regex"?`無效的字串:必須符合格式 ${a.pattern}`:`無效的 ${u[a.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${Z(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function M7(){return{localeError:L7()}}const j7=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"nọ́mbà";case"object":{if(Array.isArray(t))return"akopọ";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",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:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"};return t=>{switch(t.code){case"invalid_type":return`Ìbáwọlé aṣìṣe: a ní láti fi ${t.expected}, àmọ̀ a rí ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${ne(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${Z(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${l.verb} ${a}${t.maximum} ${l.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${a}${t.maximum}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${l.verb} ${a}${t.minimum} ${l.unit}`:`Kéré ju: a ní láti jẹ́ ${a}${t.minimum}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${a.prefix}"`:a.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${a.suffix}"`:a.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${a.includes}"`:a.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${a.pattern}`:`Aṣìṣe: ${u[a.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${Z(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function F7(){return{localeError:j7()}}const $0=Object.freeze(Object.defineProperty({__proto__:null,ar:ib,az:ab,be:sb,ca:cb,cs:fb,da:pb,de:gb,en:m0,eo:bb,es:wb,fa:Ib,fi:Ob,fr:Ab,frCA:Pb,he:Cb,hu:Db,id:Rb,is:jb,it:Zb,ja:Gb,ka:qb,kh:Jb,km:g0,ko:Yb,lt:e7,mk:n7,ms:i7,nl:a7,no:s7,ota:c7,pl:p7,ps:f7,pt:g7,ru:$7,sl:y7,sv:S7,ta:k7,th:x7,tr:A7,ua:P7,uk:v0,ur:C7,vi:D7,yo:F7,zhCN:R7,zhTW:M7},Symbol.toStringTag,{value:"Module"})),_0=Symbol("ZodOutput"),y0=Symbol("ZodInput");class Xs{constructor(){this._map=new WeakMap,this._idmap=new Map}add(n,...i){const u=i[0];if(this._map.set(n,u),u&&typeof u=="object"&&"id"in u){if(this._idmap.has(u.id))throw new Error(`ID ${u.id} already exists in the registry`);this._idmap.set(u.id,n)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(n){const i=this._map.get(n);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(n),this}get(n){const i=n._zod.parent;if(i){const u={...this.get(i)??{}};delete u.id;const t={...u,...this._map.get(n)};return Object.keys(t).length?t:void 0}return this._map.get(n)}has(n){return this._map.has(n)}}function Qs(){return new Xs}const Mn=Qs();function b0(e,n){return new e({type:"string",...j(n)})}function S0(e,n){return new e({type:"string",coerce:!0,...j(n)})}function el(e,n){return new e({type:"string",format:"email",check:"string_format",abort:!1,...j(n)})}function Yo(e,n){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...j(n)})}function tl(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...j(n)})}function nl(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...j(n)})}function rl(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...j(n)})}function il(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...j(n)})}function fa(e,n){return new e({type:"string",format:"url",check:"string_format",abort:!1,...j(n)})}function ol(e,n){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...j(n)})}function al(e,n){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...j(n)})}function ul(e,n){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...j(n)})}function sl(e,n){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...j(n)})}function ll(e,n){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...j(n)})}function cl(e,n){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...j(n)})}function dl(e,n){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...j(n)})}function fl(e,n){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...j(n)})}function hl(e,n){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...j(n)})}function pl(e,n){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...j(n)})}function ml(e,n){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...j(n)})}function gl(e,n){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...j(n)})}function vl(e,n){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...j(n)})}function $l(e,n){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...j(n)})}function _l(e,n){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...j(n)})}const w0={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function k0(e,n){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...j(n)})}function I0(e,n){return new e({type:"string",format:"date",check:"string_format",...j(n)})}function x0(e,n){return new e({type:"string",format:"time",check:"string_format",precision:null,...j(n)})}function O0(e,n){return new e({type:"string",format:"duration",check:"string_format",...j(n)})}function E0(e,n){return new e({type:"number",checks:[],...j(n)})}function A0(e,n){return new e({type:"number",coerce:!0,checks:[],...j(n)})}function N0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...j(n)})}function P0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...j(n)})}function T0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...j(n)})}function C0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...j(n)})}function z0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...j(n)})}function D0(e,n){return new e({type:"boolean",...j(n)})}function U0(e,n){return new e({type:"boolean",coerce:!0,...j(n)})}function R0(e,n){return new e({type:"bigint",...j(n)})}function L0(e,n){return new e({type:"bigint",coerce:!0,...j(n)})}function M0(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...j(n)})}function j0(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...j(n)})}function F0(e,n){return new e({type:"symbol",...j(n)})}function Z0(e,n){return new e({type:"undefined",...j(n)})}function B0(e,n){return new e({type:"null",...j(n)})}function G0(e){return new e({type:"any"})}function W0(e){return new e({type:"unknown"})}function H0(e,n){return new e({type:"never",...j(n)})}function q0(e,n){return new e({type:"void",...j(n)})}function K0(e,n){return new e({type:"date",...j(n)})}function J0(e,n){return new e({type:"date",coerce:!0,...j(n)})}function V0(e,n){return new e({type:"nan",...j(n)})}function Bn(e,n){return new Bs({check:"less_than",...j(n),value:e,inclusive:!1})}function Ft(e,n){return new Bs({check:"less_than",...j(n),value:e,inclusive:!0})}function Gn(e,n){return new Gs({check:"greater_than",...j(n),value:e,inclusive:!1})}function mt(e,n){return new Gs({check:"greater_than",...j(n),value:e,inclusive:!0})}function Y0(e){return Gn(0,e)}function X0(e){return Bn(0,e)}function Q0(e){return Ft(0,e)}function em(e){return mt(0,e)}function ui(e,n){return new L1({check:"multiple_of",...j(n),value:e})}function ha(e,n){return new F1({check:"max_size",...j(n),maximum:e})}function si(e,n){return new Z1({check:"min_size",...j(n),minimum:e})}function yl(e,n){return new B1({check:"size_equals",...j(n),size:e})}function pa(e,n){return new G1({check:"max_length",...j(n),maximum:e})}function wr(e,n){return new W1({check:"min_length",...j(n),minimum:e})}function ma(e,n){return new H1({check:"length_equals",...j(n),length:e})}function bl(e,n){return new q1({check:"string_format",format:"regex",...j(n),pattern:e})}function Sl(e){return new K1({check:"string_format",format:"lowercase",...j(e)})}function wl(e){return new J1({check:"string_format",format:"uppercase",...j(e)})}function kl(e,n){return new V1({check:"string_format",format:"includes",...j(n),includes:e})}function Il(e,n){return new Y1({check:"string_format",format:"starts_with",...j(n),prefix:e})}function xl(e,n){return new X1({check:"string_format",format:"ends_with",...j(n),suffix:e})}function tm(e,n,i){return new Q1({check:"property",property:e,schema:n,...j(i)})}function Ol(e,n){return new e2({check:"mime_type",mime:e,...j(n)})}function Kn(e){return new t2({check:"overwrite",tx:e})}function El(e){return Kn(n=>n.normalize(e))}function Al(){return Kn(e=>e.trim())}function Nl(){return Kn(e=>e.toLowerCase())}function Pl(){return Kn(e=>e.toUpperCase())}function nm(e,n,i){return new e({type:"array",element:n,...j(i)})}function Z7(e,n,i){return new e({type:"union",options:n,...j(i)})}function B7(e,n,i,u){return new e({type:"union",options:i,discriminator:n,...j(u)})}function G7(e,n,i){return new e({type:"intersection",left:n,right:i})}function W7(e,n,i,u){const t=i instanceof ie,a=t?u:i,l=t?i:null;return new e({type:"tuple",items:n,rest:l,...j(a)})}function H7(e,n,i,u){return new e({type:"record",keyType:n,valueType:i,...j(u)})}function q7(e,n,i,u){return new e({type:"map",keyType:n,valueType:i,...j(u)})}function K7(e,n,i){return new e({type:"set",valueType:n,...j(i)})}function J7(e,n,i){const u=Array.isArray(n)?Object.fromEntries(n.map(t=>[t,t])):n;return new e({type:"enum",entries:u,...j(i)})}function V7(e,n,i){return new e({type:"enum",entries:n,...j(i)})}function Y7(e,n,i){return new e({type:"literal",values:Array.isArray(n)?n:[n],...j(i)})}function rm(e,n){return new e({type:"file",...j(n)})}function X7(e,n){return new e({type:"transform",transform:n})}function Q7(e,n){return new e({type:"optional",innerType:n})}function eS(e,n){return new e({type:"nullable",innerType:n})}function tS(e,n,i){return new e({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():la(i)}})}function nS(e,n,i){return new e({type:"nonoptional",innerType:n,...j(i)})}function rS(e,n){return new e({type:"success",innerType:n})}function iS(e,n,i){return new e({type:"catch",innerType:n,catchValue:typeof i=="function"?i:()=>i})}function oS(e,n,i){return new e({type:"pipe",in:n,out:i})}function aS(e,n){return new e({type:"readonly",innerType:n})}function uS(e,n,i){return new e({type:"template_literal",parts:n,...j(i)})}function sS(e,n){return new e({type:"lazy",getter:n})}function lS(e,n){return new e({type:"promise",innerType:n})}function im(e,n,i){const u=j(i);return u.abort??(u.abort=!0),new e({type:"custom",check:"custom",fn:n,...u})}function om(e,n,i){return new e({type:"custom",check:"custom",fn:n,...j(i)})}function am(e){const n=um(i=>(i.addIssue=u=>{if(typeof u=="string")i.issues.push(br(u,i.value,n._zod.def));else{const t=u;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=i.value),t.inst??(t.inst=n),t.continue??(t.continue=!n._zod.def.abort),i.issues.push(br(t))}},e(i.value,i)));return n}function um(e,n){const i=new Te({check:"custom",...j(n)});return i._zod.check=e,i}function sm(e,n){const i=j(n);let u=i.truthy??["true","1","yes","on","y","enabled"],t=i.falsy??["false","0","no","off","n","disabled"];i.case!=="sensitive"&&(u=u.map(d=>typeof d=="string"?d.toLowerCase():d),t=t.map(d=>typeof d=="string"?d.toLowerCase():d));const a=new Set(u),l=new Set(t),p=e.Codec??Ys,g=e.Boolean??qs,v=e.String??_i,m=new v({type:"string",error:i.error}),_=new g({type:"boolean",error:i.error}),h=new p({type:"pipe",in:m,out:_,transform:((d,c)=>{let y=d;return i.case!=="sensitive"&&(y=y.toLowerCase()),a.has(y)?!0:l.has(y)?!1:(c.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...l],input:c.value,inst:h,continue:!1}),{})}),reverseTransform:((d,c)=>d===!0?u[0]||"true":t[0]||"false"),error:i.error});return h}function yi(e,n,i,u={}){const t=j(u),a={...j(u),check:"string_format",type:"string",format:n,fn:typeof i=="function"?i:p=>i.test(p),...t};return i instanceof RegExp&&(a.pattern=i),new e(a)}class ps{constructor(n){this.counter=0,this.metadataRegistry=n?.metadata??Mn,this.target=n?.target??"draft-2020-12",this.unrepresentable=n?.unrepresentable??"throw",this.override=n?.override??(()=>{}),this.io=n?.io??"output",this.seen=new Map}process(n,i={path:[],schemaPath:[]}){var u;const t=n._zod.def,a={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},l=this.seen.get(n);if(l)return l.count++,i.schemaPath.includes(n)&&(l.cycle=i.path),l.schema;const p={schema:{},count:1,cycle:void 0,path:i.path};this.seen.set(n,p);const g=n._zod.toJSONSchema?.();if(g)p.schema=g;else{const _={...i,schemaPath:[...i.schemaPath,n],path:i.path},h=n._zod.parent;if(h)p.ref=h,this.process(h,_),this.seen.get(h).isParent=!0;else{const d=p.schema;switch(t.type){case"string":{const c=d;c.type="string";const{minimum:y,maximum:b,format:k,patterns:I,contentEncoding:P}=n._zod.bag;if(typeof y=="number"&&(c.minLength=y),typeof b=="number"&&(c.maxLength=b),k&&(c.format=a[k]??k,c.format===""&&delete c.format),P&&(c.contentEncoding=P),I&&I.size>0){const E=[...I];E.length===1?c.pattern=E[0].source:E.length>1&&(p.schema.allOf=[...E.map(x=>({...this.target==="draft-7"||this.target==="draft-4"||this.target==="openapi-3.0"?{type:"string"}:{},pattern:x.source}))])}break}case"number":{const c=d,{minimum:y,maximum:b,format:k,multipleOf:I,exclusiveMaximum:P,exclusiveMinimum:E}=n._zod.bag;typeof k=="string"&&k.includes("int")?c.type="integer":c.type="number",typeof E=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(c.minimum=E,c.exclusiveMinimum=!0):c.exclusiveMinimum=E),typeof y=="number"&&(c.minimum=y,typeof E=="number"&&this.target!=="draft-4"&&(E>=y?delete c.minimum:delete c.exclusiveMinimum)),typeof P=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(c.maximum=P,c.exclusiveMaximum=!0):c.exclusiveMaximum=P),typeof b=="number"&&(c.maximum=b,typeof P=="number"&&this.target!=="draft-4"&&(P<=b?delete c.maximum:delete c.exclusiveMaximum)),typeof I=="number"&&(c.multipleOf=I);break}case"boolean":{const c=d;c.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{this.target==="openapi-3.0"?(d.type="string",d.nullable=!0,d.enum=[null]):d.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{d.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{const c=d,{minimum:y,maximum:b}=n._zod.bag;typeof y=="number"&&(c.minItems=y),typeof b=="number"&&(c.maxItems=b),c.type="array",c.items=this.process(t.element,{..._,path:[..._.path,"items"]});break}case"object":{const c=d;c.type="object",c.properties={};const y=t.shape;for(const I in y)c.properties[I]=this.process(y[I],{..._,path:[..._.path,"properties",I]});const b=new Set(Object.keys(y)),k=new Set([...b].filter(I=>{const P=t.shape[I]._zod;return this.io==="input"?P.optin===void 0:P.optout===void 0}));k.size>0&&(c.required=Array.from(k)),t.catchall?._zod.def.type==="never"?c.additionalProperties=!1:t.catchall?t.catchall&&(c.additionalProperties=this.process(t.catchall,{..._,path:[..._.path,"additionalProperties"]})):this.io==="output"&&(c.additionalProperties=!1);break}case"union":{const c=d,y=t.options.map((b,k)=>this.process(b,{..._,path:[..._.path,"anyOf",k]}));c.anyOf=y;break}case"intersection":{const c=d,y=this.process(t.left,{..._,path:[..._.path,"allOf",0]}),b=this.process(t.right,{..._,path:[..._.path,"allOf",1]}),k=P=>"allOf"in P&&Object.keys(P).length===1,I=[...k(y)?y.allOf:[y],...k(b)?b.allOf:[b]];c.allOf=I;break}case"tuple":{const c=d;c.type="array";const y=this.target==="draft-2020-12"?"prefixItems":"items",b=this.target==="draft-2020-12"||this.target==="openapi-3.0"?"items":"additionalItems",k=t.items.map((x,U)=>this.process(x,{..._,path:[..._.path,y,U]})),I=t.rest?this.process(t.rest,{..._,path:[..._.path,b,...this.target==="openapi-3.0"?[t.items.length]:[]]}):null;this.target==="draft-2020-12"?(c.prefixItems=k,I&&(c.items=I)):this.target==="openapi-3.0"?(c.items={anyOf:k},I&&c.items.anyOf.push(I),c.minItems=k.length,I||(c.maxItems=k.length)):(c.items=k,I&&(c.additionalItems=I));const{minimum:P,maximum:E}=n._zod.bag;typeof P=="number"&&(c.minItems=P),typeof E=="number"&&(c.maxItems=E);break}case"record":{const c=d;c.type="object",(this.target==="draft-7"||this.target==="draft-2020-12")&&(c.propertyNames=this.process(t.keyType,{..._,path:[..._.path,"propertyNames"]})),c.additionalProperties=this.process(t.valueType,{..._,path:[..._.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{const c=d,y=Os(t.entries);y.every(b=>typeof b=="number")&&(c.type="number"),y.every(b=>typeof b=="string")&&(c.type="string"),c.enum=y;break}case"literal":{const c=d,y=[];for(const b of t.values)if(b===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof b=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");y.push(Number(b))}else y.push(b);if(y.length!==0)if(y.length===1){const b=y[0];c.type=b===null?"null":typeof b,this.target==="draft-4"||this.target==="openapi-3.0"?c.enum=[b]:c.const=b}else y.every(b=>typeof b=="number")&&(c.type="number"),y.every(b=>typeof b=="string")&&(c.type="string"),y.every(b=>typeof b=="boolean")&&(c.type="string"),y.every(b=>b===null)&&(c.type="null"),c.enum=y;break}case"file":{const c=d,y={type:"string",format:"binary",contentEncoding:"binary"},{minimum:b,maximum:k,mime:I}=n._zod.bag;b!==void 0&&(y.minLength=b),k!==void 0&&(y.maxLength=k),I?I.length===1?(y.contentMediaType=I[0],Object.assign(c,y)):c.anyOf=I.map(P=>({...y,contentMediaType:P})):Object.assign(c,y);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{const c=this.process(t.innerType,_);this.target==="openapi-3.0"?(p.ref=t.innerType,d.nullable=!0):d.anyOf=[c,{type:"null"}];break}case"nonoptional":{this.process(t.innerType,_),p.ref=t.innerType;break}case"success":{const c=d;c.type="boolean";break}case"default":{this.process(t.innerType,_),p.ref=t.innerType,d.default=JSON.parse(JSON.stringify(t.defaultValue));break}case"prefault":{this.process(t.innerType,_),p.ref=t.innerType,this.io==="input"&&(d._prefault=JSON.parse(JSON.stringify(t.defaultValue)));break}case"catch":{this.process(t.innerType,_),p.ref=t.innerType;let c;try{c=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}d.default=c;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{const c=d,y=n._zod.pattern;if(!y)throw new Error("Pattern not found in template literal");c.type="string",c.pattern=y.source;break}case"pipe":{const c=this.io==="input"?t.in._zod.def.type==="transform"?t.out:t.in:t.out;this.process(c,_),p.ref=c;break}case"readonly":{this.process(t.innerType,_),p.ref=t.innerType,d.readOnly=!0;break}case"promise":{this.process(t.innerType,_),p.ref=t.innerType;break}case"optional":{this.process(t.innerType,_),p.ref=t.innerType;break}case"lazy":{const c=n._zod.innerType;this.process(c,_),p.ref=c;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}case"function":{if(this.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema");break}}}}const v=this.metadataRegistry.get(n);return v&&Object.assign(p.schema,v),this.io==="input"&&Le(n)&&(delete p.schema.examples,delete p.schema.default),this.io==="input"&&p.schema._prefault&&((u=p.schema).default??(u.default=p.schema._prefault)),delete p.schema._prefault,this.seen.get(n).schema}emit(n,i){const u={cycles:i?.cycles??"ref",reused:i?.reused??"inline",external:i?.external??void 0},t=this.seen.get(n);if(!t)throw new Error("Unprocessed schema. This is a bug in Zod.");const a=m=>{const _=this.target==="draft-2020-12"?"$defs":"definitions";if(u.external){const y=u.external.registry.get(m[0])?.id,b=u.external.uri??(I=>I);if(y)return{ref:b(y)};const k=m[1].defId??m[1].schema.id??`schema${this.counter++}`;return m[1].defId=k,{defId:k,ref:`${b("__shared")}#/${_}/${k}`}}if(m[1]===t)return{ref:"#"};const d=`#/${_}/`,c=m[1].schema.id??`__schema${this.counter++}`;return{defId:c,ref:d+c}},l=m=>{if(m[1].schema.$ref)return;const _=m[1],{ref:h,defId:d}=a(m);_.def={..._.schema},d&&(_.defId=d);const c=_.schema;for(const y in c)delete c[y];c.$ref=h};if(u.cycles==="throw")for(const m of this.seen.entries()){const _=m[1];if(_.cycle)throw new Error(`Cycle detected: #/${_.cycle?.join("/")}/<root>
|
|
65
|
+
`)}d.write("payload.value = newResult;"),d.write("return payload;");const k=d.compile();return(P,N)=>k(h,P,N)};let a;const l=br,p=!Ko.jitless,v=p&&Mp.value,m=n.catchall;let _;e._zod.parse=(h,d)=>{_??(_=u.value);const c=h.value;return l(c)?p&&v&&d?.async===!1&&d.jitless!==!0?(a||(a=t(n.shape)),h=a(h,d),m?G2([],c,h,d,_,e):h):i(h,d):(h.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),h)}});function Vh(e,n,i,u){for(const a of e)if(a.issues.length===0)return n.value=a.value,n;const t=e.filter(a=>!Mn(a));return t.length===1?(n.value=t[0].value,t[0]):(n.issues.push({code:"invalid_union",input:n.value,inst:i,errors:e.map(a=>a.issues.map(l=>Bt(l,u,Qe())))}),n)}const Js=C("$ZodUnion",(e,n)=>{ie.init(e,n),de(e._zod,"optin",()=>n.options.some(t=>t._zod.optin==="optional")?"optional":void 0),de(e._zod,"optout",()=>n.options.some(t=>t._zod.optout==="optional")?"optional":void 0),de(e._zod,"values",()=>{if(n.options.every(t=>t._zod.values))return new Set(n.options.flatMap(t=>Array.from(t._zod.values)))}),de(e._zod,"pattern",()=>{if(n.options.every(t=>t._zod.pattern)){const t=n.options.map(a=>a._zod.pattern);return new RegExp(`^(${t.map(a=>la(a.source)).join("|")})$`)}});const i=n.options.length===1,u=n.options[0]._zod.run;e._zod.parse=(t,a)=>{if(i)return u(t,a);let l=!1;const p=[];for(const g of n.options){const v=g._zod.run({value:t.value,issues:[]},a);if(v instanceof Promise)p.push(v),l=!0;else{if(v.issues.length===0)return v;p.push(v)}}return l?Promise.all(p).then(g=>Vh(g,t,e,a)):Vh(p,t,e,a)}}),q2=C("$ZodDiscriminatedUnion",(e,n)=>{Js.init(e,n);const i=e._zod.parse;de(e._zod,"propValues",()=>{const t={};for(const a of n.options){const l=a._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(a)}"`);for(const[p,g]of Object.entries(l)){t[p]||(t[p]=new Set);for(const v of g)t[p].add(v)}}return t});const u=fi(()=>{const t=n.options,a=new Map;for(const l of t){const p=l._zod.propValues?.[n.discriminator];if(!p||p.size===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(l)}"`);for(const g of p){if(a.has(g))throw new Error(`Duplicate discriminator value "${String(g)}"`);a.set(g,l)}}return a});e._zod.parse=(t,a)=>{const l=t.value;if(!br(l))return t.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),t;const p=u.value.get(l?.[n.discriminator]);return p?p._zod.run(t,a):n.unionFallback?i(t,a):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:n.discriminator,input:l,path:[n.discriminator],inst:e}),t)}}),K2=C("$ZodIntersection",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value,a=n.left._zod.run({value:t,issues:[]},u),l=n.right._zod.run({value:t,issues:[]},u);return a instanceof Promise||l instanceof Promise?Promise.all([a,l]).then(([g,v])=>Jh(i,g,v)):Jh(i,a,l)}});function ps(e,n){if(e===n)return{valid:!0,data:e};if(e instanceof Date&&n instanceof Date&&+e==+n)return{valid:!0,data:e};if(Bn(e)&&Bn(n)){const i=Object.keys(n),u=Object.keys(e).filter(a=>i.indexOf(a)!==-1),t={...e,...n};for(const a of u){const l=ps(e[a],n[a]);if(!l.valid)return{valid:!1,mergeErrorPath:[a,...l.mergeErrorPath]};t[a]=l.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return{valid:!1,mergeErrorPath:[]};const i=[];for(let u=0;u<e.length;u++){const t=e[u],a=n[u],l=ps(t,a);if(!l.valid)return{valid:!1,mergeErrorPath:[u,...l.mergeErrorPath]};i.push(l.data)}return{valid:!0,data:i}}return{valid:!1,mergeErrorPath:[]}}function Jh(e,n,i){if(n.issues.length&&e.issues.push(...n.issues),i.issues.length&&e.issues.push(...i.issues),Mn(e))return e;const u=ps(n.value,i.value);if(!u.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);return e.value=u.data,e}const Ys=C("$ZodTuple",(e,n)=>{ie.init(e,n);const i=n.items,u=i.length-[...i].reverse().findIndex(t=>t._zod.optin!=="optional");e._zod.parse=(t,a)=>{const l=t.value;if(!Array.isArray(l))return t.issues.push({input:l,inst:e,expected:"tuple",code:"invalid_type"}),t;t.value=[];const p=[];if(!n.rest){const v=l.length>i.length,m=l.length<u-1;if(v||m)return t.issues.push({...v?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},input:l,inst:e,origin:"array"}),t}let g=-1;for(const v of i){if(g++,g>=l.length&&g>=u)continue;const m=v._zod.run({value:l[g],issues:[]},a);m instanceof Promise?p.push(m.then(_=>Fo(_,t,g))):Fo(m,t,g)}if(n.rest){const v=l.slice(i.length);for(const m of v){g++;const _=n.rest._zod.run({value:m,issues:[]},a);_ instanceof Promise?p.push(_.then(h=>Fo(h,t,g))):Fo(_,t,g)}}return p.length?Promise.all(p).then(()=>t):t}});function Fo(e,n,i){e.issues.length&&n.issues.push(...jt(i,e.issues)),n.value[i]=e.value}const V2=C("$ZodRecord",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!Bn(t))return i.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),i;const a=[];if(n.keyType._zod.values){const l=n.keyType._zod.values;i.value={};for(const g of l)if(typeof g=="string"||typeof g=="number"||typeof g=="symbol"){const v=n.valueType._zod.run({value:t[g],issues:[]},u);v instanceof Promise?a.push(v.then(m=>{m.issues.length&&i.issues.push(...jt(g,m.issues)),i.value[g]=m.value})):(v.issues.length&&i.issues.push(...jt(g,v.issues)),i.value[g]=v.value)}let p;for(const g in t)l.has(g)||(p=p??[],p.push(g));p&&p.length>0&&i.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:p})}else{i.value={};for(const l of Reflect.ownKeys(t)){if(l==="__proto__")continue;const p=n.keyType._zod.run({value:l,issues:[]},u);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(p.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(v=>Bt(v,u,Qe())),input:l,path:[l],inst:e}),i.value[p.value]=p.value;continue}const g=n.valueType._zod.run({value:t[l],issues:[]},u);g instanceof Promise?a.push(g.then(v=>{v.issues.length&&i.issues.push(...jt(l,v.issues)),i.value[p.value]=v.value})):(g.issues.length&&i.issues.push(...jt(l,g.issues)),i.value[p.value]=g.value)}}return a.length?Promise.all(a).then(()=>i):i}}),J2=C("$ZodMap",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!(t instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),i;const a=[];i.value=new Map;for(const[l,p]of t){const g=n.keyType._zod.run({value:l,issues:[]},u),v=n.valueType._zod.run({value:p,issues:[]},u);g instanceof Promise||v instanceof Promise?a.push(Promise.all([g,v]).then(([m,_])=>{Yh(m,_,i,l,t,e,u)})):Yh(g,v,i,l,t,e,u)}return a.length?Promise.all(a).then(()=>i):i}});function Yh(e,n,i,u,t,a,l){e.issues.length&&(Jo.has(typeof u)?i.issues.push(...jt(u,e.issues)):i.issues.push({code:"invalid_key",origin:"map",input:t,inst:a,issues:e.issues.map(p=>Bt(p,l,Qe()))})),n.issues.length&&(Jo.has(typeof u)?i.issues.push(...jt(u,n.issues)):i.issues.push({origin:"map",code:"invalid_element",input:t,inst:a,key:u,issues:n.issues.map(p=>Bt(p,l,Qe()))})),i.value.set(e.value,n.value)}const Y2=C("$ZodSet",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;if(!(t instanceof Set))return i.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),i;const a=[];i.value=new Set;for(const l of t){const p=n.valueType._zod.run({value:l,issues:[]},u);p instanceof Promise?a.push(p.then(g=>Xh(g,i))):Xh(p,i)}return a.length?Promise.all(a).then(()=>i):i}});function Xh(e,n){e.issues.length&&n.issues.push(...e.issues),n.value.add(e.value)}const X2=C("$ZodEnum",(e,n)=>{ie.init(e,n);const i=Ns(n.entries),u=new Set(i);e._zod.values=u,e._zod.pattern=new RegExp(`^(${i.filter(t=>Jo.has(typeof t)).map(t=>typeof t=="string"?On(t):t.toString()).join("|")})$`),e._zod.parse=(t,a)=>{const l=t.value;return u.has(l)||t.issues.push({code:"invalid_value",values:i,input:l,inst:e}),t}}),Q2=C("$ZodLiteral",(e,n)=>{if(ie.init(e,n),n.values.length===0)throw new Error("Cannot create literal schema with no valid values");e._zod.values=new Set(n.values),e._zod.pattern=new RegExp(`^(${n.values.map(i=>typeof i=="string"?On(i):i?On(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,u)=>{const t=i.value;return e._zod.values.has(t)||i.issues.push({code:"invalid_value",values:n.values,input:t,inst:e}),i}}),e0=C("$ZodFile",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{const t=i.value;return t instanceof File||i.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),i}}),t0=C("$ZodTransform",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{if(u.direction==="backward")throw new sa(e.constructor.name);const t=n.transform(i.value,i);if(u.async)return(t instanceof Promise?t:Promise.resolve(t)).then(l=>(i.value=l,i));if(t instanceof Promise)throw new Fn;return i.value=t,i}});function Qh(e,n){return e.issues.length&&n===void 0?{issues:[],value:void 0}:e}const n0=C("$ZodOptional",(e,n)=>{ie.init(e,n),e._zod.optin="optional",e._zod.optout="optional",de(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,void 0]):void 0),de(e._zod,"pattern",()=>{const i=n.innerType._zod.pattern;return i?new RegExp(`^(${la(i.source)})?$`):void 0}),e._zod.parse=(i,u)=>{if(n.innerType._zod.optin==="optional"){const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>Qh(a,i.value)):Qh(t,i.value)}return i.value===void 0?i:n.innerType._zod.run(i,u)}}),r0=C("$ZodNullable",(e,n)=>{ie.init(e,n),de(e._zod,"optin",()=>n.innerType._zod.optin),de(e._zod,"optout",()=>n.innerType._zod.optout),de(e._zod,"pattern",()=>{const i=n.innerType._zod.pattern;return i?new RegExp(`^(${la(i.source)}|null)$`):void 0}),de(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,null]):void 0),e._zod.parse=(i,u)=>i.value===null?i:n.innerType._zod.run(i,u)}),i0=C("$ZodDefault",(e,n)=>{ie.init(e,n),e._zod.optin="optional",de(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(i,u)=>{if(u.direction==="backward")return n.innerType._zod.run(i,u);if(i.value===void 0)return i.value=n.defaultValue,i;const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>ep(a,n)):ep(t,n)}});function ep(e,n){return e.value===void 0&&(e.value=n.defaultValue),e}const o0=C("$ZodPrefault",(e,n)=>{ie.init(e,n),e._zod.optin="optional",de(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(i,u)=>(u.direction==="backward"||i.value===void 0&&(i.value=n.defaultValue),n.innerType._zod.run(i,u))}),a0=C("$ZodNonOptional",(e,n)=>{ie.init(e,n),de(e._zod,"values",()=>{const i=n.innerType._zod.values;return i?new Set([...i].filter(u=>u!==void 0)):void 0}),e._zod.parse=(i,u)=>{const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>tp(a,e)):tp(t,e)}});function tp(e,n){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:n}),e}const u0=C("$ZodSuccess",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>{if(u.direction==="backward")throw new sa("ZodSuccess");const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>(i.value=a.issues.length===0,i)):(i.value=t.issues.length===0,i)}}),s0=C("$ZodCatch",(e,n)=>{ie.init(e,n),de(e._zod,"optin",()=>n.innerType._zod.optin),de(e._zod,"optout",()=>n.innerType._zod.optout),de(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(i,u)=>{if(u.direction==="backward")return n.innerType._zod.run(i,u);const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(a=>(i.value=a.value,a.issues.length&&(i.value=n.catchValue({...i,error:{issues:a.issues.map(l=>Bt(l,u,Qe()))},input:i.value}),i.issues=[]),i)):(i.value=t.value,t.issues.length&&(i.value=n.catchValue({...i,error:{issues:t.issues.map(a=>Bt(a,u,Qe()))},input:i.value}),i.issues=[]),i)}}),l0=C("$ZodNaN",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>((typeof i.value!="number"||!Number.isNaN(i.value))&&i.issues.push({input:i.value,inst:e,expected:"nan",code:"invalid_type"}),i)}),c0=C("$ZodPipe",(e,n)=>{ie.init(e,n),de(e._zod,"values",()=>n.in._zod.values),de(e._zod,"optin",()=>n.in._zod.optin),de(e._zod,"optout",()=>n.out._zod.optout),de(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(i,u)=>{if(u.direction==="backward"){const a=n.out._zod.run(i,u);return a instanceof Promise?a.then(l=>Zo(l,n.in,u)):Zo(a,n.in,u)}const t=n.in._zod.run(i,u);return t instanceof Promise?t.then(a=>Zo(a,n.out,u)):Zo(t,n.out,u)}});function Zo(e,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:e.value,issues:e.issues},i)}const Xs=C("$ZodCodec",(e,n)=>{ie.init(e,n),de(e._zod,"values",()=>n.in._zod.values),de(e._zod,"optin",()=>n.in._zod.optin),de(e._zod,"optout",()=>n.out._zod.optout),de(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(i,u)=>{if((u.direction||"forward")==="forward"){const a=n.in._zod.run(i,u);return a instanceof Promise?a.then(l=>Bo(l,n,u)):Bo(a,n,u)}else{const a=n.out._zod.run(i,u);return a instanceof Promise?a.then(l=>Bo(l,n,u)):Bo(a,n,u)}}});function Bo(e,n,i){if(e.issues.length)return e.aborted=!0,e;if((i.direction||"forward")==="forward"){const t=n.transform(e.value,e);return t instanceof Promise?t.then(a=>Go(e,a,n.out,i)):Go(e,t,n.out,i)}else{const t=n.reverseTransform(e.value,e);return t instanceof Promise?t.then(a=>Go(e,a,n.in,i)):Go(e,t,n.in,i)}}function Go(e,n,i,u){return e.issues.length?(e.aborted=!0,e):i._zod.run({value:n,issues:e.issues},u)}const d0=C("$ZodReadonly",(e,n)=>{ie.init(e,n),de(e._zod,"propValues",()=>n.innerType._zod.propValues),de(e._zod,"values",()=>n.innerType._zod.values),de(e._zod,"optin",()=>n.innerType._zod.optin),de(e._zod,"optout",()=>n.innerType._zod.optout),e._zod.parse=(i,u)=>{if(u.direction==="backward")return n.innerType._zod.run(i,u);const t=n.innerType._zod.run(i,u);return t instanceof Promise?t.then(np):np(t)}});function np(e){return e.value=Object.freeze(e.value),e}const f0=C("$ZodTemplateLiteral",(e,n)=>{ie.init(e,n);const i=[];for(const u of n.parts)if(typeof u=="object"&&u!==null){if(!u._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...u._zod.traits].shift()}`);const t=u._zod.pattern instanceof RegExp?u._zod.pattern.source:u._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${u._zod.traits}`);const a=t.startsWith("^")?1:0,l=t.endsWith("$")?t.length-1:t.length;i.push(t.slice(a,l))}else if(u===null||jp.has(typeof u))i.push(On(`${u}`));else throw new Error(`Invalid template literal part: ${u}`);e._zod.pattern=new RegExp(`^${i.join("")}$`),e._zod.parse=(u,t)=>typeof u.value!="string"?(u.issues.push({input:u.value,inst:e,expected:"template_literal",code:"invalid_type"}),u):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(u.value)||u.issues.push({input:u.value,inst:e,code:"invalid_format",format:n.format??"template_literal",pattern:e._zod.pattern.source}),u)}),h0=C("$ZodFunction",(e,n)=>(ie.init(e,n),e._def=n,e._zod.def=n,e.implement=i=>{if(typeof i!="function")throw new Error("implement() must be called with a function");return function(...u){const t=e._def.input?fs(e._def.input,u):u,a=Reflect.apply(i,this,t);return e._def.output?fs(e._def.output,a):a}},e.implementAsync=i=>{if(typeof i!="function")throw new Error("implementAsync() must be called with a function");return async function(...u){const t=e._def.input?await hs(e._def.input,u):u,a=await Reflect.apply(i,this,t);return e._def.output?await hs(e._def.output,a):a}},e._zod.parse=(i,u)=>typeof i.value!="function"?(i.issues.push({code:"invalid_type",expected:"function",input:i.value,inst:e}),i):(e._def.output&&e._def.output._zod.def.type==="promise"?i.value=e.implementAsync(i.value):i.value=e.implement(i.value),i),e.input=(...i)=>{const u=e.constructor;return Array.isArray(i[0])?new u({type:"function",input:new Ys({type:"tuple",items:i[0],rest:i[1]}),output:e._def.output}):new u({type:"function",input:i[0],output:e._def.output})},e.output=i=>{const u=e.constructor;return new u({type:"function",input:e._def.input,output:i})},e)),p0=C("$ZodPromise",(e,n)=>{ie.init(e,n),e._zod.parse=(i,u)=>Promise.resolve(i.value).then(t=>n.innerType._zod.run({value:t,issues:[]},u))}),m0=C("$ZodLazy",(e,n)=>{ie.init(e,n),de(e._zod,"innerType",()=>n.getter()),de(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),de(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),de(e._zod,"optin",()=>e._zod.innerType._zod.optin??void 0),de(e._zod,"optout",()=>e._zod.innerType._zod.optout??void 0),e._zod.parse=(i,u)=>e._zod.innerType._zod.run(i,u)}),g0=C("$ZodCustom",(e,n)=>{Te.init(e,n),ie.init(e,n),e._zod.parse=(i,u)=>i,e._zod.check=i=>{const u=i.value,t=n.fn(u);if(t instanceof Promise)return t.then(a=>rp(a,i,u,e));rp(t,i,u,e)}});function rp(e,n,i,u){if(!e){const t={code:"custom",input:i,inst:u,path:[...u._zod.def.path??[]],continue:!u._zod.def.abort};u._zod.def.params&&(t.params=u._zod.def.params),n.issues.push(Sr(t))}}const ob=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"};return t=>{switch(t.code){case"invalid_type":return`مدخلات غير مقبولة: يفترض إدخال ${t.expected}، ولكن تم إدخال ${i(t.input)}`;case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${ne(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${a} ${t.maximum.toString()} ${l.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${a} ${t.minimum.toString()} ${l.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:a.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${a.suffix}"`:a.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${a.includes}"`:a.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${a.pattern}`:`${u[a.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${B(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function ab(){return{localeError:ob()}}const ub=()=>{const e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Yanlış dəyər: gözlənilən ${t.expected}, daxil olan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${ne(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${a}${t.maximum.toString()} ${l.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Çox kiçik: gözlənilən ${t.origin} ${a}${t.minimum.toString()} ${l.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Yanlış mətn: "${a.prefix}" ilə başlamalıdır`:a.format==="ends_with"?`Yanlış mətn: "${a.suffix}" ilə bitməlidir`:a.format==="includes"?`Yanlış mətn: "${a.includes}" daxil olmalıdır`:a.format==="regex"?`Yanlış mətn: ${a.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${u[a.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${B(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function sb(){return{localeError:ub()}}function ip(e,n,i,u){const t=Math.abs(e),a=t%10,l=t%100;return l>=11&&l<=19?u:a===1?n:a>=2&&a<=4?i:u}const lb=()=>{const e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"лік";case"object":{if(Array.isArray(t))return"масіў";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"};return t=>{switch(t.code){case"invalid_type":return`Няправільны ўвод: чакаўся ${t.expected}, атрымана ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${ne(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);if(l){const p=Number(t.maximum),g=ip(p,l.unit.one,l.unit.few,l.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${l.verb} ${a}${t.maximum.toString()} ${g}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);if(l){const p=Number(t.minimum),g=ip(p,l.unit.one,l.unit.few,l.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${l.verb} ${a}${t.minimum.toString()} ${g}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${a.prefix}"`:a.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${a.suffix}"`:a.format==="includes"?`Няправільны радок: павінен змяшчаць "${a.includes}"`:a.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${a.pattern}`:`Няправільны ${u[a.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${B(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function cb(){return{localeError:lb()}}const db=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"entrada",email:"adreça electrònica",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ça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return t=>{switch(t.code){case"invalid_type":return`Tipus invàlid: s'esperava ${t.expected}, s'ha rebut ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${ne(t.values[0])}`:`Opció invàlida: s'esperava una de ${B(t.values," o ")}`;case"too_big":{const a=t.inclusive?"com a màxim":"menys de",l=n(t.origin);return l?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${a} ${t.maximum.toString()} ${l.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"com a mínim":"més de",l=n(t.origin);return l?`Massa petit: s'esperava que ${t.origin} contingués ${a} ${t.minimum.toString()} ${l.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Format invàlid: ha de començar amb "${a.prefix}"`:a.format==="ends_with"?`Format invàlid: ha d'acabar amb "${a.suffix}"`:a.format==="includes"?`Format invàlid: ha d'incloure "${a.includes}"`:a.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${a.pattern}`:`Format invàlid per a ${u[a.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${B(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function fb(){return{localeError:db()}}const hb=()=>{const e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"číslo";case"string":return"řetězec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(t))return"pole";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"regulární výraz",email:"e-mailová 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 čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"};return t=>{switch(t.code){case"invalid_type":return`Neplatný vstup: očekáváno ${t.expected}, obdrženo ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${ne(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${a}${t.maximum.toString()} ${l.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${a}${t.minimum.toString()} ${l.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Neplatný řetězec: musí začínat na "${a.prefix}"`:a.format==="ends_with"?`Neplatný řetězec: musí končit na "${a.suffix}"`:a.format==="includes"?`Neplatný řetězec: musí obsahovat "${a.includes}"`:a.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${a.pattern}`:`Neplatný formát ${u[a.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${B(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function pb(){return{localeError:hb()}}const mb=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}},n={string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};function i(l){return e[l]??null}function u(l){return n[l]??l}const t=l=>{const p=typeof l;switch(p){case"number":return Number.isNaN(l)?"NaN":"tal";case"object":return Array.isArray(l)?"liste":l===null?"null":Object.getPrototypeOf(l)!==Object.prototype&&l.constructor?l.constructor.name:"objekt"}return p},a={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æt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",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"};return l=>{switch(l.code){case"invalid_type":return`Ugyldigt input: forventede ${u(l.expected)}, fik ${u(t(l.input))}`;case"invalid_value":return l.values.length===1?`Ugyldig værdi: forventede ${ne(l.values[0])}`:`Ugyldigt valg: forventede en af følgende ${B(l.values,"|")}`;case"too_big":{const p=l.inclusive?"<=":"<",g=i(l.origin),v=u(l.origin);return g?`For stor: forventede ${v??"value"} ${g.verb} ${p} ${l.maximum.toString()} ${g.unit??"elementer"}`:`For stor: forventede ${v??"value"} havde ${p} ${l.maximum.toString()}`}case"too_small":{const p=l.inclusive?">=":">",g=i(l.origin),v=u(l.origin);return g?`For lille: forventede ${v} ${g.verb} ${p} ${l.minimum.toString()} ${g.unit}`:`For lille: forventede ${v} havde ${p} ${l.minimum.toString()}`}case"invalid_format":{const p=l;return p.format==="starts_with"?`Ugyldig streng: skal starte med "${p.prefix}"`:p.format==="ends_with"?`Ugyldig streng: skal ende med "${p.suffix}"`:p.format==="includes"?`Ugyldig streng: skal indeholde "${p.includes}"`:p.format==="regex"?`Ugyldig streng: skal matche mønsteret ${p.pattern}`:`Ugyldig ${a[p.format]??l.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${l.divisor}`;case"unrecognized_keys":return`${l.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${B(l.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${l.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${l.origin}`;default:return"Ugyldigt input"}}};function gb(){return{localeError:mb()}}const vb=()=>{const 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 n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"Zahl";case"object":{if(Array.isArray(t))return"Array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Ungültige Eingabe: erwartet ${t.expected}, erhalten ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${ne(t.values[0])}`:`Ungültige Option: erwartet eine von ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${a}${t.maximum.toString()} ${l.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${a}${t.maximum.toString()} ist`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Zu klein: erwartet, dass ${t.origin} ${a}${t.minimum.toString()} ${l.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${a}${t.minimum.toString()} ist`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ungültiger String: muss mit "${a.prefix}" beginnen`:a.format==="ends_with"?`Ungültiger String: muss mit "${a.suffix}" enden`:a.format==="includes"?`Ungültiger String: muss "${a.includes}" enthalten`:a.format==="regex"?`Ungültiger String: muss dem Muster ${a.pattern} entsprechen`:`Ungültig: ${u[a.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${B(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function $b(){return{localeError:vb()}}const _b=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},yb=()=>{const 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"}};function n(u){return e[u]??null}const i={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"};return u=>{switch(u.code){case"invalid_type":return`Invalid input: expected ${u.expected}, received ${_b(u.input)}`;case"invalid_value":return u.values.length===1?`Invalid input: expected ${ne(u.values[0])}`:`Invalid option: expected one of ${B(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Too big: expected ${u.origin??"value"} to have ${t}${u.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${u.origin??"value"} to be ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Too small: expected ${u.origin} to have ${t}${u.minimum.toString()} ${a.unit}`:`Too small: expected ${u.origin} to be ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Invalid string: must start with "${t.prefix}"`:t.format==="ends_with"?`Invalid string: must end with "${t.suffix}"`:t.format==="includes"?`Invalid string: must include "${t.includes}"`:t.format==="regex"?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${i[t.format]??u.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${u.divisor}`;case"unrecognized_keys":return`Unrecognized key${u.keys.length>1?"s":""}: ${B(u.keys,", ")}`;case"invalid_key":return`Invalid key in ${u.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${u.origin}`;default:return"Invalid input"}}};function v0(){return{localeError:yb()}}const bb=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":{if(Array.isArray(e))return"tabelo";if(e===null)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},Sb=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function n(u){return e[u]??null}const i={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",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ŭro",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"};return u=>{switch(u.code){case"invalid_type":return`Nevalida enigo: atendiĝis ${u.expected}, riceviĝis ${bb(u.input)}`;case"invalid_value":return u.values.length===1?`Nevalida enigo: atendiĝis ${ne(u.values[0])}`:`Nevalida opcio: atendiĝis unu el ${B(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Tro granda: atendiĝis ke ${u.origin??"valoro"} havu ${t}${u.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${u.origin??"valoro"} havu ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Tro malgranda: atendiĝis ke ${u.origin} havu ${t}${u.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${u.origin} estu ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${t.prefix}"`:t.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${t.suffix}"`:t.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:t.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${i[t.format]??u.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${u.divisor}`;case"unrecognized_keys":return`Nekonata${u.keys.length>1?"j":""} ŝlosilo${u.keys.length>1?"j":""}: ${B(u.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${u.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${u.origin}`;default:return"Nevalida enigo"}}};function wb(){return{localeError:Sb()}}const Ib=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},n={string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};function i(l){return e[l]??null}function u(l){return n[l]??l}const t=l=>{const p=typeof l;switch(p){case"number":return Number.isNaN(l)?"NaN":"number";case"object":return Array.isArray(l)?"array":l===null?"null":Object.getPrototypeOf(l)!==Object.prototype?l.constructor.name:"object"}return p},a={regex:"entrada",email:"dirección de correo electrónico",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ón ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return l=>{switch(l.code){case"invalid_type":return`Entrada inválida: se esperaba ${u(l.expected)}, recibido ${u(t(l.input))}`;case"invalid_value":return l.values.length===1?`Entrada inválida: se esperaba ${ne(l.values[0])}`:`Opción inválida: se esperaba una de ${B(l.values,"|")}`;case"too_big":{const p=l.inclusive?"<=":"<",g=i(l.origin),v=u(l.origin);return g?`Demasiado grande: se esperaba que ${v??"valor"} tuviera ${p}${l.maximum.toString()} ${g.unit??"elementos"}`:`Demasiado grande: se esperaba que ${v??"valor"} fuera ${p}${l.maximum.toString()}`}case"too_small":{const p=l.inclusive?">=":">",g=i(l.origin),v=u(l.origin);return g?`Demasiado pequeño: se esperaba que ${v} tuviera ${p}${l.minimum.toString()} ${g.unit}`:`Demasiado pequeño: se esperaba que ${v} fuera ${p}${l.minimum.toString()}`}case"invalid_format":{const p=l;return p.format==="starts_with"?`Cadena inválida: debe comenzar con "${p.prefix}"`:p.format==="ends_with"?`Cadena inválida: debe terminar en "${p.suffix}"`:p.format==="includes"?`Cadena inválida: debe incluir "${p.includes}"`:p.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${p.pattern}`:`Inválido ${a[p.format]??l.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${l.divisor}`;case"unrecognized_keys":return`Llave${l.keys.length>1?"s":""} desconocida${l.keys.length>1?"s":""}: ${B(l.keys,", ")}`;case"invalid_key":return`Llave inválida en ${u(l.origin)}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${u(l.origin)}`;default:return"Entrada inválida"}}};function kb(){return{localeError:Ib()}}const Ob=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"عدد";case"object":{if(Array.isArray(t))return"آرایه";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"};return t=>{switch(t.code){case"invalid_type":return`ورودی نامعتبر: میبایست ${t.expected} میبود، ${i(t.input)} دریافت شد`;case"invalid_value":return t.values.length===1?`ورودی نامعتبر: میبایست ${ne(t.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${B(t.values,"|")} میبود`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${a}${t.maximum.toString()} ${l.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${a}${t.maximum.toString()} باشد`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`خیلی کوچک: ${t.origin} باید ${a}${t.minimum.toString()} ${l.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${a}${t.minimum.toString()} باشد`}case"invalid_format":{const a=t;return a.format==="starts_with"?`رشته نامعتبر: باید با "${a.prefix}" شروع شود`:a.format==="ends_with"?`رشته نامعتبر: باید با "${a.suffix}" تمام شود`:a.format==="includes"?`رشته نامعتبر: باید شامل "${a.includes}" باشد`:a.format==="regex"?`رشته نامعتبر: باید با الگوی ${a.pattern} مطابقت داشته باشد`:`${u[a.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${B(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function Eb(){return{localeError:Ob()}}const Nb=()=>{const e={string:{unit:"merkkiä",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äivämäärän"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"säännöllinen lauseke",email:"sähköpostiosoite",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äivämäärä",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"};return t=>{switch(t.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${t.expected}, oli ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${ne(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Liian suuri: ${l.subject} täytyy olla ${a}${t.maximum.toString()} ${l.unit}`.trim():`Liian suuri: arvon täytyy olla ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Liian pieni: ${l.subject} täytyy olla ${a}${t.minimum.toString()} ${l.unit}`.trim():`Liian pieni: arvon täytyy olla ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${a.prefix}"`:a.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${a.suffix}"`:a.format==="includes"?`Virheellinen syöte: täytyy sisältää "${a.includes}"`:a.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${a.pattern}`:`Virheellinen ${u[a.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${B(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öte"}}};function xb(){return{localeError:Nb()}}const Ab=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"nombre";case"object":{if(Array.isArray(t))return"tableau";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return t=>{switch(t.code){case"invalid_type":return`Entrée invalide : ${t.expected} attendu, ${i(t.input)} reçu`;case"invalid_value":return t.values.length===1?`Entrée invalide : ${ne(t.values[0])} attendu`:`Option invalide : une valeur parmi ${B(t.values,"|")} attendue`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Trop grand : ${t.origin??"valeur"} doit ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"élément(s)"}`:`Trop grand : ${t.origin??"valeur"} doit être ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Trop petit : ${t.origin} doit ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Trop petit : ${t.origin} doit être ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chaîne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Chaîne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Chaîne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${a.pattern}`:`${u[a.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${B(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Pb(){return{localeError:Ab()}}const Tb=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return t=>{switch(t.code){case"invalid_type":return`Entrée invalide : attendu ${t.expected}, reçu ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${ne(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"≤":"<",l=n(t.origin);return l?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${a}${t.maximum.toString()} ${l.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"≥":">",l=n(t.origin);return l?`Trop petit : attendu que ${t.origin} ait ${a}${t.minimum.toString()} ${l.unit}`:`Trop petit : attendu que ${t.origin} soit ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chaîne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Chaîne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Chaîne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Chaîne invalide : doit correspondre au motif ${a.pattern}`:`${u[a.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${B(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Cb(){return{localeError:Tb()}}const zb=()=>{const e={string:{unit:"אותיות",verb:"לכלול"},file:{unit:"בייטים",verb:"לכלול"},array:{unit:"פריטים",verb:"לכלול"},set:{unit:"פריטים",verb:"לכלול"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"קלט",email:"כתובת אימייל",url:"כתובת רשת",emoji:"אימוג'י",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"תאריך וזמן ISO",date:"תאריך ISO",time:"זמן ISO",duration:"משך זמן ISO",ipv4:"כתובת IPv4",ipv6:"כתובת IPv6",cidrv4:"טווח IPv4",cidrv6:"טווח IPv6",base64:"מחרוזת בבסיס 64",base64url:"מחרוזת בבסיס 64 לכתובות רשת",json_string:"מחרוזת JSON",e164:"מספר E.164",jwt:"JWT",template_literal:"קלט"};return t=>{switch(t.code){case"invalid_type":return`קלט לא תקין: צריך ${t.expected}, התקבל ${i(t.input)}`;case"invalid_value":return t.values.length===1?`קלט לא תקין: צריך ${ne(t.values[0])}`:`קלט לא תקין: צריך אחת מהאפשרויות ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`גדול מדי: ${t.origin??"value"} צריך להיות ${a}${t.maximum.toString()} ${l.unit??"elements"}`:`גדול מדי: ${t.origin??"value"} צריך להיות ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`קטן מדי: ${t.origin} צריך להיות ${a}${t.minimum.toString()} ${l.unit}`:`קטן מדי: ${t.origin} צריך להיות ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`מחרוזת לא תקינה: חייבת להתחיל ב"${a.prefix}"`:a.format==="ends_with"?`מחרוזת לא תקינה: חייבת להסתיים ב "${a.suffix}"`:a.format==="includes"?`מחרוזת לא תקינה: חייבת לכלול "${a.includes}"`:a.format==="regex"?`מחרוזת לא תקינה: חייבת להתאים לתבנית ${a.pattern}`:`${u[a.format]??t.format} לא תקין`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case"unrecognized_keys":return`מפתח${t.keys.length>1?"ות":""} לא מזוה${t.keys.length>1?"ים":"ה"}: ${B(t.keys,", ")}`;case"invalid_key":return`מפתח לא תקין ב${t.origin}`;case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t.origin}`;default:return"קלט לא תקין"}}};function Db(){return{localeError:zb()}}const Ub=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"szám";case"object":{if(Array.isArray(t))return"tömb";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"bemenet",email:"email cím",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őbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"};return t=>{switch(t.code){case"invalid_type":return`Érvénytelen bemenet: a várt érték ${t.expected}, a kapott érték ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${ne(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${a}${t.maximum.toString()} ${l.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${a}${t.minimum.toString()} ${l.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Érvénytelen string: "${a.prefix}" értékkel kell kezdődnie`:a.format==="ends_with"?`Érvénytelen string: "${a.suffix}" értékkel kell végződnie`:a.format==="includes"?`Érvénytelen string: "${a.includes}" értéket kell tartalmaznia`:a.format==="regex"?`Érvénytelen string: ${a.pattern} mintának kell megfelelnie`:`Érvénytelen ${u[a.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${B(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function Rb(){return{localeError:Ub()}}const Lb=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak valid: diharapkan ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${ne(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${a}${t.maximum.toString()} ${l.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Terlalu kecil: diharapkan ${t.origin} memiliki ${a}${t.minimum.toString()} ${l.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;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}`:`${u[a.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":""}: ${B(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"}}};function Mb(){return{localeError:Lb()}}const jb=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"númer";case"object":{if(Array.isArray(e))return"fylki";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},Fb=()=>{const e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function n(u){return e[u]??null}const i={regex:"gildi",email:"netfang",url:"vefslóð",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ími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",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ölugildi",jwt:"JWT",template_literal:"gildi"};return u=>{switch(u.code){case"invalid_type":return`Rangt gildi: Þú slóst inn ${jb(u.input)} þar sem á að vera ${u.expected}`;case"invalid_value":return u.values.length===1?`Rangt gildi: gert ráð fyrir ${ne(u.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${B(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Of stórt: gert er ráð fyrir að ${u.origin??"gildi"} hafi ${t}${u.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${u.origin??"gildi"} sé ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Of lítið: gert er ráð fyrir að ${u.origin} hafi ${t}${u.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${u.origin} sé ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Ógildur strengur: verður að byrja á "${t.prefix}"`:t.format==="ends_with"?`Ógildur strengur: verður að enda á "${t.suffix}"`:t.format==="includes"?`Ógildur strengur: verður að innihalda "${t.includes}"`:t.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${i[t.format]??u.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${u.divisor}`;case"unrecognized_keys":return`Óþekkt ${u.keys.length>1?"ir lyklar":"ur lykill"}: ${B(u.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${u.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${u.origin}`;default:return"Rangt gildi"}}};function Zb(){return{localeError:Fb()}}const Bb=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"numero";case"object":{if(Array.isArray(t))return"vettore";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Input non valido: atteso ${t.expected}, ricevuto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input non valido: atteso ${ne(t.values[0])}`:`Opzione non valida: atteso uno tra ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Troppo grande: ${t.origin??"valore"} deve avere ${a}${t.maximum.toString()} ${l.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Troppo piccolo: ${t.origin} deve avere ${a}${t.minimum.toString()} ${l.unit}`:`Troppo piccolo: ${t.origin} deve essere ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;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 ${u[a.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"}: ${B(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"}}};function Gb(){return{localeError:Bb()}}const Wb=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"数値";case"object":{if(Array.isArray(t))return"配列";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"};return t=>{switch(t.code){case"invalid_type":return`無効な入力: ${t.expected}が期待されましたが、${i(t.input)}が入力されました`;case"invalid_value":return t.values.length===1?`無効な入力: ${ne(t.values[0])}が期待されました`:`無効な選択: ${B(t.values,"、")}のいずれかである必要があります`;case"too_big":{const a=t.inclusive?"以下である":"より小さい",l=n(t.origin);return l?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${l.unit??"要素"}${a}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a}必要があります`}case"too_small":{const a=t.inclusive?"以上である":"より大きい",l=n(t.origin);return l?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${l.unit}${a}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a}必要があります`}case"invalid_format":{const a=t;return a.format==="starts_with"?`無効な文字列: "${a.prefix}"で始まる必要があります`:a.format==="ends_with"?`無効な文字列: "${a.suffix}"で終わる必要があります`:a.format==="includes"?`無効な文字列: "${a.includes}"を含む必要があります`:a.format==="regex"?`無効な文字列: パターン${a.pattern}に一致する必要があります`:`無効な${u[a.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${B(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function Hb(){return{localeError:Wb()}}const qb=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"რიცხვი";case"object":{if(Array.isArray(e))return"მასივი";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return{string:"სტრინგი",boolean:"ბულეანი",undefined:"undefined",bigint:"bigint",symbol:"symbol",function:"ფუნქცია"}[n]??n},Kb=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function n(u){return e[u]??null}const i={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული სტრინგი",base64url:"base64url-კოდირებული სტრინგი",json_string:"JSON სტრინგი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"};return u=>{switch(u.code){case"invalid_type":return`არასწორი შეყვანა: მოსალოდნელი ${u.expected}, მიღებული ${qb(u.input)}`;case"invalid_value":return u.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${ne(u.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${B(u.values,"|")}-დან`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${u.origin??"მნიშვნელობა"} ${a.verb} ${t}${u.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${u.origin??"მნიშვნელობა"} იყოს ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${u.origin} ${a.verb} ${t}${u.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${u.origin} იყოს ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`არასწორი სტრინგი: უნდა იწყებოდეს "${t.prefix}"-ით`:t.format==="ends_with"?`არასწორი სტრინგი: უნდა მთავრდებოდეს "${t.suffix}"-ით`:t.format==="includes"?`არასწორი სტრინგი: უნდა შეიცავდეს "${t.includes}"-ს`:t.format==="regex"?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${i[t.format]??u.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${u.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${u.keys.length>1?"ები":"ი"}: ${B(u.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${u.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${u.origin}-ში`;default:return"არასწორი შეყვანა"}}};function Vb(){return{localeError:Kb()}}const Jb=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"មិនមែនជាលេខ (NaN)":"លេខ";case"object":{if(Array.isArray(t))return"អារេ (Array)";if(t===null)return"គ្មានតម្លៃ (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"};return t=>{switch(t.code){case"invalid_type":return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t.expected} ប៉ុន្តែទទួលបាន ${i(t.input)}`;case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${ne(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${a} ${t.maximum.toString()} ${l.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`តូចពេក៖ ត្រូវការ ${t.origin} ${a} ${t.minimum.toString()} ${l.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${a.prefix}"`:a.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${a.suffix}"`:a.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${a.includes}"`:a.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${a.pattern}`:`មិនត្រឹមត្រូវ៖ ${u[a.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${B(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function $0(){return{localeError:Jb()}}function Yb(){return $0()}const Xb=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"};return t=>{switch(t.code){case"invalid_type":return`잘못된 입력: 예상 타입은 ${t.expected}, 받은 타입은 ${i(t.input)}입니다`;case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${ne(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${B(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const a=t.inclusive?"이하":"미만",l=a==="미만"?"이어야 합니다":"여야 합니다",p=n(t.origin),g=p?.unit??"요소";return p?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${g} ${a}${l}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${a}${l}`}case"too_small":{const a=t.inclusive?"이상":"초과",l=a==="이상"?"이어야 합니다":"여야 합니다",p=n(t.origin),g=p?.unit??"요소";return p?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${g} ${a}${l}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${a}${l}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`잘못된 문자열: "${a.prefix}"(으)로 시작해야 합니다`:a.format==="ends_with"?`잘못된 문자열: "${a.suffix}"(으)로 끝나야 합니다`:a.format==="includes"?`잘못된 문자열: "${a.includes}"을(를) 포함해야 합니다`:a.format==="regex"?`잘못된 문자열: 정규식 ${a.pattern} 패턴과 일치해야 합니다`:`잘못된 ${u[a.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${B(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function Qb(){return{localeError:Xb()}}const e7=e=>ai(typeof e,e),ai=(e,n=void 0)=>{switch(e){case"number":return Number.isNaN(n)?"NaN":"skaičius";case"bigint":return"sveikasis skaičius";case"string":return"eilutė";case"boolean":return"loginė reikšmė";case"undefined":case"void":return"neapibrėžta reikšmė";case"function":return"funkcija";case"symbol":return"simbolis";case"object":return n===void 0?"nežinomas objektas":n===null?"nulinė reikšmė":Array.isArray(n)?"masyvas":Object.getPrototypeOf(n)!==Object.prototype&&n.constructor?n.constructor.name:"objektas";case"null":return"nulinė reikšmė"}return e},ri=e=>e.charAt(0).toUpperCase()+e.slice(1);function op(e){const n=Math.abs(e),i=n%10,u=n%100;return u>=11&&u<=19||i===0?"many":i===1?"one":"few"}const t7=()=>{const e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function n(u,t,a,l){const p=e[u]??null;return p===null?p:{unit:p.unit[t],verb:p.verb[l][a?"inclusive":"notInclusive"]}}const i={regex:"įvestis",email:"el. pašto 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ė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"};return u=>{switch(u.code){case"invalid_type":return`Gautas tipas ${e7(u.input)}, o tikėtasi - ${ai(u.expected)}`;case"invalid_value":return u.values.length===1?`Privalo būti ${ne(u.values[0])}`:`Privalo būti vienas iš ${B(u.values,"|")} pasirinkimų`;case"too_big":{const t=ai(u.origin),a=n(u.origin,op(Number(u.maximum)),u.inclusive??!1,"smaller");if(a?.verb)return`${ri(t??u.origin??"reikšmė")} ${a.verb} ${u.maximum.toString()} ${a.unit??"elementų"}`;const l=u.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${ri(t??u.origin??"reikšmė")} turi būti ${l} ${u.maximum.toString()} ${a?.unit}`}case"too_small":{const t=ai(u.origin),a=n(u.origin,op(Number(u.minimum)),u.inclusive??!1,"bigger");if(a?.verb)return`${ri(t??u.origin??"reikšmė")} ${a.verb} ${u.minimum.toString()} ${a.unit??"elementų"}`;const l=u.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${ri(t??u.origin??"reikšmė")} turi būti ${l} ${u.minimum.toString()} ${a?.unit}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Eilutė privalo prasidėti "${t.prefix}"`:t.format==="ends_with"?`Eilutė privalo pasibaigti "${t.suffix}"`:t.format==="includes"?`Eilutė privalo įtraukti "${t.includes}"`:t.format==="regex"?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${i[t.format]??u.format}`}case"not_multiple_of":return`Skaičius privalo būti ${u.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${u.keys.length>1?"i":"as"} rakt${u.keys.length>1?"ai":"as"}: ${B(u.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const t=ai(u.origin);return`${ri(t??u.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function n7(){return{localeError:t7()}}const r7=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"број";case"object":{if(Array.isArray(t))return"низа";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"};return t=>{switch(t.code){case"invalid_type":return`Грешен внес: се очекува ${t.expected}, примено ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Invalid input: expected ${ne(t.values[0])}`:`Грешана опција: се очекува една ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${a}${t.maximum.toString()} ${l.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Премногу мал: се очекува ${t.origin} да има ${a}${t.minimum.toString()} ${l.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неважечка низа: мора да започнува со "${a.prefix}"`:a.format==="ends_with"?`Неважечка низа: мора да завршува со "${a.suffix}"`:a.format==="includes"?`Неважечка низа: мора да вклучува "${a.includes}"`:a.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${a.pattern}`:`Invalid ${u[a.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${B(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function i7(){return{localeError:r7()}}const o7=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"nombor";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak sah: dijangka ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${ne(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Terlalu besar: dijangka ${t.origin??"nilai"} ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Terlalu kecil: dijangka ${t.origin} ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;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}`:`${u[a.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${B(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"}}};function a7(){return{localeError:o7()}}const u7=()=>{const e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"getal";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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"};return t=>{switch(t.code){case"invalid_type":return`Ongeldige invoer: verwacht ${t.expected}, ontving ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${ne(t.values[0])}`:`Ongeldige optie: verwacht één van ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Te lang: verwacht dat ${t.origin??"waarde"} ${a}${t.maximum.toString()} ${l.unit??"elementen"} bevat`:`Te lang: verwacht dat ${t.origin??"waarde"} ${a}${t.maximum.toString()} is`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Te kort: verwacht dat ${t.origin} ${a}${t.minimum.toString()} ${l.unit} bevat`:`Te kort: verwacht dat ${t.origin} ${a}${t.minimum.toString()} is`}case"invalid_format":{const a=t;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: ${u[a.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":""}: ${B(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"}}};function s7(){return{localeError:u7()}}const l7=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"tall";case"object":{if(Array.isArray(t))return"liste";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={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åde",ipv6:"IPv6-område",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"};return t=>{switch(t.code){case"invalid_type":return`Ugyldig input: forventet ${t.expected}, fikk ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${ne(t.values[0])}`:`Ugyldig valg: forventet en av ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`For stor(t): forventet ${t.origin??"value"} til å ha ${a}${t.maximum.toString()} ${l.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`For lite(n): forventet ${t.origin} til å ha ${a}${t.minimum.toString()} ${l.unit}`:`For lite(n): forventet ${t.origin} til å ha ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ugyldig streng: må starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: må ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: må inneholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: må matche mønsteret ${a.pattern}`:`Ugyldig ${u[a.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${B(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function c7(){return{localeError:l7()}}const d7=()=>{const e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"numara";case"object":{if(Array.isArray(t))return"saf";if(t===null)return"gayb";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"giren",email:"epostagâh",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âmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"};return t=>{switch(t.code){case"invalid_type":return`Fâsit giren: umulan ${t.expected}, alınan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${ne(t.values[0])}`:`Fâsit tercih: mûteberler ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Fazla büyük: ${t.origin??"value"}, ${a}${t.maximum.toString()} ${l.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${a}${t.maximum.toString()} olmalıydı.`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Fazla küçük: ${t.origin}, ${a}${t.minimum.toString()} ${l.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${a}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Fâsit metin: "${a.prefix}" ile başlamalı.`:a.format==="ends_with"?`Fâsit metin: "${a.suffix}" ile bitmeli.`:a.format==="includes"?`Fâsit metin: "${a.includes}" ihtivâ etmeli.`:a.format==="regex"?`Fâsit metin: ${a.pattern} nakşına uymalı.`:`Fâsit ${u[a.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${B(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function f7(){return{localeError:d7()}}const h7=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"عدد";case"object":{if(Array.isArray(t))return"ارې";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"};return t=>{switch(t.code){case"invalid_type":return`ناسم ورودي: باید ${t.expected} وای, مګر ${i(t.input)} ترلاسه شو`;case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${ne(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${B(t.values,"|")} څخه وای`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`ډیر لوی: ${t.origin??"ارزښت"} باید ${a}${t.maximum.toString()} ${l.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${a}${t.maximum.toString()} وي`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`ډیر کوچنی: ${t.origin} باید ${a}${t.minimum.toString()} ${l.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${a}${t.minimum.toString()} وي`}case"invalid_format":{const a=t;return a.format==="starts_with"?`ناسم متن: باید د "${a.prefix}" سره پیل شي`:a.format==="ends_with"?`ناسم متن: باید د "${a.suffix}" سره پای ته ورسيږي`:a.format==="includes"?`ناسم متن: باید "${a.includes}" ولري`:a.format==="regex"?`ناسم متن: باید د ${a.pattern} سره مطابقت ولري`:`${u[a.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${B(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function p7(){return{localeError:h7()}}const m7=()=>{const e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"liczba";case"object":{if(Array.isArray(t))return"tablica";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"wyrażenie",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ąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"};return t=>{switch(t.code){case"invalid_type":return`Nieprawidłowe dane wejściowe: oczekiwano ${t.expected}, otrzymano ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${ne(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${a}${t.maximum.toString()} ${l.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${a}${t.minimum.toString()} ${l.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${a.prefix}"`:a.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${a.suffix}"`:a.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${a.includes}"`:a.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${a.pattern}`:`Nieprawidłow(y/a/e) ${u[a.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${B(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function g7(){return{localeError:m7()}}const v7=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"número";case"object":{if(Array.isArray(t))return"array";if(t===null)return"nulo";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"padrão",email:"endereço 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ção ISO",ipv4:"endereço IPv4",ipv6:"endereço 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úmero E.164",jwt:"JWT",template_literal:"entrada"};return t=>{switch(t.code){case"invalid_type":return`Tipo inválido: esperado ${t.expected}, recebido ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entrada inválida: esperado ${ne(t.values[0])}`:`Opção inválida: esperada uma das ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${a}${t.maximum.toString()} ${l.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Muito pequeno: esperado que ${t.origin} tivesse ${a}${t.minimum.toString()} ${l.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Texto inválido: deve começar com "${a.prefix}"`:a.format==="ends_with"?`Texto inválido: deve terminar com "${a.suffix}"`:a.format==="includes"?`Texto inválido: deve incluir "${a.includes}"`:a.format==="regex"?`Texto inválido: deve corresponder ao padrão ${a.pattern}`:`${u[a.format]??t.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${B(t.keys,", ")}`;case"invalid_key":return`Chave inválida em ${t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${t.origin}`;default:return"Campo inválido"}}};function $7(){return{localeError:v7()}}function ap(e,n,i,u){const t=Math.abs(e),a=t%10,l=t%100;return l>=11&&l<=19?u:a===1?n:a>=2&&a<=4?i:u}const _7=()=>{const e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"число";case"object":{if(Array.isArray(t))return"массив";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"};return t=>{switch(t.code){case"invalid_type":return`Неверный ввод: ожидалось ${t.expected}, получено ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${ne(t.values[0])}`:`Неверный вариант: ожидалось одно из ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);if(l){const p=Number(t.maximum),g=ap(p,l.unit.one,l.unit.few,l.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${a}${t.maximum.toString()} ${g}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);if(l){const p=Number(t.minimum),g=ap(p,l.unit.one,l.unit.few,l.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${a}${t.minimum.toString()} ${g}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неверная строка: должна начинаться с "${a.prefix}"`:a.format==="ends_with"?`Неверная строка: должна заканчиваться на "${a.suffix}"`:a.format==="includes"?`Неверная строка: должна содержать "${a.includes}"`:a.format==="regex"?`Неверная строка: должна соответствовать шаблону ${a.pattern}`:`Неверный ${u[a.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${B(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function y7(){return{localeError:_7()}}const b7=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"število";case"object":{if(Array.isArray(t))return"tabela";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"vnos",email:"e-poštni 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 čas",date:"ISO datum",time:"ISO čas",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 številka",jwt:"JWT",template_literal:"vnos"};return t=>{switch(t.code){case"invalid_type":return`Neveljaven vnos: pričakovano ${t.expected}, prejeto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${ne(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${a}${t.maximum.toString()} ${l.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Premajhno: pričakovano, da bo ${t.origin} imelo ${a}${t.minimum.toString()} ${l.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Neveljaven niz: mora se začeti z "${a.prefix}"`:a.format==="ends_with"?`Neveljaven niz: mora se končati z "${a.suffix}"`:a.format==="includes"?`Neveljaven niz: mora vsebovati "${a.includes}"`:a.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${a.pattern}`:`Neveljaven ${u[a.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${B(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function S7(){return{localeError:b7()}}const w7=()=>{const e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"antal";case"object":{if(Array.isArray(t))return"lista";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"reguljärt 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äng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"};return t=>{switch(t.code){case"invalid_type":return`Ogiltig inmatning: förväntat ${t.expected}, fick ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${ne(t.values[0])}`:`Ogiltigt val: förväntade en av ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.maximum.toString()} ${l.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.minimum.toString()} ${l.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ogiltig sträng: måste börja med "${a.prefix}"`:a.format==="ends_with"?`Ogiltig sträng: måste sluta med "${a.suffix}"`:a.format==="includes"?`Ogiltig sträng: måste innehålla "${a.includes}"`:a.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${a.pattern}"`:`Ogiltig(t) ${u[a.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${B(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function I7(){return{localeError:w7()}}const k7=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"எண் அல்லாதது":"எண்";case"object":{if(Array.isArray(t))return"அணி";if(t===null)return"வெறுமை";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"உள்ளீடு",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:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"};return t=>{switch(t.code){case"invalid_type":return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t.expected}, பெறப்பட்டது ${i(t.input)}`;case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${ne(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${B(t.values,"|")} இல் ஒன்று`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${a}${t.maximum.toString()} ${l.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${a}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${a}${t.minimum.toString()} ${l.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${a}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const a=t;return a.format==="starts_with"?`தவறான சரம்: "${a.prefix}" இல் தொடங்க வேண்டும்`:a.format==="ends_with"?`தவறான சரம்: "${a.suffix}" இல் முடிவடைய வேண்டும்`:a.format==="includes"?`தவறான சரம்: "${a.includes}" ஐ உள்ளடக்க வேண்டும்`:a.format==="regex"?`தவறான சரம்: ${a.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${u[a.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${B(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function O7(){return{localeError:k7()}}const E7=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"ไม่ใช่ตัวเลข (NaN)":"ตัวเลข";case"object":{if(Array.isArray(t))return"อาร์เรย์ (Array)";if(t===null)return"ไม่มีค่า (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"};return t=>{switch(t.code){case"invalid_type":return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t.expected} แต่ได้รับ ${i(t.input)}`;case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${ne(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"ไม่เกิน":"น้อยกว่า",l=n(t.origin);return l?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${a} ${t.maximum.toString()} ${l.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"อย่างน้อย":"มากกว่า",l=n(t.origin);return l?`น้อยกว่ากำหนด: ${t.origin} ควรมี${a} ${t.minimum.toString()} ${l.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${a.prefix}"`:a.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${a.suffix}"`:a.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${a.includes}" อยู่ในข้อความ`:a.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${a.pattern}`:`รูปแบบไม่ถูกต้อง: ${u[a.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${B(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function N7(){return{localeError:E7()}}const x7=e=>{const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},A7=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function n(u){return e[u]??null}const i={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üre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"};return u=>{switch(u.code){case"invalid_type":return`Geçersiz değer: beklenen ${u.expected}, alınan ${x7(u.input)}`;case"invalid_value":return u.values.length===1?`Geçersiz değer: beklenen ${ne(u.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${B(u.values,"|")}`;case"too_big":{const t=u.inclusive?"<=":"<",a=n(u.origin);return a?`Çok büyük: beklenen ${u.origin??"değer"} ${t}${u.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${u.origin??"değer"} ${t}${u.maximum.toString()}`}case"too_small":{const t=u.inclusive?">=":">",a=n(u.origin);return a?`Çok küçük: beklenen ${u.origin} ${t}${u.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${u.origin} ${t}${u.minimum.toString()}`}case"invalid_format":{const t=u;return t.format==="starts_with"?`Geçersiz metin: "${t.prefix}" ile başlamalı`:t.format==="ends_with"?`Geçersiz metin: "${t.suffix}" ile bitmeli`:t.format==="includes"?`Geçersiz metin: "${t.includes}" içermeli`:t.format==="regex"?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${i[t.format]??u.format}`}case"not_multiple_of":return`Geçersiz sayı: ${u.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${u.keys.length>1?"lar":""}: ${B(u.keys,", ")}`;case"invalid_key":return`${u.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${u.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function P7(){return{localeError:A7()}}const T7=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"число";case"object":{if(Array.isArray(t))return"масив";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"};return t=>{switch(t.code){case"invalid_type":return`Неправильні вхідні дані: очікується ${t.expected}, отримано ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${ne(t.values[0])}`:`Неправильна опція: очікується одне з ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Занадто велике: очікується, що ${t.origin??"значення"} ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Занадто мале: очікується, що ${t.origin} ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неправильний рядок: повинен починатися з "${a.prefix}"`:a.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${a.suffix}"`:a.format==="includes"?`Неправильний рядок: повинен містити "${a.includes}"`:a.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${a.pattern}`:`Неправильний ${u[a.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${B(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function _0(){return{localeError:T7()}}function C7(){return _0()}const z7=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"نمبر";case"object":{if(Array.isArray(t))return"آرے";if(t===null)return"نل";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"};return t=>{switch(t.code){case"invalid_type":return`غلط ان پٹ: ${t.expected} متوقع تھا، ${i(t.input)} موصول ہوا`;case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${ne(t.values[0])} متوقع تھا`:`غلط آپشن: ${B(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`بہت بڑا: ${t.origin??"ویلیو"} کے ${a}${t.maximum.toString()} ${l.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${a}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`بہت چھوٹا: ${t.origin} کے ${a}${t.minimum.toString()} ${l.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${a}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const a=t;return a.format==="starts_with"?`غلط سٹرنگ: "${a.prefix}" سے شروع ہونا چاہیے`:a.format==="ends_with"?`غلط سٹرنگ: "${a.suffix}" پر ختم ہونا چاہیے`:a.format==="includes"?`غلط سٹرنگ: "${a.includes}" شامل ہونا چاہیے`:a.format==="regex"?`غلط سٹرنگ: پیٹرن ${a.pattern} سے میچ ہونا چاہیے`:`غلط ${u[a.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${B(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function D7(){return{localeError:z7()}}const U7=()=>{const e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"số";case"object":{if(Array.isArray(t))return"mảng";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"đầu vào",email:"địa chỉ 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ày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"};return t=>{switch(t.code){case"invalid_type":return`Đầu vào không hợp lệ: mong đợi ${t.expected}, nhận được ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${ne(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${l.verb} ${a}${t.maximum.toString()} ${l.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Quá nhỏ: mong đợi ${t.origin} ${l.verb} ${a}${t.minimum.toString()} ${l.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${a.prefix}"`:a.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${a.suffix}"`:a.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${a.includes}"`:a.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${a.pattern}`:`${u[a.format]??t.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${B(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function R7(){return{localeError:U7()}}const L7=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"非数字(NaN)":"数字";case"object":{if(Array.isArray(t))return"数组";if(t===null)return"空值(null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"};return t=>{switch(t.code){case"invalid_type":return`无效输入:期望 ${t.expected},实际接收 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`无效输入:期望 ${ne(t.values[0])}`:`无效选项:期望以下之一 ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`数值过大:期望 ${t.origin??"值"} ${a}${t.maximum.toString()} ${l.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`数值过小:期望 ${t.origin} ${a}${t.minimum.toString()} ${l.unit}`:`数值过小:期望 ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`无效字符串:必须以 "${a.prefix}" 开头`:a.format==="ends_with"?`无效字符串:必须以 "${a.suffix}" 结尾`:a.format==="includes"?`无效字符串:必须包含 "${a.includes}"`:a.format==="regex"?`无效字符串:必须满足正则表达式 ${a.pattern}`:`无效${u[a.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${B(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function M7(){return{localeError:L7()}}const j7=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"輸入",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:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"};return t=>{switch(t.code){case"invalid_type":return`無效的輸入值:預期為 ${t.expected},但收到 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${ne(t.values[0])}`:`無效的選項:預期為以下其中之一 ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`數值過大:預期 ${t.origin??"值"} 應為 ${a}${t.maximum.toString()} ${l.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`數值過小:預期 ${t.origin} 應為 ${a}${t.minimum.toString()} ${l.unit}`:`數值過小:預期 ${t.origin} 應為 ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`無效的字串:必須以 "${a.prefix}" 開頭`:a.format==="ends_with"?`無效的字串:必須以 "${a.suffix}" 結尾`:a.format==="includes"?`無效的字串:必須包含 "${a.includes}"`:a.format==="regex"?`無效的字串:必須符合格式 ${a.pattern}`:`無效的 ${u[a.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${B(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function F7(){return{localeError:j7()}}const Z7=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function n(t){return e[t]??null}const i=t=>{const a=typeof t;switch(a){case"number":return Number.isNaN(t)?"NaN":"nọ́mbà";case"object":{if(Array.isArray(t))return"akopọ";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return a},u={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",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:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"};return t=>{switch(t.code){case"invalid_type":return`Ìbáwọlé aṣìṣe: a ní láti fi ${t.expected}, àmọ̀ a rí ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${ne(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${B(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",l=n(t.origin);return l?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${l.verb} ${a}${t.maximum} ${l.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${a}${t.maximum}`}case"too_small":{const a=t.inclusive?">=":">",l=n(t.origin);return l?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${l.verb} ${a}${t.minimum} ${l.unit}`:`Kéré ju: a ní láti jẹ́ ${a}${t.minimum}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${a.prefix}"`:a.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${a.suffix}"`:a.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${a.includes}"`:a.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${a.pattern}`:`Aṣìṣe: ${u[a.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${B(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function B7(){return{localeError:Z7()}}const y0=Object.freeze(Object.defineProperty({__proto__:null,ar:ab,az:sb,be:cb,ca:fb,cs:pb,da:gb,de:$b,en:v0,eo:wb,es:kb,fa:Eb,fi:xb,fr:Pb,frCA:Cb,he:Db,hu:Rb,id:Mb,is:Zb,it:Gb,ja:Hb,ka:Vb,kh:Yb,km:$0,ko:Qb,lt:n7,mk:i7,ms:a7,nl:s7,no:c7,ota:f7,pl:g7,ps:p7,pt:$7,ru:y7,sl:S7,sv:I7,ta:O7,th:N7,tr:P7,ua:C7,uk:_0,ur:D7,vi:R7,yo:B7,zhCN:M7,zhTW:F7},Symbol.toStringTag,{value:"Module"})),b0=Symbol("ZodOutput"),S0=Symbol("ZodInput");class Qs{constructor(){this._map=new WeakMap,this._idmap=new Map}add(n,...i){const u=i[0];if(this._map.set(n,u),u&&typeof u=="object"&&"id"in u){if(this._idmap.has(u.id))throw new Error(`ID ${u.id} already exists in the registry`);this._idmap.set(u.id,n)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(n){const i=this._map.get(n);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(n),this}get(n){const i=n._zod.parent;if(i){const u={...this.get(i)??{}};delete u.id;const t={...u,...this._map.get(n)};return Object.keys(t).length?t:void 0}return this._map.get(n)}has(n){return this._map.has(n)}}function el(){return new Qs}const jn=el();function w0(e,n){return new e({type:"string",...F(n)})}function I0(e,n){return new e({type:"string",coerce:!0,...F(n)})}function tl(e,n){return new e({type:"string",format:"email",check:"string_format",abort:!1,...F(n)})}function Xo(e,n){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...F(n)})}function nl(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...F(n)})}function rl(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...F(n)})}function il(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...F(n)})}function ol(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...F(n)})}function ha(e,n){return new e({type:"string",format:"url",check:"string_format",abort:!1,...F(n)})}function al(e,n){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...F(n)})}function ul(e,n){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...F(n)})}function sl(e,n){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...F(n)})}function ll(e,n){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...F(n)})}function cl(e,n){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...F(n)})}function dl(e,n){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...F(n)})}function fl(e,n){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...F(n)})}function hl(e,n){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...F(n)})}function pl(e,n){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...F(n)})}function ml(e,n){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...F(n)})}function gl(e,n){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...F(n)})}function vl(e,n){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...F(n)})}function $l(e,n){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...F(n)})}function _l(e,n){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...F(n)})}function yl(e,n){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...F(n)})}const k0={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function O0(e,n){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...F(n)})}function E0(e,n){return new e({type:"string",format:"date",check:"string_format",...F(n)})}function N0(e,n){return new e({type:"string",format:"time",check:"string_format",precision:null,...F(n)})}function x0(e,n){return new e({type:"string",format:"duration",check:"string_format",...F(n)})}function A0(e,n){return new e({type:"number",checks:[],...F(n)})}function P0(e,n){return new e({type:"number",coerce:!0,checks:[],...F(n)})}function T0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...F(n)})}function C0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...F(n)})}function z0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...F(n)})}function D0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...F(n)})}function U0(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...F(n)})}function R0(e,n){return new e({type:"boolean",...F(n)})}function L0(e,n){return new e({type:"boolean",coerce:!0,...F(n)})}function M0(e,n){return new e({type:"bigint",...F(n)})}function j0(e,n){return new e({type:"bigint",coerce:!0,...F(n)})}function F0(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...F(n)})}function Z0(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...F(n)})}function B0(e,n){return new e({type:"symbol",...F(n)})}function G0(e,n){return new e({type:"undefined",...F(n)})}function W0(e,n){return new e({type:"null",...F(n)})}function H0(e){return new e({type:"any"})}function q0(e){return new e({type:"unknown"})}function K0(e,n){return new e({type:"never",...F(n)})}function V0(e,n){return new e({type:"void",...F(n)})}function J0(e,n){return new e({type:"date",...F(n)})}function Y0(e,n){return new e({type:"date",coerce:!0,...F(n)})}function X0(e,n){return new e({type:"nan",...F(n)})}function Gn(e,n){return new Gs({check:"less_than",...F(n),value:e,inclusive:!1})}function Zt(e,n){return new Gs({check:"less_than",...F(n),value:e,inclusive:!0})}function Wn(e,n){return new Ws({check:"greater_than",...F(n),value:e,inclusive:!1})}function gt(e,n){return new Ws({check:"greater_than",...F(n),value:e,inclusive:!0})}function Q0(e){return Wn(0,e)}function em(e){return Gn(0,e)}function tm(e){return Zt(0,e)}function nm(e){return gt(0,e)}function si(e,n){return new j1({check:"multiple_of",...F(n),value:e})}function pa(e,n){return new B1({check:"max_size",...F(n),maximum:e})}function li(e,n){return new G1({check:"min_size",...F(n),minimum:e})}function bl(e,n){return new W1({check:"size_equals",...F(n),size:e})}function ma(e,n){return new H1({check:"max_length",...F(n),maximum:e})}function Ir(e,n){return new q1({check:"min_length",...F(n),minimum:e})}function ga(e,n){return new K1({check:"length_equals",...F(n),length:e})}function Sl(e,n){return new V1({check:"string_format",format:"regex",...F(n),pattern:e})}function wl(e){return new J1({check:"string_format",format:"lowercase",...F(e)})}function Il(e){return new Y1({check:"string_format",format:"uppercase",...F(e)})}function kl(e,n){return new X1({check:"string_format",format:"includes",...F(n),includes:e})}function Ol(e,n){return new Q1({check:"string_format",format:"starts_with",...F(n),prefix:e})}function El(e,n){return new e2({check:"string_format",format:"ends_with",...F(n),suffix:e})}function rm(e,n,i){return new t2({check:"property",property:e,schema:n,...F(i)})}function Nl(e,n){return new n2({check:"mime_type",mime:e,...F(n)})}function Vn(e){return new r2({check:"overwrite",tx:e})}function xl(e){return Vn(n=>n.normalize(e))}function Al(){return Vn(e=>e.trim())}function Pl(){return Vn(e=>e.toLowerCase())}function Tl(){return Vn(e=>e.toUpperCase())}function im(e,n,i){return new e({type:"array",element:n,...F(i)})}function G7(e,n,i){return new e({type:"union",options:n,...F(i)})}function W7(e,n,i,u){return new e({type:"union",options:i,discriminator:n,...F(u)})}function H7(e,n,i){return new e({type:"intersection",left:n,right:i})}function q7(e,n,i,u){const t=i instanceof ie,a=t?u:i,l=t?i:null;return new e({type:"tuple",items:n,rest:l,...F(a)})}function K7(e,n,i,u){return new e({type:"record",keyType:n,valueType:i,...F(u)})}function V7(e,n,i,u){return new e({type:"map",keyType:n,valueType:i,...F(u)})}function J7(e,n,i){return new e({type:"set",valueType:n,...F(i)})}function Y7(e,n,i){const u=Array.isArray(n)?Object.fromEntries(n.map(t=>[t,t])):n;return new e({type:"enum",entries:u,...F(i)})}function X7(e,n,i){return new e({type:"enum",entries:n,...F(i)})}function Q7(e,n,i){return new e({type:"literal",values:Array.isArray(n)?n:[n],...F(i)})}function om(e,n){return new e({type:"file",...F(n)})}function eS(e,n){return new e({type:"transform",transform:n})}function tS(e,n){return new e({type:"optional",innerType:n})}function nS(e,n){return new e({type:"nullable",innerType:n})}function rS(e,n,i){return new e({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():ca(i)}})}function iS(e,n,i){return new e({type:"nonoptional",innerType:n,...F(i)})}function oS(e,n){return new e({type:"success",innerType:n})}function aS(e,n,i){return new e({type:"catch",innerType:n,catchValue:typeof i=="function"?i:()=>i})}function uS(e,n,i){return new e({type:"pipe",in:n,out:i})}function sS(e,n){return new e({type:"readonly",innerType:n})}function lS(e,n,i){return new e({type:"template_literal",parts:n,...F(i)})}function cS(e,n){return new e({type:"lazy",getter:n})}function dS(e,n){return new e({type:"promise",innerType:n})}function am(e,n,i){const u=F(i);return u.abort??(u.abort=!0),new e({type:"custom",check:"custom",fn:n,...u})}function um(e,n,i){return new e({type:"custom",check:"custom",fn:n,...F(i)})}function sm(e){const n=lm(i=>(i.addIssue=u=>{if(typeof u=="string")i.issues.push(Sr(u,i.value,n._zod.def));else{const t=u;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=i.value),t.inst??(t.inst=n),t.continue??(t.continue=!n._zod.def.abort),i.issues.push(Sr(t))}},e(i.value,i)));return n}function lm(e,n){const i=new Te({check:"custom",...F(n)});return i._zod.check=e,i}function cm(e,n){const i=F(n);let u=i.truthy??["true","1","yes","on","y","enabled"],t=i.falsy??["false","0","no","off","n","disabled"];i.case!=="sensitive"&&(u=u.map(d=>typeof d=="string"?d.toLowerCase():d),t=t.map(d=>typeof d=="string"?d.toLowerCase():d));const a=new Set(u),l=new Set(t),p=e.Codec??Xs,g=e.Boolean??Ks,v=e.String??yi,m=new v({type:"string",error:i.error}),_=new g({type:"boolean",error:i.error}),h=new p({type:"pipe",in:m,out:_,transform:((d,c)=>{let y=d;return i.case!=="sensitive"&&(y=y.toLowerCase()),a.has(y)?!0:l.has(y)?!1:(c.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...l],input:c.value,inst:h,continue:!1}),{})}),reverseTransform:((d,c)=>d===!0?u[0]||"true":t[0]||"false"),error:i.error});return h}function bi(e,n,i,u={}){const t=F(u),a={...F(u),check:"string_format",type:"string",format:n,fn:typeof i=="function"?i:p=>i.test(p),...t};return i instanceof RegExp&&(a.pattern=i),new e(a)}class ms{constructor(n){this.counter=0,this.metadataRegistry=n?.metadata??jn,this.target=n?.target??"draft-2020-12",this.unrepresentable=n?.unrepresentable??"throw",this.override=n?.override??(()=>{}),this.io=n?.io??"output",this.seen=new Map}process(n,i={path:[],schemaPath:[]}){var u;const t=n._zod.def,a={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},l=this.seen.get(n);if(l)return l.count++,i.schemaPath.includes(n)&&(l.cycle=i.path),l.schema;const p={schema:{},count:1,cycle:void 0,path:i.path};this.seen.set(n,p);const g=n._zod.toJSONSchema?.();if(g)p.schema=g;else{const _={...i,schemaPath:[...i.schemaPath,n],path:i.path},h=n._zod.parent;if(h)p.ref=h,this.process(h,_),this.seen.get(h).isParent=!0;else{const d=p.schema;switch(t.type){case"string":{const c=d;c.type="string";const{minimum:y,maximum:b,format:I,patterns:k,contentEncoding:P}=n._zod.bag;if(typeof y=="number"&&(c.minLength=y),typeof b=="number"&&(c.maxLength=b),I&&(c.format=a[I]??I,c.format===""&&delete c.format),P&&(c.contentEncoding=P),k&&k.size>0){const N=[...k];N.length===1?c.pattern=N[0].source:N.length>1&&(p.schema.allOf=[...N.map(O=>({...this.target==="draft-7"||this.target==="draft-4"||this.target==="openapi-3.0"?{type:"string"}:{},pattern:O.source}))])}break}case"number":{const c=d,{minimum:y,maximum:b,format:I,multipleOf:k,exclusiveMaximum:P,exclusiveMinimum:N}=n._zod.bag;typeof I=="string"&&I.includes("int")?c.type="integer":c.type="number",typeof N=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(c.minimum=N,c.exclusiveMinimum=!0):c.exclusiveMinimum=N),typeof y=="number"&&(c.minimum=y,typeof N=="number"&&this.target!=="draft-4"&&(N>=y?delete c.minimum:delete c.exclusiveMinimum)),typeof P=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(c.maximum=P,c.exclusiveMaximum=!0):c.exclusiveMaximum=P),typeof b=="number"&&(c.maximum=b,typeof P=="number"&&this.target!=="draft-4"&&(P<=b?delete c.maximum:delete c.exclusiveMaximum)),typeof k=="number"&&(c.multipleOf=k);break}case"boolean":{const c=d;c.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{this.target==="openapi-3.0"?(d.type="string",d.nullable=!0,d.enum=[null]):d.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{d.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{const c=d,{minimum:y,maximum:b}=n._zod.bag;typeof y=="number"&&(c.minItems=y),typeof b=="number"&&(c.maxItems=b),c.type="array",c.items=this.process(t.element,{..._,path:[..._.path,"items"]});break}case"object":{const c=d;c.type="object",c.properties={};const y=t.shape;for(const k in y)c.properties[k]=this.process(y[k],{..._,path:[..._.path,"properties",k]});const b=new Set(Object.keys(y)),I=new Set([...b].filter(k=>{const P=t.shape[k]._zod;return this.io==="input"?P.optin===void 0:P.optout===void 0}));I.size>0&&(c.required=Array.from(I)),t.catchall?._zod.def.type==="never"?c.additionalProperties=!1:t.catchall?t.catchall&&(c.additionalProperties=this.process(t.catchall,{..._,path:[..._.path,"additionalProperties"]})):this.io==="output"&&(c.additionalProperties=!1);break}case"union":{const c=d,y=t.options.map((b,I)=>this.process(b,{..._,path:[..._.path,"anyOf",I]}));c.anyOf=y;break}case"intersection":{const c=d,y=this.process(t.left,{..._,path:[..._.path,"allOf",0]}),b=this.process(t.right,{..._,path:[..._.path,"allOf",1]}),I=P=>"allOf"in P&&Object.keys(P).length===1,k=[...I(y)?y.allOf:[y],...I(b)?b.allOf:[b]];c.allOf=k;break}case"tuple":{const c=d;c.type="array";const y=this.target==="draft-2020-12"?"prefixItems":"items",b=this.target==="draft-2020-12"||this.target==="openapi-3.0"?"items":"additionalItems",I=t.items.map((O,U)=>this.process(O,{..._,path:[..._.path,y,U]})),k=t.rest?this.process(t.rest,{..._,path:[..._.path,b,...this.target==="openapi-3.0"?[t.items.length]:[]]}):null;this.target==="draft-2020-12"?(c.prefixItems=I,k&&(c.items=k)):this.target==="openapi-3.0"?(c.items={anyOf:I},k&&c.items.anyOf.push(k),c.minItems=I.length,k||(c.maxItems=I.length)):(c.items=I,k&&(c.additionalItems=k));const{minimum:P,maximum:N}=n._zod.bag;typeof P=="number"&&(c.minItems=P),typeof N=="number"&&(c.maxItems=N);break}case"record":{const c=d;c.type="object",(this.target==="draft-7"||this.target==="draft-2020-12")&&(c.propertyNames=this.process(t.keyType,{..._,path:[..._.path,"propertyNames"]})),c.additionalProperties=this.process(t.valueType,{..._,path:[..._.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{const c=d,y=Ns(t.entries);y.every(b=>typeof b=="number")&&(c.type="number"),y.every(b=>typeof b=="string")&&(c.type="string"),c.enum=y;break}case"literal":{const c=d,y=[];for(const b of t.values)if(b===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof b=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");y.push(Number(b))}else y.push(b);if(y.length!==0)if(y.length===1){const b=y[0];c.type=b===null?"null":typeof b,this.target==="draft-4"||this.target==="openapi-3.0"?c.enum=[b]:c.const=b}else y.every(b=>typeof b=="number")&&(c.type="number"),y.every(b=>typeof b=="string")&&(c.type="string"),y.every(b=>typeof b=="boolean")&&(c.type="string"),y.every(b=>b===null)&&(c.type="null"),c.enum=y;break}case"file":{const c=d,y={type:"string",format:"binary",contentEncoding:"binary"},{minimum:b,maximum:I,mime:k}=n._zod.bag;b!==void 0&&(y.minLength=b),I!==void 0&&(y.maxLength=I),k?k.length===1?(y.contentMediaType=k[0],Object.assign(c,y)):c.anyOf=k.map(P=>({...y,contentMediaType:P})):Object.assign(c,y);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{const c=this.process(t.innerType,_);this.target==="openapi-3.0"?(p.ref=t.innerType,d.nullable=!0):d.anyOf=[c,{type:"null"}];break}case"nonoptional":{this.process(t.innerType,_),p.ref=t.innerType;break}case"success":{const c=d;c.type="boolean";break}case"default":{this.process(t.innerType,_),p.ref=t.innerType,d.default=JSON.parse(JSON.stringify(t.defaultValue));break}case"prefault":{this.process(t.innerType,_),p.ref=t.innerType,this.io==="input"&&(d._prefault=JSON.parse(JSON.stringify(t.defaultValue)));break}case"catch":{this.process(t.innerType,_),p.ref=t.innerType;let c;try{c=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}d.default=c;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{const c=d,y=n._zod.pattern;if(!y)throw new Error("Pattern not found in template literal");c.type="string",c.pattern=y.source;break}case"pipe":{const c=this.io==="input"?t.in._zod.def.type==="transform"?t.out:t.in:t.out;this.process(c,_),p.ref=c;break}case"readonly":{this.process(t.innerType,_),p.ref=t.innerType,d.readOnly=!0;break}case"promise":{this.process(t.innerType,_),p.ref=t.innerType;break}case"optional":{this.process(t.innerType,_),p.ref=t.innerType;break}case"lazy":{const c=n._zod.innerType;this.process(c,_),p.ref=c;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}case"function":{if(this.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema");break}}}}const v=this.metadataRegistry.get(n);return v&&Object.assign(p.schema,v),this.io==="input"&&Le(n)&&(delete p.schema.examples,delete p.schema.default),this.io==="input"&&p.schema._prefault&&((u=p.schema).default??(u.default=p.schema._prefault)),delete p.schema._prefault,this.seen.get(n).schema}emit(n,i){const u={cycles:i?.cycles??"ref",reused:i?.reused??"inline",external:i?.external??void 0},t=this.seen.get(n);if(!t)throw new Error("Unprocessed schema. This is a bug in Zod.");const a=m=>{const _=this.target==="draft-2020-12"?"$defs":"definitions";if(u.external){const y=u.external.registry.get(m[0])?.id,b=u.external.uri??(k=>k);if(y)return{ref:b(y)};const I=m[1].defId??m[1].schema.id??`schema${this.counter++}`;return m[1].defId=I,{defId:I,ref:`${b("__shared")}#/${_}/${I}`}}if(m[1]===t)return{ref:"#"};const d=`#/${_}/`,c=m[1].schema.id??`__schema${this.counter++}`;return{defId:c,ref:d+c}},l=m=>{if(m[1].schema.$ref)return;const _=m[1],{ref:h,defId:d}=a(m);_.def={..._.schema},d&&(_.defId=d);const c=_.schema;for(const y in c)delete c[y];c.$ref=h};if(u.cycles==="throw")for(const m of this.seen.entries()){const _=m[1];if(_.cycle)throw new Error(`Cycle detected: #/${_.cycle?.join("/")}/<root>
|
|
66
66
|
|
|
67
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const m of this.seen.entries()){const _=m[1];if(n===m[0]){l(m);continue}if(u.external){const d=u.external.registry.get(m[0])?.id;if(n!==m[0]&&d){l(m);continue}}if(this.metadataRegistry.get(m[0])?.id){l(m);continue}if(_.cycle){l(m);continue}if(_.count>1&&u.reused==="ref"){l(m);continue}}const p=(m,_)=>{const h=this.seen.get(m),d=h.def??h.schema,c={...d};if(h.ref===null)return;const y=h.ref;if(h.ref=null,y){p(y,_);const b=this.seen.get(y).schema;b.$ref&&(_.target==="draft-7"||_.target==="draft-4"||_.target==="openapi-3.0")?(d.allOf=d.allOf??[],d.allOf.push(b)):(Object.assign(d,b),Object.assign(d,c))}h.isParent||this.override({zodSchema:m,jsonSchema:d,path:h.path??[]})};for(const m of[...this.seen.entries()].reverse())p(m[0],{target:this.target});const g={};if(this.target==="draft-2020-12"?g.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?g.$schema="http://json-schema.org/draft-07/schema#":this.target==="draft-4"?g.$schema="http://json-schema.org/draft-04/schema#":this.target==="openapi-3.0"||console.warn(`Invalid target: ${this.target}`),u.external?.uri){const m=u.external.registry.get(n)?.id;if(!m)throw new Error("Schema is missing an `id` property");g.$id=u.external.uri(m)}Object.assign(g,t.def);const v=u.external?.defs??{};for(const m of this.seen.entries()){const _=m[1];_.def&&_.defId&&(v[_.defId]=_.def)}u.external||Object.keys(v).length>0&&(this.target==="draft-2020-12"?g.$defs=v:g.definitions=v);try{return JSON.parse(JSON.stringify(g))}catch{throw new Error("Error converting schema to JSON.")}}}function lm(e,n){if(e instanceof Xs){const u=new ps(n),t={};for(const p of e._idmap.entries()){const[g,v]=p;u.process(v)}const a={},l={registry:e,uri:n?.uri,defs:t};for(const p of e._idmap.entries()){const[g,v]=p;a[g]=u.emit(v,{...n,external:l})}if(Object.keys(t).length>0){const p=u.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[p]:t}}return{schemas:a}}const i=new ps(n);return i.process(e),i.emit(e,n)}function Le(e,n){const i=n??{seen:new Set};if(i.seen.has(e))return!1;i.seen.add(e);const t=e._zod.def;switch(t.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return Le(t.element,i);case"object":{for(const a in t.shape)if(Le(t.shape[a],i))return!0;return!1}case"union":{for(const a of t.options)if(Le(a,i))return!0;return!1}case"intersection":return Le(t.left,i)||Le(t.right,i);case"tuple":{for(const a of t.items)if(Le(a,i))return!0;return!!(t.rest&&Le(t.rest,i))}case"record":return Le(t.keyType,i)||Le(t.valueType,i);case"map":return Le(t.keyType,i)||Le(t.valueType,i);case"set":return Le(t.valueType,i);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return Le(t.innerType,i);case"lazy":return Le(t.getter(),i);case"default":return Le(t.innerType,i);case"prefault":return Le(t.innerType,i);case"custom":return!1;case"transform":return!0;case"pipe":return Le(t.in,i)||Le(t.out,i);case"success":return!1;case"catch":return!1;case"function":return!1}throw new Error(`Unknown schema type: ${t.type}`)}const cS=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),dS=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:D2,$ZodArray:j2,$ZodAsyncError:jn,$ZodBase64:w2,$ZodBase64URL:I2,$ZodBigInt:Ks,$ZodBigIntFormat:P2,$ZodBoolean:qs,$ZodCIDRv4:b2,$ZodCIDRv6:S2,$ZodCUID:c2,$ZodCUID2:d2,$ZodCatch:a0,$ZodCheck:Te,$ZodCheckBigIntFormat:j1,$ZodCheckEndsWith:X1,$ZodCheckGreaterThan:Gs,$ZodCheckIncludes:V1,$ZodCheckLengthEquals:H1,$ZodCheckLessThan:Bs,$ZodCheckLowerCase:K1,$ZodCheckMaxLength:G1,$ZodCheckMaxSize:F1,$ZodCheckMimeType:e2,$ZodCheckMinLength:W1,$ZodCheckMinSize:Z1,$ZodCheckMultipleOf:L1,$ZodCheckNumberFormat:M1,$ZodCheckOverwrite:t2,$ZodCheckProperty:Q1,$ZodCheckRegex:q1,$ZodCheckSizeEquals:B1,$ZodCheckStartsWith:Y1,$ZodCheckStringFormat:$i,$ZodCheckUpperCase:J1,$ZodCodec:Ys,$ZodCustom:p0,$ZodCustomStringFormat:A2,$ZodDate:M2,$ZodDefault:n0,$ZodDiscriminatedUnion:W2,$ZodE164:x2,$ZodEmail:a2,$ZodEmoji:s2,$ZodEncodeError:ua,$ZodEnum:V2,$ZodError:As,$ZodFile:X2,$ZodFunction:d0,$ZodGUID:i2,$ZodIPv4:_2,$ZodIPv6:y2,$ZodISODate:g2,$ZodISODateTime:m2,$ZodISODuration:$2,$ZodISOTime:v2,$ZodIntersection:H2,$ZodJWT:E2,$ZodKSUID:p2,$ZodLazy:h0,$ZodLiteral:Y2,$ZodMap:K2,$ZodNaN:u0,$ZodNanoID:l2,$ZodNever:R2,$ZodNonOptional:i0,$ZodNull:z2,$ZodNullable:t0,$ZodNumber:Hs,$ZodNumberFormat:N2,$ZodObject:B2,$ZodObjectJIT:G2,$ZodOptional:e0,$ZodPipe:s0,$ZodPrefault:r0,$ZodPromise:f0,$ZodReadonly:l0,$ZodRealError:gt,$ZodRecord:q2,$ZodRegistry:Xs,$ZodSet:J2,$ZodString:_i,$ZodStringFormat:ke,$ZodSuccess:o0,$ZodSymbol:T2,$ZodTemplateLiteral:c0,$ZodTransform:Q2,$ZodTuple:Vs,$ZodType:ie,$ZodULID:f2,$ZodURL:u2,$ZodUUID:o2,$ZodUndefined:C2,$ZodUnion:Js,$ZodUnknown:U2,$ZodVoid:L2,$ZodXID:h2,$brand:Dp,$constructor:C,$input:y0,$output:_0,Doc:n2,JSONSchema:cS,JSONSchemaGenerator:ps,NEVER:gr,TimePrecision:w0,_any:G0,_array:nm,_base64:gl,_base64url:vl,_bigint:R0,_boolean:D0,_catch:iS,_check:um,_cidrv4:pl,_cidrv6:ml,_coercedBigint:L0,_coercedBoolean:U0,_coercedDate:J0,_coercedNumber:A0,_coercedString:S0,_cuid:ul,_cuid2:sl,_custom:im,_date:K0,_decode:Cs,_decodeAsync:Ds,_default:tS,_discriminatedUnion:B7,_e164:$l,_email:el,_emoji:ol,_encode:Ts,_encodeAsync:zs,_endsWith:xl,_enum:J7,_file:rm,_float32:P0,_float64:T0,_gt:Gn,_gte:mt,_guid:Yo,_includes:kl,_int:N0,_int32:C0,_int64:M0,_intersection:G7,_ipv4:fl,_ipv6:hl,_isoDate:I0,_isoDateTime:k0,_isoDuration:O0,_isoTime:x0,_jwt:_l,_ksuid:dl,_lazy:sS,_length:ma,_literal:Y7,_lowercase:Sl,_lt:Bn,_lte:Ft,_map:q7,_max:Ft,_maxLength:pa,_maxSize:ha,_mime:Ol,_min:mt,_minLength:wr,_minSize:si,_multipleOf:ui,_nan:V0,_nanoid:al,_nativeEnum:V7,_negative:X0,_never:H0,_nonnegative:em,_nonoptional:nS,_nonpositive:Q0,_normalize:El,_null:B0,_nullable:eS,_number:E0,_optional:Q7,_overwrite:Kn,_parse:fi,_parseAsync:hi,_pipe:oS,_positive:Y0,_promise:lS,_property:tm,_readonly:aS,_record:H7,_refine:om,_regex:bl,_safeDecode:Rs,_safeDecodeAsync:Ms,_safeEncode:Us,_safeEncodeAsync:Ls,_safeParse:pi,_safeParseAsync:mi,_set:K7,_size:yl,_startsWith:Il,_string:b0,_stringFormat:yi,_stringbool:sm,_success:rS,_superRefine:am,_symbol:F0,_templateLiteral:uS,_toLowerCase:Nl,_toUpperCase:Pl,_transform:X7,_trim:Al,_tuple:W7,_uint32:z0,_uint64:j0,_ulid:ll,_undefined:Z0,_union:Z7,_unknown:W0,_uppercase:wl,_url:fa,_uuid:tl,_uuidv4:nl,_uuidv6:rl,_uuidv7:il,_void:q0,_xid:cl,clone:At,config:Xe,decode:x5,decodeAsync:E5,encode:I5,encodeAsync:O5,flattenError:Ns,formatError:Ps,globalConfig:qo,globalRegistry:Mn,isValidBase64:Ws,isValidBase64URL:k2,isValidJWT:O2,locales:$0,parse:ds,parseAsync:fs,prettifyError:t1,regexes:Zs,registry:Qs,safeDecode:N5,safeDecodeAsync:T5,safeEncode:A5,safeEncodeAsync:P5,safeParse:n1,safeParseAsync:r1,toDotPath:e1,toJSONSchema:lm,treeifyError:Qp,util:Yp,version:r2},Symbol.toStringTag,{value:"Module"})),Tl=C("ZodISODateTime",(e,n)=>{m2.init(e,n),Oe.init(e,n)});function cm(e){return k0(Tl,e)}const Cl=C("ZodISODate",(e,n)=>{g2.init(e,n),Oe.init(e,n)});function dm(e){return I0(Cl,e)}const zl=C("ZodISOTime",(e,n)=>{v2.init(e,n),Oe.init(e,n)});function fm(e){return x0(zl,e)}const Dl=C("ZodISODuration",(e,n)=>{$2.init(e,n),Oe.init(e,n)});function hm(e){return O0(Dl,e)}const fS=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:Cl,ZodISODateTime:Tl,ZodISODuration:Dl,ZodISOTime:zl,date:dm,datetime:cm,duration:hm,time:fm},Symbol.toStringTag,{value:"Module"})),pm=(e,n)=>{As.init(e,n),e.name="ZodError",Object.defineProperties(e,{format:{value:i=>Ps(e,i)},flatten:{value:i=>Ns(e,i)},addIssue:{value:i=>{e.issues.push(i),e.message=JSON.stringify(e.issues,Ko,2)}},addIssues:{value:i=>{e.issues.push(...i),e.message=JSON.stringify(e.issues,Ko,2)}},isEmpty:{get(){return e.issues.length===0}}})},hS=C("ZodError",pm),vt=C("ZodError",pm,{Parent:Error}),mm=fi(vt),gm=hi(vt),vm=pi(vt),$m=mi(vt),_m=Ts(vt),ym=Cs(vt),bm=zs(vt),Sm=Ds(vt),wm=Us(vt),km=Rs(vt),Im=Ls(vt),xm=Ms(vt),se=C("ZodType",(e,n)=>(ie.init(e,n),e.def=n,e.type=n.type,Object.defineProperty(e,"_def",{value:n}),e.check=(...i)=>e.clone(fn(n,{checks:[...n.checks??[],...i.map(u=>typeof u=="function"?{_zod:{check:u,def:{check:"custom"},onattach:[]}}:u)]})),e.clone=(i,u)=>At(e,i,u),e.brand=()=>e,e.register=((i,u)=>(i.add(e,u),e)),e.parse=(i,u)=>mm(e,i,u,{callee:e.parse}),e.safeParse=(i,u)=>vm(e,i,u),e.parseAsync=async(i,u)=>gm(e,i,u,{callee:e.parseAsync}),e.safeParseAsync=async(i,u)=>$m(e,i,u),e.spa=e.safeParseAsync,e.encode=(i,u)=>_m(e,i,u),e.decode=(i,u)=>ym(e,i,u),e.encodeAsync=async(i,u)=>bm(e,i,u),e.decodeAsync=async(i,u)=>Sm(e,i,u),e.safeEncode=(i,u)=>wm(e,i,u),e.safeDecode=(i,u)=>km(e,i,u),e.safeEncodeAsync=async(i,u)=>Im(e,i,u),e.safeDecodeAsync=async(i,u)=>xm(e,i,u),e.refine=(i,u)=>e.check(fg(i,u)),e.superRefine=i=>e.check(hg(i)),e.overwrite=i=>e.check(Kn(i)),e.optional=()=>Qo(e),e.nullable=()=>ea(e),e.nullish=()=>Qo(ea(e)),e.nonoptional=i=>eg(e,i),e.array=()=>Ar(e),e.or=i=>ic([e,i]),e.and=i=>jm(e,i),e.transform=i=>ta(e,uc(i)),e.default=i=>Ym(e,i),e.prefault=i=>Qm(e,i),e.catch=i=>rg(e,i),e.pipe=i=>ta(e,i),e.readonly=()=>ag(e),e.describe=i=>{const u=e.clone();return Mn.add(u,{description:i}),u},Object.defineProperty(e,"description",{get(){return Mn.get(e)?.description},configurable:!0}),e.meta=(...i)=>{if(i.length===0)return Mn.get(e);const u=e.clone();return Mn.add(u,i[0]),u},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Ul=C("_ZodString",(e,n)=>{_i.init(e,n),se.init(e,n);const i=e._zod.bag;e.format=i.format??null,e.minLength=i.minimum??null,e.maxLength=i.maximum??null,e.regex=(...u)=>e.check(bl(...u)),e.includes=(...u)=>e.check(kl(...u)),e.startsWith=(...u)=>e.check(Il(...u)),e.endsWith=(...u)=>e.check(xl(...u)),e.min=(...u)=>e.check(wr(...u)),e.max=(...u)=>e.check(pa(...u)),e.length=(...u)=>e.check(ma(...u)),e.nonempty=(...u)=>e.check(wr(1,...u)),e.lowercase=u=>e.check(Sl(u)),e.uppercase=u=>e.check(wl(u)),e.trim=()=>e.check(Al()),e.normalize=(...u)=>e.check(El(...u)),e.toLowerCase=()=>e.check(Nl()),e.toUpperCase=()=>e.check(Pl())}),ga=C("ZodString",(e,n)=>{_i.init(e,n),Ul.init(e,n),e.email=i=>e.check(el(Rl,i)),e.url=i=>e.check(fa(va,i)),e.jwt=i=>e.check(_l(Xl,i)),e.emoji=i=>e.check(ol(Ll,i)),e.guid=i=>e.check(Yo(Xo,i)),e.uuid=i=>e.check(tl(un,i)),e.uuidv4=i=>e.check(nl(un,i)),e.uuidv6=i=>e.check(rl(un,i)),e.uuidv7=i=>e.check(il(un,i)),e.nanoid=i=>e.check(al(Ml,i)),e.guid=i=>e.check(Yo(Xo,i)),e.cuid=i=>e.check(ul(jl,i)),e.cuid2=i=>e.check(sl(Fl,i)),e.ulid=i=>e.check(ll(Zl,i)),e.base64=i=>e.check(gl(Jl,i)),e.base64url=i=>e.check(vl(Vl,i)),e.xid=i=>e.check(cl(Bl,i)),e.ksuid=i=>e.check(dl(Gl,i)),e.ipv4=i=>e.check(fl(Wl,i)),e.ipv6=i=>e.check(hl(Hl,i)),e.cidrv4=i=>e.check(pl(ql,i)),e.cidrv6=i=>e.check(ml(Kl,i)),e.e164=i=>e.check($l(Yl,i)),e.datetime=i=>e.check(cm(i)),e.date=i=>e.check(dm(i)),e.time=i=>e.check(fm(i)),e.duration=i=>e.check(hm(i))});function xn(e){return b0(ga,e)}const Oe=C("ZodStringFormat",(e,n)=>{ke.init(e,n),Ul.init(e,n)}),Rl=C("ZodEmail",(e,n)=>{a2.init(e,n),Oe.init(e,n)});function pS(e){return el(Rl,e)}const Xo=C("ZodGUID",(e,n)=>{i2.init(e,n),Oe.init(e,n)});function mS(e){return Yo(Xo,e)}const un=C("ZodUUID",(e,n)=>{o2.init(e,n),Oe.init(e,n)});function gS(e){return tl(un,e)}function vS(e){return nl(un,e)}function $S(e){return rl(un,e)}function _S(e){return il(un,e)}const va=C("ZodURL",(e,n)=>{u2.init(e,n),Oe.init(e,n)});function yS(e){return fa(va,e)}function bS(e){return fa(va,{protocol:/^https?$/,hostname:y1,...j(e)})}const Ll=C("ZodEmoji",(e,n)=>{s2.init(e,n),Oe.init(e,n)});function SS(e){return ol(Ll,e)}const Ml=C("ZodNanoID",(e,n)=>{l2.init(e,n),Oe.init(e,n)});function wS(e){return al(Ml,e)}const jl=C("ZodCUID",(e,n)=>{c2.init(e,n),Oe.init(e,n)});function kS(e){return ul(jl,e)}const Fl=C("ZodCUID2",(e,n)=>{d2.init(e,n),Oe.init(e,n)});function IS(e){return sl(Fl,e)}const Zl=C("ZodULID",(e,n)=>{f2.init(e,n),Oe.init(e,n)});function xS(e){return ll(Zl,e)}const Bl=C("ZodXID",(e,n)=>{h2.init(e,n),Oe.init(e,n)});function OS(e){return cl(Bl,e)}const Gl=C("ZodKSUID",(e,n)=>{p2.init(e,n),Oe.init(e,n)});function ES(e){return dl(Gl,e)}const Wl=C("ZodIPv4",(e,n)=>{_2.init(e,n),Oe.init(e,n)});function AS(e){return fl(Wl,e)}const Hl=C("ZodIPv6",(e,n)=>{y2.init(e,n),Oe.init(e,n)});function NS(e){return hl(Hl,e)}const ql=C("ZodCIDRv4",(e,n)=>{b2.init(e,n),Oe.init(e,n)});function PS(e){return pl(ql,e)}const Kl=C("ZodCIDRv6",(e,n)=>{S2.init(e,n),Oe.init(e,n)});function TS(e){return ml(Kl,e)}const Jl=C("ZodBase64",(e,n)=>{w2.init(e,n),Oe.init(e,n)});function CS(e){return gl(Jl,e)}const Vl=C("ZodBase64URL",(e,n)=>{I2.init(e,n),Oe.init(e,n)});function zS(e){return vl(Vl,e)}const Yl=C("ZodE164",(e,n)=>{x2.init(e,n),Oe.init(e,n)});function DS(e){return $l(Yl,e)}const Xl=C("ZodJWT",(e,n)=>{E2.init(e,n),Oe.init(e,n)});function US(e){return _l(Xl,e)}const bi=C("ZodCustomStringFormat",(e,n)=>{A2.init(e,n),Oe.init(e,n)});function RS(e,n,i={}){return yi(bi,e,n,i)}function LS(e){return yi(bi,"hostname",Fs,e)}function MS(e){return yi(bi,"hex",U1,e)}function jS(e,n){const i=n?.enc??"hex",u=`${e}_${i}`,t=Zs[u];if(!t)throw new Error(`Unrecognized hash format: ${u}`);return yi(bi,u,t,n)}const $a=C("ZodNumber",(e,n)=>{Hs.init(e,n),se.init(e,n),e.gt=(u,t)=>e.check(Gn(u,t)),e.gte=(u,t)=>e.check(mt(u,t)),e.min=(u,t)=>e.check(mt(u,t)),e.lt=(u,t)=>e.check(Bn(u,t)),e.lte=(u,t)=>e.check(Ft(u,t)),e.max=(u,t)=>e.check(Ft(u,t)),e.int=u=>e.check(ms(u)),e.safe=u=>e.check(ms(u)),e.positive=u=>e.check(Gn(0,u)),e.nonnegative=u=>e.check(mt(0,u)),e.negative=u=>e.check(Bn(0,u)),e.nonpositive=u=>e.check(Ft(0,u)),e.multipleOf=(u,t)=>e.check(ui(u,t)),e.step=(u,t)=>e.check(ui(u,t)),e.finite=()=>e;const i=e._zod.bag;e.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),e.isFinite=!0,e.format=i.format??null});function Om(e){return E0($a,e)}const Er=C("ZodNumberFormat",(e,n)=>{N2.init(e,n),$a.init(e,n)});function ms(e){return N0(Er,e)}function FS(e){return P0(Er,e)}function ZS(e){return T0(Er,e)}function BS(e){return C0(Er,e)}function GS(e){return z0(Er,e)}const _a=C("ZodBoolean",(e,n)=>{qs.init(e,n),se.init(e,n)});function Ql(e){return D0(_a,e)}const ya=C("ZodBigInt",(e,n)=>{Ks.init(e,n),se.init(e,n),e.gte=(u,t)=>e.check(mt(u,t)),e.min=(u,t)=>e.check(mt(u,t)),e.gt=(u,t)=>e.check(Gn(u,t)),e.gte=(u,t)=>e.check(mt(u,t)),e.min=(u,t)=>e.check(mt(u,t)),e.lt=(u,t)=>e.check(Bn(u,t)),e.lte=(u,t)=>e.check(Ft(u,t)),e.max=(u,t)=>e.check(Ft(u,t)),e.positive=u=>e.check(Gn(BigInt(0),u)),e.negative=u=>e.check(Bn(BigInt(0),u)),e.nonpositive=u=>e.check(Ft(BigInt(0),u)),e.nonnegative=u=>e.check(mt(BigInt(0),u)),e.multipleOf=(u,t)=>e.check(ui(u,t));const i=e._zod.bag;e.minValue=i.minimum??null,e.maxValue=i.maximum??null,e.format=i.format??null});function WS(e){return R0(ya,e)}const ec=C("ZodBigIntFormat",(e,n)=>{P2.init(e,n),ya.init(e,n)});function HS(e){return M0(ec,e)}function qS(e){return j0(ec,e)}const Em=C("ZodSymbol",(e,n)=>{T2.init(e,n),se.init(e,n)});function KS(e){return F0(Em,e)}const Am=C("ZodUndefined",(e,n)=>{C2.init(e,n),se.init(e,n)});function JS(e){return Z0(Am,e)}const Nm=C("ZodNull",(e,n)=>{z2.init(e,n),se.init(e,n)});function Pm(e){return B0(Nm,e)}const Tm=C("ZodAny",(e,n)=>{D2.init(e,n),se.init(e,n)});function VS(){return G0(Tm)}const Cm=C("ZodUnknown",(e,n)=>{U2.init(e,n),se.init(e,n)});function kr(){return W0(Cm)}const zm=C("ZodNever",(e,n)=>{R2.init(e,n),se.init(e,n)});function tc(e){return H0(zm,e)}const Dm=C("ZodVoid",(e,n)=>{L2.init(e,n),se.init(e,n)});function YS(e){return q0(Dm,e)}const nc=C("ZodDate",(e,n)=>{M2.init(e,n),se.init(e,n),e.min=(u,t)=>e.check(mt(u,t)),e.max=(u,t)=>e.check(Ft(u,t));const i=e._zod.bag;e.minDate=i.minimum?new Date(i.minimum):null,e.maxDate=i.maximum?new Date(i.maximum):null});function XS(e){return K0(nc,e)}const Um=C("ZodArray",(e,n)=>{j2.init(e,n),se.init(e,n),e.element=n.element,e.min=(i,u)=>e.check(wr(i,u)),e.nonempty=i=>e.check(wr(1,i)),e.max=(i,u)=>e.check(pa(i,u)),e.length=(i,u)=>e.check(ma(i,u)),e.unwrap=()=>e.element});function Ar(e,n){return nm(Um,e,n)}function QS(e){const n=e._zod.def.shape;return ac(Object.keys(n))}const ba=C("ZodObject",(e,n)=>{G2.init(e,n),se.init(e,n),de(e,"shape",()=>n.shape),e.keyof=()=>ac(Object.keys(e._zod.def.shape)),e.catchall=i=>e.clone({...e._zod.def,catchall:i}),e.passthrough=()=>e.clone({...e._zod.def,catchall:kr()}),e.loose=()=>e.clone({...e._zod.def,catchall:kr()}),e.strict=()=>e.clone({...e._zod.def,catchall:tc()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=i=>Gp(e,i),e.safeExtend=i=>Wp(e,i),e.merge=i=>Hp(e,i),e.pick=i=>Zp(e,i),e.omit=i=>Bp(e,i),e.partial=(...i)=>qp(sc,e,i[0]),e.required=(...i)=>Kp(lc,e,i[0])});function Rm(e,n){const i={type:"object",shape:e??{},...j(n)};return new ba(i)}function ew(e,n){return new ba({type:"object",shape:e,catchall:tc(),...j(n)})}function tw(e,n){return new ba({type:"object",shape:e,catchall:kr(),...j(n)})}const rc=C("ZodUnion",(e,n)=>{Js.init(e,n),se.init(e,n),e.options=n.options});function ic(e,n){return new rc({type:"union",options:e,...j(n)})}const Lm=C("ZodDiscriminatedUnion",(e,n)=>{rc.init(e,n),W2.init(e,n)});function nw(e,n,i){return new Lm({type:"union",options:n,discriminator:e,...j(i)})}const Mm=C("ZodIntersection",(e,n)=>{H2.init(e,n),se.init(e,n)});function jm(e,n){return new Mm({type:"intersection",left:e,right:n})}const Fm=C("ZodTuple",(e,n)=>{Vs.init(e,n),se.init(e,n),e.rest=i=>e.clone({...e._zod.def,rest:i})});function Zm(e,n,i){const u=n instanceof ie,t=u?i:n,a=u?n:null;return new Fm({type:"tuple",items:e,rest:a,...j(t)})}const oc=C("ZodRecord",(e,n)=>{q2.init(e,n),se.init(e,n),e.keyType=n.keyType,e.valueType=n.valueType});function Bm(e,n,i){return new oc({type:"record",keyType:e,valueType:n,...j(i)})}function rw(e,n,i){const u=At(e);return u._zod.values=void 0,new oc({type:"record",keyType:u,valueType:n,...j(i)})}const Gm=C("ZodMap",(e,n)=>{K2.init(e,n),se.init(e,n),e.keyType=n.keyType,e.valueType=n.valueType});function iw(e,n,i){return new Gm({type:"map",keyType:e,valueType:n,...j(i)})}const Wm=C("ZodSet",(e,n)=>{J2.init(e,n),se.init(e,n),e.min=(...i)=>e.check(si(...i)),e.nonempty=i=>e.check(si(1,i)),e.max=(...i)=>e.check(ha(...i)),e.size=(...i)=>e.check(yl(...i))});function ow(e,n){return new Wm({type:"set",valueType:e,...j(n)})}const li=C("ZodEnum",(e,n)=>{V2.init(e,n),se.init(e,n),e.enum=n.entries,e.options=Object.values(n.entries);const i=new Set(Object.keys(n.entries));e.extract=(u,t)=>{const a={};for(const l of u)if(i.has(l))a[l]=n.entries[l];else throw new Error(`Key ${l} not found in enum`);return new li({...n,checks:[],...j(t),entries:a})},e.exclude=(u,t)=>{const a={...n.entries};for(const l of u)if(i.has(l))delete a[l];else throw new Error(`Key ${l} not found in enum`);return new li({...n,checks:[],...j(t),entries:a})}});function ac(e,n){const i=Array.isArray(e)?Object.fromEntries(e.map(u=>[u,u])):e;return new li({type:"enum",entries:i,...j(n)})}function aw(e,n){return new li({type:"enum",entries:e,...j(n)})}const Hm=C("ZodLiteral",(e,n)=>{Y2.init(e,n),se.init(e,n),e.values=new Set(n.values),Object.defineProperty(e,"value",{get(){if(n.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return n.values[0]}})});function uw(e,n){return new Hm({type:"literal",values:Array.isArray(e)?e:[e],...j(n)})}const qm=C("ZodFile",(e,n)=>{X2.init(e,n),se.init(e,n),e.min=(i,u)=>e.check(si(i,u)),e.max=(i,u)=>e.check(ha(i,u)),e.mime=(i,u)=>e.check(Ol(Array.isArray(i)?i:[i],u))});function sw(e){return rm(qm,e)}const Km=C("ZodTransform",(e,n)=>{Q2.init(e,n),se.init(e,n),e._zod.parse=(i,u)=>{if(u.direction==="backward")throw new ua(e.constructor.name);i.addIssue=a=>{if(typeof a=="string")i.issues.push(br(a,i.value,n));else{const l=a;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=i.value),l.inst??(l.inst=e),i.issues.push(br(l))}};const t=n.transform(i.value,i);return t instanceof Promise?t.then(a=>(i.value=a,i)):(i.value=t,i)}});function uc(e){return new Km({type:"transform",transform:e})}const sc=C("ZodOptional",(e,n)=>{e0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function Qo(e){return new sc({type:"optional",innerType:e})}const Jm=C("ZodNullable",(e,n)=>{t0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function ea(e){return new Jm({type:"nullable",innerType:e})}function lw(e){return Qo(ea(e))}const Vm=C("ZodDefault",(e,n)=>{n0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Ym(e,n){return new Vm({type:"default",innerType:e,get defaultValue(){return typeof n=="function"?n():la(n)}})}const Xm=C("ZodPrefault",(e,n)=>{r0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function Qm(e,n){return new Xm({type:"prefault",innerType:e,get defaultValue(){return typeof n=="function"?n():la(n)}})}const lc=C("ZodNonOptional",(e,n)=>{i0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function eg(e,n){return new lc({type:"nonoptional",innerType:e,...j(n)})}const tg=C("ZodSuccess",(e,n)=>{o0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function cw(e){return new tg({type:"success",innerType:e})}const ng=C("ZodCatch",(e,n)=>{a0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function rg(e,n){return new ng({type:"catch",innerType:e,catchValue:typeof n=="function"?n:()=>n})}const ig=C("ZodNaN",(e,n)=>{u0.init(e,n),se.init(e,n)});function dw(e){return V0(ig,e)}const cc=C("ZodPipe",(e,n)=>{s0.init(e,n),se.init(e,n),e.in=n.in,e.out=n.out});function ta(e,n){return new cc({type:"pipe",in:e,out:n})}const dc=C("ZodCodec",(e,n)=>{cc.init(e,n),Ys.init(e,n)});function fw(e,n,i){return new dc({type:"pipe",in:e,out:n,transform:i.decode,reverseTransform:i.encode})}const og=C("ZodReadonly",(e,n)=>{l0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function ag(e){return new og({type:"readonly",innerType:e})}const ug=C("ZodTemplateLiteral",(e,n)=>{c0.init(e,n),se.init(e,n)});function hw(e,n){return new ug({type:"template_literal",parts:e,...j(n)})}const sg=C("ZodLazy",(e,n)=>{h0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.getter()});function lg(e){return new sg({type:"lazy",getter:e})}const cg=C("ZodPromise",(e,n)=>{f0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function pw(e){return new cg({type:"promise",innerType:e})}const dg=C("ZodFunction",(e,n)=>{d0.init(e,n),se.init(e,n)});function ap(e){return new dg({type:"function",input:Array.isArray(e?.input)?Zm(e?.input):e?.input??Ar(kr()),output:e?.output??kr()})}const Sa=C("ZodCustom",(e,n)=>{p0.init(e,n),se.init(e,n)});function mw(e){const n=new Te({check:"custom"});return n._zod.check=e,n}function gw(e,n){return im(Sa,e??(()=>!0),n)}function fg(e,n={}){return om(Sa,e,n)}function hg(e){return am(e)}function vw(e,n={error:`Input not instance of ${e.name}`}){const i=new Sa({type:"custom",check:"custom",fn:u=>u instanceof e,abort:!0,...j(n)});return i._zod.bag.Class=e,i}const $w=(...e)=>sm({Codec:dc,Boolean:_a,String:ga},...e);function _w(e){const n=lg(()=>ic([xn(e),Om(),Ql(),Pm(),Ar(n),Bm(xn(),n)]));return n}function pg(e,n){return ta(uc(e),n)}const yw={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 bw(e){Xe({customError:e})}function Sw(){return Xe().customError}var gs;gs||(gs={});function ww(e){return S0(ga,e)}function kw(e){return A0($a,e)}function Iw(e){return U0(_a,e)}function xw(e){return L0(ya,e)}function Ow(e){return J0(nc,e)}const Ew=Object.freeze(Object.defineProperty({__proto__:null,bigint:xw,boolean:Iw,date:Ow,number:kw,string:ww},Symbol.toStringTag,{value:"Module"}));Xe(m0());const qt=Object.freeze(Object.defineProperty({__proto__:null,$brand:Dp,$input:y0,$output:_0,NEVER:gr,TimePrecision:w0,ZodAny:Tm,ZodArray:Um,ZodBase64:Jl,ZodBase64URL:Vl,ZodBigInt:ya,ZodBigIntFormat:ec,ZodBoolean:_a,ZodCIDRv4:ql,ZodCIDRv6:Kl,ZodCUID:jl,ZodCUID2:Fl,ZodCatch:ng,ZodCodec:dc,ZodCustom:Sa,ZodCustomStringFormat:bi,ZodDate:nc,ZodDefault:Vm,ZodDiscriminatedUnion:Lm,ZodE164:Yl,ZodEmail:Rl,ZodEmoji:Ll,ZodEnum:li,ZodError:hS,ZodFile:qm,get ZodFirstPartyTypeKind(){return gs},ZodFunction:dg,ZodGUID:Xo,ZodIPv4:Wl,ZodIPv6:Hl,ZodISODate:Cl,ZodISODateTime:Tl,ZodISODuration:Dl,ZodISOTime:zl,ZodIntersection:Mm,ZodIssueCode:yw,ZodJWT:Xl,ZodKSUID:Gl,ZodLazy:sg,ZodLiteral:Hm,ZodMap:Gm,ZodNaN:ig,ZodNanoID:Ml,ZodNever:zm,ZodNonOptional:lc,ZodNull:Nm,ZodNullable:Jm,ZodNumber:$a,ZodNumberFormat:Er,ZodObject:ba,ZodOptional:sc,ZodPipe:cc,ZodPrefault:Xm,ZodPromise:cg,ZodReadonly:og,ZodRealError:vt,ZodRecord:oc,ZodSet:Wm,ZodString:ga,ZodStringFormat:Oe,ZodSuccess:tg,ZodSymbol:Em,ZodTemplateLiteral:ug,ZodTransform:Km,ZodTuple:Fm,ZodType:se,ZodULID:Zl,ZodURL:va,ZodUUID:un,ZodUndefined:Am,ZodUnion:rc,ZodUnknown:Cm,ZodVoid:Dm,ZodXID:Bl,_ZodString:Ul,_default:Ym,_function:ap,any:VS,array:Ar,base64:CS,base64url:zS,bigint:WS,boolean:Ql,catch:rg,check:mw,cidrv4:PS,cidrv6:TS,clone:At,codec:fw,coerce:Ew,config:Xe,core:dS,cuid:kS,cuid2:IS,custom:gw,date:XS,decode:ym,decodeAsync:Sm,discriminatedUnion:nw,e164:DS,email:pS,emoji:SS,encode:_m,encodeAsync:bm,endsWith:xl,enum:ac,file:sw,flattenError:Ns,float32:FS,float64:ZS,formatError:Ps,function:ap,getErrorMap:Sw,globalRegistry:Mn,gt:Gn,gte:mt,guid:mS,hash:jS,hex:MS,hostname:LS,httpUrl:bS,includes:kl,instanceof:vw,int:ms,int32:BS,int64:HS,intersection:jm,ipv4:AS,ipv6:NS,iso:fS,json:_w,jwt:US,keyof:QS,ksuid:ES,lazy:lg,length:ma,literal:uw,locales:$0,looseObject:tw,lowercase:Sl,lt:Bn,lte:Ft,map:iw,maxLength:pa,maxSize:ha,mime:Ol,minLength:wr,minSize:si,multipleOf:ui,nan:dw,nanoid:wS,nativeEnum:aw,negative:X0,never:tc,nonnegative:em,nonoptional:eg,nonpositive:Q0,normalize:El,null:Pm,nullable:ea,nullish:lw,number:Om,object:Rm,optional:Qo,overwrite:Kn,parse:mm,parseAsync:gm,partialRecord:rw,pipe:ta,positive:Y0,prefault:Qm,preprocess:pg,prettifyError:t1,promise:pw,property:tm,readonly:ag,record:Bm,refine:fg,regex:bl,regexes:Zs,registry:Qs,safeDecode:km,safeDecodeAsync:xm,safeEncode:wm,safeEncodeAsync:Im,safeParse:vm,safeParseAsync:$m,set:ow,setErrorMap:bw,size:yl,startsWith:Il,strictObject:ew,string:xn,stringFormat:RS,stringbool:$w,success:cw,superRefine:hg,symbol:KS,templateLiteral:hw,toJSONSchema:lm,toLowerCase:Nl,toUpperCase:Pl,transform:uc,treeifyError:Qp,trim:Al,tuple:Zm,uint32:GS,uint64:qS,ulid:xS,undefined:JS,union:ic,unknown:kr,uppercase:wl,url:yS,util:Yp,uuid:gS,uuidv4:vS,uuidv6:$S,uuidv7:_S,void:YS,xid:OS},Symbol.toStringTag,{value:"Module"})),Aw=e=>/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e);var is,up;function Nw(){if(up)return is;up=1;var e="[object Symbol]",n=/[\\^$.*+?()[\]{}|]/g,i=RegExp(n.source),u=typeof wn=="object"&&wn&&wn.Object===Object&&wn,t=typeof self=="object"&&self&&self.Object===Object&&self,a=u||t||Function("return this")(),l=Object.prototype,p=l.toString,g=a.Symbol,v=g?g.prototype:void 0,m=v?v.toString:void 0;function _(b){if(typeof b=="string")return b;if(d(b))return m?m.call(b):"";var k=b+"";return k=="0"&&1/b==-1/0?"-0":k}function h(b){return!!b&&typeof b=="object"}function d(b){return typeof b=="symbol"||h(b)&&p.call(b)==e}function c(b){return b==null?"":_(b)}function y(b){return b=c(b),b&&i.test(b)?b.replace(n,"\\$&"):b}return is=y,is}Nw();const mg="en",Pw={en:mg,"pseudo-en":"pseudo-en","af-ZA":"af-ZA","ar-SA":"ar-SA","ca-ES":"ca-ES","cs-CZ":"cs-CZ","da-DK":"da-DK","de-DE":"de-DE","el-GR":"el-GR","es-ES":"es-ES","fi-FI":"fi-FI","fr-FR":"fr-FR","he-IL":"he-IL","hu-HU":"hu-HU","it-IT":"it-IT","ja-JP":"ja-JP","ko-KR":"ko-KR","nl-NL":"nl-NL","no-NO":"no-NO","pl-PL":"pl-PL","pt-BR":"pt-BR","pt-PT":"pt-PT","ro-RO":"ro-RO","ru-RU":"ru-RU","sr-Cyrl":"sr-Cyrl","sv-SE":"sv-SE","tr-TR":"tr-TR","uk-UA":"uk-UA","vi-VN":"vi-VN","zh-CN":"zh-CN","zh-TW":"zh-TW"},Tw={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function gg(e,n){var i=Array.prototype.slice.call(n);return i.push(Tw),e.apply(this,i)}function sp(e,n){e=e.split("-"),n=n.split("-");for(var i=e[0].split("."),u=n[0].split("."),t=0;t<3;t++){var a=Number(i[t]),l=Number(u[t]);if(a>l)return 1;if(l>a)return-1;if(!isNaN(a)&&isNaN(l))return 1;if(isNaN(a)&&!isNaN(l))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]<n[1]?-1:0:!e[1]&&n[1]?1:e[1]&&!n[1]?-1:0}var Cw={}.constructor;function os(e){return e!=null&&e.constructor===Cw}function vs(e){"@babel/helpers - typeof";return vs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},vs(e)}function wa(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function zw(e,n){for(var i=0;i<n.length;i++){var u=n[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function ka(e,n,i){return n&&zw(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Dw="1.2.0",Uw="1.7.35",lp=" ext. ",Rw=/^\d+$/,vg=(function(){function e(n){wa(this,e),Fw(n),this.metadata=n,$g.call(this,n)}return ka(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(i){return i!=="001"})}},{key:"getCountryMetadata",value:function(i){return this.metadata.countries[i]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(i){return this.getCountryMetadata(i)!==void 0}},{key:"hasCallingCode",value:function(i){if(this.getCountryCodesForCallingCode(i))return!0;if(this.nonGeographic()){if(this.nonGeographic()[i])return!0}else{var u=this.countryCallingCodes()[i];if(u&&u.length===1&&u[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(i){return this.nonGeographic()?!!this.nonGeographic()[i]:!this.getCountryCodesForCallingCode(i)}},{key:"country",value:function(i){return this.selectNumberingPlan(i)}},{key:"selectNumberingPlan",value:function(i,u){if(i&&Rw.test(i)&&(u=i,i=null),i&&i!=="001"){if(!this.hasCountry(i))throw new Error("Unknown country: ".concat(i));this.numberingPlan=new cp(this.getCountryMetadata(i),this)}else if(u){if(!this.hasCallingCode(u))throw new Error("Unknown calling code: ".concat(u));this.numberingPlan=new cp(this.getNumberingPlanMetadata(u),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(i){var u=this.countryCallingCodes()[i];if(u)return u.length===1&&u[0].length===3?void 0:u}},{key:"getCountryCodeForCallingCode",value:function(i){var u=this.getCountryCodesForCallingCode(i);if(u)return u[0]}},{key:"getNumberingPlanMetadata",value:function(i){var u=this.getCountryCodeForCallingCode(i);if(u)return this.getCountryMetadata(u);if(this.nonGeographic()){var t=this.nonGeographic()[i];if(t)return t}else{var a=this.countryCallingCodes()[i];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(i){return this.numberingPlan.type(i)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(i){return this.selectNumberingPlan(i)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e})(),cp=(function(){function e(n,i){wa(this,e),this.globalMetadataObject=i,this.metadata=n,$g.call(this,i.metadata)}return ka(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(i){return i[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var i=this,u=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return u.map(function(t){return new Lw(t,i)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(i){return i[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(i){if(this.hasTypes()&&dp(this.types(),i))return new jw(dp(this.types(),i),this)}},{key:"ext",value:function(){return this.v1||this.v2?lp:this.metadata[13]||lp}}]),e})(),Lw=(function(){function e(n,i){wa(this,e),this._format=n,this.metadata=i}return ka(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Mw.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e})(),Mw=/^\(?\$1\)?$/,jw=(function(){function e(n,i){wa(this,e),this.type=n,this.metadata=i}return ka(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e})();function dp(e,n){switch(n){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function Fw(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!os(e)||!os(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(os(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Zw(e)+": "+e,"."))}var Zw=function(n){return vs(n)};function Bw(e,n){if(n=new vg(n),n.hasCountry(e))return n.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function $g(e){var n=e.version;typeof n=="number"?(this.v1=n===1,this.v2=n===2,this.v3=n===3,this.v4=n===4):n?sp(n,Dw)===-1?this.v2=!0:sp(n,Uw)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function Gw(e){return new vg(e).getCountries()}function _g(){return gg(Gw,arguments)}function Ww(){return gg(Bw,arguments)}ve.TEXT,ve.FULL_NAME,ve.EMAILS,ve.ADDRESS,ve.LINKS,ve.PHONES,ve.RICH_TEXT,ve.UUID;Object.keys(Pw).reduce((e,n)=>{const i=n.split("-")[0].toLowerCase();return(!e[i]||n===mg)&&(e[i]=n),e},{});const Hw=new Set(["__proto__","constructor","prototype"]),yg=(e,n)=>{if(!sn.isString(n))return;const i=n.split(".");let u=e;for(const t of i){if(!kn(u)||!sn.isObject(u)||Hw.has(t)||!Object.prototype.hasOwnProperty.call(u,t))return;u=u[t]}return u},Jn=(e,n)=>(i,u)=>sn.isNonEmptyArray(i)?i[e](t=>n(yg(t,u))):!1,Nr=(e,n)=>(i,u,t)=>sn.isNonEmptyArray(i)?i[e](a=>n(yg(a,u),t)):!1,Ge=new Hn;Ge.functions.isDefined=e=>kn(e);Ge.functions.isNonEmptyString=e=>sn.isNonEmptyString(e);Ge.functions.includes=(e,n)=>Array.isArray(e)&&e.includes(n);Ge.functions.arrayLength=e=>Array.isArray(e)?e.length:0;Ge.functions.every=Jn("every",Boolean);Ge.functions.everyDefined=Jn("every",kn);Ge.functions.some=Jn("some",Boolean);Ge.functions.someDefined=Jn("some",kn);Ge.functions.someNonEmptyString=Jn("some",sn.isNonEmptyString);Ge.functions.none=Jn("every",e=>!e);Ge.functions.noneDefined=Jn("every",e=>!kn(e));Ge.functions.everyEquals=Nr("every",(e,n)=>e===n);Ge.functions.someEquals=Nr("some",(e,n)=>e===n);Ge.functions.noneEquals=Nr("every",(e,n)=>e!==n);Ge.functions.includesEvery=Nr("every",(e,n)=>Array.isArray(e)&&e.includes(n));Ge.functions.includesSome=Nr("some",(e,n)=>Array.isArray(e)&&e.includes(n));Ge.functions.includesNone=Nr("every",(e,n)=>Array.isArray(e)&&!e.includes(n));ve.NUMBER,ve.NUMERIC,ve.CURRENCY,ve.RATING,ve.POSITION;ve.TEXT,ve.RICH_TEXT;Object.entries(o5).map(([e,{label:n}])=>({value:e,label:`${n} (${e})`}));xn().transform(e=>e===""?[]:$s(e)?[e]:JSON.parse(e)).refine(e=>Array.isArray(e)&&e.every(n=>typeof n=="string"),{error:"Expected an array of strings"});pg(e=>{try{if(typeof e=="string"){if($s(e))return[e];try{const n=JSON.parse(e);return Array.isArray(n)?n:[n]}catch{return[e]}}return Array.isArray(e)?e:[e]}catch{return[]}},Ar(xn().refine(e=>Aw(e)||$s(e),"Must be a valid UUID or a variable with {{ }} syntax"))).catch([]);const qw=Rm({isCurrentWorkspaceMemberSelected:Ql().optional(),selectedRecordIds:Ar(xn())});xn().transform((e,n)=>{try{return JSON.parse(e)}catch(i){return n.addIssue({code:"custom",message:i.message}),gr}}).pipe(qw);const Kw=qt.enum([Wo.MONDAY,Wo.SATURDAY,Wo.SUNDAY]),Jw=qt.union([qt.coerce.number().int().positive(),qt.literal("undefined")]).transform(e=>e==="undefined"?void 0:e),Vw=qt.enum(["NEXT","THIS","PAST"]),Yw=qt.enum(["SECOND","MINUTE","HOUR","DAY","WEEK","MONTH","QUARTER","YEAR"]),Xw=qt.object({direction:Vw,amount:Jw.nullish(),unit:Yw,timezone:qt.string().nullish(),firstDayOfTheWeek:Kw.nullish()}).refine(e=>!(e.amount===void 0&&e.direction!=="THIS"),{error:"Amount cannot be 'undefined' unless direction is 'THIS'"}),Qw=/((?:THIS)|(?:PAST)|(?:NEXT))_(\d*)_(DAY|MONTH|YEAR|WEEK|QUARTER|HOUR|MINUTE|SECOND)(?:(?:;;([^;;]*);;)?(?:(MONDAY|SUNDAY|SATURDAY);;)?)?/;qt.string().transform((e,n)=>{const i=new RegExp(Qw).exec(e);if(!sn.isNonEmptyArray(i))return n.addIssue(`Cannot parse stringified inline relative date filter, value : "${e}"`),qt.NEVER;const[u,t,a,l,p,g]=i;return Xw.parse({direction:t,amount:a,unit:l,timezone:p,firstDayOfTheWeek:g})});qe.Is+"",ee.IS,qe.IsNotNull+"",ee.IS_NOT_NULL,qe.IsNot+"",ee.IS_NOT,qe.LessThanOrEqual+"",ee.LESS_THAN_OR_EQUAL,qe.GreaterThanOrEqual+"",ee.GREATER_THAN_OR_EQUAL,qe.IsBefore+"",ee.IS_BEFORE,qe.IsAfter+"",ee.IS_AFTER,qe.Contains+"",ee.CONTAINS,qe.DoesNotContain+"",ee.DOES_NOT_CONTAIN,qe.IsEmpty+"",ee.IS_EMPTY,qe.IsNotEmpty+"",ee.IS_NOT_EMPTY,qe.IsRelative+"",ee.IS_RELATIVE,qe.IsInPast+"",ee.IS_IN_PAST,qe.IsInFuture+"",ee.IS_IN_FUTURE,qe.IsToday+"",ee.IS_TODAY,ee.IS+"",ee.IS,ee.IS_NOT_NULL+"",ee.IS_NOT_NULL,ee.IS_NOT+"",ee.IS_NOT,ee.LESS_THAN_OR_EQUAL+"",ee.LESS_THAN_OR_EQUAL,ee.GREATER_THAN_OR_EQUAL+"",ee.GREATER_THAN_OR_EQUAL,ee.IS_BEFORE+"",ee.IS_BEFORE,ee.IS_AFTER+"",ee.IS_AFTER,ee.CONTAINS+"",ee.CONTAINS,ee.DOES_NOT_CONTAIN+"",ee.DOES_NOT_CONTAIN,ee.IS_EMPTY+"",ee.IS_EMPTY,ee.IS_NOT_EMPTY+"",ee.IS_NOT_EMPTY,ee.IS_RELATIVE+"",ee.IS_RELATIVE,ee.IS_IN_PAST+"",ee.IS_IN_PAST,ee.IS_IN_FUTURE+"",ee.IS_IN_FUTURE,ee.IS_TODAY+"",ee.IS_TODAY,ee.VECTOR_SEARCH+"",ee.VECTOR_SEARCH;const ek=e=>{try{return new URL(e)}catch{return null}},bg=e=>{const n=e.trim();return n.startsWith("http://")||n.startsWith("https://")||n.startsWith("HTTPS://")||n.startsWith("HTTP://")?n:`https://${n}`},tk=(e,n)=>{const t=/^(((?!-))(xn--|_)?[a-z0-9-]{0,61}[a-z0-9]{1,1}\.){1,10}(xn--)?([a-z0-9][a-z0-9-]{0,60}|[a-z0-9-]{1,30}\.[a-z]{2,})$/.test(e),a=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(e),l=e==="localhost"||e==="127.0.0.1";return l&&!1||a&&!1?!1:t||l||a};xn().transform((e,n)=>{const i=e.trim(),u=bg(i),t=u.replace("https://","").replace("http://","").replace("HTTPS://","").replace("HTTP://","");if(/^\d+(?:\/[a-zA-Z]*)?$/.test(t))return n.addIssue({code:"custom",message:"domain is not a valid url"}),gr;try{const a=new URL(u);return tk(a.hostname)?u:(n.addIssue({code:"custom",message:"domain is not a valid url"}),gr)}catch{return n.addIssue({code:"custom",message:"domain is not a valid url"}),gr}});const nk=e=>{const n=ek(e);return kn(n)?(n.origin+n.pathname+n.search+n.hash).replace(/\/$/,""):e},rk=e=>{const n=e.trim();return n===""?n:nk(bg(n))},$s=e=>/^{{[^{}]+}}$/.test(e),fp=new Map;for(const e of _g()){const n=Ww(e),i=fp.get(n);i?i.push(e):fp.set(n,[e])}new Set(_g());const hp={darwin:"https://docs.docker.com/desktop/setup/install/mac-install/",win32:"https://docs.docker.com/desktop/setup/install/windows-install/",linux:"https://docs.docker.com/engine/install/"},ik=()=>{try{return Go.execSync("docker --version",{stdio:"ignore"}),!0}catch{return!1}},ok=()=>[" Docker is required but not installed.","",` Install Docker: ${hp[process.platform]??hp.linux}`,""," Then run this command again.",""," Alternatively, connect to an existing Twenty instance:"," npx create-twenty-app@latest my-twenty-app --workspace-url <your-instance-url>"].join(`
|
|
68
|
-
`),
|
|
69
|
-
`+
|
|
70
|
-
`)),process.exit(1)),p&&n.authenticationMethod==="apiKey"&&console.log(me.default.yellow("API key authentication is only supported on a local Docker instance. Ignoring and switching to OAuth authentication."));const g=p?"oauth":n.authenticationMethod??"apiKey";try{await this.validateDirectory(t),this.totalSteps=this.computeTotalSteps({skipLocalInstance:p}),this.stepCounter=0;const v=!p&&
|
|
71
|
-
Create application failed:`),v instanceof Error?v.message:v),process.exit(1)}}computeTotalSteps({skipLocalInstance:n}){let i=4;return n||(i+=1),i+=1,i+=1,i}getAppInfos(n){const i=(n.name??n.directory??"my-twenty-app").trim(),u=n.displayName?.trim()||
|
|
67
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const m of this.seen.entries()){const _=m[1];if(n===m[0]){l(m);continue}if(u.external){const d=u.external.registry.get(m[0])?.id;if(n!==m[0]&&d){l(m);continue}}if(this.metadataRegistry.get(m[0])?.id){l(m);continue}if(_.cycle){l(m);continue}if(_.count>1&&u.reused==="ref"){l(m);continue}}const p=(m,_)=>{const h=this.seen.get(m),d=h.def??h.schema,c={...d};if(h.ref===null)return;const y=h.ref;if(h.ref=null,y){p(y,_);const b=this.seen.get(y).schema;b.$ref&&(_.target==="draft-7"||_.target==="draft-4"||_.target==="openapi-3.0")?(d.allOf=d.allOf??[],d.allOf.push(b)):(Object.assign(d,b),Object.assign(d,c))}h.isParent||this.override({zodSchema:m,jsonSchema:d,path:h.path??[]})};for(const m of[...this.seen.entries()].reverse())p(m[0],{target:this.target});const g={};if(this.target==="draft-2020-12"?g.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?g.$schema="http://json-schema.org/draft-07/schema#":this.target==="draft-4"?g.$schema="http://json-schema.org/draft-04/schema#":this.target==="openapi-3.0"||console.warn(`Invalid target: ${this.target}`),u.external?.uri){const m=u.external.registry.get(n)?.id;if(!m)throw new Error("Schema is missing an `id` property");g.$id=u.external.uri(m)}Object.assign(g,t.def);const v=u.external?.defs??{};for(const m of this.seen.entries()){const _=m[1];_.def&&_.defId&&(v[_.defId]=_.def)}u.external||Object.keys(v).length>0&&(this.target==="draft-2020-12"?g.$defs=v:g.definitions=v);try{return JSON.parse(JSON.stringify(g))}catch{throw new Error("Error converting schema to JSON.")}}}function dm(e,n){if(e instanceof Qs){const u=new ms(n),t={};for(const p of e._idmap.entries()){const[g,v]=p;u.process(v)}const a={},l={registry:e,uri:n?.uri,defs:t};for(const p of e._idmap.entries()){const[g,v]=p;a[g]=u.emit(v,{...n,external:l})}if(Object.keys(t).length>0){const p=u.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[p]:t}}return{schemas:a}}const i=new ms(n);return i.process(e),i.emit(e,n)}function Le(e,n){const i=n??{seen:new Set};if(i.seen.has(e))return!1;i.seen.add(e);const t=e._zod.def;switch(t.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return Le(t.element,i);case"object":{for(const a in t.shape)if(Le(t.shape[a],i))return!0;return!1}case"union":{for(const a of t.options)if(Le(a,i))return!0;return!1}case"intersection":return Le(t.left,i)||Le(t.right,i);case"tuple":{for(const a of t.items)if(Le(a,i))return!0;return!!(t.rest&&Le(t.rest,i))}case"record":return Le(t.keyType,i)||Le(t.valueType,i);case"map":return Le(t.keyType,i)||Le(t.valueType,i);case"set":return Le(t.valueType,i);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return Le(t.innerType,i);case"lazy":return Le(t.getter(),i);case"default":return Le(t.innerType,i);case"prefault":return Le(t.innerType,i);case"custom":return!1;case"transform":return!0;case"pipe":return Le(t.in,i)||Le(t.out,i);case"success":return!1;case"catch":return!1;case"function":return!1}throw new Error(`Unknown schema type: ${t.type}`)}const fS=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),hS=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:R2,$ZodArray:Z2,$ZodAsyncError:Fn,$ZodBase64:k2,$ZodBase64URL:E2,$ZodBigInt:Vs,$ZodBigIntFormat:C2,$ZodBoolean:Ks,$ZodCIDRv4:w2,$ZodCIDRv6:I2,$ZodCUID:f2,$ZodCUID2:h2,$ZodCatch:s0,$ZodCheck:Te,$ZodCheckBigIntFormat:Z1,$ZodCheckEndsWith:e2,$ZodCheckGreaterThan:Ws,$ZodCheckIncludes:X1,$ZodCheckLengthEquals:K1,$ZodCheckLessThan:Gs,$ZodCheckLowerCase:J1,$ZodCheckMaxLength:H1,$ZodCheckMaxSize:B1,$ZodCheckMimeType:n2,$ZodCheckMinLength:q1,$ZodCheckMinSize:G1,$ZodCheckMultipleOf:j1,$ZodCheckNumberFormat:F1,$ZodCheckOverwrite:r2,$ZodCheckProperty:t2,$ZodCheckRegex:V1,$ZodCheckSizeEquals:W1,$ZodCheckStartsWith:Q1,$ZodCheckStringFormat:_i,$ZodCheckUpperCase:Y1,$ZodCodec:Xs,$ZodCustom:g0,$ZodCustomStringFormat:P2,$ZodDate:F2,$ZodDefault:i0,$ZodDiscriminatedUnion:q2,$ZodE164:N2,$ZodEmail:s2,$ZodEmoji:c2,$ZodEncodeError:sa,$ZodEnum:X2,$ZodError:As,$ZodFile:e0,$ZodFunction:h0,$ZodGUID:a2,$ZodIPv4:b2,$ZodIPv6:S2,$ZodISODate:$2,$ZodISODateTime:v2,$ZodISODuration:y2,$ZodISOTime:_2,$ZodIntersection:K2,$ZodJWT:A2,$ZodKSUID:g2,$ZodLazy:m0,$ZodLiteral:Q2,$ZodMap:J2,$ZodNaN:l0,$ZodNanoID:d2,$ZodNever:M2,$ZodNonOptional:a0,$ZodNull:U2,$ZodNullable:r0,$ZodNumber:qs,$ZodNumberFormat:T2,$ZodObject:W2,$ZodObjectJIT:H2,$ZodOptional:n0,$ZodPipe:c0,$ZodPrefault:o0,$ZodPromise:p0,$ZodReadonly:d0,$ZodRealError:vt,$ZodRecord:V2,$ZodRegistry:Qs,$ZodSet:Y2,$ZodString:yi,$ZodStringFormat:Ie,$ZodSuccess:u0,$ZodSymbol:z2,$ZodTemplateLiteral:f0,$ZodTransform:t0,$ZodTuple:Ys,$ZodType:ie,$ZodULID:p2,$ZodURL:l2,$ZodUUID:u2,$ZodUndefined:D2,$ZodUnion:Js,$ZodUnknown:L2,$ZodVoid:j2,$ZodXID:m2,$brand:Rp,$constructor:C,$input:S0,$output:b0,Doc:i2,JSONSchema:fS,JSONSchemaGenerator:ms,NEVER:vr,TimePrecision:k0,_any:H0,_array:im,_base64:vl,_base64url:$l,_bigint:M0,_boolean:R0,_catch:aS,_check:lm,_cidrv4:ml,_cidrv6:gl,_coercedBigint:j0,_coercedBoolean:L0,_coercedDate:Y0,_coercedNumber:P0,_coercedString:I0,_cuid:sl,_cuid2:ll,_custom:am,_date:J0,_decode:zs,_decodeAsync:Us,_default:rS,_discriminatedUnion:W7,_e164:_l,_email:tl,_emoji:al,_encode:Cs,_encodeAsync:Ds,_endsWith:El,_enum:Y7,_file:om,_float32:C0,_float64:z0,_gt:Wn,_gte:gt,_guid:Xo,_includes:kl,_int:T0,_int32:D0,_int64:F0,_intersection:H7,_ipv4:hl,_ipv6:pl,_isoDate:E0,_isoDateTime:O0,_isoDuration:x0,_isoTime:N0,_jwt:yl,_ksuid:fl,_lazy:cS,_length:ga,_literal:Q7,_lowercase:wl,_lt:Gn,_lte:Zt,_map:V7,_max:Zt,_maxLength:ma,_maxSize:pa,_mime:Nl,_min:gt,_minLength:Ir,_minSize:li,_multipleOf:si,_nan:X0,_nanoid:ul,_nativeEnum:X7,_negative:em,_never:K0,_nonnegative:nm,_nonoptional:iS,_nonpositive:tm,_normalize:xl,_null:W0,_nullable:nS,_number:A0,_optional:tS,_overwrite:Vn,_parse:hi,_parseAsync:pi,_pipe:uS,_positive:Q0,_promise:dS,_property:rm,_readonly:sS,_record:K7,_refine:um,_regex:Sl,_safeDecode:Ls,_safeDecodeAsync:js,_safeEncode:Rs,_safeEncodeAsync:Ms,_safeParse:mi,_safeParseAsync:gi,_set:J7,_size:bl,_startsWith:Ol,_string:w0,_stringFormat:bi,_stringbool:cm,_success:oS,_superRefine:sm,_symbol:B0,_templateLiteral:lS,_toLowerCase:Pl,_toUpperCase:Tl,_transform:eS,_trim:Al,_tuple:q7,_uint32:U0,_uint64:Z0,_ulid:cl,_undefined:G0,_union:G7,_unknown:q0,_uppercase:Il,_url:ha,_uuid:nl,_uuidv4:rl,_uuidv6:il,_uuidv7:ol,_void:V0,_xid:dl,clone:At,config:Qe,decode:N5,decodeAsync:A5,encode:E5,encodeAsync:x5,flattenError:Ps,formatError:Ts,globalConfig:Ko,globalRegistry:jn,isValidBase64:Hs,isValidBase64URL:O2,isValidJWT:x2,locales:y0,parse:fs,parseAsync:hs,prettifyError:r1,regexes:Bs,registry:el,safeDecode:T5,safeDecodeAsync:z5,safeEncode:P5,safeEncodeAsync:C5,safeParse:i1,safeParseAsync:o1,toDotPath:n1,toJSONSchema:dm,treeifyError:t1,util:Qp,version:o2},Symbol.toStringTag,{value:"Module"})),Cl=C("ZodISODateTime",(e,n)=>{v2.init(e,n),Ee.init(e,n)});function fm(e){return O0(Cl,e)}const zl=C("ZodISODate",(e,n)=>{$2.init(e,n),Ee.init(e,n)});function hm(e){return E0(zl,e)}const Dl=C("ZodISOTime",(e,n)=>{_2.init(e,n),Ee.init(e,n)});function pm(e){return N0(Dl,e)}const Ul=C("ZodISODuration",(e,n)=>{y2.init(e,n),Ee.init(e,n)});function mm(e){return x0(Ul,e)}const pS=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:zl,ZodISODateTime:Cl,ZodISODuration:Ul,ZodISOTime:Dl,date:hm,datetime:fm,duration:mm,time:pm},Symbol.toStringTag,{value:"Module"})),gm=(e,n)=>{As.init(e,n),e.name="ZodError",Object.defineProperties(e,{format:{value:i=>Ts(e,i)},flatten:{value:i=>Ps(e,i)},addIssue:{value:i=>{e.issues.push(i),e.message=JSON.stringify(e.issues,Vo,2)}},addIssues:{value:i=>{e.issues.push(...i),e.message=JSON.stringify(e.issues,Vo,2)}},isEmpty:{get(){return e.issues.length===0}}})},mS=C("ZodError",gm),$t=C("ZodError",gm,{Parent:Error}),vm=hi($t),$m=pi($t),_m=mi($t),ym=gi($t),bm=Cs($t),Sm=zs($t),wm=Ds($t),Im=Us($t),km=Rs($t),Om=Ls($t),Em=Ms($t),Nm=js($t),se=C("ZodType",(e,n)=>(ie.init(e,n),e.def=n,e.type=n.type,Object.defineProperty(e,"_def",{value:n}),e.check=(...i)=>e.clone(hn(n,{checks:[...n.checks??[],...i.map(u=>typeof u=="function"?{_zod:{check:u,def:{check:"custom"},onattach:[]}}:u)]})),e.clone=(i,u)=>At(e,i,u),e.brand=()=>e,e.register=((i,u)=>(i.add(e,u),e)),e.parse=(i,u)=>vm(e,i,u,{callee:e.parse}),e.safeParse=(i,u)=>_m(e,i,u),e.parseAsync=async(i,u)=>$m(e,i,u,{callee:e.parseAsync}),e.safeParseAsync=async(i,u)=>ym(e,i,u),e.spa=e.safeParseAsync,e.encode=(i,u)=>bm(e,i,u),e.decode=(i,u)=>Sm(e,i,u),e.encodeAsync=async(i,u)=>wm(e,i,u),e.decodeAsync=async(i,u)=>Im(e,i,u),e.safeEncode=(i,u)=>km(e,i,u),e.safeDecode=(i,u)=>Om(e,i,u),e.safeEncodeAsync=async(i,u)=>Em(e,i,u),e.safeDecodeAsync=async(i,u)=>Nm(e,i,u),e.refine=(i,u)=>e.check(pg(i,u)),e.superRefine=i=>e.check(mg(i)),e.overwrite=i=>e.check(Vn(i)),e.optional=()=>ea(e),e.nullable=()=>ta(e),e.nullish=()=>ea(ta(e)),e.nonoptional=i=>ng(e,i),e.array=()=>Ar(e),e.or=i=>oc([e,i]),e.and=i=>Zm(e,i),e.transform=i=>na(e,sc(i)),e.default=i=>Qm(e,i),e.prefault=i=>tg(e,i),e.catch=i=>og(e,i),e.pipe=i=>na(e,i),e.readonly=()=>sg(e),e.describe=i=>{const u=e.clone();return jn.add(u,{description:i}),u},Object.defineProperty(e,"description",{get(){return jn.get(e)?.description},configurable:!0}),e.meta=(...i)=>{if(i.length===0)return jn.get(e);const u=e.clone();return jn.add(u,i[0]),u},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Rl=C("_ZodString",(e,n)=>{yi.init(e,n),se.init(e,n);const i=e._zod.bag;e.format=i.format??null,e.minLength=i.minimum??null,e.maxLength=i.maximum??null,e.regex=(...u)=>e.check(Sl(...u)),e.includes=(...u)=>e.check(kl(...u)),e.startsWith=(...u)=>e.check(Ol(...u)),e.endsWith=(...u)=>e.check(El(...u)),e.min=(...u)=>e.check(Ir(...u)),e.max=(...u)=>e.check(ma(...u)),e.length=(...u)=>e.check(ga(...u)),e.nonempty=(...u)=>e.check(Ir(1,...u)),e.lowercase=u=>e.check(wl(u)),e.uppercase=u=>e.check(Il(u)),e.trim=()=>e.check(Al()),e.normalize=(...u)=>e.check(xl(...u)),e.toLowerCase=()=>e.check(Pl()),e.toUpperCase=()=>e.check(Tl())}),va=C("ZodString",(e,n)=>{yi.init(e,n),Rl.init(e,n),e.email=i=>e.check(tl(Ll,i)),e.url=i=>e.check(ha($a,i)),e.jwt=i=>e.check(yl(Ql,i)),e.emoji=i=>e.check(al(Ml,i)),e.guid=i=>e.check(Xo(Qo,i)),e.uuid=i=>e.check(nl(sn,i)),e.uuidv4=i=>e.check(rl(sn,i)),e.uuidv6=i=>e.check(il(sn,i)),e.uuidv7=i=>e.check(ol(sn,i)),e.nanoid=i=>e.check(ul(jl,i)),e.guid=i=>e.check(Xo(Qo,i)),e.cuid=i=>e.check(sl(Fl,i)),e.cuid2=i=>e.check(ll(Zl,i)),e.ulid=i=>e.check(cl(Bl,i)),e.base64=i=>e.check(vl(Jl,i)),e.base64url=i=>e.check($l(Yl,i)),e.xid=i=>e.check(dl(Gl,i)),e.ksuid=i=>e.check(fl(Wl,i)),e.ipv4=i=>e.check(hl(Hl,i)),e.ipv6=i=>e.check(pl(ql,i)),e.cidrv4=i=>e.check(ml(Kl,i)),e.cidrv6=i=>e.check(gl(Vl,i)),e.e164=i=>e.check(_l(Xl,i)),e.datetime=i=>e.check(fm(i)),e.date=i=>e.check(hm(i)),e.time=i=>e.check(pm(i)),e.duration=i=>e.check(mm(i))});function En(e){return w0(va,e)}const Ee=C("ZodStringFormat",(e,n)=>{Ie.init(e,n),Rl.init(e,n)}),Ll=C("ZodEmail",(e,n)=>{s2.init(e,n),Ee.init(e,n)});function gS(e){return tl(Ll,e)}const Qo=C("ZodGUID",(e,n)=>{a2.init(e,n),Ee.init(e,n)});function vS(e){return Xo(Qo,e)}const sn=C("ZodUUID",(e,n)=>{u2.init(e,n),Ee.init(e,n)});function $S(e){return nl(sn,e)}function _S(e){return rl(sn,e)}function yS(e){return il(sn,e)}function bS(e){return ol(sn,e)}const $a=C("ZodURL",(e,n)=>{l2.init(e,n),Ee.init(e,n)});function SS(e){return ha($a,e)}function wS(e){return ha($a,{protocol:/^https?$/,hostname:S1,...F(e)})}const Ml=C("ZodEmoji",(e,n)=>{c2.init(e,n),Ee.init(e,n)});function IS(e){return al(Ml,e)}const jl=C("ZodNanoID",(e,n)=>{d2.init(e,n),Ee.init(e,n)});function kS(e){return ul(jl,e)}const Fl=C("ZodCUID",(e,n)=>{f2.init(e,n),Ee.init(e,n)});function OS(e){return sl(Fl,e)}const Zl=C("ZodCUID2",(e,n)=>{h2.init(e,n),Ee.init(e,n)});function ES(e){return ll(Zl,e)}const Bl=C("ZodULID",(e,n)=>{p2.init(e,n),Ee.init(e,n)});function NS(e){return cl(Bl,e)}const Gl=C("ZodXID",(e,n)=>{m2.init(e,n),Ee.init(e,n)});function xS(e){return dl(Gl,e)}const Wl=C("ZodKSUID",(e,n)=>{g2.init(e,n),Ee.init(e,n)});function AS(e){return fl(Wl,e)}const Hl=C("ZodIPv4",(e,n)=>{b2.init(e,n),Ee.init(e,n)});function PS(e){return hl(Hl,e)}const ql=C("ZodIPv6",(e,n)=>{S2.init(e,n),Ee.init(e,n)});function TS(e){return pl(ql,e)}const Kl=C("ZodCIDRv4",(e,n)=>{w2.init(e,n),Ee.init(e,n)});function CS(e){return ml(Kl,e)}const Vl=C("ZodCIDRv6",(e,n)=>{I2.init(e,n),Ee.init(e,n)});function zS(e){return gl(Vl,e)}const Jl=C("ZodBase64",(e,n)=>{k2.init(e,n),Ee.init(e,n)});function DS(e){return vl(Jl,e)}const Yl=C("ZodBase64URL",(e,n)=>{E2.init(e,n),Ee.init(e,n)});function US(e){return $l(Yl,e)}const Xl=C("ZodE164",(e,n)=>{N2.init(e,n),Ee.init(e,n)});function RS(e){return _l(Xl,e)}const Ql=C("ZodJWT",(e,n)=>{A2.init(e,n),Ee.init(e,n)});function LS(e){return yl(Ql,e)}const Si=C("ZodCustomStringFormat",(e,n)=>{P2.init(e,n),Ee.init(e,n)});function MS(e,n,i={}){return bi(Si,e,n,i)}function jS(e){return bi(Si,"hostname",Zs,e)}function FS(e){return bi(Si,"hex",L1,e)}function ZS(e,n){const i=n?.enc??"hex",u=`${e}_${i}`,t=Bs[u];if(!t)throw new Error(`Unrecognized hash format: ${u}`);return bi(Si,u,t,n)}const _a=C("ZodNumber",(e,n)=>{qs.init(e,n),se.init(e,n),e.gt=(u,t)=>e.check(Wn(u,t)),e.gte=(u,t)=>e.check(gt(u,t)),e.min=(u,t)=>e.check(gt(u,t)),e.lt=(u,t)=>e.check(Gn(u,t)),e.lte=(u,t)=>e.check(Zt(u,t)),e.max=(u,t)=>e.check(Zt(u,t)),e.int=u=>e.check(gs(u)),e.safe=u=>e.check(gs(u)),e.positive=u=>e.check(Wn(0,u)),e.nonnegative=u=>e.check(gt(0,u)),e.negative=u=>e.check(Gn(0,u)),e.nonpositive=u=>e.check(Zt(0,u)),e.multipleOf=(u,t)=>e.check(si(u,t)),e.step=(u,t)=>e.check(si(u,t)),e.finite=()=>e;const i=e._zod.bag;e.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),e.isFinite=!0,e.format=i.format??null});function xm(e){return A0(_a,e)}const xr=C("ZodNumberFormat",(e,n)=>{T2.init(e,n),_a.init(e,n)});function gs(e){return T0(xr,e)}function BS(e){return C0(xr,e)}function GS(e){return z0(xr,e)}function WS(e){return D0(xr,e)}function HS(e){return U0(xr,e)}const ya=C("ZodBoolean",(e,n)=>{Ks.init(e,n),se.init(e,n)});function ec(e){return R0(ya,e)}const ba=C("ZodBigInt",(e,n)=>{Vs.init(e,n),se.init(e,n),e.gte=(u,t)=>e.check(gt(u,t)),e.min=(u,t)=>e.check(gt(u,t)),e.gt=(u,t)=>e.check(Wn(u,t)),e.gte=(u,t)=>e.check(gt(u,t)),e.min=(u,t)=>e.check(gt(u,t)),e.lt=(u,t)=>e.check(Gn(u,t)),e.lte=(u,t)=>e.check(Zt(u,t)),e.max=(u,t)=>e.check(Zt(u,t)),e.positive=u=>e.check(Wn(BigInt(0),u)),e.negative=u=>e.check(Gn(BigInt(0),u)),e.nonpositive=u=>e.check(Zt(BigInt(0),u)),e.nonnegative=u=>e.check(gt(BigInt(0),u)),e.multipleOf=(u,t)=>e.check(si(u,t));const i=e._zod.bag;e.minValue=i.minimum??null,e.maxValue=i.maximum??null,e.format=i.format??null});function qS(e){return M0(ba,e)}const tc=C("ZodBigIntFormat",(e,n)=>{C2.init(e,n),ba.init(e,n)});function KS(e){return F0(tc,e)}function VS(e){return Z0(tc,e)}const Am=C("ZodSymbol",(e,n)=>{z2.init(e,n),se.init(e,n)});function JS(e){return B0(Am,e)}const Pm=C("ZodUndefined",(e,n)=>{D2.init(e,n),se.init(e,n)});function YS(e){return G0(Pm,e)}const Tm=C("ZodNull",(e,n)=>{U2.init(e,n),se.init(e,n)});function Cm(e){return W0(Tm,e)}const zm=C("ZodAny",(e,n)=>{R2.init(e,n),se.init(e,n)});function XS(){return H0(zm)}const Dm=C("ZodUnknown",(e,n)=>{L2.init(e,n),se.init(e,n)});function kr(){return q0(Dm)}const Um=C("ZodNever",(e,n)=>{M2.init(e,n),se.init(e,n)});function nc(e){return K0(Um,e)}const Rm=C("ZodVoid",(e,n)=>{j2.init(e,n),se.init(e,n)});function QS(e){return V0(Rm,e)}const rc=C("ZodDate",(e,n)=>{F2.init(e,n),se.init(e,n),e.min=(u,t)=>e.check(gt(u,t)),e.max=(u,t)=>e.check(Zt(u,t));const i=e._zod.bag;e.minDate=i.minimum?new Date(i.minimum):null,e.maxDate=i.maximum?new Date(i.maximum):null});function ew(e){return J0(rc,e)}const Lm=C("ZodArray",(e,n)=>{Z2.init(e,n),se.init(e,n),e.element=n.element,e.min=(i,u)=>e.check(Ir(i,u)),e.nonempty=i=>e.check(Ir(1,i)),e.max=(i,u)=>e.check(ma(i,u)),e.length=(i,u)=>e.check(ga(i,u)),e.unwrap=()=>e.element});function Ar(e,n){return im(Lm,e,n)}function tw(e){const n=e._zod.def.shape;return uc(Object.keys(n))}const Sa=C("ZodObject",(e,n)=>{H2.init(e,n),se.init(e,n),de(e,"shape",()=>n.shape),e.keyof=()=>uc(Object.keys(e._zod.def.shape)),e.catchall=i=>e.clone({...e._zod.def,catchall:i}),e.passthrough=()=>e.clone({...e._zod.def,catchall:kr()}),e.loose=()=>e.clone({...e._zod.def,catchall:kr()}),e.strict=()=>e.clone({...e._zod.def,catchall:nc()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=i=>Hp(e,i),e.safeExtend=i=>qp(e,i),e.merge=i=>Kp(e,i),e.pick=i=>Gp(e,i),e.omit=i=>Wp(e,i),e.partial=(...i)=>Vp(lc,e,i[0]),e.required=(...i)=>Jp(cc,e,i[0])});function Mm(e,n){const i={type:"object",shape:e??{},...F(n)};return new Sa(i)}function nw(e,n){return new Sa({type:"object",shape:e,catchall:nc(),...F(n)})}function rw(e,n){return new Sa({type:"object",shape:e,catchall:kr(),...F(n)})}const ic=C("ZodUnion",(e,n)=>{Js.init(e,n),se.init(e,n),e.options=n.options});function oc(e,n){return new ic({type:"union",options:e,...F(n)})}const jm=C("ZodDiscriminatedUnion",(e,n)=>{ic.init(e,n),q2.init(e,n)});function iw(e,n,i){return new jm({type:"union",options:n,discriminator:e,...F(i)})}const Fm=C("ZodIntersection",(e,n)=>{K2.init(e,n),se.init(e,n)});function Zm(e,n){return new Fm({type:"intersection",left:e,right:n})}const Bm=C("ZodTuple",(e,n)=>{Ys.init(e,n),se.init(e,n),e.rest=i=>e.clone({...e._zod.def,rest:i})});function Gm(e,n,i){const u=n instanceof ie,t=u?i:n,a=u?n:null;return new Bm({type:"tuple",items:e,rest:a,...F(t)})}const ac=C("ZodRecord",(e,n)=>{V2.init(e,n),se.init(e,n),e.keyType=n.keyType,e.valueType=n.valueType});function Wm(e,n,i){return new ac({type:"record",keyType:e,valueType:n,...F(i)})}function ow(e,n,i){const u=At(e);return u._zod.values=void 0,new ac({type:"record",keyType:u,valueType:n,...F(i)})}const Hm=C("ZodMap",(e,n)=>{J2.init(e,n),se.init(e,n),e.keyType=n.keyType,e.valueType=n.valueType});function aw(e,n,i){return new Hm({type:"map",keyType:e,valueType:n,...F(i)})}const qm=C("ZodSet",(e,n)=>{Y2.init(e,n),se.init(e,n),e.min=(...i)=>e.check(li(...i)),e.nonempty=i=>e.check(li(1,i)),e.max=(...i)=>e.check(pa(...i)),e.size=(...i)=>e.check(bl(...i))});function uw(e,n){return new qm({type:"set",valueType:e,...F(n)})}const ci=C("ZodEnum",(e,n)=>{X2.init(e,n),se.init(e,n),e.enum=n.entries,e.options=Object.values(n.entries);const i=new Set(Object.keys(n.entries));e.extract=(u,t)=>{const a={};for(const l of u)if(i.has(l))a[l]=n.entries[l];else throw new Error(`Key ${l} not found in enum`);return new ci({...n,checks:[],...F(t),entries:a})},e.exclude=(u,t)=>{const a={...n.entries};for(const l of u)if(i.has(l))delete a[l];else throw new Error(`Key ${l} not found in enum`);return new ci({...n,checks:[],...F(t),entries:a})}});function uc(e,n){const i=Array.isArray(e)?Object.fromEntries(e.map(u=>[u,u])):e;return new ci({type:"enum",entries:i,...F(n)})}function sw(e,n){return new ci({type:"enum",entries:e,...F(n)})}const Km=C("ZodLiteral",(e,n)=>{Q2.init(e,n),se.init(e,n),e.values=new Set(n.values),Object.defineProperty(e,"value",{get(){if(n.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return n.values[0]}})});function lw(e,n){return new Km({type:"literal",values:Array.isArray(e)?e:[e],...F(n)})}const Vm=C("ZodFile",(e,n)=>{e0.init(e,n),se.init(e,n),e.min=(i,u)=>e.check(li(i,u)),e.max=(i,u)=>e.check(pa(i,u)),e.mime=(i,u)=>e.check(Nl(Array.isArray(i)?i:[i],u))});function cw(e){return om(Vm,e)}const Jm=C("ZodTransform",(e,n)=>{t0.init(e,n),se.init(e,n),e._zod.parse=(i,u)=>{if(u.direction==="backward")throw new sa(e.constructor.name);i.addIssue=a=>{if(typeof a=="string")i.issues.push(Sr(a,i.value,n));else{const l=a;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=i.value),l.inst??(l.inst=e),i.issues.push(Sr(l))}};const t=n.transform(i.value,i);return t instanceof Promise?t.then(a=>(i.value=a,i)):(i.value=t,i)}});function sc(e){return new Jm({type:"transform",transform:e})}const lc=C("ZodOptional",(e,n)=>{n0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function ea(e){return new lc({type:"optional",innerType:e})}const Ym=C("ZodNullable",(e,n)=>{r0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function ta(e){return new Ym({type:"nullable",innerType:e})}function dw(e){return ea(ta(e))}const Xm=C("ZodDefault",(e,n)=>{i0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Qm(e,n){return new Xm({type:"default",innerType:e,get defaultValue(){return typeof n=="function"?n():ca(n)}})}const eg=C("ZodPrefault",(e,n)=>{o0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function tg(e,n){return new eg({type:"prefault",innerType:e,get defaultValue(){return typeof n=="function"?n():ca(n)}})}const cc=C("ZodNonOptional",(e,n)=>{a0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function ng(e,n){return new cc({type:"nonoptional",innerType:e,...F(n)})}const rg=C("ZodSuccess",(e,n)=>{u0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function fw(e){return new rg({type:"success",innerType:e})}const ig=C("ZodCatch",(e,n)=>{s0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function og(e,n){return new ig({type:"catch",innerType:e,catchValue:typeof n=="function"?n:()=>n})}const ag=C("ZodNaN",(e,n)=>{l0.init(e,n),se.init(e,n)});function hw(e){return X0(ag,e)}const dc=C("ZodPipe",(e,n)=>{c0.init(e,n),se.init(e,n),e.in=n.in,e.out=n.out});function na(e,n){return new dc({type:"pipe",in:e,out:n})}const fc=C("ZodCodec",(e,n)=>{dc.init(e,n),Xs.init(e,n)});function pw(e,n,i){return new fc({type:"pipe",in:e,out:n,transform:i.decode,reverseTransform:i.encode})}const ug=C("ZodReadonly",(e,n)=>{d0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function sg(e){return new ug({type:"readonly",innerType:e})}const lg=C("ZodTemplateLiteral",(e,n)=>{f0.init(e,n),se.init(e,n)});function mw(e,n){return new lg({type:"template_literal",parts:e,...F(n)})}const cg=C("ZodLazy",(e,n)=>{m0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.getter()});function dg(e){return new cg({type:"lazy",getter:e})}const fg=C("ZodPromise",(e,n)=>{p0.init(e,n),se.init(e,n),e.unwrap=()=>e._zod.def.innerType});function gw(e){return new fg({type:"promise",innerType:e})}const hg=C("ZodFunction",(e,n)=>{h0.init(e,n),se.init(e,n)});function up(e){return new hg({type:"function",input:Array.isArray(e?.input)?Gm(e?.input):e?.input??Ar(kr()),output:e?.output??kr()})}const wa=C("ZodCustom",(e,n)=>{g0.init(e,n),se.init(e,n)});function vw(e){const n=new Te({check:"custom"});return n._zod.check=e,n}function $w(e,n){return am(wa,e??(()=>!0),n)}function pg(e,n={}){return um(wa,e,n)}function mg(e){return sm(e)}function _w(e,n={error:`Input not instance of ${e.name}`}){const i=new wa({type:"custom",check:"custom",fn:u=>u instanceof e,abort:!0,...F(n)});return i._zod.bag.Class=e,i}const yw=(...e)=>cm({Codec:fc,Boolean:ya,String:va},...e);function bw(e){const n=dg(()=>oc([En(e),xm(),ec(),Cm(),Ar(n),Wm(En(),n)]));return n}function gg(e,n){return na(sc(e),n)}const Sw={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 ww(e){Qe({customError:e})}function Iw(){return Qe().customError}var vs;vs||(vs={});function kw(e){return I0(va,e)}function Ow(e){return P0(_a,e)}function Ew(e){return L0(ya,e)}function Nw(e){return j0(ba,e)}function xw(e){return Y0(rc,e)}const Aw=Object.freeze(Object.defineProperty({__proto__:null,bigint:Nw,boolean:Ew,date:xw,number:Ow,string:kw},Symbol.toStringTag,{value:"Module"}));Qe(v0());const Kt=Object.freeze(Object.defineProperty({__proto__:null,$brand:Rp,$input:S0,$output:b0,NEVER:vr,TimePrecision:k0,ZodAny:zm,ZodArray:Lm,ZodBase64:Jl,ZodBase64URL:Yl,ZodBigInt:ba,ZodBigIntFormat:tc,ZodBoolean:ya,ZodCIDRv4:Kl,ZodCIDRv6:Vl,ZodCUID:Fl,ZodCUID2:Zl,ZodCatch:ig,ZodCodec:fc,ZodCustom:wa,ZodCustomStringFormat:Si,ZodDate:rc,ZodDefault:Xm,ZodDiscriminatedUnion:jm,ZodE164:Xl,ZodEmail:Ll,ZodEmoji:Ml,ZodEnum:ci,ZodError:mS,ZodFile:Vm,get ZodFirstPartyTypeKind(){return vs},ZodFunction:hg,ZodGUID:Qo,ZodIPv4:Hl,ZodIPv6:ql,ZodISODate:zl,ZodISODateTime:Cl,ZodISODuration:Ul,ZodISOTime:Dl,ZodIntersection:Fm,ZodIssueCode:Sw,ZodJWT:Ql,ZodKSUID:Wl,ZodLazy:cg,ZodLiteral:Km,ZodMap:Hm,ZodNaN:ag,ZodNanoID:jl,ZodNever:Um,ZodNonOptional:cc,ZodNull:Tm,ZodNullable:Ym,ZodNumber:_a,ZodNumberFormat:xr,ZodObject:Sa,ZodOptional:lc,ZodPipe:dc,ZodPrefault:eg,ZodPromise:fg,ZodReadonly:ug,ZodRealError:$t,ZodRecord:ac,ZodSet:qm,ZodString:va,ZodStringFormat:Ee,ZodSuccess:rg,ZodSymbol:Am,ZodTemplateLiteral:lg,ZodTransform:Jm,ZodTuple:Bm,ZodType:se,ZodULID:Bl,ZodURL:$a,ZodUUID:sn,ZodUndefined:Pm,ZodUnion:ic,ZodUnknown:Dm,ZodVoid:Rm,ZodXID:Gl,_ZodString:Rl,_default:Qm,_function:up,any:XS,array:Ar,base64:DS,base64url:US,bigint:qS,boolean:ec,catch:og,check:vw,cidrv4:CS,cidrv6:zS,clone:At,codec:pw,coerce:Aw,config:Qe,core:hS,cuid:OS,cuid2:ES,custom:$w,date:ew,decode:Sm,decodeAsync:Im,discriminatedUnion:iw,e164:RS,email:gS,emoji:IS,encode:bm,encodeAsync:wm,endsWith:El,enum:uc,file:cw,flattenError:Ps,float32:BS,float64:GS,formatError:Ts,function:up,getErrorMap:Iw,globalRegistry:jn,gt:Wn,gte:gt,guid:vS,hash:ZS,hex:FS,hostname:jS,httpUrl:wS,includes:kl,instanceof:_w,int:gs,int32:WS,int64:KS,intersection:Zm,ipv4:PS,ipv6:TS,iso:pS,json:bw,jwt:LS,keyof:tw,ksuid:AS,lazy:dg,length:ga,literal:lw,locales:y0,looseObject:rw,lowercase:wl,lt:Gn,lte:Zt,map:aw,maxLength:ma,maxSize:pa,mime:Nl,minLength:Ir,minSize:li,multipleOf:si,nan:hw,nanoid:kS,nativeEnum:sw,negative:em,never:nc,nonnegative:nm,nonoptional:ng,nonpositive:tm,normalize:xl,null:Cm,nullable:ta,nullish:dw,number:xm,object:Mm,optional:ea,overwrite:Vn,parse:vm,parseAsync:$m,partialRecord:ow,pipe:na,positive:Q0,prefault:tg,preprocess:gg,prettifyError:r1,promise:gw,property:rm,readonly:sg,record:Wm,refine:pg,regex:Sl,regexes:Bs,registry:el,safeDecode:Om,safeDecodeAsync:Nm,safeEncode:km,safeEncodeAsync:Em,safeParse:_m,safeParseAsync:ym,set:uw,setErrorMap:ww,size:bl,startsWith:Ol,strictObject:nw,string:En,stringFormat:MS,stringbool:yw,success:fw,superRefine:mg,symbol:JS,templateLiteral:mw,toJSONSchema:dm,toLowerCase:Pl,toUpperCase:Tl,transform:sc,treeifyError:t1,trim:Al,tuple:Gm,uint32:HS,uint64:VS,ulid:NS,undefined:YS,union:oc,unknown:kr,uppercase:Il,url:SS,util:Qp,uuid:$S,uuidv4:_S,uuidv6:yS,uuidv7:bS,void:QS,xid:xS},Symbol.toStringTag,{value:"Module"})),Pw=e=>/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e);var os,sp;function Tw(){if(sp)return os;sp=1;var e="[object Symbol]",n=/[\\^$.*+?()[\]{}|]/g,i=RegExp(n.source),u=typeof In=="object"&&In&&In.Object===Object&&In,t=typeof self=="object"&&self&&self.Object===Object&&self,a=u||t||Function("return this")(),l=Object.prototype,p=l.toString,g=a.Symbol,v=g?g.prototype:void 0,m=v?v.toString:void 0;function _(b){if(typeof b=="string")return b;if(d(b))return m?m.call(b):"";var I=b+"";return I=="0"&&1/b==-1/0?"-0":I}function h(b){return!!b&&typeof b=="object"}function d(b){return typeof b=="symbol"||h(b)&&p.call(b)==e}function c(b){return b==null?"":_(b)}function y(b){return b=c(b),b&&i.test(b)?b.replace(n,"\\$&"):b}return os=y,os}Tw();const vg="en",Cw={en:vg,"pseudo-en":"pseudo-en","af-ZA":"af-ZA","ar-SA":"ar-SA","ca-ES":"ca-ES","cs-CZ":"cs-CZ","da-DK":"da-DK","de-DE":"de-DE","el-GR":"el-GR","es-ES":"es-ES","fi-FI":"fi-FI","fr-FR":"fr-FR","he-IL":"he-IL","hu-HU":"hu-HU","it-IT":"it-IT","ja-JP":"ja-JP","ko-KR":"ko-KR","nl-NL":"nl-NL","no-NO":"no-NO","pl-PL":"pl-PL","pt-BR":"pt-BR","pt-PT":"pt-PT","ro-RO":"ro-RO","ru-RU":"ru-RU","sr-Cyrl":"sr-Cyrl","sv-SE":"sv-SE","tr-TR":"tr-TR","uk-UA":"uk-UA","vi-VN":"vi-VN","zh-CN":"zh-CN","zh-TW":"zh-TW"},zw={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function $g(e,n){var i=Array.prototype.slice.call(n);return i.push(zw),e.apply(this,i)}function lp(e,n){e=e.split("-"),n=n.split("-");for(var i=e[0].split("."),u=n[0].split("."),t=0;t<3;t++){var a=Number(i[t]),l=Number(u[t]);if(a>l)return 1;if(l>a)return-1;if(!isNaN(a)&&isNaN(l))return 1;if(isNaN(a)&&!isNaN(l))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]<n[1]?-1:0:!e[1]&&n[1]?1:e[1]&&!n[1]?-1:0}var Dw={}.constructor;function as(e){return e!=null&&e.constructor===Dw}function $s(e){"@babel/helpers - typeof";return $s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},$s(e)}function Ia(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Uw(e,n){for(var i=0;i<n.length;i++){var u=n[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function ka(e,n,i){return n&&Uw(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Rw="1.2.0",Lw="1.7.35",cp=" ext. ",Mw=/^\d+$/,_g=(function(){function e(n){Ia(this,e),Bw(n),this.metadata=n,yg.call(this,n)}return ka(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(i){return i!=="001"})}},{key:"getCountryMetadata",value:function(i){return this.metadata.countries[i]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(i){return this.getCountryMetadata(i)!==void 0}},{key:"hasCallingCode",value:function(i){if(this.getCountryCodesForCallingCode(i))return!0;if(this.nonGeographic()){if(this.nonGeographic()[i])return!0}else{var u=this.countryCallingCodes()[i];if(u&&u.length===1&&u[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(i){return this.nonGeographic()?!!this.nonGeographic()[i]:!this.getCountryCodesForCallingCode(i)}},{key:"country",value:function(i){return this.selectNumberingPlan(i)}},{key:"selectNumberingPlan",value:function(i,u){if(i&&Mw.test(i)&&(u=i,i=null),i&&i!=="001"){if(!this.hasCountry(i))throw new Error("Unknown country: ".concat(i));this.numberingPlan=new dp(this.getCountryMetadata(i),this)}else if(u){if(!this.hasCallingCode(u))throw new Error("Unknown calling code: ".concat(u));this.numberingPlan=new dp(this.getNumberingPlanMetadata(u),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(i){var u=this.countryCallingCodes()[i];if(u)return u.length===1&&u[0].length===3?void 0:u}},{key:"getCountryCodeForCallingCode",value:function(i){var u=this.getCountryCodesForCallingCode(i);if(u)return u[0]}},{key:"getNumberingPlanMetadata",value:function(i){var u=this.getCountryCodeForCallingCode(i);if(u)return this.getCountryMetadata(u);if(this.nonGeographic()){var t=this.nonGeographic()[i];if(t)return t}else{var a=this.countryCallingCodes()[i];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(i){return this.numberingPlan.type(i)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(i){return this.selectNumberingPlan(i)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e})(),dp=(function(){function e(n,i){Ia(this,e),this.globalMetadataObject=i,this.metadata=n,yg.call(this,i.metadata)}return ka(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(i){return i[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var i=this,u=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return u.map(function(t){return new jw(t,i)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(i){return i[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(i){if(this.hasTypes()&&fp(this.types(),i))return new Zw(fp(this.types(),i),this)}},{key:"ext",value:function(){return this.v1||this.v2?cp:this.metadata[13]||cp}}]),e})(),jw=(function(){function e(n,i){Ia(this,e),this._format=n,this.metadata=i}return ka(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Fw.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e})(),Fw=/^\(?\$1\)?$/,Zw=(function(){function e(n,i){Ia(this,e),this.type=n,this.metadata=i}return ka(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e})();function fp(e,n){switch(n){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function Bw(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!as(e)||!as(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(as(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Gw(e)+": "+e,"."))}var Gw=function(n){return $s(n)};function Ww(e,n){if(n=new _g(n),n.hasCountry(e))return n.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function yg(e){var n=e.version;typeof n=="number"?(this.v1=n===1,this.v2=n===2,this.v3=n===3,this.v4=n===4):n?lp(n,Rw)===-1?this.v2=!0:lp(n,Lw)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function Hw(e){return new _g(e).getCountries()}function bg(){return $g(Hw,arguments)}function qw(){return $g(Ww,arguments)}ve.TEXT,ve.FULL_NAME,ve.EMAILS,ve.ADDRESS,ve.LINKS,ve.PHONES,ve.RICH_TEXT,ve.UUID;Object.keys(Cw).reduce((e,n)=>{const i=n.split("-")[0].toLowerCase();return(!e[i]||n===vg)&&(e[i]=n),e},{});const Kw=new Set(["__proto__","constructor","prototype"]),Sg=(e,n)=>{if(!ln.isString(n))return;const i=n.split(".");let u=e;for(const t of i){if(!kn(u)||!ln.isObject(u)||Kw.has(t)||!Object.prototype.hasOwnProperty.call(u,t))return;u=u[t]}return u},Jn=(e,n)=>(i,u)=>ln.isNonEmptyArray(i)?i[e](t=>n(Sg(t,u))):!1,Pr=(e,n)=>(i,u,t)=>ln.isNonEmptyArray(i)?i[e](a=>n(Sg(a,u),t)):!1,We=new qn;We.functions.isDefined=e=>kn(e);We.functions.isNonEmptyString=e=>ln.isNonEmptyString(e);We.functions.includes=(e,n)=>Array.isArray(e)&&e.includes(n);We.functions.arrayLength=e=>Array.isArray(e)?e.length:0;We.functions.every=Jn("every",Boolean);We.functions.everyDefined=Jn("every",kn);We.functions.some=Jn("some",Boolean);We.functions.someDefined=Jn("some",kn);We.functions.someNonEmptyString=Jn("some",ln.isNonEmptyString);We.functions.none=Jn("every",e=>!e);We.functions.noneDefined=Jn("every",e=>!kn(e));We.functions.everyEquals=Pr("every",(e,n)=>e===n);We.functions.someEquals=Pr("some",(e,n)=>e===n);We.functions.noneEquals=Pr("every",(e,n)=>e!==n);We.functions.includesEvery=Pr("every",(e,n)=>Array.isArray(e)&&e.includes(n));We.functions.includesSome=Pr("some",(e,n)=>Array.isArray(e)&&e.includes(n));We.functions.includesNone=Pr("every",(e,n)=>Array.isArray(e)&&!e.includes(n));ve.NUMBER,ve.NUMERIC,ve.CURRENCY,ve.RATING,ve.POSITION;ve.TEXT,ve.RICH_TEXT;Object.entries(u5).map(([e,{label:n}])=>({value:e,label:`${n} (${e})`}));const hp=[L.IS_EMPTY,L.IS_NOT_EMPTY];[L.IS,L.IS_NOT,...hp],[L.GREATER_THAN_OR_EQUAL,L.LESS_THAN_OR_EQUAL,L.IS,L.IS_NOT,...hp];const Fe=[L.IS_EMPTY,L.IS_NOT_EMPTY];L.IS,L.IS_NOT;[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.GREATER_THAN_OR_EQUAL,L.LESS_THAN_OR_EQUAL,...Fe],[L.IS,L.IS_NOT,L.GREATER_THAN_OR_EQUAL,L.LESS_THAN_OR_EQUAL,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.IS,L.IS_RELATIVE,L.IS_IN_PAST,L.IS_IN_FUTURE,L.IS_TODAY,L.IS_BEFORE,L.IS_AFTER,...Fe],[L.IS,L.IS_RELATIVE,L.IS_IN_PAST,L.IS_IN_FUTURE,L.IS_TODAY,L.IS_BEFORE,L.IS_AFTER,...Fe],[L.IS,L.IS_NOT,L.GREATER_THAN_OR_EQUAL,L.LESS_THAN_OR_EQUAL,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.IS,L.IS_NOT,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],[L.CONTAINS,L.DOES_NOT_CONTAIN,...Fe],L.IS,L.VECTOR_SEARCH,[L.IS,L.IS_NOT,...Fe];L.IS,L.IS_NOT,L.IS_EMPTY,L.IS_NOT_EMPTY;En().transform(e=>e===""?[]:_s(e)?[e]:JSON.parse(e)).refine(e=>Array.isArray(e)&&e.every(n=>typeof n=="string"),{error:"Expected an array of strings"});gg(e=>{try{if(typeof e=="string"){if(_s(e))return[e];try{const n=JSON.parse(e);return Array.isArray(n)?n:[n]}catch{return[e]}}return Array.isArray(e)?e:[e]}catch{return[]}},Ar(En().refine(e=>Pw(e)||_s(e),"Must be a valid UUID or a variable with {{ }} syntax"))).catch([]);const Vw=Mm({isCurrentWorkspaceMemberSelected:ec().optional(),selectedRecordIds:Ar(En())});En().transform((e,n)=>{try{return JSON.parse(e)}catch(i){return n.addIssue({code:"custom",message:i.message}),vr}}).pipe(Vw);const Jw=Kt.enum([Ho.MONDAY,Ho.SATURDAY,Ho.SUNDAY]),Yw=Kt.union([Kt.coerce.number().int().positive(),Kt.literal("undefined")]).transform(e=>e==="undefined"?void 0:e),Xw=Kt.enum(["NEXT","THIS","PAST"]),Qw=Kt.enum(["SECOND","MINUTE","HOUR","DAY","WEEK","MONTH","QUARTER","YEAR"]),eI=Kt.object({direction:Xw,amount:Yw.nullish(),unit:Qw,timezone:Kt.string().nullish(),firstDayOfTheWeek:Jw.nullish()}).refine(e=>!(e.amount===void 0&&e.direction!=="THIS"),{error:"Amount cannot be 'undefined' unless direction is 'THIS'"}),tI=/((?:THIS)|(?:PAST)|(?:NEXT))_(\d*)_(DAY|MONTH|YEAR|WEEK|QUARTER|HOUR|MINUTE|SECOND)(?:(?:;;([^;;]*);;)?(?:(MONDAY|SUNDAY|SATURDAY);;)?)?/;Kt.string().transform((e,n)=>{const i=new RegExp(tI).exec(e);if(!ln.isNonEmptyArray(i))return n.addIssue(`Cannot parse stringified inline relative date filter, value : "${e}"`),Kt.NEVER;const[u,t,a,l,p,g]=i;return eI.parse({direction:t,amount:a,unit:l,timezone:p,firstDayOfTheWeek:g})});Ke.Is+"",L.IS,Ke.IsNotNull+"",L.IS_NOT_NULL,Ke.IsNot+"",L.IS_NOT,Ke.LessThanOrEqual+"",L.LESS_THAN_OR_EQUAL,Ke.GreaterThanOrEqual+"",L.GREATER_THAN_OR_EQUAL,Ke.IsBefore+"",L.IS_BEFORE,Ke.IsAfter+"",L.IS_AFTER,Ke.Contains+"",L.CONTAINS,Ke.DoesNotContain+"",L.DOES_NOT_CONTAIN,Ke.IsEmpty+"",L.IS_EMPTY,Ke.IsNotEmpty+"",L.IS_NOT_EMPTY,Ke.IsRelative+"",L.IS_RELATIVE,Ke.IsInPast+"",L.IS_IN_PAST,Ke.IsInFuture+"",L.IS_IN_FUTURE,Ke.IsToday+"",L.IS_TODAY,L.IS+"",L.IS,L.IS_NOT_NULL+"",L.IS_NOT_NULL,L.IS_NOT+"",L.IS_NOT,L.LESS_THAN_OR_EQUAL+"",L.LESS_THAN_OR_EQUAL,L.GREATER_THAN_OR_EQUAL+"",L.GREATER_THAN_OR_EQUAL,L.IS_BEFORE+"",L.IS_BEFORE,L.IS_AFTER+"",L.IS_AFTER,L.CONTAINS+"",L.CONTAINS,L.DOES_NOT_CONTAIN+"",L.DOES_NOT_CONTAIN,L.IS_EMPTY+"",L.IS_EMPTY,L.IS_NOT_EMPTY+"",L.IS_NOT_EMPTY,L.IS_RELATIVE+"",L.IS_RELATIVE,L.IS_IN_PAST+"",L.IS_IN_PAST,L.IS_IN_FUTURE+"",L.IS_IN_FUTURE,L.IS_TODAY+"",L.IS_TODAY,L.VECTOR_SEARCH+"",L.VECTOR_SEARCH;const nI=e=>{try{return new URL(e)}catch{return null}},wg=e=>{const n=e.trim();return n.startsWith("http://")||n.startsWith("https://")||n.startsWith("HTTPS://")||n.startsWith("HTTP://")?n:`https://${n}`},rI=(e,n)=>{const t=/^(((?!-))(xn--|_)?[a-z0-9-]{0,61}[a-z0-9]{1,1}\.){1,10}(xn--)?([a-z0-9][a-z0-9-]{0,60}|[a-z0-9-]{1,30}\.[a-z]{2,})$/.test(e),a=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(e),l=e==="localhost"||e==="127.0.0.1";return l&&!1||a&&!1?!1:t||l||a};En().transform((e,n)=>{const i=e.trim(),u=wg(i),t=u.replace("https://","").replace("http://","").replace("HTTPS://","").replace("HTTP://","");if(/^\d+(?:\/[a-zA-Z]*)?$/.test(t))return n.addIssue({code:"custom",message:"domain is not a valid url"}),vr;try{const a=new URL(u);return rI(a.hostname)?u:(n.addIssue({code:"custom",message:"domain is not a valid url"}),vr)}catch{return n.addIssue({code:"custom",message:"domain is not a valid url"}),vr}});const iI=e=>{const n=nI(e);return kn(n)?(n.origin+n.pathname+n.search+n.hash).replace(/\/$/,""):e},oI=e=>{const n=e.trim();return n===""?n:iI(wg(n))},_s=e=>/^{{[^{}]+}}$/.test(e),pp=new Map;for(const e of bg()){const n=qw(e),i=pp.get(n);i?i.push(e):pp.set(n,[e])}new Set(bg());const mp={darwin:"https://docs.docker.com/desktop/setup/install/mac-install/",win32:"https://docs.docker.com/desktop/setup/install/windows-install/",linux:"https://docs.docker.com/engine/install/"},aI=()=>{try{return Wo.execSync("docker --version",{stdio:"ignore"}),!0}catch{return!1}},uI=()=>[" Docker is required but not installed.","",` Install Docker: ${mp[process.platform]??mp.linux}`,""," Then run this command again.",""," Alternatively, connect to an existing Twenty instance:"," npx create-twenty-app@latest my-twenty-app --url <your-instance-url>"].join(`
|
|
68
|
+
`),gp=process.env.INIT_CWD||process.cwd(),sI="twentycrm/twenty-app-dev:latest";class lI{constructor(){this.stepCounter=0,this.totalSteps=0}async execute(n={}){const{appName:i,appDisplayName:u,appDirectory:t,appDescription:a}=this.getAppInfos(n),l=n.serverUrl??it.DEV_API_URL,p=l!==it.DEV_API_URL;!p&&!aI()&&(console.log(me.default.yellow(`
|
|
69
|
+
`+uI()+`
|
|
70
|
+
`)),process.exit(1)),p&&n.authenticationMethod==="apiKey"&&console.log(me.default.yellow("API key authentication is only supported on a local Docker instance. Ignoring and switching to OAuth authentication."));const g=p?"oauth":n.authenticationMethod??"apiKey";try{await this.validateDirectory(t),this.totalSteps=this.computeTotalSteps({skipLocalInstance:p}),this.stepCounter=0;const v=!p&&it.checkDockerRunning()?this.pullImageInBackground():Promise.resolve(!1);this.logPlan({appName:i,appDisplayName:u,appDescription:a,appDirectory:t}),this.logNextStep("Creating project directory"),await at.ensureDir(t),this.logDetail(t),this.logNextStep("Scaffolding project files"),await b9({appName:i,appDisplayName:u,appDescription:a,appDirectory:t,onProgress:y=>this.logDetail(y)}),this.logNextStep("Installing dependencies"),await P9(t,y=>this.logDetail(y)),this.logNextStep("Initializing Git repository"),await D9(t)?(this.logDetail("Initialized on branch main"),this.logDetail("Created initial commit")):this.logDetail("Skipped (Git unavailable, initialization failed, or already in a repository)"),console.log("");let _=!1,h=l,d=p;if(!p){this.logNextStep("Starting Twenty server");const y=await this.ensureDockerServer(v);kn(y.url)&&(h=y.url,d=!0)}d&&(this.logNextStep("Authenticating"),_=await this.tryExistingAuth(h),_?this.logDetail("Reusing existing credentials"):g==="oauth"?(this.logDetail("Starting OAuth flow"),_=await this.authenticateWithOAuth(h)):(this.logDetail("Using development API key"),_=await this.authenticateWithDevKey(h))),this.logNextStep("Installing application");let c=!1;if(d&&_){if(c=await this.syncApplication(t),!c){this.logDetail("Sync failed. Run `yarn twenty dev --once` manually.");return}}else this.logDetail("Skipped (server or authentication not available)");c&&await this.openMainPage(t,h),this.logSuccess(t,h,_)}catch(v){console.error(me.default.red(`
|
|
71
|
+
Create application failed:`),v instanceof Error?v.message:v),process.exit(1)}}computeTotalSteps({skipLocalInstance:n}){let i=4;return n||(i+=1),i+=1,i+=1,i}getAppInfos(n){const i=(n.name??n.directory??"my-twenty-app").trim(),u=n.displayName?.trim()||A9(i),t=(n.description??"").trim(),a=n.directory?qu.join(gp,n.directory):qu.join(gp,v9.default(i));return{appName:i,appDisplayName:u,appDirectory:a,appDescription:t}}async validateDirectory(n){if(!await at.pathExists(n))return;if((await at.readdir(n)).length>0)throw new Error(`Directory ${n} already exists and is not empty`)}logPlan({appName:n,appDisplayName:i,appDescription:u,appDirectory:t}){console.log(me.default.blue(`
|
|
72
72
|
Creating Twenty Application
|
|
73
73
|
`)),console.log(me.default.white(` Name: ${n}`)),console.log(me.default.white(` Display name: ${i}`)),u&&console.log(me.default.white(` Description: ${u}`)),console.log(me.default.white(` Directory: ${t}`)),console.log("")}logNextStep(n){this.stepCounter++,console.log(me.default.blue(`
|
|
74
|
-
[${this.stepCounter}/${this.totalSteps}]`)+me.default.white(` ${n}...`))}logDetail(n){console.log(me.default.gray(` → ${n}`))}pullImageInBackground(){return new Promise(n=>{const i=
|
|
74
|
+
[${this.stepCounter}/${this.totalSteps}]`)+me.default.white(` ${n}...`))}logDetail(n){console.log(me.default.gray(` → ${n}`))}pullImageInBackground(){return new Promise(n=>{const i=Wo.spawn("docker",["pull",sI],{stdio:"ignore"});i.on("close",u=>n(u===0)),i.on("error",()=>n(!1))})}async ensureDockerServer(n){if(!it.checkDockerRunning())return console.log(me.default.yellow(`
|
|
75
75
|
Docker is installed but not running.
|
|
76
76
|
Please start Docker and run this command again.
|
|
77
|
-
`)),{};this.logDetail("Ensuring latest Twenty server image..."),await n||this.logDetail("Image pull failed, continuing with cached image if available...");const u=await
|
|
78
|
-
${u.error.message}`)),{})}async openMainPage(n,i){try{const t=await new
|
|
79
|
-
Run \`yarn twenty remote
|
|
77
|
+
`)),{};this.logDetail("Ensuring latest Twenty server image..."),await n||this.logDetail("Image pull failed, continuing with cached image if available...");const u=await it.serverStart({onProgress:t=>this.logDetail(t)});return u.success?{url:u.data.url}:(console.log(me.default.yellow(`
|
|
78
|
+
${u.error.message}`)),{})}async openMainPage(n,i){try{const t=await new it.ConfigService().getConfig(),a=t.twentyCLIAccessToken??t.apiKey;if(!a)return;const[l,p]=await Promise.all([this.readMainPageLayoutUniversalIdentifier(n),this.resolveWorkspaceFrontUrl(i,a)]);if(!l||!p)return;const g=await this.resolvePageLayoutId(i,l,a);if(!g)return;const v=`${p}/page/${g}`;this.logDetail(`Opening app welcome page: ${v}`),this.openInBrowser(v)}catch{}}async resolveWorkspaceFrontUrl(n,i){const t=await fetch(`${n}/metadata`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify({query:"{ currentWorkspace { workspaceUrls { subdomainUrl customUrl } } }"})});if(!t.ok)return null;const l=(await t.json()).data?.currentWorkspace?.workspaceUrls;if(!l)return null;const p=l.customUrl??l.subdomainUrl;return p?oI(p):null}async readMainPageLayoutUniversalIdentifier(n){const i=qu.join(n,"src","constants","universal-identifiers.ts");return(await at.readFile(i,"utf-8")).match(/MAIN_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER\s*=\s*'([^']+)'/)?.[1]??null}async resolvePageLayoutId(n,i,u){const a=await fetch(`${n}/metadata`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${u}`},body:JSON.stringify({query:"{ getPageLayouts { id universalIdentifier } }"})});return a.ok?(await a.json()).data?.getPageLayouts?.find(g=>g.universalIdentifier===i)?.id??null:null}sanitizeBrowserUrl(n){if(/[^\u0020-\u007E]/.test(n))return null;try{const i=new URL(n);return i.protocol!=="http:"&&i.protocol!=="https:"?null:i.toString()}catch{return null}}openInBrowser(n){const i=this.sanitizeBrowserUrl(n);if(!i)return;const u=process.platform==="win32",t=u?"rundll32":process.platform==="darwin"?"open":"xdg-open",a=u?["url.dll,FileProtocolHandler",i]:[i],l=Wo.spawn(t,a,{stdio:"ignore",detached:!u});l.on("error",()=>{}),u||l.unref()}async syncApplication(n){return this.logDetail("Running `yarn twenty dev --once`..."),new Promise(i=>{const u=Wo.spawn("yarn",["twenty","dev","--once"],{cwd:n,stdio:["inherit","pipe","pipe"]});u.stdout?.resume(),u.stderr?.resume(),u.on("close",t=>i(t===0)),u.on("error",()=>i(!1))})}async tryExistingAuth(n){try{const i=new it.ConfigService,u=await i.getRemotes();for(const t of u){const a=await i.getConfigForRemote(t);if(a.apiUrl!==n)continue;const l=a.twentyCLIAccessToken??a.apiKey;if(!l)continue;const p=await fetch(`${n}/metadata`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${l}`},body:JSON.stringify({query:"{ currentWorkspace { id } }"})});if(!p.ok)continue;const g=await p.json();if(kn(g.data?.currentWorkspace)&&!g.errors)return it.ConfigService.setActiveRemote(t),await i.setDefaultRemote(t),!0}return!1}catch{return!1}}async authenticateWithDevKey(n){try{return(await it.authLogin({apiKey:it.DEV_API_KEY,apiUrl:n,remote:"local"})).success?(await new it.ConfigService().setDefaultRemote("local"),this.logDetail("Authenticated as tim@apple.dev (development API key)"),!0):(console.log(me.default.yellow(" Authentication failed. Run `yarn twenty remote:add --local` manually.")),!1)}catch{return console.log(me.default.yellow(" Authentication failed. Run `yarn twenty remote:add --local` manually.")),!1}}deriveRemoteName(n){try{return new URL(n).hostname.replace(/\./g,"-")}catch{return"remote"}}async authenticateWithOAuth(n){try{const i=this.deriveRemoteName(n);it.ConfigService.setActiveRemote(i),this.logDetail("Opening browser for OAuth...");const u=await it.authLoginOAuth({apiUrl:n});return u.success?(await new it.ConfigService().setDefaultRemote(i),this.logDetail(`Authenticated via OAuth to ${n}`),!0):(console.log(me.default.yellow(` OAuth failed: ${u.error.message}
|
|
79
|
+
Run \`yarn twenty remote:add --url ${n}\` manually.`)),!1)}catch{return console.log(me.default.yellow(` Authentication failed. Run \`yarn twenty remote:add --url ${n}\` manually.`)),!1}}logSuccess(n,i,u){const t=Nt.basename(n);console.log(me.default.green(`
|
|
80
80
|
✔ Application created successfully!
|
|
81
81
|
`)),console.log(me.default.white(` Next steps:
|
|
82
82
|
`));let a=1;console.log(me.default.white(` ${a}. Navigate to your project`)),console.log(me.default.cyan(` cd ${t}
|
|
83
|
-
`)),a++,u||(console.log(me.default.white(` ${a}. Connect to a Twenty instance`)),console.log(me.default.cyan(` yarn twenty remote
|
|
83
|
+
`)),a++,u||(console.log(me.default.white(` ${a}. Connect to a Twenty instance`)),console.log(me.default.cyan(` yarn twenty remote:add --url <your-instance-url>
|
|
84
84
|
`)),a++),console.log(me.default.white(` ${a}. Start developing`)),console.log(me.default.cyan(` yarn twenty dev
|
|
85
85
|
`)),a++,console.log(me.default.white(` ${a}. Open your twenty instance`)),console.log(me.default.cyan(` ${i}
|
|
86
|
-
`)),console.log(me.default.gray(" Documentation: https://docs.twenty.com/developers/extend/capabilities/apps"))}}const
|
|
86
|
+
`)),console.log(me.default.gray(" Documentation: https://docs.twenty.com/developers/extend/capabilities/apps"))}}const Ig=new vp.Command(qo.name).description("CLI tool to initialize a new Twenty application").version(qo.version,"-v, --version","Output the current version of create-twenty-app.").argument("[directory]").option("-n, --name <name>","Application name").option("-d, --display-name <displayName>","Application display name").option("--description <description>","Application description").option("--url <url>","Twenty server URL (default: http://localhost:2020)").option("--api-url <apiUrl>","[deprecated: use --url]").option("--authentication-method <method>","Authentication method: oauth or apiKey (default: apiKey for local, oauth for remote)").helpOption("-h, --help","Display this help message.").action(async(e,n)=>{e&&!/^[a-z0-9-]+$/.test(e)&&(console.error(me.default.red(`Invalid directory "${e}". Must contain only lowercase letters, numbers, and hyphens`)),process.exit(1)),n?.name!==void 0&&n.name.trim().length===0&&(console.error(me.default.red("Error: --name cannot be empty.")),process.exit(1)),n?.authenticationMethod&&!["oauth","apiKey"].includes(n.authenticationMethod)&&(console.error(me.default.red('Error: --authentication-method must be "oauth" or "apiKey".')),process.exit(1)),n?.apiUrl&&console.warn(me.default.yellow("Warning: --api-url is deprecated. Use --url instead."));const i=(n?.url??n?.apiUrl)?.replace(/\/+$/,"");await new lI().execute({directory:e,name:n?.name,displayName:n?.displayName,description:n?.description,serverUrl:i,authenticationMethod:n?.authenticationMethod})});Ig.exitOverride();try{Ig.parse()}catch(e){e instanceof vp.CommanderError&&process.exit(e.exitCode),e instanceof Error&&(console.error(me.default.red("Error:"),e.message),process.exit(1))}
|