@rippling/pebble-sdui-mobile 0.11.0 → 0.12.1

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.
Files changed (32) hide show
  1. package/dist/catalogs/custom-apps/action-params.d.ts +10 -1
  2. package/dist/catalogs/custom-apps/actions.d.ts +2 -1
  3. package/dist/catalogs/custom-apps/catalog.d.ts +2 -2
  4. package/dist/catalogs/custom-apps/component-events.d.ts +7 -6
  5. package/dist/catalogs/custom-apps/component-props.d.ts +98 -83
  6. package/dist/catalogs/custom-apps/components.d.ts +9 -8
  7. package/dist/catalogs/custom-apps/index.cjs +4 -4
  8. package/dist/catalogs/custom-apps/index.cjs.map +1 -1
  9. package/dist/catalogs/custom-apps/index.d.ts +5 -5
  10. package/dist/catalogs/custom-apps/index.js +1805 -1721
  11. package/dist/catalogs/custom-apps/index.js.map +1 -1
  12. package/dist/core/catalog-validation.cjs +2 -0
  13. package/dist/core/catalog-validation.cjs.map +1 -0
  14. package/dist/core/catalog-validation.d.ts +21 -0
  15. package/dist/core/catalog-validation.js +245 -0
  16. package/dist/core/catalog-validation.js.map +1 -0
  17. package/dist/core/directives.cjs +2 -0
  18. package/dist/core/directives.cjs.map +1 -0
  19. package/dist/core/directives.d.ts +72 -0
  20. package/dist/core/directives.js +35 -0
  21. package/dist/core/directives.js.map +1 -0
  22. package/dist/core/expressions.d.ts +5 -15
  23. package/dist/core/index.cjs +1 -1
  24. package/dist/core/index.d.ts +2 -0
  25. package/dist/core/index.js +28 -20
  26. package/dist/core/index.js.map +1 -1
  27. package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +37 -0
  28. package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +164 -135
  29. package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +131 -23
  30. package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +1 -1
  31. package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +109 -99
  32. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("../../core/component-utils.cjs"),dr=require("../../core/action-utils.cjs"),Xo=require("../../core/spec.cjs"),Qo=e=>_.buildNode("ActionCard",e),en=e=>_.buildNode("Anchor",e),tn=e=>_.buildNode("Avatar",e),rn=e=>_.buildNode("AvatarStack",e),on=e=>_.buildNode("Badge",e),nn=e=>_.buildNode("Button",e),sn=e=>_.buildNode("Card",e),an=e=>_.buildNode("Checkbox",e),ln=e=>_.buildNode("CheckboxGroup",e),dn=e=>_.buildNode("Chip",e),cn=e=>_.buildNode("CondensedFooter",e),pn=e=>_.buildNode("CondensedHeader",e),un=e=>_.buildNode("Country",e),fn=e=>_.buildNode("Currency",e),hn=e=>_.buildNode("Date",e),mn=e=>_.buildNode("DateRange",e),gn=e=>_.buildNode("DateTimePicker",e),yn=e=>_.buildNode("Divider",e),bn=e=>_.buildNode("Email",e),$n=e=>_.buildNode("ExpansionPanel",e),vn=e=>_.buildNode("FileViewerButton",e),Sn=e=>_.buildNode("FileViewerPressable",e),wn=e=>_.buildNode("FilterHeader",e),kn=e=>_.buildNode("FloatingButton",e),On=e=>_.buildNode("Footer",e),Cn=e=>_.buildNode("Form",e),Pn=e=>_.buildNode("Group",e),_n=e=>_.buildNode("Header",e),Vn=e=>_.buildNode("Hidden",e),Fn=e=>_.buildNode("HStack",e),Dn=e=>_.buildNode("Icon",e),jn=e=>_.buildNode("Image",e),Rn=e=>_.buildNode("InputText",e),Tn=e=>_.buildNode("Label",e),In=e=>_.buildNode("List",e),En=e=>_.buildNode("ListItem",e),Nn=e=>_.buildNode("ModalActionHeader",e),xn=e=>_.buildNode("ModalSheet",e),An=e=>_.buildNode("Notice",e),zn=e=>_.buildNode("Number",e),Mn=e=>_.buildNode("ObjectFooter",e),Bn=e=>_.buildNode("ObjectItem",e),Ln=e=>_.buildNode("ObjectListView",e),qn=e=>_.buildNode("ObjectListViewCard",e),Hn=e=>_.buildNode("Password",e),Wn=e=>_.buildNode("Percentage",e),Un=e=>_.buildNode("Phone",e),Gn=e=>_.buildNode("Pressable",e),Kn=e=>_.buildNode("ProgressIndicator",e),Jn=e=>_.buildNode("Radio",e),Yn=e=>_.buildNode("RadioGroup",e),Zn=e=>_.buildNode("Search",e),Xn=e=>_.buildNode("SectionHeader",e),Qn=e=>_.buildNode("Select",e),es=e=>_.buildNode("SelectChips",e),ts=e=>_.buildNode("Signature",e),rs=e=>_.buildNode("Sin",e),is=e=>_.buildNode("Slider",e),os=e=>_.buildNode("SliderRange",e),ns=e=>_.buildNode("SnackBar",e),ss=e=>_.buildNode("Spacer",e),as=e=>_.buildNode("Spinner",e),ls=e=>_.buildNode("Ssn",e),ds=e=>_.buildNode("Status",e),cs=e=>_.buildNode("StatusBar",e),ps=e=>_.buildNode("Switch",e),us=e=>_.buildNode("Tabs",e),fs=e=>_.buildNode("Text",e),hs=e=>_.buildNode("Textarea",e),ms=e=>_.buildNode("Time",e),gs=e=>_.buildNode("TimeRange",e),ys=e=>_.buildNode("Tip",e),bs=e=>_.buildNode("VStack",e),$s=e=>_.buildNode("Widget",e),vs=e=>_.buildNode("WorkEmail",e),Ss=(e,t)=>dr.buildAction("goBack",e,t),ws=(e,t)=>dr.buildAction("navigate",e,t),ks=(e,t)=>dr.buildAction("push",e,t),Os=e=>({$computed:"currency_format",args:e}),Cs=e=>({$computed:"currency_getCurrencyCodeByCountryCode",args:e}),Ps=e=>({$computed:"currency_getCurrencyNameByCode",args:e}),_s=e=>({$computed:"currency_getCurrencySymbol",args:e}),Vs=e=>({$computed:"currency_isConvertableToCurrency",args:e}),Fs=e=>({$computed:"currency_toMoney",args:e}),Ds=e=>({$computed:"dateTime_add",args:e}),js=e=>({$computed:"dateTime_format",args:e});var er={exports:{}},Wi={},oe={},Ne={},ot={},E={},it={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(b){if(super(),!e.IDENTIFIER.test(b))throw new Error("CodeGen: name must be a valid identifier");this.str=b}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class i extends t{constructor(b){super(),this._items=typeof b=="string"?[b]:b}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const b=this._items[0];return b===""||b==='""'}get str(){var b;return(b=this._str)!==null&&b!==void 0?b:this._str=this._items.reduce((C,F)=>`${C}${F}`,"")}get names(){var b;return(b=this._names)!==null&&b!==void 0?b:this._names=this._items.reduce((C,F)=>(F instanceof r&&(C[F.str]=(C[F.str]||0)+1),C),{})}}e._Code=i,e.nil=new i("");function o(u,...b){const C=[u[0]];let F=0;for(;F<b.length;)l(C,b[F]),C.push(u[++F]);return new i(C)}e._=o;const n=new i("+");function a(u,...b){const C=[S(u[0])];let F=0;for(;F<b.length;)C.push(n),l(C,b[F]),C.push(n,S(u[++F]));return d(C),new i(C)}e.str=a;function l(u,b){b instanceof i?u.push(...b._items):b instanceof r?u.push(b):u.push(h(b))}e.addCodeArg=l;function d(u){let b=1;for(;b<u.length-1;){if(u[b]===n){const C=c(u[b-1],u[b+1]);if(C!==void 0){u.splice(b-1,3,C);continue}u[b++]="+"}b++}}function c(u,b){if(b==='""')return u;if(u==='""')return b;if(typeof u=="string")return b instanceof r||u[u.length-1]!=='"'?void 0:typeof b!="string"?`${u.slice(0,-1)}${b}"`:b[0]==='"'?u.slice(0,-1)+b.slice(1):void 0;if(typeof b=="string"&&b[0]==='"'&&!(u instanceof r))return`"${u}${b.slice(1)}`}function f(u,b){return b.emptyStr()?u:u.emptyStr()?b:a`${u}${b}`}e.strConcat=f;function h(u){return typeof u=="number"||typeof u=="boolean"||u===null?u:S(Array.isArray(u)?u.join(","):u)}function k(u){return new i(S(u))}e.stringify=k;function S(u){return JSON.stringify(u).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=S;function $(u){return typeof u=="string"&&e.IDENTIFIER.test(u)?new i(`.${u}`):o`[${u}]`}e.getProperty=$;function w(u){if(typeof u=="string"&&e.IDENTIFIER.test(u))return new i(`${u}`);throw new Error(`CodeGen: invalid export name: ${u}, use explicit $id name mapping`)}e.getEsmExportName=w;function g(u){return new i(u.toString())}e.regexpCode=g})(it);var tr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=it;class r extends Error{constructor(c){super(`CodeGen: "code" for ${c} not defined`),this.value=c.value}}var i;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(i||(e.UsedValueState=i={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:c,parent:f}={}){this._names={},this._prefixes=c,this._parent=f}toName(c){return c instanceof t.Name?c:this.name(c)}name(c){return new t.Name(this._newName(c))}_newName(c){const f=this._names[c]||this._nameGroup(c);return`${c}${f.index++}`}_nameGroup(c){var f,h;if(!((h=(f=this._parent)===null||f===void 0?void 0:f._prefixes)===null||h===void 0)&&h.has(c)||this._prefixes&&!this._prefixes.has(c))throw new Error(`CodeGen: prefix "${c}" is not allowed in this scope`);return this._names[c]={prefix:c,index:0}}}e.Scope=o;class n extends t.Name{constructor(c,f){super(f),this.prefix=c}setValue(c,{property:f,itemIndex:h}){this.value=c,this.scopePath=(0,t._)`.${new t.Name(f)}[${h}]`}}e.ValueScopeName=n;const a=(0,t._)`\n`;class l extends o{constructor(c){super(c),this._values={},this._scope=c.scope,this.opts={...c,_n:c.lines?a:t.nil}}get(){return this._scope}name(c){return new n(c,this._newName(c))}value(c,f){var h;if(f.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const k=this.toName(c),{prefix:S}=k,$=(h=f.key)!==null&&h!==void 0?h:f.ref;let w=this._values[S];if(w){const b=w.get($);if(b)return b}else w=this._values[S]=new Map;w.set($,k);const g=this._scope[S]||(this._scope[S]=[]),u=g.length;return g[u]=f.ref,k.setValue(f,{property:S,itemIndex:u}),k}getValue(c,f){const h=this._values[c];if(h)return h.get(f)}scopeRefs(c,f=this._values){return this._reduceValues(f,h=>{if(h.scopePath===void 0)throw new Error(`CodeGen: name "${h}" has no value`);return(0,t._)`${c}${h.scopePath}`})}scopeCode(c=this._values,f,h){return this._reduceValues(c,k=>{if(k.value===void 0)throw new Error(`CodeGen: name "${k}" has no value`);return k.value.code},f,h)}_reduceValues(c,f,h={},k){let S=t.nil;for(const $ in c){const w=c[$];if(!w)continue;const g=h[$]=h[$]||new Map;w.forEach(u=>{if(g.has(u))return;g.set(u,i.Started);let b=f(u);if(b){const C=this.opts.es5?e.varKinds.var:e.varKinds.const;S=(0,t._)`${S}${C} ${u} = ${b};${this.opts._n}`}else if(b=k==null?void 0:k(u))S=(0,t._)`${S}${b}${this.opts._n}`;else throw new r(u);g.set(u,i.Completed)})}return S}}e.ValueScope=l})(tr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=it,r=tr;var i=it;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}});var o=tr;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class n{optimizeNodes(){return this}optimizeNames(s,p){return this}}class a extends n{constructor(s,p,v){super(),this.varKind=s,this.name=p,this.rhs=v}render({es5:s,_n:p}){const v=s?r.varKinds.var:this.varKind,R=this.rhs===void 0?"":` = ${this.rhs}`;return`${v} ${this.name}${R};`+p}optimizeNames(s,p){if(s[this.name.str])return this.rhs&&(this.rhs=fe(this.rhs,s,p)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class l extends n{constructor(s,p,v){super(),this.lhs=s,this.rhs=p,this.sideEffects=v}render({_n:s}){return`${this.lhs} = ${this.rhs};`+s}optimizeNames(s,p){if(!(this.lhs instanceof t.Name&&!s[this.lhs.str]&&!this.sideEffects))return this.rhs=fe(this.rhs,s,p),this}get names(){const s=this.lhs instanceof t.Name?{}:{...this.lhs.names};return _e(s,this.rhs)}}class d extends l{constructor(s,p,v,R){super(s,v,R),this.op=p}render({_n:s}){return`${this.lhs} ${this.op}= ${this.rhs};`+s}}class c extends n{constructor(s){super(),this.label=s,this.names={}}render({_n:s}){return`${this.label}:`+s}}class f extends n{constructor(s){super(),this.label=s,this.names={}}render({_n:s}){return`break${this.label?` ${this.label}`:""};`+s}}class h extends n{constructor(s){super(),this.error=s}render({_n:s}){return`throw ${this.error};`+s}get names(){return this.error.names}}class k extends n{constructor(s){super(),this.code=s}render({_n:s}){return`${this.code};`+s}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(s,p){return this.code=fe(this.code,s,p),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class S extends n{constructor(s=[]){super(),this.nodes=s}render(s){return this.nodes.reduce((p,v)=>p+v.render(s),"")}optimizeNodes(){const{nodes:s}=this;let p=s.length;for(;p--;){const v=s[p].optimizeNodes();Array.isArray(v)?s.splice(p,1,...v):v?s[p]=v:s.splice(p,1)}return s.length>0?this:void 0}optimizeNames(s,p){const{nodes:v}=this;let R=v.length;for(;R--;){const T=v[R];T.optimizeNames(s,p)||(We(s,T.names),v.splice(R,1))}return v.length>0?this:void 0}get names(){return this.nodes.reduce((s,p)=>le(s,p.names),{})}}class $ extends S{render(s){return"{"+s._n+super.render(s)+"}"+s._n}}class w extends S{}class g extends ${}g.kind="else";class u extends ${constructor(s,p){super(p),this.condition=s}render(s){let p=`if(${this.condition})`+super.render(s);return this.else&&(p+="else "+this.else.render(s)),p}optimizeNodes(){super.optimizeNodes();const s=this.condition;if(s===!0)return this.nodes;let p=this.else;if(p){const v=p.optimizeNodes();p=this.else=Array.isArray(v)?new g(v):v}if(p)return s===!1?p instanceof u?p:p.nodes:this.nodes.length?this:new u(at(s),p instanceof u?[p]:p.nodes);if(!(s===!1||!this.nodes.length))return this}optimizeNames(s,p){var v;if(this.else=(v=this.else)===null||v===void 0?void 0:v.optimizeNames(s,p),!!(super.optimizeNames(s,p)||this.else))return this.condition=fe(this.condition,s,p),this}get names(){const s=super.names;return _e(s,this.condition),this.else&&le(s,this.else.names),s}}u.kind="if";class b extends ${}b.kind="for";class C extends b{constructor(s){super(),this.iteration=s}render(s){return`for(${this.iteration})`+super.render(s)}optimizeNames(s,p){if(super.optimizeNames(s,p))return this.iteration=fe(this.iteration,s,p),this}get names(){return le(super.names,this.iteration.names)}}class F extends b{constructor(s,p,v,R){super(),this.varKind=s,this.name=p,this.from=v,this.to=R}render(s){const p=s.es5?r.varKinds.var:this.varKind,{name:v,from:R,to:T}=this;return`for(${p} ${v}=${R}; ${v}<${T}; ${v}++)`+super.render(s)}get names(){const s=_e(super.names,this.from);return _e(s,this.to)}}class D extends b{constructor(s,p,v,R){super(),this.loop=s,this.varKind=p,this.name=v,this.iterable=R}render(s){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(s)}optimizeNames(s,p){if(super.optimizeNames(s,p))return this.iterable=fe(this.iterable,s,p),this}get names(){return le(super.names,this.iterable.names)}}class B extends ${constructor(s,p,v){super(),this.name=s,this.args=p,this.async=v}render(s){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(s)}}B.kind="func";class H extends S{render(s){return"return "+super.render(s)}}H.kind="return";class ae extends ${render(s){let p="try"+super.render(s);return this.catch&&(p+=this.catch.render(s)),this.finally&&(p+=this.finally.render(s)),p}optimizeNodes(){var s,p;return super.optimizeNodes(),(s=this.catch)===null||s===void 0||s.optimizeNodes(),(p=this.finally)===null||p===void 0||p.optimizeNodes(),this}optimizeNames(s,p){var v,R;return super.optimizeNames(s,p),(v=this.catch)===null||v===void 0||v.optimizeNames(s,p),(R=this.finally)===null||R===void 0||R.optimizeNames(s,p),this}get names(){const s=super.names;return this.catch&&le(s,this.catch.names),this.finally&&le(s,this.finally.names),s}}class ue extends ${constructor(s){super(),this.error=s}render(s){return`catch(${this.error})`+super.render(s)}}ue.kind="catch";class $e extends ${render(s){return"finally"+super.render(s)}}$e.kind="finally";class He{constructor(s,p={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...p,_n:p.lines?`
2
- `:""},this._extScope=s,this._scope=new r.Scope({parent:s}),this._nodes=[new w]}toString(){return this._root.render(this.opts)}name(s){return this._scope.name(s)}scopeName(s){return this._extScope.name(s)}scopeValue(s,p){const v=this._extScope.value(s,p);return(this._values[v.prefix]||(this._values[v.prefix]=new Set)).add(v),v}getScopeValue(s,p){return this._extScope.getValue(s,p)}scopeRefs(s){return this._extScope.scopeRefs(s,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(s,p,v,R){const T=this._scope.toName(p);return v!==void 0&&R&&(this._constants[T.str]=v),this._leafNode(new a(s,T,v)),T}const(s,p,v){return this._def(r.varKinds.const,s,p,v)}let(s,p,v){return this._def(r.varKinds.let,s,p,v)}var(s,p,v){return this._def(r.varKinds.var,s,p,v)}assign(s,p,v){return this._leafNode(new l(s,p,v))}add(s,p){return this._leafNode(new d(s,e.operators.ADD,p))}code(s){return typeof s=="function"?s():s!==t.nil&&this._leafNode(new k(s)),this}object(...s){const p=["{"];for(const[v,R]of s)p.length>1&&p.push(","),p.push(v),(v!==R||this.opts.es5)&&(p.push(":"),(0,t.addCodeArg)(p,R));return p.push("}"),new t._Code(p)}if(s,p,v){if(this._blockNode(new u(s)),p&&v)this.code(p).else().code(v).endIf();else if(p)this.code(p).endIf();else if(v)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(s){return this._elseNode(new u(s))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(u,g)}_for(s,p){return this._blockNode(s),p&&this.code(p).endFor(),this}for(s,p){return this._for(new C(s),p)}forRange(s,p,v,R,T=this.opts.es5?r.varKinds.var:r.varKinds.let){const z=this._scope.toName(s);return this._for(new F(T,z,p,v),()=>R(z))}forOf(s,p,v,R=r.varKinds.const){const T=this._scope.toName(s);if(this.opts.es5){const z=p instanceof t.Name?p:this.var("_arr",p);return this.forRange("_i",0,(0,t._)`${z}.length`,A=>{this.var(T,(0,t._)`${z}[${A}]`),v(T)})}return this._for(new D("of",R,T,p),()=>v(T))}forIn(s,p,v,R=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(s,(0,t._)`Object.keys(${p})`,v);const T=this._scope.toName(s);return this._for(new D("in",R,T,p),()=>v(T))}endFor(){return this._endBlockNode(b)}label(s){return this._leafNode(new c(s))}break(s){return this._leafNode(new f(s))}return(s){const p=new H;if(this._blockNode(p),this.code(s),p.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(H)}try(s,p,v){if(!p&&!v)throw new Error('CodeGen: "try" without "catch" and "finally"');const R=new ae;if(this._blockNode(R),this.code(s),p){const T=this.name("e");this._currNode=R.catch=new ue(T),p(T)}return v&&(this._currNode=R.finally=new $e,this.code(v)),this._endBlockNode(ue,$e)}throw(s){return this._leafNode(new h(s))}block(s,p){return this._blockStarts.push(this._nodes.length),s&&this.code(s).endBlock(p),this}endBlock(s){const p=this._blockStarts.pop();if(p===void 0)throw new Error("CodeGen: not in self-balancing block");const v=this._nodes.length-p;if(v<0||s!==void 0&&v!==s)throw new Error(`CodeGen: wrong number of nodes: ${v} vs ${s} expected`);return this._nodes.length=p,this}func(s,p=t.nil,v,R){return this._blockNode(new B(s,p,v)),R&&this.code(R).endFunc(),this}endFunc(){return this._endBlockNode(B)}optimize(s=1){for(;s-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(s){return this._currNode.nodes.push(s),this}_blockNode(s){this._currNode.nodes.push(s),this._nodes.push(s)}_endBlockNode(s,p){const v=this._currNode;if(v instanceof s||p&&v instanceof p)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${p?`${s.kind}/${p.kind}`:s.kind}"`)}_elseNode(s){const p=this._currNode;if(!(p instanceof u))throw new Error('CodeGen: "else" without "if"');return this._currNode=p.else=s,this}get _root(){return this._nodes[0]}get _currNode(){const s=this._nodes;return s[s.length-1]}set _currNode(s){const p=this._nodes;p[p.length-1]=s}}e.CodeGen=He;function le(y,s){for(const p in s)y[p]=(y[p]||0)+(s[p]||0);return y}function _e(y,s){return s instanceof t._CodeOrName?le(y,s.names):y}function fe(y,s,p){if(y instanceof t.Name)return v(y);if(!R(y))return y;return new t._Code(y._items.reduce((T,z)=>(z instanceof t.Name&&(z=v(z)),z instanceof t._Code?T.push(...z._items):T.push(z),T),[]));function v(T){const z=p[T.str];return z===void 0||s[T.str]!==1?T:(delete s[T.str],z)}function R(T){return T instanceof t._Code&&T._items.some(z=>z instanceof t.Name&&s[z.str]===1&&p[z.str]!==void 0)}}function We(y,s){for(const p in s)y[p]=(y[p]||0)-(s[p]||0)}function at(y){return typeof y=="boolean"||typeof y=="number"||y===null?!y:(0,t._)`!${O(y)}`}e.not=at;const Rt=m(e.operators.AND);function Tt(...y){return y.reduce(Rt)}e.and=Tt;const lt=m(e.operators.OR);function P(...y){return y.reduce(lt)}e.or=P;function m(y){return(s,p)=>s===t.nil?p:p===t.nil?s:(0,t._)`${O(s)} ${y} ${O(p)}`}function O(y){return y instanceof t.Name?y:(0,t._)`(${y})`}})(E);var V={};Object.defineProperty(V,"__esModule",{value:!0});V.checkStrictMode=V.getErrorPath=V.Type=V.useFunc=V.setEvaluated=V.evaluatedPropsToName=V.mergeEvaluated=V.eachItem=V.unescapeJsonPointer=V.escapeJsonPointer=V.escapeFragment=V.unescapeFragment=V.schemaRefOrVal=V.schemaHasRulesButRef=V.schemaHasRules=V.checkUnknownRules=V.alwaysValidSchema=V.toHash=void 0;const M=E,Rs=it;function Ts(e){const t={};for(const r of e)t[r]=!0;return t}V.toHash=Ts;function Is(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(Ui(e,t),!Gi(t,e.self.RULES.all))}V.alwaysValidSchema=Is;function Ui(e,t=e.schema){const{opts:r,self:i}=e;if(!r.strictSchema||typeof t=="boolean")return;const o=i.RULES.keywords;for(const n in t)o[n]||Yi(e,`unknown keyword: "${n}"`)}V.checkUnknownRules=Ui;function Gi(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return!0;return!1}V.schemaHasRules=Gi;function Es(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return!0;return!1}V.schemaHasRulesButRef=Es;function Ns({topSchemaRef:e,schemaPath:t},r,i,o){if(!o){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,M._)`${r}`}return(0,M._)`${e}${t}${(0,M.getProperty)(i)}`}V.schemaRefOrVal=Ns;function xs(e){return Ki(decodeURIComponent(e))}V.unescapeFragment=xs;function As(e){return encodeURIComponent(cr(e))}V.escapeFragment=As;function cr(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}V.escapeJsonPointer=cr;function Ki(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}V.unescapeJsonPointer=Ki;function zs(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)}V.eachItem=zs;function hi({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:i}){return(o,n,a,l)=>{const d=a===void 0?n:a instanceof M.Name?(n instanceof M.Name?e(o,n,a):t(o,n,a),a):n instanceof M.Name?(t(o,a,n),n):r(n,a);return l===M.Name&&!(d instanceof M.Name)?i(o,d):d}}V.mergeEvaluated={props:hi({mergeNames:(e,t,r)=>e.if((0,M._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,M._)`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,M._)`${r} || {}`).code((0,M._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,M._)`${r} !== true`,()=>{t===!0?e.assign(r,!0):(e.assign(r,(0,M._)`${r} || {}`),pr(e,r,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:Ji}),items:hi({mergeNames:(e,t,r)=>e.if((0,M._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,M._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,M._)`${r} !== true`,()=>e.assign(r,t===!0?!0:(0,M._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function Ji(e,t){if(t===!0)return e.var("props",!0);const r=e.var("props",(0,M._)`{}`);return t!==void 0&&pr(e,r,t),r}V.evaluatedPropsToName=Ji;function pr(e,t,r){Object.keys(r).forEach(i=>e.assign((0,M._)`${t}${(0,M.getProperty)(i)}`,!0))}V.setEvaluated=pr;const mi={};function Ms(e,t){return e.scopeValue("func",{ref:t,code:mi[t.code]||(mi[t.code]=new Rs._Code(t.code))})}V.useFunc=Ms;var rr;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(rr||(V.Type=rr={}));function Bs(e,t,r){if(e instanceof M.Name){const i=t===rr.Num;return r?i?(0,M._)`"[" + ${e} + "]"`:(0,M._)`"['" + ${e} + "']"`:i?(0,M._)`"/" + ${e}`:(0,M._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,M.getProperty)(e).toString():"/"+cr(e)}V.getErrorPath=Bs;function Yi(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,r===!0)throw new Error(t);e.self.logger.warn(t)}}V.checkStrictMode=Yi;var Q={};Object.defineProperty(Q,"__esModule",{value:!0});const J=E,Ls={data:new J.Name("data"),valCxt:new J.Name("valCxt"),instancePath:new J.Name("instancePath"),parentData:new J.Name("parentData"),parentDataProperty:new J.Name("parentDataProperty"),rootData:new J.Name("rootData"),dynamicAnchors:new J.Name("dynamicAnchors"),vErrors:new J.Name("vErrors"),errors:new J.Name("errors"),this:new J.Name("this"),self:new J.Name("self"),scope:new J.Name("scope"),json:new J.Name("json"),jsonPos:new J.Name("jsonPos"),jsonLen:new J.Name("jsonLen"),jsonPart:new J.Name("jsonPart")};Q.default=Ls;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=E,r=V,i=Q;e.keywordError={message:({keyword:g})=>(0,t.str)`must pass "${g}" keyword validation`},e.keyword$DataError={message:({keyword:g,schemaType:u})=>u?(0,t.str)`"${g}" keyword must be ${u} ($data)`:(0,t.str)`"${g}" keyword is invalid ($data)`};function o(g,u=e.keywordError,b,C){const{it:F}=g,{gen:D,compositeRule:B,allErrors:H}=F,ae=h(g,u,b);C??(B||H)?d(D,ae):c(F,(0,t._)`[${ae}]`)}e.reportError=o;function n(g,u=e.keywordError,b){const{it:C}=g,{gen:F,compositeRule:D,allErrors:B}=C,H=h(g,u,b);d(F,H),D||B||c(C,i.default.vErrors)}e.reportExtraError=n;function a(g,u){g.assign(i.default.errors,u),g.if((0,t._)`${i.default.vErrors} !== null`,()=>g.if(u,()=>g.assign((0,t._)`${i.default.vErrors}.length`,u),()=>g.assign(i.default.vErrors,null)))}e.resetErrorsCount=a;function l({gen:g,keyword:u,schemaValue:b,data:C,errsCount:F,it:D}){if(F===void 0)throw new Error("ajv implementation error");const B=g.name("err");g.forRange("i",F,i.default.errors,H=>{g.const(B,(0,t._)`${i.default.vErrors}[${H}]`),g.if((0,t._)`${B}.instancePath === undefined`,()=>g.assign((0,t._)`${B}.instancePath`,(0,t.strConcat)(i.default.instancePath,D.errorPath))),g.assign((0,t._)`${B}.schemaPath`,(0,t.str)`${D.errSchemaPath}/${u}`),D.opts.verbose&&(g.assign((0,t._)`${B}.schema`,b),g.assign((0,t._)`${B}.data`,C))})}e.extendErrors=l;function d(g,u){const b=g.const("err",u);g.if((0,t._)`${i.default.vErrors} === null`,()=>g.assign(i.default.vErrors,(0,t._)`[${b}]`),(0,t._)`${i.default.vErrors}.push(${b})`),g.code((0,t._)`${i.default.errors}++`)}function c(g,u){const{gen:b,validateName:C,schemaEnv:F}=g;F.$async?b.throw((0,t._)`new ${g.ValidationError}(${u})`):(b.assign((0,t._)`${C}.errors`,u),b.return(!1))}const f={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function h(g,u,b){const{createErrors:C}=g.it;return C===!1?(0,t._)`{}`:k(g,u,b)}function k(g,u,b={}){const{gen:C,it:F}=g,D=[S(F,b),$(g,b)];return w(g,u,D),C.object(...D)}function S({errorPath:g},{instancePath:u}){const b=u?(0,t.str)`${g}${(0,r.getErrorPath)(u,r.Type.Str)}`:g;return[i.default.instancePath,(0,t.strConcat)(i.default.instancePath,b)]}function $({keyword:g,it:{errSchemaPath:u}},{schemaPath:b,parentSchema:C}){let F=C?u:(0,t.str)`${u}/${g}`;return b&&(F=(0,t.str)`${F}${(0,r.getErrorPath)(b,r.Type.Str)}`),[f.schemaPath,F]}function w(g,{params:u,message:b},C){const{keyword:F,data:D,schemaValue:B,it:H}=g,{opts:ae,propertyName:ue,topSchemaRef:$e,schemaPath:He}=H;C.push([f.keyword,F],[f.params,typeof u=="function"?u(g):u||(0,t._)`{}`]),ae.messages&&C.push([f.message,typeof b=="function"?b(g):b]),ae.verbose&&C.push([f.schema,B],[f.parentSchema,(0,t._)`${$e}${He}`],[i.default.data,D]),ue&&C.push([f.propertyName,ue])}})(ot);Object.defineProperty(Ne,"__esModule",{value:!0});Ne.boolOrEmptySchema=Ne.topBoolOrEmptySchema=void 0;const qs=ot,Hs=E,Ws=Q,Us={message:"boolean schema is false"};function Gs(e){const{gen:t,schema:r,validateName:i}=e;r===!1?Zi(e,!1):typeof r=="object"&&r.$async===!0?t.return(Ws.default.data):(t.assign((0,Hs._)`${i}.errors`,null),t.return(!0))}Ne.topBoolOrEmptySchema=Gs;function Ks(e,t){const{gen:r,schema:i}=e;i===!1?(r.var(t,!1),Zi(e)):r.var(t,!0)}Ne.boolOrEmptySchema=Ks;function Zi(e,t){const{gen:r,data:i}=e,o={gen:r,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,qs.reportError)(o,Us,void 0,t)}var W={},Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.getRules=Ce.isJSONType=void 0;const Js=["string","number","integer","boolean","null","object","array"],Ys=new Set(Js);function Zs(e){return typeof e=="string"&&Ys.has(e)}Ce.isJSONType=Zs;function Xs(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}Ce.getRules=Xs;var de={};Object.defineProperty(de,"__esModule",{value:!0});de.shouldUseRule=de.shouldUseGroup=de.schemaHasRulesForType=void 0;function Qs({schema:e,self:t},r){const i=t.RULES.types[r];return i&&i!==!0&&Xi(e,i)}de.schemaHasRulesForType=Qs;function Xi(e,t){return t.rules.some(r=>Qi(e,r))}de.shouldUseGroup=Xi;function Qi(e,t){var r;return e[t.keyword]!==void 0||((r=t.definition.implements)===null||r===void 0?void 0:r.some(i=>e[i]!==void 0))}de.shouldUseRule=Qi;Object.defineProperty(W,"__esModule",{value:!0});W.reportTypeError=W.checkDataTypes=W.checkDataType=W.coerceAndCheckDataType=W.getJSONTypes=W.getSchemaTypes=W.DataType=void 0;const ea=Ce,ta=de,ra=ot,N=E,eo=V;var Te;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(Te||(W.DataType=Te={}));function ia(e){const t=to(e.type);if(t.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&t.push("null")}return t}W.getSchemaTypes=ia;function to(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(ea.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}W.getJSONTypes=to;function oa(e,t){const{gen:r,data:i,opts:o}=e,n=na(t,o.coerceTypes),a=t.length>0&&!(n.length===0&&t.length===1&&(0,ta.schemaHasRulesForType)(e,t[0]));if(a){const l=ur(t,i,o.strictNumbers,Te.Wrong);r.if(l,()=>{n.length?sa(e,t,n):fr(e)})}return a}W.coerceAndCheckDataType=oa;const ro=new Set(["string","number","integer","boolean","null"]);function na(e,t){return t?e.filter(r=>ro.has(r)||t==="array"&&r==="array"):[]}function sa(e,t,r){const{gen:i,data:o,opts:n}=e,a=i.let("dataType",(0,N._)`typeof ${o}`),l=i.let("coerced",(0,N._)`undefined`);n.coerceTypes==="array"&&i.if((0,N._)`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>i.assign(o,(0,N._)`${o}[0]`).assign(a,(0,N._)`typeof ${o}`).if(ur(t,o,n.strictNumbers),()=>i.assign(l,o))),i.if((0,N._)`${l} !== undefined`);for(const c of r)(ro.has(c)||c==="array"&&n.coerceTypes==="array")&&d(c);i.else(),fr(e),i.endIf(),i.if((0,N._)`${l} !== undefined`,()=>{i.assign(o,l),aa(e,l)});function d(c){switch(c){case"string":i.elseIf((0,N._)`${a} == "number" || ${a} == "boolean"`).assign(l,(0,N._)`"" + ${o}`).elseIf((0,N._)`${o} === null`).assign(l,(0,N._)`""`);return;case"number":i.elseIf((0,N._)`${a} == "boolean" || ${o} === null
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("../../core/component-utils.cjs"),Ct=require("../../core/action-utils.cjs"),Xo=require("../../core/catalog-validation.cjs"),Qo=require("../../core/spec.cjs"),en=e=>P.buildNode("ActionCard",e),tn=e=>P.buildNode("Anchor",e),rn=e=>P.buildNode("Animation",e),on=e=>P.buildNode("Avatar",e),nn=e=>P.buildNode("AvatarStack",e),sn=e=>P.buildNode("Badge",e),an=e=>P.buildNode("Button",e),ln=e=>P.buildNode("Card",e),dn=e=>P.buildNode("Checkbox",e),cn=e=>P.buildNode("CheckboxGroup",e),pn=e=>P.buildNode("Chip",e),un=e=>P.buildNode("Country",e),fn=e=>P.buildNode("Currency",e),hn=e=>P.buildNode("Date",e),mn=e=>P.buildNode("DateRange",e),gn=e=>P.buildNode("DateTimePicker",e),yn=e=>P.buildNode("Divider",e),bn=e=>P.buildNode("Email",e),$n=e=>P.buildNode("ExpansionPanel",e),vn=e=>P.buildNode("FileViewerButton",e),Sn=e=>P.buildNode("FileViewerPressable",e),wn=e=>P.buildNode("FloatingButton",e),kn=e=>P.buildNode("Form",e),On=e=>P.buildNode("Group",e),Cn=e=>P.buildNode("Hidden",e),Pn=e=>P.buildNode("HStack",e),_n=e=>P.buildNode("Icon",e),Vn=e=>P.buildNode("Image",e),Dn=e=>P.buildNode("InputText",e),Fn=e=>P.buildNode("Label",e),jn=e=>P.buildNode("List",e),Rn=e=>P.buildNode("ListItem",e),Tn=e=>P.buildNode("ModalSheet",e),In=e=>P.buildNode("Notice",e),En=e=>P.buildNode("Number",e),Nn=e=>P.buildNode("ObjectFooter",e),xn=e=>P.buildNode("ObjectItem",e),An=e=>P.buildNode("ObjectListView",e),zn=e=>P.buildNode("ObjectListViewCard",e),Mn=e=>P.buildNode("PageCondensedFooter",e),Bn=e=>P.buildNode("PageCondensedHeader",e),Ln=e=>P.buildNode("PageFilterHeader",e),qn=e=>P.buildNode("PageFooter",e),Hn=e=>P.buildNode("PageHeader",e),Wn=e=>P.buildNode("PageModalActionHeader",e),Un=e=>P.buildNode("Password",e),Gn=e=>P.buildNode("Percentage",e),Kn=e=>P.buildNode("Phone",e),Jn=e=>P.buildNode("Pressable",e),Yn=e=>P.buildNode("ProgressIndicator",e),Zn=e=>P.buildNode("Radio",e),Xn=e=>P.buildNode("RadioGroup",e),Qn=e=>P.buildNode("Search",e),es=e=>P.buildNode("SectionHeader",e),ts=e=>P.buildNode("Select",e),rs=e=>P.buildNode("SelectChips",e),is=e=>P.buildNode("Signature",e),os=e=>P.buildNode("Sin",e),ns=e=>P.buildNode("Slider",e),ss=e=>P.buildNode("SliderRange",e),as=e=>P.buildNode("SnackBar",e),ls=e=>P.buildNode("Spacer",e),ds=e=>P.buildNode("Spinner",e),cs=e=>P.buildNode("Ssn",e),ps=e=>P.buildNode("Status",e),us=e=>P.buildNode("StatusBar",e),fs=e=>P.buildNode("Switch",e),hs=e=>P.buildNode("Tabs",e),ms=e=>P.buildNode("Text",e),gs=e=>P.buildNode("Textarea",e),ys=e=>P.buildNode("Time",e),bs=e=>P.buildNode("TimeRange",e),$s=e=>P.buildNode("Tip",e),vs=e=>P.buildNode("VStack",e),Ss=e=>P.buildNode("Widget",e),ws=e=>P.buildNode("WorkEmail",e),ks=(e,t)=>Ct.buildAction("goBack",e,t),Os=(e,t)=>Ct.buildAction("navigate",e,t),Cs=(e,t)=>Ct.buildAction("push",e,t),Ps=(e,t)=>Ct.buildAction("triggerApi",e,t),_s=e=>({$computed:"currency_format",args:e}),Vs=e=>({$computed:"currency_getCurrencyCodeByCountryCode",args:e}),Ds=e=>({$computed:"currency_getCurrencyNameByCode",args:e}),Fs=e=>({$computed:"currency_getCurrencySymbol",args:e}),js=e=>({$computed:"currency_isConvertableToCurrency",args:e}),Rs=e=>({$computed:"currency_toMoney",args:e}),Ts=e=>({$computed:"dateTime_add",args:e}),Is=e=>({$computed:"dateTime_format",args:e});var tr={exports:{}},qi={},oe={},Ne={},ot={},E={},it={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(b){if(super(),!e.IDENTIFIER.test(b))throw new Error("CodeGen: name must be a valid identifier");this.str=b}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class i extends t{constructor(b){super(),this._items=typeof b=="string"?[b]:b}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const b=this._items[0];return b===""||b==='""'}get str(){var b;return(b=this._str)!==null&&b!==void 0?b:this._str=this._items.reduce((C,D)=>`${C}${D}`,"")}get names(){var b;return(b=this._names)!==null&&b!==void 0?b:this._names=this._items.reduce((C,D)=>(D instanceof r&&(C[D.str]=(C[D.str]||0)+1),C),{})}}e._Code=i,e.nil=new i("");function o(u,...b){const C=[u[0]];let D=0;for(;D<b.length;)l(C,b[D]),C.push(u[++D]);return new i(C)}e._=o;const n=new i("+");function a(u,...b){const C=[S(u[0])];let D=0;for(;D<b.length;)C.push(n),l(C,b[D]),C.push(n,S(u[++D]));return d(C),new i(C)}e.str=a;function l(u,b){b instanceof i?u.push(...b._items):b instanceof r?u.push(b):u.push(h(b))}e.addCodeArg=l;function d(u){let b=1;for(;b<u.length-1;){if(u[b]===n){const C=c(u[b-1],u[b+1]);if(C!==void 0){u.splice(b-1,3,C);continue}u[b++]="+"}b++}}function c(u,b){if(b==='""')return u;if(u==='""')return b;if(typeof u=="string")return b instanceof r||u[u.length-1]!=='"'?void 0:typeof b!="string"?`${u.slice(0,-1)}${b}"`:b[0]==='"'?u.slice(0,-1)+b.slice(1):void 0;if(typeof b=="string"&&b[0]==='"'&&!(u instanceof r))return`"${u}${b.slice(1)}`}function f(u,b){return b.emptyStr()?u:u.emptyStr()?b:a`${u}${b}`}e.strConcat=f;function h(u){return typeof u=="number"||typeof u=="boolean"||u===null?u:S(Array.isArray(u)?u.join(","):u)}function k(u){return new i(S(u))}e.stringify=k;function S(u){return JSON.stringify(u).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=S;function $(u){return typeof u=="string"&&e.IDENTIFIER.test(u)?new i(`.${u}`):o`[${u}]`}e.getProperty=$;function w(u){if(typeof u=="string"&&e.IDENTIFIER.test(u))return new i(`${u}`);throw new Error(`CodeGen: invalid export name: ${u}, use explicit $id name mapping`)}e.getEsmExportName=w;function g(u){return new i(u.toString())}e.regexpCode=g})(it);var rr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=it;class r extends Error{constructor(c){super(`CodeGen: "code" for ${c} not defined`),this.value=c.value}}var i;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(i||(e.UsedValueState=i={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:c,parent:f}={}){this._names={},this._prefixes=c,this._parent=f}toName(c){return c instanceof t.Name?c:this.name(c)}name(c){return new t.Name(this._newName(c))}_newName(c){const f=this._names[c]||this._nameGroup(c);return`${c}${f.index++}`}_nameGroup(c){var f,h;if(!((h=(f=this._parent)===null||f===void 0?void 0:f._prefixes)===null||h===void 0)&&h.has(c)||this._prefixes&&!this._prefixes.has(c))throw new Error(`CodeGen: prefix "${c}" is not allowed in this scope`);return this._names[c]={prefix:c,index:0}}}e.Scope=o;class n extends t.Name{constructor(c,f){super(f),this.prefix=c}setValue(c,{property:f,itemIndex:h}){this.value=c,this.scopePath=(0,t._)`.${new t.Name(f)}[${h}]`}}e.ValueScopeName=n;const a=(0,t._)`\n`;class l extends o{constructor(c){super(c),this._values={},this._scope=c.scope,this.opts={...c,_n:c.lines?a:t.nil}}get(){return this._scope}name(c){return new n(c,this._newName(c))}value(c,f){var h;if(f.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const k=this.toName(c),{prefix:S}=k,$=(h=f.key)!==null&&h!==void 0?h:f.ref;let w=this._values[S];if(w){const b=w.get($);if(b)return b}else w=this._values[S]=new Map;w.set($,k);const g=this._scope[S]||(this._scope[S]=[]),u=g.length;return g[u]=f.ref,k.setValue(f,{property:S,itemIndex:u}),k}getValue(c,f){const h=this._values[c];if(h)return h.get(f)}scopeRefs(c,f=this._values){return this._reduceValues(f,h=>{if(h.scopePath===void 0)throw new Error(`CodeGen: name "${h}" has no value`);return(0,t._)`${c}${h.scopePath}`})}scopeCode(c=this._values,f,h){return this._reduceValues(c,k=>{if(k.value===void 0)throw new Error(`CodeGen: name "${k}" has no value`);return k.value.code},f,h)}_reduceValues(c,f,h={},k){let S=t.nil;for(const $ in c){const w=c[$];if(!w)continue;const g=h[$]=h[$]||new Map;w.forEach(u=>{if(g.has(u))return;g.set(u,i.Started);let b=f(u);if(b){const C=this.opts.es5?e.varKinds.var:e.varKinds.const;S=(0,t._)`${S}${C} ${u} = ${b};${this.opts._n}`}else if(b=k==null?void 0:k(u))S=(0,t._)`${S}${b}${this.opts._n}`;else throw new r(u);g.set(u,i.Completed)})}return S}}e.ValueScope=l})(rr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=it,r=rr;var i=it;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}});var o=rr;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class n{optimizeNodes(){return this}optimizeNames(s,p){return this}}class a extends n{constructor(s,p,v){super(),this.varKind=s,this.name=p,this.rhs=v}render({es5:s,_n:p}){const v=s?r.varKinds.var:this.varKind,R=this.rhs===void 0?"":` = ${this.rhs}`;return`${v} ${this.name}${R};`+p}optimizeNames(s,p){if(s[this.name.str])return this.rhs&&(this.rhs=fe(this.rhs,s,p)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class l extends n{constructor(s,p,v){super(),this.lhs=s,this.rhs=p,this.sideEffects=v}render({_n:s}){return`${this.lhs} = ${this.rhs};`+s}optimizeNames(s,p){if(!(this.lhs instanceof t.Name&&!s[this.lhs.str]&&!this.sideEffects))return this.rhs=fe(this.rhs,s,p),this}get names(){const s=this.lhs instanceof t.Name?{}:{...this.lhs.names};return _e(s,this.rhs)}}class d extends l{constructor(s,p,v,R){super(s,v,R),this.op=p}render({_n:s}){return`${this.lhs} ${this.op}= ${this.rhs};`+s}}class c extends n{constructor(s){super(),this.label=s,this.names={}}render({_n:s}){return`${this.label}:`+s}}class f extends n{constructor(s){super(),this.label=s,this.names={}}render({_n:s}){return`break${this.label?` ${this.label}`:""};`+s}}class h extends n{constructor(s){super(),this.error=s}render({_n:s}){return`throw ${this.error};`+s}get names(){return this.error.names}}class k extends n{constructor(s){super(),this.code=s}render({_n:s}){return`${this.code};`+s}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(s,p){return this.code=fe(this.code,s,p),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class S extends n{constructor(s=[]){super(),this.nodes=s}render(s){return this.nodes.reduce((p,v)=>p+v.render(s),"")}optimizeNodes(){const{nodes:s}=this;let p=s.length;for(;p--;){const v=s[p].optimizeNodes();Array.isArray(v)?s.splice(p,1,...v):v?s[p]=v:s.splice(p,1)}return s.length>0?this:void 0}optimizeNames(s,p){const{nodes:v}=this;let R=v.length;for(;R--;){const T=v[R];T.optimizeNames(s,p)||(We(s,T.names),v.splice(R,1))}return v.length>0?this:void 0}get names(){return this.nodes.reduce((s,p)=>le(s,p.names),{})}}class $ extends S{render(s){return"{"+s._n+super.render(s)+"}"+s._n}}class w extends S{}class g extends ${}g.kind="else";class u extends ${constructor(s,p){super(p),this.condition=s}render(s){let p=`if(${this.condition})`+super.render(s);return this.else&&(p+="else "+this.else.render(s)),p}optimizeNodes(){super.optimizeNodes();const s=this.condition;if(s===!0)return this.nodes;let p=this.else;if(p){const v=p.optimizeNodes();p=this.else=Array.isArray(v)?new g(v):v}if(p)return s===!1?p instanceof u?p:p.nodes:this.nodes.length?this:new u(at(s),p instanceof u?[p]:p.nodes);if(!(s===!1||!this.nodes.length))return this}optimizeNames(s,p){var v;if(this.else=(v=this.else)===null||v===void 0?void 0:v.optimizeNames(s,p),!!(super.optimizeNames(s,p)||this.else))return this.condition=fe(this.condition,s,p),this}get names(){const s=super.names;return _e(s,this.condition),this.else&&le(s,this.else.names),s}}u.kind="if";class b extends ${}b.kind="for";class C extends b{constructor(s){super(),this.iteration=s}render(s){return`for(${this.iteration})`+super.render(s)}optimizeNames(s,p){if(super.optimizeNames(s,p))return this.iteration=fe(this.iteration,s,p),this}get names(){return le(super.names,this.iteration.names)}}class D extends b{constructor(s,p,v,R){super(),this.varKind=s,this.name=p,this.from=v,this.to=R}render(s){const p=s.es5?r.varKinds.var:this.varKind,{name:v,from:R,to:T}=this;return`for(${p} ${v}=${R}; ${v}<${T}; ${v}++)`+super.render(s)}get names(){const s=_e(super.names,this.from);return _e(s,this.to)}}class F extends b{constructor(s,p,v,R){super(),this.loop=s,this.varKind=p,this.name=v,this.iterable=R}render(s){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(s)}optimizeNames(s,p){if(super.optimizeNames(s,p))return this.iterable=fe(this.iterable,s,p),this}get names(){return le(super.names,this.iterable.names)}}class B extends ${constructor(s,p,v){super(),this.name=s,this.args=p,this.async=v}render(s){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(s)}}B.kind="func";class H extends S{render(s){return"return "+super.render(s)}}H.kind="return";class ae extends ${render(s){let p="try"+super.render(s);return this.catch&&(p+=this.catch.render(s)),this.finally&&(p+=this.finally.render(s)),p}optimizeNodes(){var s,p;return super.optimizeNodes(),(s=this.catch)===null||s===void 0||s.optimizeNodes(),(p=this.finally)===null||p===void 0||p.optimizeNodes(),this}optimizeNames(s,p){var v,R;return super.optimizeNames(s,p),(v=this.catch)===null||v===void 0||v.optimizeNames(s,p),(R=this.finally)===null||R===void 0||R.optimizeNames(s,p),this}get names(){const s=super.names;return this.catch&&le(s,this.catch.names),this.finally&&le(s,this.finally.names),s}}class ue extends ${constructor(s){super(),this.error=s}render(s){return`catch(${this.error})`+super.render(s)}}ue.kind="catch";class $e extends ${render(s){return"finally"+super.render(s)}}$e.kind="finally";class He{constructor(s,p={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...p,_n:p.lines?`
2
+ `:""},this._extScope=s,this._scope=new r.Scope({parent:s}),this._nodes=[new w]}toString(){return this._root.render(this.opts)}name(s){return this._scope.name(s)}scopeName(s){return this._extScope.name(s)}scopeValue(s,p){const v=this._extScope.value(s,p);return(this._values[v.prefix]||(this._values[v.prefix]=new Set)).add(v),v}getScopeValue(s,p){return this._extScope.getValue(s,p)}scopeRefs(s){return this._extScope.scopeRefs(s,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(s,p,v,R){const T=this._scope.toName(p);return v!==void 0&&R&&(this._constants[T.str]=v),this._leafNode(new a(s,T,v)),T}const(s,p,v){return this._def(r.varKinds.const,s,p,v)}let(s,p,v){return this._def(r.varKinds.let,s,p,v)}var(s,p,v){return this._def(r.varKinds.var,s,p,v)}assign(s,p,v){return this._leafNode(new l(s,p,v))}add(s,p){return this._leafNode(new d(s,e.operators.ADD,p))}code(s){return typeof s=="function"?s():s!==t.nil&&this._leafNode(new k(s)),this}object(...s){const p=["{"];for(const[v,R]of s)p.length>1&&p.push(","),p.push(v),(v!==R||this.opts.es5)&&(p.push(":"),(0,t.addCodeArg)(p,R));return p.push("}"),new t._Code(p)}if(s,p,v){if(this._blockNode(new u(s)),p&&v)this.code(p).else().code(v).endIf();else if(p)this.code(p).endIf();else if(v)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(s){return this._elseNode(new u(s))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(u,g)}_for(s,p){return this._blockNode(s),p&&this.code(p).endFor(),this}for(s,p){return this._for(new C(s),p)}forRange(s,p,v,R,T=this.opts.es5?r.varKinds.var:r.varKinds.let){const z=this._scope.toName(s);return this._for(new D(T,z,p,v),()=>R(z))}forOf(s,p,v,R=r.varKinds.const){const T=this._scope.toName(s);if(this.opts.es5){const z=p instanceof t.Name?p:this.var("_arr",p);return this.forRange("_i",0,(0,t._)`${z}.length`,A=>{this.var(T,(0,t._)`${z}[${A}]`),v(T)})}return this._for(new F("of",R,T,p),()=>v(T))}forIn(s,p,v,R=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(s,(0,t._)`Object.keys(${p})`,v);const T=this._scope.toName(s);return this._for(new F("in",R,T,p),()=>v(T))}endFor(){return this._endBlockNode(b)}label(s){return this._leafNode(new c(s))}break(s){return this._leafNode(new f(s))}return(s){const p=new H;if(this._blockNode(p),this.code(s),p.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(H)}try(s,p,v){if(!p&&!v)throw new Error('CodeGen: "try" without "catch" and "finally"');const R=new ae;if(this._blockNode(R),this.code(s),p){const T=this.name("e");this._currNode=R.catch=new ue(T),p(T)}return v&&(this._currNode=R.finally=new $e,this.code(v)),this._endBlockNode(ue,$e)}throw(s){return this._leafNode(new h(s))}block(s,p){return this._blockStarts.push(this._nodes.length),s&&this.code(s).endBlock(p),this}endBlock(s){const p=this._blockStarts.pop();if(p===void 0)throw new Error("CodeGen: not in self-balancing block");const v=this._nodes.length-p;if(v<0||s!==void 0&&v!==s)throw new Error(`CodeGen: wrong number of nodes: ${v} vs ${s} expected`);return this._nodes.length=p,this}func(s,p=t.nil,v,R){return this._blockNode(new B(s,p,v)),R&&this.code(R).endFunc(),this}endFunc(){return this._endBlockNode(B)}optimize(s=1){for(;s-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(s){return this._currNode.nodes.push(s),this}_blockNode(s){this._currNode.nodes.push(s),this._nodes.push(s)}_endBlockNode(s,p){const v=this._currNode;if(v instanceof s||p&&v instanceof p)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${p?`${s.kind}/${p.kind}`:s.kind}"`)}_elseNode(s){const p=this._currNode;if(!(p instanceof u))throw new Error('CodeGen: "else" without "if"');return this._currNode=p.else=s,this}get _root(){return this._nodes[0]}get _currNode(){const s=this._nodes;return s[s.length-1]}set _currNode(s){const p=this._nodes;p[p.length-1]=s}}e.CodeGen=He;function le(y,s){for(const p in s)y[p]=(y[p]||0)+(s[p]||0);return y}function _e(y,s){return s instanceof t._CodeOrName?le(y,s.names):y}function fe(y,s,p){if(y instanceof t.Name)return v(y);if(!R(y))return y;return new t._Code(y._items.reduce((T,z)=>(z instanceof t.Name&&(z=v(z)),z instanceof t._Code?T.push(...z._items):T.push(z),T),[]));function v(T){const z=p[T.str];return z===void 0||s[T.str]!==1?T:(delete s[T.str],z)}function R(T){return T instanceof t._Code&&T._items.some(z=>z instanceof t.Name&&s[z.str]===1&&p[z.str]!==void 0)}}function We(y,s){for(const p in s)y[p]=(y[p]||0)-(s[p]||0)}function at(y){return typeof y=="boolean"||typeof y=="number"||y===null?!y:(0,t._)`!${O(y)}`}e.not=at;const Tt=m(e.operators.AND);function It(...y){return y.reduce(Tt)}e.and=It;const lt=m(e.operators.OR);function _(...y){return y.reduce(lt)}e.or=_;function m(y){return(s,p)=>s===t.nil?p:p===t.nil?s:(0,t._)`${O(s)} ${y} ${O(p)}`}function O(y){return y instanceof t.Name?y:(0,t._)`(${y})`}})(E);var V={};Object.defineProperty(V,"__esModule",{value:!0});V.checkStrictMode=V.getErrorPath=V.Type=V.useFunc=V.setEvaluated=V.evaluatedPropsToName=V.mergeEvaluated=V.eachItem=V.unescapeJsonPointer=V.escapeJsonPointer=V.escapeFragment=V.unescapeFragment=V.schemaRefOrVal=V.schemaHasRulesButRef=V.schemaHasRules=V.checkUnknownRules=V.alwaysValidSchema=V.toHash=void 0;const M=E,Es=it;function Ns(e){const t={};for(const r of e)t[r]=!0;return t}V.toHash=Ns;function xs(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(Hi(e,t),!Wi(t,e.self.RULES.all))}V.alwaysValidSchema=xs;function Hi(e,t=e.schema){const{opts:r,self:i}=e;if(!r.strictSchema||typeof t=="boolean")return;const o=i.RULES.keywords;for(const n in t)o[n]||Ki(e,`unknown keyword: "${n}"`)}V.checkUnknownRules=Hi;function Wi(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return!0;return!1}V.schemaHasRules=Wi;function As(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return!0;return!1}V.schemaHasRulesButRef=As;function zs({topSchemaRef:e,schemaPath:t},r,i,o){if(!o){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,M._)`${r}`}return(0,M._)`${e}${t}${(0,M.getProperty)(i)}`}V.schemaRefOrVal=zs;function Ms(e){return Ui(decodeURIComponent(e))}V.unescapeFragment=Ms;function Bs(e){return encodeURIComponent(dr(e))}V.escapeFragment=Bs;function dr(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}V.escapeJsonPointer=dr;function Ui(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}V.unescapeJsonPointer=Ui;function Ls(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)}V.eachItem=Ls;function fi({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:i}){return(o,n,a,l)=>{const d=a===void 0?n:a instanceof M.Name?(n instanceof M.Name?e(o,n,a):t(o,n,a),a):n instanceof M.Name?(t(o,a,n),n):r(n,a);return l===M.Name&&!(d instanceof M.Name)?i(o,d):d}}V.mergeEvaluated={props:fi({mergeNames:(e,t,r)=>e.if((0,M._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,M._)`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,M._)`${r} || {}`).code((0,M._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,M._)`${r} !== true`,()=>{t===!0?e.assign(r,!0):(e.assign(r,(0,M._)`${r} || {}`),cr(e,r,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:Gi}),items:fi({mergeNames:(e,t,r)=>e.if((0,M._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,M._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,M._)`${r} !== true`,()=>e.assign(r,t===!0?!0:(0,M._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function Gi(e,t){if(t===!0)return e.var("props",!0);const r=e.var("props",(0,M._)`{}`);return t!==void 0&&cr(e,r,t),r}V.evaluatedPropsToName=Gi;function cr(e,t,r){Object.keys(r).forEach(i=>e.assign((0,M._)`${t}${(0,M.getProperty)(i)}`,!0))}V.setEvaluated=cr;const hi={};function qs(e,t){return e.scopeValue("func",{ref:t,code:hi[t.code]||(hi[t.code]=new Es._Code(t.code))})}V.useFunc=qs;var ir;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(ir||(V.Type=ir={}));function Hs(e,t,r){if(e instanceof M.Name){const i=t===ir.Num;return r?i?(0,M._)`"[" + ${e} + "]"`:(0,M._)`"['" + ${e} + "']"`:i?(0,M._)`"/" + ${e}`:(0,M._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,M.getProperty)(e).toString():"/"+dr(e)}V.getErrorPath=Hs;function Ki(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,r===!0)throw new Error(t);e.self.logger.warn(t)}}V.checkStrictMode=Ki;var Q={};Object.defineProperty(Q,"__esModule",{value:!0});const J=E,Ws={data:new J.Name("data"),valCxt:new J.Name("valCxt"),instancePath:new J.Name("instancePath"),parentData:new J.Name("parentData"),parentDataProperty:new J.Name("parentDataProperty"),rootData:new J.Name("rootData"),dynamicAnchors:new J.Name("dynamicAnchors"),vErrors:new J.Name("vErrors"),errors:new J.Name("errors"),this:new J.Name("this"),self:new J.Name("self"),scope:new J.Name("scope"),json:new J.Name("json"),jsonPos:new J.Name("jsonPos"),jsonLen:new J.Name("jsonLen"),jsonPart:new J.Name("jsonPart")};Q.default=Ws;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=E,r=V,i=Q;e.keywordError={message:({keyword:g})=>(0,t.str)`must pass "${g}" keyword validation`},e.keyword$DataError={message:({keyword:g,schemaType:u})=>u?(0,t.str)`"${g}" keyword must be ${u} ($data)`:(0,t.str)`"${g}" keyword is invalid ($data)`};function o(g,u=e.keywordError,b,C){const{it:D}=g,{gen:F,compositeRule:B,allErrors:H}=D,ae=h(g,u,b);C??(B||H)?d(F,ae):c(D,(0,t._)`[${ae}]`)}e.reportError=o;function n(g,u=e.keywordError,b){const{it:C}=g,{gen:D,compositeRule:F,allErrors:B}=C,H=h(g,u,b);d(D,H),F||B||c(C,i.default.vErrors)}e.reportExtraError=n;function a(g,u){g.assign(i.default.errors,u),g.if((0,t._)`${i.default.vErrors} !== null`,()=>g.if(u,()=>g.assign((0,t._)`${i.default.vErrors}.length`,u),()=>g.assign(i.default.vErrors,null)))}e.resetErrorsCount=a;function l({gen:g,keyword:u,schemaValue:b,data:C,errsCount:D,it:F}){if(D===void 0)throw new Error("ajv implementation error");const B=g.name("err");g.forRange("i",D,i.default.errors,H=>{g.const(B,(0,t._)`${i.default.vErrors}[${H}]`),g.if((0,t._)`${B}.instancePath === undefined`,()=>g.assign((0,t._)`${B}.instancePath`,(0,t.strConcat)(i.default.instancePath,F.errorPath))),g.assign((0,t._)`${B}.schemaPath`,(0,t.str)`${F.errSchemaPath}/${u}`),F.opts.verbose&&(g.assign((0,t._)`${B}.schema`,b),g.assign((0,t._)`${B}.data`,C))})}e.extendErrors=l;function d(g,u){const b=g.const("err",u);g.if((0,t._)`${i.default.vErrors} === null`,()=>g.assign(i.default.vErrors,(0,t._)`[${b}]`),(0,t._)`${i.default.vErrors}.push(${b})`),g.code((0,t._)`${i.default.errors}++`)}function c(g,u){const{gen:b,validateName:C,schemaEnv:D}=g;D.$async?b.throw((0,t._)`new ${g.ValidationError}(${u})`):(b.assign((0,t._)`${C}.errors`,u),b.return(!1))}const f={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function h(g,u,b){const{createErrors:C}=g.it;return C===!1?(0,t._)`{}`:k(g,u,b)}function k(g,u,b={}){const{gen:C,it:D}=g,F=[S(D,b),$(g,b)];return w(g,u,F),C.object(...F)}function S({errorPath:g},{instancePath:u}){const b=u?(0,t.str)`${g}${(0,r.getErrorPath)(u,r.Type.Str)}`:g;return[i.default.instancePath,(0,t.strConcat)(i.default.instancePath,b)]}function $({keyword:g,it:{errSchemaPath:u}},{schemaPath:b,parentSchema:C}){let D=C?u:(0,t.str)`${u}/${g}`;return b&&(D=(0,t.str)`${D}${(0,r.getErrorPath)(b,r.Type.Str)}`),[f.schemaPath,D]}function w(g,{params:u,message:b},C){const{keyword:D,data:F,schemaValue:B,it:H}=g,{opts:ae,propertyName:ue,topSchemaRef:$e,schemaPath:He}=H;C.push([f.keyword,D],[f.params,typeof u=="function"?u(g):u||(0,t._)`{}`]),ae.messages&&C.push([f.message,typeof b=="function"?b(g):b]),ae.verbose&&C.push([f.schema,B],[f.parentSchema,(0,t._)`${$e}${He}`],[i.default.data,F]),ue&&C.push([f.propertyName,ue])}})(ot);Object.defineProperty(Ne,"__esModule",{value:!0});Ne.boolOrEmptySchema=Ne.topBoolOrEmptySchema=void 0;const Us=ot,Gs=E,Ks=Q,Js={message:"boolean schema is false"};function Ys(e){const{gen:t,schema:r,validateName:i}=e;r===!1?Ji(e,!1):typeof r=="object"&&r.$async===!0?t.return(Ks.default.data):(t.assign((0,Gs._)`${i}.errors`,null),t.return(!0))}Ne.topBoolOrEmptySchema=Ys;function Zs(e,t){const{gen:r,schema:i}=e;i===!1?(r.var(t,!1),Ji(e)):r.var(t,!0)}Ne.boolOrEmptySchema=Zs;function Ji(e,t){const{gen:r,data:i}=e,o={gen:r,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,Us.reportError)(o,Js,void 0,t)}var W={},Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.getRules=Ce.isJSONType=void 0;const Xs=["string","number","integer","boolean","null","object","array"],Qs=new Set(Xs);function ea(e){return typeof e=="string"&&Qs.has(e)}Ce.isJSONType=ea;function ta(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}Ce.getRules=ta;var de={};Object.defineProperty(de,"__esModule",{value:!0});de.shouldUseRule=de.shouldUseGroup=de.schemaHasRulesForType=void 0;function ra({schema:e,self:t},r){const i=t.RULES.types[r];return i&&i!==!0&&Yi(e,i)}de.schemaHasRulesForType=ra;function Yi(e,t){return t.rules.some(r=>Zi(e,r))}de.shouldUseGroup=Yi;function Zi(e,t){var r;return e[t.keyword]!==void 0||((r=t.definition.implements)===null||r===void 0?void 0:r.some(i=>e[i]!==void 0))}de.shouldUseRule=Zi;Object.defineProperty(W,"__esModule",{value:!0});W.reportTypeError=W.checkDataTypes=W.checkDataType=W.coerceAndCheckDataType=W.getJSONTypes=W.getSchemaTypes=W.DataType=void 0;const ia=Ce,oa=de,na=ot,N=E,Xi=V;var Te;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(Te||(W.DataType=Te={}));function sa(e){const t=Qi(e.type);if(t.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&t.push("null")}return t}W.getSchemaTypes=sa;function Qi(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(ia.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}W.getJSONTypes=Qi;function aa(e,t){const{gen:r,data:i,opts:o}=e,n=la(t,o.coerceTypes),a=t.length>0&&!(n.length===0&&t.length===1&&(0,oa.schemaHasRulesForType)(e,t[0]));if(a){const l=pr(t,i,o.strictNumbers,Te.Wrong);r.if(l,()=>{n.length?da(e,t,n):ur(e)})}return a}W.coerceAndCheckDataType=aa;const eo=new Set(["string","number","integer","boolean","null"]);function la(e,t){return t?e.filter(r=>eo.has(r)||t==="array"&&r==="array"):[]}function da(e,t,r){const{gen:i,data:o,opts:n}=e,a=i.let("dataType",(0,N._)`typeof ${o}`),l=i.let("coerced",(0,N._)`undefined`);n.coerceTypes==="array"&&i.if((0,N._)`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>i.assign(o,(0,N._)`${o}[0]`).assign(a,(0,N._)`typeof ${o}`).if(pr(t,o,n.strictNumbers),()=>i.assign(l,o))),i.if((0,N._)`${l} !== undefined`);for(const c of r)(eo.has(c)||c==="array"&&n.coerceTypes==="array")&&d(c);i.else(),ur(e),i.endIf(),i.if((0,N._)`${l} !== undefined`,()=>{i.assign(o,l),ca(e,l)});function d(c){switch(c){case"string":i.elseIf((0,N._)`${a} == "number" || ${a} == "boolean"`).assign(l,(0,N._)`"" + ${o}`).elseIf((0,N._)`${o} === null`).assign(l,(0,N._)`""`);return;case"number":i.elseIf((0,N._)`${a} == "boolean" || ${o} === null
3
3
  || (${a} == "string" && ${o} && ${o} == +${o})`).assign(l,(0,N._)`+${o}`);return;case"integer":i.elseIf((0,N._)`${a} === "boolean" || ${o} === null
4
4
  || (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(l,(0,N._)`+${o}`);return;case"boolean":i.elseIf((0,N._)`${o} === "false" || ${o} === 0 || ${o} === null`).assign(l,!1).elseIf((0,N._)`${o} === "true" || ${o} === 1`).assign(l,!0);return;case"null":i.elseIf((0,N._)`${o} === "" || ${o} === 0 || ${o} === false`),i.assign(l,null);return;case"array":i.elseIf((0,N._)`${a} === "string" || ${a} === "number"
5
- || ${a} === "boolean" || ${o} === null`).assign(l,(0,N._)`[${o}]`)}}}function aa({gen:e,parentData:t,parentDataProperty:r},i){e.if((0,N._)`${t} !== undefined`,()=>e.assign((0,N._)`${t}[${r}]`,i))}function ir(e,t,r,i=Te.Correct){const o=i===Te.Correct?N.operators.EQ:N.operators.NEQ;let n;switch(e){case"null":return(0,N._)`${t} ${o} null`;case"array":n=(0,N._)`Array.isArray(${t})`;break;case"object":n=(0,N._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":n=a((0,N._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":n=a();break;default:return(0,N._)`typeof ${t} ${o} ${e}`}return i===Te.Correct?n:(0,N.not)(n);function a(l=N.nil){return(0,N.and)((0,N._)`typeof ${t} == "number"`,l,r?(0,N._)`isFinite(${t})`:N.nil)}}W.checkDataType=ir;function ur(e,t,r,i){if(e.length===1)return ir(e[0],t,r,i);let o;const n=(0,eo.toHash)(e);if(n.array&&n.object){const a=(0,N._)`typeof ${t} != "object"`;o=n.null?a:(0,N._)`!${t} || ${a}`,delete n.null,delete n.array,delete n.object}else o=N.nil;n.number&&delete n.integer;for(const a in n)o=(0,N.and)(o,ir(a,t,r,i));return o}W.checkDataTypes=ur;const la={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,N._)`{type: ${e}}`:(0,N._)`{type: ${t}}`};function fr(e){const t=da(e);(0,ra.reportError)(t,la)}W.reportTypeError=fr;function da(e){const{gen:t,data:r,schema:i}=e,o=(0,eo.schemaRefOrVal)(e,i,"type");return{gen:t,keyword:"type",data:r,schema:i.type,schemaCode:o,schemaValue:o,parentSchema:i,params:{},it:e}}var Ct={};Object.defineProperty(Ct,"__esModule",{value:!0});Ct.assignDefaults=void 0;const Fe=E,ca=V;function pa(e,t){const{properties:r,items:i}=e.schema;if(t==="object"&&r)for(const o in r)gi(e,o,r[o].default);else t==="array"&&Array.isArray(i)&&i.forEach((o,n)=>gi(e,n,o.default))}Ct.assignDefaults=pa;function gi(e,t,r){const{gen:i,compositeRule:o,data:n,opts:a}=e;if(r===void 0)return;const l=(0,Fe._)`${n}${(0,Fe.getProperty)(t)}`;if(o){(0,ca.checkStrictMode)(e,`default is ignored for: ${l}`);return}let d=(0,Fe._)`${l} === undefined`;a.useDefaults==="empty"&&(d=(0,Fe._)`${d} || ${l} === null || ${l} === ""`),i.if(d,(0,Fe._)`${l} = ${(0,Fe.stringify)(r)}`)}var se={},x={};Object.defineProperty(x,"__esModule",{value:!0});x.validateUnion=x.validateArray=x.usePattern=x.callValidateCode=x.schemaProperties=x.allSchemaProperties=x.noPropertyInData=x.propertyInData=x.isOwnProperty=x.hasPropFunc=x.reportMissingProp=x.checkMissingProp=x.checkReportMissingProp=void 0;const L=E,hr=V,he=Q,ua=V;function fa(e,t){const{gen:r,data:i,it:o}=e;r.if(gr(r,i,t,o.opts.ownProperties),()=>{e.setParams({missingProperty:(0,L._)`${t}`},!0),e.error()})}x.checkReportMissingProp=fa;function ha({gen:e,data:t,it:{opts:r}},i,o){return(0,L.or)(...i.map(n=>(0,L.and)(gr(e,t,n,r.ownProperties),(0,L._)`${o} = ${n}`)))}x.checkMissingProp=ha;function ma(e,t){e.setParams({missingProperty:t},!0),e.error()}x.reportMissingProp=ma;function io(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,L._)`Object.prototype.hasOwnProperty`})}x.hasPropFunc=io;function mr(e,t,r){return(0,L._)`${io(e)}.call(${t}, ${r})`}x.isOwnProperty=mr;function ga(e,t,r,i){const o=(0,L._)`${t}${(0,L.getProperty)(r)} !== undefined`;return i?(0,L._)`${o} && ${mr(e,t,r)}`:o}x.propertyInData=ga;function gr(e,t,r,i){const o=(0,L._)`${t}${(0,L.getProperty)(r)} === undefined`;return i?(0,L.or)(o,(0,L.not)(mr(e,t,r))):o}x.noPropertyInData=gr;function oo(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}x.allSchemaProperties=oo;function ya(e,t){return oo(t).filter(r=>!(0,hr.alwaysValidSchema)(e,t[r]))}x.schemaProperties=ya;function ba({schemaCode:e,data:t,it:{gen:r,topSchemaRef:i,schemaPath:o,errorPath:n},it:a},l,d,c){const f=c?(0,L._)`${e}, ${t}, ${i}${o}`:t,h=[[he.default.instancePath,(0,L.strConcat)(he.default.instancePath,n)],[he.default.parentData,a.parentData],[he.default.parentDataProperty,a.parentDataProperty],[he.default.rootData,he.default.rootData]];a.opts.dynamicRef&&h.push([he.default.dynamicAnchors,he.default.dynamicAnchors]);const k=(0,L._)`${f}, ${r.object(...h)}`;return d!==L.nil?(0,L._)`${l}.call(${d}, ${k})`:(0,L._)`${l}(${k})`}x.callValidateCode=ba;const $a=(0,L._)`new RegExp`;function va({gen:e,it:{opts:t}},r){const i=t.unicodeRegExp?"u":"",{regExp:o}=t.code,n=o(r,i);return e.scopeValue("pattern",{key:n.toString(),ref:n,code:(0,L._)`${o.code==="new RegExp"?$a:(0,ua.useFunc)(e,o)}(${r}, ${i})`})}x.usePattern=va;function Sa(e){const{gen:t,data:r,keyword:i,it:o}=e,n=t.name("valid");if(o.allErrors){const l=t.let("valid",!0);return a(()=>t.assign(l,!1)),l}return t.var(n,!0),a(()=>t.break()),n;function a(l){const d=t.const("len",(0,L._)`${r}.length`);t.forRange("i",0,d,c=>{e.subschema({keyword:i,dataProp:c,dataPropType:hr.Type.Num},n),t.if((0,L.not)(n),l)})}}x.validateArray=Sa;function wa(e){const{gen:t,schema:r,keyword:i,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(d=>(0,hr.alwaysValidSchema)(o,d))&&!o.opts.unevaluated)return;const a=t.let("valid",!1),l=t.name("_valid");t.block(()=>r.forEach((d,c)=>{const f=e.subschema({keyword:i,schemaProp:c,compositeRule:!0},l);t.assign(a,(0,L._)`${a} || ${l}`),e.mergeValidEvaluated(f,l)||t.if((0,L.not)(a))})),e.result(a,()=>e.reset(),()=>e.error(!0))}x.validateUnion=wa;Object.defineProperty(se,"__esModule",{value:!0});se.validateKeywordUsage=se.validSchemaType=se.funcKeywordCode=se.macroKeywordCode=void 0;const Y=E,Se=Q,ka=x,Oa=ot;function Ca(e,t){const{gen:r,keyword:i,schema:o,parentSchema:n,it:a}=e,l=t.macro.call(a.self,o,n,a),d=no(r,i,l);a.opts.validateSchema!==!1&&a.self.validateSchema(l,!0);const c=r.name("valid");e.subschema({schema:l,schemaPath:Y.nil,errSchemaPath:`${a.errSchemaPath}/${i}`,topSchemaRef:d,compositeRule:!0},c),e.pass(c,()=>e.error(!0))}se.macroKeywordCode=Ca;function Pa(e,t){var r;const{gen:i,keyword:o,schema:n,parentSchema:a,$data:l,it:d}=e;Va(d,t);const c=!l&&t.compile?t.compile.call(d.self,n,a,d):t.validate,f=no(i,o,c),h=i.let("valid");e.block$data(h,k),e.ok((r=t.valid)!==null&&r!==void 0?r:h);function k(){if(t.errors===!1)w(),t.modifying&&yi(e),g(()=>e.error());else{const u=t.async?S():$();t.modifying&&yi(e),g(()=>_a(e,u))}}function S(){const u=i.let("ruleErrs",null);return i.try(()=>w((0,Y._)`await `),b=>i.assign(h,!1).if((0,Y._)`${b} instanceof ${d.ValidationError}`,()=>i.assign(u,(0,Y._)`${b}.errors`),()=>i.throw(b))),u}function $(){const u=(0,Y._)`${f}.errors`;return i.assign(u,null),w(Y.nil),u}function w(u=t.async?(0,Y._)`await `:Y.nil){const b=d.opts.passContext?Se.default.this:Se.default.self,C=!("compile"in t&&!l||t.schema===!1);i.assign(h,(0,Y._)`${u}${(0,ka.callValidateCode)(e,f,b,C)}`,t.modifying)}function g(u){var b;i.if((0,Y.not)((b=t.valid)!==null&&b!==void 0?b:h),u)}}se.funcKeywordCode=Pa;function yi(e){const{gen:t,data:r,it:i}=e;t.if(i.parentData,()=>t.assign(r,(0,Y._)`${i.parentData}[${i.parentDataProperty}]`))}function _a(e,t){const{gen:r}=e;r.if((0,Y._)`Array.isArray(${t})`,()=>{r.assign(Se.default.vErrors,(0,Y._)`${Se.default.vErrors} === null ? ${t} : ${Se.default.vErrors}.concat(${t})`).assign(Se.default.errors,(0,Y._)`${Se.default.vErrors}.length`),(0,Oa.extendErrors)(e)},()=>e.error())}function Va({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function no(e,t,r){if(r===void 0)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,Y.stringify)(r)})}function Fa(e,t,r=!1){return!t.length||t.some(i=>i==="array"?Array.isArray(e):i==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==i||r&&typeof e>"u")}se.validSchemaType=Fa;function Da({schema:e,opts:t,self:r,errSchemaPath:i},o,n){if(Array.isArray(o.keyword)?!o.keyword.includes(n):o.keyword!==n)throw new Error("ajv implementation error");const a=o.dependencies;if(a!=null&&a.some(l=>!Object.prototype.hasOwnProperty.call(e,l)))throw new Error(`parent schema must have dependencies of ${n}: ${a.join(",")}`);if(o.validateSchema&&!o.validateSchema(e[n])){const d=`keyword "${n}" value is invalid at path "${i}": `+r.errorsText(o.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(d);else throw new Error(d)}}se.validateKeywordUsage=Da;var be={};Object.defineProperty(be,"__esModule",{value:!0});be.extendSubschemaMode=be.extendSubschemaData=be.getSubschema=void 0;const ne=E,so=V;function ja(e,{keyword:t,schemaProp:r,schema:i,schemaPath:o,errSchemaPath:n,topSchemaRef:a}){if(t!==void 0&&i!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const l=e.schema[t];return r===void 0?{schema:l,schemaPath:(0,ne._)`${e.schemaPath}${(0,ne.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:l[r],schemaPath:(0,ne._)`${e.schemaPath}${(0,ne.getProperty)(t)}${(0,ne.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,so.escapeFragment)(r)}`}}if(i!==void 0){if(o===void 0||n===void 0||a===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:o,topSchemaRef:a,errSchemaPath:n}}throw new Error('either "keyword" or "schema" must be passed')}be.getSubschema=ja;function Ra(e,t,{dataProp:r,dataPropType:i,data:o,dataTypes:n,propertyName:a}){if(o!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(r!==void 0){const{errorPath:c,dataPathArr:f,opts:h}=t,k=l.let("data",(0,ne._)`${t.data}${(0,ne.getProperty)(r)}`,!0);d(k),e.errorPath=(0,ne.str)`${c}${(0,so.getErrorPath)(r,i,h.jsPropertySyntax)}`,e.parentDataProperty=(0,ne._)`${r}`,e.dataPathArr=[...f,e.parentDataProperty]}if(o!==void 0){const c=o instanceof ne.Name?o:l.let("data",o,!0);d(c),a!==void 0&&(e.propertyName=a)}n&&(e.dataTypes=n);function d(c){e.data=c,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,c]}}be.extendSubschemaData=Ra;function Ta(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:i,createErrors:o,allErrors:n}){i!==void 0&&(e.compositeRule=i),o!==void 0&&(e.createErrors=o),n!==void 0&&(e.allErrors=n),e.jtdDiscriminator=t,e.jtdMetadata=r}be.extendSubschemaMode=Ta;var K={},ao=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var i,o,n;if(Array.isArray(t)){if(i=t.length,i!=r.length)return!1;for(o=i;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(n=Object.keys(t),i=n.length,i!==Object.keys(r).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,n[o]))return!1;for(o=i;o--!==0;){var a=n[o];if(!e(t[a],r[a]))return!1}return!0}return t!==t&&r!==r},lo={exports:{}},ye=lo.exports=function(e,t,r){typeof t=="function"&&(r=t,t={}),r=t.cb||r;var i=typeof r=="function"?r:r.pre||function(){},o=r.post||function(){};ht(t,i,o,e,"",e)};ye.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ye.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ye.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ye.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function ht(e,t,r,i,o,n,a,l,d,c){if(i&&typeof i=="object"&&!Array.isArray(i)){t(i,o,n,a,l,d,c);for(var f in i){var h=i[f];if(Array.isArray(h)){if(f in ye.arrayKeywords)for(var k=0;k<h.length;k++)ht(e,t,r,h[k],o+"/"+f+"/"+k,n,o,f,i,k)}else if(f in ye.propsKeywords){if(h&&typeof h=="object")for(var S in h)ht(e,t,r,h[S],o+"/"+f+"/"+Ia(S),n,o,f,i,S)}else(f in ye.keywords||e.allKeys&&!(f in ye.skipKeywords))&&ht(e,t,r,h,o+"/"+f,n,o,f,i)}r(i,o,n,a,l,d,c)}}function Ia(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var Ea=lo.exports;Object.defineProperty(K,"__esModule",{value:!0});K.getSchemaRefs=K.resolveUrl=K.normalizeId=K._getFullPath=K.getFullPath=K.inlineRef=void 0;const Na=V,xa=ao,Aa=Ea,za=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Ma(e,t=!0){return typeof e=="boolean"?!0:t===!0?!or(e):t?co(e)<=t:!1}K.inlineRef=Ma;const Ba=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function or(e){for(const t in e){if(Ba.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(or)||typeof r=="object"&&or(r))return!0}return!1}function co(e){let t=0;for(const r in e){if(r==="$ref")return 1/0;if(t++,!za.has(r)&&(typeof e[r]=="object"&&(0,Na.eachItem)(e[r],i=>t+=co(i)),t===1/0))return 1/0}return t}function po(e,t="",r){r!==!1&&(t=Ie(t));const i=e.parse(t);return uo(e,i)}K.getFullPath=po;function uo(e,t){return e.serialize(t).split("#")[0]+"#"}K._getFullPath=uo;const La=/#\/?$/;function Ie(e){return e?e.replace(La,""):""}K.normalizeId=Ie;function qa(e,t,r){return r=Ie(r),e.resolve(t,r)}K.resolveUrl=qa;const Ha=/^[a-z_][-a-z0-9._]*$/i;function Wa(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:i}=this.opts,o=Ie(e[r]||t),n={"":o},a=po(i,o,!1),l={},d=new Set;return Aa(e,{allKeys:!0},(h,k,S,$)=>{if($===void 0)return;const w=a+k;let g=n[$];typeof h[r]=="string"&&(g=u.call(this,h[r])),b.call(this,h.$anchor),b.call(this,h.$dynamicAnchor),n[k]=g;function u(C){const F=this.opts.uriResolver.resolve;if(C=Ie(g?F(g,C):C),d.has(C))throw f(C);d.add(C);let D=this.refs[C];return typeof D=="string"&&(D=this.refs[D]),typeof D=="object"?c(h,D.schema,C):C!==Ie(w)&&(C[0]==="#"?(c(h,l[C],C),l[C]=h):this.refs[C]=w),C}function b(C){if(typeof C=="string"){if(!Ha.test(C))throw new Error(`invalid anchor "${C}"`);u.call(this,`#${C}`)}}}),l;function c(h,k,S){if(k!==void 0&&!xa(h,k))throw f(S)}function f(h){return new Error(`reference "${h}" resolves to more than one schema`)}}K.getSchemaRefs=Wa;Object.defineProperty(oe,"__esModule",{value:!0});oe.getData=oe.KeywordCxt=oe.validateFunctionCode=void 0;const fo=Ne,bi=W,yr=de,vt=W,Ua=Ct,Ze=se,Kt=be,j=E,I=Q,Ga=K,ce=V,Ge=ot;function Ka(e){if(go(e)&&(yo(e),mo(e))){Za(e);return}ho(e,()=>(0,fo.topBoolOrEmptySchema)(e))}oe.validateFunctionCode=Ka;function ho({gen:e,validateName:t,schema:r,schemaEnv:i,opts:o},n){o.code.es5?e.func(t,(0,j._)`${I.default.data}, ${I.default.valCxt}`,i.$async,()=>{e.code((0,j._)`"use strict"; ${$i(r,o)}`),Ya(e,o),e.code(n)}):e.func(t,(0,j._)`${I.default.data}, ${Ja(o)}`,i.$async,()=>e.code($i(r,o)).code(n))}function Ja(e){return(0,j._)`{${I.default.instancePath}="", ${I.default.parentData}, ${I.default.parentDataProperty}, ${I.default.rootData}=${I.default.data}${e.dynamicRef?(0,j._)`, ${I.default.dynamicAnchors}={}`:j.nil}}={}`}function Ya(e,t){e.if(I.default.valCxt,()=>{e.var(I.default.instancePath,(0,j._)`${I.default.valCxt}.${I.default.instancePath}`),e.var(I.default.parentData,(0,j._)`${I.default.valCxt}.${I.default.parentData}`),e.var(I.default.parentDataProperty,(0,j._)`${I.default.valCxt}.${I.default.parentDataProperty}`),e.var(I.default.rootData,(0,j._)`${I.default.valCxt}.${I.default.rootData}`),t.dynamicRef&&e.var(I.default.dynamicAnchors,(0,j._)`${I.default.valCxt}.${I.default.dynamicAnchors}`)},()=>{e.var(I.default.instancePath,(0,j._)`""`),e.var(I.default.parentData,(0,j._)`undefined`),e.var(I.default.parentDataProperty,(0,j._)`undefined`),e.var(I.default.rootData,I.default.data),t.dynamicRef&&e.var(I.default.dynamicAnchors,(0,j._)`{}`)})}function Za(e){const{schema:t,opts:r,gen:i}=e;ho(e,()=>{r.$comment&&t.$comment&&$o(e),rl(e),i.let(I.default.vErrors,null),i.let(I.default.errors,0),r.unevaluated&&Xa(e),bo(e),nl(e)})}function Xa(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,j._)`${r}.evaluated`),t.if((0,j._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,j._)`${e.evaluated}.props`,(0,j._)`undefined`)),t.if((0,j._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,j._)`${e.evaluated}.items`,(0,j._)`undefined`))}function $i(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,j._)`/*# sourceURL=${r} */`:j.nil}function Qa(e,t){if(go(e)&&(yo(e),mo(e))){el(e,t);return}(0,fo.boolOrEmptySchema)(e,t)}function mo({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function go(e){return typeof e.schema!="boolean"}function el(e,t){const{schema:r,gen:i,opts:o}=e;o.$comment&&r.$comment&&$o(e),il(e),ol(e);const n=i.const("_errs",I.default.errors);bo(e,n),i.var(t,(0,j._)`${n} === ${I.default.errors}`)}function yo(e){(0,ce.checkUnknownRules)(e),tl(e)}function bo(e,t){if(e.opts.jtd)return vi(e,[],!1,t);const r=(0,bi.getSchemaTypes)(e.schema),i=(0,bi.coerceAndCheckDataType)(e,r);vi(e,r,!i,t)}function tl(e){const{schema:t,errSchemaPath:r,opts:i,self:o}=e;t.$ref&&i.ignoreKeywordsWithRef&&(0,ce.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function rl(e){const{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,ce.checkStrictMode)(e,"default is ignored in the schema root")}function il(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,Ga.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function ol(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function $o({gen:e,schemaEnv:t,schema:r,errSchemaPath:i,opts:o}){const n=r.$comment;if(o.$comment===!0)e.code((0,j._)`${I.default.self}.logger.log(${n})`);else if(typeof o.$comment=="function"){const a=(0,j.str)`${i}/$comment`,l=e.scopeValue("root",{ref:t.root});e.code((0,j._)`${I.default.self}.opts.$comment(${n}, ${a}, ${l}.schema)`)}}function nl(e){const{gen:t,schemaEnv:r,validateName:i,ValidationError:o,opts:n}=e;r.$async?t.if((0,j._)`${I.default.errors} === 0`,()=>t.return(I.default.data),()=>t.throw((0,j._)`new ${o}(${I.default.vErrors})`)):(t.assign((0,j._)`${i}.errors`,I.default.vErrors),n.unevaluated&&sl(e),t.return((0,j._)`${I.default.errors} === 0`))}function sl({gen:e,evaluated:t,props:r,items:i}){r instanceof j.Name&&e.assign((0,j._)`${t}.props`,r),i instanceof j.Name&&e.assign((0,j._)`${t}.items`,i)}function vi(e,t,r,i){const{gen:o,schema:n,data:a,allErrors:l,opts:d,self:c}=e,{RULES:f}=c;if(n.$ref&&(d.ignoreKeywordsWithRef||!(0,ce.schemaHasRulesButRef)(n,f))){o.block(()=>wo(e,"$ref",f.all.$ref.definition));return}d.jtd||al(e,t),o.block(()=>{for(const k of f.rules)h(k);h(f.post)});function h(k){(0,yr.shouldUseGroup)(n,k)&&(k.type?(o.if((0,vt.checkDataType)(k.type,a,d.strictNumbers)),Si(e,k),t.length===1&&t[0]===k.type&&r&&(o.else(),(0,vt.reportTypeError)(e)),o.endIf()):Si(e,k),l||o.if((0,j._)`${I.default.errors} === ${i||0}`))}}function Si(e,t){const{gen:r,schema:i,opts:{useDefaults:o}}=e;o&&(0,Ua.assignDefaults)(e,t.type),r.block(()=>{for(const n of t.rules)(0,yr.shouldUseRule)(i,n)&&wo(e,n.keyword,n.definition,t.type)})}function al(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(ll(e,t),e.opts.allowUnionTypes||dl(e,t),cl(e,e.dataTypes))}function ll(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{vo(e.dataTypes,r)||br(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),ul(e,t)}}function dl(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&br(e,"use allowUnionTypes to allow union type keyword")}function cl(e,t){const r=e.self.RULES.all;for(const i in r){const o=r[i];if(typeof o=="object"&&(0,yr.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some(a=>pl(t,a))&&br(e,`missing type "${n.join(",")}" for keyword "${i}"`)}}}function pl(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function vo(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function ul(e,t){const r=[];for(const i of e.dataTypes)vo(t,i)?r.push(i):t.includes("integer")&&i==="number"&&r.push("integer");e.dataTypes=r}function br(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,ce.checkStrictMode)(e,t,e.opts.strictTypes)}class So{constructor(t,r,i){if((0,Ze.validateKeywordUsage)(t,r,i),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=i,this.data=t.data,this.schema=t.schema[i],this.$data=r.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,ce.schemaRefOrVal)(t,this.schema,i,this.$data),this.schemaType=r.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=r,this.$data)this.schemaCode=t.gen.const("vSchema",ko(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,Ze.validSchemaType)(this.schema,r.schemaType,r.allowUndefined))throw new Error(`${i} value must be ${JSON.stringify(r.schemaType)}`);("code"in r?r.trackErrors:r.errors!==!1)&&(this.errsCount=t.gen.const("_errs",I.default.errors))}result(t,r,i){this.failResult((0,j.not)(t),r,i)}failResult(t,r,i){this.gen.if(t),i?i():this.error(),r?(this.gen.else(),r(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(t,r){this.failResult((0,j.not)(t),void 0,r)}fail(t){if(t===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(t),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(t){if(!this.$data)return this.fail(t);const{schemaCode:r}=this;this.fail((0,j._)`${r} !== undefined && (${(0,j.or)(this.invalid$data(),t)})`)}error(t,r,i){if(r){this.setParams(r),this._error(t,i),this.setParams({});return}this._error(t,i)}_error(t,r){(t?Ge.reportExtraError:Ge.reportError)(this,this.def.error,r)}$dataError(){(0,Ge.reportError)(this,this.def.$dataError||Ge.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Ge.resetErrorsCount)(this.gen,this.errsCount)}ok(t){this.allErrors||this.gen.if(t)}setParams(t,r){r?Object.assign(this.params,t):this.params=t}block$data(t,r,i=j.nil){this.gen.block(()=>{this.check$data(t,i),r()})}check$data(t=j.nil,r=j.nil){if(!this.$data)return;const{gen:i,schemaCode:o,schemaType:n,def:a}=this;i.if((0,j.or)((0,j._)`${o} === undefined`,r)),t!==j.nil&&i.assign(t,!0),(n.length||a.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),t!==j.nil&&i.assign(t,!1)),i.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:i,def:o,it:n}=this;return(0,j.or)(a(),l());function a(){if(i.length){if(!(r instanceof j.Name))throw new Error("ajv implementation error");const d=Array.isArray(i)?i:[i];return(0,j._)`${(0,vt.checkDataTypes)(d,r,n.opts.strictNumbers,vt.DataType.Wrong)}`}return j.nil}function l(){if(o.validateSchema){const d=t.scopeValue("validate$data",{ref:o.validateSchema});return(0,j._)`!${d}(${r})`}return j.nil}}subschema(t,r){const i=(0,Kt.getSubschema)(this.it,t);(0,Kt.extendSubschemaData)(i,this.it,t),(0,Kt.extendSubschemaMode)(i,t);const o={...this.it,...i,items:void 0,props:void 0};return Qa(o,r),o}mergeEvaluated(t,r){const{it:i,gen:o}=this;i.opts.unevaluated&&(i.props!==!0&&t.props!==void 0&&(i.props=ce.mergeEvaluated.props(o,t.props,i.props,r)),i.items!==!0&&t.items!==void 0&&(i.items=ce.mergeEvaluated.items(o,t.items,i.items,r)))}mergeValidEvaluated(t,r){const{it:i,gen:o}=this;if(i.opts.unevaluated&&(i.props!==!0||i.items!==!0))return o.if(r,()=>this.mergeEvaluated(t,j.Name)),!0}}oe.KeywordCxt=So;function wo(e,t,r,i){const o=new So(e,r,t);"code"in r?r.code(o,i):o.$data&&r.validate?(0,Ze.funcKeywordCode)(o,r):"macro"in r?(0,Ze.macroKeywordCode)(o,r):(r.compile||r.validate)&&(0,Ze.funcKeywordCode)(o,r)}const fl=/^\/(?:[^~]|~0|~1)*$/,hl=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ko(e,{dataLevel:t,dataNames:r,dataPathArr:i}){let o,n;if(e==="")return I.default.rootData;if(e[0]==="/"){if(!fl.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,n=I.default.rootData}else{const c=hl.exec(e);if(!c)throw new Error(`Invalid JSON-pointer: ${e}`);const f=+c[1];if(o=c[2],o==="#"){if(f>=t)throw new Error(d("property/index",f));return i[t-f]}if(f>t)throw new Error(d("data",f));if(n=r[t-f],!o)return n}let a=n;const l=o.split("/");for(const c of l)c&&(n=(0,j._)`${n}${(0,j.getProperty)((0,ce.unescapeJsonPointer)(c))}`,a=(0,j._)`${a} && ${n}`);return a;function d(c,f){return`Cannot access ${c} ${f} levels up, current level is ${t}`}}oe.getData=ko;var nt={};Object.defineProperty(nt,"__esModule",{value:!0});class ml extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}nt.default=ml;var ze={};Object.defineProperty(ze,"__esModule",{value:!0});const Jt=K;class gl extends Error{constructor(t,r,i,o){super(o||`can't resolve reference ${i} from id ${r}`),this.missingRef=(0,Jt.resolveUrl)(t,r,i),this.missingSchema=(0,Jt.normalizeId)((0,Jt.getFullPath)(t,this.missingRef))}}ze.default=gl;var Z={};Object.defineProperty(Z,"__esModule",{value:!0});Z.resolveSchema=Z.getCompilingSchema=Z.resolveRef=Z.compileSchema=Z.SchemaEnv=void 0;const te=E,yl=nt,ve=Q,ie=K,wi=V,bl=oe;class Pt{constructor(t){var r;this.refs={},this.dynamicAnchors={};let i;typeof t.schema=="object"&&(i=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=(r=t.baseId)!==null&&r!==void 0?r:(0,ie.normalizeId)(i==null?void 0:i[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=i==null?void 0:i.$async,this.refs={}}}Z.SchemaEnv=Pt;function $r(e){const t=Oo.call(this,e);if(t)return t;const r=(0,ie.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:i,lines:o}=this.opts.code,{ownProperties:n}=this.opts,a=new te.CodeGen(this.scope,{es5:i,lines:o,ownProperties:n});let l;e.$async&&(l=a.scopeValue("Error",{ref:yl.default,code:(0,te._)`require("ajv/dist/runtime/validation_error").default`}));const d=a.scopeName("validate");e.validateName=d;const c={gen:a,allErrors:this.opts.allErrors,data:ve.default.data,parentData:ve.default.parentData,parentDataProperty:ve.default.parentDataProperty,dataNames:[ve.default.data],dataPathArr:[te.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,te.stringify)(e.schema)}:{ref:e.schema}),validateName:d,ValidationError:l,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:te.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,te._)`""`,opts:this.opts,self:this};let f;try{this._compilations.add(e),(0,bl.validateFunctionCode)(c),a.optimize(this.opts.code.optimize);const h=a.toString();f=`${a.scopeRefs(ve.default.scope)}return ${h}`,this.opts.code.process&&(f=this.opts.code.process(f,e));const S=new Function(`${ve.default.self}`,`${ve.default.scope}`,f)(this,this.scope.get());if(this.scope.value(d,{ref:S}),S.errors=null,S.schema=e.schema,S.schemaEnv=e,e.$async&&(S.$async=!0),this.opts.code.source===!0&&(S.source={validateName:d,validateCode:h,scopeValues:a._values}),this.opts.unevaluated){const{props:$,items:w}=c;S.evaluated={props:$ instanceof te.Name?void 0:$,items:w instanceof te.Name?void 0:w,dynamicProps:$ instanceof te.Name,dynamicItems:w instanceof te.Name},S.source&&(S.source.evaluated=(0,te.stringify)(S.evaluated))}return e.validate=S,e}catch(h){throw delete e.validate,delete e.validateName,f&&this.logger.error("Error compiling schema, function code:",f),h}finally{this._compilations.delete(e)}}Z.compileSchema=$r;function $l(e,t,r){var i;r=(0,ie.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let n=wl.call(this,e,r);if(n===void 0){const a=(i=e.localRefs)===null||i===void 0?void 0:i[r],{schemaId:l}=this.opts;a&&(n=new Pt({schema:a,schemaId:l,root:e,baseId:t}))}if(n!==void 0)return e.refs[r]=vl.call(this,n)}Z.resolveRef=$l;function vl(e){return(0,ie.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:$r.call(this,e)}function Oo(e){for(const t of this._compilations)if(Sl(t,e))return t}Z.getCompilingSchema=Oo;function Sl(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function wl(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||_t.call(this,e,t)}function _t(e,t){const r=this.opts.uriResolver.parse(t),i=(0,ie._getFullPath)(this.opts.uriResolver,r);let o=(0,ie.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&i===o)return Yt.call(this,r,e);const n=(0,ie.normalizeId)(i),a=this.refs[n]||this.schemas[n];if(typeof a=="string"){const l=_t.call(this,e,a);return typeof(l==null?void 0:l.schema)!="object"?void 0:Yt.call(this,r,l)}if(typeof(a==null?void 0:a.schema)=="object"){if(a.validate||$r.call(this,a),n===(0,ie.normalizeId)(t)){const{schema:l}=a,{schemaId:d}=this.opts,c=l[d];return c&&(o=(0,ie.resolveUrl)(this.opts.uriResolver,o,c)),new Pt({schema:l,schemaId:d,root:e,baseId:o})}return Yt.call(this,r,a)}}Z.resolveSchema=_t;const kl=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Yt(e,{baseId:t,schema:r,root:i}){var o;if(((o=e.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(const l of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const d=r[(0,wi.unescapeFragment)(l)];if(d===void 0)return;r=d;const c=typeof r=="object"&&r[this.opts.schemaId];!kl.has(l)&&c&&(t=(0,ie.resolveUrl)(this.opts.uriResolver,t,c))}let n;if(typeof r!="boolean"&&r.$ref&&!(0,wi.schemaHasRulesButRef)(r,this.RULES)){const l=(0,ie.resolveUrl)(this.opts.uriResolver,t,r.$ref);n=_t.call(this,i,l)}const{schemaId:a}=this.opts;if(n=n||new Pt({schema:r,schemaId:a,root:i,baseId:t}),n.schema!==n.root.schema)return n}const Ol="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Cl="Meta-schema for $data reference (JSON AnySchema extension proposal)",Pl="object",_l=["$data"],Vl={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Fl=!1,Dl={$id:Ol,description:Cl,type:Pl,required:_l,properties:Vl,additionalProperties:Fl};var vr={},Vt={exports:{}};const jl=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),Co=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),Sr=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),Po=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),Rl=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function _o(e){let t="",r=0,i=0;for(i=0;i<e.length;i++)if(r=e[i].charCodeAt(0),r!==48){if(!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[i];break}for(i+=1;i<e.length;i++){if(r=e[i].charCodeAt(0),!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[i]}return t}const Tl=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function ki(e){return e.length=0,!0}function Il(e,t,r){if(e.length){const i=_o(e);if(i!=="")t.push(i);else return r.error=!0,!1;e.length=0}return!0}function El(e){let t=0;const r={error:!1,address:"",zone:""},i=[],o=[];let n=!1,a=!1,l=Il;for(let d=0;d<e.length;d++){const c=e[d];if(!(c==="["||c==="]"))if(c===":"){if(n===!0&&(a=!0),!l(o,i,r))break;if(++t>7){r.error=!0;break}d>0&&e[d-1]===":"&&(n=!0),i.push(":");continue}else if(c==="%"){if(!l(o,i,r))break;l=ki}else{o.push(c);continue}}return o.length&&(l===ki?r.zone=o.join(""):a?i.push(o.join("")):i.push(_o(o))),r.address=i.join(""),r}function Vo(e){if(Nl(e,":")<2)return{host:e,isIPV6:!1};const t=El(e);if(t.error)return{host:e,isIPV6:!1};{let r=t.address,i=t.address;return t.zone&&(r+="%"+t.zone,i+="%25"+t.zone),{host:r,isIPV6:!0,escapedHost:i}}}function Nl(e,t){let r=0;for(let i=0;i<e.length;i++)e[i]===t&&r++;return r}function xl(e){let t=e;const r=[];let i=-1,o=0;for(;o=t.length;){if(o===1){if(t===".")break;if(t==="/"){r.push("/");break}else{r.push(t);break}}else if(o===2){if(t[0]==="."){if(t[1]===".")break;if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"&&(t[1]==="."||t[1]==="/")){r.push("/");break}}else if(o===3&&t==="/.."){r.length!==0&&r.pop(),r.push("/");break}if(t[0]==="."){if(t[1]==="."){if(t[2]==="/"){t=t.slice(3);continue}}else if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"&&t[1]==="."){if(t[2]==="/"){t=t.slice(2);continue}else if(t[2]==="."&&t[3]==="/"){t=t.slice(3),r.length!==0&&r.pop();continue}}if((i=t.indexOf("/",1))===-1){r.push(t);break}else r.push(t.slice(0,i)),t=t.slice(i)}return r.join("")}const Al={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},zl=/[@/?#:]/g,Ml=/[@/?#]/g;function Fo(e,t){const r=t?Ml:zl;return r.lastIndex=0,e.replace(r,i=>Al[i])}function Bl(e,t=!1){if(e.indexOf("%")===-1)return e;let r="";for(let i=0;i<e.length;i++){if(e[i]==="%"&&i+2<e.length){const o=e.slice(i+1,i+3);if(Sr(o)){const n=o.toUpperCase(),a=String.fromCharCode(parseInt(n,16));t&&Po(a)?r+=a:r+="%"+n,i+=2;continue}}r+=e[i]}return r}function Ll(e){let t="";for(let r=0;r<e.length;r++){if(e[r]==="%"&&r+2<e.length){const i=e.slice(r+1,r+3);if(Sr(i)){const o=i.toUpperCase(),n=String.fromCharCode(parseInt(o,16));n!=="."&&Po(n)?t+=n:t+="%"+o,r+=2;continue}}Rl(e[r])?t+=e[r]:t+=escape(e[r])}return t}function ql(e){let t="";for(let r=0;r<e.length;r++){if(e[r]==="%"&&r+2<e.length){const i=e.slice(r+1,r+3);if(Sr(i)){t+="%"+i.toUpperCase(),r+=2;continue}}t+=escape(e[r])}return t}function Hl(e){const t=[];if(e.userinfo!==void 0&&(t.push(e.userinfo),t.push("@")),e.host!==void 0){let r=unescape(e.host);if(!Co(r)){const i=Vo(r);i.isIPV6===!0?r=`[${i.escapedHost}]`:r=Fo(r,!1)}t.push(r)}return(typeof e.port=="number"||typeof e.port=="string")&&(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0}var Do={nonSimpleDomain:Tl,recomposeAuthority:Hl,reescapeHostDelimiters:Fo,normalizePercentEncoding:Bl,normalizePathEncoding:Ll,escapePreservingEscapes:ql,removeDotSegments:xl,isIPv4:Co,isUUID:jl,normalizeIPv6:Vo};const{isUUID:Wl}=Do,Ul=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function jo(e){return e.secure===!0?!0:e.secure===!1?!1:e.scheme?e.scheme.length===3&&(e.scheme[0]==="w"||e.scheme[0]==="W")&&(e.scheme[1]==="s"||e.scheme[1]==="S")&&(e.scheme[2]==="s"||e.scheme[2]==="S"):!1}function Ro(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function To(e){const t=String(e.scheme).toLowerCase()==="https";return(e.port===(t?443:80)||e.port==="")&&(e.port=void 0),e.path||(e.path="/"),e}function Gl(e){return e.secure=jo(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function Kl(e){if((e.port===(jo(e)?443:80)||e.port==="")&&(e.port=void 0),typeof e.secure=="boolean"&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,r]=e.resourceName.split("?");e.path=t&&t!=="/"?t:void 0,e.query=r,e.resourceName=void 0}return e.fragment=void 0,e}function Jl(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(Ul);if(r){const i=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];const o=`${i}:${t.nid||e.nid}`,n=wr(o);e.path=void 0,n&&(e=n.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e}function Yl(e,t){if(e.nid===void 0)throw new Error("URN without nid cannot be serialized");const r=t.scheme||e.scheme||"urn",i=e.nid.toLowerCase(),o=`${r}:${t.nid||i}`,n=wr(o);n&&(e=n.serialize(e,t));const a=e,l=e.nss;return a.path=`${i||t.nid}:${l}`,t.skipEscape=!0,a}function Zl(e,t){const r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!Wl(r.uuid))&&(r.error=r.error||"UUID is not valid."),r}function Xl(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t}const Io={scheme:"http",domainHost:!0,parse:Ro,serialize:To},Ql={scheme:"https",domainHost:Io.domainHost,parse:Ro,serialize:To},mt={scheme:"ws",domainHost:!0,parse:Gl,serialize:Kl},ed={scheme:"wss",domainHost:mt.domainHost,parse:mt.parse,serialize:mt.serialize},td={scheme:"urn",parse:Jl,serialize:Yl,skipNormalize:!0},rd={scheme:"urn:uuid",parse:Zl,serialize:Xl,skipNormalize:!0},St={http:Io,https:Ql,ws:mt,wss:ed,urn:td,"urn:uuid":rd};Object.setPrototypeOf(St,null);function wr(e){return e&&(St[e]||St[e.toLowerCase()])||void 0}var id={SCHEMES:St,getSchemeHandler:wr};const{normalizeIPv6:od,removeDotSegments:Je,recomposeAuthority:nd,normalizePercentEncoding:sd,normalizePathEncoding:ad,escapePreservingEscapes:ld,reescapeHostDelimiters:dd,isIPv4:cd,nonSimpleDomain:pd}=Do,{SCHEMES:ud,getSchemeHandler:Eo}=id;function fd(e,t){return typeof e=="string"?e=bd(e,t):typeof e=="object"&&(e=xe(Pe(e,t),t)),e}function hd(e,t,r){const i=r?Object.assign({scheme:"null"},r):{scheme:"null"},o=No(xe(e,i),xe(t,i),i,!0);return i.skipEscape=!0,Pe(o,i)}function No(e,t,r,i){const o={};return i||(e=xe(Pe(e,r),r),t=xe(Pe(t,r),r)),r=r||{},!r.tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=Je(t.path||""),o.query=t.query):(t.userinfo!==void 0||t.host!==void 0||t.port!==void 0?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=Je(t.path||""),o.query=t.query):(t.path?(t.path[0]==="/"?o.path=Je(t.path):((e.userinfo!==void 0||e.host!==void 0||e.port!==void 0)&&!e.path?o.path="/"+t.path:e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path,o.path=Je(o.path)),o.query=t.query):(o.path=e.path,t.query!==void 0?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function md(e,t,r){const i=Oi(e,r),o=Oi(t,r);return i!==void 0&&o!==void 0&&i.toLowerCase()===o.toLowerCase()}function Pe(e,t){const r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},i=Object.assign({},t),o=[],n=Eo(i.scheme||r.scheme);n&&n.serialize&&n.serialize(r,i),r.path!==void 0&&(i.skipEscape?r.path=sd(r.path):(r.path=ld(r.path),r.scheme!==void 0&&(r.path=r.path.split("%3A").join(":")))),i.reference!=="suffix"&&r.scheme&&o.push(r.scheme,":");const a=nd(r);if(a!==void 0&&(i.reference!=="suffix"&&o.push("//"),o.push(a),r.path&&r.path[0]!=="/"&&o.push("/")),r.path!==void 0){let l=r.path;!i.absolutePath&&(!n||!n.absolutePath)&&(l=Je(l)),a===void 0&&l[0]==="/"&&l[1]==="/"&&(l="/%2F"+l.slice(2)),o.push(l)}return r.query!==void 0&&o.push("?",r.query),r.fragment!==void 0&&o.push("#",r.fragment),o.join("")}const gd=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function yd(e,t){if(t[2]!==void 0&&e.path&&e.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof e.port=="number"&&(e.port<0||e.port>65535))return"URI port is malformed."}function xo(e,t){const r=Object.assign({},t),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let o=!1,n=!1;r.reference==="suffix"&&(r.scheme?e=r.scheme+":"+e:e="//"+e);const a=e.match(gd);if(a){i.scheme=a[1],i.userinfo=a[3],i.host=a[4],i.port=parseInt(a[5],10),i.path=a[6]||"",i.query=a[7],i.fragment=a[8],isNaN(i.port)&&(i.port=a[5]);const l=yd(i,a);if(l!==void 0&&(i.error=i.error||l,o=!0),i.host)if(cd(i.host)===!1){const f=od(i.host);i.host=f.host.toLowerCase(),n=f.isIPV6}else n=!0;i.scheme===void 0&&i.userinfo===void 0&&i.host===void 0&&i.port===void 0&&i.query===void 0&&!i.path?i.reference="same-document":i.scheme===void 0?i.reference="relative":i.fragment===void 0?i.reference="absolute":i.reference="uri",r.reference&&r.reference!=="suffix"&&r.reference!==i.reference&&(i.error=i.error||"URI is not a "+r.reference+" reference.");const d=Eo(r.scheme||i.scheme);if(!r.unicodeSupport&&(!d||!d.unicodeSupport)&&i.host&&(r.domainHost||d&&d.domainHost)&&n===!1&&pd(i.host))try{i.host=URL.domainToASCII(i.host.toLowerCase())}catch(c){i.error=i.error||"Host's domain name can not be converted to ASCII: "+c}if((!d||d&&!d.skipNormalize)&&(e.indexOf("%")!==-1&&(i.scheme!==void 0&&(i.scheme=unescape(i.scheme)),i.host!==void 0&&(i.host=dd(unescape(i.host),n))),i.path&&(i.path=ad(i.path)),i.fragment))try{i.fragment=encodeURI(decodeURIComponent(i.fragment))}catch{i.error=i.error||"URI malformed"}d&&d.parse&&d.parse(i,r)}else i.error=i.error||"URI can not be parsed.";return{parsed:i,malformedAuthorityOrPort:o}}function xe(e,t){return xo(e,t).parsed}function bd(e,t){return Ao(e,t).normalized}function Ao(e,t){const{parsed:r,malformedAuthorityOrPort:i}=xo(e,t);return{normalized:i?e:Pe(r,t),malformedAuthorityOrPort:i}}function Oi(e,t){if(typeof e=="string"){const{normalized:r,malformedAuthorityOrPort:i}=Ao(e,t);return i?void 0:r}if(typeof e=="object")return Pe(e,t)}const kr={SCHEMES:ud,normalize:fd,resolve:hd,resolveComponent:No,equal:md,serialize:Pe,parse:xe};Vt.exports=kr;Vt.exports.default=kr;Vt.exports.fastUri=kr;var $d=Vt.exports;Object.defineProperty(vr,"__esModule",{value:!0});const zo=$d;zo.code='require("ajv/dist/runtime/uri").default';vr.default=zo;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=oe;Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=E;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const i=nt,o=ze,n=Ce,a=Z,l=E,d=K,c=W,f=V,h=Dl,k=vr,S=(P,m)=>new RegExp(P,m);S.code="new RegExp";const $=["removeAdditional","useDefaults","coerceTypes"],w=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},u={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},b=200;function C(P){var m,O,y,s,p,v,R,T,z,A,U,Ve,It,Et,Nt,xt,At,zt,Mt,Bt,Lt,qt,Ht,Wt,Ut;const Ue=P.strict,Gt=(m=P.code)===null||m===void 0?void 0:m.optimize,ui=Gt===!0||Gt===void 0?1:Gt||0,fi=(y=(O=P.code)===null||O===void 0?void 0:O.regExp)!==null&&y!==void 0?y:S,Zo=(s=P.uriResolver)!==null&&s!==void 0?s:k.default;return{strictSchema:(v=(p=P.strictSchema)!==null&&p!==void 0?p:Ue)!==null&&v!==void 0?v:!0,strictNumbers:(T=(R=P.strictNumbers)!==null&&R!==void 0?R:Ue)!==null&&T!==void 0?T:!0,strictTypes:(A=(z=P.strictTypes)!==null&&z!==void 0?z:Ue)!==null&&A!==void 0?A:"log",strictTuples:(Ve=(U=P.strictTuples)!==null&&U!==void 0?U:Ue)!==null&&Ve!==void 0?Ve:"log",strictRequired:(Et=(It=P.strictRequired)!==null&&It!==void 0?It:Ue)!==null&&Et!==void 0?Et:!1,code:P.code?{...P.code,optimize:ui,regExp:fi}:{optimize:ui,regExp:fi},loopRequired:(Nt=P.loopRequired)!==null&&Nt!==void 0?Nt:b,loopEnum:(xt=P.loopEnum)!==null&&xt!==void 0?xt:b,meta:(At=P.meta)!==null&&At!==void 0?At:!0,messages:(zt=P.messages)!==null&&zt!==void 0?zt:!0,inlineRefs:(Mt=P.inlineRefs)!==null&&Mt!==void 0?Mt:!0,schemaId:(Bt=P.schemaId)!==null&&Bt!==void 0?Bt:"$id",addUsedSchema:(Lt=P.addUsedSchema)!==null&&Lt!==void 0?Lt:!0,validateSchema:(qt=P.validateSchema)!==null&&qt!==void 0?qt:!0,validateFormats:(Ht=P.validateFormats)!==null&&Ht!==void 0?Ht:!0,unicodeRegExp:(Wt=P.unicodeRegExp)!==null&&Wt!==void 0?Wt:!0,int32range:(Ut=P.int32range)!==null&&Ut!==void 0?Ut:!0,uriResolver:Zo}}class F{constructor(m={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,m=this.opts={...m,...C(m)};const{es5:O,lines:y}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:w,es5:O,lines:y}),this.logger=le(m.logger);const s=m.validateFormats;m.validateFormats=!1,this.RULES=(0,n.getRules)(),D.call(this,g,m,"NOT SUPPORTED"),D.call(this,u,m,"DEPRECATED","warn"),this._metaOpts=$e.call(this),m.formats&&ae.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),m.keywords&&ue.call(this,m.keywords),typeof m.meta=="object"&&this.addMetaSchema(m.meta),H.call(this),m.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:m,meta:O,schemaId:y}=this.opts;let s=h;y==="id"&&(s={...h},s.id=s.$id,delete s.$id),O&&m&&this.addMetaSchema(s,s[y],!1)}defaultMeta(){const{meta:m,schemaId:O}=this.opts;return this.opts.defaultMeta=typeof m=="object"?m[O]||m:void 0}validate(m,O){let y;if(typeof m=="string"){if(y=this.getSchema(m),!y)throw new Error(`no schema with key or ref "${m}"`)}else y=this.compile(m);const s=y(O);return"$async"in y||(this.errors=y.errors),s}compile(m,O){const y=this._addSchema(m,O);return y.validate||this._compileSchemaEnv(y)}compileAsync(m,O){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:y}=this.opts;return s.call(this,m,O);async function s(A,U){await p.call(this,A.$schema);const Ve=this._addSchema(A,U);return Ve.validate||v.call(this,Ve)}async function p(A){A&&!this.getSchema(A)&&await s.call(this,{$ref:A},!0)}async function v(A){try{return this._compileSchemaEnv(A)}catch(U){if(!(U instanceof o.default))throw U;return R.call(this,U),await T.call(this,U.missingSchema),v.call(this,A)}}function R({missingSchema:A,missingRef:U}){if(this.refs[A])throw new Error(`AnySchema ${A} is loaded but ${U} cannot be resolved`)}async function T(A){const U=await z.call(this,A);this.refs[A]||await p.call(this,U.$schema),this.refs[A]||this.addSchema(U,A,O)}async function z(A){const U=this._loading[A];if(U)return U;try{return await(this._loading[A]=y(A))}finally{delete this._loading[A]}}}addSchema(m,O,y,s=this.opts.validateSchema){if(Array.isArray(m)){for(const v of m)this.addSchema(v,void 0,y,s);return this}let p;if(typeof m=="object"){const{schemaId:v}=this.opts;if(p=m[v],p!==void 0&&typeof p!="string")throw new Error(`schema ${v} must be string`)}return O=(0,d.normalizeId)(O||p),this._checkUnique(O),this.schemas[O]=this._addSchema(m,y,O,s,!0),this}addMetaSchema(m,O,y=this.opts.validateSchema){return this.addSchema(m,O,!0,y),this}validateSchema(m,O){if(typeof m=="boolean")return!0;let y;if(y=m.$schema,y!==void 0&&typeof y!="string")throw new Error("$schema must be a string");if(y=y||this.opts.defaultMeta||this.defaultMeta(),!y)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const s=this.validate(y,m);if(!s&&O){const p="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(p);else throw new Error(p)}return s}getSchema(m){let O;for(;typeof(O=B.call(this,m))=="string";)m=O;if(O===void 0){const{schemaId:y}=this.opts,s=new a.SchemaEnv({schema:{},schemaId:y});if(O=a.resolveSchema.call(this,s,m),!O)return;this.refs[m]=O}return O.validate||this._compileSchemaEnv(O)}removeSchema(m){if(m instanceof RegExp)return this._removeAllSchemas(this.schemas,m),this._removeAllSchemas(this.refs,m),this;switch(typeof m){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const O=B.call(this,m);return typeof O=="object"&&this._cache.delete(O.schema),delete this.schemas[m],delete this.refs[m],this}case"object":{const O=m;this._cache.delete(O);let y=m[this.opts.schemaId];return y&&(y=(0,d.normalizeId)(y),delete this.schemas[y],delete this.refs[y]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(m){for(const O of m)this.addKeyword(O);return this}addKeyword(m,O){let y;if(typeof m=="string")y=m,typeof O=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),O.keyword=y);else if(typeof m=="object"&&O===void 0){if(O=m,y=O.keyword,Array.isArray(y)&&!y.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(fe.call(this,y,O),!O)return(0,f.eachItem)(y,p=>We.call(this,p)),this;Rt.call(this,O);const s={...O,type:(0,c.getJSONTypes)(O.type),schemaType:(0,c.getJSONTypes)(O.schemaType)};return(0,f.eachItem)(y,s.type.length===0?p=>We.call(this,p,s):p=>s.type.forEach(v=>We.call(this,p,s,v))),this}getKeyword(m){const O=this.RULES.all[m];return typeof O=="object"?O.definition:!!O}removeKeyword(m){const{RULES:O}=this;delete O.keywords[m],delete O.all[m];for(const y of O.rules){const s=y.rules.findIndex(p=>p.keyword===m);s>=0&&y.rules.splice(s,1)}return this}addFormat(m,O){return typeof O=="string"&&(O=new RegExp(O)),this.formats[m]=O,this}errorsText(m=this.errors,{separator:O=", ",dataVar:y="data"}={}){return!m||m.length===0?"No errors":m.map(s=>`${y}${s.instancePath} ${s.message}`).reduce((s,p)=>s+O+p)}$dataMetaSchema(m,O){const y=this.RULES.all;m=JSON.parse(JSON.stringify(m));for(const s of O){const p=s.split("/").slice(1);let v=m;for(const R of p)v=v[R];for(const R in y){const T=y[R];if(typeof T!="object")continue;const{$data:z}=T.definition,A=v[R];z&&A&&(v[R]=lt(A))}}return m}_removeAllSchemas(m,O){for(const y in m){const s=m[y];(!O||O.test(y))&&(typeof s=="string"?delete m[y]:s&&!s.meta&&(this._cache.delete(s.schema),delete m[y]))}}_addSchema(m,O,y,s=this.opts.validateSchema,p=this.opts.addUsedSchema){let v;const{schemaId:R}=this.opts;if(typeof m=="object")v=m[R];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof m!="boolean")throw new Error("schema must be object or boolean")}let T=this._cache.get(m);if(T!==void 0)return T;y=(0,d.normalizeId)(v||y);const z=d.getSchemaRefs.call(this,m,y);return T=new a.SchemaEnv({schema:m,schemaId:R,meta:O,baseId:y,localRefs:z}),this._cache.set(T.schema,T),p&&!y.startsWith("#")&&(y&&this._checkUnique(y),this.refs[y]=T),s&&this.validateSchema(m,!0),T}_checkUnique(m){if(this.schemas[m]||this.refs[m])throw new Error(`schema with key or id "${m}" already exists`)}_compileSchemaEnv(m){if(m.meta?this._compileMetaSchema(m):a.compileSchema.call(this,m),!m.validate)throw new Error("ajv implementation error");return m.validate}_compileMetaSchema(m){const O=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,m)}finally{this.opts=O}}}F.ValidationError=i.default,F.MissingRefError=o.default,e.default=F;function D(P,m,O,y="error"){for(const s in P){const p=s;p in m&&this.logger[y](`${O}: option ${s}. ${P[p]}`)}}function B(P){return P=(0,d.normalizeId)(P),this.schemas[P]||this.refs[P]}function H(){const P=this.opts.schemas;if(P)if(Array.isArray(P))this.addSchema(P);else for(const m in P)this.addSchema(P[m],m)}function ae(){for(const P in this.opts.formats){const m=this.opts.formats[P];m&&this.addFormat(P,m)}}function ue(P){if(Array.isArray(P)){this.addVocabulary(P);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const m in P){const O=P[m];O.keyword||(O.keyword=m),this.addKeyword(O)}}function $e(){const P={...this.opts};for(const m of $)delete P[m];return P}const He={log(){},warn(){},error(){}};function le(P){if(P===!1)return He;if(P===void 0)return console;if(P.log&&P.warn&&P.error)return P;throw new Error("logger must implement log, warn and error methods")}const _e=/^[a-z_$][a-z0-9_$:-]*$/i;function fe(P,m){const{RULES:O}=this;if((0,f.eachItem)(P,y=>{if(O.keywords[y])throw new Error(`Keyword ${y} is already defined`);if(!_e.test(y))throw new Error(`Keyword ${y} has invalid name`)}),!!m&&m.$data&&!("code"in m||"validate"in m))throw new Error('$data keyword must have "code" or "validate" function')}function We(P,m,O){var y;const s=m==null?void 0:m.post;if(O&&s)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:p}=this;let v=s?p.post:p.rules.find(({type:T})=>T===O);if(v||(v={type:O,rules:[]},p.rules.push(v)),p.keywords[P]=!0,!m)return;const R={keyword:P,definition:{...m,type:(0,c.getJSONTypes)(m.type),schemaType:(0,c.getJSONTypes)(m.schemaType)}};m.before?at.call(this,v,R,m.before):v.rules.push(R),p.all[P]=R,(y=m.implements)===null||y===void 0||y.forEach(T=>this.addKeyword(T))}function at(P,m,O){const y=P.rules.findIndex(s=>s.keyword===O);y>=0?P.rules.splice(y,0,m):(P.rules.push(m),this.logger.warn(`rule ${O} is not defined`))}function Rt(P){let{metaSchema:m}=P;m!==void 0&&(P.$data&&this.opts.$data&&(m=lt(m)),P.validateSchema=this.compile(m,!0))}const Tt={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function lt(P){return{anyOf:[P,Tt]}}})(Wi);var Or={},Cr={},Pr={};Object.defineProperty(Pr,"__esModule",{value:!0});const vd={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Pr.default=vd;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});pe.callRef=pe.getValidate=void 0;const Sd=ze,Ci=x,X=E,De=Q,Pi=Z,dt=V,wd={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:i}=e,{baseId:o,schemaEnv:n,validateName:a,opts:l,self:d}=i,{root:c}=n;if((r==="#"||r==="#/")&&o===c.baseId)return h();const f=Pi.resolveRef.call(d,c,o,r);if(f===void 0)throw new Sd.default(i.opts.uriResolver,o,r);if(f instanceof Pi.SchemaEnv)return k(f);return S(f);function h(){if(n===c)return gt(e,a,n,n.$async);const $=t.scopeValue("root",{ref:c});return gt(e,(0,X._)`${$}.validate`,c,c.$async)}function k($){const w=Mo(e,$);gt(e,w,$,$.$async)}function S($){const w=t.scopeValue("schema",l.code.source===!0?{ref:$,code:(0,X.stringify)($)}:{ref:$}),g=t.name("valid"),u=e.subschema({schema:$,dataTypes:[],schemaPath:X.nil,topSchemaRef:w,errSchemaPath:r},g);e.mergeEvaluated(u),e.ok(g)}}};function Mo(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,X._)`${r.scopeValue("wrapper",{ref:t})}.validate`}pe.getValidate=Mo;function gt(e,t,r,i){const{gen:o,it:n}=e,{allErrors:a,schemaEnv:l,opts:d}=n,c=d.passContext?De.default.this:X.nil;i?f():h();function f(){if(!l.$async)throw new Error("async schema referenced by sync schema");const $=o.let("valid");o.try(()=>{o.code((0,X._)`await ${(0,Ci.callValidateCode)(e,t,c)}`),S(t),a||o.assign($,!0)},w=>{o.if((0,X._)`!(${w} instanceof ${n.ValidationError})`,()=>o.throw(w)),k(w),a||o.assign($,!1)}),e.ok($)}function h(){e.result((0,Ci.callValidateCode)(e,t,c),()=>S(t),()=>k(t))}function k($){const w=(0,X._)`${$}.errors`;o.assign(De.default.vErrors,(0,X._)`${De.default.vErrors} === null ? ${w} : ${De.default.vErrors}.concat(${w})`),o.assign(De.default.errors,(0,X._)`${De.default.vErrors}.length`)}function S($){var w;if(!n.opts.unevaluated)return;const g=(w=r==null?void 0:r.validate)===null||w===void 0?void 0:w.evaluated;if(n.props!==!0)if(g&&!g.dynamicProps)g.props!==void 0&&(n.props=dt.mergeEvaluated.props(o,g.props,n.props));else{const u=o.var("props",(0,X._)`${$}.evaluated.props`);n.props=dt.mergeEvaluated.props(o,u,n.props,X.Name)}if(n.items!==!0)if(g&&!g.dynamicItems)g.items!==void 0&&(n.items=dt.mergeEvaluated.items(o,g.items,n.items));else{const u=o.var("items",(0,X._)`${$}.evaluated.items`);n.items=dt.mergeEvaluated.items(o,u,n.items,X.Name)}}}pe.callRef=gt;pe.default=wd;Object.defineProperty(Cr,"__esModule",{value:!0});const kd=Pr,Od=pe,Cd=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",kd.default,Od.default];Cr.default=Cd;var _r={},Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});const wt=E,me=wt.operators,kt={maximum:{okStr:"<=",ok:me.LTE,fail:me.GT},minimum:{okStr:">=",ok:me.GTE,fail:me.LT},exclusiveMaximum:{okStr:"<",ok:me.LT,fail:me.GTE},exclusiveMinimum:{okStr:">",ok:me.GT,fail:me.LTE}},Pd={message:({keyword:e,schemaCode:t})=>(0,wt.str)`must be ${kt[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,wt._)`{comparison: ${kt[e].okStr}, limit: ${t}}`},_d={keyword:Object.keys(kt),type:"number",schemaType:"number",$data:!0,error:Pd,code(e){const{keyword:t,data:r,schemaCode:i}=e;e.fail$data((0,wt._)`${r} ${kt[t].fail} ${i} || isNaN(${r})`)}};Vr.default=_d;var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});const Xe=E,Vd={message:({schemaCode:e})=>(0,Xe.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,Xe._)`{multipleOf: ${e}}`},Fd={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:Vd,code(e){const{gen:t,data:r,schemaCode:i,it:o}=e,n=o.opts.multipleOfPrecision,a=t.let("res"),l=n?(0,Xe._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${n}`:(0,Xe._)`${a} !== parseInt(${a})`;e.fail$data((0,Xe._)`(${i} === 0 || (${a} = ${r}/${i}, ${l}))`)}};Fr.default=Fd;var Dr={},jr={};Object.defineProperty(jr,"__esModule",{value:!0});function Bo(e){const t=e.length;let r=0,i=0,o;for(;i<t;)r++,o=e.charCodeAt(i++),o>=55296&&o<=56319&&i<t&&(o=e.charCodeAt(i),(o&64512)===56320&&i++);return r}jr.default=Bo;Bo.code='require("ajv/dist/runtime/ucs2length").default';Object.defineProperty(Dr,"__esModule",{value:!0});const we=E,Dd=V,jd=jr,Rd={message({keyword:e,schemaCode:t}){const r=e==="maxLength"?"more":"fewer";return(0,we.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,we._)`{limit: ${e}}`},Td={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:Rd,code(e){const{keyword:t,data:r,schemaCode:i,it:o}=e,n=t==="maxLength"?we.operators.GT:we.operators.LT,a=o.opts.unicode===!1?(0,we._)`${r}.length`:(0,we._)`${(0,Dd.useFunc)(e.gen,jd.default)}(${r})`;e.fail$data((0,we._)`${a} ${n} ${i}`)}};Dr.default=Td;var Rr={};Object.defineProperty(Rr,"__esModule",{value:!0});const Id=x,Ed=V,Re=E,Nd={message:({schemaCode:e})=>(0,Re.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Re._)`{pattern: ${e}}`},xd={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:Nd,code(e){const{gen:t,data:r,$data:i,schema:o,schemaCode:n,it:a}=e,l=a.opts.unicodeRegExp?"u":"";if(i){const{regExp:d}=a.opts.code,c=d.code==="new RegExp"?(0,Re._)`new RegExp`:(0,Ed.useFunc)(t,d),f=t.let("valid");t.try(()=>t.assign(f,(0,Re._)`${c}(${n}, ${l}).test(${r})`),()=>t.assign(f,!1)),e.fail$data((0,Re._)`!${f}`)}else{const d=(0,Id.usePattern)(e,o);e.fail$data((0,Re._)`!${d}.test(${r})`)}}};Rr.default=xd;var Tr={};Object.defineProperty(Tr,"__esModule",{value:!0});const Qe=E,Ad={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,Qe.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,Qe._)`{limit: ${e}}`},zd={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Ad,code(e){const{keyword:t,data:r,schemaCode:i}=e,o=t==="maxProperties"?Qe.operators.GT:Qe.operators.LT;e.fail$data((0,Qe._)`Object.keys(${r}).length ${o} ${i}`)}};Tr.default=zd;var Ir={};Object.defineProperty(Ir,"__esModule",{value:!0});const Ke=x,et=E,Md=V,Bd={message:({params:{missingProperty:e}})=>(0,et.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,et._)`{missingProperty: ${e}}`},Ld={keyword:"required",type:"object",schemaType:"array",$data:!0,error:Bd,code(e){const{gen:t,schema:r,schemaCode:i,data:o,$data:n,it:a}=e,{opts:l}=a;if(!n&&r.length===0)return;const d=r.length>=l.loopRequired;if(a.allErrors?c():f(),l.strictRequired){const S=e.parentSchema.properties,{definedProperties:$}=e.it;for(const w of r)if((S==null?void 0:S[w])===void 0&&!$.has(w)){const g=a.schemaEnv.baseId+a.errSchemaPath,u=`required property "${w}" is not defined at "${g}" (strictRequired)`;(0,Md.checkStrictMode)(a,u,a.opts.strictRequired)}}function c(){if(d||n)e.block$data(et.nil,h);else for(const S of r)(0,Ke.checkReportMissingProp)(e,S)}function f(){const S=t.let("missing");if(d||n){const $=t.let("valid",!0);e.block$data($,()=>k(S,$)),e.ok($)}else t.if((0,Ke.checkMissingProp)(e,r,S)),(0,Ke.reportMissingProp)(e,S),t.else()}function h(){t.forOf("prop",i,S=>{e.setParams({missingProperty:S}),t.if((0,Ke.noPropertyInData)(t,o,S,l.ownProperties),()=>e.error())})}function k(S,$){e.setParams({missingProperty:S}),t.forOf(S,i,()=>{t.assign($,(0,Ke.propertyInData)(t,o,S,l.ownProperties)),t.if((0,et.not)($),()=>{e.error(),t.break()})},et.nil)}}};Ir.default=Ld;var Er={};Object.defineProperty(Er,"__esModule",{value:!0});const tt=E,qd={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,tt.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,tt._)`{limit: ${e}}`},Hd={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:qd,code(e){const{keyword:t,data:r,schemaCode:i}=e,o=t==="maxItems"?tt.operators.GT:tt.operators.LT;e.fail$data((0,tt._)`${r}.length ${o} ${i}`)}};Er.default=Hd;var Nr={},st={};Object.defineProperty(st,"__esModule",{value:!0});const Lo=ao;Lo.code='require("ajv/dist/runtime/equal").default';st.default=Lo;Object.defineProperty(Nr,"__esModule",{value:!0});const Zt=W,G=E,Wd=V,Ud=st,Gd={message:({params:{i:e,j:t}})=>(0,G.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,G._)`{i: ${e}, j: ${t}}`},Kd={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:Gd,code(e){const{gen:t,data:r,$data:i,schema:o,parentSchema:n,schemaCode:a,it:l}=e;if(!i&&!o)return;const d=t.let("valid"),c=n.items?(0,Zt.getSchemaTypes)(n.items):[];e.block$data(d,f,(0,G._)`${a} === false`),e.ok(d);function f(){const $=t.let("i",(0,G._)`${r}.length`),w=t.let("j");e.setParams({i:$,j:w}),t.assign(d,!0),t.if((0,G._)`${$} > 1`,()=>(h()?k:S)($,w))}function h(){return c.length>0&&!c.some($=>$==="object"||$==="array")}function k($,w){const g=t.name("item"),u=(0,Zt.checkDataTypes)(c,g,l.opts.strictNumbers,Zt.DataType.Wrong),b=t.const("indices",(0,G._)`{}`);t.for((0,G._)`;${$}--;`,()=>{t.let(g,(0,G._)`${r}[${$}]`),t.if(u,(0,G._)`continue`),c.length>1&&t.if((0,G._)`typeof ${g} == "string"`,(0,G._)`${g} += "_"`),t.if((0,G._)`typeof ${b}[${g}] == "number"`,()=>{t.assign(w,(0,G._)`${b}[${g}]`),e.error(),t.assign(d,!1).break()}).code((0,G._)`${b}[${g}] = ${$}`)})}function S($,w){const g=(0,Wd.useFunc)(t,Ud.default),u=t.name("outer");t.label(u).for((0,G._)`;${$}--;`,()=>t.for((0,G._)`${w} = ${$}; ${w}--;`,()=>t.if((0,G._)`${g}(${r}[${$}], ${r}[${w}])`,()=>{e.error(),t.assign(d,!1).break(u)})))}}};Nr.default=Kd;var xr={};Object.defineProperty(xr,"__esModule",{value:!0});const nr=E,Jd=V,Yd=st,Zd={message:"must be equal to constant",params:({schemaCode:e})=>(0,nr._)`{allowedValue: ${e}}`},Xd={keyword:"const",$data:!0,error:Zd,code(e){const{gen:t,data:r,$data:i,schemaCode:o,schema:n}=e;i||n&&typeof n=="object"?e.fail$data((0,nr._)`!${(0,Jd.useFunc)(t,Yd.default)}(${r}, ${o})`):e.fail((0,nr._)`${n} !== ${r}`)}};xr.default=Xd;var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});const Ye=E,Qd=V,ec=st,tc={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Ye._)`{allowedValues: ${e}}`},rc={keyword:"enum",schemaType:"array",$data:!0,error:tc,code(e){const{gen:t,data:r,$data:i,schema:o,schemaCode:n,it:a}=e;if(!i&&o.length===0)throw new Error("enum must have non-empty array");const l=o.length>=a.opts.loopEnum;let d;const c=()=>d??(d=(0,Qd.useFunc)(t,ec.default));let f;if(l||i)f=t.let("valid"),e.block$data(f,h);else{if(!Array.isArray(o))throw new Error("ajv implementation error");const S=t.const("vSchema",n);f=(0,Ye.or)(...o.map(($,w)=>k(S,w)))}e.pass(f);function h(){t.assign(f,!1),t.forOf("v",n,S=>t.if((0,Ye._)`${c()}(${r}, ${S})`,()=>t.assign(f,!0).break()))}function k(S,$){const w=o[$];return typeof w=="object"&&w!==null?(0,Ye._)`${c()}(${r}, ${S}[${$}])`:(0,Ye._)`${r} === ${w}`}}};Ar.default=rc;Object.defineProperty(_r,"__esModule",{value:!0});const ic=Vr,oc=Fr,nc=Dr,sc=Rr,ac=Tr,lc=Ir,dc=Er,cc=Nr,pc=xr,uc=Ar,fc=[ic.default,oc.default,nc.default,sc.default,ac.default,lc.default,dc.default,cc.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},pc.default,uc.default];_r.default=fc;var zr={},Me={};Object.defineProperty(Me,"__esModule",{value:!0});Me.validateAdditionalItems=void 0;const ke=E,sr=V,hc={message:({params:{len:e}})=>(0,ke.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,ke._)`{limit: ${e}}`},mc={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:hc,code(e){const{parentSchema:t,it:r}=e,{items:i}=t;if(!Array.isArray(i)){(0,sr.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}qo(e,i)}};function qo(e,t){const{gen:r,schema:i,data:o,keyword:n,it:a}=e;a.items=!0;const l=r.const("len",(0,ke._)`${o}.length`);if(i===!1)e.setParams({len:t.length}),e.pass((0,ke._)`${l} <= ${t.length}`);else if(typeof i=="object"&&!(0,sr.alwaysValidSchema)(a,i)){const c=r.var("valid",(0,ke._)`${l} <= ${t.length}`);r.if((0,ke.not)(c),()=>d(c)),e.ok(c)}function d(c){r.forRange("i",t.length,l,f=>{e.subschema({keyword:n,dataProp:f,dataPropType:sr.Type.Num},c),a.allErrors||r.if((0,ke.not)(c),()=>r.break())})}}Me.validateAdditionalItems=qo;Me.default=mc;var Mr={},Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.validateTuple=void 0;const _i=E,yt=V,gc=x,yc={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return Ho(e,"additionalItems",t);r.items=!0,!(0,yt.alwaysValidSchema)(r,t)&&e.ok((0,gc.validateArray)(e))}};function Ho(e,t,r=e.schema){const{gen:i,parentSchema:o,data:n,keyword:a,it:l}=e;f(o),l.opts.unevaluated&&r.length&&l.items!==!0&&(l.items=yt.mergeEvaluated.items(i,r.length,l.items));const d=i.name("valid"),c=i.const("len",(0,_i._)`${n}.length`);r.forEach((h,k)=>{(0,yt.alwaysValidSchema)(l,h)||(i.if((0,_i._)`${c} > ${k}`,()=>e.subschema({keyword:a,schemaProp:k,dataProp:k},d)),e.ok(d))});function f(h){const{opts:k,errSchemaPath:S}=l,$=r.length,w=$===h.minItems&&($===h.maxItems||h[t]===!1);if(k.strictTuples&&!w){const g=`"${a}" is ${$}-tuple, but minItems or maxItems/${t} are not specified or different at path "${S}"`;(0,yt.checkStrictMode)(l,g,k.strictTuples)}}}Be.validateTuple=Ho;Be.default=yc;Object.defineProperty(Mr,"__esModule",{value:!0});const bc=Be,$c={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,bc.validateTuple)(e,"items")};Mr.default=$c;var Br={};Object.defineProperty(Br,"__esModule",{value:!0});const Vi=E,vc=V,Sc=x,wc=Me,kc={message:({params:{len:e}})=>(0,Vi.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Vi._)`{limit: ${e}}`},Oc={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:kc,code(e){const{schema:t,parentSchema:r,it:i}=e,{prefixItems:o}=r;i.items=!0,!(0,vc.alwaysValidSchema)(i,t)&&(o?(0,wc.validateAdditionalItems)(e,o):e.ok((0,Sc.validateArray)(e)))}};Br.default=Oc;var Lr={};Object.defineProperty(Lr,"__esModule",{value:!0});const ee=E,ct=V,Cc={message:({params:{min:e,max:t}})=>t===void 0?(0,ee.str)`must contain at least ${e} valid item(s)`:(0,ee.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,ee._)`{minContains: ${e}}`:(0,ee._)`{minContains: ${e}, maxContains: ${t}}`},Pc={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Cc,code(e){const{gen:t,schema:r,parentSchema:i,data:o,it:n}=e;let a,l;const{minContains:d,maxContains:c}=i;n.opts.next?(a=d===void 0?1:d,l=c):a=1;const f=t.const("len",(0,ee._)`${o}.length`);if(e.setParams({min:a,max:l}),l===void 0&&a===0){(0,ct.checkStrictMode)(n,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(l!==void 0&&a>l){(0,ct.checkStrictMode)(n,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,ct.alwaysValidSchema)(n,r)){let w=(0,ee._)`${f} >= ${a}`;l!==void 0&&(w=(0,ee._)`${w} && ${f} <= ${l}`),e.pass(w);return}n.items=!0;const h=t.name("valid");l===void 0&&a===1?S(h,()=>t.if(h,()=>t.break())):a===0?(t.let(h,!0),l!==void 0&&t.if((0,ee._)`${o}.length > 0`,k)):(t.let(h,!1),k()),e.result(h,()=>e.reset());function k(){const w=t.name("_valid"),g=t.let("count",0);S(w,()=>t.if(w,()=>$(g)))}function S(w,g){t.forRange("i",0,f,u=>{e.subschema({keyword:"contains",dataProp:u,dataPropType:ct.Type.Num,compositeRule:!0},w),g()})}function $(w){t.code((0,ee._)`${w}++`),l===void 0?t.if((0,ee._)`${w} >= ${a}`,()=>t.assign(h,!0).break()):(t.if((0,ee._)`${w} > ${l}`,()=>t.assign(h,!1).break()),a===1?t.assign(h,!0):t.if((0,ee._)`${w} >= ${a}`,()=>t.assign(h,!0)))}}};Lr.default=Pc;var Ft={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=E,r=V,i=x;e.error={message:({params:{property:d,depsCount:c,deps:f}})=>{const h=c===1?"property":"properties";return(0,t.str)`must have ${h} ${f} when property ${d} is present`},params:({params:{property:d,depsCount:c,deps:f,missingProperty:h}})=>(0,t._)`{property: ${d},
5
+ || ${a} === "boolean" || ${o} === null`).assign(l,(0,N._)`[${o}]`)}}}function ca({gen:e,parentData:t,parentDataProperty:r},i){e.if((0,N._)`${t} !== undefined`,()=>e.assign((0,N._)`${t}[${r}]`,i))}function or(e,t,r,i=Te.Correct){const o=i===Te.Correct?N.operators.EQ:N.operators.NEQ;let n;switch(e){case"null":return(0,N._)`${t} ${o} null`;case"array":n=(0,N._)`Array.isArray(${t})`;break;case"object":n=(0,N._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":n=a((0,N._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":n=a();break;default:return(0,N._)`typeof ${t} ${o} ${e}`}return i===Te.Correct?n:(0,N.not)(n);function a(l=N.nil){return(0,N.and)((0,N._)`typeof ${t} == "number"`,l,r?(0,N._)`isFinite(${t})`:N.nil)}}W.checkDataType=or;function pr(e,t,r,i){if(e.length===1)return or(e[0],t,r,i);let o;const n=(0,Xi.toHash)(e);if(n.array&&n.object){const a=(0,N._)`typeof ${t} != "object"`;o=n.null?a:(0,N._)`!${t} || ${a}`,delete n.null,delete n.array,delete n.object}else o=N.nil;n.number&&delete n.integer;for(const a in n)o=(0,N.and)(o,or(a,t,r,i));return o}W.checkDataTypes=pr;const pa={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,N._)`{type: ${e}}`:(0,N._)`{type: ${t}}`};function ur(e){const t=ua(e);(0,na.reportError)(t,pa)}W.reportTypeError=ur;function ua(e){const{gen:t,data:r,schema:i}=e,o=(0,Xi.schemaRefOrVal)(e,i,"type");return{gen:t,keyword:"type",data:r,schema:i.type,schemaCode:o,schemaValue:o,parentSchema:i,params:{},it:e}}var Pt={};Object.defineProperty(Pt,"__esModule",{value:!0});Pt.assignDefaults=void 0;const De=E,fa=V;function ha(e,t){const{properties:r,items:i}=e.schema;if(t==="object"&&r)for(const o in r)mi(e,o,r[o].default);else t==="array"&&Array.isArray(i)&&i.forEach((o,n)=>mi(e,n,o.default))}Pt.assignDefaults=ha;function mi(e,t,r){const{gen:i,compositeRule:o,data:n,opts:a}=e;if(r===void 0)return;const l=(0,De._)`${n}${(0,De.getProperty)(t)}`;if(o){(0,fa.checkStrictMode)(e,`default is ignored for: ${l}`);return}let d=(0,De._)`${l} === undefined`;a.useDefaults==="empty"&&(d=(0,De._)`${d} || ${l} === null || ${l} === ""`),i.if(d,(0,De._)`${l} = ${(0,De.stringify)(r)}`)}var se={},x={};Object.defineProperty(x,"__esModule",{value:!0});x.validateUnion=x.validateArray=x.usePattern=x.callValidateCode=x.schemaProperties=x.allSchemaProperties=x.noPropertyInData=x.propertyInData=x.isOwnProperty=x.hasPropFunc=x.reportMissingProp=x.checkMissingProp=x.checkReportMissingProp=void 0;const L=E,fr=V,he=Q,ma=V;function ga(e,t){const{gen:r,data:i,it:o}=e;r.if(mr(r,i,t,o.opts.ownProperties),()=>{e.setParams({missingProperty:(0,L._)`${t}`},!0),e.error()})}x.checkReportMissingProp=ga;function ya({gen:e,data:t,it:{opts:r}},i,o){return(0,L.or)(...i.map(n=>(0,L.and)(mr(e,t,n,r.ownProperties),(0,L._)`${o} = ${n}`)))}x.checkMissingProp=ya;function ba(e,t){e.setParams({missingProperty:t},!0),e.error()}x.reportMissingProp=ba;function to(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,L._)`Object.prototype.hasOwnProperty`})}x.hasPropFunc=to;function hr(e,t,r){return(0,L._)`${to(e)}.call(${t}, ${r})`}x.isOwnProperty=hr;function $a(e,t,r,i){const o=(0,L._)`${t}${(0,L.getProperty)(r)} !== undefined`;return i?(0,L._)`${o} && ${hr(e,t,r)}`:o}x.propertyInData=$a;function mr(e,t,r,i){const o=(0,L._)`${t}${(0,L.getProperty)(r)} === undefined`;return i?(0,L.or)(o,(0,L.not)(hr(e,t,r))):o}x.noPropertyInData=mr;function ro(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}x.allSchemaProperties=ro;function va(e,t){return ro(t).filter(r=>!(0,fr.alwaysValidSchema)(e,t[r]))}x.schemaProperties=va;function Sa({schemaCode:e,data:t,it:{gen:r,topSchemaRef:i,schemaPath:o,errorPath:n},it:a},l,d,c){const f=c?(0,L._)`${e}, ${t}, ${i}${o}`:t,h=[[he.default.instancePath,(0,L.strConcat)(he.default.instancePath,n)],[he.default.parentData,a.parentData],[he.default.parentDataProperty,a.parentDataProperty],[he.default.rootData,he.default.rootData]];a.opts.dynamicRef&&h.push([he.default.dynamicAnchors,he.default.dynamicAnchors]);const k=(0,L._)`${f}, ${r.object(...h)}`;return d!==L.nil?(0,L._)`${l}.call(${d}, ${k})`:(0,L._)`${l}(${k})`}x.callValidateCode=Sa;const wa=(0,L._)`new RegExp`;function ka({gen:e,it:{opts:t}},r){const i=t.unicodeRegExp?"u":"",{regExp:o}=t.code,n=o(r,i);return e.scopeValue("pattern",{key:n.toString(),ref:n,code:(0,L._)`${o.code==="new RegExp"?wa:(0,ma.useFunc)(e,o)}(${r}, ${i})`})}x.usePattern=ka;function Oa(e){const{gen:t,data:r,keyword:i,it:o}=e,n=t.name("valid");if(o.allErrors){const l=t.let("valid",!0);return a(()=>t.assign(l,!1)),l}return t.var(n,!0),a(()=>t.break()),n;function a(l){const d=t.const("len",(0,L._)`${r}.length`);t.forRange("i",0,d,c=>{e.subschema({keyword:i,dataProp:c,dataPropType:fr.Type.Num},n),t.if((0,L.not)(n),l)})}}x.validateArray=Oa;function Ca(e){const{gen:t,schema:r,keyword:i,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(d=>(0,fr.alwaysValidSchema)(o,d))&&!o.opts.unevaluated)return;const a=t.let("valid",!1),l=t.name("_valid");t.block(()=>r.forEach((d,c)=>{const f=e.subschema({keyword:i,schemaProp:c,compositeRule:!0},l);t.assign(a,(0,L._)`${a} || ${l}`),e.mergeValidEvaluated(f,l)||t.if((0,L.not)(a))})),e.result(a,()=>e.reset(),()=>e.error(!0))}x.validateUnion=Ca;Object.defineProperty(se,"__esModule",{value:!0});se.validateKeywordUsage=se.validSchemaType=se.funcKeywordCode=se.macroKeywordCode=void 0;const Y=E,Se=Q,Pa=x,_a=ot;function Va(e,t){const{gen:r,keyword:i,schema:o,parentSchema:n,it:a}=e,l=t.macro.call(a.self,o,n,a),d=io(r,i,l);a.opts.validateSchema!==!1&&a.self.validateSchema(l,!0);const c=r.name("valid");e.subschema({schema:l,schemaPath:Y.nil,errSchemaPath:`${a.errSchemaPath}/${i}`,topSchemaRef:d,compositeRule:!0},c),e.pass(c,()=>e.error(!0))}se.macroKeywordCode=Va;function Da(e,t){var r;const{gen:i,keyword:o,schema:n,parentSchema:a,$data:l,it:d}=e;ja(d,t);const c=!l&&t.compile?t.compile.call(d.self,n,a,d):t.validate,f=io(i,o,c),h=i.let("valid");e.block$data(h,k),e.ok((r=t.valid)!==null&&r!==void 0?r:h);function k(){if(t.errors===!1)w(),t.modifying&&gi(e),g(()=>e.error());else{const u=t.async?S():$();t.modifying&&gi(e),g(()=>Fa(e,u))}}function S(){const u=i.let("ruleErrs",null);return i.try(()=>w((0,Y._)`await `),b=>i.assign(h,!1).if((0,Y._)`${b} instanceof ${d.ValidationError}`,()=>i.assign(u,(0,Y._)`${b}.errors`),()=>i.throw(b))),u}function $(){const u=(0,Y._)`${f}.errors`;return i.assign(u,null),w(Y.nil),u}function w(u=t.async?(0,Y._)`await `:Y.nil){const b=d.opts.passContext?Se.default.this:Se.default.self,C=!("compile"in t&&!l||t.schema===!1);i.assign(h,(0,Y._)`${u}${(0,Pa.callValidateCode)(e,f,b,C)}`,t.modifying)}function g(u){var b;i.if((0,Y.not)((b=t.valid)!==null&&b!==void 0?b:h),u)}}se.funcKeywordCode=Da;function gi(e){const{gen:t,data:r,it:i}=e;t.if(i.parentData,()=>t.assign(r,(0,Y._)`${i.parentData}[${i.parentDataProperty}]`))}function Fa(e,t){const{gen:r}=e;r.if((0,Y._)`Array.isArray(${t})`,()=>{r.assign(Se.default.vErrors,(0,Y._)`${Se.default.vErrors} === null ? ${t} : ${Se.default.vErrors}.concat(${t})`).assign(Se.default.errors,(0,Y._)`${Se.default.vErrors}.length`),(0,_a.extendErrors)(e)},()=>e.error())}function ja({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function io(e,t,r){if(r===void 0)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,Y.stringify)(r)})}function Ra(e,t,r=!1){return!t.length||t.some(i=>i==="array"?Array.isArray(e):i==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==i||r&&typeof e>"u")}se.validSchemaType=Ra;function Ta({schema:e,opts:t,self:r,errSchemaPath:i},o,n){if(Array.isArray(o.keyword)?!o.keyword.includes(n):o.keyword!==n)throw new Error("ajv implementation error");const a=o.dependencies;if(a!=null&&a.some(l=>!Object.prototype.hasOwnProperty.call(e,l)))throw new Error(`parent schema must have dependencies of ${n}: ${a.join(",")}`);if(o.validateSchema&&!o.validateSchema(e[n])){const d=`keyword "${n}" value is invalid at path "${i}": `+r.errorsText(o.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(d);else throw new Error(d)}}se.validateKeywordUsage=Ta;var be={};Object.defineProperty(be,"__esModule",{value:!0});be.extendSubschemaMode=be.extendSubschemaData=be.getSubschema=void 0;const ne=E,oo=V;function Ia(e,{keyword:t,schemaProp:r,schema:i,schemaPath:o,errSchemaPath:n,topSchemaRef:a}){if(t!==void 0&&i!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const l=e.schema[t];return r===void 0?{schema:l,schemaPath:(0,ne._)`${e.schemaPath}${(0,ne.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:l[r],schemaPath:(0,ne._)`${e.schemaPath}${(0,ne.getProperty)(t)}${(0,ne.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,oo.escapeFragment)(r)}`}}if(i!==void 0){if(o===void 0||n===void 0||a===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:o,topSchemaRef:a,errSchemaPath:n}}throw new Error('either "keyword" or "schema" must be passed')}be.getSubschema=Ia;function Ea(e,t,{dataProp:r,dataPropType:i,data:o,dataTypes:n,propertyName:a}){if(o!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(r!==void 0){const{errorPath:c,dataPathArr:f,opts:h}=t,k=l.let("data",(0,ne._)`${t.data}${(0,ne.getProperty)(r)}`,!0);d(k),e.errorPath=(0,ne.str)`${c}${(0,oo.getErrorPath)(r,i,h.jsPropertySyntax)}`,e.parentDataProperty=(0,ne._)`${r}`,e.dataPathArr=[...f,e.parentDataProperty]}if(o!==void 0){const c=o instanceof ne.Name?o:l.let("data",o,!0);d(c),a!==void 0&&(e.propertyName=a)}n&&(e.dataTypes=n);function d(c){e.data=c,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,c]}}be.extendSubschemaData=Ea;function Na(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:i,createErrors:o,allErrors:n}){i!==void 0&&(e.compositeRule=i),o!==void 0&&(e.createErrors=o),n!==void 0&&(e.allErrors=n),e.jtdDiscriminator=t,e.jtdMetadata=r}be.extendSubschemaMode=Na;var K={},no=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var i,o,n;if(Array.isArray(t)){if(i=t.length,i!=r.length)return!1;for(o=i;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(n=Object.keys(t),i=n.length,i!==Object.keys(r).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,n[o]))return!1;for(o=i;o--!==0;){var a=n[o];if(!e(t[a],r[a]))return!1}return!0}return t!==t&&r!==r},so={exports:{}},ye=so.exports=function(e,t,r){typeof t=="function"&&(r=t,t={}),r=t.cb||r;var i=typeof r=="function"?r:r.pre||function(){},o=r.post||function(){};ht(t,i,o,e,"",e)};ye.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ye.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ye.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ye.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function ht(e,t,r,i,o,n,a,l,d,c){if(i&&typeof i=="object"&&!Array.isArray(i)){t(i,o,n,a,l,d,c);for(var f in i){var h=i[f];if(Array.isArray(h)){if(f in ye.arrayKeywords)for(var k=0;k<h.length;k++)ht(e,t,r,h[k],o+"/"+f+"/"+k,n,o,f,i,k)}else if(f in ye.propsKeywords){if(h&&typeof h=="object")for(var S in h)ht(e,t,r,h[S],o+"/"+f+"/"+xa(S),n,o,f,i,S)}else(f in ye.keywords||e.allKeys&&!(f in ye.skipKeywords))&&ht(e,t,r,h,o+"/"+f,n,o,f,i)}r(i,o,n,a,l,d,c)}}function xa(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var Aa=so.exports;Object.defineProperty(K,"__esModule",{value:!0});K.getSchemaRefs=K.resolveUrl=K.normalizeId=K._getFullPath=K.getFullPath=K.inlineRef=void 0;const za=V,Ma=no,Ba=Aa,La=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function qa(e,t=!0){return typeof e=="boolean"?!0:t===!0?!nr(e):t?ao(e)<=t:!1}K.inlineRef=qa;const Ha=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function nr(e){for(const t in e){if(Ha.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(nr)||typeof r=="object"&&nr(r))return!0}return!1}function ao(e){let t=0;for(const r in e){if(r==="$ref")return 1/0;if(t++,!La.has(r)&&(typeof e[r]=="object"&&(0,za.eachItem)(e[r],i=>t+=ao(i)),t===1/0))return 1/0}return t}function lo(e,t="",r){r!==!1&&(t=Ie(t));const i=e.parse(t);return co(e,i)}K.getFullPath=lo;function co(e,t){return e.serialize(t).split("#")[0]+"#"}K._getFullPath=co;const Wa=/#\/?$/;function Ie(e){return e?e.replace(Wa,""):""}K.normalizeId=Ie;function Ua(e,t,r){return r=Ie(r),e.resolve(t,r)}K.resolveUrl=Ua;const Ga=/^[a-z_][-a-z0-9._]*$/i;function Ka(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:i}=this.opts,o=Ie(e[r]||t),n={"":o},a=lo(i,o,!1),l={},d=new Set;return Ba(e,{allKeys:!0},(h,k,S,$)=>{if($===void 0)return;const w=a+k;let g=n[$];typeof h[r]=="string"&&(g=u.call(this,h[r])),b.call(this,h.$anchor),b.call(this,h.$dynamicAnchor),n[k]=g;function u(C){const D=this.opts.uriResolver.resolve;if(C=Ie(g?D(g,C):C),d.has(C))throw f(C);d.add(C);let F=this.refs[C];return typeof F=="string"&&(F=this.refs[F]),typeof F=="object"?c(h,F.schema,C):C!==Ie(w)&&(C[0]==="#"?(c(h,l[C],C),l[C]=h):this.refs[C]=w),C}function b(C){if(typeof C=="string"){if(!Ga.test(C))throw new Error(`invalid anchor "${C}"`);u.call(this,`#${C}`)}}}),l;function c(h,k,S){if(k!==void 0&&!Ma(h,k))throw f(S)}function f(h){return new Error(`reference "${h}" resolves to more than one schema`)}}K.getSchemaRefs=Ka;Object.defineProperty(oe,"__esModule",{value:!0});oe.getData=oe.KeywordCxt=oe.validateFunctionCode=void 0;const po=Ne,yi=W,gr=de,vt=W,Ja=Pt,Ze=se,Jt=be,j=E,I=Q,Ya=K,ce=V,Ge=ot;function Za(e){if(ho(e)&&(mo(e),fo(e))){el(e);return}uo(e,()=>(0,po.topBoolOrEmptySchema)(e))}oe.validateFunctionCode=Za;function uo({gen:e,validateName:t,schema:r,schemaEnv:i,opts:o},n){o.code.es5?e.func(t,(0,j._)`${I.default.data}, ${I.default.valCxt}`,i.$async,()=>{e.code((0,j._)`"use strict"; ${bi(r,o)}`),Qa(e,o),e.code(n)}):e.func(t,(0,j._)`${I.default.data}, ${Xa(o)}`,i.$async,()=>e.code(bi(r,o)).code(n))}function Xa(e){return(0,j._)`{${I.default.instancePath}="", ${I.default.parentData}, ${I.default.parentDataProperty}, ${I.default.rootData}=${I.default.data}${e.dynamicRef?(0,j._)`, ${I.default.dynamicAnchors}={}`:j.nil}}={}`}function Qa(e,t){e.if(I.default.valCxt,()=>{e.var(I.default.instancePath,(0,j._)`${I.default.valCxt}.${I.default.instancePath}`),e.var(I.default.parentData,(0,j._)`${I.default.valCxt}.${I.default.parentData}`),e.var(I.default.parentDataProperty,(0,j._)`${I.default.valCxt}.${I.default.parentDataProperty}`),e.var(I.default.rootData,(0,j._)`${I.default.valCxt}.${I.default.rootData}`),t.dynamicRef&&e.var(I.default.dynamicAnchors,(0,j._)`${I.default.valCxt}.${I.default.dynamicAnchors}`)},()=>{e.var(I.default.instancePath,(0,j._)`""`),e.var(I.default.parentData,(0,j._)`undefined`),e.var(I.default.parentDataProperty,(0,j._)`undefined`),e.var(I.default.rootData,I.default.data),t.dynamicRef&&e.var(I.default.dynamicAnchors,(0,j._)`{}`)})}function el(e){const{schema:t,opts:r,gen:i}=e;uo(e,()=>{r.$comment&&t.$comment&&yo(e),nl(e),i.let(I.default.vErrors,null),i.let(I.default.errors,0),r.unevaluated&&tl(e),go(e),ll(e)})}function tl(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,j._)`${r}.evaluated`),t.if((0,j._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,j._)`${e.evaluated}.props`,(0,j._)`undefined`)),t.if((0,j._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,j._)`${e.evaluated}.items`,(0,j._)`undefined`))}function bi(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,j._)`/*# sourceURL=${r} */`:j.nil}function rl(e,t){if(ho(e)&&(mo(e),fo(e))){il(e,t);return}(0,po.boolOrEmptySchema)(e,t)}function fo({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function ho(e){return typeof e.schema!="boolean"}function il(e,t){const{schema:r,gen:i,opts:o}=e;o.$comment&&r.$comment&&yo(e),sl(e),al(e);const n=i.const("_errs",I.default.errors);go(e,n),i.var(t,(0,j._)`${n} === ${I.default.errors}`)}function mo(e){(0,ce.checkUnknownRules)(e),ol(e)}function go(e,t){if(e.opts.jtd)return $i(e,[],!1,t);const r=(0,yi.getSchemaTypes)(e.schema),i=(0,yi.coerceAndCheckDataType)(e,r);$i(e,r,!i,t)}function ol(e){const{schema:t,errSchemaPath:r,opts:i,self:o}=e;t.$ref&&i.ignoreKeywordsWithRef&&(0,ce.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function nl(e){const{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,ce.checkStrictMode)(e,"default is ignored in the schema root")}function sl(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,Ya.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function al(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function yo({gen:e,schemaEnv:t,schema:r,errSchemaPath:i,opts:o}){const n=r.$comment;if(o.$comment===!0)e.code((0,j._)`${I.default.self}.logger.log(${n})`);else if(typeof o.$comment=="function"){const a=(0,j.str)`${i}/$comment`,l=e.scopeValue("root",{ref:t.root});e.code((0,j._)`${I.default.self}.opts.$comment(${n}, ${a}, ${l}.schema)`)}}function ll(e){const{gen:t,schemaEnv:r,validateName:i,ValidationError:o,opts:n}=e;r.$async?t.if((0,j._)`${I.default.errors} === 0`,()=>t.return(I.default.data),()=>t.throw((0,j._)`new ${o}(${I.default.vErrors})`)):(t.assign((0,j._)`${i}.errors`,I.default.vErrors),n.unevaluated&&dl(e),t.return((0,j._)`${I.default.errors} === 0`))}function dl({gen:e,evaluated:t,props:r,items:i}){r instanceof j.Name&&e.assign((0,j._)`${t}.props`,r),i instanceof j.Name&&e.assign((0,j._)`${t}.items`,i)}function $i(e,t,r,i){const{gen:o,schema:n,data:a,allErrors:l,opts:d,self:c}=e,{RULES:f}=c;if(n.$ref&&(d.ignoreKeywordsWithRef||!(0,ce.schemaHasRulesButRef)(n,f))){o.block(()=>vo(e,"$ref",f.all.$ref.definition));return}d.jtd||cl(e,t),o.block(()=>{for(const k of f.rules)h(k);h(f.post)});function h(k){(0,gr.shouldUseGroup)(n,k)&&(k.type?(o.if((0,vt.checkDataType)(k.type,a,d.strictNumbers)),vi(e,k),t.length===1&&t[0]===k.type&&r&&(o.else(),(0,vt.reportTypeError)(e)),o.endIf()):vi(e,k),l||o.if((0,j._)`${I.default.errors} === ${i||0}`))}}function vi(e,t){const{gen:r,schema:i,opts:{useDefaults:o}}=e;o&&(0,Ja.assignDefaults)(e,t.type),r.block(()=>{for(const n of t.rules)(0,gr.shouldUseRule)(i,n)&&vo(e,n.keyword,n.definition,t.type)})}function cl(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(pl(e,t),e.opts.allowUnionTypes||ul(e,t),fl(e,e.dataTypes))}function pl(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{bo(e.dataTypes,r)||yr(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),ml(e,t)}}function ul(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&yr(e,"use allowUnionTypes to allow union type keyword")}function fl(e,t){const r=e.self.RULES.all;for(const i in r){const o=r[i];if(typeof o=="object"&&(0,gr.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some(a=>hl(t,a))&&yr(e,`missing type "${n.join(",")}" for keyword "${i}"`)}}}function hl(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function bo(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function ml(e,t){const r=[];for(const i of e.dataTypes)bo(t,i)?r.push(i):t.includes("integer")&&i==="number"&&r.push("integer");e.dataTypes=r}function yr(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,ce.checkStrictMode)(e,t,e.opts.strictTypes)}class $o{constructor(t,r,i){if((0,Ze.validateKeywordUsage)(t,r,i),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=i,this.data=t.data,this.schema=t.schema[i],this.$data=r.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,ce.schemaRefOrVal)(t,this.schema,i,this.$data),this.schemaType=r.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=r,this.$data)this.schemaCode=t.gen.const("vSchema",So(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,Ze.validSchemaType)(this.schema,r.schemaType,r.allowUndefined))throw new Error(`${i} value must be ${JSON.stringify(r.schemaType)}`);("code"in r?r.trackErrors:r.errors!==!1)&&(this.errsCount=t.gen.const("_errs",I.default.errors))}result(t,r,i){this.failResult((0,j.not)(t),r,i)}failResult(t,r,i){this.gen.if(t),i?i():this.error(),r?(this.gen.else(),r(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(t,r){this.failResult((0,j.not)(t),void 0,r)}fail(t){if(t===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(t),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(t){if(!this.$data)return this.fail(t);const{schemaCode:r}=this;this.fail((0,j._)`${r} !== undefined && (${(0,j.or)(this.invalid$data(),t)})`)}error(t,r,i){if(r){this.setParams(r),this._error(t,i),this.setParams({});return}this._error(t,i)}_error(t,r){(t?Ge.reportExtraError:Ge.reportError)(this,this.def.error,r)}$dataError(){(0,Ge.reportError)(this,this.def.$dataError||Ge.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Ge.resetErrorsCount)(this.gen,this.errsCount)}ok(t){this.allErrors||this.gen.if(t)}setParams(t,r){r?Object.assign(this.params,t):this.params=t}block$data(t,r,i=j.nil){this.gen.block(()=>{this.check$data(t,i),r()})}check$data(t=j.nil,r=j.nil){if(!this.$data)return;const{gen:i,schemaCode:o,schemaType:n,def:a}=this;i.if((0,j.or)((0,j._)`${o} === undefined`,r)),t!==j.nil&&i.assign(t,!0),(n.length||a.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),t!==j.nil&&i.assign(t,!1)),i.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:i,def:o,it:n}=this;return(0,j.or)(a(),l());function a(){if(i.length){if(!(r instanceof j.Name))throw new Error("ajv implementation error");const d=Array.isArray(i)?i:[i];return(0,j._)`${(0,vt.checkDataTypes)(d,r,n.opts.strictNumbers,vt.DataType.Wrong)}`}return j.nil}function l(){if(o.validateSchema){const d=t.scopeValue("validate$data",{ref:o.validateSchema});return(0,j._)`!${d}(${r})`}return j.nil}}subschema(t,r){const i=(0,Jt.getSubschema)(this.it,t);(0,Jt.extendSubschemaData)(i,this.it,t),(0,Jt.extendSubschemaMode)(i,t);const o={...this.it,...i,items:void 0,props:void 0};return rl(o,r),o}mergeEvaluated(t,r){const{it:i,gen:o}=this;i.opts.unevaluated&&(i.props!==!0&&t.props!==void 0&&(i.props=ce.mergeEvaluated.props(o,t.props,i.props,r)),i.items!==!0&&t.items!==void 0&&(i.items=ce.mergeEvaluated.items(o,t.items,i.items,r)))}mergeValidEvaluated(t,r){const{it:i,gen:o}=this;if(i.opts.unevaluated&&(i.props!==!0||i.items!==!0))return o.if(r,()=>this.mergeEvaluated(t,j.Name)),!0}}oe.KeywordCxt=$o;function vo(e,t,r,i){const o=new $o(e,r,t);"code"in r?r.code(o,i):o.$data&&r.validate?(0,Ze.funcKeywordCode)(o,r):"macro"in r?(0,Ze.macroKeywordCode)(o,r):(r.compile||r.validate)&&(0,Ze.funcKeywordCode)(o,r)}const gl=/^\/(?:[^~]|~0|~1)*$/,yl=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function So(e,{dataLevel:t,dataNames:r,dataPathArr:i}){let o,n;if(e==="")return I.default.rootData;if(e[0]==="/"){if(!gl.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,n=I.default.rootData}else{const c=yl.exec(e);if(!c)throw new Error(`Invalid JSON-pointer: ${e}`);const f=+c[1];if(o=c[2],o==="#"){if(f>=t)throw new Error(d("property/index",f));return i[t-f]}if(f>t)throw new Error(d("data",f));if(n=r[t-f],!o)return n}let a=n;const l=o.split("/");for(const c of l)c&&(n=(0,j._)`${n}${(0,j.getProperty)((0,ce.unescapeJsonPointer)(c))}`,a=(0,j._)`${a} && ${n}`);return a;function d(c,f){return`Cannot access ${c} ${f} levels up, current level is ${t}`}}oe.getData=So;var nt={};Object.defineProperty(nt,"__esModule",{value:!0});class bl extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}nt.default=bl;var ze={};Object.defineProperty(ze,"__esModule",{value:!0});const Yt=K;class $l extends Error{constructor(t,r,i,o){super(o||`can't resolve reference ${i} from id ${r}`),this.missingRef=(0,Yt.resolveUrl)(t,r,i),this.missingSchema=(0,Yt.normalizeId)((0,Yt.getFullPath)(t,this.missingRef))}}ze.default=$l;var Z={};Object.defineProperty(Z,"__esModule",{value:!0});Z.resolveSchema=Z.getCompilingSchema=Z.resolveRef=Z.compileSchema=Z.SchemaEnv=void 0;const te=E,vl=nt,ve=Q,ie=K,Si=V,Sl=oe;class _t{constructor(t){var r;this.refs={},this.dynamicAnchors={};let i;typeof t.schema=="object"&&(i=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=(r=t.baseId)!==null&&r!==void 0?r:(0,ie.normalizeId)(i==null?void 0:i[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=i==null?void 0:i.$async,this.refs={}}}Z.SchemaEnv=_t;function br(e){const t=wo.call(this,e);if(t)return t;const r=(0,ie.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:i,lines:o}=this.opts.code,{ownProperties:n}=this.opts,a=new te.CodeGen(this.scope,{es5:i,lines:o,ownProperties:n});let l;e.$async&&(l=a.scopeValue("Error",{ref:vl.default,code:(0,te._)`require("ajv/dist/runtime/validation_error").default`}));const d=a.scopeName("validate");e.validateName=d;const c={gen:a,allErrors:this.opts.allErrors,data:ve.default.data,parentData:ve.default.parentData,parentDataProperty:ve.default.parentDataProperty,dataNames:[ve.default.data],dataPathArr:[te.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,te.stringify)(e.schema)}:{ref:e.schema}),validateName:d,ValidationError:l,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:te.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,te._)`""`,opts:this.opts,self:this};let f;try{this._compilations.add(e),(0,Sl.validateFunctionCode)(c),a.optimize(this.opts.code.optimize);const h=a.toString();f=`${a.scopeRefs(ve.default.scope)}return ${h}`,this.opts.code.process&&(f=this.opts.code.process(f,e));const S=new Function(`${ve.default.self}`,`${ve.default.scope}`,f)(this,this.scope.get());if(this.scope.value(d,{ref:S}),S.errors=null,S.schema=e.schema,S.schemaEnv=e,e.$async&&(S.$async=!0),this.opts.code.source===!0&&(S.source={validateName:d,validateCode:h,scopeValues:a._values}),this.opts.unevaluated){const{props:$,items:w}=c;S.evaluated={props:$ instanceof te.Name?void 0:$,items:w instanceof te.Name?void 0:w,dynamicProps:$ instanceof te.Name,dynamicItems:w instanceof te.Name},S.source&&(S.source.evaluated=(0,te.stringify)(S.evaluated))}return e.validate=S,e}catch(h){throw delete e.validate,delete e.validateName,f&&this.logger.error("Error compiling schema, function code:",f),h}finally{this._compilations.delete(e)}}Z.compileSchema=br;function wl(e,t,r){var i;r=(0,ie.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let n=Cl.call(this,e,r);if(n===void 0){const a=(i=e.localRefs)===null||i===void 0?void 0:i[r],{schemaId:l}=this.opts;a&&(n=new _t({schema:a,schemaId:l,root:e,baseId:t}))}if(n!==void 0)return e.refs[r]=kl.call(this,n)}Z.resolveRef=wl;function kl(e){return(0,ie.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:br.call(this,e)}function wo(e){for(const t of this._compilations)if(Ol(t,e))return t}Z.getCompilingSchema=wo;function Ol(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function Cl(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||Vt.call(this,e,t)}function Vt(e,t){const r=this.opts.uriResolver.parse(t),i=(0,ie._getFullPath)(this.opts.uriResolver,r);let o=(0,ie.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&i===o)return Zt.call(this,r,e);const n=(0,ie.normalizeId)(i),a=this.refs[n]||this.schemas[n];if(typeof a=="string"){const l=Vt.call(this,e,a);return typeof(l==null?void 0:l.schema)!="object"?void 0:Zt.call(this,r,l)}if(typeof(a==null?void 0:a.schema)=="object"){if(a.validate||br.call(this,a),n===(0,ie.normalizeId)(t)){const{schema:l}=a,{schemaId:d}=this.opts,c=l[d];return c&&(o=(0,ie.resolveUrl)(this.opts.uriResolver,o,c)),new _t({schema:l,schemaId:d,root:e,baseId:o})}return Zt.call(this,r,a)}}Z.resolveSchema=Vt;const Pl=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Zt(e,{baseId:t,schema:r,root:i}){var o;if(((o=e.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(const l of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const d=r[(0,Si.unescapeFragment)(l)];if(d===void 0)return;r=d;const c=typeof r=="object"&&r[this.opts.schemaId];!Pl.has(l)&&c&&(t=(0,ie.resolveUrl)(this.opts.uriResolver,t,c))}let n;if(typeof r!="boolean"&&r.$ref&&!(0,Si.schemaHasRulesButRef)(r,this.RULES)){const l=(0,ie.resolveUrl)(this.opts.uriResolver,t,r.$ref);n=Vt.call(this,i,l)}const{schemaId:a}=this.opts;if(n=n||new _t({schema:r,schemaId:a,root:i,baseId:t}),n.schema!==n.root.schema)return n}const _l="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Vl="Meta-schema for $data reference (JSON AnySchema extension proposal)",Dl="object",Fl=["$data"],jl={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Rl=!1,Tl={$id:_l,description:Vl,type:Dl,required:Fl,properties:jl,additionalProperties:Rl};var $r={},Dt={exports:{}};const Il=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),ko=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),vr=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),Oo=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),El=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function Co(e){let t="",r=0,i=0;for(i=0;i<e.length;i++)if(r=e[i].charCodeAt(0),r!==48){if(!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[i];break}for(i+=1;i<e.length;i++){if(r=e[i].charCodeAt(0),!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[i]}return t}const Nl=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function wi(e){return e.length=0,!0}function xl(e,t,r){if(e.length){const i=Co(e);if(i!=="")t.push(i);else return r.error=!0,!1;e.length=0}return!0}function Al(e){let t=0;const r={error:!1,address:"",zone:""},i=[],o=[];let n=!1,a=!1,l=xl;for(let d=0;d<e.length;d++){const c=e[d];if(!(c==="["||c==="]"))if(c===":"){if(n===!0&&(a=!0),!l(o,i,r))break;if(++t>7){r.error=!0;break}d>0&&e[d-1]===":"&&(n=!0),i.push(":");continue}else if(c==="%"){if(!l(o,i,r))break;l=wi}else{o.push(c);continue}}return o.length&&(l===wi?r.zone=o.join(""):a?i.push(o.join("")):i.push(Co(o))),r.address=i.join(""),r}function Po(e){if(zl(e,":")<2)return{host:e,isIPV6:!1};const t=Al(e);if(t.error)return{host:e,isIPV6:!1};{let r=t.address,i=t.address;return t.zone&&(r+="%"+t.zone,i+="%25"+t.zone),{host:r,isIPV6:!0,escapedHost:i}}}function zl(e,t){let r=0;for(let i=0;i<e.length;i++)e[i]===t&&r++;return r}function Ml(e){let t=e;const r=[];let i=-1,o=0;for(;o=t.length;){if(o===1){if(t===".")break;if(t==="/"){r.push("/");break}else{r.push(t);break}}else if(o===2){if(t[0]==="."){if(t[1]===".")break;if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"&&(t[1]==="."||t[1]==="/")){r.push("/");break}}else if(o===3&&t==="/.."){r.length!==0&&r.pop(),r.push("/");break}if(t[0]==="."){if(t[1]==="."){if(t[2]==="/"){t=t.slice(3);continue}}else if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"&&t[1]==="."){if(t[2]==="/"){t=t.slice(2);continue}else if(t[2]==="."&&t[3]==="/"){t=t.slice(3),r.length!==0&&r.pop();continue}}if((i=t.indexOf("/",1))===-1){r.push(t);break}else r.push(t.slice(0,i)),t=t.slice(i)}return r.join("")}const Bl={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},Ll=/[@/?#:]/g,ql=/[@/?#]/g;function _o(e,t){const r=t?ql:Ll;return r.lastIndex=0,e.replace(r,i=>Bl[i])}function Hl(e,t=!1){if(e.indexOf("%")===-1)return e;let r="";for(let i=0;i<e.length;i++){if(e[i]==="%"&&i+2<e.length){const o=e.slice(i+1,i+3);if(vr(o)){const n=o.toUpperCase(),a=String.fromCharCode(parseInt(n,16));t&&Oo(a)?r+=a:r+="%"+n,i+=2;continue}}r+=e[i]}return r}function Wl(e){let t="";for(let r=0;r<e.length;r++){if(e[r]==="%"&&r+2<e.length){const i=e.slice(r+1,r+3);if(vr(i)){const o=i.toUpperCase(),n=String.fromCharCode(parseInt(o,16));n!=="."&&Oo(n)?t+=n:t+="%"+o,r+=2;continue}}El(e[r])?t+=e[r]:t+=escape(e[r])}return t}function Ul(e){let t="";for(let r=0;r<e.length;r++){if(e[r]==="%"&&r+2<e.length){const i=e.slice(r+1,r+3);if(vr(i)){t+="%"+i.toUpperCase(),r+=2;continue}}t+=escape(e[r])}return t}function Gl(e){const t=[];if(e.userinfo!==void 0&&(t.push(e.userinfo),t.push("@")),e.host!==void 0){let r=unescape(e.host);if(!ko(r)){const i=Po(r);i.isIPV6===!0?r=`[${i.escapedHost}]`:r=_o(r,!1)}t.push(r)}return(typeof e.port=="number"||typeof e.port=="string")&&(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0}var Vo={nonSimpleDomain:Nl,recomposeAuthority:Gl,reescapeHostDelimiters:_o,normalizePercentEncoding:Hl,normalizePathEncoding:Wl,escapePreservingEscapes:Ul,removeDotSegments:Ml,isIPv4:ko,isUUID:Il,normalizeIPv6:Po};const{isUUID:Kl}=Vo,Jl=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function Do(e){return e.secure===!0?!0:e.secure===!1?!1:e.scheme?e.scheme.length===3&&(e.scheme[0]==="w"||e.scheme[0]==="W")&&(e.scheme[1]==="s"||e.scheme[1]==="S")&&(e.scheme[2]==="s"||e.scheme[2]==="S"):!1}function Fo(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function jo(e){const t=String(e.scheme).toLowerCase()==="https";return(e.port===(t?443:80)||e.port==="")&&(e.port=void 0),e.path||(e.path="/"),e}function Yl(e){return e.secure=Do(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function Zl(e){if((e.port===(Do(e)?443:80)||e.port==="")&&(e.port=void 0),typeof e.secure=="boolean"&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,r]=e.resourceName.split("?");e.path=t&&t!=="/"?t:void 0,e.query=r,e.resourceName=void 0}return e.fragment=void 0,e}function Xl(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(Jl);if(r){const i=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];const o=`${i}:${t.nid||e.nid}`,n=Sr(o);e.path=void 0,n&&(e=n.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e}function Ql(e,t){if(e.nid===void 0)throw new Error("URN without nid cannot be serialized");const r=t.scheme||e.scheme||"urn",i=e.nid.toLowerCase(),o=`${r}:${t.nid||i}`,n=Sr(o);n&&(e=n.serialize(e,t));const a=e,l=e.nss;return a.path=`${i||t.nid}:${l}`,t.skipEscape=!0,a}function ed(e,t){const r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!Kl(r.uuid))&&(r.error=r.error||"UUID is not valid."),r}function td(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t}const Ro={scheme:"http",domainHost:!0,parse:Fo,serialize:jo},rd={scheme:"https",domainHost:Ro.domainHost,parse:Fo,serialize:jo},mt={scheme:"ws",domainHost:!0,parse:Yl,serialize:Zl},id={scheme:"wss",domainHost:mt.domainHost,parse:mt.parse,serialize:mt.serialize},od={scheme:"urn",parse:Xl,serialize:Ql,skipNormalize:!0},nd={scheme:"urn:uuid",parse:ed,serialize:td,skipNormalize:!0},St={http:Ro,https:rd,ws:mt,wss:id,urn:od,"urn:uuid":nd};Object.setPrototypeOf(St,null);function Sr(e){return e&&(St[e]||St[e.toLowerCase()])||void 0}var sd={SCHEMES:St,getSchemeHandler:Sr};const{normalizeIPv6:ad,removeDotSegments:Je,recomposeAuthority:ld,normalizePercentEncoding:dd,normalizePathEncoding:cd,escapePreservingEscapes:pd,reescapeHostDelimiters:ud,isIPv4:fd,nonSimpleDomain:hd}=Vo,{SCHEMES:md,getSchemeHandler:To}=sd;function gd(e,t){return typeof e=="string"?e=Sd(e,t):typeof e=="object"&&(e=xe(Pe(e,t),t)),e}function yd(e,t,r){const i=r?Object.assign({scheme:"null"},r):{scheme:"null"},o=Io(xe(e,i),xe(t,i),i,!0);return i.skipEscape=!0,Pe(o,i)}function Io(e,t,r,i){const o={};return i||(e=xe(Pe(e,r),r),t=xe(Pe(t,r),r)),r=r||{},!r.tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=Je(t.path||""),o.query=t.query):(t.userinfo!==void 0||t.host!==void 0||t.port!==void 0?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=Je(t.path||""),o.query=t.query):(t.path?(t.path[0]==="/"?o.path=Je(t.path):((e.userinfo!==void 0||e.host!==void 0||e.port!==void 0)&&!e.path?o.path="/"+t.path:e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path,o.path=Je(o.path)),o.query=t.query):(o.path=e.path,t.query!==void 0?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function bd(e,t,r){const i=ki(e,r),o=ki(t,r);return i!==void 0&&o!==void 0&&i.toLowerCase()===o.toLowerCase()}function Pe(e,t){const r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},i=Object.assign({},t),o=[],n=To(i.scheme||r.scheme);n&&n.serialize&&n.serialize(r,i),r.path!==void 0&&(i.skipEscape?r.path=dd(r.path):(r.path=pd(r.path),r.scheme!==void 0&&(r.path=r.path.split("%3A").join(":")))),i.reference!=="suffix"&&r.scheme&&o.push(r.scheme,":");const a=ld(r);if(a!==void 0&&(i.reference!=="suffix"&&o.push("//"),o.push(a),r.path&&r.path[0]!=="/"&&o.push("/")),r.path!==void 0){let l=r.path;!i.absolutePath&&(!n||!n.absolutePath)&&(l=Je(l)),a===void 0&&l[0]==="/"&&l[1]==="/"&&(l="/%2F"+l.slice(2)),o.push(l)}return r.query!==void 0&&o.push("?",r.query),r.fragment!==void 0&&o.push("#",r.fragment),o.join("")}const $d=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function vd(e,t){if(t[2]!==void 0&&e.path&&e.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof e.port=="number"&&(e.port<0||e.port>65535))return"URI port is malformed."}function Eo(e,t){const r=Object.assign({},t),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let o=!1,n=!1;r.reference==="suffix"&&(r.scheme?e=r.scheme+":"+e:e="//"+e);const a=e.match($d);if(a){i.scheme=a[1],i.userinfo=a[3],i.host=a[4],i.port=parseInt(a[5],10),i.path=a[6]||"",i.query=a[7],i.fragment=a[8],isNaN(i.port)&&(i.port=a[5]);const l=vd(i,a);if(l!==void 0&&(i.error=i.error||l,o=!0),i.host)if(fd(i.host)===!1){const f=ad(i.host);i.host=f.host.toLowerCase(),n=f.isIPV6}else n=!0;i.scheme===void 0&&i.userinfo===void 0&&i.host===void 0&&i.port===void 0&&i.query===void 0&&!i.path?i.reference="same-document":i.scheme===void 0?i.reference="relative":i.fragment===void 0?i.reference="absolute":i.reference="uri",r.reference&&r.reference!=="suffix"&&r.reference!==i.reference&&(i.error=i.error||"URI is not a "+r.reference+" reference.");const d=To(r.scheme||i.scheme);if(!r.unicodeSupport&&(!d||!d.unicodeSupport)&&i.host&&(r.domainHost||d&&d.domainHost)&&n===!1&&hd(i.host))try{i.host=URL.domainToASCII(i.host.toLowerCase())}catch(c){i.error=i.error||"Host's domain name can not be converted to ASCII: "+c}if((!d||d&&!d.skipNormalize)&&(e.indexOf("%")!==-1&&(i.scheme!==void 0&&(i.scheme=unescape(i.scheme)),i.host!==void 0&&(i.host=ud(unescape(i.host),n))),i.path&&(i.path=cd(i.path)),i.fragment))try{i.fragment=encodeURI(decodeURIComponent(i.fragment))}catch{i.error=i.error||"URI malformed"}d&&d.parse&&d.parse(i,r)}else i.error=i.error||"URI can not be parsed.";return{parsed:i,malformedAuthorityOrPort:o}}function xe(e,t){return Eo(e,t).parsed}function Sd(e,t){return No(e,t).normalized}function No(e,t){const{parsed:r,malformedAuthorityOrPort:i}=Eo(e,t);return{normalized:i?e:Pe(r,t),malformedAuthorityOrPort:i}}function ki(e,t){if(typeof e=="string"){const{normalized:r,malformedAuthorityOrPort:i}=No(e,t);return i?void 0:r}if(typeof e=="object")return Pe(e,t)}const wr={SCHEMES:md,normalize:gd,resolve:yd,resolveComponent:Io,equal:bd,serialize:Pe,parse:xe};Dt.exports=wr;Dt.exports.default=wr;Dt.exports.fastUri=wr;var wd=Dt.exports;Object.defineProperty($r,"__esModule",{value:!0});const xo=wd;xo.code='require("ajv/dist/runtime/uri").default';$r.default=xo;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=oe;Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=E;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const i=nt,o=ze,n=Ce,a=Z,l=E,d=K,c=W,f=V,h=Tl,k=$r,S=(_,m)=>new RegExp(_,m);S.code="new RegExp";const $=["removeAdditional","useDefaults","coerceTypes"],w=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},u={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},b=200;function C(_){var m,O,y,s,p,v,R,T,z,A,U,Ve,Et,Nt,xt,At,zt,Mt,Bt,Lt,qt,Ht,Wt,Ut,Gt;const Ue=_.strict,Kt=(m=_.code)===null||m===void 0?void 0:m.optimize,pi=Kt===!0||Kt===void 0?1:Kt||0,ui=(y=(O=_.code)===null||O===void 0?void 0:O.regExp)!==null&&y!==void 0?y:S,Zo=(s=_.uriResolver)!==null&&s!==void 0?s:k.default;return{strictSchema:(v=(p=_.strictSchema)!==null&&p!==void 0?p:Ue)!==null&&v!==void 0?v:!0,strictNumbers:(T=(R=_.strictNumbers)!==null&&R!==void 0?R:Ue)!==null&&T!==void 0?T:!0,strictTypes:(A=(z=_.strictTypes)!==null&&z!==void 0?z:Ue)!==null&&A!==void 0?A:"log",strictTuples:(Ve=(U=_.strictTuples)!==null&&U!==void 0?U:Ue)!==null&&Ve!==void 0?Ve:"log",strictRequired:(Nt=(Et=_.strictRequired)!==null&&Et!==void 0?Et:Ue)!==null&&Nt!==void 0?Nt:!1,code:_.code?{..._.code,optimize:pi,regExp:ui}:{optimize:pi,regExp:ui},loopRequired:(xt=_.loopRequired)!==null&&xt!==void 0?xt:b,loopEnum:(At=_.loopEnum)!==null&&At!==void 0?At:b,meta:(zt=_.meta)!==null&&zt!==void 0?zt:!0,messages:(Mt=_.messages)!==null&&Mt!==void 0?Mt:!0,inlineRefs:(Bt=_.inlineRefs)!==null&&Bt!==void 0?Bt:!0,schemaId:(Lt=_.schemaId)!==null&&Lt!==void 0?Lt:"$id",addUsedSchema:(qt=_.addUsedSchema)!==null&&qt!==void 0?qt:!0,validateSchema:(Ht=_.validateSchema)!==null&&Ht!==void 0?Ht:!0,validateFormats:(Wt=_.validateFormats)!==null&&Wt!==void 0?Wt:!0,unicodeRegExp:(Ut=_.unicodeRegExp)!==null&&Ut!==void 0?Ut:!0,int32range:(Gt=_.int32range)!==null&&Gt!==void 0?Gt:!0,uriResolver:Zo}}class D{constructor(m={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,m=this.opts={...m,...C(m)};const{es5:O,lines:y}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:w,es5:O,lines:y}),this.logger=le(m.logger);const s=m.validateFormats;m.validateFormats=!1,this.RULES=(0,n.getRules)(),F.call(this,g,m,"NOT SUPPORTED"),F.call(this,u,m,"DEPRECATED","warn"),this._metaOpts=$e.call(this),m.formats&&ae.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),m.keywords&&ue.call(this,m.keywords),typeof m.meta=="object"&&this.addMetaSchema(m.meta),H.call(this),m.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:m,meta:O,schemaId:y}=this.opts;let s=h;y==="id"&&(s={...h},s.id=s.$id,delete s.$id),O&&m&&this.addMetaSchema(s,s[y],!1)}defaultMeta(){const{meta:m,schemaId:O}=this.opts;return this.opts.defaultMeta=typeof m=="object"?m[O]||m:void 0}validate(m,O){let y;if(typeof m=="string"){if(y=this.getSchema(m),!y)throw new Error(`no schema with key or ref "${m}"`)}else y=this.compile(m);const s=y(O);return"$async"in y||(this.errors=y.errors),s}compile(m,O){const y=this._addSchema(m,O);return y.validate||this._compileSchemaEnv(y)}compileAsync(m,O){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:y}=this.opts;return s.call(this,m,O);async function s(A,U){await p.call(this,A.$schema);const Ve=this._addSchema(A,U);return Ve.validate||v.call(this,Ve)}async function p(A){A&&!this.getSchema(A)&&await s.call(this,{$ref:A},!0)}async function v(A){try{return this._compileSchemaEnv(A)}catch(U){if(!(U instanceof o.default))throw U;return R.call(this,U),await T.call(this,U.missingSchema),v.call(this,A)}}function R({missingSchema:A,missingRef:U}){if(this.refs[A])throw new Error(`AnySchema ${A} is loaded but ${U} cannot be resolved`)}async function T(A){const U=await z.call(this,A);this.refs[A]||await p.call(this,U.$schema),this.refs[A]||this.addSchema(U,A,O)}async function z(A){const U=this._loading[A];if(U)return U;try{return await(this._loading[A]=y(A))}finally{delete this._loading[A]}}}addSchema(m,O,y,s=this.opts.validateSchema){if(Array.isArray(m)){for(const v of m)this.addSchema(v,void 0,y,s);return this}let p;if(typeof m=="object"){const{schemaId:v}=this.opts;if(p=m[v],p!==void 0&&typeof p!="string")throw new Error(`schema ${v} must be string`)}return O=(0,d.normalizeId)(O||p),this._checkUnique(O),this.schemas[O]=this._addSchema(m,y,O,s,!0),this}addMetaSchema(m,O,y=this.opts.validateSchema){return this.addSchema(m,O,!0,y),this}validateSchema(m,O){if(typeof m=="boolean")return!0;let y;if(y=m.$schema,y!==void 0&&typeof y!="string")throw new Error("$schema must be a string");if(y=y||this.opts.defaultMeta||this.defaultMeta(),!y)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const s=this.validate(y,m);if(!s&&O){const p="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(p);else throw new Error(p)}return s}getSchema(m){let O;for(;typeof(O=B.call(this,m))=="string";)m=O;if(O===void 0){const{schemaId:y}=this.opts,s=new a.SchemaEnv({schema:{},schemaId:y});if(O=a.resolveSchema.call(this,s,m),!O)return;this.refs[m]=O}return O.validate||this._compileSchemaEnv(O)}removeSchema(m){if(m instanceof RegExp)return this._removeAllSchemas(this.schemas,m),this._removeAllSchemas(this.refs,m),this;switch(typeof m){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const O=B.call(this,m);return typeof O=="object"&&this._cache.delete(O.schema),delete this.schemas[m],delete this.refs[m],this}case"object":{const O=m;this._cache.delete(O);let y=m[this.opts.schemaId];return y&&(y=(0,d.normalizeId)(y),delete this.schemas[y],delete this.refs[y]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(m){for(const O of m)this.addKeyword(O);return this}addKeyword(m,O){let y;if(typeof m=="string")y=m,typeof O=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),O.keyword=y);else if(typeof m=="object"&&O===void 0){if(O=m,y=O.keyword,Array.isArray(y)&&!y.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(fe.call(this,y,O),!O)return(0,f.eachItem)(y,p=>We.call(this,p)),this;Tt.call(this,O);const s={...O,type:(0,c.getJSONTypes)(O.type),schemaType:(0,c.getJSONTypes)(O.schemaType)};return(0,f.eachItem)(y,s.type.length===0?p=>We.call(this,p,s):p=>s.type.forEach(v=>We.call(this,p,s,v))),this}getKeyword(m){const O=this.RULES.all[m];return typeof O=="object"?O.definition:!!O}removeKeyword(m){const{RULES:O}=this;delete O.keywords[m],delete O.all[m];for(const y of O.rules){const s=y.rules.findIndex(p=>p.keyword===m);s>=0&&y.rules.splice(s,1)}return this}addFormat(m,O){return typeof O=="string"&&(O=new RegExp(O)),this.formats[m]=O,this}errorsText(m=this.errors,{separator:O=", ",dataVar:y="data"}={}){return!m||m.length===0?"No errors":m.map(s=>`${y}${s.instancePath} ${s.message}`).reduce((s,p)=>s+O+p)}$dataMetaSchema(m,O){const y=this.RULES.all;m=JSON.parse(JSON.stringify(m));for(const s of O){const p=s.split("/").slice(1);let v=m;for(const R of p)v=v[R];for(const R in y){const T=y[R];if(typeof T!="object")continue;const{$data:z}=T.definition,A=v[R];z&&A&&(v[R]=lt(A))}}return m}_removeAllSchemas(m,O){for(const y in m){const s=m[y];(!O||O.test(y))&&(typeof s=="string"?delete m[y]:s&&!s.meta&&(this._cache.delete(s.schema),delete m[y]))}}_addSchema(m,O,y,s=this.opts.validateSchema,p=this.opts.addUsedSchema){let v;const{schemaId:R}=this.opts;if(typeof m=="object")v=m[R];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof m!="boolean")throw new Error("schema must be object or boolean")}let T=this._cache.get(m);if(T!==void 0)return T;y=(0,d.normalizeId)(v||y);const z=d.getSchemaRefs.call(this,m,y);return T=new a.SchemaEnv({schema:m,schemaId:R,meta:O,baseId:y,localRefs:z}),this._cache.set(T.schema,T),p&&!y.startsWith("#")&&(y&&this._checkUnique(y),this.refs[y]=T),s&&this.validateSchema(m,!0),T}_checkUnique(m){if(this.schemas[m]||this.refs[m])throw new Error(`schema with key or id "${m}" already exists`)}_compileSchemaEnv(m){if(m.meta?this._compileMetaSchema(m):a.compileSchema.call(this,m),!m.validate)throw new Error("ajv implementation error");return m.validate}_compileMetaSchema(m){const O=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,m)}finally{this.opts=O}}}D.ValidationError=i.default,D.MissingRefError=o.default,e.default=D;function F(_,m,O,y="error"){for(const s in _){const p=s;p in m&&this.logger[y](`${O}: option ${s}. ${_[p]}`)}}function B(_){return _=(0,d.normalizeId)(_),this.schemas[_]||this.refs[_]}function H(){const _=this.opts.schemas;if(_)if(Array.isArray(_))this.addSchema(_);else for(const m in _)this.addSchema(_[m],m)}function ae(){for(const _ in this.opts.formats){const m=this.opts.formats[_];m&&this.addFormat(_,m)}}function ue(_){if(Array.isArray(_)){this.addVocabulary(_);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const m in _){const O=_[m];O.keyword||(O.keyword=m),this.addKeyword(O)}}function $e(){const _={...this.opts};for(const m of $)delete _[m];return _}const He={log(){},warn(){},error(){}};function le(_){if(_===!1)return He;if(_===void 0)return console;if(_.log&&_.warn&&_.error)return _;throw new Error("logger must implement log, warn and error methods")}const _e=/^[a-z_$][a-z0-9_$:-]*$/i;function fe(_,m){const{RULES:O}=this;if((0,f.eachItem)(_,y=>{if(O.keywords[y])throw new Error(`Keyword ${y} is already defined`);if(!_e.test(y))throw new Error(`Keyword ${y} has invalid name`)}),!!m&&m.$data&&!("code"in m||"validate"in m))throw new Error('$data keyword must have "code" or "validate" function')}function We(_,m,O){var y;const s=m==null?void 0:m.post;if(O&&s)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:p}=this;let v=s?p.post:p.rules.find(({type:T})=>T===O);if(v||(v={type:O,rules:[]},p.rules.push(v)),p.keywords[_]=!0,!m)return;const R={keyword:_,definition:{...m,type:(0,c.getJSONTypes)(m.type),schemaType:(0,c.getJSONTypes)(m.schemaType)}};m.before?at.call(this,v,R,m.before):v.rules.push(R),p.all[_]=R,(y=m.implements)===null||y===void 0||y.forEach(T=>this.addKeyword(T))}function at(_,m,O){const y=_.rules.findIndex(s=>s.keyword===O);y>=0?_.rules.splice(y,0,m):(_.rules.push(m),this.logger.warn(`rule ${O} is not defined`))}function Tt(_){let{metaSchema:m}=_;m!==void 0&&(_.$data&&this.opts.$data&&(m=lt(m)),_.validateSchema=this.compile(m,!0))}const It={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function lt(_){return{anyOf:[_,It]}}})(qi);var kr={},Or={},Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});const kd={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Cr.default=kd;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});pe.callRef=pe.getValidate=void 0;const Od=ze,Oi=x,X=E,Fe=Q,Ci=Z,dt=V,Cd={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:i}=e,{baseId:o,schemaEnv:n,validateName:a,opts:l,self:d}=i,{root:c}=n;if((r==="#"||r==="#/")&&o===c.baseId)return h();const f=Ci.resolveRef.call(d,c,o,r);if(f===void 0)throw new Od.default(i.opts.uriResolver,o,r);if(f instanceof Ci.SchemaEnv)return k(f);return S(f);function h(){if(n===c)return gt(e,a,n,n.$async);const $=t.scopeValue("root",{ref:c});return gt(e,(0,X._)`${$}.validate`,c,c.$async)}function k($){const w=Ao(e,$);gt(e,w,$,$.$async)}function S($){const w=t.scopeValue("schema",l.code.source===!0?{ref:$,code:(0,X.stringify)($)}:{ref:$}),g=t.name("valid"),u=e.subschema({schema:$,dataTypes:[],schemaPath:X.nil,topSchemaRef:w,errSchemaPath:r},g);e.mergeEvaluated(u),e.ok(g)}}};function Ao(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,X._)`${r.scopeValue("wrapper",{ref:t})}.validate`}pe.getValidate=Ao;function gt(e,t,r,i){const{gen:o,it:n}=e,{allErrors:a,schemaEnv:l,opts:d}=n,c=d.passContext?Fe.default.this:X.nil;i?f():h();function f(){if(!l.$async)throw new Error("async schema referenced by sync schema");const $=o.let("valid");o.try(()=>{o.code((0,X._)`await ${(0,Oi.callValidateCode)(e,t,c)}`),S(t),a||o.assign($,!0)},w=>{o.if((0,X._)`!(${w} instanceof ${n.ValidationError})`,()=>o.throw(w)),k(w),a||o.assign($,!1)}),e.ok($)}function h(){e.result((0,Oi.callValidateCode)(e,t,c),()=>S(t),()=>k(t))}function k($){const w=(0,X._)`${$}.errors`;o.assign(Fe.default.vErrors,(0,X._)`${Fe.default.vErrors} === null ? ${w} : ${Fe.default.vErrors}.concat(${w})`),o.assign(Fe.default.errors,(0,X._)`${Fe.default.vErrors}.length`)}function S($){var w;if(!n.opts.unevaluated)return;const g=(w=r==null?void 0:r.validate)===null||w===void 0?void 0:w.evaluated;if(n.props!==!0)if(g&&!g.dynamicProps)g.props!==void 0&&(n.props=dt.mergeEvaluated.props(o,g.props,n.props));else{const u=o.var("props",(0,X._)`${$}.evaluated.props`);n.props=dt.mergeEvaluated.props(o,u,n.props,X.Name)}if(n.items!==!0)if(g&&!g.dynamicItems)g.items!==void 0&&(n.items=dt.mergeEvaluated.items(o,g.items,n.items));else{const u=o.var("items",(0,X._)`${$}.evaluated.items`);n.items=dt.mergeEvaluated.items(o,u,n.items,X.Name)}}}pe.callRef=gt;pe.default=Cd;Object.defineProperty(Or,"__esModule",{value:!0});const Pd=Cr,_d=pe,Vd=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Pd.default,_d.default];Or.default=Vd;var Pr={},_r={};Object.defineProperty(_r,"__esModule",{value:!0});const wt=E,me=wt.operators,kt={maximum:{okStr:"<=",ok:me.LTE,fail:me.GT},minimum:{okStr:">=",ok:me.GTE,fail:me.LT},exclusiveMaximum:{okStr:"<",ok:me.LT,fail:me.GTE},exclusiveMinimum:{okStr:">",ok:me.GT,fail:me.LTE}},Dd={message:({keyword:e,schemaCode:t})=>(0,wt.str)`must be ${kt[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,wt._)`{comparison: ${kt[e].okStr}, limit: ${t}}`},Fd={keyword:Object.keys(kt),type:"number",schemaType:"number",$data:!0,error:Dd,code(e){const{keyword:t,data:r,schemaCode:i}=e;e.fail$data((0,wt._)`${r} ${kt[t].fail} ${i} || isNaN(${r})`)}};_r.default=Fd;var Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});const Xe=E,jd={message:({schemaCode:e})=>(0,Xe.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,Xe._)`{multipleOf: ${e}}`},Rd={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:jd,code(e){const{gen:t,data:r,schemaCode:i,it:o}=e,n=o.opts.multipleOfPrecision,a=t.let("res"),l=n?(0,Xe._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${n}`:(0,Xe._)`${a} !== parseInt(${a})`;e.fail$data((0,Xe._)`(${i} === 0 || (${a} = ${r}/${i}, ${l}))`)}};Vr.default=Rd;var Dr={},Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});function zo(e){const t=e.length;let r=0,i=0,o;for(;i<t;)r++,o=e.charCodeAt(i++),o>=55296&&o<=56319&&i<t&&(o=e.charCodeAt(i),(o&64512)===56320&&i++);return r}Fr.default=zo;zo.code='require("ajv/dist/runtime/ucs2length").default';Object.defineProperty(Dr,"__esModule",{value:!0});const we=E,Td=V,Id=Fr,Ed={message({keyword:e,schemaCode:t}){const r=e==="maxLength"?"more":"fewer";return(0,we.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,we._)`{limit: ${e}}`},Nd={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:Ed,code(e){const{keyword:t,data:r,schemaCode:i,it:o}=e,n=t==="maxLength"?we.operators.GT:we.operators.LT,a=o.opts.unicode===!1?(0,we._)`${r}.length`:(0,we._)`${(0,Td.useFunc)(e.gen,Id.default)}(${r})`;e.fail$data((0,we._)`${a} ${n} ${i}`)}};Dr.default=Nd;var jr={};Object.defineProperty(jr,"__esModule",{value:!0});const xd=x,Ad=V,Re=E,zd={message:({schemaCode:e})=>(0,Re.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Re._)`{pattern: ${e}}`},Md={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:zd,code(e){const{gen:t,data:r,$data:i,schema:o,schemaCode:n,it:a}=e,l=a.opts.unicodeRegExp?"u":"";if(i){const{regExp:d}=a.opts.code,c=d.code==="new RegExp"?(0,Re._)`new RegExp`:(0,Ad.useFunc)(t,d),f=t.let("valid");t.try(()=>t.assign(f,(0,Re._)`${c}(${n}, ${l}).test(${r})`),()=>t.assign(f,!1)),e.fail$data((0,Re._)`!${f}`)}else{const d=(0,xd.usePattern)(e,o);e.fail$data((0,Re._)`!${d}.test(${r})`)}}};jr.default=Md;var Rr={};Object.defineProperty(Rr,"__esModule",{value:!0});const Qe=E,Bd={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,Qe.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,Qe._)`{limit: ${e}}`},Ld={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Bd,code(e){const{keyword:t,data:r,schemaCode:i}=e,o=t==="maxProperties"?Qe.operators.GT:Qe.operators.LT;e.fail$data((0,Qe._)`Object.keys(${r}).length ${o} ${i}`)}};Rr.default=Ld;var Tr={};Object.defineProperty(Tr,"__esModule",{value:!0});const Ke=x,et=E,qd=V,Hd={message:({params:{missingProperty:e}})=>(0,et.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,et._)`{missingProperty: ${e}}`},Wd={keyword:"required",type:"object",schemaType:"array",$data:!0,error:Hd,code(e){const{gen:t,schema:r,schemaCode:i,data:o,$data:n,it:a}=e,{opts:l}=a;if(!n&&r.length===0)return;const d=r.length>=l.loopRequired;if(a.allErrors?c():f(),l.strictRequired){const S=e.parentSchema.properties,{definedProperties:$}=e.it;for(const w of r)if((S==null?void 0:S[w])===void 0&&!$.has(w)){const g=a.schemaEnv.baseId+a.errSchemaPath,u=`required property "${w}" is not defined at "${g}" (strictRequired)`;(0,qd.checkStrictMode)(a,u,a.opts.strictRequired)}}function c(){if(d||n)e.block$data(et.nil,h);else for(const S of r)(0,Ke.checkReportMissingProp)(e,S)}function f(){const S=t.let("missing");if(d||n){const $=t.let("valid",!0);e.block$data($,()=>k(S,$)),e.ok($)}else t.if((0,Ke.checkMissingProp)(e,r,S)),(0,Ke.reportMissingProp)(e,S),t.else()}function h(){t.forOf("prop",i,S=>{e.setParams({missingProperty:S}),t.if((0,Ke.noPropertyInData)(t,o,S,l.ownProperties),()=>e.error())})}function k(S,$){e.setParams({missingProperty:S}),t.forOf(S,i,()=>{t.assign($,(0,Ke.propertyInData)(t,o,S,l.ownProperties)),t.if((0,et.not)($),()=>{e.error(),t.break()})},et.nil)}}};Tr.default=Wd;var Ir={};Object.defineProperty(Ir,"__esModule",{value:!0});const tt=E,Ud={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,tt.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,tt._)`{limit: ${e}}`},Gd={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Ud,code(e){const{keyword:t,data:r,schemaCode:i}=e,o=t==="maxItems"?tt.operators.GT:tt.operators.LT;e.fail$data((0,tt._)`${r}.length ${o} ${i}`)}};Ir.default=Gd;var Er={},st={};Object.defineProperty(st,"__esModule",{value:!0});const Mo=no;Mo.code='require("ajv/dist/runtime/equal").default';st.default=Mo;Object.defineProperty(Er,"__esModule",{value:!0});const Xt=W,G=E,Kd=V,Jd=st,Yd={message:({params:{i:e,j:t}})=>(0,G.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,G._)`{i: ${e}, j: ${t}}`},Zd={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:Yd,code(e){const{gen:t,data:r,$data:i,schema:o,parentSchema:n,schemaCode:a,it:l}=e;if(!i&&!o)return;const d=t.let("valid"),c=n.items?(0,Xt.getSchemaTypes)(n.items):[];e.block$data(d,f,(0,G._)`${a} === false`),e.ok(d);function f(){const $=t.let("i",(0,G._)`${r}.length`),w=t.let("j");e.setParams({i:$,j:w}),t.assign(d,!0),t.if((0,G._)`${$} > 1`,()=>(h()?k:S)($,w))}function h(){return c.length>0&&!c.some($=>$==="object"||$==="array")}function k($,w){const g=t.name("item"),u=(0,Xt.checkDataTypes)(c,g,l.opts.strictNumbers,Xt.DataType.Wrong),b=t.const("indices",(0,G._)`{}`);t.for((0,G._)`;${$}--;`,()=>{t.let(g,(0,G._)`${r}[${$}]`),t.if(u,(0,G._)`continue`),c.length>1&&t.if((0,G._)`typeof ${g} == "string"`,(0,G._)`${g} += "_"`),t.if((0,G._)`typeof ${b}[${g}] == "number"`,()=>{t.assign(w,(0,G._)`${b}[${g}]`),e.error(),t.assign(d,!1).break()}).code((0,G._)`${b}[${g}] = ${$}`)})}function S($,w){const g=(0,Kd.useFunc)(t,Jd.default),u=t.name("outer");t.label(u).for((0,G._)`;${$}--;`,()=>t.for((0,G._)`${w} = ${$}; ${w}--;`,()=>t.if((0,G._)`${g}(${r}[${$}], ${r}[${w}])`,()=>{e.error(),t.assign(d,!1).break(u)})))}}};Er.default=Zd;var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0});const sr=E,Xd=V,Qd=st,ec={message:"must be equal to constant",params:({schemaCode:e})=>(0,sr._)`{allowedValue: ${e}}`},tc={keyword:"const",$data:!0,error:ec,code(e){const{gen:t,data:r,$data:i,schemaCode:o,schema:n}=e;i||n&&typeof n=="object"?e.fail$data((0,sr._)`!${(0,Xd.useFunc)(t,Qd.default)}(${r}, ${o})`):e.fail((0,sr._)`${n} !== ${r}`)}};Nr.default=tc;var xr={};Object.defineProperty(xr,"__esModule",{value:!0});const Ye=E,rc=V,ic=st,oc={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Ye._)`{allowedValues: ${e}}`},nc={keyword:"enum",schemaType:"array",$data:!0,error:oc,code(e){const{gen:t,data:r,$data:i,schema:o,schemaCode:n,it:a}=e;if(!i&&o.length===0)throw new Error("enum must have non-empty array");const l=o.length>=a.opts.loopEnum;let d;const c=()=>d??(d=(0,rc.useFunc)(t,ic.default));let f;if(l||i)f=t.let("valid"),e.block$data(f,h);else{if(!Array.isArray(o))throw new Error("ajv implementation error");const S=t.const("vSchema",n);f=(0,Ye.or)(...o.map(($,w)=>k(S,w)))}e.pass(f);function h(){t.assign(f,!1),t.forOf("v",n,S=>t.if((0,Ye._)`${c()}(${r}, ${S})`,()=>t.assign(f,!0).break()))}function k(S,$){const w=o[$];return typeof w=="object"&&w!==null?(0,Ye._)`${c()}(${r}, ${S}[${$}])`:(0,Ye._)`${r} === ${w}`}}};xr.default=nc;Object.defineProperty(Pr,"__esModule",{value:!0});const sc=_r,ac=Vr,lc=Dr,dc=jr,cc=Rr,pc=Tr,uc=Ir,fc=Er,hc=Nr,mc=xr,gc=[sc.default,ac.default,lc.default,dc.default,cc.default,pc.default,uc.default,fc.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},hc.default,mc.default];Pr.default=gc;var Ar={},Me={};Object.defineProperty(Me,"__esModule",{value:!0});Me.validateAdditionalItems=void 0;const ke=E,ar=V,yc={message:({params:{len:e}})=>(0,ke.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,ke._)`{limit: ${e}}`},bc={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:yc,code(e){const{parentSchema:t,it:r}=e,{items:i}=t;if(!Array.isArray(i)){(0,ar.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}Bo(e,i)}};function Bo(e,t){const{gen:r,schema:i,data:o,keyword:n,it:a}=e;a.items=!0;const l=r.const("len",(0,ke._)`${o}.length`);if(i===!1)e.setParams({len:t.length}),e.pass((0,ke._)`${l} <= ${t.length}`);else if(typeof i=="object"&&!(0,ar.alwaysValidSchema)(a,i)){const c=r.var("valid",(0,ke._)`${l} <= ${t.length}`);r.if((0,ke.not)(c),()=>d(c)),e.ok(c)}function d(c){r.forRange("i",t.length,l,f=>{e.subschema({keyword:n,dataProp:f,dataPropType:ar.Type.Num},c),a.allErrors||r.if((0,ke.not)(c),()=>r.break())})}}Me.validateAdditionalItems=Bo;Me.default=bc;var zr={},Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.validateTuple=void 0;const Pi=E,yt=V,$c=x,vc={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return Lo(e,"additionalItems",t);r.items=!0,!(0,yt.alwaysValidSchema)(r,t)&&e.ok((0,$c.validateArray)(e))}};function Lo(e,t,r=e.schema){const{gen:i,parentSchema:o,data:n,keyword:a,it:l}=e;f(o),l.opts.unevaluated&&r.length&&l.items!==!0&&(l.items=yt.mergeEvaluated.items(i,r.length,l.items));const d=i.name("valid"),c=i.const("len",(0,Pi._)`${n}.length`);r.forEach((h,k)=>{(0,yt.alwaysValidSchema)(l,h)||(i.if((0,Pi._)`${c} > ${k}`,()=>e.subschema({keyword:a,schemaProp:k,dataProp:k},d)),e.ok(d))});function f(h){const{opts:k,errSchemaPath:S}=l,$=r.length,w=$===h.minItems&&($===h.maxItems||h[t]===!1);if(k.strictTuples&&!w){const g=`"${a}" is ${$}-tuple, but minItems or maxItems/${t} are not specified or different at path "${S}"`;(0,yt.checkStrictMode)(l,g,k.strictTuples)}}}Be.validateTuple=Lo;Be.default=vc;Object.defineProperty(zr,"__esModule",{value:!0});const Sc=Be,wc={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,Sc.validateTuple)(e,"items")};zr.default=wc;var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});const _i=E,kc=V,Oc=x,Cc=Me,Pc={message:({params:{len:e}})=>(0,_i.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,_i._)`{limit: ${e}}`},_c={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:Pc,code(e){const{schema:t,parentSchema:r,it:i}=e,{prefixItems:o}=r;i.items=!0,!(0,kc.alwaysValidSchema)(i,t)&&(o?(0,Cc.validateAdditionalItems)(e,o):e.ok((0,Oc.validateArray)(e)))}};Mr.default=_c;var Br={};Object.defineProperty(Br,"__esModule",{value:!0});const ee=E,ct=V,Vc={message:({params:{min:e,max:t}})=>t===void 0?(0,ee.str)`must contain at least ${e} valid item(s)`:(0,ee.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,ee._)`{minContains: ${e}}`:(0,ee._)`{minContains: ${e}, maxContains: ${t}}`},Dc={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Vc,code(e){const{gen:t,schema:r,parentSchema:i,data:o,it:n}=e;let a,l;const{minContains:d,maxContains:c}=i;n.opts.next?(a=d===void 0?1:d,l=c):a=1;const f=t.const("len",(0,ee._)`${o}.length`);if(e.setParams({min:a,max:l}),l===void 0&&a===0){(0,ct.checkStrictMode)(n,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(l!==void 0&&a>l){(0,ct.checkStrictMode)(n,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,ct.alwaysValidSchema)(n,r)){let w=(0,ee._)`${f} >= ${a}`;l!==void 0&&(w=(0,ee._)`${w} && ${f} <= ${l}`),e.pass(w);return}n.items=!0;const h=t.name("valid");l===void 0&&a===1?S(h,()=>t.if(h,()=>t.break())):a===0?(t.let(h,!0),l!==void 0&&t.if((0,ee._)`${o}.length > 0`,k)):(t.let(h,!1),k()),e.result(h,()=>e.reset());function k(){const w=t.name("_valid"),g=t.let("count",0);S(w,()=>t.if(w,()=>$(g)))}function S(w,g){t.forRange("i",0,f,u=>{e.subschema({keyword:"contains",dataProp:u,dataPropType:ct.Type.Num,compositeRule:!0},w),g()})}function $(w){t.code((0,ee._)`${w}++`),l===void 0?t.if((0,ee._)`${w} >= ${a}`,()=>t.assign(h,!0).break()):(t.if((0,ee._)`${w} > ${l}`,()=>t.assign(h,!1).break()),a===1?t.assign(h,!0):t.if((0,ee._)`${w} >= ${a}`,()=>t.assign(h,!0)))}}};Br.default=Dc;var Ft={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=E,r=V,i=x;e.error={message:({params:{property:d,depsCount:c,deps:f}})=>{const h=c===1?"property":"properties";return(0,t.str)`must have ${h} ${f} when property ${d} is present`},params:({params:{property:d,depsCount:c,deps:f,missingProperty:h}})=>(0,t._)`{property: ${d},
6
6
  missingProperty: ${h},
7
7
  depsCount: ${c},
8
- deps: ${f}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[c,f]=n(d);a(d,c),l(d,f)}};function n({schema:d}){const c={},f={};for(const h in d){if(h==="__proto__")continue;const k=Array.isArray(d[h])?c:f;k[h]=d[h]}return[c,f]}function a(d,c=d.schema){const{gen:f,data:h,it:k}=d;if(Object.keys(c).length===0)return;const S=f.let("missing");for(const $ in c){const w=c[$];if(w.length===0)continue;const g=(0,i.propertyInData)(f,h,$,k.opts.ownProperties);d.setParams({property:$,depsCount:w.length,deps:w.join(", ")}),k.allErrors?f.if(g,()=>{for(const u of w)(0,i.checkReportMissingProp)(d,u)}):(f.if((0,t._)`${g} && (${(0,i.checkMissingProp)(d,w,S)})`),(0,i.reportMissingProp)(d,S),f.else())}}e.validatePropertyDeps=a;function l(d,c=d.schema){const{gen:f,data:h,keyword:k,it:S}=d,$=f.name("valid");for(const w in c)(0,r.alwaysValidSchema)(S,c[w])||(f.if((0,i.propertyInData)(f,h,w,S.opts.ownProperties),()=>{const g=d.subschema({keyword:k,schemaProp:w},$);d.mergeValidEvaluated(g,$)},()=>f.var($,!0)),d.ok($))}e.validateSchemaDeps=l,e.default=o})(Ft);var qr={};Object.defineProperty(qr,"__esModule",{value:!0});const Wo=E,_c=V,Vc={message:"property name must be valid",params:({params:e})=>(0,Wo._)`{propertyName: ${e.propertyName}}`},Fc={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Vc,code(e){const{gen:t,schema:r,data:i,it:o}=e;if((0,_c.alwaysValidSchema)(o,r))return;const n=t.name("valid");t.forIn("key",i,a=>{e.setParams({propertyName:a}),e.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},n),t.if((0,Wo.not)(n),()=>{e.error(!0),o.allErrors||t.break()})}),e.ok(n)}};qr.default=Fc;var Dt={};Object.defineProperty(Dt,"__esModule",{value:!0});const pt=x,re=E,Dc=Q,ut=V,jc={message:"must NOT have additional properties",params:({params:e})=>(0,re._)`{additionalProperty: ${e.additionalProperty}}`},Rc={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:jc,code(e){const{gen:t,schema:r,parentSchema:i,data:o,errsCount:n,it:a}=e;if(!n)throw new Error("ajv implementation error");const{allErrors:l,opts:d}=a;if(a.props=!0,d.removeAdditional!=="all"&&(0,ut.alwaysValidSchema)(a,r))return;const c=(0,pt.allSchemaProperties)(i.properties),f=(0,pt.allSchemaProperties)(i.patternProperties);h(),e.ok((0,re._)`${n} === ${Dc.default.errors}`);function h(){t.forIn("key",o,g=>{!c.length&&!f.length?$(g):t.if(k(g),()=>$(g))})}function k(g){let u;if(c.length>8){const b=(0,ut.schemaRefOrVal)(a,i.properties,"properties");u=(0,pt.isOwnProperty)(t,b,g)}else c.length?u=(0,re.or)(...c.map(b=>(0,re._)`${g} === ${b}`)):u=re.nil;return f.length&&(u=(0,re.or)(u,...f.map(b=>(0,re._)`${(0,pt.usePattern)(e,b)}.test(${g})`))),(0,re.not)(u)}function S(g){t.code((0,re._)`delete ${o}[${g}]`)}function $(g){if(d.removeAdditional==="all"||d.removeAdditional&&r===!1){S(g);return}if(r===!1){e.setParams({additionalProperty:g}),e.error(),l||t.break();return}if(typeof r=="object"&&!(0,ut.alwaysValidSchema)(a,r)){const u=t.name("valid");d.removeAdditional==="failing"?(w(g,u,!1),t.if((0,re.not)(u),()=>{e.reset(),S(g)})):(w(g,u),l||t.if((0,re.not)(u),()=>t.break()))}}function w(g,u,b){const C={keyword:"additionalProperties",dataProp:g,dataPropType:ut.Type.Str};b===!1&&Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(C,u)}}};Dt.default=Rc;var Hr={};Object.defineProperty(Hr,"__esModule",{value:!0});const Tc=oe,Fi=x,Xt=V,Di=Dt,Ic={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:o,it:n}=e;n.opts.removeAdditional==="all"&&i.additionalProperties===void 0&&Di.default.code(new Tc.KeywordCxt(n,Di.default,"additionalProperties"));const a=(0,Fi.allSchemaProperties)(r);for(const h of a)n.definedProperties.add(h);n.opts.unevaluated&&a.length&&n.props!==!0&&(n.props=Xt.mergeEvaluated.props(t,(0,Xt.toHash)(a),n.props));const l=a.filter(h=>!(0,Xt.alwaysValidSchema)(n,r[h]));if(l.length===0)return;const d=t.name("valid");for(const h of l)c(h)?f(h):(t.if((0,Fi.propertyInData)(t,o,h,n.opts.ownProperties)),f(h),n.allErrors||t.else().var(d,!0),t.endIf()),e.it.definedProperties.add(h),e.ok(d);function c(h){return n.opts.useDefaults&&!n.compositeRule&&r[h].default!==void 0}function f(h){e.subschema({keyword:"properties",schemaProp:h,dataProp:h},d)}}};Hr.default=Ic;var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});const ji=x,ft=E,Ri=V,Ti=V,Ec={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:o,it:n}=e,{opts:a}=n,l=(0,ji.allSchemaProperties)(r),d=l.filter(w=>(0,Ri.alwaysValidSchema)(n,r[w]));if(l.length===0||d.length===l.length&&(!n.opts.unevaluated||n.props===!0))return;const c=a.strictSchema&&!a.allowMatchingProperties&&o.properties,f=t.name("valid");n.props!==!0&&!(n.props instanceof ft.Name)&&(n.props=(0,Ti.evaluatedPropsToName)(t,n.props));const{props:h}=n;k();function k(){for(const w of l)c&&S(w),n.allErrors?$(w):(t.var(f,!0),$(w),t.if(f))}function S(w){for(const g in c)new RegExp(w).test(g)&&(0,Ri.checkStrictMode)(n,`property ${g} matches pattern ${w} (use allowMatchingProperties)`)}function $(w){t.forIn("key",i,g=>{t.if((0,ft._)`${(0,ji.usePattern)(e,w)}.test(${g})`,()=>{const u=d.includes(w);u||e.subschema({keyword:"patternProperties",schemaProp:w,dataProp:g,dataPropType:Ti.Type.Str},f),n.opts.unevaluated&&h!==!0?t.assign((0,ft._)`${h}[${g}]`,!0):!u&&!n.allErrors&&t.if((0,ft.not)(f),()=>t.break())})})}}};Wr.default=Ec;var Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});const Nc=V,xc={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:i}=e;if((0,Nc.alwaysValidSchema)(i,r)){e.fail();return}const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};Ur.default=xc;var Gr={};Object.defineProperty(Gr,"__esModule",{value:!0});const Ac=x,zc={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ac.validateUnion,error:{message:"must match a schema in anyOf"}};Gr.default=zc;var Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});const bt=E,Mc=V,Bc={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,bt._)`{passingSchemas: ${e.passing}}`},Lc={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Bc,code(e){const{gen:t,schema:r,parentSchema:i,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&i.discriminator)return;const n=r,a=t.let("valid",!1),l=t.let("passing",null),d=t.name("_valid");e.setParams({passing:l}),t.block(c),e.result(a,()=>e.reset(),()=>e.error(!0));function c(){n.forEach((f,h)=>{let k;(0,Mc.alwaysValidSchema)(o,f)?t.var(d,!0):k=e.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},d),h>0&&t.if((0,bt._)`${d} && ${a}`).assign(a,!1).assign(l,(0,bt._)`[${l}, ${h}]`).else(),t.if(d,()=>{t.assign(a,!0),t.assign(l,h),k&&e.mergeEvaluated(k,bt.Name)})})}}};Kr.default=Lc;var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0});const qc=V,Hc={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const o=t.name("valid");r.forEach((n,a)=>{if((0,qc.alwaysValidSchema)(i,n))return;const l=e.subschema({keyword:"allOf",schemaProp:a},o);e.ok(o),e.mergeEvaluated(l)})}};Jr.default=Hc;var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});const Ot=E,Uo=V,Wc={message:({params:e})=>(0,Ot.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Ot._)`{failingKeyword: ${e.ifClause}}`},Uc={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Wc,code(e){const{gen:t,parentSchema:r,it:i}=e;r.then===void 0&&r.else===void 0&&(0,Uo.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const o=Ii(i,"then"),n=Ii(i,"else");if(!o&&!n)return;const a=t.let("valid",!0),l=t.name("_valid");if(d(),e.reset(),o&&n){const f=t.let("ifClause");e.setParams({ifClause:f}),t.if(l,c("then",f),c("else",f))}else o?t.if(l,c("then")):t.if((0,Ot.not)(l),c("else"));e.pass(a,()=>e.error(!0));function d(){const f=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(f)}function c(f,h){return()=>{const k=e.subschema({keyword:f},l);t.assign(a,l),e.mergeValidEvaluated(k,a),h?t.assign(h,(0,Ot._)`${f}`):e.setParams({ifClause:f})}}}};function Ii(e,t){const r=e.schema[t];return r!==void 0&&!(0,Uo.alwaysValidSchema)(e,r)}Yr.default=Uc;var Zr={};Object.defineProperty(Zr,"__esModule",{value:!0});const Gc=V,Kc={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,Gc.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};Zr.default=Kc;Object.defineProperty(zr,"__esModule",{value:!0});const Jc=Me,Yc=Mr,Zc=Be,Xc=Br,Qc=Lr,ep=Ft,tp=qr,rp=Dt,ip=Hr,op=Wr,np=Ur,sp=Gr,ap=Kr,lp=Jr,dp=Yr,cp=Zr;function pp(e=!1){const t=[np.default,sp.default,ap.default,lp.default,dp.default,cp.default,tp.default,rp.default,ep.default,ip.default,op.default];return e?t.push(Yc.default,Xc.default):t.push(Jc.default,Zc.default),t.push(Qc.default),t}zr.default=pp;var Xr={},Le={};Object.defineProperty(Le,"__esModule",{value:!0});Le.dynamicAnchor=void 0;const Qt=E,up=Q,Ei=Z,fp=pe,hp={keyword:"$dynamicAnchor",schemaType:"string",code:e=>Go(e,e.schema)};function Go(e,t){const{gen:r,it:i}=e;i.schemaEnv.root.dynamicAnchors[t]=!0;const o=(0,Qt._)`${up.default.dynamicAnchors}${(0,Qt.getProperty)(t)}`,n=i.errSchemaPath==="#"?i.validateName:mp(e);r.if((0,Qt._)`!${o}`,()=>r.assign(o,n))}Le.dynamicAnchor=Go;function mp(e){const{schemaEnv:t,schema:r,self:i}=e.it,{root:o,baseId:n,localRefs:a,meta:l}=t.root,{schemaId:d}=i.opts,c=new Ei.SchemaEnv({schema:r,schemaId:d,root:o,baseId:n,localRefs:a,meta:l});return Ei.compileSchema.call(i,c),(0,fp.getValidate)(e,c)}Le.default=hp;var qe={};Object.defineProperty(qe,"__esModule",{value:!0});qe.dynamicRef=void 0;const Ni=E,gp=Q,xi=pe,yp={keyword:"$dynamicRef",schemaType:"string",code:e=>Ko(e,e.schema)};function Ko(e,t){const{gen:r,keyword:i,it:o}=e;if(t[0]!=="#")throw new Error(`"${i}" only supports hash fragment reference`);const n=t.slice(1);if(o.allErrors)a();else{const d=r.let("valid",!1);a(d),e.ok(d)}function a(d){if(o.schemaEnv.root.dynamicAnchors[n]){const c=r.let("_v",(0,Ni._)`${gp.default.dynamicAnchors}${(0,Ni.getProperty)(n)}`);r.if(c,l(c,d),l(o.validateName,d))}else l(o.validateName,d)()}function l(d,c){return c?()=>r.block(()=>{(0,xi.callRef)(e,d),r.let(c,!0)}):()=>(0,xi.callRef)(e,d)}}qe.dynamicRef=Ko;qe.default=yp;var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});const bp=Le,$p=V,vp={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,bp.dynamicAnchor)(e,""):(0,$p.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};Qr.default=vp;var ei={};Object.defineProperty(ei,"__esModule",{value:!0});const Sp=qe,wp={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,Sp.dynamicRef)(e,e.schema)};ei.default=wp;Object.defineProperty(Xr,"__esModule",{value:!0});const kp=Le,Op=qe,Cp=Qr,Pp=ei,_p=[kp.default,Op.default,Cp.default,Pp.default];Xr.default=_p;var ti={},ri={};Object.defineProperty(ri,"__esModule",{value:!0});const Ai=Ft,Vp={keyword:"dependentRequired",type:"object",schemaType:"object",error:Ai.error,code:e=>(0,Ai.validatePropertyDeps)(e)};ri.default=Vp;var ii={};Object.defineProperty(ii,"__esModule",{value:!0});const Fp=Ft,Dp={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,Fp.validateSchemaDeps)(e)};ii.default=Dp;var oi={};Object.defineProperty(oi,"__esModule",{value:!0});const jp=V,Rp={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){t.contains===void 0&&(0,jp.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}};oi.default=Rp;Object.defineProperty(ti,"__esModule",{value:!0});const Tp=ri,Ip=ii,Ep=oi,Np=[Tp.default,Ip.default,Ep.default];ti.default=Np;var ni={},si={};Object.defineProperty(si,"__esModule",{value:!0});const ge=E,zi=V,xp=Q,Ap={message:"must NOT have unevaluated properties",params:({params:e})=>(0,ge._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},zp={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:Ap,code(e){const{gen:t,schema:r,data:i,errsCount:o,it:n}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:a,props:l}=n;l instanceof ge.Name?t.if((0,ge._)`${l} !== true`,()=>t.forIn("key",i,h=>t.if(c(l,h),()=>d(h)))):l!==!0&&t.forIn("key",i,h=>l===void 0?d(h):t.if(f(l,h),()=>d(h))),n.props=!0,e.ok((0,ge._)`${o} === ${xp.default.errors}`);function d(h){if(r===!1){e.setParams({unevaluatedProperty:h}),e.error(),a||t.break();return}if(!(0,zi.alwaysValidSchema)(n,r)){const k=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:h,dataPropType:zi.Type.Str},k),a||t.if((0,ge.not)(k),()=>t.break())}}function c(h,k){return(0,ge._)`!${h} || !${h}[${k}]`}function f(h,k){const S=[];for(const $ in h)h[$]===!0&&S.push((0,ge._)`${k} !== ${$}`);return(0,ge.and)(...S)}}};si.default=zp;var ai={};Object.defineProperty(ai,"__esModule",{value:!0});const Oe=E,Mi=V,Mp={message:({params:{len:e}})=>(0,Oe.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Oe._)`{limit: ${e}}`},Bp={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:Mp,code(e){const{gen:t,schema:r,data:i,it:o}=e,n=o.items||0;if(n===!0)return;const a=t.const("len",(0,Oe._)`${i}.length`);if(r===!1)e.setParams({len:n}),e.fail((0,Oe._)`${a} > ${n}`);else if(typeof r=="object"&&!(0,Mi.alwaysValidSchema)(o,r)){const d=t.var("valid",(0,Oe._)`${a} <= ${n}`);t.if((0,Oe.not)(d),()=>l(d,n)),e.ok(d)}o.items=!0;function l(d,c){t.forRange("i",c,a,f=>{e.subschema({keyword:"unevaluatedItems",dataProp:f,dataPropType:Mi.Type.Num},d),o.allErrors||t.if((0,Oe.not)(d),()=>t.break())})}}};ai.default=Bp;Object.defineProperty(ni,"__esModule",{value:!0});const Lp=si,qp=ai,Hp=[Lp.default,qp.default];ni.default=Hp;var li={},di={};Object.defineProperty(di,"__esModule",{value:!0});const q=E,Wp={message:({schemaCode:e})=>(0,q.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,q._)`{format: ${e}}`},Up={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Wp,code(e,t){const{gen:r,data:i,$data:o,schema:n,schemaCode:a,it:l}=e,{opts:d,errSchemaPath:c,schemaEnv:f,self:h}=l;if(!d.validateFormats)return;o?k():S();function k(){const $=r.scopeValue("formats",{ref:h.formats,code:d.code.formats}),w=r.const("fDef",(0,q._)`${$}[${a}]`),g=r.let("fType"),u=r.let("format");r.if((0,q._)`typeof ${w} == "object" && !(${w} instanceof RegExp)`,()=>r.assign(g,(0,q._)`${w}.type || "string"`).assign(u,(0,q._)`${w}.validate`),()=>r.assign(g,(0,q._)`"string"`).assign(u,w)),e.fail$data((0,q.or)(b(),C()));function b(){return d.strictSchema===!1?q.nil:(0,q._)`${a} && !${u}`}function C(){const F=f.$async?(0,q._)`(${w}.async ? await ${u}(${i}) : ${u}(${i}))`:(0,q._)`${u}(${i})`,D=(0,q._)`(typeof ${u} == "function" ? ${F} : ${u}.test(${i}))`;return(0,q._)`${u} && ${u} !== true && ${g} === ${t} && !${D}`}}function S(){const $=h.formats[n];if(!$){b();return}if($===!0)return;const[w,g,u]=C($);w===t&&e.pass(F());function b(){if(d.strictSchema===!1){h.logger.warn(D());return}throw new Error(D());function D(){return`unknown format "${n}" ignored in schema at path "${c}"`}}function C(D){const B=D instanceof RegExp?(0,q.regexpCode)(D):d.code.formats?(0,q._)`${d.code.formats}${(0,q.getProperty)(n)}`:void 0,H=r.scopeValue("formats",{key:n,ref:D,code:B});return typeof D=="object"&&!(D instanceof RegExp)?[D.type||"string",D.validate,(0,q._)`${H}.validate`]:["string",D,H]}function F(){if(typeof $=="object"&&!($ instanceof RegExp)&&$.async){if(!f.$async)throw new Error("async format in sync schema");return(0,q._)`await ${u}(${i})`}return typeof g=="function"?(0,q._)`${u}(${i})`:(0,q._)`${u}.test(${i})`}}}};di.default=Up;Object.defineProperty(li,"__esModule",{value:!0});const Gp=di,Kp=[Gp.default];li.default=Kp;var Ae={};Object.defineProperty(Ae,"__esModule",{value:!0});Ae.contentVocabulary=Ae.metadataVocabulary=void 0;Ae.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Ae.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(Or,"__esModule",{value:!0});const Jp=Cr,Yp=_r,Zp=zr,Xp=Xr,Qp=ti,eu=ni,tu=li,Bi=Ae,ru=[Xp.default,Jp.default,Yp.default,(0,Zp.default)(!0),tu.default,Bi.metadataVocabulary,Bi.contentVocabulary,Qp.default,eu.default];Or.default=ru;var ci={},jt={};Object.defineProperty(jt,"__esModule",{value:!0});jt.DiscrError=void 0;var Li;(function(e){e.Tag="tag",e.Mapping="mapping"})(Li||(jt.DiscrError=Li={}));Object.defineProperty(ci,"__esModule",{value:!0});const je=E,ar=jt,qi=Z,iu=ze,ou=V,nu={message:({params:{discrError:e,tagName:t}})=>e===ar.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,je._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},su={keyword:"discriminator",type:"object",schemaType:"object",error:nu,code(e){const{gen:t,data:r,schema:i,parentSchema:o,it:n}=e,{oneOf:a}=o;if(!n.opts.discriminator)throw new Error("discriminator: requires discriminator option");const l=i.propertyName;if(typeof l!="string")throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),c=t.const("tag",(0,je._)`${r}${(0,je.getProperty)(l)}`);t.if((0,je._)`typeof ${c} == "string"`,()=>f(),()=>e.error(!1,{discrError:ar.DiscrError.Tag,tag:c,tagName:l})),e.ok(d);function f(){const S=k();t.if(!1);for(const $ in S)t.elseIf((0,je._)`${c} === ${$}`),t.assign(d,h(S[$]));t.else(),e.error(!1,{discrError:ar.DiscrError.Mapping,tag:c,tagName:l}),t.endIf()}function h(S){const $=t.name("valid"),w=e.subschema({keyword:"oneOf",schemaProp:S},$);return e.mergeEvaluated(w,je.Name),$}function k(){var S;const $={},w=u(o);let g=!0;for(let F=0;F<a.length;F++){let D=a[F];if(D!=null&&D.$ref&&!(0,ou.schemaHasRulesButRef)(D,n.self.RULES)){const H=D.$ref;if(D=qi.resolveRef.call(n.self,n.schemaEnv.root,n.baseId,H),D instanceof qi.SchemaEnv&&(D=D.schema),D===void 0)throw new iu.default(n.opts.uriResolver,n.baseId,H)}const B=(S=D==null?void 0:D.properties)===null||S===void 0?void 0:S[l];if(typeof B!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${l}"`);g=g&&(w||u(D)),b(B,F)}if(!g)throw new Error(`discriminator: "${l}" must be required`);return $;function u({required:F}){return Array.isArray(F)&&F.includes(l)}function b(F,D){if(F.const)C(F.const,D);else if(F.enum)for(const B of F.enum)C(B,D);else throw new Error(`discriminator: "properties/${l}" must have "const" or "enum"`)}function C(F,D){if(typeof F!="string"||F in $)throw new Error(`discriminator: "${l}" values must be unique strings`);$[F]=D}}}};ci.default=su;var pi={};const au="https://json-schema.org/draft/2020-12/schema",lu="https://json-schema.org/draft/2020-12/schema",du={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},cu="meta",pu="Core and Validation specifications meta-schema",uu=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],fu=["object","boolean"],hu="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",mu={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},gu={$schema:au,$id:lu,$vocabulary:du,$dynamicAnchor:cu,title:pu,allOf:uu,type:fu,$comment:hu,properties:mu},yu="https://json-schema.org/draft/2020-12/schema",bu="https://json-schema.org/draft/2020-12/meta/applicator",$u={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},vu="meta",Su="Applicator vocabulary meta-schema",wu=["object","boolean"],ku={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},Ou={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},Cu={$schema:yu,$id:bu,$vocabulary:$u,$dynamicAnchor:vu,title:Su,type:wu,properties:ku,$defs:Ou},Pu="https://json-schema.org/draft/2020-12/schema",_u="https://json-schema.org/draft/2020-12/meta/unevaluated",Vu={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},Fu="meta",Du="Unevaluated applicator vocabulary meta-schema",ju=["object","boolean"],Ru={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Tu={$schema:Pu,$id:_u,$vocabulary:Vu,$dynamicAnchor:Fu,title:Du,type:ju,properties:Ru},Iu="https://json-schema.org/draft/2020-12/schema",Eu="https://json-schema.org/draft/2020-12/meta/content",Nu={"https://json-schema.org/draft/2020-12/vocab/content":!0},xu="meta",Au="Content vocabulary meta-schema",zu=["object","boolean"],Mu={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},Bu={$schema:Iu,$id:Eu,$vocabulary:Nu,$dynamicAnchor:xu,title:Au,type:zu,properties:Mu},Lu="https://json-schema.org/draft/2020-12/schema",qu="https://json-schema.org/draft/2020-12/meta/core",Hu={"https://json-schema.org/draft/2020-12/vocab/core":!0},Wu="meta",Uu="Core vocabulary meta-schema",Gu=["object","boolean"],Ku={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},Ju={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},Yu={$schema:Lu,$id:qu,$vocabulary:Hu,$dynamicAnchor:Wu,title:Uu,type:Gu,properties:Ku,$defs:Ju},Zu="https://json-schema.org/draft/2020-12/schema",Xu="https://json-schema.org/draft/2020-12/meta/format-annotation",Qu={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},ef="meta",tf="Format vocabulary meta-schema for annotation results",rf=["object","boolean"],of={format:{type:"string"}},nf={$schema:Zu,$id:Xu,$vocabulary:Qu,$dynamicAnchor:ef,title:tf,type:rf,properties:of},sf="https://json-schema.org/draft/2020-12/schema",af="https://json-schema.org/draft/2020-12/meta/meta-data",lf={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},df="meta",cf="Meta-data vocabulary meta-schema",pf=["object","boolean"],uf={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},ff={$schema:sf,$id:af,$vocabulary:lf,$dynamicAnchor:df,title:cf,type:pf,properties:uf},hf="https://json-schema.org/draft/2020-12/schema",mf="https://json-schema.org/draft/2020-12/meta/validation",gf={"https://json-schema.org/draft/2020-12/vocab/validation":!0},yf="meta",bf="Validation vocabulary meta-schema",$f=["object","boolean"],vf={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},Sf={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},wf={$schema:hf,$id:mf,$vocabulary:gf,$dynamicAnchor:yf,title:bf,type:$f,properties:vf,$defs:Sf};Object.defineProperty(pi,"__esModule",{value:!0});const kf=gu,Of=Cu,Cf=Tu,Pf=Bu,_f=Yu,Vf=nf,Ff=ff,Df=wf,jf=["/properties"];function Rf(e){return[kf,Of,Cf,Pf,_f,t(this,Vf),Ff,t(this,Df)].forEach(r=>this.addMetaSchema(r,void 0,!1)),this;function t(r,i){return e?r.$dataMetaSchema(i,jf):i}}pi.default=Rf;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const r=Wi,i=Or,o=ci,n=pi,a="https://json-schema.org/draft/2020-12/schema";class l extends r.default{constructor(S={}){super({...S,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),i.default.forEach(S=>this.addVocabulary(S)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:S,meta:$}=this.opts;$&&(n.default.call(this,S),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv2020=l,e.exports=t=l,e.exports.Ajv2020=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var d=oe;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var c=E;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return c._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return c.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return c.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return c.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return c.CodeGen}});var f=nt;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var h=ze;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})})(er,er.exports);var Tf=er.exports;const Jo="custom-apps",Yo="1.4.0",Ee={ActionCard:{description:"Card with icon asset, title, caption, and action buttons",events:["primaryAction","secondaryAction"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{asset:{additionalProperties:!1,description:"Asset displayed on the action card",properties:{iconType:{description:"Pebble icon name to use as the card asset",type:"string"},size:{description:"Size of the asset. Default: medium",enum:["small","medium","large"],type:"string"}},type:"object"},caption:{description:"Caption text for the action card",type:"string"},primaryAction:{additionalProperties:!1,description:'Primary action button. Press emits "primaryAction".',properties:{title:{description:"Primary action button label",type:"string"}},required:["title"],type:"object"},secondaryAction:{additionalProperties:!1,description:'Secondary action button. Press emits "secondaryAction".',properties:{title:{description:"Secondary action button label",type:"string"}},required:["title"],type:"object"},testID:{description:"Sets testid on ActionCard (used for testing purposes)",type:"string"},title:{description:"Title for the action card",type:"string"}},required:["title","caption","asset"],type:"object"},acceptsChildren:!1},Anchor:{description:"Inline text link that opens supported URLs",events:["press","open","error"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{children:{description:"Text content shown as the link",type:"string"},href:{description:"URL to open. Supports http, https, mailto, tel, and sms schemes.",type:"string"},testID:{description:"Sets testid on Anchor (used for testing purposes)",type:"string"}},required:["href","children"],type:"object"},acceptsChildren:!1},Avatar:{description:"Circular avatar showing a photo, icon, or initials",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{contentFit:{$ref:"#/$defs/ContentFitValue",description:"How the avatar image scales within its bounds"},recyclingKey:{description:"Sets the image view to blank before loading the final image — prevents showing the previous image during recycling",type:"string"},size:{$ref:"#/$defs/AvatarSizeValue",description:"Size of the avatar. Default: medium"},source:{anyOf:[{$ref:"#/$defs/IconValue",description:'Pebble icon name (e.g. "check", "close", "arrow_right_filled")'},{anyOf:[{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:'Image source — a URI string (e.g. "https://example.com/img.png") or a structured source object ({ uri, width?, height?, headers? })'},{additionalProperties:!1,description:"Themed image source — different URIs for light and dark color schemes",properties:{dark:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in dark color scheme"},light:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in light color scheme"}},required:["light","dark"],type:"object"}],description:'Image source. Plain URI: "https://example.com/img.png". Structured: { uri: "https://…", width: 200, height: 100 }. Themed: { light: "https://…/light.png", dark: "https://…/dark.png" }.'}],description:"Remote photo URL or Pebble icon name to render as the avatar image"},testID:{description:"Sets testid on Avatar (used for testing purposes)",type:"string"},title:{description:'Initials or short text shown when no source is provided (e.g. "JD" for John Doe)',type:"string"}},type:"object"},acceptsChildren:!1},AvatarStack:{description:"Overlapping row of circular avatars",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{avatars:{description:"Array of avatar definitions to stack: [{ source?, title? }]",items:{additionalProperties:!1,properties:{recyclingKey:{description:"Key to prevent showing previous image during recycling",type:"string"},source:{anyOf:[{$ref:"#/$defs/IconValue",description:'Pebble icon name (e.g. "check", "close", "arrow_right_filled")'},{anyOf:[{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:'Image source — a URI string (e.g. "https://example.com/img.png") or a structured source object ({ uri, width?, height?, headers? })'},{additionalProperties:!1,description:"Themed image source — different URIs for light and dark color schemes",properties:{dark:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in dark color scheme"},light:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in light color scheme"}},required:["light","dark"],type:"object"}],description:'Image source. Plain URI: "https://example.com/img.png". Structured: { uri: "https://…", width: 200, height: 100 }. Themed: { light: "https://…/light.png", dark: "https://…/dark.png" }.'}],description:"Remote photo URL or Pebble icon name for this avatar"},title:{description:"Initials or short text shown when no source is provided",type:"string"}},type:"object"},type:"array"},size:{$ref:"#/$defs/AvatarSizeValue",description:"Size applied to all avatars in the stack. Default: medium"}},required:["avatars"],type:"object"},acceptsChildren:!1},Badge:{description:"Small status label with colored appearance",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Badge appearance. Default: primary",enum:["primary","secondary","tertiary","success","error","warning","inverse","dim"],type:"string"},label:{description:"Text content to appear in badge",type:"string"},testID:{description:"Sets testid on Badge (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},Button:{description:"Tappable button with label and configurable appearance",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{$ref:"#/$defs/AppearanceValue",description:"Button appearance. Default: primary"},children:{description:"Button label text",type:"string"},disabled:{description:"Disables the button. Default: false",type:"boolean"},fluid:{description:"If true, button stretches to full available width",type:"boolean"},haptic:{description:"Enables haptic feedback on press. Default: true for base/pill/small variants, false for text variant",type:"boolean"},leftIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the left of the button"},outlined:{description:"Shows button with outline border style",type:"boolean"},rightIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the right of the button"},spinner:{description:"Shows a loading spinner. Bind to state for async feedback. Default: false",type:"boolean"},style:{additionalProperties:!1,description:'Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Button (used for testing purposes)",type:"string"},variant:{$ref:"#/$defs/VariantValue",description:"Button variant. Default: base"}},type:"object"},acceptsChildren:!1},Card:{description:"Elevated container card, optionally tappable",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Disables press interaction on the card. Default: false",type:"boolean"},outline:{description:"Adds an outline border to the card. Default: false",type:"boolean"},shadow:{description:"Shadow effect on the card. Default: none",enum:["none","default"],type:"string"},testID:{description:"Sets testid on Card (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!0},Checkbox:{description:"Single checkbox toggle with label and optional validation",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{boxView:{description:"Renders checkbox in box/card view style. Default: false",type:"boolean"},caption:{description:"Caption/description shown below the label",type:"string"},captionNumberOfLines:{description:"Max lines for the caption text. Default: 1",type:"number"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode. Default: false",type:"boolean"},disabled:{description:"Disables the checkbox. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message"},haptic:{description:"Enables haptic feedback on toggle. Default: true",type:"boolean"},helperText:{description:"Help text shown below the checkbox",type:"string"},indeterminate:{description:"Sets the checkbox to an indeterminate state. Default: false",type:"boolean"},label:{description:"Label text shown beside the checkbox",type:"string"},labelNumberOfLines:{description:"Max lines for the label (alias). Default: 1",type:"number"},readOnly:{description:"Makes the checkbox non-interactive (display only). Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},tag:{description:"Tag text shown above the label",type:"string"},testID:{description:"Sets testid on Checkbox (used for testing purposes)",type:"string"},titleNumberOfLines:{description:"Max lines for the label text. Default: 1",type:"number"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Controlled checked state — bind to state with $bindState",type:"boolean"}},type:"object"},acceptsChildren:!1},CheckboxGroup:{description:"Group of checkboxes allowing multiple selections",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial selected ids for uncontrolled mode",items:{type:"string"},type:"array"},disabled:{description:"Disables all options. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message shown below the group"},helperText:{description:"Help text shown below the group",type:"string"},options:{description:"Array of checkbox options: [{ id, label?, tag?, disabled? }]",items:{additionalProperties:!1,properties:{disabled:{description:"Disables this individual option",type:"boolean"},error:{description:"Marks this option in error state",type:"boolean"},id:{description:"Unique identifier for this option",type:"string"},label:{description:"Label text for this option",type:"string"},tag:{description:"Tag text shown above the label",type:"string"}},required:["id"],type:"object"},type:"array"},testID:{description:"Sets testid on CheckboxGroup (used for testing purposes)",type:"string"},value:{description:"Array of selected option ids — bind to state with $bindState",items:{type:"string"},type:"array"}},required:["options"],type:"object"},acceptsChildren:!1},Chip:{description:"Compact tag chip with optional dismiss button",events:["press","close"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{children:{description:"Text content shown on the chip",type:"string"},disabled:{description:"Disables the chip. Default: false",type:"boolean"},error:{description:"Displays chip in error state. Default: false",type:"boolean"},testID:{description:"Sets testid on Chip (used for testing purposes)",type:"string"}},required:["children"],type:"object"},acceptsChildren:!1},CondensedFooter:{description:"Condensed footer with title, logo icon, and optional action button",events:["action"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{action:{additionalProperties:!1,description:'Optional action button. Press emits "action".',properties:{title:{description:"Action button label",type:"string"}},required:["title"],type:"object"},logoIcon:{description:"Pebble icon name to use as the logo",type:"string"},testID:{description:"Sets testid on CondensedFooter (used for testing purposes)",type:"string"},title:{description:"Title text in the footer",type:"string"}},required:["title"],type:"object"},acceptsChildren:!1},CondensedHeader:{description:"Condensed page header with title",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{outlined:{description:"Shows an outline border on the header. Default: false",type:"boolean"},right:{additionalProperties:!1,description:"A json-render spec to render as the right element on the header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},testID:{description:"Sets testid on CondensedHeader (used for testing purposes)",type:"string"},title:{description:"Title to show on the header",type:"string"}},required:["title"],type:"object"},acceptsChildren:!1},Country:{description:"Country flag icon for a given ISO region code",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Displays the country flag in a disabled state. Default: false",type:"boolean"},region:{description:'ISO 3166-1 alpha-2 country code to display (e.g. "US", "IN"). Default: US',type:"string"}},type:"object"},acceptsChildren:!1},Currency:{description:"Currency input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},acceptsCurrencyType:{description:"If true, allows currency type selection. Default: false",type:"boolean"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},decimalPlaces:{description:"Number of decimal places allowed",type:"number"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputCurrency (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current currency string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Date:{description:"Date picker input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{acceptsTime:{description:"If true, also shows a time input. Default: false",type:"boolean"},clearable:{description:"Shows a clear button to reset the value. Default: false",type:"boolean"},defaultValue:{description:"Default ISO date string for uncontrolled mode",type:"string"},disabled:{description:"Disables the date input. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message"},format:{description:'Date format string e.g. "YYYY-MM-DD". Default: ISO string',type:"string"},helperText:{description:"Help text shown below the date input",type:"string"},label:{description:"Label shown above the date input",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Masks date value. Default: false",type:"boolean"},testID:{description:"Sets testid on Date (used for testing purposes)",type:"string"},value:{description:"ISO date string — bind to state with $bindState",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},DateRange:{description:"Date range picker with start and end date inputs",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{alignment:{$ref:"#/$defs/AlignmentValue",description:"Layout alignment of the two date fields. Default: row"},clearable:{description:"Shows a clear button to reset both dates. Default: false",type:"boolean"},defaultValue:{description:"Default ISO date strings [start, end]",prefixItems:[{type:"string"},{type:"string"}],type:"array"},disabled:{description:"Disables both date inputs. Default: false",type:"boolean"},error:{description:"Error message shown below the inputs",type:"string"},helperText:{description:"Help text shown below the date range inputs",type:"string"},label:{description:"Labels for [start, end] date",prefixItems:[{type:"string"},{type:"string"}],type:"array"},readOnly:{description:"Shows values without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the fields as required. Default: false",type:"boolean"},sensitive:{description:"Masks date values. Default: false",type:"boolean"},testID:{description:"Sets testid on DateRange (used for testing purposes)",type:"string"},value:{description:"ISO date strings [start, end] — bind via $bindState",prefixItems:[{type:"string"},{type:"string"}],type:"array"}},required:["label"],type:"object"},acceptsChildren:!1},DateTimePicker:{description:"Modal date/time picker overlay",events:["close","change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{clearable:{description:"Shows a clear button to reset the value. Default: false",type:"boolean"},native:{description:"If true, uses the native platform date picker",type:"boolean"},range:{description:"If true, shows a date range picker",type:"boolean"},testID:{description:"Sets testid on DateTimePicker (used for testing purposes)",type:"string"},type:{description:"Picker type. Default: date",enum:["date","time","dateTime"],type:"string"},visible:{description:"Controls whether the picker is shown",type:"boolean"}},required:["visible"],type:"object"},acceptsChildren:!1},Divider:{description:"Sub-component of ObjectUI. Horizontal rule that separates ObjectUI sections",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{size:{description:"Vertical spacing size of the divider. Default: extraSmall",enum:["extraSmall","small"],type:"string"}},type:"object"},acceptsChildren:!1},Email:{description:"Email text input that validates email format",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputEmail (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current email value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},ExpansionPanel:{description:"Collapsible panel with a header that toggles content visibility",events:["toggle"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultExpanded:{description:"Opens the panel by default on first render. Default: false",type:"boolean"},disabled:{description:"Prevents toggling the panel open or closed. Default: false",type:"boolean"},expanded:{description:"Controlled expanded state — bind to state with $bindState",type:"boolean"},headerLeft:{additionalProperties:!1,description:"A json-render spec to render as the left slot of the panel header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},headerRight:{additionalProperties:!1,description:"A json-render spec to render as the right slot of the panel header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},maxHeight:{description:"Maximum height for panel content. Use when content may exceed screen size. Default: unbounded",type:"number"},testID:{description:"Sets testid on ExpansionPanel (used for testing purposes)",type:"string"},title:{description:"Header title text shown in the panel header bar",type:"string"}},type:"object"},acceptsChildren:!0},FileViewerButton:{description:"Button that opens the in-app viewer for a given file",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{buttonProps:{additionalProperties:!1,description:"Optional Button props (label, appearance, icons, etc.). `onPress` is owned by the file viewer.",properties:{appearance:{$ref:"#/$defs/AppearanceValue",description:"Button appearance. Default: primary"},children:{description:"Button label text",type:"string"},disabled:{description:"Disables the button. Default: false",type:"boolean"},fluid:{description:"If true, button stretches to full available width",type:"boolean"},haptic:{description:"Enables haptic feedback on press. Default: true for base/pill/small variants, false for text variant",type:"boolean"},leftIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the left of the button"},outlined:{description:"Shows button with outline border style",type:"boolean"},rightIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the right of the button"},spinner:{description:"Shows a loading spinner. Bind to state for async feedback. Default: false",type:"boolean"},style:{additionalProperties:!1,description:'Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Button (used for testing purposes)",type:"string"},variant:{$ref:"#/$defs/VariantValue",description:"Button variant. Default: base"}},type:"object"},file:{additionalProperties:!1,description:"Target file; provide url for remote assets or uri for on-device files",properties:{name:{description:"Original file name for display",type:"string"},base64:{description:"Optional base64 payload when the spec embeds small assets",type:"string"},id:{description:"Stable file id when available",type:"string"},previewUri:{description:"Optional preview image URI for thumbnails",type:"string"},size:{description:"Size in bytes",type:"number"},type:{description:"MIME or logical type (e.g. photo, video) — helps choose viewer when HEAD is unavailable",type:"string"},uri:{description:"Local content URI (e.g. from document picker). Copied to url when url is omitted",type:"string"},url:{description:"HTTP(S) URL for remote files; used for HEAD content-type detection. Default: use uri when local only",type:"string"}},type:"object"}},required:["file"],type:"object"},acceptsChildren:!1},FileViewerPressable:{description:"Pressable region that opens the in-app viewer for a given file",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{file:{additionalProperties:!1,description:"Target file; provide url for remote assets or uri for on-device files",properties:{name:{description:"Original file name for display",type:"string"},base64:{description:"Optional base64 payload when the spec embeds small assets",type:"string"},id:{description:"Stable file id when available",type:"string"},previewUri:{description:"Optional preview image URI for thumbnails",type:"string"},size:{description:"Size in bytes",type:"number"},type:{description:"MIME or logical type (e.g. photo, video) — helps choose viewer when HEAD is unavailable",type:"string"},uri:{description:"Local content URI (e.g. from document picker). Copied to url when url is omitted",type:"string"},url:{description:"HTTP(S) URL for remote files; used for HEAD content-type detection. Default: use uri when local only",type:"string"}},type:"object"},pressableProps:{additionalProperties:!1,description:"Optional Pressable props (underlay, disabled, etc.). `onPress` is owned by the file viewer; put visible UI in children.",properties:{disabled:{description:"Disables press interaction",type:"boolean"},enableScaleAnimation:{description:"Enables scale-down animation on press. Default: false",type:"boolean"},haptic:{$ref:"#/$defs/HapticValue",description:"Haptic feedback token to trigger on press (e.g. hapticControlLow, hapticControlHigh)"},style:{additionalProperties:!1,description:'Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Pressable (used for testing purposes)",type:"string"},underlayAppearance:{$ref:"#/$defs/UnderlayAppearanceValue",description:"Active layer appearance when pressed. Default: base"}},type:"object"}},required:["file"],type:"object"},acceptsChildren:!0},FilterHeader:{description:"Page header with title, badge, and collapsible filter menu",events:["filterMenuPress"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{badge:{description:"Badge text shown beside the title",type:"string"},defaultExpanded:{description:"Default expanded state of the filter menu. Default: false",type:"boolean"},hideFilterMenu:{description:"If true, hides the filter menu icon. Default: false",type:"boolean"},testID:{description:"Sets testid on FilterHeader (used for testing purposes)",type:"string"},title:{description:"Title to show on the header",type:"string"},transparent:{description:"If true, transparent background will be applied. Default: false",type:"boolean"}},required:["title"],type:"object"},acceptsChildren:!1},FloatingButton:{description:"Floating action button with shadow, configurable appearance, and haptic feedback",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Button appearance. Default: primary",enum:["primary","secondary","tertiary","error","success","warning","info","errorTint","successTint","warningTint","infoTint","inverse","inverseTransparent","inverseError","inverseSuccess","inverseWarning","inverseInfo"],type:"string"},children:{description:"Button label text",type:"string"},disabled:{description:"Disables the button. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback on press. Default: true",type:"boolean"},leftIcon:{description:"Pebble icon name to show on the left of the label",type:"string"},outlined:{description:"Shows button with outline border style",type:"boolean"},rightIcon:{description:"Pebble icon name to show on the right of the label",type:"string"},shadowDisabled:{description:"Disables the drop shadow. Default: false",type:"boolean"},spinner:{description:"Shows a loading spinner. Bind to state for async feedback. Default: false",type:"boolean"},testID:{description:"Sets testid on FloatingButton (used for testing purposes)",type:"string"},variant:{description:"Button variant. Default: base",enum:["base","icon"],type:"string"}},type:"object"},acceptsChildren:!1},Footer:{description:"Page footer with action buttons",events:["action"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{actions:{description:'Array of footer action buttons. All button presses emit "action".',items:{additionalProperties:!1,properties:{appearance:{description:"Button appearance variant",type:"string"},disabled:{description:"Disables the button",type:"boolean"},id:{description:"Unique identifier for the action",type:"string"},title:{description:"Button label",type:"string"}},required:["id","title"],type:"object"},type:"array"},align:{description:"Alignment of buttons in the footer. Default: stretch",enum:["left","stretch","right"],type:"string"},testID:{description:"Sets testid on Footer (used for testing purposes)",type:"string"},transparent:{description:"If true, transparent background will be applied",type:"boolean"}},type:"object"},acceptsChildren:!1},Form:{description:"Form container that manages validation, submission, and input layout",events:["submit","valid","invalid"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{description:{description:"Description to show on the Form",type:"string"},disabled:{description:"Disables the entire form. Default: false",type:"boolean"},hideSubmitButton:{description:"Hides the default submit button. Use when providing a custom submit button. Default: false",type:"boolean"},keyboardAvoidingEnabled:{description:"Wraps form in KeyboardAvoidingView to prevent keyboard overlap. Default: false",type:"boolean"},padding:{description:"If false, removes padding around the form. Default: true",type:"boolean"},scrollable:{description:"Enables scrolling within the form. Default: false",type:"boolean"},style:{additionalProperties:!1,description:'Container style overrides applied to the form wrapper — token keys only, e.g. { marginTop: "space200" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},submitOnKeyboardDone:{description:"Submits the form when the keyboard Done button is pressed. Default: false",type:"boolean"},successMessage:{description:"Message displayed after successful form submit",type:"string"},testID:{description:"Sets testid on Form (used for testing purposes)",type:"string"},title:{description:"Title to show on the Form",type:"string"},triggerChangeOnInputUnmount:{description:"Triggers onChange when an input is unmounted. Default: false",type:"boolean"}},type:"object"},acceptsChildren:!0},Group:{description:"Groups two input children side-by-side with shared validation state",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Disables all inputs in the group. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message for the group"},helperText:{description:"Helper text shown below the grouped inputs",type:"string"},required:{description:"Marks the group as required. Default: false",type:"boolean"},testID:{description:"Sets testid on Group (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!0},Header:{description:"Page header with title, optional subtitle and badge",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{badge:{description:"Badge text shown beside the title",type:"string"},right:{additionalProperties:!1,description:"A json-render spec to render as the right element on the header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},subtitle:{description:"Subtitle to show on the header",type:"string"},testID:{description:"Sets testid on Header (used for testing purposes)",type:"string"},title:{description:"Title to show on the header",type:"string"},transparent:{description:"If true, transparent background will be applied",type:"boolean"}},required:["title"],type:"object"},acceptsChildren:!1},Hidden:{description:"Hidden state carrier — no visible UI",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode"},value:{description:"Current value — bind to state with $bindState to store any JSON-serializable value"}},type:"object"},acceptsChildren:!1},HStack:{description:"Horizontal flex row container",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{align:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},flex:{description:"Flex grow/shrink factor",type:"number"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},grow:{description:"Flex grow factor",type:"number"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justify:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},radius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},reverse:{description:"Reverses the row direction. Default: false",type:"boolean"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},scrollView:{description:"If true, wraps children in a horizontal ScrollView instead of a View",type:"boolean"},shrink:{description:"Flex shrink factor",type:"number"},testID:{description:"Sets testid on HStack (used for testing purposes)",type:"string"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},wrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},zIndex:{description:"Stack order",type:"number"}},type:"object"},acceptsChildren:!0},Icon:{description:"Scalable vector icon from the pebble icon pack",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{color:{description:"Icon color (design token or hex color string)",type:"string"},disabled:{description:"Disables the icon and its interactions. Default: false",type:"boolean"},size:{description:"Icon size in points. Default: 24",type:"number"},testID:{description:"Sets testid on Icon (used for testing purposes)",type:"string"},type:{description:'Icon name from the pebble icon pack (e.g. "check", "close", "arrowRight")',type:"string"}},required:["type"],type:"object"},acceptsChildren:!1},Image:{description:"Displays a raster or SVG image from a remote URL",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{contentFit:{$ref:"#/$defs/ContentFitValue",description:"How the image scales within its bounds. Default: cover"},shapeCorner:{description:"Border radius of the image. Default: none",enum:["none","extraSmall","small","medium","large","rounded"],type:"string"},source:{anyOf:[{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:'Image source — a URI string (e.g. "https://example.com/img.png") or a structured source object ({ uri, width?, height?, headers? })'},{additionalProperties:!1,description:"Themed image source — different URIs for light and dark color schemes",properties:{dark:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in dark color scheme"},light:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in light color scheme"}},required:["light","dark"],type:"object"}],description:"Image source — a URI string, a structured source object { uri, width?, height?, headers? }, or a themed variant { light: source, dark: source }"},style:{additionalProperties:!1,description:'Image style overrides — token keys only, e.g. { width: "size400", height: "size400", marginTop: "space200" }',properties:{alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},aspectRatio:{description:"Width-to-height aspect ratio (e.g. 1 for square)",type:"number"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},color:{$ref:"#/$defs/ColorValue",description:"Fill/tint color for SVG sources — color token (e.g. colorPrimary)"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{description:"How content overflow is handled. Default: visible",enum:["visible","hidden"],type:"string"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},resizeMode:{description:"How the image scales within its bounds. Default: cover",enum:["cover","contain","stretch","repeat","center"],type:"string"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},tintColor:{$ref:"#/$defs/ColorValue",description:"Image tint color token (e.g. colorOnSurface)"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},supportsSvgCss:{description:"If true, CSS support for remote SVG URI will be added. Default: false",type:"boolean"},testID:{description:"Sets testid on Image (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!1},InputText:{description:"Single-line text input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},rightIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name shown on the right side of the input"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},testID:{description:"Sets testid on InputText (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current text value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Label:{description:"Styled inline text label with predefined appearances",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Label appearance. Default: primary",enum:["primary","primaryTint","secondary","secondaryTint","tertiary","tertiaryTint","error","errorTint","success","successTint","warning","warningTint","info","infoTint","inverse","dim","disabled"],type:"string"},label:{description:"Text content to display in the label",type:"string"},testID:{description:"Sets testid on Label (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},List:{description:"Scrollable list container for ListItem children",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{outlined:{description:"Adds a border around the list container. Default: false",type:"boolean"},testID:{description:"Sets testid on List (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!0},ListItem:{description:"Sub-component of List. Row item used inside a List container",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Background appearance of the list item. Default: surfaceBright",enum:["surfaceBright","surfaceDim","surfaceHover","surfaceContainerLowest","transparent"],type:"string"},description:{description:"Secondary description text shown below the title",type:"string"},enableScaleAnimation:{description:"Enables scale-down animation on press. Default: false",type:"boolean"},fluidContent:{description:"Makes one side fluid/flexible. Default: none",enum:["none","left","right"],type:"string"},overline:{description:"Small text shown above the title",type:"string"},prefix:{additionalProperties:!1,description:"A json-render spec to render as the prefix (left) element of the ListItem, e.g. an Avatar or Icon",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},right:{additionalProperties:!1,description:"A json-render spec to render on the right side of the ListItem, e.g. a Badge or Label",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},separator:{description:"Shows a separator line below the item. Default: true",type:"boolean"},spacing:{description:"Vertical padding of the item. Default: default",enum:["default","condensed"],type:"string"},testID:{description:"Sets testid on ListItem (used for testing purposes)",type:"string"},title:{description:"Primary text shown in the list item",type:"string"},underlayAppearance:{$ref:"#/$defs/UnderlayAppearanceValue",description:"Active layer appearance when pressed. Default: base"}},type:"object"},acceptsChildren:!1},ModalActionHeader:{description:"Sub-component of ModalSheet. Header with optional left/right action buttons; use inside ModalSheet",events:["leftPress","rightPress"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{indicator:{description:"Whether to show an indicator on the header. Default: false",type:"boolean"},left:{additionalProperties:!1,description:"Left action: provide title for text button or iconType for icon button",properties:{iconType:{$ref:"#/$defs/IconValue",description:"Pebble icon name to use as the action button"},title:{description:"Text label for the action button",type:"string"}},type:"object"},right:{additionalProperties:!1,description:"Right action: provide title for text button or iconType for icon button",properties:{iconType:{$ref:"#/$defs/IconValue",description:"Pebble icon name to use as the action button"},title:{description:"Text label for the action button",type:"string"}},type:"object"},subtitle:{description:"Subtitle to show on the header",type:"string"},testID:{description:"Sets testid on ModalActionHeader (used for testing purposes)",type:"string"},title:{description:"Title to show on the header",type:"string"}},type:"object"},acceptsChildren:!0},ModalSheet:{description:"Bottom sheet modal with gesture support and children slot",events:["close"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{animationDuration:{description:"Motion duration token for the sheet animation. Default: moderate",enum:["slow","moderate"],type:"string"},disableSafeArea:{description:"If true, disables safe area insets inside the sheet. Default: false",type:"boolean"},gesturePinVisible:{description:"If true, shows the gesture pin at the top of the sheet. Default: true",type:"boolean"},header:{additionalProperties:!1,description:"A json-render spec to render as the header component of the ModalSheet, e.g. ModalActionHeader",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},testID:{description:"Sets testid on ModalSheet (used for testing purposes)",type:"string"},visible:{description:"If true, the ModalSheet will be visible",type:"boolean"}},required:["visible"],type:"object"},acceptsChildren:!0},Notice:{description:"Inline alert banner with title, description, and actions",events:["primaryPress","secondaryPress","close"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Notice appearance. Default: primary",enum:["primary","error","success","warning","info","neutral"],type:"string"},description:{description:"Notice description text (only shown in base variant)",type:"string"},haptic:{description:"Enables haptic feedback when notice appears. Default: true",type:"boolean"},icon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to display above the title"},primaryAction:{additionalProperties:!1,description:"Primary action button — wire to `primaryPress` event",properties:{disabled:{description:"Disables this action button",type:"boolean"},title:{description:"Button label text for this action",type:"string"}},required:["title"],type:"object"},secondaryAction:{additionalProperties:!1,description:"Secondary action button — wire to `secondaryPress` event",properties:{disabled:{description:"Disables this action button",type:"boolean"},title:{description:"Button label text for this action",type:"string"}},required:["title"],type:"object"},testID:{description:"Sets testid on Notice (used for testing purposes)",type:"string"},title:{description:"Notice title text",type:"string"},variant:{description:"Notice layout variant. Default: base",enum:["base","compact"],type:"string"}},type:"object"},acceptsChildren:!1},Number:{description:"Numeric text input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},allowNegative:{description:"If true, allows negative values. Default: false",type:"boolean"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},decimalPlaces:{description:"Number of decimal places allowed",type:"number"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},locale:{description:'Locale string for number formatting e.g. "en-US"',type:"string"},max:{description:"Maximum accepted value",type:"number"},min:{description:"Minimum accepted value",type:"number"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputNumber (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current numeric string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},ObjectFooter:{description:"Sub-component of ObjectUI. Footer with approve, reject, notes buttons and optional chevrons",events:["reject","approve","notes","leftChevron","rightChevron"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{chevron:{description:"If true, displays left and right chevrons. Default: false",type:"boolean"},testID:{description:"Sets testid on ObjectFooter (used for testing purposes)",type:"string"},timerText:{description:"Text to display in the timer area",type:"string"}},type:"object"},acceptsChildren:!1},ObjectItem:{description:"Sub-component of ObjectUI. A row item for object detail views with title, optional prefix (lhs) and suffix (rhs)",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{align:{description:"Vertical alignment of content. Default: center",enum:["top","center"],type:"string"},appearance:{description:"Background appearance of the ObjectItem. Default: surface",enum:["surfaceBright","transparent","surface"],type:"string"},chevron:{description:"If true, displays chevron on the right side. Default: false",type:"boolean"},heavy:{description:"If true, makes the title font weight heavy. Default: false",type:"boolean"},lhs:{additionalProperties:!1,description:"A json-render spec to render as the prefix (left-hand side) of the ObjectItem, e.g. an Avatar or Icon",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},lhsMaxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width of the left-hand side content — size token"},rhs:{additionalProperties:!1,description:"A json-render spec to render on the right side of the ObjectItem, e.g. Label or Status elements",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},rhsMaxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width of the right-hand side content — size token"},testID:{description:"Sets testid on ObjectItem (used for testing purposes)",type:"string"},title:{description:"Title to show on the ObjectItem",type:"string"}},type:"object"},acceptsChildren:!1},ObjectListView:{description:"Displays a mobile custom object list view for the provided custom object API name.",events:[],propsSchema:{additionalProperties:!1,properties:{appIconUrl:{description:"Optional custom app icon URL injected by mobile before rendering.",type:"string"},defaultListViewId:{description:"Optional list view id to select by default.",type:"string"},objectApiName:{description:"API name of the custom object to render.",type:"string"}},required:["objectApiName"],type:"object"},acceptsChildren:!1},ObjectListViewCard:{description:"Displays a compact card preview for a mobile custom object list view.",events:[],propsSchema:{additionalProperties:!1,properties:{appIconUrl:{description:"Optional custom app icon URL injected by mobile before rendering.",type:"string"},defaultListViewId:{description:"Optional list view id to select by default.",type:"string"},objectApiName:{description:"API name of the custom object to render.",type:"string"}},required:["objectApiName"],type:"object"},acceptsChildren:!1},Password:{description:"Password input with optional reveal toggle",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},shouldAllowReveal:{description:"Shows a toggle to reveal the password. Default: false",type:"boolean"},testID:{description:"Sets testid on InputPassword (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current password value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Percentage:{description:"Percentage input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},allowNegative:{description:"If true, allows negative values. Default: false",type:"boolean"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},decimalPlaces:{description:"Number of decimal places allowed",type:"number"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputPercentage (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current percentage string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Phone:{description:"Phone number input with optional country code",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},inputWithCountryCode:{description:"If true, country code will be included as part of the value. Default: false",type:"boolean"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},region:{description:'Region/country code e.g. "US"',type:"string"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputPhone (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current phone string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Pressable:{description:"Tappable container that wraps any content",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Disables press interaction",type:"boolean"},enableScaleAnimation:{description:"Enables scale-down animation on press. Default: false",type:"boolean"},haptic:{$ref:"#/$defs/HapticValue",description:"Haptic feedback token to trigger on press (e.g. hapticControlLow, hapticControlHigh)"},style:{additionalProperties:!1,description:'Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Pressable (used for testing purposes)",type:"string"},underlayAppearance:{$ref:"#/$defs/UnderlayAppearanceValue",description:"Active layer appearance when pressed. Default: base"}},type:"object"},acceptsChildren:!0},ProgressIndicator:{description:"Horizontal progress bar showing completion percentage",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"ProgressIndicator appearance. Default: primary",enum:["primary","info","error","neutral"],type:"string"},buffer:{description:"Buffer value shown as a secondary track. Default: 0",type:"number"},max:{description:"Maximum value for the progress bar. Default: 100",type:"number"},showLabel:{description:"Show percentage label above the bar. Default: false",type:"boolean"},steps:{description:"Number of discrete steps (1 = continuous bar). Default: 1",type:"number"},testID:{description:"Sets testid on ProgressIndicator (used for testing purposes)",type:"string"},trackColor:{description:"Custom color for the progress bar track (design token or hex)",type:"string"},value:{description:"Number indicating the percentage of progress completion (0–100)",type:"number"}},required:["value"],type:"object"},acceptsChildren:!1},Radio:{description:"Single radio button option with label",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{boxView:{description:"Renders radio in box/card view style. Default: false",type:"boolean"},caption:{description:"Caption/description shown below the label",type:"string"},captionNumberOfLines:{description:"Max lines for the caption text. Default: 1",type:"number"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode. Default: false",type:"boolean"},disabled:{description:"Disables the radio button. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message"},haptic:{description:"Enables haptic feedback on selection. Default: true",type:"boolean"},helperText:{description:"Help text shown below the radio group",type:"string"},label:{description:"Label text shown beside the radio",type:"string"},readOnly:{description:"Makes the radio non-interactive (display only). Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},tag:{description:"Tag text shown above the label",type:"string"},testID:{description:"Sets testid on Radio (used for testing purposes)",type:"string"},titleNumberOfLines:{description:"Max lines for the label text. Default: 1",type:"number"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Controlled selected state — bind to state with $bindState",type:"boolean"}},type:"object"},acceptsChildren:!1},RadioGroup:{description:"Group of radio buttons for single-selection from a list",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial selected id for uncontrolled mode",type:"string"},disabled:{description:"Disables all options. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message shown below the group"},helperText:{description:"Help text shown below the group",type:"string"},options:{description:"Array of radio options: [{ id, label?, tag?, disabled? }]",items:{additionalProperties:!1,properties:{disabled:{description:"Disables this individual option",type:"boolean"},error:{description:"Marks this option in error state",type:"boolean"},id:{description:"Unique identifier for this option",type:"string"},label:{description:"Label text for this option",type:"string"},tag:{description:"Tag text shown above the label",type:"string"}},required:["id"],type:"object"},type:"array"},testID:{description:"Sets testid on RadioGroup (used for testing purposes)",type:"string"},value:{description:"Id of the selected option — bind to state with $bindState",type:"string"}},required:["options"],type:"object"},acceptsChildren:!1},Search:{description:"Search input field with clear and cancel controls",events:["change","cancel"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{clearable:{description:"Shows a clear button when the field has a value. Default: true",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},editable:{description:"Controls whether the search input is editable",type:"boolean"},hideCancel:{description:"Hides the cancel button. Default: false",type:"boolean"},placeholder:{description:"Placeholder text shown when empty",type:"string"},stickyCancel:{description:"Always shows the cancel button. Default: false",type:"boolean"},testID:{description:"Sets testid on Search (used for testing purposes)",type:"string"},value:{description:"Current search query — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},SectionHeader:{description:"Section divider label with configurable background",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{background:{description:"Background token for the section header. Default: surfaceDim",enum:["surfaceDim","surface","surfaceBright"],type:"string"},foreground:{description:"Foreground (text) token for the section header. Default: onSurface",enum:["onSurfaceVariant","onSurface","primary"],type:"string"},label:{description:"Text to display in the section header",type:"string"},testID:{description:"Sets testid on SectionHeader (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},Select:{description:"Dropdown picker input with a searchable action sheet",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{autoDismiss:{description:"Auto-dismisses the picker sheet after selection. Default: true",type:"boolean"},clearable:{description:"Shows a clear button to deselect. Default: false",type:"boolean"},defaultValue:{description:"Default selected option id for uncontrolled mode",type:"string"},descriptionNumberOfLines:{description:"Max lines for option description text in the picker. Default: 1",type:"number"},disabled:{description:"Disables the select input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message"},helperText:{description:"Help text shown below the select input",type:"string"},hideDismissButton:{description:"Hides the dismiss button in the picker sheet header. Default: false",type:"boolean"},label:{description:"Label shown above the select input",type:"string"},multiple:{description:"Enables multi-selection mode. Default: false",type:"boolean"},options:{description:"Array of selectable options: [{ id, title, description?, icon?, disabled? }]",items:{additionalProperties:!1,properties:{description:{description:"Secondary description text",type:"string"},disabled:{description:"Disables this individual option",type:"boolean"},icon:{description:"Pebble icon name shown beside the option",type:"string"},id:{description:"Unique identifier for this option",type:"string"},title:{description:"Display text for this option",type:"string"}},required:["id","title"],type:"object"},type:"array"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},searchable:{description:"Shows a search field inside the picker sheet",type:"boolean"},searchAutoFocus:{description:"Auto-focuses the search field when the picker opens. Default: false",type:"boolean"},searchPlaceholder:{description:"Placeholder text for the search field",type:"string"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},testID:{description:"Sets testid on Select (used for testing purposes)",type:"string"},titleNumberOfLines:{description:"Max lines for option title text in the picker. Default: 1",type:"number"},value:{description:"Id of the selected option — bind to state with $bindState",type:"string"}},required:["label","options"],type:"object"},acceptsChildren:!1},SelectChips:{description:"Chip-based multi-select or single-select input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{anyOf:[{type:"string"},{items:{type:"string"},type:"array"}],description:"Initial value for uncontrolled mode"},disabled:{description:"Disables the chips. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message"},helperText:{description:"Help text shown below the chips",type:"string"},multiple:{description:"Allow multiple selection. Default: true",type:"boolean"},options:{description:"Array of selectable chip options",items:{additionalProperties:!1,properties:{id:{type:"string"},label:{type:"string"}},required:["id","label"],type:"object"},type:"array"},readOnly:{description:"Displays value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Masks chip values. Default: false",type:"boolean"},testID:{description:"Sets testid on SelectChips (used for testing purposes)",type:"string"},value:{anyOf:[{type:"string"},{items:{type:"string"},type:"array"}],description:"Selected id or array of ids — bind via $bindState"}},required:["options"],type:"object"},acceptsChildren:!1},Signature:{description:"Signature canvas input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},testID:{description:"Sets testid on InputSignature (used for testing purposes)",type:"string"},value:{description:"Current base64 PNG value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Sin:{description:"Masked Social Insurance Number input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputSin (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current SIN value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Slider:{description:"Draggable range slider for numeric input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode",type:"number"},disabled:{description:"Disables the slider. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback while dragging. Default: true",type:"boolean"},max:{description:"Maximum slider value. Default: 100",type:"number"},min:{description:"Minimum slider value. Default: 0",type:"number"},readOnly:{description:"Displays value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},step:{description:"Step increment between values. Default: 1",type:"number"},testID:{description:"Sets testid on Slider (used for testing purposes)",type:"string"},value:{description:"Current slider value — bind to state with $bindState",type:"number"}},type:"object"},acceptsChildren:!1},SliderRange:{description:"Dual-handle range slider for selecting a numeric range",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial range value for uncontrolled mode",prefixItems:[{type:"number"},{type:"number"}],type:"array"},disabled:{description:"Disables the slider. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback on value change",type:"boolean"},max:{description:"Maximum slider value. Default: 100",type:"number"},min:{description:"Minimum slider value. Default: 0",type:"number"},readOnly:{description:"Displays value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Masks slider value. Default: false",type:"boolean"},step:{description:"Step increment between values. Default: 1",type:"number"},testID:{description:"Sets testid on SliderRange (used for testing purposes)",type:"string"},value:{description:"Range value [min, max] — bind via $bindState",prefixItems:[{type:"number"},{type:"number"}],type:"array"}},type:"object"},acceptsChildren:!1},SnackBar:{description:"Inline notification banner with optional action button and auto-dismiss",events:["dismiss","action"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{action:{additionalProperties:!1,description:'Action button shown on the right. Emits the "action" event when pressed.',properties:{title:{type:"string"}},required:["title"],type:"object"},appearance:{description:"SnackBar appearance. Default: info",enum:["info","success","warning","error"],type:"string"},autoDismiss:{description:"If true, SnackBar dismisses automatically after a duration",type:"boolean"},haptic:{description:"Enables haptic feedback on action press",type:"boolean"},hideIcon:{description:"If true, the icon is not shown on the left side",type:"boolean"},message:{description:"The message to display in the SnackBar",type:"string"},testID:{description:"Sets testid on SnackBar (used for testing purposes)",type:"string"}},required:["message"],type:"object"},acceptsChildren:!1},Spacer:{description:"Sub-component of ObjectUI. Empty vertical space between ObjectUI rows",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{size:{description:"Vertical spacing size of the spacer. Default: medium",enum:["small","medium","extraLarge"],type:"string"}},type:"object"},acceptsChildren:!1},Spinner:{description:"Animated loading indicator",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Spinner appearance. Default: secondary",enum:["primary","secondary","tertiary"],type:"string"},description:{description:"Description text shown below the title",type:"string"},size:{description:"Spinner size. Default: large",enum:["small","medium","large","extraLarge"],type:"string"},testID:{description:"Sets testid on Spinner (used for testing purposes)",type:"string"},title:{description:"Title text shown below the spinner",type:"string"},windowCentered:{description:"Positions spinner in the center of its parent container using absolute positioning. Default: false",type:"boolean"}},type:"object"},acceptsChildren:!1},Ssn:{description:"Masked Social Security Number input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputSsn (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current SSN value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Status:{description:"Pill-shaped status indicator with colored appearance",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Status appearance. Default: primary",enum:["primary","secondary","tertiary","error","success","warning","info","disabled"],type:"string"},label:{description:"Text content shown inside the Status pill",type:"string"},outlined:{description:"Applies outlined/border style on the component. Default: false",type:"boolean"},testID:{description:"Sets testid on Status (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},StatusBar:{description:"Sets the native status bar style. Renders no visible UI — place once near the top of a screen.",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{animated:{description:"Whether to animate status bar style changes. Default: true",type:"boolean"},appearance:{description:"Controls barStyle. onSurface → matches surface background; onSurfaceInverse → inverse. Default: onSurface",enum:["onSurface","onSurfaceInverse"],type:"string"}},type:"object"},acceptsChildren:!1},Switch:{description:"Toggle switch for boolean on/off input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode. Default: false",type:"boolean"},disabled:{description:"Disables the switch. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback on toggle. Default: true",type:"boolean"},offIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name for the off-state thumb icon"},onIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name for the on-state thumb icon"},testID:{description:"Sets testid on Switch (used for testing purposes)",type:"string"},value:{description:"Controlled on/off state — bind to state with $bindState",type:"boolean"}},type:"object"},acceptsChildren:!1},Tabs:{description:"Tab navigation switcher for toggling between views",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{active:{description:"Id of the currently active tab — bind to state with $bindState",type:"string"},defaultActive:{description:"Id of the tab to show by default",type:"string"},fluid:{description:"Stretches tabs to fill available width. Default: false",type:"boolean"},items:{description:"Array of tab definitions: [{ id, title, icon?, badge? }]",items:{additionalProperties:!1,properties:{badge:{description:"Badge text shown on the tab",type:"string"},icon:{description:"Pebble icon name shown on the tab",type:"string"},id:{description:"Unique tab identifier — written to state on change",type:"string"},title:{description:"Tab label text",type:"string"}},required:["id","title"],type:"object"},type:"array"},spacing:{description:"Spacing around the tabs container. Default: none",enum:["none","vertical","horizontal","all"],type:"string"},testID:{description:"Sets testid on Tabs (used for testing purposes)",type:"string"},translucent:{description:"Gives tabs a translucent background. Default: true",type:"boolean"},variant:{description:"Visual style of the tabs. Default: switch",enum:["switch","link","segmented"],type:"string"}},required:["items"],type:"object"},acceptsChildren:!1},Text:{description:"Typography primitive using Pebble typestyle tokens",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{accessibilityLabel:{description:"Accessibility label read by screen readers",type:"string"},accessible:{description:"Whether the element is an accessibility element. Default: true",type:"boolean"},color:{$ref:"#/$defs/ColorValue",description:"Pebble color token key for text color. Overridden by color in the style prop."},disabled:{description:"Whether the text is disabled (accessibility and styling). Default: false",type:"boolean"},ellipsizeMode:{description:"How text is truncated when it exceeds numberOfLines. Requires numberOfLines to be set. Default: tail",enum:["head","middle","tail","clip"],type:"string"},numberOfLines:{description:"Maximum number of lines before truncating with ellipsis. Omit for unlimited lines",type:"number"},selectable:{description:"Whether the user can select and copy the text. Default: false",type:"boolean"},style:{anyOf:[{additionalProperties:!1,description:"TextStyle object — all values must be pebble design token keys. Color example: { color: 'colorOnSurface' }. Spacing example: { marginTop: 'space200' }.",properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},color:{$ref:"#/$defs/ColorValue",description:"Text color token (e.g. colorOnSurface, colorPrimary)"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},fontFamily:{description:"Font family name",type:"string"},fontSize:{description:"Font size in logical pixels",type:"number"},fontStyle:{$ref:"#/$defs/FontStyleValue",description:"Font style. Default: normal"},fontWeight:{$ref:"#/$defs/FontWeightValue",description:"Font weight. Default: normal"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},includeFontPadding:{description:"Include extra font padding (Android only). Default: true",type:"boolean"},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},letterSpacing:{description:"Extra space between characters in logical pixels (e.g. 0.5, 1.5)",type:"number"},lineHeight:{description:"Line height in logical pixels",type:"number"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},textAlign:{$ref:"#/$defs/TextAlignValue",description:"Horizontal text alignment. Default: auto"},textAlignVertical:{$ref:"#/$defs/TextAlignVerticalValue",description:"Vertical text alignment (Android only). Default: auto"},textDecorationColor:{$ref:"#/$defs/ColorValue",description:"Text decoration color token. Requires textDecorationLine"},textDecorationLine:{$ref:"#/$defs/TextDecorationLineValue",description:"Text decoration. Default: none"},textDecorationStyle:{$ref:"#/$defs/TextDecorationStyleValue",description:"Text decoration style (iOS only). Default: solid"},textShadowColor:{$ref:"#/$defs/ColorValue",description:"Text shadow color token"},textShadowOffsetHeight:{$ref:"#/$defs/SpaceValue",description:"Vertical text shadow offset — space token"},textShadowOffsetWidth:{$ref:"#/$defs/SpaceValue",description:"Horizontal text shadow offset — space token"},textShadowRadius:{$ref:"#/$defs/SpaceValue",description:"Text shadow blur radius — space token"},textTransform:{$ref:"#/$defs/TextTransformValue",description:"Text case transformation. Default: none"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},writingDirection:{$ref:"#/$defs/WritingDirectionValue",description:"Writing direction. Default: auto"},zIndex:{description:"Stack order",type:"number"}},type:"object"},{items:{anyOf:[{$ref:"#/$defs/TypestyleValue",description:"A typestyle token key that provides a full font preset, e.g. one of: typestyleV2TitleLarge, typestyleV2TitleMedium, typestyleV2TitleSmall, typestyleV2BodyLarge, typestyleV2BodyLargeEmphasized, …"},{additionalProperties:!1,description:"TextStyle object — all values must be pebble design token keys. Color example: { color: 'colorOnSurface' }. Spacing example: { marginTop: 'space200' }.",properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},color:{$ref:"#/$defs/ColorValue",description:"Text color token (e.g. colorOnSurface, colorPrimary)"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},fontFamily:{description:"Font family name",type:"string"},fontSize:{description:"Font size in logical pixels",type:"number"},fontStyle:{$ref:"#/$defs/FontStyleValue",description:"Font style. Default: normal"},fontWeight:{$ref:"#/$defs/FontWeightValue",description:"Font weight. Default: normal"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},includeFontPadding:{description:"Include extra font padding (Android only). Default: true",type:"boolean"},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},letterSpacing:{description:"Extra space between characters in logical pixels (e.g. 0.5, 1.5)",type:"number"},lineHeight:{description:"Line height in logical pixels",type:"number"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},textAlign:{$ref:"#/$defs/TextAlignValue",description:"Horizontal text alignment. Default: auto"},textAlignVertical:{$ref:"#/$defs/TextAlignVerticalValue",description:"Vertical text alignment (Android only). Default: auto"},textDecorationColor:{$ref:"#/$defs/ColorValue",description:"Text decoration color token. Requires textDecorationLine"},textDecorationLine:{$ref:"#/$defs/TextDecorationLineValue",description:"Text decoration. Default: none"},textDecorationStyle:{$ref:"#/$defs/TextDecorationStyleValue",description:"Text decoration style (iOS only). Default: solid"},textShadowColor:{$ref:"#/$defs/ColorValue",description:"Text shadow color token"},textShadowOffsetHeight:{$ref:"#/$defs/SpaceValue",description:"Vertical text shadow offset — space token"},textShadowOffsetWidth:{$ref:"#/$defs/SpaceValue",description:"Horizontal text shadow offset — space token"},textShadowRadius:{$ref:"#/$defs/SpaceValue",description:"Text shadow blur radius — space token"},textTransform:{$ref:"#/$defs/TextTransformValue",description:"Text case transformation. Default: none"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},writingDirection:{$ref:"#/$defs/WritingDirectionValue",description:"Writing direction. Default: auto"},zIndex:{description:"Stack order",type:"number"}},type:"object"}]},type:"array"}],description:"Text style — plain object or array of typestyle token keys and/or style override objects. Plain object: { color: 'colorOnSurface', marginTop: 'space200' }. Array: ['typestyleV2BodyLarge', { color: 'colorOnSurface' }]."},testID:{description:"Sets testid on Text (used for testing purposes)",type:"string"},text:{description:"Text content to display",type:"string"},typestyle:{$ref:"#/$defs/TypestyleValue",description:"Pebble typestyle token key. Overridden by matching typography in the style prop."}},required:["text"],type:"object"},acceptsChildren:!1},Textarea:{description:"Multi-line text input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the textarea. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},height:{description:"Fixed height of the textarea in points",type:"number"},helperText:{description:"Help text shown below the textarea",type:"string"},label:{description:"Label shown above the textarea",type:"string"},maxLength:{description:"Maximum number of characters allowed",type:"number"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},testID:{description:"Sets testid on Textarea (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current text value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Time:{description:"Time picker input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Default ISO time string for uncontrolled mode",type:"string"},disabled:{description:"Disables the time input. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message"},format:{description:"Time format. Default: isoString",enum:["isoString"],type:"string"},helperText:{description:"Help text shown below the time input",type:"string"},label:{description:"Label shown above the time input",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Masks time value. Default: false",type:"boolean"},testID:{description:"Sets testid on Time (used for testing purposes)",type:"string"},value:{description:"ISO time string — bind to state with $bindState",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},TimeRange:{description:"Time range picker with start and end time inputs",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{alignment:{$ref:"#/$defs/AlignmentValue",description:"Layout alignment of the two time fields. Default: row"},defaultValue:{description:"Default ISO time strings [start, end]",prefixItems:[{type:"string"},{type:"string"}],type:"array"},disabled:{description:"Disables both time inputs. Default: false",type:"boolean"},error:{description:"Error message shown below the inputs",type:"string"},helperText:{description:"Help text shown below the time range inputs",type:"string"},label:{description:"Labels for [start, end] time",prefixItems:[{type:"string"},{type:"string"}],type:"array"},readOnly:{description:"Shows values without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the fields as required. Default: false",type:"boolean"},sensitive:{description:"Masks time values. Default: false",type:"boolean"},testID:{description:"Sets testid on TimeRange (used for testing purposes)",type:"string"},value:{description:"ISO time strings [start, end] — bind via $bindState",prefixItems:[{type:"string"},{type:"string"}],type:"array"}},required:["label"],type:"object"},acceptsChildren:!1},Tip:{description:"Informational tip block with a title, description, and optional children content",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{description:{description:"Description text shown on the Tip modal",type:"string"},testID:{description:"Sets testid on Tip (used for testing purposes)",type:"string"},title:{description:"Title shown on the Tip modal",type:"string"}},required:["description"],type:"object"},acceptsChildren:!0},VStack:{description:"Vertical flex column container",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{align:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},flex:{description:"Flex grow/shrink factor",type:"number"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},grow:{description:"Flex grow factor",type:"number"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justify:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},radius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},reverse:{description:"Reverses the column direction. Default: false",type:"boolean"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},scrollView:{description:"If true, wraps children in a vertical ScrollView instead of a View",type:"boolean"},shrink:{description:"Flex shrink factor",type:"number"},testID:{description:"Sets testid on VStack (used for testing purposes)",type:"string"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},acceptsChildren:!0},Widget:{description:"Card-like widget with a title, body content, and optional action buttons",events:["titlePress","primaryAction","secondaryAction"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{actions:{additionalProperties:!1,description:'Action buttons. primary emits "primaryAction", secondary emits "secondaryAction".',properties:{primary:{additionalProperties:!1,properties:{disabled:{type:"boolean"},title:{type:"string"}},required:["title"],type:"object"},secondary:{additionalProperties:!1,properties:{disabled:{type:"boolean"},title:{type:"string"}},required:["title"],type:"object"}},type:"object"},contentShimmerTemplate:{description:"Content shimmer layout template. Default: details",enum:["details","grid","list"],type:"string"},disabled:{description:"Disables the widget. Default: false",type:"boolean"},isActionsLoading:{description:"Shows shimmer in the actions area only",type:"boolean"},isContentLoading:{description:"Shows shimmer in the content area only",type:"boolean"},isLoading:{description:"Shows shimmer placeholders across the entire widget",type:"boolean"},isTitleLoading:{description:"Shows shimmer in the title area only",type:"boolean"},meta:{additionalProperties:!1,description:"A json-render spec to render as meta content beside the widget title",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},spacing:{description:"Horizontal spacing for content. Default: none",enum:["none","horizontal"],type:"string"},testID:{description:"Sets testid on Widget (used for testing purposes)",type:"string"},title:{description:"Title displayed in the widget header",type:"string"}},required:["title"],type:"object"},acceptsChildren:!0},WorkEmail:{description:"Email text input that validates work email format",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputWorkEmail (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current email value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1}},$t={goBack:{description:"Mobile-specific action that goes back to the previous screen in the navigation stack.",docs:"No params. Calls NavigationService.navigateBack(). No-ops if there is no screen to go back to.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{},type:"object"}},navigate:{description:"Navigate to a React Navigation screen by name using the mobile route registered in the navigator.",docs:'`screen` (required): the React Navigation screen name to navigate to, usually in "{namespace}/{ScreenName}" format.\n`params` (optional): key-value params forwarded to the target screen (same as React Navigation `navigate` second argument).\nUses the global NavigationService, so it works from any SDUI component regardless of navigation context.',paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{params:{additionalProperties:!0,description:"Optional params object forwarded to the target screen.",type:"object"},screen:{description:'React Navigation screen name to navigate to. Mobile screens typically use the "{namespace}/{ScreenName}" route name.',type:"string"}},required:["screen"],type:"object"}},push:{description:"Push a React Navigation screen onto the current stack by name using the mobile route registered in the navigator.",docs:'`screen` (required): the React Navigation screen name to push, usually in "{namespace}/{ScreenName}" format.\n`params` (optional): key-value params forwarded to the target screen (same as React Navigation `push` second argument).\nUses the global NavigationService, so it works from any SDUI component regardless of navigation context.',paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{params:{additionalProperties:!0,description:"Optional params object forwarded to the target screen.",type:"object"},screen:{description:'React Navigation screen name to navigate to. Mobile screens typically use the "{namespace}/{ScreenName}" route name.',type:"string"}},required:["screen"],type:"object"}}},rt={currency_format:{description:"Format an amount as currency (symbol/code + grouped decimals) using app currency utilities.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{currencyCode:{description:"ISO 4217 currency code.",type:"string"},value:{description:"Amount to format."}},required:["value"],type:"object"}},currency_getCurrencyCodeByCountryCode:{description:"Map an ISO 3166-1 alpha-2 country code to its primary ISO 4217 currency code.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{value:{description:"Single string argument (see function description).",type:"string"}},required:["value"],type:"object"}},currency_getCurrencyNameByCode:{description:"Human-readable currency name for an ISO 4217 code (e.g. USD → US Dollar).",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{value:{description:"Single string argument (see function description).",type:"string"}},required:["value"],type:"object"}},currency_getCurrencySymbol:{description:"Resolve the display symbol (or code fallback) for a currency code.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{value:{description:"Currency code to resolve a symbol for.",type:"string"}},type:"object"}},currency_isConvertableToCurrency:{description:"Whether the given value can be interpreted as a number string (delegates to `CurrencyUtils.isConvertableToCurrency`).",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{decimalDenote:{description:"Optional decimal separator character when parsing strings.",type:"string"},value:{description:"Candidate string to test for numeric conversion."}},required:["value"],type:"object"}},currency_toMoney:{description:"Format a numeric amount with locale-aware grouping/decimals (no currency symbol).",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{value:{description:"Amount to format as a localized number string."}},required:["value"],type:"object"}},dateTime_add:{description:"Add a duration to a datetime and return the resulting `Date` via `DateTimeUtils.add`.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{duration:{additionalProperties:!1,description:"Duration to add — object with optional years, months, weeks, days, hours, minutes, seconds.",properties:{days:{type:"number"},hours:{type:"number"},minutes:{type:"number"},months:{type:"number"},seconds:{type:"number"},weeks:{type:"number"},years:{type:"number"}},type:"object"},options:{additionalProperties:!0,description:"Optional AddOptions (parseFormat, parseTimeZone).",type:"object"},value:{description:"Base datetime input (ISO string or resolved date).",type:"string"}},required:["value","duration"],type:"object"}},dateTime_format:{description:"Format a datetime for display via `DateTimeUtils.format` using preset tokens and optional format options.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{options:{additionalProperties:!0,description:"Optional FormatOptions (parseFormat, timeZone, parseTimeZone, unit).",type:"object"},tokens:{description:"FormatStyle preset(s) for DateTimeUtils.format — string or { date?, time?, weekday? } with string values.",oneOf:[{type:"string"},{additionalProperties:!0,type:"object"}]},value:{description:"Primary datetime input (ISO string or resolved date).",type:"string"}},required:["value"],type:"object"}}},lr={AlignItemsValue:{enum:["flex-start","flex-end","center","stretch","baseline"]},AlignmentValue:{enum:["row","column"]},AlignSelfValue:{enum:["auto","flex-start","flex-end","center","stretch","baseline"]},AppearanceValue:{enum:["primary","secondary","tertiary","error","success","warning","info","errorTint","successTint","warningTint","infoTint","inverse","inverseError","inverseSuccess","inverseWarning","inverseInfo"]},AvatarSizeValue:{enum:["extraSmall","small","medium","large","extraLarge"]},ColorValue:{enum:["colorPrimary","colorOnPrimary","colorPrimaryContainer","colorOnPrimaryContainer","colorPrimaryVariant","colorOnPrimaryVariant","colorSecondary","colorOnSecondary","colorSecondaryContainer","colorOnSecondaryContainer","colorSecondaryVariant","colorOnSecondaryVariant","colorTertiary","colorOnTertiary","colorTertiaryContainer","colorOnTertiaryContainer","colorTertiaryVariant","colorOnTertiaryVariant","colorError","colorOnError","colorErrorContainer","colorOnErrorContainer","colorErrorHover","colorErrorPressed","colorErrorContainerHover","colorErrorContainerPressed","colorSuccess","colorOnSuccess","colorSuccessContainer","colorOnSuccessContainer","colorSuccessHover","colorSuccessPressed","colorSuccessContainerHover","colorSuccessContainerPressed","colorOnSuccessContainerHover","colorInfo","colorOnInfo","colorInfoContainer","colorOnInfoContainer","colorInfoHover","colorInfoPressed","colorInfoContainerHover","colorInfoContainerPressed","colorOnInfoContainerHover","colorWarning","colorOnWarning","colorWarningContainer","colorOnWarningContainer","colorWarningHover","colorWarningPressed","colorWarningContainerHover","colorWarningContainerPressed","colorOnWarningContainerHover","colorSurface","colorSurfaceDim","colorSurfaceBright","colorSurfaceContainer","colorSurfaceContainerHighest","colorSurfaceContainerHigh","colorSurfaceContainerLow","colorSurfaceContainerLowest","colorOnSurface","colorOnSurfaceVariant","colorOnSurfaceInverse","colorSurfaceHover","colorSurfacePressed","colorSurfaceDimHover","colorSurfaceDimPressed","colorSurfaceBrightHover","colorSurfaceBrightPressed","colorSurfaceContainerHover","colorSurfaceContainerPressed","colorOnSurfaceHover","colorOnSurfacePressed","colorOnSurfaceVariantHover","colorOnSurfaceVariantPressed","colorSurfaceInverse","colorInverseSurfaceHover","colorInverseSurfacePressed","colorOutline","colorOutlineVariant","colorOutlineFocus","colorOutlineInvalid","colorOutlineInverse","colorOutlineVariantInverse","colorOutlineHover","colorOutlinePressed","colorOutlineVariantHover","colorOutlineVariantPressed","colorDisabled","colorOnDisabledSurface","colorDisabledSurface","colorDisabledSurfaceSelected","colorDisabledInverse","colorDisabledSurfaceInverse","colorOnDisabledSurfaceInverse","colorOverlay","colorOverlayInverse","colorHover","colorHoverInverse","colorPressed","colorPressedInverse","componentColorStatusPrimary","componentColorStatusWarning","componentColorStatusTertiary","componentColorStatusError","componentColorStatusSuccess","componentColorStatusDisabled","componentColorAnchor","componentColorShimmerBase","componentColorShimmerMin","componentColorShimmerMid","componentColorShimmerMax","componentColorGridSelection","componentColorLabelNeutral","componentColorToggleButtonBase","componentColorNavAdminBackground","componentColorNavEeBackground","componentColorNavAdminInput","componentColorNavEeInput","componentColorNavTextColor","componentColorEditorOutline","componentColorPickerSeries1Color1","componentColorPickerSeries1Color2","componentColorPickerSeries1Color3","componentColorPickerSeries1Color4","componentColorPickerSeries1Color5","componentColorPickerSeries2Color1","componentColorPickerSeries2Color2","componentColorPickerSeries2Color3","componentColorPickerSeries2Color4","componentColorPickerSeries2Color5","componentColorPickerSeries3Color1","componentColorPickerSeries3Color2","componentColorPickerSeries3Color3","componentColorPickerSeries3Color4","componentColorPickerSeries3Color5","componentColorPickerSeries4Color1","componentColorPickerSeries4Color2","componentColorPickerSeries4Color3","componentColorPickerSeries4Color4","componentColorPickerSeries4Color5","componentColorPickerSeries5Color1","componentColorPickerSeries5Color2","componentColorPickerSeries5Color3","componentColorPickerSeries5Color4","componentColorPickerSeries5Color5","componentColorPickerSeries6Color1","componentColorPickerSeries6Color2","componentColorPickerSeries6Color3","componentColorPickerSeries6Color4","componentColorPickerSeries6Color5","componentColorPickerSeries7Color1","componentColorPickerSeries7Color2","componentColorPickerSeries7Color3","componentColorPickerSeries7Color4","componentColorPickerSeries7Color5","componentColorEditorPickerSeries1Color1","componentColorEditorPickerSeries1Color2","componentColorEditorPickerSeries1Color3","componentColorEditorPickerSeries1Color4","componentColorEditorPickerSeries1Color5","componentColorEditorPickerSeries2Color1","componentColorEditorPickerSeries2Color2","componentColorEditorPickerSeries2Color3","componentColorEditorPickerSeries2Color4","componentColorEditorPickerSeries2Color5","componentColorEditorPickerSeries3Color1","componentColorEditorPickerSeries3Color2","componentColorEditorPickerSeries3Color3","componentColorEditorPickerSeries3Color4","componentColorEditorPickerSeries3Color5","componentColorEditorPickerSeries4Color1","componentColorEditorPickerSeries4Color2","componentColorEditorPickerSeries4Color3","componentColorEditorPickerSeries4Color4","componentColorEditorPickerSeries4Color5","componentColorEditorPickerSeries5Color1","componentColorEditorPickerSeries5Color2","componentColorEditorPickerSeries5Color3","componentColorEditorPickerSeries5Color4","componentColorEditorPickerSeries5Color5","componentColorEditorPickerSeries6Color1","componentColorEditorPickerSeries6Color2","componentColorEditorPickerSeries6Color3","componentColorEditorPickerSeries6Color4","componentColorEditorPickerSeries6Color5","componentColorEditorPickerSeries7Color1","componentColorEditorPickerSeries7Color2","componentColorEditorPickerSeries7Color3","componentColorEditorPickerSeries7Color4","componentColorEditorPickerSeries7Color5","chartColorSeries1Chart1","chartColorSeries1Chart2","chartColorSeries1Chart3","chartColorSeries1Chart4","chartColorSeries1Chart5","chartColorSeries2Chart1","chartColorSeries2Chart2","chartColorSeries2Chart3","chartColorSeries2Chart4","chartColorSeries2Chart5","chartColorSeries3Chart1","chartColorSeries3Chart2","chartColorSeries3Chart3","chartColorSeries3Chart4","chartColorSeries3Chart5","chartColorSeries4Chart1","chartColorSeries4Chart2","chartColorSeries4Chart3","chartColorSeries4Chart4","chartColorSeries4Chart5","chartColorSeries5Chart1","chartColorSeries5Chart2","chartColorSeries5Chart3","chartColorSeries5Chart4","chartColorSeries5Chart5","chartColorSeries6Chart1","chartColorSeries6Chart2","chartColorSeries6Chart3","chartColorSeries6Chart4","chartColorSeries6Chart5"]},ContentFitValue:{enum:["cover","contain","fill","none","scale-down"]},DisplayValue:{enum:["none","flex"]},FlexDirectionValue:{enum:["row","column","row-reverse","column-reverse"]},FlexWrapValue:{enum:["wrap","nowrap","wrap-reverse"]},FontStyleValue:{enum:["normal","italic"]},FontWeightValue:{enum:["100","200","300","400","500","600","700","800","900","normal","bold"]},HapticValue:{enum:["hapticControlLow","hapticControlHigh","hapticInformError","hapticInformSuccess","hapticInformWarning"]},IconValue:{enum:["401KFilled","401KOutline","accessGovernance","accessibilityFilled","accessibilityOutline","accountantFilled","accountantOutline","accountingFilled","accountingOutline","actionMinimize","add","addCircleFilled","addCircleOutline","addCommentFilled","addCommentOutline","addNotificationFilled","addNotificationOutline","additionalInfoOutline","airlineStopsFilled","airlineStopsOutline","airlinesFilled","airlinesOutline","apiFilled","apiOutline","appHeader","appManagementFilled","appManagementOutline","apple","appleCrossFilled","appleCrossOutline","appleSafari","approvalFilled","approvalOutline","approveRejectShieldFilled","approveRejectShieldOutline","appsFilled","appsOutline","archiveFilled","archiveOutline","areaFilled","areaOutline","arrivalOutline","arrowDown","arrowDownAz","arrowDownLeftRight","arrowDownMini","arrowDownRight","arrowDownZa","arrowLeft","arrowRight","arrowRightPlusFilled","arrowRightPlusOutline","arrowUp","arrowUpMini","arrowUpRight","arrowUpRightBox","atomFilled","atomOutline","auditObservationFilled","auditObservationOutline","authenticatorFilled","authenticatorOutline","autoFilled","autoOutline","automatedComplianceFilled","automatedComplianceOutline","automaticTransmissionFilled","automaticTransmissionOutline","bagsFilled","bagsOutline","bandagedFootFilled","bandagedFootOutline","bankFilled","bankOutline","barChartFilled","barChartOutline","bedCrossFilled","bedCrossOutline","bentoBox","bitwarden","blogsFilled","blogsOutline","bookOpenAzFilled","bookOpenAzOutline","bookmarkFilled","bookmarkOutline","booksFilled","booksOutline","boxDashedFolderOpenFilled","boxDashedFolderOpenOutline","boxDashedTableFilled","boxDashedTableOutline","boxesFilled","boxesOutline","boxesUserFilled","boxesUserOutline","brazilianReal","brex","briefcaseFilled","briefcaseOutline","browserRipplingLogoFilled","browserRipplingLogoOutline","budgetDollarFilled","budgetDollarOutline","budgetEuroFilled","budgetEuroOutline","budgetHierarchyFilled","budgetHierarchyOutline","budgetPoundFilled","budgetPoundOutline","budgetRupeeFilled","budgetRupeeOutline","budgetYenFilled","budgetYenOutline","button","cabinClass","cabinClassUpgrade","calendarFilled","calendarMini","calendarOutline","cameraFilled","cameraOutline","cancelFilled","cancelOutline","caretDown","caretLeft","caretRight","caretUp","carriageFilled","carriageOutline","carryOnBagFilled","carryOnBagOutline","carta","certificateFilled","certificateOutline","chainBreakingFilled","chainBreakingOutline","changeCommuterBenefitsFilled","changeCommuterBenefitsOutline","changeFilled","changeFsaDollarFilled","changeFsaDollarOutline","changeFsaEuroFilled","changeFsaEuroOutline","changeFsaPoundFilled","changeFsaPoundOutline","changeFsaRupeeFilled","changeFsaRupeeOutline","changeFsaYenFilled","changeFsaYenOutline","changeInsuranceFilled","changeInsuranceOutline","changeOutline","changeTaxWithholdingFilled","changeTaxWithholdingOutline","charityFilled","charityOutline","chart3UnevenVerticalBarsFilled","chart3UnevenVerticalBarsOutline","chartSunburstFilled","chartSunburstOutline","check","checkCircleFilled","checkCircleOutline","checkboxFill","checkboxIntermediate","checkboxOutline","checkboxWithcheckOutline","checkedBagFilled","checkedBagOutline","checklist","chevronCircleDownFilled","chevronCircleDownOutline","chevronCircleUpFilled","chevronCircleUpOutline","chevronDown","chevronLeft","chevronRight","chevronUp","chrome","circleArrowUpGraphFilled","circleArrowUpGraphOutline","circleStopFilled","circleStopOutline","circlesStackedDiamondFilled","circlesStackedDiamondOutline","clear","clearFormattingFilled","clearFormattingOutline","clientCommandFilled","clientCommandOutline","clipboardCrossCheckFilled","clipboardCrossCheckOutline","clipboardHouseFilled","clipboardHouseOutline","close","closeCircleFilled","closeCircleOutline","closedCaptionsFilled","closedCaptionsOutline","co2","codecov","cogGlobeFilled","cogGlobeOutline","coinStackArrowsFilled","coinStackArrowsOutline","collapse","collapsePanelFilled","collapsePanelOutline","columnBarChartFilled","columnBarChartOutline","comboChartFilled","comboChartOutline","comfortFilled","commentsFilled","commentsOutline","companySettingsFilled","companySettingsOutline","compassFilled","compassOutline","competitiveParentalLeaveFilled","competitiveParentalLeaveOutline","compliance360","complianceTrainingFilled","complianceTrainingOutline","composeFilled","composeOutline","connectCloudFilled","connectCloudOutline","connectDatabaseFilled","connectDatabaseOutline","consultantFilled","consultantOutline","contentLibraryFilled","contentLibraryOutline","controlFilled","controlOutline","copyFilled","copyOutline","corFilled","corOutline","costaRicanColn","coursesFilled","coursesOutline","createCourseFilled","createCourseOutline","creditCardFilled","creditCardGraphFilled","creditCardGraphOutline","creditCardOutline","creditCardSpendingLimitFilled","creditCardSpendingLimitOutline","creditCardsFilled","creditCardsOutline","csvFilled","csvOutline","cup","cupDropletFilled","cupDropletOutline","currencyCoversionDollar","currencyCoversionEuro","currencyCoversionPound","currencyCoversionRupee","currencyCoversionYen","currentStepFilled","currentStepOutline","currentStepSmallFilled","currentStepSmallOutline","cursorCircleFilled","cursorCircleOutline","customAppsFilled","customAppsOutline","customFieldsFilled","customFieldsOutline","customerMaturityFilled","customerMaturityOutline","customerSpotlightFilled","customerSpotlightOutline","customerTestimonialsFilled","customerTestimonialsOutline","customizePolicyFilled","customizePolicyOutline","cut","czechKoruna","dashlane","dataConnectorFilled","dataConnectorOutline","dataTransferFilled","dataTransferOutline","decimalDecrease","decimalIncrease","deliveryTruckFilled","deliveryTruckOutline","departDate","departmentsFilled","departmentsOutline","departureFilled","departureOutline","deployFilled","deployOutline","desktopFilled","desktopOutline","deviceInventoryFilled","deviceInventoryManagementFilled","deviceInventoryManagementOutline","deviceInventoryOutline","directReportFilled","directReportsOutline","documentFilled","documentOutline","dogFriendlyFilled","dogFriendlyOutline","dollar","dollarCircleArrowsFilled","dollarCircleArrowsOutline","dollarCircleCogFilled","dollarCircleCogOutline","dollarCircleFilled","dollarCircleOutline","dollarMini","dollarSignGraph","doubleChevron","doughnutChartFilled","doughnutChartOutline","download","drag","dropdownArrowDownFilled","dropdownArrowLeftFilled","dropdownArrowRightFilled","dropdownArrowUpFilled","dropdownFilled","dropdownFolderFilled","dropdownFolderOutline","duo","duplicateFilled","duplicateOutline","eAlignCenter","eAlignJustify","eAlignLeft","eAlignRight","eAttach","eBold","eCodeEmbed","eFontColor","eFontColor1","eFontSize","eIndentDecrease","eIndentIncrease","eItalic","eLink","eStretch","eStrikethrough","eUnderline","ediFilled","ediOutline","editFilled","editInChatFilled","editInChatOutline","editOutline","electricalCordThunderboltFilled","electricalCordThunderboltOutline","emailFilled","emailOutline","employeeInfoFilled","employmentInfoFilled","employmentInfoOutline","engineeringFilled","engineeringOutline","enter","enterFullScreen","enterKeyFilled","enterKeyOutline","entertainmentFilled","entertainmentOutline","eor","equalTo","equityDollarFilled","equityDollarOutline","equityEuroFilled","equityEuroOutline","equityPoundFilled","equityPoundOutline","equityRupeeFilled","equityRupeeOutline","equityYenFilled","equityYenOutline","euro","euroCircleFilled","euroCircleOutline","eventsAndWebinarsFilled","eventsAndWebinarsOutline","excel","exitFullScreen","expand","expandPanelFilled","expandPanelOutline","expensePolicyDollarFilled","expensePolicyDollarOutline","expensePolicyEuroFilled","expensePolicyEuroOutline","expensePolicyPoundFilled","expensePolicyPoundOutline","expensePolicyRupeeFilled","expensePolicyRupeeOutline","expensePolicyYenFilled","expensePolicyYenOutline","expensify","eyeFilled","eyeOutline","facebook","featherFilled","featherOutline","feedbackFormFilled","feedbackFormOutline","fidoFilled","fidoOutline","fileCheckFilled","fileCheckOutline","fileFilled","fileOutline","fileShieldPlusFilled","fileShieldPlusOutline","fileUserCheckFilled","fileUserCheckOutline","filter","filterByTypeFilled","filterByTypeOutline","filterMini","financesFilled","financesOutline","fingerprint","fitnessFilled","fitnessOutline","flagFilled","flagOutline","flexibleWorkScheduleFilled","flexibleWorkScheduleOutline","flightsFilled","flightsOutline","floatingLeftInterfaceFilled","floatingLeftInterfaceOutline","floatingRightInterfaceFilled","floatingRightInterfaceOutline","folderFilled","folderOpen","folderOutline","fontColor","fontColorFilled","fontHighlightFilled","fontHighlightOutline","forward10Seconds","fsaFilled","fsaOutline","function","funnelChartFilled","funnelChartOutline","futureStepFilled","futureStepOutline","futureStepSmallFilled","futureStepSmallOutline","fxFilled","fxOutline","gasPumpFilled","gasPumpOutline","gaugeChartFilled","gaugeChartOutline","generalLedgerDollarFilled","generalLedgerDollarOutline","generalLedgerEuroFilled","generalLedgerEuroOutline","generalLedgerPoundFilled","generalLedgerPoundOutline","generalLedgerRupeeFilled","generalLedgerRupeeOutline","generalLedgerYenFilled","generalLedgerYenOutline","generativeDashboardFilled","generativeDashboardOutline","gifFilled","gifOutline","giftFilled","giftOutline","github","globeFilled","globeOutline","goalsFilled","goalsOutline","google","gptFilled","gptOutline","graphChart","graphCoinStackFilled","graphCoinStackOutline","greaterOrEqualTo","greaterThan","greenhouse","gridArrowsFilled","gridArrowsOutline","gridHeartFilled","gridHeartOutline","groceriesFilled","groceriesOutline","groupByFilled","groupByOutline","groupColumnsFilled","groupColumnsOutline","gsuite","guidepostFilled","guidepostOutline","hamburger","handCreditCardFilled","handCreditCardOutline","handDollarFilled","handDollarOutline","handLaptopFilled","handLaptopOutline","handPlusFilled","handPlusOutline","handStackedCoinsFilled","handStackedCoinsOutline","handTimeFilled","handTimeOutline","handUserFilled","handUserOutline","handWavingFilled","handWavingOutline","handshakeFilled","handshakeOutline","headHeartFilled","headHeartOutline","heading1","heading2","heading3","heading4","heading5","heading6","headphonesFilled","headphonesOutline","healFilled","healingOutline","healthFilled","healthOutline","heartFilled","heartGraphFilled","heartGraphOutline","heartOutline","helpCenterFilled","helpCenterOutline","helpFilled","helpOutline","hideFilled","hideOutline","hierarchyHorizontalFilled","hierarchyHorizontalOutline","highPriority","history","homeExit","homeFilled","homeOutline","hotelClassFilled","hotelFilled","hotelOutline","hourglassCheckedFilled","hourglassCheckedOutline","hrFilled","hrOutline","hsaFilled","hsaOutline","i9Filled","i9Outline","imageAdjustWrapText","imageAlignmentCenterFilled","imageAlignmentCenterOutline","imageAlignmentLeftFilled","imageAlignmentLeftOutline","imageAlignmentRightFilled","imageAlignmentRightOutline","imageFilled","imageOutline","inPlanFilled","inPlanOutline","inProgressStepFilled","inProgressStepOutline","inProgressStepSmallFilled","inProgressStepSmallOutline","inboxFilled","inboxOutline","infoAdditional","infoCircleFill","infoCircleOutline","infoSpeachBoxFilled","infoSpeachBoxOutline","inpolicyFilled","inpolicyOutline","instagram","insuranceFilled","insuranceOutline","integratedAppsFilled","integratedAppsOutline","interactiveCourseFilled","interactiveCourseOutline","invoiceDollarFilled","invoiceDollarOutline","invoiceEuroFilled","invoiceEuroOutline","invoicePoundFilled","invoicePoundOutline","invoiceRupeeFilled","invoiceRupeeOutline","invoiceYenFilled","invoiceYenOutline","ios","iphoneOutline","itFilled","itOutline","jira","kanban","key","keyHardwareSecurityFilled","keyHardwareSecurityOutline","keyholeFilled","keyholeOutline","kioskFilled","kioskOutline","labs","laptopCrossFilled","laptopCrossOutline","laptopFilled","laptopGraphFilled","laptopGraphOutline","laptopOutline","laptopPhoneFilled","laptopPhoneOutline","lastpass","lattice","leaveManagementFilled","leaveManagementOutlined","legalFilled","legalOutline","legroomFilled","legroomOutline","lessOrEqualTo","lessThan","lifeFilled","lifeOutline","lightbulbFilled","lightbulbOutline","lineChart","lineDotsLine","lineHeight","lineSpacing","linkHorizontal","linkOutlet","linkedin","listFilled","listMini","listOutline","lithuanianLitas","lmsFilled","lmsOutline","loader","locationFilled","locationOutline","locationPinHeartFilled","locationPinHeartOutline","locationPinsFilled","locationPinsOutline","lockFilled","lockOutline","longAnswerFilled","longAnswerOutline","lsaFilled","lsaOutline","macos","magnifyingGlassStarFilled","magnifyingGlassStarOutline","manualTransmissionFilled","manualTransmissionOutline","markAsStolenFilled","markAsStolenOutline","marketingAndAdvertisingFilled","marketingAndAdvertisingOutline","mealsFilled","mealsOutline","mealsSnacksDrinksFilled","mealsSnacksDrinksOutline","medicalFilled","medicalOutline","meetingRoomsFilled","meetingRoomsOutlined","mergeCells","messageFilled","messageOutline","metricChart","microphoneFilled","microphoneOutline","monitoring","moreFilled","moreHorizontal","moreVertical","mozillaFirefox","multiSelectFilled","multiSelectOutline","multiStopFilled","multiStopOutline","muteFilled","muteOutline","myAccountSettingsFilled","myAccountSettingsOutline","newspaperFilled","newspaperOutline","nextSpeaker","noWifi","nonprofitFilled","nonprofitOutline","notEqualTo","notice","notificationFilled","notificationOutline","numberedList","numbersMini","objectFilled","objectOutline","office365","officeFilled","officeOutline","officeSuppliesFilled","officeSuppliesOutline","offlineFilled","offlineOutline","oneOnOneFilled","oneOnOneOutline","onlineFilled","onlineOutline","openApi","opera","opsgenie","options","originFilled","originOutline","outOfPlanFilled","outOfPlanOutline","outOfPolicyOutline","overnightFilled","overnightOutline","overtimePolicyFilled","overtimePolicyOutline","pageBreakFilled","pageBreakOutline","pageFooterFilled","pageFooterOutline","pageHeaderFooterFilled","pageHeaderFooterOutline","pageHeaderFilled","pageHeaderOutline","paidSeatSelectionFilled","paidSeatSelectionOutline","paintRollerFilled","paintRollerOutline","password","passwordRefreshFilled","passwordRefreshOutline","pastStepSmallFilled","pastStepSmallOutline","pasteFilled","pasteOutline","pause","pauseCircleFilled","pauseCircleOutline","payScheduleDollarFilled","payScheduleDollarOutlined","payScheduleEuroFilled","payScheduleEuroOutline","paySchedulePoundFilled","paySchedulePoundOutline","payScheduleRupeeFilled","payScheduleRupeeOutline","payScheduleYenFilled","payScheduleYenOutline","payrollAndTimeDollarFilled","payrollFilled","payrollOutline","payrollReportDollarFilled","payrollReportDollarOutline","payrollReportEuroFilled","payrollReportEuroOutline","payrollReportPoundFilled","payrollReportPoundOutline","payrollReportRupeeFilled","payrollReportRupeeOutline","payrollReportYenFilled","payrollReportYenOutline","payrollTimeDollarOutline","payrollTimeEuroFilled","payrollTimeEuroOutline","payrollTimePoundFilled","payrollTimePoundOutline","payrollTimeRupeeFilled","payrollTimeRupeeOutline","payrollTimeYenFilled","payrollTimeYenOutline","paystubDollar","paystubEuro","paystubPound","paystubRupee","paystubYen","pdfFilled","pdfOutline","pendingApprovalFilled","pendingApprovalOutline","pendingCircleFilled","pendingCircleOutline","pendingFilled","pendingOutline","peoFilled","peoOutline","peopleHeartFilled","peopleHeartOutline","percentFilled","percentMini","percentOutline","philippinePeso","phoneFilled","phoneOutline","photoGalleryFilled","photoGalleryOutlined","pieChartGraphFilled","pieChartGraphOutline","pinLeft","pinRight","plaid","platform","playButtonFilled","playCircleFilled","playCircleOutline","playOutline","pointInTimeFilled","pointInTimeOutline","polishZloty","pound","poundCircleFilled","poundCircleOutline","powerButton","powerFilled","powerOutline","priceCap","provisionUsersFilled","provisionUsersOffboardFilled","provisionUsersOffboardOutline","provisionUsersOnboardFilled","provisionUsersOnboardOutline","provisionUsersOutline","publicTransportationFilled","publicTransportationOutline","pulley","pushFilled","pushOutline","puzzlePieceFilled","puzzlePieceOutline","qrcodeFilled","qrcodeOutline","questionCircleFilled","questionCircleOutline","quoteFilled","quoteOutline","radioSelected","radioUnselected","ramp","readinessFilled","readinessOutline","rearrange","reassignComputerFilled","reassignComputerOutline","receiptFilled","receiptOutline","recieptAttachedCorrectAmountFilled","recieptAttachedCorrectAmountOutline","recieptAttachedWrongAmountFilled","recieptAttachedWrongAmountOutline","recieptMissingFilled","recieptMissingOutline","recipesFilled","recipesOutline","reclineExtraFilled","reclineExtraOutline","reclineNormalFilled","reclineNormalOutline","recruiting","recruitingFilled","recruitingOutline","recruitingOutline1","redo","redoArrow","redoCrossedOutline","referralsFilled","referralsOutline","refreshCrossed","refreshFilled","refreshOutline","remediationFilled","remediationOutline","removeCircleFilled","removeCircleOutline","reportChecklistFilled","reportChecklistOutline","reportFilled","reportMonitoringFilled","reportMonitoringOutline","reportOutline","reportsOutline","retailDollarFilled","retailDollarOutline","retailEuroFilled","retailEuroOutline","retailPoundFilled","retailPoundOutline","retailRupeeFilled","retailRupeeOutline","retailYenFilled","retailYenOutline","return","returnDate","reviewCyclesFilled","reviewCyclesOutline","rewind10Seconds","richtext","rideshareFilled","rideshareOutline","rippling","ripplingAiFilled","ripplingAiOutline","ripplingRecommendedFilled","ripplingRecommendedOutline","riskFilled","riskOutline","roiFilled","roiOutline","roleMini","rpassFilled","rpassOutline","rqlFilled","rqlOutline","rupee","rupeeCircleFilled","rupeeCircleOutline","salesFilled","salesOutline","salesforce","sandboxFilled","sandboxOutline","saveAndExitFilled","saveAndExitOutline","scale","scaleFilled","scaleOutline","scaleOutlined","scatterChart","searchFilled","searchOutline","seatBasicFilled","seatBasicOutline","seatLuxuryFilled","seatLuxuryOutline","seatPlusFilled","seatPlusOutline","seatPremiumFilled","seatPremiumOutline","seatStandardFilled","seatStandardOutline","sendFilled","sendOutline","serverCheckFilled","serverCheckOutline","serverFilled","serverKeyFilled","serverKeyOutline","serverOutline","settingsFilled","settingsOutline","shareFilled","shareOutline","sharedFolderFilled","sharedFolderOutline","shieldAirplaneFilled","shieldAirplaneOutline","shieldBuildingHospitalFilled","shieldBuildingHospitalOutline","shieldCalanderFilled","shieldCalanderOutline","shieldCarFilled","shieldCarOutline","shieldCirclePFilled","shieldCirclePOutline","shieldClockFilled","shieldClockOutline","shieldCrossFilled","shieldCrossOutline","shieldDisabledFilled","shieldDisabledOutline","shieldEyeFilled","shieldEyeOutline","shieldFilled","shieldHeartsFilled","shieldHeartsOutline","shieldOutline","shieldPawPrintFilled","shieldPawPrintOutline","shieldRibbonFilled","shieldRibbonOutline","shieldToothFilled","shieldToothOutline","shieldTrainFilled","shieldTrainOutline","shieldUserHandUpFilled","shieldUserHandUpOutline","shieldWavePulseFilled","shieldWavePulseOutline","shoppingBasketCrossFilled","shoppingBasketCrossOutline","shortAnswer","sidebarFilled","sidebarOutline","signatureFilled","signatureOutline","skip","skipLogicFilled","skipLogicOutline","slack","slideControlArrows","smartphoneFilled","smilePlusFilled","smilePlusOutline","sort","sortAscending","sortAscendingMini","sortDescending","sortDescendingMini","soundFilled","soundOutline","speachBoxLabelFilled","speachBoxLabelOutline","spellCheck","splitArrows","sqlFilled","sqlOutline","stackedBarChartFilled","stackedBarChartOutline","stackedCoinsFilled","stackedCoinsOutline","stackedVChartFilled","stackedVChartOutline","starCircleFilled","starCircleOutline","starFilled","starGraphFilled","starGraphOutline","starHalf","starOutline","startupsFilled","startupsOutline","stethoscpeFilled","stethoscpeOutline","stopAtAirportFilled","stopAtAirportOutline","stretch","strongNo","strongYes","sumFilled","sumOutline","sunFilled","sunOutline","surveyDissatisfiedFilled","surveyDissatisfiedOutline","surveyNeutralFilled","surveyNeutralOutline","surveySatisfiedFilled","surveySatisfiedOutline","surveyVeryDissatisfiedFilled","surveyVeryDissatisfiedOutline","surveyVerySatisfiedFilled","surveyVerySatisfiedOutline","swap","swissFranc","table","tableColumnFilled","tableColumnOutline","tagFilled","tagOutline","talentFilled","talentOutline","talentSignalFilled","talentSignalOutline","targetPointer","taskFilled","taskOutline","tasksFilled","tasksOutline","taxLogo","taxWithholdingFilled","taxWithholdingOutline","taxesFilled","taxesOutlined","technologyFilled","technologyOutline","textClip","textDirectionArrowLeft","textDirectionArrowRight","textMini","textOverflow","textWrap","thaiBaht","thirdPartyData","thumbDownFilled","thumbDownOutline","thumbUpFilled","thumbUpOutline","thumbtackFilled","thumbtackOutline","thunderboltFilled","thunderboltOutline","timeFilled","timeGraphFilled","timeGraphOutline","timeOutline","toggleOffFilled","toggleOffOutline","toggleOnFilled","toggleOnOutline","toilet","toolsFilled","toolsOutline","transformationsFilled","transformationsOutline","translate","trashFilled","trashOutline","travelFilled","travelOutline","trendReportFilled","trendReportOutline","trip","tvos","twitter","twoFactorDeviceFilled","twoFactorDevicesOutline","uShieldFill","uShieldOutline","umbrellaFilled","umbrellaOutline","unArchiveFilled","unArchiveOutline","unassignComputerFilled","unassignComputerOutline","undo","ungroupColumnsFilled","ungroupColumnsOutline","unifiedSystemFilled","unifiedSystemOutlined","uninstallFilled","uninstallOutline","uniqueIdFilled","uniqueIdOutlined","unlimitedPtoFilled","unlimitedPtoOutline","unlockFilled","unlockOutline","updateAddress","upload","userArmSlingFilled","userArmSlingOutline","userCirclePlusFilled","userCirclePlusOutline","userClockFilled","userClockOutline","userCogFilled","userCogOutline","userDepartmentFilled","userDepartmentOutline","userFileFilled","userFileOutline","userFilled","userFormEditFilled","userFormEditOutline","userGraphFilled","userGraphOutline","userGroupCheckedFilled","userGroupCheckedOutline","userHeartFilled","userHeartOutline","userIdHookFilled","userIdHookOutline","userLaptopFilled","userLaptopOutline","userLockFilled","userLockOutline","userOutline","userTicketFilled","userTicketOutline","usersConnected","usersFilled","usersHeartFilled","usersHeartOutline","usersOutline","usersRipplingLogoFilled","usersRipplingLogoOutline","usersStackedFilled","usersStackedOutline","v2AddCircleFilled","v2AirlineStopsFilled","v2AirlinesFilled","v2Arrival","v2ArrowLeft","v2ArrowRight","v2AutoFilled","v2BagsFilled","v2CabinClass","v2Carryon","v2Check","v2CheckCircleFilled","v2CheckboxFill","v2CheckboxIntermediate","v2CheckboxOutline","v2Checkroom","v2ChevronDown","v2ChevronLeft","v2ChevronRight","v2ChevronUp","v2Close","v2CloseCircleFilled","v2Co2","v2ComfortFilled","v2Copy","v2Crib","v2DepartureFilled","v2EditFilled","v2EndDate","v2Gallery","v2HotelFilled","v2Hotelclass","v2KeyFilled","v2KeyOutline","v2LegroomFilled","v2Location","v2OriginFilled","v2OutOfPolicy","v2PowerFilled","v2PriceCap","v2PublicTransportationFilled","v2RadioSelected","v2RadioUnselected","v2RemoveCircleFilled","v2SearchOutline","v2Send","v2StairsFilled","v2StartDate","v2Stops","v2Swap","v2ThunderboltFilled","v2TimeFilled","v2Toilet","v2TravelFilled","v2Wifi","variable","variableSelectorMini","vaultFilled","vaultOutline","vendorFilled","vendorOutline","vennDiagramAndFilled","vennDiagramAndOutline","vennDiagramOrFilled","vennDiagramOrOutline","verifiedCheckFilled","verifiedCheckOutline","videoFilled","videoOutline","visaLogo","vpnFilled","vpnOutline","walletCardFilled","walletCardOutline","warningCircleFilled","warningCircleOutline","warningTriangleFilled","warningTriangleOutline","wellnessAndMeditationClassesFilled","wellnessAndMeditationClassesOutline","wheelchairCrossFilled","wheelchairCrossOutline","wifi","windowPopOutFilled","windowPopOutOutline","windows","windowsEdge","windowsSmile","wineClubFilled","wineOutline","withdrawFilled","withdrawOutline","workFromHomeStipendFilled","workFromHomeStipendOutline","wrenchFilled","wrenchOutline","xmlFilled","xmlOutline","yen","yenCircleFilled","yenCircleOutline","yubikey","zendesk","zipFilled","zipOutline","zoom","zoomInFilled","zoomInOutline","zoomOutFilled","zoomOutOutline"]},JustifyContentValue:{enum:["flex-start","flex-end","center","space-between","space-around","space-evenly"]},OpacityValue:{enum:["opacity0","opacity5","opacity10","opacity15","opacity20","opacity25","opacity30","opacity35","opacity40","opacity45","opacity50","opacity55","opacity60","opacity65","opacity70","opacity75","opacity80","opacity85","opacity90","opacity95","opacity100"]},OverflowValue:{enum:["visible","hidden","scroll"]},PositionValue:{enum:["absolute","relative"]},ShapeBorderWidthValue:{enum:["shapeBorderWidthNone","shapeBorderWidthXs","shapeBorderWidthSm","shapeBorderWidthMd","shapeBorderWidthLg","shapeBorderWidthXl"]},ShapeCornerValue:{enum:["shapeCornerNone","shapeCornerXs","shapeCornerSm","shapeCornerMd","shapeCornerLg","shapeCornerXl","shapeCorner2xl","shapeCorner3xl","shapeCorner4xl","shapeCornerFull"]},SizeValue:{enum:["size0","size25","size50","size75","size100","size125","size150","size175","size200","size225","size250","size275","size300","size350","size400","size450","size500","size600","size700","size800","size900","size1000","size1100","size1200","size1400","size1600","size2000","size2400","size2800","size3200","size3600","size4000","size4400","size4800","size5200","size5600","size6000","size6400","size7200","size8000","size9600","size11200","size12800","size14400","size19200","size25600","size28800","size32000","size36000"]},SpaceValue:{enum:["space0","space25","space50","space75","space100","space125","space150","space175","space200","space225","space250","space275","space300","space350","space400","space450","space500","space600","space700","space800","space900","space1000","space1100","space1200","space1400","space1600","space2000","space2400","space2800","space3200","space3600","space4000","space4400","space4800","space5200","space5600","space6000","space6400","space7200","space8000","space9600"]},TextAlignValue:{enum:["auto","left","right","center","justify"]},TextAlignVerticalValue:{enum:["auto","top","bottom","center"]},TextDecorationLineValue:{enum:["none","underline","line-through","underline line-through"]},TextDecorationStyleValue:{enum:["solid","double","dotted","dashed"]},TextTransformValue:{enum:["none","capitalize","uppercase","lowercase"]},TypestyleValue:{enum:["typestyleV2TitleLarge","typestyleV2TitleMedium","typestyleV2TitleSmall","typestyleV2BodyLarge","typestyleV2BodyLargeEmphasized","typestyleV2BodyMedium","typestyleV2BodyMediumEmphasized","typestyleV2BodySmall","typestyleV2BodySmallEmphasized","typestyleV2LabelLarge","typestyleV2LabelMedium","typestyleV2LabelSmall","typestyleV2LabelSmallEmphasized","typestyleV2LabelExtraSmall","typestyleV2LabelExtraSmallWide","typestyleDisplayLarge600","typestyleDisplayMedium600","typestyleDisplaySmall600","typestyleTitleExtraLarge600","typestyleTitleLarge600","typestyleTitleMedium600","typestyleTitleSmall600","typestyleTitleSmall400","typestyleTitleExtraSmall600Caps","typestyleBodyLarge600","typestyleBodyLarge500","typestyleBodyMedium600","typestyleBodyMedium500","typestyleBodyMedium400","typestyleBodySmall600","typestyleBodySmall500","typestyleBodySmall400","typestyleLabelExtraLarge700","typestyleLabelExtraLarge600","typestyleLabelExtraLarge500","typestyleLabelExtraLarge400","typestyleLabelLarge600","typestyleLabelLarge500","typestyleLabelLarge400","typestyleLabelMedium700","typestyleLabelMedium600","typestyleLabelMedium500","typestyleLabelSmall600","typestyleLabelSmall500"]},UnderlayAppearanceValue:{enum:["none","base","inverse","opacity"]},ValidateOnValue:{enum:["change","blur","submit"]},VariantValue:{enum:["base","pill","text","small"]},WritingDirectionValue:{enum:["auto","ltr","rtl"]}};function If(){return Object.fromEntries(Object.entries(Ee).map(([e,t])=>[e,String(t.description??"")]))}function Ef(){return Object.fromEntries(Object.entries($t).map(([e,t])=>[e,String(t.description??"")]))}function Nf(){return Object.fromEntries(Object.entries(rt).map(([e,t])=>[e,String(t.description??"")]))}function xf(){return rt}function Af(){return lr}function zf(e){if(!(e in Ee))throw new Error(`Unknown component '${e}'. Available: ${Object.keys(Ee).join(", ")}`);const t={...Ee[e]};return delete t.example,t}function Mf(e){if(!(e in $t))throw new Error(`Unknown action '${e}'. Available: ${Object.keys($t).join(", ")}`);return $t[e]}function Bf(e){if(!(e in rt))throw new Error(`Unknown function '${e}'. Available: ${Object.keys(rt).join(", ")}`);return rt[e]}const Hi=[{type:"object",additionalProperties:!1,properties:{$state:{type:"string"}},required:["$state"]},{type:"object",additionalProperties:!1,properties:{$bindState:{type:"string"}},required:["$bindState"]},{type:"object",additionalProperties:!1,properties:{$item:{type:"string"}},required:["$item"]},{type:"object",additionalProperties:!1,properties:{$bindItem:{type:"string"}},required:["$bindItem"]},{type:"object",additionalProperties:!1,properties:{$index:{}},required:["$index"]},{type:"object",additionalProperties:!1,properties:{$template:{type:"string"}},required:["$template"]},{type:"object",additionalProperties:!1,properties:{$cond:{},$then:{},$else:{}},required:["$cond","$then","$else"]},{type:"object",additionalProperties:!1,properties:{$computed:{type:"string"},args:{type:"object"}},required:["$computed","args"]}];function Lf(e){return Object.keys(lr).length===0?e:{...e,$defs:{...lr,...e.$defs??{}}}}function qf(e){const t=JSON.parse(JSON.stringify(e)),r=t.properties??{};for(const i of Object.keys(r)){const o=r[i];Array.isArray(o.anyOf)?o.anyOf=[...o.anyOf,...Hi]:r[i]={anyOf:[o,...Hi]}}return t}function Hf(e){return e?e.slice(1).split("/").map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~")).join("."):"(root)"}function Wf(e){const t=Hf(e.instancePath);return e.keyword==="anyOf"?`props ${t}: must match the declared schema or a reactive reference`:`props ${t}: ${e.message??"failed schema validation"}`}function Uf(e,t){const i=new Tf.Ajv2020({allErrors:!0,strict:!1}).compile(e);if(i(t))return[];const o=i.errors??[],n=new Set(o.filter(a=>a.keyword==="anyOf").map(a=>a.instancePath));return o.filter(a=>a.keyword==="anyOf"?!0:!(a.schemaPath.includes("/anyOf/")&&n.has(a.instancePath))).map(Wf)}function Gf(e){const t=[],r=e.elements??{},i=e.root;i&&!(i in r)&&t.push(`Root element '${i}' not found in elements map`);for(const[o,n]of Object.entries(r)){const a=n.type??"";if(!(a in Ee)){t.push(`Element '${o}': unknown type '${a}'`);continue}const l=Ee[a],d=l.propsSchema;if(d){const k=Lf(qf(d)),S=n.props??{};for(const $ of Uf(k,S))t.push(`Element '${o}': ${$}`)}const c=n.on??{},f=l.events??[];for(const k of Object.keys(c))f.includes(k)||t.push(`Element '${o}': unknown event '${k}'. Valid: ${f.join(", ")}`);(n.children??[]).length>0&&!l.acceptsChildren&&t.push(`Element '${o}': '${a}' does not accept children`)}return t}function Kf(e){return{...Xo.renderElementTree(e.root,e.state),platform:"mobile",catalog:Jo,catalogVersion:Yo}}exports.ActionCard=Qo;exports.Anchor=en;exports.Avatar=tn;exports.AvatarStack=rn;exports.Badge=on;exports.Button=nn;exports.CATALOG_NAME=Jo;exports.CATALOG_VERSION=Yo;exports.Card=sn;exports.Checkbox=an;exports.CheckboxGroup=ln;exports.Chip=dn;exports.CondensedFooter=cn;exports.CondensedHeader=pn;exports.Country=un;exports.Currency=fn;exports.Date=hn;exports.DateRange=mn;exports.DateTimePicker=gn;exports.Divider=yn;exports.Email=bn;exports.ExpansionPanel=$n;exports.FileViewerButton=vn;exports.FileViewerPressable=Sn;exports.FilterHeader=wn;exports.FloatingButton=kn;exports.Footer=On;exports.Form=Cn;exports.Group=Pn;exports.HStack=Fn;exports.Header=_n;exports.Hidden=Vn;exports.Icon=Dn;exports.Image=jn;exports.InputText=Rn;exports.Label=Tn;exports.List=In;exports.ListItem=En;exports.ModalActionHeader=Nn;exports.ModalSheet=xn;exports.Notice=An;exports.Number=zn;exports.ObjectFooter=Mn;exports.ObjectItem=Bn;exports.ObjectListView=Ln;exports.ObjectListViewCard=qn;exports.Password=Hn;exports.Percentage=Wn;exports.Phone=Un;exports.Pressable=Gn;exports.ProgressIndicator=Kn;exports.Radio=Jn;exports.RadioGroup=Yn;exports.Search=Zn;exports.SectionHeader=Xn;exports.Select=Qn;exports.SelectChips=es;exports.Signature=ts;exports.Sin=rs;exports.Slider=is;exports.SliderRange=os;exports.SnackBar=ns;exports.Spacer=ss;exports.Spinner=as;exports.Ssn=ls;exports.Status=ds;exports.StatusBar=cs;exports.Switch=ps;exports.Tabs=us;exports.Text=fs;exports.Textarea=hs;exports.Time=ms;exports.TimeRange=gs;exports.Tip=ys;exports.VStack=bs;exports.Widget=$s;exports.WorkEmail=vs;exports.currencyFormat=Os;exports.currencyGetCurrencyCodeByCountryCode=Cs;exports.currencyGetCurrencyNameByCode=Ps;exports.currencyGetCurrencySymbol=_s;exports.currencyIsConvertableToCurrency=Vs;exports.currencyToMoney=Fs;exports.dateTimeAdd=Ds;exports.dateTimeFormat=js;exports.getAction=Mf;exports.getActions=Ef;exports.getComponent=zf;exports.getComponents=If;exports.getComputedFunctions=xf;exports.getDefs=Af;exports.getFunction=Bf;exports.getFunctions=Nf;exports.goBack=Ss;exports.navigate=ws;exports.push=ks;exports.render=Kf;exports.validate=Gf;
8
+ deps: ${f}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[c,f]=n(d);a(d,c),l(d,f)}};function n({schema:d}){const c={},f={};for(const h in d){if(h==="__proto__")continue;const k=Array.isArray(d[h])?c:f;k[h]=d[h]}return[c,f]}function a(d,c=d.schema){const{gen:f,data:h,it:k}=d;if(Object.keys(c).length===0)return;const S=f.let("missing");for(const $ in c){const w=c[$];if(w.length===0)continue;const g=(0,i.propertyInData)(f,h,$,k.opts.ownProperties);d.setParams({property:$,depsCount:w.length,deps:w.join(", ")}),k.allErrors?f.if(g,()=>{for(const u of w)(0,i.checkReportMissingProp)(d,u)}):(f.if((0,t._)`${g} && (${(0,i.checkMissingProp)(d,w,S)})`),(0,i.reportMissingProp)(d,S),f.else())}}e.validatePropertyDeps=a;function l(d,c=d.schema){const{gen:f,data:h,keyword:k,it:S}=d,$=f.name("valid");for(const w in c)(0,r.alwaysValidSchema)(S,c[w])||(f.if((0,i.propertyInData)(f,h,w,S.opts.ownProperties),()=>{const g=d.subschema({keyword:k,schemaProp:w},$);d.mergeValidEvaluated(g,$)},()=>f.var($,!0)),d.ok($))}e.validateSchemaDeps=l,e.default=o})(Ft);var Lr={};Object.defineProperty(Lr,"__esModule",{value:!0});const qo=E,Fc=V,jc={message:"property name must be valid",params:({params:e})=>(0,qo._)`{propertyName: ${e.propertyName}}`},Rc={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:jc,code(e){const{gen:t,schema:r,data:i,it:o}=e;if((0,Fc.alwaysValidSchema)(o,r))return;const n=t.name("valid");t.forIn("key",i,a=>{e.setParams({propertyName:a}),e.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},n),t.if((0,qo.not)(n),()=>{e.error(!0),o.allErrors||t.break()})}),e.ok(n)}};Lr.default=Rc;var jt={};Object.defineProperty(jt,"__esModule",{value:!0});const pt=x,re=E,Tc=Q,ut=V,Ic={message:"must NOT have additional properties",params:({params:e})=>(0,re._)`{additionalProperty: ${e.additionalProperty}}`},Ec={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Ic,code(e){const{gen:t,schema:r,parentSchema:i,data:o,errsCount:n,it:a}=e;if(!n)throw new Error("ajv implementation error");const{allErrors:l,opts:d}=a;if(a.props=!0,d.removeAdditional!=="all"&&(0,ut.alwaysValidSchema)(a,r))return;const c=(0,pt.allSchemaProperties)(i.properties),f=(0,pt.allSchemaProperties)(i.patternProperties);h(),e.ok((0,re._)`${n} === ${Tc.default.errors}`);function h(){t.forIn("key",o,g=>{!c.length&&!f.length?$(g):t.if(k(g),()=>$(g))})}function k(g){let u;if(c.length>8){const b=(0,ut.schemaRefOrVal)(a,i.properties,"properties");u=(0,pt.isOwnProperty)(t,b,g)}else c.length?u=(0,re.or)(...c.map(b=>(0,re._)`${g} === ${b}`)):u=re.nil;return f.length&&(u=(0,re.or)(u,...f.map(b=>(0,re._)`${(0,pt.usePattern)(e,b)}.test(${g})`))),(0,re.not)(u)}function S(g){t.code((0,re._)`delete ${o}[${g}]`)}function $(g){if(d.removeAdditional==="all"||d.removeAdditional&&r===!1){S(g);return}if(r===!1){e.setParams({additionalProperty:g}),e.error(),l||t.break();return}if(typeof r=="object"&&!(0,ut.alwaysValidSchema)(a,r)){const u=t.name("valid");d.removeAdditional==="failing"?(w(g,u,!1),t.if((0,re.not)(u),()=>{e.reset(),S(g)})):(w(g,u),l||t.if((0,re.not)(u),()=>t.break()))}}function w(g,u,b){const C={keyword:"additionalProperties",dataProp:g,dataPropType:ut.Type.Str};b===!1&&Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(C,u)}}};jt.default=Ec;var qr={};Object.defineProperty(qr,"__esModule",{value:!0});const Nc=oe,Vi=x,Qt=V,Di=jt,xc={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:o,it:n}=e;n.opts.removeAdditional==="all"&&i.additionalProperties===void 0&&Di.default.code(new Nc.KeywordCxt(n,Di.default,"additionalProperties"));const a=(0,Vi.allSchemaProperties)(r);for(const h of a)n.definedProperties.add(h);n.opts.unevaluated&&a.length&&n.props!==!0&&(n.props=Qt.mergeEvaluated.props(t,(0,Qt.toHash)(a),n.props));const l=a.filter(h=>!(0,Qt.alwaysValidSchema)(n,r[h]));if(l.length===0)return;const d=t.name("valid");for(const h of l)c(h)?f(h):(t.if((0,Vi.propertyInData)(t,o,h,n.opts.ownProperties)),f(h),n.allErrors||t.else().var(d,!0),t.endIf()),e.it.definedProperties.add(h),e.ok(d);function c(h){return n.opts.useDefaults&&!n.compositeRule&&r[h].default!==void 0}function f(h){e.subschema({keyword:"properties",schemaProp:h,dataProp:h},d)}}};qr.default=xc;var Hr={};Object.defineProperty(Hr,"__esModule",{value:!0});const Fi=x,ft=E,ji=V,Ri=V,Ac={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:o,it:n}=e,{opts:a}=n,l=(0,Fi.allSchemaProperties)(r),d=l.filter(w=>(0,ji.alwaysValidSchema)(n,r[w]));if(l.length===0||d.length===l.length&&(!n.opts.unevaluated||n.props===!0))return;const c=a.strictSchema&&!a.allowMatchingProperties&&o.properties,f=t.name("valid");n.props!==!0&&!(n.props instanceof ft.Name)&&(n.props=(0,Ri.evaluatedPropsToName)(t,n.props));const{props:h}=n;k();function k(){for(const w of l)c&&S(w),n.allErrors?$(w):(t.var(f,!0),$(w),t.if(f))}function S(w){for(const g in c)new RegExp(w).test(g)&&(0,ji.checkStrictMode)(n,`property ${g} matches pattern ${w} (use allowMatchingProperties)`)}function $(w){t.forIn("key",i,g=>{t.if((0,ft._)`${(0,Fi.usePattern)(e,w)}.test(${g})`,()=>{const u=d.includes(w);u||e.subschema({keyword:"patternProperties",schemaProp:w,dataProp:g,dataPropType:Ri.Type.Str},f),n.opts.unevaluated&&h!==!0?t.assign((0,ft._)`${h}[${g}]`,!0):!u&&!n.allErrors&&t.if((0,ft.not)(f),()=>t.break())})})}}};Hr.default=Ac;var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});const zc=V,Mc={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:i}=e;if((0,zc.alwaysValidSchema)(i,r)){e.fail();return}const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};Wr.default=Mc;var Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});const Bc=x,Lc={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Bc.validateUnion,error:{message:"must match a schema in anyOf"}};Ur.default=Lc;var Gr={};Object.defineProperty(Gr,"__esModule",{value:!0});const bt=E,qc=V,Hc={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,bt._)`{passingSchemas: ${e.passing}}`},Wc={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Hc,code(e){const{gen:t,schema:r,parentSchema:i,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&i.discriminator)return;const n=r,a=t.let("valid",!1),l=t.let("passing",null),d=t.name("_valid");e.setParams({passing:l}),t.block(c),e.result(a,()=>e.reset(),()=>e.error(!0));function c(){n.forEach((f,h)=>{let k;(0,qc.alwaysValidSchema)(o,f)?t.var(d,!0):k=e.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},d),h>0&&t.if((0,bt._)`${d} && ${a}`).assign(a,!1).assign(l,(0,bt._)`[${l}, ${h}]`).else(),t.if(d,()=>{t.assign(a,!0),t.assign(l,h),k&&e.mergeEvaluated(k,bt.Name)})})}}};Gr.default=Wc;var Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});const Uc=V,Gc={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const o=t.name("valid");r.forEach((n,a)=>{if((0,Uc.alwaysValidSchema)(i,n))return;const l=e.subschema({keyword:"allOf",schemaProp:a},o);e.ok(o),e.mergeEvaluated(l)})}};Kr.default=Gc;var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0});const Ot=E,Ho=V,Kc={message:({params:e})=>(0,Ot.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Ot._)`{failingKeyword: ${e.ifClause}}`},Jc={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Kc,code(e){const{gen:t,parentSchema:r,it:i}=e;r.then===void 0&&r.else===void 0&&(0,Ho.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const o=Ti(i,"then"),n=Ti(i,"else");if(!o&&!n)return;const a=t.let("valid",!0),l=t.name("_valid");if(d(),e.reset(),o&&n){const f=t.let("ifClause");e.setParams({ifClause:f}),t.if(l,c("then",f),c("else",f))}else o?t.if(l,c("then")):t.if((0,Ot.not)(l),c("else"));e.pass(a,()=>e.error(!0));function d(){const f=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(f)}function c(f,h){return()=>{const k=e.subschema({keyword:f},l);t.assign(a,l),e.mergeValidEvaluated(k,a),h?t.assign(h,(0,Ot._)`${f}`):e.setParams({ifClause:f})}}}};function Ti(e,t){const r=e.schema[t];return r!==void 0&&!(0,Ho.alwaysValidSchema)(e,r)}Jr.default=Jc;var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});const Yc=V,Zc={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,Yc.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};Yr.default=Zc;Object.defineProperty(Ar,"__esModule",{value:!0});const Xc=Me,Qc=zr,ep=Be,tp=Mr,rp=Br,ip=Ft,op=Lr,np=jt,sp=qr,ap=Hr,lp=Wr,dp=Ur,cp=Gr,pp=Kr,up=Jr,fp=Yr;function hp(e=!1){const t=[lp.default,dp.default,cp.default,pp.default,up.default,fp.default,op.default,np.default,ip.default,sp.default,ap.default];return e?t.push(Qc.default,tp.default):t.push(Xc.default,ep.default),t.push(rp.default),t}Ar.default=hp;var Zr={},Le={};Object.defineProperty(Le,"__esModule",{value:!0});Le.dynamicAnchor=void 0;const er=E,mp=Q,Ii=Z,gp=pe,yp={keyword:"$dynamicAnchor",schemaType:"string",code:e=>Wo(e,e.schema)};function Wo(e,t){const{gen:r,it:i}=e;i.schemaEnv.root.dynamicAnchors[t]=!0;const o=(0,er._)`${mp.default.dynamicAnchors}${(0,er.getProperty)(t)}`,n=i.errSchemaPath==="#"?i.validateName:bp(e);r.if((0,er._)`!${o}`,()=>r.assign(o,n))}Le.dynamicAnchor=Wo;function bp(e){const{schemaEnv:t,schema:r,self:i}=e.it,{root:o,baseId:n,localRefs:a,meta:l}=t.root,{schemaId:d}=i.opts,c=new Ii.SchemaEnv({schema:r,schemaId:d,root:o,baseId:n,localRefs:a,meta:l});return Ii.compileSchema.call(i,c),(0,gp.getValidate)(e,c)}Le.default=yp;var qe={};Object.defineProperty(qe,"__esModule",{value:!0});qe.dynamicRef=void 0;const Ei=E,$p=Q,Ni=pe,vp={keyword:"$dynamicRef",schemaType:"string",code:e=>Uo(e,e.schema)};function Uo(e,t){const{gen:r,keyword:i,it:o}=e;if(t[0]!=="#")throw new Error(`"${i}" only supports hash fragment reference`);const n=t.slice(1);if(o.allErrors)a();else{const d=r.let("valid",!1);a(d),e.ok(d)}function a(d){if(o.schemaEnv.root.dynamicAnchors[n]){const c=r.let("_v",(0,Ei._)`${$p.default.dynamicAnchors}${(0,Ei.getProperty)(n)}`);r.if(c,l(c,d),l(o.validateName,d))}else l(o.validateName,d)()}function l(d,c){return c?()=>r.block(()=>{(0,Ni.callRef)(e,d),r.let(c,!0)}):()=>(0,Ni.callRef)(e,d)}}qe.dynamicRef=Uo;qe.default=vp;var Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});const Sp=Le,wp=V,kp={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,Sp.dynamicAnchor)(e,""):(0,wp.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};Xr.default=kp;var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});const Op=qe,Cp={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,Op.dynamicRef)(e,e.schema)};Qr.default=Cp;Object.defineProperty(Zr,"__esModule",{value:!0});const Pp=Le,_p=qe,Vp=Xr,Dp=Qr,Fp=[Pp.default,_p.default,Vp.default,Dp.default];Zr.default=Fp;var ei={},ti={};Object.defineProperty(ti,"__esModule",{value:!0});const xi=Ft,jp={keyword:"dependentRequired",type:"object",schemaType:"object",error:xi.error,code:e=>(0,xi.validatePropertyDeps)(e)};ti.default=jp;var ri={};Object.defineProperty(ri,"__esModule",{value:!0});const Rp=Ft,Tp={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,Rp.validateSchemaDeps)(e)};ri.default=Tp;var ii={};Object.defineProperty(ii,"__esModule",{value:!0});const Ip=V,Ep={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){t.contains===void 0&&(0,Ip.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}};ii.default=Ep;Object.defineProperty(ei,"__esModule",{value:!0});const Np=ti,xp=ri,Ap=ii,zp=[Np.default,xp.default,Ap.default];ei.default=zp;var oi={},ni={};Object.defineProperty(ni,"__esModule",{value:!0});const ge=E,Ai=V,Mp=Q,Bp={message:"must NOT have unevaluated properties",params:({params:e})=>(0,ge._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},Lp={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:Bp,code(e){const{gen:t,schema:r,data:i,errsCount:o,it:n}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:a,props:l}=n;l instanceof ge.Name?t.if((0,ge._)`${l} !== true`,()=>t.forIn("key",i,h=>t.if(c(l,h),()=>d(h)))):l!==!0&&t.forIn("key",i,h=>l===void 0?d(h):t.if(f(l,h),()=>d(h))),n.props=!0,e.ok((0,ge._)`${o} === ${Mp.default.errors}`);function d(h){if(r===!1){e.setParams({unevaluatedProperty:h}),e.error(),a||t.break();return}if(!(0,Ai.alwaysValidSchema)(n,r)){const k=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:h,dataPropType:Ai.Type.Str},k),a||t.if((0,ge.not)(k),()=>t.break())}}function c(h,k){return(0,ge._)`!${h} || !${h}[${k}]`}function f(h,k){const S=[];for(const $ in h)h[$]===!0&&S.push((0,ge._)`${k} !== ${$}`);return(0,ge.and)(...S)}}};ni.default=Lp;var si={};Object.defineProperty(si,"__esModule",{value:!0});const Oe=E,zi=V,qp={message:({params:{len:e}})=>(0,Oe.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Oe._)`{limit: ${e}}`},Hp={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:qp,code(e){const{gen:t,schema:r,data:i,it:o}=e,n=o.items||0;if(n===!0)return;const a=t.const("len",(0,Oe._)`${i}.length`);if(r===!1)e.setParams({len:n}),e.fail((0,Oe._)`${a} > ${n}`);else if(typeof r=="object"&&!(0,zi.alwaysValidSchema)(o,r)){const d=t.var("valid",(0,Oe._)`${a} <= ${n}`);t.if((0,Oe.not)(d),()=>l(d,n)),e.ok(d)}o.items=!0;function l(d,c){t.forRange("i",c,a,f=>{e.subschema({keyword:"unevaluatedItems",dataProp:f,dataPropType:zi.Type.Num},d),o.allErrors||t.if((0,Oe.not)(d),()=>t.break())})}}};si.default=Hp;Object.defineProperty(oi,"__esModule",{value:!0});const Wp=ni,Up=si,Gp=[Wp.default,Up.default];oi.default=Gp;var ai={},li={};Object.defineProperty(li,"__esModule",{value:!0});const q=E,Kp={message:({schemaCode:e})=>(0,q.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,q._)`{format: ${e}}`},Jp={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Kp,code(e,t){const{gen:r,data:i,$data:o,schema:n,schemaCode:a,it:l}=e,{opts:d,errSchemaPath:c,schemaEnv:f,self:h}=l;if(!d.validateFormats)return;o?k():S();function k(){const $=r.scopeValue("formats",{ref:h.formats,code:d.code.formats}),w=r.const("fDef",(0,q._)`${$}[${a}]`),g=r.let("fType"),u=r.let("format");r.if((0,q._)`typeof ${w} == "object" && !(${w} instanceof RegExp)`,()=>r.assign(g,(0,q._)`${w}.type || "string"`).assign(u,(0,q._)`${w}.validate`),()=>r.assign(g,(0,q._)`"string"`).assign(u,w)),e.fail$data((0,q.or)(b(),C()));function b(){return d.strictSchema===!1?q.nil:(0,q._)`${a} && !${u}`}function C(){const D=f.$async?(0,q._)`(${w}.async ? await ${u}(${i}) : ${u}(${i}))`:(0,q._)`${u}(${i})`,F=(0,q._)`(typeof ${u} == "function" ? ${D} : ${u}.test(${i}))`;return(0,q._)`${u} && ${u} !== true && ${g} === ${t} && !${F}`}}function S(){const $=h.formats[n];if(!$){b();return}if($===!0)return;const[w,g,u]=C($);w===t&&e.pass(D());function b(){if(d.strictSchema===!1){h.logger.warn(F());return}throw new Error(F());function F(){return`unknown format "${n}" ignored in schema at path "${c}"`}}function C(F){const B=F instanceof RegExp?(0,q.regexpCode)(F):d.code.formats?(0,q._)`${d.code.formats}${(0,q.getProperty)(n)}`:void 0,H=r.scopeValue("formats",{key:n,ref:F,code:B});return typeof F=="object"&&!(F instanceof RegExp)?[F.type||"string",F.validate,(0,q._)`${H}.validate`]:["string",F,H]}function D(){if(typeof $=="object"&&!($ instanceof RegExp)&&$.async){if(!f.$async)throw new Error("async format in sync schema");return(0,q._)`await ${u}(${i})`}return typeof g=="function"?(0,q._)`${u}(${i})`:(0,q._)`${u}.test(${i})`}}}};li.default=Jp;Object.defineProperty(ai,"__esModule",{value:!0});const Yp=li,Zp=[Yp.default];ai.default=Zp;var Ae={};Object.defineProperty(Ae,"__esModule",{value:!0});Ae.contentVocabulary=Ae.metadataVocabulary=void 0;Ae.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Ae.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(kr,"__esModule",{value:!0});const Xp=Or,Qp=Pr,eu=Ar,tu=Zr,ru=ei,iu=oi,ou=ai,Mi=Ae,nu=[tu.default,Xp.default,Qp.default,(0,eu.default)(!0),ou.default,Mi.metadataVocabulary,Mi.contentVocabulary,ru.default,iu.default];kr.default=nu;var di={},Rt={};Object.defineProperty(Rt,"__esModule",{value:!0});Rt.DiscrError=void 0;var Bi;(function(e){e.Tag="tag",e.Mapping="mapping"})(Bi||(Rt.DiscrError=Bi={}));Object.defineProperty(di,"__esModule",{value:!0});const je=E,lr=Rt,Li=Z,su=ze,au=V,lu={message:({params:{discrError:e,tagName:t}})=>e===lr.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,je._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},du={keyword:"discriminator",type:"object",schemaType:"object",error:lu,code(e){const{gen:t,data:r,schema:i,parentSchema:o,it:n}=e,{oneOf:a}=o;if(!n.opts.discriminator)throw new Error("discriminator: requires discriminator option");const l=i.propertyName;if(typeof l!="string")throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),c=t.const("tag",(0,je._)`${r}${(0,je.getProperty)(l)}`);t.if((0,je._)`typeof ${c} == "string"`,()=>f(),()=>e.error(!1,{discrError:lr.DiscrError.Tag,tag:c,tagName:l})),e.ok(d);function f(){const S=k();t.if(!1);for(const $ in S)t.elseIf((0,je._)`${c} === ${$}`),t.assign(d,h(S[$]));t.else(),e.error(!1,{discrError:lr.DiscrError.Mapping,tag:c,tagName:l}),t.endIf()}function h(S){const $=t.name("valid"),w=e.subschema({keyword:"oneOf",schemaProp:S},$);return e.mergeEvaluated(w,je.Name),$}function k(){var S;const $={},w=u(o);let g=!0;for(let D=0;D<a.length;D++){let F=a[D];if(F!=null&&F.$ref&&!(0,au.schemaHasRulesButRef)(F,n.self.RULES)){const H=F.$ref;if(F=Li.resolveRef.call(n.self,n.schemaEnv.root,n.baseId,H),F instanceof Li.SchemaEnv&&(F=F.schema),F===void 0)throw new su.default(n.opts.uriResolver,n.baseId,H)}const B=(S=F==null?void 0:F.properties)===null||S===void 0?void 0:S[l];if(typeof B!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${l}"`);g=g&&(w||u(F)),b(B,D)}if(!g)throw new Error(`discriminator: "${l}" must be required`);return $;function u({required:D}){return Array.isArray(D)&&D.includes(l)}function b(D,F){if(D.const)C(D.const,F);else if(D.enum)for(const B of D.enum)C(B,F);else throw new Error(`discriminator: "properties/${l}" must have "const" or "enum"`)}function C(D,F){if(typeof D!="string"||D in $)throw new Error(`discriminator: "${l}" values must be unique strings`);$[D]=F}}}};di.default=du;var ci={};const cu="https://json-schema.org/draft/2020-12/schema",pu="https://json-schema.org/draft/2020-12/schema",uu={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},fu="meta",hu="Core and Validation specifications meta-schema",mu=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],gu=["object","boolean"],yu="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",bu={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},$u={$schema:cu,$id:pu,$vocabulary:uu,$dynamicAnchor:fu,title:hu,allOf:mu,type:gu,$comment:yu,properties:bu},vu="https://json-schema.org/draft/2020-12/schema",Su="https://json-schema.org/draft/2020-12/meta/applicator",wu={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},ku="meta",Ou="Applicator vocabulary meta-schema",Cu=["object","boolean"],Pu={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},_u={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},Vu={$schema:vu,$id:Su,$vocabulary:wu,$dynamicAnchor:ku,title:Ou,type:Cu,properties:Pu,$defs:_u},Du="https://json-schema.org/draft/2020-12/schema",Fu="https://json-schema.org/draft/2020-12/meta/unevaluated",ju={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},Ru="meta",Tu="Unevaluated applicator vocabulary meta-schema",Iu=["object","boolean"],Eu={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Nu={$schema:Du,$id:Fu,$vocabulary:ju,$dynamicAnchor:Ru,title:Tu,type:Iu,properties:Eu},xu="https://json-schema.org/draft/2020-12/schema",Au="https://json-schema.org/draft/2020-12/meta/content",zu={"https://json-schema.org/draft/2020-12/vocab/content":!0},Mu="meta",Bu="Content vocabulary meta-schema",Lu=["object","boolean"],qu={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},Hu={$schema:xu,$id:Au,$vocabulary:zu,$dynamicAnchor:Mu,title:Bu,type:Lu,properties:qu},Wu="https://json-schema.org/draft/2020-12/schema",Uu="https://json-schema.org/draft/2020-12/meta/core",Gu={"https://json-schema.org/draft/2020-12/vocab/core":!0},Ku="meta",Ju="Core vocabulary meta-schema",Yu=["object","boolean"],Zu={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},Xu={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},Qu={$schema:Wu,$id:Uu,$vocabulary:Gu,$dynamicAnchor:Ku,title:Ju,type:Yu,properties:Zu,$defs:Xu},ef="https://json-schema.org/draft/2020-12/schema",tf="https://json-schema.org/draft/2020-12/meta/format-annotation",rf={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},of="meta",nf="Format vocabulary meta-schema for annotation results",sf=["object","boolean"],af={format:{type:"string"}},lf={$schema:ef,$id:tf,$vocabulary:rf,$dynamicAnchor:of,title:nf,type:sf,properties:af},df="https://json-schema.org/draft/2020-12/schema",cf="https://json-schema.org/draft/2020-12/meta/meta-data",pf={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},uf="meta",ff="Meta-data vocabulary meta-schema",hf=["object","boolean"],mf={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},gf={$schema:df,$id:cf,$vocabulary:pf,$dynamicAnchor:uf,title:ff,type:hf,properties:mf},yf="https://json-schema.org/draft/2020-12/schema",bf="https://json-schema.org/draft/2020-12/meta/validation",$f={"https://json-schema.org/draft/2020-12/vocab/validation":!0},vf="meta",Sf="Validation vocabulary meta-schema",wf=["object","boolean"],kf={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},Of={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Cf={$schema:yf,$id:bf,$vocabulary:$f,$dynamicAnchor:vf,title:Sf,type:wf,properties:kf,$defs:Of};Object.defineProperty(ci,"__esModule",{value:!0});const Pf=$u,_f=Vu,Vf=Nu,Df=Hu,Ff=Qu,jf=lf,Rf=gf,Tf=Cf,If=["/properties"];function Ef(e){return[Pf,_f,Vf,Df,Ff,t(this,jf),Rf,t(this,Tf)].forEach(r=>this.addMetaSchema(r,void 0,!1)),this;function t(r,i){return e?r.$dataMetaSchema(i,If):i}}ci.default=Ef;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const r=qi,i=kr,o=di,n=ci,a="https://json-schema.org/draft/2020-12/schema";class l extends r.default{constructor(S={}){super({...S,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),i.default.forEach(S=>this.addVocabulary(S)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:S,meta:$}=this.opts;$&&(n.default.call(this,S),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv2020=l,e.exports=t=l,e.exports.Ajv2020=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var d=oe;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var c=E;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return c._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return c.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return c.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return c.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return c.CodeGen}});var f=nt;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var h=ze;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})})(tr,tr.exports);var Nf=tr.exports;const Go="custom-apps",Ko="1.5.1",Ee={ActionCard:{description:"Card with icon asset, title, caption, and action buttons",events:["primaryAction","secondaryAction"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{asset:{additionalProperties:!1,description:"Asset displayed on the action card",properties:{iconType:{description:"Pebble icon name to use as the card asset",type:"string"},size:{description:"Size of the asset. Default: medium",enum:["small","medium","large"],type:"string"}},type:"object"},caption:{description:"Caption text for the action card",type:"string"},primaryAction:{additionalProperties:!1,description:'Primary action button. Press emits "primaryAction".',properties:{title:{description:"Primary action button label",type:"string"}},required:["title"],type:"object"},secondaryAction:{additionalProperties:!1,description:'Secondary action button. Press emits "secondaryAction".',properties:{title:{description:"Secondary action button label",type:"string"}},required:["title"],type:"object"},testID:{description:"Sets testid on ActionCard (used for testing purposes)",type:"string"},title:{description:"Title for the action card",type:"string"}},required:["title","caption","asset"],type:"object"},acceptsChildren:!1},Anchor:{description:"Inline text link that opens supported URLs",events:["press","open","error"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{children:{description:"Text content shown as the link",type:"string"},href:{description:"URL to open. Supports http, https, mailto, tel, and sms schemes.",type:"string"},testID:{description:"Sets testid on Anchor (used for testing purposes)",type:"string"}},required:["href","children"],type:"object"},acceptsChildren:!1},Animation:{description:"Lottie-based branded animation from the pebble animation pack",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{autoPlay:{description:"Whether the animation auto-plays on mount. Default: true",type:"boolean"},loop:{description:"Whether the animation loops. Default: true",type:"boolean"},size:{description:"Square dimension (width = height) for the animation surface. Default: theme.size800",type:"number"},speed:{description:"Playback speed multiplier. Default: 1",type:"number"},testID:{description:"Sets testid on Animation (used for testing purposes)",type:"string"},theme:{description:"Forces a specific theme variant. Defaults to the app current color mode",enum:["light","dark"],type:"string"},type:{$ref:"#/$defs/TypeValue",description:"Animation to be shown"}},required:["type"],type:"object"},acceptsChildren:!1},Avatar:{description:"Circular avatar showing a photo, icon, or initials",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{contentFit:{$ref:"#/$defs/ContentFitValue",description:"How the avatar image scales within its bounds"},recyclingKey:{description:"Sets the image view to blank before loading the final image — prevents showing the previous image during recycling",type:"string"},size:{$ref:"#/$defs/AvatarSizeValue",description:"Size of the avatar. Default: medium"},source:{anyOf:[{$ref:"#/$defs/IconValue",description:'Pebble icon name (e.g. "check", "close", "arrow_right_filled")'},{anyOf:[{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:'Image source — a URI string (e.g. "https://example.com/img.png") or a structured source object ({ uri, width?, height?, headers? })'},{additionalProperties:!1,description:"Themed image source — different URIs for light and dark color schemes",properties:{dark:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in dark color scheme"},light:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in light color scheme"}},required:["light","dark"],type:"object"}],description:'Image source. Plain URI: "https://example.com/img.png". Structured: { uri: "https://…", width: 200, height: 100 }. Themed: { light: "https://…/light.png", dark: "https://…/dark.png" }.'}],description:"Remote photo URL or Pebble icon name to render as the avatar image"},testID:{description:"Sets testid on Avatar (used for testing purposes)",type:"string"},title:{description:'Initials or short text shown when no source is provided (e.g. "JD" for John Doe)',type:"string"}},type:"object"},acceptsChildren:!1},AvatarStack:{description:"Overlapping row of circular avatars",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{avatars:{description:"Array of avatar definitions to stack: [{ source?, title? }]",items:{additionalProperties:!1,properties:{recyclingKey:{description:"Key to prevent showing previous image during recycling",type:"string"},source:{anyOf:[{$ref:"#/$defs/IconValue",description:'Pebble icon name (e.g. "check", "close", "arrow_right_filled")'},{anyOf:[{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:'Image source — a URI string (e.g. "https://example.com/img.png") or a structured source object ({ uri, width?, height?, headers? })'},{additionalProperties:!1,description:"Themed image source — different URIs for light and dark color schemes",properties:{dark:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in dark color scheme"},light:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in light color scheme"}},required:["light","dark"],type:"object"}],description:'Image source. Plain URI: "https://example.com/img.png". Structured: { uri: "https://…", width: 200, height: 100 }. Themed: { light: "https://…/light.png", dark: "https://…/dark.png" }.'}],description:"Remote photo URL or Pebble icon name for this avatar"},title:{description:"Initials or short text shown when no source is provided",type:"string"}},type:"object"},type:"array"},size:{$ref:"#/$defs/AvatarSizeValue",description:"Size applied to all avatars in the stack. Default: medium"}},required:["avatars"],type:"object"},acceptsChildren:!1},Badge:{description:"Small status label with colored appearance",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Badge appearance. Default: primary",enum:["primary","secondary","tertiary","success","error","warning","inverse","dim"],type:"string"},label:{description:"Text content to appear in badge",type:"string"},testID:{description:"Sets testid on Badge (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},Button:{description:"Tappable button with label and configurable appearance",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{$ref:"#/$defs/AppearanceValue",description:"Button appearance. Default: primary"},children:{description:"Button label text",type:"string"},disabled:{description:"Disables the button. Default: false",type:"boolean"},fluid:{description:"If true, button stretches to full available width",type:"boolean"},haptic:{description:"Enables haptic feedback on press. Default: true for base/pill/small variants, false for text variant",type:"boolean"},leftIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the left of the button"},outlined:{description:"Shows button with outline border style",type:"boolean"},rightIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the right of the button"},spinner:{description:"Shows a loading spinner. Bind to state for async feedback. Default: false",type:"boolean"},style:{additionalProperties:!1,description:'Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Button (used for testing purposes)",type:"string"},variant:{$ref:"#/$defs/VariantValue",description:"Button variant. Default: base"}},type:"object"},acceptsChildren:!1},Card:{description:"Elevated container card, optionally tappable",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Disables press interaction on the card. Default: false",type:"boolean"},outline:{description:"Adds an outline border to the card. Default: false",type:"boolean"},shadow:{description:"Shadow effect on the card. Default: none",enum:["none","default"],type:"string"},testID:{description:"Sets testid on Card (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!0},Checkbox:{description:"Single checkbox toggle with label and optional validation",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{boxView:{description:"Renders checkbox in box/card view style. Default: false",type:"boolean"},caption:{description:"Caption/description shown below the label",type:"string"},captionNumberOfLines:{description:"Max lines for the caption text. Default: 1",type:"number"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode. Default: false",type:"boolean"},disabled:{description:"Disables the checkbox. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message"},haptic:{description:"Enables haptic feedback on toggle. Default: true",type:"boolean"},helperText:{description:"Help text shown below the checkbox",type:"string"},indeterminate:{description:"Sets the checkbox to an indeterminate state. Default: false",type:"boolean"},label:{description:"Label text shown beside the checkbox",type:"string"},labelNumberOfLines:{description:"Max lines for the label (alias). Default: 1",type:"number"},readOnly:{description:"Makes the checkbox non-interactive (display only). Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},tag:{description:"Tag text shown above the label",type:"string"},testID:{description:"Sets testid on Checkbox (used for testing purposes)",type:"string"},titleNumberOfLines:{description:"Max lines for the label text. Default: 1",type:"number"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Controlled checked state — bind to state with $bindState",type:"boolean"}},type:"object"},acceptsChildren:!1},CheckboxGroup:{description:"Group of checkboxes allowing multiple selections",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial selected ids for uncontrolled mode",items:{type:"string"},type:"array"},disabled:{description:"Disables all options. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message shown below the group"},helperText:{description:"Help text shown below the group",type:"string"},options:{description:"Array of checkbox options: [{ id, label?, tag?, disabled? }]",items:{additionalProperties:!1,properties:{disabled:{description:"Disables this individual option",type:"boolean"},error:{description:"Marks this option in error state",type:"boolean"},id:{description:"Unique identifier for this option",type:"string"},label:{description:"Label text for this option",type:"string"},tag:{description:"Tag text shown above the label",type:"string"}},required:["id"],type:"object"},type:"array"},testID:{description:"Sets testid on CheckboxGroup (used for testing purposes)",type:"string"},value:{description:"Array of selected option ids — bind to state with $bindState",items:{type:"string"},type:"array"}},required:["options"],type:"object"},acceptsChildren:!1},Chip:{description:"Compact tag chip with optional dismiss button",events:["press","close"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{children:{description:"Text content shown on the chip",type:"string"},disabled:{description:"Disables the chip. Default: false",type:"boolean"},error:{description:"Displays chip in error state. Default: false",type:"boolean"},testID:{description:"Sets testid on Chip (used for testing purposes)",type:"string"}},required:["children"],type:"object"},acceptsChildren:!1},Country:{description:"Country flag icon for a given ISO region code",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Displays the country flag in a disabled state. Default: false",type:"boolean"},region:{description:'ISO 3166-1 alpha-2 country code to display (e.g. "US", "IN"). Default: US',type:"string"}},type:"object"},acceptsChildren:!1},Currency:{description:"Currency input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},acceptsCurrencyType:{description:"If true, allows currency type selection. Default: false",type:"boolean"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},decimalPlaces:{description:"Number of decimal places allowed",type:"number"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputCurrency (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current currency string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Date:{description:"Date picker input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{acceptsTime:{description:"If true, also shows a time input. Default: false",type:"boolean"},clearable:{description:"Shows a clear button to reset the value. Default: false",type:"boolean"},defaultValue:{description:"Default ISO date string for uncontrolled mode",type:"string"},disabled:{description:"Disables the date input. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message"},format:{description:'Date format string e.g. "YYYY-MM-DD". Default: ISO string',type:"string"},helperText:{description:"Help text shown below the date input",type:"string"},label:{description:"Label shown above the date input",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Masks date value. Default: false",type:"boolean"},testID:{description:"Sets testid on Date (used for testing purposes)",type:"string"},value:{description:"ISO date string — bind to state with $bindState",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},DateRange:{description:"Date range picker with start and end date inputs",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{alignment:{$ref:"#/$defs/AlignmentValue",description:"Layout alignment of the two date fields. Default: row"},clearable:{description:"Shows a clear button to reset both dates. Default: false",type:"boolean"},defaultValue:{description:"Default ISO date strings [start, end]",prefixItems:[{type:"string"},{type:"string"}],type:"array"},disabled:{description:"Disables both date inputs. Default: false",type:"boolean"},error:{description:"Error message shown below the inputs",type:"string"},helperText:{description:"Help text shown below the date range inputs",type:"string"},label:{description:"Labels for [start, end] date",prefixItems:[{type:"string"},{type:"string"}],type:"array"},readOnly:{description:"Shows values without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the fields as required. Default: false",type:"boolean"},sensitive:{description:"Masks date values. Default: false",type:"boolean"},testID:{description:"Sets testid on DateRange (used for testing purposes)",type:"string"},value:{description:"ISO date strings [start, end] — bind via $bindState",prefixItems:[{type:"string"},{type:"string"}],type:"array"}},required:["label"],type:"object"},acceptsChildren:!1},DateTimePicker:{description:"Modal date/time picker overlay",events:["close","change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{clearable:{description:"Shows a clear button to reset the value. Default: false",type:"boolean"},native:{description:"If true, uses the native platform date picker",type:"boolean"},range:{description:"If true, shows a date range picker",type:"boolean"},testID:{description:"Sets testid on DateTimePicker (used for testing purposes)",type:"string"},type:{description:"Picker type. Default: date",enum:["date","time","dateTime"],type:"string"},visible:{description:"Controls whether the picker is shown",type:"boolean"}},required:["visible"],type:"object"},acceptsChildren:!1},Divider:{description:"Sub-component of ObjectUI. Horizontal rule that separates ObjectUI sections",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{size:{description:"Vertical spacing size of the divider. Default: extraSmall",enum:["extraSmall","small"],type:"string"}},type:"object"},acceptsChildren:!1},Email:{description:"Email text input that validates email format",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputEmail (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current email value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},ExpansionPanel:{description:"Collapsible panel with a header that toggles content visibility",events:["toggle"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultExpanded:{description:"Opens the panel by default on first render. Default: false",type:"boolean"},disabled:{description:"Prevents toggling the panel open or closed. Default: false",type:"boolean"},expanded:{description:"Controlled expanded state — bind to state with $bindState",type:"boolean"},headerLeft:{additionalProperties:!1,description:"A json-render spec to render as the left slot of the panel header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},headerRight:{additionalProperties:!1,description:"A json-render spec to render as the right slot of the panel header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},maxHeight:{description:"Maximum height for panel content. Use when content may exceed screen size. Default: unbounded",type:"number"},testID:{description:"Sets testid on ExpansionPanel (used for testing purposes)",type:"string"},title:{description:"Header title text shown in the panel header bar",type:"string"}},type:"object"},acceptsChildren:!0},FileViewerButton:{description:"Button that opens the in-app viewer for a given file",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{buttonProps:{additionalProperties:!1,description:"Optional Button props (label, appearance, icons, etc.). `onPress` is owned by the file viewer.",properties:{appearance:{$ref:"#/$defs/AppearanceValue",description:"Button appearance. Default: primary"},children:{description:"Button label text",type:"string"},disabled:{description:"Disables the button. Default: false",type:"boolean"},fluid:{description:"If true, button stretches to full available width",type:"boolean"},haptic:{description:"Enables haptic feedback on press. Default: true for base/pill/small variants, false for text variant",type:"boolean"},leftIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the left of the button"},outlined:{description:"Shows button with outline border style",type:"boolean"},rightIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to show on the right of the button"},spinner:{description:"Shows a loading spinner. Bind to state for async feedback. Default: false",type:"boolean"},style:{additionalProperties:!1,description:'Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Button (used for testing purposes)",type:"string"},variant:{$ref:"#/$defs/VariantValue",description:"Button variant. Default: base"}},type:"object"},file:{additionalProperties:!1,description:"Target file; provide url for remote assets or uri for on-device files",properties:{name:{description:"Original file name for display",type:"string"},base64:{description:"Optional base64 payload when the spec embeds small assets",type:"string"},id:{description:"Stable file id when available",type:"string"},previewUri:{description:"Optional preview image URI for thumbnails",type:"string"},size:{description:"Size in bytes",type:"number"},type:{description:"MIME or logical type (e.g. photo, video) — helps choose viewer when HEAD is unavailable",type:"string"},uri:{description:"Local content URI (e.g. from document picker). Copied to url when url is omitted",type:"string"},url:{description:"HTTP(S) URL for remote files; used for HEAD content-type detection. Default: use uri when local only",type:"string"}},type:"object"}},required:["file"],type:"object"},acceptsChildren:!1},FileViewerPressable:{description:"Pressable region that opens the in-app viewer for a given file",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{file:{additionalProperties:!1,description:"Target file; provide url for remote assets or uri for on-device files",properties:{name:{description:"Original file name for display",type:"string"},base64:{description:"Optional base64 payload when the spec embeds small assets",type:"string"},id:{description:"Stable file id when available",type:"string"},previewUri:{description:"Optional preview image URI for thumbnails",type:"string"},size:{description:"Size in bytes",type:"number"},type:{description:"MIME or logical type (e.g. photo, video) — helps choose viewer when HEAD is unavailable",type:"string"},uri:{description:"Local content URI (e.g. from document picker). Copied to url when url is omitted",type:"string"},url:{description:"HTTP(S) URL for remote files; used for HEAD content-type detection. Default: use uri when local only",type:"string"}},type:"object"},pressableProps:{additionalProperties:!1,description:"Optional Pressable props (underlay, disabled, etc.). `onPress` is owned by the file viewer; put visible UI in children.",properties:{disabled:{description:"Disables press interaction",type:"boolean"},enableScaleAnimation:{description:"Enables scale-down animation on press. Default: false",type:"boolean"},haptic:{$ref:"#/$defs/HapticValue",description:"Haptic feedback token to trigger on press (e.g. hapticControlLow, hapticControlHigh)"},style:{additionalProperties:!1,description:'Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Pressable (used for testing purposes)",type:"string"},underlayAppearance:{$ref:"#/$defs/UnderlayAppearanceValue",description:"Active layer appearance when pressed. Default: base"}},type:"object"}},required:["file"],type:"object"},acceptsChildren:!0},FloatingButton:{description:"Floating action button with shadow, configurable appearance, and haptic feedback",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Button appearance. Default: primary",enum:["primary","secondary","tertiary","error","success","warning","info","errorTint","successTint","warningTint","infoTint","inverse","inverseTransparent","inverseError","inverseSuccess","inverseWarning","inverseInfo"],type:"string"},children:{description:"Button label text",type:"string"},disabled:{description:"Disables the button. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback on press. Default: true",type:"boolean"},leftIcon:{description:"Pebble icon name to show on the left of the label",type:"string"},outlined:{description:"Shows button with outline border style",type:"boolean"},rightIcon:{description:"Pebble icon name to show on the right of the label",type:"string"},shadowDisabled:{description:"Disables the drop shadow. Default: false",type:"boolean"},spinner:{description:"Shows a loading spinner. Bind to state for async feedback. Default: false",type:"boolean"},testID:{description:"Sets testid on FloatingButton (used for testing purposes)",type:"string"},variant:{description:"Button variant. Default: base",enum:["base","icon"],type:"string"},visible:{description:"Controls whether the floating button is shown. Default: true",type:"boolean"}},type:"object"},acceptsChildren:!1},Form:{description:"Form container that manages validation, submission, and input layout",events:["submit","valid","invalid"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{description:{description:"Description to show on the Form",type:"string"},disabled:{description:"Disables the entire form. Default: false",type:"boolean"},hideSubmitButton:{description:"Hides the default submit button. Use when providing a custom submit button. Default: false",type:"boolean"},keyboardAvoidingEnabled:{description:"Wraps form in KeyboardAvoidingView to prevent keyboard overlap. Default: false",type:"boolean"},padding:{description:"If false, removes padding around the form. Default: true",type:"boolean"},scrollable:{description:"Enables scrolling within the form. Default: false",type:"boolean"},style:{additionalProperties:!1,description:'Container style overrides applied to the form wrapper — token keys only, e.g. { marginTop: "space200" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},submitOnKeyboardDone:{description:"Submits the form when the keyboard Done button is pressed. Default: false",type:"boolean"},successMessage:{description:"Message displayed after successful form submit",type:"string"},testID:{description:"Sets testid on Form (used for testing purposes)",type:"string"},title:{description:"Title to show on the Form",type:"string"},triggerChangeOnInputUnmount:{description:"Triggers onChange when an input is unmounted. Default: false",type:"boolean"}},type:"object"},acceptsChildren:!0},Group:{description:"Groups two input children side-by-side with shared validation state",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Disables all inputs in the group. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message for the group"},helperText:{description:"Helper text shown below the grouped inputs",type:"string"},required:{description:"Marks the group as required. Default: false",type:"boolean"},testID:{description:"Sets testid on Group (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!0},Hidden:{description:"Hidden state carrier — no visible UI",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode"},value:{description:"Current value — bind to state with $bindState to store any JSON-serializable value"}},type:"object"},acceptsChildren:!1},HStack:{description:"Horizontal flex row container",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{align:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},flex:{description:"Flex grow/shrink factor",type:"number"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},grow:{description:"Flex grow factor",type:"number"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justify:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},radius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},reverse:{description:"Reverses the row direction. Default: false",type:"boolean"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},scrollView:{description:"If true, wraps children in a horizontal ScrollView instead of a View",type:"boolean"},shrink:{description:"Flex shrink factor",type:"number"},testID:{description:"Sets testid on HStack (used for testing purposes)",type:"string"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},wrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},zIndex:{description:"Stack order",type:"number"}},type:"object"},acceptsChildren:!0},Icon:{description:"Scalable vector icon from the pebble icon pack",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{color:{description:"Icon color (design token or hex color string)",type:"string"},disabled:{description:"Disables the icon and its interactions. Default: false",type:"boolean"},size:{description:"Icon size in points. Default: 24",type:"number"},testID:{description:"Sets testid on Icon (used for testing purposes)",type:"string"},type:{description:'Icon name from the pebble icon pack (e.g. "check", "close", "arrowRight")',type:"string"}},required:["type"],type:"object"},acceptsChildren:!1},Image:{description:"Displays a raster or SVG image from a remote URL",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{contentFit:{$ref:"#/$defs/ContentFitValue",description:"How the image scales within its bounds. Default: cover"},shapeCorner:{description:"Border radius of the image. Default: none",enum:["none","extraSmall","small","medium","large","rounded"],type:"string"},source:{anyOf:[{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:'Image source — a URI string (e.g. "https://example.com/img.png") or a structured source object ({ uri, width?, height?, headers? })'},{additionalProperties:!1,description:"Themed image source — different URIs for light and dark color schemes",properties:{dark:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in dark color scheme"},light:{anyOf:[{type:"string"},{additionalProperties:!1,description:"Structured remote image source",properties:{headers:{additionalProperties:{type:"string"},description:"HTTP headers to attach to the image request",propertyNames:{type:"string"},type:"object"},height:{description:"Intrinsic height hint in logical pixels",type:"number"},uri:{description:"Remote image URI",type:"string"},width:{description:"Intrinsic width hint in logical pixels",type:"number"}},required:["uri"],type:"object"}],description:"Source to use in light color scheme"}},required:["light","dark"],type:"object"}],description:"Image source — a URI string, a structured source object { uri, width?, height?, headers? }, or a themed variant { light: source, dark: source }"},style:{additionalProperties:!1,description:'Image style overrides — token keys only, e.g. { width: "size400", height: "size400", marginTop: "space200" }',properties:{alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},aspectRatio:{description:"Width-to-height aspect ratio (e.g. 1 for square)",type:"number"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},color:{$ref:"#/$defs/ColorValue",description:"Fill/tint color for SVG sources — color token (e.g. colorPrimary)"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{description:"How content overflow is handled. Default: visible",enum:["visible","hidden"],type:"string"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},resizeMode:{description:"How the image scales within its bounds. Default: cover",enum:["cover","contain","stretch","repeat","center"],type:"string"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},tintColor:{$ref:"#/$defs/ColorValue",description:"Image tint color token (e.g. colorOnSurface)"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},supportsSvgCss:{description:"If true, CSS support for remote SVG URI will be added. Default: false",type:"boolean"},testID:{description:"Sets testid on Image (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!1},InputText:{description:"Single-line text input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},rightIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name shown on the right side of the input"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},testID:{description:"Sets testid on InputText (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current text value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Label:{description:"Styled inline text label with predefined appearances",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Label appearance. Default: primary",enum:["primary","primaryTint","secondary","secondaryTint","tertiary","tertiaryTint","error","errorTint","success","successTint","warning","warningTint","info","infoTint","inverse","dim","disabled"],type:"string"},label:{description:"Text content to display in the label",type:"string"},testID:{description:"Sets testid on Label (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},List:{description:"Scrollable list container for ListItem children",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{outlined:{description:"Adds a border around the list container. Default: false",type:"boolean"},testID:{description:"Sets testid on List (used for testing purposes)",type:"string"}},type:"object"},acceptsChildren:!0},ListItem:{description:"Sub-component of List. Row item used inside a List container",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Background appearance of the list item. Default: surfaceBright",enum:["surfaceBright","surfaceDim","surfaceHover","surfaceContainerLowest","transparent"],type:"string"},description:{description:"Secondary description text shown below the title",type:"string"},enableScaleAnimation:{description:"Enables scale-down animation on press. Default: false",type:"boolean"},fluidContent:{description:"Makes one side fluid/flexible. Default: none",enum:["none","left","right"],type:"string"},overline:{description:"Small text shown above the title",type:"string"},prefix:{additionalProperties:!1,description:"A json-render spec to render as the prefix (left) element of the ListItem, e.g. an Avatar or Icon",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},right:{additionalProperties:!1,description:"A json-render spec to render on the right side of the ListItem, e.g. a Badge or Label",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},separator:{description:"Shows a separator line below the item. Default: true",type:"boolean"},spacing:{description:"Vertical padding of the item. Default: default",enum:["default","condensed"],type:"string"},testID:{description:"Sets testid on ListItem (used for testing purposes)",type:"string"},title:{description:"Primary text shown in the list item",type:"string"},underlayAppearance:{$ref:"#/$defs/UnderlayAppearanceValue",description:"Active layer appearance when pressed. Default: base"}},type:"object"},acceptsChildren:!1},ModalSheet:{description:"Bottom sheet modal with gesture support and children slot",events:["close"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{animationDuration:{description:"Motion duration token for the sheet animation. Default: moderate",enum:["slow","moderate"],type:"string"},disableSafeArea:{description:"If true, disables safe area insets inside the sheet. Default: false",type:"boolean"},gesturePinVisible:{description:"If true, shows the gesture pin at the top of the sheet. Default: true",type:"boolean"},header:{additionalProperties:!1,description:"A json-render spec to render as the header component of the ModalSheet, e.g. PageModalActionHeader",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},testID:{description:"Sets testid on ModalSheet (used for testing purposes)",type:"string"},visible:{description:"If true, the ModalSheet will be visible",type:"boolean"}},required:["visible"],type:"object"},acceptsChildren:!0},Notice:{description:"Inline alert banner with title, description, and actions",events:["primaryPress","secondaryPress","close"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Notice appearance. Default: primary",enum:["primary","error","success","warning","info","neutral"],type:"string"},description:{description:"Notice description text (only shown in base variant)",type:"string"},haptic:{description:"Enables haptic feedback when notice appears. Default: true",type:"boolean"},icon:{$ref:"#/$defs/IconValue",description:"Pebble icon name to display above the title"},primaryAction:{additionalProperties:!1,description:"Primary action button — wire to `primaryPress` event",properties:{disabled:{description:"Disables this action button",type:"boolean"},title:{description:"Button label text for this action",type:"string"}},required:["title"],type:"object"},secondaryAction:{additionalProperties:!1,description:"Secondary action button — wire to `secondaryPress` event",properties:{disabled:{description:"Disables this action button",type:"boolean"},title:{description:"Button label text for this action",type:"string"}},required:["title"],type:"object"},testID:{description:"Sets testid on Notice (used for testing purposes)",type:"string"},title:{description:"Notice title text",type:"string"},variant:{description:"Notice layout variant. Default: base",enum:["base","compact"],type:"string"}},type:"object"},acceptsChildren:!1},Number:{description:"Numeric text input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},allowNegative:{description:"If true, allows negative values. Default: false",type:"boolean"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},decimalPlaces:{description:"Number of decimal places allowed",type:"number"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},locale:{description:'Locale string for number formatting e.g. "en-US"',type:"string"},max:{description:"Maximum accepted value",type:"number"},min:{description:"Minimum accepted value",type:"number"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputNumber (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current numeric string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},ObjectFooter:{description:"Sub-component of ObjectUI. Footer with approve, reject, notes buttons and optional chevrons",events:["reject","approve","notes","leftChevron","rightChevron"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{chevron:{description:"If true, displays left and right chevrons. Default: false",type:"boolean"},testID:{description:"Sets testid on ObjectFooter (used for testing purposes)",type:"string"},timerText:{description:"Text to display in the timer area",type:"string"}},type:"object"},acceptsChildren:!1},ObjectItem:{description:"Sub-component of ObjectUI. A row item for object detail views with title, optional prefix (lhs) and suffix (rhs)",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{align:{description:"Vertical alignment of content. Default: center",enum:["top","center"],type:"string"},appearance:{description:"Background appearance of the ObjectItem. Default: surface",enum:["surfaceBright","transparent","surface"],type:"string"},chevron:{description:"If true, displays chevron on the right side. Default: false",type:"boolean"},heavy:{description:"If true, makes the title font weight heavy. Default: false",type:"boolean"},lhs:{additionalProperties:!1,description:"A json-render spec to render as the prefix (left-hand side) of the ObjectItem, e.g. an Avatar or Icon",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},lhsMaxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width of the left-hand side content — size token"},rhs:{additionalProperties:!1,description:"A json-render spec to render on the right side of the ObjectItem, e.g. Label or Status elements",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},rhsMaxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width of the right-hand side content — size token"},testID:{description:"Sets testid on ObjectItem (used for testing purposes)",type:"string"},title:{description:"Title to show on the ObjectItem",type:"string"}},type:"object"},acceptsChildren:!1},ObjectListView:{description:"Displays a mobile custom object list view for the provided custom object API name.",events:[],propsSchema:{additionalProperties:!1,properties:{appIconUrl:{description:"Optional custom app icon URL injected by mobile before rendering.",type:"string"},defaultListViewId:{description:"Optional list view id to select by default.",type:"string"},objectApiName:{description:"API name of the custom object to render.",type:"string"}},required:["objectApiName"],type:"object"},acceptsChildren:!1},ObjectListViewCard:{description:"Displays a compact card preview for a mobile custom object list view.",events:[],propsSchema:{additionalProperties:!1,properties:{appIconUrl:{description:"Optional custom app icon URL injected by mobile before rendering.",type:"string"},defaultListViewId:{description:"Optional list view id to select by default.",type:"string"},objectApiName:{description:"API name of the custom object to render.",type:"string"}},required:["objectApiName"],type:"object"},acceptsChildren:!1},PageCondensedFooter:{description:"Condensed footer with title, logo icon, and optional action button",events:["action"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{action:{additionalProperties:!1,description:'Optional action button. Press emits "action".',properties:{title:{description:"Action button label",type:"string"}},required:["title"],type:"object"},logoIcon:{description:"Pebble icon name to use as the logo",type:"string"},testID:{description:"Sets testid on CondensedFooter (used for testing purposes)",type:"string"},title:{description:"Title text in the footer",type:"string"}},required:["title"],type:"object"},acceptsChildren:!1},PageCondensedHeader:{description:"Condensed page header with title",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{outlined:{description:"Shows an outline border on the header. Default: false",type:"boolean"},right:{additionalProperties:!1,description:"A json-render spec to render as the right element on the header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},testID:{description:"Sets testid on CondensedHeader (used for testing purposes)",type:"string"},title:{description:"Title to show on the header",type:"string"}},required:["title"],type:"object"},acceptsChildren:!1},PageFilterHeader:{description:"Page header with title, badge, and collapsible filter menu",events:["filterMenuPress"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{badge:{description:"Badge text shown beside the title",type:"string"},defaultExpanded:{description:"Default expanded state of the filter menu. Default: false",type:"boolean"},hideFilterMenu:{description:"If true, hides the filter menu icon. Default: false",type:"boolean"},testID:{description:"Sets testid on FilterHeader (used for testing purposes)",type:"string"},title:{description:"Title to show on the header",type:"string"},transparent:{description:"If true, transparent background will be applied. Default: false",type:"boolean"}},required:["title"],type:"object"},acceptsChildren:!1},PageFooter:{description:"A page-level footer displaying primary and secondary action buttons. Use with PageHeader and PageContent to construct a page layout.",events:["action"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{actions:{description:'Array of page footer action buttons. All button presses emit "action".',items:{additionalProperties:!1,properties:{appearance:{description:"Button appearance variant",type:"string"},disabled:{description:"Disables the button",type:"boolean"},id:{description:"Unique identifier for the action",type:"string"},title:{description:"Button label",type:"string"}},required:["id","title"],type:"object"},type:"array"},align:{description:"Alignment of buttons in the page footer. Default: stretch",enum:["left","stretch","right"],type:"string"},testID:{description:"Sets the test ID on PageFooter",type:"string"},transparent:{description:"Applies a transparent background to the page footer",type:"boolean"}},type:"object"},acceptsChildren:!1},PageHeader:{description:"A top-of-page header displaying a title, optional subtitle, and badge. Use with PageContent and PageFooter to construct a page layout.",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{badge:{description:"Badge text shown beside the title",type:"string"},right:{additionalProperties:!1,description:"A json-render spec rendered on the right side of the page header",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},subtitle:{description:"Optional subtitle displayed below the page header title",type:"string"},testID:{description:"Sets the test ID on PageHeader",type:"string"},title:{description:"Title displayed in the page header",type:"string"},transparent:{description:"Applies a transparent background to the page header",type:"boolean"}},required:["title"],type:"object"},acceptsChildren:!1},PageModalActionHeader:{description:"Sub-component of ModalSheet. Header with optional left/right action buttons; use inside ModalSheet",events:["leftPress","rightPress"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{indicator:{description:"Whether to show an indicator on the header. Default: false",type:"boolean"},left:{additionalProperties:!1,description:"Left action: provide title for text button or iconType for icon button",properties:{iconType:{$ref:"#/$defs/IconValue",description:"Pebble icon name to use as the action button"},title:{description:"Text label for the action button",type:"string"}},type:"object"},right:{additionalProperties:!1,description:"Right action: provide title for text button or iconType for icon button",properties:{iconType:{$ref:"#/$defs/IconValue",description:"Pebble icon name to use as the action button"},title:{description:"Text label for the action button",type:"string"}},type:"object"},subtitle:{description:"Subtitle to show on the header",type:"string"},testID:{description:"Sets testid on ModalActionHeader (used for testing purposes)",type:"string"},title:{description:"Title to show on the header",type:"string"}},type:"object"},acceptsChildren:!0},Password:{description:"Password input with optional reveal toggle",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},shouldAllowReveal:{description:"Shows a toggle to reveal the password. Default: false",type:"boolean"},testID:{description:"Sets testid on InputPassword (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current password value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Percentage:{description:"Percentage input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},allowNegative:{description:"If true, allows negative values. Default: false",type:"boolean"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},decimalPlaces:{description:"Number of decimal places allowed",type:"number"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputPercentage (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current percentage string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Phone:{description:"Phone number input with optional country code",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},inputWithCountryCode:{description:"If true, country code will be included as part of the value. Default: false",type:"boolean"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},region:{description:'Region/country code e.g. "US"',type:"string"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputPhone (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current phone string value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Pressable:{description:"Tappable container that wraps any content",events:["press"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{disabled:{description:"Disables press interaction",type:"boolean"},enableScaleAnimation:{description:"Enables scale-down animation on press. Default: false",type:"boolean"},haptic:{$ref:"#/$defs/HapticValue",description:"Haptic feedback token to trigger on press (e.g. hapticControlLow, hapticControlHigh)"},style:{additionalProperties:!1,description:'Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" }',properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},testID:{description:"Sets testid on Pressable (used for testing purposes)",type:"string"},underlayAppearance:{$ref:"#/$defs/UnderlayAppearanceValue",description:"Active layer appearance when pressed. Default: base"}},type:"object"},acceptsChildren:!0},ProgressIndicator:{description:"Horizontal progress bar showing completion percentage",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"ProgressIndicator appearance. Default: primary",enum:["primary","info","error","neutral"],type:"string"},buffer:{description:"Buffer value shown as a secondary track. Default: 0",type:"number"},max:{description:"Maximum value for the progress bar. Default: 100",type:"number"},showLabel:{description:"Show percentage label above the bar. Default: false",type:"boolean"},steps:{description:"Number of discrete steps (1 = continuous bar). Default: 1",type:"number"},testID:{description:"Sets testid on ProgressIndicator (used for testing purposes)",type:"string"},trackColor:{description:"Custom color for the progress bar track (design token or hex)",type:"string"},value:{description:"Number indicating the percentage of progress completion (0–100)",type:"number"}},required:["value"],type:"object"},acceptsChildren:!1},Radio:{description:"Single radio button option with label",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{boxView:{description:"Renders radio in box/card view style. Default: false",type:"boolean"},caption:{description:"Caption/description shown below the label",type:"string"},captionNumberOfLines:{description:"Max lines for the caption text. Default: 1",type:"number"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode. Default: false",type:"boolean"},disabled:{description:"Disables the radio button. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message"},haptic:{description:"Enables haptic feedback on selection. Default: true",type:"boolean"},helperText:{description:"Help text shown below the radio group",type:"string"},label:{description:"Label text shown beside the radio",type:"string"},readOnly:{description:"Makes the radio non-interactive (display only). Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},tag:{description:"Tag text shown above the label",type:"string"},testID:{description:"Sets testid on Radio (used for testing purposes)",type:"string"},titleNumberOfLines:{description:"Max lines for the label text. Default: 1",type:"number"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Controlled selected state — bind to state with $bindState",type:"boolean"}},type:"object"},acceptsChildren:!1},RadioGroup:{description:"Group of radio buttons for single-selection from a list",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial selected id for uncontrolled mode",type:"string"},disabled:{description:"Disables all options. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message shown below the group"},helperText:{description:"Help text shown below the group",type:"string"},options:{description:"Array of radio options: [{ id, label?, tag?, disabled? }]",items:{additionalProperties:!1,properties:{disabled:{description:"Disables this individual option",type:"boolean"},error:{description:"Marks this option in error state",type:"boolean"},id:{description:"Unique identifier for this option",type:"string"},label:{description:"Label text for this option",type:"string"},tag:{description:"Tag text shown above the label",type:"string"}},required:["id"],type:"object"},type:"array"},testID:{description:"Sets testid on RadioGroup (used for testing purposes)",type:"string"},value:{description:"Id of the selected option — bind to state with $bindState",type:"string"}},required:["options"],type:"object"},acceptsChildren:!1},Search:{description:"Search input field with clear and cancel controls",events:["change","cancel"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{clearable:{description:"Shows a clear button when the field has a value. Default: true",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},editable:{description:"Controls whether the search input is editable",type:"boolean"},hideCancel:{description:"Hides the cancel button. Default: false",type:"boolean"},placeholder:{description:"Placeholder text shown when empty",type:"string"},stickyCancel:{description:"Always shows the cancel button. Default: false",type:"boolean"},testID:{description:"Sets testid on Search (used for testing purposes)",type:"string"},value:{description:"Current search query — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},SectionHeader:{description:"Section divider label with configurable background",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{background:{description:"Background token for the section header. Default: surfaceDim",enum:["surfaceDim","surface","surfaceBright"],type:"string"},foreground:{description:"Foreground (text) token for the section header. Default: onSurface",enum:["onSurfaceVariant","onSurface","primary"],type:"string"},label:{description:"Text to display in the section header",type:"string"},testID:{description:"Sets testid on SectionHeader (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},Select:{description:"Dropdown picker input with a searchable action sheet",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{autoDismiss:{description:"Auto-dismisses the picker sheet after selection. Default: true",type:"boolean"},clearable:{description:"Shows a clear button to deselect. Default: false",type:"boolean"},defaultValue:{description:"Default selected option id for uncontrolled mode",type:"string"},descriptionNumberOfLines:{description:"Max lines for option description text in the picker. Default: 1",type:"number"},disabled:{description:"Disables the select input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state or error message"},helperText:{description:"Help text shown below the select input",type:"string"},hideDismissButton:{description:"Hides the dismiss button in the picker sheet header. Default: false",type:"boolean"},label:{description:"Label shown above the select input",type:"string"},multiple:{description:"Enables multi-selection mode. Default: false",type:"boolean"},options:{description:"Array of selectable options: [{ id, title, description?, icon?, disabled? }]",items:{additionalProperties:!1,properties:{description:{description:"Secondary description text",type:"string"},disabled:{description:"Disables this individual option",type:"boolean"},icon:{description:"Pebble icon name shown beside the option",type:"string"},id:{description:"Unique identifier for this option",type:"string"},title:{description:"Display text for this option",type:"string"}},required:["id","title"],type:"object"},type:"array"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},searchable:{description:"Shows a search field inside the picker sheet",type:"boolean"},searchAutoFocus:{description:"Auto-focuses the search field when the picker opens. Default: false",type:"boolean"},searchPlaceholder:{description:"Placeholder text for the search field",type:"string"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},testID:{description:"Sets testid on Select (used for testing purposes)",type:"string"},titleNumberOfLines:{description:"Max lines for option title text in the picker. Default: 1",type:"number"},value:{description:"Id of the selected option — bind to state with $bindState",type:"string"}},required:["label","options"],type:"object"},acceptsChildren:!1},SelectChips:{description:"Chip-based multi-select or single-select input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{anyOf:[{type:"string"},{items:{type:"string"},type:"array"}],description:"Initial value for uncontrolled mode"},disabled:{description:"Disables the chips. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message"},helperText:{description:"Help text shown below the chips",type:"string"},multiple:{description:"Allow multiple selection. Default: true",type:"boolean"},options:{description:"Array of selectable chip options",items:{additionalProperties:!1,properties:{id:{type:"string"},label:{type:"string"}},required:["id","label"],type:"object"},type:"array"},readOnly:{description:"Displays value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Masks chip values. Default: false",type:"boolean"},testID:{description:"Sets testid on SelectChips (used for testing purposes)",type:"string"},value:{anyOf:[{type:"string"},{items:{type:"string"},type:"array"}],description:"Selected id or array of ids — bind via $bindState"}},required:["options"],type:"object"},acceptsChildren:!1},Signature:{description:"Signature canvas input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},testID:{description:"Sets testid on InputSignature (used for testing purposes)",type:"string"},value:{description:"Current base64 PNG value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Sin:{description:"Masked Social Insurance Number input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputSin (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current SIN value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Slider:{description:"Draggable range slider for numeric input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode",type:"number"},disabled:{description:"Disables the slider. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback while dragging. Default: true",type:"boolean"},max:{description:"Maximum slider value. Default: 100",type:"number"},min:{description:"Minimum slider value. Default: 0",type:"number"},readOnly:{description:"Displays value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. masked in screenshots). Default: false",type:"boolean"},step:{description:"Step increment between values. Default: 1",type:"number"},testID:{description:"Sets testid on Slider (used for testing purposes)",type:"string"},value:{description:"Current slider value — bind to state with $bindState",type:"number"}},type:"object"},acceptsChildren:!1},SliderRange:{description:"Dual-handle range slider for selecting a numeric range",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial range value for uncontrolled mode",prefixItems:[{type:"number"},{type:"number"}],type:"array"},disabled:{description:"Disables the slider. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback on value change",type:"boolean"},max:{description:"Maximum slider value. Default: 100",type:"number"},min:{description:"Minimum slider value. Default: 0",type:"number"},readOnly:{description:"Displays value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Masks slider value. Default: false",type:"boolean"},step:{description:"Step increment between values. Default: 1",type:"number"},testID:{description:"Sets testid on SliderRange (used for testing purposes)",type:"string"},value:{description:"Range value [min, max] — bind via $bindState",prefixItems:[{type:"number"},{type:"number"}],type:"array"}},type:"object"},acceptsChildren:!1},SnackBar:{description:"Inline notification banner with optional action button and auto-dismiss",events:["dismiss","action"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{action:{additionalProperties:!1,description:'Action button shown on the right. Emits the "action" event when pressed.',properties:{title:{type:"string"}},required:["title"],type:"object"},appearance:{description:"SnackBar appearance. Default: info",enum:["info","success","warning","error"],type:"string"},autoDismiss:{description:"If true, SnackBar dismisses automatically after a duration",type:"boolean"},haptic:{description:"Enables haptic feedback on action press",type:"boolean"},hideIcon:{description:"If true, the icon is not shown on the left side",type:"boolean"},message:{description:"The message to display in the SnackBar",type:"string"},testID:{description:"Sets testid on SnackBar (used for testing purposes)",type:"string"}},required:["message"],type:"object"},acceptsChildren:!1},Spacer:{description:"Sub-component of ObjectUI. Empty vertical space between ObjectUI rows",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{size:{description:"Vertical spacing size of the spacer. Default: medium",enum:["small","medium","extraLarge"],type:"string"}},type:"object"},acceptsChildren:!1},Spinner:{description:"Animated loading indicator",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Spinner appearance. Default: secondary",enum:["primary","secondary","tertiary"],type:"string"},description:{description:"Description text shown below the title",type:"string"},size:{description:"Spinner size. Default: large",enum:["small","medium","large","extraLarge"],type:"string"},testID:{description:"Sets testid on Spinner (used for testing purposes)",type:"string"},title:{description:"Title text shown below the spinner",type:"string"},windowCentered:{description:"Positions spinner in the center of its parent container using absolute positioning. Default: false",type:"boolean"}},type:"object"},acceptsChildren:!1},Ssn:{description:"Masked Social Security Number input",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputSsn (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current SSN value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Status:{description:"Pill-shaped status indicator with colored appearance",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appearance:{description:"Status appearance. Default: primary",enum:["primary","secondary","tertiary","error","success","warning","info","disabled"],type:"string"},label:{description:"Text content shown inside the Status pill",type:"string"},outlined:{description:"Applies outlined/border style on the component. Default: false",type:"boolean"},testID:{description:"Sets testid on Status (used for testing purposes)",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},StatusBar:{description:"Sets the native status bar style. Renders no visible UI — place once near the top of a screen.",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{animated:{description:"Whether to animate status bar style changes. Default: true",type:"boolean"},appearance:{description:"Controls barStyle. onSurface → matches surface background; onSurfaceInverse → inverse. Default: onSurface",enum:["onSurface","onSurfaceInverse"],type:"string"}},type:"object"},acceptsChildren:!1},Switch:{description:"Toggle switch for boolean on/off input",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Initial value for uncontrolled mode. Default: false",type:"boolean"},disabled:{description:"Disables the switch. Default: false",type:"boolean"},haptic:{description:"Enables haptic feedback on toggle. Default: true",type:"boolean"},offIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name for the off-state thumb icon"},onIcon:{$ref:"#/$defs/IconValue",description:"Pebble icon name for the on-state thumb icon"},testID:{description:"Sets testid on Switch (used for testing purposes)",type:"string"},value:{description:"Controlled on/off state — bind to state with $bindState",type:"boolean"}},type:"object"},acceptsChildren:!1},Tabs:{description:"Tab navigation switcher for toggling between views",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{active:{description:"Id of the currently active tab — bind to state with $bindState",type:"string"},defaultActive:{description:"Id of the tab to show by default",type:"string"},fluid:{description:"Stretches tabs to fill available width. Default: false",type:"boolean"},items:{description:"Array of tab definitions: [{ id, title, icon?, badge? }]",items:{additionalProperties:!1,properties:{badge:{description:"Badge text shown on the tab",type:"string"},icon:{description:"Pebble icon name shown on the tab",type:"string"},id:{description:"Unique tab identifier — written to state on change",type:"string"},title:{description:"Tab label text",type:"string"}},required:["id","title"],type:"object"},type:"array"},spacing:{description:"Spacing around the tabs container. Default: none",enum:["none","vertical","horizontal","all"],type:"string"},testID:{description:"Sets testid on Tabs (used for testing purposes)",type:"string"},translucent:{description:"Gives tabs a translucent background. Default: true",type:"boolean"},variant:{description:"Visual style of the tabs. Default: switch",enum:["switch","link","segmented"],type:"string"}},required:["items"],type:"object"},acceptsChildren:!1},Text:{description:"Typography primitive using Pebble typestyle tokens",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{accessibilityLabel:{description:"Accessibility label read by screen readers",type:"string"},accessible:{description:"Whether the element is an accessibility element. Default: true",type:"boolean"},color:{$ref:"#/$defs/ColorValue",description:"Pebble color token key for text color. Overridden by color in the style prop."},disabled:{description:"Whether the text is disabled (accessibility and styling). Default: false",type:"boolean"},ellipsizeMode:{description:"How text is truncated when it exceeds numberOfLines. Requires numberOfLines to be set. Default: tail",enum:["head","middle","tail","clip"],type:"string"},numberOfLines:{description:"Maximum number of lines before truncating with ellipsis. Omit for unlimited lines",type:"number"},selectable:{description:"Whether the user can select and copy the text. Default: false",type:"boolean"},style:{anyOf:[{additionalProperties:!1,description:"TextStyle object — all values must be pebble design token keys. Color example: { color: 'colorOnSurface' }. Spacing example: { marginTop: 'space200' }.",properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},color:{$ref:"#/$defs/ColorValue",description:"Text color token (e.g. colorOnSurface, colorPrimary)"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},fontFamily:{description:"Font family name",type:"string"},fontSize:{description:"Font size in logical pixels",type:"number"},fontStyle:{$ref:"#/$defs/FontStyleValue",description:"Font style. Default: normal"},fontWeight:{$ref:"#/$defs/FontWeightValue",description:"Font weight. Default: normal"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},includeFontPadding:{description:"Include extra font padding (Android only). Default: true",type:"boolean"},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},letterSpacing:{description:"Extra space between characters in logical pixels (e.g. 0.5, 1.5)",type:"number"},lineHeight:{description:"Line height in logical pixels",type:"number"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},textAlign:{$ref:"#/$defs/TextAlignValue",description:"Horizontal text alignment. Default: auto"},textAlignVertical:{$ref:"#/$defs/TextAlignVerticalValue",description:"Vertical text alignment (Android only). Default: auto"},textDecorationColor:{$ref:"#/$defs/ColorValue",description:"Text decoration color token. Requires textDecorationLine"},textDecorationLine:{$ref:"#/$defs/TextDecorationLineValue",description:"Text decoration. Default: none"},textDecorationStyle:{$ref:"#/$defs/TextDecorationStyleValue",description:"Text decoration style (iOS only). Default: solid"},textShadowColor:{$ref:"#/$defs/ColorValue",description:"Text shadow color token"},textShadowOffsetHeight:{$ref:"#/$defs/SpaceValue",description:"Vertical text shadow offset — space token"},textShadowOffsetWidth:{$ref:"#/$defs/SpaceValue",description:"Horizontal text shadow offset — space token"},textShadowRadius:{$ref:"#/$defs/SpaceValue",description:"Text shadow blur radius — space token"},textTransform:{$ref:"#/$defs/TextTransformValue",description:"Text case transformation. Default: none"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},writingDirection:{$ref:"#/$defs/WritingDirectionValue",description:"Writing direction. Default: auto"},zIndex:{description:"Stack order",type:"number"}},type:"object"},{items:{anyOf:[{$ref:"#/$defs/TypestyleValue",description:"A typestyle token key that provides a full font preset, e.g. one of: typestyleV2TitleLarge, typestyleV2TitleMedium, typestyleV2TitleSmall, typestyleV2BodyLarge, typestyleV2BodyLargeEmphasized, …"},{additionalProperties:!1,description:"TextStyle object — all values must be pebble design token keys. Color example: { color: 'colorOnSurface' }. Spacing example: { marginTop: 'space200' }.",properties:{alignItems:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderBottomColor:{$ref:"#/$defs/ColorValue",description:"Bottom border color token"},borderBottomLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-left border radius — shape corner token"},borderBottomRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Bottom-right border radius — shape corner token"},borderBottomWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Bottom border width — shape border width token"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderLeftColor:{$ref:"#/$defs/ColorValue",description:"Left border color token"},borderLeftWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Left border width — shape border width token"},borderRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},borderRightColor:{$ref:"#/$defs/ColorValue",description:"Right border color token"},borderRightWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Right border width — shape border width token"},borderTopColor:{$ref:"#/$defs/ColorValue",description:"Top border color token"},borderTopLeftRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-left border radius — shape corner token"},borderTopRightRadius:{$ref:"#/$defs/ShapeCornerValue",description:"Top-right border radius — shape corner token"},borderTopWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Top border width — shape border width token"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},color:{$ref:"#/$defs/ColorValue",description:"Text color token (e.g. colorOnSurface, colorPrimary)"},columnGap:{$ref:"#/$defs/SpaceValue",description:"Column gap between children — space token"},display:{$ref:"#/$defs/DisplayValue",description:"Display type. Default: flex"},flex:{description:"Flex grow/shrink factor",type:"number"},flexBasis:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Initial main size — size token or percentage"},flexDirection:{$ref:"#/$defs/FlexDirectionValue",description:"Main axis direction. Default: column"},flexGrow:{description:"Flex grow factor",type:"number"},flexShrink:{description:"Flex shrink factor",type:"number"},flexWrap:{$ref:"#/$defs/FlexWrapValue",description:"Whether children wrap to next line. Default: nowrap"},fontFamily:{description:"Font family name",type:"string"},fontSize:{description:"Font size in logical pixels",type:"number"},fontStyle:{$ref:"#/$defs/FontStyleValue",description:"Font style. Default: normal"},fontWeight:{$ref:"#/$defs/FontWeightValue",description:"Font weight. Default: normal"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},includeFontPadding:{description:"Include extra font padding (Android only). Default: true",type:"boolean"},justifyContent:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},letterSpacing:{description:"Extra space between characters in logical pixels (e.g. 0.5, 1.5)",type:"number"},lineHeight:{description:"Line height in logical pixels",type:"number"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},opacity:{$ref:"#/$defs/OpacityValue",description:"Opacity token (e.g. opacity0, opacity50, opacity100)"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},rowGap:{$ref:"#/$defs/SpaceValue",description:"Row gap between children — space token"},textAlign:{$ref:"#/$defs/TextAlignValue",description:"Horizontal text alignment. Default: auto"},textAlignVertical:{$ref:"#/$defs/TextAlignVerticalValue",description:"Vertical text alignment (Android only). Default: auto"},textDecorationColor:{$ref:"#/$defs/ColorValue",description:"Text decoration color token. Requires textDecorationLine"},textDecorationLine:{$ref:"#/$defs/TextDecorationLineValue",description:"Text decoration. Default: none"},textDecorationStyle:{$ref:"#/$defs/TextDecorationStyleValue",description:"Text decoration style (iOS only). Default: solid"},textShadowColor:{$ref:"#/$defs/ColorValue",description:"Text shadow color token"},textShadowOffsetHeight:{$ref:"#/$defs/SpaceValue",description:"Vertical text shadow offset — space token"},textShadowOffsetWidth:{$ref:"#/$defs/SpaceValue",description:"Horizontal text shadow offset — space token"},textShadowRadius:{$ref:"#/$defs/SpaceValue",description:"Text shadow blur radius — space token"},textTransform:{$ref:"#/$defs/TextTransformValue",description:"Text case transformation. Default: none"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},writingDirection:{$ref:"#/$defs/WritingDirectionValue",description:"Writing direction. Default: auto"},zIndex:{description:"Stack order",type:"number"}},type:"object"}]},type:"array"}],description:"Text style — plain object or array of typestyle token keys and/or style override objects. Plain object: { color: 'colorOnSurface', marginTop: 'space200' }. Array: ['typestyleV2BodyLarge', { color: 'colorOnSurface' }]."},testID:{description:"Sets testid on Text (used for testing purposes)",type:"string"},text:{description:"Text content to display",type:"string"},typestyle:{$ref:"#/$defs/TypestyleValue",description:"Pebble typestyle token key. Overridden by matching typography in the style prop."}},required:["text"],type:"object"},acceptsChildren:!1},Textarea:{description:"Multi-line text input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the textarea. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},height:{description:"Fixed height of the textarea in points",type:"number"},helperText:{description:"Help text shown below the textarea",type:"string"},label:{description:"Label shown above the textarea",type:"string"},maxLength:{description:"Maximum number of characters allowed",type:"number"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},testID:{description:"Sets testid on Textarea (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current text value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1},Time:{description:"Time picker input field",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{defaultValue:{description:"Default ISO time string for uncontrolled mode",type:"string"},disabled:{description:"Disables the time input. Default: false",type:"boolean"},error:{anyOf:[{type:"string"},{type:"boolean"}],description:"Error state or error message"},format:{description:"Time format. Default: isoString",enum:["isoString"],type:"string"},helperText:{description:"Help text shown below the time input",type:"string"},label:{description:"Label shown above the time input",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},sensitive:{description:"Masks time value. Default: false",type:"boolean"},testID:{description:"Sets testid on Time (used for testing purposes)",type:"string"},value:{description:"ISO time string — bind to state with $bindState",type:"string"}},required:["label"],type:"object"},acceptsChildren:!1},TimeRange:{description:"Time range picker with start and end time inputs",events:["change"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{alignment:{$ref:"#/$defs/AlignmentValue",description:"Layout alignment of the two time fields. Default: row"},defaultValue:{description:"Default ISO time strings [start, end]",prefixItems:[{type:"string"},{type:"string"}],type:"array"},disabled:{description:"Disables both time inputs. Default: false",type:"boolean"},error:{description:"Error message shown below the inputs",type:"string"},helperText:{description:"Help text shown below the time range inputs",type:"string"},label:{description:"Labels for [start, end] time",prefixItems:[{type:"string"},{type:"string"}],type:"array"},readOnly:{description:"Shows values without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the fields as required. Default: false",type:"boolean"},sensitive:{description:"Masks time values. Default: false",type:"boolean"},testID:{description:"Sets testid on TimeRange (used for testing purposes)",type:"string"},value:{description:"ISO time strings [start, end] — bind via $bindState",prefixItems:[{type:"string"},{type:"string"}],type:"array"}},required:["label"],type:"object"},acceptsChildren:!1},Tip:{description:"Informational tip block with a title, description, and optional children content",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{description:{description:"Description text shown on the Tip modal",type:"string"},testID:{description:"Sets testid on Tip (used for testing purposes)",type:"string"},title:{description:"Title shown on the Tip modal",type:"string"}},required:["description"],type:"object"},acceptsChildren:!0},VStack:{description:"Vertical flex column container",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{align:{$ref:"#/$defs/AlignItemsValue",description:"Align children along the cross axis. Default: stretch"},alignSelf:{$ref:"#/$defs/AlignSelfValue",description:"Override parent alignItems for this element. Default: auto"},backgroundColor:{$ref:"#/$defs/ColorValue",description:"Background color token (e.g. colorSurface, colorPrimaryContainer)"},borderColor:{$ref:"#/$defs/ColorValue",description:"Border color token on all sides (e.g. colorBorder)"},borderWidth:{$ref:"#/$defs/ShapeBorderWidthValue",description:"Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd)"},bottom:{$ref:"#/$defs/SpaceValue",description:"Bottom offset — space token"},flex:{description:"Flex grow/shrink factor",type:"number"},gap:{$ref:"#/$defs/SpaceValue",description:"Gap between children — space token"},grow:{description:"Flex grow factor",type:"number"},height:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Height — size token or percentage (e.g. "50%")'},justify:{$ref:"#/$defs/JustifyContentValue",description:"Align children along the main axis. Default: flex-start"},left:{$ref:"#/$defs/SpaceValue",description:"Left offset — space token"},margin:{$ref:"#/$defs/SpaceValue",description:"Margin on all sides — space token (e.g. space100, space200, space400)"},marginBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom margin — space token"},marginHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right margin — space token"},marginLeft:{$ref:"#/$defs/SpaceValue",description:"Left margin — space token"},marginRight:{$ref:"#/$defs/SpaceValue",description:"Right margin — space token"},marginTop:{$ref:"#/$defs/SpaceValue",description:"Top margin — space token"},marginVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom margin — space token"},maxHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum height — size token or percentage"},maxWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Maximum width — size token or percentage"},minHeight:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum height — size token or percentage"},minWidth:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:"Minimum width — size token or percentage"},overflow:{$ref:"#/$defs/OverflowValue",description:"How content overflow is handled. Default: visible"},padding:{$ref:"#/$defs/SpaceValue",description:"Padding on all sides — space token (e.g. space100, space200, space400)"},paddingBottom:{$ref:"#/$defs/SpaceValue",description:"Bottom padding — space token"},paddingHorizontal:{$ref:"#/$defs/SpaceValue",description:"Left and right padding — space token"},paddingLeft:{$ref:"#/$defs/SpaceValue",description:"Left padding — space token"},paddingRight:{$ref:"#/$defs/SpaceValue",description:"Right padding — space token"},paddingTop:{$ref:"#/$defs/SpaceValue",description:"Top padding — space token"},paddingVertical:{$ref:"#/$defs/SpaceValue",description:"Top and bottom padding — space token"},position:{$ref:"#/$defs/PositionValue",description:"Positioning type. Default: relative"},radius:{$ref:"#/$defs/ShapeCornerValue",description:"Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg)"},reverse:{description:"Reverses the column direction. Default: false",type:"boolean"},right:{$ref:"#/$defs/SpaceValue",description:"Right offset — space token"},scrollView:{description:"If true, wraps children in a vertical ScrollView instead of a View",type:"boolean"},shrink:{description:"Flex shrink factor",type:"number"},testID:{description:"Sets testid on VStack (used for testing purposes)",type:"string"},top:{$ref:"#/$defs/SpaceValue",description:"Top offset — space token"},width:{anyOf:[{$ref:"#/$defs/SizeValue"},{description:'Percentage dimension passed through to React Native as-is (e.g. "50%", "100%")',pattern:"^\\d+(\\.\\d+)?%$",type:"string"}],description:'Width — size token (e.g. size400, size800) or percentage (e.g. "100%")'},zIndex:{description:"Stack order",type:"number"}},type:"object"},acceptsChildren:!0},Widget:{description:"Card-like widget with a title, body content, and optional action buttons",events:["titlePress","primaryAction","secondaryAction"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{actions:{additionalProperties:!1,description:'Action buttons. primary emits "primaryAction", secondary emits "secondaryAction".',properties:{primary:{additionalProperties:!1,properties:{disabled:{type:"boolean"},title:{type:"string"}},required:["title"],type:"object"},secondary:{additionalProperties:!1,properties:{disabled:{type:"boolean"},title:{type:"string"}},required:["title"],type:"object"}},type:"object"},contentShimmerTemplate:{description:"Content shimmer layout template. Default: details",enum:["details","grid","list"],type:"string"},disabled:{description:"Disables the widget. Default: false",type:"boolean"},isActionsLoading:{description:"Shows shimmer in the actions area only",type:"boolean"},isContentLoading:{description:"Shows shimmer in the content area only",type:"boolean"},isLoading:{description:"Shows shimmer placeholders across the entire widget",type:"boolean"},isTitleLoading:{description:"Shows shimmer in the title area only",type:"boolean"},meta:{additionalProperties:!1,description:"A json-render spec to render as meta content beside the widget title",properties:{elements:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},root:{type:"string"},state:{additionalProperties:{},propertyNames:{type:"string"},type:"object"}},required:["root","elements"],type:"object"},spacing:{description:"Horizontal spacing for content. Default: none",enum:["none","horizontal"],type:"string"},testID:{description:"Sets testid on Widget (used for testing purposes)",type:"string"},title:{description:"Title displayed in the widget header",type:"string"}},required:["title"],type:"object"},acceptsChildren:!0},WorkEmail:{description:"Email text input that validates work email format",events:["change","blur"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{name:{description:"Field name identifier for form binding",type:"string"},checks:{description:"Array of {type, message, args?} validation rule objects. Requires validateOn to be set",items:{additionalProperties:!1,properties:{args:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},message:{type:"string"},type:{type:"string"}},required:["type","message"],type:"object"},type:"array"},clearable:{description:"Shows a clear button when the field has a value. Default: false",type:"boolean"},defaultValue:{description:"Initial value for uncontrolled mode",type:"string"},disabled:{description:"Disables the input. Default: false",type:"boolean"},error:{anyOf:[{type:"boolean"},{type:"string"}],description:"Error state — true for generic error highlight, string for error message"},helperText:{description:"Help text shown below the input",type:"string"},label:{description:"Label shown above the input",type:"string"},placeholder:{description:"Placeholder text shown when the field is empty",type:"string"},readOnly:{description:"Shows value without allowing edits. Default: false",type:"boolean"},required:{description:"Marks the field as required. Default: false",type:"boolean"},sensitive:{description:"Marks the field as sensitive (e.g. for screenshot masking)",type:"boolean"},testID:{description:"Sets testid on InputWorkEmail (used for testing purposes)",type:"string"},validateOn:{$ref:"#/$defs/ValidateOnValue",description:"When to run validation checks. Requires checks to be set"},value:{description:"Current email value — bind to state with $bindState",type:"string"}},type:"object"},acceptsChildren:!1}},$t={goBack:{description:"Mobile-specific action that goes back to the previous screen in the navigation stack.",docs:"No params. Calls NavigationService.navigateBack(). No-ops if there is no screen to go back to.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{},type:"object"}},navigate:{description:"Navigate to a React Navigation screen by name using the mobile route registered in the navigator.",docs:'`screen` (required): the React Navigation screen name to navigate to, usually in "{namespace}/{ScreenName}" format.\n`params` (optional): key-value params forwarded to the target screen (same as React Navigation `navigate` second argument).\nUses the global NavigationService, so it works from any SDUI component regardless of navigation context.',paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{params:{additionalProperties:!0,description:"Optional params object forwarded to the target screen.",type:"object"},screen:{description:'React Navigation screen name to navigate to. Mobile screens typically use the "{namespace}/{ScreenName}" route name.',type:"string"}},required:["screen"],type:"object"}},push:{description:"Push a React Navigation screen onto the current stack by name using the mobile route registered in the navigator.",docs:'`screen` (required): the React Navigation screen name to push, usually in "{namespace}/{ScreenName}" format.\n`params` (optional): key-value params forwarded to the target screen (same as React Navigation `push` second argument).\nUses the global NavigationService, so it works from any SDUI component regardless of navigation context.',paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{params:{additionalProperties:!0,description:"Optional params object forwarded to the target screen.",type:"object"},screen:{description:'React Navigation screen name to navigate to. Mobile screens typically use the "{namespace}/{ScreenName}" route name.',type:"string"}},required:["screen"],type:"object"}},triggerApi:{description:"Call a Rippling internal API endpoint and optionally store its response in SDUI state.",docs:'`url` (required): relative Rippling path beginning with a single "/". Absolute and protocol-relative URLs are rejected.\n`method` (optional): "GET" or "POST"; defaults to "POST".\n`payload` (optional): query parameters for GET or the JSON body for POST.\n`responsePath` (optional): state path where the response body is stored.\n`errorPath` (optional): on failure, stores `{ status, message }`; a later success clears it to `null`.\n`onSuccess` / `onError` (optional): action lifecycle configuration matching the web SDUI helper.',paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{errorPath:{description:"State path where a structured { status, message } error is stored.",type:"string"},method:{default:"POST",description:"HTTP method. Defaults to POST.",enum:["GET","POST"],type:"string"},onError:{description:"Action lifecycle configuration run after a failed call."},onSuccess:{description:"Action lifecycle configuration run after a successful call."},payload:{additionalProperties:!0,description:"POST body or GET query parameters. Defaults to an empty object for POST.",type:"object"},responsePath:{description:"State path where the successful response body is stored.",type:"string"},url:{description:"Relative Rippling API path. Absolute and protocol-relative URLs are not allowed.",pattern:"^/(?!/)",type:"string"}},required:["url"],type:"object"}}},rt={currency_format:{description:"Format an amount as currency (symbol/code + grouped decimals) using app currency utilities.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{currencyCode:{description:"ISO 4217 currency code.",type:"string"},value:{description:"Amount to format."}},required:["value"],type:"object"}},currency_getCurrencyCodeByCountryCode:{description:"Map an ISO 3166-1 alpha-2 country code to its primary ISO 4217 currency code.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{value:{description:"Single string argument (see function description).",type:"string"}},required:["value"],type:"object"}},currency_getCurrencyNameByCode:{description:"Human-readable currency name for an ISO 4217 code (e.g. USD → US Dollar).",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{value:{description:"Single string argument (see function description).",type:"string"}},required:["value"],type:"object"}},currency_getCurrencySymbol:{description:"Resolve the display symbol (or code fallback) for a currency code.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{value:{description:"Currency code to resolve a symbol for.",type:"string"}},type:"object"}},currency_isConvertableToCurrency:{description:"Whether the given value can be interpreted as a number string (delegates to `CurrencyUtils.isConvertableToCurrency`).",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{decimalDenote:{description:"Optional decimal separator character when parsing strings.",type:"string"},value:{description:"Candidate string to test for numeric conversion."}},required:["value"],type:"object"}},currency_toMoney:{description:"Format a numeric amount with locale-aware grouping/decimals (no currency symbol).",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{value:{description:"Amount to format as a localized number string."}},required:["value"],type:"object"}},dateTime_add:{description:"Add a duration to a datetime and return the resulting `Date` via `DateTimeUtils.add`.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{duration:{additionalProperties:!1,description:"Duration to add — object with optional years, months, weeks, days, hours, minutes, seconds.",properties:{days:{type:"number"},hours:{type:"number"},minutes:{type:"number"},months:{type:"number"},seconds:{type:"number"},weeks:{type:"number"},years:{type:"number"}},type:"object"},options:{additionalProperties:!0,description:"Optional AddOptions (parseFormat, parseTimeZone).",type:"object"},value:{description:"Base datetime input (ISO string or resolved date).",type:"string"}},required:["value","duration"],type:"object"}},dateTime_format:{description:"Format a datetime for display via `DateTimeUtils.format` using preset tokens and optional format options.",paramsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!0,properties:{options:{additionalProperties:!0,description:"Optional FormatOptions (parseFormat, timeZone, parseTimeZone, unit).",type:"object"},tokens:{description:"FormatStyle preset(s) for DateTimeUtils.format — string or { date?, time?, weekday? } with string values.",oneOf:[{type:"string"},{additionalProperties:!0,type:"object"}]},value:{description:"Primary datetime input (ISO string or resolved date).",type:"string"}},required:["value"],type:"object"}}},xf={},Jo={AlignItemsValue:{enum:["flex-start","flex-end","center","stretch","baseline"]},AlignmentValue:{enum:["row","column"]},AlignSelfValue:{enum:["auto","flex-start","flex-end","center","stretch","baseline"]},AppearanceValue:{enum:["primary","secondary","tertiary","error","success","warning","info","errorTint","successTint","warningTint","infoTint","inverse","inverseError","inverseSuccess","inverseWarning","inverseInfo"]},AvatarSizeValue:{enum:["extraSmall","small","medium","large","extraLarge"]},ColorValue:{enum:["colorPrimary","colorOnPrimary","colorPrimaryContainer","colorOnPrimaryContainer","colorPrimaryVariant","colorOnPrimaryVariant","colorSecondary","colorOnSecondary","colorSecondaryContainer","colorOnSecondaryContainer","colorSecondaryVariant","colorOnSecondaryVariant","colorTertiary","colorOnTertiary","colorTertiaryContainer","colorOnTertiaryContainer","colorTertiaryVariant","colorOnTertiaryVariant","colorError","colorOnError","colorErrorContainer","colorOnErrorContainer","colorErrorHover","colorErrorPressed","colorErrorContainerHover","colorErrorContainerPressed","colorSuccess","colorOnSuccess","colorSuccessContainer","colorOnSuccessContainer","colorSuccessHover","colorSuccessPressed","colorSuccessContainerHover","colorSuccessContainerPressed","colorOnSuccessContainerHover","colorInfo","colorOnInfo","colorInfoContainer","colorOnInfoContainer","colorInfoHover","colorInfoPressed","colorInfoContainerHover","colorInfoContainerPressed","colorOnInfoContainerHover","colorWarning","colorOnWarning","colorWarningContainer","colorOnWarningContainer","colorWarningHover","colorWarningPressed","colorWarningContainerHover","colorWarningContainerPressed","colorOnWarningContainerHover","colorSurface","colorSurfaceDim","colorSurfaceBright","colorSurfaceContainer","colorSurfaceContainerHighest","colorSurfaceContainerHigh","colorSurfaceContainerLow","colorSurfaceContainerLowest","colorOnSurface","colorOnSurfaceVariant","colorOnSurfaceInverse","colorSurfaceHover","colorSurfacePressed","colorSurfaceDimHover","colorSurfaceDimPressed","colorSurfaceBrightHover","colorSurfaceBrightPressed","colorSurfaceContainerHover","colorSurfaceContainerPressed","colorOnSurfaceHover","colorOnSurfacePressed","colorOnSurfaceVariantHover","colorOnSurfaceVariantPressed","colorSurfaceInverse","colorInverseSurfaceHover","colorInverseSurfacePressed","colorOutline","colorOutlineVariant","colorOutlineFocus","colorOutlineInvalid","colorOutlineInverse","colorOutlineVariantInverse","colorOutlineHover","colorOutlinePressed","colorOutlineVariantHover","colorOutlineVariantPressed","colorDisabled","colorOnDisabledSurface","colorDisabledSurface","colorDisabledSurfaceSelected","colorDisabledInverse","colorDisabledSurfaceInverse","colorOnDisabledSurfaceInverse","colorOverlay","colorOverlayInverse","colorHover","colorHoverInverse","colorPressed","colorPressedInverse","componentColorStatusPrimary","componentColorStatusWarning","componentColorStatusTertiary","componentColorStatusError","componentColorStatusSuccess","componentColorStatusDisabled","componentColorAnchor","componentColorShimmerBase","componentColorShimmerMin","componentColorShimmerMid","componentColorShimmerMax","componentColorGridSelection","componentColorLabelNeutral","componentColorToggleButtonBase","componentColorNavAdminBackground","componentColorNavEeBackground","componentColorNavAdminInput","componentColorNavEeInput","componentColorNavTextColor","componentColorEditorOutline","componentColorPickerSeries1Color1","componentColorPickerSeries1Color2","componentColorPickerSeries1Color3","componentColorPickerSeries1Color4","componentColorPickerSeries1Color5","componentColorPickerSeries2Color1","componentColorPickerSeries2Color2","componentColorPickerSeries2Color3","componentColorPickerSeries2Color4","componentColorPickerSeries2Color5","componentColorPickerSeries3Color1","componentColorPickerSeries3Color2","componentColorPickerSeries3Color3","componentColorPickerSeries3Color4","componentColorPickerSeries3Color5","componentColorPickerSeries4Color1","componentColorPickerSeries4Color2","componentColorPickerSeries4Color3","componentColorPickerSeries4Color4","componentColorPickerSeries4Color5","componentColorPickerSeries5Color1","componentColorPickerSeries5Color2","componentColorPickerSeries5Color3","componentColorPickerSeries5Color4","componentColorPickerSeries5Color5","componentColorPickerSeries6Color1","componentColorPickerSeries6Color2","componentColorPickerSeries6Color3","componentColorPickerSeries6Color4","componentColorPickerSeries6Color5","componentColorPickerSeries7Color1","componentColorPickerSeries7Color2","componentColorPickerSeries7Color3","componentColorPickerSeries7Color4","componentColorPickerSeries7Color5","componentColorEditorPickerSeries1Color1","componentColorEditorPickerSeries1Color2","componentColorEditorPickerSeries1Color3","componentColorEditorPickerSeries1Color4","componentColorEditorPickerSeries1Color5","componentColorEditorPickerSeries2Color1","componentColorEditorPickerSeries2Color2","componentColorEditorPickerSeries2Color3","componentColorEditorPickerSeries2Color4","componentColorEditorPickerSeries2Color5","componentColorEditorPickerSeries3Color1","componentColorEditorPickerSeries3Color2","componentColorEditorPickerSeries3Color3","componentColorEditorPickerSeries3Color4","componentColorEditorPickerSeries3Color5","componentColorEditorPickerSeries4Color1","componentColorEditorPickerSeries4Color2","componentColorEditorPickerSeries4Color3","componentColorEditorPickerSeries4Color4","componentColorEditorPickerSeries4Color5","componentColorEditorPickerSeries5Color1","componentColorEditorPickerSeries5Color2","componentColorEditorPickerSeries5Color3","componentColorEditorPickerSeries5Color4","componentColorEditorPickerSeries5Color5","componentColorEditorPickerSeries6Color1","componentColorEditorPickerSeries6Color2","componentColorEditorPickerSeries6Color3","componentColorEditorPickerSeries6Color4","componentColorEditorPickerSeries6Color5","componentColorEditorPickerSeries7Color1","componentColorEditorPickerSeries7Color2","componentColorEditorPickerSeries7Color3","componentColorEditorPickerSeries7Color4","componentColorEditorPickerSeries7Color5","chartColorSeries1Chart1","chartColorSeries1Chart2","chartColorSeries1Chart3","chartColorSeries1Chart4","chartColorSeries1Chart5","chartColorSeries2Chart1","chartColorSeries2Chart2","chartColorSeries2Chart3","chartColorSeries2Chart4","chartColorSeries2Chart5","chartColorSeries3Chart1","chartColorSeries3Chart2","chartColorSeries3Chart3","chartColorSeries3Chart4","chartColorSeries3Chart5","chartColorSeries4Chart1","chartColorSeries4Chart2","chartColorSeries4Chart3","chartColorSeries4Chart4","chartColorSeries4Chart5","chartColorSeries5Chart1","chartColorSeries5Chart2","chartColorSeries5Chart3","chartColorSeries5Chart4","chartColorSeries5Chart5","chartColorSeries6Chart1","chartColorSeries6Chart2","chartColorSeries6Chart3","chartColorSeries6Chart4","chartColorSeries6Chart5"]},ContentFitValue:{enum:["cover","contain","fill","none","scale-down"]},DisplayValue:{enum:["none","flex"]},FlexDirectionValue:{enum:["row","column","row-reverse","column-reverse"]},FlexWrapValue:{enum:["wrap","nowrap","wrap-reverse"]},FontStyleValue:{enum:["normal","italic"]},FontWeightValue:{enum:["100","200","300","400","500","600","700","800","900","normal","bold"]},HapticValue:{enum:["hapticControlLow","hapticControlHigh","hapticInformError","hapticInformSuccess","hapticInformWarning"]},IconValue:{enum:["401KFilled","401KOutline","accessGovernance","accessibilityFilled","accessibilityOutline","accountantFilled","accountantOutline","accountingFilled","accountingOutline","actionMinimize","add","addCircleFilled","addCircleOutline","addCommentFilled","addCommentOutline","addNotificationFilled","addNotificationOutline","additionalInfoOutline","airlineStopsFilled","airlineStopsOutline","airlinesFilled","airlinesOutline","apiFilled","apiOutline","appHeader","appManagementFilled","appManagementOutline","apple","appleCrossFilled","appleCrossOutline","appleSafari","approvalFilled","approvalOutline","approveRejectShieldFilled","approveRejectShieldOutline","appsFilled","appsOutline","archiveFilled","archiveOutline","areaFilled","areaOutline","arrivalOutline","arrowDown","arrowDownAz","arrowDownLeftRight","arrowDownMini","arrowDownRight","arrowDownZa","arrowLeft","arrowRight","arrowRightPlusFilled","arrowRightPlusOutline","arrowUp","arrowUpMini","arrowUpRight","arrowUpRightBox","atomFilled","atomOutline","auditObservationFilled","auditObservationOutline","authenticatorFilled","authenticatorOutline","autoFilled","autoOutline","automatedComplianceFilled","automatedComplianceOutline","automaticTransmissionFilled","automaticTransmissionOutline","bagsFilled","bagsOutline","bandagedFootFilled","bandagedFootOutline","bankFilled","bankOutline","barChartFilled","barChartOutline","bedCrossFilled","bedCrossOutline","bentoBox","bitwarden","blogsFilled","blogsOutline","bookOpenAzFilled","bookOpenAzOutline","bookmarkFilled","bookmarkOutline","booksFilled","booksOutline","boxDashedFolderOpenFilled","boxDashedFolderOpenOutline","boxDashedTableFilled","boxDashedTableOutline","boxesFilled","boxesOutline","boxesUserFilled","boxesUserOutline","brazilianReal","brex","briefcaseFilled","briefcaseOutline","browserRipplingLogoFilled","browserRipplingLogoOutline","budgetDollarFilled","budgetDollarOutline","budgetEuroFilled","budgetEuroOutline","budgetHierarchyFilled","budgetHierarchyOutline","budgetPoundFilled","budgetPoundOutline","budgetRupeeFilled","budgetRupeeOutline","budgetYenFilled","budgetYenOutline","button","cabinClass","cabinClassUpgrade","calendarFilled","calendarMini","calendarOutline","cameraFilled","cameraOutline","cancelFilled","cancelOutline","caretDown","caretLeft","caretRight","caretUp","carriageFilled","carriageOutline","carryOnBagFilled","carryOnBagOutline","carta","certificateFilled","certificateOutline","chainBreakingFilled","chainBreakingOutline","changeCommuterBenefitsFilled","changeCommuterBenefitsOutline","changeFilled","changeFsaDollarFilled","changeFsaDollarOutline","changeFsaEuroFilled","changeFsaEuroOutline","changeFsaPoundFilled","changeFsaPoundOutline","changeFsaRupeeFilled","changeFsaRupeeOutline","changeFsaYenFilled","changeFsaYenOutline","changeInsuranceFilled","changeInsuranceOutline","changeOutline","changeTaxWithholdingFilled","changeTaxWithholdingOutline","charityFilled","charityOutline","chart3UnevenVerticalBarsFilled","chart3UnevenVerticalBarsOutline","chartSunburstFilled","chartSunburstOutline","check","checkCircleFilled","checkCircleOutline","checkboxFill","checkboxIntermediate","checkboxOutline","checkboxWithcheckOutline","checkedBagFilled","checkedBagOutline","checklist","chevronCircleDownFilled","chevronCircleDownOutline","chevronCircleUpFilled","chevronCircleUpOutline","chevronDown","chevronLeft","chevronRight","chevronUp","chrome","circleArrowUpGraphFilled","circleArrowUpGraphOutline","circleStopFilled","circleStopOutline","circlesStackedDiamondFilled","circlesStackedDiamondOutline","clear","clearFormattingFilled","clearFormattingOutline","clientCommandFilled","clientCommandOutline","clipboardCrossCheckFilled","clipboardCrossCheckOutline","clipboardHouseFilled","clipboardHouseOutline","close","closeCircleFilled","closeCircleOutline","closedCaptionsFilled","closedCaptionsOutline","co2","codecov","cogGlobeFilled","cogGlobeOutline","coinStackArrowsFilled","coinStackArrowsOutline","collapse","collapsePanelFilled","collapsePanelOutline","columnBarChartFilled","columnBarChartOutline","comboChartFilled","comboChartOutline","comfortFilled","commentsFilled","commentsOutline","companySettingsFilled","companySettingsOutline","compassFilled","compassOutline","competitiveParentalLeaveFilled","competitiveParentalLeaveOutline","compliance360","complianceTrainingFilled","complianceTrainingOutline","composeFilled","composeOutline","connectCloudFilled","connectCloudOutline","connectDatabaseFilled","connectDatabaseOutline","consultantFilled","consultantOutline","contentLibraryFilled","contentLibraryOutline","controlFilled","controlOutline","copyFilled","copyOutline","corFilled","corOutline","costaRicanColn","coursesFilled","coursesOutline","createCourseFilled","createCourseOutline","creditCardFilled","creditCardGraphFilled","creditCardGraphOutline","creditCardOutline","creditCardSpendingLimitFilled","creditCardSpendingLimitOutline","creditCardsFilled","creditCardsOutline","csvFilled","csvOutline","cup","cupDropletFilled","cupDropletOutline","currencyCoversionDollar","currencyCoversionEuro","currencyCoversionPound","currencyCoversionRupee","currencyCoversionYen","currentStepFilled","currentStepOutline","currentStepSmallFilled","currentStepSmallOutline","cursorCircleFilled","cursorCircleOutline","customAppsFilled","customAppsOutline","customFieldsFilled","customFieldsOutline","customerMaturityFilled","customerMaturityOutline","customerSpotlightFilled","customerSpotlightOutline","customerTestimonialsFilled","customerTestimonialsOutline","customizePolicyFilled","customizePolicyOutline","cut","czechKoruna","dashlane","dataConnectorFilled","dataConnectorOutline","dataTransferFilled","dataTransferOutline","decimalDecrease","decimalIncrease","deliveryTruckFilled","deliveryTruckOutline","departDate","departmentsFilled","departmentsOutline","departureFilled","departureOutline","deployFilled","deployOutline","desktopFilled","desktopOutline","deviceInventoryFilled","deviceInventoryManagementFilled","deviceInventoryManagementOutline","deviceInventoryOutline","directReportFilled","directReportsOutline","documentFilled","documentOutline","dogFriendlyFilled","dogFriendlyOutline","dollar","dollarCircleArrowsFilled","dollarCircleArrowsOutline","dollarCircleCogFilled","dollarCircleCogOutline","dollarCircleFilled","dollarCircleOutline","dollarMini","dollarSignGraph","doubleChevron","doughnutChartFilled","doughnutChartOutline","download","drag","dropdownArrowDownFilled","dropdownArrowLeftFilled","dropdownArrowRightFilled","dropdownArrowUpFilled","dropdownFilled","dropdownFolderFilled","dropdownFolderOutline","duo","duplicateFilled","duplicateOutline","eAlignCenter","eAlignJustify","eAlignLeft","eAlignRight","eAttach","eBold","eCodeEmbed","eFontColor","eFontColor1","eFontSize","eIndentDecrease","eIndentIncrease","eItalic","eLink","eStretch","eStrikethrough","eUnderline","ediFilled","ediOutline","editFilled","editInChatFilled","editInChatOutline","editOutline","electricalCordThunderboltFilled","electricalCordThunderboltOutline","emailFilled","emailOutline","employeeInfoFilled","employmentInfoFilled","employmentInfoOutline","engineeringFilled","engineeringOutline","enter","enterFullScreen","enterKeyFilled","enterKeyOutline","entertainmentFilled","entertainmentOutline","eor","equalTo","equityDollarFilled","equityDollarOutline","equityEuroFilled","equityEuroOutline","equityPoundFilled","equityPoundOutline","equityRupeeFilled","equityRupeeOutline","equityYenFilled","equityYenOutline","euro","euroCircleFilled","euroCircleOutline","eventsAndWebinarsFilled","eventsAndWebinarsOutline","excel","exitFullScreen","expand","expandPanelFilled","expandPanelOutline","expensePolicyDollarFilled","expensePolicyDollarOutline","expensePolicyEuroFilled","expensePolicyEuroOutline","expensePolicyPoundFilled","expensePolicyPoundOutline","expensePolicyRupeeFilled","expensePolicyRupeeOutline","expensePolicyYenFilled","expensePolicyYenOutline","expensify","eyeFilled","eyeOutline","facebook","featherFilled","featherOutline","feedbackFormFilled","feedbackFormOutline","fidoFilled","fidoOutline","fileCheckFilled","fileCheckOutline","fileFilled","fileOutline","fileShieldPlusFilled","fileShieldPlusOutline","fileUserCheckFilled","fileUserCheckOutline","filter","filterByTypeFilled","filterByTypeOutline","filterMini","financesFilled","financesOutline","fingerprint","fitnessFilled","fitnessOutline","flagFilled","flagOutline","flexibleWorkScheduleFilled","flexibleWorkScheduleOutline","flightsFilled","flightsOutline","floatingLeftInterfaceFilled","floatingLeftInterfaceOutline","floatingRightInterfaceFilled","floatingRightInterfaceOutline","folderFilled","folderOpen","folderOutline","fontColor","fontColorFilled","fontHighlightFilled","fontHighlightOutline","forward10Seconds","fsaFilled","fsaOutline","function","funnelChartFilled","funnelChartOutline","futureStepFilled","futureStepOutline","futureStepSmallFilled","futureStepSmallOutline","fxFilled","fxOutline","gasPumpFilled","gasPumpOutline","gaugeChartFilled","gaugeChartOutline","generalLedgerDollarFilled","generalLedgerDollarOutline","generalLedgerEuroFilled","generalLedgerEuroOutline","generalLedgerPoundFilled","generalLedgerPoundOutline","generalLedgerRupeeFilled","generalLedgerRupeeOutline","generalLedgerYenFilled","generalLedgerYenOutline","generativeDashboardFilled","generativeDashboardOutline","gifFilled","gifOutline","giftFilled","giftOutline","github","globeFilled","globeOutline","goalsFilled","goalsOutline","google","gptFilled","gptOutline","graphChart","graphCoinStackFilled","graphCoinStackOutline","greaterOrEqualTo","greaterThan","greenhouse","gridArrowsFilled","gridArrowsOutline","gridHeartFilled","gridHeartOutline","groceriesFilled","groceriesOutline","groupByFilled","groupByOutline","groupColumnsFilled","groupColumnsOutline","gsuite","guidepostFilled","guidepostOutline","hamburger","handCreditCardFilled","handCreditCardOutline","handDollarFilled","handDollarOutline","handLaptopFilled","handLaptopOutline","handPlusFilled","handPlusOutline","handStackedCoinsFilled","handStackedCoinsOutline","handTimeFilled","handTimeOutline","handUserFilled","handUserOutline","handWavingFilled","handWavingOutline","handshakeFilled","handshakeOutline","headHeartFilled","headHeartOutline","heading1","heading2","heading3","heading4","heading5","heading6","headphonesFilled","headphonesOutline","healFilled","healingOutline","healthFilled","healthOutline","heartFilled","heartGraphFilled","heartGraphOutline","heartOutline","helpCenterFilled","helpCenterOutline","helpFilled","helpOutline","hideFilled","hideOutline","hierarchyHorizontalFilled","hierarchyHorizontalOutline","highPriority","history","homeExit","homeFilled","homeOutline","hotelClassFilled","hotelFilled","hotelOutline","hourglassCheckedFilled","hourglassCheckedOutline","hrFilled","hrOutline","hsaFilled","hsaOutline","i9Filled","i9Outline","imageAdjustWrapText","imageAlignmentCenterFilled","imageAlignmentCenterOutline","imageAlignmentLeftFilled","imageAlignmentLeftOutline","imageAlignmentRightFilled","imageAlignmentRightOutline","imageFilled","imageOutline","inPlanFilled","inPlanOutline","inProgressStepFilled","inProgressStepOutline","inProgressStepSmallFilled","inProgressStepSmallOutline","inboxFilled","inboxOutline","infoAdditional","infoCircleFill","infoCircleOutline","infoSpeachBoxFilled","infoSpeachBoxOutline","inpolicyFilled","inpolicyOutline","instagram","insuranceFilled","insuranceOutline","integratedAppsFilled","integratedAppsOutline","interactiveCourseFilled","interactiveCourseOutline","invoiceDollarFilled","invoiceDollarOutline","invoiceEuroFilled","invoiceEuroOutline","invoicePoundFilled","invoicePoundOutline","invoiceRupeeFilled","invoiceRupeeOutline","invoiceYenFilled","invoiceYenOutline","ios","iphoneOutline","itFilled","itOutline","jira","kanban","key","keyHardwareSecurityFilled","keyHardwareSecurityOutline","keyholeFilled","keyholeOutline","kioskFilled","kioskOutline","labs","laptopCrossFilled","laptopCrossOutline","laptopFilled","laptopGraphFilled","laptopGraphOutline","laptopOutline","laptopPhoneFilled","laptopPhoneOutline","lastpass","lattice","leaveManagementFilled","leaveManagementOutlined","legalFilled","legalOutline","legroomFilled","legroomOutline","lessOrEqualTo","lessThan","lifeFilled","lifeOutline","lightbulbFilled","lightbulbOutline","lineChart","lineDotsLine","lineHeight","lineSpacing","linkHorizontal","linkOutlet","linkedin","listFilled","listMini","listOutline","lithuanianLitas","lmsFilled","lmsOutline","loader","locationFilled","locationOutline","locationPinHeartFilled","locationPinHeartOutline","locationPinsFilled","locationPinsOutline","lockFilled","lockOutline","longAnswerFilled","longAnswerOutline","lsaFilled","lsaOutline","macos","magnifyingGlassStarFilled","magnifyingGlassStarOutline","manualTransmissionFilled","manualTransmissionOutline","markAsStolenFilled","markAsStolenOutline","marketingAndAdvertisingFilled","marketingAndAdvertisingOutline","mealsFilled","mealsOutline","mealsSnacksDrinksFilled","mealsSnacksDrinksOutline","medicalFilled","medicalOutline","meetingRoomsFilled","meetingRoomsOutlined","mergeCells","messageFilled","messageOutline","metricChart","microphoneFilled","microphoneOutline","monitoring","moreFilled","moreHorizontal","moreVertical","mozillaFirefox","multiSelectFilled","multiSelectOutline","multiStopFilled","multiStopOutline","muteFilled","muteOutline","myAccountSettingsFilled","myAccountSettingsOutline","newspaperFilled","newspaperOutline","nextSpeaker","noWifi","nonprofitFilled","nonprofitOutline","notEqualTo","notice","notificationFilled","notificationOutline","numberedList","numbersMini","objectFilled","objectOutline","office365","officeFilled","officeOutline","officeSuppliesFilled","officeSuppliesOutline","offlineFilled","offlineOutline","oneOnOneFilled","oneOnOneOutline","onlineFilled","onlineOutline","openApi","opera","opsgenie","options","originFilled","originOutline","outOfPlanFilled","outOfPlanOutline","outOfPolicyOutline","overnightFilled","overnightOutline","overtimePolicyFilled","overtimePolicyOutline","pageBreakFilled","pageBreakOutline","pageFooterFilled","pageFooterOutline","pageHeaderFooterFilled","pageHeaderFooterOutline","pageHeaderFilled","pageHeaderOutline","paidSeatSelectionFilled","paidSeatSelectionOutline","paintRollerFilled","paintRollerOutline","password","passwordRefreshFilled","passwordRefreshOutline","pastStepSmallFilled","pastStepSmallOutline","pasteFilled","pasteOutline","pause","pauseCircleFilled","pauseCircleOutline","payScheduleDollarFilled","payScheduleDollarOutlined","payScheduleEuroFilled","payScheduleEuroOutline","paySchedulePoundFilled","paySchedulePoundOutline","payScheduleRupeeFilled","payScheduleRupeeOutline","payScheduleYenFilled","payScheduleYenOutline","payrollAndTimeDollarFilled","payrollFilled","payrollOutline","payrollReportDollarFilled","payrollReportDollarOutline","payrollReportEuroFilled","payrollReportEuroOutline","payrollReportPoundFilled","payrollReportPoundOutline","payrollReportRupeeFilled","payrollReportRupeeOutline","payrollReportYenFilled","payrollReportYenOutline","payrollTimeDollarOutline","payrollTimeEuroFilled","payrollTimeEuroOutline","payrollTimePoundFilled","payrollTimePoundOutline","payrollTimeRupeeFilled","payrollTimeRupeeOutline","payrollTimeYenFilled","payrollTimeYenOutline","paystubDollar","paystubEuro","paystubPound","paystubRupee","paystubYen","pdfFilled","pdfOutline","pendingApprovalFilled","pendingApprovalOutline","pendingCircleFilled","pendingCircleOutline","pendingFilled","pendingOutline","peoFilled","peoOutline","peopleHeartFilled","peopleHeartOutline","percentFilled","percentMini","percentOutline","philippinePeso","phoneFilled","phoneOutline","photoGalleryFilled","photoGalleryOutlined","pieChartGraphFilled","pieChartGraphOutline","pinLeft","pinRight","plaid","platform","playButtonFilled","playCircleFilled","playCircleOutline","playOutline","pointInTimeFilled","pointInTimeOutline","polishZloty","pound","poundCircleFilled","poundCircleOutline","powerButton","powerFilled","powerOutline","priceCap","provisionUsersFilled","provisionUsersOffboardFilled","provisionUsersOffboardOutline","provisionUsersOnboardFilled","provisionUsersOnboardOutline","provisionUsersOutline","publicTransportationFilled","publicTransportationOutline","pulley","pushFilled","pushOutline","puzzlePieceFilled","puzzlePieceOutline","qrcodeFilled","qrcodeOutline","questionCircleFilled","questionCircleOutline","quoteFilled","quoteOutline","radioSelected","radioUnselected","ramp","readinessFilled","readinessOutline","rearrange","reassignComputerFilled","reassignComputerOutline","receiptFilled","receiptOutline","recieptAttachedCorrectAmountFilled","recieptAttachedCorrectAmountOutline","recieptAttachedWrongAmountFilled","recieptAttachedWrongAmountOutline","recieptMissingFilled","recieptMissingOutline","recipesFilled","recipesOutline","reclineExtraFilled","reclineExtraOutline","reclineNormalFilled","reclineNormalOutline","recruiting","recruitingFilled","recruitingOutline","recruitingOutline1","redo","redoArrow","redoCrossedOutline","referralsFilled","referralsOutline","refreshCrossed","refreshFilled","refreshOutline","remediationFilled","remediationOutline","removeCircleFilled","removeCircleOutline","reportChecklistFilled","reportChecklistOutline","reportFilled","reportMonitoringFilled","reportMonitoringOutline","reportOutline","reportsOutline","retailDollarFilled","retailDollarOutline","retailEuroFilled","retailEuroOutline","retailPoundFilled","retailPoundOutline","retailRupeeFilled","retailRupeeOutline","retailYenFilled","retailYenOutline","return","returnDate","reviewCyclesFilled","reviewCyclesOutline","rewind10Seconds","richtext","rideshareFilled","rideshareOutline","rippling","ripplingAiFilled","ripplingAiOutline","ripplingRecommendedFilled","ripplingRecommendedOutline","riskFilled","riskOutline","roiFilled","roiOutline","roleMini","rpassFilled","rpassOutline","rqlFilled","rqlOutline","rupee","rupeeCircleFilled","rupeeCircleOutline","salesFilled","salesOutline","salesforce","sandboxFilled","sandboxOutline","saveAndExitFilled","saveAndExitOutline","scale","scaleFilled","scaleOutline","scaleOutlined","scatterChart","searchFilled","searchOutline","seatBasicFilled","seatBasicOutline","seatLuxuryFilled","seatLuxuryOutline","seatPlusFilled","seatPlusOutline","seatPremiumFilled","seatPremiumOutline","seatStandardFilled","seatStandardOutline","sendFilled","sendOutline","serverCheckFilled","serverCheckOutline","serverFilled","serverKeyFilled","serverKeyOutline","serverOutline","settingsFilled","settingsOutline","shareFilled","shareOutline","sharedFolderFilled","sharedFolderOutline","shieldAirplaneFilled","shieldAirplaneOutline","shieldBuildingHospitalFilled","shieldBuildingHospitalOutline","shieldCalanderFilled","shieldCalanderOutline","shieldCarFilled","shieldCarOutline","shieldCirclePFilled","shieldCirclePOutline","shieldClockFilled","shieldClockOutline","shieldCrossFilled","shieldCrossOutline","shieldDisabledFilled","shieldDisabledOutline","shieldEyeFilled","shieldEyeOutline","shieldFilled","shieldHeartsFilled","shieldHeartsOutline","shieldOutline","shieldPawPrintFilled","shieldPawPrintOutline","shieldRibbonFilled","shieldRibbonOutline","shieldToothFilled","shieldToothOutline","shieldTrainFilled","shieldTrainOutline","shieldUserHandUpFilled","shieldUserHandUpOutline","shieldWavePulseFilled","shieldWavePulseOutline","shoppingBasketCrossFilled","shoppingBasketCrossOutline","shortAnswer","sidebarFilled","sidebarOutline","signatureFilled","signatureOutline","skip","skipLogicFilled","skipLogicOutline","slack","slideControlArrows","smartphoneFilled","smilePlusFilled","smilePlusOutline","sort","sortAscending","sortAscendingMini","sortDescending","sortDescendingMini","soundFilled","soundOutline","speachBoxLabelFilled","speachBoxLabelOutline","spellCheck","splitArrows","sqlFilled","sqlOutline","stackedBarChartFilled","stackedBarChartOutline","stackedCoinsFilled","stackedCoinsOutline","stackedVChartFilled","stackedVChartOutline","starCircleFilled","starCircleOutline","starFilled","starGraphFilled","starGraphOutline","starHalf","starOutline","startupsFilled","startupsOutline","stethoscpeFilled","stethoscpeOutline","stopAtAirportFilled","stopAtAirportOutline","stretch","strongNo","strongYes","sumFilled","sumOutline","sunFilled","sunOutline","surveyDissatisfiedFilled","surveyDissatisfiedOutline","surveyNeutralFilled","surveyNeutralOutline","surveySatisfiedFilled","surveySatisfiedOutline","surveyVeryDissatisfiedFilled","surveyVeryDissatisfiedOutline","surveyVerySatisfiedFilled","surveyVerySatisfiedOutline","swap","swissFranc","table","tableColumnFilled","tableColumnOutline","tagFilled","tagOutline","talentFilled","talentOutline","talentSignalFilled","talentSignalOutline","targetPointer","taskFilled","taskOutline","tasksFilled","tasksOutline","taxLogo","taxWithholdingFilled","taxWithholdingOutline","taxesFilled","taxesOutlined","technologyFilled","technologyOutline","textClip","textDirectionArrowLeft","textDirectionArrowRight","textMini","textOverflow","textWrap","thaiBaht","thirdPartyData","thumbDownFilled","thumbDownOutline","thumbUpFilled","thumbUpOutline","thumbtackFilled","thumbtackOutline","thunderboltFilled","thunderboltOutline","timeFilled","timeGraphFilled","timeGraphOutline","timeOutline","toggleOffFilled","toggleOffOutline","toggleOnFilled","toggleOnOutline","toilet","toolsFilled","toolsOutline","transformationsFilled","transformationsOutline","translate","trashFilled","trashOutline","travelFilled","travelOutline","trendReportFilled","trendReportOutline","trip","tvos","twitter","twoFactorDeviceFilled","twoFactorDevicesOutline","uShieldFill","uShieldOutline","umbrellaFilled","umbrellaOutline","unArchiveFilled","unArchiveOutline","unassignComputerFilled","unassignComputerOutline","undo","ungroupColumnsFilled","ungroupColumnsOutline","unifiedSystemFilled","unifiedSystemOutlined","uninstallFilled","uninstallOutline","uniqueIdFilled","uniqueIdOutlined","unlimitedPtoFilled","unlimitedPtoOutline","unlockFilled","unlockOutline","updateAddress","upload","userArmSlingFilled","userArmSlingOutline","userCirclePlusFilled","userCirclePlusOutline","userClockFilled","userClockOutline","userCogFilled","userCogOutline","userDepartmentFilled","userDepartmentOutline","userFileFilled","userFileOutline","userFilled","userFormEditFilled","userFormEditOutline","userGraphFilled","userGraphOutline","userGroupCheckedFilled","userGroupCheckedOutline","userHeartFilled","userHeartOutline","userIdHookFilled","userIdHookOutline","userLaptopFilled","userLaptopOutline","userLockFilled","userLockOutline","userOutline","userTicketFilled","userTicketOutline","usersConnected","usersFilled","usersHeartFilled","usersHeartOutline","usersOutline","usersRipplingLogoFilled","usersRipplingLogoOutline","usersStackedFilled","usersStackedOutline","v2AddCircleFilled","v2AirlineStopsFilled","v2AirlinesFilled","v2Arrival","v2ArrowLeft","v2ArrowRight","v2AutoFilled","v2BagsFilled","v2CabinClass","v2Carryon","v2Check","v2CheckCircleFilled","v2CheckboxFill","v2CheckboxIntermediate","v2CheckboxOutline","v2Checkroom","v2ChevronDown","v2ChevronLeft","v2ChevronRight","v2ChevronUp","v2Close","v2CloseCircleFilled","v2Co2","v2ComfortFilled","v2Copy","v2Crib","v2DepartureFilled","v2EditFilled","v2EndDate","v2Gallery","v2HotelFilled","v2Hotelclass","v2KeyFilled","v2KeyOutline","v2LegroomFilled","v2Location","v2OriginFilled","v2OutOfPolicy","v2PowerFilled","v2PriceCap","v2PublicTransportationFilled","v2RadioSelected","v2RadioUnselected","v2RemoveCircleFilled","v2SearchOutline","v2Send","v2StairsFilled","v2StartDate","v2Stops","v2Swap","v2ThunderboltFilled","v2TimeFilled","v2Toilet","v2TravelFilled","v2Wifi","variable","variableSelectorMini","vaultFilled","vaultOutline","vendorFilled","vendorOutline","vennDiagramAndFilled","vennDiagramAndOutline","vennDiagramOrFilled","vennDiagramOrOutline","verifiedCheckFilled","verifiedCheckOutline","videoFilled","videoOutline","visaLogo","vpnFilled","vpnOutline","walletCardFilled","walletCardOutline","warningCircleFilled","warningCircleOutline","warningTriangleFilled","warningTriangleOutline","wellnessAndMeditationClassesFilled","wellnessAndMeditationClassesOutline","wheelchairCrossFilled","wheelchairCrossOutline","wifi","windowPopOutFilled","windowPopOutOutline","windows","windowsEdge","windowsSmile","wineClubFilled","wineOutline","withdrawFilled","withdrawOutline","workFromHomeStipendFilled","workFromHomeStipendOutline","wrenchFilled","wrenchOutline","xmlFilled","xmlOutline","yen","yenCircleFilled","yenCircleOutline","yubikey","zendesk","zipFilled","zipOutline","zoom","zoomInFilled","zoomInOutline","zoomOutFilled","zoomOutOutline"]},JustifyContentValue:{enum:["flex-start","flex-end","center","space-between","space-around","space-evenly"]},OpacityValue:{enum:["opacity0","opacity5","opacity10","opacity15","opacity20","opacity25","opacity30","opacity35","opacity40","opacity45","opacity50","opacity55","opacity60","opacity65","opacity70","opacity75","opacity80","opacity85","opacity90","opacity95","opacity100"]},OverflowValue:{enum:["visible","hidden","scroll"]},PositionValue:{enum:["absolute","relative"]},ShapeBorderWidthValue:{enum:["shapeBorderWidthNone","shapeBorderWidthXs","shapeBorderWidthSm","shapeBorderWidthMd","shapeBorderWidthLg","shapeBorderWidthXl"]},ShapeCornerValue:{enum:["shapeCornerNone","shapeCornerXs","shapeCornerSm","shapeCornerMd","shapeCornerLg","shapeCornerXl","shapeCorner2xl","shapeCorner3xl","shapeCorner4xl","shapeCornerFull"]},SizeValue:{enum:["size0","size25","size50","size75","size100","size125","size150","size175","size200","size225","size250","size275","size300","size350","size400","size450","size500","size600","size700","size800","size900","size1000","size1100","size1200","size1400","size1600","size2000","size2400","size2800","size3200","size3600","size4000","size4400","size4800","size5200","size5600","size6000","size6400","size7200","size8000","size9600","size11200","size12800","size14400","size19200","size25600","size28800","size32000","size36000"]},SpaceValue:{enum:["space0","space25","space50","space75","space100","space125","space150","space175","space200","space225","space250","space275","space300","space350","space400","space450","space500","space600","space700","space800","space900","space1000","space1100","space1200","space1400","space1600","space2000","space2400","space2800","space3200","space3600","space4000","space4400","space4800","space5200","space5600","space6000","space6400","space7200","space8000","space9600"]},TextAlignValue:{enum:["auto","left","right","center","justify"]},TextAlignVerticalValue:{enum:["auto","top","bottom","center"]},TextDecorationLineValue:{enum:["none","underline","line-through","underline line-through"]},TextDecorationStyleValue:{enum:["solid","double","dotted","dashed"]},TextTransformValue:{enum:["none","capitalize","uppercase","lowercase"]},TypestyleValue:{enum:["typestyleV2TitleLarge","typestyleV2TitleMedium","typestyleV2TitleSmall","typestyleV2BodyLarge","typestyleV2BodyLargeEmphasized","typestyleV2BodyMedium","typestyleV2BodyMediumEmphasized","typestyleV2BodySmall","typestyleV2BodySmallEmphasized","typestyleV2LabelLarge","typestyleV2LabelMedium","typestyleV2LabelSmall","typestyleV2LabelSmallEmphasized","typestyleV2LabelExtraSmall","typestyleV2LabelExtraSmallWide","typestyleDisplayLarge600","typestyleDisplayMedium600","typestyleDisplaySmall600","typestyleTitleExtraLarge600","typestyleTitleLarge600","typestyleTitleMedium600","typestyleTitleSmall600","typestyleTitleSmall400","typestyleTitleExtraSmall600Caps","typestyleBodyLarge600","typestyleBodyLarge500","typestyleBodyMedium600","typestyleBodyMedium500","typestyleBodyMedium400","typestyleBodySmall600","typestyleBodySmall500","typestyleBodySmall400","typestyleLabelExtraLarge700","typestyleLabelExtraLarge600","typestyleLabelExtraLarge500","typestyleLabelExtraLarge400","typestyleLabelLarge600","typestyleLabelLarge500","typestyleLabelLarge400","typestyleLabelMedium700","typestyleLabelMedium600","typestyleLabelMedium500","typestyleLabelSmall600","typestyleLabelSmall500"]},TypeValue:{enum:["add","airplane","barChartDecrease","barChartIncrease","brain","brainAi","calendar","checkMark","clock","coinsUsd","creditCard","document","enterprise","exclamationMark","folders","gear","gearHeart","gearPlay","globe","gradCap","handshake","heart","integration","inventoryManagement","laptop","laptopDev","lightningBolt","lock","lockUnlocked","magnifyingGlass","magnifyingGlassQuestionMark","noWifi","offboarding","onboarding","payrollEuro","payrollRupee","payrollUsd","payrollYen","questionMark","receipt","refresh","shieldCheck","speechBubble","thirdParty","train","unifiedSystem","x"]},UnderlayAppearanceValue:{enum:["none","base","inverse","opacity"]},ValidateOnValue:{enum:["change","blur","submit"]},VariantValue:{enum:["base","pill","text","small"]},WritingDirectionValue:{enum:["auto","ltr","rtl"]}};function Af(){return Object.fromEntries(Object.entries(Ee).map(([e,t])=>[e,String(t.description??"")]))}function zf(){return Object.fromEntries(Object.entries($t).map(([e,t])=>[e,String(t.description??"")]))}function Mf(){return Object.fromEntries(Object.entries(rt).map(([e,t])=>[e,String(t.description??"")]))}function Bf(){return rt}function Lf(){return Jo}function qf(e){if(!(e in Ee))throw new Error(`Unknown component '${e}'. Available: ${Object.keys(Ee).join(", ")}`);const t={...Ee[e]};return delete t.example,t}function Hf(e){if(!(e in $t))throw new Error(`Unknown action '${e}'. Available: ${Object.keys($t).join(", ")}`);return $t[e]}function Wf(e){if(!(e in rt))throw new Error(`Unknown function '${e}'. Available: ${Object.keys(rt).join(", ")}`);return rt[e]}function Uf(e){return e?e.slice(1).split("/").map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~")).join("."):"(root)"}function Yo(e,t){const r=new Nf.Ajv2020({allErrors:!0,strict:!1});r.removeKeyword("id");const i=r.compile(e);if(i(t))return[];const o=i.errors??[],n=new Set(o.filter(a=>a.keyword==="anyOf").map(a=>a.instancePath));return o.filter(a=>a.keyword==="anyOf"||!(a.schemaPath.includes("/anyOf/")&&n.has(a.instancePath))).map(a=>{const l=Uf(a.instancePath);return a.keyword==="anyOf"?`props ${l}: must match the declared schema or a reactive reference`:`props ${l}: ${a.message??"failed schema validation"}`})}const Gf=Xo.createCatalogSchemaValidator({defs:Jo,directives:xf,supportsStandardDirectives:!1,validateSchema:Yo});function Kf(e){const t=[],r=e.elements??{},i=e.root;i&&!(i in r)&&t.push(`Root element '${i}' not found in elements map`);for(const[o,n]of Object.entries(r)){const a=n.type??"";if(!(a in Ee)){t.push(`Element '${o}': unknown type '${a}'`);continue}const l=Ee[a],d=l.propsSchema;if(d){const k=n.props??{};for(const S of Yo(Gf.preparePropsSchema(d),k))t.push(`Element '${o}': ${S}`)}const c=n.on??{},f=l.events??[];for(const k of Object.keys(c))f.includes(k)||t.push(`Element '${o}': unknown event '${k}'. Valid: ${f.join(", ")}`);(n.children??[]).length>0&&!l.acceptsChildren&&t.push(`Element '${o}': '${a}' does not accept children`)}return t}function Jf(e){return{...Qo.renderElementTree(e.root,e.state),platform:"mobile",catalog:Go,catalogVersion:Ko}}exports.ActionCard=en;exports.Anchor=tn;exports.Animation=rn;exports.Avatar=on;exports.AvatarStack=nn;exports.Badge=sn;exports.Button=an;exports.CATALOG_NAME=Go;exports.CATALOG_VERSION=Ko;exports.Card=ln;exports.Checkbox=dn;exports.CheckboxGroup=cn;exports.Chip=pn;exports.Country=un;exports.Currency=fn;exports.Date=hn;exports.DateRange=mn;exports.DateTimePicker=gn;exports.Divider=yn;exports.Email=bn;exports.ExpansionPanel=$n;exports.FileViewerButton=vn;exports.FileViewerPressable=Sn;exports.FloatingButton=wn;exports.Form=kn;exports.Group=On;exports.HStack=Pn;exports.Hidden=Cn;exports.Icon=_n;exports.Image=Vn;exports.InputText=Dn;exports.Label=Fn;exports.List=jn;exports.ListItem=Rn;exports.ModalSheet=Tn;exports.Notice=In;exports.Number=En;exports.ObjectFooter=Nn;exports.ObjectItem=xn;exports.ObjectListView=An;exports.ObjectListViewCard=zn;exports.PageCondensedFooter=Mn;exports.PageCondensedHeader=Bn;exports.PageFilterHeader=Ln;exports.PageFooter=qn;exports.PageHeader=Hn;exports.PageModalActionHeader=Wn;exports.Password=Un;exports.Percentage=Gn;exports.Phone=Kn;exports.Pressable=Jn;exports.ProgressIndicator=Yn;exports.Radio=Zn;exports.RadioGroup=Xn;exports.Search=Qn;exports.SectionHeader=es;exports.Select=ts;exports.SelectChips=rs;exports.Signature=is;exports.Sin=os;exports.Slider=ns;exports.SliderRange=ss;exports.SnackBar=as;exports.Spacer=ls;exports.Spinner=ds;exports.Ssn=cs;exports.Status=ps;exports.StatusBar=us;exports.Switch=fs;exports.Tabs=hs;exports.Text=ms;exports.Textarea=gs;exports.Time=ys;exports.TimeRange=bs;exports.Tip=$s;exports.VStack=vs;exports.Widget=Ss;exports.WorkEmail=ws;exports.currencyFormat=_s;exports.currencyGetCurrencyCodeByCountryCode=Vs;exports.currencyGetCurrencyNameByCode=Ds;exports.currencyGetCurrencySymbol=Fs;exports.currencyIsConvertableToCurrency=js;exports.currencyToMoney=Rs;exports.dateTimeAdd=Ts;exports.dateTimeFormat=Is;exports.getAction=Hf;exports.getActions=zf;exports.getComponent=qf;exports.getComponents=Af;exports.getComputedFunctions=Bf;exports.getDefs=Lf;exports.getFunction=Wf;exports.getFunctions=Mf;exports.goBack=ks;exports.navigate=Os;exports.push=Cs;exports.render=Jf;exports.triggerApi=Ps;exports.validate=Kf;
9
9
  //# sourceMappingURL=index.cjs.map