uphys 0.0.0-stage → 0.1.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/dist/uphys.mjs ADDED
@@ -0,0 +1,675 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __cr } from "node:module"; const require = __cr(import.meta.url);
3
+ var K_=Object.create;var _m=Object.defineProperty;var J_=Object.getOwnPropertyDescriptor;var G_=Object.getOwnPropertyNames;var W_=Object.getPrototypeOf,Y_=Object.prototype.hasOwnProperty;var Ul=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ae=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},zr=(e,t)=>{for(var r in t)_m(e,r,{get:t[r],enumerable:!0})},X_=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of G_(t))!Y_.call(e,n)&&n!==r&&_m(e,n,{get:()=>t[n],enumerable:!(i=J_(t,n))||i.enumerable});return e};var Im=(e,t,r)=>(r=e!=null?K_(W_(e)):{},X_(t||!e||!e.__esModule?_m(r,"default",{value:e,enumerable:!0}):r,e));var Q6=ae((gB,X6)=>{"use strict";var ql=Object.prototype.hasOwnProperty,Y6=Object.prototype.toString,V6=Object.defineProperty,H6=Object.getOwnPropertyDescriptor,K6=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Y6.call(t)==="[object Array]"},J6=function(t){if(!t||Y6.call(t)!=="[object Object]")return!1;var r=ql.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&ql.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!i)return!1;var n;for(n in t);return typeof n>"u"||ql.call(t,n)},G6=function(t,r){V6&&r.name==="__proto__"?V6(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},W6=function(t,r){if(r==="__proto__")if(ql.call(t,r)){if(H6)return H6(t,r).value}else return;return t[r]};X6.exports=function e(){var t,r,i,n,o,a,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<u;++l)if(t=arguments[l],t!=null)for(r in t)i=W6(s,r),n=W6(t,r),s!==n&&(c&&n&&(J6(n)||(o=K6(n)))?(o?(o=!1,a=i&&K6(i)?i:[]):a=i&&J6(i)?i:{},G6(s,{name:r,newValue:e(c,a,n)})):typeof n<"u"&&G6(s,{name:r,newValue:n}));return s}});var J5=ae((oQ,ip)=>{(function(){var e;typeof ip<"u"?e=ip.exports=i:e=(function(){return this||(0,eval)("this")})(),e.format=i,e.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(e.printf=t);function t(){console.log(i.apply(null,arguments))}function r(n,o){return i.apply(null,[n].concat(o))}function i(n){for(var o=1,a=[].slice.call(arguments),s=0,l=n.length,u="",c,f=!1,d,m,h=!1,v,y=function(){return a[o++]},b=function(){for(var w="";/\d/.test(n[s]);)w+=n[s++],c=n[s];return w.length>0?parseInt(w):null};s<l;++s)if(c=n[s],f)switch(f=!1,c=="."?(h=!1,c=n[++s]):c=="0"&&n[s+1]=="."?(h=!0,s+=2,c=n[s]):h=!0,v=b(),c){case"b":u+=parseInt(y(),10).toString(2);break;case"c":d=y(),typeof d=="string"||d instanceof String?u+=d:u+=String.fromCharCode(parseInt(d,10));break;case"d":u+=parseInt(y(),10);break;case"f":m=String(parseFloat(y()).toFixed(v||6)),u+=h?m:m.replace(/^0/,"");break;case"j":u+=JSON.stringify(y());break;case"o":u+="0"+parseInt(y(),10).toString(8);break;case"s":u+=y();break;case"x":u+="0x"+parseInt(y(),10).toString(16);break;case"X":u+="0x"+parseInt(y(),10).toString(16).toUpperCase();break;default:u+=c;break}else c==="%"?f=!0:u+=c;return u}})()});var Ne=ae(At=>{"use strict";var zp=Symbol.for("yaml.alias"),Qx=Symbol.for("yaml.document"),Ru=Symbol.for("yaml.map"),e3=Symbol.for("yaml.pair"),Ap=Symbol.for("yaml.scalar"),Fu=Symbol.for("yaml.seq"),ln=Symbol.for("yaml.node.type"),pD=e=>!!e&&typeof e=="object"&&e[ln]===zp,hD=e=>!!e&&typeof e=="object"&&e[ln]===Qx,gD=e=>!!e&&typeof e=="object"&&e[ln]===Ru,vD=e=>!!e&&typeof e=="object"&&e[ln]===e3,t3=e=>!!e&&typeof e=="object"&&e[ln]===Ap,yD=e=>!!e&&typeof e=="object"&&e[ln]===Fu;function r3(e){if(e&&typeof e=="object")switch(e[ln]){case Ru:case Fu:return!0}return!1}function bD(e){if(e&&typeof e=="object")switch(e[ln]){case zp:case Ru:case Ap:case Fu:return!0}return!1}var xD=e=>(t3(e)||r3(e))&&!!e.anchor;At.ALIAS=zp;At.DOC=Qx;At.MAP=Ru;At.NODE_TYPE=ln;At.PAIR=e3;At.SCALAR=Ap;At.SEQ=Fu;At.hasAnchor=xD;At.isAlias=pD;At.isCollection=r3;At.isDocument=hD;At.isMap=gD;At.isNode=bD;At.isPair=vD;At.isScalar=t3;At.isSeq=yD});var Za=ae(Tp=>{"use strict";var bt=Ne(),er=Symbol("break visit"),n3=Symbol("skip children"),qr=Symbol("remove node");function Bu(e,t){let r=i3(t);bt.isDocument(e)?po(null,e.contents,r,Object.freeze([e]))===qr&&(e.contents=null):po(null,e,r,Object.freeze([]))}Bu.BREAK=er;Bu.SKIP=n3;Bu.REMOVE=qr;function po(e,t,r,i){let n=o3(e,t,r,i);if(bt.isNode(n)||bt.isPair(n))return a3(e,i,n),po(e,n,r,i);if(typeof n!="symbol"){if(bt.isCollection(t)){i=Object.freeze(i.concat(t));for(let o=0;o<t.items.length;++o){let a=po(o,t.items[o],r,i);if(typeof a=="number")o=a-1;else{if(a===er)return er;a===qr&&(t.items.splice(o,1),o-=1)}}}else if(bt.isPair(t)){i=Object.freeze(i.concat(t));let o=po("key",t.key,r,i);if(o===er)return er;o===qr&&(t.key=null);let a=po("value",t.value,r,i);if(a===er)return er;a===qr&&(t.value=null)}}return n}async function Zu(e,t){let r=i3(t);bt.isDocument(e)?await ho(null,e.contents,r,Object.freeze([e]))===qr&&(e.contents=null):await ho(null,e,r,Object.freeze([]))}Zu.BREAK=er;Zu.SKIP=n3;Zu.REMOVE=qr;async function ho(e,t,r,i){let n=await o3(e,t,r,i);if(bt.isNode(n)||bt.isPair(n))return a3(e,i,n),ho(e,n,r,i);if(typeof n!="symbol"){if(bt.isCollection(t)){i=Object.freeze(i.concat(t));for(let o=0;o<t.items.length;++o){let a=await ho(o,t.items[o],r,i);if(typeof a=="number")o=a-1;else{if(a===er)return er;a===qr&&(t.items.splice(o,1),o-=1)}}}else if(bt.isPair(t)){i=Object.freeze(i.concat(t));let o=await ho("key",t.key,r,i);if(o===er)return er;o===qr&&(t.key=null);let a=await ho("value",t.value,r,i);if(a===er)return er;a===qr&&(t.value=null)}}return n}function i3(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function o3(e,t,r,i){if(typeof r=="function")return r(e,t,i);if(bt.isMap(t))return r.Map?.(e,t,i);if(bt.isSeq(t))return r.Seq?.(e,t,i);if(bt.isPair(t))return r.Pair?.(e,t,i);if(bt.isScalar(t))return r.Scalar?.(e,t,i);if(bt.isAlias(t))return r.Alias?.(e,t,i)}function a3(e,t,r){let i=t[t.length-1];if(bt.isCollection(i))i.items[e]=r;else if(bt.isPair(i))e==="key"?i.key=r:i.value=r;else if(bt.isDocument(i))i.contents=r;else{let n=bt.isAlias(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${n} parent`)}}Tp.visit=Bu;Tp.visitAsync=Zu});var Cp=ae(l3=>{"use strict";var s3=Ne(),wD=Za(),kD={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},$D=e=>e.replace(/[!,[\]{}]/g,t=>kD[t]),Va=class e{constructor(t,r){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,r)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,r){this.atNextDocument&&(this.yaml={explicit:e.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},e.defaultTags),this.atNextDocument=!1);let i=t.trim().split(/[ \t]+/),n=i.shift();switch(n){case"%TAG":{if(i.length!==2&&(r(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;let[o,a]=i;return this.tags[o]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return r(0,"%YAML directive should contain exactly one part"),!1;let[o]=i;if(o==="1.1"||o==="1.2")return this.yaml.version=o,!0;{let a=/^\d+\.\d+$/.test(o);return r(6,`Unsupported YAML version ${o}`,a),!1}}default:return r(0,`Unknown directive ${n}`,!0),!1}}tagName(t,r){if(t==="!")return"!";if(t[0]!=="!")return r(`Not a valid tag: ${t}`),null;if(t[1]==="<"){let a=t.slice(2,-1);return a==="!"||a==="!!"?(r(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&r("Verbatim tags must end with a >"),a)}let[,i,n]=t.match(/^(.*!)([^!]*)$/s);n||r(`The ${t} tag has no suffix`);let o=this.tags[i];if(o)try{return o+decodeURIComponent(n)}catch(a){return r(String(a)),null}return i==="!"?t:(r(`Could not resolve tag: ${t}`),null)}tagString(t){for(let[r,i]of Object.entries(this.tags))if(t.startsWith(i))return r+$D(t.substring(i.length));return t[0]==="!"?t:`!<${t}>`}toString(t){let r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags),n;if(t&&i.length>0&&s3.isNode(t.contents)){let o={};wD.visit(t.contents,(a,s)=>{s3.isNode(s)&&s.tag&&(o[s.tag]=!0)}),n=Object.keys(o)}else n=[];for(let[o,a]of i)o==="!!"&&a==="tag:yaml.org,2002:"||(!t||n.some(s=>s.startsWith(a)))&&r.push(`%TAG ${o} ${a}`);return r.join(`
4
+ `)}};Va.defaultYaml={explicit:!1,version:"1.2"};Va.defaultTags={"!!":"tag:yaml.org,2002:"};l3.Directives=Va});var Vu=ae(Ha=>{"use strict";var u3=Ne(),SD=Za();function _D(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(r)}return!0}function c3(e){let t=new Set;return SD.visit(e,{Value(r,i){i.anchor&&t.add(i.anchor)}}),t}function f3(e,t){for(let r=1;;++r){let i=`${e}${r}`;if(!t.has(i))return i}}function ID(e,t){let r=[],i=new Map,n=null;return{onAnchor:o=>{r.push(o),n??(n=c3(e));let a=f3(t,n);return n.add(a),a},setAnchors:()=>{for(let o of r){let a=i.get(o);if(typeof a=="object"&&a.anchor&&(u3.isScalar(a.node)||u3.isCollection(a.node)))a.node.anchor=a.anchor;else{let s=new Error("Failed to resolve repeated object (this should not happen)");throw s.source=o,s}}},sourceObjects:i}}Ha.anchorIsValid=_D;Ha.anchorNames=c3;Ha.createNodeAnchors=ID;Ha.findNewAnchor=f3});var Dp=ae(m3=>{"use strict";function Ka(e,t,r,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let n=0,o=i.length;n<o;++n){let a=i[n],s=Ka(e,i,String(n),a);s===void 0?delete i[n]:s!==a&&(i[n]=s)}else if(i instanceof Map)for(let n of Array.from(i.keys())){let o=i.get(n),a=Ka(e,i,n,o);a===void 0?i.delete(n):a!==o&&i.set(n,a)}else if(i instanceof Set)for(let n of Array.from(i)){let o=Ka(e,i,n,n);o===void 0?i.delete(n):o!==n&&(i.delete(n),i.add(o))}else for(let[n,o]of Object.entries(i)){let a=Ka(e,i,n,o);a===void 0?delete i[n]:a!==o&&(i[n]=a)}return e.call(t,r,i)}m3.applyReviver=Ka});var Nn=ae(p3=>{"use strict";var zD=Ne();function d3(e,t,r){if(Array.isArray(e))return e.map((i,n)=>d3(i,String(n),r));if(e&&typeof e.toJSON=="function"){if(!r||!zD.hasAnchor(e))return e.toJSON(t,r);let i={aliasCount:0,count:1,res:void 0};r.anchors.set(e,i),r.onCreate=o=>{i.res=o,delete r.onCreate};let n=e.toJSON(t,r);return r.onCreate&&r.onCreate(n),n}return typeof e=="bigint"&&!r?.keep?Number(e):e}p3.toJS=d3});var Hu=ae(g3=>{"use strict";var AD=Dp(),h3=Ne(),TD=Nn(),Np=class{constructor(t){Object.defineProperty(this,h3.NODE_TYPE,{value:t})}clone(){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:r,maxAliasCount:i,onAnchor:n,reviver:o}={}){if(!h3.isDocument(t))throw new TypeError("A document argument is required");let a={anchors:new Map,doc:t,keep:!0,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},s=TD.toJS(this,"",a);if(typeof n=="function")for(let{count:l,res:u}of a.anchors.values())n(u,l);return typeof o=="function"?AD.applyReviver(o,{"":s},"",s):s}};g3.NodeBase=Np});var Ja=ae(v3=>{"use strict";var CD=Vu(),DD=Za(),go=Ne(),ND=Hu(),ED=Nn(),Ep=class extends ND.NodeBase{constructor(t){super(go.ALIAS),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,r){if(r?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let i;r?.aliasResolveCache?i=r.aliasResolveCache:(i=[],DD.visit(t,{Node:(o,a)=>{(go.isAlias(a)||go.hasAnchor(a))&&i.push(a)}}),r&&(r.aliasResolveCache=i));let n;for(let o of i){if(o===this)break;o.anchor===this.source&&(n=o)}if(n&&r){let{anchors:o,doc:a,maxAliasCount:s}=r,l=o.get(n);if(l||(ED.toJS(n,null,r),l=o.get(n)),l?.res===void 0){let u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(s>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=Ku(a,n,o)),l.count*l.aliasCount>s)){let u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}}return n}toJSON(t,r){if(!r)return{source:this.source};let i=this.resolve(r.doc,r);if(!i){let n=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(n)}return r.anchors.get(i).res}toString(t,r,i){let n=`*${this.source}`;if(t){if(CD.anchorIsValid(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){let o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(o)}if(t.implicitKey)return`${n} `}return n}};function Ku(e,t,r){if(go.isAlias(t)){let i=t.resolve(e),n=r&&i&&r.get(i);return n?n.count*n.aliasCount:0}else if(go.isCollection(t)){let i=0;for(let n of t.items){let o=Ku(e,n,r);o>i&&(i=o)}return i}else if(go.isPair(t)){let i=Ku(e,t.key,r),n=Ku(e,t.value,r);return Math.max(i,n)}return 1}v3.Alias=Ep});var ht=ae(Op=>{"use strict";var OD=Ne(),PD=Hu(),LD=Nn(),MD=e=>!e||typeof e!="function"&&typeof e!="object",En=class extends PD.NodeBase{constructor(t){super(OD.SCALAR),this.value=t}toJSON(t,r){return r?.keep?this.value:LD.toJS(this.value,t,r)}toString(){return String(this.value)}};En.BLOCK_FOLDED="BLOCK_FOLDED";En.BLOCK_LITERAL="BLOCK_LITERAL";En.PLAIN="PLAIN";En.QUOTE_DOUBLE="QUOTE_DOUBLE";En.QUOTE_SINGLE="QUOTE_SINGLE";Op.Scalar=En;Op.isScalarValue=MD});var Ga=ae(b3=>{"use strict";var jD=Ja(),Si=Ne(),y3=ht(),UD="tag:yaml.org,2002:";function qD(e,t,r){if(t){let i=r.filter(o=>o.tag===t),n=i.find(o=>!o.format)??i[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find(i=>i.identify?.(e)&&!i.format)}function RD(e,t,r){if(Si.isDocument(e)&&(e=e.contents),Si.isNode(e))return e;if(Si.isPair(e)){let f=r.schema[Si.MAP].createNode?.(r.schema,null,r);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:i,onAnchor:n,onTagObj:o,schema:a,sourceObjects:s}=r,l;if(i&&e&&typeof e=="object"){if(l=s.get(e),l)return l.anchor??(l.anchor=n(e)),new jD.Alias(l.anchor);l={anchor:null,node:null},s.set(e,l)}t?.startsWith("!!")&&(t=UD+t.slice(2));let u=qD(e,t,a.tags);if(!u){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){let f=new y3.Scalar(e);return l&&(l.node=f),f}u=e instanceof Map?a[Si.MAP]:Symbol.iterator in Object(e)?a[Si.SEQ]:a[Si.MAP]}o&&(o(u),delete r.onTagObj);let c=u?.createNode?u.createNode(r.schema,e,r):typeof u?.nodeClass?.from=="function"?u.nodeClass.from(r.schema,e,r):new y3.Scalar(e);return t?c.tag=t:u.default||(c.tag=u.tag),l&&(l.node=c),c}b3.createNode=RD});var Gu=ae(Ju=>{"use strict";var FD=Ga(),Rr=Ne(),BD=Hu();function Pp(e,t,r){let i=r;for(let n=t.length-1;n>=0;--n){let o=t[n];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){let a=[];a[o]=i,i=a}else i=new Map([[o,i]])}return FD.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var x3=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,Lp=class extends BD.NodeBase{constructor(t,r){super(t),Object.defineProperty(this,"schema",{value:r,configurable:!0,enumerable:!1,writable:!0})}clone(t){let r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(r.schema=t),r.items=r.items.map(i=>Rr.isNode(i)||Rr.isPair(i)?i.clone(t):i),this.range&&(r.range=this.range.slice()),r}addIn(t,r){if(x3(t))this.add(r);else{let[i,...n]=t,o=this.get(i,!0);if(Rr.isCollection(o))o.addIn(n,r);else if(o===void 0&&this.schema)this.set(i,Pp(this.schema,n,r));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`)}}deleteIn(t){let[r,...i]=t;if(i.length===0)return this.delete(r);let n=this.get(r,!0);if(Rr.isCollection(n))return n.deleteIn(i);throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}getIn(t,r){let[i,...n]=t,o=this.get(i,!0);return n.length===0?!r&&Rr.isScalar(o)?o.value:o:Rr.isCollection(o)?o.getIn(n,r):void 0}hasAllNullValues(t){return this.items.every(r=>{if(!Rr.isPair(r))return!1;let i=r.value;return i==null||t&&Rr.isScalar(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(t){let[r,...i]=t;if(i.length===0)return this.has(r);let n=this.get(r,!0);return Rr.isCollection(n)?n.hasIn(i):!1}setIn(t,r){let[i,...n]=t;if(n.length===0)this.set(i,r);else{let o=this.get(i,!0);if(Rr.isCollection(o))o.setIn(n,r);else if(o===void 0&&this.schema)this.set(i,Pp(this.schema,n,r));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`)}}};Ju.Collection=Lp;Ju.collectionFromPath=Pp;Ju.isEmptyPath=x3});var Wa=ae(Wu=>{"use strict";var ZD=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Mp(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var VD=(e,t,r)=>e.endsWith(`
5
+ `)?Mp(r,t):r.includes(`
6
+ `)?`
7
+ `+Mp(r,t):(e.endsWith(" ")?"":" ")+r;Wu.indentComment=Mp;Wu.lineComment=VD;Wu.stringifyComment=ZD});var k3=ae(Ya=>{"use strict";var HD="flow",jp="block",Yu="quoted";function KD(e,t,r="flow",{indentAtStart:i,lineWidth:n=80,minContentWidth:o=20,onFold:a,onOverflow:s}={}){if(!n||n<0)return e;n<o&&(o=0);let l=Math.max(1+o,1+n-t.length);if(e.length<=l)return e;let u=[],c={},f=n-t.length;typeof i=="number"&&(i>n-Math.max(2,o)?u.push(0):f=n-i);let d,m,h=!1,v=-1,y=-1,b=-1;r===jp&&(v=w3(e,v,t.length),v!==-1&&(f=v+l));for(let $;$=e[v+=1];){if(r===Yu&&$==="\\"){switch(y=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}b=v}if($===`
8
+ `)r===jp&&(v=w3(e,v,t.length)),f=v+t.length+l,d=void 0;else{if($===" "&&m&&m!==" "&&m!==`
9
+ `&&m!==" "){let z=e[v+1];z&&z!==" "&&z!==`
10
+ `&&z!==" "&&(d=v)}if(v>=f)if(d)u.push(d),f=d+l,d=void 0;else if(r===Yu){for(;m===" "||m===" ";)m=$,$=e[v+=1],h=!0;let z=v>b+1?v-2:y-1;if(c[z])return e;u.push(z),c[z]=!0,f=z+l,d=void 0}else h=!0}m=$}if(h&&s&&s(),u.length===0)return e;a&&a();let w=e.slice(0,u[0]);for(let $=0;$<u.length;++$){let z=u[$],M=u[$+1]||e.length;z===0?w=`
11
+ ${t}${e.slice(0,M)}`:(r===Yu&&c[z]&&(w+=`${e[z]}\\`),w+=`
12
+ ${t}${e.slice(z+1,M)}`)}return w}function w3(e,t,r){let i=t,n=t+1,o=e[n];for(;o===" "||o===" ";)if(t<n+r)o=e[++t];else{do o=e[++t];while(o&&o!==`
13
+ `);i=t,n=t+1,o=e[n]}return i}Ya.FOLD_BLOCK=jp;Ya.FOLD_FLOW=HD;Ya.FOLD_QUOTED=Yu;Ya.foldFlowLines=KD});var Qa=ae($3=>{"use strict";var Tr=ht(),On=k3(),Qu=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),ec=e=>/^(%|---|\.\.\.)/m.test(e);function JD(e,t,r){if(!t||t<0)return!1;let i=t-r,n=e.length;if(n<=i)return!1;for(let o=0,a=0;o<n;++o)if(e[o]===`
14
+ `){if(o-a>i)return!0;if(a=o+1,n-a<=i)return!1}return!0}function Xa(e,t){let r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;let{implicitKey:i}=t,n=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(ec(e)?" ":""),a="",s=0;for(let l=0,u=r[l];u;u=r[++l])if(u===" "&&r[l+1]==="\\"&&r[l+2]==="n"&&(a+=r.slice(s,l)+"\\ ",l+=1,s=l,u="\\"),u==="\\")switch(r[l+1]){case"u":{a+=r.slice(s,l);let c=r.substr(l+2,4);switch(c){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:c.substr(0,2)==="00"?a+="\\x"+c.substr(2):a+=r.substr(l,6)}l+=5,s=l+1}break;case"n":if(i||r[l+2]==='"'||r.length<n)l+=1;else{for(a+=r.slice(s,l)+`
15
+
16
+ `;r[l+2]==="\\"&&r[l+3]==="n"&&r[l+4]!=='"';)a+=`
17
+ `,l+=2;a+=o,r[l+2]===" "&&(a+="\\"),l+=1,s=l+1}break;default:l+=1}return a=s?a+r.slice(s):r,i?a:On.foldFlowLines(a,o,On.FOLD_QUOTED,Qu(t,!1))}function Up(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
18
+ `)||/[ \t]\n|\n[ \t]/.test(e))return Xa(e,t);let r=t.indent||(ec(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
19
+ ${r}`)+"'";return t.implicitKey?i:On.foldFlowLines(i,r,On.FOLD_FLOW,Qu(t,!1))}function vo(e,t){let{singleQuote:r}=t.options,i;if(r===!1)i=Xa;else{let n=e.includes('"'),o=e.includes("'");n&&!o?i=Up:o&&!n?i=Xa:i=r?Up:Xa}return i(e,t)}var qp;try{qp=new RegExp(`(^|(?<!
20
+ ))
21
+ +(?!
22
+ |$)`,"g")}catch{qp=/\n+(?!\n|$)/g}function Xu({comment:e,type:t,value:r},i,n,o){let{blockQuote:a,commentString:s,lineWidth:l}=i.options;if(!a||/\n[\t ]+$/.test(r))return vo(r,i);let u=i.indent||(i.forceBlockIndent||ec(r)?" ":""),c=a==="literal"?!0:a==="folded"||t===Tr.Scalar.BLOCK_FOLDED?!1:t===Tr.Scalar.BLOCK_LITERAL?!0:!JD(r,l,u.length);if(!r)return c?`|
23
+ `:`>
24
+ `;let f,d;for(d=r.length;d>0;--d){let M=r[d-1];if(M!==`
25
+ `&&M!==" "&&M!==" ")break}let m=r.substring(d),h=m.indexOf(`
26
+ `);h===-1?f="-":r===m||h!==m.length-1?(f="+",o&&o()):f="",m&&(r=r.slice(0,-m.length),m[m.length-1]===`
27
+ `&&(m=m.slice(0,-1)),m=m.replace(qp,`$&${u}`));let v=!1,y,b=-1;for(y=0;y<r.length;++y){let M=r[y];if(M===" ")v=!0;else if(M===`
28
+ `)b=y;else break}let w=r.substring(0,b<y?b+1:y);w&&(r=r.substring(w.length),w=w.replace(/\n+/g,`$&${u}`));let z=(v?u?"2":"1":"")+f;if(e&&(z+=" "+s(e.replace(/ ?[\r\n]+/g," ")),n&&n()),!c){let M=r.replace(/\n+/g,`
29
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${u}`),S=!1,C=Qu(i,!0);a!=="folded"&&t!==Tr.Scalar.BLOCK_FOLDED&&(C.onOverflow=()=>{S=!0});let D=On.foldFlowLines(`${w}${M}${m}`,u,On.FOLD_BLOCK,C);if(!S)return`>${z}
30
+ ${u}${D}`}return r=r.replace(/\n+/g,`$&${u}`),`|${z}
31
+ ${u}${w}${r}${m}`}function GD(e,t,r,i){let{type:n,value:o}=e,{actualString:a,implicitKey:s,indent:l,indentStep:u,inFlow:c}=t;if(s&&o.includes(`
32
+ `)||c&&/[[\]{},]/.test(o))return vo(o,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||c||!o.includes(`
33
+ `)?vo(o,t):Xu(e,t,r,i);if(!s&&!c&&n!==Tr.Scalar.PLAIN&&o.includes(`
34
+ `))return Xu(e,t,r,i);if(ec(o)){if(l==="")return t.forceBlockIndent=!0,Xu(e,t,r,i);if(s&&l===u)return vo(o,t)}let f=o.replace(/\n+/g,`$&
35
+ ${l}`);if(a){let d=v=>v.default&&v.tag!=="tag:yaml.org,2002:str"&&v.test?.test(f),{compat:m,tags:h}=t.doc.schema;if(h.some(d)||m?.some(d))return vo(o,t)}return s?f:On.foldFlowLines(f,l,On.FOLD_FLOW,Qu(t,!1))}function WD(e,t,r,i){let{implicitKey:n,inFlow:o}=t,a=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==Tr.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(s=Tr.Scalar.QUOTE_DOUBLE);let l=c=>{switch(c){case Tr.Scalar.BLOCK_FOLDED:case Tr.Scalar.BLOCK_LITERAL:return n||o?vo(a.value,t):Xu(a,t,r,i);case Tr.Scalar.QUOTE_DOUBLE:return Xa(a.value,t);case Tr.Scalar.QUOTE_SINGLE:return Up(a.value,t);case Tr.Scalar.PLAIN:return GD(a,t,r,i);default:return null}},u=l(s);if(u===null){let{defaultKeyType:c,defaultStringType:f}=t.options,d=n&&c||f;if(u=l(d),u===null)throw new Error(`Unsupported default string type ${d}`)}return u}$3.stringifyString=WD});var es=ae(Rp=>{"use strict";var YD=Vu(),Pn=Ne(),XD=Wa(),QD=Qa();function eN(e,t){let r=Object.assign({blockQuote:!0,commentString:XD.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t),i;switch(r.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:typeof r.indent=="number"?" ".repeat(r.indent):" ",inFlow:i,options:r}}function tN(e,t){if(t.tag){let n=e.filter(o=>o.tag===t.tag);if(n.length>0)return n.find(o=>o.format===t.format)??n[0]}let r,i;if(Pn.isScalar(t)){i=t.value;let n=e.filter(o=>o.identify?.(i));if(n.length>1){let o=n.filter(a=>a.test);o.length>0&&(n=o)}r=n.find(o=>o.format===t.format)??n.find(o=>!o.format)}else i=t,r=e.find(n=>n.nodeClass&&i instanceof n.nodeClass);if(!r){let n=i?.constructor?.name??(i===null?"null":typeof i);throw new Error(`Tag not resolved for ${n} value`)}return r}function rN(e,t,{anchors:r,doc:i}){if(!i.directives)return"";let n=[],o=(Pn.isScalar(e)||Pn.isCollection(e))&&e.anchor;o&&YD.anchorIsValid(o)&&(r.add(o),n.push(`&${o}`));let a=e.tag??(t.default?null:t.tag);return a&&n.push(i.directives.tagString(a)),n.join(" ")}function nN(e,t,r,i){if(Pn.isPair(e))return e.toString(t,r,i);if(Pn.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let n,o=Pn.isNode(e)?e:t.doc.createNode(e,{onTagObj:l=>n=l});n??(n=tN(t.doc.schema.tags,o));let a=rN(o,n,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);let s=typeof n.stringify=="function"?n.stringify(o,t,r,i):Pn.isScalar(o)?QD.stringifyString(o,t,r,i):o.toString(t,r,i);return a?Pn.isScalar(o)||s[0]==="{"||s[0]==="["?`${a} ${s}`:`${a}
36
+ ${t.indent}${s}`:s}Rp.createStringifyContext=eN;Rp.stringify=nN});var z3=ae(I3=>{"use strict";var un=Ne(),S3=ht(),_3=es(),ts=Wa();function iN({key:e,value:t},r,i,n){let{allNullValues:o,doc:a,indent:s,indentStep:l,options:{commentString:u,indentSeq:c,simpleKeys:f}}=r,d=un.isNode(e)&&e.comment||null;if(f){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(un.isCollection(e)||!un.isNode(e)&&typeof e=="object"){let C="With simple keys, collection cannot be used as a key value";throw new Error(C)}}let m=!f&&(!e||d&&t==null&&!r.inFlow||un.isCollection(e)||(un.isScalar(e)?e.type===S3.Scalar.BLOCK_FOLDED||e.type===S3.Scalar.BLOCK_LITERAL:typeof e=="object"));r=Object.assign({},r,{allNullValues:!1,implicitKey:!m&&(f||!o),indent:s+l});let h=!1,v=!1,y=_3.stringify(e,r,()=>h=!0,()=>v=!0);if(!m&&!r.inFlow&&y.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");m=!0}if(r.inFlow){if(o||t==null)return h&&i&&i(),y===""?"?":m?`? ${y}`:y}else if(o&&!f||t==null&&m)return y=`? ${y}`,d&&!h?y+=ts.lineComment(y,r.indent,u(d)):v&&n&&n(),y;h&&(d=null),m?(d&&(y+=ts.lineComment(y,r.indent,u(d))),y=`? ${y}
37
+ ${s}:`):(y=`${y}:`,d&&(y+=ts.lineComment(y,r.indent,u(d))));let b,w,$;un.isNode(t)?(b=!!t.spaceBefore,w=t.commentBefore,$=t.comment):(b=!1,w=null,$=null,t&&typeof t=="object"&&(t=a.createNode(t))),r.implicitKey=!1,!m&&!d&&un.isScalar(t)&&(r.indentAtStart=y.length+1),v=!1,!c&&l.length>=2&&!r.inFlow&&!m&&un.isSeq(t)&&!t.flow&&!t.tag&&!t.anchor&&(r.indent=r.indent.substring(2));let z=!1,M=_3.stringify(t,r,()=>z=!0,()=>v=!0),S=" ";if(d||b||w){if(S=b?`
38
+ `:"",w){let C=u(w);S+=`
39
+ ${ts.indentComment(C,r.indent)}`}M===""&&!r.inFlow?S===`
40
+ `&&$&&(S=`
41
+
42
+ `):S+=`
43
+ ${r.indent}`}else if(!m&&un.isCollection(t)){let C=M[0],D=M.indexOf(`
44
+ `),j=D!==-1,E=r.inFlow??t.flow??t.items.length===0;if(j||!E){let ne=!1;if(j&&(C==="&"||C==="!")){let W=M.indexOf(" ");C==="&"&&W!==-1&&W<D&&M[W+1]==="!"&&(W=M.indexOf(" ",W+1)),(W===-1||D<W)&&(ne=!0)}ne||(S=`
45
+ ${r.indent}`)}}else(M===""||M[0]===`
46
+ `)&&(S="");return y+=S+M,r.inFlow?z&&i&&i():$&&!z?y+=ts.lineComment(y,r.indent,u($)):v&&n&&n(),y}I3.stringifyPair=iN});var Bp=ae(Fp=>{"use strict";var A3=Ul("process");function oN(e,...t){e==="debug"&&console.log(...t)}function aN(e,t){(e==="debug"||e==="warn")&&(typeof A3.emitWarning=="function"?A3.emitWarning(t):console.warn(t))}Fp.debug=oN;Fp.warn=aN});var oc=ae(ic=>{"use strict";var nc=Ne(),T3=ht(),tc="<<",rc={identify:e=>e===tc||typeof e=="symbol"&&e.description===tc,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new T3.Scalar(Symbol(tc)),{addToJSMap:C3}),stringify:()=>tc},sN=(e,t)=>(rc.identify(t)||nc.isScalar(t)&&(!t.type||t.type===T3.Scalar.PLAIN)&&rc.identify(t.value))&&e?.doc.schema.tags.some(r=>r.tag===rc.tag&&r.default);function C3(e,t,r){let i=D3(e,r);if(nc.isSeq(i))for(let n of i.items)Zp(e,t,n);else if(Array.isArray(i))for(let n of i)Zp(e,t,n);else Zp(e,t,i)}function Zp(e,t,r){let i=D3(e,r);if(!nc.isMap(i))throw new Error("Merge sources must be maps or map aliases");let n=i.toJSON(null,e,Map);for(let[o,a]of n)t instanceof Map?t.has(o)||t.set(o,a):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}function D3(e,t){return e&&nc.isAlias(t)?t.resolve(e.doc,e):t}ic.addMergeToJSMap=C3;ic.isMergeKey=sN;ic.merge=rc});var Hp=ae(O3=>{"use strict";var lN=Bp(),N3=oc(),uN=es(),E3=Ne(),Vp=Nn();function cN(e,t,{key:r,value:i}){if(E3.isNode(r)&&r.addToJSMap)r.addToJSMap(e,t,i);else if(N3.isMergeKey(e,r))N3.addMergeToJSMap(e,t,i);else{let n=Vp.toJS(r,"",e);if(t instanceof Map)t.set(n,Vp.toJS(i,n,e));else if(t instanceof Set)t.add(n);else{let o=fN(r,n,e),a=Vp.toJS(i,o,e);o in t?Object.defineProperty(t,o,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[o]=a}}return t}function fN(e,t,r){if(t===null)return"";if(typeof t!="object")return String(t);if(E3.isNode(e)&&r?.doc){let i=uN.createStringifyContext(r.doc,{});i.anchors=new Set;for(let o of r.anchors.keys())i.anchors.add(o.anchor);i.inFlow=!0,i.inStringifyKey=!0;let n=e.toString(i);if(!r.mapKeyWarned){let o=JSON.stringify(n);o.length>40&&(o=o.substring(0,36)+'..."'),lN.warn(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${o}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return n}return JSON.stringify(t)}O3.addPairToJSMap=cN});var Ln=ae(Kp=>{"use strict";var P3=Ga(),mN=z3(),dN=Hp(),ac=Ne();function pN(e,t,r){let i=P3.createNode(e,void 0,r),n=P3.createNode(t,void 0,r);return new sc(i,n)}var sc=class e{constructor(t,r=null){Object.defineProperty(this,ac.NODE_TYPE,{value:ac.PAIR}),this.key=t,this.value=r}clone(t){let{key:r,value:i}=this;return ac.isNode(r)&&(r=r.clone(t)),ac.isNode(i)&&(i=i.clone(t)),new e(r,i)}toJSON(t,r){let i=r?.mapAsMap?new Map:{};return dN.addPairToJSMap(r,i,this)}toString(t,r,i){return t?.doc?mN.stringifyPair(this,t,r,i):JSON.stringify(this)}};Kp.Pair=sc;Kp.createPair=pN});var Jp=ae(M3=>{"use strict";var _i=Ne(),L3=es(),lc=Wa();function hN(e,t,r){return(t.inFlow??e.flow?vN:gN)(e,t,r)}function gN({comment:e,items:t},r,{blockItemPrefix:i,flowChars:n,itemIndent:o,onChompKeep:a,onComment:s}){let{indent:l,options:{commentString:u}}=r,c=Object.assign({},r,{indent:o,type:null}),f=!1,d=[];for(let h=0;h<t.length;++h){let v=t[h],y=null;if(_i.isNode(v))!f&&v.spaceBefore&&d.push(""),uc(r,d,v.commentBefore,f),v.comment&&(y=v.comment);else if(_i.isPair(v)){let w=_i.isNode(v.key)?v.key:null;w&&(!f&&w.spaceBefore&&d.push(""),uc(r,d,w.commentBefore,f))}f=!1;let b=L3.stringify(v,c,()=>y=null,()=>f=!0);y&&(b+=lc.lineComment(b,o,u(y))),f&&y&&(f=!1),d.push(i+b)}let m;if(d.length===0)m=n.start+n.end;else{m=d[0];for(let h=1;h<d.length;++h){let v=d[h];m+=v?`
47
+ ${l}${v}`:`
48
+ `}}return e?(m+=`
49
+ `+lc.indentComment(u(e),l),s&&s()):f&&a&&a(),m}function vN({items:e},t,{flowChars:r,itemIndent:i}){let{indent:n,indentStep:o,flowCollectionPadding:a,options:{commentString:s}}=t;i+=o;let l=Object.assign({},t,{indent:i,inFlow:!0,type:null}),u=!1,c=0,f=[];for(let h=0;h<e.length;++h){let v=e[h],y=null;if(_i.isNode(v))v.spaceBefore&&f.push(""),uc(t,f,v.commentBefore,!1),v.comment&&(y=v.comment);else if(_i.isPair(v)){let w=_i.isNode(v.key)?v.key:null;w&&(w.spaceBefore&&f.push(""),uc(t,f,w.commentBefore,!1),w.comment&&(u=!0));let $=_i.isNode(v.value)?v.value:null;$?($.comment&&(y=$.comment),$.commentBefore&&(u=!0)):v.value==null&&w?.comment&&(y=w.comment)}y&&(u=!0);let b=L3.stringify(v,l,()=>y=null);u||(u=f.length>c||b.includes(`
50
+ `)),h<e.length-1?b+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(u||(u=f.reduce((w,$)=>w+$.length+2,2)+(b.length+2)>t.options.lineWidth)),u&&(b+=",")),y&&(b+=lc.lineComment(b,i,s(y))),f.push(b),c=f.length}let{start:d,end:m}=r;if(f.length===0)return d+m;if(!u){let h=f.reduce((v,y)=>v+y.length+2,2);u=t.options.lineWidth>0&&h>t.options.lineWidth}if(u){let h=d;for(let v of f)h+=v?`
51
+ ${o}${n}${v}`:`
52
+ `;return`${h}
53
+ ${n}${m}`}else return`${d}${a}${f.join(" ")}${a}${m}`}function uc({indent:e,options:{commentString:t}},r,i,n){if(i&&n&&(i=i.replace(/^\n+/,"")),i){let o=lc.indentComment(t(i),e);r.push(o.trimStart())}}M3.stringifyCollection=hN});var jn=ae(Wp=>{"use strict";var yN=Jp(),bN=Hp(),xN=Gu(),Mn=Ne(),cc=Ln(),wN=ht();function rs(e,t){let r=Mn.isScalar(t)?t.value:t;for(let i of e)if(Mn.isPair(i)&&(i.key===t||i.key===r||Mn.isScalar(i.key)&&i.key.value===r))return i}var Gp=class extends xN.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Mn.MAP,t),this.items=[]}static from(t,r,i){let{keepUndefined:n,replacer:o}=i,a=new this(t),s=(l,u)=>{if(typeof o=="function")u=o.call(r,l,u);else if(Array.isArray(o)&&!o.includes(l))return;(u!==void 0||n)&&a.items.push(cc.createPair(l,u,i))};if(r instanceof Map)for(let[l,u]of r)s(l,u);else if(r&&typeof r=="object")for(let l of Object.keys(r))s(l,r[l]);return typeof t.sortMapEntries=="function"&&a.items.sort(t.sortMapEntries),a}add(t,r){let i;Mn.isPair(t)?i=t:!t||typeof t!="object"||!("key"in t)?i=new cc.Pair(t,t?.value):i=new cc.Pair(t.key,t.value);let n=rs(this.items,i.key),o=this.schema?.sortMapEntries;if(n){if(!r)throw new Error(`Key ${i.key} already set`);Mn.isScalar(n.value)&&wN.isScalarValue(i.value)?n.value.value=i.value:n.value=i.value}else if(o){let a=this.items.findIndex(s=>o(i,s)<0);a===-1?this.items.push(i):this.items.splice(a,0,i)}else this.items.push(i)}delete(t){let r=rs(this.items,t);return r?this.items.splice(this.items.indexOf(r),1).length>0:!1}get(t,r){let n=rs(this.items,t)?.value;return(!r&&Mn.isScalar(n)?n.value:n)??void 0}has(t){return!!rs(this.items,t)}set(t,r){this.add(new cc.Pair(t,r),!0)}toJSON(t,r,i){let n=i?new i:r?.mapAsMap?new Map:{};r?.onCreate&&r.onCreate(n);for(let o of this.items)bN.addPairToJSMap(r,n,o);return n}toString(t,r,i){if(!t)return JSON.stringify(this);for(let n of this.items)if(!Mn.isPair(n))throw new Error(`Map items must all be pairs; found ${JSON.stringify(n)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),yN.stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:i,onComment:r})}};Wp.YAMLMap=Gp;Wp.findPair=rs});var yo=ae(U3=>{"use strict";var kN=Ne(),j3=jn(),$N={collection:"map",default:!0,nodeClass:j3.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(e,t){return kN.isMap(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,r)=>j3.YAMLMap.from(e,t,r)};U3.map=$N});var Un=ae(q3=>{"use strict";var SN=Ga(),_N=Jp(),IN=Gu(),mc=Ne(),zN=ht(),AN=Nn(),Yp=class extends IN.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(mc.SEQ,t),this.items=[]}add(t){this.items.push(t)}delete(t){let r=fc(t);return typeof r!="number"?!1:this.items.splice(r,1).length>0}get(t,r){let i=fc(t);if(typeof i!="number")return;let n=this.items[i];return!r&&mc.isScalar(n)?n.value:n}has(t){let r=fc(t);return typeof r=="number"&&r<this.items.length}set(t,r){let i=fc(t);if(typeof i!="number")throw new Error(`Expected a valid index, not ${t}.`);let n=this.items[i];mc.isScalar(n)&&zN.isScalarValue(r)?n.value=r:this.items[i]=r}toJSON(t,r){let i=[];r?.onCreate&&r.onCreate(i);let n=0;for(let o of this.items)i.push(AN.toJS(o,String(n++),r));return i}toString(t,r,i){return t?_N.stringifyCollection(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:i,onComment:r}):JSON.stringify(this)}static from(t,r,i){let{replacer:n}=i,o=new this(t);if(r&&Symbol.iterator in Object(r)){let a=0;for(let s of r){if(typeof n=="function"){let l=r instanceof Set?s:String(a++);s=n.call(r,l,s)}o.items.push(SN.createNode(s,void 0,i))}}return o}};function fc(e){let t=mc.isScalar(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}q3.YAMLSeq=Yp});var bo=ae(F3=>{"use strict";var TN=Ne(),R3=Un(),CN={collection:"seq",default:!0,nodeClass:R3.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(e,t){return TN.isSeq(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,r)=>R3.YAMLSeq.from(e,t,r)};F3.seq=CN});var ns=ae(B3=>{"use strict";var DN=Qa(),NN={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,r,i){return t=Object.assign({actualString:!0},t),DN.stringifyString(e,t,r,i)}};B3.string=NN});var dc=ae(H3=>{"use strict";var Z3=ht(),V3={identify:e=>e==null,createNode:()=>new Z3.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Z3.Scalar(null),stringify:({source:e},t)=>typeof e=="string"&&V3.test.test(e)?e:t.options.nullStr};H3.nullTag=V3});var Xp=ae(J3=>{"use strict";var EN=ht(),K3={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new EN.Scalar(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},r){if(e&&K3.test.test(e)){let i=e[0]==="t"||e[0]==="T";if(t===i)return e}return t?r.options.trueStr:r.options.falseStr}};J3.boolTag=K3});var xo=ae(G3=>{"use strict";function ON({format:e,minFractionDigits:t,tag:r,value:i}){if(typeof i=="bigint")return String(i);let n=typeof i=="number"?i:Number(i);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let o=Object.is(i,-0)?"-0":JSON.stringify(i);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^-?\d/.test(o)&&!o.includes("e")){let a=o.indexOf(".");a<0&&(a=o.length,o+=".");let s=t-(o.length-a-1);for(;s-- >0;)o+="0"}return o}G3.stringifyNumber=ON});var eh=ae(pc=>{"use strict";var PN=ht(),Qp=xo(),LN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Qp.stringifyNumber},MN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():Qp.stringifyNumber(e)}},jN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new PN.Scalar(parseFloat(e)),r=e.indexOf(".");return r!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-r-1),t},stringify:Qp.stringifyNumber};pc.float=jN;pc.floatExp=MN;pc.floatNaN=LN});var rh=ae(gc=>{"use strict";var W3=xo(),hc=e=>typeof e=="bigint"||Number.isInteger(e),th=(e,t,r,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(t),r);function Y3(e,t,r){let{value:i}=e;return hc(i)&&i>=0?r+i.toString(t):W3.stringifyNumber(e)}var UN={identify:e=>hc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>th(e,2,8,r),stringify:e=>Y3(e,8,"0o")},qN={identify:hc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>th(e,0,10,r),stringify:W3.stringifyNumber},RN={identify:e=>hc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>th(e,2,16,r),stringify:e=>Y3(e,16,"0x")};gc.int=qN;gc.intHex=RN;gc.intOct=UN});var Q3=ae(X3=>{"use strict";var FN=yo(),BN=dc(),ZN=bo(),VN=ns(),HN=Xp(),nh=eh(),ih=rh(),KN=[FN.map,ZN.seq,VN.string,BN.nullTag,HN.boolTag,ih.intOct,ih.int,ih.intHex,nh.floatNaN,nh.floatExp,nh.float];X3.schema=KN});var rw=ae(tw=>{"use strict";var JN=ht(),GN=yo(),WN=bo();function ew(e){return typeof e=="bigint"||Number.isInteger(e)}var vc=({value:e})=>JSON.stringify(e),YN=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:vc},{identify:e=>e==null,createNode:()=>new JN.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:vc},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:vc},{identify:ew,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:r})=>r?BigInt(e):parseInt(e,10),stringify:({value:e})=>ew(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:vc}],XN={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},QN=[GN.map,WN.seq].concat(YN,XN);tw.schema=QN});var ah=ae(nw=>{"use strict";var is=Ul("buffer"),oh=ht(),eE=Qa(),tE={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof is.Buffer=="function")return is.Buffer.from(e,"base64");if(typeof atob=="function"){let r=atob(e.replace(/[\n\r]/g,"")),i=new Uint8Array(r.length);for(let n=0;n<r.length;++n)i[n]=r.charCodeAt(n);return i}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:r},i,n,o){if(!r)return"";let a=r,s;if(typeof is.Buffer=="function")s=a instanceof is.Buffer?a.toString("base64"):is.Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let l="";for(let u=0;u<a.length;++u)l+=String.fromCharCode(a[u]);s=btoa(l)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=oh.Scalar.BLOCK_LITERAL),t!==oh.Scalar.QUOTE_DOUBLE){let l=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),u=Math.ceil(s.length/l),c=new Array(u);for(let f=0,d=0;f<u;++f,d+=l)c[f]=s.substr(d,l);s=c.join(t===oh.Scalar.BLOCK_LITERAL?`
54
+ `:" ")}return eE.stringifyString({comment:e,type:t,value:s},i,n,o)}};nw.binary=tE});var xc=ae(bc=>{"use strict";var yc=Ne(),sh=Ln(),rE=ht(),nE=Un();function iw(e,t){if(yc.isSeq(e))for(let r=0;r<e.items.length;++r){let i=e.items[r];if(!yc.isPair(i)){if(yc.isMap(i)){i.items.length>1&&t("Each pair must have its own sequence indicator");let n=i.items[0]||new sh.Pair(new rE.Scalar(null));if(i.commentBefore&&(n.key.commentBefore=n.key.commentBefore?`${i.commentBefore}
55
+ ${n.key.commentBefore}`:i.commentBefore),i.comment){let o=n.value??n.key;o.comment=o.comment?`${i.comment}
56
+ ${o.comment}`:i.comment}i=n}e.items[r]=yc.isPair(i)?i:new sh.Pair(i)}}else t("Expected a sequence for this tag");return e}function ow(e,t,r){let{replacer:i}=r,n=new nE.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let a of t){typeof i=="function"&&(a=i.call(t,String(o++),a));let s,l;if(Array.isArray(a))if(a.length===2)s=a[0],l=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){let u=Object.keys(a);if(u.length===1)s=u[0],l=a[s];else throw new TypeError(`Expected tuple with one key, not ${u.length} keys`)}else s=a;n.items.push(sh.createPair(s,l,r))}return n}var iE={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:iw,createNode:ow};bc.createPairs=ow;bc.pairs=iE;bc.resolvePairs=iw});var ch=ae(uh=>{"use strict";var aw=Ne(),lh=Nn(),os=jn(),oE=Un(),sw=xc(),Ii=class e extends oE.YAMLSeq{constructor(){super(),this.add=os.YAMLMap.prototype.add.bind(this),this.delete=os.YAMLMap.prototype.delete.bind(this),this.get=os.YAMLMap.prototype.get.bind(this),this.has=os.YAMLMap.prototype.has.bind(this),this.set=os.YAMLMap.prototype.set.bind(this),this.tag=e.tag}toJSON(t,r){if(!r)return super.toJSON(t);let i=new Map;r?.onCreate&&r.onCreate(i);for(let n of this.items){let o,a;if(aw.isPair(n)?(o=lh.toJS(n.key,"",r),a=lh.toJS(n.value,o,r)):o=lh.toJS(n,"",r),i.has(o))throw new Error("Ordered maps must not include duplicate keys");i.set(o,a)}return i}static from(t,r,i){let n=sw.createPairs(t,r,i),o=new this;return o.items=n.items,o}};Ii.tag="tag:yaml.org,2002:omap";var aE={collection:"seq",identify:e=>e instanceof Map,nodeClass:Ii,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let r=sw.resolvePairs(e,t),i=[];for(let{key:n}of r.items)aw.isScalar(n)&&(i.includes(n.value)?t(`Ordered maps must not include duplicate keys: ${n.value}`):i.push(n.value));return Object.assign(new Ii,r)},createNode:(e,t,r)=>Ii.from(e,t,r)};uh.YAMLOMap=Ii;uh.omap=aE});var mw=ae(fh=>{"use strict";var lw=ht();function uw({value:e,source:t},r){return t&&(e?cw:fw).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}var cw={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new lw.Scalar(!0),stringify:uw},fw={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new lw.Scalar(!1),stringify:uw};fh.falseTag=fw;fh.trueTag=cw});var dw=ae(wc=>{"use strict";var sE=ht(),mh=xo(),lE={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:mh.stringifyNumber},uE={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():mh.stringifyNumber(e)}},cE={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new sE.Scalar(parseFloat(e.replace(/_/g,""))),r=e.indexOf(".");if(r!==-1){let i=e.substring(r+1).replace(/_/g,"");i[i.length-1]==="0"&&(t.minFractionDigits=i.length)}return t},stringify:mh.stringifyNumber};wc.float=cE;wc.floatExp=uE;wc.floatNaN=lE});var hw=ae(ss=>{"use strict";var pw=xo(),as=e=>typeof e=="bigint"||Number.isInteger(e);function kc(e,t,r,{intAsBigInt:i}){let n=e[0];if((n==="-"||n==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),i){switch(r){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}let a=BigInt(e);return n==="-"?BigInt(-1)*a:a}let o=parseInt(e,r);return n==="-"?-1*o:o}function dh(e,t,r){let{value:i}=e;if(as(i)){let n=i.toString(t);return i<0?"-"+r+n.substr(1):r+n}return pw.stringifyNumber(e)}var fE={identify:as,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>kc(e,2,2,r),stringify:e=>dh(e,2,"0b")},mE={identify:as,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>kc(e,1,8,r),stringify:e=>dh(e,8,"0")},dE={identify:as,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>kc(e,0,10,r),stringify:pw.stringifyNumber},pE={identify:as,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>kc(e,2,16,r),stringify:e=>dh(e,16,"0x")};ss.int=dE;ss.intBin=fE;ss.intHex=pE;ss.intOct=mE});var hh=ae(ph=>{"use strict";var _c=Ne(),$c=Ln(),Sc=jn(),zi=class e extends Sc.YAMLMap{constructor(t){super(t),this.tag=e.tag}add(t){let r;_c.isPair(t)?r=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?r=new $c.Pair(t.key,null):r=new $c.Pair(t,null),Sc.findPair(this.items,r.key)||this.items.push(r)}get(t,r){let i=Sc.findPair(this.items,t);return!r&&_c.isPair(i)?_c.isScalar(i.key)?i.key.value:i.key:i}set(t,r){if(typeof r!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof r}`);let i=Sc.findPair(this.items,t);i&&!r?this.items.splice(this.items.indexOf(i),1):!i&&r&&this.items.push(new $c.Pair(t))}toJSON(t,r){return super.toJSON(t,r,Set)}toString(t,r,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),r,i);throw new Error("Set items must all have null values")}static from(t,r,i){let{replacer:n}=i,o=new this(t);if(r&&Symbol.iterator in Object(r))for(let a of r)typeof n=="function"&&(a=n.call(r,a,a)),o.items.push($c.createPair(a,null,i));return o}};zi.tag="tag:yaml.org,2002:set";var hE={collection:"map",identify:e=>e instanceof Set,nodeClass:zi,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>zi.from(e,t,r),resolve(e,t){if(_c.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new zi,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};ph.YAMLSet=zi;ph.set=hE});var vh=ae(Ic=>{"use strict";var gE=xo();function gh(e,t){let r=e[0],i=r==="-"||r==="+"?e.substring(1):e,n=a=>t?BigInt(a):Number(a),o=i.replace(/_/g,"").split(":").reduce((a,s)=>a*n(60)+n(s),n(0));return r==="-"?n(-1)*o:o}function gw(e){let{value:t}=e,r=a=>a;if(typeof t=="bigint")r=a=>BigInt(a);else if(isNaN(t)||!isFinite(t))return gE.stringifyNumber(e);let i="";t<0&&(i="-",t*=r(-1));let n=r(60),o=[t%n];return t<60?o.unshift(0):(t=(t-o[0])/n,o.unshift(t%n),t>=60&&(t=(t-o[0])/n,o.unshift(t))),i+o.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var vE={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>gh(e,r),stringify:gw},yE={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>gh(e,!1),stringify:gw},vw={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(vw.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,r,i,n,o,a,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0,u=Date.UTC(r,i-1,n,o||0,a||0,s||0,l),c=t[8];if(c&&c!=="Z"){let f=gh(c,!1);Math.abs(f)<30&&(f*=60),u-=6e4*f}return new Date(u)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};Ic.floatTime=yE;Ic.intTime=vE;Ic.timestamp=vw});var xw=ae(bw=>{"use strict";var bE=yo(),xE=dc(),wE=bo(),kE=ns(),$E=ah(),yw=mw(),yh=dw(),zc=hw(),SE=oc(),_E=ch(),IE=xc(),zE=hh(),bh=vh(),AE=[bE.map,wE.seq,kE.string,xE.nullTag,yw.trueTag,yw.falseTag,zc.intBin,zc.intOct,zc.int,zc.intHex,yh.floatNaN,yh.floatExp,yh.float,$E.binary,SE.merge,_E.omap,IE.pairs,zE.set,bh.intTime,bh.floatTime,bh.timestamp];bw.schema=AE});var Cw=ae(kh=>{"use strict";var Sw=yo(),TE=dc(),_w=bo(),CE=ns(),DE=Xp(),xh=eh(),wh=rh(),NE=Q3(),EE=rw(),Iw=ah(),ls=oc(),zw=ch(),Aw=xc(),ww=xw(),Tw=hh(),Ac=vh(),kw=new Map([["core",NE.schema],["failsafe",[Sw.map,_w.seq,CE.string]],["json",EE.schema],["yaml11",ww.schema],["yaml-1.1",ww.schema]]),$w={binary:Iw.binary,bool:DE.boolTag,float:xh.float,floatExp:xh.floatExp,floatNaN:xh.floatNaN,floatTime:Ac.floatTime,int:wh.int,intHex:wh.intHex,intOct:wh.intOct,intTime:Ac.intTime,map:Sw.map,merge:ls.merge,null:TE.nullTag,omap:zw.omap,pairs:Aw.pairs,seq:_w.seq,set:Tw.set,timestamp:Ac.timestamp},OE={"tag:yaml.org,2002:binary":Iw.binary,"tag:yaml.org,2002:merge":ls.merge,"tag:yaml.org,2002:omap":zw.omap,"tag:yaml.org,2002:pairs":Aw.pairs,"tag:yaml.org,2002:set":Tw.set,"tag:yaml.org,2002:timestamp":Ac.timestamp};function PE(e,t,r){let i=kw.get(t);if(i&&!e)return r&&!i.includes(ls.merge)?i.concat(ls.merge):i.slice();let n=i;if(!n)if(Array.isArray(e))n=[];else{let o=Array.from(kw.keys()).filter(a=>a!=="yaml11").map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${o} or define customTags array`)}if(Array.isArray(e))for(let o of e)n=n.concat(o);else typeof e=="function"&&(n=e(n.slice()));return r&&(n=n.concat(ls.merge)),n.reduce((o,a)=>{let s=typeof a=="string"?$w[a]:a;if(!s){let l=JSON.stringify(a),u=Object.keys($w).map(c=>JSON.stringify(c)).join(", ");throw new Error(`Unknown custom tag ${l}; use one of ${u}`)}return o.includes(s)||o.push(s),o},[])}kh.coreKnownTags=OE;kh.getTags=PE});var _h=ae(Dw=>{"use strict";var $h=Ne(),LE=yo(),ME=bo(),jE=ns(),Tc=Cw(),UE=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,Sh=class e{constructor({compat:t,customTags:r,merge:i,resolveKnownTags:n,schema:o,sortMapEntries:a,toStringDefaults:s}){this.compat=Array.isArray(t)?Tc.getTags(t,"compat"):t?Tc.getTags(null,t):null,this.name=typeof o=="string"&&o||"core",this.knownTags=n?Tc.coreKnownTags:{},this.tags=Tc.getTags(r,this.name,i),this.toStringOptions=s??null,Object.defineProperty(this,$h.MAP,{value:LE.map}),Object.defineProperty(this,$h.SCALAR,{value:jE.string}),Object.defineProperty(this,$h.SEQ,{value:ME.seq}),this.sortMapEntries=typeof a=="function"?a:a===!0?UE:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};Dw.Schema=Sh});var Ew=ae(Nw=>{"use strict";var qE=Ne(),Ih=es(),us=Wa();function RE(e,t){let r=[],i=t.directives===!0;if(t.directives!==!1&&e.directives){let l=e.directives.toString(e);l?(r.push(l),i=!0):e.directives.docStart&&(i=!0)}i&&r.push("---");let n=Ih.createStringifyContext(e,t),{commentString:o}=n.options;if(e.commentBefore){r.length!==1&&r.unshift("");let l=o(e.commentBefore);r.unshift(us.indentComment(l,""))}let a=!1,s=null;if(e.contents){if(qE.isNode(e.contents)){if(e.contents.spaceBefore&&i&&r.push(""),e.contents.commentBefore){let c=o(e.contents.commentBefore);r.push(us.indentComment(c,""))}n.forceBlockIndent=!!e.comment,s=e.contents.comment}let l=s?void 0:()=>a=!0,u=Ih.stringify(e.contents,n,()=>s=null,l);s&&(u+=us.lineComment(u,"",o(s))),(u[0]==="|"||u[0]===">")&&r[r.length-1]==="---"?r[r.length-1]=`--- ${u}`:r.push(u)}else r.push(Ih.stringify(e.contents,n));if(e.directives?.docEnd)if(e.comment){let l=o(e.comment);l.includes(`
57
+ `)?(r.push("..."),r.push(us.indentComment(l,""))):r.push(`... ${l}`)}else r.push("...");else{let l=e.comment;l&&a&&(l=l.replace(/^\n+/,"")),l&&((!a||s)&&r[r.length-1]!==""&&r.push(""),r.push(us.indentComment(o(l),"")))}return r.join(`
58
+ `)+`
59
+ `}Nw.stringifyDocument=RE});var cs=ae(Ow=>{"use strict";var FE=Ja(),wo=Gu(),xr=Ne(),BE=Ln(),ZE=Nn(),VE=_h(),HE=Ew(),zh=Vu(),KE=Dp(),JE=Ga(),Ah=Cp(),Th=class e{constructor(t,r,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,xr.NODE_TYPE,{value:xr.DOC});let n=null;typeof r=="function"||Array.isArray(r)?n=r:i===void 0&&r&&(i=r,r=void 0);let o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},i);this.options=o;let{version:a}=o;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new Ah.Directives({version:a}),this.setSchema(a,i),this.contents=t===void 0?null:this.createNode(t,n,i)}clone(){let t=Object.create(e.prototype,{[xr.NODE_TYPE]:{value:xr.DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=xr.isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){ko(this.contents)&&this.contents.add(t)}addIn(t,r){ko(this.contents)&&this.contents.addIn(t,r)}createAlias(t,r){if(!t.anchor){let i=zh.anchorNames(this);t.anchor=!r||i.has(r)?zh.findNewAnchor(r||"a",i):r}return new FE.Alias(t.anchor)}createNode(t,r,i){let n;if(typeof r=="function")t=r.call({"":t},"",t),n=r;else if(Array.isArray(r)){let y=w=>typeof w=="number"||w instanceof String||w instanceof Number,b=r.filter(y).map(String);b.length>0&&(r=r.concat(b)),n=r}else i===void 0&&r&&(i=r,r=void 0);let{aliasDuplicateObjects:o,anchorPrefix:a,flow:s,keepUndefined:l,onTagObj:u,tag:c}=i??{},{onAnchor:f,setAnchors:d,sourceObjects:m}=zh.createNodeAnchors(this,a||"a"),h={aliasDuplicateObjects:o??!0,keepUndefined:l??!1,onAnchor:f,onTagObj:u,replacer:n,schema:this.schema,sourceObjects:m},v=JE.createNode(t,c,h);return s&&xr.isCollection(v)&&(v.flow=!0),d(),v}createPair(t,r,i={}){let n=this.createNode(t,null,i),o=this.createNode(r,null,i);return new BE.Pair(n,o)}delete(t){return ko(this.contents)?this.contents.delete(t):!1}deleteIn(t){return wo.isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):ko(this.contents)?this.contents.deleteIn(t):!1}get(t,r){return xr.isCollection(this.contents)?this.contents.get(t,r):void 0}getIn(t,r){return wo.isEmptyPath(t)?!r&&xr.isScalar(this.contents)?this.contents.value:this.contents:xr.isCollection(this.contents)?this.contents.getIn(t,r):void 0}has(t){return xr.isCollection(this.contents)?this.contents.has(t):!1}hasIn(t){return wo.isEmptyPath(t)?this.contents!==void 0:xr.isCollection(this.contents)?this.contents.hasIn(t):!1}set(t,r){this.contents==null?this.contents=wo.collectionFromPath(this.schema,[t],r):ko(this.contents)&&this.contents.set(t,r)}setIn(t,r){wo.isEmptyPath(t)?this.contents=r:this.contents==null?this.contents=wo.collectionFromPath(this.schema,Array.from(t),r):ko(this.contents)&&this.contents.setIn(t,r)}setSchema(t,r={}){typeof t=="number"&&(t=String(t));let i;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ah.Directives({version:"1.1"}),i={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Ah.Directives({version:t}),i={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{let n=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${n}`)}}if(r.schema instanceof Object)this.schema=r.schema;else if(i)this.schema=new VE.Schema(Object.assign(i,r));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:r,mapAsMap:i,maxAliasCount:n,onAnchor:o,reviver:a}={}){let s={anchors:new Map,doc:this,keep:!t,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},l=ZE.toJS(this.contents,r??"",s);if(typeof o=="function")for(let{count:u,res:c}of s.anchors.values())o(c,u);return typeof a=="function"?KE.applyReviver(a,{"":l},"",l):l}toJSON(t,r){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:r})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){let r=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return HE.stringifyDocument(this,t)}};function ko(e){if(xr.isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}Ow.Document=Th});var ds=ae(ms=>{"use strict";var fs=class extends Error{constructor(t,r,i,n){super(),this.name=t,this.code=i,this.message=n,this.pos=r}},Ch=class extends fs{constructor(t,r,i){super("YAMLParseError",t,r,i)}},Dh=class extends fs{constructor(t,r,i){super("YAMLWarning",t,r,i)}},GE=(e,t)=>r=>{if(r.pos[0]===-1)return;r.linePos=r.pos.map(s=>t.linePos(s));let{line:i,col:n}=r.linePos[0];r.message+=` at line ${i}, column ${n}`;let o=n-1,a=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(o>=60&&a.length>80){let s=Math.min(o-39,a.length-79);a="\u2026"+a.substring(s),o-=s-1}if(a.length>80&&(a=a.substring(0,79)+"\u2026"),i>1&&/^ *$/.test(a.substring(0,o))){let s=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);s.length>80&&(s=s.substring(0,79)+`\u2026
60
+ `),a=s+a}if(/[^ ]/.test(a)){let s=1,l=r.linePos[1];l?.line===i&&l.col>n&&(s=Math.max(1,Math.min(l.col-n,80-o)));let u=" ".repeat(o)+"^".repeat(s);r.message+=`:
61
+
62
+ ${a}
63
+ ${u}
64
+ `}};ms.YAMLError=fs;ms.YAMLParseError=Ch;ms.YAMLWarning=Dh;ms.prettifyError=GE});var ps=ae(Pw=>{"use strict";function WE(e,{flow:t,indicator:r,next:i,offset:n,onError:o,parentIndent:a,startOnNewline:s}){let l=!1,u=s,c=s,f="",d="",m=!1,h=!1,v=null,y=null,b=null,w=null,$=null,z=null,M=null;for(let D of e)switch(h&&(D.type!=="space"&&D.type!=="newline"&&D.type!=="comma"&&o(D.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),v&&(u&&D.type!=="comment"&&D.type!=="newline"&&o(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),v=null),D.type){case"space":!t&&(r!=="doc-start"||i?.type!=="flow-collection")&&D.source.includes(" ")&&(v=D),c=!0;break;case"comment":{c||o(D,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let j=D.source.substring(1)||" ";f?f+=d+j:f=j,d="",u=!1;break}case"newline":u?f?f+=D.source:(!z||r!=="seq-item-ind")&&(l=!0):d+=D.source,u=!0,m=!0,(y||b)&&(w=D),c=!0;break;case"anchor":y&&o(D,"MULTIPLE_ANCHORS","A node can have at most one anchor"),D.source.endsWith(":")&&o(D.offset+D.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),y=D,M??(M=D.offset),u=!1,c=!1,h=!0;break;case"tag":{b&&o(D,"MULTIPLE_TAGS","A node can have at most one tag"),b=D,M??(M=D.offset),u=!1,c=!1,h=!0;break}case r:(y||b)&&o(D,"BAD_PROP_ORDER",`Anchors and tags must be after the ${D.source} indicator`),z&&o(D,"UNEXPECTED_TOKEN",`Unexpected ${D.source} in ${t??"collection"}`),z=D,u=r==="seq-item-ind"||r==="explicit-key-ind",c=!1;break;case"comma":if(t){$&&o(D,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),$=D,u=!1,c=!1;break}default:o(D,"UNEXPECTED_TOKEN",`Unexpected ${D.type} token`),u=!1,c=!1}let S=e[e.length-1],C=S?S.offset+S.source.length:n;return h&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")&&o(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v&&(u&&v.indent<=a||i?.type==="block-map"||i?.type==="block-seq")&&o(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:$,found:z,spaceBefore:l,comment:f,hasNewline:m,anchor:y,tag:b,newlineAfterProp:w,end:C,start:M??C}}Pw.resolveProps=WE});var Cc=ae(Lw=>{"use strict";function Nh(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
65
+ `))return!0;if(e.end){for(let t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(let t of e.items){for(let r of t.start)if(r.type==="newline")return!0;if(t.sep){for(let r of t.sep)if(r.type==="newline")return!0}if(Nh(t.key)||Nh(t.value))return!0}return!1;default:return!0}}Lw.containsNewline=Nh});var Eh=ae(Mw=>{"use strict";var YE=Cc();function XE(e,t,r){if(t?.type==="flow-collection"){let i=t.end[0];i.indent===e&&(i.source==="]"||i.source==="}")&&YE.containsNewline(t)&&r(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}Mw.flowIndentCheck=XE});var Oh=ae(Uw=>{"use strict";var jw=Ne();function QE(e,t,r){let{uniqueKeys:i}=e.options;if(i===!1)return!1;let n=typeof i=="function"?i:(o,a)=>o===a||jw.isScalar(o)&&jw.isScalar(a)&&o.value===a.value;return t.some(o=>n(o.key,r))}Uw.mapIncludes=QE});var Vw=ae(Zw=>{"use strict";var qw=Ln(),eO=jn(),Rw=ps(),tO=Cc(),Fw=Eh(),rO=Oh(),Bw="All mapping items must start at the same column";function nO({composeNode:e,composeEmptyNode:t},r,i,n,o){let a=o?.nodeClass??eO.YAMLMap,s=new a(r.schema);r.atRoot&&(r.atRoot=!1);let l=i.offset,u=null;for(let c of i.items){let{start:f,key:d,sep:m,value:h}=c,v=Rw.resolveProps(f,{indicator:"explicit-key-ind",next:d??m?.[0],offset:l,onError:n,parentIndent:i.indent,startOnNewline:!0}),y=!v.found;if(y){if(d&&(d.type==="block-seq"?n(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==i.indent&&n(l,"BAD_INDENT",Bw)),!v.anchor&&!v.tag&&!m){u=v.end,v.comment&&(s.comment?s.comment+=`
66
+ `+v.comment:s.comment=v.comment);continue}(v.newlineAfterProp||tO.containsNewline(d))&&n(d??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else v.found?.indent!==i.indent&&n(l,"BAD_INDENT",Bw);r.atKey=!0;let b=v.end,w=d?e(r,d,v,n):t(r,b,f,null,v,n);r.schema.compat&&Fw.flowIndentCheck(i.indent,d,n),r.atKey=!1,rO.mapIncludes(r,s.items,w)&&n(b,"DUPLICATE_KEY","Map keys must be unique");let $=Rw.resolveProps(m??[],{indicator:"map-value-ind",next:h,offset:w.range[2],onError:n,parentIndent:i.indent,startOnNewline:!d||d.type==="block-scalar"});if(l=$.end,$.found){y&&(h?.type==="block-map"&&!$.hasNewline&&n(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&v.start<$.found.offset-1024&&n(w.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let z=h?e(r,h,$,n):t(r,l,m,null,$,n);r.schema.compat&&Fw.flowIndentCheck(i.indent,h,n),l=z.range[2];let M=new qw.Pair(w,z);r.options.keepSourceTokens&&(M.srcToken=c),s.items.push(M)}else{y&&n(w.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),$.comment&&(w.comment?w.comment+=`
67
+ `+$.comment:w.comment=$.comment);let z=new qw.Pair(w);r.options.keepSourceTokens&&(z.srcToken=c),s.items.push(z)}}return u&&u<l&&n(u,"IMPOSSIBLE","Map comment with trailing content"),s.range=[i.offset,l,u??l],s}Zw.resolveBlockMap=nO});var Kw=ae(Hw=>{"use strict";var iO=Un(),oO=ps(),aO=Eh();function sO({composeNode:e,composeEmptyNode:t},r,i,n,o){let a=o?.nodeClass??iO.YAMLSeq,s=new a(r.schema);r.atRoot&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let l=i.offset,u=null;for(let{start:c,value:f}of i.items){let d=oO.resolveProps(c,{indicator:"seq-item-ind",next:f,offset:l,onError:n,parentIndent:i.indent,startOnNewline:!0});if(!d.found)if(d.anchor||d.tag||f)f?.type==="block-seq"?n(d.end,"BAD_INDENT","All sequence items must start at the same column"):n(l,"MISSING_CHAR","Sequence item without - indicator");else{u=d.end,d.comment&&(s.comment=d.comment);continue}let m=f?e(r,f,d,n):t(r,d.end,c,null,d,n);r.schema.compat&&aO.flowIndentCheck(i.indent,f,n),l=m.range[2],s.items.push(m)}return s.range=[i.offset,l,u??l],s}Hw.resolveBlockSeq=sO});var $o=ae(Jw=>{"use strict";function lO(e,t,r,i){let n="";if(e){let o=!1,a="";for(let s of e){let{source:l,type:u}=s;switch(u){case"space":o=!0;break;case"comment":{r&&!o&&i(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let c=l.substring(1)||" ";n?n+=a+c:n=c,a="";break}case"newline":n&&(a+=l),o=!0;break;default:i(s,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}t+=l.length}}return{comment:n,offset:t}}Jw.resolveEnd=lO});var Xw=ae(Yw=>{"use strict";var uO=Ne(),cO=Ln(),Gw=jn(),fO=Un(),mO=$o(),Ww=ps(),dO=Cc(),pO=Oh(),Ph="Block collections are not allowed within flow collections",Lh=e=>e&&(e.type==="block-map"||e.type==="block-seq");function hO({composeNode:e,composeEmptyNode:t},r,i,n,o){let a=i.start.source==="{",s=a?"flow map":"flow sequence",l=o?.nodeClass??(a?Gw.YAMLMap:fO.YAMLSeq),u=new l(r.schema);u.flow=!0;let c=r.atRoot;c&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let f=i.offset+i.start.source.length;for(let y=0;y<i.items.length;++y){let b=i.items[y],{start:w,key:$,sep:z,value:M}=b,S=Ww.resolveProps(w,{flow:s,indicator:"explicit-key-ind",next:$??z?.[0],offset:f,onError:n,parentIndent:i.indent,startOnNewline:!1});if(!S.found){if(!S.anchor&&!S.tag&&!z&&!M){y===0&&S.comma?n(S.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):y<i.items.length-1&&n(S.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),S.comment&&(u.comment?u.comment+=`
68
+ `+S.comment:u.comment=S.comment),f=S.end;continue}!a&&r.options.strict&&dO.containsNewline($)&&n($,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(y===0)S.comma&&n(S.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(S.comma||n(S.start,"MISSING_CHAR",`Missing , between ${s} items`),S.comment){let C="";e:for(let D of w)switch(D.type){case"comma":case"space":break;case"comment":C=D.source.substring(1);break e;default:break e}if(C){let D=u.items[u.items.length-1];uO.isPair(D)&&(D=D.value??D.key),D.comment?D.comment+=`
69
+ `+C:D.comment=C,S.comment=S.comment.substring(C.length+1)}}if(!a&&!z&&!S.found){let C=M?e(r,M,S,n):t(r,S.end,z,null,S,n);u.items.push(C),f=C.range[2],Lh(M)&&n(C.range,"BLOCK_IN_FLOW",Ph)}else{r.atKey=!0;let C=S.end,D=$?e(r,$,S,n):t(r,C,w,null,S,n);Lh($)&&n(D.range,"BLOCK_IN_FLOW",Ph),r.atKey=!1;let j=Ww.resolveProps(z??[],{flow:s,indicator:"map-value-ind",next:M,offset:D.range[2],onError:n,parentIndent:i.indent,startOnNewline:!1});if(j.found){if(!a&&!S.found&&r.options.strict){if(z)for(let W of z){if(W===j.found)break;if(W.type==="newline"){n(W,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}S.start<j.found.offset-1024&&n(j.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else M&&("source"in M&&M.source?.[0]===":"?n(M,"MISSING_CHAR",`Missing space after : in ${s}`):n(j.start,"MISSING_CHAR",`Missing , or : between ${s} items`));let E=M?e(r,M,j,n):j.found?t(r,j.end,z,null,j,n):null;E?Lh(M)&&n(E.range,"BLOCK_IN_FLOW",Ph):j.comment&&(D.comment?D.comment+=`
70
+ `+j.comment:D.comment=j.comment);let ne=new cO.Pair(D,E);if(r.options.keepSourceTokens&&(ne.srcToken=b),a){let W=u;pO.mapIncludes(r,W.items,D)&&n(C,"DUPLICATE_KEY","Map keys must be unique"),W.items.push(ne)}else{let W=new Gw.YAMLMap(r.schema);W.flow=!0,W.items.push(ne);let Z=(E??D).range;W.range=[D.range[0],Z[1],Z[2]],u.items.push(W)}f=E?E.range[2]:j.end}}let d=a?"}":"]",[m,...h]=i.end,v=f;if(m?.source===d)v=m.offset+m.source.length;else{let y=s[0].toUpperCase()+s.substring(1),b=c?`${y} must end with a ${d}`:`${y} in block collection must be sufficiently indented and end with a ${d}`;n(f,c?"MISSING_CHAR":"BAD_INDENT",b),m&&m.source.length!==1&&h.unshift(m)}if(h.length>0){let y=mO.resolveEnd(h,v,r.options.strict,n);y.comment&&(u.comment?u.comment+=`
71
+ `+y.comment:u.comment=y.comment),u.range=[i.offset,v,y.offset]}else u.range=[i.offset,v,v];return u}Yw.resolveFlowCollection=hO});var e7=ae(Qw=>{"use strict";var gO=Ne(),vO=ht(),yO=jn(),bO=Un(),xO=Vw(),wO=Kw(),kO=Xw();function Mh(e,t,r,i,n,o){let a=r.type==="block-map"?xO.resolveBlockMap(e,t,r,i,o):r.type==="block-seq"?wO.resolveBlockSeq(e,t,r,i,o):kO.resolveFlowCollection(e,t,r,i,o),s=a.constructor;return n==="!"||n===s.tagName?(a.tag=s.tagName,a):(n&&(a.tag=n),a)}function $O(e,t,r,i,n){let o=i.tag,a=o?t.directives.tagName(o.source,d=>n(o,"TAG_RESOLVE_FAILED",d)):null;if(r.type==="block-seq"){let{anchor:d,newlineAfterProp:m}=i,h=d&&o?d.offset>o.offset?d:o:d??o;h&&(!m||m.offset<h.offset)&&n(h,"MISSING_CHAR","Missing newline after block sequence props")}let s=r.type==="block-map"?"map":r.type==="block-seq"?"seq":r.start.source==="{"?"map":"seq";if(!o||!a||a==="!"||a===yO.YAMLMap.tagName&&s==="map"||a===bO.YAMLSeq.tagName&&s==="seq")return Mh(e,t,r,n,a);let l=t.schema.tags.find(d=>d.tag===a&&d.collection===s);if(!l){let d=t.schema.knownTags[a];if(d?.collection===s)t.schema.tags.push(Object.assign({},d,{default:!1})),l=d;else return d?n(o,"BAD_COLLECTION_TYPE",`${d.tag} used for ${s} collection, but expects ${d.collection??"scalar"}`,!0):n(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),Mh(e,t,r,n,a)}let u=Mh(e,t,r,n,a,l),c=l.resolve?.(u,d=>n(o,"TAG_RESOLVE_FAILED",d),t.options)??u,f=gO.isNode(c)?c:new vO.Scalar(c);return f.range=u.range,f.tag=a,l?.format&&(f.format=l.format),f}Qw.composeCollection=$O});var Uh=ae(t7=>{"use strict";var jh=ht();function SO(e,t,r){let i=t.offset,n=_O(t,e.options.strict,r);if(!n)return{value:"",type:null,comment:"",range:[i,i,i]};let o=n.mode===">"?jh.Scalar.BLOCK_FOLDED:jh.Scalar.BLOCK_LITERAL,a=t.source?IO(t.source):[],s=a.length;for(let v=a.length-1;v>=0;--v){let y=a[v][1];if(y===""||y==="\r")s=v;else break}if(s===0){let v=n.chomp==="+"&&a.length>0?`
72
+ `.repeat(Math.max(1,a.length-1)):"",y=i+n.length;return t.source&&(y+=t.source.length),{value:v,type:o,comment:n.comment,range:[i,y,y]}}let l=t.indent+n.indent,u=t.offset+n.length,c=0;for(let v=0;v<s;++v){let[y,b]=a[v];if(b===""||b==="\r")n.indent===0&&y.length>l&&(l=y.length);else{y.length<l&&r(u+y.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),n.indent===0&&(l=y.length),c=v,l===0&&!e.atRoot&&r(u,"BAD_INDENT","Block scalar values in collections must be indented");break}u+=y.length+b.length+1}for(let v=a.length-1;v>=s;--v)a[v][0].length>l&&(s=v+1);let f="",d="",m=!1;for(let v=0;v<c;++v)f+=a[v][0].slice(l)+`
73
+ `;for(let v=c;v<s;++v){let[y,b]=a[v];u+=y.length+b.length+1;let w=b[b.length-1]==="\r";if(w&&(b=b.slice(0,-1)),b&&y.length<l){let z=`Block scalar lines must not be less indented than their ${n.indent?"explicit indentation indicator":"first line"}`;r(u-b.length-(w?2:1),"BAD_INDENT",z),y=""}o===jh.Scalar.BLOCK_LITERAL?(f+=d+y.slice(l)+b,d=`
74
+ `):y.length>l||b[0]===" "?(d===" "?d=`
75
+ `:!m&&d===`
76
+ `&&(d=`
77
+
78
+ `),f+=d+y.slice(l)+b,d=`
79
+ `,m=!0):b===""?d===`
80
+ `?f+=`
81
+ `:d=`
82
+ `:(f+=d+b,d=" ",m=!1)}switch(n.chomp){case"-":break;case"+":for(let v=s;v<a.length;++v)f+=`
83
+ `+a[v][0].slice(l);f[f.length-1]!==`
84
+ `&&(f+=`
85
+ `);break;default:f+=`
86
+ `}let h=i+n.length+t.source.length;return{value:f,type:o,comment:n.comment,range:[i,h,h]}}function _O({offset:e,props:t},r,i){if(t[0].type!=="block-scalar-header")return i(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:n}=t[0],o=n[0],a=0,s="",l=-1;for(let d=1;d<n.length;++d){let m=n[d];if(!s&&(m==="-"||m==="+"))s=m;else{let h=Number(m);!a&&h?a=h:l===-1&&(l=e+d)}}l!==-1&&i(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${n}`);let u=!1,c="",f=n.length;for(let d=1;d<t.length;++d){let m=t[d];switch(m.type){case"space":u=!0;case"newline":f+=m.source.length;break;case"comment":r&&!u&&i(m,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),f+=m.source.length,c=m.source.substring(1);break;case"error":i(m,"UNEXPECTED_TOKEN",m.message),f+=m.source.length;break;default:{let h=`Unexpected token in block scalar header: ${m.type}`;i(m,"UNEXPECTED_TOKEN",h);let v=m.source;v&&typeof v=="string"&&(f+=v.length)}}}return{mode:o,indent:a,chomp:s,comment:c,length:f}}function IO(e){let t=e.split(/\n( *)/),r=t[0],i=r.match(/^( *)/),o=[i?.[1]?[i[1],r.slice(i[1].length)]:["",r]];for(let a=1;a<t.length;a+=2)o.push([t[a],t[a+1]]);return o}t7.resolveBlockScalar=SO});var Rh=ae(n7=>{"use strict";var qh=ht(),zO=$o();function AO(e,t,r){let{offset:i,type:n,source:o,end:a}=e,s,l,u=(d,m,h)=>r(i+d,m,h);switch(n){case"scalar":s=qh.Scalar.PLAIN,l=TO(o,u);break;case"single-quoted-scalar":s=qh.Scalar.QUOTE_SINGLE,l=CO(o,u);break;case"double-quoted-scalar":s=qh.Scalar.QUOTE_DOUBLE,l=DO(o,u);break;default:return r(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${n}`),{value:"",type:null,comment:"",range:[i,i+o.length,i+o.length]}}let c=i+o.length,f=zO.resolveEnd(a,c,t,r);return{value:l,type:s,comment:f.comment,range:[i,c,f.offset]}}function TO(e,t){let r="";switch(e[0]){case" ":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":{r=`block scalar indicator ${e[0]}`;break}case"@":case"`":{r=`reserved character ${e[0]}`;break}}return r&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),r7(e)}function CO(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),r7(e.slice(1,-1)).replace(/''/g,"'")}function r7(e){let t=/(.*?)\r?\n/sy,r=t.exec(e);if(!r)return e;let i,n;try{i=new RegExp("(?<![ ])[ ]+$"),n=new RegExp("^[ ]+|(?<![ ])[ ]+$","g")}catch{i=/[ \t]+$/,n=/^[ \t]+|[ \t]+$/g}let o=r[1].replace(i,""),a=" ",s=t.lastIndex;for(;r=t.exec(e);){let u=r[1].replace(n,"");u===""?a===`
87
+ `?o+=a:a=`
88
+ `:(o+=a+u,a=" "),s=t.lastIndex}let l=/[ \t]*(.*)/sy;return l.lastIndex=s,r=l.exec(e),o+a+(r?.[1]??"")}function DO(e,t){let r="";for(let i=1;i<e.length-1;++i){let n=e[i];if(!(n==="\r"&&e[i+1]===`
89
+ `))if(n===`
90
+ `){let{fold:o,offset:a}=NO(e,i);r+=o,i=a}else if(n==="\\"){let o=e[++i],a=EO[o];if(a)r+=a;else if(o===`
91
+ `)for(o=e[i+1];o===" "||o===" ";)o=e[++i+1];else if(o==="\r"&&e[i+1]===`
92
+ `)for(o=e[++i+1];o===" "||o===" ";)o=e[++i+1];else if(o==="x"||o==="u"||o==="U"){let s=o==="x"?2:o==="u"?4:8;r+=OO(e,i+1,s,t),i+=s}else{let s=e.substr(i-1,2);t(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${s}`),r+=s}}else if(n===" "||n===" "){let o=i,a=e[i+1];for(;a===" "||a===" ";)a=e[++i+1];a!==`
93
+ `&&!(a==="\r"&&e[i+2]===`
94
+ `)&&(r+=i>o?e.slice(o,i+1):n)}else r+=n}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),r}function NO(e,t){let r="",i=e[t+1];for(;(i===" "||i===" "||i===`
95
+ `||i==="\r")&&!(i==="\r"&&e[t+2]!==`
96
+ `);)i===`
97
+ `&&(r+=`
98
+ `),t+=1,i=e[t+1];return r||(r=" "),{fold:r,offset:t}}var EO={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
99
+ `,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function OO(e,t,r,i){let n=e.substr(t,r),a=n.length===r&&/^[0-9a-fA-F]+$/.test(n)?parseInt(n,16):NaN;try{return String.fromCodePoint(a)}catch{let s=e.substr(t-2,r+2);return i(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${s}`),s}}n7.resolveFlowScalar=AO});var a7=ae(o7=>{"use strict";var Ai=Ne(),i7=ht(),PO=Uh(),LO=Rh();function MO(e,t,r,i){let{value:n,type:o,comment:a,range:s}=t.type==="block-scalar"?PO.resolveBlockScalar(e,t,i):LO.resolveFlowScalar(t,e.options.strict,i),l=r?e.directives.tagName(r.source,f=>i(r,"TAG_RESOLVE_FAILED",f)):null,u;e.options.stringKeys&&e.atKey?u=e.schema[Ai.SCALAR]:l?u=jO(e.schema,n,l,r,i):t.type==="scalar"?u=UO(e,n,t,i):u=e.schema[Ai.SCALAR];let c;try{let f=u.resolve(n,d=>i(r??t,"TAG_RESOLVE_FAILED",d),e.options);c=Ai.isScalar(f)?f:new i7.Scalar(f)}catch(f){let d=f instanceof Error?f.message:String(f);i(r??t,"TAG_RESOLVE_FAILED",d),c=new i7.Scalar(n)}return c.range=s,c.source=n,o&&(c.type=o),l&&(c.tag=l),u.format&&(c.format=u.format),a&&(c.comment=a),c}function jO(e,t,r,i,n){if(r==="!")return e[Ai.SCALAR];let o=[];for(let s of e.tags)if(!s.collection&&s.tag===r)if(s.default&&s.test)o.push(s);else return s;for(let s of o)if(s.test?.test(t))return s;let a=e.knownTags[r];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(n(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,r!=="tag:yaml.org,2002:str"),e[Ai.SCALAR])}function UO({atKey:e,directives:t,schema:r},i,n,o){let a=r.tags.find(s=>(s.default===!0||e&&s.default==="key")&&s.test?.test(i))||r[Ai.SCALAR];if(r.compat){let s=r.compat.find(l=>l.default&&l.test?.test(i))??r[Ai.SCALAR];if(a.tag!==s.tag){let l=t.tagString(a.tag),u=t.tagString(s.tag),c=`Value may be parsed as either ${l} or ${u}`;o(n,"TAG_RESOLVE_FAILED",c,!0)}}return a}o7.composeScalar=MO});var l7=ae(s7=>{"use strict";function qO(e,t,r){if(t){r??(r=t.length);for(let i=r-1;i>=0;--i){let n=t[i];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++i];n?.type==="space";)e+=n.source.length,n=t[++i];break}}return e}s7.emptyScalarPosition=qO});var f7=ae(Bh=>{"use strict";var RO=Ja(),FO=Ne(),BO=e7(),u7=a7(),ZO=$o(),VO=l7(),HO={composeNode:c7,composeEmptyNode:Fh};function c7(e,t,r,i){let n=e.atKey,{spaceBefore:o,comment:a,anchor:s,tag:l}=r,u,c=!0;switch(t.type){case"alias":u=KO(e,t,i),(s||l)&&i(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=u7.composeScalar(e,t,l,i),s&&(u.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{u=BO.composeCollection(HO,e,t,r,i),s&&(u.anchor=s.source.substring(1))}catch(f){let d=f instanceof Error?f.message:String(f);i(t,"RESOURCE_EXHAUSTION",d)}break;default:{let f=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;i(t,"UNEXPECTED_TOKEN",f),c=!1}}return u??(u=Fh(e,t.offset,void 0,null,r,i)),s&&u.anchor===""&&i(s,"BAD_ALIAS","Anchor cannot be an empty string"),n&&e.options.stringKeys&&(!FO.isScalar(u)||typeof u.value!="string"||u.tag&&u.tag!=="tag:yaml.org,2002:str")&&i(l??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),o&&(u.spaceBefore=!0),a&&(t.type==="scalar"&&t.source===""?u.comment=a:u.commentBefore=a),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}function Fh(e,t,r,i,{spaceBefore:n,comment:o,anchor:a,tag:s,end:l},u){let c={type:"scalar",offset:VO.emptyScalarPosition(t,r,i),indent:-1,source:""},f=u7.composeScalar(e,c,s,u);return a&&(f.anchor=a.source.substring(1),f.anchor===""&&u(a,"BAD_ALIAS","Anchor cannot be an empty string")),n&&(f.spaceBefore=!0),o&&(f.comment=o,f.range[2]=l),f}function KO({options:e},{offset:t,source:r,end:i},n){let o=new RO.Alias(r.substring(1));o.source===""&&n(t,"BAD_ALIAS","Alias cannot be an empty string"),o.source.endsWith(":")&&n(t+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let a=t+r.length,s=ZO.resolveEnd(i,a,e.strict,n);return o.range=[t,a,s.offset],s.comment&&(o.comment=s.comment),o}Bh.composeEmptyNode=Fh;Bh.composeNode=c7});var p7=ae(d7=>{"use strict";var JO=cs(),m7=f7(),GO=$o(),WO=ps();function YO(e,t,{offset:r,start:i,value:n,end:o},a){let s=Object.assign({_directives:t},e),l=new JO.Document(void 0,s),u={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},c=WO.resolveProps(i,{indicator:"doc-start",next:n??o?.[0],offset:r,onError:a,parentIndent:0,startOnNewline:!0});c.found&&(l.directives.docStart=!0,n&&(n.type==="block-map"||n.type==="block-seq")&&!c.hasNewline&&a(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=n?m7.composeNode(u,n,c,a):m7.composeEmptyNode(u,c.end,i,null,c,a);let f=l.contents.range[2],d=GO.resolveEnd(o,f,!1,a);return d.comment&&(l.comment=d.comment),l.range=[r,f,d.offset],l}d7.composeDoc=YO});var Vh=ae(v7=>{"use strict";var XO=Ul("process"),QO=Cp(),eP=cs(),hs=ds(),h7=Ne(),tP=p7(),rP=$o();function gs(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];let{offset:t,source:r}=e;return[t,t+(typeof r=="string"?r.length:1)]}function g7(e){let t="",r=!1,i=!1;for(let n=0;n<e.length;++n){let o=e[n];switch(o[0]){case"#":t+=(t===""?"":i?`
100
+
101
+ `:`
102
+ `)+(o.substring(1)||" "),r=!0,i=!1;break;case"%":e[n+1]?.[0]!=="#"&&(n+=1),r=!1;break;default:r||(i=!0),r=!1}}return{comment:t,afterEmptyLine:i}}var Zh=class{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(r,i,n,o)=>{let a=gs(r);o?this.warnings.push(new hs.YAMLWarning(a,i,n)):this.errors.push(new hs.YAMLParseError(a,i,n))},this.directives=new QO.Directives({version:t.version||"1.2"}),this.options=t}decorate(t,r){let{comment:i,afterEmptyLine:n}=g7(this.prelude);if(i){let o=t.contents;if(r)t.comment=t.comment?`${t.comment}
103
+ ${i}`:i;else if(n||t.directives.docStart||!o)t.commentBefore=i;else if(h7.isCollection(o)&&!o.flow&&o.items.length>0){let a=o.items[0];h7.isPair(a)&&(a=a.key);let s=a.commentBefore;a.commentBefore=s?`${i}
104
+ ${s}`:i}else{let a=o.commentBefore;o.commentBefore=a?`${i}
105
+ ${a}`:i}}if(r){for(let o=0;o<this.errors.length;++o)t.errors.push(this.errors[o]);for(let o=0;o<this.warnings.length;++o)t.warnings.push(this.warnings[o])}else t.errors=this.errors,t.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:g7(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,r=!1,i=-1){for(let n of t)yield*this.next(n);yield*this.end(r,i)}*next(t){switch(XO.env.LOG_STREAM&&console.dir(t,{depth:null}),t.type){case"directive":this.directives.add(t.source,(r,i,n)=>{let o=gs(t);o[0]+=r,this.onError(o,"BAD_DIRECTIVE",i,n)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{let r=tP.composeDoc(this.options,this.directives,t,this.onError);this.atDirectives&&!r.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(r,!1),this.doc&&(yield this.doc),this.doc=r,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{let r=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,i=new hs.YAMLParseError(gs(t),"UNEXPECTED_TOKEN",r);this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i);break}case"doc-end":{if(!this.doc){let i="Unexpected doc-end without preceding document";this.errors.push(new hs.YAMLParseError(gs(t),"UNEXPECTED_TOKEN",i));break}this.doc.directives.docEnd=!0;let r=rP.resolveEnd(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),r.comment){let i=this.doc.comment;this.doc.comment=i?`${i}
106
+ ${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new hs.YAMLParseError(gs(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,r=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){let i=Object.assign({_directives:this.directives},this.options),n=new eP.Document(void 0,i);this.atDirectives&&this.onError(r,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,r,r],this.decorate(n,!1),yield n}}};v7.Composer=Zh});var x7=ae(Dc=>{"use strict";var nP=Uh(),iP=Rh(),oP=ds(),y7=Qa();function aP(e,t=!0,r){if(e){let i=(n,o,a)=>{let s=typeof n=="number"?n:Array.isArray(n)?n[0]:n.offset;if(r)r(s,o,a);else throw new oP.YAMLParseError([s,s+1],o,a)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return iP.resolveFlowScalar(e,t,i);case"block-scalar":return nP.resolveBlockScalar({options:{strict:t}},e,i)}}return null}function sP(e,t){let{implicitKey:r=!1,indent:i,inFlow:n=!1,offset:o=-1,type:a="PLAIN"}=t,s=y7.stringifyString({type:a,value:e},{implicitKey:r,indent:i>0?" ".repeat(i):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:i,source:`
107
+ `}];switch(s[0]){case"|":case">":{let u=s.indexOf(`
108
+ `),c=s.substring(0,u),f=s.substring(u+1)+`
109
+ `,d=[{type:"block-scalar-header",offset:o,indent:i,source:c}];return b7(d,l)||d.push({type:"newline",offset:-1,indent:i,source:`
110
+ `}),{type:"block-scalar",offset:o,indent:i,props:d,source:f}}case'"':return{type:"double-quoted-scalar",offset:o,indent:i,source:s,end:l};case"'":return{type:"single-quoted-scalar",offset:o,indent:i,source:s,end:l};default:return{type:"scalar",offset:o,indent:i,source:s,end:l}}}function lP(e,t,r={}){let{afterKey:i=!1,implicitKey:n=!1,inFlow:o=!1,type:a}=r,s="indent"in e?e.indent:null;if(i&&typeof s=="number"&&(s+=2),!a)switch(e.type){case"single-quoted-scalar":a="QUOTE_SINGLE";break;case"double-quoted-scalar":a="QUOTE_DOUBLE";break;case"block-scalar":{let u=e.props[0];if(u.type!=="block-scalar-header")throw new Error("Invalid block scalar header");a=u.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:a="PLAIN"}let l=y7.stringifyString({type:a,value:t},{implicitKey:n||s===null,indent:s!==null&&s>0?" ".repeat(s):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":uP(e,l);break;case'"':Hh(e,l,"double-quoted-scalar");break;case"'":Hh(e,l,"single-quoted-scalar");break;default:Hh(e,l,"scalar")}}function uP(e,t){let r=t.indexOf(`
111
+ `),i=t.substring(0,r),n=t.substring(r+1)+`
112
+ `;if(e.type==="block-scalar"){let o=e.props[0];if(o.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o.source=i,e.source=n}else{let{offset:o}=e,a="indent"in e?e.indent:-1,s=[{type:"block-scalar-header",offset:o,indent:a,source:i}];b7(s,"end"in e?e.end:void 0)||s.push({type:"newline",offset:-1,indent:a,source:`
113
+ `});for(let l of Object.keys(e))l!=="type"&&l!=="offset"&&delete e[l];Object.assign(e,{type:"block-scalar",indent:a,props:s,source:n})}}function b7(e,t){if(t)for(let r of t)switch(r.type){case"space":case"comment":e.push(r);break;case"newline":return e.push(r),!0}return!1}function Hh(e,t,r){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=r,e.source=t;break;case"block-scalar":{let i=e.props.slice(1),n=t.length;e.props[0].type==="block-scalar-header"&&(n-=e.props[0].source.length);for(let o of i)o.offset+=n;delete e.props,Object.assign(e,{type:r,source:t,end:i});break}case"block-map":case"block-seq":{let n={type:"newline",offset:e.offset+t.length,indent:e.indent,source:`
114
+ `};delete e.items,Object.assign(e,{type:r,source:t,end:[n]});break}default:{let i="indent"in e?e.indent:-1,n="end"in e&&Array.isArray(e.end)?e.end.filter(o=>o.type==="space"||o.type==="comment"||o.type==="newline"):[];for(let o of Object.keys(e))o!=="type"&&o!=="offset"&&delete e[o];Object.assign(e,{type:r,indent:i,source:t,end:n})}}}Dc.createScalarToken=sP;Dc.resolveAsScalar=aP;Dc.setScalarValue=lP});var k7=ae(w7=>{"use strict";var cP=e=>"type"in e?Ec(e):Nc(e);function Ec(e){switch(e.type){case"block-scalar":{let t="";for(let r of e.props)t+=Ec(r);return t+e.source}case"block-map":case"block-seq":{let t="";for(let r of e.items)t+=Nc(r);return t}case"flow-collection":{let t=e.start.source;for(let r of e.items)t+=Nc(r);for(let r of e.end)t+=r.source;return t}case"document":{let t=Nc(e);if(e.end)for(let r of e.end)t+=r.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let r of e.end)t+=r.source;return t}}}function Nc({start:e,key:t,sep:r,value:i}){let n="";for(let o of e)n+=o.source;if(t&&(n+=Ec(t)),r)for(let o of r)n+=o.source;return i&&(n+=Ec(i)),n}w7.stringify=cP});var I7=ae(_7=>{"use strict";var Kh=Symbol("break visit"),fP=Symbol("skip children"),$7=Symbol("remove item");function Ti(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),S7(Object.freeze([]),e,t)}Ti.BREAK=Kh;Ti.SKIP=fP;Ti.REMOVE=$7;Ti.itemAtPath=(e,t)=>{let r=e;for(let[i,n]of t){let o=r?.[i];if(o&&"items"in o)r=o.items[n];else return}return r};Ti.parentCollection=(e,t)=>{let r=Ti.itemAtPath(e,t.slice(0,-1)),i=t[t.length-1][0],n=r?.[i];if(n&&"items"in n)return n;throw new Error("Parent collection not found")};function S7(e,t,r){let i=r(t,e);if(typeof i=="symbol")return i;for(let n of["key","value"]){let o=t[n];if(o&&"items"in o){for(let a=0;a<o.items.length;++a){let s=S7(Object.freeze(e.concat([[n,a]])),o.items[a],r);if(typeof s=="number")a=s-1;else{if(s===Kh)return Kh;s===$7&&(o.items.splice(a,1),a-=1)}}typeof i=="function"&&n==="key"&&(i=i(t,e))}}return typeof i=="function"?i(t,e):i}_7.visit=Ti});var Oc=ae(tr=>{"use strict";var Jh=x7(),mP=k7(),dP=I7(),Gh="\uFEFF",Wh="",Yh="",Xh="",pP=e=>!!e&&"items"in e,hP=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function gP(e){switch(e){case Gh:return"<BOM>";case Wh:return"<DOC>";case Yh:return"<FLOW_END>";case Xh:return"<SCALAR>";default:return JSON.stringify(e)}}function vP(e){switch(e){case Gh:return"byte-order-mark";case Wh:return"doc-mode";case Yh:return"flow-error-end";case Xh:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
115
+ `:case`\r
116
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}tr.createScalarToken=Jh.createScalarToken;tr.resolveAsScalar=Jh.resolveAsScalar;tr.setScalarValue=Jh.setScalarValue;tr.stringify=mP.stringify;tr.visit=dP.visit;tr.BOM=Gh;tr.DOCUMENT=Wh;tr.FLOW_END=Yh;tr.SCALAR=Xh;tr.isCollection=pP;tr.isScalar=hP;tr.prettyToken=gP;tr.tokenType=vP});var tg=ae(A7=>{"use strict";var vs=Oc();function Cr(e){switch(e){case void 0:case" ":case`
117
+ `:case"\r":case" ":return!0;default:return!1}}var z7=new Set("0123456789ABCDEFabcdef"),yP=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Pc=new Set(",[]{}"),bP=new Set(` ,[]{}
118
+ \r `),Qh=e=>!e||bP.has(e),eg=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,r=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!r;let i=this.next??"stream";for(;i&&(r||this.hasChars(1));)i=yield*this.parseNext(i)}atLineEnd(){let t=this.pos,r=this.buffer[t];for(;r===" "||r===" ";)r=this.buffer[++t];return!r||r==="#"||r===`
119
+ `?!0:r==="\r"?this.buffer[t+1]===`
120
+ `:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let r=this.buffer[t];if(this.indentNext>0){let i=0;for(;r===" ";)r=this.buffer[++i+t];if(r==="\r"){let n=this.buffer[i+t+1];if(n===`
121
+ `||!n&&!this.atEnd)return t+i+1}return r===`
122
+ `||i>=this.indentNext||!r&&!this.atEnd?t+i:-1}if(r==="-"||r==="."){let i=this.buffer.substr(t,3);if((i==="---"||i==="...")&&Cr(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
123
+ `,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===vs.BOM&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let r=t.length,i=t.indexOf("#");for(;i!==-1;){let o=t[i-1];if(o===" "||o===" "){r=i-1;break}else i=t.indexOf("#",i+1)}for(;;){let o=t[r-1];if(o===" "||o===" ")r-=1;else break}let n=(yield*this.pushCount(r))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-n),this.pushNewline(),"stream"}if(this.atLineEnd()){let r=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-r),yield*this.pushNewline(),"stream"}return yield vs.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let r=this.peek(3);if((r==="---"||r==="...")&&Cr(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,r==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Cr(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[t,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Cr(r)){let i=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=i,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let t=this.getLine();if(t===null)return this.setNext("doc");let r=yield*this.pushIndicators();switch(t[r]){case"#":yield*this.pushCount(t.length-r);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Qh),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return r+=yield*this.parseBlockScalarHeader(),r+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-r),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,r,i=-1;do t=yield*this.pushNewline(),t>0?(r=yield*this.pushSpaces(!1),this.indentValue=i=r):r=0,r+=yield*this.pushSpaces(!0);while(t+r>0);let n=this.getLine();if(n===null)return this.setNext("flow");if((i!==-1&&i<this.indentNext&&n[0]!=="#"||i===0&&(n.startsWith("---")||n.startsWith("..."))&&Cr(n[3]))&&!(i===this.indentNext-1&&this.flowLevel===1&&(n[0]==="]"||n[0]==="}")))return this.flowLevel=0,yield vs.FLOW_END,yield*this.parseLineStart();let o=0;for(;n[o]===",";)o+=yield*this.pushCount(1),o+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(o+=yield*this.pushIndicators(),n[o]){case void 0:return"flow";case"#":return yield*this.pushCount(n.length-o),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Qh),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let a=this.charAt(1);if(this.flowKey||Cr(a)||a===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let t=this.charAt(0),r=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;r!==-1&&this.buffer[r+1]==="'";)r=this.buffer.indexOf("'",r+2);else for(;r!==-1;){let o=0;for(;this.buffer[r-1-o]==="\\";)o+=1;if(o%2===0)break;r=this.buffer.indexOf('"',r+1)}let i=this.buffer.substring(0,r),n=i.indexOf(`
124
+ `,this.pos);if(n!==-1){for(;n!==-1;){let o=this.continueScalar(n+1);if(o===-1)break;n=i.indexOf(`
125
+ `,o)}n!==-1&&(r=n-(i[n-1]==="\r"?2:1))}if(r===-1){if(!this.atEnd)return this.setNext("quoted-scalar");r=this.buffer.length}return yield*this.pushToIndex(r+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){let r=this.buffer[++t];if(r==="+")this.blockScalarKeep=!0;else if(r>"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if(r!=="-")break}return yield*this.pushUntil(r=>Cr(r)||r==="#")}*parseBlockScalar(){let t=this.pos-1,r=0,i;e:for(let o=this.pos;i=this.buffer[o];++o)switch(i){case" ":r+=1;break;case`
126
+ `:t=o,r=0;break;case"\r":{let a=this.buffer[o+1];if(!a&&!this.atEnd)return this.setNext("block-scalar");if(a===`
127
+ `)break}default:break e}if(!i&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=r:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let o=this.continueScalar(t+1);if(o===-1)break;t=this.buffer.indexOf(`
128
+ `,o)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let n=t+1;for(i=this.buffer[n];i===" ";)i=this.buffer[++n];if(i===" "){for(;i===" "||i===" "||i==="\r"||i===`
129
+ `;)i=this.buffer[++n];t=n-1}else if(!this.blockScalarKeep)do{let o=t-1,a=this.buffer[o];a==="\r"&&(a=this.buffer[--o]);let s=o;for(;a===" ";)a=this.buffer[--o];if(a===`
130
+ `&&o>=this.pos&&o+1+r>s)t=o;else break}while(!0);return yield vs.SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let t=this.flowLevel>0,r=this.pos-1,i=this.pos-1,n;for(;n=this.buffer[++i];)if(n===":"){let o=this.buffer[i+1];if(Cr(o)||t&&Pc.has(o))break;r=i}else if(Cr(n)){let o=this.buffer[i+1];if(n==="\r"&&(o===`
131
+ `?(i+=1,n=`
132
+ `,o=this.buffer[i+1]):r=i),o==="#"||t&&Pc.has(o))break;if(n===`
133
+ `){let a=this.continueScalar(i+1);if(a===-1)break;i=Math.max(i,a-2)}}else{if(t&&Pc.has(n))break;r=i}return!n&&!this.atEnd?this.setNext("plain-scalar"):(yield vs.SCALAR,yield*this.pushToIndex(r+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,r){let i=this.buffer.slice(this.pos,t);return i?(yield i,this.pos+=i.length,i.length):(r&&(yield""),0)}*pushIndicators(){let t=0;e:for(;;){switch(this.charAt(0)){case"!":t+=yield*this.pushTag(),t+=yield*this.pushSpaces(!0);continue e;case"&":t+=yield*this.pushUntil(Qh),t+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{let r=this.flowLevel>0,i=this.charAt(1);if(Cr(i)||r&&Pc.has(i)){r?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,t+=yield*this.pushCount(1),t+=yield*this.pushSpaces(!0);continue e}}}break e}return t}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,r=this.buffer[t];for(;!Cr(r)&&r!==">";)r=this.buffer[++t];return yield*this.pushToIndex(r===">"?t+1:t,!1)}else{let t=this.pos+1,r=this.buffer[t];for(;r;)if(yP.has(r))r=this.buffer[++t];else if(r==="%"&&z7.has(this.buffer[t+1])&&z7.has(this.buffer[t+2]))r=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){let t=this.buffer[this.pos];return t===`
134
+ `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
135
+ `?yield*this.pushCount(2):0}*pushSpaces(t){let r=this.pos-1,i;do i=this.buffer[++r];while(i===" "||t&&i===" ");let n=r-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=r),n}*pushUntil(t){let r=this.pos,i=this.buffer[r];for(;!t(i);)i=this.buffer[++r];return yield*this.pushToIndex(r,!1)}};A7.Lexer=eg});var ng=ae(T7=>{"use strict";var rg=class{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let r=0,i=this.lineStarts.length;for(;r<i;){let o=r+i>>1;this.lineStarts[o]<t?r=o+1:i=o}if(this.lineStarts[r]===t)return{line:r+1,col:1};if(r===0)return{line:0,col:t};let n=this.lineStarts[r-1];return{line:r,col:t-n+1}}}};T7.LineCounter=rg});var og=ae(O7=>{"use strict";var xP=Ul("process"),C7=Oc(),wP=tg();function qn(e,t){for(let r=0;r<e.length;++r)if(e[r].type===t)return!0;return!1}function D7(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function E7(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Lc(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function So(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function Mc(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let r=0;r<t.length;++r)e.push(t[r])}function N7(e){if(e.start.type==="flow-seq-start")for(let t of e.items)t.sep&&!t.value&&!qn(t.start,"explicit-key-ind")&&!qn(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,E7(t.value)?t.value.end?Mc(t.value.end,t.sep):t.value.end=t.sep:Mc(t.start,t.sep),delete t.sep)}var ig=class{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new wP.Lexer,this.onNewLine=t}*parse(t,r=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let i of this.lexer.lex(t,r))yield*this.next(i);r||(yield*this.end())}*next(t){if(this.source=t,xP.env.LOG_TOKENS&&console.log("|",C7.prettyToken(t)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}let r=C7.tokenType(t);if(r)if(r==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=r,yield*this.step(),r){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{let i=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:i,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let t=this.peek(1);if(this.type==="doc-end"&&t?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){let r=t??this.stack.pop();if(!r)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield r;else{let i=this.peek(1);switch(r.type==="block-scalar"?r.indent="indent"in i?i.indent:0:r.type==="flow-collection"&&i.type==="document"&&(r.indent=0),r.type==="flow-collection"&&N7(r),i.type){case"document":i.value=r;break;case"block-scalar":i.props.push(r);break;case"block-map":{let n=i.items[i.items.length-1];if(n.value){i.items.push({start:[],key:r,sep:[]}),this.onKeyLine=!0;return}else if(n.sep)n.value=r;else{Object.assign(n,{key:r,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case"block-seq":{let n=i.items[i.items.length-1];n.value?i.items.push({start:[],value:r}):n.value=r;break}case"flow-collection":{let n=i.items[i.items.length-1];!n||n.value?i.items.push({start:[],key:r,sep:[]}):n.sep?n.value=r:Object.assign(n,{key:r,sep:[]});return}default:yield*this.pop(),yield*this.pop(r)}if((i.type==="document"||i.type==="block-map"||i.type==="block-seq")&&(r.type==="block-map"||r.type==="block-seq")){let n=r.items[r.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&D7(n.start)===-1&&(r.indent===0||n.start.every(o=>o.type!=="comment"||o.indent<r.indent))&&(i.type==="document"?i.end=n.start:i.items.push({start:n.start}),r.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{D7(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}let r=this.startBlockValue(t);r?this.stack.push(r):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){let r=Lc(this.peek(2)),i=So(r),n;t.end?(n=t.end,n.push(this.sourceToken),delete t.end):n=[this.sourceToken];let o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let r=this.source.indexOf(`
136
+ `)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
137
+ `,r)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){let r=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,r.value){let i="end"in r.value?r.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)t.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else{if(this.atIndentedComment(r.start,t.indent)){let n=t.items[t.items.length-2]?.value?.end;if(Array.isArray(n)){Mc(n,r.start),n.push(this.sourceToken),t.items.pop();return}}r.start.push(this.sourceToken)}return}if(this.indent>=t.indent){let i=!this.onKeyLine&&this.indent===t.indent,n=i&&(r.sep||r.explicitKey)&&this.type!=="seq-item-ind",o=[];if(n&&r.sep&&!r.value){let a=[];for(let s=0;s<r.sep.length;++s){let l=r.sep[s];switch(l.type){case"newline":a.push(s);break;case"space":break;case"comment":l.indent>t.indent&&(a.length=0);break;default:a.length=0}}a.length>=2&&(o=r.sep.splice(a[1]))}switch(this.type){case"anchor":case"tag":n||r.value?(o.push(this.sourceToken),t.items.push({start:o}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"explicit-key-ind":!r.sep&&!r.explicitKey?(r.start.push(this.sourceToken),r.explicitKey=!0):n||r.value?(o.push(this.sourceToken),t.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(r.explicitKey)if(r.sep)if(r.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(qn(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(E7(r.key)&&!qn(r.sep,"newline")){let a=So(r.start),s=r.key,l=r.sep;l.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:s,sep:l}]})}else o.length>0?r.sep=r.sep.concat(o,this.sourceToken):r.sep.push(this.sourceToken);else if(qn(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{let a=So(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||n?t.items.push({start:o,key:null,sep:[this.sourceToken]}):qn(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let a=this.flowScalar(this.type);n||r.value?(t.items.push({start:o,key:a,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(a):(Object.assign(r,{key:a,sep:[]}),this.onKeyLine=!0);return}default:{let a=this.startBlockValue(t);if(a){if(a.type==="block-seq"){if(!r.explicitKey&&r.sep&&!qn(r.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else i&&t.items.push({start:o});this.stack.push(a);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){let r=t.items[t.items.length-1];switch(this.type){case"newline":if(r.value){let i="end"in r.value?r.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,t.indent)){let n=t.items[t.items.length-2]?.value?.end;if(Array.isArray(n)){Mc(n,r.start),n.push(this.sourceToken),t.items.pop();return}}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=t.indent)break;r.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;r.value||qn(r.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return}if(this.indent>t.indent){let i=this.startBlockValue(t);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){let r=t.items[t.items.length-1];if(this.type==="flow-error-end"){let i;do yield*this.pop(),i=this.peek(1);while(i?.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!r||r.sep?t.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return;case"map-value-ind":!r||r.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!r||r.value?t.items.push({start:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);!r||r.value?t.items.push({start:[],key:n,sep:[]}):r.sep?this.stack.push(n):Object.assign(r,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}let i=this.startBlockValue(t);i?this.stack.push(i):(yield*this.pop(),yield*this.step())}else{let i=this.peek(2);if(i.type==="block-map"&&(this.type==="map-value-ind"&&i.indent===t.indent||this.type==="newline"&&!i.items[i.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&i.type!=="flow-collection"){let n=Lc(i),o=So(n);N7(t);let a=t.end.splice(1,t.end.length);a.push(this.sourceToken);let s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:o,key:t,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let r=this.source.indexOf(`
138
+ `)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
139
+ `,r)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let r=Lc(t),i=So(r);return i.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let r=Lc(t),i=So(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,r){return this.type!=="comment"||this.indent<=r?!1:t.every(i=>i.type==="newline"||i.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};O7.Parser=ig});var U7=ae(bs=>{"use strict";var P7=Vh(),kP=cs(),ys=ds(),$P=Bp(),SP=Ne(),_P=ng(),L7=og();function M7(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new _P.LineCounter||null,prettyErrors:t}}function IP(e,t={}){let{lineCounter:r,prettyErrors:i}=M7(t),n=new L7.Parser(r?.addNewLine),o=new P7.Composer(t),a=Array.from(o.compose(n.parse(e)));if(i&&r)for(let s of a)s.errors.forEach(ys.prettifyError(e,r)),s.warnings.forEach(ys.prettifyError(e,r));return a.length>0?a:Object.assign([],{empty:!0},o.streamInfo())}function j7(e,t={}){let{lineCounter:r,prettyErrors:i}=M7(t),n=new L7.Parser(r?.addNewLine),o=new P7.Composer(t),a=null;for(let s of o.compose(n.parse(e),!0,e.length))if(!a)a=s;else if(a.options.logLevel!=="silent"){a.errors.push(new ys.YAMLParseError(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return i&&r&&(a.errors.forEach(ys.prettifyError(e,r)),a.warnings.forEach(ys.prettifyError(e,r))),a}function zP(e,t,r){let i;typeof t=="function"?i=t:r===void 0&&t&&typeof t=="object"&&(r=t);let n=j7(e,r);if(!n)return null;if(n.warnings.forEach(o=>$P.warn(n.options.logLevel,o)),n.errors.length>0){if(n.options.logLevel!=="silent")throw n.errors[0];n.errors=[]}return n.toJS(Object.assign({reviver:i},r))}function AP(e,t,r){let i=null;if(typeof t=="function"||Array.isArray(t)?i=t:r===void 0&&t&&(r=t),typeof r=="string"&&(r=r.length),typeof r=="number"){let n=Math.round(r);r=n<1?void 0:n>8?{indent:8}:{indent:n}}if(e===void 0){let{keepUndefined:n}=r??t??{};if(!n)return}return SP.isDocument(e)&&!i?e.toString(r):new kP.Document(e,i,r).toString(r)}bs.parse=zP;bs.parseAllDocuments=IP;bs.parseDocument=j7;bs.stringify=AP});var R7=ae(Ue=>{"use strict";var TP=Vh(),CP=cs(),DP=_h(),ag=ds(),NP=Ja(),Rn=Ne(),EP=Ln(),OP=ht(),PP=jn(),LP=Un(),MP=Oc(),jP=tg(),UP=ng(),qP=og(),jc=U7(),q7=Za();Ue.Composer=TP.Composer;Ue.Document=CP.Document;Ue.Schema=DP.Schema;Ue.YAMLError=ag.YAMLError;Ue.YAMLParseError=ag.YAMLParseError;Ue.YAMLWarning=ag.YAMLWarning;Ue.Alias=NP.Alias;Ue.isAlias=Rn.isAlias;Ue.isCollection=Rn.isCollection;Ue.isDocument=Rn.isDocument;Ue.isMap=Rn.isMap;Ue.isNode=Rn.isNode;Ue.isPair=Rn.isPair;Ue.isScalar=Rn.isScalar;Ue.isSeq=Rn.isSeq;Ue.Pair=EP.Pair;Ue.Scalar=OP.Scalar;Ue.YAMLMap=PP.YAMLMap;Ue.YAMLSeq=LP.YAMLSeq;Ue.CST=MP;Ue.Lexer=jP.Lexer;Ue.LineCounter=UP.LineCounter;Ue.Parser=qP.Parser;Ue.parse=jc.parse;Ue.parseAllDocuments=jc.parseAllDocuments;Ue.parseDocument=jc.parseDocument;Ue.stringify=jc.stringify;Ue.visit=q7.visit;Ue.visitAsync=q7.visitAsync});import{readFileSync as El,writeFileSync as R6,existsSync as xa,mkdirSync as Z_,watch as iB}from"node:fs";import{createServer as E_}from"node:http";import{homedir as oB}from"node:os";import{join as wa,basename as L6,dirname as F6}from"node:path";import{fileURLToPath as aB}from"node:url";import{spawn as sB}from"node:child_process";function zm(e){if(e)throw e}var Bl=Im(Q6(),1);function Ia(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Am(){let e=[],t={run:r,use:i};return t;function r(...n){let o=-1,a=n.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);s(null,...n);function s(l,...u){let c=e[++o],f=-1;if(l){a(l);return}for(;++f<n.length;)(u[f]===null||u[f]===void 0)&&(u[f]=n[f]);n=u,c?e2(c,s)(...u):a(null,...u)}}function i(n){if(typeof n!="function")throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function e2(e,t){let r;return i;function i(...a){let s=e.length>a.length,l;s&&a.push(n);try{l=e.apply(this,a)}catch(u){let c=u;if(s&&r)throw c;return n(c)}s||(l&&l.then&&typeof l.then=="function"?l.then(o,n):l instanceof Error?n(l):o(l))}function n(a,...s){r||(r=!0,t(a,...s))}function o(a){n(null,a)}}function _n(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?t2(e.position):"start"in e||"end"in e?t2(e):"line"in e||"column"in e?Tm(e):""}function Tm(e){return r2(e&&e.line)+":"+r2(e&&e.column)}function t2(e){return Tm(e&&e.start)+"-"+Tm(e&&e.end)}function r2(e){return e&&typeof e=="number"?e:1}var eo=class extends Error{constructor(t,r,i){super(),typeof r=="string"&&(i=r,r=void 0);let n="",o={},a=!1;if(r&&("line"in r&&"column"in r?o={place:r}:"start"in r&&"end"in r?o={place:r}:"type"in r?o={ancestors:[r],place:r.position}:o={...r}),typeof t=="string"?n=t:!o.cause&&t&&(a=!0,n=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=n,this.line=s?s.line:void 0,this.name=_n(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Object.defineProperties(eo.prototype,{file:{configurable:!0,enumerable:!0,value:"",writable:!0},name:{configurable:!0,enumerable:!0,value:"",writable:!0},reason:{configurable:!0,enumerable:!0,value:"",writable:!0},message:{configurable:!0,enumerable:!0,value:"",writable:!0},stack:{configurable:!0,enumerable:!0,value:"",writable:!0},column:{configurable:!0,enumerable:!0,writable:!0},line:{configurable:!0,enumerable:!0,writable:!0},ancestors:{configurable:!0,enumerable:!0,writable:!0},cause:{configurable:!0,enumerable:!0,writable:!0},fatal:{configurable:!0,enumerable:!0,writable:!0},place:{configurable:!0,enumerable:!0,writable:!0},ruleId:{configurable:!0,enumerable:!0,writable:!0},source:{configurable:!0,enumerable:!0,writable:!0}});import{default as Ar}from"node:path";import{default as n2}from"node:process";import{fileURLToPath as i2}from"node:url";function Rl(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}var Cm=["history","path","basename","stem","extname","dirname"],za=class{constructor(t){let r;t?Rl(t)?r={path:t}:typeof t=="string"||Q_(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":n2.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<Cm.length;){let o=Cm[i];o in r&&r[o]!==void 0&&r[o]!==null&&(this[o]=o==="history"?[...r[o]]:r[o])}let n;for(n in r)Cm.includes(n)||(this[n]=r[n])}get basename(){return typeof this.path=="string"?Ar.basename(this.path):void 0}set basename(t){Nm(t,"basename"),Dm(t,"basename"),this.path=Ar.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ar.dirname(this.path):void 0}set dirname(t){o2(this.basename,"dirname"),this.path=Ar.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ar.extname(this.path):void 0}set extname(t){if(Dm(t,"extname"),o2(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ar.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Rl(t)&&(t=i2(t)),Nm(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ar.basename(this.path,this.extname):void 0}set stem(t){Nm(t,"stem"),Dm(t,"stem"),this.path=Ar.join(this.dirname||"",t+(this.extname||""))}fail(t,r,i){let n=this.message(t,r,i);throw n.fatal=!0,n}info(t,r,i){let n=this.message(t,r,i);return n.fatal=void 0,n}message(t,r,i){let n=new eo(t,r,i);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}};function Dm(e,t){if(e&&e.includes(Ar.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ar.sep+"`")}function Nm(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function o2(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Q_(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var a2=(function(e){let i=this.constructor.prototype,n=i[e],o=function(){return n.apply(o,arguments)};return Object.setPrototypeOf(o,i),o});var eI={}.hasOwnProperty,Lm=class e extends a2{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Am()}copy(){let t=new e,r=-1;for(;++r<this.attachers.length;){let i=this.attachers[r];t.use(...i)}return t.data((0,Bl.default)(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Pm("data",this.frozen),this.namespace[t]=r,this):eI.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Pm("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);let n=r.call(t,...i);typeof n=="function"&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let r=Fl(t),i=this.parser||this.Parser;return Em("parse",i),i(String(r),r)}process(t,r){let i=this;return this.freeze(),Em("process",this.parser||this.Parser),Om("process",this.compiler||this.Compiler),r?n(void 0,r):new Promise(n);function n(o,a){let s=Fl(t),l=i.parse(s);i.run(l,s,function(c,f,d){if(c||!f||!d)return u(c);let m=f,h=i.stringify(m,d);rI(h)?d.value=h:d.result=h,u(c,d)});function u(c,f){c||!f?a(c):o?o(f):r(void 0,f)}}}processSync(t){let r=!1,i;return this.freeze(),Em("processSync",this.parser||this.Parser),Om("processSync",this.compiler||this.Compiler),this.process(t,n),l2("processSync","process",r),i;function n(o,a){r=!0,zm(o),i=a}}run(t,r,i){s2(t),this.freeze();let n=this.transformers;return!i&&typeof r=="function"&&(i=r,r=void 0),i?o(void 0,i):new Promise(o);function o(a,s){let l=Fl(r);n.run(t,l,u);function u(c,f,d){let m=f||t;c?s(c):a?a(m):i(void 0,m,d)}}}runSync(t,r){let i=!1,n;return this.run(t,r,o),l2("runSync","run",i),n;function o(a,s){zm(a),n=s,i=!0}}stringify(t,r){this.freeze();let i=Fl(r),n=this.compiler||this.Compiler;return Om("stringify",n),s2(t),n(t,i)}use(t,...r){let i=this.attachers,n=this.namespace;if(Pm("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?s(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){let[c,...f]=u;l(c,f)}else a(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function a(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(u.plugins),u.settings&&(n.settings=(0,Bl.default)(!0,n.settings,u.settings))}function s(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){let f=u[c];o(f)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,c){let f=-1,d=-1;for(;++f<i.length;)if(i[f][0]===u){d=f;break}if(d===-1)i.push([u,...c]);else if(c.length>0){let[m,...h]=c,v=i[d][1];Ia(v)&&Ia(m)&&(m=(0,Bl.default)(!0,v,m)),i[d]=[u,m,...h]}}}},Mm=new Lm().freeze();function Em(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Om(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Pm(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function s2(e){if(!Ia(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function l2(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Fl(e){return tI(e)?e:new za(e)}function tI(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function rI(e){return typeof e=="string"||nI(e)}function nI(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var iI={};function Xt(e,t){let r=t||iI,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return c2(e,i,n)}function c2(e,t,r){if(oI(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return u2(e.children,t,r)}return Array.isArray(e)?u2(e,t,r):""}function u2(e,t,r){let i=[],n=-1;for(;++n<e.length;)i[n]=c2(e[n],t,r);return i.join("")}function oI(e){return!!(e&&typeof e=="object")}var jm={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
140
+ `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var aI={}.hasOwnProperty;function tn(e){return aI.call(jm,e)?jm[e]:!1}function St(e,t,r,i){let n=e.length,o=0,a;if(t<0?t=-t>n?0:n+t:t=t>n?n:t,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(t,r),e.splice(...a);else for(r&&e.splice(t,r);o<i.length;)a=i.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function qt(e,t){return e.length>0?(St(e,e.length,0,t),e):t}var f2={}.hasOwnProperty;function Zl(e){let t={},r=-1;for(;++r<e.length;)sI(t,e[r]);return t}function sI(e,t){let r;for(r in t){let n=(f2.call(e,r)?e[r]:void 0)||(e[r]={}),o=t[r],a;if(o)for(a in o){f2.call(n,a)||(n[a]=[]);let s=o[a];lI(n[a],Array.isArray(s)?s:s?[s]:[])}}}function lI(e,t){let r=-1,i=[];for(;++r<t.length;)(t[r].add==="after"?e:i).push(t[r]);St(e,0,0,i)}function Vl(e,t){let r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}function Nt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var We=In(/[A-Za-z]/),Ye=In(/[\dA-Za-z]/),m2=In(/[#-'*+\--9=?A-Z^-~]/);function mi(e){return e!==null&&(e<32||e===127)}var Aa=In(/\d/),d2=In(/[\dA-Fa-f]/),Hl=In(/[!-/:-@[-`{-~]/);function H(e){return e!==null&&e<-2}function $e(e){return e!==null&&(e<0||e===32)}function me(e){return e===-2||e===-1||e===32}var Et=In(new RegExp("\\p{P}|\\p{S}","u")),_t=In(/\s/);function In(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function gr(e){let t=[],r=-1,i=0,n=0;for(;++r<e.length;){let o=e.charCodeAt(r),a="";if(o===37&&Ye(e.charCodeAt(r+1))&&Ye(e.charCodeAt(r+2)))n=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let s=e.charCodeAt(r+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),n=1):a="\uFFFD"}else a=String.fromCharCode(o);a&&(t.push(e.slice(i,r),encodeURIComponent(a)),i=r+n+1,a=""),n&&(r+=n,n=0)}return t.join("")+e.slice(i)}function ce(e,t,r,i){let n=i?i-1:1/0,o=0;return a;function a(l){return me(l)?(e.enter(r),s(l)):t(l)}function s(l){return me(l)&&o++<n?(e.consume(l),s):(e.exit(r),t(l))}}function Um(e,t,r,i,n,o){let a=0;return s;function s(c){return o>0&&me(c)?(e.enter(i),l(c)):u(c)}function l(c){return me(c)&&a<o?(e.consume(c),a++,l):(e.exit(i),u(c))}function u(c){return a>=n?t(c):r(c)}}var p2={tokenize:uI};function uI(e){let t=e.attempt(this.parser.constructs.contentInitial,i,n),r;return t;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ce(e,t,"linePrefix")}function n(s){return e.enter("paragraph"),o(s)}function o(s){let l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,a(s)}function a(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return H(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),a)}}var rn=class{constructor(){this.index=new Map,this.map=[]}add(t,r,i){h2(this,t,r,i,!1)}addBefore(t,r,i){h2(this,t,r,i,!0)}consume(t){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let r=this.map.length,i=[];for(;r>0;)r-=1,i.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];i.push(t.slice()),t.length=0;let n=i.pop();for(;n;){for(let o of n)t.push(o);n=i.pop()}this.map.length=0,this.index.clear()}};function h2(e,t,r,i,n){if(r===0&&i.length===0)return;let o=e.index.get(t);if(o){o[1]+=r,n?(i.push(...o[2]),o[2]=i):o[2].push(...i);return}let a=[t,r,i];e.map.push(a),e.index.set(t,a)}var v2={tokenize:cI},g2={tokenize:fI};function cI(e){let t=this,r=[],i=0,n,o,a;return s;function s($){if(i<r.length){let z=r[i];return t.containerState=z[1],e.attempt(z[0].continuation,l,u)($)}return u($)}function l($){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&w();let z=t.events.length,M=z,S;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){S=t.events[M][1].end;break}b(i);let C=z;for(;C<t.events.length;)t.events[C][1].end={...S},C++;let D=new rn;return D.add(M+1,0,t.events.slice(z)),D.add(z,C-z,[]),D.consume(t.events),u($)}return s($)}function u($){if(i===r.length){if(!n)return d($);if(n.currentConstruct&&n.currentConstruct.concrete)return h($);t.interrupt=!!(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(g2,c,f)($)}function c($){return n&&w(),b(i),d($)}function f($){return t.parser.lazy[t.now().line]=i!==r.length,a=t.now().offset,h($)}function d($){return t.containerState={},e.attempt(g2,m,h)($)}function m($){return i++,r.push([t.currentConstruct,t.containerState]),d($)}function h($){if($===null){n&&w(),b(0),e.consume($);return}return n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:n,contentType:"flow",previous:o}),v($)}function v($){if($===null){y(e.exit("chunkFlow"),!0),b(0),e.consume($);return}return H($)?(e.consume($),y(e.exit("chunkFlow")),i=0,t.interrupt=void 0,s):(e.consume($),v)}function y($,z){let M=t.sliceStream($);if(z&&M.push(null),$.previous=o,o&&(o.next=$),o=$,n.defineSkip($.start),n.write(M),t.parser.lazy[$.start.line]){let S=n.events.length;for(;S--;)if(n.events[S][1].start.offset<a&&(!n.events[S][1].end||n.events[S][1].end.offset>a))return;let C=t.events.length,D=C,j,E;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){if(j){E=t.events[D][1].end;break}j=!0}for(b(i),S=C;S<t.events.length;)t.events[S][1].end={...E},S++;let ne=new rn;ne.add(D+1,0,t.events.slice(C)),ne.add(C,S-C,[]),ne.consume(t.events)}}function b($){let z=r.length;for(;z-- >$;){let M=r[z];t.containerState=M[1],M[0].exit.call(t,e)}r.length=$}function w(){n.write([null]),o=void 0,n=void 0,t.containerState._closeFlow=void 0}}function fI(e,t,r){return ce(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function vr(e){if(e===null||$e(e)||_t(e))return 1;if(Et(e))return 2}function zn(e,t,r){let i=[],n=-1;for(;++n<e.length;){let o=e[n].resolveAll;o&&!i.includes(o)&&(t=o(t,r),i.push(o))}return t}var Ta={name:"attention",resolveAll:mI,tokenize:dI};function mI(e,t){let r=-1,i;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){let n=r;for(;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;let o=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1,a={...e[n][1].end},s={...e[r][1].start};y2(a,-o),y2(s,o);let l={type:o>1?"strongSequence":"emphasisSequence",start:a,end:{...e[n][1].end}},u={type:o>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:s},c={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},f={type:o>1?"strong":"emphasis",start:{...l.start},end:{...u.end}};e[n][1].end={...l.start},e[r][1].start={...u.end},i=[],e[n][1].end.offset-e[n][1].start.offset&&(i=qt(i,[["enter",e[n][1],t],["exit",e[n][1],t]])),i=qt(i,[["enter",f,t],["enter",l,t],["exit",l,t],["enter",c,t]]),i=qt(i,zn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),i=qt(i,[["exit",c,t],["enter",u,t],["exit",u,t],["exit",f,t]]);let d=0;e[r][1].end.offset-e[r][1].start.offset&&(d=2,i=qt(i,[["enter",e[r][1],t],["exit",e[r][1],t]])),St(e,n-1,r-n+3,i),r=n+i.length-d-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function dI(e,t){let r=this.parser.constructs.attentionMarkers.null,i=this.previous,n=vr(i),o;return a;function a(l){return o=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===o)return e.consume(l),s;let u=e.exit("attentionSequence"),c=vr(l),f=!c||c===2&&n||r.includes(l)&&l!==42&&l!==95,d=!n||n===2&&c||r.includes(i)&&i!==42&&i!==95;return u._open=!!(o===42?f:f&&(n||!d)),u._close=!!(o===42?d:d&&(c||!f)),t(l)}}function y2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var qm={name:"autolink",tokenize:pI};function pI(e,t,r){let i=0;return n;function n(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(m){return We(m)?(e.consume(m),a):m===64?r(m):u(m)}function a(m){return m===43||m===45||m===46||Ye(m)?(i=1,s(m)):u(m)}function s(m){return m===58?(e.consume(m),i=0,l):(m===43||m===45||m===46||Ye(m))&&i++<32?(e.consume(m),s):(i=0,u(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||mi(m)?r(m):(e.consume(m),l)}function u(m){return m===64?(e.consume(m),c):m2(m)?(e.consume(m),u):r(m)}function c(m){return Ye(m)?f(m):r(m)}function f(m){return m===46?(e.consume(m),i=0,c):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):d(m)}function d(m){if((m===45||Ye(m))&&i++<63){let h=m===45?d:f;return e.consume(m),h}return r(m)}}var Lr={partial:!0,tokenize:hI};function hI(e,t,r){return i;function i(o){return me(o)?ce(e,n,"linePrefix")(o):n(o)}function n(o){return o===null||H(o)?t(o):r(o)}}var Kl={continuation:{tokenize:vI},exit:yI,name:"blockQuote",tokenize:gI};function gI(e,t,r){let i=this;return n;function n(a){if(a===62){let s=i.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return r(a)}function o(a){return me(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function vI(e,t,r){let i=this;return n;function n(a){return me(a)?ce(e,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return e.attempt(Kl,t,r)(a)}}function yI(e){e.exit("blockQuote")}var Jl={name:"characterEscape",tokenize:bI};function bI(e,t,r){return i;function i(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),n}function n(o){return Hl(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(o)}}var Gl={name:"characterReference",tokenize:xI};function xI(e,t,r){let i=this,n=0,o,a;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,a=Ye,c(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=d2,c):(e.enter("characterReferenceValue"),o=7,a=Aa,c(f))}function c(f){if(f===59&&n){let d=e.exit("characterReferenceValue");return a===Ye&&!tn(i.sliceSerialize(d))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&n++<o?(e.consume(f),c):r(f)}}var Ca={partial:!0,tokenize:wI};function wI(e,t,r){let i=this;return n;function n(a){return a===null?r(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?r(a):t(a)}}var Wl={concrete:!0,name:"codeFenced",tokenize:kI};function kI(e,t,r){let i=this,n={partial:!0,tokenize:M},o=0,a=0,s;return l;function l(S){return u(S)}function u(S){let C=i.events[i.events.length-1];return o=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,s=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(S)}function c(S){return S===s?(a++,e.consume(S),c):a<3?r(S):(e.exit("codeFencedFenceSequence"),me(S)?ce(e,f,"whitespace")(S):f(S))}function f(S){return S===null||H(S)?(e.exit("codeFencedFence"),i.interrupt?t(S):e.check(Ca,v,z)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(S))}function d(S){return S===null||H(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):me(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ce(e,m,"whitespace")(S)):S===96&&S===s?r(S):(e.consume(S),d)}function m(S){return S===null||H(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(S))}function h(S){return S===null||H(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===s?r(S):(e.consume(S),h)}function v(S){return e.attempt(n,z,y)(S)}function y(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),b}function b(S){return o>0&&me(S)?ce(e,w,"linePrefix",o+1)(S):w(S)}function w(S){return S===null||H(S)?e.check(Ca,v,z)(S):(e.enter("codeFlowValue"),$(S))}function $(S){return S===null||H(S)?(e.exit("codeFlowValue"),w(S)):(e.consume(S),$)}function z(S){return e.exit("codeFenced"),t(S)}function M(S,C,D){let j=0;return E;function E(O){return S.enter("lineEnding"),S.consume(O),S.exit("lineEnding"),ne}function ne(O){return S.enter("codeFencedFence"),me(O)?ce(S,W,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):W(O)}function W(O){return O===s?(S.enter("codeFencedFenceSequence"),Z(O)):D(O)}function Z(O){return O===s?(j++,S.consume(O),Z):j>=a?(S.exit("codeFencedFenceSequence"),me(O)?ce(S,fe,"whitespace")(O):fe(O)):D(O)}function fe(O){return O===null||H(O)?(S.exit("codeFencedFence"),C(O)):D(O)}}}var Da={name:"codeIndented",tokenize:SI},$I={partial:!0,tokenize:_I};function SI(e,t,r){return i;function i(s){return e.enter("codeIndented"),Um(e,n,r,"linePrefix",4,4)(s)}function n(s){return s===null?a(s):H(s)?e.attempt($I,n,a)(s):(e.enter("codeFlowValue"),o(s))}function o(s){return s===null||H(s)?(e.exit("codeFlowValue"),n(s)):(e.consume(s),o)}function a(s){return e.exit("codeIndented"),t(s)}}function _I(e,t,r){let i=this;return n;function n(a){return i.parser.lazy[i.now().line]?r(a):H(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n):Um(e,t,o,"linePrefix",4,4)(a)}function o(a){return H(a)?n(a):r(a)}}var Rm={name:"codeText",previous:zI,resolve:II,tokenize:AI};function II(e){let t=e.length-4,r=3,i,n;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=r;++i<t;)if(e[i][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(i=r-1,t++;++i<=t;)n===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(n=i):(i===t||e[i][1].type==="lineEnding")&&(e[n][1].type="codeTextData",i!==n+2&&(e[n][1].end=e[i-1][1].end,e.splice(n+2,i-n-2),t-=i-n-2,i=n+2),n=void 0);return e}function zI(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function AI(e,t,r){let i=this,n=0,o,a;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),l(d)}function l(d){return d===96?(e.consume(d),n++,l):(e.exit("codeTextSequence"),u(d))}function u(d){return d===null?r(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),u):d===96?(a=e.enter("codeTextSequence"),o=0,f(d)):H(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||H(d)?(e.exit("codeTextData"),u(d)):(e.consume(d),c)}function f(d){return d===96?(e.consume(d),o++,f):o===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(a.type="codeTextData",c(d))}}var Yl=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){let i=r??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(t,i):t>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(t,r,i){let n=r||0;this.setCursor(Math.trunc(t));let o=this.right.splice(this.right.length-n,Number.POSITIVE_INFINITY);return i&&Na(this.left,i),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Na(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Na(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let r=this.left.splice(t,Number.POSITIVE_INFINITY);Na(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Na(this.left,r.reverse())}}};function Na(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function Xl(e){let t={},r=-1,i,n,o,a,s,l,u,c=new Yl(e);for(;++r<c.length;){for(;r in t;)r=t[r];if(i=c.get(r),r&&i[1].type==="chunkFlow"&&c.get(r-1)[1].type==="listItemPrefix"&&(l=i[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(i[0]==="enter")i[1].contentType&&(Object.assign(t,TI(c,r)),r=t[r],u=!0);else if(i[1]._container){for(o=r,n=void 0;o--;)if(a=c.get(o),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(n&&(c.get(n)[1].type="lineEndingBlank"),a[1].type="lineEnding",n=o);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;n&&(i[1].end={...c.get(n)[1].start},s=c.slice(n,r),s.unshift(i),c.splice(n,r-n+1,s))}}return St(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function TI(e,t){let r=e.get(t)[1],i=e.get(t)[2],n=t-1,o=[],a=r._tokenizer;a||(a=i.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let s=a.events,l=[],u={},c,f,d=-1,m=r,h=0,v=0,y=[v];for(;m;){for(;e.get(++n)[1]!==m;);o.push(n),m._tokenizer||(c=i.sliceStream(m),m.next||c.push(null),f&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=r;++d<s.length;)s[d][0]==="exit"&&s[d-1][0]==="enter"&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(v=d+1,y.push(v),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):y.pop(),d=y.length;d--;){let b=s.slice(y[d],y[d+1]),w=o.pop();l.push([w,w+b.length-1]),e.splice(w,2,b)}for(l.reverse(),d=-1;++d<l.length;)u[h+l[d][0]]=h+l[d][1],h+=l[d][1]-l[d][0]-1;return u}var Fm={resolve:DI,tokenize:NI},CI={partial:!0,tokenize:EI};function DI(e){return Xl(e),e}function NI(e,t){let r;return i;function i(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(s)}function n(s){return s===null?o(s):H(s)?e.check(CI,a,o)(s):(e.consume(s),n)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function a(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}}function EI(e,t,r){let i=this;return n;function n(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ce(e,o,"linePrefix")}function o(a){if(a===null||H(a))return r(a);let s=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):e.interrupt(i.parser.constructs.flow,r,t)(a)}}function Ql(e,t,r,i,n,o,a,s,l){let u=l||Number.POSITIVE_INFINITY,c=0;return f;function f(b){return b===60?(e.enter(i),e.enter(n),e.enter(o),e.consume(b),e.exit(o),d):b===null||b===32||b===41||mi(b)?r(b):(e.enter(i),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),v(b))}function d(b){return b===62?(e.enter(o),e.consume(b),e.exit(o),e.exit(n),e.exit(i),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(b))}function m(b){return b===62?(e.exit("chunkString"),e.exit(s),d(b)):b===null||b===60||H(b)?r(b):(e.consume(b),b===92?h:m)}function h(b){return b===60||b===62||b===92?(e.consume(b),m):m(b)}function v(b){return!c&&(b===null||b===41||$e(b))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(i),t(b)):c<u&&b===40?(e.consume(b),c++,v):b===41?(e.consume(b),c--,v):b===null||b===32||b===40||mi(b)?r(b):(e.consume(b),b===92?y:v)}function y(b){return b===40||b===41||b===92?(e.consume(b),v):v(b)}}function eu(e,t,r,i,n,o){let a=this,s=0,l;return u;function u(m){return e.enter(i),e.enter(n),e.consume(m),e.exit(n),e.enter(o),c}function c(m){return s>999||m===null||m===91||m===93&&!l||m===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?r(m):m===93?(e.exit(o),e.enter(n),e.consume(m),e.exit(n),e.exit(i),t):H(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||H(m)||s++>999?(e.exit("chunkString"),c(m)):(e.consume(m),l||(l=!me(m)),m===92?d:f)}function d(m){return m===91||m===92||m===93?(e.consume(m),s++,f):f(m)}}function tu(e,t,r,i,n,o){let a;return s;function s(d){return d===34||d===39||d===40?(e.enter(i),e.enter(n),e.consume(d),e.exit(n),a=d===40?41:d,l):r(d)}function l(d){return d===a?(e.enter(n),e.consume(d),e.exit(n),e.exit(i),t):(e.enter(o),u(d))}function u(d){return d===a?(e.exit(o),l(a)):d===null?r(d):H(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),ce(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===a||d===null||H(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===a||d===92?(e.consume(d),c):c(d)}}function yr(e,t){let r;return i;function i(n){return H(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r=!0,i):me(n)?ce(e,i,r?"linePrefix":"lineSuffix")(n):t(n)}}var Bm={name:"definition",tokenize:PI},OI={partial:!0,tokenize:LI};function PI(e,t,r){let i=this,n;return o;function o(m){return e.enter("definition"),a(m)}function a(m){return eu.call(i,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return n=Nt(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):r(m)}function l(m){return $e(m)?yr(e,u)(m):u(m)}function u(m){return Ql(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(OI,f,f)(m)}function f(m){return me(m)?ce(e,d,"whitespace")(m):d(m)}function d(m){return m===null||H(m)?(e.exit("definition"),i.parser.defined.push(n),t(m)):r(m)}}function LI(e,t,r){return i;function i(s){return $e(s)?yr(e,n)(s):r(s)}function n(s){return tu(e,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return me(s)?ce(e,a,"whitespace")(s):a(s)}function a(s){return s===null||H(s)?t(s):r(s)}}var Zm={name:"hardBreakEscape",tokenize:MI};function MI(e,t,r){return i;function i(o){return e.enter("hardBreakEscape"),e.consume(o),n}function n(o){return H(o)?(e.exit("hardBreakEscape"),t(o)):r(o)}}var Vm={name:"headingAtx",resolve:jI,tokenize:UI};function jI(e,t){let r=e.length-2,i=3;if(e[i][1].type==="whitespace"&&(i+=2),r-2>i&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(i===r-1||r-4>i&&e[r-2][1].type==="whitespace")&&(r-=i+1===r?2:4),r>i){let n={type:"atxHeadingText",start:e[i][1].start,end:e[r][1].end},o={type:"chunkText",start:e[i][1].start,end:e[r][1].end,contentType:"text"};St(e,i,r-i+1,[["enter",n,t],["enter",o,t],["exit",o,t],["exit",n,t]])}return e}function UI(e,t,r){let i=0;return n;function n(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&i++<6?(e.consume(c),a):c===null||$e(c)?(e.exit("atxHeadingSequence"),s(c)):r(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||H(c)?(e.exit("atxHeading"),t(c)):me(c)?ce(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||$e(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}var ru=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ea=["pre","script","style","textarea"];var Hm={concrete:!0,name:"htmlFlow",resolveTo:RI,tokenize:FI},qI={partial:!0,tokenize:BI};function RI(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function FI(e,t,r){let i=this,n,o,a,s,l;return u;function u(T){return c(T)}function c(T){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(T),f}function f(T){return T===33?(e.consume(T),d):T===47?(e.consume(T),o=!0,v):T===63?(e.consume(T),n=3,i.interrupt?t:A):We(T)?(e.consume(T),a=String.fromCharCode(T),y):r(T)}function d(T){return T===45?(e.consume(T),n=2,m):T===91?(e.consume(T),n=5,s=0,h):We(T)?(e.consume(T),n=4,i.interrupt?t:A):r(T)}function m(T){return T===45?(e.consume(T),i.interrupt?t:A):r(T)}function h(T){let dt="CDATA[";return T===dt.charCodeAt(s++)?(e.consume(T),s===dt.length?i.interrupt?t:W:h):r(T)}function v(T){return We(T)?(e.consume(T),a=String.fromCharCode(T),y):r(T)}function y(T){if(T===null||T===47||T===62||$e(T)){let dt=T===47,Ir=a.toLowerCase();return!dt&&!o&&Ea.includes(Ir)?(n=1,i.interrupt?t(T):W(T)):ru.includes(a.toLowerCase())?(n=6,dt?(e.consume(T),b):i.interrupt?t(T):W(T)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(T):o?w(T):$(T))}return T===45||Ye(T)?(e.consume(T),a+=String.fromCharCode(T),y):r(T)}function b(T){return T===62?(e.consume(T),i.interrupt?t:W):r(T)}function w(T){return me(T)?(e.consume(T),w):E(T)}function $(T){return T===47?(e.consume(T),E):T===58||T===95||We(T)?(e.consume(T),z):me(T)?(e.consume(T),$):E(T)}function z(T){return T===45||T===46||T===58||T===95||Ye(T)?(e.consume(T),z):M(T)}function M(T){return T===61?(e.consume(T),S):me(T)?(e.consume(T),M):$(T)}function S(T){return T===null||T===60||T===61||T===62||T===96?r(T):T===34||T===39?(e.consume(T),l=T,C):me(T)?(e.consume(T),S):D(T)}function C(T){return T===l?(e.consume(T),l=null,j):T===null||H(T)?r(T):(e.consume(T),C)}function D(T){return T===null||T===34||T===39||T===47||T===60||T===61||T===62||T===96||$e(T)?M(T):(e.consume(T),D)}function j(T){return T===47||T===62||me(T)?$(T):r(T)}function E(T){return T===62?(e.consume(T),ne):r(T)}function ne(T){return T===null||H(T)?W(T):me(T)?(e.consume(T),ne):r(T)}function W(T){return T===45&&n===2?(e.consume(T),de):T===60&&n===1?(e.consume(T),Le):T===62&&n===4?(e.consume(T),rt):T===63&&n===3?(e.consume(T),A):T===93&&n===5?(e.consume(T),Dt):H(T)&&(n===6||n===7)?(e.exit("htmlFlowData"),e.check(qI,yt,Z)(T)):T===null||H(T)?(e.exit("htmlFlowData"),Z(T)):(e.consume(T),W)}function Z(T){return e.check(Ca,fe,yt)(T)}function fe(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),O}function O(T){return T===null||H(T)?Z(T):(e.enter("htmlFlowData"),W(T))}function de(T){return T===45?(e.consume(T),A):W(T)}function Le(T){return T===47?(e.consume(T),a="",mt):W(T)}function mt(T){if(T===62){let dt=a.toLowerCase();return Ea.includes(dt)?(e.consume(T),rt):W(T)}return We(T)&&a.length<8?(e.consume(T),a+=String.fromCharCode(T),mt):W(T)}function Dt(T){return T===93?(e.consume(T),A):W(T)}function A(T){return T===62?(e.consume(T),rt):T===45&&n===2?(e.consume(T),A):W(T)}function rt(T){return T===null||H(T)?(e.exit("htmlFlowData"),yt(T)):(e.consume(T),rt)}function yt(T){return e.exit("htmlFlow"),t(T)}}function BI(e,t,r){return i;function i(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(Lr,t,r)}}var Km={name:"htmlText",tokenize:ZI};function ZI(e,t,r){let i=this,n,o,a;return s;function s(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),l}function l(A){return A===33?(e.consume(A),u):A===47?(e.consume(A),M):A===63?(e.consume(A),$):We(A)?(e.consume(A),D):r(A)}function u(A){return A===45?(e.consume(A),c):A===91?(e.consume(A),o=0,h):We(A)?(e.consume(A),w):r(A)}function c(A){return A===45?(e.consume(A),m):r(A)}function f(A){return A===null?r(A):A===45?(e.consume(A),d):H(A)?(a=f,Le(A)):(e.consume(A),f)}function d(A){return A===45?(e.consume(A),m):f(A)}function m(A){return A===62?de(A):A===45?d(A):f(A)}function h(A){let rt="CDATA[";return A===rt.charCodeAt(o++)?(e.consume(A),o===rt.length?v:h):r(A)}function v(A){return A===null?r(A):A===93?(e.consume(A),y):H(A)?(a=v,Le(A)):(e.consume(A),v)}function y(A){return A===93?(e.consume(A),b):v(A)}function b(A){return A===62?de(A):A===93?(e.consume(A),b):v(A)}function w(A){return A===null||A===62?de(A):H(A)?(a=w,Le(A)):(e.consume(A),w)}function $(A){return A===null?r(A):A===63?(e.consume(A),z):H(A)?(a=$,Le(A)):(e.consume(A),$)}function z(A){return A===62?de(A):$(A)}function M(A){return We(A)?(e.consume(A),S):r(A)}function S(A){return A===45||Ye(A)?(e.consume(A),S):C(A)}function C(A){return H(A)?(a=C,Le(A)):me(A)?(e.consume(A),C):de(A)}function D(A){return A===45||Ye(A)?(e.consume(A),D):A===47||A===62||$e(A)?j(A):r(A)}function j(A){return A===47?(e.consume(A),de):A===58||A===95||We(A)?(e.consume(A),E):H(A)?(a=j,Le(A)):me(A)?(e.consume(A),j):de(A)}function E(A){return A===45||A===46||A===58||A===95||Ye(A)?(e.consume(A),E):ne(A)}function ne(A){return A===61?(e.consume(A),W):H(A)?(a=ne,Le(A)):me(A)?(e.consume(A),ne):j(A)}function W(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(e.consume(A),n=A,Z):H(A)?(a=W,Le(A)):me(A)?(e.consume(A),W):(e.consume(A),fe)}function Z(A){return A===n?(e.consume(A),n=void 0,O):A===null?r(A):H(A)?(a=Z,Le(A)):(e.consume(A),Z)}function fe(A){return A===null||A===34||A===39||A===60||A===61||A===96?r(A):A===47||A===62||$e(A)?j(A):(e.consume(A),fe)}function O(A){return A===47||A===62||$e(A)?j(A):r(A)}function de(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):r(A)}function Le(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),mt}function mt(A){return me(A)?ce(e,Dt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):Dt(A)}function Dt(A){return e.enter("htmlTextData"),a(A)}}var di={name:"labelEnd",resolveAll:JI,resolveTo:GI,tokenize:WI},VI={tokenize:YI},HI={tokenize:XI},KI={tokenize:QI};function JI(e){let t=-1,r=[];for(;++t<e.length;){let i=e[t][1];if(r.push(e[t]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let n=i.type==="labelImage"?4:2;i.type="data",t+=n}}return e.length!==r.length&&St(e,0,e.length,r),e}function GI(e,t){let r=e.length,i=0,n,o,a;for(;r--;){let c=e[r][1];if(n){if(c.type==="link"||c.type==="labelLink"&&c._inactive)break;e[r][0]==="enter"&&c.type==="labelLink"&&(c._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(c.type==="labelImage"||c.type==="labelLink")&&!c._balanced&&(n=r,c.type!=="labelLink")){i=2;break}}else c.type==="labelEnd"&&(o=r)}let s={type:e[n][1].type==="labelLink"?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[n][1].start},end:{...e[o][1].end}},u={type:"labelText",start:{...e[n+i+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",s,t],["enter",l,t]],a=qt(a,e.slice(n+1,n+i+3)),a=qt(a,[["enter",u,t]]),a=qt(a,zn(t.parser.constructs.insideSpan.null,e.slice(n+i+4,o-3),t)),a=qt(a,[["exit",u,t],e[o-2],e[o-1],["exit",l,t]]),a=qt(a,e.slice(o+1)),a=qt(a,[["exit",s,t]]),St(e,n,e.length,a),e}function WI(e,t,r){let i=this,n=i._labelStarts,o,a;if(n){for(;n.length>0&&n[n.length-1]._balanced;)n.pop();o=n[n.length-1]}return s;function s(d){return o?o._inactive?f(d):(a=i.parser.defined.includes(Nt(i.sliceSerialize({start:o.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),l):r(d)}function l(d){return d===40?e.attempt(VI,c,a?c:f)(d):d===91?e.attempt(HI,c,a?u:f)(d):a?c(d):f(d)}function u(d){return e.attempt(KI,c,f)(d)}function c(d){return n.pop(),t(d)}function f(d){return o._balanced=!0,r(d)}}function YI(e,t,r){return i;function i(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),n}function n(f){return $e(f)?yr(e,o)(f):o(f)}function o(f){return f===41?c(f):Ql(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return $e(f)?yr(e,l)(f):c(f)}function s(f){return r(f)}function l(f){return f===34||f===39||f===40?tu(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function u(f){return $e(f)?yr(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function XI(e,t,r){let i=this;return n;function n(s){return eu.call(i,e,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return i.parser.defined.includes(Nt(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function a(s){return r(s)}}function QI(e,t,r){return i;function i(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),n}function n(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):r(o)}}var Jm={name:"labelStartImage",resolveAll:di.resolveAll,tokenize:ez};function ez(e,t,r){let i=this,n;return o;function o(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),n=e.exit("labelImage"),s):r(l)}function s(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?r(l):(i._labelStarts=i._labelStarts||[],i._labelStarts.push(n),t(l))}}var Gm={name:"labelStartLink",resolveAll:di.resolveAll,tokenize:tz};function tz(e,t,r){let i=this,n;return o;function o(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),n=e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in i.parser.constructs?r(s):(i._labelStarts=i._labelStarts||[],i._labelStarts.push(n),t(s))}}var Oa={name:"lineEnding",tokenize:rz};function rz(e,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),ce(e,t,"linePrefix")}}var pi={name:"thematicBreak",tokenize:nz};function nz(e,t,r){let i=0,n;return o;function o(u){return e.enter("thematicBreak"),a(u)}function a(u){return n=u,s(u)}function s(u){return u===n?(e.enter("thematicBreakSequence"),l(u)):i>=3&&(u===null||H(u))?(e.exit("thematicBreak"),t(u)):r(u)}function l(u){return u===n?(e.consume(u),i++,l):(e.exit("thematicBreakSequence"),me(u)?ce(e,s,"whitespace")(u):s(u))}}var Ot={continuation:{tokenize:sz},exit:uz,name:"list",tokenize:az},iz={partial:!0,tokenize:cz},oz={partial:!0,tokenize:lz};function az(e,t,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,a=0;return s;function s(m){let h=i.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(h==="listUnordered"?!i.containerState.marker||m===i.containerState.marker:Aa(m)){if(i.containerState.type||(i.containerState.type=h,e.enter(h,{_container:!0})),h==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(pi,r,u)(m):u(m);if(!i.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return r(m)}function l(m){return Aa(m)&&++a<10?(e.consume(m),l):(!i.interrupt||a<2)&&(i.containerState.marker?m===i.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),u(m)):r(m)}function u(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||m,e.check(Lr,i.interrupt?r:c,e.attempt(iz,d,f))}function c(m){return i.containerState.initialBlankLine=!0,o++,d(m)}function f(m){return me(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),d):r(m)}function d(m){return i.containerState.size=o+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function sz(e,t,r){let i=this;return i.containerState._closeFlow=void 0,e.check(Lr,n,o);function n(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,ce(e,t,"listItemIndent",i.containerState.size+1)(s)}function o(s){return i.containerState.furtherBlankLines||!me(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(oz,t,a)(s))}function a(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,ce(e,e.attempt(Ot,t,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function lz(e,t,r){let i=this;return ce(e,n,"listItemIndent",i.containerState.size+1);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?t(o):r(o)}}function uz(e){e.exit(this.containerState.type)}function cz(e,t,r){let i=this;return ce(e,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(o){let a=i.events[i.events.length-1];return!me(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):r(o)}}var nu={name:"setextUnderline",resolveTo:fz,tokenize:mz};function fz(e,t){let r=new rn,i=e.length,n,o,a;for(;i--;)if(e[i][0]==="enter"){if(e[i][1].type==="content"){n=i;break}e[i][1].type==="paragraph"&&(o=i)}else e[i][1].type==="content"&&r.add(i,1,[]),!a&&e[i][1].type==="definition"&&(a=i);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",a?(r.add(o,0,[["enter",s,t]]),r.add(a+1,0,[["exit",e[n][1],t]]),e[n][1].end={...e[a][1].end}):e[n][1]=s,r.add(e.length,0,[["exit",s,t]]),r.consume(e),e}function mz(e,t,r){let i=this,n;return o;function o(u){let c=i.events.length,f;for(;c--;)if(i.events[c][1].type!=="lineEnding"&&i.events[c][1].type!=="linePrefix"&&i.events[c][1].type!=="content"){f=i.events[c][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||f)?(e.enter("setextHeadingLine"),n=u,a(u)):r(u)}function a(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===n?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),me(u)?ce(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||H(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}var b2={tokenize:dz};function dz(e){let t=this,r=e.attempt(Lr,i,e.attempt(this.parser.constructs.flowInitial,n,ce(e,e.attempt(this.parser.constructs.flow,n,e.attempt(Fm,n)),"linePrefix")));return r;function i(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var x2={resolveAll:S2()},w2=$2("string"),k2=$2("text");function $2(e){return{resolveAll:S2(e==="text"?pz:void 0),tokenize:t};function t(r){let i=this,n=this.parser.constructs[e],o=r.attempt(n,a,s);return a;function a(c){return u(c)?o(c):s(c)}function s(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),l}function l(c){return u(c)?(r.exit("data"),o(c)):(r.consume(c),l)}function u(c){if(c===null)return!0;let f=n[c],d=-1;if(f)for(;++d<f.length;){let m=f[d];if(!m.previous||m.previous.call(i,i.previous))return!0}return!1}}}function S2(e){return t;function t(r,i){let n=-1,o;for(;++n<=r.length;)o===void 0?r[n]&&r[n][1].type==="data"&&(o=n,n++):(!r[n]||r[n][1].type!=="data")&&(n!==o+2&&(r[o][1].end=r[n-1][1].end,r.splice(o+2,n-o-2),n=o+2),o=void 0);return e?e(r,i):r}}function pz(e,t){let r=new rn,i=0;for(;++i<=e.length;)if((i===e.length||e[i][1].type==="lineEnding")&&e[i-1][1].type==="data"){let n=e[i-1][1],o=t.sliceStream(n),a=o.length,s=-1,l=0,u;for(;a--;){let c=o[a];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)l++,s--;if(s)break;s=-1}else if(c===-2)u=!0,l++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&i===e.length&&(l=0),l){let c={type:i===e.length||u||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:n.start._bufferIndex+s,_index:n.start._index+a,line:n.end.line,column:n.end.column-l,offset:n.end.offset-l},end:{...n.end}};n.end={...c.start},n.start.offset===n.end.offset?Object.assign(n,c):r.add(i,0,[["enter",c,t],["exit",c,t]])}i++}return r.consume(e),e}var Wm={};zr(Wm,{attentionMarkers:()=>kz,contentInitial:()=>gz,disable:()=>$z,document:()=>hz,flow:()=>yz,flowInitial:()=>vz,insideSpan:()=>wz,string:()=>bz,text:()=>xz});var hz={42:Ot,43:Ot,45:Ot,48:Ot,49:Ot,50:Ot,51:Ot,52:Ot,53:Ot,54:Ot,55:Ot,56:Ot,57:Ot,62:Kl},gz={91:Bm},vz={[-2]:Da,[-1]:Da,32:Da},yz={35:Vm,42:pi,45:[nu,pi],60:Hm,61:nu,95:pi,96:Wl,126:Wl},bz={38:Gl,92:Jl},xz={[-5]:Oa,[-4]:Oa,[-3]:Oa,33:Jm,38:Gl,42:Ta,60:[qm,Km],91:Gm,92:[Zm,Jl],93:di,95:Ta,96:Rm},wz={null:[Ta,x2]},kz={null:[42,95]},$z={null:[]};function _2(e,t,r){let i={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},n={},o=[],a=[],s=[],l=!0,u={attempt:j(C),check:j(D),consume:z,enter:M,exit:S,interrupt:j(D,{interrupt:!0})},c={code:null,containerState:{},defineSkip:b,events:[],now:y,parser:e,previous:null,sliceSerialize:h,sliceStream:v,write:m},f=t.tokenize.call(c,u),d;return t.resolveAll&&o.push(t),c;function m(Z){return a=qt(a,Z),w(),a[a.length-1]!==null?[]:(E(t,0),c.events=zn(o,c.events,c),c.events)}function h(Z,fe){return _z(v(Z),fe)}function v(Z){return Sz(a,Z)}function y(){let{_bufferIndex:Z,_index:fe,line:O,column:de,offset:Le}=i;return{_bufferIndex:Z,_index:fe,line:O,column:de,offset:Le}}function b(Z){n[Z.line]=Z.column,W()}function w(){for(;i._index<a.length;){let Z=a[i._index];if(typeof Z=="string"){let fe=i._index;for(i._bufferIndex<0&&(i._bufferIndex=0);i._index===fe&&i._bufferIndex<Z.length;)$(Z.charCodeAt(i._bufferIndex))}else $(Z)}}function $(Z){l=void 0,d=Z,f=f(Z)}function z(Z){H(Z)?(i.line++,i.column=1,i.offset+=Z===-3?2:1,W()):Z!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===a[i._index].length&&(i._bufferIndex=-1,i._index++)),c.previous=Z,l=!0}function M(Z,fe){let O=fe||{};return O.type=Z,O.start=y(),c.events.push(["enter",O,c]),s.push(O),O}function S(Z){let fe=s.pop();return fe.end=y(),c.events.push(["exit",fe,c]),fe}function C(Z,fe){E(Z,fe.from)}function D(Z,fe){fe.restore()}function j(Z,fe){return O;function O(de,Le,mt){let Dt,A,rt,yt;return Array.isArray(de)?dt(de):"tokenize"in de?dt([de]):T(de);function T(U){return te;function te(oe){let J=oe!==null&&U[oe],ke=oe!==null&&U.null,he=[...Array.isArray(J)?J:J?[J]:[],...Array.isArray(ke)?ke:ke?[ke]:[]];return dt(he)(oe)}}function dt(U){return Dt=U,A=0,U.length===0?mt:Ir(U[A])}function Ir(U){return te;function te(oe){return yt=ne(),rt=U,U.partial||(c.currentConstruct=U),U.name&&c.parser.constructs.disable.null.includes(U.name)?V(oe):U.tokenize.call(fe?Object.assign(Object.create(c),fe):c,u,Sn,V)(oe)}}function Sn(U){return l=!0,Z(rt,yt),Le}function V(U){return l=!0,yt.restore(),++A<Dt.length?Ir(Dt[A]):mt}}}function E(Z,fe){Z.resolveAll&&!o.includes(Z)&&o.push(Z),Z.resolve&&St(c.events,fe,c.events.length-fe,Z.resolve(c.events.slice(fe),c)),Z.resolveTo&&(c.events=Z.resolveTo(c.events,c))}function ne(){let Z=y(),fe=c.previous,O=c.currentConstruct,de=c.events.length,Le=Array.from(s);return{from:de,restore:mt};function mt(){i=Z,c.previous=fe,c.currentConstruct=O,c.events.length=de,s=Le,W()}}function W(){i.line in n&&i.column<2&&(i.column=n[i.line],i.offset+=n[i.line]-1)}}function Sz(e,t){let r=t.start._index,i=t.start._bufferIndex,n=t.end._index,o=t.end._bufferIndex,a;if(r===n)a=[e[r].slice(i,o)];else{if(a=e.slice(r,n),i>-1){let s=a[0];typeof s=="string"?a[0]=s.slice(i):a.shift()}o>0&&a.push(e[n].slice(0,o))}return a}function _z(e,t){let r=-1,i=[],n;for(;++r<e.length;){let o=e[r],a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=`
141
+ `;break}case-3:{a=`\r
142
+ `;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&n)continue;a=" ";break}default:a=String.fromCharCode(o)}n=o===-2,i.push(a)}return i.join("")}function Ym(e){let i={constructs:Zl([Wm,...(e||{}).extensions||[]]),content:n(p2),defined:[],document:n(v2),flow:n(b2),lazy:{},string:n(w2),text:n(k2)};return i;function n(o){return a;function a(s){return _2(i,o,s)}}}function Xm(e){for(;!Xl(e););return e}var I2=/[\0\t\n\r]/g;function Qm(){let e=1,t="",r=!0,i;return n;function n(o,a,s){o=t+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o));let l=[],u=0;for(t="",r&&(o.charCodeAt(0)===65279&&u++,r=void 0);u<o.length;){I2.lastIndex=u;let c=I2.exec(o),f=c&&c.index!==void 0?c.index:o.length,d=o.charCodeAt(f);if(!c){t=o.slice(u);break}if(d===10&&u===f&&i)l.push(-3),i=void 0;else switch(i&&(l.push(-5),i=void 0),u<f&&(l.push(o.slice(u,f)),e+=f-u),d){case 0:{l.push(65533),e++;break}case 9:{let m=Math.ceil(e/4)*4;for(l.push(-2);e++<m;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:i=!0,e=1}u=f+1}return s&&(i&&l.push(-5),t&&l.push(t),l.push(null)),l}}var Iz=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function z2(e){return e.replace(Iz,zz)}function zz(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let n=r.charCodeAt(1),o=n===120||n===88;return Vl(r.slice(o?2:1),o?16:10)}return tn(r)||e}var T2={}.hasOwnProperty;function ed(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),Az(r)(Xm(Ym(r).document().write(Qm()(e,t,!0))))}function Az(e){let t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(fi),autolinkProtocol:E,autolinkEmail:E,atxHeading:a(Ze),blockQuote:a(J),characterEscape:E,characterReference:E,codeFenced:a(ke),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(ke,s),codeText:a(he,s),codeTextData:E,data:E,codeFlowValue:E,definition:a(xe),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Me),hardBreakEscape:a(Ut),hardBreakTrailing:a(Ut),htmlFlow:a(pt,s),htmlFlowData:E,htmlText:a(pt,s),htmlTextData:E,image:a(st),label:s,link:a(fi),listItem:a(km),listItemValue:m,listOrdered:a(Ll,d),listUnordered:a(Ll),paragraph:a(ka),reference:dt,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(Ze),strong:a(Ml),thematicBreak:a($m)},exit:{atxHeading:u(),atxHeadingSequence:S,autolink:u(),autolinkEmail:oe,autolinkProtocol:te,blockQuote:u(),characterEscapeValue:ne,characterReferenceMarkerHexadecimal:Sn,characterReferenceMarkerNumeric:Sn,characterReferenceValue:V,characterReference:U,codeFenced:u(b),codeFencedFence:y,codeFencedFenceInfo:h,codeFencedFenceMeta:v,codeFlowValue:ne,codeIndented:u(w),codeText:u(de),codeTextData:ne,data:ne,definition:u(),definitionDestinationString:M,definitionLabelString:$,definitionTitleString:z,emphasis:u(),hardBreakEscape:u(Z),hardBreakTrailing:u(Z),htmlFlow:u(fe),htmlFlowData:ne,htmlText:u(O),htmlTextData:ne,image:u(mt),label:A,labelText:Dt,lineEnding:W,link:u(Le),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Ir,resourceDestinationString:rt,resourceTitleString:yt,resource:T,setextHeading:u(j),setextHeadingLineSequence:D,setextHeadingText:C,strong:u(),thematicBreak:u()}};C2(t,(e||{}).mdastExtensions||[]);let r={};return i;function i(q){let re={type:"root",children:[],position:void 0},ve={stack:[re],tokenStack:[],config:t,enter:l,exit:c,buffer:s,resume:f,data:r},Ae=[],Wt=[],Ke=-1;for(;++Ke<q.length;)if(Wt.push(q[Ke]),q[Ke][1].type==="listOrdered"||q[Ke][1].type==="listUnordered")if(q[Ke][0]==="enter")Ae.push(Wt.length-1);else{let Yt=Ae.pop();o(Wt,Yt)}for(q=Wt,Ke=-1;++Ke<q.length;){let Yt=t[q[Ke][0]];q[Ke][0]==="enter"&&t.beforeEnter.length>0&&n(t.beforeEnter,{...ve,sliceSerialize:q[Ke][2].sliceSerialize},q[Ke][1]),T2.call(Yt,q[Ke][1].type)&&Yt[q[Ke][1].type].call({...ve,sliceSerialize:q[Ke][2].sliceSerialize},q[Ke][1]),q[Ke][0]==="exit"&&t.afterExit.length>0&&n(t.afterExit,{...ve,sliceSerialize:q[Ke][2].sliceSerialize},q[Ke][1])}if(ve.tokenStack.length>0){let Yt=ve.tokenStack[ve.tokenStack.length-1];(Yt[1]||A2).call(ve,void 0,Yt[0])}for(re.position={start:An(q.length>0?q[0][1].start:{line:1,column:1,offset:0}),end:An(q.length>0?q[q.length-2][1].end:{line:1,column:1,offset:0})},Ke=-1;++Ke<t.transforms.length;)re=t.transforms[Ke](re)||re;return re}function n(q,re,ve){let Ae=-1;for(;++Ae<q.length;)q[Ae].call(re,ve)}function o(q,re){let ve=q.length-1,Ae=re-1,Wt=-1,Ke=!1,Yt,Pr,$a,Sa,_a=[];for(;++Ae<=ve;){let cr=q[Ae];switch(cr[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{cr[0]==="enter"?Wt++:Wt--,Sa=void 0;break}case"lineEndingBlank":{cr[0]==="enter"&&(Yt&&!Sa&&!Wt&&!$a&&($a=Ae),Sa=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Sa=void 0}if(!Wt&&cr[0]==="enter"&&cr[1].type==="listItemPrefix"||Wt===-1&&cr[0]==="exit"&&(cr[1].type==="listUnordered"||cr[1].type==="listOrdered")){if(Yt){let Qi=Ae;for(Pr=void 0;Qi--;){let en=q[Qi];if(en[1].type==="lineEnding"||en[1].type==="lineEndingBlank"){if(en[0]==="exit")continue;Pr&&(q[Pr][1].type="lineEndingBlank",Ke=!0),en[1].type="lineEnding",Pr=Qi}else if(!(en[1].type==="linePrefix"||en[1].type==="blockQuotePrefix"||en[1].type==="blockQuotePrefixWhitespace"||en[1].type==="blockQuoteMarker"||en[1].type==="listItemIndent"))break}$a&&(!Pr||$a<Pr)&&(Yt._spread=!0),Yt.end=Object.assign({},Pr?q[Pr][1].start:cr[1].end),_a.push({at:Pr||Ae,event:["exit",Yt,cr[2]]})}if(cr[1].type==="listItemPrefix"){let Qi={type:"listItem",_spread:!1,start:Object.assign({},cr[1].start),end:void 0};Yt=Qi,_a.push({at:Ae,event:["enter",Qi,cr[2]]}),$a=void 0,Sa=!0}}}let Z6=q.splice(re),Sm=0;for(Ae=-1;++Ae<Z6.length;){for(;Sm<_a.length&&_a[Sm].at===re+Ae;)q.push(_a[Sm++].event);q.push(Z6[Ae])}q[re][1]._spread=Ke}function a(q,re){return ve;function ve(Ae){l.call(this,q(Ae),Ae),re&&re.call(this,Ae)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(q,re,ve){this.stack[this.stack.length-1].children.push(q),this.stack.push(q),this.tokenStack.push([re,ve||void 0]),q.position={start:An(re.start),end:void 0}}function u(q){return re;function re(ve){q&&q.call(this,ve),c.call(this,ve)}}function c(q,re){let ve=this.stack.pop(),Ae=this.tokenStack.pop();if(!Ae)throw new Error("Cannot close `"+q.type+"` ("+_n({start:q.start,end:q.end})+"): it\u2019s not open");Ae[0].type!==q.type&&(re?re.call(this,q,Ae[0]):(Ae[1]||A2).call(this,q,Ae[0])),ve.position.end=An(q.end)}function f(){return Xt(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function m(q){if(this.data.expectingFirstListItemValue){let re=this.stack[this.stack.length-2];re.start=Number.parseInt(this.sliceSerialize(q),10),this.data.expectingFirstListItemValue=void 0}}function h(){let q=this.resume(),re=this.stack[this.stack.length-1];re.lang=q}function v(){let q=this.resume(),re=this.stack[this.stack.length-1];re.meta=q}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){let q=this.resume(),re=this.stack[this.stack.length-1];re.value=q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){let q=this.resume(),re=this.stack[this.stack.length-1];re.value=q.replace(/(\r?\n|\r)$/g,"")}function $(q){let re=this.resume(),ve=this.stack[this.stack.length-1];ve.label=re,ve.identifier=Nt(this.sliceSerialize(q)).toLowerCase()}function z(){let q=this.resume(),re=this.stack[this.stack.length-1];re.title=q}function M(){let q=this.resume(),re=this.stack[this.stack.length-1];re.url=q}function S(q){let re=this.stack[this.stack.length-1];if(!re.depth){let ve=this.sliceSerialize(q).length;re.depth=ve}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function D(q){let re=this.stack[this.stack.length-1];re.depth=this.sliceSerialize(q).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function E(q){let ve=this.stack[this.stack.length-1].children,Ae=ve[ve.length-1];(!Ae||Ae.type!=="text")&&(Ae=jl(),Ae.position={start:An(q.start),end:void 0},ve.push(Ae)),this.stack.push(Ae)}function ne(q){let re=this.stack.pop();re.value+=this.sliceSerialize(q),re.position.end=An(q.end)}function W(q){let re=this.stack[this.stack.length-1];if(this.data.atHardBreak){let ve=re.children[re.children.length-1];ve.position.end=An(q.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(re.type)&&(E.call(this,q),ne.call(this,q))}function Z(){this.data.atHardBreak=!0}function fe(){let q=this.resume(),re=this.stack[this.stack.length-1];re.value=q}function O(){let q=this.resume(),re=this.stack[this.stack.length-1];re.value=q}function de(){let q=this.resume(),re=this.stack[this.stack.length-1];re.value=q}function Le(){let q=this.stack[this.stack.length-1];if(this.data.inReference){let re=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=re,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function mt(){let q=this.stack[this.stack.length-1];if(this.data.inReference){let re=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=re,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function Dt(q){let re=this.sliceSerialize(q),ve=this.stack[this.stack.length-2];ve.label=z2(re),ve.identifier=Nt(re).toLowerCase()}function A(){let q=this.stack[this.stack.length-1],re=this.resume(),ve=this.stack[this.stack.length-1];if(this.data.inReference=!0,ve.type==="link"){let Ae=q.children;ve.children=Ae}else ve.alt=re}function rt(){let q=this.resume(),re=this.stack[this.stack.length-1];re.url=q}function yt(){let q=this.resume(),re=this.stack[this.stack.length-1];re.title=q}function T(){this.data.inReference=void 0}function dt(){this.data.referenceType="collapsed"}function Ir(q){let re=this.resume(),ve=this.stack[this.stack.length-1];ve.label=re,ve.identifier=Nt(this.sliceSerialize(q)).toLowerCase(),this.data.referenceType="full"}function Sn(q){this.data.characterReferenceType=q.type}function V(q){let re=this.sliceSerialize(q),ve=this.data.characterReferenceType,Ae;ve?(Ae=Vl(re,ve==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ae=tn(re);let Wt=this.stack[this.stack.length-1];Wt.value+=Ae}function U(q){let re=this.stack.pop();re.position.end=An(q.end)}function te(q){ne.call(this,q);let re=this.stack[this.stack.length-1];re.url=this.sliceSerialize(q)}function oe(q){ne.call(this,q);let re=this.stack[this.stack.length-1];re.url="mailto:"+this.sliceSerialize(q)}function J(){return{type:"blockquote",children:[],position:void 0}}function ke(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function he(){return{type:"inlineCode",value:"",position:void 0}}function xe(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function Me(){return{type:"emphasis",children:[],position:void 0}}function Ze(){return{type:"heading",depth:0,children:[],position:void 0}}function Ut(){return{type:"break",position:void 0}}function pt(){return{type:"html",value:"",position:void 0}}function st(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function fi(){return{type:"link",title:null,url:"",children:[],position:void 0}}function Ll(q){return{type:"list",ordered:q.type==="listOrdered",start:null,spread:q._spread,children:[],position:void 0}}function km(q){return{type:"listItem",spread:q._spread,checked:null,children:[],position:void 0}}function ka(){return{type:"paragraph",children:[],position:void 0}}function Ml(){return{type:"strong",children:[],position:void 0}}function jl(){return{type:"text",value:"",position:void 0}}function $m(){return{type:"thematicBreak",position:void 0}}}function An(e){return{line:e.line,column:e.column,offset:e.offset}}function C2(e,t){let r=-1;for(;++r<t.length;){let i=t[r];Array.isArray(i)?C2(e,i):Tz(e,i)}}function Tz(e,t){let r;for(r in t)if(T2.call(t,r))switch(r){case"canContainEols":{let i=t[r];i&&e[r].push(...i);break}case"transforms":{let i=t[r];i&&e[r].push(...i);break}case"afterExit":case"beforeEnter":{let i=t[r];i&&e[r].push(i);break}case"enter":case"exit":{let i=t[r];i&&Object.assign(e[r],i);break}}}function A2(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+_n({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+_n({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+_n({start:t.start,end:t.end})+") is still open")}function iu(e){let t=this;t.parser=r;function r(i){return ed(i,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function nn(e,t){let r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let i=0,n=r.indexOf(t);for(;n!==-1;)i++,n=r.indexOf(t,n+t.length);return i}function Pa(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Tn=(function(e){if(e==null)return Ez;if(typeof e=="function")return ou(e);if(typeof e=="object")return Array.isArray(e)?Cz(e):Dz(e);if(typeof e=="string")return Nz(e);throw new Error("Expected function, string, or object as test")});function Cz(e){let t=[],r=-1;for(;++r<e.length;)t[r]=Tn(e[r]);return ou(i);function i(...n){let o=-1;for(;++o<t.length;)if(t[o].apply(this,n))return!0;return!1}}function Dz(e){let t=e;return ou(r);function r(i){let n=i,o;for(o in e)if(n[o]!==t[o])return!1;return!0}}function Nz(e){return ou(t);function t(r){return r&&r.type===e}}function ou(e){return t;function t(r,i,n){return!!(Oz(r)&&e.call(this,r,typeof i=="number"?i:void 0,n||void 0))}}function Ez(){return!0}function Oz(e){return e!==null&&typeof e=="object"&&"type"in e}function D2(e){return"\x1B[33m"+e+"\x1B[39m"}var E2=[],au=!0,Mr=!1,hi="skip";function to(e,t,r,i){if(!e||typeof e!="object")throw new Error("Unexpected value `"+e+"` for `tree`, expected node");let n=!0,o,a,s,l;if(typeof r=="function"||r&&typeof r=="object"?(o=t,a=r,i&&(n=!1)):(a=t,r&&(n=!1)),typeof a=="function")s=a;else if(a&&typeof a=="object"){if(!(a.enter===null||a.enter===void 0))if(typeof a.enter=="function")s=a.enter;else throw new Error("Unexpected value `"+a.enter+"` for `visitors.enter`, expected optional visitor");if(typeof a.exit=="function")l=a.exit;else throw new Error("Unexpected value `"+a.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)")}else throw new Error("Unexpected value `"+a+"` for `enter` or `visitors`, expected visitor or object with visitors");let u=Tn(o),c=n?1:-1;f(e,void 0,[])();function f(d,m,h){let v=d&&typeof d=="object"?d:{};if(typeof v.type=="string"){let b=typeof v.tagName=="string"?v.tagName:typeof v.name=="string"?v.name:void 0;Object.defineProperty(y,"name",{value:"node ("+D2(d.type+(b?"<"+b+">":""))+")"})}return y;function y(){let b=!o||u(d,m,h[h.length-1]||void 0),w=E2;if(s&&b&&(w=N2(s(d,h,m)),w[0]===Mr))return w;if("children"in d&&d.children){let $=d;if($.children&&w[0]!==hi){let z=(n?-1:$.children.length)+c,M=[...h,$];for(;z>-1&&z<$.children.length;){let S=$.children[z],C=f(S,z,M)();if(C[0]===Mr)return C;z=typeof C[1]=="number"?C[1]:z+c}}}if(l&&b){let $=N2(l(d,h,m));if($[0]===hi)throw new Error("Unexpected value `"+$[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if($[0]===Mr||typeof $[1]=="number")return $}return w}}}function N2(e){return Array.isArray(e)?e:typeof e=="number"?[au,e]:e==null?E2:[e]}function td(e,t,r){let n=Tn((r||{}).ignore||[]),o=Pz(t),a=-1;for(;++a<o.length;)to(e,s);function s(u,c,f){if(u.type==="text"&&typeof f=="number")return l(u,c,f);if(n(u,f,c[c.length-1]))return hi}function l(u,c,f){let d=c[c.length-1],m=o[a][0],h=o[a][1],v=0,y=!1,b=[];m.lastIndex=0;let w=m.exec(u.value);for(;w;){let z=w.index,M={index:w.index,input:w.input,stack:[...c,u]},S=h(...w,M);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S!==!1){if(v!==z&&$({type:"text",value:u.value.slice(v,z)}),Array.isArray(S))for(let C of S)$(C);else S&&$(S);v=z+w[0].length,y=!0}if(S===!1||w[0].length===0){let C=u.value.codePointAt(z)||0;m.lastIndex=z+(/[uv]/.test(m.flags)&&C>65535?2:1)}if(!m.global)break;w=m.exec(u.value)}return y?(v<u.value.length&&$({type:"text",value:u.value.slice(v)}),d.children.splice(f,1,...b)):b=[u],f+b.length;function $(z){let M=b[b.length-1];M&&M.type==="text"&&z.type==="text"?M.value+=z.value:b.push(z)}}}function Pz(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let t=[],r=!e[0]||Array.isArray(e[0])?e:[e],i=-1;for(;++i<r.length;){let n=r[i];t.push([Lz(n[0]),Mz(n[1])])}return t}function Lz(e){return typeof e=="string"?new RegExp(Pa(e),"g"):e}function Mz(e){return typeof e=="function"?e:function(){return e}}var rd="phrasing",nd=["autolink","link","image","label"];function od(){return{transforms:[Bz],enter:{literalAutolink:jz,literalAutolinkEmail:id,literalAutolinkHttp:id,literalAutolinkWww:id},exit:{literalAutolink:Fz,literalAutolinkEmail:Rz,literalAutolinkHttp:Uz,literalAutolinkWww:qz}}}function ad(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:rd,notInConstruct:nd},{character:".",before:"[Ww]{3}",inConstruct:rd,notInConstruct:nd},{character:":",before:"[PSps]",after:"\\/",inConstruct:rd,notInConstruct:nd}]}}function jz(e){this.enter({type:"link",title:null,url:"",children:[],position:void 0},e)}function id(e){this.config.enter.autolinkProtocol.call(this,e)}function Uz(e){this.config.exit.autolinkProtocol.call(this,e)}function qz(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Rz(e){this.config.exit.autolinkEmail.call(this,e)}function Fz(e){this.exit(e)}function Bz(e){td(e,[[/(?<![\da-z])(https?:\/\/|www(?=\.))([\w-]*\.[\w\-.]*)([^\t\n\r ]*)/gi,Zz],[/(?<![\w+\-.@])xmpp:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)(\/(?:[\w\-/]|\.(?=[\dA-Za-z]))*)?/g,Kz],[/(?<![\w+\-.@])mailto:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,Hz],[/(?<![\w+\-.]|(?:^|[^\d@A-Za-z])(?:mailto|xmpp):)([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,Vz]],{ignore:["link","linkReference"]})}function Zz(e,t,r,i,n){if(!Wz(n))return!1;let o="";if(/^w/i.test(t)&&(r=t+r,t="",o="http://"),Et(r.charCodeAt(0))||!Jz(r))return!1;let a=Gz(r+i),s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0],position:void 0}],position:void 0};return a[1]?[s,{type:"text",value:a[1],position:void 0}]:s}function Vz(e,t,r){return/[\d\-_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r,position:void 0}],position:void 0}}function Hz(e,t,r){if(/[\d\-_]$/.test(r))return!1;let i="mailto:"+t+"@"+r;return{type:"link",title:null,url:i,children:[{type:"text",value:i,position:void 0}],position:void 0}}function Kz(e,t,r,i,n){if(/[\d\-_]$/.test(r)||i&&(!/[A-Za-z]$/.test(i)||n.input.charAt(n.index+e.length)==="@"))return!1;let o="xmpp:"+t+"@"+r+(i||"");return{type:"link",title:null,url:o,children:[{type:"text",value:o,position:void 0}],position:void 0}}function Jz(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[\dA-Za-z]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[\dA-Za-z]/.test(t[t.length-2])))}function Gz(e){let t=e.length;for(;t>0;){let a=e.charCodeAt(t-1);if(a===33||a===34||a===38||a===39||a===41||a===44||a===46||a===58||a===59||a===60||a===62||a===63||a===93||a===125)t--;else break}if(t===e.length)return[e,void 0];let r=e.slice(t);e=e.slice(0,t);let i=r.indexOf(")"),n=nn(e,"("),o=nn(e,")");for(;i!==-1&&n>o;)e+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(")"),o++;return[e,r]}function Wz(e){let t=e.input.charCodeAt(e.index-1);return e.index===0||_t(t)||Et(t)}O2.peek=oA;function Yz(){this.buffer()}function Xz(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Qz(){this.buffer()}function eA(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function tA(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Nt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function rA(e){this.exit(e)}function nA(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Nt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function iA(e){this.exit(e)}function oA(){return"["}function O2(e,t,r,i){let n=r.createTracker(i),o=n.move("[^"),a=r.enter("footnoteReference"),s=r.enter("reference");return o+=n.move(r.safe(r.associationId(e),{after:"]",before:o})),s(),a(),o+=n.move("]"),o}function sd(){return{enter:{gfmFootnoteCallString:Yz,gfmFootnoteCall:Xz,gfmFootnoteDefinitionLabelString:Qz,gfmFootnoteDefinition:eA},exit:{gfmFootnoteCallString:tA,gfmFootnoteCall:rA,gfmFootnoteDefinitionLabelString:nA,gfmFootnoteDefinition:iA}}}function ld(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:O2},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(i,n,o,a){let s=o.createTracker(a),l=s.move("[^"),u=o.enter("footnoteDefinition"),c=o.enter("label");return l+=s.move(o.safe(o.associationId(i),{before:l,after:"]"})),c(),l+=s.move("]:"),i.children&&i.children.length>0&&(s.shift(4),l+=s.move((t?`
143
+ `:" ")+o.indentLines(o.containerFlow(i,s.current()),t?P2:aA))),u(),l}}function aA(e,t,r){return t===0?e:P2(e,t,r)}function P2(e,t,r){return(r?"":" ")+e}var sA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];fd.attention=cA;fd.peek=fA;function ud(){return{canContainEols:["delete"],enter:{strikethrough:lA},exit:{strikethrough:uA}}}function cd(){return{handlers:{delete:fd},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:sA}]}}function lA(e){this.enter({type:"delete",children:[],position:void 0},e)}function uA(e){this.exit(e)}function fd(e,t,r,i){let n=r.createTracker(i),o=r.stack.includes("strikethrough")?"~":"~~",a=r.enter("strikethrough"),s=n.move(o);return s+=r.containerPhrasing(e,{...n.current(),before:s,after:"~"}),s+=n.move(o),a(),s}function cA(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function fA(){return"~"}function mA(e){return e.length}function M2(e,t){let r=t||{},i=(r.align||[]).concat(),n=r.stringLength||mA,o=[],a=[],s=[],l=[],u=0,c=-1;for(;++c<e.length;){let v=[],y=[],b=-1;for(e[c].length>u&&(u=e[c].length);++b<e[c].length;){let w=dA(e[c][b]);if(r.alignDelimiters!==!1){let $=n(w);y[b]=$,(l[b]===void 0||$>l[b])&&(l[b]=$)}v.push(w)}a[c]=v,s[c]=y}let f=-1;if(typeof i=="object"&&"length"in i)for(;++f<u;)o[f]=L2(i[f]);else{let v=L2(i);for(;++f<u;)o[f]=v}f=-1;let d=[],m=[];for(;++f<u;){let v=o[f],y="",b="";v===99?(y=":",b=":"):v===108?y=":":v===114&&(b=":");let w=r.alignDelimiters===!1?1:Math.max(1,l[f]-y.length-b.length),$=y+"-".repeat(w)+b;r.alignDelimiters!==!1&&(w=y.length+w+b.length,w>l[f]&&(l[f]=w),m[f]=w),d[f]=$}a.splice(1,0,d),s.splice(1,0,m),c=-1;let h=[];for(;++c<a.length;){let v=a[c],y=s[c],b=r.fillRows===!1?Math.max(1,a[c===1?0:c].length):u;f=-1;let w=[];for(;++f<b;){let $=v[f]||"",z="",M="";if(r.alignDelimiters!==!1){let S=l[f]-(y[f]||0),C=o[f];if(C===114)z=" ".repeat(S);else if(C===99){let D=S/2;S%2?(z=" ".repeat(D+.5),M=" ".repeat(D-.5)):(z=" ".repeat(D),M=z)}else M=" ".repeat(S)}r.delimiterStart!==!1&&!f&&w.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&$==="")&&(r.delimiterStart!==!1||f)&&w.push(" "),r.alignDelimiters!==!1&&w.push(z),w.push($),r.alignDelimiters!==!1&&w.push(M),r.padding!==!1&&w.push(" "),(r.delimiterEnd!==!1||f!==b-1)&&w.push("|")}h.push(r.delimiterEnd===!1?w.join("").replace(/ +$/,""):w.join(""))}return h.join(`
144
+ `)}function dA(e){return e==null?"":String(e)}function L2(e){let t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var md=Tn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);var j2={}.hasOwnProperty;function U2(e,t){let r=t||{};function i(n,...o){let a=i.invalid,s=i.handlers;if(n&&j2.call(n,e)){let l=String(n[e]);a=j2.call(s,l)?s[l]:i.unknown}if(a)return a.call(this,n,...o)}return i.handlers=r.handlers||{},i.invalid=r.invalid,i.unknown=r.unknown,i}function q2(e,t,r,i){let n=r.enter("blockquote"),o=r.createTracker(i);o.move("> "),o.shift(2);let a=r.indentLines(r.containerFlow(e,o.current()),pA);return n(),a}function pA(e,t,r){return">"+(r?"":" ")+e}function F2(e,t){return R2(e,t.inConstruct,!0)&&!R2(e,t.notInConstruct,!1)}function R2(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let i=-1;for(;++i<t.length;)if(e.includes(t[i]))return!0;return!1}function dd(e,t,r,i){let n=-1;for(;++n<r.unsafe.length;){let o=r.unsafe[n];if(o.character===`
145
+ `&&!o.before&&!o.after&&F2(r.stack,o))return/[\t ]/.test(i.before)?"":" "}return`\\
146
+ `}function su(e,t){let r=String(e),i=r.indexOf(t),n=i,o=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++o>a&&(a=o):o=1,n=i+t.length,i=r.indexOf(t,n);return a}function B2(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}function Z2(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function V2(e,t,r,i){let n=Z2(r),o=e.value||"";if(B2(e,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,hA);return f(),d}let a=r.createTracker(i),s=n.repeat(Math.max(su(o,n)+1,3)),l=r.enter("codeFenced"),u=n==="`"?"GraveAccent":"Tilde",c=a.move(s);if(e.lang){let f=r.enter(`codeFencedLang${u}`);c+=a.move(r.safe(e.lang,{before:c,after:" ",encode:["`"],...a.current()})),f()}if(e.lang&&e.meta){let f=r.enter(`codeFencedMeta${u}`);c+=a.move(" "),c+=a.move(r.safe(e.meta,{before:c,after:`
147
+ `,encode:["`"],...a.current()})),f()}return c+=a.move(`
148
+ `),o&&(c+=a.move(o+`
149
+ `)),c+=a.move(s),l(),c}function hA(e,t,r){return(r?"":" ")+e}function ro(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function H2(e,t,r,i){let n=ro(r),o=n==='"'?"Quote":"Apostrophe",a=r.enter("definition"),s=r.enter("label"),l=r.createTracker(i),u=l.move("[");return u+=l.move(r.safe(r.associationId(e),{before:u,after:"]",...l.current()})),u+=l.move("]: "),s(),!e.url||/^<|[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=r.enter("destinationRaw"),u+=l.move(r.safe(e.url,{before:u,after:e.title?" ":`
150
+ `,...l.current()}))),s(),e.title&&(s=r.enter(`title${o}`),u+=l.move(" "+n),u+=l.move(r.safe(e.title,{before:u,after:n,...l.current()})),u+=l.move(n),s()),a(),u}function K2(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function La(e){let t=e.codePointAt(0);return t===void 0?"":String.fromCodePoint(t)}function gi(e){let t=e.codePointAt(e.length-2);return t!==void 0&&t>65535?e.slice(-2):e.slice(-1)}function lu(e){return"&#x"+e.toString(16).toUpperCase()+";"}function pd(e,t,r){let i=vr(e),n=vr(t);return i===void 0?n===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:n===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:i===1?n===void 0?{inside:!1,outside:!1}:n===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:n===void 0?{inside:!1,outside:!1}:n===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function J2(e){if(e.charCodeAt(0)!==60)return;let t=e.charCodeAt(1);if(t===33){let s=e.charCodeAt(2);return s===45?2:s===91?5:We(s)?4:void 0}if(t===63)return 3;let r=t===47,i=r?2:1,n=i,o=e.charCodeAt(n);if(!We(o))return;for(;o===45||Ye(o);)o=e.charCodeAt(++n);let a=e.slice(i,n).toLowerCase();return!r&&o!==47&&Ea.includes(a)?1:ru.includes(a)?6:7}var W2=new Map([["*",!1],["_",!0]]);function gA(e,t,r){let i=new Set;for(let o of e){let a=r.get(o);if(a&&o.attention&&t.some(s=>s.attention===o.attention))for(let s of a.tokens)i.add(s.attention)}let n=[];for(let o of e)o.attention&&i.delete(o.attention)&&n.push(o.attention);return n.reverse(),n}function Y2(e,t,r){let i=[],n=new Map,o=new Map,a=0;for(;a<e.length;){if(!e[a].attention){a++;continue}let s=e[a].value.charAt(0),l=W2.get(s),u=a+1;for(;u<e.length&&e[u].attention&&e[u].value.charAt(0)===s;)u++;let c=a?e[a-1].value:t,f=vr(c.charCodeAt(c.length-1)),d=vr((u<e.length?e[u].value:r).charCodeAt(0)),m=!d||d===2&&!!f,h=!f||f===2&&!!d,v={tokens:e.slice(a,u),markers:[],start:0,end:0,open:l?m&&(!!f||!h):m,close:l?h&&(!!d||!m):h,split:l!==void 0};for(let y of v.tokens){n.set(y,[...v.tokens]),o.set(y,v);let b=y.value.length;for(;b--;)v.markers.push(y)}v.end=v.markers.length,i.push(v),a=u}for(yA(i,n),a=-1;++a<e.length;){let s=n.get(e[a]);if(s)return{attention:gA(e,s,o),index:a}}}function uu(e,t){let r=e[t?0:e.length-1];if(!r||r.attention)return;let i=t?La(r.value):gi(r.value),n=lu(i.codePointAt(0));if(t)r.value=n+r.value.slice(i.length);else{let o=r.value.slice(0,r.value.length-i.length),a=0;for(;o.charCodeAt(o.length-1-a)===92;)a++;a%2&&(o+="\\"),r.value=o+n}}function vA(e,t,r,i,n){for(let o of r.attention){let a=t.get(o)||o.sequences[0];for(let s of o.sequences){if(s===a)continue;let l=new Map(t);l.set(o,s);let u=cu(e,l,i,n),c=Y2(u,i,n);if(!c||c.index>r.index)return{chosen:l,mistake:c,tokens:u}}}}function yA(e,t){let r=new Map;for(let i of e){let n=i.tokens[0].value.charAt(0),o=r.get(n);o||(o=[],r.set(n,o));let a=i.close?o.length:0;for(;a--&&i.start<i.end;){let s=o[a],l=s.end-s.start,u=i.end-i.start;if(i.split?(s.close||i.open)&&u%3&&!((l+u)%3):l!==s.markers.length||l!==u)continue;let c=i.split?l>1&&u>1?2:1:u,f=s.markers.slice(s.end-c,s.end),d=i.markers.slice(i.start,i.start+c),m=f[0],h=d[0];if(m===f[c-1]&&m.value.length===c&&h===d[c-1]&&h.value.length===c&&m.attention===h.attention)t.delete(m),t.delete(h);else{let v=[...new Set([...f,...d])];for(let y of v){let b=t.get(y);b&&b.push(...v)}}s.end-=c,i.start+=c,s.start===s.end&&o.splice(a,1),a=o.length}i.open&&i.start<i.end&&o.push(i)}}function bA(e,t,r){if(t.length===0)throw new Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(r.length===0)throw new Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(let n of r)if(!Number.isSafeInteger(n)||n<1)throw new Error("Cannot serialize `"+e+"` as attention with `"+n+"` as size, expected positive integer");let i=[];for(let n of t){if(n.length!==1)throw new Error("Cannot serialize `"+e+"` as attention with `"+n+"` as marker, expected a single ascii character");if(!Hl(n.charCodeAt(0)))throw new Error("Cannot serialize `"+e+"` as attention with `"+n+"` as marker, expected ascii punctuation");for(let o of r)i.push(n.repeat(o))}return i}function xA(e,t,r){let i=t.indexStack,n=e.children||[],o=[],a=-1,s=r.before;i.push(-1);let l=t.createTracker(r);for(;++a<n.length;){let u=n[a],c;if(i[i.length-1]=a,a+1<n.length){let m=t.handle.handlers[n[a+1].type];m&&m.peek&&(m=m.peek),c=m?La(m(n[a+1],e,t,{before:"",after:"",...l.current()})):""}else c=r.after;let f=o[o.length-1];typeof f=="string"&&(s==="\r"||s===`
151
+ `)&&u.type==="html"&&J2(u.value)!==7&&(o[o.length-1]=f.replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(r),l.move(no(o,r.before,r.after)));let d=t.handle.handlers[u.type];if(d&&d.attention){let m=Ma(u,d.attention,t,l);if(!m)continue;o.push(m),s=gi(m.sequences[0])}else{let m=t.handle(u,e,t,{...l.current(),after:c,before:s});if(!m)continue;l.move(m),o.push(m),s=gi(m)}}return i.pop(),o}function Ma(e,t,r,i){let{construct:n,markers:o,sizes:a}=t(e,r),s=bA(e.type,o,a),l=s[0],u=r.enter(n),c=r.createTracker(i.current());c.move(l);let f=xA(e,r,{...c.current(),before:l,after:l});if(u(),f.length!==0)return i.move(l),i.move(no(f,l,l)),i.move(l),{children:f,sequences:s}}function G2(e,t,r,i){let n=cu(e,t,r,i),o=Y2(n,r,i);for(;o;){let a=vA(e,t,o,r,i);if(!a)return;t=a.chosen,n=a.tokens,o=a.mistake}return n}function X2(e,t,r,i){let n=r,o=-1;for(;++o<e.length;){let a=e[o];if(typeof a=="string"){n="";continue}let s=o===e.length-1?i:"",l=a.sequences.find(function(u){let c=u.charAt(0);return c!==n.charAt(0)&&c!==s.charAt(0)||e.length===1&&W2.has(c)&&u.length>r.length})||a.sequences[0];l!==a.sequences[0]&&t.set(a,l),X2(a.children,t,l,l),n=l}}function cu(e,t,r,i){let n=[],o,a=gi(r),s=-1;for(;++s<e.length;){let l=e[s];if(typeof l=="string"){let $={value:l,attention:void 0};o&&o===La(l)&&uu([$],!0),o=void 0,n.push($),$.value&&(a=gi($.value));continue}let u=t.get(l)||l.sequences[0],c=u.charAt(0),f=e[s+1],d=a,m=La(f===void 0?i:typeof f=="string"?f:t.get(f)||f.sequences[0]),h=cu(l.children,t,u,u),v=h[0].value,y=pd(d.charCodeAt(d.length-1),v.charCodeAt(0),c);y.inside&&uu(h,!0);let b=gi(h[h.length-1].value),w=pd(m.charCodeAt(0),b.charCodeAt(b.length-1),c);w.inside&&uu(h,!1),y.outside&&d!==`
152
+ `&&d!=="\r"&&uu(n,!1),w.outside&&(o=m),n.push({value:u,attention:l},...h,{value:u,attention:l}),a=u.charAt(u.length-1)}return n}function no(e,t,r){let i=new Map;X2(e,i,t,r);let n=(i.size>0?G2(e,i,t,r):void 0)||G2(e,new Map,t,r)||cu(e,new Map,t,r),o="";for(let a of n)o+=a.value;return o}fu.attention=Q2;fu.peek=wA;function fu(e,t,r,i){let n=r.enter("phrasing"),o=Ma(e,Q2,r,r.createTracker(i)),a=o?no([o],i.before,i.after):"";return n(),a}function Q2(e,t){return{construct:"emphasis",markers:K2(t)==="*"?["*","_"]:["_","*"],sizes:[1]}}function wA(e,t,r){return r.options.emphasis||"*"}function vi(e,t,r,i){let n,o,a;typeof r=="function"||r&&typeof r=="object"?(n=t,o=r,a=i):(o=t,a=r),typeof o=="function"?to(e,n,hd(o),a):to(e,n,kA(o),a)}function kA(e){return!e||typeof e!="object"?e:{enter:typeof e.enter=="function"?hd(e.enter):e.enter,exit:typeof e.exit=="function"?hd(e.exit):e.exit}}function hd(e){return t;function t(r,i,n){return e(r,n,i[i.length-1])}}function e5(e,t){let r=!1;return vi(e,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return r=!0,Mr}),!!((!e.depth||e.depth<3)&&Xt(e)&&(t.options.setext||r))}function t5(e,t,r,i){let n=Math.max(Math.min(6,e.depth||1),1),o=r.createTracker(i);if(e5(e,r)){let f=r.enter("headingSetext"),d=r.enter("phrasing"),m=r.containerPhrasing(e,{...o.current(),before:`
153
+ `,after:`
154
+ `});return d(),f(),m+`
155
+ `+(n===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
156
+ `))+1))}let a="#".repeat(n),s=r.enter("headingAtx"),l=r.enter("phrasing");o.move(a+" ");let u=r.containerPhrasing(e,{before:"# ",after:`
157
+ `,...o.current()}),c=u.charCodeAt(0);return(c===9||c===32)&&(u=lu(c)+u.slice(1)),u=u?a+" "+u:a,r.options.closeAtx&&(u+=" "+a),l(),s(),u}gd.peek=$A;function gd(e){return e.value||""}function $A(){return"<"}vd.peek=SA;function vd(e,t,r,i){let n=ro(r),o=n==='"'?"Quote":"Apostrophe",a=r.enter("image"),s=r.enter("label"),l=r.createTracker(i),u=l.move("![");return u+=l.move(r.safe(e.alt,{before:u,after:"]",...l.current()})),u+=l.move("]("),s(),!e.url&&e.title||/^<|[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=r.enter("destinationRaw"),u+=l.move(r.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=r.enter(`title${o}`),u+=l.move(" "+n),u+=l.move(r.safe(e.title,{before:u,after:n,...l.current()})),u+=l.move(n),s()),u+=l.move(")"),a(),u}function SA(){return"!"}yd.peek=_A;function yd(e,t,r,i){let n=e.referenceType,o=r.enter("imageReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("!["),u=r.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),a();let c=r.stack;r.stack=c.filter(function(d){return d!=="phrasing"}),a=r.enter("reference");let f=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return a(),r.stack=c,o(),n==="full"||!u||u!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function _A(){return"!"}bd.peek=IA;function bd(e,t,r){let i=e.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(i);)n+="`";for(/[^\n\r ]/.test(i)&&(/^[\n\r ]/.test(i)&&/[\n\r ]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o<r.unsafe.length;){let a=r.unsafe[o],s=r.compilePattern(a);if(!a.atBreak)continue;let l;for(;l=s.exec(i);){let u=l.index;i.charCodeAt(u)===10&&i.charCodeAt(u-1)===13&&u--,i=i.slice(0,u)+" "+i.slice(l.index+1)}}return n+i+n}function IA(){return"`"}function xd(e,t){let r=Xt(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}wd.peek=zA;function wd(e,t,r,i){let n=ro(r),o=n==='"'?"Quote":"Apostrophe",a=r.createTracker(i);if(xd(e,r)){let h=r.stack;r.stack=h.filter(function(b){return b!=="phrasing"});let v=r.enter("autolink"),y=a.move("<");return y+=a.move(r.containerPhrasing(e,{before:y,after:">",...a.current()})),y+=a.move(">"),v(),r.stack=h,y}let s=r.enter("link"),l=r.enter("label"),u=a.move("["),c=r.containerPhrasing(e,{before:u,after:"](",...a.current()});u+=a.move(c),l(),u+=a.move("](");let f=/^<|[\0- \u007F]/.test(e.url),d=i.before.charAt(i.before.length-1),m=e.title||void 0;if(!m&&!f&&(d===`
158
+ `||d==="\r")){let h=0;for(;h<c.length&&c.charCodeAt(h)!==93;)h+=c.charCodeAt(h)===92?2:1;c.charCodeAt(h+1)===58&&(m="")}return!e.url&&typeof m=="string"||f?(l=r.enter("destinationLiteral"),u+=a.move("<"),u+=a.move(r.safe(e.url,{before:u,after:">",...a.current()})),u+=a.move(">")):(l=r.enter("destinationRaw"),u+=a.move(r.safe(e.url,{before:u,after:typeof m=="string"?" ":")",...a.current()}))),l(),typeof m=="string"&&(l=r.enter(`title${o}`),u+=a.move(" "+n),u+=a.move(r.safe(m,{before:u,after:n,...a.current()})),u+=a.move(n),l()),u+=a.move(")"),s(),u}function zA(e,t,r){return xd(e,r)?"<":"["}kd.peek=AA;function kd(e,t,r,i){let n=e.referenceType,o=r.enter("linkReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("["),u=r.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),a();let c=r.stack;r.stack=c.filter(function(d){return d!=="phrasing"}),a=r.enter("reference");let f=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return a(),r.stack=c,o(),n==="full"||!u||u!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function AA(){return"["}function io(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function r5(e){let t=io(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function n5(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function mu(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function i5(e,t,r,i){let n=r.enter("list"),o=r.bulletCurrent,a=e.ordered?n5(r):io(r),s=e.ordered?a==="."?")":".":r5(r),l=t&&r.bulletLastUsed?a===r.bulletLastUsed:!1;if(!e.ordered){let c=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&c&&(!c.children||!c.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),mu(r)===a&&c){let f=-1;for(;++f<e.children.length;){let d=e.children[f];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=s),r.bulletCurrent=a;let u=r.containerFlow(e,i);return r.bulletLastUsed=a,r.bulletCurrent=o,n(),u}function o5(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function a5(e,t,r,i){let n=o5(r),o=r.bulletCurrent||io(r);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(n==="tab"||n==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);let s=r.createTracker(i);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,s.current()),c);return l(),u;function c(f,d,m){return d?(m?"":" ".repeat(a))+f:(m?o:o+" ".repeat(a-o.length))+f}}function s5(e,t,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),a=r.containerPhrasing(e,i);return o(),n(),a}function l5(e,t,r,i){if(!e.children.some(function(s){return md(s)}))return r.containerFlow(e,i);let o=r.enter("phrasing"),a=r.containerPhrasing(e,i);return o(),a}function u5(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}du.attention=c5;du.peek=TA;function du(e,t,r,i){let n=r.enter("phrasing"),o=Ma(e,c5,r,r.createTracker(i)),a=o?no([o],i.before,i.after):"";return n(),a}function c5(e,t){return{construct:"strong",markers:u5(t)==="*"?["*","_"]:["_","*"],sizes:[2]}}function TA(e,t,r){return r.options.strong||"*"}function f5(e,t,r,i){let n=t?t.children:[],o=r.indexStack[r.indexStack.length-1];return r.safe(e.value,{...i,afterNode:n[o+1],beforeNode:n[o-1]})}function m5(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function d5(e,t,r){let i=(mu(r)+(r.options.ruleSpaces?" ":"")).repeat(m5(r));return r.options.ruleSpaces?i.slice(0,-1):i}var oo={blockquote:q2,break:dd,code:V2,definition:H2,emphasis:fu,hardBreak:dd,heading:t5,html:gd,image:vd,imageReference:yd,inlineCode:bd,link:wd,linkReference:kd,list:i5,listItem:a5,paragraph:s5,root:l5,strong:du,text:f5,thematicBreak:d5};function Sd(){return{enter:{table:CA,tableData:p5,tableHeader:p5,tableRow:NA},exit:{codeText:EA,table:DA,tableData:$d,tableHeader:$d,tableRow:$d}}}function CA(e){let t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[],position:void 0},e),this.data.inTable=!0}function DA(e){this.exit(e),this.data.inTable=void 0}function NA(e){this.enter({type:"tableRow",children:[],position:void 0},e)}function $d(e){this.exit(e)}function p5(e){this.enter({type:"tableCell",children:[],position:void 0},e)}function EA(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,OA));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function OA(e,t){return t==="|"?t:e}function _d(e){let t=e||{},{tableCellPadding:r,tablePipeAlign:i,stringLength:n}=t,o=r?" ":"|";return{handlers:{inlineCode:d,table:a,tableCell:l,tableRow:s},join:[PA],unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
159
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}]};function a(m,h,v,y){let b=c(m,v,y),w=b[0];if(w){let $=m.align?m.align.length:0,z=-1;if(!$)for(;++z<b.length;)b[z].length>$&&($=b[z].length);for(;w.length<$;)w.push("")}return u(b,m.align)}function s(m,h,v,y){let b=f(m,v,y),w=u([b]);return w.slice(0,w.indexOf(`
160
+ `))}function l(m,h,v,y){let b=v.enter("tableCell"),w=v.enter("phrasing"),$=v.containerPhrasing(m,{...y,before:o,after:o});return w(),b(),$}function u(m,h){return M2(m,{align:h,alignDelimiters:i,fillRows:!1,padding:r,stringLength:n})}function c(m,h,v){let{children:y}=m,b=-1,w=[],$=h.enter("table");for(;++b<y.length;)w[b]=f(y[b],h,v);return $(),w}function f(m,h,v){let{children:y}=m,b=-1,w=[],$=h.enter("tableRow");for(;++b<y.length;)w[b]=l(y[b],m,h,v);return $(),w}function d(m,h,v){let y=oo.inlineCode(m,h,v);if(!v.stack.includes("tableCell"))return y;let b=[],w=0,$=y.indexOf("|");for(;$!==-1;){let z=$;for(;z>w&&y.charCodeAt(z-1)===92;)z--;b.push(y.slice(w,$)),($-z)%2===0&&b.push("\\"),w=$,$=y.indexOf("|",$+1)}return b.push(y.slice(w)),b.join("")}}function PA(e,t,r,i){if(e.type==="table"&&r.type==="listItem"&&r.spread===!1&&(t.type==="definition"||t.type==="heading"&&LA(t,i)||t.type==="paragraph"||t.type==="table"))return 1}function LA(e,t){let r=!1;return vi(e,function(i){if(i.type==="break"||"value"in i&&/\r?\n|\r/.test(i.value))return r=!0,Mr}),!!((!e.depth||e.depth<3)&&Xt(e)&&(t.options.setext||r))}function Id(){return{exit:{taskListCheckValueChecked:h5,taskListCheckValueUnchecked:h5,paragraph:MA}}}function zd(){return{handlers:{paragraph:jA},join:[UA]}}function h5(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function MA(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let i=r.children[0];if(i&&i.type==="text"){let n=t.children,o=-1,a;for(;++o<n.length;){let s=n[o];if(s.type==="paragraph"){a=s;break}}a===r&&(i.value=i.value.slice(1),i.value.length===0?r.children.shift():r.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,r.position.start={...i.position.start}))}}this.exit(e)}function jA(e,t,r,i){if(!t||t.type!=="listItem"||g5(t)!==e)return oo.paragraph(e,t,r,i);let n="["+(t.checked?"x":" ")+"] ",o=r.createTracker(i);o.move(n);let a=oo.paragraph(e.children.length>0?e:{type:"paragraph",children:[{type:"text",value:" "}]},t,r,{...i,...o.current()});return n+a}function UA(e,t,r){if(!(e.type==="definition"&&r.type==="listItem"))return;let i=g5(r);if(i&&r.children.indexOf(e)<r.children.indexOf(i))return 0}function g5(e){if(typeof e.checked=="boolean")for(let t of e.children){if(t.type==="paragraph")return t;if(t.type!=="definition")return}}function Ad(){return[od(),sd(),ud(),Sd(),Id()]}function Td(e){return{extensions:[ad(),ld(e),cd(),_d(e),zd()]}}var qA={tokenize:VA,partial:!0},v5={tokenize:HA,partial:!0},y5={tokenize:KA,partial:!0},b5={tokenize:JA,partial:!0},RA={tokenize:GA,partial:!0},x5={name:"wwwAutolink",tokenize:BA,previous:k5},w5={name:"protocolAutolink",tokenize:ZA,previous:$5},on={name:"emailAutolink",tokenize:FA,previous:S5},jr={};function Dd(){return{text:jr}}var yi=48;for(;yi<123;)jr[yi]=on,yi++,yi===58?yi=65:yi===91&&(yi=97);jr[43]=on;jr[45]=on;jr[46]=on;jr[95]=on;jr[72]=[on,w5];jr[104]=[on,w5];jr[87]=[on,x5];jr[119]=[on,x5];function FA(e,t,r){let i=this,n,o;return a;function a(f){return!Cd(f)||!S5.call(i,i.previous)||Nd(i.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(f))}function s(f){return Cd(f)?(e.consume(f),s):f===64?(e.consume(f),l):r(f)}function l(f){return f===46?e.check(RA,c,u)(f):f===45||f===95||Ye(f)?(o=!0,e.consume(f),l):c(f)}function u(f){return e.consume(f),n=!0,l}function c(f){return o&&n&&We(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function BA(e,t,r){let i=this;return n;function n(a){return a!==87&&a!==119||!k5.call(i,i.previous)||Nd(i.events)?r(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qA,e.attempt(v5,e.attempt(y5,o),r),r)(a))}function o(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function ZA(e,t,r){let i=this,n="",o=!1;return a;function a(f){return(f===72||f===104)&&$5.call(i,i.previous)&&!Nd(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),e.consume(f),s):r(f)}function s(f){if(We(f)&&n.length<5)return n+=String.fromCodePoint(f),e.consume(f),s;if(f===58){let d=n.toLowerCase();if(d==="http"||d==="https")return e.consume(f),l}return r(f)}function l(f){return f===47?(e.consume(f),o?u:(o=!0,l)):r(f)}function u(f){return f===null||mi(f)||$e(f)||_t(f)||Et(f)?r(f):e.attempt(v5,e.attempt(y5,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function VA(e,t,r){let i=0;return n;function n(a){return(a===87||a===119)&&i<3?(i++,e.consume(a),n):a===46&&i===3?(e.consume(a),o):r(a)}function o(a){return a===null?r(a):t(a)}}function HA(e,t,r){let i,n,o;return a;function a(u){return u===46||u===95?e.check(b5,l,s)(u):u===null||$e(u)||_t(u)||u!==45&&Et(u)?l(u):(o=!0,e.consume(u),a)}function s(u){return u===95?i=!0:(n=i,i=void 0),e.consume(u),a}function l(u){return n||i||!o?r(u):t(u)}}function KA(e,t){let r=0,i=0;return n;function n(a){return a===40?(r++,e.consume(a),n):a===41&&i<r?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(b5,t,o)(a):a===null||$e(a)||_t(a)?t(a):(e.consume(a),n)}function o(a){return a===41&&i++,e.consume(a),n}}function JA(e,t,r){return i;function i(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),i):s===38?(e.consume(s),o):s===93?(e.consume(s),n):s===60||s===null||$e(s)||_t(s)?t(s):r(s)}function n(s){return s===null||s===40||s===91||$e(s)||_t(s)?t(s):i(s)}function o(s){return We(s)?a(s):r(s)}function a(s){return s===59?(e.consume(s),i):We(s)?(e.consume(s),a):r(s)}}function GA(e,t,r){return i;function i(o){return e.consume(o),n}function n(o){return Ye(o)?r(o):t(o)}}function k5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||$e(e)}function $5(e){return!We(e)}function S5(e){return!(e===47||Cd(e))}function Cd(e){return e===43||e===45||e===46||e===95||Ye(e)}function Nd(e){let t=e.length,r=!1;for(;t--;){let i=e[t][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){r=!0;break}if(i._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var WA={tokenize:nT,partial:!0};function Ed(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:eT,continuation:{tokenize:tT},exit:rT}},text:{91:{name:"gfmFootnoteCall",tokenize:QA},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:YA,resolveTo:XA}}}}function YA(e,t,r){let i=this,n=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a;for(;n--;){let l=i.events[n][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!a||!a._balanced)return r(l);let u=Nt(i.sliceSerialize({start:a.end,end:i.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?r(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function XA(e,t){let r=e.length,i;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){i=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...l),e}function QA(e,t,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0,a;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(o>999||f===93&&!a||f===null||f===91||$e(f))return r(f);if(f===93){e.exit("chunkString");let d=e.exit("gfmFootnoteCallString");return n.includes(Nt(i.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return $e(f)||(a=!0),o++,e.consume(f),f===92?c:u}function c(f){return f===91||f===92||f===93?(e.consume(f),o++,u):u(f)}}function eT(e,t,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,a=0,s;return l;function l(h){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(h){return h===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(h)}function c(h){if(a>999||h===93&&!s||h===null||h===91||$e(h))return r(h);if(h===93){e.exit("chunkString");let v=e.exit("gfmFootnoteDefinitionLabelString");return o=Nt(i.sliceSerialize(v)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return $e(h)||(s=!0),a++,e.consume(h),h===92?f:c}function f(h){return h===91||h===92||h===93?(e.consume(h),a++,c):c(h)}function d(h){return h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),n.includes(o)||n.push(o),ce(e,m,"gfmFootnoteDefinitionWhitespace")):r(h)}function m(h){return t(h)}}function tT(e,t,r){return e.check(Lr,t,e.attempt(WA,t,r))}function rT(e){e.exit("gfmFootnoteDefinition")}function nT(e,t,r){let i=this;return ce(e,n,"gfmFootnoteDefinitionIndent",5);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):r(o)}}function Od(e){let r=(e||{}).singleTilde,i={name:"strikethrough",tokenize:o,resolveAll:n};return r==null&&(r=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function n(a,s){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let u=l;for(;u--;)if(a[u][0]==="exit"&&a[u][1].type==="strikethroughSequenceTemporary"&&a[u][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[u][1].end.offset-a[u][1].start.offset){a[l][1].type="strikethroughSequence",a[u][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},a[u][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[u][1].end),end:Object.assign({},a[l][1].start)},d=[["enter",c,s],["enter",a[u][1],s],["exit",a[u][1],s],["enter",f,s]],m=s.parser.constructs.insideSpan.null;m&&St(d,d.length,0,zn(m,a.slice(u+1,l),s)),St(d,d.length,0,[["exit",f,s],["enter",a[l][1],s],["exit",a[l][1],s],["exit",c,s]]),St(a,u-1,l-u+3,d),l=u+d.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function o(a,s,l){let u=this.previous,c=this.events,f=0;return d;function d(h){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(h):(a.enter("strikethroughSequenceTemporary"),m(h))}function m(h){let v=vr(u);if(h===126)return f>1?l(h):(a.consume(h),f++,m);if(f<2&&!r)return l(h);let y=a.exit("strikethroughSequenceTemporary"),b=vr(h);return y._open=!b||b===2&&!!v,y._close=!v||v===2&&!!b,s(h)}}}var pu=class{constructor(){this.map=[],this.index=new Map}add(t,r,i){iT(this,t,r,i)}consume(t){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let r=this.map.length,i=[];for(;r>0;)r-=1,i.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];i.push(t.slice()),t.length=0;let n=i.pop();for(;n;){for(let o of n)t.push(o);n=i.pop()}this.map.length=0,this.index.clear()}};function iT(e,t,r,i){if(r===0&&i.length===0)return;let n=e.index.get(t);if(n){n[1]+=r,n[2].push(...i);return}let o=[t,r,i];e.map.push(o),e.index.set(t,o)}function _5(e,t){let r=!1,i=[];for(;t<e.length;){let n=e[t];if(r){if(n[0]==="enter")n[1].type==="tableContent"&&i.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(n[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let o=i.length-1;i[o]=i[o]==="left"?"center":"right"}}else if(n[1].type==="tableDelimiterRow")break}else n[0]==="enter"&&n[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return i}function Pd(){return{flow:{null:{name:"table",tokenize:oT,resolveAll:aT}}}}function oT(e,t,r){let i=this,n=0,o=0,a;return s;function s(E){let ne=i.events.length-1;for(;ne>-1;){let{type:fe}=i.events[ne][1];if(fe==="lineEnding"||fe==="linePrefix")ne--;else break}let W=ne>-1?i.events[ne][1].type:null,Z=W==="tableHead"||W==="tableRow"?S:l;return Z===S&&i.parser.lazy[i.now().line]?r(E):Z(E)}function l(E){return e.enter("tableHead"),e.enter("tableRow"),u(E)}function u(E){return E===124||(a=!0,o+=1),c(E)}function c(E){return E===null?r(E):H(E)?o>1?(o=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),m):r(E):me(E)?ce(e,c,"whitespace")(E):(o+=1,a&&(a=!1,n+=1),E===124?(e.enter("tableCellDivider"),e.consume(E),e.exit("tableCellDivider"),a=!0,c):(e.enter("data"),f(E)))}function f(E){return E===null||E===124||$e(E)?(e.exit("data"),c(E)):(e.consume(E),E===92?d:f)}function d(E){return E===92||E===124?(e.consume(E),f):f(E)}function m(E){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(E):(e.enter("tableDelimiterRow"),a=!1,me(E)?ce(e,h,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):h(E))}function h(E){return E===45||E===58?y(E):E===124?(a=!0,e.enter("tableCellDivider"),e.consume(E),e.exit("tableCellDivider"),v):M(E)}function v(E){return me(E)?ce(e,y,"whitespace")(E):y(E)}function y(E){return E===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(E),e.exit("tableDelimiterMarker"),b):E===45?(o+=1,b(E)):E===null||H(E)?z(E):M(E)}function b(E){return E===45?(e.enter("tableDelimiterFiller"),w(E)):M(E)}function w(E){return E===45?(e.consume(E),w):E===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(E),e.exit("tableDelimiterMarker"),$):(e.exit("tableDelimiterFiller"),$(E))}function $(E){return me(E)?ce(e,z,"whitespace")(E):z(E)}function z(E){return E===124?h(E):E===null||H(E)?!a||n!==o?M(E):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(E)):M(E)}function M(E){return r(E)}function S(E){return e.enter("tableRow"),C(E)}function C(E){return E===124?(e.enter("tableCellDivider"),e.consume(E),e.exit("tableCellDivider"),C):E===null||H(E)?(e.exit("tableRow"),t(E)):me(E)?ce(e,C,"whitespace")(E):(e.enter("data"),D(E))}function D(E){return E===null||E===124||$e(E)?(e.exit("data"),C(E)):(e.consume(E),E===92?j:D)}function j(E){return E===92||E===124?(e.consume(E),D):D(E)}}function aT(e,t){let r=-1,i=!0,n=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,u,c,f,d=new pu;for(;++r<e.length;){let m=e[r],h=m[1];m[0]==="enter"?h.type==="tableHead"?(s=!1,l!==0&&(I5(d,t,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(r,0,[["enter",u,t]])):h.type==="tableRow"||h.type==="tableDelimiterRow"?(i=!0,f=void 0,o=[0,0,0,0],a=[0,r+1,0,0],s&&(s=!1,c={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(r,0,[["enter",c,t]])),n=h.type==="tableDelimiterRow"?2:c?3:1):n&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")?(i=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],f=hu(d,t,o,n,void 0,f),o=[0,0,0,0]),a[2]=r)):h.type==="tableCellDivider"&&(i?i=!1:(o[1]!==0&&(a[0]=a[1],f=hu(d,t,o,n,void 0,f)),o=a,a=[o[1],r,0,0])):h.type==="tableHead"?(s=!0,l=r):h.type==="tableRow"||h.type==="tableDelimiterRow"?(l=r,o[1]!==0?(a[0]=a[1],f=hu(d,t,o,n,r,f)):a[1]!==0&&(f=hu(d,t,a,n,r,f)),n=0):n&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")&&(a[3]=r)}for(l!==0&&I5(d,t,l,u,c),d.consume(t.events),r=-1;++r<t.events.length;){let m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=_5(t.events,r))}return e}function hu(e,t,r,i,n,o){let a=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",s="tableContent";r[0]!==0&&(o.end=Object.assign({},ao(t.events,r[0])),e.add(r[0],0,[["exit",o,t]]));let l=ao(t.events,r[1]);if(o={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",o,t]]),r[2]!==0){let u=ao(t.events,r[2]),c=ao(t.events,r[3]),f={type:s,start:Object.assign({},u),end:Object.assign({},c)};if(e.add(r[2],0,[["enter",f,t]]),i!==2){let d=t.events[r[2]],m=t.events[r[3]];if(d[1].end=Object.assign({},m[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){let h=r[2]+1,v=r[3]-r[2]-1;e.add(h,v,[])}}e.add(r[3]+1,0,[["exit",f,t]])}return n!==void 0&&(o.end=Object.assign({},ao(t.events,n)),e.add(n,0,[["exit",o,t]]),o=void 0),o}function I5(e,t,r,i,n){let o=[],a=ao(t.events,r);n&&(n.end=Object.assign({},a),o.push(["exit",n,t])),i.end=Object.assign({},a),o.push(["exit",i,t]),e.add(r+1,0,o)}function ao(e,t){let r=e[t],i=r[0]==="enter"?"start":"end";return r[1][i]}var sT={name:"tasklistCheck",tokenize:lT};function Ld(){return{text:{91:sT}}}function lT(e,t,r){let i=this;return n;function n(l){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?r(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),o)}function o(l){return $e(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):r(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):r(l)}function s(l){return H(l)?t(l):me(l)?e.check({tokenize:uT},t,r)(l):r(l)}}function uT(e,t,r){return ce(e,i,"whitespace");function i(n){return n===null?r(n):t(n)}}function z5(e){return Zl([Dd(),Ed(),Od(e),Pd(),Ld()])}var cT={};function gu(e){let t=this,r=e||cT,i=t.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),a=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(z5(r)),o.push(Ad()),a.push(Td(r))}function Md(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:o},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:r,mathFlowValue:s,mathText:a,mathTextData:s}};function e(l){let u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},l)}function t(){this.buffer()}function r(){let l=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=l}function i(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(l){let u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=u;let f=c.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function a(l){let u=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=u,c.data.hChildren.push({type:"text",value:u})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function jd(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),i.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
161
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:i}};function r(o,a,s,l){let u=o.value||"",c=s.createTracker(l),f="$".repeat(Math.max(su(u,"$")+1,2)),d=s.enter("mathFlow"),m=c.move(f);if(o.meta){let h=s.enter("mathFlowMeta");m+=c.move(s.safe(o.meta,{after:`
162
+ `,before:m,encode:["$"],...c.current()})),h()}return m+=c.move(`
163
+ `),u&&(m+=c.move(u+`
164
+ `)),m+=c.move(f),d(),m}function i(o,a,s){let l=o.value||"",u=1;for(t||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(l);)u++;let c="$".repeat(u);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f<s.unsafe.length;){let d=s.unsafe[f];if(!d.atBreak)continue;let m=s.compilePattern(d),h;for(;h=m.exec(l);){let v=h.index;l.codePointAt(v)===10&&l.codePointAt(v-1)===13&&v--,l=l.slice(0,v)+" "+l.slice(h.index+1)}}return c+l+c}function n(){return"$"}}var T5={tokenize:fT,concrete:!0,name:"mathFlow"},A5={tokenize:mT,partial:!0};function fT(e,t,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,a=0;return s;function s(w){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(w)}function l(w){return w===36?(e.consume(w),a++,l):a<2?r(w):(e.exit("mathFlowFenceSequence"),ce(e,u,"whitespace")(w))}function u(w){return w===null||H(w)?f(w):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(w))}function c(w){return w===null||H(w)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(w)):w===36?r(w):(e.consume(w),c)}function f(w){return e.exit("mathFlowFence"),i.interrupt?t(w):e.attempt(A5,d,y)(w)}function d(w){return e.attempt({tokenize:b,partial:!0},y,m)(w)}function m(w){return(o?ce(e,h,"linePrefix",o+1):h)(w)}function h(w){return w===null?y(w):H(w)?e.attempt(A5,d,y)(w):(e.enter("mathFlowValue"),v(w))}function v(w){return w===null||H(w)?(e.exit("mathFlowValue"),h(w)):(e.consume(w),v)}function y(w){return e.exit("mathFlow"),t(w)}function b(w,$,z){let M=0;return ce(w,S,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function S(j){return w.enter("mathFlowFence"),w.enter("mathFlowFenceSequence"),C(j)}function C(j){return j===36?(M++,w.consume(j),C):M<a?z(j):(w.exit("mathFlowFenceSequence"),ce(w,D,"whitespace")(j))}function D(j){return j===null||H(j)?(w.exit("mathFlowFence"),$(j)):z(j)}}}function mT(e,t,r){let i=this;return n;function n(a){return a===null?t(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?r(a):t(a)}}function C5(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:i,resolve:dT,previous:pT,name:"mathText"};function i(n,o,a){let s=this,l=0,u,c;return f;function f(y){return n.enter("mathText"),n.enter("mathTextSequence"),d(y)}function d(y){return y===36?(n.consume(y),l++,d):l<2&&!r?a(y):(n.exit("mathTextSequence"),m(y))}function m(y){return y===null?a(y):y===36?(c=n.enter("mathTextSequence"),u=0,v(y)):y===32?(n.enter("space"),n.consume(y),n.exit("space"),m):H(y)?(n.enter("lineEnding"),n.consume(y),n.exit("lineEnding"),m):(n.enter("mathTextData"),h(y))}function h(y){return y===null||y===32||y===36||H(y)?(n.exit("mathTextData"),m(y)):(n.consume(y),h)}function v(y){return y===36?(n.consume(y),u++,v):u===l?(n.exit("mathTextSequence"),n.exit("mathText"),o(y)):(c.type="mathTextData",h(y))}}}function dT(e){let t=e.length-4,r=3,i,n;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=r;++i<t;)if(e[i][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(i=r-1,t++;++i<=t;)n===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(n=i):(i===t||e[i][1].type==="lineEnding")&&(e[n][1].type="mathTextData",i!==n+2&&(e[n][1].end=e[i-1][1].end,e.splice(n+2,i-n-2),t-=i-n-2,i=n+2),n=void 0);return e}function pT(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Ud(e){return{flow:{36:T5},text:{36:C5(e)}}}var hT={};function vu(e){let t=this,r=e||hT,i=t.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),a=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(Ud(r)),o.push(Md()),a.push(jd(r))}var yu=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];var qd={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};function bu(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function D5(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function N5(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Rd(e){return N5(e)||bu(e)}var gT=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function ja(e,t){let r=t||{},i=typeof r.additional=="string"?r.additional.charCodeAt(0):r.additional,n=[],o=0,a=-1,s="",l,u;r.position&&("start"in r.position||"indent"in r.position?(u=r.position.indent,l=r.position.start):l=r.position);let c=(l?l.line:0)||1,f=(l?l.column:0)||1,d=h(),m;for(o--;++o<=e.length;)if(m===10&&(f=(u?u[a]:0)||1),m=e.charCodeAt(o),m===38){let b=e.charCodeAt(o+1);if(b===9||b===10||b===12||b===32||b===38||b===60||Number.isNaN(b)||i&&b===i){s+=String.fromCharCode(m),f++;continue}let w=o+1,$=w,z=w,M;if(b===35){z=++$;let Z=e.charCodeAt(z);Z===88||Z===120?(M="hexadecimal",z=++$):M="decimal"}else M="named";let S="",C="",D="",j=M==="named"?Rd:M==="decimal"?bu:D5;for(z--;++z<=e.length;){let Z=e.charCodeAt(z);if(!j(Z))break;D+=String.fromCharCode(Z),M==="named"&&yu.includes(D)&&(S=D,C=tn(D))}let E=e.charCodeAt(z)===59;if(E){z++;let Z=M==="named"?tn(D):!1;Z&&(S=D,C=Z)}let ne=1+z-w,W="";if(!(!E&&r.nonTerminated===!1))if(!D)M!=="named"&&v(4,ne);else if(M==="named"){if(E&&!C)v(5,1);else if(S!==D&&(z=$+S.length,ne=1+z-$,E=!1),!E){let Z=S?1:3;if(r.attribute){let fe=e.charCodeAt(z);fe===61?(v(Z,ne),C=""):Rd(fe)?C="":v(Z,ne)}else v(Z,ne)}W=C}else{E||v(2,ne);let Z=Number.parseInt(D,M==="hexadecimal"?16:10);if(vT(Z))v(7,ne),W="\uFFFD";else if(Z in qd)v(6,ne),W=qd[Z];else{let fe="";yT(Z)&&v(6,ne),Z>65535&&(Z-=65536,fe+=String.fromCharCode(Z>>>10|55296),Z=56320|Z&1023),W=fe+String.fromCharCode(Z)}}if(W){y(),d=h(),o=z-1,f+=z-w+1,n.push(W);let Z=h();Z.offset++,r.reference&&r.reference.call(r.referenceContext||void 0,W,{start:d,end:Z},e.slice(w-1,z)),d=Z}else D=e.slice(w-1,z),s+=D,f+=D.length,o=z-1}else m===10&&(c++,a++,f=0),Number.isNaN(m)?y():(s+=String.fromCharCode(m),f++);return n.join("");function h(){return{line:c,column:f,offset:o+((l?l.offset:0)||0)}}function v(b,w){let $;r.warning&&($=h(),$.column+=w,$.offset+=w,r.warning.call(r.warningContext||void 0,gT[b],$,b))}function y(){s&&(n.push(s),r.text&&r.text.call(r.textContext||void 0,s,{start:d,end:h()}),s="")}}function vT(e){return e>=55296&&e<=57343||e>1114111}function yT(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var bT=/["&'<>`]/g,xT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wT=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,kT=/[|\\{}()[\]^$+*?.]/g,E5=new WeakMap;function Fd(e,t){if(e=e.replace(t.subset?$T(t.subset):bT,i),t.subset||t.escapeOnly)return e;return e.replace(xT,r).replace(wT,i);function r(n,o,a){return t.format((n.charCodeAt(0)-55296)*1024+n.charCodeAt(1)-56320+65536,a.charCodeAt(o+2),t)}function i(n,o,a){return t.format(n.charCodeAt(0),a.charCodeAt(o+1),t)}}function $T(e){let t=E5.get(e);return t||(t=ST(e),E5.set(e,t)),t}function ST(e){let t=[],r=-1;for(;++r<e.length;)t.push(e[r].replace(kT,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}var _T=/[\dA-Fa-f]/;function O5(e,t,r){let i="&#x"+e.toString(16).toUpperCase();return r&&t&&!_T.test(String.fromCharCode(t))?i:i+";"}var IT=/\d/;function P5(e,t,r){let i="&#"+String(e);return r&&t&&!IT.test(String.fromCharCode(t))?i:i+";"}var xu={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"};var L5=["cent","copy","divide","gt","lt","not","para","times"];var M5={}.hasOwnProperty,Bd={},wu;for(wu in xu)M5.call(xu,wu)&&(Bd[xu[wu]]=wu);var zT=/[^\dA-Za-z]/;function j5(e,t,r,i){let n=String.fromCharCode(e);if(M5.call(Bd,n)){let o=Bd[n],a="&"+o;return r&&yu.includes(o)&&!L5.includes(o)&&(!i||t&&t!==61&&zT.test(String.fromCharCode(t)))?a:a+";"}return""}function U5(e,t,r){let i=r.omitOptionalSemicolons&&t!==59,n=O5(e,t,i),o;if((r.useNamedReferences||r.useShortestReferences)&&(o=j5(e,t,i,r.attribute)),(r.useShortestReferences||!o)&&r.useShortestReferences){let a=P5(e,t,i);a.length<n.length&&(n=a)}return o&&(!r.useShortestReferences||o.length<n.length)?o:n}function q5(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ur(e,t){return Fd(e,Object.assign({format:U5},t))}function Zd(e,t){return Fd(e,Object.assign({format:q5},t))}var AT={}.hasOwnProperty,TT={},CT={},R5=/^[^\t\n\r "#'.<=>`}]+$/,DT=/^[^\t\n\r "'<=>`}]+$/;function ep(e){let t=e||TT;return{canContainEols:["textDirective"],enter:{directiveContainer:NT,directiveContainerAttributes:Hd,directiveContainerLabel:PT,directiveLeaf:ET,directiveLeafAttributes:Hd,directiveText:OT,directiveTextAttributes:Hd},exit:{directiveContainer:Qd,directiveContainerAttributeClass:so,directiveContainerAttributeClassValue:Gd,directiveContainerAttributeId:so,directiveContainerAttributeIdValue:Jd,directiveContainerAttributeName:Yd,directiveContainerAttributeValue:Wd,directiveContainerAttributeValueLiteral:Kd,directiveContainerAttributes:Xd,directiveContainerLabel:LT,directiveContainerName:Vd,directiveContainerSequence:r,directiveLeaf:Qd,directiveLeafAttributeClass:so,directiveLeafAttributeClassValue:Gd,directiveLeafAttributeId:so,directiveLeafAttributeIdValue:Jd,directiveLeafAttributeName:Yd,directiveLeafAttributeValue:Wd,directiveLeafAttributeValueLiteral:Kd,directiveLeafAttributes:Xd,directiveLeafLabel:F5,directiveLeafName:Vd,directiveLeafSequence:r,directiveText:Qd,directiveTextAttributeClass:so,directiveTextAttributeClassValue:Gd,directiveTextAttributeId:so,directiveTextAttributeIdValue:Jd,directiveTextAttributeName:Yd,directiveTextAttributeValue:Wd,directiveTextAttributeValueLiteral:Kd,directiveTextAttributes:Xd,directiveTextLabel:F5,directiveTextMarker:r,directiveTextName:Vd}};function r(i){if(!t.verbose)return;let n=this.stack[this.stack.length-1];n.type==="containerDirective"||n.type==="leafDirective"||n.type;let o={start:Cn(i.start),end:Cn(i.end)};n.data&&n.data.position?(n.type,n.data.position.closing=o):n.data={position:{opening:o}}}}function tp(e){let t=e||CT;if(t.quote!=='"'&&t.quote!=="'"&&t.quote!==null&&t.quote!==void 0)throw new Error("Invalid quote `"+t.quote+"`, expected `'` or `\"`");return r.peek=MT,{handlers:{containerDirective:r,leafDirective:r,textDirective:r},unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
165
+ `,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{after:"[^\\s\\p{P}\\p{S}]",before:"[^:]",character:":",inConstruct:["phrasing"],unicode:!0},{afterNode:"textDirective",character:":",inConstruct:["phrasing"]},{atBreak:!0,before:":+",character:":"}]};function r(o,a,s,l){let u=s.createTracker(l),c=s.enter(o.type),f;if(o.type==="containerDirective"){let b=(o.children||[])[0],w=B5(b)?o.children.slice(1):o.children;if(w&&w.length>0){let $=u.current();f=s.containerFlow({...o,children:w},{now:{line:$.now.line+1,column:1+$.lineShift},lineShift:$.lineShift})}}let d=UT(o,f?qT(f):0),m=u.move(d+(o.name||"")),h=i(o,s),v=l.after.charCodeAt(0),y;if(o.type==="containerDirective"){let b=(o.children||[])[0];y=B5(b)?b:void 0}else y=o;if(y&&y.children&&y.children.length>0){let b=s.enter("label"),w=`${o.type}Label`,$=s.enter(w);m+=u.move("["),m+=u.move(s.containerPhrasing(y,{...u.current(),before:m,after:"]"})),m+=u.move("]"),$(),b()}else!h&&(v===45||v===58||v===95||!(Et(v)||_t(v)))&&(m+=u.move("[]"));return m+=u.move(h||(v===123?"{}":"")),o.type==="containerDirective"&&(f&&(m+=u.move(`
166
+ `+f)),m+=u.move(`
167
+ `+d)),c(),m}function i(o,a){let s=o.attributes||{},l=[],u,c,f,d;for(d in s)if(AT.call(s,d)&&s[d]!==void 0&&s[d]!==null){let m=jT(String(s[d]));if(d==="id")f=t.preferShortcut!==!1&&R5.test(m)?"#"+m:n("id",m,o,a);else if(d==="class"){let h=m.split(/[\t\n\r ]+/),v=[],y=[];for(let b of h)(t.preferShortcut!==!1&&R5.test(b)?y:v).push(b);u=v.length>0?n("class",v.join(" "),o,a):"",c=y.length>0?"."+y.join("."):""}else l.push(n(d,m,o,a))}return u&&l.unshift(u),c&&l.unshift(c),f&&l.unshift(f),l.length>0?"{"+l.join(" ")+"}":""}function n(o,a,s,l){if(t.collapseEmptyAttributes!==!1&&!a)return o;if(t.preferUnquoted&&DT.test(a))return o+"="+a;let u=t.quote||l.options.quote||'"',c=u==='"'?"'":'"',f=t.quoteSmart&&nn(a,u)>nn(a,c)?c:u,d=s.type==="textDirective"?[f]:[f,`
168
+ `,"\r"];return o+"="+f+Zd(a,{subset:d})+f}}function NT(e){rp.call(this,"containerDirective",e)}function ET(e){rp.call(this,"leafDirective",e)}function OT(e){rp.call(this,"textDirective",e)}function rp(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function Vd(e){let t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e),ku(t,e)}function PT(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function LT(e){this.exit(e);let t=this.stack[this.stack.length-1];t.type,ku(t,e)}function F5(e){let t=this.stack[this.stack.length-1];t.type==="leafDirective"||t.type,ku(t,e)}function Hd(){let e=this.stack[this.stack.length-1];e.type==="containerDirective"||e.type==="leafDirective"||e.type,e.data&&e.data.position&&(this.data.directiveAttributePositions={}),this.data.directiveAttributes=[],this.buffer()}function so(e){let t=this.data.directiveAttributePositions;if(t){let r=this.data.directiveAttributes;let i=r[r.length-1];t[i[0]]={start:Cn(e.start),end:Cn(e.end)}}}function Kd(e){Z5(this,e)}function Jd(e){let t=this.data.directiveAttributes;t.push(["id",ja(this.sliceSerialize(e),{attribute:!0})])}function Gd(e){let t=this.data.directiveAttributes;t.push(["class",ja(this.sliceSerialize(e),{attribute:!0})])}function Wd(e){let t=this.data.directiveAttributes;let r=t[t.length-1];r[1]=ja(this.sliceSerialize(e),{attribute:!0}),Z5(this,e)}function Yd(e){let t=this.data.directiveAttributes;let r=this.sliceSerialize(e);t.push([r,""]);let i=this.data.directiveAttributePositions;i&&(i[r]={start:Cn(e.start),end:Cn(e.end)})}function Xd(e){let t=this.data.directiveAttributes;let r={};for(let o of t)o[0]==="class"&&r.class?r.class+=" "+o[1]:r[o[0]]=o[1];let i=this.data.directiveAttributePositions;this.data.directiveAttributePositions=void 0,this.data.directiveAttributes=void 0,this.resume();let n=this.stack[this.stack.length-1];n.type==="containerDirective"||n.type==="leafDirective"||n.type,n.attributes=r,i&&(n.data&&n.data.position,n.data.position.attributes=i),ku(n,e)}function ku(e,t){if(e.data&&e.data.position){let{opening:r}=e.data.position;r.end=Cn(t.end)}}function Z5(e,t){let r=e.data.directiveAttributePositions;if(r){let i=e.data.directiveAttributes;let n=i[i.length-1];let o=r[n[0]];o.end=Cn(t.end)}}function Cn(e){return{line:e.line,column:e.column,offset:e.offset}}function Qd(e){this.exit(e)}function MT(){return":"}function jT(e){let t=[],r=0,i=e.indexOf("&");for(;i!==-1;){let n=e.charCodeAt(i+1);(n===35||We(n))&&(t.push(e.slice(r,i),"&#x26;"),r=i+1),i=e.indexOf("&",i+1)}return t.push(e.slice(r)),t.join("")}function B5(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function UT(e,t){let r=0;return e.type==="containerDirective"?r=Math.max(3,t+1):e.type==="leafDirective"?r=2:r=1,":".repeat(r)}function qT(e){let t=0,r=0;for(;r<e.length;){let i=0,n=e.charCodeAt(r);for(;n===9||n===32;)n=e.charCodeAt(++r);for(;n===58;)i++,n=e.charCodeAt(++r);for(;n===9||n===32;)n=e.charCodeAt(++r);for(;!(n===10||n===13||Number.isNaN(n));)i=0,n=e.charCodeAt(++r);i>t&&(t=i),r++}return t}function lo(e,t,r,i,n,o,a,s,l,u,c,f,d,m,h){let v,y;return b;function b(O){return e.enter(i),e.enter(n),e.consume(O),e.exit(n),w}function w(O){return O===35?(v=a,$(O)):O===46?(v=s,$(O)):h&&me(O)?ce(e,w,"whitespace")(O):!h&&$e(O)?yr(e,w)(O):O===null||H(O)||_t(O)||Et(O)&&O!==45&&O!==95?fe(O):(e.enter(o),e.enter(l),e.consume(O),S)}function $(O){let de=v+"Marker";return e.enter(o),e.enter(v),e.enter(de),e.consume(O),e.exit(de),z}function z(O){if(O===null||O===34||O===35||O===39||O===46||O===60||O===61||O===62||O===96||O===125||$e(O))return r(O);let de=v+"Value";return e.enter(de),e.consume(O),M}function M(O){if(O===null||O===34||O===39||O===60||O===61||O===62||O===96)return r(O);if(O===35||O===46||O===125||$e(O)){let de=v+"Value";return e.exit(de),e.exit(v),e.exit(o),w(O)}return e.consume(O),M}function S(O){return O===null||H(O)||_t(O)||Et(O)&&O!==45&&O!==46&&O!==58&&O!==95?(e.exit(l),h&&me(O)?ce(e,C,"whitespace")(O):!h&&$e(O)?yr(e,C)(O):C(O)):(e.consume(O),S)}function C(O){return O===61?(e.enter(u),e.consume(O),e.exit(u),D):(e.exit(o),w(O))}function D(O){return O===null||O===60||O===61||O===62||O===96||O===125||h&&H(O)?r(O):O===34||O===39?(e.enter(c),e.enter(d),e.consume(O),e.exit(d),y=O,E):h&&me(O)?ce(e,D,"whitespace")(O):!h&&$e(O)?yr(e,D)(O):(e.enter(f),e.enter(m),e.consume(O),y=void 0,j)}function j(O){return O===null||O===34||O===39||O===60||O===61||O===62||O===96?r(O):O===125||$e(O)?(e.exit(m),e.exit(f),e.exit(o),w(O)):(e.consume(O),j)}function E(O){return O===y?(e.enter(d),e.consume(O),e.exit(d),e.exit(c),e.exit(o),Z):(e.enter(f),ne(O))}function ne(O){return O===y?(e.exit(f),E(O)):O===null?r(O):H(O)?h?r(O):yr(e,ne)(O):(e.enter(m),e.consume(O),W)}function W(O){return O===y||O===null||H(O)?(e.exit(m),ne(O)):(e.consume(O),W)}function Z(O){return O===125||$e(O)?w(O):fe(O)}function fe(O){return O===125?(e.enter(n),e.consume(O),e.exit(n),e.exit(i),t):r(O)}}function uo(e,t,r,i,n,o,a){let s=0,l=0,u;return c;function c(y){return e.enter(i),e.enter(n),e.consume(y),e.exit(n),f}function f(y){return y===93?(e.enter(n),e.consume(y),e.exit(n),e.exit(i),t):(e.enter(o),d(y))}function d(y){if(y===93&&!l)return v(y);let b=e.enter("chunkText",{_contentTypeTextTrailing:!0,contentType:"text",previous:u});return u&&(u.next=b),u=b,m(y)}function m(y){return y===null||s>999||y===91&&++l>32?r(y):y===93&&!l--?(e.exit("chunkText"),v(y)):H(y)?a?r(y):(e.consume(y),e.exit("chunkText"),d):(e.consume(y),y===92?h:m)}function h(y){return y===91||y===92||y===93?(e.consume(y),s++,m):m(y)}function v(y){return e.exit(o),e.enter(n),e.consume(y),e.exit(n),e.exit(i),t}}function co(e,t,r,i){let n=this;return o;function o(s){return s===null||H(s)||Et(s)||_t(s)?r(s):(e.enter(i),e.consume(s),a)}function a(s){return s===null||H(s)||_t(s)||Et(s)&&s!==45&&s!==95?(e.exit(i),n.previous===45||n.previous===95?r(s):t(s)):(e.consume(s),a)}}var V5={tokenize:BT,concrete:!0},RT={tokenize:ZT,partial:!0},FT={tokenize:VT,partial:!0},$u={tokenize:HT,partial:!0};function BT(e,t,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,a=0,s;return l;function l(j){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),u(j)}function u(j){return j===58?(e.consume(j),a++,u):a<3?r(j):(e.exit("directiveContainerSequence"),co.call(i,e,c,r,"directiveContainerName")(j))}function c(j){return j===91?e.attempt(RT,f,f)(j):f(j)}function f(j){return j===123?e.attempt(FT,d,d)(j):d(j)}function d(j){return ce(e,m,"whitespace")(j)}function m(j){return e.exit("directiveContainerFence"),j===null?C(j):H(j)?i.interrupt?t(j):e.attempt($u,h,C)(j):r(j)}function h(j){return j===null?C(j):H(j)?e.check($u,$,C)(j):(e.enter("directiveContainerContent"),v(j))}function v(j){return e.attempt({tokenize:D,partial:!0},S,o?ce(e,y,"linePrefix",o+1):y)(j)}function y(j){return j===null?S(j):H(j)?e.check($u,w,S)(j):w(j)}function b(j){if(j===null){let E=e.exit("chunkDocument");return i.parser.lazy[E.start.line]=!1,S(j)}return H(j)?e.check($u,z,M)(j):(e.consume(j),b)}function w(j){let E=e.enter("chunkDocument",{contentType:"document",previous:s});return s&&(s.next=E),s=E,b(j)}function $(j){return e.enter("directiveContainerContent"),v(j)}function z(j){e.consume(j);let E=e.exit("chunkDocument");return i.parser.lazy[E.start.line]=!1,v}function M(j){let E=e.exit("chunkDocument");return i.parser.lazy[E.start.line]=!1,S(j)}function S(j){return e.exit("directiveContainerContent"),C(j)}function C(j){return e.exit("directiveContainer"),t(j)}function D(j,E,ne){let W=0;return ce(j,Z,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Z(de){return j.enter("directiveContainerFence"),j.enter("directiveContainerSequence"),fe(de)}function fe(de){return de===58?(j.consume(de),W++,fe):W<a?ne(de):(j.exit("directiveContainerSequence"),ce(j,O,"whitespace")(de))}function O(de){return de===null||H(de)?(j.exit("directiveContainerFence"),E(de)):ne(de)}}}function ZT(e,t,r){return uo(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function VT(e,t,r){return lo(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function HT(e,t,r){let i=this;return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o}function o(a){return i.parser.lazy[i.now().line]?r(a):t(a)}}var H5={tokenize:GT},KT={tokenize:WT,partial:!0},JT={tokenize:YT,partial:!0};function GT(e,t,r){let i=this;return n;function n(c){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(c),o}function o(c){return c===58?(e.consume(c),e.exit("directiveLeafSequence"),co.call(i,e,a,r,"directiveLeafName")):r(c)}function a(c){return c===91?e.attempt(KT,s,s)(c):s(c)}function s(c){return c===123?e.attempt(JT,l,l)(c):l(c)}function l(c){return ce(e,u,"whitespace")(c)}function u(c){return c===null||H(c)?(e.exit("directiveLeaf"),t(c)):r(c)}}function WT(e,t,r){return uo(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function YT(e,t,r){return lo(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}var K5={tokenize:tC,previous:eC},XT={tokenize:rC,partial:!0},QT={tokenize:nC,partial:!0};function eC(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function tC(e,t,r){let i=this;return n;function n(l){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(l),e.exit("directiveTextMarker"),co.call(i,e,o,r,"directiveTextName")}function o(l){return l===58?r(l):l===91?e.attempt(XT,a,a)(l):a(l)}function a(l){return l===123?e.attempt(QT,s,s)(l):s(l)}function s(l){return e.exit("directiveText"),t(l)}}function rC(e,t,r){return uo(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function nC(e,t,r){return lo(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function np(){return{text:{58:K5},flow:{58:[V5,H5]}}}function Su(){let t=this.data(),r=t.micromarkExtensions||(t.micromarkExtensions=[]),i=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),n=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);r.push(np()),i.push(ep()),n.push(tp())}var G5=Im(J5(),1),Ua=Object.assign(bi(Error),{eval:bi(EvalError),range:bi(RangeError),reference:bi(ReferenceError),syntax:bi(SyntaxError),type:bi(TypeError),uri:bi(URIError)});function bi(e){return t.displayName=e.displayName||e.name,t;function t(r,...i){let n=r&&(0,G5.default)(r,...i);return new e(n)}}var _u={}.hasOwnProperty,W5={yaml:"-",toml:"+"};function fo(e){let t=[],r=-1,i=Array.isArray(e)?e:e?[e]:["yaml"];for(;++r<i.length;)t[r]=iC(i[r]);return t}function iC(e){let t=e;if(typeof t=="string"){if(!_u.call(W5,t))throw Ua("Missing matter definition for `%s`",t);t={type:t,marker:W5[t]}}else if(typeof t!="object")throw Ua("Expected matter to be an object, not `%j`",t);if(!_u.call(t,"type"))throw Ua("Missing `type` in matter `%j`",t);if(!_u.call(t,"fence")&&!_u.call(t,"marker"))throw Ua("Missing `marker` or `fence` in matter `%j`",t);return t}function ap(e){let t=fo(e),r={},i=-1;for(;++i<t.length;){let n=t[i],o=op(n,"open").charCodeAt(0),a=oC(n),s=r[o];Array.isArray(s)?s.push(a):r[o]=[a]}return{flow:r}}function oC(e){let t=e.anywhere,r=e.type,i=r+"Fence",n=i+"Sequence",o=r+"Value",a={tokenize:c,partial:!0},s,l=0;return{tokenize:u,concrete:!0};function u(f,d,m){let h=this;return v;function v(C){let D=h.now();return D.column===1&&(D.line===1||t)&&(s=op(e,"open"),l=0,C===s.charCodeAt(l))?(f.enter(r),f.enter(i),f.enter(n),y(C)):m(C)}function y(C){return l===s.length?(f.exit(n),me(C)?(f.enter("whitespace"),b(C)):w(C)):C===s.charCodeAt(l++)?(f.consume(C),y):m(C)}function b(C){return me(C)?(f.consume(C),b):(f.exit("whitespace"),w(C))}function w(C){return H(C)?(f.exit(i),f.enter("lineEnding"),f.consume(C),f.exit("lineEnding"),s=op(e,"close"),l=0,f.attempt(a,S,$)):m(C)}function $(C){return C===null||H(C)?M(C):(f.enter(o),z(C))}function z(C){return C===null||H(C)?(f.exit(o),M(C)):(f.consume(C),z)}function M(C){return C===null?m(C):(f.enter("lineEnding"),f.consume(C),f.exit("lineEnding"),f.attempt(a,S,$))}function S(C){return f.exit(r),d(C)}}function c(f,d,m){let h=0;return v;function v($){return $===s.charCodeAt(h)?(f.enter(i),f.enter(n),y($)):m($)}function y($){return h===s.length?(f.exit(n),me($)?(f.enter("whitespace"),b($)):w($)):$===s.charCodeAt(h++)?(f.consume($),y):m($)}function b($){return me($)?(f.consume($),b):(f.exit("whitespace"),w($))}function w($){return $===null||H($)?(f.exit(i),d($)):m($)}}}function op(e,t){return e.marker?Y5(e.marker,t).repeat(3):Y5(e.fence,t)}function Y5(e,t){return typeof e=="string"?e:e[t]}function lp(e){let t=fo(e),r={},i={},n=-1;for(;++n<t.length;){let o=t[n];r[o.type]=aC(o),i[o.type]=sC,i[o.type+"Value"]=lC}return{enter:r,exit:i}}function aC(e){return t;function t(r){this.enter({type:e.type,value:""},r),this.buffer()}}function sC(e){let t=this.resume(),r=this.stack[this.stack.length-1];"value"in r,this.exit(e),r.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function lC(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function up(e){let t=[],r={},i=fo(e),n=-1;for(;++n<i.length;){let o=i[n];r[o.type]=uC(o);let a=sp(o,"open");t.push({atBreak:!0,character:a.charAt(0),after:Pa(a.charAt(1))})}return{unsafe:t,handlers:r}}function uC(e){let t=sp(e,"open"),r=sp(e,"close");return i;function i(n){return t+(n.value?`
169
+ `+n.value:"")+`
170
+ `+r}}function sp(e,t){return e.marker?X5(e.marker,t).repeat(3):X5(e.fence,t)}function X5(e,t){return typeof e=="string"?e:e[t]}var cC="yaml";function Iu(e){let t=this,r=e||cC,i=t.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),a=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(ap(r)),o.push(lp(r)),a.push(up(r))}function Q5(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function ex(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
171
+ `}]}function tx(e,t){let r=t.value?t.value+`
172
+ `:"",i={},n=t.lang?t.lang.split(/\s+/):[];n.length>0&&(i.className=["language-"+n[0]]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:r}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function rx(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function nx(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function ix(e,t){let r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),n=gr(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),a,s=e.footnoteCounts.get(i);s===void 0?(s=0,e.footnoteOrder.push(i),a=e.footnoteOrder.length):a=o+1,s+=1,e.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function ox(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function ax(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function zu(e,t){let r=t.referenceType,i="]";if(r==="collapsed"?i+="[]":r==="full"&&(i+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+i}];let n=e.all(t),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let a=n[n.length-1];return a&&a.type==="text"?a.value+=i:n.push({type:"text",value:i}),n}function sx(e,t){let r=String(t.identifier).toUpperCase(),i=e.definitionById.get(r);if(!i)return zu(e,t);let n={src:gr(i.url||"")};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,o),e.applyData(t,o)}function lx(e,t){let r={src:gr(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function ux(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let i={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,i),e.applyData(t,i)}function cx(e,t){let r=String(t.identifier).toUpperCase(),i=e.definitionById.get(r);if(!i)return zu(e,t);let n={href:gr(i.url||"")};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function fx(e,t){let r={href:gr(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function mx(e,t,r){let i=e.all(t),n=r?fC(r):dx(t),o={},a=[];if(typeof t.checked=="boolean"){let c=i[0],f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},i.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<i.length;){let c=i[s];(n||s!==0||c.type!=="element"||c.tagName!=="p")&&a.push({type:"text",value:`
173
+ `}),c.type==="element"&&c.tagName==="p"&&!n?a.push(...c.children):a.push(c)}let l=i[i.length-1];l&&(n||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
174
+ `});let u={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,u),e.applyData(t,u)}function fC(e){let t=!1;if(e.type==="list"){t=e.spread||!1;let{children:r}=e,i=-1;for(;!t&&++i<r.length;)t=dx(r[i])}return t}function dx(e){let{spread:t}=e;return t??e.children.length>1}function px(e,t){let r={},i=e.all(t),n=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++n<i.length;){let a=i[n];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function hx(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function gx(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function vx(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var Au=yx("end"),Tu=yx("start");function yx(e){return t;function t(r){let i=r&&r.position&&r.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function cp(e){let t=Tu(e),r=Au(e);if(t&&r)return{start:t,end:r}}function bx(e,t){let r=e.all(t),i=r.shift(),n=[];if(i){let a={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(t.children[0],a),n.push(a)}if(r.length>0){let a={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=Tu(t.children[1]),l=Au(t.children[t.children.length-1]);s&&l&&(a.position={start:s,end:l}),n.push(a)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(n,!0)};return e.patch(t,o),e.applyData(t,o)}function xx(e,t,r){let i=r?r.children:void 0,o=(i?i.indexOf(t):1)===0?"th":"td",a=r&&r.type==="table"?r.align:void 0,s=a?a.length:t.children.length,l=-1,u=[];for(;++l<s;){let f=t.children[l],d={},m=a?a[l]:void 0;m&&(d.align=m);let h={type:"element",tagName:o,properties:d,children:[]};f&&(h.children=e.all(f),e.patch(f,h),h=e.applyData(f,h)),u.push(h)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function wx(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function $x(e){let t=String(e),r=/\r?\n|\r/g,i=r.exec(t),n=0,o=[];for(;i;)o.push(kx(t.slice(n,i.index),n>0,!0),i[0]),n=i.index+i[0].length,i=r.exec(t);return o.push(kx(t.slice(n),n>0,!1)),o.join("")}function kx(e,t,r){let i=0,n=e.length;if(t){let o=e.codePointAt(i);for(;o===9||o===32;)i++,o=e.codePointAt(i)}if(r){let o=e.codePointAt(n-1);for(;o===9||o===32;)n--,o=e.codePointAt(n-1)}return n>i?e.slice(i,n):""}function Sx(e,t){let r={type:"text",value:$x(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function _x(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}var Dn={blockquote:Q5,break:ex,code:tx,delete:rx,emphasis:nx,footnoteReference:ix,heading:ox,html:ax,imageReference:sx,image:lx,inlineCode:ux,linkReference:cx,link:fx,listItem:mx,list:px,paragraph:hx,root:gx,strong:vx,table:bx,tableCell:wx,tableRow:xx,text:Sx,thematicBreak:_x,toml:Cu,yaml:Cu,definition:Cu,footnoteDefinition:Cu};function Cu(){}var{defineProperty:hC}=Object,Dx=typeof self=="object"?self:globalThis,Ix=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Dx[e](t)},gC=(e,t)=>{let r=(n,o)=>(e.set(o,n),n),i=n=>{if(e.has(n))return e.get(n);let[o,a]=t[n];switch(o){case 0:case-1:return r(a,n);case 1:{let s=r([],n);for(let l of a)s.push(i(l));return s}case 2:{let s=r({},n);for(let[l,u]of a){let c=i(l),f=i(u);c==="__proto__"?hC(s,c,{value:f,configurable:!0,enumerable:!0,writable:!0}):s[c]=f}return s}case 3:return r(new Date(a),n);case 4:{let{source:s,flags:l}=a;return r(new RegExp(s,l),n)}case 5:{let s=r(new Map,n);for(let[l,u]of a)s.set(i(l),i(u));return s}case 6:{let s=r(new Set,n);for(let l of a)s.add(i(l));return s}case 7:{let{name:s,message:l}=a;return r(typeof Dx[s]=="function"?Ix(s,l):new Error(l),n)}case 8:return r(BigInt(a),n);case"BigInt":return r(Object(BigInt(a)),n);case"ArrayBuffer":return r(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:s}=new Uint8Array(a);return r(new DataView(s),a)}case"-0":return-0}return r(Ix(o,a),n)};return i},dp=e=>gC(new Map,e)(0);var xi="",{toString:vC}={},{keys:yC,is:bC}=Object,qa=e=>{let t=typeof e;if(t!=="object"||!e)return[0,t];let r=vC.call(e).slice(8,-1);switch(r){case"Array":return[1,xi];case"Object":return[2,xi];case"Date":return[3,xi];case"RegExp":return[4,xi];case"Map":return[5,xi];case"Set":return[6,xi];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:e instanceof Error?[7,e.name||"Error"]:[2,r]},Nu=([e,t])=>e===0&&(t==="function"||t==="symbol"),xC=(e,t,r,i)=>{let n=(a,s)=>{let l=i.push(a)-1;return r.set(s,l),l},o=a=>{if(r.has(a))return r.get(a);let[s,l]=qa(a);switch(s){case 0:{let c=a;switch(l){case"bigint":s=8,c=a.toString();break;case"number":if(!a&&bC(a,-0))return i.push(["-0"])-1;break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return n([-1],a)}return n([s,c],a)}case 1:{if(l){let d=a;return l==="DataView"?d=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(d=new Uint8Array(a)),n([l,[...d]],a)}let c=[],f=n([s,c],a);for(let d of a)c.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,a.toString()],a);case"Boolean":case"Number":case"String":return n([l,a.valueOf()],a)}if(t&&"toJSON"in a)return o(a.toJSON());let c=[],f=n([s,c],a);for(let d of yC(a))(e||!Nu(qa(a[d])))&&c.push([o(d),o(a[d])]);return f}case 3:return n([s,isNaN(a.getTime())?xi:a.toISOString()],a);case 4:{let{source:c,flags:f}=a;return n([s,{source:c,flags:f}],a)}case 5:{let c=[],f=n([s,c],a);for(let[d,m]of a)(e||!(Nu(qa(d))||Nu(qa(m))))&&c.push([o(d),o(m)]);return f}case 6:{let c=[],f=n([s,c],a);for(let d of a)(e||!Nu(qa(d)))&&c.push(o(d));return f}}let{message:u}=a;return n([s,{name:l,message:u}],a)};return o},pp=(e,{json:t,lossy:r}={})=>{let i=[];return xC(!(t||r),!!t,new Map,i)(e),i};var mo=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?dp(pp(e,t)):structuredClone(e):(e,t)=>dp(pp(e,t));function wC(e,t){let r=[{type:"text",value:"\u21A9"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function kC(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Nx(e){let t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||wC,i=e.options.footnoteBackLabel||kC,n=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=[],u=-1;for(;++u<e.footnoteOrder.length;){let c=e.footnoteById.get(e.footnoteOrder[u]);c&&(s[u]=e.all(c))}for(u=-1;++u<e.footnoteOrder.length;){let c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;let f=s[u],d=String(c.identifier).toUpperCase(),m=gr(d.toLowerCase()),h=0,v=[],y=e.footnoteCounts.get(d);for(;y!==void 0&&++h<=y;){v.length>0&&v.push({type:"text",value:" "});let $=typeof r=="string"?r:r(u,h);typeof $=="string"&&($={type:"text",value:$}),v.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(u,h),className:["data-footnote-backref"]},children:Array.isArray($)?$:[$]})}let b=f[f.length-1];if(b&&b.type==="element"&&b.tagName==="p"){let $=b.children[b.children.length-1];$&&$.type==="text"?$.value+=" ":b.children.push({type:"text",value:" "}),b.children.push(...v)}else f.push(...v);let w={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(f,!0)};e.patch(c,w),l.push(w)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...mo(a),id:"footnote-label"},children:[{type:"text",value:n}]},{type:"text",value:`
175
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
176
+ `}]}}var hp={}.hasOwnProperty,$C={};function Ox(e,t){let r=t||$C,i=new Map,n=new Map,o=new Map,a={...Dn,...r.handlers},s={all:u,applyData:_C,definitionById:i,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:a,one:l,options:r,patch:SC,wrap:zC};return vi(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){let f=String(c.identifier).toUpperCase();c.type==="definition"?i.has(f)||i.set(f,c):n.has(f)||n.set(f,c)}}),s;function l(c,f){let{type:d}=c,m=s.handlers[d];if(hp.call(s.handlers,d)&&m)return m(s,c,f);if(s.options.passThrough&&s.options.passThrough.includes(d)){if("children"in c){let{children:v,...y}=c;return{...mo(y),children:s.all(c)}}return mo(c)}return(s.options.unknownHandler||IC)(s,c,f)}function u(c){let f=[];if("children"in c){let d=c.children,m=-1;for(;++m<d.length;){let h=s.one(d[m],c);if(h){if(m&&d[m-1].type==="break"&&(!Array.isArray(h)&&h.type==="text"&&(h.value=Ex(h.value)),!Array.isArray(h)&&h.type==="element")){let v=h.children[0];v&&v.type==="text"&&(v.value=Ex(v.value))}Array.isArray(h)?f.push(...h):f.push(h)}}}return f}}function SC(e,t){e.position&&(t.position=cp(e))}function _C(e,t){let r=t;if(e&&e.data){let{hChildren:i,hName:n,hProperties:o}=e.data;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{let a="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:a}}r.type==="element"&&o&&Object.assign(r.properties,mo(o)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function IC(e,t){let r=t.data||{},i="value"in t&&!(hp.call(r,"hProperties")||hp.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function zC(e,t){let r=[],i=-1;for(t&&r.push({type:"text",value:`
177
+ `});++i<e.length;)i&&r.push({type:"text",value:`
178
+ `}),r.push(e[i]);return t&&e.length>0&&r.push({type:"text",value:`
179
+ `}),r}function Ex(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function gp(e,t){let r=Ox(e,t),i=r.one(e,void 0),n=Nx(r),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return n&&("children"in o,o.children.push({type:"text",value:`
180
+ `},n)),o}var Px=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var an=class{constructor(t,r,i){this.normal=r,this.property=t,i&&(this.space=i)}};an.prototype.normal={};an.prototype.property={};an.prototype.space=void 0;function vp(e,t){let r={},i={};for(let n of e)Object.assign(r,n.property),Object.assign(i,n.normal);return new an(r,i,t)}function Ra(e){return e.toLowerCase()}var It=class{constructor(t,r){this.attribute=r,this.property=t}};It.prototype.attribute="";It.prototype.booleanish=!1;It.prototype.boolean=!1;It.prototype.commaOrSpaceSeparated=!1;It.prototype.commaSeparated=!1;It.prototype.defined=!1;It.prototype.mustUseProperty=!1;It.prototype.number=!1;It.prototype.overloadedBoolean=!1;It.prototype.property="";It.prototype.spaceSeparated=!1;It.prototype.space=void 0;var Fa={};zr(Fa,{boolean:()=>we,booleanish:()=>lt,commaOrSpaceSeparated:()=>Qt,commaSeparated:()=>sn,number:()=>Y,overloadedBoolean:()=>Eu,spaceSeparated:()=>je});var AC=0,we=wi(),lt=wi(),Eu=wi(),Y=wi(),je=wi(),sn=wi(),Qt=wi();function wi(){return 2**++AC}var yp=Object.keys(Fa),ki=class extends It{constructor(t,r,i,n){let o=-1;if(super(t,r),Lx(this,"space",n),typeof i=="number")for(;++o<yp.length;){let a=yp[o];Lx(this,yp[o],(i&Fa[a])===Fa[a])}}};ki.prototype.defined=!0;function Lx(e,t,r){r&&(e[t]=r)}function br(e){let t={},r={};for(let[i,n]of Object.entries(e.properties)){let o=new ki(i,e.transform(e.attributes||{},i),n,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,r[Ra(i)]=i,r[Ra(o.attribute)]=i}return new an(t,r,e.space)}var bp=br({properties:{ariaActiveDescendant:null,ariaAtomic:lt,ariaAutoComplete:null,ariaBusy:lt,ariaChecked:lt,ariaColCount:Y,ariaColIndex:Y,ariaColSpan:Y,ariaControls:je,ariaCurrent:null,ariaDescribedBy:je,ariaDetails:null,ariaDisabled:lt,ariaDropEffect:je,ariaErrorMessage:null,ariaExpanded:lt,ariaFlowTo:je,ariaGrabbed:lt,ariaHasPopup:null,ariaHidden:lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:je,ariaLevel:Y,ariaLive:null,ariaModal:lt,ariaMultiLine:lt,ariaMultiSelectable:lt,ariaOrientation:null,ariaOwns:je,ariaPlaceholder:null,ariaPosInSet:Y,ariaPressed:lt,ariaReadOnly:lt,ariaRelevant:null,ariaRequired:lt,ariaRoleDescription:je,ariaRowCount:Y,ariaRowIndex:Y,ariaRowSpan:Y,ariaSelected:lt,ariaSetSize:Y,ariaSort:null,ariaValueMax:Y,ariaValueMin:Y,ariaValueNow:Y,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Ou(e,t){return t in e?e[t]:t}function Pu(e,t){return Ou(e,t.toLowerCase())}var Mx=br({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:sn,acceptCharset:je,accessKey:je,action:null,allow:null,allowFullScreen:we,allowPaymentRequest:we,allowUserMedia:we,alpha:we,alt:null,as:null,async:we,autoCapitalize:null,autoComplete:je,autoFocus:we,autoPlay:we,blocking:je,capture:null,charSet:null,checked:we,cite:null,className:je,closedBy:null,colorSpace:null,cols:Y,colSpan:Y,command:null,commandFor:null,content:null,contentEditable:lt,controls:we,controlsList:je,coords:Y|sn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:we,defer:we,dir:null,dirName:null,disabled:we,download:Eu,draggable:lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:we,formTarget:null,headers:je,height:Y,hidden:Eu,high:Y,href:null,hrefLang:null,htmlFor:je,httpEquiv:je,id:null,imageSizes:null,imageSrcSet:null,inert:we,inputMode:null,integrity:null,is:null,isMap:we,itemId:null,itemProp:je,itemRef:je,itemScope:we,itemType:je,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:we,low:Y,manifest:null,max:null,maxLength:Y,media:null,method:null,min:null,minLength:Y,multiple:we,muted:we,name:null,nonce:null,noModule:we,noValidate:we,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:we,optimum:Y,pattern:null,ping:je,placeholder:null,playsInline:we,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:we,referrerPolicy:null,rel:je,required:we,reversed:we,rows:Y,rowSpan:Y,sandbox:je,scope:null,scoped:we,seamless:we,selected:we,shadowRootClonable:we,shadowRootCustomElementRegistry:we,shadowRootDelegatesFocus:we,shadowRootMode:null,shadowRootSerializable:we,shape:null,size:Y,sizes:null,slot:null,span:Y,spellCheck:lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Y,step:null,style:null,tabIndex:Y,target:null,title:null,translate:null,type:null,typeMustMatch:we,useMap:null,value:lt,width:Y,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:je,axis:null,background:null,bgColor:null,border:Y,borderColor:null,bottomMargin:Y,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:we,declare:we,event:null,face:null,frame:null,frameBorder:null,hSpace:Y,leftMargin:Y,link:null,longDesc:null,lowSrc:null,marginHeight:Y,marginWidth:Y,noResize:we,noHref:we,noShade:we,noWrap:we,object:null,profile:null,prompt:null,rev:null,rightMargin:Y,rules:null,scheme:null,scrolling:lt,standby:null,summary:null,text:null,topMargin:Y,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Y,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:we,disablePictureInPicture:we,disableRemotePlayback:we,exportParts:sn,part:je,prefix:null,property:null,results:Y,security:null,unselectable:null},space:"html",transform:Pu});var jx=br({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Qt,accentHeight:Y,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Y,amplitude:Y,arabicForm:null,ascent:Y,attributeName:null,attributeType:null,azimuth:Y,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Y,by:null,calcMode:null,capHeight:Y,className:je,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Y,diffuseConstant:Y,direction:null,display:null,dur:null,divisor:Y,dominantBaseline:null,download:we,dx:null,dy:null,edgeMode:null,editable:null,elevation:Y,enableBackground:null,end:null,event:null,exponent:Y,externalResourcesRequired:null,fill:null,fillOpacity:Y,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:sn,g2:sn,glyphName:sn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Y,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Y,horizOriginX:Y,horizOriginY:Y,id:null,ideographic:Y,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Y,k:Y,k1:Y,k2:Y,k3:Y,k4:Y,kernelMatrix:Qt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Y,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Y,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Y,overlineThickness:Y,paintOrder:null,panose1:null,path:null,pathLength:Y,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:je,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Y,pointsAtY:Y,pointsAtZ:Y,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qt,rev:Qt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qt,requiredFeatures:Qt,requiredFonts:Qt,requiredFormats:Qt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Y,specularExponent:Y,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Y,strikethroughThickness:Y,string:null,stroke:null,strokeDashArray:Qt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Y,strokeOpacity:Y,strokeWidth:null,style:null,surfaceScale:Y,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qt,tabIndex:Y,tableValues:null,target:null,targetX:Y,targetY:Y,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Y,underlineThickness:Y,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Y,values:null,vAlphabetic:Y,vMathematical:Y,vectorEffect:null,vHanging:Y,vIdeographic:Y,version:null,vertAdvY:Y,vertOriginX:Y,vertOriginY:Y,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Y,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ou});var xp=br({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}});var wp=br({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Pu});var kp=br({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var TC=/[A-Z]/g,Ux=/-[a-z]/g,CC=/^data[-\w.:]+$/i;function $p(e,t){let r=Ra(t),i=t,n=It;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&CC.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(Ux,NC);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!Ux.test(o)){let a=o.replace(TC,DC);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}n=ki}return new n(i,t)}function DC(e){return"-"+e.toLowerCase()}function NC(e){return e.charAt(1).toUpperCase()}var Lu=vp([bp,Mx,xp,wp,kp],"html"),Mu=vp([bp,jx,xp,wp,kp],"svg");var EC=/^>|^->|<!--|-->|--!>|<!-$/g,OC=[">"],PC=["<",">"];function qx(e,t,r,i){return i.settings.bogusComments?"<?"+Ur(e.value,Object.assign({},i.settings.characterReferences,{subset:OC}))+">":"<!--"+e.value.replace(EC,n)+"-->";function n(o){return Ur(o,Object.assign({},i.settings.characterReferences,{subset:PC}))}}function Rx(e,t,r,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Fx(e,t){let r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}function Bx(e){return e.join(" ").trim()}var LC=/[ \t\n\f\r]/g;function $i(e){return typeof e=="object"?e.type==="text"?Zx(e.value):!1:Zx(e)}function Zx(e){return e.replace(LC,"")===""}var ft=Vx(1),Sp=Vx(-1),MC=[];function Vx(e){return t;function t(r,i,n){let o=r?r.children:MC,a=(i||0)+e,s=o[a];if(!n)for(;s&&$i(s);)a+=e,s=o[a];return s}}var jC={}.hasOwnProperty;function ju(e){return t;function t(r,i,n){return jC.call(e,r.tagName)&&e[r.tagName](r,i,n)}}var Ba=ju({body:qC,caption:_p,colgroup:_p,dd:ZC,dt:BC,head:_p,html:UC,li:FC,optgroup:VC,option:HC,p:RC,rp:Hx,rt:Hx,tbody:JC,td:Kx,tfoot:GC,th:Kx,thead:KC,tr:WC});function _p(e,t,r){let i=ft(r,t,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&$i(i.value.charAt(0)))}function UC(e,t,r){let i=ft(r,t);return!i||i.type!=="comment"}function qC(e,t,r){let i=ft(r,t);return!i||i.type!=="comment"}function RC(e,t,r){let i=ft(r,t);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"||r.tagName.includes("-")))}function FC(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&i.tagName==="li"}function BC(e,t,r){let i=ft(r,t);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function ZC(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function Hx(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function VC(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&i.tagName==="optgroup"}function HC(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function KC(e,t,r){let i=ft(r,t);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function JC(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function GC(e,t,r){return!ft(r,t)}function WC(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&i.tagName==="tr"}function Kx(e,t,r){let i=ft(r,t);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}var Jx=ju({body:QC,colgroup:eD,head:XC,html:YC,tbody:tD});function YC(e){let t=ft(e,-1);return!t||t.type!=="comment"}function XC(e){let t=new Set;for(let i of e.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(t.has(i.tagName))return!1;t.add(i.tagName)}let r=e.children[0];return!r||r.type==="element"}function QC(e){let t=ft(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&$i(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function eD(e,t,r){let i=Sp(r,t);if(r&&i&&i.type==="element"&&i.tagName==="colgroup"&&Ba(i,r.children.indexOf(i),r))return!1;let n=ft(e,-1,!0);return!!(n&&n.type==="element"&&n.tagName==="col")}function tD(e,t,r){let i=Sp(r,t);if(r&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&Ba(i,r.children.indexOf(i),r))return!1;let n=ft(e,-1);return!!(n&&n.type==="element"&&n.tagName==="tr")}var Uu={name:[[`
181
+ \f\r &/=>`.split(""),`
182
+ \f\r "&'/=>\``.split("")],[`\0
183
+ \f\r "&'/<=>`.split(""),`\0
184
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
185
+ \f\r &>`.split(""),`\0
186
+ \f\r "&'<=>\``.split("")],[`\0
187
+ \f\r "&'<=>\``.split(""),`\0
188
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},rD=new Set(["desc","foreignObject","title"]);function Gx(e,t,r,i){let{schema:n}=i,o=n.space==="svg"?!1:i.settings.omitOptionalTags,a=n.space==="svg"?i.settings.closeEmptyElements:i.settings.voids.includes(e.tagName.toLowerCase()),s=[];n.space==="html"&&e.tagName==="svg"&&(i.schema=Mu);let l=nD(i,e.properties);i.schema.space==="svg"&&rD.has(e.tagName)&&(i.schema=Lu);let u=i.all(n.space==="html"&&e.tagName==="template"?e.content:e);if(i.schema=n,u&&(a=!1),l||!o||!Jx(e,t,r)){if(s.push("<",e.tagName,l?" "+l:""),a&&(n.space==="svg"||i.settings.closeSelfClosing)){let c=l.charAt(l.length-1);(!i.settings.tightSelfClosing||c==="/"||c&&c!=='"'&&c!=="'")&&s.push(" "),s.push("/")}s.push(">")}return s.push(u),!a&&(!o||!Ba(e,t,r))&&s.push("</"+e.tagName+">"),s.join("")}function nD(e,t){let r=[],i=-1,n;if(t){for(n in t)if(t[n]!==null&&t[n]!==void 0){let o=iD(e,n,t[n]);o&&r.push(o)}}for(;++i<r.length;){let o=e.settings.tightAttributes?r[i].charAt(r[i].length-1):void 0;i!==r.length-1&&o!=='"'&&o!=="'"&&(r[i]+=" ")}return r.join("")}function iD(e,t,r){let i=$p(e.schema,t),n=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;if(i.overloadedBoolean&&(r===i.attribute||r==="")?r=!0:(i.boolean||i.overloadedBoolean)&&(typeof r!="string"||r===i.attribute||r==="")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";let a=Ur(i.attribute,Object.assign({},e.settings.characterReferences,{subset:Uu.name[n][o]}));if(r===!0||(r=Array.isArray(r)?(i.commaSeparated?Fx:Bx)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r))return a;let s;if(e.settings.preferUnquoted&&(s=Ur(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Uu.unquoted[n][o]}))),s!==r){let{quote:l}=e;e.settings.quoteSmart&&nn(r,l)>nn(r,e.alternative)&&(l=e.alternative),s=l+Ur(r,Object.assign({},e.settings.characterReferences,{subset:(l==="'"?Uu.single:Uu.double)[n][o],attribute:!0}))+l}return a+(s&&"="+s)}var oD=["<","&"],aD=new Set(["iframe","noembed","noframes","plaintext","script","style","xmp"]);function qu(e,t,r,i){return r&&r.type==="element"&&i.schema.space==="html"&&aD.has(r.tagName)?e.value:Ur(e.value,Object.assign({},i.settings.characterReferences,{subset:oD}))}function Wx(e,t,r,i){return i.settings.allowDangerousHtml?e.value:qu(e,t,r,i)}function Yx(e,t,r,i){return i.all(e)}var Xx=U2("type",{invalid:sD,unknown:lD,handlers:{comment:qx,doctype:Rx,element:Gx,raw:Wx,root:Yx,text:qu}});function sD(e){throw new Error("Expected node, not `"+e+"`")}function lD(e){let t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}var uD={},cD={},fD=[];function Ip(e,t){let r=t||uD,i=r.quote||'"';if(i!=='"'&&i!=="'")throw new Error("Invalid quote `"+i+"`, expected `'` or `\"`");let n=i==='"'?"'":'"';return{one:mD,all:dD,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||Px,characterReferences:r.characterReferences||cD,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Mu:Lu,quote:i,alternative:n}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function mD(e,t,r){return Xx(e,t,r,this)}function dD(e){let t=[],r=e&&e.children||fD,i=-1;for(;++i<r.length;)t[i]=this.one(r[i],i,e);return t.join("")}var E6=Im(R7(),1);var Je={};zr(Je,{$brand:()=>xg,$input:()=>Hv,$output:()=>Vv,INVALID:()=>Bt,NEVER:()=>bg,TimePrecision:()=>i4,ZodAny:()=>Vy,ZodArray:()=>Gy,ZodBase64:()=>Pf,ZodBase64URL:()=>Lf,ZodBigInt:()=>la,ZodBigIntFormat:()=>Uf,ZodBoolean:()=>sa,ZodCIDRv4:()=>Ef,ZodCIDRv6:()=>Of,ZodCUID:()=>If,ZodCUID2:()=>zf,ZodCatch:()=>gb,ZodCodec:()=>pl,ZodCompileAsyncError:()=>Nr,ZodCompileUnsupportedError:()=>Te,ZodCreditCard:()=>My,ZodCustom:()=>hl,ZodCustomStringFormat:()=>Hi,ZodDate:()=>ll,ZodDefault:()=>cb,ZodDiscriminatedUnion:()=>Yy,ZodE164:()=>Mf,ZodEmail:()=>kf,ZodEmoji:()=>Sf,ZodEnum:()=>ia,ZodError:()=>oq,ZodExactOptional:()=>Bf,ZodFile:()=>ab,ZodFirstPartyTypeKind:()=>Cb,ZodFunction:()=>Ib,ZodGUID:()=>$f,ZodIBAN:()=>jy,ZodIPv4:()=>Df,ZodIPv6:()=>Nf,ZodISODate:()=>Xn,ZodISODateTime:()=>Yn,ZodISODuration:()=>ei,ZodISOTime:()=>Qn,ZodInstanceOf:()=>Tb,ZodIntersection:()=>Xy,ZodIssueCode:()=>lq,ZodJWT:()=>jf,ZodKSUID:()=>Cf,ZodLazy:()=>$b,ZodLiteral:()=>ob,ZodMAC:()=>Ly,ZodMap:()=>nb,ZodNaN:()=>yb,ZodNanoID:()=>_f,ZodNever:()=>Ky,ZodNonOptional:()=>Zf,ZodNull:()=>By,ZodNullable:()=>ub,ZodNumber:()=>aa,ZodNumberFormat:()=>Ki,ZodObject:()=>cl,ZodOptional:()=>ml,ZodPipe:()=>dl,ZodPrefault:()=>mb,ZodPreprocess:()=>bb,ZodPromise:()=>_b,ZodReadonly:()=>xb,ZodRealError:()=>ar,ZodRecord:()=>na,ZodSet:()=>ib,ZodString:()=>oa,ZodStringFormat:()=>Be,ZodSuccess:()=>hb,ZodSymbol:()=>Ry,ZodTemplateLiteral:()=>kb,ZodTransform:()=>sb,ZodTuple:()=>eb,ZodType:()=>Ie,ZodULID:()=>Af,ZodURL:()=>sl,ZodUUID:()=>Vr,ZodUndefined:()=>Fy,ZodUnion:()=>fl,ZodUnknown:()=>Hy,ZodVoid:()=>Jy,ZodXID:()=>Tf,ZodXor:()=>Wy,_ZodString:()=>wf,_default:()=>fb,_function:()=>w9,any:()=>X$,array:()=>ul,base64:()=>N$,base64url:()=>E$,bigint:()=>K$,boolean:()=>qy,catch:()=>vb,check:()=>k9,cidrv4:()=>C$,cidrv6:()=>D$,clone:()=>qe,codec:()=>v9,coerce:()=>Nb,compile:()=>Wv,config:()=>ut,core:()=>pn,creditCard:()=>P$,cuid:()=>k$,cuid2:()=>$$,currencyCode:()=>R$,custom:()=>$9,date:()=>e9,decode:()=>Ty,decodeAsync:()=>Dy,deepPartial:()=>L9,describe:()=>S9,discriminatedUnion:()=>a9,e164:()=>O$,email:()=>m$,emoji:()=>x$,encode:()=>Ay,encodeAsync:()=>Cy,endsWith:()=>Ho,enum:()=>Rf,exactOptional:()=>lb,file:()=>d9,flattenError:()=>Cs,float32:()=>B$,float64:()=>Z$,formatError:()=>Ds,fromJSONSchema:()=>O9,function:()=>w9,getDiscriminatedOption:()=>bv,getErrorMap:()=>cq,globalRegistry:()=>Ct,gt:()=>Br,gte:()=>mr,guid:()=>d$,hash:()=>F$,hex:()=>q$,hostname:()=>U$,httpUrl:()=>b$,iban:()=>L$,includes:()=>Zo,input:()=>j9,instanceof:()=>I9,int:()=>bf,int32:()=>V$,int64:()=>J$,intersection:()=>Qy,invertCodec:()=>y9,ipv4:()=>z$,ipv6:()=>T$,iso:()=>gl,json:()=>A9,jwt:()=>M$,keyof:()=>t9,ksuid:()=>I$,lazy:()=>Sb,length:()=>Ri,literal:()=>m9,locales:()=>Ys,looseObject:()=>i9,looseRecord:()=>l9,lowercase:()=>Fo,lt:()=>Fr,lte:()=>fr,mac:()=>A$,map:()=>u9,maxLength:()=>qi,maxSize:()=>Kn,memoizer:()=>Gs,meta:()=>_9,mime:()=>Jo,minLength:()=>dn,minSize:()=>Zr,multipleOf:()=>Hn,nan:()=>g9,nanoid:()=>w$,nativeEnum:()=>f9,negative:()=>lf,never:()=>qf,nonnegative:()=>cf,nonoptional:()=>pb,nonpositive:()=>uf,normalize:()=>Go,null:()=>Zy,nullable:()=>al,nullish:()=>p9,number:()=>Uy,object:()=>r9,optional:()=>Zi,output:()=>U9,overwrite:()=>Er,parse:()=>Sy,parseAsync:()=>_y,partialRecord:()=>s9,pipe:()=>xf,positive:()=>sf,prefault:()=>db,preprocess:()=>T9,prettifyError:()=>_g,promise:()=>x9,properties:()=>Ko,property:()=>ff,readonly:()=>wb,record:()=>rb,refine:()=>zb,regex:()=>Ro,regexes:()=>$r,registry:()=>P0,safeDecode:()=>Ey,safeDecodeAsync:()=>Py,safeEncode:()=>Ny,safeEncodeAsync:()=>Oy,safeParse:()=>Iy,safeParseAsync:()=>zy,set:()=>c9,setErrorMap:()=>uq,size:()=>Ui,slugify:()=>Qo,startsWith:()=>Vo,strictObject:()=>n9,string:()=>ol,stringFormat:()=>j$,stringbool:()=>z9,success:()=>h9,superRefine:()=>Ab,symbol:()=>W$,templateLiteral:()=>b9,toJSONSchema:()=>hf,toLowerCase:()=>Yo,toUpperCase:()=>Xo,toZod:()=>xs,transform:()=>Ff,treeifyError:()=>Sg,trim:()=>Wo,tuple:()=>tb,uint32:()=>H$,uint64:()=>G$,ulid:()=>S$,undefined:()=>Y$,union:()=>ua,unknown:()=>Bi,uppercase:()=>Bo,url:()=>y$,util:()=>R,uuid:()=>p$,uuidv4:()=>h$,uuidv6:()=>g$,uuidv7:()=>v$,validate:()=>Ns,validateAsync:()=>Es,void:()=>Q$,withParser:()=>L0,xid:()=>_$,xor:()=>o9});var pn={};zr(pn,{$ZodAny:()=>cv,$ZodArray:()=>gv,$ZodAsyncError:()=>ir,$ZodBase64:()=>X1,$ZodBase64URL:()=>Q1,$ZodBigInt:()=>w0,$ZodBigIntFormat:()=>av,$ZodBoolean:()=>Bs,$ZodCIDRv4:()=>W1,$ZodCIDRv6:()=>Y1,$ZodCUID:()=>j1,$ZodCUID2:()=>U1,$ZodCatch:()=>Pv,$ZodCheck:()=>Ve,$ZodCheckBigIntFormat:()=>f1,$ZodCheckEndsWith:()=>$1,$ZodCheckGreaterThan:()=>o0,$ZodCheckIncludes:()=>w1,$ZodCheckLengthEquals:()=>v1,$ZodCheckLessThan:()=>i0,$ZodCheckLowerCase:()=>b1,$ZodCheckMaxLength:()=>h1,$ZodCheckMaxSize:()=>m1,$ZodCheckMimeType:()=>I1,$ZodCheckMinLength:()=>g1,$ZodCheckMinSize:()=>d1,$ZodCheckMultipleOf:()=>u1,$ZodCheckNumberFormat:()=>c1,$ZodCheckOverwrite:()=>z1,$ZodCheckProperties:()=>_1,$ZodCheckProperty:()=>S1,$ZodCheckRegex:()=>y1,$ZodCheckSizeEquals:()=>p1,$ZodCheckStartsWith:()=>k1,$ZodCheckStringFormat:()=>Lo,$ZodCheckUpperCase:()=>x1,$ZodCodec:()=>Vs,$ZodCreditCard:()=>tv,$ZodCustom:()=>Fv,$ZodCustomStringFormat:()=>iv,$ZodCyclicError:()=>A0,$ZodDate:()=>pv,$ZodDefault:()=>Dv,$ZodDiscriminatedUnion:()=>xv,$ZodE164:()=>ev,$ZodEmail:()=>N1,$ZodEmoji:()=>L1,$ZodEncodeError:()=>Zn,$ZodEnum:()=>_v,$ZodError:()=>$g,$ZodExactOptional:()=>Tv,$ZodFile:()=>zv,$ZodFunction:()=>qv,$ZodGUID:()=>C1,$ZodIBAN:()=>rv,$ZodIPv4:()=>K1,$ZodIPv6:()=>J1,$ZodISODate:()=>Z1,$ZodISODateTime:()=>B1,$ZodISODuration:()=>H1,$ZodISOTime:()=>V1,$ZodIntersection:()=>wv,$ZodJWT:()=>nv,$ZodKSUID:()=>F1,$ZodLazy:()=>Hs,$ZodLiteral:()=>Iv,$ZodMAC:()=>G1,$ZodMap:()=>$v,$ZodNaN:()=>Lv,$ZodNanoID:()=>M1,$ZodNever:()=>mv,$ZodNonOptional:()=>Ev,$ZodNull:()=>uv,$ZodNullable:()=>Cv,$ZodNumber:()=>x0,$ZodNumberFormat:()=>ov,$ZodObject:()=>kk,$ZodObjectJIT:()=>vv,$ZodOptional:()=>$0,$ZodPipe:()=>S0,$ZodPrefault:()=>Nv,$ZodPreprocess:()=>Mv,$ZodPromise:()=>Rv,$ZodReadonly:()=>jv,$ZodRealError:()=>or,$ZodRecord:()=>kv,$ZodRegistry:()=>O0,$ZodSet:()=>Sv,$ZodString:()=>Pi,$ZodStringFormat:()=>Re,$ZodSuccess:()=>Ov,$ZodSymbol:()=>sv,$ZodTemplateLiteral:()=>Uv,$ZodTransform:()=>Av,$ZodTuple:()=>k0,$ZodType:()=>Se,$ZodULID:()=>q1,$ZodURL:()=>P1,$ZodUUID:()=>D1,$ZodUndefined:()=>lv,$ZodUnion:()=>Zs,$ZodUnknown:()=>fv,$ZodVoid:()=>dv,$ZodXID:()=>R1,$ZodXor:()=>yv,$brand:()=>xg,$constructor:()=>P,$input:()=>Hv,$output:()=>Vv,Doc:()=>Oi,INVALID:()=>Bt,JSONSchema:()=>u$,JSONSchemaGenerator:()=>gf,NEVER:()=>bg,TimePrecision:()=>i4,URL_BAD_FORMAT:()=>E1,URL_UNPARSEABLE:()=>js,ZodCompileAsyncError:()=>Nr,ZodCompileUnsupportedError:()=>Te,_any:()=>w4,_array:()=>A4,_base64:()=>rf,_base64url:()=>nf,_bigint:()=>p4,_boolean:()=>m4,_catch:()=>KU,_check:()=>K8,_cidrv4:()=>ef,_cidrv6:()=>tf,_coercedBigint:()=>h4,_coercedBoolean:()=>d4,_coercedDate:()=>I4,_coercedNumber:()=>a4,_coercedString:()=>e4,_creditCard:()=>r4,_cuid:()=>K0,_cuid2:()=>J0,_custom:()=>C4,_date:()=>_4,_decode:()=>Kc,_decodeAsync:()=>Gc,_default:()=>ZU,_discriminatedUnion:()=>NU,_e164:()=>of,_email:()=>U0,_emoji:()=>V0,_encode:()=>Hc,_encodeAsync:()=>Jc,_endsWith:()=>Ho,_enum:()=>jU,_file:()=>T4,_float32:()=>l4,_float64:()=>u4,_gt:()=>Br,_gte:()=>mr,_guid:()=>q0,_iban:()=>n4,_includes:()=>Zo,_int:()=>s4,_int32:()=>c4,_int64:()=>g4,_intersection:()=>EU,_ipv4:()=>X0,_ipv6:()=>Q0,_isoDate:()=>el,_isoDateTime:()=>Qs,_isoDuration:()=>rl,_isoTime:()=>tl,_jwt:()=>af,_ksuid:()=>Y0,_lazy:()=>YU,_length:()=>Ri,_literal:()=>qU,_lowercase:()=>Fo,_lt:()=>Fr,_lte:()=>fr,_mac:()=>t4,_map:()=>LU,_max:()=>fr,_maxLength:()=>qi,_maxSize:()=>Kn,_mime:()=>Jo,_min:()=>mr,_minLength:()=>dn,_minSize:()=>Zr,_multipleOf:()=>Hn,_nan:()=>z4,_nanoid:()=>H0,_nativeEnum:()=>UU,_negative:()=>lf,_never:()=>$4,_nonnegative:()=>cf,_nonoptional:()=>VU,_nonpositive:()=>uf,_normalize:()=>Go,_null:()=>x4,_nullable:()=>BU,_number:()=>o4,_optional:()=>FU,_overwrite:()=>Er,_parse:()=>No,_parseAsync:()=>Eo,_pipe:()=>JU,_positive:()=>sf,_promise:()=>XU,_properties:()=>Ko,_property:()=>ff,_readonly:()=>GU,_record:()=>PU,_refine:()=>D4,_regex:()=>Ro,_safeDecode:()=>Yc,_safeDecodeAsync:()=>Qc,_safeEncode:()=>Wc,_safeEncodeAsync:()=>Xc,_safeParse:()=>Oo,_safeParseAsync:()=>Po,_set:()=>MU,_size:()=>Ui,_slugify:()=>Qo,_startsWith:()=>Vo,_string:()=>Qv,_stringFormat:()=>Fi,_stringbool:()=>P4,_success:()=>HU,_superRefine:()=>N4,_symbol:()=>y4,_templateLiteral:()=>WU,_toLowerCase:()=>Yo,_toUpperCase:()=>Xo,_transform:()=>RU,_trim:()=>Wo,_tuple:()=>OU,_uint32:()=>f4,_uint64:()=>v4,_ulid:()=>G0,_undefined:()=>b4,_union:()=>CU,_unknown:()=>k4,_uppercase:()=>Bo,_url:()=>Xs,_uuid:()=>R0,_uuidv4:()=>F0,_uuidv6:()=>B0,_uuidv7:()=>Z0,_void:()=>S4,_xid:()=>W0,_xor:()=>DU,base64Charset:()=>h0,base64urlCharset:()=>Fs,canParseURL:()=>O1,clone:()=>qe,compile:()=>Wv,compileFn:()=>M0,config:()=>ut,createStandardJSONSchemaMethod:()=>ea,createToJSONSchemaMethod:()=>M4,decode:()=>DL,decodeAsync:()=>EL,describe:()=>E4,encode:()=>CL,encodeAsync:()=>NL,extractDefs:()=>Gn,finalize:()=>Wn,flattenError:()=>Cs,formatError:()=>Ds,getDiscriminatedOption:()=>bv,globalConfig:()=>zt,globalRegistry:()=>Ct,handleUnrepresentable:()=>xt,initializeContext:()=>Jn,isBackEdge:()=>C0,isRecursiveSchema:()=>T0,isValidBase64:()=>Rs,isValidBase64URL:()=>g0,isValidCIDRv6:()=>p0,isValidCreditCard:()=>v0,isValidIBAN:()=>y0,isValidIPv6:()=>qs,isValidJWT:()=>b0,locales:()=>Ys,memoizer:()=>Gs,mergeValues:()=>Mo,meta:()=>O4,parse:()=>Zc,parseAsync:()=>Vc,parseURLObject:()=>bk,prettifyError:()=>_g,process:()=>Fe,processSchema:()=>Fe,regexes:()=>$r,registry:()=>P0,safeDecode:()=>PL,safeDecodeAsync:()=>ML,safeEncode:()=>OL,safeEncodeAsync:()=>LL,safeParse:()=>_L,safeParseAsync:()=>IL,standardProps:()=>c0,stripTabAndNewline:()=>Us,toDotPath:()=>X7,toJSONSchema:()=>hf,toZod:()=>xs,treeifyError:()=>Sg,urlHostnameOk:()=>m0,urlProtocolOk:()=>d0,util:()=>R,validate:()=>Ns,validateAsync:()=>Es,validateURL:()=>f0,version:()=>A1,withParser:()=>L0});var R={};zr(R,{BIGINT_FORMAT_RANGES:()=>_s,CONSTANT_CATCH:()=>Fc,Class:()=>ug,NUMBER_FORMAT_RANGES:()=>Ss,aborted:()=>Ft,allowsEval:()=>mg,assert:()=>VP,assertEqual:()=>RP,assertIs:()=>BP,assertNever:()=>ZP,assertNotEqual:()=>FP,assignProp:()=>Tt,attachSchema:()=>Is,base64ToUint8Array:()=>H7,base64urlToUint8Array:()=>cL,cached:()=>Ao,captureStackTrace:()=>qc,cleanEnum:()=>uL,cleanRegex:()=>fn,clone:()=>qe,cloneDef:()=>JP,codePointLength:()=>Ni,constantCatch:()=>vg,createTransparentProxy:()=>eL,defineLazy:()=>cg,defineLazyInternal:()=>ze,derived:()=>pL,esc:()=>Rt,escapeRegex:()=>kr,explicitlyAborted:()=>hg,extend:()=>nL,finalizeIssue:()=>nr,floatSafeRemainder:()=>ws,getElementAtPath:()=>GP,getEnumValues:()=>Io,getLengthableOrigin:()=>As,getParsedType:()=>QP,getSizableOrigin:()=>zs,hexToUint8Array:()=>mL,hide:()=>Ts,installLazyProp:()=>yL,isObject:()=>Di,isPlainObject:()=>wr,issue:()=>Do,joinValues:()=>L,jsonStringifyReplacer:()=>zo,members:()=>gg,merge:()=>oL,mergeDefs:()=>Dr,normalizeParams:()=>ee,nullish:()=>Uc,numKeys:()=>XP,objectClone:()=>HP,omit:()=>rL,optionalKeys:()=>pg,own:()=>Bn,parsedType:()=>B,partial:()=>aL,pick:()=>tL,prefixIssues:()=>rr,primitiveTypes:()=>dg,promiseAllObject:()=>WP,propertyKeyTypes:()=>$s,randomString:()=>YP,rawShape:()=>To,required:()=>sL,safeExtend:()=>iL,shallowClone:()=>ks,sizeCaps:()=>Co,slugify:()=>fg,stringifyPrimitive:()=>F,toZod:()=>xs,uint8ArrayToBase64:()=>K7,uint8ArrayToBase64url:()=>fL,uint8ArrayToHex:()=>dL,unwrapMessage:()=>_o});function RP(e){return e}function FP(e){return e}function xs(){return e=>e}function BP(e){}function ZP(e){throw new Error("Unexpected value in exhaustive check")}function VP(e){}function Io(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,n])=>t.indexOf(+i)===-1).map(([i,n])=>n)}function L(e,t="|"){return e.map(r=>F(r)).join(t)}function zo(e,t){return typeof t=="bigint"?t.toString():t}var lg=class{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function Ao(e){return new lg(e)}function Uc(e){return e==null}function fn(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function ws(e,t){let r=e/t,i=Math.round(r),n=4*Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-i)<n?0:r-i}var F7=Symbol("evaluating");function cg(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==F7)return i===void 0&&(i=F7,i=r()),i},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function HP(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Tt(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function To(e){let t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function cn(e){return To(e._zod.def)??e._zod.def.shape}function B7(e,t,r){Object.defineProperty(e,t,{get(){let i=r();return Tt(this,t,i),i},enumerable:!0,configurable:!0})}function Z7(e,t,r){t in e?Tt(e,t,r):e[t]=r}function Ci(e,t,r,i){let n=cn(t);for(let o of r){let a=Object.getOwnPropertyDescriptor(n,o);a.enumerable&&(a.get?B7(e,o,()=>{let s=t._zod.def.shape[o];return i?i(s,o):s}):Z7(e,o,i?i(a.value,o):a.value))}}function KP(e,t){for(let r of Reflect.ownKeys(t)){let i=Object.getOwnPropertyDescriptor(t,r);i.enumerable&&(i.get?B7(e,r,()=>t[r]):Z7(e,r,i.value))}}function Dr(...e){let t={};for(let r of e){let i=Object.getOwnPropertyDescriptors(r);Object.assign(t,i)}return Object.defineProperties({},t)}function JP(e){return Dr(e._zod.def)}function GP(e,t){return t?t.reduce((r,i)=>r?.[i],e):e}function WP(e){let t=Object.keys(e),r=t.map(i=>e[i]);return Promise.all(r).then(i=>{let n={};for(let o=0;o<t.length;o++)n[t[o]]=i[o];return n})}function YP(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let i=0;i<e;i++)r+=t[Math.floor(Math.random()*t.length)];return r}function Rt(e){return JSON.stringify(e)}function fg(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var qc="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Di(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var mg=Ao(()=>{if(zt.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function wr(e){if(Di(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(Di(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function ks(e){return wr(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function XP(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var QP=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},$s=new Set(["string","number","symbol"]),dg=new Set(["string","number","bigint","boolean","symbol","undefined"]);function kr(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function qe(e,t,r){let i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function ee(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function eL(e){let t;return new Proxy({},{get(r,i,n){return t??(t=e()),Reflect.get(t,i,n)},set(r,i,n,o){return t??(t=e()),Reflect.set(t,i,n,o)},has(r,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(r,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(r,i,n){return t??(t=e()),Reflect.defineProperty(t,i,n)}})}function F(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function pg(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Ss={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]},_s={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function tL(e,t){let r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let o={};return Ci(o,e,Rc(e,t)),qe(e,Dr(r,{shape:o,checks:[]}))}function Rc(e,t){let r=cn(e),i=[];for(let n of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(r,n)?.enumerable)throw new Error(`Unrecognized key: "${String(n)}"`);t[n]&&i.push(n)}return i}function rL(e,t){let r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let o=new Set(Rc(e,t)),a={};return Ci(a,e,Reflect.ownKeys(cn(e)).filter(s=>!o.has(s))),qe(e,Dr(r,{shape:a,checks:[]}))}function nL(e,t){if(!wr(t))throw new Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let n=cn(e);for(let o of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return qe(e,Dr(e._zod.def,{shape:V7(e,t)}))}function V7(e,t){let r={};return Ci(r,e,Reflect.ownKeys(cn(e))),KP(r,t),r}function iL(e,t){if(!wr(t))throw new Error("Invalid input to safeExtend: expected a plain object");return qe(e,Dr(e._zod.def,{shape:V7(e,t)}))}function oL(e,t){if(!t?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let r={};Ci(r,e,Reflect.ownKeys(cn(e))),Ci(r,t,Reflect.ownKeys(cn(t)));let i=Dr(e._zod.def,{shape:r,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return qe(e,i)}function aL(e,t,r,i="partial"){let o=t._zod.def.checks;if(o&&o.length>0)throw new Error(`.${i}() cannot be used on object schemas containing refinements`);let s=r?new Set(Rc(t,r)):void 0,l={};return Ci(l,t,Reflect.ownKeys(cn(t)),e&&((u,c)=>s&&!s.has(c)?u:new e({type:"optional",innerType:u}))),qe(t,Dr(t._zod.def,{shape:l,checks:[]}))}function sL(e,t,r){let i=r?new Set(Rc(t,r)):void 0,n={};return Ci(n,t,Reflect.ownKeys(cn(t)),(o,a)=>i&&!i.has(a)?o:new e({type:"nonoptional",innerType:o})),qe(t,Dr(t._zod.def,{shape:n}))}function Ft(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function hg(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function rr(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function _o(e){return typeof e=="string"?e:e?.message}function Co(e){let t=[];for(let r of e??[]){let i=r._zod.def;if(!/_(length|size)$|_equals$/.test(i.check))break;let n=i.maximum??i.length??i.size;n>=0&&t.push([n,r])}return t}function Is(e,t,r){var i;for(let n=t;n<e.length;n++)(i=e[n]).schema??(i.schema=r)}function nr(e,t,r){var i;let n=e.inst?._zod?.traits;n?.has("$ZodType")&&(n.has("$ZodCheck")?(i=e).schema??(i.schema=e.inst):e.schema=e.inst);let o=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:_o(e.inst?._zod.def?.error?.(e))??_o(o?.(e))??_o(t?.error?.(e))??_o(r.customError?.(e))??_o(r.localeError?.(e))??"Invalid input",s={};for(let l of Object.keys(e))l==="inst"||l==="schema"||l==="continue"||l==="input"||l==="__proto__"||(s[l]=e[l]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}function zs(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}var lL=/[\uD800-\uDBFF]/;function Ni(e){let t=e.length;if(!lL.test(e))return t;let r=t;for(let i=0;i<t-1;i++)(e.charCodeAt(i)&64512)===55296&&(e.charCodeAt(i+1)&64512)===56320&&(r--,i++);return r}function As(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function B(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function Do(...e){let[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}function uL(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function H7(e){let t=atob(e),r=new Uint8Array(t.length);for(let i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return r}function K7(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function cL(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return H7(t+r)}function fL(e){return K7(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function mL(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let r=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)r[i/2]=Number.parseInt(t.slice(i,i+2),16);return r}function dL(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var ug=class{constructor(...t){}};function gg(e,t){for(let r in t){let i=Object.getOwnPropertyDescriptor(t,r);i.get?Object.defineProperty(e,r,{...i,enumerable:!1}):hL(e,r,i.value)}}function Bn(e,t,r,i=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:i,value:r}),r}function Ts(e,t,r){return Bn(e,t,r,!1)}function pL(e,t){for(let r in e){let i=e[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!0,get(){return Bn(this,r,i(this))},set(n){Bn(this,r,n)}})}return t}function hL(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?r:Bn(this,t,r.bind(this))},set(i){Bn(this,t,i)}})}function gL(e,t){let r=Object.getPrototypeOf(e);return t in r?void 0:r}var sg,Fn=!1,vL={configurable:!0,get(){Fn=!0}};function ze(e,t,r){let i=Object.getPrototypeOf(e._zod);if(t in i&&sg!==e._zod){sg=void 0;return}sg=e._zod,Object.defineProperty(i,t,{configurable:!0,get(){Object.defineProperty(this,t,vL);let n=Fn;Fn=!1;try{let o=r(this);return Fn?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o}),Fn=Fn||n,o}catch(o){throw delete this[t],Fn=Fn||n,o}},set(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})}function yL(e,t,r,i){let n=gL(e,t);n&&Object.defineProperty(n,t,{configurable:!0,get(){let o={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,t,o),o.value=r(this),Object.defineProperty(this,t,o),o.value},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:i,value:o})}})}var Fc="~constantCatch";function vg(e){let t=()=>e;return t[Fc]=!0,t}var J7,bg=Object.freeze({status:"aborted"}),yg={value:void 0,enumerable:!1},G7="captureStackTrace"in Error?Error:null;function bL(e){let t=G7;if(t){let r=t.stackTraceLimit;if(typeof r=="number"){try{t.stackTraceLimit=0}catch{return G7=null,new e}try{return new e}finally{t.stackTraceLimit=r}}}return new e}function P(e,t,r,i){let n={};function o(d){this.def=d,this.constr=f,this.traits=new Set}o.prototype=n;let a=r,s=a&&new WeakSet;function l(d,m){if(d._zod){if(d._zod.traits.has(e))return}else{yg.value=new o(m);try{Object.defineProperty(d,"_zod",yg)}finally{yg.value=void 0}}if(d._zod.traits.add(e),t(d,m),s){let v=Object.getPrototypeOf(d),y=d._zod.constr.prototype,b=v;for(;b&&b!==y;)b=Object.getPrototypeOf(b);let w=b??v;s.has(w)||(s.add(w),gg(w,a))}let h=f.prototype;for(let v in h)Object.prototype.hasOwnProperty.call(h,v)&&(v in d||(d[v]=h[v].bind(d)))}let u=i?.Parent??Object;class c extends u{}Object.defineProperty(c,"name",{value:e});function f(d){let m=i?.Parent?bL(c):this;l(m,d);let h=m._zod.deferred;if(h){for(let y of h)y();m._zod.deferred=void 0}let v=globalThis.__zod_globalConfig?.postProcessor;return v&&v(m),m}return Object.defineProperty(f,"init",{value:l}),Object.defineProperty(f,Symbol.hasInstance,{value:d=>i?.Parent&&d instanceof i.Parent?!0:d?._zod?.traits?.has(e)}),Object.defineProperty(f,"name",{value:e}),f}var xg=Symbol("zod_brand"),ir=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Zn=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(J7=globalThis).__zod_globalConfig??(J7.__zod_globalConfig={});var zt=globalThis.__zod_globalConfig;function ut(e){return e&&Object.assign(zt,e),zt}function xL(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,zo,2)),e.message}function wL(e){this._zod.message=e}var kL={get:xL,set:wL,enumerable:!0,configurable:!0},kg={value:void 0,enumerable:!1},W7=new WeakSet([Object.prototype,Error.prototype]),Y7=(e,t)=>{e.name="$ZodError",kg.value=t,Object.defineProperty(e,"issues",kg),kg.value=void 0,Object.defineProperty(e,"message",kL);let r=Object.getPrototypeOf(e);W7.has(r)||(W7.add(r),Object.defineProperty(r,"toString",{configurable:!0,enumerable:!1,get(){let i=()=>this.message;return Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0})}}))},$g=P("$ZodError",Y7),or=P("$ZodError",Y7,void 0,{Parent:Error});function $L(e,t,r){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:r(),writable:!0,enumerable:!0,configurable:!0}):e[t]=r()),e[t]}function Cs(e,t=r=>r.message){let r={},i=[];for(let n of e.issues)n.path.length>0?$L(r,n.path[0],()=>[]).push(t(n)):i.push(t(n));return{formErrors:i,fieldErrors:r}}function Ds(e,t=r=>r.message){let r={_errors:[]},i=(n,o=[])=>{for(let a of n.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(s=>i({issues:s},[...o,...a.path]));else if(a.code==="invalid_key")i({issues:a.issues},[...o,...a.path]);else if(a.code==="invalid_element")i({issues:a.issues},[...o,...a.path]);else{let s=[...o,...a.path];if(s.length===0)r._errors.push(t(a));else{let l=r,u=0;for(;u<s.length;){let c=s[u],f=u===s.length-1;if(c==="_errors"){f&&l._errors.push(t(a)),u++;continue}Object.prototype.hasOwnProperty.call(l,c)||Object.defineProperty(l,c,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let d=l[c];f&&d._errors.push(t(a)),l=d,u++}}}};return i(e),r}function Sg(e,t=r=>r.message){let r={errors:[]},i=(n,o=[])=>{var a;for(let s of n.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(l=>i({issues:l},[...o,...s.path]));else if(s.code==="invalid_key")i({issues:s.issues},[...o,...s.path]);else if(s.code==="invalid_element")i({issues:s.issues},[...o,...s.path]);else{let l=[...o,...s.path];if(l.length===0){r.errors.push(t(s));continue}let u=r,c=0;for(;c<l.length;){let f=l[c],d=c===l.length-1;typeof f=="string"?(u.properties??(u.properties={}),Object.prototype.hasOwnProperty.call(u.properties,f)||Object.defineProperty(u.properties,f,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),u=u.properties[f]):(u.items??(u.items=[]),(a=u.items)[f]??(a[f]={errors:[]}),u=u.items[f]),d&&u.errors.push(t(s)),c++}}};return i(e),r}function X7(e){let t=[],r=e.map(i=>typeof i=="object"?i.key:i);for(let i of r)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}function _g(e){let t=[],r=[...e.issues].sort((i,n)=>(i.path??[]).length-(n.path??[]).length);for(let i of r)t.push(`\u2716 ${i.message}`),i.path?.length&&t.push(` \u2192 at ${X7(i.path)}`);return t.join(`
189
+ `)}function Bc(e,t){return{callee:t?.callee??e,Err:t?.Err}}var No=e=>{let t=(r,i,n,o)=>{let a=n?{...n,async:!1}:{async:!1},s=r._zod.run({value:i,issues:[]},a);if(s instanceof Promise)throw new ir;if(s.issues.length){let l=new(o?.Err??e)(s.issues.map(u=>nr(u,a,ut())));throw qc(l,o?.callee??t),l}return s.value};return t},Zc=No(or),Eo=e=>{let t=async(r,i,n,o)=>{let a=n?{...n,async:!0}:{async:!0},s=r._zod.run({value:i,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let l=new(o?.Err??e)(s.issues.map(u=>nr(u,a,ut())));throw qc(l,o?.callee??t),l}return s.value};return t},Vc=Eo(or),Oo=e=>(t,r,i)=>{let n=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},n);if(o instanceof Promise)throw new ir;return o.issues.length?Q7(e,o.issues,n):{success:!0,data:o.value}},_L=Oo(or);function Q7(e,t,r){let i;return{success:!1,get error(){return i||(i=new e(t.map(n=>nr(n,r,ut()))),t=void 0,r=void 0),i},set error(n){i=n,t=void 0,r=void 0}}}var Po=e=>async(t,r,i)=>{let n=i?{...i,async:!0}:{async:!0},o=t._zod.run({value:r,issues:[]},n);return o instanceof Promise&&(o=await o),o.issues.length?Q7(e,o.issues,n):{success:!0,data:o.value}},IL=Po(or),zL=Symbol.for("zod.compile.invalid"),AL=Symbol.for("zod.compile.fallback"),Ns=((e,t,r)=>{let i=e._zod.bag.validator;if(i!==void 0){if(i(t)!==zL)return!0;if(i.definite===!0&&r===void 0)return!1}return TL(e,t,r)});function TL(e,t,r){let i=r?{...r,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},n=e._zod.bag.fallbackRun,o;if(n?(i[AL]=!0,o=n({value:t,issues:[]},i)):o=e._zod.run({value:t,issues:[]},i),o instanceof Promise)throw new ir;return o.issues.length===0}var Es=async(e,t,r)=>{let i=r?{...r,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},n=e._zod.run({value:t,issues:[]},i);return n instanceof Promise&&(n=await n),n.issues.length===0},Hc=e=>{let t=No(e),r=(i,n,o,a)=>{let s=o?{...o,direction:"backward"}:{direction:"backward"};return t(i,n,s,Bc(r,a))};return r},CL=Hc(or),Kc=e=>{let t=No(e),r=(i,n,o,a)=>t(i,n,o,Bc(r,a));return r},DL=Kc(or),Jc=e=>{let t=Eo(e),r=async(i,n,o,a)=>{let s=o?{...o,direction:"backward"}:{direction:"backward"};return await t(i,n,s,Bc(r,a))};return r},NL=Jc(or),Gc=e=>{let t=Eo(e),r=async(i,n,o,a)=>await t(i,n,o,Bc(r,a));return r},EL=Gc(or),Wc=e=>(t,r,i)=>{let n=i?{...i,direction:"backward"}:{direction:"backward"};return Oo(e)(t,r,n)},OL=Wc(or),Yc=e=>(t,r,i)=>Oo(e)(t,r,i),PL=Yc(or),Xc=e=>async(t,r,i)=>{let n=i?{...i,direction:"backward"}:{direction:"backward"};return Po(e)(t,r,n)},LL=Xc(or),Qc=e=>async(t,r,i)=>Po(e)(t,r,i),ML=Qc(or);var $r={};zr($r,{anyString:()=>Xg,base64:()=>Bg,base64url:()=>Zg,bigint:()=>e1,boolean:()=>t1,browserEmail:()=>VL,cidrv4:()=>Rg,cidrv6:()=>Fg,creditCard:()=>e0,cuid:()=>zg,cuid2:()=>Ag,currencyCode:()=>Jg,date:()=>Gg,datetime:()=>Yg,domain:()=>Hg,duration:()=>Og,e164:()=>Kg,email:()=>Lg,emoji:()=>Mg,extendedDuration:()=>jL,guid:()=>Pg,hex:()=>a1,hostname:()=>Vg,html5Email:()=>FL,httpProtocol:()=>Os,iban:()=>t0,idnEmail:()=>ZL,integer:()=>Ps,ipv4:()=>jg,ipv6:()=>Ug,ksuid:()=>Dg,lowercase:()=>i1,mac:()=>qg,md5_base64:()=>GL,md5_base64url:()=>WL,md5_hex:()=>JL,nanoid:()=>Ng,nanoidOfLength:()=>Eg,null:()=>r1,number:()=>mn,rfc5322Email:()=>BL,sha1_base64:()=>XL,sha1_base64url:()=>QL,sha1_hex:()=>YL,sha256_base64:()=>tM,sha256_base64url:()=>rM,sha256_hex:()=>eM,sha384_base64:()=>iM,sha384_base64url:()=>oM,sha384_hex:()=>nM,sha512_base64:()=>sM,sha512_base64url:()=>lM,sha512_hex:()=>aM,string:()=>Qg,time:()=>Wg,ulid:()=>Tg,undefined:()=>n1,unicodeEmail:()=>ek,uppercase:()=>o1,uuid:()=>Ei,uuid4:()=>UL,uuid6:()=>qL,uuid7:()=>RL,xid:()=>Cg});var zg=/^[cC][0-9a-z]{6,}$/,Ag=/^[0-9a-z]+$/,Tg=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Cg=/^[0-9a-vA-V]{20}$/,Dg=/^[A-Za-z0-9]{27}$/,Ng=/^[a-zA-Z0-9_-]{21}$/;function Eg(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Og=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,jL=/^[-+]?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)?)??$/,Pg=/^([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})$/,Ei=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)$/,UL=Ei(4),qL=Ei(6),RL=Ei(7),Lg=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,FL=/^[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])?)*$/,BL=/^(([^<>()\[\]\\.,;:\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,}))$/,ek=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,ZL=ek,VL=/^[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])?)*$/,HL="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function Mg(){return new RegExp(HL,"u")}var jg=/^(?:(?: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])$/,Ug=/^(([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}|:))$/,qg=e=>{let t=kr(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},Rg=/^((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])$/,Fg=/^(([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}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Bg=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Zg=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Vg=/^(?=.{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])?)*\.?$/,Hg=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,Os=/^https?$/,Kg=/^\+[1-9]\d{6,14}$/,e0=/^\d(?:[ -]?\d){11,18}$/,Jg=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,t0=/^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/,tk="(?:(?:\\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])))";function KL(e){return new RegExp(`^${e}$`)}var Gg=KL(tk);function Ig(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Wg(e){return new RegExp(`^${Ig(e)}$`)}function Yg(e){let t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let r=`${Ig({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,i=e.local?`${r}|${Ig({precision:e.precision})}`:r;return new RegExp(`^${tk}T(?:${i})$`)}var Xg=/^[\s\S]{0,}$/,Qg=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},e1=/^-?\d+n?$/,Ps=/^-?\d+$/,mn=/^-?\d+(?:\.\d+)?$/,t1=/^(?:true|false)$/i,r1=/^null$/i;var n1=/^undefined$/i;var i1=/^[^A-Z]*$/,o1=/^[^a-z]*$/,a1=/^[0-9a-fA-F]*$/;function Ls(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Ms(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var JL=/^[0-9a-fA-F]{32}$/,GL=Ls(22,"=="),WL=Ms(22),YL=/^[0-9a-fA-F]{40}$/,XL=Ls(27,"="),QL=Ms(27),eM=/^[0-9a-fA-F]{64}$/,tM=Ls(43,"="),rM=Ms(43),nM=/^[0-9a-fA-F]{96}$/,iM=Ls(64,""),oM=Ms(64),aM=/^[0-9a-fA-F]{128}$/,sM=Ls(86,"=="),lM=Ms(86);var Ve=P("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),s1=e=>{let t=e.value;return!Uc(t)&&t.size!==void 0},l1=e=>{let t=e.value;return!Uc(t)&&t.length!==void 0},r0={number:"number",bigint:"bigint",object:"date"},i0=P("$ZodCheckLessThan",(e,t)=>{Ve.init(e,t);let r=r0[typeof t.value];e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:r0[typeof i.value]??r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),o0=P("$ZodCheckGreaterThan",(e,t)=>{Ve.init(e,t);let r=r0[typeof t.value];e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:r0[typeof i.value]??r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),u1=P("$ZodCheckMultipleOf",(e,t)=>{Ve.init(e,t),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?t.value!==BigInt(0)&&r.value%t.value===BigInt(0):ws(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),c1=P("$ZodCheckNumberFormat",(e,t)=>{Ve.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),i=r?"int":"number",[n,o]=Ss[t.format];e._zod.check=a=>{let s=a.value;if(r){if(!Number.isInteger(s)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}s<n&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),f1=P("$ZodCheckBigIntFormat",(e,t)=>{Ve.init(e,t);let[r,i]=_s[t.format];e._zod.check=n=>{let o=n.value;o<r&&n.issues.push({origin:"bigint",input:o,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),o>i&&n.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),m1=P("$ZodCheckMaxSize",(e,t)=>{var r;Ve.init(e,t),(r=e._zod.def).when??(r.when=s1),e._zod.check=i=>{let n=i.value;n.size<=t.maximum||i.issues.push({origin:zs(n),code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),d1=P("$ZodCheckMinSize",(e,t)=>{var r;Ve.init(e,t),(r=e._zod.def).when??(r.when=s1),e._zod.check=i=>{let n=i.value;n.size>=t.minimum||i.issues.push({origin:zs(n),code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),p1=P("$ZodCheckSizeEquals",(e,t)=>{var r;Ve.init(e,t),(r=e._zod.def).when??(r.when=s1),e._zod.check=i=>{let n=i.value,o=n.size;if(o===t.size)return;let a=o>t.size;i.issues.push({origin:zs(n),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),h1=P("$ZodCheckMaxLength",(e,t)=>{var r;Ve.init(e,t),(r=e._zod.def).when??(r.when=l1),e._zod.check=i=>{let n=i.value,o=n.length;if((typeof n=="string"&&o>t.maximum?Ni(n):o)<=t.maximum)return;let s=As(n);i.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),g1=P("$ZodCheckMinLength",(e,t)=>{var r;Ve.init(e,t),(r=e._zod.def).when??(r.when=l1),e._zod.check=i=>{let n=i.value,o=n.length;if((typeof n=="string"&&o>=t.minimum&&o<t.minimum*2?Ni(n):o)>=t.minimum)return;let s=As(n);i.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),v1=P("$ZodCheckLengthEquals",(e,t)=>{var r;Ve.init(e,t),(r=e._zod.def).when??(r.when=l1),e._zod.check=i=>{let n=i.value,o=n.length,a=typeof n=="string"&&o>=t.length&&o<=t.length*2?Ni(n):o;if(a===t.length)return;let s=As(n),l=a>t.length;i.issues.push({origin:s,...l?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Lo=P("$ZodCheckStringFormat",(e,t)=>{var r,i;Ve.init(e,t),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),y1=P("$ZodCheckRegex",(e,t)=>{Lo.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),b1=P("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=i1),Lo.init(e,t)}),x1=P("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=o1),Lo.init(e,t)}),w1=P("$ZodCheckIncludes",(e,t)=>{Ve.init(e,t);let r=kr(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position},}${r}`:r);t.pattern=i,e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),k1=P("$ZodCheckStartsWith",(e,t)=>{Ve.init(e,t);let r=new RegExp(`^${kr(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),$1=P("$ZodCheckEndsWith",(e,t)=>{Ve.init(e,t);let r=new RegExp(`.*${kr(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function n0(e,t,r){e.issues.length&&t.issues.push(...rr(r,e.issues))}var S1=P("$ZodCheckProperty",(e,t)=>{Ve.init(e,t),e._zod.check=r=>{let i=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(n=>n0(n,r,t.property));n0(i,r,t.property)}}),_1=P("$ZodCheckProperties",(e,t)=>{Ve.init(e,t),Ts(e,Symbol.iterator,function*(){yield e});let r;e._zod.check=i=>{if(i.value==null){i.issues.push({expected:"object",code:"invalid_type",input:i.value,inst:e});return}r??(r=Reflect.ownKeys(t.shape).map(a=>[a,t.shape[a]]));let n=i.value,o;for(let[a,s]of r){let l=s._zod.run({value:n[a],issues:[]},{});l instanceof Promise?(o??(o=[]),o.push(l.then(u=>n0(u,i,a)))):n0(l,i,a)}if(o)return Promise.all(o).then(()=>{})}}),I1=P("$ZodCheckMimeType",(e,t)=>{Ve.init(e,t);let r=new Set(t.mime);e._zod.check=i=>{r.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),z1=P("$ZodCheckOverwrite",(e,t)=>{Ve.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});var Oi=class{constructor(t=[],r={}){this.content=[],this.indent=0,this.args=t,this.closed=r}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`
190
+ `).filter(a=>a),n=Math.min(...i.map(a=>a.length-a.trimStart().length)),o=i.map(a=>a.slice(n)).map(a=>" ".repeat(this.indent*2)+a);for(let a of o)this.content.push(a)}compile(){let t=Function,r=this?.content??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
191
+ ${r.join(`
192
+ `)}
193
+ };`)(...Object.values(this.closed))}};var A1={major:4,minor:6,patch:7};var Se=P("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=A1;let i=e._zod.def.checks,n=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let o of n)for(let a of o._zod.onattach)a(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let o=(s,l,u)=>{if(s.memo)return s;let c=Ft(s),f;for(let d of l){if(d._zod.def.when){if(hg(s)||!d._zod.def.when(s))continue}else if(c)continue;let m=s.issues.length,h=d._zod.check(s);if(h instanceof Promise&&u?.async===!1)throw new ir;if(f||h instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await h,s.issues.length!==m&&(Is(s.issues,m,e),c||(c=Ft(s,m)))});else{if(s.issues.length===m)continue;Is(s.issues,m,e),c||(c=Ft(s,m))}}return f?f.then(()=>s):s},a=(s,l,u)=>{if(Ft(s))return s.aborted=!0,s;let c=o(l,n,u);if(c instanceof Promise){if(u.async===!1)throw new ir;return c.then(f=>e._zod.parse(f,u))}return e._zod.parse(c,u)};e._zod.run=(s,l)=>{if(l.skipChecks)return e._zod.parse(s,l);if(l.direction==="backward"){let c=e._zod.parse({value:s.value,issues:[]},{...l,skipChecks:!0});return c instanceof Promise?c.then(f=>a(f,s,l)):a(c,s,l)}let u=e._zod.parse(s,l);if(u instanceof Promise){if(l.async===!1)throw new ir;return u.then(c=>o(c,n,l))}return o(u,n,l)}}},{get"~standard"(){return Ts(this,"~standard",c0(this))},set"~standard"(e){Bn(this,"~standard",e)}}),yk=(e,t)=>e.issues.length?{issues:e.issues.map(r=>nr(r,t,ut()))}:{value:e.value};async function uM(e,t){let r={async:!0};return yk(await e._zod.run({value:t,issues:[]},r),r)}function c0(e){return{validate:t=>{let r={async:!1};try{let i=e._zod.run({value:t,issues:[]},r);if(!(i instanceof Promise))return yk(i,r)}catch{}return uM(e,t)},vendor:"zod",version:1}}var Pi=P("$ZodString",(e,t)=>{Se.init(e,t),e._zod.pattern=t.pattern??Xg,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),Re=P("$ZodStringFormat",(e,t)=>{Lo.init(e,t),Pi.init(e,t)}),C1=P("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Pg),Re.init(e,t)}),D1=P("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Ei(i))}else t.pattern??(t.pattern=Ei());Re.init(e,t)}),N1=P("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Lg),Re.init(e,t)}),E1=1,js=2;function O1(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function f0(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?O1(e)||js:bk(e,t)}function bk(e,t){if(!t.normalize&&t.protocol?.source===Os.source&&!/^https?:\/\//i.test(e))return E1;try{if(typeof URL<"u"){let r=URL;if(typeof r.parse=="function")return r.parse(e)??js}return new URL(e)}catch{return js}}var cM=/[\t\n\r]/g;function Us(e){return e.replace(cM,"")}function m0(e,t){return t.lastIndex=0,t.test(e.hostname)}function d0(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var P1=P("$ZodURL",(e,t)=>{Re.init(e,t),e._zod.check=r=>{try{let i=r.value.trim(),n=f0(i,t);if(n===E1){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}if(n===js){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});return}if(n===!0){r.value=Us(i);return}t.hostname&&!m0(n,t.hostname)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort}),t.protocol&&!d0(n,t.protocol)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort}),r.value=t.normalize?n.href:Us(i);return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),L1=P("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Mg()),Re.init(e,t)}),M1=P("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Ng:Eg(t.length)),Re.init(e,t)}),j1=P("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=zg),Re.init(e,t)}),U1=P("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Ag),Re.init(e,t)}),q1=P("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Tg),Re.init(e,t)}),R1=P("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Cg),Re.init(e,t)}),F1=P("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Dg),Re.init(e,t)}),B1=P("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Yg(t)),Re.init(e,t)}),Z1=P("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Gg),Re.init(e,t)}),V1=P("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Wg(t)),Re.init(e,t)}),H1=P("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Og),Re.init(e,t)}),K1=P("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=jg),Re.init(e,t)}),fM=/^[0-9a-fA-F:.]+$/;function qs(e){return fM.test(e)?O1(`http://[${e}]`):!1}var J1=P("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Ug),Re.init(e,t),e._zod.check=r=>{qs(r.value)||r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}),G1=P("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=qg(t.delimiter)),Re.init(e,t)}),W1=P("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Rg),Re.init(e,t)});function p0(e){let t=e.split("/");if(t.length!==2)return!1;let[r,i]=t;if(!i)return!1;let n=Number(i);return`${n}`!==i||n<0||n>128?!1:qs(r)}var Y1=P("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Fg),Re.init(e,t),e._zod.check=r=>{p0(r.value)||r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}});function Rs(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var h0=/^[0-9a-zA-Z+/]*={0,2}$/,X1=P("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=h0),Re.init(e,t),e._zod.check=r=>{Rs(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),Fs=/^[A-Za-z0-9_-]*$/;function g0(e){if(!Fs.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return Rs(r)}var Q1=P("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Fs),Re.init(e,t),e._zod.check=r=>{g0(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),ev=P("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Kg),Re.init(e,t)}),mM=/[- ]/g;function dM(e){let t=e.length,r=1,i=0;for(;t;){let n=e.charCodeAt(--t)-48;r^=1,i+=r?[0,2,4,6,8,1,3,5,7,9][n]:n}return i%10===0}function v0(e){return e0.test(e)?dM(e.replace(mM,"")):!1}var tv=P("$ZodCreditCard",(e,t)=>{t.pattern??(t.pattern=e0),Re.init(e,t),e._zod.check=r=>{v0(r.value)||r.issues.push({code:"invalid_format",format:"credit_card",input:r.value,inst:e,continue:!t.abort})}});function pM(e){let t=0,r=e.length;for(let i=4;i<r;i++){let n=e.charCodeAt(i);t=(n>=65?t*100+(n-55):t*10+(n-48))%97}for(let i=0;i<4;i++){let n=e.charCodeAt(i);t=(n>=65?t*100+(n-55):t*10+(n-48))%97}return t===1}function y0(e){return t0.test(e)?pM(e):!1}var rv=P("$ZodIBAN",(e,t)=>{t.pattern??(t.pattern=t0),Re.init(e,t),e._zod.check=r=>{y0(r.value)||r.issues.push({code:"invalid_format",format:"iban",input:r.value,inst:e,continue:!t.abort})}});function b0(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[i]=r;if(!i)return!1;let n=JSON.parse(atob(i));return!("typ"in n&&n?.typ!=="JWT"||!n.alg||t&&(!("alg"in n)||n.alg!==t))}catch{return!1}}var nv=P("$ZodJWT",(e,t)=>{Re.init(e,t),e._zod.check=r=>{b0(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),iv=P("$ZodCustomStringFormat",(e,t)=>{Re.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),x0=P("$ZodNumber",(e,t)=>{Se.init(e,t),e._zod.pattern=mn,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let n=r.value;if(typeof n=="number"&&!Number.isNaN(n)&&Number.isFinite(n))return r;let o=typeof n=="number"?Number.isNaN(n)?"NaN":Number.isFinite(n)?void 0:String(n):void 0;return r.issues.push({expected:"number",code:"invalid_type",input:n,inst:e,...o?{received:o}:{}}),r}}),ov=P("$ZodNumberFormat",(e,t)=>{c1.init(e,t),x0.init(e,t)}),Bs=P("$ZodBoolean",(e,t)=>{Se.init(e,t),e._zod.pattern=t1,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=!!r.value}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r}}),w0=P("$ZodBigInt",(e,t)=>{Se.init(e,t),e._zod.pattern=e1,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),av=P("$ZodBigIntFormat",(e,t)=>{f1.init(e,t),w0.init(e,t)}),sv=P("$ZodSymbol",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;return typeof n=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),r}}),lv=P("$ZodUndefined",(e,t)=>{Se.init(e,t),e._zod.pattern=n1,e._zod.values=new Set([void 0]),e._zod.parse=(r,i)=>{let n=r.value;return typeof n>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),r}}),uv=P("$ZodNull",(e,t)=>{Se.init(e,t),e._zod.pattern=r1,e._zod.values=new Set([null]),e._zod.parse=(r,i)=>{let n=r.value;return n===null||r.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),r}}),cv=P("$ZodAny",(e,t)=>{Se.init(e,t),e._zod.parse=r=>r}),fv=P("$ZodUnknown",(e,t)=>{Se.init(e,t),e._zod.parse=r=>r}),mv=P("$ZodNever",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),dv=P("$ZodVoid",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;return typeof n>"u"||r.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),r}}),pv=P("$ZodDate",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let n=r.value,o=n instanceof Date;return o&&!Number.isNaN(n.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:n,...o?{received:"Invalid Date"}:{},inst:e}),r}});function hv(e,t){let r=Co(e._zod.def.checks);if(!r.length)return;let i=Math.min(...r.map(o=>o[0])),n=e._zod.parse;e._zod.parse=(o,a)=>{let s=t(o.value);if(s>i&&!a?.skipChecks&&a?.direction!=="backward"){for(let[l,u]of Co(e._zod.def.checks))if(s>l&&u._zod.def.when(o)){let c=o.issues.length;return u._zod.check(o),o.issues[c].continue=!1,Is(o.issues,c,e),o}}return n(o,a)}}var hM=e=>Array.isArray(e)?e.length:-1,gM=e=>e instanceof Map?e.size:-1,vM=e=>e instanceof Set?e.size:-1;function nk(e,t,r){e.issues.length&&t.issues.push(...rr(r,e.issues)),t.value[r]=e.value}var gv=P("$ZodArray",(e,t)=>{Se.init(e,t);let r=zt.memoizer;r?.attach(e),e._zod.parse=(i,n)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),i;i.value=r?r.alloc(e,i,Array(o.length),n):Array(o.length);let a=[],s=n?.abortEarly;for(let l=0;l<o.length;l++){let u=o[l],c=t.element._zod.run({value:u,issues:[]},n);if(c instanceof Promise)a.push(c.then(f=>nk(f,i,l)));else if(nk(c,i,l),s&&c.issues.length!==0&&Ft(c))break}return a.length?Promise.all(a).then(()=>i):i},hv(e,hM)});function u0(e,t,r,i,n,o){let a=r in i,s=o==="optional";if(!(!a&&s&&n==="optional")){if(e.issues.length){if(n!==void 0&&s&&!a)return;t.issues.push(...rr(r,e.issues))}if(!a&&n===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?(a||n==="defaulted"&&!s)&&(t.value[r]=void 0):t.value[r]=e.value}}var yM=[];function xk(e){let t=Object.keys(e.shape),r=Object.getOwnPropertySymbols(e.shape),i=r.length?r:yM,n=i.length?[...t,...i]:t;for(let a of n)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);let o=pg(e.shape);return{...e,allKeys:n,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(o)}}function wk(e,t,r,i,n,o,a){let s=[],l=n.keySet,u=n.catchall._zod,c=u.def.type,f=u.optin,d=u.optout,m=0;for(let h in t){if(a&&r.issues.length!==m){if(Ft(r,m))break;m=r.issues.length}if(l.has(h))continue;if(h==="__proto__"){c==="never"&&s.push(h);continue}if(c==="never"){s.push(h);continue}let v=u.run({value:t[h],issues:[]},i);v instanceof Promise?e.push(v.then(y=>u0(y,r,h,t,f,d))):u0(v,r,h,t,f,d)}return s.length&&r.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:o,continue:!0}),e.length?Promise.all(e).then(()=>r):r}var kk=P("$ZodObject",(e,t)=>{Se.init(e,t);let r=Object.getOwnPropertyDescriptor(t,"shape"),i=r?.get?r.get.raw:t.shape??{};if(i){let u=()=>{let c={...i};return Object.defineProperty(t,"shape",{value:c}),u.raw=c,c};u.raw=i,Object.defineProperty(t,"shape",{get:u})}let n=Ao(()=>xk(t));ze(e,"propValues",u=>{let c=u.def.shape,f={};for(let d in c){let m=c[d]._zod;if(m.values){Object.prototype.hasOwnProperty.call(f,d)||Tt(f,d,new Set);for(let h of m.values)f[d].add(h);m.optin!==void 0&&f[d].add(void 0)}}return f});let o=Di,a=t.catchall,s,l=zt.memoizer;l?.attach(e),e._zod.parse=(u,c)=>{s??(s=n.value);let f=u.value;if(!o(f))return u.issues.push({expected:"object",code:"invalid_type",input:f,inst:e}),u;u.value=l?l.alloc(e,u,{},c):{};let d=[],m=s.shape,h=c?.abortEarly,v=u.issues.length;for(let y of s.allKeys){if(h&&u.issues.length!==v){if(Ft(u,v))break;v=u.issues.length}if(y==="__proto__")continue;let b=m[y],w=b._zod.optin,$=b._zod.optout,z=b._zod.run({value:f[y],issues:[]},c);z instanceof Promise?d.push(z.then(M=>u0(M,u,y,f,w,$))):u0(z,u,y,f,w,$)}return a?wk(d,f,u,c,n.value,e,h===!0):d.length?Promise.all(d).then(()=>u):u}}),vv=P("$ZodObjectJIT",(e,t)=>{kk.init(e,t);let r=e._zod.parse,i=Ao(()=>xk(t)),n=zt.memoizer,o=m=>{let h=i.value,v=h.symbolKeys,y=new Oi(["payload","ctx"],{shape:m,inst:e,memo:n,syms:v}),b=M=>`shape[${M}]._zod.run({ value: input[${M}], issues: [] }, ctx)`,w=(M,S)=>`
194
+ let ${M}_ab = false;
195
+ for (let i = 0; i < ${M}.issues.length; i++) {
196
+ const iss = ${M}.issues[i];
197
+ iss.path = iss.path ? [${S}, ...iss.path] : [${S}];
198
+ payload.issues.push(iss);
199
+ if (iss.continue !== true) ${M}_ab = true;
200
+ }
201
+ if (${M}_ab && ctx && ctx.abortEarly) {
202
+ payload.value = newResult;
203
+ return payload;
204
+ }`;y.write("const input = payload.value;");let $=Object.create(null),z=0;for(let M of h.allKeys)$[M]=`key_${z++}`;y.write(n?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let M of h.allKeys){if(M==="__proto__")continue;let S=$[M],C=typeof M=="symbol"?`syms[${v.indexOf(M)}]`:Rt(M),D=`${C} in input`,j=m[M],E=j?._zod?.optin,ne=E!==void 0,W=j?._zod?.optout==="optional";if(y.write(`const ${S} = ${b(C)};`),ne&&W){let Z=E==="optional"?`${S}_present`:`${S}.value !== undefined || ${S}_present`;y.write(`
205
+ const ${S}_present = ${D};
206
+ if (!${S}.issues.length || ${S}_present) {
207
+ if (${S}.issues.length) {${w(S,C)}
208
+ }
209
+
210
+ if (${Z}) {
211
+ newResult[${C}] = ${S}.value;
212
+ }
213
+ }
214
+
215
+ `)}else ne?(y.write(`
216
+ if (${S}.issues.length) {${w(S,C)}
217
+ }
218
+ `),E==="defaulted"?y.write(`newResult[${C}] = ${S}.value;`):y.write(`
219
+ if (${S}.value !== undefined || ${D}) {
220
+ newResult[${C}] = ${S}.value;
221
+ }
222
+ `)):y.write(`
223
+ const ${S}_present = ${D};
224
+ if (${S}.issues.length) {${w(S,C)}
225
+ }
226
+ if (!${S}_present && !${S}.issues.length) {
227
+ payload.issues.push({
228
+ code: "invalid_type",
229
+ expected: "nonoptional",
230
+ input: undefined,
231
+ path: [${C}]
232
+ });
233
+ if (ctx && ctx.abortEarly) {
234
+ payload.value = newResult;
235
+ return payload;
236
+ }
237
+ }
238
+
239
+ if (${S}_present) {
240
+ newResult[${C}] = ${S}.value;
241
+ }
242
+
243
+ `)}return y.write("payload.value = newResult;"),y.write("return payload;"),y.compile()},a,s=Di,l=!zt.jitless,c=l&&mg.value,f=t.catchall,d;e._zod.parse=(m,h)=>{d??(d=i.value);let v=m.value;return s(v)?l&&c&&h?.async===!1&&h.jitless!==!0?(a||(a=o(t.shape)),m=a(m,h),f?wk([],v,m,h,d,e,h?.abortEarly===!0):m):r(m,h):(m.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),m)}});function ik(e,t,r,i){for(let o of e)if(o.issues.length===0)return t.value=o.value,t;let n=e.filter(o=>!Ft(o));return n.length===1?(t.value=n[0].value,n[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(o=>o.issues.map(a=>nr(a,i,ut())))}),t)}var Zs=P("$ZodUnion",(e,t)=>{Se.init(e,t),ze(e,"optin",i=>i.def.options.some(n=>n._zod.optin==="defaulted")?"defaulted":i.def.options.some(n=>n._zod.optin!==void 0)?"optional":void 0),ze(e,"optout",i=>i.def.options.some(n=>n._zod.optout==="optional")?"optional":void 0),ze(e,"values",i=>{if(i.def.options.every(n=>n._zod.values))return new Set(i.def.options.flatMap(n=>Array.from(n._zod.values)))}),ze(e,"pattern",i=>{if(i.def.options.every(n=>n._zod.pattern)){let n=i.def.options.map(o=>o._zod.pattern);return new RegExp(`^(${n.map(o=>fn(o.source)).join("|")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let o=!1,a=[];for(let s of t.options){let l=s._zod.run({value:i.value,issues:[]},n);if(l instanceof Promise)a.push(l),o=!0;else{if(l.issues.length===0)return l;a.push(l)}}return o?Promise.all(a).then(s=>ik(s,i,e,n)):ik(a,i,e,n)}});function ok(e,t,r,i){let n=[];for(let o=0;o<e.length;o++)e[o].issues.length===0&&n.push(o);return n.length===1?(t.value=e[n[0]].value,t):(n.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(o=>o.issues.map(a=>nr(a,i,ut())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1,matches:n}),t)}var yv=P("$ZodXor",(e,t)=>{Zs.init(e,t),t.inclusive=!1;let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let o=!1,a=[];for(let s of t.options){let l=s._zod.run({value:i.value,issues:[]},n);l instanceof Promise?(a.push(l),o=!0):a.push(l)}return o?Promise.all(a).then(s=>ok(s,i,e,n)):ok(a,i,e,n)}});function bv(e,t){let r=e._zod,i=r.bag.optionsMap;i||(i=$k(r.def),r.bag.optionsMap=i);let n=i.get(t);if(n===null)throw new Error(`Ambiguous discriminator value "${String(t)}"`);return n}function $k(e){let t=new Map;for(let r of e.options){let i=r._zod.propValues?.[e.discriminator];if(!i||i.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(r)}"`);for(let n of i)if(t.has(n)){if(n!==void 0)throw new Error(`Duplicate discriminator value "${String(n)}"`);t.set(n,null)}else t.set(n,r)}return t}var xv=P("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Zs.init(e,t);let r=e._zod.parse;ze(e,"propValues",n=>{let o={},a=0;for(let s of n.def.options){let l=s._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${n.def.options.indexOf(s)}"`);l[n.def.discriminator]?.has(void 0)&&a++;for(let[u,c]of Object.entries(l)){Object.prototype.hasOwnProperty.call(o,u)||Tt(o,u,new Set);for(let f of c)o[u].add(f)}}return!n.def.unionFallback&&a>1&&o[n.def.discriminator]?.delete(void 0),o}),t.options.forEach((n,o)=>{let a=To(n._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,t.discriminator))throw new Error(`Invalid discriminated union option at index "${o}"`)});let i=Ao(()=>$k(t));e._zod.parse=(n,o)=>{let a=n.value;if(!Di(a))return n.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),n;let s=a?.[t.discriminator],l=i.value.get(s);return l&&(s!==void 0||o.direction!=="backward")?l._zod.run(n,o):t.unionFallback||o.direction==="backward"?r(n,o):(n.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(i.value.keys()).filter(u=>i.value.get(u)!==null),input:a,path:[t.discriminator],inst:e}),n)}}),wv=P("$ZodIntersection",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>{let n=r.value,o=t.left._zod.run({value:n,issues:[]},i),a=t.right._zod.run({value:n,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([l,u])=>ak(r,l,u)):ak(r,o,a)}});function Mo(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(wr(e)&&wr(t)){let r=Object.keys(t),i=Object.keys(e).filter(o=>r.indexOf(o)!==-1),n={...e,...t};Object.prototype.hasOwnProperty.call(n,"__proto__")&&delete n.__proto__;for(let o of i){if(o==="__proto__")continue;let a=Mo(e[o],t[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};n[o]=a.data}return{valid:!0,data:n}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let i=0;i<e.length;i++){let n=e[i],o=t[i],a=Mo(n,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function ak(e,t,r){let i=new Map,n,o=new Map,a=(u,c)=>{let f;if(u.code==="unrecognized_keys"&&!u.path?.length)n??(n=u),f=u.keys;else if(u.code==="invalid_key"&&u.origin==="record"&&u.path?.length===1){let d=String(u.path[0]);o.has(d)||o.set(d,u),f=[d]}else return!1;for(let d of f)i.has(d)||i.set(d,{}),i.get(d)[c]=!0;return!0};for(let u of t.issues)a(u,"l")||e.issues.push(u);for(let u of r.issues)a(u,"r")||e.issues.push(u);let s=[...i].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(s.length){let u=n?s.filter(c=>n.keys.includes(c)):[];u.length&&e.issues.push({...n,keys:u});for(let c of s)!u.includes(c)&&o.has(c)&&e.issues.push(o.get(c))}let l=Mo(t.value,r.value);if(!l.valid){if(Ft(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`)}return e.value=l.data,e}var k0=P("$ZodTuple",(e,t)=>{Se.init(e,t);let r=t.items,i=zt.memoizer;i?.attach(e),e._zod.parse=(n,o)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=i?i.alloc(e,n,[],o):[];let s=[],l=sk(r,"optin"),u=sk(r,"optout");if(!t.rest){if(a.length<l)return n.issues.push({code:"too_small",minimum:l,inclusive:!0,input:a,inst:e,origin:"array"}),n;a.length>r.length&&n.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:a,inst:e,origin:"array"})}let c=new Array(r.length),f=t.rest?o?.abortEarly:void 0,d=!1;for(let m=0;m<r.length;m++){let h=r[m]._zod.run({value:a[m],issues:[]},o);h instanceof Promise?s.push(h.then(v=>{c[m]=v})):(c[m]=h,f&&!d&&h.issues.length&&(d=Ft(h)))}if(t.rest&&!d){let m=r.length-1,h=a.slice(r.length),v=n.issues.length;for(let y of h){if(f&&n.issues.length!==v){if(Ft(n,v))break;v=n.issues.length}m++;let b=t.rest._zod.run({value:y,issues:[]},o);b instanceof Promise?s.push(b.then(w=>lk(w,n,m))):lk(b,n,m)}}return s.length?Promise.all(s).then(()=>uk(c,n,r,a,u)):uk(c,n,r,a,u)}});function sk(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function lk(e,t,r){e.issues.length&&t.issues.push(...rr(r,e.issues)),t.value[r]=e.value}function uk(e,t,r,i,n){for(let o=0;o<r.length;o++){let a=e[o],s=o<i.length;if(!s&&o>=n&&r[o]._zod.optin==="optional"){t.value.length=o;break}if(a.issues.length){if(!s&&o>=n){t.value.length=o;break}t.issues.push(...rr(o,a.issues))}t.value[o]=a.value}for(let o=t.value.length-1;o>=i.length&&(r[o]._zod.optout==="optional"&&t.value[o]===void 0);o--)t.value.length=o;return t}var kv=P("$ZodRecord",(e,t)=>{Se.init(e,t);let r=zt.memoizer;r?.attach(e),e._zod.parse=(i,n)=>{let o=i.value;if(!wr(o))return i.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),i;let a=[],s=t.keyType._zod.values;if(s&&!t.partial){i.value=r?r.alloc(e,i,{},n):{};let l=new Set;for(let c of s)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){if(l.add(typeof c=="number"?c.toString():c),c==="__proto__")continue;let f=t.keyType._zod.run({value:c,issues:[]},n);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(f.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:f.issues.map(h=>nr(h,n,ut())),input:c,path:[c],inst:e});continue}let d=f.value;if(d==="__proto__")continue;let m=t.valueType._zod.run({value:o[c],issues:[]},n);m instanceof Promise?a.push(m.then(h=>{h.issues.length&&i.issues.push(...rr(c,h.issues)),i.value[d]=h.value})):(m.issues.length&&i.issues.push(...rr(c,m.issues)),i.value[d]=m.value)}let u;for(let c in o)if(!l.has(c))if(t.mode==="loose"){if(c==="__proto__")continue;i.value[c]=o[c]}else u=u??[],u.push(c);u&&u.length>0&&i.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:u,continue:!0})}else{i.value=r?r.alloc(e,i,{},n):{};let l;for(let u of Reflect.ownKeys(o)){if(u==="__proto__"||!Object.prototype.propertyIsEnumerable.call(o,u))continue;let c=t.keyType._zod.run({value:u,issues:[]},n);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof u=="string"&&mn.test(u)&&c.issues.length){let h=t.keyType._zod.run({value:Number(u),issues:[]},n);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");h.issues.length===0&&(c=h)}if(c.issues.length){t.mode==="loose"?i.value[u]=o[u]:s?(l=l??[],l.push(u)):i.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(h=>nr(h,n,ut())),input:u,path:[u],inst:e});continue}let d=c.value;if(d==="__proto__")continue;let m=t.valueType._zod.run({value:o[u],issues:[]},n);m instanceof Promise?a.push(m.then(h=>{h.issues.length&&i.issues.push(...rr(u,h.issues)),i.value[d]=h.value})):(m.issues.length&&i.issues.push(...rr(u,m.issues)),i.value[d]=m.value)}l&&l.length>0&&i.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:l,continue:!0})}return a.length?Promise.all(a).then(()=>i):i}}),$v=P("$ZodMap",(e,t)=>{Se.init(e,t);let r=zt.memoizer;r?.attach(e),e._zod.parse=(i,n)=>{let o=i.value;if(!(o instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:o,inst:e}),i;let a=[];i.value=r?r.alloc(e,i,new Map,n):new Map;let s=n?.abortEarly,l=i.issues.length;for(let[u,c]of o){if(s&&i.issues.length!==l){if(Ft(i,l))break;l=i.issues.length}let f=t.keyType._zod.run({value:u,issues:[]},n),d=t.valueType._zod.run({value:c,issues:[]},n);f instanceof Promise||d instanceof Promise?a.push(Promise.all([f,d]).then(([m,h])=>{ck(m,h,i,u,o,e,n)})):ck(f,d,i,u,o,e,n)}return a.length?Promise.all(a).then(()=>i):i},hv(e,gM)});function ck(e,t,r,i,n,o,a){e.issues.length&&($s.has(typeof i)?r.issues.push(...rr(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:n,inst:o,issues:e.issues.map(s=>nr(s,a,ut()))})),t.issues.length&&($s.has(typeof i)?r.issues.push(...rr(i,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:n,inst:o,key:i,issues:t.issues.map(s=>nr(s,a,ut()))})),r.value.set(e.value,t.value)}var Sv=P("$ZodSet",(e,t)=>{Se.init(e,t);let r=zt.memoizer;r?.attach(e),e._zod.parse=(i,n)=>{let o=i.value;if(!(o instanceof Set))return i.issues.push({input:o,inst:e,expected:"set",code:"invalid_type"}),i;let a=[];i.value=r?r.alloc(e,i,new Set,n):new Set;let s=n?.abortEarly,l=i.issues.length;for(let u of o){if(s&&i.issues.length!==l){if(Ft(i,l))break;l=i.issues.length}let c=t.valueType._zod.run({value:u,issues:[]},n);c instanceof Promise?a.push(c.then(f=>fk(f,i))):fk(c,i)}return a.length?Promise.all(a).then(()=>i):i},hv(e,vM)});function fk(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var _v=P("$ZodEnum",(e,t)=>{Se.init(e,t);let r=Io(t.entries),i=new Set(r);e._zod.values=i,ze(e,"pattern",n=>{let o=Io(n.def.entries).filter(a=>$s.has(typeof a));return new RegExp(o.length?`^(${o.map(a=>kr(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(n,o)=>{let a=n.value;return i.has(a)||n.issues.push({code:"invalid_value",values:r,input:a,inst:e}),n}}),Iv=P("$ZodLiteral",(e,t)=>{Se.init(e,t);let r=new Set(t.values);e._zod.values=r,ze(e,"pattern",i=>{let n=i.def.values;return new RegExp(n.length?`^(${n.map(o=>typeof o=="string"?kr(o):o?kr(o.toString()):String(o)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(i,n)=>{let o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),zv=P("$ZodFile",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;return n instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),r}}),Av=P("$ZodTransform",(e,t)=>{Se.init(e,t),e._zod.optin="optional",zt.memoizer?.guard(e),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Zn(e.constructor.name);let n=t.transform(r.value,r);if(i.async)return(n instanceof Promise?n:Promise.resolve(n)).then(a=>(r.value=a,r));if(n instanceof Promise)throw new ir;return r.value=n,r}});function mk(e,t){return e.value=t.issues.length?void 0:t.value,e}var $0=P("$ZodOptional",(e,t)=>{Se.init(e,t),ze(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",ze(e,"values",r=>{let i=r.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),ze(e,"pattern",r=>{let i=r.def.innerType._zod.pattern;return i?new RegExp(`^(${fn(i.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(r.value===void 0){if(t.innerType._zod.optin!=="defaulted")return r;let n=t.innerType._zod.run({value:r.value,issues:[]},i);return n instanceof Promise?n.then(o=>mk(r,o)):mk(r,n)}return t.innerType._zod.run(r,i)}}),Tv=P("$ZodExactOptional",(e,t)=>{$0.init(e,t),ze(e,"values",r=>r.def.innerType._zod.values),ze(e,"pattern",r=>r.def.innerType._zod.pattern),e._zod.parse=(r,i)=>t.innerType._zod.run(r,i)}),Cv=P("$ZodNullable",(e,t)=>{Se.init(e,t),ze(e,"optin",r=>r.def.innerType._zod.optin),ze(e,"optout",r=>r.def.innerType._zod.optout),ze(e,"pattern",r=>{let i=r.def.innerType._zod.pattern;return i?new RegExp(`^(${fn(i.source)}|null)$`):void 0}),ze(e,"values",r=>r.def.innerType._zod.values?new Set([...r.def.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),Dv=P("$ZodDefault",(e,t)=>{Se.init(e,t),e._zod.optin="defaulted",ze(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(o=>dk(o,t)):dk(n,t)}});function dk(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Nv=P("$ZodPrefault",(e,t)=>{Se.init(e,t),e._zod.optin="defaulted",ze(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,i))}),Ev=P("$ZodNonOptional",(e,t)=>{Se.init(e,t),ze(e,"values",r=>{let i=r.def.innerType._zod.values;return i?new Set([...i].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,i)=>{let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(o=>pk(o,e)):pk(n,e)}});function pk(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var Ov=P("$ZodSuccess",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Zn("ZodSuccess");let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(o=>(r.value=o.issues.length===0,r)):(r.value=n.issues.length===0,r)}});function hk(e,t,r,i){return t.issues.length?(e.value=r.catchValue({...t,value:e.value,error:{issues:t.issues.map(n=>nr(n,i,ut()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Pv=P("$ZodCatch",(e,t)=>{Se.init(e,t),ze(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),ze(e,"optout",r=>r.def.innerType._zod.optout),ze(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);let n=t.innerType._zod.run({value:r.value,issues:[]},i);return n instanceof Promise?n.then(o=>hk(r,o,t,i)):hk(r,n,t,i)}}),Lv=P("$ZodNaN",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),S0=P("$ZodPipe",(e,t)=>{Se.init(e,t),ze(e,"values",r=>r.def.in._zod.values),ze(e,"optin",r=>r.def.in._zod.optin),ze(e,"optout",r=>r.def.out._zod.optout),ze(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){let o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>a0(a,t.in,i)):a0(o,t.in,i)}let n=t.in._zod.run(r,i);return n instanceof Promise?n.then(o=>a0(o,t.out,i)):a0(n,t.out,i)}});function a0(e,t,r){return e.issues.some(i=>i.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}var Vs=P("$ZodCodec",(e,t)=>{Se.init(e,t),ze(e,"values",r=>r.def.in._zod.values),ze(e,"optin",r=>r.def.in._zod.optin),ze(e,"optout",r=>r.def.out._zod.optout),ze(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,i)=>{if((i.direction||"forward")==="forward"){let o=t.in._zod.run(r,i);return o instanceof Promise?o.then(a=>s0(a,t,i)):s0(o,t,i)}else{let o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>s0(a,t,i)):s0(o,t,i)}}});function s0(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){let n=t.transform(e.value,e);return n instanceof Promise?n.then(o=>l0(e,o,t.out,r)):l0(e,n,t.out,r)}else{let n=t.reverseTransform(e.value,e);return n instanceof Promise?n.then(o=>l0(e,o,t.in,r)):l0(e,n,t.in,r)}}function l0(e,t,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},i)}var Mv=P("$ZodPreprocess",(e,t)=>{S0.init(e,t)}),jv=P("$ZodReadonly",(e,t)=>{Se.init(e,t),ze(e,"propValues",r=>r.def.innerType._zod.propValues),ze(e,"values",r=>r.def.innerType._zod.values),ze(e,"optin",r=>r.def.innerType?._zod?.optin),ze(e,"optout",r=>r.def.innerType?._zod?.optout),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(gk):gk(n)}});function gk(e){return e.memo||(e.value=Object.freeze(e.value)),e}function bM(e){let t=e._zod.def,r=t.pattern,i=!!t.format?.includes("int"),n,o;for(let s of t.checks??[]){let l=s._zod.def;l.pattern&&(r=l.pattern),i||(i=!!l.format?.includes("int"));let u=l.minimum??l.length,c=l.maximum??l.length;u!==void 0&&(n===void 0||u>n)&&(n=u),c!==void 0&&(o===void 0||c<o)&&(o=c)}if(r)return r.source;if(n!==void 0&&o!==void 0&&n>o)return"(?!)";if(n!==void 0||o!==void 0)return Qg({minimum:n,maximum:o}).source;let a=e._zod.pattern;return(i&&a===mn?Ps:a)?.source}function T1(e){let t=e._zod.def,r=e._zod.pattern?.source,i=t.innerType??e._zod.innerType;if(i){let n=i._zod.pattern?.source,o=T1(i);return r&&n&&o&&o!==n?r.replace(fn(n),()=>fn(o)):r}if(t.options){let n=t.options.map(T1);if(n.every(Boolean))return`^(${n.map(o=>fn(o)).join("|")})$`}return bM(e)}var Uv=P("$ZodTemplateLiteral",(e,t)=>{Se.init(e,t);let r=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){let n=T1(i);if(!n)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);r.push(fn(n))}else if(i===null||dg.has(typeof i))r.push(kr(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(i,n)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),qv=P("$ZodFunction",(e,t)=>(Se.init(e,t),Object.defineProperty(e,"_def",{value:t}),e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return Object.defineProperty(function(...i){let n=e._def.input?Zc(e._def.input,i):i,o=Reflect.apply(r,this,n);return e._def.output?Zc(e._def.output,o):o},"_zod",{value:e._zod,enumerable:!1})},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return Object.defineProperty(async function(...i){let n=e._def.input?await Vc(e._def.input,i):i,o=await Reflect.apply(r,this,n);return e._def.output?await Vc(e._def.output,o):o},"_zod",{value:e._zod,enumerable:!1})},e._zod.parse=(r,i)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let i=e.constructor;return Array.isArray(r[0])?new i({type:"function",input:new k0({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new i({type:"function",input:r[0],output:e._def.output})},e.output=r=>{let i=e.constructor;return new i({type:"function",input:e._def.input,output:r})},e)),Rv=P("$ZodPromise",(e,t)=>{Se.init(e,t),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(n=>t.innerType._zod.run({value:n,issues:[]},i))}),Hs=P("$ZodLazy",(e,t)=>{Se.init(e,t),cg(e._zod,"innerType",()=>{let r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),ze(e,"pattern",r=>r.innerType?._zod?.pattern),ze(e,"propValues",r=>r.innerType?._zod?.propValues),ze(e,"optin",r=>r.innerType?._zod?.optin??void 0),ze(e,"optout",r=>r.innerType?._zod?.optout??void 0),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),Fv=P("$ZodCustom",(e,t)=>{Ve.init(e,t),Se.init(e,t),e._zod.parse=(r,i)=>r,e._zod.check=r=>{let i=r.value,n=t.fn(i);if(n instanceof Promise)return n.then(o=>vk(o,r,i,e));vk(n,r,i,e)}});function vk(e,t,r,i){if(!e){let n={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(n.params=i._zod.def.params),t.issues.push(Do(n))}}var A0=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},Zv="~memo",_k=[];function Ik(e){return e!==null&&typeof e=="object"}function Bv(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}var zk=new WeakMap,jo=0,z0=1,Ks=2;function Js(e,t,r){let i=zk.get(e);if(i!==void 0)return i?Ks:jo;if(t.has(e))return Ks;t.add(e);let n=jo,o=c=>{if(n!==Ks&&c?._zod){let f=Js(c,t,r);f>n&&(n=f)}},a=(c,f)=>{let d=jo;for(let m of Reflect.ownKeys(c)){let h=Object.getOwnPropertyDescriptor(c,m);if(f&&!h.enumerable)continue;let v=h.get?z0:h.value?._zod?Js(h.value,t,r):jo;v>d&&(d=v)}return d},s=c=>{c>n&&(n=c)},l=e._zod.def,u=l.type;switch(u){case"object":{let c=To(l);s(c?a(c,!0):z0),o(l.catchall);break}case"array":o(l.element);break;case"tuple":for(let c of l.items)o(c);o(l.rest);break;case"record":case"map":o(l.keyType),o(l.valueType);break;case"set":o(l.valueType);break;case"union":for(let c of l.options)o(c);break;case"intersection":o(l.left),o(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":o(l.innerType);break;case"pipe":o(l.in),o(l.out);break;case"function":o(l.input),o(l.output);break;case"lazy":{let c=l._cachedInner??(r?e._zod.innerType:void 0);s(c?Js(c,t,!1):z0);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let c in l){let f=Object.getOwnPropertyDescriptor(l,c);if(!f||f.get)continue;let d=f.value;if(!(!d||typeof d!="object")){if(d._zod)o(d);else if(Array.isArray(d))for(let m of d)o(m)}}}return t.delete(e),xM(e,n)}function xM(e,t){return t!==z0&&zk.set(e,t===Ks),t}function T0(e){return Js(e,new Set,!0)!==jo}function wM(e,t){let r=e.buckets.get(t);return r||(r=new WeakMap,e.buckets.set(t,r)),r}var _0,I0=[],kM={alloc(e,t,r){let i=_0;if(!i)return r;_0=void 0;let n={value:r,issues:null};return i.set(t.value,n),I0.push(n),r},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let r=e._zod.parse,i=(n,o)=>{if(o.direction!=="backward"&&C0(o,n.value))throw new A0;return r(n,o)};e._zod.parse=i,e._zod.run===r&&(e._zod.run=i)})},attach(e){var t;let r,i=!1,n,o;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,s=(l,u)=>{if(r===void 0){let b=Js(e,new Set,!1);if(b===jo)return e._zod.parse=a,e._zod.run===s&&(e._zod.run=a),a(l,u);b===Ks||i?r=!0:i=!0}let c=l.value;if(!Ik(c))return a(l,u);let f=u[Zv];f||(f={buckets:new WeakMap,backEdges:void 0},u[Zv]=f);let d;n===u?d=o:(d=wM(f,e),n=u,o=d);let m=d.get(c);if(m)return l.value=m.value,m.issues?m.issues.length&&l.issues.push(...Bv(m.issues)):(l.memo=!0,f.backEdges??(f.backEdges=new WeakSet),f.backEdges.add(m.value)),l;_0=d;let h=I0.length,v=a(l,u);_0=void 0;let y=I0.length>h?I0.pop():void 0;return v instanceof Promise?v.then(b=>(y&&(y.issues=b.issues.length?Bv(b.issues):_k),b)):(y&&(y.issues=v.issues.length?Bv(v.issues):_k),v)};e._zod.parse=s,e._zod.run===a&&(e._zod.run=s)})}};function Gs(){return kM}function C0(e,t){let r=e[Zv]?.backEdges;return r!==void 0&&Ik(t)&&r.has(t)}var Ys={};zr(Ys,{ar:()=>Ak,az:()=>Tk,be:()=>Dk,bg:()=>Nk,bn:()=>Ek,ca:()=>Ok,ckb:()=>Pk,cs:()=>Lk,da:()=>Mk,de:()=>jk,el:()=>Uk,en:()=>D0,eo:()=>qk,es:()=>Rk,fa:()=>Fk,fi:()=>Bk,fr:()=>Zk,frCA:()=>Vk,gu:()=>Hk,he:()=>Kk,hi:()=>Jk,hr:()=>Gk,hu:()=>Wk,hy:()=>Xk,id:()=>Qk,is:()=>e8,it:()=>t8,ja:()=>r8,ka:()=>n8,kh:()=>i8,km:()=>N0,kn:()=>o8,ko:()=>a8,lt:()=>l8,mk:()=>u8,ms:()=>c8,ne:()=>f8,nl:()=>m8,nn:()=>d8,no:()=>p8,ota:()=>h8,pl:()=>v8,ps:()=>g8,pt:()=>y8,ptBR:()=>b8,ro:()=>x8,ru:()=>k8,sk:()=>$8,sl:()=>S8,sv:()=>_8,ta:()=>I8,tg:()=>z8,th:()=>A8,tk:()=>T8,tr:()=>C8,ua:()=>D8,uk:()=>E0,ur:()=>N8,uz:()=>E8,vi:()=>O8,yo:()=>M8,zhCN:()=>P8,zhTW:()=>L8});var $M=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},map:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(n){return e[n]??null}let r={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",mac:"\u0639\u0646\u0648\u0627\u0646 MAC",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",credit_card:"\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",currency_code:"\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",iban:"IBAN",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${n.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${o}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`}case"invalid_value":return n.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${F(n.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${n.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${n.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${n.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${n.minimum.toString()} ${a.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${n.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${n.prefix}"`:o.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${o.suffix}"`:o.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${o.includes}"`:o.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${o.pattern}`:`${r[o.format]??n.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${n.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${n.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${n.keys.length>1?"\u0629":""}: ${L(n.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${n.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${n.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}};function Ak(){return{localeError:$M()}}var SM=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"},map:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(n){return e[n]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"kredit kart\u0131 n\xF6mr\u0259si",currency_code:"valyuta kodu",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${n.expected}, daxil olan ${s}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${o}, daxil olan ${s}`}case"invalid_value":return n.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${F(n.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${n.origin??"d\u0259y\u0259r"} ${o}${n.maximum.toString()} ${a.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${n.origin??"d\u0259y\u0259r"} ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${n.origin} ${o}${n.minimum.toString()} ${a.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${o.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:o.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${o.suffix}" il\u0259 bitm\u0259lidir`:o.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${o.includes}" daxil olmal\u0131d\u0131r`:o.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${o.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${r[o.format]??n.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${n.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${n.keys.length>1?"lar":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${n.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}};function Tk(){return{localeError:SM()}}function Ck(e,t,r,i){let n=Math.abs(e),o=n%10,a=n%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?r:i}var _M=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},map:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(n){return e[n]??null}let r={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",mac:"MAC \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",credit_card:"\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",currency_code:"\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",iban:"IBAN",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},i={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${n.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${o}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`}case"invalid_value":return n.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${F(n.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);if(a){let s=Number(n.maximum),l=Ck(s,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${o}${n.maximum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);if(a){let s=Number(n.minimum),l=Ck(s,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${o}${n.minimum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${r[o.format]??n.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${n.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${L(n.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${n.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${n.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}};function Dk(){return{localeError:_M()}}var IM=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},map:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(n){return e[n]??null}let r={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",mac:"MAC \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",credit_card:"\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",currency_code:"\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${n.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`}case"invalid_value":return n.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${F(n.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${n.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${n.minimum.toString()} ${a.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;if(o.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${o.prefix}"`;if(o.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${o.suffix}"`;if(o.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${o.includes}"`;if(o.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${o.pattern}`;let a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return o.format==="emoji"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="datetime"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="date"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),o.format==="time"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="duration"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${a} ${r[o.format]??n.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${n.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${n.keys.length>1?"\u043E\u0432\u0435":""}: ${L(n.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${n.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${n.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}};function Nk(){return{localeError:IM()}}var zM=()=>{let e={string:{unit:"\u0985\u0995\u09CD\u09B7\u09B0",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},file:{unit:"\u09AC\u09BE\u0987\u099F",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},array:{unit:"\u0986\u0987\u099F\u09C7\u09AE",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},set:{unit:"\u0986\u0987\u099F\u09C7\u09AE",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},map:{unit:"\u098F\u09A8\u09CD\u099F\u09CD\u09B0\u09BF",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"}};function t(n){return e[n]??null}let r={regex:"\u0987\u09A8\u09AA\u09C1\u099F",email:"\u0987\u09AE\u09C7\u0987\u09B2 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",url:"URL",emoji:"\u0987\u09AE\u09CB\u099C\u09BF",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u09A4\u09BE\u09B0\u09BF\u0996 \u0993 \u09B8\u09AE\u09AF\u09BC",date:"ISO \u09A4\u09BE\u09B0\u09BF\u0996",time:"ISO \u09B8\u09AE\u09AF\u09BC",duration:"ISO \u09B8\u09AE\u09AF\u09BC\u0995\u09BE\u09B2",ipv4:"IPv4 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",ipv6:"IPv6 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",mac:"MAC \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",cidrv4:"IPv4 \u09B0\u09C7\u099E\u09CD\u099C",cidrv6:"IPv6 \u09B0\u09C7\u099E\u09CD\u099C",base64:"base64-\u098F\u09A8\u0995\u09CB\u09A1\u09C7\u09A1 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",base64url:"base64url-\u098F\u09A8\u0995\u09CB\u09A1\u09C7\u09A1 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",json_string:"JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",e164:"E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",credit_card:"\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",currency_code:"\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",iban:"IBAN",jwt:"JWT",template_literal:"\u0987\u09A8\u09AA\u09C1\u099F"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F: \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${o}, \u09AA\u09CD\u09B0\u09BE\u09AA\u09CD\u09A4 ${s}`}case"invalid_value":return n.values.length===1?`\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F: \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${F(n.values[0])}`:`\u0985\u09AC\u09C8\u09A7 \u0985\u09AA\u09B6\u09A8: ${L(n.values," | ")} \u098F\u09B0 \u09AE\u09A7\u09CD\u09AF\u09C7 \u098F\u0995\u099F\u09BF \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0985\u09A8\u09C7\u0995 \u09AC\u09A1\u09BC: ${n.origin??"\u09AE\u09BE\u09A8"} ${o}${n.maximum.toString()} ${a.unit??"\u098F\u09B2\u09BF\u09AE\u09C7\u09A8\u09CD\u099F"} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:`\u0985\u09A8\u09C7\u0995 \u09AC\u09A1\u09BC: ${n.origin??"\u09AE\u09BE\u09A8"} ${o}${n.maximum.toString()} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0985\u09A8\u09C7\u0995 \u099B\u09CB\u099F: ${n.origin} ${o}${n.minimum.toString()} ${a.unit} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:`\u0985\u09A8\u09C7\u0995 \u099B\u09CB\u099F: ${n.origin} ${o}${n.minimum.toString()} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: "${o.prefix}" \u09A6\u09BF\u09AF\u09BC\u09C7 \u09B6\u09C1\u09B0\u09C1 \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:o.format==="ends_with"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: "${o.suffix}" \u09A6\u09BF\u09AF\u09BC\u09C7 \u09B6\u09C7\u09B7 \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:o.format==="includes"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: "${o.includes}" \u0985\u09A8\u09CD\u09A4\u09B0\u09CD\u09AD\u09C1\u0995\u09CD\u09A4 \u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7`:o.format==="regex"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: ${o.pattern} \u09AA\u09CD\u09AF\u09BE\u099F\u09BE\u09B0\u09CD\u09A8 \u09AE\u09BF\u09B2\u09A4\u09C7 \u09B9\u09AC\u09C7`:`\u0985\u09AC\u09C8\u09A7 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0985\u09AC\u09C8\u09A7 \u09A8\u09AE\u09CD\u09AC\u09B0: ${n.divisor} \u098F\u09B0 \u0997\u09C1\u09A3\u09BF\u09A4\u0995 \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`;case"unrecognized_keys":return`\u0985\u099A\u09C7\u09A8\u09BE \u0995\u09C0${n.keys.length>1?"\u0997\u09C1\u09B2\u09CB":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} \u098F \u0985\u09AC\u09C8\u09A7 \u0995\u09C0`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`\u0985\u09AC\u09C8\u09A7 \u09A1\u09BF\u09B8\u0995\u09CD\u09B0\u09BF\u09AE\u09BF\u09A8\u09C7\u099F\u09B0 \u09AE\u09BE\u09A8\u0964 \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${n.options.map(a=>`'${a}'`).join(" | ")}`:"\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F";case"invalid_element":return`${n.origin} \u098F \u0985\u09AC\u09C8\u09A7 \u09AE\u09BE\u09A8`;default:return"\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F"}}};function Ek(){return{localeError:zM()}}var AM=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"},map:{unit:"elements",verb:"contenir"}};function t(n){return e[n]??null}let r={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",mac:"adre\xE7a MAC",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",credit_card:"n\xFAmero de targeta de cr\xE8dit",currency_code:"codi de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${n.expected}, s'ha rebut ${s}`:`Tipus inv\xE0lid: s'esperava ${o}, s'ha rebut ${s}`}case"invalid_value":return n.values.length===1?`Valor inv\xE0lid: s'esperava ${F(n.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${L(n.values," o ")}`;case"too_big":{let o=n.inclusive?"com a m\xE0xim":"menys de",a=t(n.origin);return a?`Massa gran: s'esperava que ${n.origin??"el valor"} contingu\xE9s ${o} ${n.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${n.origin??"el valor"} fos ${o} ${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?"com a m\xEDnim":"m\xE9s de",a=t(n.origin);return a?`Massa petit: s'esperava que ${n.origin} contingu\xE9s ${o} ${n.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${n.origin} fos ${o} ${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${o.prefix}"`:o.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format inv\xE0lid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${o.pattern}`:`Format inv\xE0lid per a ${r[o.format]??n.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${n.divisor}`;case"unrecognized_keys":return`Clau${n.keys.length>1?"s":""} no reconeguda${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${n.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${n.origin}`;default:return"Entrada inv\xE0lida"}}};function Ok(){return{localeError:AM()}}var TM=()=>{let e={string:{unit:"\u067E\u06CC\u062A",verb:"\u0628\u06CE\u062A"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u0628\u06CE\u062A"},array:{unit:"\u062F\u0627\u0646\u06D5",verb:"\u0628\u06CE\u062A"},set:{unit:"\u062F\u0627\u0646\u06D5",verb:"\u0628\u06CE\u062A"},map:{unit:"\u062F\u0627\u0646\u06D5",verb:"\u0628\u06CE\u062A"}};function t(n){return e[n]??null}let r={regex:"regex",email:"\u0626\u06CC\u0645\u06D5\u06CC\u06B5",url:"\u0628\u06D5\u0633\u062A\u06D5\u0631 (URL)",emoji:"\u0626\u06CC\u0645\u06C6\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0695\u06CE\u06A9\u06D5\u0648\u062A \u0648 \u06A9\u0627\u062A",date:"\u0695\u06CE\u06A9\u06D5\u0648\u062A",time:"\u06A9\u0627\u062A",duration:"\u0645\u0627\u0648\u06D5",ipv4:"\u0646\u0627\u0648\u0646\u06CC\u0634\u0627\u0646\u06CC IPv4",ipv6:"\u0646\u0627\u0648\u0646\u06CC\u0634\u0627\u0646\u06CC IPv6",mac:"\u0646\u0627\u0648\u0646\u06CC\u0634\u0627\u0646\u06CC MAC",cidrv4:"\u0645\u06D5\u0648\u062F\u0627\u06CC IPv4",cidrv6:"\u0645\u06D5\u0648\u062F\u0627\u06CC IPv6",base64:"\u062F\u06D5\u0642\u06CC base64",base64url:"\u062F\u06D5\u0642\u06CC base64url",json_string:"\u062F\u06D5\u0642\u06CC JSON",e164:"\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",credit_card:"\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",currency_code:"\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",iban:"IBAN",jwt:"JWT",template_literal:"\u062A\u06CE\u06A9\u0631\u062F\u06D5"},i={nan:"NaN",string:"\u0646\u0648\u0648\u0633\u06CC\u0646",number:"\u0698\u0645\u0627\u0631\u06D5",boolean:"boolean",array:"array",object:"object",date:"\u0695\u06CE\u06A9\u06D5\u0648\u062A",integer:"\u0698\u0645\u0627\u0631\u06D5",float:"\u0698\u0645\u0627\u0631\u06D5",null:"null",undefined:"undefined",function:"function",symbol:"symbol",unknown:"unknown",promise:"promise",void:"void",never:"never",map:"map",set:"set"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a,l=["\u0627","\u0648","\u06C6","\u0648\u0648","\u06D5","\u06CC","\u06CE"].some(c=>s.endsWith(c))?"\u06CC\u06D5":"\u06D5",u=/^[a-zA-Z]+$/.test(s);return a==="null"||a==="undefined"?"\u062F\u0627\u0648\u0627\u06A9\u0631\u0627\u0648\u06D5":`\u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 ${o} \u0628\u06CE\u062A\u060C \u0628\u06D5\u06B5\u0627\u0645 ${s}${u?"":l}`}case"invalid_value":return n.values.length===1?`\u0628\u06D5\u0647\u0627\u06A9\u06D5 \u0646\u0627\u062F\u0631\u0648\u0648\u0633\u062A\u06D5: \u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 ${F(n.values[0])} \u0628\u06CE\u062A`:`\u0647\u06D5\u06B5\u0628\u0698\u0627\u0631\u062F\u06D5\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 \u06CC\u06D5\u06A9\u06CE\u06A9 \u0628\u06CE\u062A \u0644\u06D5 ${L(n.values,"|")}`;case"too_big":{let o=t(n.origin);return o?`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u0632\u06C6\u0631\u06D5\u0648\u06D5 ${n.maximum.toString()} ${o.unit} ${o.verb}`:`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u0632\u06C6\u0631\u06D5\u0648\u06D5 ${n.maximum.toString()} \u0628\u06CE\u062A`}case"too_small":{let o=t(n.origin);return o?`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u06A9\u06D5\u0645\u06D5\u0648\u06D5 ${n.minimum.toString()} ${o.unit} ${o.verb}`:`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u06A9\u06D5\u0645\u06D5\u0648\u06D5 ${n.minimum.toString()} \u0628\u06CE\u062A`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u062F\u06D5\u0633\u062A\u067E\u06CE\u0628\u06A9\u0627\u062A \u0628\u06D5 "${o.prefix}"`:o.format==="ends_with"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u06A9\u06C6\u062A\u0627\u06CC\u06CC\u0628\u06CE\u062A \u0628\u06D5 "${o.suffix}"`:o.format==="includes"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 "${o.includes}" \u0644\u06D5\u062E\u06C6\u0628\u06AF\u0631\u06CE\u062A`:o.format==="regex"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0644\u06D5\u06AF\u06D5\u06B5 \u067E\u0627\u062A\u06CE\u0631\u0646\u06CC ${o.pattern} \u0628\u06AF\u0648\u0646\u062C\u06CE\u062A`:`\u0628\u06D5\u0647\u0627\u06CC ${r[o.format]??n.format} \u0646\u0627\u062F\u0631\u0648\u0633\u062A\u06D5`}case"not_multiple_of":return`\u0698\u0645\u0627\u0631\u06D5\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u062F\u06D5\u0628\u06CE\u062A \u0686\u06D5\u0646\u062F \u0647\u06CE\u0646\u062F\u06D5 \u0628\u06CE\u062A \u0628\u06C6 ${n.divisor}`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u0644\u06CC \u0646\u06D5\u0646\u0627\u0633\u0631\u0627\u0648: ${L(n.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u0644\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A \u0644\u06D5 ${n.origin}`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`\u0628\u06D5\u0647\u0627\u06CC \u0646\u06D5\u0646\u0627\u0633\u0631\u0627\u0648 \u0647\u06D5\u06CC\u06D5. \u0628\u06D5\u0647\u0627\u06CC \u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648: ${n.options.map(a=>`'${a}'`).join(" | ")}`:"\u06CC\u06D5\u06A9\u06AF\u0631\u062A\u0646\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A";case"invalid_element":return`${n.origin} \u0628\u06D5\u0647\u0627\u06A9\u06D5 \u0646\u0627\u062F\u0631\u0648\u0633\u062A\u06D5`;default:return"\u062A\u06CE\u06A9\u0631\u062F\u06D5\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A"}}};function Pk(){return{localeError:TM()}}var CM=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"},map:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(n){return e[n]??null}let r={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",credit_card:"\u010D\xEDslo kreditn\xED karty",currency_code:"k\xF3d m\u011Bny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${n.expected}, obdr\u017Eeno ${s}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${o}, obdr\u017Eeno ${s}`}case"invalid_value":return n.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${F(n.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${n.origin??"hodnota"} mus\xED m\xEDt ${o}${n.maximum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${n.origin??"hodnota"} mus\xED b\xFDt ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${n.origin??"hodnota"} mus\xED m\xEDt ${o}${n.minimum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${n.origin??"hodnota"} mus\xED b\xFDt ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${o.prefix}"`:o.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${o.suffix}"`:o.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${o.includes}"`:o.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${o.pattern}`:`Neplatn\xFD form\xE1t ${r[o.format]??n.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${n.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${L(n.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${n.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${n.origin}`;default:return"Neplatn\xFD vstup"}}};function Lk(){return{localeError:CM()}}var DM=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"},map:{unit:"elementer",verb:"indeholdt"}};function t(n){return e[n]??null}let r={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kreditkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ugyldigt input: forventede instanceof ${n.expected}, fik ${s}`:`Ugyldigt input: forventede ${o}, fik ${s}`}case"invalid_value":return n.values.length===1?`Ugyldig v\xE6rdi: forventede ${F(n.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin),s=i[n.origin]??n.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${o} ${n.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${o} ${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin),s=i[n.origin]??n.origin;return a?`For lille: forventede ${s} ${a.verb} ${o} ${n.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${o} ${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${r[o.format]??n.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${L(n.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${n.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${n.origin}`;default:return"Ugyldigt input"}}};function Mk(){return{localeError:DM()}}var NM=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"},map:{unit:"Elemente",verb:"zu haben"}};function t(n){return e[n]??null}let r={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",mac:"MAC-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",credit_card:"Kreditkartennummer",currency_code:"W\xE4hrungscode",iban:"IBAN",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${n.expected}, erhalten ${s}`:`Ung\xFCltige Eingabe: erwartet ${o}, erhalten ${s}`}case"invalid_value":return n.values.length===1?`Ung\xFCltige Eingabe: erwartet ${F(n.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Zu gro\xDF: erwartet, dass ${n.origin??"Wert"} ${o}${n.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${n.origin??"Wert"} ${o}${n.maximum.toString()} ist`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Zu klein: erwartet, dass ${n.origin} ${o}${n.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${n.origin} ${o}${n.minimum.toString()} ist`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Ung\xFCltiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ung\xFCltiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ung\xFCltiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${o.pattern} entsprechen`:`Ung\xFCltig: ${r[o.format]??n.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${n.divisor} sein`;case"unrecognized_keys":return`${n.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${L(n.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${n.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${n.origin}`;default:return"Ung\xFCltige Eingabe"}}};function jk(){return{localeError:NM()}}var EM=()=>{let e={string:{unit:"\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},file:{unit:"bytes",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},array:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},set:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},map:{unit:"\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"}};function t(n){return e[n]??null}let r={regex:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",email:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 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 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03CE\u03C1\u03B1",date:"ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",time:"ISO \u03CE\u03C1\u03B1",duration:"ISO \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1",ipv4:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv4",ipv6:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv6",mac:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 MAC",cidrv4:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv4",cidrv6:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv6",base64:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64",base64url:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64url",json_string:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",e164:"\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",credit_card:"\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",currency_code:"\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",iban:"IBAN",jwt:"JWT",template_literal:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return typeof n.expected=="string"&&/^[A-Z]/.test(n.expected)?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${n.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${o}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`}case"invalid_value":return n.values.length===1?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${F(n.values[0])}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD \u03AD\u03BD\u03B1 \u03B1\u03C0\u03CC ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${n.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${o}${n.maximum.toString()} ${a.unit??"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${n.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${n.origin} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${o}${n.minimum.toString()} ${a.unit}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${n.origin} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AC \u03BC\u03B5 "${o.prefix}"`:o.format==="ends_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B5\u03BB\u03B5\u03B9\u03CE\u03BD\u03B5\u03B9 \u03BC\u03B5 "${o.suffix}"`:o.format==="includes"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 "${o.includes}"`:o.format==="regex"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03BC\u03BF\u03C4\u03AF\u03B2\u03BF ${o.pattern}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF: ${r[o.format]??n.format}`}case"not_multiple_of":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 ${n.divisor}`;case"unrecognized_keys":return`\u0386\u03B3\u03BD\u03C9\u03C3\u03C4${n.keys.length>1?"\u03B1":"\u03BF"} \u03BA\u03BB\u03B5\u03B9\u03B4${n.keys.length>1?"\u03B9\u03AC":"\u03AF"}: ${L(n.keys,", ")}`;case"invalid_key":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03BA\u03BB\u03B5\u03B9\u03B4\u03AF \u03C3\u03C4\u03BF ${n.origin}`;case"invalid_union":return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2";case"invalid_element":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C4\u03B9\u03BC\u03AE \u03C3\u03C4\u03BF ${n.origin}`;default:return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"}}};function Uk(){return{localeError:EM()}}var OM=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(o){return e[o]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function n(o,a){return o==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):i[o]??o}return o=>{switch(o.code){case"invalid_type":{let a=n(o.expected),s=B(o.input),l=n(s,o.input);return`Invalid input: expected ${a}, received ${l}`}case"invalid_value":return o.values.length===1?`Invalid input: expected ${F(o.values[0])}`:`Invalid option: expected one of ${L(o.values,"|")}`;case"too_big":{let a=o.exact?"exactly ":o.inclusive?"<=":"<",s=t(o.origin);return s?`Too big: expected ${o.origin??"value"} to have ${a}${o.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${o.origin??"value"} to be ${a}${o.maximum.toString()}`}case"too_small":{let a=o.exact?"exactly ":o.inclusive?">=":">",s=t(o.origin);return s?`Too small: expected ${o.origin} to have ${a}${o.minimum.toString()} ${s.unit}`:`Too small: expected ${o.origin} to be ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${r[a.format]??o.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${o.divisor}`;case"unrecognized_keys":return`Unrecognized key${o.keys.length>1?"s":""}: ${L(o.keys,", ")}`;case"invalid_key":return`Invalid key in ${o.origin}`;case"invalid_union":return o.options&&Array.isArray(o.options)&&o.options.length>0?`Invalid discriminator value. Expected ${o.options.map(s=>`'${s}'`).join(" | ")}`:o.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${o.origin}`;default:return"Invalid input"}}};function D0(){return{localeError:OM()}}var PM=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"},map:{unit:"elementojn",verb:"havi"}};function t(n){return e[n]??null}let r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",mac:"MAC-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",credit_card:"kreditkarta numero",currency_code:"valuta kodo",iban:"IBAN",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${n.expected}, ricevi\u011Dis ${s}`:`Nevalida enigo: atendi\u011Dis ${o}, ricevi\u011Dis ${s}`}case"invalid_value":return n.values.length===1?`Nevalida enigo: atendi\u011Dis ${F(n.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Tro granda: atendi\u011Dis ke ${n.origin??"valoro"} havu ${o}${n.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${n.origin??"valoro"} havu ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Tro malgranda: atendi\u011Dis ke ${n.origin} havu ${o}${n.minimum.toString()} ${a.unit}`:`Tro malgranda: atendi\u011Dis ke ${n.origin} estu ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${r[o.format]??n.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} \u015Dlosilo${n.keys.length>1?"j":""}: ${L(n.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${n.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`;default:return"Nevalida enigo"}}};function qk(){return{localeError:PM()}}var LM=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(n){return e[n]??null}let r={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",mac:"direcci\xF3n MAC",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",credit_card:"n\xFAmero de tarjeta de cr\xE9dito",currency_code:"c\xF3digo de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${n.expected}, recibido ${s}`:`Entrada inv\xE1lida: se esperaba ${o}, recibido ${s}`}case"invalid_value":return n.values.length===1?`Entrada inv\xE1lida: se esperaba ${F(n.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${o}${n.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Demasiado peque\xF1o: se esperaba que ${s} tuviera ${o}${n.minimum.toString()} ${a.unit}`:`Demasiado peque\xF1o: se esperaba que ${s} fuera ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inv\xE1lida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${o.pattern}`:`Inv\xE1lido ${r[o.format]??n.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${n.divisor}`;case"unrecognized_keys":return`Llave${n.keys.length>1?"s":""} desconocida${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${i[n.origin]??n.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${i[n.origin]??n.origin}`;default:return"Entrada inv\xE1lida"}}};function Rk(){return{localeError:LM()}}var MM=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},map:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(n){return e[n]??null}let r={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",mac:"MAC \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",credit_card:"\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",currency_code:"\u06A9\u062F \u0627\u0631\u0632",iban:"IBAN",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${n.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${o} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return n.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${F(n.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${L(n.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${n.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${n.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${n.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${n.origin} \u0628\u0627\u06CC\u062F ${o}${n.minimum.toString()} ${a.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${n.origin} \u0628\u0627\u06CC\u062F ${o}${n.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:o.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:o.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${o.includes}" \u0628\u0627\u0634\u062F`:o.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${o.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${r[o.format]??n.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${n.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${n.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${L(n.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${n.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${n.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}};function Fk(){return{localeError:MM()}}var jM=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},map:{unit:"alkiota",subject:"kuvauksen"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(n){return e[n]??null}let r={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",mac:"MAC-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",credit_card:"luottokortin numero",currency_code:"valuuttakoodi",iban:"IBAN",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Virheellinen tyyppi: odotettiin instanceof ${n.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${s}`}case"invalid_value":return n.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${F(n.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Liian suuri: ${a.subject} t\xE4ytyy olla ${o}${n.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Liian pieni: ${a.subject} t\xE4ytyy olla ${o}${n.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${o.includes}"`:o.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${o.pattern}`:`Virheellinen ${r[o.format]??n.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${n.divisor} monikerta`;case"unrecognized_keys":return`${n.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${L(n.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}};function Bk(){return{localeError:jM()}}var UM=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(n){return e[n]??null}let r={regex:"expression r\xE9guli\xE8re",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne de caract\xE8res encod\xE9e en base64",base64url:"cha\xEEne de caract\xE8res encod\xE9e en base64url",json_string:"cha\xEEne de caract\xE8res JSON",e164:"num\xE9ro au format E.164",credit_card:"num\xE9ro de carte de cr\xE9dit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entr\xE9e"},i={string:"cha\xEEne de caract\xE8res",number:"nombre",int:"entier",boolean:"bool\xE9en",bigint:"grand entier",symbol:"symbole",undefined:"ind\xE9fini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"record",map:"map",set:"ensemble",file:"fichier",nonoptional:"non optionnel",nan:"NaN",function:"fonction"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Entr\xE9e invalide : instance de ${n.expected} attendu, ${s} re\xE7u`:`Entr\xE9e invalide : ${o} attendu, ${s} re\xE7u`}case"invalid_value":return n.values.length===1?`Entr\xE9e invalide : ${F(n.values[0])} attendu`:`Option invalide : une valeur parmi ${L(n.values,"|")} attendue`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Trop grand : ${i[n.origin]??"valeur"} doit ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${i[n.origin]??"valeur"} doit \xEAtre ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Trop petit : ${i[n.origin]??"valeur"} doit ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Trop petit : ${i[n.origin]??"valeur"} doit \xEAtre ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Cha\xEEne de caract\xE8res invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne de caract\xE8res invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne de caract\xE8res invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne de caract\xE8res invalide : doit correspondre au motif ${o.pattern}`:`${r[o.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${n.divisor}`;case"unrecognized_keys":return`Cl\xE9${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${L(n.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${n.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entr\xE9e invalide"}}};function Zk(){return{localeError:UM()}}var qM=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"},map:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(n){return e[n]??null}let r={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",credit_card:"num\xE9ro de carte de cr\xE9dit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Entr\xE9e invalide : attendu instanceof ${n.expected}, re\xE7u ${s}`:`Entr\xE9e invalide : attendu ${o}, re\xE7u ${s}`}case"invalid_value":return n.values.length===1?`Entr\xE9e invalide : attendu ${F(n.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"\u2264":"<",a=t(n.origin);return a?`Trop grand : attendu que ${n.origin??"la valeur"} ait ${o}${n.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${n.origin??"la valeur"} soit ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?"\u2265":">",a=t(n.origin);return a?`Trop petit : attendu que ${n.origin} ait ${o}${n.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${n.origin} soit ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${o.pattern}`:`${r[o.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${n.divisor}`;case"unrecognized_keys":return`Cl\xE9${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${L(n.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${n.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entr\xE9e invalide"}}};function Vk(){return{localeError:qM()}}var RM=()=>{let e={string:{unit:"\u0A85\u0A95\u0ACD\u0AB7\u0AB0",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},file:{unit:"\u0AAC\u0ABE\u0AAF\u0A9F",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},array:{unit:"\u0A86\u0A87\u0A9F\u0AAE",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},set:{unit:"\u0A86\u0A87\u0A9F\u0AAE",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},map:{unit:"\u0A8F\u0AA8\u0ACD\u0A9F\u0ACD\u0AB0\u0AC0",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"}};function t(n){return e[n]??null}let r={regex:"\u0A87\u0AA8\u0AAA\u0AC1\u0A9F",email:"\u0A88\u0AAE\u0AC7\u0A87\u0AB2 \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",url:"URL",emoji:"\u0A87\u0AAE\u0ACB\u0A9C\u0AC0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0AA4\u0ABE\u0AB0\u0AC0\u0A96 \u0A85\u0AA8\u0AC7 \u0AB8\u0AAE\u0AAF",date:"ISO \u0AA4\u0ABE\u0AB0\u0AC0\u0A96",time:"ISO \u0AB8\u0AAE\u0AAF",duration:"ISO \u0A85\u0AB5\u0AA7\u0ABF",ipv4:"IPv4 \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",ipv6:"IPv6 \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",mac:"MAC \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",cidrv4:"IPv4 \u0AB6\u0ACD\u0AB0\u0AC7\u0AA3\u0AC0",cidrv6:"IPv6 \u0AB6\u0ACD\u0AB0\u0AC7\u0AA3\u0AC0",base64:"base64-\u0A8F\u0AA8\u0ACD\u0A95\u0ACB\u0AA1\u0AC7\u0AA1 \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",base64url:"base64url-\u0A8F\u0AA8\u0ACD\u0A95\u0ACB\u0AA1\u0AC7\u0AA1 \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",json_string:"JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",e164:"E.164 \u0AA8\u0A82\u0AAC\u0AB0",credit_card:"\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",currency_code:"\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",iban:"IBAN",jwt:"JWT",template_literal:"\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F: \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${o}, \u0AAA\u0ACD\u0AB0\u0ABE\u0AAA\u0ACD\u0AA4 ${s}`}case"invalid_value":return n.values.length===1?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F: \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${F(n.values[0])}`:`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB5\u0ABF\u0A95\u0AB2\u0ACD\u0AAA: ${L(n.values," | ")} \u0AAE\u0ABE\u0AA7\u0ACD\u0AAF\u0AAE\u0AA5\u0AC0 \u0A8F\u0A95 \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0A96\u0AC2\u0AAC \u0AAE\u0ACB\u0A9F\u0AC1\u0A82: ${n.origin??"\u0AAE\u0AC2\u0AB2\u0ACD\u0AAF"} ${o}${n.maximum.toString()} ${a.unit??"\u0A8F\u0AB2\u0ABF\u0AAE\u0AC7\u0AA8\u0ACD\u0A9F"} \u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F`:`\u0A96\u0AC2\u0AAC \u0AAE\u0ACB\u0A9F\u0AC1\u0A82: ${n.origin??"\u0AAE\u0AC2\u0AB2\u0ACD\u0AAF"} ${o}${n.maximum.toString()} \u0AB9\u0ACB\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0A96\u0AC2\u0AAC \u0AA8\u0ABE\u0AA8\u0AC1\u0A82: ${n.origin} ${o}${n.minimum.toString()} ${a.unit} \u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F`:`\u0A96\u0AC2\u0AAC \u0AA8\u0ABE\u0AA8\u0AC1\u0A82: ${n.origin} ${o}${n.minimum.toString()} \u0AB9\u0ACB\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: "${o.prefix}" \u0AA5\u0AC0 \u0AB6\u0AB0\u0AC2 \u0AA5\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:o.format==="ends_with"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: "${o.suffix}" \u0AAA\u0AB0 \u0AB8\u0AAE\u0ABE\u0AAA\u0ACD\u0AA4 \u0AA5\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:o.format==="includes"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: "${o.includes}" \u0AB6\u0ABE\u0AAE\u0AC7\u0AB2 \u0AB9\u0ACB\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:o.format==="regex"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: \u0AAA\u0AC7\u0A9F\u0AB0\u0ACD\u0AA8 ${o.pattern} \u0AB8\u0ABE\u0AA5\u0AC7 \u0AAE\u0AC7\u0AB3 \u0A96\u0ABE\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AA8\u0A82\u0AAC\u0AB0: ${n.divisor} \u0AA8\u0ACB \u0A97\u0AC1\u0AA3\u0ABE\u0A82\u0A95 \u0AB9\u0ACB\u0AB5\u0ACB \u0A9C\u0ACB\u0A88\u0A8F`;case"unrecognized_keys":return`\u0A93\u0AB3\u0A96\u0AC0 \u0AB6\u0A95\u0ABE\u0AA4\u0ABE \u0AA8\u0AB9\u0AC0\u0A82 \u0AA4\u0AC7 \u0A95\u0AC0${n.keys.length>1?"\u0A93":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} \u0AAE\u0ABE\u0A82 \u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A95\u0AC0`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AA1\u0ABF\u0AB8\u0ACD\u0A95\u0ACD\u0AB0\u0ABF\u0AAE\u0ABF\u0AA8\u0AC7\u0A9F\u0AB0 \u0AAE\u0AC2\u0AB2\u0ACD\u0AAF. \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${n.options.map(a=>`'${a}'`).join(" | ")}`:"\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F";case"invalid_element":return`${n.origin} \u0AAE\u0ABE\u0A82 \u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AAE\u0AC2\u0AB2\u0ACD\u0AAF`;default:return"\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F"}}};function Hk(){return{localeError:RM()}}var FM=()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},r=u=>u?e[u]:void 0,i=u=>{let c=r(u);return c?c.label:u??e.unknown.label},n=u=>`\u05D4${i(u)}`,o=u=>(r(u)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA",a=u=>u?t[u]??null:null,s={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},uuidv4:{label:"UUIDv4",gender:"m"},uuidv6:{label:"UUIDv6",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},mac:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA MAC",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},credit_card:{label:"\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9",gender:"m"},currency_code:{label:"\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2",gender:"m"},iban:{label:"IBAN",gender:"m"},jwt:{label:"JWT",gender:"m"},template_literal:{label:"\u05E7\u05DC\u05D8",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},l={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{let c=u.expected,f=l[c??""]??i(c),d=B(u.input),m=l[d]??e[d]?.label??d;return/^[A-Z]/.test(u.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${u.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${m}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${f}, \u05D4\u05EA\u05E7\u05D1\u05DC ${m}`}case"invalid_value":{if(u.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${F(u.values[0])}`;let c=u.values.map(m=>F(m));if(u.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${c[0]} \u05D0\u05D5 ${c[1]}`;let f=c[c.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${c.slice(0,-1).join(", ")} \u05D0\u05D5 ${f}`}case"too_big":{let c=a(u.origin),f=n(u.origin??"value");if(u.origin==="string")return`${c?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${u.maximum.toString()} ${c?.unit??""} ${u.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(u.origin==="number"){let h=u.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${u.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${u.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${h}`}if(u.origin==="array"||u.origin==="set"){let h=u.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",v=u.inclusive?`${u.maximum} ${c?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${u.maximum} ${c?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${f} ${h} \u05DC\u05D4\u05DB\u05D9\u05DC ${v}`.trim()}let d=u.inclusive?"<=":"<",m=o(u.origin??"value");return c?.unit?`${c.longLabel} \u05DE\u05D3\u05D9: ${f} ${m} ${d}${u.maximum.toString()} ${c.unit}`:`${c?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${f} ${m} ${d}${u.maximum.toString()}`}case"too_small":{let c=a(u.origin),f=n(u.origin??"value");if(u.origin==="string")return`${c?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${u.minimum.toString()} ${c?.unit??""} ${u.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(u.origin==="number"){let h=u.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${u.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${u.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${h}`}if(u.origin==="array"||u.origin==="set"){let h=u.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(u.minimum===1&&u.inclusive){let y=(u.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${f} ${h} \u05DC\u05D4\u05DB\u05D9\u05DC ${y}`}let v=u.inclusive?`${u.minimum} ${c?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${u.minimum} ${c?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${f} ${h} \u05DC\u05D4\u05DB\u05D9\u05DC ${v}`.trim()}let d=u.inclusive?">=":">",m=o(u.origin??"value");return c?.unit?`${c.shortLabel} \u05DE\u05D3\u05D9: ${f} ${m} ${d}${u.minimum.toString()} ${c.unit}`:`${c?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${f} ${m} ${d}${u.minimum.toString()}`}case"invalid_format":{let c=u;if(c.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${c.prefix}"`;if(c.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${c.suffix}"`;if(c.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${c.includes}"`;if(c.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${c.pattern}`;let f=s[c.format],d=f?.label??c.format,h=(f?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${d} \u05DC\u05D0 ${h}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${u.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${u.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${u.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${L(u.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${n(u.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}};function Kk(){return{localeError:FM()}}var BM=()=>{let e={string:{unit:"\u0905\u0915\u094D\u0937\u0930",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},file:{unit:"\u092C\u093E\u0907\u091F\u094D\u0938",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},array:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},set:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},map:{unit:"\u092A\u094D\u0930\u0935\u093F\u0937\u094D\u091F\u093F\u092F\u093E\u0901",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"}};function t(n){return e[n]??null}let r={regex:"\u0907\u0928\u092A\u0941\u091F",email:"\u0908\u092E\u0947\u0932 \u092A\u0924\u093E",url:"URL",emoji:"\u0907\u092E\u094B\u091C\u0940",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0924\u093F\u0925\u093F \u0914\u0930 \u0938\u092E\u092F",date:"ISO \u0924\u093F\u0925\u093F",time:"ISO \u0938\u092E\u092F",duration:"ISO \u0905\u0935\u0927\u093F",ipv4:"IPv4 \u092A\u0924\u093E",ipv6:"IPv6 \u092A\u0924\u093E",mac:"MAC \u092A\u0924\u093E",cidrv4:"IPv4 \u0936\u094D\u0930\u0947\u0923\u0940",cidrv6:"IPv6 \u0936\u094D\u0930\u0947\u0923\u0940",base64:"Base64-\u090F\u0928\u094D\u0915\u094B\u0921\u0947\u0921 \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",base64url:"Base64URL-\u090F\u0928\u094D\u0915\u094B\u0921\u0947\u0921 \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",json_string:"JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",e164:"E.164 \u0938\u0902\u0916\u094D\u092F\u093E",credit_card:"\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",currency_code:"\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",iban:"IBAN",jwt:"JWT",template_literal:"\u0907\u0928\u092A\u0941\u091F"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${o}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${s}`}case"invalid_value":return n.values.length===1?`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${F(n.values[0])}`:`\u0905\u092E\u093E\u0928\u094D\u092F \u0935\u093F\u0915\u0932\u094D\u092A: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092E\u093E\u0928\u094B\u0902 \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u092C\u0939\u0941\u0924 \u092C\u0921\u093C\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${n.origin??"\u092E\u093E\u0928"} \u092E\u0947\u0902 ${o}${n.maximum} ${a.unit} \u0939\u094B\u0902`:`\u092C\u0939\u0941\u0924 \u092C\u0921\u093C\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${n.origin??"\u092E\u093E\u0928"} ${o}${n.maximum} \u0939\u094B`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u092C\u0939\u0941\u0924 \u091B\u094B\u091F\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${n.origin} \u092E\u0947\u0902 ${o}${n.minimum} ${a.unit} \u0939\u094B\u0902`:`\u092C\u0939\u0941\u0924 \u091B\u094B\u091F\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${n.origin} ${o}${n.minimum} \u0939\u094B`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: "${o.prefix}" \u0938\u0947 \u0936\u0941\u0930\u0942 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:o.format==="ends_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: "${o.suffix}" \u092A\u0930 \u0938\u092E\u093E\u092A\u094D\u0924 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:o.format==="includes"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: \u0907\u0938\u092E\u0947\u0902 "${o.includes}" \u0936\u093E\u092E\u093F\u0932 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:o.format==="regex"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: \u092A\u0948\u091F\u0930\u094D\u0928 ${o.pattern} \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:`\u0905\u092E\u093E\u0928\u094D\u092F ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u0902\u0916\u094D\u092F\u093E: \u092F\u0939 ${n.divisor} \u0915\u093E \u0917\u0941\u0923\u091C \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`;case"unrecognized_keys":return`\u0905\u092A\u0930\u093F\u091A\u093F\u0924 \u0915\u0941\u0902\u091C\u0940${n.keys.length>1?"\u092F\u093E\u0901":""}: ${L(n.keys,", ")}`;case"invalid_key":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0915\u0941\u0902\u091C\u0940: ${n.origin} \u092E\u0947\u0902`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`\u0905\u092E\u093E\u0928\u094D\u092F \u0921\u093F\u0938\u094D\u0915\u094D\u0930\u093F\u092E\u093F\u0928\u0947\u091F\u0930 \u092E\u093E\u0928: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${n.options.map(a=>`'${a}'`).join(" | ")}`:"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F";case"invalid_element":return`\u0905\u092E\u093E\u0928\u094D\u092F \u092E\u093E\u0928: ${n.origin} \u092E\u0947\u0902`;default:return"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F"}}};function Jk(){return{localeError:BM()}}var ZM=()=>{let e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(n){return e[n]??null}let r={regex:"unos",email:"email 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:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",credit_card:"broj kreditne kartice",currency_code:"kod valute",iban:"IBAN",jwt:"JWT",template_literal:"unos"},i={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Neispravan unos: o\u010Dekuje se instanceof ${n.expected}, a primljeno je ${s}`:`Neispravan unos: o\u010Dekuje se ${o}, a primljeno je ${s}`}case"invalid_value":return n.values.length===1?`Neispravna vrijednost: o\u010Dekivano ${F(n.values[0])}`:`Neispravna opcija: o\u010Dekivano jedno od ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Preveliko: o\u010Dekivano da ${s??"vrijednost"} ima ${o}${n.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: o\u010Dekivano da ${s??"vrijednost"} bude ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Premalo: o\u010Dekivano da ${s} ima ${o}${n.minimum.toString()} ${a.unit}`:`Premalo: o\u010Dekivano da ${s} bude ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Neispravan tekst: mora zapo\u010Dinjati s "${o.prefix}"`:o.format==="ends_with"?`Neispravan tekst: mora zavr\u0161avati s "${o.suffix}"`:o.format==="includes"?`Neispravan tekst: mora sadr\u017Eavati "${o.includes}"`:o.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${o.pattern}`:`Neispravna ${r[o.format]??n.format}`}case"not_multiple_of":return`Neispravan broj: mora biti vi\u0161ekratnik od ${n.divisor}`;case"unrecognized_keys":return`Neprepoznat${n.keys.length>1?"i klju\u010Devi":" klju\u010D"}: ${L(n.keys,", ")}`;case"invalid_key":return`Neispravan klju\u010D u ${i[n.origin]??n.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${i[n.origin]??n.origin}`;default:return"Neispravan unos"}}};function Gk(){return{localeError:ZM()}}var VM=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"},map:{unit:"elem",verb:"legyen"}};function t(n){return e[n]??null}let r={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",mac:"MAC c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",credit_card:"hitelk\xE1rtyasz\xE1m",currency_code:"p\xE9nznemk\xF3d",iban:"IBAN",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${n.expected}, a kapott \xE9rt\xE9k ${s}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${o}, a kapott \xE9rt\xE9k ${s}`}case"invalid_value":return n.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${F(n.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`T\xFAl nagy: ${n.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${o}${n.maximum.toString()} ${a.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${n.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${n.origin} m\xE9rete t\xFAl kicsi ${o}${n.minimum.toString()} ${a.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${n.origin} t\xFAl kicsi ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\xC9rv\xE9nytelen string: "${o.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:o.format==="ends_with"?`\xC9rv\xE9nytelen string: "${o.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:o.format==="includes"?`\xC9rv\xE9nytelen string: "${o.includes}" \xE9rt\xE9ket kell tartalmaznia`:o.format==="regex"?`\xC9rv\xE9nytelen string: ${o.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${r[o.format]??n.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${n.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${n.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${n.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}};function Wk(){return{localeError:VM()}}function Yk(e,t,r){return Math.abs(e)===1?t:r}function Uo(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],r=e[e.length-1];return e+(t.includes(r)?"\u0576":"\u0568")}var HM=()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},map:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(n){return e[n]??null}let r={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",mac:"MAC \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",credit_card:"\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",currency_code:"\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",iban:"IBAN",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},i={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${n.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${o}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`}case"invalid_value":return n.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${F(n.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);if(a){let s=Number(n.maximum),l=Yk(s,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Uo(n.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${n.maximum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Uo(n.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);if(a){let s=Number(n.minimum),l=Yk(s,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Uo(n.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${n.minimum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Uo(n.origin)} \u056C\u056B\u0576\u056B ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${o.prefix}"-\u0578\u057E`:o.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${o.suffix}"-\u0578\u057E`:o.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${o.includes}"`:o.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${o.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${r[o.format]??n.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${n.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${n.keys.length>1?"\u0576\u0565\u0580":""}. ${L(n.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${Uo(n.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${Uo(n.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}};function Xk(){return{localeError:HM()}}var KM=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"},map:{unit:"item",verb:"memiliki"}};function t(n){return e[n]??null}let r={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",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",credit_card:"nomor kartu kredit",currency_code:"kode mata uang",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Input tidak valid: diharapkan instanceof ${n.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${o}, diterima ${s}`}case"invalid_value":return n.values.length===1?`Input tidak valid: diharapkan ${F(n.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Terlalu besar: diharapkan ${n.origin??"value"} memiliki ${o}${n.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${n.origin??"value"} menjadi ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Terlalu kecil: diharapkan ${n.origin} memiliki ${o}${n.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${n.origin} menjadi ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${r[o.format]??n.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${n.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${n.origin}`;default:return"Input tidak valid"}}};function Qk(){return{localeError:KM()}}var JM=()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"},map:{unit:"hluti",verb:"a\xF0 hafa"}};function t(n){return e[n]??null}let r={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",credit_card:"kreditkortan\xFAmer",currency_code:"gjaldmi\xF0ilsk\xF3\xF0i",iban:"IBAN",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"n\xFAmer",array:"fylki"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera instanceof ${n.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera ${o}`}case"invalid_value":return n.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${F(n.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin??"gildi"} hafi ${o}${n.maximum.toString()} ${a.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin??"gildi"} s\xE9 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin} hafi ${o}${n.minimum.toString()} ${a.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin} s\xE9 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${o.prefix}"`:o.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${o.suffix}"`:o.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${o.includes}"`:o.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${o.pattern}`:`Rangt ${r[o.format]??n.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${n.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${n.keys.length>1?"ir lyklar":"ur lykill"}: ${L(n.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${n.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${n.origin}`;default:return"Rangt gildi"}}};function e8(){return{localeError:JM()}}var GM=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"},map:{unit:"elementi",verb:"avere"}};function t(n){return e[n]??null}let r={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",mac:"indirizzo MAC",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",credit_card:"numero di carta di credito",currency_code:"codice valuta",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Input non valido: atteso instanceof ${n.expected}, ricevuto ${s}`:`Input non valido: atteso ${o}, ricevuto ${s}`}case"invalid_value":return n.values.length===1?`Input non valido: atteso ${F(n.values[0])}`:`Opzione non valida: atteso uno tra ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Troppo grande: ${n.origin??"valore"} deve avere ${o}${n.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${n.origin??"valore"} deve essere ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Troppo piccolo: ${n.origin} deve avere ${o}${n.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${n.origin} deve essere ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Input non valido: ${r[o.format]??n.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${n.divisor}`;case"unrecognized_keys":return`Chiav${n.keys.length>1?"i":"e"} non riconosciut${n.keys.length>1?"e":"a"}: ${L(n.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${n.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${n.origin}`;default:return"Input non valido"}}};function t8(){return{localeError:GM()}}var WM=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},map:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(n){return e[n]??null}let r={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",mac:"MAC\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",credit_card:"\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",currency_code:"\u901A\u8CA8\u30B3\u30FC\u30C9",iban:"IBAN",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},i={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${n.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${o}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return n.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${F(n.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${L(n.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let o=n.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",a=t(n.origin);return a?`\u5927\u304D\u3059\u304E\u308B\u5024: ${n.origin??"\u5024"}\u306F${n.maximum.toString()}${a.unit??"\u8981\u7D20"}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${n.origin??"\u5024"}\u306F${n.maximum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let o=n.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",a=t(n.origin);return a?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${n.origin}\u306F${n.minimum.toString()}${a.unit}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${n.origin}\u306F${n.minimum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${o.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${r[o.format]??n.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${n.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${n.keys.length>1?"\u7FA4":""}: ${L(n.keys,"\u3001")}`;case"invalid_key":return`${n.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${n.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}};function r8(){return{localeError:WM()}}var YM=()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},map:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(n){return e[n]??null}let r={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",mac:"MAC \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",json_string:"JSON \u10D5\u10D4\u10DA\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",credit_card:"\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",currency_code:"\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",iban:"IBAN",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},i={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10D5\u10D4\u10DA\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${n.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`}case"invalid_value":return n.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${F(n.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${L(n.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin} \u10D8\u10E7\u10DD\u10E1 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.prefix}"-\u10D8\u10D7`:o.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.suffix}"-\u10D8\u10D7`:o.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${o.includes}"-\u10E1`:o.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${o.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${n.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${n.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${L(n.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${n.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${n.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}};function n8(){return{localeError:YM()}}var XM=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},map:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(n){return e[n]??null}let r={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",mac:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 MAC",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",credit_card:"\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",currency_code:"\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",iban:"IBAN",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},i={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${n.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`}case"invalid_value":return n.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${F(n.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${n.maximum.toString()} ${a.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin} ${o} ${n.minimum.toString()} ${a.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin} ${o} ${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${o.prefix}"`:o.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${o.suffix}"`:o.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${o.includes}"`:o.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${o.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${n.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${L(n.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${n.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${n.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}};function N0(){return{localeError:XM()}}function i8(){return N0()}var QM=()=>{let e={string:{unit:"\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},file:{unit:"\u0CAC\u0CC8\u0C9F\u0CCD\u200C\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},array:{unit:"\u0CB5\u0CB8\u0CCD\u0CA4\u0CC1\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},set:{unit:"\u0CB5\u0CB8\u0CCD\u0CA4\u0CC1\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},map:{unit:"entries",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"}};function t(n){return e[n]??null}let r={regex:"\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD",email:"email \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",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 \u0CA6\u0CBF\u0CA8\u0CBE\u0C82\u0C95\u0CA6 \u0CB8\u0CAE\u0CAF",date:"ISO \u0CA6\u0CBF\u0CA8\u0CBE\u0C82\u0C95",time:"ISO \u0CB8\u0CAE\u0CAF",duration:"ISO \u0C85\u0CB5\u0CA7\u0CBF",ipv4:"IPv4 \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",ipv6:"IPv6 \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",mac:"MAC \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",cidrv4:"IPv4 \u0CB5\u0CCD\u0CAF\u0CBE\u0CAA\u0CCD\u0CA4\u0CBF\u0CAF",cidrv6:"IPv6 \u0CB5\u0CCD\u0CAF\u0CBE\u0CAA\u0CCD\u0CA4\u0CBF\u0CAF",base64:"base64-encoded\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",base64url:"base64url-encoded\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",json_string:"JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",e164:"E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",credit_card:"\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",currency_code:"\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",iban:"IBAN",jwt:"JWT",template_literal:"\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${o}, \u0CB8\u0CCD\u0CB5\u0CC0\u0C95\u0CB0\u0CBF\u0CB8\u0CBF\u0CA6\u0CA8\u0CC1 ${s}`}case"invalid_value":return n.values.length===1?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${F(n.values[0])}`:`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C86\u0CAF\u0CCD\u0C95\u0CC6: \u0C87\u0CB5\u0CC1\u0C97\u0CB3\u0CB2\u0CCD\u0CB2\u0CBF \u0C92\u0C82\u0CA6\u0CA8\u0CCD\u0CA8\u0CC1 \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0CA6\u0CCA\u0CA1\u0CCD\u0CA1\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${n.origin??"value"} \u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1 ${o}${n.maximum.toString()} ${a.unit??"\u0C85\u0C82\u0CB6\u0C97\u0CB3\u0CC1"}`:`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0CA6\u0CCA\u0CA1\u0CCD\u0CA1\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${n.origin??"value"} \u0C8E\u0C82\u0CA6\u0CC1 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0C9A\u0CBF\u0C95\u0CCD\u0C95\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${n.origin} \u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1 ${o}${n.minimum.toString()} ${a.unit}`:`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0C9A\u0CBF\u0C95\u0CCD\u0C95\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${n.origin} \u0C8E\u0C82\u0CA6\u0CC1 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0C87\u0CA6\u0CB0\u0CCA\u0C82\u0CA6\u0CBF\u0C97\u0CC6 \u0CAA\u0CCD\u0CB0\u0CBE\u0CB0\u0C82\u0CAD\u0CBF\u0CB8\u0CAC\u0CC7\u0C95\u0CC1 "${o.prefix}"`:o.format==="ends_with"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0C87\u0CA6\u0CB0\u0CCA\u0C82\u0CA6\u0CBF\u0C97\u0CC6 \u0C95\u0CCA\u0CA8\u0CC6\u0C97\u0CCA\u0CB3\u0CCD\u0CB3\u0CAC\u0CC7\u0C95\u0CC1 "${o.suffix}"`:o.format==="includes"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0C92\u0CB3\u0C97\u0CCA\u0C82\u0CA1\u0CBF\u0CB0\u0CAC\u0CC7\u0C95\u0CC1 "${o.includes}"`:o.format==="regex"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0CAE\u0CBE\u0CA6\u0CB0\u0CBF\u0C97\u0CC6 \u0CB9\u0CCA\u0C82\u0CA6\u0CBF\u0C95\u0CC6\u0CAF\u0CBE\u0C97\u0CAC\u0CC7\u0C95\u0CC1 ${o.pattern}`:`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6: \u0CAC\u0CB9\u0CC1\u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6\u0CAF\u0CBE\u0C97\u0CBF\u0CB0\u0CAC\u0CC7\u0C95\u0CC1 ${n.divisor}`;case"unrecognized_keys":return`\u0C97\u0CC1\u0CB0\u0CC1\u0CA4\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CA6 \u0C95\u0CC0 ${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0C95\u0CC0 \u0C87\u0CA8\u0CCD ${n.origin}`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CA4\u0CBE\u0CB0\u0CA4\u0CAE\u0CCD\u0CAF \u0CAE\u0CCC\u0CB2\u0CCD\u0CAF. \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${n.options.map(a=>`'${a}'`).join(" | ")}`:"\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD";case"invalid_element":return`\u0CB0\u0CB2\u0CCD\u0CB2\u0CBF \u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CAE\u0CCC\u0CB2\u0CCD\u0CAF ${n.origin}`;default:return"\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD"}}};function o8(){return{localeError:QM()}}var ej=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"},map:{unit:"\uAC1C",verb:"to have"}};function t(n){return e[n]??null}let r={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",mac:"MAC \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",credit_card:"\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",currency_code:"\uD1B5\uD654 \uCF54\uB4DC",iban:"IBAN",jwt:"JWT",template_literal:"\uC785\uB825"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${n.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${o}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`}case"invalid_value":return n.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${F(n.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${L(n.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let o=n.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",a=o==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(n.origin),l=s?.unit??"\uC694\uC18C";return s?`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${n.maximum.toString()}${l} ${o}${a}`:`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${n.maximum.toString()} ${o}${a}`}case"too_small":{let o=n.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",a=o==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(n.origin),l=s?.unit??"\uC694\uC18C";return s?`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${n.minimum.toString()}${l} ${o}${a}`:`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${n.minimum.toString()} ${o}${a}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:o.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${o.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${r[o.format]??n.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${n.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${L(n.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${n.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${n.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}};function a8(){return{localeError:ej()}}var Ws=e=>e.charAt(0).toUpperCase()+e.slice(1);function s8(e){let t=Math.abs(e),r=t%10,i=t%100;return i>=11&&i<=19||r===0?"many":r===1?"one":"few"}var tj=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(n,o,a,s){let l=e[n]??null;return l===null?l:{unit:l.unit[o],verb:l.verb[s][a?"inclusive":"notInclusive"]}}let r={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",mac:"MAC adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",credit_card:"kredito kortel\u0117s numeris",currency_code:"valiutos kodas",iban:"IBAN",jwt:"JWT",template_literal:"\u012Fvestis"},i={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Gautas tipas ${s}, o tik\u0117tasi - instanceof ${n.expected}`:`Gautas tipas ${s}, o tik\u0117tasi - ${o}`}case"invalid_value":return n.values.length===1?`Privalo b\u016Bti ${F(n.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${L(n.values,"|")} pasirinkim\u0173`;case"too_big":{let o=i[n.origin]??n.origin,a=t(n.origin,s8(Number(n.maximum)),n.inclusive??!1,"smaller");if(a?.verb)return`${Ws(o??n.origin??"reik\u0161m\u0117")} ${a.verb} ${n.maximum.toString()} ${a.unit??"element\u0173"}`;let s=n.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${Ws(o??n.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${n.maximum.toString()} ${a?.unit}`}case"too_small":{let o=i[n.origin]??n.origin,a=t(n.origin,s8(Number(n.minimum)),n.inclusive??!1,"bigger");if(a?.verb)return`${Ws(o??n.origin??"reik\u0161m\u0117")} ${a.verb} ${n.minimum.toString()} ${a.unit??"element\u0173"}`;let s=n.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${Ws(o??n.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${n.minimum.toString()} ${a?.unit}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${o.prefix}"`:o.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${o.includes}"`:o.format==="regex"?`Eilut\u0117 privalo atitikti ${o.pattern}`:`Neteisingas ${r[o.format]??n.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${n.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${n.keys.length>1?"i":"as"} rakt${n.keys.length>1?"ai":"as"}: ${L(n.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let o=i[n.origin]??n.origin;return`${Ws(o??n.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}};function l8(){return{localeError:tj()}}var rj=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},map:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(n){return e[n]??null}let r={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",mac:"MAC \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",credit_card:"\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",currency_code:"\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},i={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${n.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`}case"invalid_value":return n.values.length===1?`Invalid input: expected ${F(n.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${o}${n.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin} \u0434\u0430 \u0438\u043C\u0430 ${o}${n.minimum.toString()} ${a.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${o.pattern}`:`Invalid ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${L(n.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${n.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${n.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}};function u8(){return{localeError:rj()}}var nj=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"},map:{unit:"elemen",verb:"mempunyai"}};function t(n){return e[n]??null}let r={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",credit_card:"nombor kad kredit",currency_code:"kod mata wang",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Input tidak sah: dijangka instanceof ${n.expected}, diterima ${s}`:`Input tidak sah: dijangka ${o}, diterima ${s}`}case"invalid_value":return n.values.length===1?`Input tidak sah: dijangka ${F(n.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Terlalu besar: dijangka ${n.origin??"nilai"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${n.origin??"nilai"} adalah ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Terlalu kecil: dijangka ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${n.origin} adalah ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${r[o.format]??n.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${L(n.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${n.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${n.origin}`;default:return"Input tidak sah"}}};function c8(){return{localeError:nj()}}var ij=()=>{let e={string:{unit:"\u0905\u0915\u094D\u0937\u0930",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},file:{unit:"\u092C\u093E\u0907\u091F",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},array:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},set:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},map:{unit:"\u092A\u094D\u0930\u0935\u093F\u0937\u094D\u091F\u093F",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"}};function t(n){return e[n]??null}let r={regex:"\u0907\u0928\u092A\u0941\u091F",email:"\u0907\u092E\u0947\u0932 \u0920\u0947\u0917\u093E\u0928\u093E",url:"URL",emoji:"\u0907\u092E\u094B\u091C\u0940",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u092E\u093F\u0924\u093F \u0930 \u0938\u092E\u092F",date:"ISO \u092E\u093F\u0924\u093F",time:"ISO \u0938\u092E\u092F",duration:"ISO \u0905\u0935\u0927\u093F",ipv4:"IPv4 \u0920\u0947\u0917\u093E\u0928\u093E",ipv6:"IPv6 \u0920\u0947\u0917\u093E\u0928\u093E",mac:"MAC \u0920\u0947\u0917\u093E\u0928\u093E",cidrv4:"IPv4 \u0926\u093E\u092F\u0930\u093E",cidrv6:"IPv6 \u0926\u093E\u092F\u0930\u093E",base64:"base64-\u0907\u0928\u094D\u0915\u094B\u0921 \u0917\u0930\u093F\u090F\u0915\u094B \u0938\u094D\u091F\u094D\u0930\u093F\u0919",base64url:"base64url-\u0907\u0928\u094D\u0915\u094B\u0921 \u0917\u0930\u093F\u090F\u0915\u094B \u0938\u094D\u091F\u094D\u0930\u093F\u0919",json_string:"JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",e164:"E.164 \u0928\u092E\u094D\u092C\u0930",credit_card:"\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",currency_code:"\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",iban:"IBAN",jwt:"JWT",template_literal:"\u0907\u0928\u092A\u0941\u091F"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${o}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${s}`}case"invalid_value":return n.values.length===1?`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${F(n.values[0])}`:`\u0905\u092E\u093E\u0928\u094D\u092F \u0935\u093F\u0915\u0932\u094D\u092A: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092E\u093E\u0928\u0939\u0930\u0942 \u092E\u0927\u094D\u092F\u0947 \u090F\u0915 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0927\u0947\u0930\u0948 \u0920\u0942\u0932\u094B: ${n.origin??"\u092E\u093E\u0928"} \u092E\u093E ${o}${n.maximum.toString()} ${a.unit} ${a.verb}`:`\u0927\u0947\u0930\u0948 \u0920\u0942\u0932\u094B: ${n.origin??"\u092E\u093E\u0928"} ${o}${n.maximum.toString()} \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0927\u0947\u0930\u0948 \u0938\u093E\u0928\u094B: ${n.origin} \u092E\u093E ${o}${n.minimum.toString()} ${a.unit} ${a.verb}`:`\u0927\u0947\u0930\u0948 \u0938\u093E\u0928\u094B: ${n.origin} ${o}${n.minimum.toString()} \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: "${o.prefix}" \u092C\u093E\u091F \u0938\u0941\u0930\u0941 \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`:o.format==="ends_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: "${o.suffix}" \u092E\u093E \u0938\u092E\u093E\u092A\u094D\u0924 \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`:o.format==="includes"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: "${o.includes}" \u0938\u092E\u093E\u0935\u0947\u0936 \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`:o.format==="regex"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: \u0922\u093E\u0901\u091A\u093E ${o.pattern} \u0938\u0901\u0917 \u092E\u0947\u0932 \u0916\u093E\u0928\u0941\u092A\u0930\u094D\u091B`:`\u0905\u092E\u093E\u0928\u094D\u092F ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u0902\u0916\u094D\u092F\u093E: ${n.divisor} \u0915\u094B \u0917\u0941\u0923\u091C \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`;case"unrecognized_keys":return`\u0905\u092A\u0930\u093F\u091A\u093F\u0924 \u0915\u0941\u091E\u094D\u091C\u0940${n.keys.length>1?"\u0939\u0930\u0942":""}: ${L(n.keys,", ")}`;case"invalid_key":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0915\u0941\u091E\u094D\u091C\u0940: ${n.origin} \u092E\u093E`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`\u0905\u092E\u093E\u0928\u094D\u092F \u0921\u093F\u0938\u094D\u0915\u094D\u0930\u093F\u092E\u093F\u0928\u0947\u091F\u0930 \u092E\u093E\u0928: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${n.options.map(a=>`'${a}'`).join(" | ")}`:"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F";case"invalid_element":return`\u0905\u092E\u093E\u0928\u094D\u092F \u092E\u093E\u0928: ${n.origin} \u092E\u093E`;default:return"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F"}}};function f8(){return{localeError:ij()}}var oj=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"},map:{unit:"elementen",verb:"heeft"}};function t(n){return e[n]??null}let r={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",mac:"MAC-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",credit_card:"creditcardnummer",currency_code:"valutacode",iban:"IBAN",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ongeldige invoer: verwacht instanceof ${n.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${o}, ontving ${s}`}case"invalid_value":return n.values.length===1?`Ongeldige invoer: verwacht ${F(n.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin),s=n.origin==="date"?"laat":n.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${n.origin??"waarde"} ${o}${n.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${n.origin??"waarde"} ${o}${n.maximum.toString()} is`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin),s=n.origin==="date"?"vroeg":n.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${n.origin} ${o}${n.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${n.origin} ${o}${n.minimum.toString()} is`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${r[o.format]??n.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${n.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${n.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${n.origin}`;default:return"Ongeldige invoer"}}};function m8(){return{localeError:oj()}}var aj=()=>{let e={string:{unit:"teikn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"element",verb:"\xE5 innehalde"},set:{unit:"element",verb:"\xE5 innehalde"},map:{unit:"element",verb:"\xE5 innehalde"}};function t(n){return e[n]??null}let r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varigheit",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkoda streng",base64url:"base64url-enkoda streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tal",array:"liste"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ugyldig input: forventa instanceof ${n.expected}, fekk ${s}`:`Ugyldig input: forventa ${o}, fekk ${s}`}case"invalid_value":return n.values.length===1?`Ugyldig verdi: forventa ${F(n.values[0])}`:`Ugyldig val: forventa eitt av ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`For stor(t): forventa ${n.origin??"value"} til \xE5 ha ${o}${n.maximum.toString()} ${a.unit??"element"}`:`For stor(t): forventa ${n.origin??"value"} til \xE5 ha ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`For lite(n): forventa ${n.origin} til \xE5 ha ${o}${n.minimum.toString()} ${a.unit}`:`For lite(n): forventa ${n.origin} til \xE5 ha ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: m\xE5 slutte med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: m\xE5 innehalde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${r[o.format]??n.format}`}case"not_multiple_of":return`Ugyldig tal: m\xE5 vere eit multiplum av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukjende n\xF8klar":"Ukjend n\xF8kkel"}: ${L(n.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${n.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${n.origin}`;default:return"Ugyldig input"}}};function d8(){return{localeError:aj()}}var sj=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"},map:{unit:"elementer",verb:"\xE5 inneholde"}};function t(n){return e[n]??null}let r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ugyldig input: forventet instanceof ${n.expected}, fikk ${s}`:`Ugyldig input: forventet ${o}, fikk ${s}`}case"invalid_value":return n.values.length===1?`Ugyldig verdi: forventet ${F(n.values[0])}`:`Ugyldig valg: forventet en av ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`For stor(t): forventet ${n.origin??"value"} til \xE5 ha ${o}${n.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${n.origin??"value"} til \xE5 ha ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`For lite(n): forventet ${n.origin} til \xE5 ha ${o}${n.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${n.origin} til \xE5 ha ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${r[o.format]??n.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${L(n.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${n.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${n.origin}`;default:return"Ugyldig input"}}};function p8(){return{localeError:sj()}}var lj=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"},map:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(n){return e[n]??null}let r={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",mac:"MAC ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",credit_card:"i'tib\xE2r kart\u0131 numaras\u0131",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`F\xE2sit giren: umulan instanceof ${n.expected}, al\u0131nan ${s}`:`F\xE2sit giren: umulan ${o}, al\u0131nan ${s}`}case"invalid_value":return n.values.length===1?`F\xE2sit giren: umulan ${F(n.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Fazla b\xFCy\xFCk: ${n.origin??"value"}, ${o}${n.maximum.toString()} ${a.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${n.origin??"value"}, ${o}${n.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Fazla k\xFC\xE7\xFCk: ${n.origin}, ${o}${n.minimum.toString()} ${a.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${n.origin}, ${o}${n.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let o=n;return o.format==="starts_with"?`F\xE2sit metin: "${o.prefix}" ile ba\u015Flamal\u0131.`:o.format==="ends_with"?`F\xE2sit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`F\xE2sit metin: "${o.includes}" ihtiv\xE2 etmeli.`:o.format==="regex"?`F\xE2sit metin: ${o.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${r[o.format]??n.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${n.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${n.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}};function h8(){return{localeError:lj()}}var uj=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},map:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(n){return e[n]??null}let r={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",mac:"\u062F MAC \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",credit_card:"\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",currency_code:"\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",iban:"IBAN",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${n.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${o} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return n.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${F(n.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${L(n.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${n.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${n.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${n.maximum.toString()} \u0648\u064A`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${n.origin} \u0628\u0627\u06CC\u062F ${o}${n.minimum.toString()} ${a.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${n.origin} \u0628\u0627\u06CC\u062F ${o}${n.minimum.toString()} \u0648\u064A`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:o.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:o.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${o.includes}" \u0648\u0644\u0631\u064A`:o.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${o.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${r[o.format]??n.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${n.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${n.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${L(n.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${n.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${n.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}};function g8(){return{localeError:uj()}}var cj=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"},map:{unit:"element\xF3w",verb:"mie\u0107"}};function t(n){return e[n]??null}let r={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",mac:"adres MAC",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",credit_card:"numer karty kredytowej",currency_code:"kod waluty",iban:"IBAN",jwt:"JWT",template_literal:"wej\u015Bcie"},i={nan:"NaN",number:"liczba",array:"tablica"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${n.expected}, otrzymano ${s}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${o}, otrzymano ${s}`}case"invalid_value":return n.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${F(n.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${n.maximum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${n.minimum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${o.prefix}"`:o.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${o.suffix}"`:o.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${o.includes}"`:o.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${o.pattern}`:`Nieprawid\u0142ow(y/a/e) ${r[o.format]??n.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${n.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${n.keys.length>1?"s":""}: ${L(n.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${n.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${n.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}};function v8(){return{localeError:cj()}}var fj=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function t(a){return e[a]??null}let r={regex:"a entrada",email:"o endere\xE7o de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a dura\xE7\xE3o ISO",ipv4:"o endere\xE7o IPv4",ipv6:"o endere\xE7o IPv6",mac:"o endere\xE7o MAC",cidrv4:"o intervalo de endere\xE7os IPv4",cidrv6:"o intervalo de endere\xE7os IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o n\xFAmero E.164",credit_card:"o n\xFAmero de cart\xE3o de cr\xE9dito",currency_code:"o c\xF3digo de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},i={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},n={string:{name:"texto",articles:i.masculine},number:{name:"n\xFAmero",articles:i.masculine},int:{name:"n\xFAmero inteiro",articles:i.masculine},boolean:{name:"valor booleano",articles:i.masculine},bigint:{name:"n\xFAmero bigint",articles:i.masculine},symbol:{name:"s\xEDmbolo",articles:i.masculine},undefined:{name:'valor "undefined"',articles:i.masculine},null:{name:'valor "nulo"',articles:i.masculine},never:{name:'valor "never"',articles:i.masculine},void:{name:'valor "void"',articles:i.masculine},date:{name:"data",articles:i.feminine},array:{name:"vetor",articles:i.masculine},object:{name:"objeto",articles:i.masculine},tuple:{name:"tuplo",articles:i.masculine},record:{name:"registo",articles:i.masculine},map:{name:"mapa",articles:i.masculine},set:{name:"conjunto",articles:i.masculine},file:{name:"ficheiro",articles:i.masculine},nonoptional:{name:"valor n\xE3o opcional",articles:i.masculine},nan:{name:'valor "NaN"',articles:i.masculine},function:{name:"fun\xE7\xE3o",articles:i.feminine}};function o(a,s){let l=n[a]??{name:`valor "${a}"`,articles:i.masculine};return`${l.articles[s]} ${l.name}`}return a=>{switch(a.code){case"invalid_type":{let s=o(a.expected,"indefinite"),l=B(a.input),u=o(l,"indefinite");return`Entrada inv\xE1lida: esperava ${s}, recebeu ${u}`}case"invalid_value":return a.values.length===1?`Entrada inv\xE1lida: esperava ${F(a.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperava uma das seguintes op\xE7\xF5es: ${L(a.values,"|")}`;case"too_big":{let s=a.inclusive?"<=":"<",l=t(a.origin);return l?`Demasiado grande: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${l.unit??"elementos"}`:`Demasiado grande: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{let s=a.inclusive?">=":">",l=t(a.origin);return l?`Demasiado pequeno: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${l.unit??"elementos"}`:`Demasiado pequeno: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{let s=a;return s.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar por "${s.prefix}"`:s.format==="ends_with"?`Texto inv\xE1lido: deve terminar em "${s.suffix}"`:s.format==="includes"?`Texto inv\xE1lido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${s.pattern}`:`Formato d${r[s.format]??a.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${a.divisor}`;case"unrecognized_keys":{let s=a.keys.length>1?"s":"";return`Chave${s} inv\xE1lida${s}: ${L(a.keys,", ")}`}case"invalid_key":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\xE7\xE3o inv\xE1lido. Esperava ${a.options.map(l=>`'${l}'`).join(" | ")}`:"Entrada inv\xE1lida";case"invalid_element":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;default:return"Entrada inv\xE1lida"}}};function y8(){return{localeError:fj()}}var mj=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function t(a){return e[a]??null}let r={regex:"a entrada",email:"o endere\xE7o de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a dura\xE7\xE3o ISO",ipv4:"o endere\xE7o IPv4",ipv6:"o endere\xE7o IPv6",mac:"o endere\xE7o MAC",cidrv4:"a faixa de endere\xE7os IPv4",cidrv6:"a faixa de endere\xE7os IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o n\xFAmero E.164",credit_card:"o n\xFAmero de cart\xE3o de cr\xE9dito",currency_code:"o c\xF3digo de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},i={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},n={string:{name:"texto",articles:i.masculine},number:{name:"n\xFAmero",articles:i.masculine},int:{name:"n\xFAmero inteiro",articles:i.masculine},boolean:{name:"valor booleano",articles:i.masculine},bigint:{name:"n\xFAmero bigint",articles:i.masculine},symbol:{name:"s\xEDmbolo",articles:i.masculine},undefined:{name:'valor "undefined"',articles:i.masculine},null:{name:'valor "nulo"',articles:i.masculine},never:{name:'valor "never"',articles:i.masculine},void:{name:'valor "void"',articles:i.masculine},date:{name:"data",articles:i.feminine},array:{name:"vetor",articles:i.masculine},object:{name:"objeto",articles:i.masculine},tuple:{name:"tupla",articles:i.feminine},record:{name:"registro",articles:i.masculine},map:{name:"mapa",articles:i.masculine},set:{name:"conjunto",articles:i.masculine},file:{name:"arquivo",articles:i.masculine},nonoptional:{name:"valor n\xE3o opcional",articles:i.masculine},nan:{name:'valor "NaN"',articles:i.masculine},function:{name:"fun\xE7\xE3o",articles:i.feminine}};function o(a,s){let l=n[a]??{name:`valor "${a}"`,articles:i.masculine};return`${l.articles[s]} ${l.name}`}return a=>{switch(a.code){case"invalid_type":{let s=o(a.expected,"indefinite"),l=B(a.input),u=o(l,"indefinite");return`Entrada inv\xE1lida: esperava ${s}, recebeu ${u}`}case"invalid_value":return a.values.length===1?`Entrada inv\xE1lida: esperava ${F(a.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperava uma das seguintes op\xE7\xF5es: ${L(a.values,"|")}`;case"too_big":{let s=a.inclusive?"<=":"<",l=t(a.origin);return l?`Grande demais: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${l.unit??"elementos"}`:`Grande demais: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{let s=a.inclusive?">=":">",l=t(a.origin);return l?`Pequeno demais: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${l.unit??"elementos"}`:`Pequeno demais: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{let s=a;return s.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${s.prefix}"`:s.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${s.suffix}"`:s.format==="includes"?`Texto inv\xE1lido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${s.pattern}`:`Formato d${r[s.format]??a.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${a.divisor}`;case"unrecognized_keys":{let s=a.keys.length>1?"s":"";return`Chave${s} inv\xE1lida${s}: ${L(a.keys,", ")}`}case"invalid_key":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\xE7\xE3o inv\xE1lido. Esperava ${a.options.map(l=>`'${l}'`).join(" | ")}`:"Entrada inv\xE1lida";case"invalid_element":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;default:return"Entrada inv\xE1lida"}}};function b8(){return{localeError:mj()}}var dj=()=>{let e={string:{unit:"caractere",verb:"s\u0103 aib\u0103"},file:{unit:"octe\u021Bi",verb:"s\u0103 aib\u0103"},array:{unit:"elemente",verb:"s\u0103 aib\u0103"},set:{unit:"elemente",verb:"s\u0103 aib\u0103"},map:{unit:"intr\u0103ri",verb:"s\u0103 aib\u0103"}};function t(n){return e[n]??null}let r={regex:"intrare",email:"adres\u0103 de 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:"dat\u0103 \u0219i or\u0103 ISO",date:"dat\u0103 ISO",time:"or\u0103 ISO",duration:"durat\u0103 ISO",ipv4:"adres\u0103 IPv4",ipv6:"adres\u0103 IPv6",mac:"adres\u0103 MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"\u0219ir codat base64",base64url:"\u0219ir codat base64url",json_string:"\u0219ir JSON",e164:"num\u0103r E.164",credit_card:"num\u0103r de card de credit",currency_code:"cod valutar",iban:"IBAN",jwt:"JWT",template_literal:"intrare"},i={nan:"NaN",string:"\u0219ir",number:"num\u0103r",boolean:"boolean",function:"func\u021Bie",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"num\u0103r mare",void:"void",never:"never",map:"hart\u0103",set:"set"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`Intrare invalid\u0103: a\u0219teptat ${o}, primit ${s}`}case"invalid_value":return n.values.length===1?`Intrare invalid\u0103: a\u0219teptat ${F(n.values[0])}`:`Op\u021Biune invalid\u0103: a\u0219teptat una dintre ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Prea mare: a\u0219teptat ca ${n.origin??"valoarea"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: a\u0219teptat ca ${n.origin??"valoarea"} s\u0103 fie ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Prea mic: a\u0219teptat ca ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Prea mic: a\u0219teptat ca ${n.origin} s\u0103 fie ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0218ir invalid: trebuie s\u0103 \xEEnceap\u0103 cu "${o.prefix}"`:o.format==="ends_with"?`\u0218ir invalid: trebuie s\u0103 se termine cu "${o.suffix}"`:o.format==="includes"?`\u0218ir invalid: trebuie s\u0103 includ\u0103 "${o.includes}"`:o.format==="regex"?`\u0218ir invalid: trebuie s\u0103 se potriveasc\u0103 cu modelul ${o.pattern}`:`Format invalid: ${r[o.format]??n.format}`}case"not_multiple_of":return`Num\u0103r invalid: trebuie s\u0103 fie multiplu de ${n.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${L(n.keys,", ")}`;case"invalid_key":return`Cheie invalid\u0103 \xEEn ${n.origin}`;case"invalid_union":return"Intrare invalid\u0103";case"invalid_element":return`Valoare invalid\u0103 \xEEn ${n.origin}`;default:return"Intrare invalid\u0103"}}};function x8(){return{localeError:dj()}}function w8(e,t,r,i){let n=Math.abs(e),o=n%10,a=n%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?r:i}var pj=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},map:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(n){return e[n]??null}let r={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",mac:"MAC \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",credit_card:"\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",currency_code:"\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${n.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`}case"invalid_value":return n.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${F(n.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);if(a){let s=Number(n.maximum),l=w8(s,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${n.maximum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);if(a){let s=Number(n.minimum),l=w8(s,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${n.minimum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin} \u0431\u0443\u0434\u0435\u0442 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${n.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${n.keys.length>1?"\u0438":""}: ${L(n.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${n.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${n.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}};function k8(){return{localeError:pj()}}var hj=()=>{let e={string:{unit:"znakov",verb:"ma\u0165"},file:{unit:"bajtov",verb:"ma\u0165"},array:{unit:"prvkov",verb:"ma\u0165"},set:{unit:"prvkov",verb:"ma\u0165"},map:{unit:"polo\u017Eiek",verb:"ma\u0165"}};function t(n){return e[n]??null}let r={regex:"regul\xE1rny v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"d\xE1tum a \u010Das vo form\xE1te ISO",date:"d\xE1tum vo form\xE1te ISO",time:"\u010Das vo form\xE1te ISO",duration:"doba trvania ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"re\u0165azec zak\xF3dovan\xFD vo form\xE1te base64",base64url:"re\u0165azec zak\xF3dovan\xFD vo form\xE1te base64url",json_string:"re\u0165azec vo form\xE1te JSON",e164:"\u010D\xEDslo E.164",credit_card:"\u010D\xEDslo kreditnej karty",currency_code:"k\xF3d meny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"\u010D\xEDslo",string:"re\u0165azec",function:"funkcia",array:"pole"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 instanceof ${n.expected}, obdr\u017Ean\xE9 ${s}`:`Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 ${o}, obdr\u017Ean\xE9 ${s}`}case"invalid_value":return n.values.length===1?`Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 ${F(n.values[0])}`:`Neplatn\xFD vstup: o\u010Dak\xE1van\xE1 jedna z hodn\xF4t ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Hodnota je pr\xEDli\u0161 ve\u013Ek\xE1: ${n.origin??"hodnota"} mus\xED ma\u0165 ${o}${n.maximum.toString()} ${a.unit??"prvkov"}`:`Hodnota je pr\xEDli\u0161 ve\u013Ek\xE1: ${n.origin??"hodnota"} mus\xED by\u0165 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Hodnota je pr\xEDli\u0161 mal\xE1: ${n.origin??"hodnota"} mus\xED ma\u0165 ${o}${n.minimum.toString()} ${a.unit??"prvkov"}`:`Hodnota je pr\xEDli\u0161 mal\xE1: ${n.origin??"hodnota"} mus\xED by\u0165 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Neplatn\xFD re\u0165azec: mus\xED za\u010D\xEDna\u0165 na "${o.prefix}"`:o.format==="ends_with"?`Neplatn\xFD re\u0165azec: mus\xED kon\u010Di\u0165 na "${o.suffix}"`:o.format==="includes"?`Neplatn\xFD re\u0165azec: mus\xED obsahova\u0165 "${o.includes}"`:o.format==="regex"?`Neplatn\xFD re\u0165azec: mus\xED zodpoveda\u0165 vzoru ${o.pattern}`:`Neplatn\xFD form\xE1t ${r[o.format]??n.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED by\u0165 n\xE1sobkom ${n.divisor}`;case"unrecognized_keys":return`Nezn\xE1me kl\xFA\u010De: ${L(n.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xFA\u010D v ${n.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${n.origin}`;default:return"Neplatn\xFD vstup"}}};function $8(){return{localeError:hj()}}var gj=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"},map:{unit:"elementov",verb:"imeti"}};function t(n){return e[n]??null}let r={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",mac:"MAC naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",credit_card:"\u0161tevilka kreditne kartice",currency_code:"koda valute",iban:"IBAN",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${n.expected}, prejeto ${s}`:`Neveljaven vnos: pri\u010Dakovano ${o}, prejeto ${s}`}case"invalid_value":return n.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${F(n.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Preveliko: pri\u010Dakovano, da bo ${n.origin??"vrednost"} imelo ${o}${n.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${n.origin??"vrednost"} ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Premajhno: pri\u010Dakovano, da bo ${n.origin} imelo ${o}${n.minimum.toString()} ${a.unit}`:`Premajhno: pri\u010Dakovano, da bo ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${r[o.format]??n.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${n.divisor}`;case"unrecognized_keys":return`Neprepoznan${n.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${L(n.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${n.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${n.origin}`;default:return"Neveljaven vnos"}}};function S8(){return{localeError:gj()}}var vj=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"},map:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(n){return e[n]??null}let r={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-adress",ipv6:"IPv6-adress",mac:"MAC-adress",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",credit_card:"kreditkortsnummer",currency_code:"valutakod",iban:"IBAN",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${n.expected}, fick ${s}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${o}, fick ${s}`}case"invalid_value":return n.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${F(n.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`F\xF6r stor(t): f\xF6rv\xE4ntade ${n.origin??"v\xE4rdet"} att ha ${o}${n.maximum.toString()} ${a.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${n.origin??"v\xE4rdet"} att ha ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`F\xF6r lite(t): f\xF6rv\xE4ntade ${n.origin??"v\xE4rdet"} att ha ${o}${n.minimum.toString()} ${a.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${n.origin??"v\xE4rdet"} att ha ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${o.includes}"`:o.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${o.pattern}"`:`Ogiltig(t) ${r[o.format]??n.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${L(n.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${n.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${n.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}};function _8(){return{localeError:vj()}}var yj=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},map:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(n){return e[n]??null}let r={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",mac:"MAC \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",credit_card:"\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",currency_code:"\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${n.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`}case"invalid_value":return n.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${F(n.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${L(n.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${n.maximum.toString()} ${a.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${n.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin} ${o}${n.minimum.toString()} ${a.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin} ${o}${n.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${o.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${n.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${n.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${n.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}};function I8(){return{localeError:yj()}}var bj=()=>{let e={string:{unit:"\u0430\u043B\u043E\u043C\u0430\u0442",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},file:{unit:"\u0431\u0430\u0439\u0442",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},array:{unit:"\u0443\u043D\u0441\u0443\u0440",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},set:{unit:"\u0443\u043D\u0441\u0443\u0440",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},map:{unit:"\u0441\u0430\u0431\u0442",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"}};function t(n){return e[n]??null}let r={regex:"\u0432\u0443\u0440\u0443\u0434",email:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 email",url:"URL",emoji:"\u044D\u043C\u043E\u04B7\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0441\u0430\u043D\u0430\u0432\u0443 \u0432\u0430\u049B\u0442\u0438 ISO",date:"\u0441\u0430\u043D\u0430\u0438 ISO",time:"\u0432\u0430\u049B\u0442\u0438 ISO",duration:"\u0434\u0430\u0432\u043E\u043C\u043D\u043E\u043A\u0438\u0438 ISO",ipv4:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 IPv4",ipv6:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 IPv6",mac:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 MAC",cidrv4:"\u043C\u0430\u04B3\u0434\u0443\u0434\u0430\u0438 IPv4",cidrv6:"\u043C\u0430\u04B3\u0434\u0443\u0434\u0430\u0438 IPv6",base64:"\u0441\u0430\u0442\u0440\u0438 \u0434\u0430\u0440 \u0444\u043E\u0440\u043C\u0430\u0442\u0438 base64",base64url:"\u0441\u0430\u0442\u0440\u0438 \u0434\u0430\u0440 \u0444\u043E\u0440\u043C\u0430\u0442\u0438 base64url",json_string:"\u0441\u0430\u0442\u0440\u0438 JSON",e164:"\u0440\u0430\u049B\u0430\u043C\u0438 E.164",credit_card:"\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",currency_code:"\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0443\u0440\u0443\u0434"},i={nan:"NaN",number:"\u0440\u0430\u049B\u0430\u043C",string:"\u0441\u0430\u0442\u0440",array:"\u043C\u0430\u0441\u0441\u0438\u0432",object:"\u043E\u0431\u044A\u0435\u043A\u0442",date:"\u0441\u0430\u043D\u0430"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: ${o} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442, ${s} \u0433\u0438\u0440\u0438\u0444\u0442\u0430 \u0448\u0443\u0434`}case"invalid_value":return n.values.length===1?`\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: ${F(n.values[0])} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442`:`\u0418\u043D\u0442\u0438\u0445\u043E\u0431\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u044F\u043A\u0435 \u0430\u0437 ${L(n.values,"|")} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0425\u0435\u043B\u0435 \u043A\u0430\u043B\u043E\u043D: ${n.origin??"\u049B\u0438\u043C\u0430\u0442"} \u0431\u043E\u044F\u0434 ${o}${n.maximum.toString()} ${a.unit} ${a.verb}`:`\u0425\u0435\u043B\u0435 \u043A\u0430\u043B\u043E\u043D: ${n.origin??"\u049B\u0438\u043C\u0430\u0442"} \u0431\u043E\u044F\u0434 ${o}${n.maximum.toString()} \u0431\u043E\u0448\u0430\u0434`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0425\u0435\u043B\u0435 \u0445\u0443\u0440\u0434: ${n.origin} \u0431\u043E\u044F\u0434 ${o}${n.minimum.toString()} ${a.unit} ${a.verb}`:`\u0425\u0435\u043B\u0435 \u0445\u0443\u0440\u0434: ${n.origin} \u0431\u043E\u044F\u0434 ${o}${n.minimum.toString()} \u0431\u043E\u0448\u0430\u0434`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u043E "${o.prefix}" \u043E\u0493\u043E\u0437 \u0448\u0430\u0432\u0430\u0434`:o.format==="ends_with"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u043E "${o.suffix}" \u0430\u043D\u04B7\u043E\u043C \u0451\u0431\u0430\u0434`:o.format==="includes"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 "${o.includes}"-\u0440\u043E \u0434\u0430\u0440 \u0431\u0430\u0440 \u0433\u0438\u0440\u0430\u0434`:o.format==="regex"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u0430 \u043D\u0430\u043C\u0443\u043D\u0430\u0438 ${o.pattern} \u043C\u0443\u0432\u043E\u0444\u0438\u049B\u0430\u0442 \u043A\u0443\u043D\u0430\u0434`:`${r[o.format]??n.format}-\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442`}case"not_multiple_of":return`\u0420\u0430\u049B\u0430\u043C\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u0430 ${n.divisor} \u0431\u0435 \u0431\u0430\u049B\u0438\u044F \u0442\u0430\u049B\u0441\u0438\u043C \u0448\u0430\u0432\u0430\u0434`;case"unrecognized_keys":return`\u041A\u0430\u043B\u0438\u0434${n.keys.length>1?"\u04B3\u043E\u0438":"\u0438"} \u043D\u043E\u043C\u0430\u044A\u043B\u0443\u043C: ${L(n.keys,", ")}`;case"invalid_key":return`\u041A\u0430\u043B\u0438\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442 \u0434\u0430\u0440 ${n.origin}`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`\u049A\u0438\u043C\u0430\u0442\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442\u0438 \u0434\u0438\u0441\u043A\u0440\u0438\u043C\u0438\u043D\u0430\u0442\u043E\u0440: ${n.options.map(a=>`'${a}'`).join(" | ")} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442`:"\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442";case"invalid_element":return`\u049A\u0438\u043C\u0430\u0442\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442 \u0434\u0430\u0440 ${n.origin}`;default:return"\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442"}}};function z8(){return{localeError:bj()}}var xj=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},map:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(n){return e[n]??null}let r={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",mac:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 MAC",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",credit_card:"\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",currency_code:"\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",iban:"IBAN",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},i={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${n.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${o} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`}case"invalid_value":return n.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${F(n.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",a=t(n.origin);return a?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${n.maximum.toString()} ${a.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",a=t(n.origin);return a?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${n.minimum.toString()} ${a.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${o.prefix}"`:o.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${o.suffix}"`:o.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${o.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:o.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${o.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${r[o.format]??n.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${n.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${L(n.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${n.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${n.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}};function A8(){return{localeError:xj()}}var wj=()=>{let e={string:{unit:"simwol",verb:"bolmaly"},file:{unit:"ba\xFDt",verb:"bolmaly"},array:{unit:"elementler",verb:"bolmaly"},set:{unit:"elementler",verb:"bolmaly"},map:{unit:"elementler",verb:"bolmaly"}};function t(n){return e[n]??null}let r={regex:"giri\u015F",email:"e-po\xE7ta salgysy",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 sene we wagt",date:"ISO sene",time:"ISO wagt",duration:"ISO wagt aralygy",ipv4:"IPv4 salgysy",ipv6:"IPv6 salgysy",mac:"MAC salgysy",cidrv4:"IPv4 aralygy",cidrv6:"IPv6 aralygy",base64:"base64 bilen \u015Fifrlenen setir",base64url:"base64url bilen \u015Fifrlenen setir",json_string:"JSON setiri",e164:"E.164 nomeri",credit_card:"kredit kartyny\u0148 nomeri",currency_code:"wal\xFDuta kody",iban:"IBAN",jwt:"JWT",template_literal:"\u015Fablon"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return`N\xE4dogry baha: gara\u015Fylan ${o} \xFDerine ${s} alyndy`}case"invalid_value":return n.values.length===1?`N\xE4dogry baha: ${F(n.values[0])} bolmaly`:`N\xE4dogry sa\xFDlaw: a\u015Fakdakylardan biri bolmaly: ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Has uly: gara\u015Fyl\xFDan ${n.origin??"baha"} ${o} ${n.maximum.toString()} ${a.unit??"element"}`:`Has uly: gara\u015Fyl\xFDan ${n.origin??"baha"} ${o} ${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Has ki\xE7i: gara\u015Fyl\xFDan ${n.origin} ${o} ${n.minimum.toString()} ${a.unit}`:`Has ki\xE7i: gara\u015Fyl\xFDan ${n.origin} ${o} ${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`N\xE4dogry setir: "${o.prefix}" bilen ba\u015Flamaly`:o.format==="ends_with"?`N\xE4dogry setir: "${o.suffix}" bilen gutarmaly`:o.format==="includes"?`N\xE4dogry setir: "${o.includes}" saklamaly`:o.format==="regex"?`N\xE4dogry setir: ${o.pattern} nusga la\xFDyk bolmaly`:`N\xE4dogry ${r[o.format]??n.format}`}case"not_multiple_of":return`N\xE4dogry san: ${n.divisor} bilen galyndysyz b\xF6l\xFCnmeli`;case"unrecognized_keys":return`Tanalma\xFDan a\xE7ar${n.keys.length>1?"lar":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xE7inde n\xE4dogry a\xE7ar`;case"invalid_union":return"N\xE4dogry baha";case"invalid_element":return`${n.origin} i\xE7inde n\xE4dogry baha`;default:return"N\xE4dogry baha"}}};function T8(){return{localeError:wj()}}var kj=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},map:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(n){return e[n]??null}let r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",mac:"MAC adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",credit_card:"kredi kart\u0131 numaras\u0131",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"\u015Eablon dizesi"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${n.expected}, al\u0131nan ${s}`:`Ge\xE7ersiz de\u011Fer: beklenen ${o}, al\u0131nan ${s}`}case"invalid_value":return n.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${F(n.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\xC7ok b\xFCy\xFCk: beklenen ${n.origin??"de\u011Fer"} ${o}${n.maximum.toString()} ${a.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${n.origin??"de\u011Fer"} ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\xC7ok k\xFC\xE7\xFCk: beklenen ${n.origin} ${o}${n.minimum.toString()} ${a.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Ge\xE7ersiz metin: "${o.prefix}" ile ba\u015Flamal\u0131`:o.format==="ends_with"?`Ge\xE7ersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Ge\xE7ersiz metin: "${o.includes}" i\xE7ermeli`:o.format==="regex"?`Ge\xE7ersiz metin: ${o.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${r[o.format]??n.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${n.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${n.keys.length>1?"lar":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${n.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}};function C8(){return{localeError:kj()}}var $j=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},map:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(n){return e[n]??null}let r={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",mac:"\u0430\u0434\u0440\u0435\u0441\u0430 MAC",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",credit_card:"\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",currency_code:"\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${n.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${o}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`}case"invalid_value":return n.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${F(n.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin} \u0431\u0443\u0434\u0435 ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${n.keys.length>1?"\u0456":""}: ${L(n.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${n.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${n.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}};function E0(){return{localeError:$j()}}function D8(){return E0()}var Sj=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},map:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(n){return e[n]??null}let r={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",mac:"\u0627\u06CC\u0645 \u0627\u06D2 \u0633\u06CC \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",credit_card:"\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",currency_code:"\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",iban:"IBAN",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},i={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${n.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${o} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return n.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${F(n.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${L(n.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${n.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${o}${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${n.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${o}${n.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${n.origin} \u06A9\u06D2 ${o}${n.minimum.toString()} ${a.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${n.origin} \u06A9\u0627 ${o}${n.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${o.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${n.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${n.keys.length>1?"\u0632":""}: ${L(n.keys,"\u060C ")}`;case"invalid_key":return`${n.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${n.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}};function N8(){return{localeError:Sj()}}var _j=()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"},map:{unit:"yozuv",verb:"bo\u2018lishi kerak"}};function t(n){return e[n]??null}let r={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",credit_card:"kredit karta raqami",currency_code:"valyuta kodi",iban:"IBAN",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${n.expected}, qabul qilingan ${s}`:`Noto\u2018g\u2018ri kirish: kutilgan ${o}, qabul qilingan ${s}`}case"invalid_value":return n.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${F(n.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Juda katta: kutilgan ${n.origin??"qiymat"} ${o}${n.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${n.origin??"qiymat"} ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Juda kichik: kutilgan ${n.origin} ${o}${n.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto\u2018g\u2018ri satr: "${o.includes}" ni o\u2018z ichiga olishi kerak`:o.format==="regex"?`Noto\u2018g\u2018ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${r[o.format]??n.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${n.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${n.keys.length>1?"lar":""}: ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${n.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}};function E8(){return{localeError:_j()}}var Ij=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},map:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(n){return e[n]??null}let r={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",mac:"\u0111\u1ECBa ch\u1EC9 MAC",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",credit_card:"s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",currency_code:"m\xE3 ti\u1EC1n t\u1EC7",iban:"IBAN",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},i={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${n.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${o}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`}case"invalid_value":return n.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${F(n.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${n.origin??"gi\xE1 tr\u1ECB"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${n.origin??"gi\xE1 tr\u1ECB"} ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${o.prefix}"`:o.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${o.suffix}"`:o.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${o.includes}"`:o.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${o.pattern}`:`${r[o.format]??n.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${n.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${L(n.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${n.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${n.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}};function O8(){return{localeError:Ij()}}var zj=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"},map:{unit:"\u9879",verb:"\u5305\u542B"}};function t(n){return e[n]??null}let r={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",mac:"MAC\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",credit_card:"\u4FE1\u7528\u5361\u53F7",currency_code:"\u8D27\u5E01\u4EE3\u7801",iban:"IBAN",jwt:"JWT",template_literal:"\u8F93\u5165"},i={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${n.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${o}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`}case"invalid_value":return n.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${F(n.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${n.origin??"\u503C"} ${o}${n.maximum.toString()} ${a.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${n.origin??"\u503C"} ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${n.origin} ${o}${n.minimum.toString()} ${a.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.prefix}" \u5F00\u5934`:o.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.suffix}" \u7ED3\u5C3E`:o.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${o.pattern}`:`\u65E0\u6548${r[o.format]??n.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${n.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${L(n.keys,", ")}`;case"invalid_key":return`${n.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${n.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}};function P8(){return{localeError:zj()}}var Aj=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},map:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(n){return e[n]??null}let r={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",mac:"MAC \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",credit_card:"\u4FE1\u7528\u5361\u865F",currency_code:"\u8CA8\u5E63\u4EE3\u78BC",iban:"IBAN",jwt:"JWT",template_literal:"\u8F38\u5165"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${n.expected}\uFF0C\u4F46\u6536\u5230 ${s}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${o}\uFF0C\u4F46\u6536\u5230 ${s}`}case"invalid_value":return n.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${F(n.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${n.origin??"\u503C"} \u61C9\u70BA ${o}${n.maximum.toString()} ${a.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${n.origin??"\u503C"} \u61C9\u70BA ${o}${n.maximum.toString()}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${n.origin} \u61C9\u70BA ${o}${n.minimum.toString()} ${a.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${n.origin} \u61C9\u70BA ${o}${n.minimum.toString()}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.prefix}" \u958B\u982D`:o.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.suffix}" \u7D50\u5C3E`:o.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${o.pattern}`:`\u7121\u6548\u7684 ${r[o.format]??n.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${n.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${n.keys.length>1?"\u5011":""}\uFF1A${L(n.keys,"\u3001")}`;case"invalid_key":return`${n.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${n.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}};function L8(){return{localeError:Aj()}}var Tj=()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"},map:{unit:"nkan",verb:"n\xED"}};function t(n){return e[n]??null}let r={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",mac:"\xE0d\xEDr\u1EB9\u0301s\xEC MAC",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",credit_card:"n\u1ECDmba kaadi gbese",currency_code:"koodu ow\xF3",iban:"IBAN",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},i={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return n=>{switch(n.code){case"invalid_type":{let o=i[n.expected]??n.expected,a=B(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${n.expected}, \xE0m\u1ECD\u0300 a r\xED ${s}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${o}, \xE0m\u1ECD\u0300 a r\xED ${s}`}case"invalid_value":return n.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${F(n.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${L(n.values,"|")}`;case"too_big":{let o=n.inclusive?"<=":"<",a=t(n.origin);return a?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${n.origin??"iye"} ${a.verb} ${o}${n.maximum} ${a.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${n.maximum}`}case"too_small":{let o=n.inclusive?">=":">",a=t(n.origin);return a?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${n.origin} ${a.verb} ${o}${n.minimum} ${a.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${n.minimum}`}case"invalid_format":{let o=n;return o.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${o.prefix}"`:o.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${o.suffix}"`:o.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${o.includes}"`:o.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${o.pattern}`:`A\u1E63\xEC\u1E63e: ${r[o.format]??n.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${n.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${L(n.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${n.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${n.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}};function M8(){return{localeError:Tj()}}var j8,Vv=Symbol("ZodOutput"),Hv=Symbol("ZodInput"),O0=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let i=r[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let i={...this.get(r)??{}};delete i.id;let n={...i,...this._map.get(t)};return Object.keys(n).length?n:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function P0(){return new O0}(j8=globalThis).__zod_globalRegistry??(j8.__zod_globalRegistry=P0());var Ct=globalThis.__zod_globalRegistry;var Bt=Symbol.for("zod.compile.invalid"),U8=Symbol.for("zod.compile.fallback"),Nr=class extends Error{constructor(t="z.compile does not support async refinements, transforms, or checks"){super(t),this.name="ZodCompileAsyncError"}},Te=class extends Error{constructor(t,r=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name="ZodCompileUnsupportedError",this.islandable=r}};function Dj(e,t){try{return M0(e,{assertOnly:!0})}catch{return t}}function Wv(e,t){try{let r=M0(e),i=L0(e,r);return i._zod.bag.validator=Dj(e,r),i}catch(r){if(t?.strict)throw r;return e}}function L0(e,t){if(T0(e))throw new Te("a schema whose subtree contains a reference cycle");let r=qe(e),i=e._zod.run,n=i.__originalRun??i,o=(a,s)=>{if(s?.async||s?.direction==="backward"||s?.skipChecks||s?.[U8]||s&&C0(s,a.value))return n(a,s);let l=t(a.value);return l!==Bt?(a.value=l,a):(s&&(s[U8]=!0),n(a,s))};return o.__originalRun=n,r._zod.bag.fallbackRun=n,r._zod.bag.validator=t,r._zod.run=o,i.__originalRun||Nj(r,e,t),r}function Nj(e,t,r){let i=e,n=t;if(typeof n.safeParse=="function"){let o=n.safeParse;i.safeParse=(a,s)=>{let l=r(a);return l!==Bt?{success:!0,data:l}:o(a,s)}}if(typeof n.parse=="function"){let o=n.parse;i.parse=(a,s)=>{let l=r(a);return l!==Bt?l:o(a,s)}}}function M0(e,t){let r=!0;try{r=T0(e)}catch{}if(r)throw new Te("a schema whose subtree contains a reference cycle");let i={constants:new Map,constantCounter:0,varCounter:0,definite:!0},n=new Oi(["input"]),o=Xe(n,i,e,"input",!t?.assertOnly);n.write(o===null?"return true;":`return ${o};`);let a=["INVALID",...i.constants.keys()],s=[Bt,...i.constants.values()],l=n.content.join(`
244
+ `),u=t?.debug?a.length>0?`// Constants: ${a.join(", ")}
245
+ ${l}`:l:"",c=Function,f=`return (input) => {
246
+ ${l}
247
+ }`,d;try{d=new c(...a,f)(...s)}catch(m){throw new Te(`this schema (generated code failed to evaluate: ${m.message})`)}return t?.debug&&(d.code=u),d.definite=i.definite,d}function ye(e,t){for(let[i,n]of e.constants)if(n===t)return i;let r=`c${e.constantCounter++}`;return e.constants.set(r,t),r}function Mi(e,t){return e.definite=!1,ye(e,t)}function pe(e){return`v${e.varCounter++}`}function Ej(e,t){let r=e._zod.run({value:t,issues:[]},{});if(r&&typeof r.then=="function")return Bt;let i=r;return i.issues.length===0?i.value:Bt}function Pt(e,t,r,i,n=!0){let o=e.content.length,a=t.constants.size,s=t.constantCounter,l=t.varCounter;try{return Xe(e,t,r,i,n)}catch(u){if(!(u instanceof Te)||!u.islandable)throw u;if(e.content.length=o,t.constants.size>a){let c=Array.from(t.constants.keys()).slice(a);for(let f of c)t.constants.delete(f)}return t.constantCounter=s,t.varCounter=l,Oj(e,t,r,i)}}function Oj(e,t,r,i){t.definite=!1;let n=ye(t,r),o=ye(t,Ej),a=pe(t);return e.write(`const ${a} = ${o}(${n}, ${i});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var Pj=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function Lj(e,t,r,i){let n=r._zod.def.checks;if(!n||n.length===0)return i;let o=i;for(let a of n){let s=a._zod.def;if(s.when&&!Pj.has(s.check))throw new Te('check with a custom "when" condition');switch(s.check){case"greater_than":Mj(e,t,s,o);break;case"less_than":jj(e,t,s,o);break;case"multiple_of":Uj(e,t,s,o);break;case"number_format":V8(e,s,o);break;case"min_length":{let l=Vn(s.minimum,"min_length"),u=Kv(e,t,o,`${o}.length >= ${l} && ${o}.length < ${s.minimum*2}`);e.write(`if (${u} < ${l}) return INVALID;`);break}case"max_length":{let l=Vn(s.maximum,"max_length"),u=Kv(e,t,o,`${o}.length > ${l}`);e.write(`if (${u} > ${l}) return INVALID;`);break}case"length_equals":{let l=Vn(s.length,"length_equals"),u=Kv(e,t,o,`${o}.length >= ${l} && ${o}.length <= ${s.length*2}`);e.write(`if (${u} !== ${l}) return INVALID;`);break}case"min_size":e.write(`if (${o}.size < ${Vn(s.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${o}.size > ${Vn(s.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${o}.size !== ${Vn(s.size,"size_equals")}) return INVALID;`);break;case"string_format":o=H8(e,t,s,o);break;case"custom":o=Vj(e,t,a,o);break;case"bigint_format":qj(e,s,o);break;case"mime_type":Rj(e,t,s,o);break;case"property":Bj(e,t,s,o);break;case"properties":Fj(e,t,s,o);break;case"overwrite":{let l=pe(t);Zj(e,t,a,o,l),o=l;break}default:throw new Te(`check type ${s.check}`)}}return o}function Kv(e,t,r,i){let n=ye(t,Ni),o=pe(t);return e.write(`const ${o} = typeof ${r} === "string" && ${i} ? ${n}(${r}) : ${r}.length;`),o}function Vn(e,t){if(typeof e!="number"||!Number.isFinite(e))throw new Te(`${t} bound of type ${typeof e}`);return`${e}`}function Z8(e,t){if(typeof t=="bigint")return`${t}n`;if(typeof t=="number"){if(Number.isNaN(t))throw new Te("comparison check with NaN bound");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new Te("comparison check with Invalid Date bound");return ye(e,t)}throw new Te(`comparison check bound of type ${typeof t}`)}function Mj(e,t,r,i){let n=r.inclusive?"<":"<=";e.write(`if (${i} ${n} ${Z8(t,r.value)}) return INVALID;`)}function jj(e,t,r,i){let n=r.inclusive?">":">=";e.write(`if (${i} ${n} ${Z8(t,r.value)}) return INVALID;`)}function Uj(e,t,r,i){if(typeof r.value=="bigint"){if(r.value===BigInt(0))throw new Te("multiple_of check with a zero divisor");e.write(`if (${i} % ${r.value}n !== 0n) return INVALID;`)}else{let n=ye(t,ws);e.write(`if (${n}(${i}, ${Vn(r.value,"multiple_of")}) !== 0) return INVALID;`)}}function V8(e,t,r){let i=t.format;switch(i){case"safeint":e.write(`if (!Number.isSafeInteger(${r})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${r}) || ${r} < -2147483648 || ${r} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${r}) || ${r} < 0 || ${r} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${r}) || ${r} < -3.4028234663852886e38 || ${r} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${r})) return INVALID;`);break;default:throw new Te(`number format ${i}`)}}function qj(e,t,r){let i=t.format;if(i)switch(i){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break;default:throw new Te(`bigint format ${i}`)}}function Rj(e,t,r,i){let n=r.mime;if(n&&n.length>0){let o=ye(t,new Set(n));e.write(`if (!${o}.has(${i}.type)) return INVALID;`)}}function Fj(e,t,r,i){if(r.when)throw new Te('check with a custom "when" condition');e.write(`if (${i} == null) return INVALID;`);let n=r.shape;for(let o of Reflect.ownKeys(n)){let a=typeof o=="symbol"?ye(t,o):Rt(o),s=pe(t);e.write(`const ${s} = ${i}[${a}];`),Pt(e,t,n[o],s,!1)}}function Bj(e,t,r,i){let n=`${i}[${JSON.stringify(r.property)}]`;Xe(e,t,r.schema,n)}function Zj(e,t,r,i,n){let o=r._zod.def.tx;if(!o)throw new Te("overwrite check without a transform function");if(ji(o))throw new Nr("z.compile: async overwrite transforms are not supported");let a=ye(t,o);e.write(`const ${n} = ${a}(${i});`)}function Jv(){throw new ir}function Yv(e){this.issues.push(e)}function Vj(e,t,r,i){let n=r._zod.def;if(n.fn){if(ji(n.fn))throw new Nr("z.compile: async .refine() predicates are not supported");let o=Mi(t,n.fn),a=ye(t,Jv),s=pe(t);return e.write(`const ${s} = ${o}(${i});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`),i}if(r._zod.check){if(ji(r._zod.check))throw new Nr("z.compile: async .superRefine() / check functions are not supported");let o=r._zod.check,s=Mi(t,u=>{let c={value:u,issues:[],addIssue:Yv};return o(c)instanceof Promise&&Jv(),c.issues.length===0?c.value:Bt}),l=pe(t);return e.write(`const ${l} = ${s}(${i});`),e.write(`if (${l} === INVALID) return INVALID;`),l}throw new Te("custom check without a predicate or check function")}var Hj=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function H8(e,t,r,i,n=!0){let o=r.format;if(o==="base64"){let u=ye(t,Rs);return e.write(`if (!${u}(${i})) return INVALID;`),i}if(o==="base64url"){let u=ye(t,g0);return e.write(`if (!${u}(${i})) return INVALID;`),i}if(o==="jwt"){let u=ye(t,b0),c=ye(t,r.alg??null);return e.write(`if (!${u}(${i}, ${c})) return INVALID;`),i}if(o==="ipv6"){let u=ye(t,qs);return e.write(`if (!${u}(${i})) return INVALID;`),i}if(o==="cidrv6"){let u=ye(t,p0);return e.write(`if (!${u}(${i})) return INVALID;`),i}if(o==="credit_card"){let u=ye(t,v0);return e.write(`if (!${u}(${i})) return INVALID;`),i}if(o==="iban"){let u=ye(t,y0);return e.write(`if (!${u}(${i})) return INVALID;`),i}let a=r;if(o==="url"||o==="httpurl"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){let u=ye(t,f0),c=ye(t,r),f=pe(t),d=pe(t);if(e.write(`const ${f} = ${i}.trim();`),e.write(`const ${d} = ${u}(${f}, ${c});`),e.write(`if (typeof ${d} === "number") return INVALID;`),a.hostname!==void 0){let v=ye(t,m0);e.write(`if (!${v}(${d}, ${c}.hostname)) return INVALID;`)}if(a.protocol!==void 0){let v=ye(t,d0);e.write(`if (!${v}(${d}, ${c}.protocol)) return INVALID;`)}if(!n)return null;let m=pe(t),h=a.normalize?`${d}.href`:`${ye(t,Us)}(${f})`;return e.write(`const ${m} = ${h};`),m}let s=r.fn;if(s){if(ji(s))throw new Te(`async string format ${o}`);let u=ye(t,s);return e.write(`if (!${u}(${i})) return INVALID;`),i}if(Hj.has(o)&&r.pattern){let u=ye(t,r.pattern);return e.write(`${u}.lastIndex = 0;`),e.write(`if (!${u}.test(${i})) return INVALID;`),i}let l=r.format;switch(l){case"regex":throw new Te("regex format without a pattern");case"lowercase":e.write(`if (${i} !== ${i}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${i} !== ${i}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${i}.includes(${Rt(r.includes)})) return INVALID;`);break;case"starts_with":{let u=r.prefix;e.write(`if (${i}.slice(0, ${u.length}) !== ${Rt(u)}) return INVALID;`);break}case"ends_with":{let u=r.suffix;e.write(`if (${i}.slice(-${u.length}) !== ${Rt(u)}) return INVALID;`);break}default:throw new Te(`string format ${l}`)}return i}function Xe(e,t,r,i,n=!0){let o=r._zod.def,a=o.type;if(o.coerce)throw new Te(`coercion (z.coerce.${a}())`);let s=n||!!o.checks?.length,l;switch(a){case"string":l=Kj(e,t,r,i,s);break;case"number":l=Jj(e,r,i);break;case"boolean":l=Gj(e,i);break;case"bigint":l=Wj(e,r,i);break;case"symbol":l=Yj(e,i);break;case"undefined":l=Xj(e,i);break;case"null":l=Qj(e,i);break;case"any":case"unknown":l=i;break;case"never":e.write("return INVALID;"),l=i;break;case"void":l=eU(e,i);break;case"nan":l=tU(e,i);break;case"date":l=rU(e,i);break;case"object":l=nU(e,t,r,i,s);break;case"optional":l=iU(e,t,r,i,s);break;case"nullable":l=sU(e,t,r,i,s);break;case"array":l=lU(e,t,r,i,s);break;case"literal":l=uU(e,t,r,i);break;case"enum":l=cU(e,t,r,i);break;case"readonly":{let u=R8(e,t,r,i),c=pe(t);e.write(`const ${c} = Object.freeze(${u});`),l=c;break}case"success":R8(e,t,r,i),l="true";break;case"default":case"prefault":l=fU(e,t,r,i);break;case"nonoptional":l=mU(e,t,r,i);break;case"tuple":l=dU(e,t,r,i);break;case"union":l=pU(e,t,r,i);break;case"intersection":l=vU(e,t,r,i);break;case"record":l=yU(e,t,r,i);break;case"map":l=xU(e,t,r,i);break;case"set":l=wU(e,t,r,i);break;case"file":l=kU(e,i);break;case"template_literal":l=$U(e,t,r,i);break;case"lazy":l=SU(e,t,r,i);break;case"pipe":l=_U(e,t,r,i);break;case"custom":l=IU(e,t,r,i);break;case"transform":l=TU(e,t,r,i);break;case"catch":l=AU(e,t,r,i);break;default:throw new Te(`schema type ${a}`)}return l===null?null:Lj(e,t,r,l)}function Kj(e,t,r,i,n=!0){e.write(`if (typeof ${i} !== "string") return INVALID;`);let o=r._zod.def;return o.format===void 0?i:H8(e,t,o,i,n)}function Jj(e,t,r){e.write(`if (typeof ${r} !== "number" || !Number.isFinite(${r})) return INVALID;`);let i=t._zod.def;return i.check==="number_format"&&i.format&&V8(e,{format:i.format},r),r}function Gj(e,t){return e.write(`if (typeof ${t} !== "boolean") return INVALID;`),t}function Wj(e,t,r){e.write(`if (typeof ${r} !== "bigint") return INVALID;`);let i=t._zod.def;if(i.format)switch(i.format){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break}return r}function Yj(e,t){return e.write(`if (typeof ${t} !== "symbol") return INVALID;`),t}function Xj(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Qj(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function eU(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function tU(e,t){return e.write(`if (typeof ${t} !== "number" || !Number.isNaN(${t})) return INVALID;`),t}function rU(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function nU(e,t,r,i,n=!0){let o=r._zod.def;e.write(`if (typeof ${i} !== "object" || ${i} === null || Array.isArray(${i})) return INVALID;`);let a=o.shape,s=Object.keys(a),l=Object.getOwnPropertySymbols(a),u=l.length?[...s,...l]:s,c=w=>typeof w=="symbol"?ye(t,w):Rt(w),f=w=>typeof w=="symbol"?`[${c(w)}]`:Rt(w),d=a;if(s.includes("__proto__"))throw new Te('object shape key "__proto__"');let m=new Map;for(let w of u){let $=d[w],z=c(w),M=pe(t);if(e.write(`const ${M} = ${i}[${z}];`),$._zod.optin!==void 0){let S=pe(t);e.write(`let ${S} = (() => {`),e.indented(C=>{let D=Pt(C,t,$,M);C.write(`return ${D};`)}),e.write("})();"),$._zod.optout==="optional"?(e.write(`if (${S} === INVALID) {`),e.indented(C=>{C.write(`if (${z} in ${i}) return INVALID;`),C.write(`${S} = undefined;`)}),e.write("}")):e.write(`if (${S} === INVALID) return INVALID;`),m.set(w,S)}else{aU($)&&e.write(`if (!(${z} in ${i})) return INVALID;`);let S=Pt(e,t,$,M,n);S!==null&&m.set(w,S)}}let h=o.catchall,v="none";if(h){let w=h._zod.def.type;if(w==="never"){let $=s.map(z=>`k !== ${Rt(z)}`).join(" && ")||"true";e.write(`for (const k in ${i}) {`),e.indented(z=>{z.write(`if (${$}) return INVALID;`)}),e.write("}")}else(w==="unknown"||w==="any")&&!h._zod.def.checks?.length?v="passthrough":v="schema"}let y=pe(t),b=u.some(w=>q8(d[w])||Gv(d[w]));if(!n){if(v==="schema"){let w=s.length>0?ye(t,new Set(s)):null;e.write(`for (const k in ${i}) {`),e.indented($=>{$.write('if (k === "__proto__") continue;'),w&&$.write(`if (${w}.has(k)) continue;`);let z=pe(t);$.write(`const ${z} = ${i}[k];`),Pt($,t,h,z,!1)}),e.write("}")}return null}if(b){e.write(`const ${y} = {};`);for(let w of u){let $=c(w),z=m.get(w);Gv(d[w])?e.write(`if (${$} in ${i}) ${y}[${$}] = ${z};`):q8(d[w])?e.write(`if (${z} !== undefined || ${$} in ${i}) ${y}[${$}] = ${z};`):e.write(`${y}[${$}] = ${z};`)}}else{let w=u.map($=>`${f($)}: ${m.get($)}`).join(", ");e.write(`const ${y} = { ${w} };`)}if(v!=="none"){let w=s.length>0?ye(t,new Set(s)):null;e.write(`for (const k in ${i}) {`),e.indented($=>{if($.write('if (k === "__proto__") continue;'),w&&$.write(`if (${w}.has(k)) continue;`),v==="passthrough")$.write(`${y}[k] = ${i}[k];`);else{let z=pe(t);$.write(`const ${z} = ${i}[k];`);let M=Pt($,t,h,z);$.write(`${y}[k] = ${M};`)}}),e.write("}")}return y}function iU(e,t,r,i,n=!0){let o=r._zod.def;if(oU(r))return Xe(e,t,o.innerType,i,n);if(o.innerType._zod.optin==="defaulted"){let s=pe(t),l=pe(t);return e.write(`let ${s};`),e.write(`if (${i} === undefined) {`),e.indented(u=>{u.write(`const ${l} = (() => {`),u.indented(c=>{let f=Xe(c,t,o.innerType,i);c.write(`return ${f};`)}),u.write("})();"),u.write(`if (${l} !== INVALID) ${s} = ${l};`)}),e.write("} else {"),e.indented(u=>{let c=Xe(u,t,o.innerType,i);u.write(`${s} = ${c};`)}),e.write("}"),s}let a=n?pe(t):null;return a&&e.write(`let ${a};`),e.write(`if (${i} !== undefined) {`),e.indented(s=>{let l=Xe(s,t,o.innerType,i,n);a&&l!==null&&s.write(`${a} = ${l};`)}),e.write("}"),a}function oU(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function aU(e){return e._zod.optin===void 0&&Li(e)}function Li(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return t.innerType?Li(t.innerType):!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return t.innerType?Li(t.innerType):!0;case"catch":return!0;case"union":return t.options?t.options.some(Li):!0;case"intersection":return!t.left||!t.right?!0:Li(t.left)&&Li(t.right);case"pipe":return t.in?Li(t.in):!0;default:return!0}}function Gv(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function q8(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&qo(e)}function qo(e){let t=e._zod.def;switch(t.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return t.innerType?qo(t.innerType):!0;case"union":return t.options?t.options.some(qo):!0;case"intersection":return!t.left||!t.right||qo(t.left)||qo(t.right);case"pipe":return t.out?qo(t.out):!0;default:return!0}}function sU(e,t,r,i,n=!0){let o=r._zod.def,a=n?pe(t):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${i} !== null) {`),e.indented(s=>{let l=Xe(s,t,o.innerType,i,n);a&&l!==null&&s.write(`${a} = ${l};`)}),e.write("}"),a}function Xv(e,t,r){for(let[i,n]of Co(t._zod.def.checks))e.write(`if (${r} > ${Vn(i,n._zod.def.check)}) return INVALID;`)}function lU(e,t,r,i,n=!0){let o=r._zod.def;e.write(`if (!Array.isArray(${i})) return INVALID;`),Xv(e,r,`${i}.length`);let a=n?pe(t):null,s=pe(t),l=pe(t);return a&&e.write(`const ${a} = new Array(${i}.length);`),e.write(`for (let ${s} = 0; ${s} < ${i}.length; ${s}++) {`),e.indented(u=>{u.write(`const ${l} = ${i}[${s}];`);let c=Pt(u,t,o.element,l,n);a&&c!==null&&u.write(`${a}[${s}] = ${c};`)}),e.write("}"),a}function uU(e,t,r,i){let o=r._zod.def.values;if(o.length!==1){let s=ye(t,new Set(o));return e.write(`if (!${s}.has(${i})) return INVALID;`),i}let a=o[0];if(typeof a=="number"&&Number.isNaN(a)){let s=ye(t,new Set(o));return e.write(`if (!${s}.has(${i})) return INVALID;`),i}if(typeof a=="string")e.write(`if (${i} !== ${Rt(a)}) return INVALID;`);else if(typeof a=="number"||typeof a=="boolean")e.write(`if (${i} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${i} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${i} !== undefined) return INVALID;`);else if(typeof a=="bigint")e.write(`if (${i} !== ${a}n) return INVALID;`);else throw new Te(`literal type ${typeof a}`);return i}function cU(e,t,r,i){let n=r._zod.values;if(!n)throw new Te("enum schema without enumerated values");let o=ye(t,n);return e.write(`if (!${o}.has(${i})) return INVALID;`),i}function R8(e,t,r,i){let n=r._zod.def;return Xe(e,t,n.innerType,i)}function fU(e,t,r,i){let n=r._zod.def,a=Object.getOwnPropertyDescriptor(r._zod.def,"defaultValue")?()=>r._zod.def.defaultValue:void 0;if(r._zod.def.type==="prefault"){if(!a)return Xe(e,t,n.innerType,i);let l=ye(t,a),u=pe(t);return e.write(`let ${u} = ${i};`),e.write(`if (${i} === undefined) ${u} = ${l}();`),Xe(e,t,n.innerType,u)}let s=pe(t);if(a){let l=ye(t,a),u=ye(t,ks);e.write(`let ${s};`),e.write(`if (${i} === undefined) {`),e.indented(c=>{c.write(`${s} = ${u}(${l}());`)}),e.write("} else {"),e.indented(c=>{let f=Xe(c,t,n.innerType,i);c.write(`${s} = ${f} === undefined ? ${u}(${l}()) : ${f};`)}),e.write("}")}else e.write(`let ${s};`),e.write(`if (${i} !== undefined) {`),e.indented(l=>{let u=Xe(l,t,n.innerType,i);l.write(`${s} = ${u};`)}),e.write("}");return s}function mU(e,t,r,i){let n=r._zod.def,o=Xe(e,t,n.innerType,i),a=pe(t);return e.write(`const ${a} = ${o};`),e.write(`if (${a} === undefined) return INVALID;`),a}function dU(e,t,r,i){let n=r._zod.def,o=n.items,a=n.rest;e.write(`if (!Array.isArray(${i})) return INVALID;`);let s=F8(o,"optin"),l=F8(o,"optout");a?e.write(`if (${i}.length < ${s}) return INVALID;`):e.write(`if (${i}.length < ${s} || ${i}.length > ${o.length}) return INVALID;`);let u=pe(t);e.write(`const ${u} = [];`);for(let c=0;c<o.length;c++){let f=o[c];if(c>=l)e.write(`if (${u}.length === ${c}) {`),e.indented(d=>{d.write(`if (${c} < ${i}.length) {`),d.indented(m=>{let h=pe(t);m.write(`const ${h} = ${i}[${c}];`);let v=Pt(m,t,f,h);m.write(`${u}[${c}] = ${v};`)}),d.write("} else {"),d.indented(m=>{if(Gv(f)){m.write(`${u}.length = ${c};`);return}let h=pe(t),v=pe(t);m.write(`const ${h} = undefined;`),m.write(`const ${v} = (() => {`),m.indented(y=>{let b=Pt(y,t,f,h);y.write(`return ${b};`)}),m.write("})();"),m.write(`if (${v} === INVALID || ${v} === undefined) ${u}.length = ${c};`),m.write(`else ${u}[${c}] = ${v};`)}),d.write("}")}),e.write("}");else{let d=pe(t);e.write(`const ${d} = ${i}[${c}];`);let m=Pt(e,t,f,d);e.write(`${u}[${c}] = ${m};`)}}if(a){let c=pe(t),f=pe(t);e.write(`for (let ${c} = ${o.length}; ${c} < ${i}.length; ${c}++) {`),e.indented(d=>{d.write(`const ${f} = ${i}[${c}];`);let m=Pt(d,t,a,f);d.write(`${u}[${c}] = ${m};`)}),e.write("}")}return u}function F8(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function pU(e,t,r,i){let n=r._zod.def,o=n.options;if(n.discriminator)return hU(e,t,n,i);if(n.inclusive===!1)throw new Te("exclusive unions (z.xor)");if(o.length===0)return e.write("return INVALID;"),i;if(o.length===1)return Xe(e,t,o[0],i);if(o.every(l=>l._zod.def.type==="literal"&&!l._zod.def.checks?.length)){let l=new Set(o.flatMap(c=>c._zod.def.values)),u=ye(t,l);return e.write(`if (!${u}.has(${i})) return INVALID;`),i}let s=pe(t);e.write(`let ${s};`);for(let l=0;l<o.length;l++){let u=o[l];l===0?e.write(`${s} = (() => {`):e.write(`if (${s} === INVALID) ${s} = (() => {`),e.indented(c=>{let f=Xe(c,t,u,i);c.write(`return ${f};`)}),e.write("})();")}return e.write(`if (${s} === INVALID) return INVALID;`),s}function hU(e,t,r,i){if(r.unionFallback)throw new Te("discriminated union with unionFallback");if(r.options.length===0)return e.write("return INVALID;"),i;let n=pe(t),o=pe(t);e.write(`const ${n} = ${i}?.[${Rt(r.discriminator)}];`),e.write(`let ${o};`);let a=!0,s=new Set;for(let l of r.options){let u=l._zod.propValues?.[r.discriminator];if(!u||u.size===0)throw new Te("discriminated union option without static discriminator values");for(let d of u){if(s.has(d))throw new Te(`duplicate discriminator value ${String(d)}`);s.add(d)}let c=Array.from(u,d=>gU(t,n,d)),f=a?"if":"else if";e.write(`${f} (${c.join(" || ")}) {`),e.indented(d=>{let m=Xe(d,t,l,i);d.write(`${o} = ${m};`)}),e.write("}"),a=!1}return e.write("else { return INVALID; }"),o}function gU(e,t,r){if(typeof r=="string")return`${t} === ${Rt(r)}`;if(typeof r=="number")return Number.isNaN(r)?`Number.isNaN(${t})`:`${t} === ${r}`;if(typeof r=="boolean")return`${t} === ${r}`;if(r===null)return`${t} === null`;if(r===void 0)return`${t} === undefined`;if(typeof r=="bigint")return`${t} === ${r}n`;if(typeof r=="symbol"){let i=ye(e,r);return`${t} === ${i}`}throw new Te(`literal discriminator value ${String(r)}`)}function vU(e,t,r,i){let n=r._zod.def;t.definite=!1;let o=Pt(e,t,n.left,i),a=Pt(e,t,n.right,i),s=ye(t,Mo),l=pe(t);return e.write(`const ${l} = ${s}(${o}, ${a});`),e.write(`if (!${l}.valid) return INVALID;`),`${l}.data`}function yU(e,t,r,i){let n=r._zod.def,o=ye(t,wr);e.write(`if (!${o}(${i})) return INVALID;`);let a=pe(t),s=pe(t),l=pe(t);e.write(`const ${a} = {};`);let u=n,c=u.partial?void 0:n.keyType._zod.values;if(c){let m=[];for(let v of c){if(!(typeof v=="string"||typeof v=="number"||typeof v=="symbol"))throw new Te(`record key value ${String(v)}`);let y=typeof v=="number"?v.toString():v;if(y==="__proto__")throw new Te('record key "__proto__"');m.push(y);let b=ye(t,v),w=Xe(e,t,n.keyType,b),$=pe(t);e.write(`const ${$} = ${i}[${bU(t,y)}];`);let z=Pt(e,t,n.valueType,$);e.write(`${a}[${w}] = ${z};`)}let h=ye(t,new Set(m));return e.write(`for (const ${s} in ${i}) {`),e.indented(v=>{v.write(`if (${h}.has(${s})) continue;`),u.mode==="loose"?v.write(`if (${s} !== "__proto__") ${a}[${s}] = ${i}[${s}];`):v.write("return INVALID;")}),e.write("}"),a}let f=n.keyType._zod.def;if(!(f.type==="string"&&f.format===void 0&&!f.coerce&&(f.checks?.length??0)===0)){let m=n.mode==="loose",h=M0(n.keyType);h.definite===!1&&(t.definite=!1);let v=ye(t,h),y=ye(t,mn),b=pe(t);return B8(e,t,i,s,w=>{w.write(`let ${b} = ${v}(${s});`),w.write(`if (${b} === INVALID && typeof ${s} === "string" && ${y}.test(${s})) ${b} = ${v}(Number(${s}));`),m?w.write(`if (${b} === INVALID) { ${a}[${s}] = ${i}[${s}]; continue; }`):w.write(`if (${b} === INVALID) return INVALID;`),w.write(`if (${b} === "__proto__") continue;`);let $=pe(t);w.write(`const ${$} = ${i}[${s}];`);let z=Pt(w,t,n.valueType,$);w.write(`${a}[${b}] = ${z};`)}),a}return B8(e,t,i,s,m=>{m.write(`const ${l} = ${i}[${s}];`);let h=Pt(m,t,n.valueType,l);m.write(`${a}[${s}] = ${h};`)},"return INVALID;"),a}function B8(e,t,r,i,n,o){let a=ye(t,Object.prototype.propertyIsEnumerable),s=pe(t),l=pe(t),u=pe(t);e.write(`const ${s} = Object.getOwnPropertySymbols(${r});`),e.write(`const ${l} = Object.getOwnPropertyNames(${r});`),e.write(`for (let ${u} = 0; ${u} < ${l}.length; ${u}++) {`),e.indented(c=>{c.write(`const ${i} = ${l}[${u}];`),c.write(`if (${i} === "__proto__" || !${a}.call(${r}, ${i})) continue;`),n(c)}),e.write("}"),e.write(`for (let ${u} = 0; ${u} < ${s}.length; ${u}++) {`),e.indented(c=>{c.write(`const ${i} = ${s}[${u}];`),c.write(`if (!${a}.call(${r}, ${i})) continue;`),o?c.write(o):n(c)}),e.write("}")}function bU(e,t){return typeof t=="string"?Rt(t):ye(e,t)}function xU(e,t,r,i){let n=r._zod.def;e.write(`if (!(${i} instanceof Map)) return INVALID;`),Xv(e,r,`${i}.size`);let o=pe(t),a=pe(t),s=pe(t);return e.write(`const ${o} = new Map();`),e.write(`for (const [${a}, ${s}] of ${i}) {`),e.indented(l=>{let u=Xe(l,t,n.keyType,a),c=Xe(l,t,n.valueType,s);l.write(`${o}.set(${u}, ${c});`)}),e.write("}"),o}function wU(e,t,r,i){let n=r._zod.def;e.write(`if (!(${i} instanceof Set)) return INVALID;`),Xv(e,r,`${i}.size`);let o=pe(t),a=pe(t);return e.write(`const ${o} = new Set();`),e.write(`for (const ${a} of ${i}) {`),e.indented(s=>{let l=Xe(s,t,n.valueType,a);s.write(`${o}.add(${l});`)}),e.write("}"),o}function kU(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function $U(e,t,r,i){e.write(`if (typeof ${i} !== "string") return INVALID;`);let n=r._zod.pattern;if(n){let o=ye(t,n);e.write(`${o}.lastIndex = 0;`),e.write(`if (!${o}.test(${i})) return INVALID;`)}return i}function SU(e,t,r,i){let n=r._zod.def,o=Mi(t,n.getter),a=ye(t,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(l=>{l.write(`const inner = ${o}();`),l.write(`${a}.parser = function(input) {`),l.indented(u=>{u.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),u.write("return result.issues.length === 0 ? result.value : INVALID;")}),l.write("};")}),e.write("}");let s=pe(t);return e.write(`const ${s} = ${a}.parser(${i});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function _U(e,t,r,i){let n=r._zod.def,o=Xe(e,t,n.in,i);if(n.transform){if(ji(n.transform))throw new Nr("z.compile: async transforms in pipes are not supported");let a=n.transform,l=Mi(t,c=>{let f={value:c,issues:[],addIssue:Yv},d=a(c,f);return d instanceof Promise?Bt:f.issues.length===0?d:Bt}),u=pe(t);return e.write(`const ${u} = ${l}(${o});`),e.write(`if (${u} === INVALID) return INVALID;`),Xe(e,t,n.out,u)}else return Xe(e,t,n.out,o)}function ji(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function IU(e,t,r,i){let n=r._zod.def;if(n.fn){if(ji(n.fn))throw new Nr("z.compile: async custom predicates are not supported");let o=Mi(t,n.fn),a=ye(t,Jv),s=pe(t);e.write(`const ${s} = ${o}(${i});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`)}else throw new Te("custom schema without a predicate function");return i}function zU(e,t,r){let i=e._zod.run({value:r,issues:[]},{});if(i&&typeof i.then=="function")return Bt;let n=i;return n.issues.length===0?n.value:t()}function AU(e,t,r,i){let n=r._zod.def;if(!n.catchValue[Fc])throw new Te("catch with a callback (only a constant catch value compiles)",!1);let o=pe(t);e.write(`let ${o} = (() => {`),e.indented(u=>{let c=Pt(u,t,n.innerType,i);u.write(`return ${c};`)}),e.write("})();");let a=ye(t,n.innerType),s=Mi(t,n.catchValue),l=ye(t,zU);return e.write(`if (${o} === INVALID) {`),e.indented(u=>{u.write(`${o} = ${l}(${a}, ${s}, ${i});`),u.write(`if (${o} === INVALID) return INVALID;`)}),e.write("}"),o}function TU(e,t,r,i){let n=r._zod.def;if(n.transform){if(ji(n.transform))throw new Nr("z.compile: async transforms are not supported");let o=n.transform,s=Mi(t,u=>{let c={value:u,issues:[],addIssue:Yv},f=o(u,c);return f instanceof Promise?Bt:c.issues.length===0?f:Bt}),l=pe(t);return e.write(`const ${l} = ${s}(${i});`),e.write(`if (${l} === INVALID) return INVALID;`),l}return i}function j0(e){return e.checks&&(e.checks=[...e.checks]),e}function Qv(e,t){return new e(j0({type:"string",...ee(t)}))}function e4(e,t){return new e(j0({type:"string",coerce:!0,...ee(t)}))}function U0(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ee(t)})}function q0(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ee(t)})}function R0(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ee(t)})}function F0(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ee(t)})}function B0(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ee(t)})}function Z0(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ee(t)})}function Xs(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ee(t)})}function V0(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ee(t)})}function H0(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ee(t)})}function K0(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ee(t)})}function J0(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ee(t)})}function G0(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ee(t)})}function W0(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ee(t)})}function Y0(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ee(t)})}function X0(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ee(t)})}function Q0(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ee(t)})}function t4(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...ee(t)})}function ef(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ee(t)})}function tf(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ee(t)})}function rf(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ee(t)})}function nf(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ee(t)})}function of(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ee(t)})}function r4(e,t){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,...ee(t)})}function n4(e,t){return new e({type:"string",format:"iban",check:"string_format",abort:!1,...ee(t)})}function af(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ee(t)})}var i4={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Qs(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ee(t)})}function el(e,t){return new e({type:"string",format:"date",check:"string_format",...ee(t)})}function tl(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ee(t)})}function rl(e,t){return new e({type:"string",format:"duration",check:"string_format",...ee(t)})}function o4(e,t){return new e(j0({type:"number",checks:[],...ee(t)}))}function a4(e,t){return new e(j0({type:"number",coerce:!0,checks:[],...ee(t)}))}function s4(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ee(t)})}function l4(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...ee(t)})}function u4(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...ee(t)})}function c4(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...ee(t)})}function f4(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...ee(t)})}function m4(e,t){return new e({type:"boolean",...ee(t)})}function d4(e,t){return new e({type:"boolean",coerce:!0,...ee(t)})}function p4(e,t){return new e({type:"bigint",...ee(t)})}function h4(e,t){return new e({type:"bigint",coerce:!0,...ee(t)})}function g4(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...ee(t)})}function v4(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...ee(t)})}function y4(e,t){return new e({type:"symbol",...ee(t)})}function b4(e,t){return new e({type:"undefined",...ee(t)})}function x4(e,t){return new e({type:"null",...ee(t)})}function w4(e){return new e({type:"any"})}function k4(e){return new e({type:"unknown"})}function $4(e,t){return new e({type:"never",...ee(t)})}function S4(e,t){return new e({type:"void",...ee(t)})}function _4(e,t){return new e({type:"date",...ee(t)})}function I4(e,t){return new e({type:"date",coerce:!0,...ee(t)})}function z4(e,t){return new e({type:"nan",...ee(t)})}function Fr(e,t){return new i0({check:"less_than",...ee(t),value:e,inclusive:!1})}function fr(e,t){return new i0({check:"less_than",...ee(t),value:e,inclusive:!0})}function Br(e,t){return new o0({check:"greater_than",...ee(t),value:e,inclusive:!1})}function mr(e,t){return new o0({check:"greater_than",...ee(t),value:e,inclusive:!0})}function sf(e){return Br(0,e)}function lf(e){return Fr(0,e)}function uf(e){return fr(0,e)}function cf(e){return mr(0,e)}function Hn(e,t){return new u1({check:"multiple_of",...ee(t),value:e})}function Kn(e,t){return new m1({check:"max_size",...ee(t),maximum:e})}function Zr(e,t){return new d1({check:"min_size",...ee(t),minimum:e})}function Ui(e,t){return new p1({check:"size_equals",...ee(t),size:e})}function qi(e,t){return new h1({check:"max_length",...ee(t),maximum:e})}function dn(e,t){return new g1({check:"min_length",...ee(t),minimum:e})}function Ri(e,t){return new v1({check:"length_equals",...ee(t),length:e})}function Ro(e,t){return new y1({check:"string_format",format:"regex",...ee(t),pattern:e})}function Fo(e){return new b1({check:"string_format",format:"lowercase",...ee(e)})}function Bo(e){return new x1({check:"string_format",format:"uppercase",...ee(e)})}function Zo(e,t){return new w1({check:"string_format",format:"includes",...ee(t),includes:e})}function Vo(e,t){return new k1({check:"string_format",format:"starts_with",...ee(t),prefix:e})}function Ho(e,t){return new $1({check:"string_format",format:"ends_with",...ee(t),suffix:e})}function ff(e,t,r){return new S1({check:"property",property:e,schema:t,...ee(r)})}function Ko(e,t){return new _1({check:"properties",shape:e,...ee(t)})}function Jo(e,t){return new I1({check:"mime_type",mime:e,...ee(t)})}function Er(e){return new z1({check:"overwrite",tx:e})}function Go(e){return Er(t=>t.normalize(e))}function Wo(){return Er(e=>e.trim())}function Yo(){return Er(e=>e.toLowerCase())}function Xo(){return Er(e=>e.toUpperCase())}function Qo(){return Er(e=>fg(e))}function A4(e,t,r){return new e({type:"array",element:t,...ee(r)})}function CU(e,t,r){return new e({type:"union",options:t,...ee(r)})}function DU(e,t,r){return new e({type:"union",options:t,inclusive:!1,...ee(r)})}function NU(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...ee(i)})}function EU(e,t,r){return new e({type:"intersection",left:t,right:r})}function OU(e,t,r,i){let n=r instanceof Se,o=n?i:r,a=n?r:null;return new e({type:"tuple",items:t,rest:a,...ee(o)})}function PU(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...ee(i)})}function LU(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...ee(i)})}function MU(e,t,r){return new e({type:"set",valueType:t,...ee(r)})}function jU(e,t,r){let i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new e({type:"enum",entries:i,...ee(r)})}function UU(e,t,r){return new e({type:"enum",entries:t,...ee(r)})}function qU(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...ee(r)})}function T4(e,t){return new e({type:"file",...ee(t)})}function RU(e,t){return new e({type:"transform",transform:t})}function FU(e,t){return new e({type:"optional",innerType:t})}function BU(e,t){return new e({type:"nullable",innerType:t})}function ZU(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():ks(r)}})}function VU(e,t,r){return new e({type:"nonoptional",innerType:t,...ee(r)})}function HU(e,t){return new e({type:"success",innerType:t})}function KU(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:vg(r)})}function JU(e,t,r){return new e({type:"pipe",in:t,out:r})}function GU(e,t){return new e({type:"readonly",innerType:t})}function WU(e,t,r){return new e({type:"template_literal",parts:t,...ee(r)})}function YU(e,t){return new e({type:"lazy",getter:t})}function XU(e,t){return new e({type:"promise",innerType:t})}function C4(e,t,r){let i=ee(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function D4(e,t,r){return new e({type:"custom",check:"custom",fn:t,...ee(r)})}function N4(e,t){let r=K8(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(Do(n,i.value,r._zod.def));else{let o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),"input"in o||(o.input=i.value),o.inst??(o.inst=r),o.continue??(o.continue=!r._zod.def.abort),i.issues.push(Do(o))}},e(i.value,i)),t);return r}function K8(e,t){let r=new Ve({check:"custom",...ee(t)});return r._zod.check=e,r}function E4(e){let t=new Ve({check:"describe"});return t._zod.onattach=[r=>{let i=Ct.get(r)??{};Ct.add(r,{...i,description:e})}],t._zod.check=()=>{},t}function O4(e){let t=new Ve({check:"meta"});return t._zod.onattach=[r=>{let i=Ct.get(r)??{};Ct.add(r,{...i,...e})}],t._zod.check=()=>{},t}function P4(e,t){let r=ee(t),i=r.truthy??["true","1","yes","on","y","enabled"],n=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(i=i.map(m=>typeof m=="string"?m.toLowerCase():m),n=n.map(m=>typeof m=="string"?m.toLowerCase():m));let o=new Set(i),a=new Set(n),s=e.Codec??Vs,l=e.Boolean??Bs,u=e.String??Pi,c=new u({type:"string",error:r.error}),f=new l({type:"boolean",error:r.error}),d=new s({type:"pipe",in:c,out:f,transform:((m,h)=>{let v=m;return r.case!=="sensitive"&&(v=v.toLowerCase()),o.has(v)?!0:a.has(v)?!1:(h.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:h.value,inst:d,continue:!1}),{})}),reverseTransform:((m,h)=>m===!0?i[0]||"true":n[0]||"false"),error:r.error});return d._zod.bag.truthy=i,d._zod.bag.falsy=n,d._zod.bag.case=r.case??"insensitive",d}function Fi(e,t,r,i={}){let n=ee(i),o={check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:s=>r.test(s),...n};return r instanceof RegExp&&(o.pattern=r),new e(o)}function nl(e,...t){for(let r of t)for(let i of Reflect.ownKeys(r))Object.prototype.propertyIsEnumerable.call(r,i)&&Tt(e,i,r[i]);return e}function Jn(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Ct,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function xt(e,t,r,i,n){let o=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:i.path,message:n}):t.unrepresentable;if(o==="any")return!1;if(o===void 0||o==="throw")throw new Error(n);return Object.assign(r,o),!0}function Fe(e,t,r={path:[],schemaPath:[]}){var i;let n=e._zod.def,o=t.seen.get(e);if(o)return o.count++,r.schemaPath.includes(e)&&(o.cycle=r.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let c={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,c);else{let d=a.schema,m=t.processors[n.type];if(!m)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);m(e,t,d,c)}let f=e._zod.parent;f&&(a.ref||(a.ref=f),Fe(f,t,c),t.seen.get(f).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&nl(a.schema,l),t.io==="input"&&Zt(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function J8(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Gn(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let l=i.get(s);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}let n=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let f=e.external.registry.get(a[0])?.id,d=e.external.uri??(h=>h);if(f)return{ref:d(f)};let m=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=m,{defId:m,ref:`${d("__shared")}#/${s}/${J8(m)}`}}let l="#",u=`${l}/${s}/`;if(a[1]===r&&!a[1].schema.id)return{ref:l};let c=a[1].schema.id??`__schema${e.counter++}`;return{defId:c,ref:u+J8(c)}},o=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:l,defId:u}=n(a);s.def={...s.schema},u&&(s.defId=u);let c=s.schema;for(let f in c)delete c[f];c.$ref=l};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
248
+
249
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){o(a);continue}if(e.external){let u=e.external.registry.get(a[0])?.id;if(t!==a[0]&&u){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}s.count>1&&e.reused==="ref"&&o(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function Y8(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let r=[];for(let i of t){if(!i||typeof i!="object")return;Y8(i);let n=Object.keys(i);if(n.length!==1||n[0]!=="type")return;let o=i.type;for(let a of Array.isArray(o)?o:[o]){if(typeof a!="string")return;r.includes(a)||r.push(a)}}delete e.anyOf,e.type=r.length===1?r[0]:r}var X8=new Set(["type","properties","required","additionalProperties"]),G8=["oneOf","anyOf"];function W8(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function L4(e){let t=[];for(let o of e){if(typeof o!="object"||o.type!=="object")return null;for(let a in o)if(!X8.has(a))return null;t.push(o)}let r={},i=new Set;for(let o of t){for(let a in o.properties){if(Object.prototype.hasOwnProperty.call(r,a))continue;let s=[];for(let u of t){let c=u.properties?.[a]??W8(u);c!=null&&(s.some(f=>JSON.stringify(f)===JSON.stringify(c))||s.push(c))}let l=s.length===1?s[0]:L4(s)??{allOf:s};Tt(r,a,l)}for(let a of o.required??[])i.add(a)}let n={type:"object",properties:r};if(i.size&&(n.required=[...i]),t.every(o=>o.additionalProperties===!1))n.additionalProperties=!1;else{let o=[];for(let a of t){let s=W8(a);s&&!o.some(l=>JSON.stringify(l)===JSON.stringify(s))&&o.push(s)}o.length===1?n.additionalProperties=o[0]:o.length>1&&(n.additionalProperties={allOf:o})}return n}function QU(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let n of X8)if(n in e)return;let r=t.filter(n=>G8.some(o=>Array.isArray(n[o]))),i=null;if(!r.length)i=L4(t);else{let n=r[0],o=G8.find(l=>Array.isArray(n[l]));if(Object.keys(n).length!==1)return;let a=t.filter(l=>l!==n),s=n[o].map(l=>L4([...a,l]));if(s.some(l=>!l))return;i={[o]:s}}i&&(delete e.allOf,nl(e,i))}function Wn(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=s=>{let l=e.seen.get(s);if(l.ref===null)return;let u=l.def??l.schema,c={...u},f=l.ref;if(l.ref=null,f){i(f);let m=e.seen.get(f),h=m.schema;if(h.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(h)):nl(u,h),nl(u,c),s._zod.parent===f)for(let y in u)y==="$ref"||y==="allOf"||y in c||delete u[y];if(h.$ref&&m.def)for(let y in u)y==="$ref"||y==="allOf"||y in m.def&&JSON.stringify(u[y])===JSON.stringify(m.def[y])&&delete u[y]}let d=s._zod.parent;if(d&&d!==f){i(d);let m=e.seen.get(d);if(m?.schema.$ref&&(u.$ref=m.schema.$ref,m.def))for(let h in u)h==="$ref"||h==="allOf"||h in m.def&&JSON.stringify(u[h])===JSON.stringify(m.def[h])&&delete u[h]}e.override({zodSchema:s,jsonSchema:u,path:l.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let s of[...e.seen.entries()].reverse())i(s[0]);if(e.target!=="openapi-3.0")for(let s of e.seen.entries())Y8(s[1].def??s[1].schema);for(let s of e.deferred)s();if(e.intersections.length){let s=new Map;for(let l of e.seen.values())for(let u of[l.schema,l.def]){let c=u?.allOf;if(!Array.isArray(c))continue;let f=s.get(c);f?f.push(u):s.set(c,[u])}for(let l of e.intersections)for(let u of s.get(l)??[])QU(u)}}let n={};if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(s)}nl(n,r.defId?r.schema:r.def??r.schema);let o=e.metadataRegistry.get(t)?.id;o!==void 0&&n.id===o&&delete n.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let s of e.seen.entries()){let l=s[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,Tt(a,l.defId,l.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?n.$defs=a:n.definitions=a);try{let s=JSON.parse(JSON.stringify(n));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:ea(t,"input",e.processors),output:ea(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Zt(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return Zt(i.element,r);if(i.type==="set")return Zt(i.valueType,r);if(i.type==="lazy")return Zt(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return Zt(i.innerType,r);if(i.type==="intersection")return Zt(i.left,r)||Zt(i.right,r);if(i.type==="record"||i.type==="map")return Zt(i.keyType,r)||Zt(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Zt(i.in,r)||Zt(i.out,r);if(i.type==="object"){for(let n in i.shape)if(Zt(i.shape[n],r))return!0;return!1}if(i.type==="union"){for(let n of i.options)if(Zt(n,r))return!0;return!1}if(i.type==="tuple"){for(let n of i.items)if(Zt(n,r))return!0;return!!(i.rest&&Zt(i.rest,r))}return!1}var M4=(e,t={})=>r=>{let i=Jn({...r,processors:t});return Fe(e,i),Gn(i,e),Wn(i,e)},ea=(e,t,r={})=>i=>{let{libraryOptions:n,target:o}=i??{},a=Jn({...n??{},target:o,io:t,processors:r});return Fe(e,a),Gn(a,e),Wn(a,e)};var ta=(e,t,r)=>{(e[t]===void 0||r>e[t])&&(e[t]=r)},ra=(e,t,r)=>{(e[t]===void 0||r<e[t])&&(e[t]=r)},Q8=(e,t)=>{ta(e,"minimum",t),ra(e,"maximum",t)},n$=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},i$=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},o$=(e,t)=>{e.mime=e.mime?e.mime.filter(r=>t.includes(r)):[...t]},a$=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},e$=(e,t)=>ta(e,"minimum",t.minimum),t$=(e,t)=>ra(e,"maximum",t.maximum),r$=e=>(t,r)=>{a$(t,r.format);let[i,n]=e[r.format];ta(t,"minimum",i),ra(t,"maximum",n)},eq={greater_than:(e,t)=>ta(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>ra(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>n$(e,t.value),number_format:r$(Ss),bigint_format:r$(_s),min_length:e$,max_length:t$,length_equals:(e,t)=>Q8(e,t.length),min_size:e$,max_size:t$,size_equals:(e,t)=>Q8(e,t.size),string_format:(e,t)=>{a$(e,t.format),t.pattern&&i$(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>o$(e,t.mime)};function wt(e){let t={},r=e._zod.def,i=e._zod.traits.has("$ZodCheck")?[e,...r.checks??[]]:r.checks??[];for(let o of i)eq[o._zod.def.check]?.(t,o._zod.def);let n=e._zod.bag;n.minimum!==void 0&&ta(t,"minimum",n.minimum),n.exclusiveMinimum!==void 0&&ta(t,"exclusiveMinimum",n.exclusiveMinimum),n.maximum!==void 0&&ra(t,"maximum",n.maximum),n.exclusiveMaximum!==void 0&&ra(t,"exclusiveMaximum",n.exclusiveMaximum),n.multipleOf!==void 0&&n$(t,n.multipleOf),n.format!==void 0&&(t.format??(t.format=n.format),n.format.includes("int")&&(t.isInt=!0)),n.mime&&o$(t,n.mime);for(let o of n.patterns??[])i$(t,o);return t}var tq={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},rq=new Map([[h0,Bg],[Fs,Zg]]),s$=e=>rq.get(e)??e,q4=(e,t,r,i)=>{let n=r;n.type="string";let{minimum:o,maximum:a,format:s,patterns:l,contentEncoding:u,laxFormat:c}=wt(e);if(typeof o=="number"&&(n.minLength=o),typeof a=="number"&&(n.maxLength=a),s&&(n.format=tq[s]??s,n.format===""&&delete n.format,(s==="time"||c)&&delete n.format),u&&(n.contentEncoding=u),l&&l.size>0){let f=[...l].map(s$);f.length===1?n.pattern=f[0].source:f.length>1&&(n.allOf=[...f.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},R4=(e,t,r,i)=>{let n=r,{minimum:o,maximum:a,multipleOf:s,exclusiveMaximum:l,exclusiveMinimum:u,isInt:c}=wt(e);n.type=c?"integer":"number";let f=typeof u=="number"&&u>=(o??Number.NEGATIVE_INFINITY),d=typeof l=="number"&&l<=(a??Number.POSITIVE_INFINITY),m=t.target==="draft-04"||t.target==="openapi-3.0";if(f?m?(n.minimum=u,n.exclusiveMinimum=!0):n.exclusiveMinimum=u:typeof o=="number"&&(n.minimum=o),d?m?(n.maximum=l,n.exclusiveMaximum=!0):n.exclusiveMaximum=l:typeof a=="number"&&(n.maximum=a),s){let h=new Set;for(let b of s)Number.isFinite(b)&&b!==0?h.add(Math.abs(b)):xt(e,t,n,i,`A multipleOf divisor of ${b} cannot be represented in JSON Schema`);let[v,...y]=h;v!==void 0&&(n.multipleOf=v),y.length&&(n.allOf=[...n.allOf??[],...y.map(b=>({multipleOf:b}))])}},F4=(e,t,r,i)=>{r.type="boolean"},B4=(e,t,r,i)=>{xt(e,t,r,i,"BigInt cannot be represented in JSON Schema")},Z4=(e,t,r,i)=>{xt(e,t,r,i,"Symbols cannot be represented in JSON Schema")},V4=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},H4=(e,t,r,i)=>{xt(e,t,r,i,"Undefined cannot be represented in JSON Schema")},K4=(e,t,r,i)=>{xt(e,t,r,i,"Void cannot be represented in JSON Schema")},J4=(e,t,r,i)=>{r.not={}},G4=(e,t,r,i)=>{},W4=(e,t,r,i)=>{},Y4=(e,t,r,i)=>{xt(e,t,r,i,"Date cannot be represented in JSON Schema")},X4=(e,t,r,i)=>{let n=e._zod.def,o=Io(n.entries);if(o.length===0){r.not={};return}o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},Q4=(e,t,r,i)=>{let n=e._zod.def;if(n.values.length===0){r.not={};return}let o=[];for(let a of n.values)if(a===void 0){if(xt(e,t,r,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(xt(e,t,r,i,"BigInt literals cannot be represented in JSON Schema"))return;o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),o.every(a=>typeof a=="boolean")&&(r.type="boolean"),o.every(a=>a===null)&&(r.type="null"),r.enum=o},ey=(e,t,r,i)=>{xt(e,t,r,i,"NaN cannot be represented in JSON Schema")},ty=(e,t,r,i)=>{let n=r,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");n.type="string",n.pattern=o.source},ry=(e,t,r,i)=>{let n=r;n.type="string",n.format="binary",n.contentEncoding="binary";let{minimum:o,maximum:a,mime:s}=wt(e);o!==void 0&&(n.minLength=o),a!==void 0&&(n.maxLength=a),s&&(s.length===0?n.not={}:s.length===1?n.contentMediaType=s[0]:n.anyOf=s.map(l=>({contentMediaType:l})))},ny=(e,t,r,i)=>{r.type="boolean"},iy=(e,t,r,i)=>{xt(e,t,r,i,"Custom types cannot be represented in JSON Schema")},oy=(e,t,r,i)=>{xt(e,t,r,i,"Function types cannot be represented in JSON Schema")},ay=(e,t,r,i)=>{xt(e,t,r,i,"Transforms cannot be represented in JSON Schema")},sy=(e,t,r,i)=>{xt(e,t,r,i,"Map cannot be represented in JSON Schema")},ly=(e,t,r,i)=>{xt(e,t,r,i,"Set cannot be represented in JSON Schema")},uy=(e,t,r,i)=>{let n=r,o=e._zod.def,{minimum:a,maximum:s}=wt(e);typeof a=="number"&&(n.minItems=a),typeof s=="number"&&(n.maxItems=s),n.type="array",n.items=Fe(o.element,t,{...i,path:[...i.path,"items"]})};function il(e){let t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?il(t.out):t.type==="catch"?il(t.innerType):e._zod.optin}var cy=(e,t,r,i)=>{let n=r,o=e._zod.def,a=o.shape;if(Object.getOwnPropertySymbols(a).length&&xt(e,t,n,i,"Symbol keys cannot be represented in JSON Schema"))return;n.type="object",n.properties={};for(let u in a)Tt(n.properties,u,Fe(a[u],t,{...i,path:[...i.path,"properties",u]}));let l=[];for(let u of Object.keys(a)){let c=o.shape[u];(t.io==="input"?il(c)===void 0:c._zod.optout===void 0)&&l.push(u)}l.length>0&&(n.required=l),o.catchall?._zod.def.type==="never"?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=Fe(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},df=(e,t,r,i)=>{let n=e._zod.def,o=n.inclusive===!1,a=n.options.map((s,l)=>Fe(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",l]}));o?r.oneOf=a:r.anyOf=a},fy=(e,t,r,i)=>{let n=e._zod.def,o=Fe(n.left,t,{...i,path:[...i.path,"allOf",0]}),a=Fe(n.right,t,{...i,path:[...i.path,"allOf",1]}),s=u=>"allOf"in u&&Object.keys(u).length===1,l=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];r.allOf=l,t.intersections.push(l)},my=(e,t,r,i)=>{let n=r,o=e._zod.def;n.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=o.items.map((v,y)=>Fe(v,t,{...i,path:[...i.path,a,y]})),u=o.rest?Fe(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null,c=o.items.length;for(;c>0;){let v=o.items[c-1];if(!(t.io==="input"?il(v)!==void 0:v._zod.optout==="optional"))break;c--}let f=o.items.length,d=!o.rest;t.target==="draft-2020-12"?(n.prefixItems=l,d?n.items=!1:u&&(n.items=u),c>0&&(n.minItems=c),d&&(n.maxItems=f)):t.target==="openapi-3.0"?(n.items={anyOf:l},u&&n.items.anyOf.push(u),c>0&&(n.minItems=c),d&&(n.maxItems=f)):(n.items=l,d?n.additionalItems=!1:u&&(n.additionalItems=u),c>0&&(n.minItems=c),d&&(n.maxItems=f));let{minimum:m,maximum:h}=wt(e);typeof m=="number"&&(n.minItems=m),typeof h=="number"&&(n.maxItems=h)};function j4(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);let h=e.get(t)?.def;if(!h)return t;let v=j4(e,h,r);return v===h?t:v}for(let h of["anyOf","oneOf"]){let v=t[h];if(!Array.isArray(v))continue;let y=v.map(b=>j4(e,b,r));y.some((b,w)=>b!==v[w])&&(t={...t,[h]:y})}let i=Array.isArray(t.type)?t.type:[t.type],n=!i.includes("string")&&i.some(h=>h==="number"||h==="integer"),o=t.enum??(t.const!==void 0?[t.const]:void 0);if(!n&&!o?.some(h=>typeof h=="number"))return t;let{minimum:a,maximum:s,exclusiveMinimum:l,exclusiveMaximum:u,multipleOf:c,format:f,id:d,...m}=t;return m.enum?m.enum=m.enum.map(h=>typeof h=="number"?String(h):h):typeof m.const=="number"&&(m.const=String(m.const)),n&&(m.type="string",o||(m.pattern=(i.includes("number")?mn:Ps).source)),m}var U4=new WeakMap;function nq(e){let t=new Map;for(let i of e.seen.values())i.def&&!t.has(i.schema)&&t.set(i.schema,i);let r=new Map;for(let i of U4.get(e)??[]){let n=e.seen.get(i),o=(n?.def??n?.schema)?.propertyNames;if(!o||o===!0||r.has(o))continue;let a=j4(t,o,new Set);a!==o&&r.set(o,a)}if(r.size)for(let i of e.seen.values())for(let n of[i.schema,i.def]){let o=n&&r.get(n.propertyNames);o&&(n.propertyNames=o)}}var dy=(e,t,r,i)=>{let n=r,o=e._zod.def;n.type="object";let a=o.keyType,s=wt(a).patterns;if(o.mode==="loose"&&s&&s.size>0){let c=Fe(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});n.patternProperties={};for(let f of s)Tt(n.patternProperties,s$(f).source,c)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){n.propertyNames=Fe(o.keyType,t,{...i,path:[...i.path,"propertyNames"]});let c=U4.get(t);c||(c=[],U4.set(t,c),t.deferred.push(()=>nq(t))),c.push(e)}n.additionalProperties=Fe(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]})}let l=a._zod.values,u=t.io==="input"&&il(o.valueType)!==void 0;if(l&&!o.partial&&!u){let c=[...l].filter(f=>typeof f=="string"||typeof f=="number");c.length>0&&(n.required=c.map(String))}},py=(e,t,r,i)=>{let n=e._zod.def,o=Fe(n.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=n.innerType,r.nullable=!0):r.anyOf=[o,{type:"null"}]},hy=(e,t,r,i)=>{let n=e._zod.def;Fe(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},gy=Symbol();function l$(e,t,r,i,n){let o=!1,a=JSON.stringify(e,(s,l)=>typeof l!="bigint"?l:(o=!0,null));return o?(xt(t,r,i,n,"BigInt defaults cannot be represented in JSON Schema"),gy):JSON.parse(a)}var vy=(e,t,r,i)=>{let n=e._zod.def;Fe(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType;let a=l$(n.defaultValue,e,t,r,i);a!==gy&&(r.default=a)},yy=(e,t,r,i)=>{let n=e._zod.def;Fe(n.innerType,t,i);let o=t.seen.get(e);if(o.ref=n.innerType,t.io!=="input")return;let a=l$(n.defaultValue,e,t,r,i);a!==gy&&(r._prefault=a)},by=(e,t,r,i)=>{let n=e._zod.def;Fe(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType;let a;try{a=n.catchValue(void 0)}catch{xt(e,t,r,i,"Dynamic catch values are not supported in JSON Schema");return}r.default=a},xy=(e,t,r,i)=>{let n=e._zod.def,o=n.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?o?n.out:n.in:n.out;Fe(a,t,i);let s=t.seen.get(e);s.ref=a},wy=(e,t,r,i)=>{let n=e._zod.def;Fe(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType,r.readOnly=!0},ky=(e,t,r,i)=>{let n=e._zod.def;Fe(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},pf=(e,t,r,i)=>{let n=e._zod.def;Fe(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},$y=(e,t,r,i)=>{let n=e._zod.innerType;Fe(n,t,i);let o=t.seen.get(e);o.ref=n},mf={string:q4,number:R4,boolean:F4,bigint:B4,symbol:Z4,null:V4,undefined:H4,void:K4,never:J4,any:G4,unknown:W4,date:Y4,enum:X4,literal:Q4,nan:ey,template_literal:ty,file:ry,success:ny,custom:iy,function:oy,transform:ay,map:sy,set:ly,array:uy,object:cy,union:df,intersection:fy,tuple:my,record:dy,nullable:py,nonoptional:hy,default:vy,prefault:yy,catch:by,pipe:xy,readonly:wy,promise:ky,optional:pf,lazy:$y};function hf(e,t){if("_idmap"in e){let i=e,n=Jn({...t,processors:mf}),o={};for(let l of i._idmap.entries()){let[u,c]=l;Fe(c,n)}let a={},s={registry:i,uri:t?.uri,defs:o};n.external=s;for(let l of i._idmap.entries()){let[u,c]=l;Gn(n,c),Tt(a,u,Wn(n,c))}if(Object.keys(o).length>0){let l=n.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[l]:o}}return{schemas:a}}let r=Jn({...t,processors:mf});return Fe(e,r),Gn(r,e),Wn(r,e)}var gf=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=Jn({processors:mf,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return Fe(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,Gn(this.ctx,t);let i=Wn(this.ctx,t),{"~standard":n,...o}=i;return o}};var u$={};var ca={};zr(ca,{ZodAny:()=>Vy,ZodArray:()=>Gy,ZodBase64:()=>Pf,ZodBase64URL:()=>Lf,ZodBigInt:()=>la,ZodBigIntFormat:()=>Uf,ZodBoolean:()=>sa,ZodCIDRv4:()=>Ef,ZodCIDRv6:()=>Of,ZodCUID:()=>If,ZodCUID2:()=>zf,ZodCatch:()=>gb,ZodCodec:()=>pl,ZodCreditCard:()=>My,ZodCustom:()=>hl,ZodCustomStringFormat:()=>Hi,ZodDate:()=>ll,ZodDefault:()=>cb,ZodDiscriminatedUnion:()=>Yy,ZodE164:()=>Mf,ZodEmail:()=>kf,ZodEmoji:()=>Sf,ZodEnum:()=>ia,ZodExactOptional:()=>Bf,ZodFile:()=>ab,ZodFunction:()=>Ib,ZodGUID:()=>$f,ZodIBAN:()=>jy,ZodIPv4:()=>Df,ZodIPv6:()=>Nf,ZodISODate:()=>Xn,ZodISODateTime:()=>Yn,ZodISODuration:()=>ei,ZodISOTime:()=>Qn,ZodInstanceOf:()=>Tb,ZodIntersection:()=>Xy,ZodJWT:()=>jf,ZodKSUID:()=>Cf,ZodLazy:()=>$b,ZodLiteral:()=>ob,ZodMAC:()=>Ly,ZodMap:()=>nb,ZodNaN:()=>yb,ZodNanoID:()=>_f,ZodNever:()=>Ky,ZodNonOptional:()=>Zf,ZodNull:()=>By,ZodNullable:()=>ub,ZodNumber:()=>aa,ZodNumberFormat:()=>Ki,ZodObject:()=>cl,ZodOptional:()=>ml,ZodPipe:()=>dl,ZodPrefault:()=>mb,ZodPreprocess:()=>bb,ZodPromise:()=>_b,ZodReadonly:()=>xb,ZodRecord:()=>na,ZodSet:()=>ib,ZodString:()=>oa,ZodStringFormat:()=>Be,ZodSuccess:()=>hb,ZodSymbol:()=>Ry,ZodTemplateLiteral:()=>kb,ZodTransform:()=>sb,ZodTuple:()=>eb,ZodType:()=>Ie,ZodULID:()=>Af,ZodURL:()=>sl,ZodUUID:()=>Vr,ZodUndefined:()=>Fy,ZodUnion:()=>fl,ZodUnknown:()=>Hy,ZodVoid:()=>Jy,ZodXID:()=>Tf,ZodXor:()=>Wy,_ZodString:()=>wf,_default:()=>fb,_function:()=>w9,any:()=>X$,array:()=>ul,base64:()=>N$,base64url:()=>E$,bigint:()=>K$,boolean:()=>qy,catch:()=>vb,check:()=>k9,cidrv4:()=>C$,cidrv6:()=>D$,codec:()=>v9,creditCard:()=>P$,cuid:()=>k$,cuid2:()=>$$,currencyCode:()=>R$,custom:()=>$9,date:()=>e9,describe:()=>S9,discriminatedUnion:()=>a9,e164:()=>O$,email:()=>m$,emoji:()=>x$,enum:()=>Rf,exactOptional:()=>lb,file:()=>d9,float32:()=>B$,float64:()=>Z$,function:()=>w9,guid:()=>d$,hash:()=>F$,hex:()=>q$,hostname:()=>U$,httpUrl:()=>b$,iban:()=>L$,instanceof:()=>I9,int:()=>bf,int32:()=>V$,int64:()=>J$,intersection:()=>Qy,invertCodec:()=>y9,ipv4:()=>z$,ipv6:()=>T$,json:()=>A9,jwt:()=>M$,keyof:()=>t9,ksuid:()=>I$,lazy:()=>Sb,literal:()=>m9,looseObject:()=>i9,looseRecord:()=>l9,mac:()=>A$,map:()=>u9,meta:()=>_9,nan:()=>g9,nanoid:()=>w$,nativeEnum:()=>f9,never:()=>qf,nonoptional:()=>pb,null:()=>Zy,nullable:()=>al,nullish:()=>p9,number:()=>Uy,object:()=>r9,optional:()=>Zi,partialRecord:()=>s9,pipe:()=>xf,prefault:()=>db,preprocess:()=>T9,promise:()=>x9,readonly:()=>wb,record:()=>rb,refine:()=>zb,set:()=>c9,strictObject:()=>n9,string:()=>ol,stringFormat:()=>j$,stringbool:()=>z9,success:()=>h9,superRefine:()=>Ab,symbol:()=>W$,templateLiteral:()=>b9,transform:()=>Ff,tuple:()=>tb,uint32:()=>H$,uint64:()=>G$,ulid:()=>S$,undefined:()=>Y$,union:()=>ua,unknown:()=>Bi,url:()=>y$,uuid:()=>p$,uuidv4:()=>h$,uuidv6:()=>g$,uuidv7:()=>v$,void:()=>Q$,xid:()=>_$,xor:()=>o9});var vf={};zr(vf,{endsWith:()=>Ho,gt:()=>Br,gte:()=>mr,includes:()=>Zo,length:()=>Ri,lowercase:()=>Fo,lt:()=>Fr,lte:()=>fr,maxLength:()=>qi,maxSize:()=>Kn,mime:()=>Jo,minLength:()=>dn,minSize:()=>Zr,multipleOf:()=>Hn,negative:()=>lf,nonnegative:()=>cf,nonpositive:()=>uf,normalize:()=>Go,overwrite:()=>Er,positive:()=>sf,properties:()=>Ko,property:()=>ff,regex:()=>Ro,size:()=>Ui,slugify:()=>Qo,startsWith:()=>Vo,toLowerCase:()=>Yo,toUpperCase:()=>Xo,trim:()=>Wo,uppercase:()=>Bo});var c$=new WeakSet([Object.prototype,Error.prototype]);function yf(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let i=r(this);return Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0})}})}var f$=(e,t)=>{$g.init(e,t),e.name="ZodError";let r=Object.getPrototypeOf(e);c$.has(r)||(c$.add(r),yf(r,"format",i=>n=>Ds(i,n)),yf(r,"flatten",i=>n=>Cs(i,n)),yf(r,"addIssue",i=>n=>{i.issues.push(n),i.message=JSON.stringify(i.issues,zo,2)}),yf(r,"addIssues",i=>n=>{i.issues.push(...n),i.message=JSON.stringify(i.issues,zo,2)}),Object.defineProperty(r,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},oq=P("ZodError",f$),ar=P("ZodError",f$,void 0,{Parent:Error});var Sy=No(ar),_y=Eo(ar),Iy=Oo(ar),zy=Po(ar),Ay=Hc(ar),Ty=Kc(ar),Cy=Jc(ar),Dy=Gc(ar),Ny=Wc(ar),Ey=Yc(ar),Oy=Xc(ar),Py=Qc(ar);function sq(){zt.localeError||ut(D0())}function Vi(){zt.memoizer||ut({memoizer:Gs()})}var Ie=P("ZodType",(e,t)=>(sq(),Se.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(R.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return qe(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(zb(e,t))},superRefine(e,t){return this.check(Ab(e,t))},overwrite(e){return this.check(Er(e))},optional(){return Zi(this)},exactOptional(){return lb(this)},nullable(){return al(this)},nullish(){return Zi(al(this))},nonoptional(e){return pb(this,e)},array(){return ul(this)},or(e){return ua([this,e])},and(e){return Qy(this,e)},transform(e){return xf(this,Ff(e))},default(e){return fb(this,e)},prefault(e){return db(this,e)},catch(e){return vb(this,e)},pipe(e){return xf(this,e)},readonly(){return wb(this)},describe(e){let t=this.clone();return Ct.add(t,{description:e}),t},meta(...e){if(e.length===0)return Ct.get(this);let t=this.clone();return Ct.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return R.hide(this,"~standard",{...c0(this),jsonSchema:{input:ea(this,"input"),output:ea(this,"output")}})},set"~standard"(e){R.own(this,"~standard",e)},parse:function e(t,r){return Sy(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await _y(this,t,r,{callee:e})},safeParse(e,t){return Iy(this,e,t)},async safeParseAsync(e,t){return zy(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){R.own(this,"spa",e)},validate(e,t){return Ns(this,e,t)},validateAsync(e,t){return Es(this,e,t)},encode:function e(t,r){return Ay(this,t,r,{callee:e})},decode:function e(t,r){return Ty(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await Cy(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await Dy(this,t,r,{callee:e})},safeEncode(e,t){return Ny(this,e,t)},safeDecode(e,t){return Ey(this,e,t)},async safeEncodeAsync(e,t){return Oy(this,e,t)},async safeDecodeAsync(e,t){return Py(this,e,t)},toJSONSchema(e){return M4(this,{})(e)},get description(){return Ct.get(this)?.description},get _def(){return this._zod.def}}),wf=P("_ZodString",(e,t)=>{Pi.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>q4(e,r,i,n)},R.derived({format:e=>wt(e).format??null,minLength:e=>wt(e).minimum??null,maxLength:e=>wt(e).maximum??null},{regex(...e){return this.check(Ro(...e))},includes(...e){return this.check(Zo(...e))},startsWith(...e){return this.check(Vo(...e))},endsWith(...e){return this.check(Ho(...e))},min(...e){return this.check(dn(...e))},max(...e){return this.check(qi(...e))},length(...e){return this.check(Ri(...e))},nonempty(...e){return this.check(dn(1,...e))},lowercase(e){return this.check(Fo(e))},uppercase(e){return this.check(Bo(e))},trim(){return this.check(Wo())},normalize(...e){return this.check(Go(...e))},toLowerCase(){return this.check(Yo())},toUpperCase(){return this.check(Xo())},slugify(){return this.check(Qo())}})),oa=P("ZodString",(e,t)=>{Pi.init(e,t),wf.init(e,t)},{email(e){return this.check(U0(kf,e))},url(e){return this.check(Xs(sl,e))},jwt(e){return this.check(af(jf,e))},emoji(e){return this.check(V0(Sf,e))},guid(e){return this.check(q0($f,e))},uuid(e){return this.check(R0(Vr,e))},uuidv4(e){return this.check(F0(Vr,e))},uuidv6(e){return this.check(B0(Vr,e))},uuidv7(e){return this.check(Z0(Vr,e))},nanoid(e){return this.check(H0(_f,e))},cuid(e){return this.check(K0(If,e))},cuid2(e){return this.check(J0(zf,e))},ulid(e){return this.check(G0(Af,e))},base64(e){return this.check(rf(Pf,e))},base64url(e){return this.check(nf(Lf,e))},xid(e){return this.check(W0(Tf,e))},ksuid(e){return this.check(Y0(Cf,e))},ipv4(e){return this.check(X0(Df,e))},ipv6(e){return this.check(Q0(Nf,e))},cidrv4(e){return this.check(ef(Ef,e))},cidrv6(e){return this.check(tf(Of,e))},e164(e){return this.check(of(Mf,e))},datetime(e){return this.check(Qs(Yn,e))},date(e){return this.check(el(Xn,e))},time(e){return this.check(tl(Qn,e))},duration(e){return this.check(rl(ei,e))}});function ol(e){return Qv(oa,e)}var Be=P("ZodStringFormat",(e,t)=>{Re.init(e,t),wf.init(e,t)}),Yn=P("ZodISODateTime",(e,t)=>{B1.init(e,t),Be.init(e,t)}),Xn=P("ZodISODate",(e,t)=>{Z1.init(e,t),Be.init(e,t)}),Qn=P("ZodISOTime",(e,t)=>{V1.init(e,t),Be.init(e,t)}),ei=P("ZodISODuration",(e,t)=>{H1.init(e,t),Be.init(e,t)}),kf=P("ZodEmail",(e,t)=>{N1.init(e,t),Be.init(e,t)});function m$(e){return U0(kf,e)}var $f=P("ZodGUID",(e,t)=>{C1.init(e,t),Be.init(e,t)});function d$(e){return q0($f,e)}var Vr=P("ZodUUID",(e,t)=>{D1.init(e,t),Be.init(e,t)});function p$(e){return R0(Vr,e)}function h$(e){return F0(Vr,e)}function g$(e){return B0(Vr,e)}function v$(e){return Z0(Vr,e)}var sl=P("ZodURL",(e,t)=>{P1.init(e,t),Be.init(e,t)});function y$(e){return Xs(sl,e)}function b$(e){return Xs(sl,{protocol:Os,hostname:Hg,...R.normalizeParams(e)})}var Sf=P("ZodEmoji",(e,t)=>{L1.init(e,t),Be.init(e,t)});function x$(e){return V0(Sf,e)}var _f=P("ZodNanoID",(e,t)=>{M1.init(e,t),Be.init(e,t)});function w$(e){return H0(_f,e)}var If=P("ZodCUID",(e,t)=>{j1.init(e,t),Be.init(e,t)});function k$(e){return K0(If,e)}var zf=P("ZodCUID2",(e,t)=>{U1.init(e,t),Be.init(e,t)});function $$(e){return J0(zf,e)}var Af=P("ZodULID",(e,t)=>{q1.init(e,t),Be.init(e,t)});function S$(e){return G0(Af,e)}var Tf=P("ZodXID",(e,t)=>{R1.init(e,t),Be.init(e,t)});function _$(e){return W0(Tf,e)}var Cf=P("ZodKSUID",(e,t)=>{F1.init(e,t),Be.init(e,t)});function I$(e){return Y0(Cf,e)}var Df=P("ZodIPv4",(e,t)=>{K1.init(e,t),Be.init(e,t)});function z$(e){return X0(Df,e)}var Ly=P("ZodMAC",(e,t)=>{G1.init(e,t),Be.init(e,t)});function A$(e){return t4(Ly,e)}var Nf=P("ZodIPv6",(e,t)=>{J1.init(e,t),Be.init(e,t)});function T$(e){return Q0(Nf,e)}var Ef=P("ZodCIDRv4",(e,t)=>{W1.init(e,t),Be.init(e,t)});function C$(e){return ef(Ef,e)}var Of=P("ZodCIDRv6",(e,t)=>{Y1.init(e,t),Be.init(e,t)});function D$(e){return tf(Of,e)}var Pf=P("ZodBase64",(e,t)=>{X1.init(e,t),Be.init(e,t)});function N$(e){return rf(Pf,e)}var Lf=P("ZodBase64URL",(e,t)=>{Q1.init(e,t),Be.init(e,t)});function E$(e){return nf(Lf,e)}var Mf=P("ZodE164",(e,t)=>{ev.init(e,t),Be.init(e,t)});function O$(e){return of(Mf,e)}var My=P("ZodCreditCard",(e,t)=>{tv.init(e,t),Be.init(e,t)});function P$(e){return r4(My,e)}var jy=P("ZodIBAN",(e,t)=>{rv.init(e,t),Be.init(e,t)});function L$(e){return n4(jy,e)}var jf=P("ZodJWT",(e,t)=>{nv.init(e,t),Be.init(e,t)});function M$(e){return af(jf,e)}var Hi=P("ZodCustomStringFormat",(e,t)=>{iv.init(e,t),Be.init(e,t)});function j$(e,t,r={}){return Fi(Hi,e,t,r)}function U$(e){return Fi(Hi,"hostname",Vg,e)}function q$(e){return Fi(Hi,"hex",a1,e)}function R$(e){return Fi(Hi,"currency_code",Jg,e)}function F$(e,t){let r=t?.enc??"hex",i=`${e}_${r}`,n=$r[i];if(!n)throw new Error(`Unrecognized hash format: ${i}`);return Fi(Hi,i,n,t)}var aa=P("ZodNumber",(e,t)=>{x0.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>R4(e,r,i,n),e.isFinite=!0},R.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:r}=wt(e);return Math.max(t??Number.NEGATIVE_INFINITY,r??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:r}=wt(e);return Math.min(t??Number.POSITIVE_INFINITY,r??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:r}=wt(e);return!!t||!!r?.some(Number.isSafeInteger)},format:e=>wt(e).format??null},{gt(e,t){return this.check(Br(e,t))},gte(e,t){return this.check(mr(e,t))},min(e,t){return this.check(mr(e,t))},lt(e,t){return this.check(Fr(e,t))},lte(e,t){return this.check(fr(e,t))},max(e,t){return this.check(fr(e,t))},int(e){return this.check(bf(e))},safe(e){return this.check(bf(e))},positive(e){return this.check(Br(0,e))},nonnegative(e){return this.check(mr(0,e))},negative(e){return this.check(Fr(0,e))},nonpositive(e){return this.check(fr(0,e))},multipleOf(e,t){return this.check(Hn(e,t))},step(e,t){return this.check(Hn(e,t))},finite(){return this}}));function Uy(e){return o4(aa,e)}var Ki=P("ZodNumberFormat",(e,t)=>{ov.init(e,t),aa.init(e,t)});function bf(e){return s4(Ki,e)}function B$(e){return l4(Ki,e)}function Z$(e){return u4(Ki,e)}function V$(e){return c4(Ki,e)}function H$(e){return f4(Ki,e)}var sa=P("ZodBoolean",(e,t)=>{Bs.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>F4(e,r,i,n)});function qy(e){return m4(sa,e)}var la=P("ZodBigInt",(e,t)=>{w0.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>B4(e,r,i,n)},R.derived({minValue:e=>wt(e).minimum??null,maxValue:e=>wt(e).maximum??null,format:e=>wt(e).format??null},{gte(e,t){return this.check(mr(e,t))},min(e,t){return this.check(mr(e,t))},gt(e,t){return this.check(Br(e,t))},lt(e,t){return this.check(Fr(e,t))},lte(e,t){return this.check(fr(e,t))},max(e,t){return this.check(fr(e,t))},positive(e){return this.check(Br(BigInt(0),e))},negative(e){return this.check(Fr(BigInt(0),e))},nonpositive(e){return this.check(fr(BigInt(0),e))},nonnegative(e){return this.check(mr(BigInt(0),e))},multipleOf(e,t){return this.check(Hn(e,t))}}));function K$(e){return p4(la,e)}var Uf=P("ZodBigIntFormat",(e,t)=>{av.init(e,t),la.init(e,t)});function J$(e){return g4(Uf,e)}function G$(e){return v4(Uf,e)}var Ry=P("ZodSymbol",(e,t)=>{sv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Z4(e,r,i,n)});function W$(e){return y4(Ry,e)}var Fy=P("ZodUndefined",(e,t)=>{lv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>H4(e,r,i,n)});function Y$(e){return b4(Fy,e)}var By=P("ZodNull",(e,t)=>{uv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>V4(e,r,i,n)});function Zy(e){return x4(By,e)}var Vy=P("ZodAny",(e,t)=>{cv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>G4(e,r,i,n)});function X$(){return w4(Vy)}var Hy=P("ZodUnknown",(e,t)=>{fv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>W4(e,r,i,n)});function Bi(){return k4(Hy)}var Ky=P("ZodNever",(e,t)=>{mv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>J4(e,r,i,n)});function qf(e){return $4(Ky,e)}var Jy=P("ZodVoid",(e,t)=>{dv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>K4(e,r,i,n)});function Q$(e){return S4(Jy,e)}var ll=P("ZodDate",(e,t)=>{pv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Y4(e,r,i,n),e.min=(r,i)=>e.check(mr(r,i)),e.max=(r,i)=>e.check(fr(r,i))},R.derived({minDate:e=>{let{minimum:t}=wt(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=wt(e);return t?new Date(t):null}},{}));function e9(e){return _4(ll,e)}var Gy=P("ZodArray",(e,t)=>{Vi(),gv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>uy(e,r,i,n),e.element=t.element},{min(e,t){return this.check(dn(e,t))},nonempty(e){return this.check(dn(1,e))},max(e,t){return this.check(qi(e,t))},length(e,t){return this.check(Ri(e,t))},unwrap(){return this.element}});function ul(e,t){return A4(Gy,e,t)}function t9(e){let t=e._zod.def.shape;return Rf(Object.keys(t))}var cl=P("ZodObject",(e,t)=>{Vi(),vv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>cy(e,r,i,n),R.installLazyProp(e,"shape",r=>r._zod.def.shape,!1)},{keyof(){return Rf(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(R.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(R.mergeDefs(this._zod.def,{catchall:Bi()}))},loose(){return this.clone(R.mergeDefs(this._zod.def,{catchall:Bi()}))},strict(){return this.clone(R.mergeDefs(this._zod.def,{catchall:qf()}))},strip(){return this.clone(R.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return R.extend(this,e)},safeExtend(e){return R.safeExtend(this,e)},merge(e){return R.merge(this,e)},pick(e){return R.pick(this,e)},omit(e){return R.omit(this,e)},partial(...e){return R.partial(ml,this,e[0])},exactPartial(...e){return R.partial(Bf,this,e[0],"exactPartial")},required(...e){return R.required(Zf,this,e[0])}});function r9(e,t){let r={type:"object",shape:e??{},...R.normalizeParams(t)};return new cl(r)}function n9(e,t){return new cl({type:"object",shape:e,catchall:qf(),...R.normalizeParams(t)})}function i9(e,t){return new cl({type:"object",shape:e,catchall:Bi(),...R.normalizeParams(t)})}var fl=P("ZodUnion",(e,t)=>{Zs.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>df(e,r,i,n),e.options=t.options});function ua(e,t){return new fl({type:"union",options:e,...R.normalizeParams(t)})}var Wy=P("ZodXor",(e,t)=>{fl.init(e,t),yv.init(e,t),e._zod.processJSONSchema=(r,i,n)=>df(e,r,i,n),e.options=t.options});function o9(e,t){return new Wy({type:"union",options:e,inclusive:!1,...R.normalizeParams(t)})}var Yy=P("ZodDiscriminatedUnion",(e,t)=>{fl.init(e,t),xv.init(e,t)});function a9(e,t,r){return new Yy({type:"union",options:t,discriminator:e,...R.normalizeParams(r)})}var Xy=P("ZodIntersection",(e,t)=>{wv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fy(e,r,i,n)});function Qy(e,t){return new Xy({type:"intersection",left:e,right:t})}var eb=P("ZodTuple",(e,t)=>{Vi(),k0.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>my(e,r,i,n)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(t=>new ml({type:"optional",innerType:t}))})}});function tb(e,t,r){let i=t instanceof Se,n=i?r:t,o=i?t:null;return new eb({type:"tuple",items:e,rest:o,...R.normalizeParams(n)})}var na=P("ZodRecord",(e,t)=>{Vi(),kv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>dy(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType});function rb(e,t,r){return!t||!t._zod?new na({type:"record",keyType:ol(),valueType:e,...R.normalizeParams(t)}):new na({type:"record",keyType:e,valueType:t,...R.normalizeParams(r)})}function s9(e,t,r){return new na({type:"record",keyType:e,valueType:t,...R.normalizeParams(r),partial:!0})}function l9(e,t,r){return new na({type:"record",keyType:e,valueType:t,mode:"loose",...R.normalizeParams(r)})}var nb=P("ZodMap",(e,t)=>{Vi(),$v.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>sy(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Zr(...r)),e.nonempty=r=>e.check(Zr(1,r)),e.max=(...r)=>e.check(Kn(...r)),e.size=(...r)=>e.check(Ui(...r))});function u9(e,t,r){return new nb({type:"map",keyType:e,valueType:t,...R.normalizeParams(r)})}var ib=P("ZodSet",(e,t)=>{Vi(),Sv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ly(e,r,i,n),e.min=(...r)=>e.check(Zr(...r)),e.nonempty=r=>e.check(Zr(1,r)),e.max=(...r)=>e.check(Kn(...r)),e.size=(...r)=>e.check(Ui(...r))});function c9(e,t){return new ib({type:"set",valueType:e,...R.normalizeParams(t)})}var ia=P("ZodEnum",(e,t)=>{_v.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(i,n,o)=>X4(e,i,n,o),e.enum=t.entries,e.options=[...e._zod.values];let r=new Set(Object.keys(t.entries));e.extract=(i,n)=>{let o={};for(let a of i)if(r.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new ia({...t,checks:[],...R.normalizeParams(n),entries:o})},e.exclude=(i,n)=>{let o={...t.entries};for(let a of i)if(r.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new ia({...t,checks:[],...R.normalizeParams(n),entries:o})}});function Rf(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new ia({type:"enum",entries:r,...R.normalizeParams(t)})}function f9(e,t){return new ia({type:"enum",entries:e,...R.normalizeParams(t)})}var ob=P("ZodLiteral",(e,t)=>{Iv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Q4(e,r,i,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function m9(e,t){return new ob({type:"literal",values:Array.isArray(e)?e:[e],...R.normalizeParams(t)})}var ab=P("ZodFile",(e,t)=>{zv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ry(e,r,i,n),e.min=(r,i)=>e.check(Zr(r,i)),e.max=(r,i)=>e.check(Kn(r,i)),e.mime=(r,i)=>e.check(Jo(Array.isArray(r)?r:[r],i))});function d9(e){return T4(ab,e)}var sb=P("ZodTransform",(e,t)=>{Vi(),Av.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ay(e,r,i,n),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Zn(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(R.issue(o,r.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=r.value),a.inst??(a.inst=e),r.issues.push(R.issue(a))}};let n=t.transform(r.value,r);return n instanceof Promise?n.then(o=>(r.value=o,r)):(r.value=n,r)}});function Ff(e){return new sb({type:"transform",transform:e})}var ml=P("ZodOptional",(e,t)=>{$0.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>pf(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Zi(e){return new ml({type:"optional",innerType:e})}var Bf=P("ZodExactOptional",(e,t)=>{Tv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>pf(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function lb(e){return new Bf({type:"optional",innerType:e})}var ub=P("ZodNullable",(e,t)=>{Cv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>py(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function al(e){return new ub({type:"nullable",innerType:e})}function p9(e){return Zi(al(e))}var cb=P("ZodDefault",(e,t)=>{Dv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>vy(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function fb(e,t){return new cb({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():R.shallowClone(t)}})}var mb=P("ZodPrefault",(e,t)=>{Nv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>yy(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function db(e,t){return new mb({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():R.shallowClone(t)}})}var Zf=P("ZodNonOptional",(e,t)=>{Ev.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>hy(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function pb(e,t){return new Zf({type:"nonoptional",innerType:e,...R.normalizeParams(t)})}var hb=P("ZodSuccess",(e,t)=>{Ov.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ny(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function h9(e){return new hb({type:"success",innerType:e})}var gb=P("ZodCatch",(e,t)=>{Pv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>by(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function vb(e,t){return new gb({type:"catch",innerType:e,catchValue:typeof t=="function"?t:R.constantCatch(t)})}var yb=P("ZodNaN",(e,t)=>{Lv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ey(e,r,i,n)});function g9(e){return z4(yb,e)}var dl=P("ZodPipe",(e,t)=>{S0.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>xy(e,r,i,n),e.in=t.in,e.out=t.out});function xf(e,t){return new dl({type:"pipe",in:e,out:t})}var pl=P("ZodCodec",(e,t)=>{dl.init(e,t),Vs.init(e,t)});function v9(e,t,r){return new pl({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function y9(e){let t=e._zod.def;return new pl({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var bb=P("ZodPreprocess",(e,t)=>{dl.init(e,t),Mv.init(e,t)}),xb=P("ZodReadonly",(e,t)=>{jv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>wy(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function wb(e){return new xb({type:"readonly",innerType:e})}var kb=P("ZodTemplateLiteral",(e,t)=>{Uv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ty(e,r,i,n)});function b9(e,t){return new kb({type:"template_literal",parts:e,...R.normalizeParams(t)})}var $b=P("ZodLazy",(e,t)=>{Hs.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>$y(e,r,i,n),e.unwrap=()=>e._zod.def.getter()});function Sb(e){return new $b({type:"lazy",getter:e})}var _b=P("ZodPromise",(e,t)=>{Rv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ky(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function x9(e){return new _b({type:"promise",innerType:e})}var Ib=P("ZodFunction",(e,t)=>{qv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>oy(e,r,i,n)});function w9(e){return new Ib({type:"function",input:Array.isArray(e?.input)?tb(e?.input):e?.input??ul(Bi()),output:e?.output??Bi()})}var hl=P("ZodCustom",(e,t)=>{Fv.init(e,t),Ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>iy(e,r,i,n)});function k9(e){let t=new Ve({check:"custom"});return t._zod.check=e,t}function $9(e,t){return C4(hl,e??(()=>!0),t)}function zb(e,t={}){return D4(hl,e,t)}function Ab(e,t){return N4(e,t)}var S9=E4,_9=O4,Tb=P("ZodInstanceOf",(e,t)=>{hl.init(e,t)},{properties(e,t){return this.check(Ko(e,t))}});function I9(e,t={}){let r=new Tb({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...R.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}var z9=(...e)=>P4({Codec:pl,Boolean:sa,String:oa},...e);function A9(e){let t=Sb(()=>ua([ol(e),Uy(),qy(),Zy(),ul(t),rb(ol(),t)]));return t}function T9(e,t){return new bb({type:"pipe",in:Ff(e),out:t})}var lq={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 uq(e){ut({customError:e})}function cq(){return ut().customError}var Cb;Cb||(Cb={});var gl={};zr(gl,{ZodISODate:()=>Xn,ZodISODateTime:()=>Yn,ZodISODuration:()=>ei,ZodISOTime:()=>Qn,date:()=>mq,datetime:()=>fq,duration:()=>pq,time:()=>dq});function fq(e){return Qs(Yn,e)}function mq(e){return el(Xn,e)}function dq(e){return tl(Qn,e)}function pq(e){return rl(ei,e)}var se={...ca,...vf,iso:gl},hq=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function gq(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function C9(e,t){return e.map((r,i)=>i<t?r:r.optional())}function vq(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function yq(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let i=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){let n=r[1]===void 0?void 0:vq(r[1]);if(!n||!t.defs[n])throw new Error(`Reference not found: ${e}`);return t.defs[n]}throw new Error(`Reference not found: ${e}`)}function bq(e,t){return se.transform(i=>i).check(i=>{let n=i.value;if(typeof n!="object"||n===null||Array.isArray(n))return;let o=Object.getOwnPropertyNames(n);if(t.minProperties!==void 0&&o.length<t.minProperties&&i.issues.push({origin:"object",code:"too_small",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:n,inst:e,continue:!0}),t.maxProperties!==void 0&&o.length>t.maxProperties&&i.issues.push({origin:"object",code:"too_big",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:n,inst:e,continue:!0}),t.keySchema)for(let a of o){let s=t.keySchema.safeParse(a);s.success||i.issues.push({code:"invalid_key",origin:"record",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function Db(e,t){if(e===null)return"z";let r=typeof e;if(r!=="object"){if(r==="number"&&Number.isNaN(e))return null;let i=String(e);return`${r[0]}${i.length}:${i}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let o=[];for(let a of e){let s=Db(a,t);if(s===null)return null;o.push(s)}return`a${o.length}:[${o.join(",")}]`}let i=Object.keys(e).sort(),n=[];for(let o of i){let a=Db(e[o],t);if(a===null)return null;n.push(`${o.length}:${o}=${a}`)}return`o${n.length}:{${n.join(",")}}`}finally{t.delete(e)}}var xq=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),wq=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function vl(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(vl):typeof e.$ref=="string"?!0:Object.entries(e).some(([t,r])=>xq.has(t)?vl(r):!wq.has(t)||typeof r!="object"||r===null?!1:Object.values(r).some(vl))}function D9(e){return e===1?"element":"elements"}function kq(e,t){return se.transform(i=>i).check(i=>{let n=i.value;if(Array.isArray(n)){if(t.uniqueItems===!0){let o=new Map;for(let a=0;a<n.length;a++){let s=Db(n[a],new Set);if(s===null)continue;let l=o.get(s);if(l===void 0){o.set(s,a);continue}i.issues.push({code:"custom",message:`Array items must be unique: element at index ${a} duplicates the one at index ${l}`,input:n,path:[a],continue:!0})}}if(t.containsSchema){let o=t.minContains??1,a=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,s=0;for(let l of n)if(t.containsSchema.safeParse(l).success&&++s>=a)break;s<o&&i.issues.push({code:"custom",message:`Array must contain at least ${o} matching ${D9(o)}; found ${s}`,input:n,continue:!0}),t.maxContains!==void 0&&s>t.maxContains&&i.issues.push({code:"custom",message:`Array must contain at most ${t.maxContains} matching ${D9(t.maxContains)}`,input:n,continue:!0})}}}).pipe(e)}function N9(e,t){if(e!==!1)return e===void 0||e===!0?se.any():Vt(e,t)}var $q=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function E9(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return se.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return se.lazy(()=>{if(!t.refs.has(n))throw new Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);let o=yq(n,t),a=Vt(o,t);return t.refs.set(n,a),t.processing.delete(n),a}if(e.enum!==void 0){let n=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&n.length===1&&n[0]===null)return se.null();if(n.length===0)return se.never();if(n.length===1)return se.literal(n[0]);if(n.every(a=>typeof a=="string"))return se.enum(n);let o=n.map(a=>se.literal(a));return o.length<2?o[0]:se.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return se.literal(e.const);let r=e.type;if(Array.isArray(r)){let n=r.map(o=>{let a={...e,type:o};return E9(a,t)});return n.length===0?se.never():n.length===1?n[0]:se.union(n)}if(!r)return se.any();let i;switch(r){case"string":{let n=se.string();if(e.format){let o=e.format;o==="email"?n=n.check(se.email()):o==="uri"||o==="uri-reference"?n=n.check(se.url()):o==="uuid"||o==="guid"?n=n.check(se.uuid()):o==="date-time"?n=n.check(se.iso.datetime({offset:!0})):o==="date"?n=n.check(se.iso.date()):o==="time"?n=n.check(se.regex($q)):o==="duration"?n=n.check(se.iso.duration()):o==="hostname"?n=n.check(se.hostname()):o==="ipv4"?n=n.check(se.ipv4()):o==="ipv6"?n=n.check(se.ipv6()):o==="mac"?n=n.check(se.mac()):o==="cidr"?n=n.check(se.cidrv4()):o==="cidr-v6"?n=n.check(se.cidrv6()):o==="base64"?n=n.check(se.base64()):o==="base64url"?n=n.check(se.base64url()):o==="e164"?n=n.check(se.e164()):o==="credit_card"?n=n.check(se.creditCard()):o==="iban"?n=n.check(se.iban()):o==="jwt"?n=n.check(se.jwt()):o==="emoji"?n=n.check(se.emoji()):o==="nanoid"?n=n.check(se.nanoid()):o==="cuid"?n=n.check(se.cuid()):o==="cuid2"?n=n.check(se.cuid2()):o==="ulid"?n=n.check(se.ulid()):o==="xid"?n=n.check(se.xid()):o==="ksuid"&&(n=n.check(se.ksuid()))}typeof e.minLength=="number"&&(n=n.min(e.minLength)),typeof e.maxLength=="number"&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),i=n;break}case"number":case"integer":{let n=r==="integer"?se.number().int():se.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(n=n.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(n=n.max(e.maximum)),typeof e.exclusiveMinimum=="number"?n=n.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(n=n.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?n=n.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(n=n.lt(e.maximum)),typeof e.multipleOf=="number"&&(n=n.multipleOf(e.multipleOf)),i=n;break}case"boolean":{i=se.boolean();break}case"null":{i=se.null();break}case"object":{let n={},o=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties=="object"?Vt(e.additionalProperties,t):void 0;for(let[f,d]of Object.entries(o)){let m=Vt(d,t);Tt(n,f,a.has(f)?m:m.optional())}if(e.patternProperties){let f=e.patternProperties,d=Object.keys(f),m=[];for(let v of d){let y=Vt(f[v],t),b=se.string().regex(new RegExp(v));m.push(se.looseRecord(b,y))}let h=[];if(Object.keys(n).length>0&&h.push(se.object(n).passthrough()),h.push(...m),h.length===0)i=se.object({}).passthrough();else if(h.length===1)i=h[0];else{let v=se.intersection(h[0],h[1]);for(let y=2;y<h.length;y++)v=se.intersection(v,h[y]);i=v}if(e.additionalProperties===!1){let v=Object.keys(n),y=d.map(w=>new RegExp(w)),b=i;i=i.check(w=>{if(!wr(w.value))return;let $=[];for(let z of Object.keys(w.value))v.includes(z)||y.some(M=>M.test(z))||$.push(z);$.length&&w.issues.push({code:"unrecognized_keys",keys:$,input:w.value,inst:b})})}}else{let f=se.object(n);e.additionalProperties===!1?i=f.strict():s?i=f.catchall(s):i=f.passthrough()}let l=e.propertyNames!==void 0&&e.propertyNames!==!0,u=typeof e.minProperties=="number"?e.minProperties:void 0,c=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(l||u!==void 0||c!==void 0){let f;if(l){let d=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;f=Vt(d,t)}i=bq(i,{keySchema:f,minProperties:u,maxProperties:c})}break}case"array":{let n=e.prefixItems,o=e.items;if(n&&Array.isArray(n)){let a=typeof e.minItems=="number"?e.minItems:0,s=n.map(f=>Vt(f,t)),l=C9(s,a),u=Array.isArray(o)?void 0:N9(o,t),c=se.tuple(l);i=u?c.rest(u):c,typeof e.minItems=="number"&&(i=i.check(se.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(se.maxLength(e.maxItems)))}else if(Array.isArray(o)){let a=typeof e.minItems=="number"?e.minItems:0,s=o.map(f=>Vt(f,t)),l=C9(s,a),u=N9(e.additionalItems,t),c=se.tuple(l);i=u?c.rest(u):c,typeof e.minItems=="number"&&(i=i.check(se.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(se.maxLength(e.maxItems)))}else if(o!==void 0){let a=Vt(o,t),s=se.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=se.array(se.any());(e.uniqueItems===!0||e.contains!==void 0)&&(i=kq(i,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?Vt(e.contains,t):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${r}`)}return i}function Vt(e,t){if(typeof e=="boolean")return e?se.any():se.never();let r=E9(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(u=>Vt(u,t)),l=se.union(s);r=i?se.intersection(r,l):l}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(u=>Vt(u,t)),l=se.xor(s);r=i?se.intersection(r,l):l}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:se.any();else{let s=i?r:Vt(e.allOf[0],t),l=i?0:1;for(let u=l;u<e.allOf.length;u++)s=se.intersection(s,Vt(e.allOf[u],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=se.nullable(r)),e.readOnly===!0&&(r=se.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let n={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let s of o)s in e&&(n[s]=e[s]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let s of a)s in e&&(n[s]=e[s]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!vl(e.propertyNames)&&(n.propertyNames=e.propertyNames);for(let s of["minProperties","maxProperties"])e[s]!==void 0&&(n[s]=e[s])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!vl(e.contains)&&(n.contains=e.contains);for(let s of["uniqueItems","minContains","maxContains"])e[s]!==void 0&&(n[s]=e[s])}for(let s of Object.keys(e))hq.has(s)||Tt(n,s,e[s]);return Object.keys(n).length>0&&t.registry.add(r,n),e.description&&(r=r.describe(e.description)),r}function O9(e,t){if(typeof e=="boolean")return e?se.any():se.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let i=gq(r,t?.defaultTarget),n=r.$defs||r.definitions||{},o={version:i,defs:n,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??Ct};return Vt(r,o)}var P9=Symbol("z.visit/resolving");function yl(e,t){let r=typeof t=="function"?t:(a,s)=>{let l=t[a._zod.def.type];return l?l(a,s):a},i=new Map;function n(a){let s=i.get(a);if(s===P9)return new Hs({type:"lazy",getter:()=>i.get(a)});if(s!==void 0)return s;i.set(a,P9);let l=o(a),u=r(l,l!==a);return i.set(a,u),u}function o(a){let s=a._zod.def,l=s.type;switch(l){case"object":{let u=s.shape,c=Object.keys(u),f=!1,d={};for(let h of c){let v=n(u[h]);v!==u[h]&&(f=!0),d[h]=v}let m=s.catchall;return s.catchall&&(m=n(s.catchall),m!==s.catchall&&(f=!0)),f?qe(a,{...s,shape:d,catchall:m}):a}case"array":{let u=n(s.element);return u===s.element?a:qe(a,{...s,element:u})}case"tuple":{let u=s.items,c=!1,f=[];for(let m of u){let h=n(m);h!==m&&(c=!0),f.push(h)}let d=s.rest;return s.rest&&(d=n(s.rest),d!==s.rest&&(c=!0)),c?qe(a,{...s,items:f,rest:d}):a}case"record":case"map":{let u=n(s.keyType),c=n(s.valueType);return u===s.keyType&&c===s.valueType?a:qe(a,{...s,keyType:u,valueType:c})}case"set":{let u=n(s.valueType);return u===s.valueType?a:qe(a,{...s,valueType:u})}case"union":{let u=s.options,c=!1,f=[];for(let d of u){let m=n(d);m!==d&&(c=!0),f.push(m)}return c?qe(a,{...s,options:f}):a}case"intersection":{let u=n(s.left),c=n(s.right);return u===s.left&&c===s.right?a:qe(a,{...s,left:u,right:c})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let u=n(s.innerType);return u===s.innerType?a:qe(a,{...s,innerType:u})}case"pipe":{let u=n(s.in),c=n(s.out);return u===s.in&&c===s.out?a:qe(a,{...s,in:u,out:c})}case"function":{let u=n(s.input),c=n(s.output);return u===s.input&&c===s.output?a:qe(a,{...s,input:u,output:c})}case"lazy":{let u=s.getter,{_cachedInner:c,...f}=s;return qe(a,{...f,getter:()=>n(u())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return a;default:return a}}return n(e)}function L9(e){return yl(e,{object:t=>t.partial(),union:t=>{let r=t._zod.def;return r.discriminator===void 0?t:ua(r.options)}})}function Sq(e,t){if(!t?.length)return e;let r=e._zod.def;return qe(e,Dr(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function M9(e){return Sq(e.out,e.checks)}function _q(e){return e.in._zod.traits.has("$ZodTransform")?M9(e):e.in}function j9(e){return yl(e,{pipe:t=>_q(t._zod.def),default:(t,r)=>r?Zi(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function U9(e){return yl(e,{pipe:t=>M9(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}var Nb={};zr(Nb,{bigint:()=>Tq,boolean:()=>Aq,date:()=>Cq,number:()=>zq,string:()=>Iq});function Iq(e){return e4(oa,e)}function zq(e){return a4(aa,e)}function Aq(e){return d4(sa,e)}function Tq(e){return h4(la,e)}function Cq(e){return I4(ll,e)}var X=class e extends Error{constructor(t,r){var i="KaTeX parse error: "+t,n,o,a=r&&r.loc;if(a&&a.start<=a.end){var s=a.lexer.input;n=a.start,o=a.end,n===s.length?i+=" at end of input: ":i+=" at position "+(n+1)+": ";var l=s.slice(n,o).replace(/[^]/g,"$&\u0332"),u;n>15?u="\u2026"+s.slice(n-15,n):u=s.slice(0,n);var c;o+15<s.length?c=s.slice(o,o+15)+"\u2026":c=s.slice(o),i+=u+l+c}super(i),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=n,n!=null&&o!=null&&(this.length=o-n),this.rawMessage=t}},Dq=/([A-Z])/g,Nq=e=>e.replace(Dq,"-$1").toLowerCase(),Eq={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Oq=/[&><"']/g,Mt=e=>String(e).replace(Oq,t=>Eq[t]),em=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?em(e.body[0]):e:e.type==="font"?em(e.body):e,Pq=new Set(["mathord","textord","atom"]),yn=e=>Pq.has(em(e).type),Lq=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Hb={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Mq(e){if(typeof e!="string")return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function jq(e){if(Object.prototype.hasOwnProperty.call(e,"default")&&e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return Mq(t)}function Uq(e,t,r,i){var n=Object.prototype.hasOwnProperty.call(r,t)?r[t]:void 0,o=Object.prototype.hasOwnProperty.call(i,"processor")?i.processor:void 0;e[t]=n!==void 0?o?o(n):n:jq(i)}var $l=class{constructor(t){t===void 0&&(t={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r of Object.keys(Hb)){var i=Hb[r];i&&Uq(this,r,t,i)}}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var r=Lq(t.url);if(r==null)return!1;t.protocol=r}var i=typeof this.trust=="function"?this.trust(t):this.trust;return!!i}},Hr=class{constructor(t,r,i){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=i}sup(){return Kr[qq[this.id]]}sub(){return Kr[Rq[this.id]]}fracNum(){return Kr[Fq[this.id]]}fracDen(){return Kr[Bq[this.id]]}cramp(){return Kr[Zq[this.id]]}text(){return Kr[Vq[this.id]]}isTight(){return this.size>=2}},d6=0,rm=1,ma=2,vn=3,Sl=4,Sr=5,da=6,Kt=7,Kr=[new Hr(d6,0,!1),new Hr(rm,0,!0),new Hr(ma,1,!1),new Hr(vn,1,!0),new Hr(Sl,2,!1),new Hr(Sr,2,!0),new Hr(da,3,!1),new Hr(Kt,3,!0)],qq=[Sl,Sr,Sl,Sr,da,Kt,da,Kt],Rq=[Sr,Sr,Sr,Sr,Kt,Kt,Kt,Kt],Fq=[ma,vn,Sl,Sr,da,Kt,da,Kt],Bq=[vn,vn,Sr,Sr,Kt,Kt,Kt,Kt],Zq=[rm,rm,vn,vn,Sr,Sr,Kt,Kt],Vq=[d6,rm,ma,vn,ma,vn,ma,vn],_e={DISPLAY:Kr[d6],TEXT:Kr[ma],SCRIPT:Kr[Sl],SCRIPTSCRIPT:Kr[da]},Kb=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Hq(e){for(var t=0;t<Kb.length;t++)for(var r=Kb[t],i=0;i<r.blocks.length;i++){var n=r.blocks[i];if(e>=n[0]&&e<=n[1])return r.name}return null}var tm=[];Kb.forEach(e=>e.blocks.forEach(t=>tm.push(...t)));function $S(e){for(var t=0;t<tm.length;t+=2)if(e>=tm[t]&&e<=tm[t+1])return!0;return!1}var kt=e=>e+" "+e,fa=80,Kq=function(t,r){return"M95,"+(622+t+r)+`
250
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
251
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
252
+ c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
253
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
254
+ c69,-144,104.5,-217.7,106.5,-221
255
+ l`+t/2.075+" -"+t+`
256
+ c5.3,-9.3,12,-14,20,-14
257
+ H400000v`+(40+t)+`H845.2724
258
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
259
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
260
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Jq=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
261
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
262
+ c340,-704.7,510.7,-1060.3,512,-1067
263
+ l`+t/2.084+" -"+t+`
264
+ c4.7,-7.3,11,-11,19,-11
265
+ H40000v`+(40+t)+`H1012.3
266
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
267
+ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
268
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
269
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
270
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Gq=function(t,r){return"M983 "+(10+t+r)+`
271
+ l`+t/3.13+" -"+t+`
272
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
273
+ H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
274
+ s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
275
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
276
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
277
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
278
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
279
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Wq=function(t,r){return"M424,"+(2398+t+r)+`
280
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
281
+ c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
282
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
283
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
284
+ l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
285
+ v`+(40+t)+`H1014.6
286
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
287
+ c-2,6,-10,9,-24,9
288
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
289
+ h400000v`+(40+t)+"h-400000z"},Yq=function(t,r){return"M473,"+(2713+t+r)+`
290
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
291
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
292
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
293
+ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
294
+ c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
295
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
296
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},Xq=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},Qq=function(t,r,i){var n=i-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
297
+ H742v`+n+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
298
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
299
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
300
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},eR=function(t,r,i){r=1e3*r;var n="";switch(t){case"sqrtMain":n=Kq(r,fa);break;case"sqrtSize1":n=Jq(r,fa);break;case"sqrtSize2":n=Gq(r,fa);break;case"sqrtSize3":n=Wq(r,fa);break;case"sqrtSize4":n=Yq(r,fa);break;case"sqrtTall":n=Qq(r,fa,i)}return n},tR=function(t,r){switch(t){case"\u239C":return kt("M291 0 H417 V"+r+" H291z");case"\u2223":return kt("M145 0 H188 V"+r+" H145z");case"\u2225":return kt("M145 0 H188 V"+r+" H145z")+kt("M367 0 H410 V"+r+" H367z");case"\u239F":return kt("M457 0 H583 V"+r+" H457z");case"\u23A2":return kt("M319 0 H403 V"+r+" H319z");case"\u23A5":return kt("M263 0 H347 V"+r+" H263z");case"\u23AA":return kt("M384 0 H504 V"+r+" H384z");case"\u23D0":return kt("M312 0 H355 V"+r+" H312z");case"\u2016":return kt("M257 0 H300 V"+r+" H257z")+kt("M478 0 H521 V"+r+" H478z");default:return""}},q9={doubleleftarrow:`M262 157
301
+ l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
302
+ 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
303
+ 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
304
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
305
+ 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
306
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
307
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
308
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
309
+ -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
310
+ 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
311
+ -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
312
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
313
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
314
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
315
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
316
+ 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
317
+ -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
318
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
319
+ 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
320
+ 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
321
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
322
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
323
+ 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
324
+ 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
325
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
326
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
327
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
328
+ 435 0h399565z`,leftgroupunder:`M400000 262
329
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
330
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
331
+ -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
332
+ -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
333
+ -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
334
+ 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
335
+ -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
336
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
337
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
338
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
339
+ 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
340
+ -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
341
+ 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
342
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
343
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
344
+ -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
345
+ -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
346
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:kt("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:kt("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:kt("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:kt("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
347
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
348
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
349
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:kt("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
350
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
351
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
352
+ 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
353
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
354
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
355
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
356
+ 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
357
+ -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
358
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
359
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
360
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
361
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
362
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
363
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
364
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
365
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
366
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
367
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
368
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
369
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
370
+ -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
371
+ 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
372
+ 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
373
+ -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
374
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
375
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
376
+ -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
377
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
378
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
379
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
380
+ -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
381
+ 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
382
+ 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
383
+ -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
384
+ -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
385
+ 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
386
+ -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
387
+ 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
388
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
389
+ 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
390
+ -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
391
+ -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
392
+ 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
393
+ 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
394
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
395
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
396
+ 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
397
+ -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
398
+ 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:kt("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:kt("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:kt("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
399
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
400
+ -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
401
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
402
+ 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
403
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
404
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
405
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
406
+ 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
407
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
408
+ 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
409
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
410
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
411
+ 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
412
+ -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
413
+ 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
414
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
415
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
416
+ -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
417
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
418
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
419
+ 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
420
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
421
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
422
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
423
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
424
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
425
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
426
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
427
+ -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
428
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
429
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
430
+ -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
431
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
432
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
433
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
434
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
435
+ -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
436
+ -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
437
+ -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
438
+ -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
439
+ -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
440
+ -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
441
+ -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
442
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
443
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
444
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
445
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
446
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
447
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
448
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
449
+ -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
450
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
451
+ -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
452
+ -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
453
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
454
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
455
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
456
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
457
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
458
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
459
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
460
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
461
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
462
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
463
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
464
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
465
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
466
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
467
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
468
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
469
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
470
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
471
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},rR=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 v84 h347 v-84
472
+ H403z M403 1759 V0 H319 V1759 v`+r+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
473
+ M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
474
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
475
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
476
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
477
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
478
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
479
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
480
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
481
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
482
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
483
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
484
+ M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
485
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
486
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
487
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
488
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
489
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
490
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
491
+ -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
492
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
493
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
494
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
495
+ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
496
+ c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
497
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
498
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
499
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};function nR(e){return"toText"in e}var ni=class{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){return this.children.map(t=>{if(nR(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}},Jb={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},iR={ex:!0,em:!0,mu:!0},SS=function(t){return typeof t!="string"&&(t=t.unit),t in Jb||t in iR||t==="ex"},ot=function(t,r){var i;if(t.unit in Jb)i=Jb[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")i=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,t.unit==="ex")i=n.fontMetrics().xHeight;else if(t.unit==="em")i=n.fontMetrics().quad;else throw new X("Invalid unit: '"+t.unit+"'");n!==r&&(i*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*i,r.maxSize)},ie=function(t){return+t.toFixed(4)+"em"},ii=function(t){return t.filter(r=>r).join(" ")},p6=function(t){var r="";for(var i of Object.keys(t)){var n=t[i];n!==void 0&&(r+=Nq(i)+":"+n+";")}return r},_S=function(t,r,i){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},IS=function(t){var r=document.createElement(t);r.className=ii(this.classes),Object.assign(r.style,this.style);for(var i of Object.keys(this.attributes))r.setAttribute(i,this.attributes[i]);for(var n=0;n<this.children.length;n++)r.appendChild(this.children[n].toNode());return r},oR=/[\s"'>/=\x00-\x1f]/,zS=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+Mt(ii(this.classes))+'"');var i=p6(this.style);i&&(r+=' style="'+Mt(i)+'"');for(var n of Object.keys(this.attributes)){if(oR.test(n))throw new X("Invalid attribute name '"+n+"'");r+=" "+n+'="'+Mt(this.attributes[n])+'"'}r+=">";for(var o=0;o<this.children.length;o++)r+=this.children[o].toMarkup();return r+="</"+t+">",r},oi=class{constructor(t,r,i,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,_S.call(this,t,i,n),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return IS.call(this,"span")}toMarkup(){return zS.call(this,"span")}},pa=class{constructor(t,r,i,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,_S.call(this,r,n),this.children=i||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return IS.call(this,"a")}toMarkup(){return zS.call(this,"a")}},Gb=class{constructor(t,r,i){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=i}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");return t.src=this.src,t.alt=this.alt,t.className="mord",Object.assign(t.style,this.style),t}toMarkup(){var t='<img src="'+Mt(this.src)+'"'+(' alt="'+Mt(this.alt)+'"'),r=p6(this.style);return r&&(t+=' style="'+Mt(r)+'"'),t+="'/>",t}},aR={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Jt=class{constructor(t,r,i,n,o,a,s,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=i||0,this.italic=n||0,this.skew=o||0,this.width=a||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var u=Hq(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=aR[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;return this.italic>0&&(r=document.createElement("span"),r.style.marginRight=ie(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=ii(this.classes)),Object.keys(this.style).length>0&&(r=r||document.createElement("span"),Object.assign(r.style,this.style)),r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=Mt(ii(this.classes)),r+='"');var i="";this.italic>0&&(i+="margin-right:"+ie(this.italic)+";"),i+=p6(this.style),i&&(t=!0,r+=' style="'+Mt(i)+'"');var n=Mt(this.text);return t?(r+=">",r+=n,r+="</span>",r):n}},Or=class{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var i of Object.keys(this.attributes))r.setAttribute(i,this.attributes[i]);for(var n=0;n<this.children.length;n++)r.appendChild(this.children[n].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))t+=" "+r+'="'+Mt(this.attributes[r])+'"';t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</svg>",t}},Gr=class{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",q9[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Mt(this.alternate)+'"/>':'<path d="'+Mt(q9[this.pathName])+'"/>'}},_l=class{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var i of Object.keys(this.attributes))r.setAttribute(i,this.attributes[i]);return r}toMarkup(){var t="<line";for(var r of Object.keys(this.attributes))t+=" "+r+'="'+Mt(this.attributes[r])+'"';return t+="/>",t}};function sR(e){if(e instanceof Jt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function lR(e){if(e instanceof oi)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var uR=e=>e instanceof oi||e instanceof pa||e instanceof ni,Jr={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Eb={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},R9={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function cR(e,t){Jr[e]=t}function h6(e,t,r){if(!Jr[t])throw new Error("Font metrics not found for font: "+t+".");var i=e.charCodeAt(0),n=Jr[t][i];if(!n&&e[0]in R9&&(i=R9[e[0]].charCodeAt(0),n=Jr[t][i]),!n&&r==="text"&&$S(i)&&(n=Jr[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var Ob={};function fR(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Ob[t]){var r=Ob[t]={cssEmPerMu:Eb.quad[t]/18};for(var i of Object.keys(Eb))r[i]=Eb[i][t]}return Ob[t]}var Qe={math:{},text:{}};function p(e,t,r,i,n,o){Qe[e][n]={font:t,group:r,replace:i},o&&i&&(Qe[e][i]=Qe[e][n])}var g="math",K="text",x="main",_="ams",et="accent-token",ue="bin",Gt="close",va="inner",ge="mathord",vt="op-token",pr="open",Cl="punct",I="rel",bn="spacing",N="textord";p(g,x,I,"\u2261","\\equiv",!0);p(g,x,I,"\u227A","\\prec",!0);p(g,x,I,"\u227B","\\succ",!0);p(g,x,I,"\u223C","\\sim",!0);p(g,x,I,"\u22A5","\\perp");p(g,x,I,"\u2AAF","\\preceq",!0);p(g,x,I,"\u2AB0","\\succeq",!0);p(g,x,I,"\u2243","\\simeq",!0);p(g,x,I,"\u2223","\\mid",!0);p(g,x,I,"\u226A","\\ll",!0);p(g,x,I,"\u226B","\\gg",!0);p(g,x,I,"\u224D","\\asymp",!0);p(g,x,I,"\u2225","\\parallel");p(g,x,I,"\u22C8","\\bowtie",!0);p(g,x,I,"\u2323","\\smile",!0);p(g,x,I,"\u2291","\\sqsubseteq",!0);p(g,x,I,"\u2292","\\sqsupseteq",!0);p(g,x,I,"\u2250","\\doteq",!0);p(g,x,I,"\u2322","\\frown",!0);p(g,x,I,"\u220B","\\ni",!0);p(g,x,I,"\u221D","\\propto",!0);p(g,x,I,"\u22A2","\\vdash",!0);p(g,x,I,"\u22A3","\\dashv",!0);p(g,x,I,"\u220B","\\owns");p(g,x,Cl,".","\\ldotp");p(g,x,Cl,"\u22C5","\\cdotp");p(g,x,Cl,"\u22C5","\xB7");p(K,x,N,"\u22C5","\xB7");p(g,x,N,"#","\\#");p(K,x,N,"#","\\#");p(g,x,N,"&","\\&");p(K,x,N,"&","\\&");p(g,x,N,"\u2135","\\aleph",!0);p(g,x,N,"\u2200","\\forall",!0);p(g,x,N,"\u210F","\\hbar",!0);p(g,x,N,"\u2203","\\exists",!0);p(g,x,N,"\u2207","\\nabla",!0);p(g,x,N,"\u266D","\\flat",!0);p(g,x,N,"\u2113","\\ell",!0);p(g,x,N,"\u266E","\\natural",!0);p(g,x,N,"\u2663","\\clubsuit",!0);p(g,x,N,"\u2118","\\wp",!0);p(g,x,N,"\u266F","\\sharp",!0);p(g,x,N,"\u2662","\\diamondsuit",!0);p(g,x,N,"\u211C","\\Re",!0);p(g,x,N,"\u2661","\\heartsuit",!0);p(g,x,N,"\u2111","\\Im",!0);p(g,x,N,"\u2660","\\spadesuit",!0);p(g,x,N,"\xA7","\\S",!0);p(K,x,N,"\xA7","\\S");p(g,x,N,"\xB6","\\P",!0);p(K,x,N,"\xB6","\\P");p(g,x,N,"\u2020","\\dag");p(K,x,N,"\u2020","\\dag");p(K,x,N,"\u2020","\\textdagger");p(g,x,N,"\u2021","\\ddag");p(K,x,N,"\u2021","\\ddag");p(K,x,N,"\u2021","\\textdaggerdbl");p(g,x,Gt,"\u23B1","\\rmoustache",!0);p(g,x,pr,"\u23B0","\\lmoustache",!0);p(g,x,Gt,"\u27EF","\\rgroup",!0);p(g,x,pr,"\u27EE","\\lgroup",!0);p(g,x,ue,"\u2213","\\mp",!0);p(g,x,ue,"\u2296","\\ominus",!0);p(g,x,ue,"\u228E","\\uplus",!0);p(g,x,ue,"\u2293","\\sqcap",!0);p(g,x,ue,"\u2217","\\ast");p(g,x,ue,"\u2294","\\sqcup",!0);p(g,x,ue,"\u25EF","\\bigcirc",!0);p(g,x,ue,"\u2219","\\bullet",!0);p(g,x,ue,"\u2021","\\ddagger");p(g,x,ue,"\u2240","\\wr",!0);p(g,x,ue,"\u2A3F","\\amalg");p(g,x,ue,"&","\\And");p(g,x,I,"\u27F5","\\longleftarrow",!0);p(g,x,I,"\u21D0","\\Leftarrow",!0);p(g,x,I,"\u27F8","\\Longleftarrow",!0);p(g,x,I,"\u27F6","\\longrightarrow",!0);p(g,x,I,"\u21D2","\\Rightarrow",!0);p(g,x,I,"\u27F9","\\Longrightarrow",!0);p(g,x,I,"\u2194","\\leftrightarrow",!0);p(g,x,I,"\u27F7","\\longleftrightarrow",!0);p(g,x,I,"\u21D4","\\Leftrightarrow",!0);p(g,x,I,"\u27FA","\\Longleftrightarrow",!0);p(g,x,I,"\u21A6","\\mapsto",!0);p(g,x,I,"\u27FC","\\longmapsto",!0);p(g,x,I,"\u2197","\\nearrow",!0);p(g,x,I,"\u21A9","\\hookleftarrow",!0);p(g,x,I,"\u21AA","\\hookrightarrow",!0);p(g,x,I,"\u2198","\\searrow",!0);p(g,x,I,"\u21BC","\\leftharpoonup",!0);p(g,x,I,"\u21C0","\\rightharpoonup",!0);p(g,x,I,"\u2199","\\swarrow",!0);p(g,x,I,"\u21BD","\\leftharpoondown",!0);p(g,x,I,"\u21C1","\\rightharpoondown",!0);p(g,x,I,"\u2196","\\nwarrow",!0);p(g,x,I,"\u21CC","\\rightleftharpoons",!0);p(g,_,I,"\u226E","\\nless",!0);p(g,_,I,"\uE010","\\@nleqslant");p(g,_,I,"\uE011","\\@nleqq");p(g,_,I,"\u2A87","\\lneq",!0);p(g,_,I,"\u2268","\\lneqq",!0);p(g,_,I,"\uE00C","\\@lvertneqq");p(g,_,I,"\u22E6","\\lnsim",!0);p(g,_,I,"\u2A89","\\lnapprox",!0);p(g,_,I,"\u2280","\\nprec",!0);p(g,_,I,"\u22E0","\\npreceq",!0);p(g,_,I,"\u22E8","\\precnsim",!0);p(g,_,I,"\u2AB9","\\precnapprox",!0);p(g,_,I,"\u2241","\\nsim",!0);p(g,_,I,"\uE006","\\@nshortmid");p(g,_,I,"\u2224","\\nmid",!0);p(g,_,I,"\u22AC","\\nvdash",!0);p(g,_,I,"\u22AD","\\nvDash",!0);p(g,_,I,"\u22EA","\\ntriangleleft");p(g,_,I,"\u22EC","\\ntrianglelefteq",!0);p(g,_,I,"\u228A","\\subsetneq",!0);p(g,_,I,"\uE01A","\\@varsubsetneq");p(g,_,I,"\u2ACB","\\subsetneqq",!0);p(g,_,I,"\uE017","\\@varsubsetneqq");p(g,_,I,"\u226F","\\ngtr",!0);p(g,_,I,"\uE00F","\\@ngeqslant");p(g,_,I,"\uE00E","\\@ngeqq");p(g,_,I,"\u2A88","\\gneq",!0);p(g,_,I,"\u2269","\\gneqq",!0);p(g,_,I,"\uE00D","\\@gvertneqq");p(g,_,I,"\u22E7","\\gnsim",!0);p(g,_,I,"\u2A8A","\\gnapprox",!0);p(g,_,I,"\u2281","\\nsucc",!0);p(g,_,I,"\u22E1","\\nsucceq",!0);p(g,_,I,"\u22E9","\\succnsim",!0);p(g,_,I,"\u2ABA","\\succnapprox",!0);p(g,_,I,"\u2246","\\ncong",!0);p(g,_,I,"\uE007","\\@nshortparallel");p(g,_,I,"\u2226","\\nparallel",!0);p(g,_,I,"\u22AF","\\nVDash",!0);p(g,_,I,"\u22EB","\\ntriangleright");p(g,_,I,"\u22ED","\\ntrianglerighteq",!0);p(g,_,I,"\uE018","\\@nsupseteqq");p(g,_,I,"\u228B","\\supsetneq",!0);p(g,_,I,"\uE01B","\\@varsupsetneq");p(g,_,I,"\u2ACC","\\supsetneqq",!0);p(g,_,I,"\uE019","\\@varsupsetneqq");p(g,_,I,"\u22AE","\\nVdash",!0);p(g,_,I,"\u2AB5","\\precneqq",!0);p(g,_,I,"\u2AB6","\\succneqq",!0);p(g,_,I,"\uE016","\\@nsubseteqq");p(g,_,ue,"\u22B4","\\unlhd");p(g,_,ue,"\u22B5","\\unrhd");p(g,_,I,"\u219A","\\nleftarrow",!0);p(g,_,I,"\u219B","\\nrightarrow",!0);p(g,_,I,"\u21CD","\\nLeftarrow",!0);p(g,_,I,"\u21CF","\\nRightarrow",!0);p(g,_,I,"\u21AE","\\nleftrightarrow",!0);p(g,_,I,"\u21CE","\\nLeftrightarrow",!0);p(g,_,I,"\u25B3","\\vartriangle");p(g,_,N,"\u210F","\\hslash");p(g,_,N,"\u25BD","\\triangledown");p(g,_,N,"\u25CA","\\lozenge");p(g,_,N,"\u24C8","\\circledS");p(g,_,N,"\xAE","\\circledR");p(K,_,N,"\xAE","\\circledR");p(g,_,N,"\u2221","\\measuredangle",!0);p(g,_,N,"\u2204","\\nexists");p(g,_,N,"\u2127","\\mho");p(g,_,N,"\u2132","\\Finv",!0);p(g,_,N,"\u2141","\\Game",!0);p(g,_,N,"\u2035","\\backprime");p(g,_,N,"\u25B2","\\blacktriangle");p(g,_,N,"\u25BC","\\blacktriangledown");p(g,_,N,"\u25A0","\\blacksquare");p(g,_,N,"\u29EB","\\blacklozenge");p(g,_,N,"\u2605","\\bigstar");p(g,_,N,"\u2222","\\sphericalangle",!0);p(g,_,N,"\u2201","\\complement",!0);p(g,_,N,"\xF0","\\eth",!0);p(K,x,N,"\xF0","\xF0");p(g,_,N,"\u2571","\\diagup");p(g,_,N,"\u2572","\\diagdown");p(g,_,N,"\u25A1","\\square");p(g,_,N,"\u25A1","\\Box");p(g,_,N,"\u25CA","\\Diamond");p(g,_,N,"\xA5","\\yen",!0);p(K,_,N,"\xA5","\\yen",!0);p(g,_,N,"\u2713","\\checkmark",!0);p(K,_,N,"\u2713","\\checkmark");p(g,_,N,"\u2136","\\beth",!0);p(g,_,N,"\u2138","\\daleth",!0);p(g,_,N,"\u2137","\\gimel",!0);p(g,_,N,"\u03DD","\\digamma",!0);p(g,_,N,"\u03F0","\\varkappa");p(g,_,pr,"\u250C","\\@ulcorner",!0);p(g,_,Gt,"\u2510","\\@urcorner",!0);p(g,_,pr,"\u2514","\\@llcorner",!0);p(g,_,Gt,"\u2518","\\@lrcorner",!0);p(g,_,I,"\u2266","\\leqq",!0);p(g,_,I,"\u2A7D","\\leqslant",!0);p(g,_,I,"\u2A95","\\eqslantless",!0);p(g,_,I,"\u2272","\\lesssim",!0);p(g,_,I,"\u2A85","\\lessapprox",!0);p(g,_,I,"\u224A","\\approxeq",!0);p(g,_,ue,"\u22D6","\\lessdot");p(g,_,I,"\u22D8","\\lll",!0);p(g,_,I,"\u2276","\\lessgtr",!0);p(g,_,I,"\u22DA","\\lesseqgtr",!0);p(g,_,I,"\u2A8B","\\lesseqqgtr",!0);p(g,_,I,"\u2251","\\doteqdot");p(g,_,I,"\u2253","\\risingdotseq",!0);p(g,_,I,"\u2252","\\fallingdotseq",!0);p(g,_,I,"\u223D","\\backsim",!0);p(g,_,I,"\u22CD","\\backsimeq",!0);p(g,_,I,"\u2AC5","\\subseteqq",!0);p(g,_,I,"\u22D0","\\Subset",!0);p(g,_,I,"\u228F","\\sqsubset",!0);p(g,_,I,"\u227C","\\preccurlyeq",!0);p(g,_,I,"\u22DE","\\curlyeqprec",!0);p(g,_,I,"\u227E","\\precsim",!0);p(g,_,I,"\u2AB7","\\precapprox",!0);p(g,_,I,"\u22B2","\\vartriangleleft");p(g,_,I,"\u22B4","\\trianglelefteq");p(g,_,I,"\u22A8","\\vDash",!0);p(g,_,I,"\u22AA","\\Vvdash",!0);p(g,_,I,"\u2323","\\smallsmile");p(g,_,I,"\u2322","\\smallfrown");p(g,_,I,"\u224F","\\bumpeq",!0);p(g,_,I,"\u224E","\\Bumpeq",!0);p(g,_,I,"\u2267","\\geqq",!0);p(g,_,I,"\u2A7E","\\geqslant",!0);p(g,_,I,"\u2A96","\\eqslantgtr",!0);p(g,_,I,"\u2273","\\gtrsim",!0);p(g,_,I,"\u2A86","\\gtrapprox",!0);p(g,_,ue,"\u22D7","\\gtrdot");p(g,_,I,"\u22D9","\\ggg",!0);p(g,_,I,"\u2277","\\gtrless",!0);p(g,_,I,"\u22DB","\\gtreqless",!0);p(g,_,I,"\u2A8C","\\gtreqqless",!0);p(g,_,I,"\u2256","\\eqcirc",!0);p(g,_,I,"\u2257","\\circeq",!0);p(g,_,I,"\u225C","\\triangleq",!0);p(g,_,I,"\u223C","\\thicksim");p(g,_,I,"\u2248","\\thickapprox");p(g,_,I,"\u2AC6","\\supseteqq",!0);p(g,_,I,"\u22D1","\\Supset",!0);p(g,_,I,"\u2290","\\sqsupset",!0);p(g,_,I,"\u227D","\\succcurlyeq",!0);p(g,_,I,"\u22DF","\\curlyeqsucc",!0);p(g,_,I,"\u227F","\\succsim",!0);p(g,_,I,"\u2AB8","\\succapprox",!0);p(g,_,I,"\u22B3","\\vartriangleright");p(g,_,I,"\u22B5","\\trianglerighteq");p(g,_,I,"\u22A9","\\Vdash",!0);p(g,_,I,"\u2223","\\shortmid");p(g,_,I,"\u2225","\\shortparallel");p(g,_,I,"\u226C","\\between",!0);p(g,_,I,"\u22D4","\\pitchfork",!0);p(g,_,I,"\u221D","\\varpropto");p(g,_,I,"\u25C0","\\blacktriangleleft");p(g,_,I,"\u2234","\\therefore",!0);p(g,_,I,"\u220D","\\backepsilon");p(g,_,I,"\u25B6","\\blacktriangleright");p(g,_,I,"\u2235","\\because",!0);p(g,_,I,"\u22D8","\\llless");p(g,_,I,"\u22D9","\\gggtr");p(g,_,ue,"\u22B2","\\lhd");p(g,_,ue,"\u22B3","\\rhd");p(g,_,I,"\u2242","\\eqsim",!0);p(g,x,I,"\u22C8","\\Join");p(g,_,I,"\u2251","\\Doteq",!0);p(g,_,ue,"\u2214","\\dotplus",!0);p(g,_,ue,"\u2216","\\smallsetminus");p(g,_,ue,"\u22D2","\\Cap",!0);p(g,_,ue,"\u22D3","\\Cup",!0);p(g,_,ue,"\u2A5E","\\doublebarwedge",!0);p(g,_,ue,"\u229F","\\boxminus",!0);p(g,_,ue,"\u229E","\\boxplus",!0);p(g,_,ue,"\u22C7","\\divideontimes",!0);p(g,_,ue,"\u22C9","\\ltimes",!0);p(g,_,ue,"\u22CA","\\rtimes",!0);p(g,_,ue,"\u22CB","\\leftthreetimes",!0);p(g,_,ue,"\u22CC","\\rightthreetimes",!0);p(g,_,ue,"\u22CF","\\curlywedge",!0);p(g,_,ue,"\u22CE","\\curlyvee",!0);p(g,_,ue,"\u229D","\\circleddash",!0);p(g,_,ue,"\u229B","\\circledast",!0);p(g,_,ue,"\u22C5","\\centerdot");p(g,_,ue,"\u22BA","\\intercal",!0);p(g,_,ue,"\u22D2","\\doublecap");p(g,_,ue,"\u22D3","\\doublecup");p(g,_,ue,"\u22A0","\\boxtimes",!0);p(g,_,I,"\u21E2","\\dashrightarrow",!0);p(g,_,I,"\u21E0","\\dashleftarrow",!0);p(g,_,I,"\u21C7","\\leftleftarrows",!0);p(g,_,I,"\u21C6","\\leftrightarrows",!0);p(g,_,I,"\u21DA","\\Lleftarrow",!0);p(g,_,I,"\u219E","\\twoheadleftarrow",!0);p(g,_,I,"\u21A2","\\leftarrowtail",!0);p(g,_,I,"\u21AB","\\looparrowleft",!0);p(g,_,I,"\u21CB","\\leftrightharpoons",!0);p(g,_,I,"\u21B6","\\curvearrowleft",!0);p(g,_,I,"\u21BA","\\circlearrowleft",!0);p(g,_,I,"\u21B0","\\Lsh",!0);p(g,_,I,"\u21C8","\\upuparrows",!0);p(g,_,I,"\u21BF","\\upharpoonleft",!0);p(g,_,I,"\u21C3","\\downharpoonleft",!0);p(g,x,I,"\u22B6","\\origof",!0);p(g,x,I,"\u22B7","\\imageof",!0);p(g,_,I,"\u22B8","\\multimap",!0);p(g,_,I,"\u21AD","\\leftrightsquigarrow",!0);p(g,_,I,"\u21C9","\\rightrightarrows",!0);p(g,_,I,"\u21C4","\\rightleftarrows",!0);p(g,_,I,"\u21A0","\\twoheadrightarrow",!0);p(g,_,I,"\u21A3","\\rightarrowtail",!0);p(g,_,I,"\u21AC","\\looparrowright",!0);p(g,_,I,"\u21B7","\\curvearrowright",!0);p(g,_,I,"\u21BB","\\circlearrowright",!0);p(g,_,I,"\u21B1","\\Rsh",!0);p(g,_,I,"\u21CA","\\downdownarrows",!0);p(g,_,I,"\u21BE","\\upharpoonright",!0);p(g,_,I,"\u21C2","\\downharpoonright",!0);p(g,_,I,"\u21DD","\\rightsquigarrow",!0);p(g,_,I,"\u21DD","\\leadsto");p(g,_,I,"\u21DB","\\Rrightarrow",!0);p(g,_,I,"\u21BE","\\restriction");p(g,x,N,"\u2018","`");p(g,x,N,"$","\\$");p(K,x,N,"$","\\$");p(K,x,N,"$","\\textdollar");p(g,x,N,"%","\\%");p(K,x,N,"%","\\%");p(g,x,N,"_","\\_");p(K,x,N,"_","\\_");p(K,x,N,"_","\\textunderscore");p(g,x,N,"\u2220","\\angle",!0);p(g,x,N,"\u221E","\\infty",!0);p(g,x,N,"\u2032","\\prime");p(g,x,N,"\u25B3","\\triangle");p(g,x,N,"\u0393","\\Gamma",!0);p(g,x,N,"\u0394","\\Delta",!0);p(g,x,N,"\u0398","\\Theta",!0);p(g,x,N,"\u039B","\\Lambda",!0);p(g,x,N,"\u039E","\\Xi",!0);p(g,x,N,"\u03A0","\\Pi",!0);p(g,x,N,"\u03A3","\\Sigma",!0);p(g,x,N,"\u03A5","\\Upsilon",!0);p(g,x,N,"\u03A6","\\Phi",!0);p(g,x,N,"\u03A8","\\Psi",!0);p(g,x,N,"\u03A9","\\Omega",!0);p(g,x,N,"A","\u0391");p(g,x,N,"B","\u0392");p(g,x,N,"E","\u0395");p(g,x,N,"Z","\u0396");p(g,x,N,"H","\u0397");p(g,x,N,"I","\u0399");p(g,x,N,"K","\u039A");p(g,x,N,"M","\u039C");p(g,x,N,"N","\u039D");p(g,x,N,"O","\u039F");p(g,x,N,"P","\u03A1");p(g,x,N,"T","\u03A4");p(g,x,N,"X","\u03A7");p(g,x,N,"\xAC","\\neg",!0);p(g,x,N,"\xAC","\\lnot");p(g,x,N,"\u22A4","\\top");p(g,x,N,"\u22A5","\\bot");p(g,x,N,"\u2205","\\emptyset");p(g,_,N,"\u2205","\\varnothing");p(g,x,ge,"\u03B1","\\alpha",!0);p(g,x,ge,"\u03B2","\\beta",!0);p(g,x,ge,"\u03B3","\\gamma",!0);p(g,x,ge,"\u03B4","\\delta",!0);p(g,x,ge,"\u03F5","\\epsilon",!0);p(g,x,ge,"\u03B6","\\zeta",!0);p(g,x,ge,"\u03B7","\\eta",!0);p(g,x,ge,"\u03B8","\\theta",!0);p(g,x,ge,"\u03B9","\\iota",!0);p(g,x,ge,"\u03BA","\\kappa",!0);p(g,x,ge,"\u03BB","\\lambda",!0);p(g,x,ge,"\u03BC","\\mu",!0);p(g,x,ge,"\u03BD","\\nu",!0);p(g,x,ge,"\u03BE","\\xi",!0);p(g,x,ge,"\u03BF","\\omicron",!0);p(g,x,ge,"\u03C0","\\pi",!0);p(g,x,ge,"\u03C1","\\rho",!0);p(g,x,ge,"\u03C3","\\sigma",!0);p(g,x,ge,"\u03C4","\\tau",!0);p(g,x,ge,"\u03C5","\\upsilon",!0);p(g,x,ge,"\u03D5","\\phi",!0);p(g,x,ge,"\u03C7","\\chi",!0);p(g,x,ge,"\u03C8","\\psi",!0);p(g,x,ge,"\u03C9","\\omega",!0);p(g,x,ge,"\u03B5","\\varepsilon",!0);p(g,x,ge,"\u03D1","\\vartheta",!0);p(g,x,ge,"\u03D6","\\varpi",!0);p(g,x,ge,"\u03F1","\\varrho",!0);p(g,x,ge,"\u03C2","\\varsigma",!0);p(g,x,ge,"\u03C6","\\varphi",!0);p(g,x,ue,"\u2217","*",!0);p(g,x,ue,"+","+");p(g,x,ue,"\u2212","-",!0);p(g,x,ue,"\u22C5","\\cdot",!0);p(g,x,ue,"\u2218","\\circ",!0);p(g,x,ue,"\xF7","\\div",!0);p(g,x,ue,"\xB1","\\pm",!0);p(g,x,ue,"\xD7","\\times",!0);p(g,x,ue,"\u2229","\\cap",!0);p(g,x,ue,"\u222A","\\cup",!0);p(g,x,ue,"\u2216","\\setminus",!0);p(g,x,ue,"\u2227","\\land");p(g,x,ue,"\u2228","\\lor");p(g,x,ue,"\u2227","\\wedge",!0);p(g,x,ue,"\u2228","\\vee",!0);p(g,x,N,"\u221A","\\surd");p(g,x,pr,"\u27E8","\\langle",!0);p(g,x,pr,"\u2223","\\lvert");p(g,x,pr,"\u2225","\\lVert");p(g,x,Gt,"?","?");p(g,x,Gt,"!","!");p(g,x,Gt,"\u27E9","\\rangle",!0);p(g,x,Gt,"\u2223","\\rvert");p(g,x,Gt,"\u2225","\\rVert");p(g,x,I,"=","=");p(g,x,I,":",":");p(g,x,I,"\u2248","\\approx",!0);p(g,x,I,"\u2245","\\cong",!0);p(g,x,I,"\u2265","\\ge");p(g,x,I,"\u2265","\\geq",!0);p(g,x,I,"\u2190","\\gets");p(g,x,I,">","\\gt",!0);p(g,x,I,"\u2208","\\in",!0);p(g,x,I,"\uE020","\\@not");p(g,x,I,"\u2282","\\subset",!0);p(g,x,I,"\u2283","\\supset",!0);p(g,x,I,"\u2286","\\subseteq",!0);p(g,x,I,"\u2287","\\supseteq",!0);p(g,_,I,"\u2288","\\nsubseteq",!0);p(g,_,I,"\u2289","\\nsupseteq",!0);p(g,x,I,"\u22A8","\\models");p(g,x,I,"\u2190","\\leftarrow",!0);p(g,x,I,"\u2264","\\le");p(g,x,I,"\u2264","\\leq",!0);p(g,x,I,"<","\\lt",!0);p(g,x,I,"\u2192","\\rightarrow",!0);p(g,x,I,"\u2192","\\to");p(g,_,I,"\u2271","\\ngeq",!0);p(g,_,I,"\u2270","\\nleq",!0);p(g,x,bn,"\xA0","\\ ");p(g,x,bn,"\xA0","\\space");p(g,x,bn,"\xA0","\\nobreakspace");p(K,x,bn,"\xA0","\\ ");p(K,x,bn,"\xA0"," ");p(K,x,bn,"\xA0","\\space");p(K,x,bn,"\xA0","\\nobreakspace");p(g,x,bn,"","\\nobreak");p(g,x,bn,"","\\allowbreak");p(g,x,Cl,",",",");p(g,x,Cl,";",";");p(g,_,ue,"\u22BC","\\barwedge",!0);p(g,_,ue,"\u22BB","\\veebar",!0);p(g,x,ue,"\u2299","\\odot",!0);p(g,x,ue,"\u2295","\\oplus",!0);p(g,x,ue,"\u2297","\\otimes",!0);p(g,x,N,"\u2202","\\partial",!0);p(g,x,ue,"\u2298","\\oslash",!0);p(g,_,ue,"\u229A","\\circledcirc",!0);p(g,_,ue,"\u22A1","\\boxdot",!0);p(g,x,ue,"\u25B3","\\bigtriangleup");p(g,x,ue,"\u25BD","\\bigtriangledown");p(g,x,ue,"\u2020","\\dagger");p(g,x,ue,"\u22C4","\\diamond");p(g,x,ue,"\u22C6","\\star");p(g,x,ue,"\u25C3","\\triangleleft");p(g,x,ue,"\u25B9","\\triangleright");p(g,x,pr,"{","\\{");p(K,x,N,"{","\\{");p(K,x,N,"{","\\textbraceleft");p(g,x,Gt,"}","\\}");p(K,x,N,"}","\\}");p(K,x,N,"}","\\textbraceright");p(g,x,pr,"{","\\lbrace");p(g,x,Gt,"}","\\rbrace");p(g,x,pr,"[","\\lbrack",!0);p(K,x,N,"[","\\lbrack",!0);p(g,x,Gt,"]","\\rbrack",!0);p(K,x,N,"]","\\rbrack",!0);p(g,x,pr,"(","\\lparen",!0);p(g,x,Gt,")","\\rparen",!0);p(K,x,N,"<","\\textless",!0);p(K,x,N,">","\\textgreater",!0);p(g,x,pr,"\u230A","\\lfloor",!0);p(g,x,Gt,"\u230B","\\rfloor",!0);p(g,x,pr,"\u2308","\\lceil",!0);p(g,x,Gt,"\u2309","\\rceil",!0);p(g,x,N,"\\","\\backslash");p(g,x,N,"\u2223","|");p(g,x,N,"\u2223","\\vert");p(K,x,N,"|","\\textbar",!0);p(g,x,N,"\u2225","\\|");p(g,x,N,"\u2225","\\Vert");p(K,x,N,"\u2225","\\textbardbl");p(K,x,N,"~","\\textasciitilde");p(K,x,N,"\\","\\textbackslash");p(K,x,N,"^","\\textasciicircum");p(g,x,I,"\u2191","\\uparrow",!0);p(g,x,I,"\u21D1","\\Uparrow",!0);p(g,x,I,"\u2193","\\downarrow",!0);p(g,x,I,"\u21D3","\\Downarrow",!0);p(g,x,I,"\u2195","\\updownarrow",!0);p(g,x,I,"\u21D5","\\Updownarrow",!0);p(g,x,vt,"\u2210","\\coprod");p(g,x,vt,"\u22C1","\\bigvee");p(g,x,vt,"\u22C0","\\bigwedge");p(g,x,vt,"\u2A04","\\biguplus");p(g,x,vt,"\u22C2","\\bigcap");p(g,x,vt,"\u22C3","\\bigcup");p(g,x,vt,"\u222B","\\int");p(g,x,vt,"\u222B","\\intop");p(g,x,vt,"\u222C","\\iint");p(g,x,vt,"\u222D","\\iiint");p(g,x,vt,"\u220F","\\prod");p(g,x,vt,"\u2211","\\sum");p(g,x,vt,"\u2A02","\\bigotimes");p(g,x,vt,"\u2A01","\\bigoplus");p(g,x,vt,"\u2A00","\\bigodot");p(g,x,vt,"\u222E","\\oint");p(g,x,vt,"\u222F","\\oiint");p(g,x,vt,"\u2230","\\oiiint");p(g,x,vt,"\u2A06","\\bigsqcup");p(g,x,vt,"\u222B","\\smallint");p(K,x,va,"\u2026","\\textellipsis");p(g,x,va,"\u2026","\\mathellipsis");p(K,x,va,"\u2026","\\ldots",!0);p(g,x,va,"\u2026","\\ldots",!0);p(g,x,va,"\u22EF","\\@cdots",!0);p(g,x,va,"\u22F1","\\ddots",!0);p(g,x,N,"\u22EE","\\varvdots");p(K,x,N,"\u22EE","\\varvdots");p(g,x,et,"\u02CA","\\acute");p(g,x,et,"\u02CB","\\grave");p(g,x,et,"\xA8","\\ddot");p(g,x,et,"~","\\tilde");p(g,x,et,"\u02C9","\\bar");p(g,x,et,"\u02D8","\\breve");p(g,x,et,"\u02C7","\\check");p(g,x,et,"^","\\hat");p(g,x,et,"\u20D7","\\vec");p(g,x,et,"\u02D9","\\dot");p(g,x,et,"\u02DA","\\mathring");p(g,x,ge,"\uE131","\\@imath");p(g,x,ge,"\uE237","\\@jmath");p(g,x,N,"\u0131","\u0131");p(g,x,N,"\u0237","\u0237");p(K,x,N,"\u0131","\\i",!0);p(K,x,N,"\u0237","\\j",!0);p(K,x,N,"\xDF","\\ss",!0);p(K,x,N,"\xE6","\\ae",!0);p(K,x,N,"\u0153","\\oe",!0);p(K,x,N,"\xF8","\\o",!0);p(K,x,N,"\xC6","\\AE",!0);p(K,x,N,"\u0152","\\OE",!0);p(K,x,N,"\xD8","\\O",!0);p(K,x,et,"\u02CA","\\'");p(K,x,et,"\u02CB","\\`");p(K,x,et,"\u02C6","\\^");p(K,x,et,"\u02DC","\\~");p(K,x,et,"\u02C9","\\=");p(K,x,et,"\u02D8","\\u");p(K,x,et,"\u02D9","\\.");p(K,x,et,"\xB8","\\c");p(K,x,et,"\u02DA","\\r");p(K,x,et,"\u02C7","\\v");p(K,x,et,"\xA8",'\\"');p(K,x,et,"\u02DD","\\H");p(K,x,et,"\u25EF","\\textcircled");var AS={"--":!0,"---":!0,"``":!0,"''":!0};p(K,x,N,"\u2013","--",!0);p(K,x,N,"\u2013","\\textendash");p(K,x,N,"\u2014","---",!0);p(K,x,N,"\u2014","\\textemdash");p(K,x,N,"\u2018","`",!0);p(K,x,N,"\u2018","\\textquoteleft");p(K,x,N,"\u2019","'",!0);p(K,x,N,"\u2019","\\textquoteright");p(K,x,N,"\u201C","``",!0);p(K,x,N,"\u201C","\\textquotedblleft");p(K,x,N,"\u201D","''",!0);p(K,x,N,"\u201D","\\textquotedblright");p(g,x,N,"\xB0","\\degree",!0);p(K,x,N,"\xB0","\\degree");p(K,x,N,"\xB0","\\textdegree",!0);p(g,x,N,"\xA3","\\pounds");p(g,x,N,"\xA3","\\mathsterling",!0);p(K,x,N,"\xA3","\\pounds");p(K,x,N,"\xA3","\\textsterling",!0);p(g,_,N,"\u2720","\\maltese");p(K,_,N,"\u2720","\\maltese");var F9='0123456789/@."';for(Vf=0;Vf<F9.length;Vf++)Pb=F9.charAt(Vf),p(g,x,N,Pb,Pb);var Pb,Vf,B9='0123456789!@*()-=+";:?/.,';for(Hf=0;Hf<B9.length;Hf++)Lb=B9.charAt(Hf),p(K,x,N,Lb,Lb);var Lb,Hf,nm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(Kf=0;Kf<nm.length;Kf++)bl=nm.charAt(Kf),p(g,x,ge,bl,bl),p(K,x,N,bl,bl);var bl,Kf;p(g,_,N,"C","\u2102");p(K,_,N,"C","\u2102");p(g,_,N,"H","\u210D");p(K,_,N,"H","\u210D");p(g,_,N,"N","\u2115");p(K,_,N,"N","\u2115");p(g,_,N,"P","\u2119");p(K,_,N,"P","\u2119");p(g,_,N,"Q","\u211A");p(K,_,N,"Q","\u211A");p(g,_,N,"R","\u211D");p(K,_,N,"R","\u211D");p(g,_,N,"Z","\u2124");p(K,_,N,"Z","\u2124");p(g,x,ge,"h","\u210E");p(K,x,ge,"h","\u210E");var be;for(Lt=0;Lt<nm.length;Lt++)nt=nm.charAt(Lt),be=String.fromCharCode(55349,56320+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56372+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56424+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56580+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56684+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56736+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56788+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56840+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56944+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),Lt<26&&(be=String.fromCharCode(55349,56632+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be),be=String.fromCharCode(55349,56476+Lt),p(g,x,ge,nt,be),p(K,x,N,nt,be));var nt,Lt;be="\u{1D55C}";p(g,x,ge,"k",be);p(K,x,N,"k",be);for(ti=0;ti<10;ti++)hn=ti.toString(),be=String.fromCharCode(55349,57294+ti),p(g,x,ge,hn,be),p(K,x,N,hn,be),be=String.fromCharCode(55349,57314+ti),p(g,x,ge,hn,be),p(K,x,N,hn,be),be=String.fromCharCode(55349,57324+ti),p(g,x,ge,hn,be),p(K,x,N,hn,be),be=String.fromCharCode(55349,57334+ti),p(g,x,ge,hn,be),p(K,x,N,hn,be);var hn,ti,Wb="\xD0\xDE\xFE";for(Jf=0;Jf<Wb.length;Jf++)xl=Wb.charAt(Jf),p(g,x,ge,xl,xl),p(K,x,N,xl,xl);var xl,Jf,Yb={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},Z9={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},V9={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},mR={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},Gi={mathClass:"",textClass:"",font:""},H9={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},K9={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},J9={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},Xb={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Qb={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},G9={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},e6={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},W9=[Yb,Yb,Z9,Z9,V9,V9,mR,Gi,Gi,Gi,H9,H9,K9,K9,J9,J9,Xb,Xb,Qb,Qb,G9,G9,Gi,Gi,e6,e6],dR=[Yb,Gi,Xb,Qb,e6],pR=e=>{var t=e.charCodeAt(0),r=e.charCodeAt(1),i=(t-55296)*1024+(r-56320)+65536;if(119808<=i&&i<120484){var n=Math.floor((i-119808)/26);return W9[n]}else if(120782<=i&&i<=120831){var o=Math.floor((i-120782)/10);return dR[o]}else{if(i===120485||i===120486)return W9[0];if(120486<i&&i<120782)return Gi;throw new X("Unsupported character: "+e)}};function lr(e){var t=e.strict,r=e.errorCode,i=e.errorMsg,n=e.token,o=e.report,a=t;if(typeof t=="function")if(o)a=t(r,i,n);else try{a=t(r,i,n)}catch{a="error"}switch(a){case!0:case"error":if(o)throw new X("LaTeX-incompatible input and strict mode is set to 'error': "+(i+" ["+r+"]"),n);return!0;case!1:case"ignore":if(!o)return!1;break;default:if(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(i+" ["+r+"]")),!o)return!1;break}}var lm=function(t,r,i){if(Qe[i][t]){var n=Qe[i][t].replace;n&&(t=n)}return{value:t,metrics:h6(t,r,i)}},Ht=function(t,r,i,n,o){var a=lm(t,r,i),s=a.metrics;t=a.value;var l;if(s){var u=s.italic;(i==="text"||n&&n.font==="mathit")&&(u=0),l=new Jt(t,s.height,s.depth,u,s.skew,s.width,o)}else lr({strict:n.strict,errorCode:"symbolNotInFont",errorMsg:"No character metrics for '"+t+"' in style '"+r+"' and mode '"+i+"'",report:!0}),l=new Jt(t,0,0,0,0,0,o);l.maxFontSize=n.sizeMultiplier,n.style.isTight()&&l.classes.push("mtight");var c=n.getColor();return c&&(l.style.color=c),l},g6=function(t,r,i,n){return n===void 0&&(n=[]),i.font==="boldsymbol"&&lm(t,"Main-Bold",r).metrics?Ht(t,"Main-Bold",r,i,n.concat(["mathbf"])):t==="\\"||Qe[r][t].font==="main"?Ht(t,"Main-Regular",r,i,n):Ht(t,"AMS-Regular",r,i,n.concat(["amsrm"]))},hR=function(t,r,i){return i!=="textord"&&lm(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},um=function(t,r){var i=t.type==="mathord"?"mathord":"textord",n=t.mode,o=t.text,a=["mord"],s=r.font,l=r.fontFamily,u=r.fontWeight,c=r.fontShape,f=n==="math"||n==="text"&&!!s,d=f?s:l,m="",h="";if(o.charCodeAt(0)===55349){var v=pR(o);m=v.font,h=v[n+"Class"]}if(m)return Ht(o,m,n,r,a.concat(h));if(d){var y,b;if(d==="boldsymbol"){var w=hR(o,n,i);y=w.fontName,b=[w.fontClass]}else f?(y=t6[s].fontName,b=[s]):(y=Gf(l,u,c),b=[l,u,c]);if(lm(o,y,n).metrics)return Ht(o,y,n,r,a.concat(b));if(Object.prototype.hasOwnProperty.call(AS,o)&&y.slice(0,10)==="Typewriter"){for(var $=[],z=0;z<o.length;z++)$.push(Ht(o[z],y,n,r,a.concat(b)));return xn($)}}if(i==="mathord")return Ht(o,"Math-Italic",n,r,a.concat(["mathnormal"]));if(i==="textord"){var M=Qe[n][o]&&Qe[n][o].font;if(M==="ams"){var S=Gf("amsrm",u,c);return Ht(o,S,n,r,a.concat("amsrm",u,c))}else if(M==="main"||!M){var C=Gf("textrm",u,c);return Ht(o,C,n,r,a.concat(u,c))}else{var D=Gf(M,u,c);return Ht(o,D,n,r,a.concat(D,u,c))}}else throw new Error("unexpected type: "+i+" in makeOrd")},gR=(e,t)=>{if(ii(e.classes)!==ii(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var i of Object.keys(e.style))if(e.style[i]!==t.style[i])return!1;for(var n of Object.keys(t.style))if(e.style[n]!==t.style[n])return!1;return!0},TS=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],i=e[t+1];r instanceof Jt&&i instanceof Jt&&gR(r,i)&&(r.text+=i.text,r.height=Math.max(r.height,i.height),r.depth=Math.max(r.depth,i.depth),r.italic=i.italic,e.splice(t+1,1),t--)}return e},v6=function(t){for(var r=0,i=0,n=0,o=0;o<t.children.length;o++){var a=t.children[o];a.height>r&&(r=a.height),a.depth>i&&(i=a.depth),a.maxFontSize>n&&(n=a.maxFontSize)}t.height=r,t.depth=i,t.maxFontSize=n},G=function(t,r,i,n){var o=new oi(t,r,i,n);return v6(o),o},ai=(e,t,r,i)=>new oi(e,t,r,i),ha=function(t,r,i){var n=G([t],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=ie(n.height),n.maxFontSize=1,n},vR=function(t,r,i,n){var o=new pa(t,r,i,n);return v6(o),o},xn=function(t){var r=new ni(t);return v6(r),r},ga=function(t,r){return t instanceof ni?G([],[t],r):t},yR=function(t){if(t.positionType==="individualShift"){for(var r=t.children,i=[r[0]],n=-r[0].shift-r[0].elem.depth,o=n,a=1;a<r.length;a++){var s=-r[a].shift-o-r[a].elem.depth,l=s-(r[a-1].elem.height+r[a-1].elem.depth);o=o+s,i.push({type:"kern",size:l}),i.push(r[a])}return{children:i,depth:n}}var u;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var d=t.children[f];c-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}u=c}else if(t.positionType==="bottom")u=-t.positionData;else{var m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")u=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")u=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:u}},Oe=function(t,r){for(var i=yR(t),n=i.children,o=i.depth,a=0,s=0;s<n.length;s++){var l=n[s];if(l.type==="elem"){var u=l.elem;a=Math.max(a,u.maxFontSize,u.height)}}a+=2;var c=G(["pstrut"],[]);c.style.height=ie(a);for(var f=[],d=o,m=o,h=o,v=0;v<n.length;v++){var y=n[v];if(y.type==="kern")h+=y.size;else{var b=y.elem,w=y.wrapperClasses||[],$=y.wrapperStyle||{},z=G(w,[c,b],void 0,$);z.style.top=ie(-a-h-b.depth),y.marginLeft&&(z.style.marginLeft=y.marginLeft),y.marginRight&&(z.style.marginRight=y.marginRight),f.push(z),h+=b.height+b.depth}d=Math.min(d,h),m=Math.max(m,h)}var M=G(["vlist"],f);M.style.height=ie(m);var S;if(d<0){var C=G([],[]),D=G(["vlist"],[C]);D.style.height=ie(-d);var j=G(["vlist-s"],[new Jt("\u200B")]);S=[G(["vlist-r"],[M,j]),G(["vlist-r"],[D])]}else S=[G(["vlist-r"],[M])];var E=G(["vlist-t"],S);return S.length===2&&E.classes.push("vlist-t2"),E.height=m,E.depth=-d,E},CS=(e,t)=>{var r=G(["mspace"],[],t),i=ot(e,t);return r.style.marginRight=ie(i),r},Gf=(e,t,r)=>{var i,n;switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return t==="textbf"&&r==="textit"?n="BoldItalic":t==="textbf"?n="Bold":r==="textit"?n="Italic":n="Regular",i+"-"+n},t6={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},DS={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},NS=function(t,r){var i=DS[t],n=i[0],o=i[1],a=i[2],s=new Gr(n),l=new Or([s],{width:ie(o),height:ie(a),style:"width:"+ie(o),viewBox:"0 0 "+1e3*o+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),u=ai(["katex-overlay"],[l],r);return u.height=a,u.style.height=ie(a),u.style.width=ie(o),u},it={number:3,unit:"mu"},Ji={number:4,unit:"mu"},gn={number:5,unit:"mu"},bR={mord:{mop:it,mbin:Ji,mrel:gn,minner:it},mop:{mord:it,mop:it,mrel:gn,minner:it},mbin:{mord:Ji,mop:Ji,mopen:Ji,minner:Ji},mrel:{mord:gn,mop:gn,mopen:gn,minner:gn},mopen:{},mclose:{mop:it,mbin:Ji,mrel:gn,minner:it},mpunct:{mord:it,mop:it,mrel:gn,mopen:it,mclose:it,mpunct:it,minner:it},minner:{mord:it,mop:it,mbin:Ji,mrel:gn,mopen:it,mpunct:it,minner:it}},xR={mord:{mop:it},mop:{mord:it,mop:it},mbin:{},mrel:{},mopen:{},mclose:{mop:it},mpunct:{},minner:{mop:it}},ES={},Il={},zl={};function le(e){for(var t=e.type,r=e.names,i=e.htmlBuilder,n=e.mathmlBuilder,o=0;o<r.length;++o)ES[r[o]]=e;t&&(i&&(Il[t]=i),n&&(zl[t]=n))}function Wi(e){var t=e.type,r=e.htmlBuilder,i=e.mathmlBuilder;r&&(Il[t]=r),i&&(zl[t]=i)}var Al=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},gt=function(t){return t.type==="ordgroup"?t.body:[t]},wR=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),kR=new Set(["rightmost","mrel","mclose","mpunct"]),$R={display:_e.DISPLAY,text:_e.TEXT,script:_e.SCRIPT,scriptscript:_e.SCRIPTSCRIPT},SR={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},$t=function(t,r,i,n){n===void 0&&(n=[null,null]);for(var o=[],a=0;a<t.length;a++){var s=Ee(t[a],r);if(s instanceof ni){var l=s.children;o.push(...l)}else o.push(s)}if(TS(o),!i)return o;var u=r;if(t.length===1){var c=t[0];c.type==="sizing"?u=r.havingSize(c.size):c.type==="styling"&&(u=r.havingStyle($R[c.style]))}var f=G([n[0]||"leftmost"],[],r),d=G([n[1]||"rightmost"],[],r),m=i==="root";return r6(o,(h,v)=>{var y=v.classes[0],b=h.classes[0];y==="mbin"&&kR.has(b)?v.classes[0]="mord":b==="mbin"&&wR.has(y)&&(h.classes[0]="mord")},{node:f},d,m),r6(o,(h,v)=>{var y,b,w=i6(v),$=i6(h),z=w&&$?h.hasClass("mtight")?(y=xR[w])==null?void 0:y[$]:(b=bR[w])==null?void 0:b[$]:null;if(z)return CS(z,u)},{node:f},d,m),o},r6=function(t,r,i,n,o){n&&t.push(n);for(var a=0;a<t.length;a++){var s=t[a],l=OS(s);if(l){r6(l.children,r,i,null,o);continue}var u=!s.hasClass("mspace");if(u){var c=r(s,i.node);c&&(i.insertAfter?i.insertAfter(c):(t.unshift(c),a++))}u?i.node=s:o&&s.hasClass("katex-newline")&&(i.node=G(["leftmost"])),i.insertAfter=(f=>d=>{t.splice(f+1,0,d),a++})(a)}n&&t.pop()},OS=function(t){return t instanceof ni||t instanceof pa||t instanceof oi&&t.hasClass("enclosing")?t:null},n6=function(t,r){var i=OS(t);if(i){var n=i.children;if(n.length){if(r==="right")return n6(n[n.length-1],"right");if(r==="left")return n6(n[0],"left")}}return t},i6=function(t,r){if(!t)return null;r&&(t=n6(t,r));var i=t.classes[0];return SR[i]||null},Tl=function(t,r){var i=["nulldelimiter"].concat(t.baseSizingClasses());return G(r.concat(i))},Ee=function(t,r,i){if(!t)return G();if(Il[t.type]){var n=Il[t.type](t,r);if(i&&r.size!==i.size){n=G(r.sizingClasses(i),[n],r);var o=r.sizeMultiplier/i.sizeMultiplier;n.height*=o,n.depth*=o}return n}else throw new X("Got group of unknown type: '"+t.type+"'")};function Wf(e,t){var r=G(["katex-base"],e,t),i=G(["katex-strut"]);return i.style.height=ie(r.height+r.depth),r.depth&&(i.style.verticalAlign=ie(-r.depth)),r.children.unshift(i),r}function o6(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var i=$t(e,t,"root"),n;i.length===2&&i[1].hasClass("katex-tag")&&(n=i.pop());for(var o=[],a=[],s=0;s<i.length;s++)if(a.push(i[s]),i[s].hasClass("mbin")||i[s].hasClass("mrel")||i[s].hasClass("allowbreak")){for(var l=!1;s<i.length-1&&i[s+1].hasClass("mspace")&&!i[s+1].hasClass("katex-newline");)s++,a.push(i[s]),i[s].hasClass("nobreak")&&(l=!0);l||(o.push(Wf(a,t)),a=[])}else i[s].hasClass("katex-newline")&&(a.pop(),a.length>0&&(o.push(Wf(a,t)),a=[]),o.push(i[s]));a.length>0&&o.push(Wf(a,t));var u;r?(u=Wf($t(r,t,!0),t),u.classes=["katex-tag"],o.push(u)):n&&o.push(n);var c=G(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),u){var f=u.children[0];f.style.height=ie(c.height+c.depth),c.depth&&(f.style.verticalAlign=ie(-c.depth))}return c}function PS(e){return new ni(e)}var Q=class{constructor(t,r,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=i||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r of Object.entries(this.attributes)){var i=r[0],n=r[1];t.setAttribute(i,n)}this.classes.length>0&&(t.className=ii(this.classes));for(var o=0;o<this.children.length;o++)if(this.children[o]instanceof ct&&this.children[o+1]instanceof ct){for(var a=this.children[o].toText()+this.children[++o].toText();this.children[o+1]instanceof ct;)a+=this.children[++o].toText();t.appendChild(new ct(a).toNode())}else t.appendChild(this.children[o].toNode());return t}toMarkup(){var t="<"+this.type;for(var r of Object.entries(this.attributes)){var i=r[0],n=r[1];t+=" "+i+'="',t+=Mt(n),t+='"'}this.classes.length>0&&(t+=' class ="'+Mt(ii(this.classes))+'"'),t+=">";for(var o=0;o<this.children.length;o++)t+=this.children[o].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}},ct=class{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Mt(this.toText())}toText(){return this.text}},im=class{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="\u200A":t>=.1666&&t<=.1667?this.character="\u2009":t>=.2222&&t<=.2223?this.character="\u2005":t>=.2777&&t<=.2778?this.character="\u2005\u200A":t>=-.05556&&t<=-.05555?this.character="\u200A\u2063":t>=-.1667&&t<=-.1666?this.character="\u2009\u2063":t>=-.2223&&t<=-.2222?this.character="\u205F\u2063":t>=-.2778&&t<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",ie(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ie(this.width)+'"/>'}toText(){return this.character?this.character:" "}},_R=new Set(["\\imath","\\jmath"]),IR=new Set(["mrow","mtable"]),_r=function(t,r,i){var n,o;return Qe[r][t]&&Qe[r][t].replace&&t.charCodeAt(0)!==55349&&!(Object.prototype.hasOwnProperty.call(AS,t)&&((i==null||(n=i.fontFamily)==null?void 0:n.slice(4,6))==="tt"||(i==null||(o=i.font)==null?void 0:o.slice(4,6))==="tt"))&&(t=Qe[r][t].replace),new ct(t)},y6=function(t){return t.length===1?t[0]:new Q("mrow",t)},zR={mathit:"italic",boldsymbol:e=>e.type==="textord"?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},b6=(e,t)=>{if(e.mode==="text"){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold"}var r=t.font;if(!r||r==="mathnormal")return null;var i=e.mode,n=zR[r];if(n)return typeof n=="function"?n(e):n;var o=e.text;if(_R.has(o))return null;if(Qe[i][o]){var a=Qe[i][o].replace;a&&(o=a)}var s=t6[r].fontName;return h6(o,s,i)?t6[r].variant:null};function Mb(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ct&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof ct&&r.text===","}else return!1}var hr=function(t,r,i){if(t.length===1){var n=He(t[0],r);return i&&n instanceof Q&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o=[],a,s=0;s<t.length;s++){var l=He(t[s],r);if(l instanceof Q&&a instanceof Q){if(l.type==="mtext"&&a.type==="mtext"&&l.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...l.children);continue}else if(l.type==="mn"&&a.type==="mn"){a.children.push(...l.children);continue}else if(Mb(l)&&a.type==="mn"){a.children.push(...l.children);continue}else if(l.type==="mn"&&Mb(a))l.children=[...a.children,...l.children],o.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(a.type==="mn"||Mb(a))){var u=l.children[0];u instanceof Q&&u.type==="mn"&&(u.children=[...a.children,...u.children],o.pop())}else if(a.type==="mi"&&a.children.length===1){var c=a.children[0];if(c instanceof ct&&c.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof ct&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),a=l}return o},si=function(t,r,i){return y6(hr(t,r,i))},He=function(t,r){if(!t)return new Q("mrow");if(zl[t.type])return zl[t.type](t,r);throw new X("Got group of unknown type: '"+t.type+"'")};function Y9(e,t,r,i,n){var o=hr(e,r),a;o.length===1&&o[0]instanceof Q&&IR.has(o[0].type)?a=o[0]:a=new Q("mrow",o);var s=new Q("annotation",[new ct(t)]);s.setAttribute("encoding","application/x-tex");var l=new Q("semantics",[a,s]),u=new Q("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&u.setAttribute("display","block");var c=n?"katex":"katex-mathml";return G([c],[u])}var AR=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],X9=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Q9=function(t,r){return r.size<2?t:AR[t-1][r.size-1]},om=class e{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.strict=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=X9[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this.strict=t.strict,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness,strict:this.strict};return Object.assign(r,t),new e(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Q9(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:X9[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Q9(e.BASESIZE,t);return this.size===r&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["katex-sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==e.BASESIZE?["katex-sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=fR(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};om.BASESIZE=6;var LS=e=>new om({style:e.displayMode?_e.DISPLAY:_e.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness,strict:e.strict}),MS=function(t,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),t=G(i,[t])}return t},TR=function(t,r,i){var n=LS(i),o;if(i.output==="mathml")return Y9(t,r,n,i.displayMode,!0);if(i.output==="html"){var a=o6(t,n);o=G(["katex"],[a])}else{var s=Y9(t,r,n,i.displayMode,!1),l=o6(t,n);o=G(["katex"],[s,l])}return MS(o,i)},CR=function(t,r){var i=LS(r),n=o6(t,i),o=G(["katex"],[n]);return MS(o,r)},DR={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",underbracket:"\u23B5",overbracket:"\u23B4",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},cm=function(t){var r=new Q("mo",[new ct(DR[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},NR={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},ER=new Set(["widehat","widecheck","widetilde","utilde"]),fm=function(t,r){function i(){var l=4e5,u=t.label.slice(1);if(ER.has(u)&&"base"in t){var c=t.base.type==="ordgroup"?t.base.body.length:1,f,d,m;if(c>5)u==="widehat"||u==="widecheck"?(f=420,l=2364,m=.42,d=u+"4"):(f=312,l=2340,m=.34,d="tilde4");else{var h=[1,1,2,2,3,3][c];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][h],f=[0,239,300,360,420][h],m=[0,.24,.3,.3,.36,.42][h],d=u+h):(l=[0,600,1033,2339,2340][h],f=[0,260,286,306,312][h],m=[0,.26,.286,.3,.306,.34][h],d="tilde"+h)}var v=new Gr(d),y=new Or([v],{width:"100%",height:ie(m),viewBox:"0 0 "+l+" "+f,preserveAspectRatio:"none"});return{span:ai([],[y],r),minWidth:0,height:m}}else{var b=[],w=NR[u];if(!w)throw new Error('No SVG data for "'+u+'".');var $=w[0],z=w[1],M=w[2],S=M/1e3,C=$.length,D,j;if(C===1){if(w.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+u+'".');D=["hide-tail"],j=[w[3]]}else if(C===2)D=["halfarrow-left","halfarrow-right"],j=["xMinYMin","xMaxYMin"];else if(C===3)D=["brace-left","brace-center","brace-right"],j=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
500
+ `+C+" children.");for(var E=0;E<C;E++){var ne=new Gr($[E]),W=new Or([ne],{width:"400em",height:ie(S),viewBox:"0 0 "+l+" "+M,preserveAspectRatio:j[E]+" slice"}),Z=ai([D[E]],[W],r);if(C===1)return{span:Z,minWidth:z,height:S};Z.style.height=ie(S),b.push(Z)}return{span:G(["katex-stretchy"],b,r),minWidth:z,height:S}}}var n=i(),o=n.span,a=n.minWidth,s=n.height;return o.height=s,o.style.height=ie(s),a>0&&(o.style.minWidth=ie(a)),o},OR=function(t,r,i,n,o){var a,s=t.height+t.depth+i+n;if(/fbox|color|angl/.test(r)){if(a=G(["katex-stretchy",r],[],o),r==="fbox"){var l=o.color&&o.getColor();l&&(a.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(r)&&u.push(new _l({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&u.push(new _l({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Or(u,{width:"100%",height:ie(s)});a=ai([],[c],o)}return a.height=s,a.style.height=ie(s),a},PR=["bin","close","inner","open","punct","rel"],LR=["accent-token","mathord","op-token","spacing","textord"],MR=new Set(PR),jR=new Set(LR);function UR(e){return MR.has(e)}function Ce(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function mm(e){var t=dm(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function dm(e){return e.type==="atom"||jR.has(e.type)?e:null}function x6(e,t,r){var i="";for(var n of e.body)if(n.type==="textord")i+=n.text;else if(r&&n.type==="spacing"&&n.text===" ")i+=" ";else throw new X(t,e);return i}var jS=e=>{if(e instanceof Jt)return e;if(uR(e)&&e.children.length===1)return jS(e.children[0])},US=(e,t)=>{var r,i,n;e&&e.type==="supsub"?(i=Ce(e.base,"accent"),r=i.base,e.base=r,n=lR(Ee(e,t)),e.base=i):(i=Ce(e,"accent"),r=i.base);var o=Ee(r,t.havingCrampedStyle()),a=i.isShifty&&yn(r),s=0;if(a){var l,u;s=(l=(u=jS(o))==null?void 0:u.skew)!=null?l:0}var c=i.label==="\\c",f=c?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight),d;if(i.isStretchy)d=fm(i,t),d=Oe({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+ie(2*s)+")",marginLeft:ie(2*s)}:void 0}]});else{var m,h;i.label==="\\vec"?(m=NS("vec",t),h=DS.vec[1]):(m=um({type:"textord",mode:i.mode,text:i.label},t),m=sR(m),m.italic=0,h=m.width,c&&(f+=m.depth)),d=G(["accent-body"],[m]);var v=i.label==="\\textcircled";v&&(d.classes.push("accent-full"),f=o.height);var y=s;v||(y-=h/2),d.style.left=ie(y),i.label==="\\textcircled"&&(d.style.top=".2em"),d=Oe({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]})}var b=G(["mord","katex-accent"],[d],t);return n?(n.children[0]=b,n.height=Math.max(b.height,n.height),n.classes[0]="mord",n):b},qR=(e,t)=>{var r=e.isStretchy?cm(e.label):new Q("mo",[_r(e.label,e.mode)]),i=new Q("mover",[He(e.base,t),r]);return i.setAttribute("accent","true"),i},RR=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));le({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],numArgs:1,handler:(e,t)=>{var r=Al(t[0]),i=!RR.test(e.funcName),n=!i||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:i,isShifty:n,base:r}},htmlBuilder:US,mathmlBuilder:qR});le({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:(e,t)=>{var r=t[0],i=e.parser.mode;return i==="math"&&(lr({strict:e.parser.settings.strict,errorCode:"mathVsTextAccents",errorMsg:"LaTeX's accent "+e.funcName+" works only in text mode",report:!0}),i="text"),{type:"accent",mode:i,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}}});le({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(e,t)=>{var r=e.parser,i=e.funcName,n=t[0];return{type:"accentUnder",mode:r.mode,label:i,base:n}},htmlBuilder:(e,t)=>{var r=Ee(e.base,t),i=fm(e,t),n=e.label==="\\utilde"?.12:0,o=Oe({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]});return G(["mord","accentunder"],[o],t)},mathmlBuilder:(e,t)=>{var r=cm(e.label),i=new Q("munder",[He(e.base,t),r]);return i.setAttribute("accentunder","true"),i}});var Yf=e=>{var t=new Q("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};le({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],numArgs:1,numOptionalArgs:1,handler(e,t,r){var i=e.parser,n=e.funcName;return{type:"xArrow",mode:i.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,i=t.havingStyle(r.sup()),n=ga(Ee(e.body,i,t),t),o=e.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(o+"-arrow-pad");var a;e.below&&(i=t.havingStyle(r.sub()),a=ga(Ee(e.below,i,t),t),a.classes.push(o+"-arrow-pad"));var s=fm(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,u=-t.fontMetrics().axisHeight-.5*s.height-.111;(n.depth>.25||e.label==="\\xleftequilibrium")&&(u-=n.depth);var c;if(a){var f=-t.fontMetrics().axisHeight+a.height+.5*s.height+.111;c=Oe({positionType:"individualShift",children:[{type:"elem",elem:n,shift:u},{type:"elem",elem:s,shift:l,wrapperClasses:["svg-align"]},{type:"elem",elem:a,shift:f}]})}else c=Oe({positionType:"individualShift",children:[{type:"elem",elem:n,shift:u},{type:"elem",elem:s,shift:l,wrapperClasses:["svg-align"]}]});return G(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=cm(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(e.body){var n=Yf(He(e.body,t));if(e.below){var o=Yf(He(e.below,t));i=new Q("munderover",[r,o,n])}else i=new Q("mover",[r,n])}else if(e.below){var a=Yf(He(e.below,t));i=new Q("munder",[r,a])}else i=Yf(),i=new Q("mover",[r,i]);return i}});function FR(e,t){var r=$t(e.body,t,!0);return G([e.mclass],r,t)}function BR(e,t){var r,i=hr(e.body,t);return e.mclass==="minner"?r=new Q("mpadded",i):e.mclass==="mord"?e.isCharacterBox?(r=i[0],r.type="mi"):r=new Q("mi",i):(e.isCharacterBox?(r=i[0],r.type="mo"):r=new Q("mo",i),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):(e.mclass==="mopen"||e.mclass==="mclose")&&(r.attributes.lspace="0em",r.attributes.rspace="0em")),r}le({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(e,t){var r=e.parser,i=e.funcName,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+i.slice(5),body:gt(n),isCharacterBox:yn(n)}},htmlBuilder:FR,mathmlBuilder:BR});var pm=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};le({type:"mclass",names:["\\@binrel"],numArgs:2,handler(e,t){var r=e.parser;return{type:"mclass",mode:r.mode,mclass:pm(t[0]),body:gt(t[1]),isCharacterBox:yn(t[1])}}});le({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(e,t){var r=e.parser,i=e.funcName,n=t[1],o=t[0],a;i!=="\\stackrel"?a=pm(n):a="mrel";var s={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:gt(n)},l=i==="\\underset"?{type:"supsub",mode:o.mode,base:s,sub:o}:{type:"supsub",mode:o.mode,base:s,sup:o};return{type:"mclass",mode:r.mode,mclass:a,body:[l],isCharacterBox:yn(l)}}});le({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(e,t){var r=e.parser;return{type:"pmb",mode:r.mode,mclass:pm(t[0]),body:gt(t[0])}},htmlBuilder(e,t){var r=$t(e.body,t,!0),i=G([e.mclass],r,t);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(e,t){var r=hr(e.body,t),i=new Q("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var ZR={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},eS=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),tS=e=>e.type==="textord"&&e.text==="@",VR=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function HR(e,t,r){var i=ZR[e];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(i,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[t[0]],[]),o={type:"atom",text:i,mode:"math",family:"rel"},a=r.callFunction("\\Big",[o],[]),s=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[n,a,s]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function KR(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new X("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var i=[],n=[i],o=0;o<t.length;o++){for(var a=t[o],s=eS(),l=0;l<a.length;l++)if(!tS(a[l]))s.body.push(a[l]);else{i.push(s),l+=1;var u=mm(a[l]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(u))if("<>AV".includes(u))for(var f=0;f<2;f++){for(var d=!0,m=l+1;m<a.length;m++){if(VR(a[m],u)){d=!1,l=m;break}if(tS(a[m]))throw new X("Missing a "+u+" character to complete a CD arrow.",a[m]);c[f].body.push(a[m])}if(d)throw new X("Missing a "+u+" character to complete a CD arrow.",a[l])}else throw new X('Expected one of "<>AV=|." after @',a[l]);var h=HR(u,c,e),v={type:"styling",body:[h],mode:"math",style:"display",resetFont:!0};i.push(v),s=eS()}o%2===0?i.push(s):i.shift(),i=[],n.push(i)}e.gullet.endGroup(),e.gullet.endGroup();var y=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:y,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}le({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(e,t){var r=e.parser,i=e.funcName;return{type:"cdlabel",mode:r.mode,side:i.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),i=ga(Ee(e.label,r,t),t);return i.classes.push("cd-label-"+e.side),i.style.bottom=ie(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(e,t){var r=new Q("mrow",[He(e.label,t)]);return r=new Q("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new Q("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});le({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(e,t){var r=e.parser;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=ga(Ee(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new Q("mrow",[He(e.fragment,t)])}});le({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(e,t){var r=e.parser,i=Ce(t[0],"ordgroup"),n=x6(i,"\\@char has non-numeric argument"),o=parseInt(n),a;if(isNaN(o))throw new X("\\@char has non-numeric argument "+n);if(o<0||o>1114111)throw new X("\\@char with invalid code point "+n);return o<=65535?a=String.fromCharCode(o):(o-=65536,a=String.fromCharCode((o>>10)+55296,(o&1023)+56320)),{type:"textord",mode:r.mode,text:a}}});var JR=(e,t)=>{var r=$t(e.body,t.withColor(e.color),!1);return xn(r)},GR=(e,t)=>{var r=hr(e.body,t.withColor(e.color)),i=new Q("mstyle",r);return i.setAttribute("mathcolor",e.color),i};le({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(e,t){var r=e.parser,i=Ce(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:i,body:gt(n)}},htmlBuilder:JR,mathmlBuilder:GR});le({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(e,t){var r=e.parser,i=e.breakOnTokenText,n=Ce(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var o=r.parseExpression(!0,i);return{type:"color",mode:r.mode,color:n,body:o}}});le({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(e){var t=e.parser,r=t.gullet.future().text==="["?t.parseSizeGroup(!0):null,i=!t.settings.displayMode||!lr({strict:t.settings.strict,errorCode:"newLineInDisplayMode",errorMsg:"In LaTeX, \\\\ or \\newline does nothing in display mode",report:!1});return{type:"cr",mode:t.mode,newLine:i,size:r&&Ce(r,"size").value}},htmlBuilder(e,t){var r=G(["mspace"],[],t);return e.newLine&&(r.classes.push("katex-newline"),e.size&&(r.style.marginTop=ie(ot(e.size,t)))),r},mathmlBuilder(e,t){var r=new Q("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ie(ot(e.size,t)))),r}});var a6={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qS=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new X("Expected a control sequence",e);return t},WR=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},RS=(e,t,r,i)=>{var n=e.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,i)};le({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(e){var t=e.parser,r=e.funcName;t.consumeSpaces();var i=t.fetch();if(a6[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=a6[i.text]),Ce(t.parseFunction(),"internal");throw new X("Invalid token after macro prefix",i)}});le({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,r=e.funcName,i=t.gullet.popToken(),n=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new X("Expected a control sequence",i);for(var o=0,a,s=[[]];t.gullet.future().text!=="{";)if(i=t.gullet.popToken(),i.text==="#"){if(t.gullet.future().text==="{"){a=t.gullet.future(),s[o].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new X('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==o+1)throw new X('Argument number "'+i.text+'" out of order');o++,s.push([])}else{if(i.text==="EOF")throw new X("Expected a macro definition");s[o].push(i.text)}var l=t.gullet.consumeArg(),u=l.tokens;return a&&u.unshift(a),(r==="\\edef"||r==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(n,{tokens:u,numArgs:o,delimiters:s},r===a6[r]),{type:"internal",mode:t.mode}}});le({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,r=e.funcName,i=qS(t.gullet.popToken());t.gullet.consumeSpaces();var n=WR(t);return RS(t,i,n,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});le({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,r=e.funcName,i=qS(t.gullet.popToken()),n=t.gullet.popToken(),o=t.gullet.popToken();return RS(t,i,o,r==="\\\\globalfuture"),t.gullet.pushToken(o),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var wl=function(t,r,i){var n=Qe.math[t]&&Qe.math[t].replace,o=h6(n||t,r,i);if(!o)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return o},w6=function(t,r,i,n){var o=i.havingBaseStyle(r),a=G(n.concat(o.sizingClasses(i)),[t],i),s=o.sizeMultiplier/i.sizeMultiplier;return a.height*=s,a.depth*=s,a.maxFontSize=o.sizeMultiplier,a},FS=function(t,r,i){var n=r.havingBaseStyle(i),o=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=ie(o),t.height-=o,t.depth+=o},YR=function(t,r,i,n,o,a){var s=Ht(t,"Main-Regular",o,n),l=w6(s,r,n,a);return i&&FS(l,n,r),l},XR=function(t,r,i,n){return Ht(t,"Size"+r+"-Regular",i,n)},BS=function(t,r,i,n,o,a){var s=XR(t,r,o,n),l=w6(G(["delimsizing","size"+r],[s],n),_e.TEXT,n,a);return i&&FS(l,n,_e.TEXT),l},jb=function(t,r,i,n){var o;r==="Size1-Regular"?o="delim-size1":o="delim-size4";var a=G(["delimsizinginner",o],[G([],[Ht(t,r,i,n)])]);return{type:"elem",elem:a}},Ub=function(t,r,i){var n=Jr["Size4-Regular"][t.charCodeAt(0)]?Jr["Size4-Regular"][t.charCodeAt(0)][4]:Jr["Size1-Regular"][t.charCodeAt(0)][4],o=new Gr("inner",tR(t,Math.round(1e3*r))),a=new Or([o],{width:ie(n),height:ie(r),style:"width:"+ie(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),s=ai([],[a],i);return s.height=r,s.style.height=ie(r),s.style.width=ie(n),{type:"elem",elem:s}},s6=.008,Xf={type:"kern",size:-1*s6},QR=new Set(["|","\\lvert","\\rvert","\\vert"]),eF=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),ZS=function(t,r,i,n,o,a){var s,l,u,c,f="",d=0;s=u=c=t,l=null;var m="Size1-Regular";t==="\\uparrow"?u=c="\u23D0":t==="\\Uparrow"?u=c="\u2016":t==="\\downarrow"?s=u="\u23D0":t==="\\Downarrow"?s=u="\u2016":t==="\\updownarrow"?(s="\\uparrow",u="\u23D0",c="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",u="\u2016",c="\\Downarrow"):QR.has(t)?(u="\u2223",f="vert",d=333):eF.has(t)?(u="\u2225",f="doublevert",d=556):t==="["||t==="\\lbrack"?(s="\u23A1",u="\u23A2",c="\u23A3",m="Size4-Regular",f="lbrack",d=667):t==="]"||t==="\\rbrack"?(s="\u23A4",u="\u23A5",c="\u23A6",m="Size4-Regular",f="rbrack",d=667):t==="\\lfloor"||t==="\u230A"?(u=s="\u23A2",c="\u23A3",m="Size4-Regular",f="lfloor",d=667):t==="\\lceil"||t==="\u2308"?(s="\u23A1",u=c="\u23A2",m="Size4-Regular",f="lceil",d=667):t==="\\rfloor"||t==="\u230B"?(u=s="\u23A5",c="\u23A6",m="Size4-Regular",f="rfloor",d=667):t==="\\rceil"||t==="\u2309"?(s="\u23A4",u=c="\u23A5",m="Size4-Regular",f="rceil",d=667):t==="("||t==="\\lparen"?(s="\u239B",u="\u239C",c="\u239D",m="Size4-Regular",f="lparen",d=875):t===")"||t==="\\rparen"?(s="\u239E",u="\u239F",c="\u23A0",m="Size4-Regular",f="rparen",d=875):t==="\\{"||t==="\\lbrace"?(s="\u23A7",l="\u23A8",c="\u23A9",u="\u23AA",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="\u23AB",l="\u23AC",c="\u23AD",u="\u23AA",m="Size4-Regular"):t==="\\lgroup"||t==="\u27EE"?(s="\u23A7",c="\u23A9",u="\u23AA",m="Size4-Regular"):t==="\\rgroup"||t==="\u27EF"?(s="\u23AB",c="\u23AD",u="\u23AA",m="Size4-Regular"):t==="\\lmoustache"||t==="\u23B0"?(s="\u23A7",c="\u23AD",u="\u23AA",m="Size4-Regular"):(t==="\\rmoustache"||t==="\u23B1")&&(s="\u23AB",c="\u23A9",u="\u23AA",m="Size4-Regular");var h=wl(s,m,o),v=h.height+h.depth,y=wl(u,m,o),b=y.height+y.depth,w=wl(c,m,o),$=w.height+w.depth,z=0,M=1;if(l!==null){var S=wl(l,m,o);z=S.height+S.depth,M=2}var C=v+$+z,D=Math.max(0,Math.ceil((r-C)/(M*b))),j=C+D*M*b,E=n.fontMetrics().axisHeight;i&&(E*=n.sizeMultiplier);var ne=j/2-E,W=[];if(f.length>0){var Z=j-v-$,fe=Math.round(j*1e3),O=rR(f,Math.round(Z*1e3)),de=new Gr(f,O),Le=ie(d/1e3),mt=ie(fe/1e3),Dt=new Or([de],{width:Le,height:mt,viewBox:"0 0 "+d+" "+fe}),A=ai([],[Dt],n);A.height=fe/1e3,A.style.width=Le,A.style.height=mt,W.push({type:"elem",elem:A})}else{if(W.push(jb(c,m,o,n)),W.push(Xf),l===null){var rt=j-v-$+2*s6;W.push(Ub(u,rt,n))}else{var yt=(j-v-$-z)/2+2*s6;W.push(Ub(u,yt,n)),W.push(Xf),W.push(jb(l,m,o,n)),W.push(Xf),W.push(Ub(u,yt,n))}W.push(Xf),W.push(jb(s,m,o,n))}var T=n.havingBaseStyle(_e.TEXT),dt=Oe({positionType:"bottom",positionData:ne,children:W});return w6(G(["delimsizing","mult"],[dt],T),_e.TEXT,n,a)},qb=80,Rb=.08,Fb=function(t,r,i,n,o){var a=eR(t,n,i),s=new Gr(t,a),l=new Or([s],{width:"400em",height:ie(r),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return ai(["hide-tail"],[l],o)},tF=function(t,r){var i=r.havingBaseSizing(),n=GS("\\surd",t*i.sizeMultiplier,JS,i),o=i.sizeMultiplier,a=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),s,l,u,c,f;return n.type==="small"?(c=1e3+1e3*a+qb,t<1?o=1:t<1.4&&(o=.7),l=(1+a+Rb)/o,u=(1+a)/o,s=Fb("sqrtMain",l,c,a,r),s.style.minWidth="0.853em",f=.833/o):n.type==="large"?(c=(1e3+qb)*kl[n.size],u=(kl[n.size]+a)/o,l=(kl[n.size]+a+Rb)/o,s=Fb("sqrtSize"+n.size,l,c,a,r),s.style.minWidth="1.02em",f=1/o):(l=t+a+Rb,u=t+a,c=Math.floor(1e3*t+a)+qb,s=Fb("sqrtTall",l,c,a,r),s.style.minWidth="0.742em",f=1.056),s.height=u,s.style.height=ie(l),{span:s,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+a)*o}},VS=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),rF=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),HS=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),kl=[0,1.2,1.8,2.4,3],KS=function(t,r,i,n,o){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),VS.has(t)||HS.has(t))return BS(t,r,!1,i,n,o);if(rF.has(t))return ZS(t,kl[r],!1,i,n,o);throw new X("Illegal delimiter: '"+t+"'")},nF=[{type:"small",style:_e.SCRIPTSCRIPT},{type:"small",style:_e.SCRIPT},{type:"small",style:_e.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],iF=[{type:"small",style:_e.SCRIPTSCRIPT},{type:"small",style:_e.SCRIPT},{type:"small",style:_e.TEXT},{type:"stack"}],JS=[{type:"small",style:_e.SCRIPTSCRIPT},{type:"small",style:_e.SCRIPT},{type:"small",style:_e.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],oF=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";var r=t.type;throw new Error("Add support for delim type '"+r+"' here.")},GS=function(t,r,i,n){for(var o=Math.min(2,3-n.style.size),a=o;a<i.length;a++){var s=i[a];if(s.type==="stack")break;var l=wl(t,oF(s),"math"),u=l.height+l.depth;if(s.type==="small"){var c=n.havingBaseStyle(s.style);u*=c.sizeMultiplier}if(u>r)return s}return i[i.length-1]},l6=function(t,r,i,n,o,a){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var s;HS.has(t)?s=nF:VS.has(t)?s=JS:s=iF;var l=GS(t,r,s,n);return l.type==="small"?YR(t,l.style,i,n,o,a):l.type==="large"?BS(t,l.size,i,n,o,a):ZS(t,r,i,n,o,a)},Bb=function(t,r,i,n,o,a){var s=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,u=5/n.fontMetrics().ptPerEm,c=Math.max(r-s,i+s),f=Math.max(c/500*l,2*c-u);return l6(t,f,!0,n,o,a)},rS={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},aF=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function nS(e){return"isMiddle"in e}function hm(e,t){var r=dm(e);if(r&&aF.has(r.text))return r;throw r?new X("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new X("Invalid delimiter type '"+e.type+"'",e)}le({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(e,t)=>{var r=hm(Al(t[0]),e);return{type:"delimsizing",mode:e.parser.mode,size:rS[e.funcName].size,mclass:rS[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?G([e.mclass]):KS(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(_r(e.delim,e.mode));var r=new Q("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=ie(kl[e.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function iS(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}le({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new X("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:hm(t[0],e).text,color:r}}});le({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(e,t)=>{var r=hm(t[0],e),i=e.parser;++i.leftrightDepth;var n=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=Ce(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:n,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,t)=>{iS(e);for(var r=$t(e.body,t,!0,["mopen","mclose"]),i=0,n=0,o=!1,a=0;a<r.length;a++){var s=r[a];nS(s)?o=!0:(i=Math.max(r[a].height,i),n=Math.max(r[a].depth,n))}i*=t.sizeMultiplier,n*=t.sizeMultiplier;var l;if(e.left==="."?l=Tl(t,["mopen"]):l=Bb(e.left,i,n,t,e.mode,["mopen"]),r.unshift(l),o)for(var u=1;u<r.length;u++){var c=r[u];if(nS(c)){var f=c.isMiddle;r[u]=Bb(f.delim,i,n,f.options,e.mode,[])}}var d;if(e.right===".")d=Tl(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;d=Bb(e.right,i,n,m,e.mode,["mclose"])}return r.push(d),G(["minner"],r,t)},mathmlBuilder:(e,t)=>{iS(e);var r=hr(e.body,t);if(e.left!=="."){var i=new Q("mo",[_r(e.left,e.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(e.right!=="."){var n=new Q("mo",[_r(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return y6(r)}});le({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(e,t)=>{var r=hm(t[0],e);if(!e.parser.leftrightDepth)throw new X("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;return e.delim==="."?r=Tl(t,[]):(r=KS(e.delim,1,t,e.mode,[]),r.isMiddle={delim:e.delim,options:t}),r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?_r("|","text"):_r(e.delim,e.mode),i=new Q("mo",[r]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var sF=(e,t)=>{var r=ga(Ee(e.body,t),t),i=e.label.slice(1),n=t.sizeMultiplier,o,a,s=yn(e.body);if(i==="sout")o=G(["katex-stretchy","katex-sout"]),o.height=t.fontMetrics().defaultRuleThickness/n,a=-.5*t.fontMetrics().xHeight;else if(i==="phase"){var l=ot({number:.6,unit:"pt"},t),u=ot({number:.35,unit:"ex"},t),c=t.havingBaseSizing();n=n/c.sizeMultiplier;var f=r.height+r.depth+l+u;r.style.paddingLeft=ie(f/2+l);var d=Math.floor(1e3*f*n),m=Xq(d),h=new Or([new Gr("phase",m)],{width:"400em",height:ie(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=ai(["hide-tail"],[h],t),o.style.height=ie(f),a=r.depth+l+u}else{/cancel/.test(i)?s||r.classes.push("cancel-pad"):i==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var v,y,b=0;/box/.test(i)?(b=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),v=t.fontMetrics().fboxsep+(i==="colorbox"?0:b),y=v):i==="angl"?(b=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),v=4*b,y=Math.max(0,.25-r.depth)):(v=s?.2:0,y=v),o=OR(r,i,v,y,t),/fbox|boxed|fcolorbox/.test(i)?(o.style.borderStyle="solid",o.style.borderWidth=ie(b)):i==="angl"&&b!==.049&&(o.style.borderTopWidth=ie(b),o.style.borderRightWidth=ie(b)),a=r.depth+y,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var w;if(e.backgroundColor)w=Oe({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:r,shift:0}]});else{var $=/cancel|phase/.test(i)?["svg-align"]:[];w=Oe({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:$}]})}return/cancel/.test(i)&&(w.height=r.height,w.depth=r.depth),/cancel/.test(i)&&!s?G(["mord","cancel-lap"],[w],t):G(["mord"],[w],t)},lF=(e,t)=>{var r,i=new Q(e.label.includes("colorbox")?"mpadded":"menclose",[He(e.body,t)]);switch(e.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*r+"pt"),i.setAttribute("height","+"+2*r+"pt"),i.setAttribute("lspace",r+"pt"),i.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);i.setAttribute("style","border: "+ie(n)+" solid "+e.borderColor)}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&i.setAttribute("mathbackground",e.backgroundColor),i};le({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(e,t,r){var i=e.parser,n=e.funcName,o=Ce(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:i.mode,label:n,backgroundColor:o,body:a}},htmlBuilder:sF,mathmlBuilder:lF});le({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(e,t,r){var i=e.parser,n=e.funcName,o=Ce(t[0],"color-token").color,a=Ce(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:i.mode,label:n,backgroundColor:a,borderColor:o,body:s}}});le({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(e,t){var r=e.parser;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});le({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(e,t){var r=e.parser,i=e.funcName,n=t[0];return{type:"enclose",mode:r.mode,label:i,body:n}}});le({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(e,t){var r=e.parser,i=e.funcName;r.mode==="math"&&lr({strict:r.settings.strict,errorCode:"mathVsSout",errorMsg:"LaTeX's \\sout works only in text mode",report:!0});var n=t[0];return{type:"enclose",mode:r.mode,label:i,body:n}}});le({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler(e,t){var r=e.parser;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var WS={};function Wr(e){for(var t=e.type,r=e.names,i=e.props,n=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l<r.length;++l)WS[r[l]]=s;o&&(Il[t]=o),a&&(zl[t]=a)}var YS={};function k(e,t){YS[e]=t}var sr=class e{constructor(t,r,i){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=i}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new e(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}},dr=class e{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new e(r,sr.range(this,t))}};function oS(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var gm=e=>{var t=e.parser.settings;if(!t.displayMode)throw new X("{"+e.envName+"} can be used only in display mode.")},uF=new Set(["gather","gather*"]);function k6(e){if(!e.includes("ed"))return!e.includes("*")}function li(e,t,r){var i=t.hskipBeforeAndAfter,n=t.addJot,o=t.cols,a=t.arraystretch,s=t.colSeparationType,l=t.autoTag,u=t.singleRow,c=t.emptySingleRow,f=t.maxNumCols,d=t.leqno;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)a=1;else if(a=parseFloat(m),!a||a<0)throw new X("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var h=[],v=[h],y=[],b=[],w=l!=null?[]:void 0;function $(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function z(){w&&(e.gullet.macros.get("\\df@tag")?(w.push(e.subparse([new dr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):w.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for($(),b.push(oS(e));;){var M=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var S={type:"ordgroup",mode:e.mode,body:M};r&&(S={type:"styling",mode:e.mode,style:r,resetFont:!0,body:[S]}),h.push(S);var C=e.fetch().text;if(C==="&"){if(f&&h.length===f){if(u||s)throw new X("Too many tab characters: &",e.nextToken);lr({strict:e.settings.strict,errorCode:"textEnv",errorMsg:"Too few columns specified in the {array} column argument.",report:!0})}e.consume()}else if(C==="\\end"){z(),h.length===1&&S.type==="styling"&&S.body.length===1&&S.body[0].type==="ordgroup"&&S.body[0].body.length===0&&(v.length>1||!c)&&!Array.isArray(w?.[w.length-1])&&!(l&&w?.[w.length-1]===!0)&&v.pop(),b.length<v.length+1&&b.push([]);break}else if(C==="\\\\"){e.consume();var D=void 0;e.gullet.future().text!==" "&&(D=e.parseSizeGroup(!0)),y.push(D?D.value:null),z(),b.push(oS(e)),h=[],v.push(h),$()}else throw new X("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:n,arraystretch:a,body:v,cols:o,rowGaps:y,hskipBeforeAndAfter:i,hLinesBeforeRow:b,colSeparationType:s,tags:w,leqno:d}}function $6(e){return e.slice(0,1)==="d"?"display":"text"}var Yr=function(t,r){var i,n,o=t.body.length,a=t.hLinesBeforeRow,s=0,l=new Array(o),u=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,d=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var m=r.havingStyle(_e.SCRIPT).sizeMultiplier;d=.2778*(m/r.sizeMultiplier)}var h=t.colSeparationType==="CD"?ot({number:3,unit:"ex"},r):12*f,v=3*f,y=t.arraystretch*h,b=.7*y,w=.3*y,$=0;function z(re){for(var ve=0;ve<re.length;++ve)ve>0&&($+=.25),u.push({pos:$,isDashed:re[ve]})}for(z(a[0]),i=0;i<t.body.length;++i){var M=t.body[i],S=b,C=w;s<M.length&&(s=M.length);var D={cells:new Array(M.length),height:0,depth:0,pos:0};for(n=0;n<M.length;++n){var j=Ee(M[n],r);C<j.depth&&(C=j.depth),S<j.height&&(S=j.height),D.cells[n]=j}var E=t.rowGaps[i],ne=0;E&&(ne=ot(E,r),ne>0&&(ne+=w,C<ne&&(C=ne),ne=0)),t.addJot&&i<t.body.length-1&&(C+=v),D.height=S,D.depth=C,$+=S,D.pos=$,$+=C+ne,l[i]=D,z(a[i+1])}var W=$/2+r.fontMetrics().axisHeight,Z=t.cols||[],fe=[],O,de,Le=[];if(t.tags&&t.tags.some(re=>re))for(i=0;i<o;++i){var mt=l[i],Dt=mt.pos-W,A=t.tags[i],rt=void 0;A===!0?rt=G(["eqn-num"],[],r):A===!1?rt=G([],[],r):rt=G([],$t(A,r,!0),r),rt.depth=mt.depth,rt.height=mt.height,Le.push({type:"elem",elem:rt,shift:Dt})}for(n=0,de=0;n<s||de<Z.length;++n,++de){for(var yt,T=Z[de],dt=!0;((Ir=T)==null?void 0:Ir.type)==="separator";){var Ir;if(dt||(O=G(["arraycolsep"],[]),O.style.width=ie(r.fontMetrics().doubleRuleSep),fe.push(O)),T.separator==="|"||T.separator===":"){var Sn=T.separator==="|"?"solid":"dashed",V=G(["vertical-separator"],[],r);V.style.height=ie($),V.style.borderRightWidth=ie(c),V.style.borderRightStyle=Sn,V.style.margin="0 "+ie(-c/2);var U=$-W;U&&(V.style.verticalAlign=ie(-U)),fe.push(V)}else throw new X("Invalid separator type: "+T.separator);de++,T=Z[de],dt=!1}if(!(n>=s)){var te=void 0;if(n>0||t.hskipBeforeAndAfter){var oe,J;te=(oe=(J=T)==null?void 0:J.pregap)!=null?oe:d,te!==0&&(O=G(["arraycolsep"],[]),O.style.width=ie(te),fe.push(O))}var ke=[];for(i=0;i<o;++i){var he=l[i],xe=he.cells[n];if(xe){var Me=he.pos-W;xe.depth=he.depth,xe.height=he.height,ke.push({type:"elem",elem:xe,shift:Me})}}var Ze=Oe({positionType:"individualShift",children:ke}),Ut=G(["col-align-"+(((yt=T)==null?void 0:yt.align)||"c")],[Ze]);if(fe.push(Ut),n<s-1||t.hskipBeforeAndAfter){var pt,st;te=(pt=(st=T)==null?void 0:st.postgap)!=null?pt:d,te!==0&&(O=G(["arraycolsep"],[]),O.style.width=ie(te),fe.push(O))}}}var fi=G(["mtable"],fe);if(u.length>0){for(var Ll=ha("katex-hline",r,c),km=ha("katex-hdashline",r,c),ka=[{type:"elem",elem:fi,shift:0}];u.length>0;){var Ml=u.pop(),jl=Ml.pos-W;Ml.isDashed?ka.push({type:"elem",elem:km,shift:jl}):ka.push({type:"elem",elem:Ll,shift:jl})}fi=Oe({positionType:"individualShift",children:ka})}if(Le.length===0)return G(["mord"],[fi],r);var $m=Oe({positionType:"individualShift",children:Le}),q=G(["katex-tag"],[$m],r);return xn([fi,q])},cF={c:"center ",l:"left ",r:"right "},Xr=function(t,r){for(var i=[],n=new Q("mtd",[],["mtr-glue"]),o=new Q("mtd",[],["mml-eqn-num"]),a=0;a<t.body.length;a++){for(var s=t.body[a],l=[],u=0;u<s.length;u++)l.push(new Q("mtd",[He(s[u],r)]));t.tags&&t.tags[a]&&(l.unshift(n),l.push(n),t.leqno?l.unshift(o):l.push(o)),i.push(new Q("mtr",l))}var c=new Q("mtable",i),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",ie(f));var d="",m="";if(t.cols&&t.cols.length>0){var h=t.cols,v="",y=!1,b=0,w=h.length;h[0].type==="separator"&&(d+="top ",b=1),h[h.length-1].type==="separator"&&(d+="bottom ",w-=1);for(var $=b;$<w;$++){var z=h[$];z.type==="align"?(m+=cF[z.align],y&&(v+="none "),y=!0):z.type==="separator"&&y&&(v+=z.separator==="|"?"solid ":"dashed ",y=!1)}c.setAttribute("columnalign",m.trim()),/[sd]/.test(v)&&c.setAttribute("columnlines",v.trim())}if(t.colSeparationType==="align"){for(var M=t.cols||[],S="",C=1;C<M.length;C++)S+=C%2?"0em ":"1em ";c.setAttribute("columnspacing",S.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var D="",j=t.hLinesBeforeRow;d+=j[0].length>0?"left ":"",d+=j[j.length-1].length>0?"right ":"";for(var E=1;E<j.length-1;E++)D+=j[E].length===0?"none ":j[E][0]?"dashed ":"solid ";return/[sd]/.test(D)&&c.setAttribute("rowlines",D.trim()),d!==""&&(c=new Q("menclose",[c]),c.setAttribute("notation",d.trim())),t.arraystretch&&t.arraystretch<1&&(c=new Q("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},XS=function(t,r){t.envName.includes("ed")||gm(t);var i=[],n=t.envName==="split",o=li(t.parser,{cols:i,addJot:!0,autoTag:n?void 0:k6(t.envName),emptySingleRow:!0,colSeparationType:t.envName.includes("at")?"alignat":"align",maxNumCols:n?2:void 0,leqno:t.parser.settings.leqno},"display"),a=0,s=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){var u="Number of columns should be a positive integer",c=x6(r[0],u);if(!/^[0-9]+$/.test(c)||Number(c)<1)throw new X(u,r[0]);a=Number(c),s=a*2}var f=!s;o.body.forEach(function(v){for(var y=1;y<v.length;y+=2){var b=Ce(v[y],"styling"),w=Ce(b.body[0],"ordgroup");w.body.unshift(l)}if(f)s<v.length&&(s=v.length);else{var $=v.length/2;if(a<$)throw new X("Too many math in a row: "+("expected "+a+", but got "+$),v[0])}});for(var d=0;d<s;++d){var m="r",h=0;d%2===1?m="l":d>0&&f&&(h=1),i[d]={type:"align",align:m,pregap:h,postgap:0}}return o.colSeparationType=f?"align":"alignat",o};Wr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=dm(t[0]),i=r?[t[0]]:Ce(t[0],"ordgroup").body,n=i.map(function(a){var s=mm(a),l=s.text;if("lcr".includes(l))return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new X("Unknown column alignment: "+l,a)}),o={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return li(e.parser,o,$6(e.envName))},htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var n=e.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,!"lcr".includes(r))throw new X("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),i.cols=[{type:"align",align:r}]}}var o=li(e.parser,i,$6(e.envName)),a=Math.max(0,...o.body.map(s=>s.length));return o.cols=new Array(a).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=li(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=dm(t[0]),i=r?[t[0]]:Ce(t[0],"ordgroup").body,n=i.map(function(s){var l=mm(s),u=l.text;if("lc".includes(u))return{type:"align",align:u};throw new X("Unknown column alignment: "+u,s)});if(n.length>1)throw new X("{subarray} can contain only one column");var o={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},a=li(e.parser,o,"script");if(a.body.length>0&&a.body[0].length>1)throw new X("{subarray} can contain only one column");return a},htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=li(e.parser,t,$6(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:XS,htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){uF.has(e.envName)&&gm(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:k6(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return li(e.parser,t,"display")},htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:XS,htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){gm(e);var t={autoTag:k6(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return li(e.parser,t,"display")},htmlBuilder:Yr,mathmlBuilder:Xr});Wr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return gm(e),KR(e.parser)},htmlBuilder:Yr,mathmlBuilder:Xr});k("\\nonumber","\\gdef\\@eqnsw{0}");k("\\notag","\\nonumber");le({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(e,t){throw new X(e.funcName+" valid only within array environment")}});var aS=WS;le({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(e,t){var r=e.parser,i=e.funcName,n=t[0];if(n.type!=="ordgroup")throw new X("Invalid environment name",n);var o=x6(n,"Environment name should contain only text characters and spaces",!0);if(i==="\\begin"){if(!Object.prototype.hasOwnProperty.call(aS,o))throw new X("No such environment: "+o,n);var a=aS[o],s=r.parseArguments("\\begin{"+o+"}",a),l=s.args,u=s.optArgs,c={mode:r.mode,envName:o,parser:r},f=a.handler(c,l,u);r.expect("\\end",!1);var d=r.nextToken,m=Ce(r.parseFunction(),"environment");if(m.name!==o)throw new X("Mismatch: \\begin{"+o+"} matched by \\end{"+m.name+"}",d);return f}return{type:"environment",mode:r.mode,name:o,nameGroup:n}}});var fF=(e,t)=>{var r=e.font,i=t.withFont(r);return Ee(e.body,i)},mF=(e,t)=>{var r=e.font,i=t.withFont(r);return He(e.body,i)},sS={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};le({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(e,t)=>{var r=e.parser,i=e.funcName,n=Al(t[0]),o=i in sS?sS[i]:i;return{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:fF,mathmlBuilder:mF});le({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(e,t)=>{var r=e.parser,i=t[0];return{type:"mclass",mode:r.mode,mclass:pm(i),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:i}],isCharacterBox:yn(i)}}});le({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(e,t)=>{var r=e.parser,i=e.funcName,n=e.breakOnTokenText,o=r.mode,a=r.parseExpression(!0,n);return{type:"font",mode:o,font:"math"+i.slice(1),body:{type:"ordgroup",mode:r.mode,body:a}}}});var dF=(e,t)=>{var r=t.style,i=r.fracNum(),n=r.fracDen(),o;o=t.havingStyle(i);var a=Ee(e.numer,o,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}o=t.havingStyle(n);var u=Ee(e.denom,o,t),c,f,d;e.hasBarLine?(e.barSize?(f=ot(e.barSize,t),c=ha("frac-line",t,f)):c=ha("frac-line",t),f=c.height,d=c.height):(c=null,f=0,d=t.fontMetrics().defaultRuleThickness);var m,h,v;r.size===_e.DISPLAY.size?(m=t.fontMetrics().num1,f>0?h=3*d:h=7*d,v=t.fontMetrics().denom1):(f>0?(m=t.fontMetrics().num2,h=d):(m=t.fontMetrics().num3,h=3*d),v=t.fontMetrics().denom2);var y;if(c){var w=t.fontMetrics().axisHeight;m-a.depth-(w+.5*f)<h&&(m+=h-(m-a.depth-(w+.5*f))),w-.5*f-(u.height-v)<h&&(v+=h-(w-.5*f-(u.height-v)));var $=-(w-.5*f);y=Oe({positionType:"individualShift",children:[{type:"elem",elem:u,shift:v},{type:"elem",elem:c,shift:$},{type:"elem",elem:a,shift:-m}]})}else{var b=m-a.depth-(u.height-v);b<h&&(m+=.5*(h-b),v+=.5*(h-b)),y=Oe({positionType:"individualShift",children:[{type:"elem",elem:u,shift:v},{type:"elem",elem:a,shift:-m}]})}o=t.havingStyle(r),y.height*=o.sizeMultiplier/t.sizeMultiplier,y.depth*=o.sizeMultiplier/t.sizeMultiplier;var z;r.size===_e.DISPLAY.size?z=t.fontMetrics().delim1:r.size===_e.SCRIPTSCRIPT.size?z=t.havingStyle(_e.SCRIPT).fontMetrics().delim2:z=t.fontMetrics().delim2;var M,S;return e.leftDelim==null?M=Tl(t,["mopen"]):M=l6(e.leftDelim,z,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?S=G([]):e.rightDelim==null?S=Tl(t,["mclose"]):S=l6(e.rightDelim,z,!0,t.havingStyle(r),e.mode,["mclose"]),G(["mord"].concat(o.sizingClasses(t)),[M,G(["mfrac"],[y]),S],t)},pF=(e,t)=>{var r=new Q("mfrac",[He(e.numer,t),He(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var i=ot(e.barSize,t);r.setAttribute("linethickness",ie(i))}if(e.leftDelim!=null||e.rightDelim!=null){var n=[];if(e.leftDelim!=null){var o=new Q("mo",[new ct(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),n.push(o)}if(n.push(r),e.rightDelim!=null){var a=new Q("mo",[new ct(e.rightDelim.replace("\\",""))]);a.setAttribute("fence","true"),n.push(a)}return y6(n)}return r},QS=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};le({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(e,t)=>{var r=e.parser,i=e.funcName,n=t[0],o=t[1],a,s=null,l=null;switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}var u=i==="\\cfrac",c=null;return u||i.startsWith("\\d")?c="display":i.startsWith("\\t")&&(c="text"),QS({type:"genfrac",mode:r.mode,numer:n,denom:o,continued:u,hasBarLine:a,leftDelim:s,rightDelim:l,barSize:null},c)},htmlBuilder:dF,mathmlBuilder:pF});le({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(e){var t=e.parser,r=e.funcName,i=e.token,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:n,token:i}}});var lS=["display","text","script","scriptscript"],uS=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};le({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(e,t){var r=e.parser,i=t[4],n=t[5],o=Al(t[0]),a=o.type==="atom"&&o.family==="open"?uS(o.text):null,s=Al(t[1]),l=s.type==="atom"&&s.family==="close"?uS(s.text):null,u=Ce(t[2],"size"),c,f=null;u.isBlank?c=!0:(f=u.value,c=f.number>0);var d=null,m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var h=Ce(m.body[0],"textord");d=lS[Number(h.text)]}}else m=Ce(m,"textord"),d=lS[Number(m.text)];return QS({type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:c,barSize:f,leftDelim:a,rightDelim:l},d)}});le({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(e,t){var r=e.parser;e.funcName;var i=e.token;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ce(t[0],"size").value,token:i}}});le({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(e,t)=>{var r=e.parser;e.funcName;var i=t[0],n=Ce(t[1],"infix").size;if(!n)throw new Error("\\\\abovefrac expected size, but got "+String(n));var o=t[2],a=n.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:o,continued:!1,hasBarLine:a,barSize:n,leftDelim:null,rightDelim:null}}});var e_=(e,t)=>{var r=t.style,i,n;e.type==="supsub"?(i=e.sup?Ee(e.sup,t.havingStyle(r.sup()),t):Ee(e.sub,t.havingStyle(r.sub()),t),n=Ce(e.base,"horizBrace")):n=Ce(e,"horizBrace");var o=Ee(n.base,t.havingBaseStyle(_e.DISPLAY)),a=fm(n,t),s;if(n.isOver?s=Oe({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a,wrapperClasses:["svg-align"]}]}):s=Oe({positionType:"bottom",positionData:o.depth+.1+a.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:o}]}),i){var l=G(["minner",n.isOver?"mover":"munder"],[s],t);n.isOver?s=Oe({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]}):s=Oe({positionType:"bottom",positionData:l.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:l}]})}return G(["minner",n.isOver?"mover":"munder"],[s],t)},hF=(e,t)=>{var r=cm(e.label);return new Q(e.isOver?"mover":"munder",[He(e.base,t),r])};le({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(e,t){var r=e.parser,i=e.funcName;return{type:"horizBrace",mode:r.mode,label:i,isOver:i.includes("\\over"),base:t[0]}},htmlBuilder:e_,mathmlBuilder:hF});le({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(e,t)=>{var r=e.parser,i=t[1],n=Ce(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:gt(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=$t(e.body,t,!1);return vR(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=si(e.body,t);return r instanceof Q||(r=new Q("mrow",[r])),r.setAttribute("href",e.href),r}});le({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(e,t)=>{var r=e.parser,i=Ce(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var n=[],o=0;o<i.length;o++){var a=i[o];a==="~"&&(a="\\textasciitilde"),n.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:r.mode,font:"\\texttt",body:n};return{type:"href",mode:r.mode,href:i,body:gt(s)}}});le({type:"hbox",names:["\\hbox"],numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0,handler(e,t){var r=e.parser;return{type:"hbox",mode:r.mode,body:gt(t[0])}},htmlBuilder(e,t){var r=$t(e.body,t.withFont(""),!1);return xn(r)},mathmlBuilder(e,t){return new Q("mrow",hr(e.body,t.withFont("")))}});le({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],numArgs:2,argTypes:["raw","original"],allowedInText:!0,handler:(e,t)=>{var r=e.parser,i=e.funcName;e.token;var n=Ce(t[0],"raw").string,o=t[1];r.settings.strict&&lr({strict:r.settings.strict,errorCode:"htmlExtension",errorMsg:"HTML extension is disabled on strict mode",report:!0});var a,s={};switch(i){case"\\htmlClass":s.class=n,a={command:"\\htmlClass",class:n};break;case"\\htmlId":s.id=n,a={command:"\\htmlId",id:n};break;case"\\htmlStyle":s.style=n,a={command:"\\htmlStyle",style:n};break;case"\\htmlData":{for(var l="{,}",u=[],c="",f=0;f<n.length;f++)n.startsWith(l,f)?(c+=",",f+=l.length-1):n[f]===","?(u.push(c),c=""):c+=n[f];u.push(c);for(var d=0;d<u.length;d++){var m=u[d],h=m.indexOf("=");if(h<0)throw new X("\\htmlData key/value '"+m+"' missing equals sign");var v=m.slice(0,h),y=m.slice(h+1);s["data-"+v.trim()]=y}a={command:"\\htmlData",attributes:s};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(a)?{type:"html",mode:r.mode,attributes:s,body:gt(o)}:r.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var r=$t(e.body,t,!1),i=["enclosing"];e.attributes.class&&i.push(...e.attributes.class.trim().split(/\s+/));var n=G(i,r,t);for(var o of Object.entries(e.attributes)){var a=o[0],s=o[1];a!=="class"&&n.setAttribute(a,s)}return n},mathmlBuilder:(e,t)=>si(e.body,t)});le({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(e,t)=>{var r=e.parser;return{type:"htmlmathml",mode:r.mode,html:gt(t[0]),mathml:gt(t[1])}},htmlBuilder:(e,t)=>{var r=$t(e.html,t,!1);return xn(r)},mathmlBuilder:(e,t)=>si(e.mathml,t)});var Zb=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new X("Invalid size: '"+t+"' in \\includegraphics");var i={number:+(r[1]+r[2]),unit:r[3]};if(!SS(i))throw new X("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};le({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(e,t,r)=>{var i=e.parser,n={number:0,unit:"em"},o={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(r[0])for(var l=Ce(r[0],"raw").string,u=l.split(","),c=0;c<u.length;c++){var f=u[c].split("=");if(f.length===2){var d=f[1].trim();switch(f[0].trim()){case"alt":s=d;break;case"width":n=Zb(d);break;case"height":o=Zb(d);break;case"totalheight":a=Zb(d);break;default:throw new X("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var m=Ce(t[0],"url").url;return s===""&&(s=m,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:i.mode,alt:s,width:n,height:o,totalheight:a,src:m}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=ot(e.height,t),i=0;e.totalheight.number>0&&(i=ot(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ot(e.width,t));var o={height:ie(r+i)};n>0&&(o.width=ie(n)),i>0&&(o.verticalAlign=ie(-i));var a=new Gb(e.src,e.alt,o);return a.height=r,a.depth=i,a},mathmlBuilder:(e,t)=>{var r=new Q("mglyph",[]);r.setAttribute("alt",e.alt);var i=ot(e.height,t),n=0;if(e.totalheight.number>0&&(n=ot(e.totalheight,t)-i,r.setAttribute("valign",ie(-n))),r.setAttribute("height",ie(i+n)),e.width.number>0){var o=ot(e.width,t);r.setAttribute("width",ie(o))}return r.setAttribute("src",e.src),r}});le({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(e,t){var r=e.parser,i=e.funcName,n=Ce(t[0],"size");if(r.settings.strict){var o=i[1]==="m",a=n.value.unit==="mu";o?(a||lr({strict:r.settings.strict,errorCode:"mathVsTextUnits",errorMsg:"LaTeX's "+i+" supports only mu units, "+("not "+n.value.unit+" units"),report:!0}),r.mode!=="math"&&lr({strict:r.settings.strict,errorCode:"mathVsTextUnits",errorMsg:"LaTeX's "+i+" works only in math mode",report:!0})):a&&lr({strict:r.settings.strict,errorCode:"mathVsTextUnits",errorMsg:"LaTeX's "+i+" doesn't support mu units",report:!0})}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(e,t){return CS(e.dimension,t)},mathmlBuilder(e,t){var r=ot(e.dimension,t);return new im(r)}});le({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(e,t)=>{var r=e.parser,i=e.funcName,n=t[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=G([],[Ee(e.body,t)]),r=G(["katex-inner"],[r],t)):r=G(["katex-inner"],[Ee(e.body,t)]);var i=G(["katex-fix"],[]),n=G([e.alignment],[r,i],t),o=G(["katex-strut"]);return o.style.height=ie(n.height+n.depth),n.depth&&(o.style.verticalAlign=ie(-n.depth)),n.children.unshift(o),n=G(["katex-thinbox"],[n],t),G(["mord","katex-vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new Q("mpadded",[He(e.body,t)]);if(e.alignment!=="rlap"){var i=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",i+"width")}return r.setAttribute("width","0px"),r}});le({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){var r=e.funcName,i=e.parser,n=i.mode;i.switchMode("math");var o=r==="\\("?"\\)":"$",a=i.parseExpression(!1,o);return i.expect(o),i.switchMode(n),{type:"styling",mode:i.mode,style:"text",resetFont:!0,body:a}}});le({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){throw new X("Mismatched "+e.funcName)}});var cS=(e,t)=>{switch(t.style.size){case _e.DISPLAY.size:return e.display;case _e.TEXT.size:return e.text;case _e.SCRIPT.size:return e.script;case _e.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};le({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(e,t)=>{var r=e.parser;return{type:"mathchoice",mode:r.mode,display:gt(t[0]),text:gt(t[1]),script:gt(t[2]),scriptscript:gt(t[3])}},htmlBuilder:(e,t)=>{var r=cS(e,t),i=$t(r,t,!1);return xn(i)},mathmlBuilder:(e,t)=>{var r=cS(e,t);return si(r,t)}});var t_=(e,t,r,i,n,o,a)=>{e=G([],[e]);var s=r&&yn(r),l,u;if(t){var c=Ee(t,i.havingStyle(n.sup()),i);u={elem:c,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=Ee(r,i.havingStyle(n.sub()),i);l={elem:f,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-f.height)}}var d;if(u&&l){var m=i.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;d=Oe({positionType:"bottom",positionData:m,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ie(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:ie(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]})}else if(l){var h=e.height-a;d=Oe({positionType:"top",positionData:h,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ie(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]})}else if(u){var v=e.depth+a;d=Oe({positionType:"bottom",positionData:v,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:ie(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]})}else return e;var y=[d];if(l&&o!==0&&!s){var b=G(["mspace"],[],i);b.style.marginRight=ie(o),y.unshift(b)}return G(["mop","op-limits"],y,i)},r_=new Set(["\\smallint"]),n_=(e,t)=>{var r,i,n=!1,o;e.type==="supsub"?(r=e.sup,i=e.sub,o=Ce(e.base,"op"),n=!0):o=Ce(e,"op");var a=t.style,s=!1;a.size===_e.DISPLAY.size&&o.symbol&&!r_.has(o.name)&&(s=!0);var l,u;if(o.symbol){var c=s?"Size2-Regular":"Size1-Regular",f="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(f=o.name.slice(1),o.name=f==="oiint"?"\\iint":"\\iiint"),l=Ht(o.name,c,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),u=l.italic,f.length>0){var d=NS(f+"Size"+(s?"2":"1"),t);l=Oe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]}),o.name="\\"+f,l.classes.unshift("mop"),l.italic=u}}else if(o.body){var m=$t(o.body,t,!0);m.length===1&&m[0]instanceof Jt?(l=m[0],l.classes[0]="mop"):l=G(["mop"],m,t)}else{for(var h=[],v=1;v<o.name.length;v++)h.push(g6(o.name[v],o.mode,t));l=G(["mop"],h,t)}var y=0,b=0;if((l instanceof Jt||o.name==="\\oiint"||o.name==="\\oiiint")&&!o.suppressBaseShift){var w;y=(l.height-l.depth)/2-t.fontMetrics().axisHeight,b=(w=l.italic)!=null?w:0}return n?t_(l,r,i,t,a,b,y):(y&&(l.style.position="relative",l.style.top=ie(y)),l)},gF=(e,t)=>{var r;if(e.symbol)r=new Q("mo",[_r(e.name,e.mode)]),r_.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Q("mo",hr(e.body,t));else{r=new Q("mi",[new ct(e.name.slice(1))]);var i=new Q("mo",[_r("\u2061","text")]);e.parentIsSupSub?r=new Q("mrow",[r,i]):r=PS([r,i])}return r},vF={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};le({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],numArgs:0,handler:(e,t)=>{var r=e.parser,i=e.funcName,n=i;return n.length===1&&(n=vF[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:n_,mathmlBuilder:gF});le({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:(e,t)=>{var r=e.parser,i=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:gt(i)}}});var yF={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};le({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],numArgs:0,handler(e){var t=e.parser,r=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}}});le({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(e){var t=e.parser,r=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}}});le({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],numArgs:0,allowedInArgument:!0,handler(e){var t=e.parser,r=e.funcName,i=r;return i.length===1&&(i=yF[i]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}}});var i_=(e,t)=>{var r,i,n=!1,o;e.type==="supsub"?(r=e.sup,i=e.sub,o=Ce(e.base,"operatorname"),n=!0):o=Ce(e,"operatorname");var a;if(o.body.length>0){for(var s=o.body.map(f=>{var d="text"in f?f.text:void 0;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=$t(s,t.withFont("mathrm"),!0),u=0;u<l.length;u++){var c=l[u];c instanceof Jt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=G(["mop"],l,t)}else a=G(["mop"],[],t);return n?t_(a,r,i,t,t.style,0,0):a},bF=(e,t)=>{for(var r=hr(e.body,t.withFont("mathrm")),i=!0,n=0;n<r.length;n++){var o=r[n];if(!(o instanceof im))if(o instanceof Q)switch(o.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var a=o.children[0];o.children.length===1&&a instanceof ct?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):i=!1;break}default:i=!1}else i=!1}if(i){var s=r.map(c=>c.toText()).join("");r=[new ct(s)]}var l=new Q("mi",r);l.setAttribute("mathvariant","normal");var u=new Q("mo",[_r("\u2061","text")]);return e.parentIsSupSub?new Q("mrow",[l,u]):PS([l,u])};le({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(e,t)=>{var r=e.parser,i=e.funcName,n=t[0];return{type:"operatorname",mode:r.mode,body:gt(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:i_,mathmlBuilder:bF});k("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Wi({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?xn($t(e.body,t,!1)):G(["mord"],$t(e.body,t,!0),t)},mathmlBuilder(e,t){return si(e.body,t,!0)}});le({type:"overline",names:["\\overline"],numArgs:1,handler(e,t){var r=e.parser,i=t[0];return{type:"overline",mode:r.mode,body:i}},htmlBuilder(e,t){var r=Ee(e.body,t.havingCrampedStyle()),i=ha("overline-line",t),n=t.fontMetrics().defaultRuleThickness,o=Oe({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]});return G(["mord","katex-overline"],[o],t)},mathmlBuilder(e,t){var r=new Q("mo",[new ct("\u203E")]);r.setAttribute("stretchy","true");var i=new Q("mover",[He(e.body,t),r]);return i.setAttribute("accent","true"),i}});le({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(e,t)=>{var r=e.parser,i=t[0];return{type:"phantom",mode:r.mode,body:gt(i)}},htmlBuilder:(e,t)=>{var r=$t(e.body,t.withPhantom(),!1);return xn(r)},mathmlBuilder:(e,t)=>{var r=hr(e.body,t);return new Q("mphantom",r)}});k("\\hphantom","\\smash{\\phantom{#1}}");le({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:(e,t)=>{var r=e.parser,i=t[0];return{type:"vphantom",mode:r.mode,body:i}},htmlBuilder:(e,t)=>{var r=G(["katex-inner"],[Ee(e.body,t.withPhantom())]),i=G(["katex-fix"],[]);return G(["mord","rlap"],[r,i],t)},mathmlBuilder:(e,t)=>{var r=hr(gt(e.body),t),i=new Q("mphantom",r),n=new Q("mpadded",[i]);return n.setAttribute("width","0px"),n}});le({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(e,t){var r=e.parser,i=Ce(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:i,body:n}},htmlBuilder(e,t){var r=Ee(e.body,t),i=ot(e.dy,t);return Oe({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Q("mpadded",[He(e.body,t)]),i=e.dy.number+e.dy.unit;return r.setAttribute("voffset",i),r}});var o_=(e,t)=>{var r=e.parser;return{type:"reflectbox",mode:r.mode,body:t[0]}};le({type:"reflectbox",names:["\\reflectbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler:o_,htmlBuilder(e,t){return G(["mord","reflectbox"],[Ee(e.body,t)],t)},mathmlBuilder(e,t){return He(e.body,t)}});le({type:"reflectbox",names:["\\mathreflectbox"],numArgs:1,argTypes:["math"],handler:o_});le({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(e){var t=e.parser;return{type:"internal",mode:t.mode}}});le({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(e,t,r){var i=e.parser,n=r[0],o=Ce(t[0],"size"),a=Ce(t[1],"size");return{type:"rule",mode:i.mode,shift:n&&Ce(n,"size").value,width:o.value,height:a.value}},htmlBuilder(e,t){var r=G(["mord","katex-rule"],[],t),i=ot(e.width,t),n=ot(e.height,t),o=e.shift?ot(e.shift,t):0;return r.style.borderRightWidth=ie(i),r.style.borderTopWidth=ie(n),r.style.bottom=ie(o),r.width=i,r.height=n+o,r.depth=-o,r.maxFontSize=n*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ot(e.width,t),i=ot(e.height,t),n=e.shift?ot(e.shift,t):0,o=t.color&&t.getColor()||"black",a=new Q("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",ie(r)),a.setAttribute("height",ie(i));var s=new Q("mpadded",[a]);return n>=0?s.setAttribute("height",ie(n)):(s.setAttribute("height",ie(n)),s.setAttribute("depth",ie(-n))),s.setAttribute("voffset",ie(n)),s}});function a_(e,t,r){for(var i=$t(e,t,!1),n=t.sizeMultiplier/r.sizeMultiplier,o=0;o<i.length;o++){var a=i[o].classes.indexOf("katex-sizing");a<0?Array.prototype.push.apply(i[o].classes,t.sizingClasses(r)):i[o].classes[a+1]==="reset-size"+t.size&&(i[o].classes[a+1]="reset-size"+r.size),i[o].height*=n,i[o].depth*=n}return xn(i)}var fS=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],xF=(e,t)=>{var r=t.havingSize(e.size);return a_(e.body,r,t)};le({type:"sizing",names:fS,numArgs:0,allowedInText:!0,handler:(e,t)=>{var r=e.breakOnTokenText,i=e.funcName,n=e.parser,o=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:fS.indexOf(i)+1,body:o}},htmlBuilder:xF,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),i=hr(e.body,r),n=new Q("mstyle",i);return n.setAttribute("mathsize",ie(r.sizeMultiplier)),n}});le({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(e,t,r)=>{var i=e.parser,n=!1,o=!1,a=r[0]&&Ce(r[0],"ordgroup");if(a)for(var s,l=0;l<a.body.length;++l){var u=a.body[l];if(s=mm(u).text,s==="t")n=!0;else if(s==="b")o=!0;else{n=!1,o=!1;break}}else n=!0,o=!0;var c=t[0];return{type:"smash",mode:i.mode,body:c,smashHeight:n,smashDepth:o}},htmlBuilder:(e,t)=>{var r=G([],[Ee(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return G(["mord","katex-smash"],[r],t);if(r.children)for(var i=0;i<r.children.length;i++)e.smashHeight&&(r.children[i].height=0),e.smashDepth&&(r.children[i].depth=0);var n=Oe({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return G(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var r=new Q("mpadded",[He(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});le({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(e,t,r){var i=e.parser,n=r[0],o=t[0];return{type:"sqrt",mode:i.mode,body:o,index:n}},htmlBuilder(e,t){var r=Ee(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=ga(r,t);var i=t.fontMetrics(),n=i.defaultRuleThickness,o=n;t.style.id<_e.TEXT.id&&(o=t.fontMetrics().xHeight);var a=n+o/4,s=r.height+r.depth+a+n,l=tF(s,t),u=l.span,c=l.ruleWidth,f=l.advanceWidth,d=u.height-c;d>r.height+r.depth+a&&(a=(a+d-r.height-r.depth)/2);var m=u.height-r.height-a-c;r.style.paddingLeft=ie(f);var h=Oe({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:u},{type:"kern",size:c}]});if(e.index){var v=t.havingStyle(_e.SCRIPTSCRIPT),y=Ee(e.index,v,t),b=.6*(h.height-h.depth),w=Oe({positionType:"shift",positionData:-b,children:[{type:"elem",elem:y}]}),$=G(["katex-root"],[w]);return G(["mord","sqrt"],[$,h],t)}else return G(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var r=e.body,i=e.index;return i?new Q("mroot",[He(r,t),He(i,t)]):new Q("msqrt",[He(r,t)])}});var u6={display:_e.DISPLAY,text:_e.TEXT,script:_e.SCRIPT,scriptscript:_e.SCRIPTSCRIPT};function wF(e){return e in u6}le({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(e,t){var r=e.breakOnTokenText,i=e.funcName,n=e.parser,o=n.parseExpression(!0,r),a=i.slice(1,i.length-5);if(!wF(a))throw new Error("Unknown style: "+a);return{type:"styling",mode:n.mode,style:a,body:o}},htmlBuilder(e,t){var r=u6[e.style],i=t.havingStyle(r);return e.resetFont&&(i=i.withFont("")),a_(e.body,i,t)},mathmlBuilder(e,t){var r=u6[e.style],i=t.havingStyle(r);e.resetFont&&(i=i.withFont(""));var n=hr(e.body,i),o=new Q("mstyle",n),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var kF=function(t,r){var i=t.base;if(i)if(i.type==="op"){var n=i.limits&&(r.style.size===_e.DISPLAY.size||i.alwaysHandleSupSub);return n?n_:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===_e.DISPLAY.size||i.limits);return o?i_:null}else{if(i.type==="accent")return yn(i.base)?US:null;if(i.type==="horizBrace"){var a=!t.sub;return a===i.isOver?e_:null}else return null}else return null};Wi({type:"supsub",htmlBuilder(e,t){var r=kF(e,t);if(r)return r(e,t);var i=e.base,n=e.sup,o=e.sub,a=Ee(i,t),s,l,u=t.fontMetrics(),c=0,f=0,d=i&&yn(i);if(n){var m=t.havingStyle(t.style.sup());s=Ee(n,m,t),d||(c=a.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(o){var h=t.havingStyle(t.style.sub());l=Ee(o,h,t),d||(f=a.depth+h.fontMetrics().subDrop*h.sizeMultiplier/t.sizeMultiplier)}var v;t.style===_e.DISPLAY?v=u.sup1:t.style.cramped?v=u.sup3:v=u.sup2;var y=t.sizeMultiplier,b=ie(.5/u.ptPerEm/y),w=null;if(l){var $=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(a instanceof Jt||$){var z;w=ie(-((z=a.italic)!=null?z:0))}}var M;if(s&&l){c=Math.max(c,v,s.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var S=u.defaultRuleThickness,C=4*S;if(c-s.depth-(l.height-f)<C){f=C-(c-s.depth)+l.height;var D=.8*u.xHeight-(c-s.depth);D>0&&(c+=D,f-=D)}var j=[{type:"elem",elem:l,shift:f,marginRight:b,marginLeft:w},{type:"elem",elem:s,shift:-c,marginRight:b}];M=Oe({positionType:"individualShift",children:j})}else if(l){f=Math.max(f,u.sub1,l.height-.8*u.xHeight);var E=[{type:"elem",elem:l,marginLeft:w,marginRight:b}];M=Oe({positionType:"shift",positionData:f,children:E})}else if(s)c=Math.max(c,v,s.depth+.25*u.xHeight),M=Oe({positionType:"shift",positionData:-c,children:[{type:"elem",elem:s,marginRight:b}]});else throw new Error("supsub must have either sup or sub.");var ne=i6(a,"right")||"mord";return G([ne],[a,G(["msupsub"],[M])],t)},mathmlBuilder(e,t){var r=!1,i,n;e.base&&e.base.type==="horizBrace"&&(n=!!e.sup,n===e.base.isOver&&(r=!0,i=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var o=[He(e.base,t)];e.sub&&o.push(He(e.sub,t)),e.sup&&o.push(He(e.sup,t));var a;if(r)a=i?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===_e.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===_e.DISPLAY||u.limits)?a="munderover":a="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===_e.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===_e.DISPLAY)?a="munder":a="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===_e.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===_e.DISPLAY)?a="mover":a="msup"}return new Q(a,o)}});Wi({type:"atom",htmlBuilder(e,t){return g6(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new Q("mo",[_r(e.text,e.mode)]);if(e.family==="bin"){var i=b6(e,t);i==="bold-italic"&&r.setAttribute("mathvariant",i)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var s_={mi:"italic",mn:"normal",mtext:"normal"};Wi({type:"mathord",htmlBuilder(e,t){return um(e,t)},mathmlBuilder(e,t){var r=new Q("mi",[_r(e.text,e.mode,t)]),i=b6(e,t)||"italic";return i!==s_[r.type]&&r.setAttribute("mathvariant",i),r}});Wi({type:"textord",htmlBuilder(e,t){return um(e,t)},mathmlBuilder(e,t){var r=_r(e.text,e.mode,t),i=b6(e,t)||"normal",n;return e.mode==="text"?n=new Q("mtext",[r]):/[0-9]/.test(e.text)?n=new Q("mn",[r]):e.text==="\\prime"?n=new Q("mo",[r]):n=new Q("mi",[r]),i!==s_[n.type]&&n.setAttribute("mathvariant",i),n}});var mS=new Map([["\\nobreak","nobreak"],["\\allowbreak","allowbreak"]]),dS=new Map([[" ",{}],["\\ ",{}],["~",{className:"nobreak"}],["\\space",{}],["\\nobreakspace",{className:"nobreak"}]]);Wi({type:"spacing",htmlBuilder(e,t){var r=dS.get(e.text),i=mS.get(e.text);if(r){var n=r.className||"";if(e.mode==="text"){var o=um(e,t);return o.classes.push(n),o}else return G(["mspace",n],[g6(e.text,e.mode,t)],t)}else{if(i)return G(["mspace",i],[],t);throw new X('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(dS.has(e.text))r=new Q("mtext",[new ct("\xA0")]);else{if(mS.has(e.text))return new Q("mspace");throw new X('Unknown type of space "'+e.text+'"')}return r}});var pS=()=>{var e=new Q("mtd",[]);return e.setAttribute("width","50%"),e};Wi({type:"tag",mathmlBuilder(e,t){var r=new Q("mtable",[new Q("mtr",[pS(),new Q("mtd",[si(e.body,t)]),pS(),new Q("mtd",[si(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var hS={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},gS={"\\textbf":"textbf","\\textmd":"textmd"},$F={"\\textit":"textit","\\textup":"textup"},vS=(e,t)=>{var r=e.font;if(r){if(hS[r])return t.withTextFontFamily(hS[r]);if(gS[r])return t.withTextFontWeight(gS[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape($F[r])};le({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(e,t){var r=e.parser,i=e.funcName,n=t[0];return{type:"text",mode:r.mode,body:gt(n),font:i}},htmlBuilder(e,t){var r=vS(e,t),i=$t(e.body,r,!0);return G(["mord","text"],i,r)},mathmlBuilder(e,t){var r=vS(e,t);return si(e.body,r)}});le({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler(e,t){var r=e.parser;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ee(e.body,t),i=ha("underline-line",t),n=t.fontMetrics().defaultRuleThickness,o=Oe({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:i},{type:"kern",size:3*n},{type:"elem",elem:r}]});return G(["mord","katex-underline"],[o],t)},mathmlBuilder(e,t){var r=new Q("mo",[new ct("\u203E")]);r.setAttribute("stretchy","true");var i=new Q("munder",[He(e.body,t),r]);return i.setAttribute("accentunder","true"),i}});le({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler(e,t){var r=e.parser;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ee(e.body,t),i=t.fontMetrics().axisHeight,n=.5*(r.height-i-(r.depth+i));return Oe({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Q("mpadded",[He(e.body,t)],["vcenter"]);return new Q("mrow",[r])}});le({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(e,t,r){throw new X("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=yS(e),i=[],n=t.havingStyle(t.style.text()),o=0;o<r.length;o++){var a=r[o];a==="~"&&(a="\\textasciitilde"),i.push(Ht(a,"Typewriter-Regular",e.mode,n,["mord","texttt"]))}return G(["mord","text"].concat(n.sizingClasses(t)),TS(i),n)},mathmlBuilder(e,t){var r=new ct(yS(e)),i=new Q("mtext",[r]);return i.setAttribute("mathvariant","monospace"),i}});var yS=e=>e.body.replace(/ /g,e.star?"\u2423":"\xA0"),ri=ES,l_=`[ \r
501
+ ]`,SF="\\\\[a-zA-Z@]+",_F="\\\\[^\uD800-\uDFFF]",IF="("+SF+")"+l_+"*",zF=`\\\\(
502
+ |[ \r ]+
503
+ ?)[ \r ]*`,c6="[\u0300-\u036F]",AF=new RegExp(c6+"+$"),TF="("+l_+"+)|"+(zF+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(c6+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(c6+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+IF)+("|"+_F+")"),am=class{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(TF,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new dr("EOF",new sr(this,r,r));var i=this.tokenRegex.exec(t);if(i===null||i.index!==r)throw new X("Unexpected character: '"+t[r]+"'",new dr(t[r],new sr(this,r,r+1)));var n=i[6]||i[3]||(i[2]?"\\ ":" ");if(this.catcodes[n]===14){var o=t.indexOf(`
504
+ `,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=t.length,lr({strict:this.settings.strict,errorCode:"commentAtEnd",errorMsg:"% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)",report:!0})):this.tokenRegex.lastIndex=o+1,this.lex()}return new dr(n,new sr(this,r,this.tokenRegex.lastIndex))}},f6=class{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new X("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r of Object.keys(t))t[r]===void 0?delete this.current[r]:this.current[r]=t[r]}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return Object.prototype.hasOwnProperty.call(this.current,t)||Object.prototype.hasOwnProperty.call(this.builtins,t)}get(t){return Object.prototype.hasOwnProperty.call(this.current,t)?this.current[t]:Object.prototype.hasOwnProperty.call(this.builtins,t)?this.builtins[t]:void 0}set(t,r,i){if(i===void 0&&(i=!1),i){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var o=this.undefStack[this.undefStack.length-1];o&&!Object.prototype.hasOwnProperty.call(o,t)&&(o[t]=Object.prototype.hasOwnProperty.call(this.current,t)?this.current[t]:void 0)}r==null?delete this.current[t]:this.current[t]=r}},CF=YS;k("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});k("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});k("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});k("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});k("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});k("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");k("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var bS={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};k("\\char",function(e){var t=e.popToken(),r,i=0;if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")i=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new X("\\char` missing argument");i=t.text.charCodeAt(0)}else r=10;if(r){if(i=bS[t.text],i==null||i>=r)throw new X("Invalid base-"+r+" digit "+t.text);for(var n;(n=bS[e.future().text])!=null&&n<r;)i*=r,i+=n,e.popToken()}return"\\@char{"+i+"}"});var S6=(e,t,r,i)=>{var n=e.consumeArg().tokens;if(n.length!==1)throw new X("\\newcommand's first argument must be a macro name");var o=n[0].text,a=e.isDefined(o);if(a&&!t)throw new X("\\newcommand{"+o+"} attempting to redefine "+(o+"; use \\renewcommand"));if(!a&&!r)throw new X("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var s=0;if(n=e.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var l="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)l+=u.text,u=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new X("Invalid number of arguments: "+l);s=parseInt(l),n=e.consumeArg().tokens}return a&&i||e.macros.set(o,{tokens:n,numArgs:s}),""};k("\\newcommand",e=>S6(e,!1,!0,!1));k("\\renewcommand",e=>S6(e,!0,!1,!1));k("\\providecommand",e=>S6(e,!0,!0,!0));k("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});k("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});k("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),ri[r],Qe.math[r],Qe.text[r]),""});k("\\bgroup","{");k("\\egroup","}");k("~","\\nobreakspace");k("\\lq","`");k("\\rq","'");k("\\aa","\\r a");k("\\AA","\\r A");k("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");k("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");k("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");k("\u212C","\\mathscr{B}");k("\u2130","\\mathscr{E}");k("\u2131","\\mathscr{F}");k("\u210B","\\mathscr{H}");k("\u2110","\\mathscr{I}");k("\u2112","\\mathscr{L}");k("\u2133","\\mathscr{M}");k("\u211B","\\mathscr{R}");k("\u212D","\\mathfrak{C}");k("\u210C","\\mathfrak{H}");k("\u2128","\\mathfrak{Z}");k("\\Bbbk","\\Bbb{k}");k("\\llap","\\mathllap{\\textrm{#1}}");k("\\rlap","\\mathrlap{\\textrm{#1}}");k("\\clap","\\mathclap{\\textrm{#1}}");k("\\mathstrut","\\vphantom{(}");k("\\underbar","\\underline{\\text{#1}}");k("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');k("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");k("\\ne","\\neq");k("\u2260","\\neq");k("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");k("\u2209","\\notin");k("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");k("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");k("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");k("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");k("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");k("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");k("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");k("\u27C2","\\perp");k("\u203C","\\mathclose{!\\mkern-0.8mu!}");k("\u220C","\\notni");k("\u231C","\\ulcorner");k("\u231D","\\urcorner");k("\u231E","\\llcorner");k("\u231F","\\lrcorner");k("\xA9","\\copyright");k("\xAE","\\textregistered");k("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');k("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');k("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');k("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');k("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");k("\u22EE","\\vdots");k("\\varGamma","\\mathit{\\Gamma}");k("\\varDelta","\\mathit{\\Delta}");k("\\varTheta","\\mathit{\\Theta}");k("\\varLambda","\\mathit{\\Lambda}");k("\\varXi","\\mathit{\\Xi}");k("\\varPi","\\mathit{\\Pi}");k("\\varSigma","\\mathit{\\Sigma}");k("\\varUpsilon","\\mathit{\\Upsilon}");k("\\varPhi","\\mathit{\\Phi}");k("\\varPsi","\\mathit{\\Psi}");k("\\varOmega","\\mathit{\\Omega}");k("\\substack","\\begin{subarray}{c}#1\\end{subarray}");k("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");k("\\boxed","\\fbox{$\\displaystyle{#1}$}");k("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");k("\\implies","\\DOTSB\\;\\Longrightarrow\\;");k("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");k("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");k("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var xS={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},DF=new Set(["bin","rel"]);k("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in xS?t=xS[r]:(r.slice(0,4)==="\\not"||r in Qe.math&&DF.has(Qe.math[r].group))&&(t="\\dotsb"),t});var _6={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};k("\\dotso",function(e){var t=e.future().text;return t in _6?"\\ldots\\,":"\\ldots"});k("\\dotsc",function(e){var t=e.future().text;return t in _6&&t!==","?"\\ldots\\,":"\\ldots"});k("\\cdots",function(e){var t=e.future().text;return t in _6?"\\@cdots\\,":"\\@cdots"});k("\\dotsb","\\cdots");k("\\dotsm","\\cdots");k("\\dotsi","\\!\\cdots");k("\\dotsx","\\ldots\\,");k("\\DOTSI","\\relax");k("\\DOTSB","\\relax");k("\\DOTSX","\\relax");k("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");k("\\,","\\tmspace+{3mu}{.1667em}");k("\\thinspace","\\,");k("\\>","\\mskip{4mu}");k("\\:","\\tmspace+{4mu}{.2222em}");k("\\medspace","\\:");k("\\;","\\tmspace+{5mu}{.2777em}");k("\\thickspace","\\;");k("\\!","\\tmspace-{3mu}{.1667em}");k("\\negthinspace","\\!");k("\\negmedspace","\\tmspace-{4mu}{.2222em}");k("\\negthickspace","\\tmspace-{5mu}{.277em}");k("\\enspace","\\kern.5em ");k("\\enskip","\\hskip.5em\\relax");k("\\quad","\\hskip1em\\relax");k("\\qquad","\\hskip2em\\relax");k("\\tag","\\@ifstar\\tag@literal\\tag@paren");k("\\tag@paren","\\tag@literal{({#1})}");k("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new X("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});k("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");k("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");k("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");k("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");k("\\newline","\\\\\\relax");k("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var u_=ie(Jr["Main-Regular"][84][1]-.7*Jr["Main-Regular"][65][1]);k("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+u_+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");k("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+u_+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");k("\\hspace","\\@ifstar\\@hspacer\\@hspace");k("\\@hspace","\\hskip #1\\relax");k("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");k("\\ordinarycolon",":");k("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");k("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');k("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');k("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');k("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');k("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');k("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');k("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');k("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');k("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');k("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');k("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');k("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');k("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');k("\u2237","\\dblcolon");k("\u2239","\\eqcolon");k("\u2254","\\coloneqq");k("\u2255","\\eqqcolon");k("\u2A74","\\Coloneqq");k("\\ratio","\\vcentcolon");k("\\coloncolon","\\dblcolon");k("\\colonequals","\\coloneqq");k("\\coloncolonequals","\\Coloneqq");k("\\equalscolon","\\eqqcolon");k("\\equalscoloncolon","\\Eqqcolon");k("\\colonminus","\\coloneq");k("\\coloncolonminus","\\Coloneq");k("\\minuscolon","\\eqcolon");k("\\minuscoloncolon","\\Eqcolon");k("\\coloncolonapprox","\\Colonapprox");k("\\coloncolonsim","\\Colonsim");k("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");k("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");k("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");k("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");k("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");k("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");k("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");k("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");k("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");k("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");k("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");k("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");k("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");k("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");k("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");k("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");k("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");k("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");k("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");k("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");k("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");k("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");k("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");k("\\imath","\\html@mathml{\\@imath}{\u0131}");k("\\jmath","\\html@mathml{\\@jmath}{\u0237}");k("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");k("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");k("\u27E6","\\llbracket");k("\u27E7","\\rrbracket");k("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");k("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");k("\u21A4","\\mapsfrom");k("\\mapsfrom","\\html@mathml{\\mathrel{\\mathreflectbox{\\mapsto}}}{\\mathrel{\\char`\u21A4}}");k("\u2983","\\lBrace");k("\u2984","\\rBrace");k("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");k("\u29B5","\\minuso");k("\\darr","\\downarrow");k("\\dArr","\\Downarrow");k("\\Darr","\\Downarrow");k("\\lang","\\langle");k("\\rang","\\rangle");k("\\uarr","\\uparrow");k("\\uArr","\\Uparrow");k("\\Uarr","\\Uparrow");k("\\N","\\mathbb{N}");k("\\R","\\mathbb{R}");k("\\Z","\\mathbb{Z}");k("\\alef","\\aleph");k("\\alefsym","\\aleph");k("\\Alpha","\\mathrm{A}");k("\\Beta","\\mathrm{B}");k("\\bull","\\bullet");k("\\Chi","\\mathrm{X}");k("\\clubs","\\clubsuit");k("\\cnums","\\mathbb{C}");k("\\Complex","\\mathbb{C}");k("\\Dagger","\\ddagger");k("\\diamonds","\\diamondsuit");k("\\empty","\\emptyset");k("\\Epsilon","\\mathrm{E}");k("\\Eta","\\mathrm{H}");k("\\exist","\\exists");k("\\harr","\\leftrightarrow");k("\\hArr","\\Leftrightarrow");k("\\Harr","\\Leftrightarrow");k("\\hearts","\\heartsuit");k("\\image","\\Im");k("\\infin","\\infty");k("\\Iota","\\mathrm{I}");k("\\isin","\\in");k("\\Kappa","\\mathrm{K}");k("\\larr","\\leftarrow");k("\\lArr","\\Leftarrow");k("\\Larr","\\Leftarrow");k("\\lrarr","\\leftrightarrow");k("\\lrArr","\\Leftrightarrow");k("\\Lrarr","\\Leftrightarrow");k("\\Mu","\\mathrm{M}");k("\\natnums","\\mathbb{N}");k("\\Nu","\\mathrm{N}");k("\\Omicron","\\mathrm{O}");k("\\plusmn","\\pm");k("\\rarr","\\rightarrow");k("\\rArr","\\Rightarrow");k("\\Rarr","\\Rightarrow");k("\\real","\\Re");k("\\reals","\\mathbb{R}");k("\\Reals","\\mathbb{R}");k("\\Rho","\\mathrm{P}");k("\\sdot","\\cdot");k("\\sect","\\S");k("\\spades","\\spadesuit");k("\\sub","\\subset");k("\\sube","\\subseteq");k("\\supe","\\supseteq");k("\\Tau","\\mathrm{T}");k("\\thetasym","\\vartheta");k("\\weierp","\\wp");k("\\Zeta","\\mathrm{Z}");k("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");k("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");k("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");k("\\bra","\\mathinner{\\langle{#1}|}");k("\\ket","\\mathinner{|{#1}\\rangle}");k("\\braket","\\mathinner{\\langle{#1}\\rangle}");k("\\Bra","\\left\\langle#1\\right|");k("\\Ket","\\left|#1\\right\\rangle");var c_=e=>t=>{var r=t.consumeArg().tokens,i=t.consumeArg().tokens,n=t.consumeArg().tokens,o=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=f=>d=>{e&&(d.macros.set("|",a),n.length&&d.macros.set("\\|",s));var m=f;if(!f&&n.length){var h=d.future();h.text==="|"&&(d.popToken(),m=!0)}return{tokens:m?n:i,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...o,...u,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};k("\\bra@ket",c_(!1));k("\\bra@set",c_(!0));k("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");k("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");k("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");k("\\angln","{\\angl n}");k("\\blue","\\textcolor{##6495ed}{#1}");k("\\orange","\\textcolor{##ffa500}{#1}");k("\\pink","\\textcolor{##ff00af}{#1}");k("\\red","\\textcolor{##df0030}{#1}");k("\\green","\\textcolor{##28ae7b}{#1}");k("\\gray","\\textcolor{gray}{#1}");k("\\purple","\\textcolor{##9d38bd}{#1}");k("\\blueA","\\textcolor{##ccfaff}{#1}");k("\\blueB","\\textcolor{##80f6ff}{#1}");k("\\blueC","\\textcolor{##63d9ea}{#1}");k("\\blueD","\\textcolor{##11accd}{#1}");k("\\blueE","\\textcolor{##0c7f99}{#1}");k("\\tealA","\\textcolor{##94fff5}{#1}");k("\\tealB","\\textcolor{##26edd5}{#1}");k("\\tealC","\\textcolor{##01d1c1}{#1}");k("\\tealD","\\textcolor{##01a995}{#1}");k("\\tealE","\\textcolor{##208170}{#1}");k("\\greenA","\\textcolor{##b6ffb0}{#1}");k("\\greenB","\\textcolor{##8af281}{#1}");k("\\greenC","\\textcolor{##74cf70}{#1}");k("\\greenD","\\textcolor{##1fab54}{#1}");k("\\greenE","\\textcolor{##0d923f}{#1}");k("\\goldA","\\textcolor{##ffd0a9}{#1}");k("\\goldB","\\textcolor{##ffbb71}{#1}");k("\\goldC","\\textcolor{##ff9c39}{#1}");k("\\goldD","\\textcolor{##e07d10}{#1}");k("\\goldE","\\textcolor{##a75a05}{#1}");k("\\redA","\\textcolor{##fca9a9}{#1}");k("\\redB","\\textcolor{##ff8482}{#1}");k("\\redC","\\textcolor{##f9685d}{#1}");k("\\redD","\\textcolor{##e84d39}{#1}");k("\\redE","\\textcolor{##bc2612}{#1}");k("\\maroonA","\\textcolor{##ffbde0}{#1}");k("\\maroonB","\\textcolor{##ff92c6}{#1}");k("\\maroonC","\\textcolor{##ed5fa6}{#1}");k("\\maroonD","\\textcolor{##ca337c}{#1}");k("\\maroonE","\\textcolor{##9e034e}{#1}");k("\\purpleA","\\textcolor{##ddd7ff}{#1}");k("\\purpleB","\\textcolor{##c6b9fc}{#1}");k("\\purpleC","\\textcolor{##aa87ff}{#1}");k("\\purpleD","\\textcolor{##7854ab}{#1}");k("\\purpleE","\\textcolor{##543b78}{#1}");k("\\mintA","\\textcolor{##f5f9e8}{#1}");k("\\mintB","\\textcolor{##edf2df}{#1}");k("\\mintC","\\textcolor{##e0e5cc}{#1}");k("\\grayA","\\textcolor{##f6f7f7}{#1}");k("\\grayB","\\textcolor{##f0f1f2}{#1}");k("\\grayC","\\textcolor{##e3e5e6}{#1}");k("\\grayD","\\textcolor{##d6d8da}{#1}");k("\\grayE","\\textcolor{##babec2}{#1}");k("\\grayF","\\textcolor{##888d93}{#1}");k("\\grayG","\\textcolor{##626569}{#1}");k("\\grayH","\\textcolor{##3b3e40}{#1}");k("\\grayI","\\textcolor{##21242c}{#1}");k("\\kaBlue","\\textcolor{##314453}{#1}");k("\\kaGreen","\\textcolor{##71B307}{#1}");var f_={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},m6=class{constructor(t,r,i){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new f6(CF,r.macros),this.mode=i,this.stack=[]}feed(t){this.lexer=new am(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,i,n;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken();var o=this.consumeArg(["]"]);n=o.tokens,i=o.end}else{var a=this.consumeArg();n=a.tokens,r=a.start,i=a.end}return this.pushToken(new dr("EOF",i.loc)),this.pushTokens(n),new dr("",sr.range(r,i))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],i=t&&t.length>0;i||this.consumeSpaces();var n=this.future(),o,a=0,s=0;do{if(o=this.popToken(),r.push(o),o.text==="{")++a;else if(o.text==="}"){if(--a,a===-1)throw new X("Extra }",o)}else if(o.text==="EOF")throw new X("Unexpected end of input in a macro argument, expected '"+(t&&i?t[s]:"}")+"'",o);if(t&&i)if((a===0||a===1&&t[s]==="{")&&o.text===t[s]){if(++s,s===t.length){r.splice(-s,s);break}}else s=0}while(a!==0||i);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:o}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new X("The length of delimiters doesn't match the number of args!");for(var i=r[0],n=0;n<i.length;n++){var o=this.popToken();if(i[n]!==o.text)throw new X("Use of the macro doesn't match its definition",o)}}for(var a=[],s=0;s<t;s++)a.push(this.consumeArg(r&&r[s+1]).tokens);return a}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new X("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),i=r.text,n=r.noexpand?null:this._getExpansion(i);if(n==null||t&&n.unexpandable){if(t&&n==null&&i[0]==="\\"&&!this.isDefined(i))throw new X("Undefined control sequence: "+i);return this.pushToken(r),!1}this.countExpansion(1);var o=n.tokens,a=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if(l.text==="#"){if(s===0)throw new X("Incomplete placeholder at end of macro body",l);if(l=o[--s],l.text==="#")o.splice(s+1,1);else if(/^[1-9]$/.test(l.text))o.splice(s,2,...a[+l.text-1]);else throw new X("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new dr(t)]):void 0}expandTokens(t){var r=[],i=this.stack.length;for(this.pushTokens(t);this.stack.length>i;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(i=>i.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var i=this.lexer.catcodes[t];if(i!=null&&i!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var o=0;if(n.includes("#"))for(var a=n.replace(/##/g,"");a.includes("#"+(o+1));)++o;for(var s=new am(n,this.settings),l=[],u=s.lex();u.text!=="EOF";)l.push(u),u=s.lex();l.reverse();var c={tokens:l,numArgs:o};return c}return n}isDefined(t){return this.macros.has(t)||Object.prototype.hasOwnProperty.call(ri,t)||Object.prototype.hasOwnProperty.call(Qe.math,t)||Object.prototype.hasOwnProperty.call(Qe.text,t)||Object.prototype.hasOwnProperty.call(f_,t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Object.prototype.hasOwnProperty.call(ri,t)&&!ri[t].primitive}},wS=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Qf=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Vb={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},kS={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},sm=class e{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new m6(t,r,this.mode),this.settings=r,this.leftrightDepth=0,this.nextToken=null}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new X("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new dr("}")),this.gullet.pushTokens(t);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(t,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(e.endOfExpression.has(n.text)||r&&n.text===r||t&&ri[n.text]&&ri[n.text].infix)break;var o=this.parseAtom(r);if(o){if(o.type==="internal")continue}else break;i.push(o)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(t){for(var r=-1,i,n=0;n<t.length;n++){var o=t[n];if(o.type==="infix"){if(r!==-1)throw new X("only one infix operator per group",o.token);r=n,i=o.replaceWith}}if(r!==-1&&i){var a,s,l=t.slice(0,r),u=t.slice(r+1);l.length===1&&l[0].type==="ordgroup"?a=l[0]:a={type:"ordgroup",mode:this.mode,body:l},u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u};var c;return i==="\\\\abovefrac"?c=this.callFunction(i,[a,t[r],s],[]):c=this.callFunction(i,[a,s],[]),[c]}else return t}handleSupSubscript(t){var r=this.fetch(),i=r.text;this.consume(),this.consumeSpaces();var n;do{var o;n=this.parseGroup(t)}while(((o=n)==null?void 0:o.type)==="internal");if(!n)throw new X("Expected group after '"+i+"'",r);return n}formatUnsupportedCmd(t){for(var r=[],i=0;i<t.length;i++)r.push({type:"textord",mode:"text",text:t[i]});var n={type:"text",mode:this.mode,body:r},o={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return o}parseAtom(t){var r=this.parseGroup("atom",t);if(r?.type==="internal"||this.mode==="text")return r;for(var i,n;;){this.consumeSpaces();var o=this.fetch();if(o.text==="\\limits"||o.text==="\\nolimits"){if(r&&r.type==="op")r.limits=o.text==="\\limits",r.alwaysHandleSupSub=!0;else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=o.text==="\\limits");else throw new X("Limit controls must follow a math operator",o);this.consume()}else if(o.text==="^"){if(i)throw new X("Double superscript",o);i=this.handleSupSubscript("superscript")}else if(o.text==="_"){if(n)throw new X("Double subscript",o);n=this.handleSupSubscript("subscript")}else if(o.text==="'"){if(i)throw new X("Double superscript",o);var a={type:"textord",mode:this.mode,text:"\\prime"},s=[a];for(this.consume();this.fetch().text==="'";)s.push(a),this.consume();this.fetch().text==="^"&&s.push(this.handleSupSubscript("superscript")),i={type:"ordgroup",mode:this.mode,body:s}}else if(Qf[o.text]){var l=wS.test(o.text),u=[];for(u.push(new dr(Qf[o.text])),this.consume();;){var c=this.fetch().text;if(!Qf[c]||wS.test(c)!==l)break;u.unshift(new dr(Qf[c])),this.consume()}var f=this.subparse(u);l?n={type:"ordgroup",mode:"math",body:f}:i={type:"ordgroup",mode:"math",body:f}}else break}return i&&n?{type:"supsub",mode:this.mode,base:r,sup:i,sub:n}:i?{type:"supsub",mode:this.mode,base:r,sup:i}:n?{type:"supsub",mode:this.mode,base:r,sub:n}:r}parseFunction(t,r){var i=this.fetch(),n=i.text,o=ri[n];if(!o)return null;if(this.consume(),r&&r!=="atom"&&!o.allowedInArgument)throw new X("Got function '"+n+"' with no arguments"+(r?" as "+r:""),i);if(this.mode==="text"&&!o.allowedInText)throw new X("Can't use function '"+n+"' in text mode",i);if(this.mode==="math"&&o.allowedInMath===!1)throw new X("Can't use function '"+n+"' in math mode",i);var a=this.parseArguments(n,o),s=a.args,l=a.optArgs;return this.callFunction(n,s,l,i,t)}callFunction(t,r,i,n,o){var a={funcName:t,parser:this,token:n,breakOnTokenText:o},s=ri[t];if(s&&s.handler)return s.handler(a,r,i);throw new X("No function handler for "+t)}parseArguments(t,r){var i,n=(i=r.numOptionalArgs)!=null?i:0,o=r.numArgs+n;if(o===0)return{args:[],optArgs:[]};for(var a=[],s=[],l=0;l<o;l++){var u,c=(u=r.argTypes)==null?void 0:u[l],f=l<n;("primitive"in r&&r.primitive&&c==null||r.type==="sqrt"&&l===1&&s[0]==null)&&(c="primitive");var d=this.parseGroupOfType("argument to '"+t+"'",c,f);if(f)s.push(d);else if(d!=null)a.push(d);else throw new X("Null argument, please report this as a bug")}return{args:a,optArgs:s}}parseGroupOfType(t,r,i){switch(r){case"color":return this.parseColorGroup(i);case"size":return this.parseSizeGroup(i);case"url":return this.parseUrlGroup(i);case"math":case"text":return this.parseArgumentGroup(i,r);case"hbox":{var n=this.parseArgumentGroup(i,"text");return n!=null?{type:"styling",mode:n.mode,body:[n],style:"text",resetFont:!0}:null}case"raw":{this.gullet.consumeSpaces();var o=this.gullet.lexer.catcodes["%"];this.gullet.lexer.setCatcode("%",12);var a=this.parseStringGroup(i);return this.gullet.lexer.setCatcode("%",o),a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(i)throw new X("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new X("Expected group as "+t,this.fetch());return s}case"original":case void 0:return this.parseArgumentGroup(i);default:throw new X("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t){var r=this.gullet.scanArgument(t);if(r==null)return null;for(var i="",n;(n=this.fetch()).text!=="EOF";)i+=n.text,this.consume();return this.consume(),r.text=i,r}parseRegexGroup(t,r){for(var i=this.fetch(),n=i,o="",a;(a=this.fetch()).text!=="EOF"&&t.test(o+a.text);)n=a,o+=n.text,this.consume();if(o==="")throw new X("Invalid "+r+": '"+i.text+"'",i);return i.range(n,o)}parseColorGroup(t){var r=this.parseStringGroup(t);if(r==null)return null;var i=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!i)throw new X("Invalid color: '"+r.text+"'",r);var n=i[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(t){var r,i=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup(t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",i=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!n)throw new X("Invalid size: '"+r.text+"'",r);var o={number:+(n[1]+n[2]),unit:n[3]};if(!SS(o))throw new X("Invalid unit: '"+o.unit+"'",r);return{type:"size",mode:this.mode,value:o,isBlank:i}}parseUrlGroup(t){var r=this.gullet.lexer.catcodes["%"],i=this.gullet.lexer.catcodes["~"];this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup(t);if(this.gullet.lexer.setCatcode("%",r),this.gullet.lexer.setCatcode("~",i),n==null)return null;var o=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:o}}parseArgumentGroup(t,r){var i=this.gullet.scanArgument(t);if(i==null)return null;var n=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:i.loc,body:o};return r&&this.switchMode(n),a}parseGroup(t,r){var i=this.fetch(),n=i.text,o;if(n==="{"||n==="\\begingroup"){this.consume();var a=n==="{"?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,a),l=this.fetch();this.expect(a),this.gullet.endGroup(),o={type:"ordgroup",mode:this.mode,loc:sr.range(i,l),body:s,semisimple:n==="\\begingroup"||void 0}}else if(o=this.parseFunction(r,t)||this.parseSymbol(),o==null&&n[0]==="\\"&&!Object.prototype.hasOwnProperty.call(f_,n)){if(this.settings.throwOnError)throw new X("Undefined control sequence: "+n,i);o=this.formatUnsupportedCmd(n),this.consume()}return o}formLigatures(t){for(var r=t.length-1,i=0;i<r;++i){var n=t[i];if(n.type==="textord"){var o=n.text,a=t[i+1];if(!(!a||a.type!=="textord")){if(o==="-"&&a.text==="-"){var s=t[i+2];i+1<r&&s&&s.type==="textord"&&s.text==="-"?(t.splice(i,3,{type:"textord",mode:"text",loc:sr.range(n,s),text:"---"}),r-=2):(t.splice(i,2,{type:"textord",mode:"text",loc:sr.range(n,a),text:"--"}),r-=1)}(o==="'"||o==="`")&&a.text===o&&(t.splice(i,2,{type:"textord",mode:"text",loc:sr.range(n,a),text:o+o}),r-=1)}}}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var i=r.slice(5),n=i.charAt(0)==="*";if(n&&(i=i.slice(1)),i.length<2||i.charAt(0)!==i.slice(-1))throw new X(`\\verb assertion failed --
505
+ please report what input caused this bug`);return i=i.slice(1,-1),{type:"verb",mode:"text",body:i,star:n}}Object.prototype.hasOwnProperty.call(kS,r[0])&&!Qe[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&lr({strict:this.settings.strict,errorCode:"unicodeTextInMathMode",errorMsg:'Accented Unicode text character "'+r[0]+'" used in math mode',report:!0,token:t}),r=kS[r[0]]+r.slice(1));var o=AF.exec(r);o&&(r=r.substring(0,o.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var a;if(Qe[this.mode][r]){this.settings.strict&&this.mode==="math"&&Wb.includes(r)&&lr({strict:this.settings.strict,errorCode:"unicodeTextInMathMode",errorMsg:'Latin-1/Unicode text character "'+r[0]+'" used in math mode',report:!0,token:t});var s=Qe[this.mode][r].group,l=sr.range(t),u;UR(s)?u={type:"atom",mode:this.mode,family:s,loc:l,text:r}:u={type:s,mode:this.mode,loc:l,text:r},a=u}else if(r.charCodeAt(0)>=128)this.settings.strict&&($S(r.charCodeAt(0))?this.mode==="math"&&lr({strict:this.settings.strict,errorCode:"unicodeTextInMathMode",errorMsg:'Unicode text character "'+r[0]+'" used in math mode',report:!0,token:t}):lr({strict:this.settings.strict,errorCode:"unknownSymbol",errorMsg:'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),report:!0,token:t})),a={type:"textord",mode:"text",loc:sr.range(t),text:r};else return null;if(this.consume(),o)for(var c=0;c<o[0].length;c++){var f=o[0][c];if(!Vb[f])throw new X("Unknown accent ' "+f+"'",t);var d=Vb[f][this.mode]||Vb[f].text;if(!d)throw new X("Accent "+f+" unsupported in "+this.mode+" mode",t);a={type:"accent",mode:this.mode,loc:sr.range(t),label:d,isStretchy:!1,isShifty:!0,base:a}}return a}};sm.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var I6=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var i=new sm(t,r);delete i.gullet.macros.current["\\df@tag"];var n=i.parse();if(delete i.gullet.macros.current["\\current@color"],delete i.gullet.macros.current["\\color"],i.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new X("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:i.subparse([new dr("\\df@tag")])}]}return n},m_=function(t,r,i){r.textContent="";var n=z6(t,i).toNode();r.appendChild(n)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),m_=function(){throw new X("KaTeX doesn't work in quirks mode.")});var NF=function(t,r){var i=z6(t,r).toMarkup();return i},EF=function(t,r){var i=new $l(r);return I6(t,i)},d_=function(t,r,i){if(i.throwOnError||!(t instanceof X))throw t;var n=G(["katex-error"],[new Jt(r)]);return n.setAttribute("title",t.toString()),n.setAttribute("style","color:"+i.errorColor),n},z6=function(t,r){var i=new $l(r);try{var n=I6(t,i);return TR(n,t,i)}catch(o){return d_(o,t,i)}},OF=function(t,r){var i=new $l(r);try{var n=I6(t,i);return CR(n,i)}catch(o){return d_(o,t,i)}},PF="0.19.1",LF={Span:oi,Anchor:pa,SymbolNode:Jt,SvgNode:Or,PathNode:Gr,LineNode:_l},A6={version:PF,render:m_,renderToString:NF,ParseError:X,SETTINGS_SCHEMA:Hb,__parse:EF,__renderToDomTree:z6,__renderToHTMLTree:OF,__setFontMetrics:cR,__defineSymbol:p,__defineFunction:le,__defineMacro:k,__domTree:LF};var h_={"\\ket":"\\left|#1\\right\\rangle","\\bra":"\\left\\langle#1\\right|","\\braket":"\\left\\langle#1\\middle|#2\\right\\rangle","\\ketbra":"\\left|#1\\right\\rangle\\!\\left\\langle#2\\right|","\\expval":"\\left\\langle#1\\right\\rangle","\\abs":"\\left|#1\\right|","\\norm":"\\left\\lVert#1\\right\\rVert","\\order":"\\mathcal{O}\\left(#1\\right)","\\dd":"\\mathrm{d}","\\dv":"\\frac{\\mathrm{d}#1}{\\mathrm{d}#2}","\\pdv":"\\frac{\\partial#1}{\\partial#2}","\\vb":"\\mathbf{#1}","\\grad":"\\nabla","\\curl":"\\nabla\\times","\\divergence":"\\nabla\\cdot","\\laplacian":"\\nabla^2","\\Tr":"\\operatorname{Tr}","\\tr":"\\operatorname{tr}","\\Re":"\\operatorname{Re}","\\Im":"\\operatorname{Im}","\\comm":"\\left[#1,#2\\right]","\\acomm":"\\left\\{#1,#2\\right\\}"},Dl=class extends Error{offset;constructor(t,r){super(t),this.offset=r}};function ui(e,t){try{return A6.renderToString(e,{displayMode:t,throwOnError:!0,strict:!1,trust:!1,maxSize:20,maxExpand:500,macros:{...h_},output:"htmlAndMathml"})}catch(r){if(r instanceof A6.ParseError){let i=r.message.replace(/^KaTeX parse error: /,"").replace(/ at position \d+:.*$/s,"");throw new Dl(i,r.position)}throw r}}function T6(e){return e.split(/(\$[^$]+\$)/).map(t=>t.length>2&&t.startsWith("$")&&t.endsWith("$")?ui(t.slice(1,-1),!1):at(t)).join("")}var at=e=>e.replace(/[&<>"']/g,t=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[t]),MF=/^\\(approx|simeq|sim|equiv|propto|to|rightarrow|longrightarrow|Rightarrow|implies|neq|ne|leq|le|geq|ge|ll|gg|cong|coloneqq|eqqcolon)(?![A-Za-z])/;function g_(e){let t=e.replace(/&/g,"");if(/\\\\/.test(t.replace(/\\begin\{([a-z]+\*?)\}[\s\S]*?\\end\{\1\}/g,"")))return null;let r=0;for(let i=0;i<t.length;i++){let n=t[i];if(n==="\\"){let o=t.slice(i);if(/^\\(left|begin)(?![A-Za-z])/.test(o))r++;else if(/^\\(right|end)(?![A-Za-z])/.test(o))r--;else if(r===0){let s=MF.exec(o);if(s)return p_(t,i,s[0])}let a=/^\\([A-Za-z]+|.)/.exec(o);i+=a?a[0].length-1:0;continue}if(n==="{")r++;else if(n==="}")r--;else if(r===0&&(n==="="||n==="<"||n===">"))return p_(t,i,n)}return null}function p_(e,t,r){let i=e.slice(0,t).trim(),n=e.slice(t+r.length).trim();return n?{lhs:i,rel:r,rhs:n}:null}var Pe=Math,v_={sin:Pe.sin,cos:Pe.cos,tan:Pe.tan,asin:Pe.asin,acos:Pe.acos,atan:Pe.atan,atan2:Pe.atan2,sinh:Pe.sinh,cosh:Pe.cosh,tanh:Pe.tanh,sech:e=>1/Pe.cosh(e),exp:Pe.exp,log:Pe.log,log10:Pe.log10,sqrt:Pe.sqrt,cbrt:Pe.cbrt,pow:Pe.pow,hypot:Pe.hypot,abs:Pe.abs,sign:Pe.sign,floor:Pe.floor,ceil:Pe.ceil,round:Pe.round,min:Pe.min,max:Pe.max,step:e=>e>=0?1:0,clamp:(e,t,r)=>Pe.min(Pe.max(e,t),r)},jF={atan2:2,pow:2,clamp:3},y_=new Set(["min","max","hypot"]),b_={pi:Pe.PI,e:Pe.E},ur=class extends Error{constructor(t,r){super(t),this.pos=r}};function UF(e){let t=[],r=/\s*(?:(\d+\.?\d*(?:[eE][+-]?\d+)?|\.\d+(?:[eE][+-]?\d+)?)|([A-Za-z_]\w*)|(<=|>=|==|!=|&&|\|\||[-+*/^()<>,!?:]))/y,i=0;for(;i<e.length&&!/^\s*$/.test(e.slice(i));){r.lastIndex=i;let n=r.exec(e);if(!n)throw new ur(`unexpected "${e.slice(i).trim()[0]}"`,i+(e.slice(i).length-e.slice(i).trimStart().length));let o=r.lastIndex-n[0].trimStart().length;n[1]!==void 0?t.push({t:"num",v:parseFloat(n[1]),pos:o}):n[2]!==void 0?t.push({t:"name",v:n[2],pos:o}):t.push({t:"op",v:n[3],pos:o}),i=r.lastIndex}return t.push({t:"end",pos:e.length}),t}var qF={"||":[1,(e,t)=>e||t?1:0],"&&":[2,(e,t)=>e&&t?1:0],"<":[3,(e,t)=>+(e<t)],">":[3,(e,t)=>+(e>t)],"<=":[3,(e,t)=>+(e<=t)],">=":[3,(e,t)=>+(e>=t)],"==":[3,(e,t)=>+(e===t)],"!=":[3,(e,t)=>+(e!==t)],"+":[4,(e,t)=>e+t],"-":[4,(e,t)=>e-t],"*":[5,(e,t)=>e*t],"/":[5,(e,t)=>e/t],"^":[7,Pe.pow]};function x_(e){let t=UF(String(e)),r=new Set,i=0,n=()=>t[i],o=m=>{let h=t[i];if(h.t!=="op"||h.v!==m)throw new ur(h.t==="end"?`missing "${m}"`:`expected "${m}"`,h.pos);i++};function a(){let m=t[i++];if(m.t==="num"){let h=m.v;return()=>h}if(m.t==="name"){if(n().t==="op"&&n().v==="("){let v=v_[m.v];if(!v)throw new ur(`unknown function "${m.v}"`,m.pos);i++;let y=[];if(!(n().t==="op"&&n().v===")"))do y.push(c());while(n().t==="op"&&n().v===","&&++i);o(")");let b=jF[m.v]??1;if(y_.has(m.v)?y.length<1:y.length!==b)throw new ur(`${m.v}() takes ${y_.has(m.v)?"at least 1 argument":b===1?"1 argument":`${b} arguments`}`,m.pos);if(y.length===1){let[w]=y;return $=>v(w($))}if(y.length===2){let[w,$]=y;return z=>v(w(z),$(z))}return w=>v(...y.map($=>$(w)))}if(m.v in b_){let v=b_[m.v];return()=>v}if(m.v in v_)throw new ur(`${m.v} is a function: write ${m.v}(\u2026)`,m.pos);r.add(m.v);let h=m.v;return v=>v[h]}if(m.t==="op"&&m.v==="("){let h=c();return o(")"),h}throw m.t==="end"?new ur("expression ends too early",m.pos):new ur(`unexpected "${m.v}"`,m.pos)}function s(){let m=n();if(m.t==="op"&&(m.v==="-"||m.v==="+"||m.v==="!")){i++;let h=s();return m.v==="-"?v=>-h(v):m.v==="!"?v=>h(v)?0:1:h}return l()}function l(){let m=a(),h=n();if(h.t==="op"&&h.v==="^"){i++;let y=s();return b=>Pe.pow(m(b),y(b))}let v=n();if(v.t==="num"||v.t==="name"||v.t==="op"&&v.v==="(")throw new ur("missing operator: write a*b, not a b",v.pos);return m}function u(m){let h=s();for(;;){let v=n(),y=v.t==="op"&&qF[v.v];if(!y||y[0]<m||v.v==="^")return h;i++;let b=u(y[0]+1),w=y[1],$=h;h=z=>w($(z),b(z))}}function c(){let m=u(1);if(n().t==="op"&&n().v==="?"){i++;let h=c();o(":");let v=c();return y=>m(y)?h(y):v(y)}return m}let f=c(),d=n();if(d.t!=="end")throw new ur(`unexpected "${d.v}"`,d.pos);return{names:r,fn:f}}function vm(e){if(!isFinite(e))return e>0?"\u221E":e<0?"\u2212\u221E":"\u2014";if(e===0)return"0";let t=Math.abs(e);if(t>=1e5||t<.001){let r=Math.floor(Math.log10(t)),i=+(e/10**r).toPrecision(3),n=String(r).replace(/[-0-9]/g,o=>"\u207B\u2070\xB9\xB2\xB3\u2074\u2075\u2076\u2077\u2078\u2079"["-0123456789".indexOf(o)]);return`${i===1?"":i===-1?"\u2212":String(i).replace("-","\u2212")+"\xD7"}10${n}`}return String(+e.toPrecision(4)).replace("-","\u2212")}var C6=1e3;function w_(e,t){let r=t.scale==="log"?Math.log(e/t.min)/Math.log(t.max/t.min):(e-t.min)/(t.max-t.min);return Math.round(Math.min(1,Math.max(0,r))*C6)}var RF="alpha beta gamma delta epsilon zeta eta theta iota kappa lambda mu nu xi pi rho sigma tau upsilon phi chi psi omega Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega".split(" ");function k_(e){let t=/^([A-Za-z]+?)_?(\d+|_[A-Za-z0-9]+)?$/.exec(e),[r,i]=t?[t[1],t[2]?.replace(/^_/,"")]:[e,void 0],n=RF.includes(r)?`\\${r}`:r.length>1?`\\mathrm{${r}}`:r;return i?`${n}_{${i}}`:n}function $_(e,t){return e.length?`<div class="up-controls">${e.map(r=>{let i=t[r];return`<label class="up-ctl"><span class="up-ctl-k">${i.label?T6(i.label):ui(k_(r),!1)}</span><input type="range" min="0" max="${C6}" step="1" value="${w_(i.value,i)}" data-param="${at(r)}" aria-label="${at(i.label?.replace(/\$/g,"")??r)}"><output>${vm(i.value)}</output>${i.unit?`<span class="up-ctl-u">${at(i.unit)}</span>`:""}</label>`}).join("")}</div>`:""}var S_=1e5,O6=["Astrophysics","Condensed matter","Cosmology","Fluids","Mathematical physics","Nuclear & hadron","Particle physics","Quantum foundations","Quantum gravity","Statistical physics","Atomic & optical","Biological physics","Plasma physics","Other"];var wn={title:{tutorial:"What the reader will understand by the end",perspective:"The view you are arguing for",problem:"The open question, in one line"},summary:"One or two sentences, shown in lists."},__=12,ym={proven:"Proven",derived:"Derived",numerical:"Numerical",conjectured:"Conjecture"},D6=["derivation","claim","aside","define","exercise","solution","figure","row","steps","step"],I_=3e4,FF=Je.object({value:Je.number(),min:Je.number(),max:Je.number(),step:Je.number().positive().optional(),scale:Je.enum(["linear","log"]).default("linear"),label:Je.string().max(80).optional(),unit:Je.string().max(24).optional()}).strict().refine(e=>e.min<e.max,{message:"min must be smaller than max"}).refine(e=>e.value>=e.min&&e.value<=e.max,{message:"value must lie between min and max"}).refine(e=>e.scale!=="log"||e.min>0,{message:"a log-scaled parameter needs min > 0"}),z_=Je.object({id:Je.number().int().positive().optional(),title:Je.string().trim().min(1).max(140).optional(),kind:Je.enum(["tutorial","perspective","profile","problem"]).optional(),field:Je.enum(O6,{error:`field is one of: ${O6.join(", ")}`}).optional(),track:Je.enum(["prove","explain","compute"],{error:"track is prove (a proof settles it), explain (needs a new mechanism) or compute (a number to pin down)"}).optional(),problems:Je.array(Je.string()).max(5).default([]),summary:Je.string().trim().min(1).max(280).optional(),provenance:Je.enum(["human","assisted","agent"]).optional(),license:Je.enum(["CC-BY-4.0","CC-BY-SA-4.0","CC0-1.0"]).default("CC-BY-4.0"),lang:Je.string().regex(/^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$/,"use a language tag such as en or zh-Hans").optional(),params:Je.record(Je.string().regex(/^[A-Za-z][A-Za-z0-9_]{0,15}$/,"parameter names are letters, digits and _"),FF).default({})}).strict().superRefine((e,t)=>{for(let r of["x","y","t","pi","e"])r in e.params&&t.addIssue({code:"custom",path:["params",r],message:"x, y and t are figure variables and pi, e are constants: pick another name"})}),BF=Mm().use(iu).use(Iu).use(gu).use(vu).use(Su);function Nl(e,t){let r=[],i=(V,U)=>r.push({severity:"error",line:V,message:U}),n=(V,U)=>r.push({severity:"warning",line:V,message:U}),o={problems:[],license:"CC-BY-4.0",lang:"",params:{}},a=[],s=[],l=(V,U,te,oe)=>(r.sort((J,ke)=>J.line-ke.line||(J.severity==="error"?-1:1)),{ok:!r.some(J=>J.severity==="error"),meta:V,html:U,excerpt:te,text:oe,diagnostics:r,refs:a,quality:s});if(e.length>S_)return i(1,`the document is ${e.length.toLocaleString("en")} characters; the limit is ${S_.toLocaleString("en")}`),l(o,"","","");let u=e.split(`
506
+ `),c=BF.parse(e),f={...o},d=V=>1,m=new Set,h=c.children[0]?.type==="yaml"?c.children.shift():null;if(h){let V=h.position.start.line,U=new E6.default.LineCounter,te=E6.default.parseDocument(h.value,{lineCounter:U,prettyErrors:!1}),oe=J=>{let ke=te.getIn(J,!0);return V+(ke?.range?U.linePos(ke.range[0]).line:1)};if(te.errors.length)return te.errors.forEach(J=>i(V+(J.linePos?.[0]?.line??1),`front matter: ${J.message.split(`
507
+ `)[0]}${/compact mappings|implicit keys/i.test(J.message)?` (a value with ": " in it needs quotes, e.g. title: 'Dark matter: what it is')`:""}`)),l(o,"","","");{let J=te.toJS()??{};for(let he of Object.keys(J))J[he]===null&&delete J[he];let ke=z_.safeParse(J);if(!ke.success){for(let he of ke.error.issues){let xe=he.path,Me=he.code==="unrecognized_keys"?`unknown key${he.keys.length>1?"s":""} ${he.keys.join(", ")}`:he.message;i(oe(xe),`front matter: ${xe.length?xe.join(".")+": ":""}${Me}`)}for(let he of ke.error.issues){let[xe,Me]=he.path;he.code==="unrecognized_keys"&&xe===void 0?he.keys.forEach(Ze=>delete J[Ze]):xe==="params"&&typeof Me=="string"&&J.params?delete J.params[Me]:xe!==void 0&&(delete J[xe],m.add(String(xe)))}ke=z_.safeParse(J)}ke.success&&(f={...ke.data,lang:ke.data.lang??""}),d=he=>oe(["params",he])}}let v=V=>{if(!h)return 1;let U=h.position.start.line,te=u.slice(U).findIndex(oe=>oe.startsWith(V+":"));return te<0?U:U+1+te};if(t.mode==="reply")for(let V of["title","kind","problems","summary","field","track"])(V==="problems"?f.problems.length:f[V]!==void 0)&&i(v(V),`front matter: a reply has no ${V}`);else{if(!f.kind&&!m.has("kind")&&i(v("kind"),"front matter: kind is required (tutorial, perspective, problem or profile)"),!f.provenance&&!m.has("provenance")&&i(v("provenance"),"front matter: provenance is required: human, assisted or agent"),f.kind!=="problem")for(let V of["field","track"])f[V]!==void 0&&i(v(V),`front matter: only a problem has a ${V}`);if(f.kind==="problem")!f.title&&!m.has("title")&&i(v("title"),"front matter: title is required: the open question, in one line"),!f.summary&&!m.has("summary")&&i(v("summary"),"front matter: summary is required: one or two sentences on why it matters"),!f.field&&!m.has("field")&&i(v("field"),`front matter: field is required (${O6.join(", ")})`),!f.track&&!m.has("track")&&i(v("track"),"front matter: track is required: prove, explain or compute"),f.problems.length&&i(v("problems"),"front matter: a problem is not attached to other problems"),f.title===wn.title.problem&&i(v("title"),"front matter: replace the template title with your own"),f.summary===wn.summary&&i(v("summary"),"front matter: replace the template summary with your own");else if(f.kind!=="profile"){!f.title&&!m.has("title")&&i(v("title"),"front matter: title is required"),!f.summary&&!m.has("summary")&&i(v("summary"),"front matter: summary is required: one or two sentences shown in lists"),f.problems.length||i(v("problems"),"front matter: problems needs at least one problem id, e.g. [ising-3d]"),Object.values(wn.title).includes(f.title??"")&&i(v("title"),"front matter: replace the template title with your own"),f.summary===wn.summary&&i(v("summary"),"front matter: replace the template summary with your own");for(let V of f.problems)t.problems&&!t.problems.has(V)&&i(v("problems"),`front matter: there is no problem "${V}"${N6(V,t.problems)}`)}else f.problems.length&&i(v("problems"),"front matter: a profile is not attached to problems")}let y=V=>V.position?.start.line??1,b=0;(function V(U){let te=U.children;for(let oe=0;oe<te.length;oe++){let J=te[oe];J.type==="textDirective"&&(te[oe]={type:"text",value:e.slice(J.position.start.offset,J.position.end.offset)}),oe>0&&te[oe].type==="text"&&te[oe-1].type==="text"&&(te[oe-1].value+=te[oe].value,te.splice(oe--,1))}for(let oe=0;oe<te.length;oe++){let J=te[oe];if(J.type==="html"){n(y(J),"raw HTML is not supported and was left out"),te.splice(oe--,1);continue}if(J.type==="leafDirective"&&i(y(J),`unknown block "::${J.name}"${N6(J.name,D6)}`),J.type==="containerDirective"){if(D6.includes(J.name)||i(y(J),`unknown block ":::${J.name}"${N6(J.name,D6)}`),J.name==="exercise"&&te[oe+1]?.type==="containerDirective"&&te[oe+1].name==="solution"){let ke=te.splice(oe+1,1)[0];J.solution=ke,V(ke)}else J.name==="solution"&&i(y(J),":::solution must directly follow an :::exercise");J.name==="figure"&&++b>__&&i(y(J),`at most ${__} figures per document`)}if(J.type==="link"||J.type==="image"||J.type==="definition"){let ke=J.url.trim();(J.type==="image"?/^https:\/\//i.test(ke):/^(https?:|mailto:|#|\/(?!\/))/i.test(ke)||!/^[a-z][a-z0-9+.-]*:/i.test(ke))||i(y(J),J.type==="image"?`images must use an https:// address (got "${ke.slice(0,60)}")`:`links may only use http, https or mailto (got "${ke.slice(0,60)}")`),J.type==="image"&&!J.alt&&n(y(J),"describe the image in its alt text: ![what it shows](\u2026)");let xe=/^https?:\/\/(?:www\.)?arxiv\.org\/abs\/([^?#\s]+)$/i.exec(ke)??/^https?:\/\/(?:dx\.)?doi\.org\/(10\.[^?#\s]+)$/i.exec(ke);xe&&a.push({kind:/arxiv/i.test(ke)?"arxiv":"doi",id:decodeURIComponent(xe[1]),line:y(J)})}if(J.type==="heading"&&J.depth===1&&n(y(J),"use ## for sections: the title is already the page heading"),J.type==="text"&&/arXiv:|doi:/i.test(J.value)&&U.type!=="link"){let ke=J.value.split(/(arXiv:(?:\d{4}\.\d{4,5}|[a-z-]+(?:\.[A-Z]{2})?\/\d{7})(?:v\d+)?|doi:10\.\d{4,9}\/[^\s,;)\]]*[^\s,;)\].])/i);if(ke.length>1){let he=y(J),xe=ke.filter(Boolean).map(Me=>{let Ze=/^arXiv:/i.test(Me),Ut=/^doi:/i.test(Me);if(!Ze&&!Ut)return{type:"text",value:Me};let pt=Me.slice(Ze?6:4);return a.push({kind:Ze?"arxiv":"doi",id:pt,line:he}),{type:"link",url:Ze?`https://arxiv.org/abs/${pt}`:`https://doi.org/${pt}`,children:[{type:"text",value:Me}]}});te.splice(oe,1,...xe),oe+=xe.length-1;continue}}"children"in J&&V(J)}})(c),c.children.length||i(h?h.position.start.line:1,"the document has no content");let w=0,$=0,z=0,M=new Set,S=new Map,C=V=>({type:"raw",value:V}),D=(V,U,te,oe={})=>({type:"element",tagName:V,properties:U?{className:U.split(" "),...oe}:oe,children:te});function j(V,U,te){try{return ui(V,U)}catch(oe){if(!(oe instanceof Dl))throw oe;let J=oe.offset===void 0?"":V.slice(0,oe.offset);return i(y(te)+(U?1:0)+(J.match(/\n/g)?.length??0),`TeX: ${oe.message}`),null}}let E=V=>D("code","up-tex-err",[{type:"text",value:V}]);function ne(V){let U=V.children[0];return U?.type==="paragraph"&&U.data?.directiveLabel?(V.children.shift(),U):null}function W(V,U){for(let te of Object.keys(V.attributes??{}))U.includes(te)||n(y(V),`:::${V.name} has no attribute "${te}"${U.length?` (allowed: ${U.join(", ")})`:""}`)}function Z(V,U){let te=ne(U),oe=[],J=[];for(let he of U.children)he.type==="math"?J.push({m:he,why:[]}):J.length?J.at(-1).why.push(he):oe.push(...V.all({type:"root",children:[he]}));J.length||i(y(U),"a :::derivation needs at least one $$ \u2026 $$ step"),J.forEach((he,xe)=>{xe>0&&!he.why.length&&n(y(he.m),`derivation step ${xe+1} has no explanation: add a sentence after it saying how it follows`)});let ke=J.map(({m:he,why:xe})=>{let Me=g_(he.value),Ze=null;if(Me)try{Ze=[D("span","up-step-l",Me.lhs?[C(ui("\\displaystyle "+Me.lhs,!1))]:[]),D("span","up-step-r",[C(ui(Me.rel,!1))]),D("span","up-step-m",[C(ui("\\displaystyle "+Me.rhs,!1))])]}catch{Ze=null}if(!Ze){let pt=j("\\displaystyle "+he.value,!1,he);Ze=[D("span","up-step-all",[pt?C(pt):E(he.value)])]}let Ut=V.all({type:"root",children:xe});return D("li",Me&&!Me.lhs?"up-step up-step-cont":"up-step",[...Ze,...Ut.length?[D("div","up-why",Ut)]:[]])});return D("div","up-deriv",[...te?[D("p","up-deriv-t",V.all(te))]:[],...oe,D("ol","up-steps",ke)])}let fe=V=>V.attributes&&"wide"in V.attributes?"up-fig wide":"up-fig";function O(V,U){W(U,["aspect","params","alt","wide"]);let te=ne(U),oe=y(U);te||n(oe,"give the figure a caption saying what to notice: :::figure[\u2026]");let J=U.attributes?.alt?.trim();J||n(oe,'describe what the figure shows in alt="\u2026", for readers who cannot see it');let he=U.children.filter(st=>st.type==="code").find(st=>/^(js|javascript)$/i.test(st.lang??"")),xe=!0;he?he.value.length>I_&&(xe=!1,i(oe,`figure code is ${he.value.length} characters; the limit is ${I_}`)):(xe=!1,i(oe,":::figure needs its code in a ```js block inside it (see uphys guide: the figure kit)")),U.children.some(st=>st.type!=="code")&&n(oe,"text inside :::figure is ignored: put the explanation in the caption or around the figure");let Me=(U.attributes?.params??"").split(",").map(st=>st.trim()).filter(Boolean);for(let st of Me)st in f.params||(xe=!1,i(oe,`figure: params lists "${st}", which is not declared under params in the front matter`));Me.forEach(st=>M.add(st));let Ze=Number(U.attributes?.aspect??1.6);Ze>=.4&&Ze<=3||(xe=!1,i(oe,"figure: aspect is a width/height ratio between 0.4 and 3"));let Ut=++w,pt=xe?C(`<up-figure data-config="${at(JSON.stringify({code:he.value,params:Me,aspect:Ze}))}" style="--aspect:${Ze}"${J?` aria-label="${at(J)}"`:""}></up-figure>${$_(Me,f.params)}`):D("div","up-fig-broken",[{type:"text",value:"This figure has errors."}]);return D("figure",fe(U),[pt,D("figcaption",null,[D("span","up-fig-n",[{type:"text",value:`Figure ${Ut}`}]),...te?V.all(te):[]])],{id:`fig-${Ut}`})}function de(V,U){W(U,[]);let te=U.children,oe=xe=>xe.type==="containerDirective"&&xe.name==="step",J=te.filter(xe=>!oe(xe)),ke=te.filter(oe);ke.length||i(y(U),"::::steps needs :::step blocks: each one is a paragraph the reader scrolls to"),J.some(xe=>xe.type==="containerDirective")||i(y(U),"::::steps needs a figure to keep in view, before its :::step blocks");let he=ke.map(xe=>{let Me={};for(let[Ze,Ut]of Object.entries(xe.attributes??{})){let pt=f.params[Ze],st=Number(Ut);if(!pt){i(y(xe),`:::step sets "${Ze}", which is not declared under params in the front matter`);continue}if(!isFinite(st)||st<pt.min||st>pt.max){i(y(xe),`:::step: ${Ze}=${Ut} is outside its range ${pt.min}\u2026${pt.max}`);continue}Me[Ze]=st,M.add(Ze)}return D("div","up-scrolly-step",V.all(xe),{dataSet:JSON.stringify(Me)})});return D("div","up-scrolly",[D("div","up-scrolly-fig",V.all({type:"root",children:J})),D("div","up-scrolly-text",he)])}function Le(V){let U=V.value.slice(1).trim();try{let{names:te,fn:oe}=x_(U),J=[...te].filter(he=>!(he in f.params));if(J.length)throw new ur(`unknown name "${J[0]}": live values use parameters from the front matter`,0);te.forEach(he=>M.add(he));let ke=oe(Object.fromEntries(Object.entries(f.params).map(([he,xe])=>[he,xe.value])));return D("output","up-val",[{type:"text",value:vm(ke)}],{dataExpr:U})}catch(te){if(!(te instanceof ur))throw te;return i(y(V),`live value \`=${U}\`: ${te.message}`),D("code","up-tex-err",[{type:"text",value:V.value}])}}function mt(V,U){if(U.name==="figure")return O(V,U);if(U.name==="row"){W(U,[]);let te=U.children.filter(oe=>oe.type==="containerDirective");return(te.length<2||te.length>3)&&n(y(U),"::::row places 2 or 3 figures side by side"),D("div","up-row",V.all(U))}if(U.name==="steps")return de(V,U);if(U.name==="step")return i(y(U),":::step belongs inside a ::::steps block"),D("div",null,V.all(U));switch(U.name){case"derivation":return W(U,[]),Z(V,U);case"claim":{W(U,["status"]);let te=U.attributes?.status??"";te in ym||i(y(U),te?`:::claim has an unknown status "${te}"; use ${Object.keys(ym).join(", ")}`:`:::claim needs a status: ${Object.keys(ym).map(J=>`{status=${J}}`).join(", ")}`),ne(U);let oe=ym[te]??"Claim";return D("aside","up-claim",[D("span","up-claim-tag",[{type:"text",value:oe}]),...V.all(U)],{dataStatus:te})}case"aside":return W(U,[]),ne(U),D("aside","up-aside",V.all(U));case"define":{W(U,[]);let te=ne(U);te||i(y(U),"name the term being defined: :::define[Mass gap]");let oe=++$;return D("div","up-def",[D("p","up-def-h",[D("span",null,[{type:"text",value:`Definition ${oe}`}]),...te?[D("b",null,V.all(te))]:[]]),...V.all(U)],{id:`def-${oe}`})}case"exercise":{W(U,[]);let te=ne(U),oe=++z,J=U.solution;return J&&ne(J),D("div","up-ex",[D("p","up-ex-h",[D("span",null,[{type:"text",value:`Exercise ${oe}`}]),...te?[D("b",null,V.all(te))]:[]]),...V.all(U),...J?[D("details","up-sol",[D("summary",null,[{type:"text",value:"Solution"}]),...V.all(J)])]:[]],{id:`ex-${oe}`})}}}let Dt={math:(V,U)=>{let te=j(U.value,!0,U);return D("div","up-math",[te?C(te):E(U.value)])},inlineCode:(V,U)=>U.value.startsWith("=")?Le(U):Dn.inlineCode(V,U),inlineMath:(V,U)=>{let te=j(U.value,!1,U);return te?C(te):E(U.value)},containerDirective:(V,U)=>mt(V,U),leafDirective:()=>{},heading(V,U){let te=Dn.heading(V,U.depth===1?{...U,depth:2}:U),oe=Xt(U).toLowerCase().trim().replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-|-$/g,"")||"section",J=(S.get(oe)??0)+1;return S.set(oe,J),te.properties.id=J>1?`${oe}-${J}`:oe,te},link(V,U){let te=Dn.link(V,U);return/^https?:/i.test(U.url)&&(te.properties.rel=["noopener","nofollow","ugc"]),te},table:(V,U)=>D("div","up-table",[Dn.table(V,U)])},A=bm(c,!0).replace(/\s+/g," ").trim(),rt=gp(c,{handlers:Dt});for(let V of Object.keys(f.params))M.has(V)||n(d(V),`parameter "${V}" is declared but no figure uses it, so it gets no slider`);t.mode==="post"&&f.kind==="problem"&&!c.children.some(V=>V.type==="heading"&&/would count as a solution/i.test(Xt(V)))&&n(h?h.position.end.line:1,'a problem should have a "## What would count as a solution" section: it is what makes the problem precise'),t.mode==="post"&&f.kind&&f.kind!=="profile"&&(s=ZF(c,f.kind,r,w));let yt=Xt(c);if(!f.lang){let V=yt.match(/[぀-ヿ㐀-鿿]/g)?.length??0,U=yt.match(/[A-Za-z]/g)?.length??0;f.lang=V>U/4?/[぀-ヿ]/.test(yt)?"ja":"zh":"en"}let T=Object.keys(f.params).length?` data-params="${at(JSON.stringify(f.params))}"`:"",dt=`<div class="up-doc" lang="${f.lang}"${T}>${Ip(rt,{allowDangerousHtml:!0})}</div>`,Ir=c.children.find(V=>V.type==="paragraph"),Sn=bm(Ir??c).replace(/\s+/g," ").trim().slice(0,220);return l(f,dt,Sn,A)}function ZF(e,t,r,i){let n=y=>bm(y).split(/\s+/).filter(Boolean).length,o=n(e),a=e.children,s=0;for(let y of a){if(y.type==="heading"||y.type==="math"||y.type==="containerDirective")break;y.type==="paragraph"&&(s+=n(y))}let l=a.filter(y=>y.type==="heading"&&y.depth===2).length,u=a.findIndex(y=>y.type==="heading"&&/references|bibliography|further reading/i.test(Xt(y))),c=u>=0&&a.slice(u+1).some(y=>y.type==="list")||a.some(y=>y.type==="footnoteDefinition"),f=(function y(b){return b.children.reduce((w,$)=>w+($.type==="containerDirective"&&$.name==="claim"?1:0)+("children"in $?y($):0),0)})(e),d=y=>r.some(b=>b.message.includes(y)),m=t==="tutorial"?300:150,h=[{key:"opening",ok:s>=25,label:"Opens in plain words",hint:"Before any equation, say in a few sentences what the problem is and why it matters."},{key:"length",ok:o>=m,label:t==="problem"?"States the problem fully":"Long enough to explain",hint:`About ${m} words at least; this piece has ${o}.`},{key:"sections",ok:o<400||l>=2,label:"Organised in sections",hint:"Use ## headings so readers can see the line of the argument."},{key:"references",ok:c,label:"Cites its sources",hint:"End with a ## References list. arXiv ids and DOIs are checked to exist."}];t!=="problem"&&h.push({key:"figure",ok:i>0,label:"Has a figure to play with",hint:"One interactive figure that shows the key idea helps more than any paragraph."},{key:"claims",ok:f>0,label:"Marks what is proven and what is not",hint:"Put the statements whose standing matters in :::claim{status=\u2026} blocks."}),i&&h.push({key:"captions",ok:!d("give the figure a caption"),label:"Every figure says what to notice",hint:"Give each figure a caption in [ ]."});let v=[];return(function y(b){for(let w of b.children)w.type==="containerDirective"&&w.name==="figure"?v.push(...w.children.filter($=>$.type==="code").map($=>$.value)):"children"in w&&y(w)})(e),v.length&&h.push({key:"kit",ok:v.every(y=>/\bup\./.test(y)),label:"Figures are drawn with the shared kit",hint:"Draw with up.figure(), up.slider(), fig.label() \u2026 so axes, colours and type match the rest of the site."}),(d("derivation step")||a.some(y=>y.type==="containerDirective"&&y.name==="derivation"))&&h.push({key:"steps",ok:!d("has no explanation"),label:"Every derivation step is explained",hint:"After each step, a sentence on how it follows."}),h}async function A_(e,t=fetch){let r=new Set,i=e.filter(o=>!r.has(o.kind+o.id)&&r.add(o.kind+o.id)).slice(0,30);return(await Promise.all(i.map(async o=>{let a=o.kind==="arxiv"?`https://arxiv.org/abs/${o.id}`:`https://doi.org/${o.id}`,s=o.kind==="arxiv"?`arXiv:${o.id}`:`doi:${o.id}`;try{let l=await t(a,{method:"HEAD",redirect:"manual",headers:{"user-agent":"unsolvedphysics.com reference check"},signal:AbortSignal.timeout(8e3)});return l.status===404||l.status===410?{severity:"error",line:o.line,message:`${s} does not exist: check the identifier (${a})`}:l.status>=400?{severity:"warning",line:o.line,message:`could not verify ${s} (the registry answered ${l.status})`}:null}catch{return{severity:"warning",line:o.line,message:`could not reach ${o.kind==="arxiv"?"arXiv":"doi.org"} to verify ${s}`}}}))).filter(o=>o!==null)}var VF={alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",varepsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",pi:"\u03C0",rho:"\u03C1",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",varphi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",Gamma:"\u0393",Delta:"\u0394",Theta:"\u0398",Lambda:"\u039B",Xi:"\u039E",Pi:"\u03A0",Sigma:"\u03A3",Phi:"\u03A6",Psi:"\u03A8",Omega:"\u03A9",propto:"\u221D",to:"\u2192",rightarrow:"\u2192",infty:"\u221E",approx:"\u2248",sim:"\u223C",simeq:"\u2243",le:"\u2264",leq:"\u2264",ge:"\u2265",geq:"\u2265",neq:"\u2260",ne:"\u2260",times:"\xD7",cdot:"\xB7",pm:"\xB1",partial:"\u2202",nabla:"\u2207",hbar:"\u0127",ell:"\u2113",sum:"\u03A3",int:"\u222B",langle:"\u27E8",rangle:"\u27E9",dagger:"\u2020",ldots:"\u2026",dots:"\u2026"},HF=Object.fromEntries([..."0123456789+-n"].map((e,t)=>[e,"\u2070\xB9\xB2\xB3\u2074\u2075\u2076\u2077\u2078\u2079\u207A\u207B\u207F"[t]]));function KF(e){return e.replace(/\\(?:frac|tfrac|dfrac)\{([^{}]*)\}\{([^{}]*)\}/g,"$1/$2").replace(/\\([A-Za-z]+)/g,(t,r)=>VF[r]??"").replace(/\^\{?([0-9+\-n]+)\}?/g,(t,r)=>[...r].map(i=>HF[i]??i).join("")).replace(/[{}]/g,"").replace(/\s+/g," ").trim()}function bm(e,t=!1){let r=e;if(r.type==="inlineMath"||r.type==="math")return KF(r.value??"");if(t&&(r.type==="yaml"||r.type==="code"||r.type==="html"))return"";if("value"in r&&typeof r.value=="string")return r.value;let i=r.type==="paragraph"||r.type==="heading"||r.type==="emphasis"||r.type==="strong"||r.type==="link"||r.type==="delete";return(r.children??[]).map(n=>bm(n,t)).join(t&&!i||r.type==="root"?" ":"")}function N6(e,t){let r="",i=1/0;for(let n of t){let o=JF(e.toLowerCase(),n.toLowerCase());o<i&&(r=n,i=o)}return i<=Math.max(2,e.length/3)?` (did you mean "${r}"?)`:""}function JF(e,t){let r=Array.from({length:e.length+1},(i,n)=>[n,...Array(t.length).fill(0)]);for(let i=1;i<=t.length;i++)r[0][i]=i;for(let i=1;i<=e.length;i++)for(let n=1;n<=t.length;n++)r[i][n]=Math.min(r[i-1][n]+1,r[i][n-1]+1,r[i-1][n-1]+(e[i-1]===t[n-1]?0:1));return r[e.length][t.length]}function T_(e,t={}){let r=t.provenance??"human # or assisted, agent";return e==="profile"?`---
508
+ kind: profile
509
+ provenance: ${r}
510
+ ---
511
+
512
+ Who you are, what you work on, which problems you care about.
513
+ `:e==="problem"?`---
514
+ title: ${t.title?.replace(/\n/g," ")||wn.title.problem}
515
+ kind: problem
516
+ summary: ${wn.summary}
517
+ field: Other # e.g. Cosmology, Condensed matter, Quantum gravity
518
+ track: explain # prove, explain or compute: what kind of answer settles it
519
+ provenance: ${r}
520
+ ---
521
+
522
+ ## The problem
523
+
524
+ State it precisely: what is established, and exactly what is not known.
525
+
526
+ ## What would count as a solution
527
+
528
+ The test an answer must pass, so that anyone can tell whether it has been solved.
529
+
530
+ ## Where it stands
531
+
532
+ The best results so far, and why they fall short.
533
+
534
+ ## References
535
+ `:`---
536
+ title: ${wn.title[e]}
537
+ kind: ${e}
538
+ problems: [${t.problem??""}]
539
+ summary: ${wn.summary}
540
+ provenance: ${r}
541
+ ---
542
+
543
+ Start with the plain statement and the picture: what this is and why it matters.
544
+
545
+ ## The idea
546
+
547
+ ## Where it stands
548
+
549
+ ## References
550
+ `}var GF="https://cdn.jsdelivr.net/npm/katex@0.19.1/dist/katex.min.css",WF="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&family=STIX+Two+Text:ital,wght@0,400;0,600;1,400;1,600&display=swap",YF={tutorial:"Tutorial",perspective:"Perspective",profile:"Profile",problem:"Community problem"},XF={human:"Written by a person",assisted:"Written with AI help",agent:"Written by an AI agent"},QF='<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>',eB="Unsolved Physics",tB="The open problems of physics, explained and worked on together.";function C_(e){let t=e.site??"",r=e.description??tB;return`<!doctype html>
551
+ <html lang="en">
552
+ <head>
553
+ <meta charset="utf-8">
554
+ <meta name="viewport" content="width=device-width, initial-scale=1">
555
+ <title>${at(e.title)}</title>
556
+ <meta name="description" content="${at(r)}">
557
+ ${e.canonical?`<link rel="canonical" href="${at(e.canonical)}">`:""}
558
+ ${e.noindex?'<meta name="robots" content="noindex">':""}
559
+ <meta property="og:site_name" content="${eB}">
560
+ <meta property="og:title" content="${at(e.title.replace(/ — Unsolved Physics$/,""))}">
561
+ <meta property="og:description" content="${at(r)}">
562
+ <meta property="og:type" content="${e.type??"website"}">
563
+ ${e.canonical?`<meta property="og:url" content="${at(e.canonical)}">`:""}
564
+ <meta property="og:image" content="${at(e.image??"https://unsolvedphysics.com/og.png")}">
565
+ <meta name="twitter:card" content="summary_large_image">
566
+ <meta name="theme-color" content="#070707" media="(prefers-color-scheme: dark)">
567
+ <meta name="theme-color" content="#f5f2ea" media="(prefers-color-scheme: light)">
568
+ <script src="${t}/theme.js"></script>
569
+ <link rel="icon" href="${t}/favicon.svg" type="image/svg+xml">
570
+ <link rel="alternate" type="application/atom+xml" title="New on Unsolved Physics" href="${t}/feed.xml">
571
+ <link rel="preconnect" href="https://fonts.googleapis.com">
572
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
573
+ <link href="${WF}" rel="stylesheet">
574
+ <link rel="stylesheet" href="${GF}">
575
+ <link rel="stylesheet" href="${t}/site.css">
576
+ <link rel="stylesheet" href="${t}/c/doc.css">
577
+ <link rel="stylesheet" href="${t}/c/pages.css">
578
+ </head>
579
+ <body>
580
+ <a class="skip" href="#main">Skip to content</a>
581
+ <header class="bar">
582
+ <a class="brand" href="${t||"/"}"><i></i>Unsolved Physics</a>
583
+ <nav>
584
+ <a href="${t}/#problems">Problems</a>
585
+ <a href="${t}/new" class="hide-m">Write</a>
586
+ <a href="${t}/agents" class="hide-m">Agents</a>
587
+ <button class="theme-btn" type="button" data-theme-toggle aria-label="Switch between light and dark"><svg class="i-sun" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="3"/><path d="M8 1v1.6M8 13.4V15M1 8h1.6M13.4 8H15M3 3l1.1 1.1M11.9 11.9 13 13M3 13l1.1-1.1M11.9 4.1 13 3"/></svg><svg class="i-moon" viewBox="0 0 16 16" aria-hidden="true"><path d="M13.6 10.2A5.8 5.8 0 0 1 5.8 2.4a5.8 5.8 0 1 0 7.8 7.8z"/></svg></button>
588
+ ${e.account===!1?"":`<span class="acct" id="acct"><a href="/auth/github">${QF}Sign in</a></span>`}
589
+ </nav>
590
+ </header>
591
+ <div id="main">
592
+ ${e.body}
593
+ </div>
594
+ ${rB(t)}
595
+ <script type="module" src="${t}/c/index.js"></script>
596
+ ${e.account===!1?"":`<script type="module" src="${t}/auth.js"></script>`}
597
+ ${e.scripts??""}
598
+ </body>
599
+ </html>`}var rB=(e="")=>`<footer>
600
+ <span>\xA9 2026 Unsolved Physics</span>
601
+ <nav class="foot-nav">
602
+ <a href="${e}/agents">Write with an agent</a>
603
+ <a href="${e}/guide">Writing guide</a>
604
+ <a href="${e}/terms">Terms</a>
605
+ <a href="${e}/privacy">Privacy</a>
606
+ <a href="${e}/license">Content licence</a>
607
+ <a href="${e}/feed.xml">RSS</a>
608
+ <a href="https://unfinishedphysics.com">Manifesto \u2197</a>
609
+ </nav>
610
+ <span class="collab">Want to help keep a community pushing at the frontier of theoretical physics? <a href="mailto:milsonson@protonmail.com">milsonson@protonmail.com</a></span>
611
+ </footer>`;function D_(e,t){let r=t.site??"",i=e.kind?YF[e.kind]:"";return`<header class="post-head">
612
+ <nav class="crumb">${t.problems.map(n=>`<a href="${r}/p/${at(n.id)}">${at(n.title)}</a>`).join("<span>\xB7</span>")}${t.problems.length?"<span>/</span>":""}<span>${i}</span></nav>
613
+ <h1 lang="${at(e.lang)}">${at(e.title??"")}</h1>
614
+ ${e.summary?`<p class="post-sum" lang="${at(e.lang)}">${at(e.summary)}</p>`:""}
615
+ <div class="byline">${t.byline}${t.actions?`<span class="post-actions">${t.actions}</span>`:""}</div>
616
+ </header>`}var N_=e=>e&&e!=="human"?`<span class="prov prov-${e}" title="${XF[e]}">${e==="agent"?"AI agent":"AI-assisted"}</span>`:"";var P6={name:"uphys",version:"0.1.0",description:"Write, check, preview and publish tutorials on the open problems of physics at unsolvedphysics.com, by hand or with an AI agent.",keywords:["physics","tutorial","katex","markdown","ai-agents","unsolved-problems"],homepage:"https://unsolvedphysics.com/agents",license:"MIT",type:"module",bin:{uphys:"dist/uphys.mjs"},files:["dist","README.md"],publishConfig:{registry:"https://registry.npmjs.org/"},engines:{node:">=20"},scripts:{build:`esbuild src/main.ts --bundle --platform=node --format=esm --target=node20 --minify --outfile=dist/uphys.mjs --external:playwright-core --banner:js='import { createRequire as __cr } from "node:module"; const require = __cr(import.meta.url);' --legal-comments=none && cp ../doc/GUIDE.md dist/GUIDE.md && chmod +x dist/uphys.mjs`,prepublishOnly:"npm run build",typecheck:"tsc -p ."},devDependencies:{"@types/node":"^24.0.0",esbuild:"0.28.2",typescript:"^7.0.2"},dependencies:{"playwright-core":"^1.65.1"}};var O_=F6(aB(import.meta.url)),wm=wa(process.env.XDG_CONFIG_HOME??wa(oB(),".config"),"uphys","config.json"),lB="https://unsolvedphysics.com",uB=process.stdout.isTTY&&!process.env.NO_COLOR,Pl=e=>t=>uB?`\x1B[${e}m${t}\x1B[0m`:t,ci=Pl("31"),B6=Pl("33"),De=Pl("2"),tt=Pl("1"),$n=Pl("32"),Ol=class extends Error{},Ge=e=>{throw new Ol(e)};function Qr(){let e=xa(wm)?JSON.parse(El(wm,"utf8")):{};return{site:(process.env.UPHYS_SITE??e.site??lB).replace(/\/$/,""),token:process.env.UPHYS_TOKEN??e.token,login:e.login}}function M6(e){Z_(F6(wm),{recursive:!0}),R6(wm,JSON.stringify(e,null,2)+`
617
+ `,{mode:384})}async function jt(e,t={}){let r=Qr();t.auth&&!r.token&&Ge(`not signed in: run ${tt("uphys login")}`);let i;try{i=await fetch(r.site+e,{method:t.method??(t.body?"POST":"GET"),headers:{"content-type":"application/json",...t.auth?{authorization:`Bearer ${r.token}`}:{}},body:t.body?JSON.stringify(t.body):void 0,signal:AbortSignal.timeout(3e4)})}catch(o){return Ge(`cannot reach ${r.site} (${o.cause??o.message})`)}let n=i.status===204?null:i.headers.get("content-type")?.includes("json")?await i.json():{error:await i.text()};if(i.status===401&&t.auth&&Ge(`the saved login is no longer valid: run ${tt("uphys login")}`),!i.ok){let o=new Ol(n?.error??`${i.status} ${i.statusText}`);throw o.diagnostics=n?.diagnostics,o}return n}async function U6(){try{let e=await fetch(Qr().site+"/api/problems",{signal:AbortSignal.timeout(8e3)});return e.ok?await e.json():await(await fetch(Qr().site+"/problems.json",{signal:AbortSignal.timeout(8e3)})).json()}catch{return null}}var V_=async()=>{let e=await U6();return e&&new Set(e.map(t=>t.id))};function q6(e){return e||Ge("give a file, e.g. uphys check ising-3d.up.md"),xa(e)||Ge(`no such file: ${e}`),El(e,"utf8")}function ya(e,t,r=!1){for(let o of t.diagnostics){let a=o.severity==="error"?ci("error "):B6("warning");console.log(`${De(`${e}:${o.line}`)} ${a} ${o.message}`)}if(r)return;let i=t.diagnostics.filter(o=>o.severity==="error").length,n=t.diagnostics.length-i;t.diagnostics.length?console.log(`
618
+ ${i?ci(`${i} error${i>1?"s":""}`):$n("0 errors")}, ${n} warning${n===1?"":"s"}`):console.log($n("\u2713 no problems found"))}async function j6(e,t,r,i=!1){let n=q6(e),o=t==="post"&&!i?await V_():null,a=Nl(n,{mode:t,problems:o??void 0});if(t==="post"&&!o&&!r&&console.log(De(i?"(offline: problem ids and references not checked)":`(could not fetch problem ids from ${Qr().site}; problems: not checked)`)),!i&&a.refs.length){let s=await A_(a.refs);a.diagnostics.push(...s),a.diagnostics.sort((l,u)=>l.line-u.line),s.some(l=>l.severity==="error")&&(a.ok=!1)}return{src:n,r:a}}function P_(e){if(!e.quality.length)return;let t=e.quality.filter(r=>r.ok).length;console.log(`
619
+ ${tt("Checklist")} ${De(`${t}/${e.quality.length}`)}`);for(let r of e.quality)console.log(r.ok?` ${$n("\u2713")} ${r.label}`:` ${B6("\u25CB")} ${r.label} ${De(r.hint)}`)}function L_(e,t,r){let i=t.split(`
620
+ `),n=i.indexOf("---",1),o=i.slice(1,n).findIndex(a=>/^id:/.test(a));o>=0?i[o+1]=`id: ${r}`:i.splice(1,0,`id: ${r}`),R6(e,i.join(`
621
+ `))}var M_=e=>{let t=Date.now()/1e3-e;return t<3600?`${Math.max(1,Math.floor(t/60))} min ago`:t<86400?`${Math.floor(t/3600)} h ago`:t<30*86400?`${Math.floor(t/86400)} d ago`:new Date(e*1e3).toISOString().slice(0,10)},j_=e=>e.replace(/^---\n[\s\S]*?\n---\n/,"").trim(),ba=(e,t,r=t+"s")=>`${e} ${e===1?t:r}`,U_=e=>` ${tt(`#${e.id}`.padEnd(6))} ${e.title}
622
+ ${De(`${e.kind} \xB7 @${e.login} \xB7 ${ba(e.star_count,"star")} \xB7 ${ba(e.reply_count,"reply","replies")}${e.problems?.length?` \xB7 on ${e.problems.map(t=>t.id).join(", ")}`:""}`)}`,kn={problems:{args:"[--json]",about:"every open problem: its id, and how much has been written about it",async run(e,t){let r=await jt("/api/problems");if(t.json){console.log(JSON.stringify(r,null,2));return}let i=Math.max(...r.map(n=>n.id.length));for(let n of r)console.log(`${tt(n.id.padEnd(i))} ${n.title} ${De(`${n.field} \xB7 ${n.pieces?ba(n.pieces,"piece"):"nothing written yet"}`)}`);console.log(De(`
623
+ ${r.length} problems. Read one in full: uphys show <id>`))}},search:{args:"<words\u2026> [--json]",about:"problems and pieces matching every word: titles, summaries, authors, and the text itself",more:"Example: uphys search conformal bootstrap",async run(e,t){e.length||Ge("give some words, e.g. uphys search mass gap");let r=await jt(`/api/search?limit=20&near=1&q=${encodeURIComponent(e.join(" "))}`);if(t.json){console.log(JSON.stringify(r,null,2));return}if(!r.problemTotal&&!r.pieceTotal){console.log(`nothing matches. If it is a real open question, propose it: ${De("uphys new --kind problem")}`);return}if(r.problemTotal){console.log(tt(`Problems (${r.problemTotal})`));for(let i of r.problems)console.log(` ${tt(i.id)} ${i.title} ${De(i.pieces?ba(i.pieces,"piece"):"nothing written yet")}
624
+ ${De(i.one)}`)}if(r.pieceTotal){console.log(`${r.problemTotal?`
625
+ `:""}${tt(`Tutorials and perspectives (${r.pieceTotal})`)}`);for(let i of r.pieces)console.log(U_(i)+(i.near?`
626
+ ${De(`\u2026${i.near.replace(/^\S*\s|\s\S*$/g,"")}\u2026`)}`:""))}console.log(De(`
627
+ Read one: uphys show <problem-id or #number>`))}},show:{args:"<problem-id | post-number | URL> [--thread] [--out FILE] [--json]",about:"read a problem in full, or a published piece as its source",more:`A problem: its statement, what would count as a solution, where it stands, and what has been written about it.
628
+ A piece or reply: its .up.md source. --thread adds the discussion under it, each reply with its number
629
+ (answer one with uphys reply <number> <file>). --out saves the source with its id, so that after
630
+ editing, uphys publish FILE updates the piece (your own pieces only).`,async run([e],t){e||Ge("give a problem id, a post number or a URL, e.g. uphys show ising-3d");let r=/^https?:/.test(e)?new URL(e).pathname:e,i=/^\/t\/(\d+)/.exec(r)?.[1]??/^\/p\/([a-z0-9-]+)/.exec(r)?.[1]??r.replace(/^#/,"");if(!/^\d+$/.test(i)){let a=await jt(`/api/problems/${encodeURIComponent(i)}`);if(t.json){console.log(JSON.stringify(a,null,2));return}console.log(`${tt(a.title)} ${De(a.id)}
631
+ ${De(`${a.field} \xB7 ${a.track} \xB7 ${a.url}`)}
632
+ ${a.one}
633
+ `),a.post?console.log(j_(a.post.source)+De(`
634
+
635
+ (proposed by @${a.post.author}; its discussion: uphys show ${a.post.id} --thread)`)):console.log([["The problem",a.statement],["What would count as a solution",a.counts],["Where it stands",a.progress],["References",a.refs.map(s=>`- ${s}`).join(`
636
+ `)]].map(([s,l])=>`${tt(s)}
637
+ ${l}`).join(`
638
+
639
+ `)),console.log(`
640
+ ${tt(`Written about it (${a.pieces.length})`)}`);for(let s of a.pieces)console.log(U_(s));console.log(De(`${a.pieces.length?`
641
+ `:""}Start a piece: uphys new ${a.id}`));return}let n=await jt(`/api/posts/${i}`),o=t.thread?await jt(`/api/posts/${n.root_id??i}/replies`):[];if(t.out){xa(String(t.out))&&Ge(`${t.out} already exists`),L_(String(t.out),n.source,n.id),console.log(`wrote ${tt(String(t.out))} ${De(`(#${n.id}, version ${n.version}, by @${n.author})`)}`);return}if(t.json){console.log(JSON.stringify(t.thread?{...n,replies:o}:n,null,2));return}console.log(De(`#${n.id} \xB7 ${n.kind} \xB7 @${n.author} \xB7 version ${n.version} \xB7 ${ba(n.star_count,"star")}${n.kind==="reply"?` \xB7 in the discussion of #${n.root_id}`:` \xB7 ${ba(n.reply_count,"reply","replies")}`}`)+`
642
+
643
+ ${n.source.trimEnd()}`);for(let a of o)console.log(`
644
+ ${De(`\u2500\u2500\u2500\u2500 #${a.id} \xB7 @${a.author} \xB7 ${M_(a.created_at)}${a.parent_id===(n.root_id??n.id)?"":` \xB7 answering #${a.parent_id}`}${a.provenance==="agent"?" \xB7 AI agent":""}`)}
645
+ ${j_(a.source)}`);t.thread&&!o.length&&console.log(De(`
646
+ (no replies yet)`))}},login:{args:"[--site URL]",about:"connect this computer to your account",async run(e,t){let r=Qr();t.site&&(r.site=String(t.site).replace(/\/$/,"")),M6({...r,token:void 0,login:void 0});let i=await jt("/api/cli/start",{body:{}});console.log(`
647
+ Open ${tt(i.url)}
648
+ and confirm the code ${tt(i.user_code)}
649
+ `),F_(i.url),process.stdout.write(De("waiting for confirmation\u2026"));let n=Date.now()+i.expires_in*1e3;for(;Date.now()<n;){await new Promise(a=>setTimeout(a,i.interval*1e3));let o=await jt("/api/cli/poll",{body:{device_code:i.device_code}});if(o.token){M6({site:r.site,token:o.token,login:o.login}),console.log(`\r${$n("\u2713")} signed in as ${tt("@"+o.login)} on ${r.site}`);return}}Ge(`
650
+ the code expired: run uphys login again`)}},logout:{args:"",about:"forget the saved login",async run(){let e=Qr();e.token&&await jt("/api/cli/token",{method:"DELETE",auth:!0}).catch(()=>{}),M6({site:e.site}),console.log("signed out")}},whoami:{args:"",about:"show the account and site in use",async run(){let e=Qr();if(!e.token){console.log(`not signed in (site ${e.site})`);return}let t=await jt("/api/me",{auth:!0});console.log(`@${t.login} on ${e.site}`)}},new:{args:"<problem-id> [--kind tutorial|perspective] | --kind problem [--out FILE]",about:"start a piece (or a new problem) from a template",async run([e],t){if(t.kind==="problem")e=void 0;else{e||Ge("give a problem id, e.g. uphys new ising-3d (every problem page shows its id), or --kind problem to propose one");let n=await V_();n&&!n.has(e)&&Ge(`there is no problem "${e}"`)}let r=String(t.kind??"tutorial");["tutorial","perspective","problem"].includes(r)||Ge("--kind is tutorial, perspective or problem");let i=String(t.out??`${e??"new-problem"}.up.md`);xa(i)&&Ge(`${i} already exists`),R6(i,T_(r,{problem:e,provenance:" # human | assisted | agent"})),console.log(`wrote ${tt(i)}
651
+ next: ${De(`uphys preview ${i}`)} ${De("(uphys guide explains the format)")}`)}},check:{args:"<file> [--reply] [--offline] [--json]",about:"errors and warnings with line numbers, reference checks and the checklist",more:`--reply the file is a reply (no title, kind, problems or summary)
652
+ --offline skip what needs the network: problem ids and the arXiv/DOI checks
653
+ --json { ok, meta, diagnostics, quality } for a program to read
654
+ Exits with status 1 when there are errors.`,async run([e],t){let{r}=await j6(e,t.reply?"reply":"post",!!t.json,!!t.offline);t.json?console.log(JSON.stringify({ok:r.ok,meta:r.meta,diagnostics:r.diagnostics,quality:r.quality},null,2)):(ya(e,r),P_(r)),r.ok||(process.exitCode=1)}},preview:{args:"<file> [--reply] [--port 4321]",about:"live preview in the browser, laid out as on the site",more:"For a person: it keeps running and reloads the page on every save. An agent wants uphys render instead.",async run([e],t){q6(e);let r=Qr().site,i=Number(t.port??4321),n=t.reply?"reply":"post",o=await U6()??[],a=n==="post"&&o.length?new Set(o.map(u=>u.id)):null,s=new Set;E_((u,c)=>{if(u.url==="/events"){c.writeHead(200,{"content-type":"text/event-stream","cache-control":"no-cache"}),s.add(c),u.on("close",()=>s.delete(c));return}let f=Nl(El(e,"utf8"),{mode:n,problems:a??void 0});c.writeHead(200,{"content-type":"text/html; charset=utf-8"}),c.end(R_(f,r,o,L6(e)))}).listen(i,()=>{console.log(`previewing ${tt(e)} at ${tt(`http://localhost:${i}`)} ${De(`(assets from ${r}; Ctrl-C to stop)`)}`),F_(`http://localhost:${i}`)});let l;iB(e,()=>{clearTimeout(l),l=setTimeout(()=>{let u=Nl(El(e,"utf8"),{mode:n,problems:a??void 0});console.log(De(new Date().toLocaleTimeString())+" "+(u.ok?$n("\u2713"):ci(`${u.diagnostics.filter(c=>c.severity==="error").length} error(s)`))),ya(e,u,!0);for(let c of s)c.write(`data: reload
655
+
656
+ `)},80)}),await new Promise(()=>{})}},publish:{args:"<file> [--json]",about:"publish the piece, or update it if the file has an id",more:"The first publish writes the new id into the file; publishing the file again makes a new version of the same piece.",async run([e],t){let{src:r,r:i}=await j6(e,"post",!!t.json);i.ok||(ya(e,i),Ge("fix the errors above first")),i.meta.provenance||Ge("set provenance in the front matter: human, assisted or agent"),t.json||P_(i);let n=await q_(e,()=>i.meta.id?jt(`/api/posts/${i.meta.id}`,{method:"PUT",body:{source:r},auth:!0}):jt("/api/posts",{body:{source:r},auth:!0}));i.meta.id||L_(e,r,n.id),t.json?console.log(JSON.stringify(n)):console.log(`${$n("\u2713")} ${i.meta.id?`updated (version ${n.version})`:"published"}: ${tt(n.url)}`)}},reply:{args:"<post-number> <file> [--json]",about:"reply to a piece, a problem or another reply",more:`The file is a reply: front matter with provenance only, then the text (equations, claims and figures work as in a piece).
657
+ Read what you are answering first: uphys show <post-number> --thread`,async run([e,t],r){/^\d+$/.test(e??"")||Ge("usage: uphys reply <post-id> <file>");let{src:i,r:n}=await j6(t,"reply",!!r.json);n.ok||(ya(t,n),Ge("fix the errors above first")),n.meta.provenance||Ge("set provenance in the front matter: human, assisted or agent");let o=await q_(t,()=>jt(`/api/posts/${e}/replies`,{body:{source:i},auth:!0}));r.json?console.log(JSON.stringify(o)):console.log(`${$n("\u2713")} replied: ${tt(o.url)}`)}},inbox:{args:"[--read] [--json]",about:"what happened to your posts: replies, pieces about your problems, stars",more:"\u25CF marks what is new. --read marks everything as read once it has been listed.",async run(e,t){let r=await jt("/api/notifications",{auth:!0});if(t.json)console.log(JSON.stringify(r,null,2));else if(!r.length)console.log("nothing yet");else for(let i of r){let n=i.kind==="reply"?`replied in the discussion of \u201C${i.root_title??""}\u201D ${De(`uphys show ${i.post_id} --thread`)}`:i.kind==="piece"?`wrote \u201C${i.post_title??""}\u201D about your problem ${i.about??""} ${De(`uphys show ${i.post_id}`)}`:`starred your ${i.post_kind}${i.post_title?` \u201C${i.post_title}\u201D`:` #${i.post_id}`}`;console.log(`${i.unread?B6("\u25CF"):" "} ${tt("@"+i.actor)} ${n} ${De(M_(i.created_at))}${i.kind!=="star"&&i.excerpt?`
658
+ ${De(i.excerpt.slice(0,160))}`:""}`)}t.read&&await jt("/api/notifications/read",{method:"POST",auth:!0})}},withdraw:{args:"<post-number> --yes",about:"take one of your posts off the site",more:"It cannot be put back. Replies others wrote under it keep their place. A problem that pieces have been written about cannot be withdrawn.",async run([e],t){/^\d+$/.test(e??"")||Ge("usage: uphys withdraw <post-number> --yes");let r=await jt(`/api/posts/${e}`);t.yes||Ge(`this takes #${r.id} (${r.kind}${r.title?` \u201C${r.title}\u201D`:""}, by @${r.author}) off the site for good: add --yes to do it`),await jt(`/api/posts/${e}`,{method:"DELETE",auth:!0}),console.log(`${$n("\u2713")} withdrawn: #${r.id}`)}},guide:{args:"",about:"how to write a good piece, and the file format",async run(){console.log(cB())}},render:{args:"<file> [--figure N[,M\u2026]] [--reply] [--theme dark|light] [--out DIR] [--wait MS] [--json]",about:"run every figure in a browser: a picture of each, and its errors",more:`The site has a dark and a light theme and a figure must read well in both, so each figure is
659
+ run and pictured in both: figure-1.png (dark) and figure-1.light.png. --theme limits it to one.
660
+ A figure in a ::::steps block changes as the reader scrolls: it is pictured at the first step, and
661
+ once more at each later step (figure-1.step-2.png, \u2026).
662
+ --figure N only these figures, e.g. --figure 3 or --figure 2,5: quicker while you work on one
663
+ --out DIR where the pictures go (default: <file>.figures next to the file)
664
+ --wait MS how long to let each figure settle before its picture (default 1800)
665
+ --json [{ figure, theme, step?, caption, png, errors }]
666
+ Exits with status 1 when a figure reports an error.`,async run([e],t){let r=q6(e),i=t.reply?"reply":"post",n=await U6()??[],o=Nl(r,{mode:i,problems:n.length?new Set(n.map(b=>b.id)):void 0});o.ok||(ya(e,o),Ge("fix the errors above first (uphys check)"));let a=String(t.out??wa(F6(e),L6(e).replace(/\.up\.md$|\.md$/,"")+".figures")),s=Number(t.wait??1800),l=t.theme?[String(t.theme)]:["dark","light"];l.some(b=>b!=="dark"&&b!=="light")&&Ge("--theme is dark or light");let u=t.figure?String(t.figure).split(",").map(Number):null;u?.some(b=>!Number.isInteger(b)||b<1)&&Ge("--figure takes figure numbers, e.g. --figure 3 or --figure 2,5");let c=Qr().site,f=R_(o,c,n,L6(e),!1),d=E_((b,w)=>{w.writeHead(200,{"content-type":"text/html; charset=utf-8"}),w.end(f)});await new Promise(b=>d.listen(0,"127.0.0.1",b));let m=`http://127.0.0.1:${d.address().port}/`,h=await fB(),v=[];try{Z_(a,{recursive:!0});for(let b of l){let w=await h.newPage({viewport:{width:1280,height:900},deviceScaleFactor:2,colorScheme:b}),$=[];w.on("pageerror",C=>$.push(C.message)),w.on("console",C=>{C.type()==="error"&&$.push(C.text())}),await w.goto(m,{waitUntil:"load"}),await w.addStyleTag({content:".bar{visibility:hidden}"}),await w.waitForTimeout(800);let z=w.locator("figure.up-fig"),M=await z.count(),S=u?.find(C=>C>M);S&&Ge(`there is no figure ${S}: this piece has ${M}`);for(let C=0;C<M;C++){if(u&&!u.includes(C+1))continue;let D=z.nth(C),j=D.locator('xpath=ancestor::div[@class="up-scrolly"][1]//div[contains(@class,"up-scrolly-step")]'),E=await j.count();for(let ne=0;ne<(b===l[0]?Math.max(1,E):1);ne++){E?await j.nth(ne).evaluate(O=>O.scrollIntoView({block:"center"})):await D.scrollIntoViewIfNeeded(),await w.waitForTimeout(s);let W=wa(a,`figure-${C+1}${ne?`.step-${ne+1}`:""}${b==="light"?".light":""}.png`);await D.screenshot({path:W});let Z=await D.locator(".up-sb-err").allTextContents(),fe=await D.locator("figcaption").evaluate(O=>{let de=O.cloneNode(!0);return de.querySelectorAll(".katex-mathml, .up-fig-n").forEach(Le=>Le.remove()),(de.textContent??"").replace(/\s+/g," ").trim()});v.push({figure:C+1,theme:b,...ne?{step:ne+1}:{},caption:fe,png:W,errors:Z})}}!M&&!t.json&&b===l[0]&&console.log(De("this piece has no figures")),$.length&&v.push({figure:0,theme:b,caption:"page",png:"",errors:$}),await w.close()}}finally{await h.close(),d.close()}let y=v.some(b=>b.errors.length);if(t.json)console.log(JSON.stringify(v,null,2));else{for(let b of v){if(!b.figure){for(let w of b.errors)console.log(`${ci("\u2717")} page (${b.theme}): ${w}`);continue}console.log(`${b.errors.length?ci("\u2717"):$n("\u2713")} Figure ${b.figure} ${b.theme.padEnd(5)}${b.step?` step ${b.step}`:""} ${De(b.png)}${b.caption&&!b.step?`
667
+ ${De(b.caption.slice(0,100))}`:""}`);for(let w of b.errors)console.log(` ${ci(w)}`)}console.log(De(`
668
+ Look at each picture: is the point visible at first glance? Anything clipped or unreadable${l.length>1?", in either theme":""}?`))}y&&(process.exitCode=1)}}};async function q_(e,t){try{return await t()}catch(r){let i=r.diagnostics;throw i?.length&&ya(e,{diagnostics:i},!0),r}}var cB=()=>El([wa(O_,"GUIDE.md"),wa(O_,"../../doc/GUIDE.md")].find(xa),"utf8");function R_(e,t,r,i,n=!0){let o=e.diagnostics.filter(l=>l.severity==="error"),a=e.diagnostics.length?`<aside class="preview-diag">${e.diagnostics.map(l=>`<div class="${l.severity}"><b>${i}:${l.line}</b> ${l.message.replace(/[&<]/g,u=>u==="&"?"&amp;":"&lt;")}</div>`).join("")}</aside>`:"",s=e.meta.kind&&e.meta.kind!=="profile"?D_(e.meta,{site:t,problems:e.meta.problems.map(l=>({id:l,title:r.find(u=>u.id===l)?.title??l})),byline:`<span class="who"><i class="ava"></i>Preview</span>${N_(e.meta.provenance)}`}):"";return C_({title:`${o.length?`\u2717 ${o.length} \xB7 `:""}${e.meta.title??i} \u2014 preview`,site:t,account:!1,body:`<main class="post">${s}<article class="post-body">${e.html}</article></main>${a}`,scripts:n?'<script>new EventSource("/events").onmessage = () => location.reload()</script>':""})}async function fB(){let{chromium:e}=await import("playwright-core"),t=[process.env.UPHYS_CHROME,"/usr/bin/google-chrome","/usr/bin/google-chrome-stable","/usr/bin/chromium","/usr/bin/chromium-browser","/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","/Applications/Chromium.app/Contents/MacOS/Chromium","C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe","C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"].find(r=>r&&xa(r));try{return await e.launch({executablePath:t,args:["--use-angle=swiftshader","--enable-unsafe-swiftshader"]})}catch{return Ge("uphys render needs Chrome or Chromium: install one, set UPHYS_CHROME to its path, or run `npx playwright install chromium`")}}function F_(e){if(process.env.BROWSER==="none")return;let t=process.platform==="darwin"?"open":process.platform==="win32"?"cmd":"xdg-open",r=process.platform==="win32"?["/c","start","",e]:[e];try{sB(t,r,{stdio:"ignore",detached:!0}).on("error",()=>{}).unref()}catch{}}function mB(e){let t=[],r={};for(let i=0;i<e.length;i++){let n=e[i];if(n.startsWith("--")){let[o,a]=n.slice(2).split("=",2);r[o]=a??(e[i+1]&&!e[i+1].startsWith("--")&&!["json","reply","offline","thread","read","yes","help","version"].includes(o)?e[++i]:!0)}else t.push(n)}return{pos:t,flags:r}}var dB=[["Find what to write about",["problems","search","show"]],["Write",["guide","new","check","render","preview"]],["Publish and follow up",["publish","reply","inbox","withdraw"]],["Account",["login","whoami","logout"]]];function B_(){console.log(`${tt("uphys")} ${P6.version}: find, write, check and publish pieces for unsolvedphysics.com`);for(let[e,t]of dB){console.log(`
669
+ ${e}`);for(let r of t)console.log(` uphys ${tt(r)} ${kn[r].args}
670
+ ${De(kn[r].about)}`)}console.log(`
671
+ ${De("uphys help <command> says more about one command.")}
672
+ site: ${Qr().site} ${De("(UPHYS_SITE or uphys login --site to change; UPHYS_TOKEN signs in without a saved login)")}`)}var{pos:[Xi,...H_],flags:xm}=mB(process.argv.slice(2)),Yi=Xi==="help"?H_[0]:xm.help?Xi:void 0;if(xm.version)console.log(P6.version);else if(Yi&&kn[Yi])console.log(`uphys ${tt(Yi)} ${kn[Yi].args}
673
+ ${kn[Yi].about}${kn[Yi].more?`
674
+
675
+ ${kn[Yi].more}`:""}`);else if(!Xi||Xi==="help"||xm.help)B_();else if(!kn[Xi])console.error(ci(`unknown command "${Xi}"`)),B_(),process.exitCode=2;else try{await kn[Xi].run(H_,xm)}catch(e){if(e instanceof Ol)console.error(ci("\u2717 ")+e.message),process.exitCode=1;else throw e}