@rippling/pebble-sdui-mobile 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/custom-apps/index.cjs +6 -6
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.js +2613 -2631
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/README.md +16 -0
- package/dist/docs/catalogs.md +10 -0
- package/dist/docs/concepts.md +370 -0
- package/dist/docs/recipes.md +8 -0
- package/dist/docs/typescript/README.md +17 -0
- package/dist/docs/typescript/api-reference.md +400 -0
- package/dist/docs/typescript/catalogs.md +8 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +59 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +1991 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/computed-functions.md +162 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +3316 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +16 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +1265 -0
- package/dist/docs/typescript/mobile/catalogs.md +5 -0
- package/dist/docs/typescript/recipes.md +383 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../../core/component-utils.cjs"),Ti=require("../../core/action-utils.cjs"),_o=require("../../core/spec.cjs"),Vo=e=>T.buildNode("ActionCard",e),Fo=e=>T.buildNode("Avatar",e),Do=e=>T.buildNode("AvatarStack",e),Ro=e=>T.buildNode("Badge",e),jo=e=>T.buildNode("Button",e),To=e=>T.buildNode("Card",e),Io=e=>T.buildNode("Checkbox",e),Eo=e=>T.buildNode("CheckboxGroup",e),No=e=>T.buildNode("Chip",e),xo=e=>T.buildNode("CondensedFooter",e),Ao=e=>T.buildNode("CondensedHeader",e),zo=e=>T.buildNode("Country",e),Mo=e=>T.buildNode("Currency",e),Bo=e=>T.buildNode("Date",e),Lo=e=>T.buildNode("DateRange",e),qo=e=>T.buildNode("DateTimePicker",e),Ho=e=>T.buildNode("Divider",e),Wo=e=>T.buildNode("ExpansionPanel",e),Uo=e=>T.buildNode("FileViewerButton",e),Go=e=>T.buildNode("FileViewerPressable",e),Ko=e=>T.buildNode("FilterHeader",e),Jo=e=>T.buildNode("FloatingButton",e),Yo=e=>T.buildNode("Footer",e),Zo=e=>T.buildNode("Form",e),Xo=e=>T.buildNode("Group",e),Qo=e=>T.buildNode("Header",e),en=e=>T.buildNode("Hidden",e),tn=e=>T.buildNode("HStack",e),rn=e=>T.buildNode("Icon",e),on=e=>T.buildNode("Image",e),nn=e=>T.buildNode("InputText",e),sn=e=>T.buildNode("Label",e),an=e=>T.buildNode("List",e),ln=e=>T.buildNode("ListItem",e),dn=e=>T.buildNode("ModalActionHeader",e),cn=e=>T.buildNode("ModalSheet",e),pn=e=>T.buildNode("Notice",e),un=e=>T.buildNode("Number",e),fn=e=>T.buildNode("ObjectFooter",e),hn=e=>T.buildNode("ObjectItem",e),mn=e=>T.buildNode("ObjectListView",e),gn=e=>T.buildNode("Password",e),yn=e=>T.buildNode("Percentage",e),bn=e=>T.buildNode("Phone",e),$n=e=>T.buildNode("Pressable",e),vn=e=>T.buildNode("ProgressIndicator",e),Sn=e=>T.buildNode("Radio",e),wn=e=>T.buildNode("RadioGroup",e),kn=e=>T.buildNode("Search",e),On=e=>T.buildNode("SectionHeader",e),Cn=e=>T.buildNode("Select",e),Pn=e=>T.buildNode("SelectChips",e),_n=e=>T.buildNode("Signature",e),Vn=e=>T.buildNode("Sin",e),Fn=e=>T.buildNode("Slider",e),Dn=e=>T.buildNode("SliderRange",e),Rn=e=>T.buildNode("SnackBar",e),jn=e=>T.buildNode("Spacer",e),Tn=e=>T.buildNode("Spinner",e),In=e=>T.buildNode("Ssn",e),En=e=>T.buildNode("Status",e),Nn=e=>T.buildNode("StatusBar",e),xn=e=>T.buildNode("Switch",e),An=e=>T.buildNode("Tabs",e),zn=e=>T.buildNode("Text",e),Mn=e=>T.buildNode("Textarea",e),Bn=e=>T.buildNode("Time",e),Ln=e=>T.buildNode("TimeRange",e),qn=e=>T.buildNode("Tip",e),Hn=e=>T.buildNode("VStack",e),Wn=e=>T.buildNode("Widget",e),Un=e=>T.buildNode("WorkEmail",e),Gn=(e,t)=>Ti.buildAction("goBack",e,t),Kn=(e,t)=>Ti.buildAction("navigate",e,t),Jn=e=>({$computed:"currency_format",args:e}),Yn=e=>({$computed:"currency_getCurrencyCodeByCountryCode",args:e}),Zn=e=>({$computed:"currency_getCurrencyNameByCode",args:e}),Xn=e=>({$computed:"currency_getCurrencySymbol",args:e}),Qn=e=>({$computed:"currency_isConvertableToCurrency",args:e}),es=e=>({$computed:"currency_toMoney",args:e}),ts=e=>({$computed:"dateTime_add",args:e}),rs=e=>({$computed:"dateTime_format",args:e});var Ht={exports:{}},Ii={},Se={},De={},pt={},A={},ct={};(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(O){if(super(),!e.IDENTIFIER.test(O))throw new Error("CodeGen: name must be a valid identifier");this.str=O}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class i extends t{constructor(O){super(),this._items=typeof O=="string"?[O]:O}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const O=this._items[0];return O===""||O==='""'}get str(){var O;return(O=this._str)!==null&&O!==void 0?O:this._str=this._items.reduce((V,R)=>`${V}${R}`,"")}get names(){var O;return(O=this._names)!==null&&O!==void 0?O:this._names=this._items.reduce((V,R)=>(R instanceof r&&(V[R.str]=(V[R.str]||0)+1),V),{})}}e._Code=i,e.nil=new i("");function o(f,...O){const V=[f[0]];let R=0;for(;R<O.length;)a(V,O[R]),V.push(f[++R]);return new i(V)}e._=o;const n=new i("+");function l(f,...O){const V=[$(f[0])];let R=0;for(;R<O.length;)V.push(n),a(V,O[R]),V.push(n,$(f[++R]));return d(V),new i(V)}e.str=l;function a(f,O){O instanceof i?f.push(...O._items):O instanceof r?f.push(O):f.push(h(O))}e.addCodeArg=a;function d(f){let O=1;for(;O<f.length-1;){if(f[O]===n){const V=c(f[O-1],f[O+1]);if(V!==void 0){f.splice(O-1,3,V);continue}f[O++]="+"}O++}}function c(f,O){if(O==='""')return f;if(f==='""')return O;if(typeof f=="string")return O instanceof r||f[f.length-1]!=='"'?void 0:typeof O!="string"?`${f.slice(0,-1)}${O}"`:O[0]==='"'?f.slice(0,-1)+O.slice(1):void 0;if(typeof O=="string"&&O[0]==='"'&&!(f instanceof r))return`"${f}${O.slice(1)}`}function u(f,O){return O.emptyStr()?f:f.emptyStr()?O:l`${f}${O}`}e.strConcat=u;function h(f){return typeof f=="number"||typeof f=="boolean"||f===null?f:$(Array.isArray(f)?f.join(","):f)}function k(f){return new i($(f))}e.stringify=k;function $(f){return JSON.stringify(f).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=$;function y(f){return typeof f=="string"&&e.IDENTIFIER.test(f)?new i(`.${f}`):o`[${f}]`}e.getProperty=y;function w(f){if(typeof f=="string"&&e.IDENTIFIER.test(f))return new i(`${f}`);throw new Error(`CodeGen: invalid export name: ${f}, use explicit $id name mapping`)}e.getEsmExportName=w;function g(f){return new i(f.toString())}e.regexpCode=g})(ct);var Wt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=ct;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:u}={}){this._names={},this._prefixes=c,this._parent=u}toName(c){return c instanceof t.Name?c:this.name(c)}name(c){return new t.Name(this._newName(c))}_newName(c){const u=this._names[c]||this._nameGroup(c);return`${c}${u.index++}`}_nameGroup(c){var u,h;if(!((h=(u=this._parent)===null||u===void 0?void 0:u._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,u){super(u),this.prefix=c}setValue(c,{property:u,itemIndex:h}){this.value=c,this.scopePath=(0,t._)`.${new t.Name(u)}[${h}]`}}e.ValueScopeName=n;const l=(0,t._)`\n`;class a extends o{constructor(c){super(c),this._values={},this._scope=c.scope,this.opts={...c,_n:c.lines?l:t.nil}}get(){return this._scope}name(c){return new n(c,this._newName(c))}value(c,u){var h;if(u.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const k=this.toName(c),{prefix:$}=k,y=(h=u.key)!==null&&h!==void 0?h:u.ref;let w=this._values[$];if(w){const O=w.get(y);if(O)return O}else w=this._values[$]=new Map;w.set(y,k);const g=this._scope[$]||(this._scope[$]=[]),f=g.length;return g[f]=u.ref,k.setValue(u,{property:$,itemIndex:f}),k}getValue(c,u){const h=this._values[c];if(h)return h.get(u)}scopeRefs(c,u=this._values){return this._reduceValues(u,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,u,h){return this._reduceValues(c,k=>{if(k.value===void 0)throw new Error(`CodeGen: name "${k}" has no value`);return k.value.code},u,h)}_reduceValues(c,u,h={},k){let $=t.nil;for(const y in c){const w=c[y];if(!w)continue;const g=h[y]=h[y]||new Map;w.forEach(f=>{if(g.has(f))return;g.set(f,i.Started);let O=u(f);if(O){const V=this.opts.es5?e.varKinds.var:e.varKinds.const;$=(0,t._)`${$}${V} ${f} = ${O};${this.opts._n}`}else if(O=k==null?void 0:k(f))$=(0,t._)`${$}${O}${this.opts._n}`;else throw new r(f);g.set(f,i.Completed)})}return $}}e.ValueScope=a})(Wt);(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=ct,r=Wt;var i=ct;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=Wt;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 l extends n{constructor(s,p,C){super(),this.varKind=s,this.name=p,this.rhs=C}render({es5:s,_n:p}){const C=s?r.varKinds.var:this.varKind,E=this.rhs===void 0?"":` = ${this.rhs}`;return`${C} ${this.name}${E};`+p}optimizeNames(s,p){if(s[this.name.str])return this.rhs&&(this.rhs=Y(this.rhs,s,p)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends n{constructor(s,p,C){super(),this.lhs=s,this.rhs=p,this.sideEffects=C}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=Y(this.rhs,s,p),this}get names(){const s=this.lhs instanceof t.Name?{}:{...this.lhs.names};return K(s,this.rhs)}}class d extends a{constructor(s,p,C,E){super(s,C,E),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 u 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=Y(this.code,s,p),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class $ extends n{constructor(s=[]){super(),this.nodes=s}render(s){return this.nodes.reduce((p,C)=>p+C.render(s),"")}optimizeNodes(){const{nodes:s}=this;let p=s.length;for(;p--;){const C=s[p].optimizeNodes();Array.isArray(C)?s.splice(p,1,...C):C?s[p]=C:s.splice(p,1)}return s.length>0?this:void 0}optimizeNames(s,p){const{nodes:C}=this;let E=C.length;for(;E--;){const x=C[E];x.optimizeNames(s,p)||(ve(s,x.names),C.splice(E,1))}return C.length>0?this:void 0}get names(){return this.nodes.reduce((s,p)=>ne(s,p.names),{})}}class y extends ${render(s){return"{"+s._n+super.render(s)+"}"+s._n}}class w extends ${}class g extends y{}g.kind="else";class f extends y{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 C=p.optimizeNodes();p=this.else=Array.isArray(C)?new g(C):C}if(p)return s===!1?p instanceof f?p:p.nodes:this.nodes.length?this:new f(Fe(s),p instanceof f?[p]:p.nodes);if(!(s===!1||!this.nodes.length))return this}optimizeNames(s,p){var C;if(this.else=(C=this.else)===null||C===void 0?void 0:C.optimizeNames(s,p),!!(super.optimizeNames(s,p)||this.else))return this.condition=Y(this.condition,s,p),this}get names(){const s=super.names;return K(s,this.condition),this.else&&ne(s,this.else.names),s}}f.kind="if";class O extends y{}O.kind="for";class V extends O{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=Y(this.iteration,s,p),this}get names(){return ne(super.names,this.iteration.names)}}class R extends O{constructor(s,p,C,E){super(),this.varKind=s,this.name=p,this.from=C,this.to=E}render(s){const p=s.es5?r.varKinds.var:this.varKind,{name:C,from:E,to:x}=this;return`for(${p} ${C}=${E}; ${C}<${x}; ${C}++)`+super.render(s)}get names(){const s=K(super.names,this.from);return K(s,this.to)}}class I extends O{constructor(s,p,C,E){super(),this.loop=s,this.varKind=p,this.name=C,this.iterable=E}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=Y(this.iterable,s,p),this}get names(){return ne(super.names,this.iterable.names)}}class q extends y{constructor(s,p,C){super(),this.name=s,this.args=p,this.async=C}render(s){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(s)}}q.kind="func";class W extends ${render(s){return"return "+super.render(s)}}W.kind="return";class oe extends y{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 C,E;return super.optimizeNames(s,p),(C=this.catch)===null||C===void 0||C.optimizeNames(s,p),(E=this.finally)===null||E===void 0||E.optimizeNames(s,p),this}get names(){const s=super.names;return this.catch&&ne(s,this.catch.names),this.finally&&ne(s,this.finally.names),s}}class ce extends y{constructor(s){super(),this.error=s}render(s){return`catch(${this.error})`+super.render(s)}}ce.kind="catch";class fe extends y{render(s){return"finally"+super.render(s)}}fe.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 C=this._extScope.value(s,p);return(this._values[C.prefix]||(this._values[C.prefix]=new Set)).add(C),C}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,C,E){const x=this._scope.toName(p);return C!==void 0&&E&&(this._constants[x.str]=C),this._leafNode(new l(s,x,C)),x}const(s,p,C){return this._def(r.varKinds.const,s,p,C)}let(s,p,C){return this._def(r.varKinds.let,s,p,C)}var(s,p,C){return this._def(r.varKinds.var,s,p,C)}assign(s,p,C){return this._leafNode(new a(s,p,C))}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[C,E]of s)p.length>1&&p.push(","),p.push(C),(C!==E||this.opts.es5)&&(p.push(":"),(0,t.addCodeArg)(p,E));return p.push("}"),new t._Code(p)}if(s,p,C){if(this._blockNode(new f(s)),p&&C)this.code(p).else().code(C).endIf();else if(p)this.code(p).endIf();else if(C)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(s){return this._elseNode(new f(s))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(f,g)}_for(s,p){return this._blockNode(s),p&&this.code(p).endFor(),this}for(s,p){return this._for(new V(s),p)}forRange(s,p,C,E,x=this.opts.es5?r.varKinds.var:r.varKinds.let){const H=this._scope.toName(s);return this._for(new R(x,H,p,C),()=>E(H))}forOf(s,p,C,E=r.varKinds.const){const x=this._scope.toName(s);if(this.opts.es5){const H=p instanceof t.Name?p:this.var("_arr",p);return this.forRange("_i",0,(0,t._)`${H}.length`,L=>{this.var(x,(0,t._)`${H}[${L}]`),C(x)})}return this._for(new I("of",E,x,p),()=>C(x))}forIn(s,p,C,E=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(s,(0,t._)`Object.keys(${p})`,C);const x=this._scope.toName(s);return this._for(new I("in",E,x,p),()=>C(x))}endFor(){return this._endBlockNode(O)}label(s){return this._leafNode(new c(s))}break(s){return this._leafNode(new u(s))}return(s){const p=new W;if(this._blockNode(p),this.code(s),p.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(W)}try(s,p,C){if(!p&&!C)throw new Error('CodeGen: "try" without "catch" and "finally"');const E=new oe;if(this._blockNode(E),this.code(s),p){const x=this.name("e");this._currNode=E.catch=new ce(x),p(x)}return C&&(this._currNode=E.finally=new fe,this.code(C)),this._endBlockNode(ce,fe)}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 C=this._nodes.length-p;if(C<0||s!==void 0&&C!==s)throw new Error(`CodeGen: wrong number of nodes: ${C} vs ${s} expected`);return this._nodes.length=p,this}func(s,p=t.nil,C,E){return this._blockNode(new q(s,p,C)),E&&this.code(E).endFunc(),this}endFunc(){return this._endBlockNode(q)}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 C=this._currNode;if(C instanceof s||p&&C 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 f))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 ne(S,s){for(const p in s)S[p]=(S[p]||0)+(s[p]||0);return S}function K(S,s){return s instanceof t._CodeOrName?ne(S,s.names):S}function Y(S,s,p){if(S instanceof t.Name)return C(S);if(!E(S))return S;return new t._Code(S._items.reduce((x,H)=>(H instanceof t.Name&&(H=C(H)),H instanceof t._Code?x.push(...H._items):x.push(H),x),[]));function C(x){const H=p[x.str];return H===void 0||s[x.str]!==1?x:(delete s[x.str],H)}function E(x){return x instanceof t._Code&&x._items.some(H=>H instanceof t.Name&&s[H.str]===1&&p[H.str]!==void 0)}}function ve(S,s){for(const p in s)S[p]=(S[p]||0)-(s[p]||0)}function Fe(S){return typeof S=="boolean"||typeof S=="number"||S===null?!S:(0,t._)`!${_(S)}`}e.not=Fe;const xe=b(e.operators.AND);function Qe(...S){return S.reduce(xe)}e.and=Qe;const Ae=b(e.operators.OR);function D(...S){return S.reduce(Ae)}e.or=D;function b(S){return(s,p)=>s===t.nil?p:p===t.nil?s:(0,t._)`${_(s)} ${S} ${_(p)}`}function _(S){return S instanceof t.Name?S:(0,t._)`(${S})`}})(A);var j={};Object.defineProperty(j,"__esModule",{value:!0});j.checkStrictMode=j.getErrorPath=j.Type=j.useFunc=j.setEvaluated=j.evaluatedPropsToName=j.mergeEvaluated=j.eachItem=j.unescapeJsonPointer=j.escapeJsonPointer=j.escapeFragment=j.unescapeFragment=j.schemaRefOrVal=j.schemaHasRulesButRef=j.schemaHasRules=j.checkUnknownRules=j.alwaysValidSchema=j.toHash=void 0;const U=A,is=ct;function os(e){const t={};for(const r of e)t[r]=!0;return t}j.toHash=os;function ns(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(Ei(e,t),!Ni(t,e.self.RULES.all))}j.alwaysValidSchema=ns;function Ei(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]||zi(e,`unknown keyword: "${n}"`)}j.checkUnknownRules=Ei;function Ni(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return!0;return!1}j.schemaHasRules=Ni;function ss(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return!0;return!1}j.schemaHasRulesButRef=ss;function as({topSchemaRef:e,schemaPath:t},r,i,o){if(!o){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,U._)`${r}`}return(0,U._)`${e}${t}${(0,U.getProperty)(i)}`}j.schemaRefOrVal=as;function ls(e){return xi(decodeURIComponent(e))}j.unescapeFragment=ls;function ds(e){return encodeURIComponent(Qt(e))}j.escapeFragment=ds;function Qt(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}j.escapeJsonPointer=Qt;function xi(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}j.unescapeJsonPointer=xi;function cs(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)}j.eachItem=cs;function ri({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:i}){return(o,n,l,a)=>{const d=l===void 0?n:l instanceof U.Name?(n instanceof U.Name?e(o,n,l):t(o,n,l),l):n instanceof U.Name?(t(o,l,n),n):r(n,l);return a===U.Name&&!(d instanceof U.Name)?i(o,d):d}}j.mergeEvaluated={props:ri({mergeNames:(e,t,r)=>e.if((0,U._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,U._)`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,U._)`${r} || {}`).code((0,U._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,U._)`${r} !== true`,()=>{t===!0?e.assign(r,!0):(e.assign(r,(0,U._)`${r} || {}`),er(e,r,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:Ai}),items:ri({mergeNames:(e,t,r)=>e.if((0,U._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,U._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,U._)`${r} !== true`,()=>e.assign(r,t===!0?!0:(0,U._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function Ai(e,t){if(t===!0)return e.var("props",!0);const r=e.var("props",(0,U._)`{}`);return t!==void 0&&er(e,r,t),r}j.evaluatedPropsToName=Ai;function er(e,t,r){Object.keys(r).forEach(i=>e.assign((0,U._)`${t}${(0,U.getProperty)(i)}`,!0))}j.setEvaluated=er;const ii={};function ps(e,t){return e.scopeValue("func",{ref:t,code:ii[t.code]||(ii[t.code]=new is._Code(t.code))})}j.useFunc=ps;var Ut;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(Ut||(j.Type=Ut={}));function us(e,t,r){if(e instanceof U.Name){const i=t===Ut.Num;return r?i?(0,U._)`"[" + ${e} + "]"`:(0,U._)`"['" + ${e} + "']"`:i?(0,U._)`"/" + ${e}`:(0,U._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,U.getProperty)(e).toString():"/"+Qt(e)}j.getErrorPath=us;function zi(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,r===!0)throw new Error(t);e.self.logger.warn(t)}}j.checkStrictMode=zi;var de={};Object.defineProperty(de,"__esModule",{value:!0});const re=A,fs={data:new re.Name("data"),valCxt:new re.Name("valCxt"),instancePath:new re.Name("instancePath"),parentData:new re.Name("parentData"),parentDataProperty:new re.Name("parentDataProperty"),rootData:new re.Name("rootData"),dynamicAnchors:new re.Name("dynamicAnchors"),vErrors:new re.Name("vErrors"),errors:new re.Name("errors"),this:new re.Name("this"),self:new re.Name("self"),scope:new re.Name("scope"),json:new re.Name("json"),jsonPos:new re.Name("jsonPos"),jsonLen:new re.Name("jsonLen"),jsonPart:new re.Name("jsonPart")};de.default=fs;(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=A,r=j,i=de;e.keywordError={message:({keyword:g})=>(0,t.str)`must pass "${g}" keyword validation`},e.keyword$DataError={message:({keyword:g,schemaType:f})=>f?(0,t.str)`"${g}" keyword must be ${f} ($data)`:(0,t.str)`"${g}" keyword is invalid ($data)`};function o(g,f=e.keywordError,O,V){const{it:R}=g,{gen:I,compositeRule:q,allErrors:W}=R,oe=h(g,f,O);V??(q||W)?d(I,oe):c(R,(0,t._)`[${oe}]`)}e.reportError=o;function n(g,f=e.keywordError,O){const{it:V}=g,{gen:R,compositeRule:I,allErrors:q}=V,W=h(g,f,O);d(R,W),I||q||c(V,i.default.vErrors)}e.reportExtraError=n;function l(g,f){g.assign(i.default.errors,f),g.if((0,t._)`${i.default.vErrors} !== null`,()=>g.if(f,()=>g.assign((0,t._)`${i.default.vErrors}.length`,f),()=>g.assign(i.default.vErrors,null)))}e.resetErrorsCount=l;function a({gen:g,keyword:f,schemaValue:O,data:V,errsCount:R,it:I}){if(R===void 0)throw new Error("ajv implementation error");const q=g.name("err");g.forRange("i",R,i.default.errors,W=>{g.const(q,(0,t._)`${i.default.vErrors}[${W}]`),g.if((0,t._)`${q}.instancePath === undefined`,()=>g.assign((0,t._)`${q}.instancePath`,(0,t.strConcat)(i.default.instancePath,I.errorPath))),g.assign((0,t._)`${q}.schemaPath`,(0,t.str)`${I.errSchemaPath}/${f}`),I.opts.verbose&&(g.assign((0,t._)`${q}.schema`,O),g.assign((0,t._)`${q}.data`,V))})}e.extendErrors=a;function d(g,f){const O=g.const("err",f);g.if((0,t._)`${i.default.vErrors} === null`,()=>g.assign(i.default.vErrors,(0,t._)`[${O}]`),(0,t._)`${i.default.vErrors}.push(${O})`),g.code((0,t._)`${i.default.errors}++`)}function c(g,f){const{gen:O,validateName:V,schemaEnv:R}=g;R.$async?O.throw((0,t._)`new ${g.ValidationError}(${f})`):(O.assign((0,t._)`${V}.errors`,f),O.return(!1))}const u={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,f,O){const{createErrors:V}=g.it;return V===!1?(0,t._)`{}`:k(g,f,O)}function k(g,f,O={}){const{gen:V,it:R}=g,I=[$(R,O),y(g,O)];return w(g,f,I),V.object(...I)}function $({errorPath:g},{instancePath:f}){const O=f?(0,t.str)`${g}${(0,r.getErrorPath)(f,r.Type.Str)}`:g;return[i.default.instancePath,(0,t.strConcat)(i.default.instancePath,O)]}function y({keyword:g,it:{errSchemaPath:f}},{schemaPath:O,parentSchema:V}){let R=V?f:(0,t.str)`${f}/${g}`;return O&&(R=(0,t.str)`${R}${(0,r.getErrorPath)(O,r.Type.Str)}`),[u.schemaPath,R]}function w(g,{params:f,message:O},V){const{keyword:R,data:I,schemaValue:q,it:W}=g,{opts:oe,propertyName:ce,topSchemaRef:fe,schemaPath:he}=W;V.push([u.keyword,R],[u.params,typeof f=="function"?f(g):f||(0,t._)`{}`]),oe.messages&&V.push([u.message,typeof O=="function"?O(g):O]),oe.verbose&&V.push([u.schema,q],[u.parentSchema,(0,t._)`${fe}${he}`],[i.default.data,I]),ce&&V.push([u.propertyName,ce])}})(pt);var oi;function hs(){if(oi)return De;oi=1,Object.defineProperty(De,"__esModule",{value:!0}),De.boolOrEmptySchema=De.topBoolOrEmptySchema=void 0;const e=pt,t=A,r=de,i={message:"boolean schema is false"};function o(a){const{gen:d,schema:c,validateName:u}=a;c===!1?l(a,!1):typeof c=="object"&&c.$async===!0?d.return(r.default.data):(d.assign((0,t._)`${u}.errors`,null),d.return(!0))}De.topBoolOrEmptySchema=o;function n(a,d){const{gen:c,schema:u}=a;u===!1?(c.var(d,!1),l(a)):c.var(d,!0)}De.boolOrEmptySchema=n;function l(a,d){const{gen:c,data:u}=a,h={gen:c,keyword:"false schema",data:u,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(h,i,void 0,d)}return De}var Z={},Ee={};Object.defineProperty(Ee,"__esModule",{value:!0});Ee.getRules=Ee.isJSONType=void 0;const ms=["string","number","integer","boolean","null","object","array"],gs=new Set(ms);function ys(e){return typeof e=="string"&&gs.has(e)}Ee.isJSONType=ys;function bs(){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:{}}}Ee.getRules=bs;var ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.shouldUseRule=ke.shouldUseGroup=ke.schemaHasRulesForType=void 0;function $s({schema:e,self:t},r){const i=t.RULES.types[r];return i&&i!==!0&&Mi(e,i)}ke.schemaHasRulesForType=$s;function Mi(e,t){return t.rules.some(r=>Bi(e,r))}ke.shouldUseGroup=Mi;function Bi(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))}ke.shouldUseRule=Bi;Object.defineProperty(Z,"__esModule",{value:!0});Z.reportTypeError=Z.checkDataTypes=Z.checkDataType=Z.coerceAndCheckDataType=Z.getJSONTypes=Z.getSchemaTypes=Z.DataType=void 0;const vs=Ee,Ss=ke,ws=pt,z=A,Li=j;var qe;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(qe||(Z.DataType=qe={}));function ks(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}Z.getSchemaTypes=ks;function qi(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(vs.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}Z.getJSONTypes=qi;function Os(e,t){const{gen:r,data:i,opts:o}=e,n=Cs(t,o.coerceTypes),l=t.length>0&&!(n.length===0&&t.length===1&&(0,Ss.schemaHasRulesForType)(e,t[0]));if(l){const a=tr(t,i,o.strictNumbers,qe.Wrong);r.if(a,()=>{n.length?Ps(e,t,n):rr(e)})}return l}Z.coerceAndCheckDataType=Os;const Hi=new Set(["string","number","integer","boolean","null"]);function Cs(e,t){return t?e.filter(r=>Hi.has(r)||t==="array"&&r==="array"):[]}function Ps(e,t,r){const{gen:i,data:o,opts:n}=e,l=i.let("dataType",(0,z._)`typeof ${o}`),a=i.let("coerced",(0,z._)`undefined`);n.coerceTypes==="array"&&i.if((0,z._)`${l} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>i.assign(o,(0,z._)`${o}[0]`).assign(l,(0,z._)`typeof ${o}`).if(tr(t,o,n.strictNumbers),()=>i.assign(a,o))),i.if((0,z._)`${a} !== undefined`);for(const c of r)(Hi.has(c)||c==="array"&&n.coerceTypes==="array")&&d(c);i.else(),rr(e),i.endIf(),i.if((0,z._)`${a} !== undefined`,()=>{i.assign(o,a),_s(e,a)});function d(c){switch(c){case"string":i.elseIf((0,z._)`${l} == "number" || ${l} == "boolean"`).assign(a,(0,z._)`"" + ${o}`).elseIf((0,z._)`${o} === null`).assign(a,(0,z._)`""`);return;case"number":i.elseIf((0,z._)`${l} == "boolean" || ${o} === null
|
|
3
|
-
|| (${
|
|
4
|
-
|| (${
|
|
5
|
-
|| ${l} === "boolean" || ${o} === null`).assign(a,(0,z._)`[${o}]`)}}}function _s({gen:e,parentData:t,parentDataProperty:r},i){e.if((0,z._)`${t} !== undefined`,()=>e.assign((0,z._)`${t}[${r}]`,i))}function Gt(e,t,r,i=qe.Correct){const o=i===qe.Correct?z.operators.EQ:z.operators.NEQ;let n;switch(e){case"null":return(0,z._)`${t} ${o} null`;case"array":n=(0,z._)`Array.isArray(${t})`;break;case"object":n=(0,z._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":n=l((0,z._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":n=l();break;default:return(0,z._)`typeof ${t} ${o} ${e}`}return i===qe.Correct?n:(0,z.not)(n);function l(a=z.nil){return(0,z.and)((0,z._)`typeof ${t} == "number"`,a,r?(0,z._)`isFinite(${t})`:z.nil)}}Z.checkDataType=Gt;function tr(e,t,r,i){if(e.length===1)return Gt(e[0],t,r,i);let o;const n=(0,Li.toHash)(e);if(n.array&&n.object){const l=(0,z._)`typeof ${t} != "object"`;o=n.null?l:(0,z._)`!${t} || ${l}`,delete n.null,delete n.array,delete n.object}else o=z.nil;n.number&&delete n.integer;for(const l in n)o=(0,z.and)(o,Gt(l,t,r,i));return o}Z.checkDataTypes=tr;const Vs={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,z._)`{type: ${e}}`:(0,z._)`{type: ${t}}`};function rr(e){const t=Fs(e);(0,ws.reportError)(t,Vs)}Z.reportTypeError=rr;function Fs(e){const{gen:t,data:r,schema:i}=e,o=(0,Li.schemaRefOrVal)(e,i,"type");return{gen:t,keyword:"type",data:r,schema:i.type,schemaCode:o,schemaValue:o,parentSchema:i,params:{},it:e}}var tt={},ni;function Ds(){if(ni)return tt;ni=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.assignDefaults=void 0;const e=A,t=j;function r(o,n){const{properties:l,items:a}=o.schema;if(n==="object"&&l)for(const d in l)i(o,d,l[d].default);else n==="array"&&Array.isArray(a)&&a.forEach((d,c)=>i(o,c,d.default))}tt.assignDefaults=r;function i(o,n,l){const{gen:a,compositeRule:d,data:c,opts:u}=o;if(l===void 0)return;const h=(0,e._)`${c}${(0,e.getProperty)(n)}`;if(d){(0,t.checkStrictMode)(o,`default is ignored for: ${h}`);return}let k=(0,e._)`${h} === undefined`;u.useDefaults==="empty"&&(k=(0,e._)`${k} || ${h} === null || ${h} === ""`),a.if(k,(0,e._)`${h} = ${(0,e.stringify)(l)}`)}return tt}var ge={},B={};Object.defineProperty(B,"__esModule",{value:!0});B.validateUnion=B.validateArray=B.usePattern=B.callValidateCode=B.schemaProperties=B.allSchemaProperties=B.noPropertyInData=B.propertyInData=B.isOwnProperty=B.hasPropFunc=B.reportMissingProp=B.checkMissingProp=B.checkReportMissingProp=void 0;const G=A,ir=j,Ce=de,Rs=j;function js(e,t){const{gen:r,data:i,it:o}=e;r.if(nr(r,i,t,o.opts.ownProperties),()=>{e.setParams({missingProperty:(0,G._)`${t}`},!0),e.error()})}B.checkReportMissingProp=js;function Ts({gen:e,data:t,it:{opts:r}},i,o){return(0,G.or)(...i.map(n=>(0,G.and)(nr(e,t,n,r.ownProperties),(0,G._)`${o} = ${n}`)))}B.checkMissingProp=Ts;function Is(e,t){e.setParams({missingProperty:t},!0),e.error()}B.reportMissingProp=Is;function Wi(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,G._)`Object.prototype.hasOwnProperty`})}B.hasPropFunc=Wi;function or(e,t,r){return(0,G._)`${Wi(e)}.call(${t}, ${r})`}B.isOwnProperty=or;function Es(e,t,r,i){const o=(0,G._)`${t}${(0,G.getProperty)(r)} !== undefined`;return i?(0,G._)`${o} && ${or(e,t,r)}`:o}B.propertyInData=Es;function nr(e,t,r,i){const o=(0,G._)`${t}${(0,G.getProperty)(r)} === undefined`;return i?(0,G.or)(o,(0,G.not)(or(e,t,r))):o}B.noPropertyInData=nr;function Ui(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}B.allSchemaProperties=Ui;function Ns(e,t){return Ui(t).filter(r=>!(0,ir.alwaysValidSchema)(e,t[r]))}B.schemaProperties=Ns;function xs({schemaCode:e,data:t,it:{gen:r,topSchemaRef:i,schemaPath:o,errorPath:n},it:l},a,d,c){const u=c?(0,G._)`${e}, ${t}, ${i}${o}`:t,h=[[Ce.default.instancePath,(0,G.strConcat)(Ce.default.instancePath,n)],[Ce.default.parentData,l.parentData],[Ce.default.parentDataProperty,l.parentDataProperty],[Ce.default.rootData,Ce.default.rootData]];l.opts.dynamicRef&&h.push([Ce.default.dynamicAnchors,Ce.default.dynamicAnchors]);const k=(0,G._)`${u}, ${r.object(...h)}`;return d!==G.nil?(0,G._)`${a}.call(${d}, ${k})`:(0,G._)`${a}(${k})`}B.callValidateCode=xs;const As=(0,G._)`new RegExp`;function zs({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,G._)`${o.code==="new RegExp"?As:(0,Rs.useFunc)(e,o)}(${r}, ${i})`})}B.usePattern=zs;function Ms(e){const{gen:t,data:r,keyword:i,it:o}=e,n=t.name("valid");if(o.allErrors){const a=t.let("valid",!0);return l(()=>t.assign(a,!1)),a}return t.var(n,!0),l(()=>t.break()),n;function l(a){const d=t.const("len",(0,G._)`${r}.length`);t.forRange("i",0,d,c=>{e.subschema({keyword:i,dataProp:c,dataPropType:ir.Type.Num},n),t.if((0,G.not)(n),a)})}}B.validateArray=Ms;function Bs(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,ir.alwaysValidSchema)(o,d))&&!o.opts.unevaluated)return;const l=t.let("valid",!1),a=t.name("_valid");t.block(()=>r.forEach((d,c)=>{const u=e.subschema({keyword:i,schemaProp:c,compositeRule:!0},a);t.assign(l,(0,G._)`${l} || ${a}`),e.mergeValidEvaluated(u,a)||t.if((0,G.not)(l))})),e.result(l,()=>e.reset(),()=>e.error(!0))}B.validateUnion=Bs;var si;function Ls(){if(si)return ge;si=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.validateKeywordUsage=ge.validSchemaType=ge.funcKeywordCode=ge.macroKeywordCode=void 0;const e=A,t=de,r=B,i=pt;function o(k,$){const{gen:y,keyword:w,schema:g,parentSchema:f,it:O}=k,V=$.macro.call(O.self,g,f,O),R=c(y,w,V);O.opts.validateSchema!==!1&&O.self.validateSchema(V,!0);const I=y.name("valid");k.subschema({schema:V,schemaPath:e.nil,errSchemaPath:`${O.errSchemaPath}/${w}`,topSchemaRef:R,compositeRule:!0},I),k.pass(I,()=>k.error(!0))}ge.macroKeywordCode=o;function n(k,$){var y;const{gen:w,keyword:g,schema:f,parentSchema:O,$data:V,it:R}=k;d(R,$);const I=!V&&$.compile?$.compile.call(R.self,f,O,R):$.validate,q=c(w,g,I),W=w.let("valid");k.block$data(W,oe),k.ok((y=$.valid)!==null&&y!==void 0?y:W);function oe(){if($.errors===!1)he(),$.modifying&&l(k),ne(()=>k.error());else{const K=$.async?ce():fe();$.modifying&&l(k),ne(()=>a(k,K))}}function ce(){const K=w.let("ruleErrs",null);return w.try(()=>he((0,e._)`await `),Y=>w.assign(W,!1).if((0,e._)`${Y} instanceof ${R.ValidationError}`,()=>w.assign(K,(0,e._)`${Y}.errors`),()=>w.throw(Y))),K}function fe(){const K=(0,e._)`${q}.errors`;return w.assign(K,null),he(e.nil),K}function he(K=$.async?(0,e._)`await `:e.nil){const Y=R.opts.passContext?t.default.this:t.default.self,ve=!("compile"in $&&!V||$.schema===!1);w.assign(W,(0,e._)`${K}${(0,r.callValidateCode)(k,q,Y,ve)}`,$.modifying)}function ne(K){var Y;w.if((0,e.not)((Y=$.valid)!==null&&Y!==void 0?Y:W),K)}}ge.funcKeywordCode=n;function l(k){const{gen:$,data:y,it:w}=k;$.if(w.parentData,()=>$.assign(y,(0,e._)`${w.parentData}[${w.parentDataProperty}]`))}function a(k,$){const{gen:y}=k;y.if((0,e._)`Array.isArray(${$})`,()=>{y.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${$} : ${t.default.vErrors}.concat(${$})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,i.extendErrors)(k)},()=>k.error())}function d({schemaEnv:k},$){if($.async&&!k.$async)throw new Error("async keyword in sync schema")}function c(k,$,y){if(y===void 0)throw new Error(`keyword "${$}" failed to compile`);return k.scopeValue("keyword",typeof y=="function"?{ref:y}:{ref:y,code:(0,e.stringify)(y)})}function u(k,$,y=!1){return!$.length||$.some(w=>w==="array"?Array.isArray(k):w==="object"?k&&typeof k=="object"&&!Array.isArray(k):typeof k==w||y&&typeof k>"u")}ge.validSchemaType=u;function h({schema:k,opts:$,self:y,errSchemaPath:w},g,f){if(Array.isArray(g.keyword)?!g.keyword.includes(f):g.keyword!==f)throw new Error("ajv implementation error");const O=g.dependencies;if(O!=null&&O.some(V=>!Object.prototype.hasOwnProperty.call(k,V)))throw new Error(`parent schema must have dependencies of ${f}: ${O.join(",")}`);if(g.validateSchema&&!g.validateSchema(k[f])){const R=`keyword "${f}" value is invalid at path "${w}": `+y.errorsText(g.validateSchema.errors);if($.validateSchema==="log")y.logger.error(R);else throw new Error(R)}}return ge.validateKeywordUsage=h,ge}var we={},ai;function qs(){if(ai)return we;ai=1,Object.defineProperty(we,"__esModule",{value:!0}),we.extendSubschemaMode=we.extendSubschemaData=we.getSubschema=void 0;const e=A,t=j;function r(n,{keyword:l,schemaProp:a,schema:d,schemaPath:c,errSchemaPath:u,topSchemaRef:h}){if(l!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(l!==void 0){const k=n.schema[l];return a===void 0?{schema:k,schemaPath:(0,e._)`${n.schemaPath}${(0,e.getProperty)(l)}`,errSchemaPath:`${n.errSchemaPath}/${l}`}:{schema:k[a],schemaPath:(0,e._)`${n.schemaPath}${(0,e.getProperty)(l)}${(0,e.getProperty)(a)}`,errSchemaPath:`${n.errSchemaPath}/${l}/${(0,t.escapeFragment)(a)}`}}if(d!==void 0){if(c===void 0||u===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:c,topSchemaRef:h,errSchemaPath:u}}throw new Error('either "keyword" or "schema" must be passed')}we.getSubschema=r;function i(n,l,{dataProp:a,dataPropType:d,data:c,dataTypes:u,propertyName:h}){if(c!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:k}=l;if(a!==void 0){const{errorPath:y,dataPathArr:w,opts:g}=l,f=k.let("data",(0,e._)`${l.data}${(0,e.getProperty)(a)}`,!0);$(f),n.errorPath=(0,e.str)`${y}${(0,t.getErrorPath)(a,d,g.jsPropertySyntax)}`,n.parentDataProperty=(0,e._)`${a}`,n.dataPathArr=[...w,n.parentDataProperty]}if(c!==void 0){const y=c instanceof e.Name?c:k.let("data",c,!0);$(y),h!==void 0&&(n.propertyName=h)}u&&(n.dataTypes=u);function $(y){n.data=y,n.dataLevel=l.dataLevel+1,n.dataTypes=[],l.definedProperties=new Set,n.parentData=l.data,n.dataNames=[...l.dataNames,y]}}we.extendSubschemaData=i;function o(n,{jtdDiscriminator:l,jtdMetadata:a,compositeRule:d,createErrors:c,allErrors:u}){d!==void 0&&(n.compositeRule=d),c!==void 0&&(n.createErrors=c),u!==void 0&&(n.allErrors=u),n.jtdDiscriminator=l,n.jtdMetadata=a}return we.extendSubschemaMode=o,we}var te={},Gi=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 l=n[o];if(!e(t[l],r[l]))return!1}return!0}return t!==t&&r!==r},Ki={exports:{}},Ve=Ki.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(){};$t(t,i,o,e,"",e)};Ve.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Ve.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Ve.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Ve.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 $t(e,t,r,i,o,n,l,a,d,c){if(i&&typeof i=="object"&&!Array.isArray(i)){t(i,o,n,l,a,d,c);for(var u in i){var h=i[u];if(Array.isArray(h)){if(u in Ve.arrayKeywords)for(var k=0;k<h.length;k++)$t(e,t,r,h[k],o+"/"+u+"/"+k,n,o,u,i,k)}else if(u in Ve.propsKeywords){if(h&&typeof h=="object")for(var $ in h)$t(e,t,r,h[$],o+"/"+u+"/"+Hs($),n,o,u,i,$)}else(u in Ve.keywords||e.allKeys&&!(u in Ve.skipKeywords))&&$t(e,t,r,h,o+"/"+u,n,o,u,i)}r(i,o,n,l,a,d,c)}}function Hs(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var Ws=Ki.exports;Object.defineProperty(te,"__esModule",{value:!0});te.getSchemaRefs=te.resolveUrl=te.normalizeId=te._getFullPath=te.getFullPath=te.inlineRef=void 0;const Us=j,Gs=Gi,Ks=Ws,Js=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Ys(e,t=!0){return typeof e=="boolean"?!0:t===!0?!Kt(e):t?Ji(e)<=t:!1}te.inlineRef=Ys;const Zs=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Kt(e){for(const t in e){if(Zs.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(Kt)||typeof r=="object"&&Kt(r))return!0}return!1}function Ji(e){let t=0;for(const r in e){if(r==="$ref")return 1/0;if(t++,!Js.has(r)&&(typeof e[r]=="object"&&(0,Us.eachItem)(e[r],i=>t+=Ji(i)),t===1/0))return 1/0}return t}function Yi(e,t="",r){r!==!1&&(t=He(t));const i=e.parse(t);return Zi(e,i)}te.getFullPath=Yi;function Zi(e,t){return e.serialize(t).split("#")[0]+"#"}te._getFullPath=Zi;const Xs=/#\/?$/;function He(e){return e?e.replace(Xs,""):""}te.normalizeId=He;function Qs(e,t,r){return r=He(r),e.resolve(t,r)}te.resolveUrl=Qs;const ea=/^[a-z_][-a-z0-9._]*$/i;function ta(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:i}=this.opts,o=He(e[r]||t),n={"":o},l=Yi(i,o,!1),a={},d=new Set;return Ks(e,{allKeys:!0},(h,k,$,y)=>{if(y===void 0)return;const w=l+k;let g=n[y];typeof h[r]=="string"&&(g=f.call(this,h[r])),O.call(this,h.$anchor),O.call(this,h.$dynamicAnchor),n[k]=g;function f(V){const R=this.opts.uriResolver.resolve;if(V=He(g?R(g,V):V),d.has(V))throw u(V);d.add(V);let I=this.refs[V];return typeof I=="string"&&(I=this.refs[I]),typeof I=="object"?c(h,I.schema,V):V!==He(w)&&(V[0]==="#"?(c(h,a[V],V),a[V]=h):this.refs[V]=w),V}function O(V){if(typeof V=="string"){if(!ea.test(V))throw new Error(`invalid anchor "${V}"`);f.call(this,`#${V}`)}}}),a;function c(h,k,$){if(k!==void 0&&!Gs(h,k))throw u($)}function u(h){return new Error(`reference "${h}" resolves to more than one schema`)}}te.getSchemaRefs=ta;var li;function Ft(){if(li)return Se;li=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.getData=Se.KeywordCxt=Se.validateFunctionCode=void 0;const e=hs(),t=Z,r=ke,i=Z,o=Ds(),n=Ls(),l=qs(),a=A,d=de,c=te,u=j,h=pt;function k(m){if(I(m)&&(W(m),R(m))){g(m);return}$(m,()=>(0,e.topBoolOrEmptySchema)(m))}Se.validateFunctionCode=k;function $({gen:m,validateName:v,schema:P,schemaEnv:F,opts:N},M){N.code.es5?m.func(v,(0,a._)`${d.default.data}, ${d.default.valCxt}`,F.$async,()=>{m.code((0,a._)`"use strict"; ${O(P,N)}`),w(m,N),m.code(M)}):m.func(v,(0,a._)`${d.default.data}, ${y(N)}`,F.$async,()=>m.code(O(P,N)).code(M))}function y(m){return(0,a._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${m.dynamicRef?(0,a._)`, ${d.default.dynamicAnchors}={}`:a.nil}}={}`}function w(m,v){m.if(d.default.valCxt,()=>{m.var(d.default.instancePath,(0,a._)`${d.default.valCxt}.${d.default.instancePath}`),m.var(d.default.parentData,(0,a._)`${d.default.valCxt}.${d.default.parentData}`),m.var(d.default.parentDataProperty,(0,a._)`${d.default.valCxt}.${d.default.parentDataProperty}`),m.var(d.default.rootData,(0,a._)`${d.default.valCxt}.${d.default.rootData}`),v.dynamicRef&&m.var(d.default.dynamicAnchors,(0,a._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{m.var(d.default.instancePath,(0,a._)`""`),m.var(d.default.parentData,(0,a._)`undefined`),m.var(d.default.parentDataProperty,(0,a._)`undefined`),m.var(d.default.rootData,d.default.data),v.dynamicRef&&m.var(d.default.dynamicAnchors,(0,a._)`{}`)})}function g(m){const{schema:v,opts:P,gen:F}=m;$(m,()=>{P.$comment&&v.$comment&&K(m),fe(m),F.let(d.default.vErrors,null),F.let(d.default.errors,0),P.unevaluated&&f(m),oe(m),Y(m)})}function f(m){const{gen:v,validateName:P}=m;m.evaluated=v.const("evaluated",(0,a._)`${P}.evaluated`),v.if((0,a._)`${m.evaluated}.dynamicProps`,()=>v.assign((0,a._)`${m.evaluated}.props`,(0,a._)`undefined`)),v.if((0,a._)`${m.evaluated}.dynamicItems`,()=>v.assign((0,a._)`${m.evaluated}.items`,(0,a._)`undefined`))}function O(m,v){const P=typeof m=="object"&&m[v.schemaId];return P&&(v.code.source||v.code.process)?(0,a._)`/*# sourceURL=${P} */`:a.nil}function V(m,v){if(I(m)&&(W(m),R(m))){q(m,v);return}(0,e.boolOrEmptySchema)(m,v)}function R({schema:m,self:v}){if(typeof m=="boolean")return!m;for(const P in m)if(v.RULES.all[P])return!0;return!1}function I(m){return typeof m.schema!="boolean"}function q(m,v){const{schema:P,gen:F,opts:N}=m;N.$comment&&P.$comment&&K(m),he(m),ne(m);const M=F.const("_errs",d.default.errors);oe(m,M),F.var(v,(0,a._)`${M} === ${d.default.errors}`)}function W(m){(0,u.checkUnknownRules)(m),ce(m)}function oe(m,v){if(m.opts.jtd)return Fe(m,[],!1,v);const P=(0,t.getSchemaTypes)(m.schema),F=(0,t.coerceAndCheckDataType)(m,P);Fe(m,P,!F,v)}function ce(m){const{schema:v,errSchemaPath:P,opts:F,self:N}=m;v.$ref&&F.ignoreKeywordsWithRef&&(0,u.schemaHasRulesButRef)(v,N.RULES)&&N.logger.warn(`$ref: keywords ignored in schema at path "${P}"`)}function fe(m){const{schema:v,opts:P}=m;v.default!==void 0&&P.useDefaults&&P.strictSchema&&(0,u.checkStrictMode)(m,"default is ignored in the schema root")}function he(m){const v=m.schema[m.opts.schemaId];v&&(m.baseId=(0,c.resolveUrl)(m.opts.uriResolver,m.baseId,v))}function ne(m){if(m.schema.$async&&!m.schemaEnv.$async)throw new Error("async schema in sync schema")}function K({gen:m,schemaEnv:v,schema:P,errSchemaPath:F,opts:N}){const M=P.$comment;if(N.$comment===!0)m.code((0,a._)`${d.default.self}.logger.log(${M})`);else if(typeof N.$comment=="function"){const X=(0,a.str)`${F}/$comment`,me=m.scopeValue("root",{ref:v.root});m.code((0,a._)`${d.default.self}.opts.$comment(${M}, ${X}, ${me}.schema)`)}}function Y(m){const{gen:v,schemaEnv:P,validateName:F,ValidationError:N,opts:M}=m;P.$async?v.if((0,a._)`${d.default.errors} === 0`,()=>v.return(d.default.data),()=>v.throw((0,a._)`new ${N}(${d.default.vErrors})`)):(v.assign((0,a._)`${F}.errors`,d.default.vErrors),M.unevaluated&&ve(m),v.return((0,a._)`${d.default.errors} === 0`))}function ve({gen:m,evaluated:v,props:P,items:F}){P instanceof a.Name&&m.assign((0,a._)`${v}.props`,P),F instanceof a.Name&&m.assign((0,a._)`${v}.items`,F)}function Fe(m,v,P,F){const{gen:N,schema:M,data:X,allErrors:me,opts:se,self:ae}=m,{RULES:Q}=ae;if(M.$ref&&(se.ignoreKeywordsWithRef||!(0,u.schemaHasRulesButRef)(M,Q))){N.block(()=>E(m,"$ref",Q.all.$ref.definition));return}se.jtd||Qe(m,v),N.block(()=>{for(const pe of Q.rules)ze(pe);ze(Q.post)});function ze(pe){(0,r.shouldUseGroup)(M,pe)&&(pe.type?(N.if((0,i.checkDataType)(pe.type,X,se.strictNumbers)),xe(m,pe),v.length===1&&v[0]===pe.type&&P&&(N.else(),(0,i.reportTypeError)(m)),N.endIf()):xe(m,pe),me||N.if((0,a._)`${d.default.errors} === ${F||0}`))}}function xe(m,v){const{gen:P,schema:F,opts:{useDefaults:N}}=m;N&&(0,o.assignDefaults)(m,v.type),P.block(()=>{for(const M of v.rules)(0,r.shouldUseRule)(F,M)&&E(m,M.keyword,M.definition,v.type)})}function Qe(m,v){m.schemaEnv.meta||!m.opts.strictTypes||(Ae(m,v),m.opts.allowUnionTypes||D(m,v),b(m,m.dataTypes))}function Ae(m,v){if(v.length){if(!m.dataTypes.length){m.dataTypes=v;return}v.forEach(P=>{S(m.dataTypes,P)||p(m,`type "${P}" not allowed by context "${m.dataTypes.join(",")}"`)}),s(m,v)}}function D(m,v){v.length>1&&!(v.length===2&&v.includes("null"))&&p(m,"use allowUnionTypes to allow union type keyword")}function b(m,v){const P=m.self.RULES.all;for(const F in P){const N=P[F];if(typeof N=="object"&&(0,r.shouldUseRule)(m.schema,N)){const{type:M}=N.definition;M.length&&!M.some(X=>_(v,X))&&p(m,`missing type "${M.join(",")}" for keyword "${F}"`)}}}function _(m,v){return m.includes(v)||v==="number"&&m.includes("integer")}function S(m,v){return m.includes(v)||v==="integer"&&m.includes("number")}function s(m,v){const P=[];for(const F of m.dataTypes)S(v,F)?P.push(F):v.includes("integer")&&F==="number"&&P.push("integer");m.dataTypes=P}function p(m,v){const P=m.schemaEnv.baseId+m.errSchemaPath;v+=` at "${P}" (strictTypes)`,(0,u.checkStrictMode)(m,v,m.opts.strictTypes)}class C{constructor(v,P,F){if((0,n.validateKeywordUsage)(v,P,F),this.gen=v.gen,this.allErrors=v.allErrors,this.keyword=F,this.data=v.data,this.schema=v.schema[F],this.$data=P.$data&&v.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,u.schemaRefOrVal)(v,this.schema,F,this.$data),this.schemaType=P.schemaType,this.parentSchema=v.schema,this.params={},this.it=v,this.def=P,this.$data)this.schemaCode=v.gen.const("vSchema",L(this.$data,v));else if(this.schemaCode=this.schemaValue,!(0,n.validSchemaType)(this.schema,P.schemaType,P.allowUndefined))throw new Error(`${F} value must be ${JSON.stringify(P.schemaType)}`);("code"in P?P.trackErrors:P.errors!==!1)&&(this.errsCount=v.gen.const("_errs",d.default.errors))}result(v,P,F){this.failResult((0,a.not)(v),P,F)}failResult(v,P,F){this.gen.if(v),F?F():this.error(),P?(this.gen.else(),P(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(v,P){this.failResult((0,a.not)(v),void 0,P)}fail(v){if(v===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(v),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(v){if(!this.$data)return this.fail(v);const{schemaCode:P}=this;this.fail((0,a._)`${P} !== undefined && (${(0,a.or)(this.invalid$data(),v)})`)}error(v,P,F){if(P){this.setParams(P),this._error(v,F),this.setParams({});return}this._error(v,F)}_error(v,P){(v?h.reportExtraError:h.reportError)(this,this.def.error,P)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(v){this.allErrors||this.gen.if(v)}setParams(v,P){P?Object.assign(this.params,v):this.params=v}block$data(v,P,F=a.nil){this.gen.block(()=>{this.check$data(v,F),P()})}check$data(v=a.nil,P=a.nil){if(!this.$data)return;const{gen:F,schemaCode:N,schemaType:M,def:X}=this;F.if((0,a.or)((0,a._)`${N} === undefined`,P)),v!==a.nil&&F.assign(v,!0),(M.length||X.validateSchema)&&(F.elseIf(this.invalid$data()),this.$dataError(),v!==a.nil&&F.assign(v,!1)),F.else()}invalid$data(){const{gen:v,schemaCode:P,schemaType:F,def:N,it:M}=this;return(0,a.or)(X(),me());function X(){if(F.length){if(!(P instanceof a.Name))throw new Error("ajv implementation error");const se=Array.isArray(F)?F:[F];return(0,a._)`${(0,i.checkDataTypes)(se,P,M.opts.strictNumbers,i.DataType.Wrong)}`}return a.nil}function me(){if(N.validateSchema){const se=v.scopeValue("validate$data",{ref:N.validateSchema});return(0,a._)`!${se}(${P})`}return a.nil}}subschema(v,P){const F=(0,l.getSubschema)(this.it,v);(0,l.extendSubschemaData)(F,this.it,v),(0,l.extendSubschemaMode)(F,v);const N={...this.it,...F,items:void 0,props:void 0};return V(N,P),N}mergeEvaluated(v,P){const{it:F,gen:N}=this;F.opts.unevaluated&&(F.props!==!0&&v.props!==void 0&&(F.props=u.mergeEvaluated.props(N,v.props,F.props,P)),F.items!==!0&&v.items!==void 0&&(F.items=u.mergeEvaluated.items(N,v.items,F.items,P)))}mergeValidEvaluated(v,P){const{it:F,gen:N}=this;if(F.opts.unevaluated&&(F.props!==!0||F.items!==!0))return N.if(P,()=>this.mergeEvaluated(v,a.Name)),!0}}Se.KeywordCxt=C;function E(m,v,P,F){const N=new C(m,P,v);"code"in P?P.code(N,F):N.$data&&P.validate?(0,n.funcKeywordCode)(N,P):"macro"in P?(0,n.macroKeywordCode)(N,P):(P.compile||P.validate)&&(0,n.funcKeywordCode)(N,P)}const x=/^\/(?:[^~]|~0|~1)*$/,H=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function L(m,{dataLevel:v,dataNames:P,dataPathArr:F}){let N,M;if(m==="")return d.default.rootData;if(m[0]==="/"){if(!x.test(m))throw new Error(`Invalid JSON-pointer: ${m}`);N=m,M=d.default.rootData}else{const ae=H.exec(m);if(!ae)throw new Error(`Invalid JSON-pointer: ${m}`);const Q=+ae[1];if(N=ae[2],N==="#"){if(Q>=v)throw new Error(se("property/index",Q));return F[v-Q]}if(Q>v)throw new Error(se("data",Q));if(M=P[v-Q],!N)return M}let X=M;const me=N.split("/");for(const ae of me)ae&&(M=(0,a._)`${M}${(0,a.getProperty)((0,u.unescapeJsonPointer)(ae))}`,X=(0,a._)`${X} && ${M}`);return X;function se(ae,Q){return`Cannot access ${ae} ${Q} levels up, current level is ${v}`}}return Se.getData=L,Se}var ft={},di;function sr(){if(di)return ft;di=1,Object.defineProperty(ft,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return ft.default=e,ft}var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});const zt=te;class ra extends Error{constructor(t,r,i,o){super(o||`can't resolve reference ${i} from id ${r}`),this.missingRef=(0,zt.resolveUrl)(t,r,i),this.missingSchema=(0,zt.normalizeId)((0,zt.getFullPath)(t,this.missingRef))}}Ke.default=ra;var ie={};Object.defineProperty(ie,"__esModule",{value:!0});ie.resolveSchema=ie.getCompilingSchema=ie.resolveRef=ie.compileSchema=ie.SchemaEnv=void 0;const ye=A,ia=sr(),Re=de,$e=te,ci=j,oa=Ft();class Dt{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,$e.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={}}}ie.SchemaEnv=Dt;function ar(e){const t=Xi.call(this,e);if(t)return t;const r=(0,$e.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:i,lines:o}=this.opts.code,{ownProperties:n}=this.opts,l=new ye.CodeGen(this.scope,{es5:i,lines:o,ownProperties:n});let a;e.$async&&(a=l.scopeValue("Error",{ref:ia.default,code:(0,ye._)`require("ajv/dist/runtime/validation_error").default`}));const d=l.scopeName("validate");e.validateName=d;const c={gen:l,allErrors:this.opts.allErrors,data:Re.default.data,parentData:Re.default.parentData,parentDataProperty:Re.default.parentDataProperty,dataNames:[Re.default.data],dataPathArr:[ye.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,ye.stringify)(e.schema)}:{ref:e.schema}),validateName:d,ValidationError:a,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:ye.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,ye._)`""`,opts:this.opts,self:this};let u;try{this._compilations.add(e),(0,oa.validateFunctionCode)(c),l.optimize(this.opts.code.optimize);const h=l.toString();u=`${l.scopeRefs(Re.default.scope)}return ${h}`,this.opts.code.process&&(u=this.opts.code.process(u,e));const $=new Function(`${Re.default.self}`,`${Re.default.scope}`,u)(this,this.scope.get());if(this.scope.value(d,{ref:$}),$.errors=null,$.schema=e.schema,$.schemaEnv=e,e.$async&&($.$async=!0),this.opts.code.source===!0&&($.source={validateName:d,validateCode:h,scopeValues:l._values}),this.opts.unevaluated){const{props:y,items:w}=c;$.evaluated={props:y instanceof ye.Name?void 0:y,items:w instanceof ye.Name?void 0:w,dynamicProps:y instanceof ye.Name,dynamicItems:w instanceof ye.Name},$.source&&($.source.evaluated=(0,ye.stringify)($.evaluated))}return e.validate=$,e}catch(h){throw delete e.validate,delete e.validateName,u&&this.logger.error("Error compiling schema, function code:",u),h}finally{this._compilations.delete(e)}}ie.compileSchema=ar;function na(e,t,r){var i;r=(0,$e.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let n=la.call(this,e,r);if(n===void 0){const l=(i=e.localRefs)===null||i===void 0?void 0:i[r],{schemaId:a}=this.opts;l&&(n=new Dt({schema:l,schemaId:a,root:e,baseId:t}))}if(n!==void 0)return e.refs[r]=sa.call(this,n)}ie.resolveRef=na;function sa(e){return(0,$e.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:ar.call(this,e)}function Xi(e){for(const t of this._compilations)if(aa(t,e))return t}ie.getCompilingSchema=Xi;function aa(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function la(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||Rt.call(this,e,t)}function Rt(e,t){const r=this.opts.uriResolver.parse(t),i=(0,$e._getFullPath)(this.opts.uriResolver,r);let o=(0,$e.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&i===o)return Mt.call(this,r,e);const n=(0,$e.normalizeId)(i),l=this.refs[n]||this.schemas[n];if(typeof l=="string"){const a=Rt.call(this,e,l);return typeof(a==null?void 0:a.schema)!="object"?void 0:Mt.call(this,r,a)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||ar.call(this,l),n===(0,$e.normalizeId)(t)){const{schema:a}=l,{schemaId:d}=this.opts,c=a[d];return c&&(o=(0,$e.resolveUrl)(this.opts.uriResolver,o,c)),new Dt({schema:a,schemaId:d,root:e,baseId:o})}return Mt.call(this,r,l)}}ie.resolveSchema=Rt;const da=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Mt(e,{baseId:t,schema:r,root:i}){var o;if(((o=e.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(const a of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const d=r[(0,ci.unescapeFragment)(a)];if(d===void 0)return;r=d;const c=typeof r=="object"&&r[this.opts.schemaId];!da.has(a)&&c&&(t=(0,$e.resolveUrl)(this.opts.uriResolver,t,c))}let n;if(typeof r!="boolean"&&r.$ref&&!(0,ci.schemaHasRulesButRef)(r,this.RULES)){const a=(0,$e.resolveUrl)(this.opts.uriResolver,t,r.$ref);n=Rt.call(this,i,a)}const{schemaId:l}=this.opts;if(n=n||new Dt({schema:r,schemaId:l,root:i,baseId:t}),n.schema!==n.root.schema)return n}const ca="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",pa="Meta-schema for $data reference (JSON AnySchema extension proposal)",ua="object",fa=["$data"],ha={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},ma=!1,ga={$id:ca,description:pa,type:ua,required:fa,properties:ha,additionalProperties:ma};var lr={},jt={exports:{}};const ya=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),Qi=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),dr=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),eo=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),ba=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function to(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 $a=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function pi(e){return e.length=0,!0}function va(e,t,r){if(e.length){const i=to(e);if(i!=="")t.push(i);else return r.error=!0,!1;e.length=0}return!0}function Sa(e){let t=0;const r={error:!1,address:"",zone:""},i=[],o=[];let n=!1,l=!1,a=va;for(let d=0;d<e.length;d++){const c=e[d];if(!(c==="["||c==="]"))if(c===":"){if(n===!0&&(l=!0),!a(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(!a(o,i,r))break;a=pi}else{o.push(c);continue}}return o.length&&(a===pi?r.zone=o.join(""):l?i.push(o.join("")):i.push(to(o))),r.address=i.join(""),r}function ro(e){if(wa(e,":")<2)return{host:e,isIPV6:!1};const t=Sa(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 wa(e,t){let r=0;for(let i=0;i<e.length;i++)e[i]===t&&r++;return r}function ka(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 Oa={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},Ca=/[@/?#:]/g,Pa=/[@/?#]/g;function io(e,t){const r=t?Pa:Ca;return r.lastIndex=0,e.replace(r,i=>Oa[i])}function _a(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(dr(o)){const n=o.toUpperCase(),l=String.fromCharCode(parseInt(n,16));t&&eo(l)?r+=l:r+="%"+n,i+=2;continue}}r+=e[i]}return r}function Va(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(dr(i)){const o=i.toUpperCase(),n=String.fromCharCode(parseInt(o,16));n!=="."&&eo(n)?t+=n:t+="%"+o,r+=2;continue}}ba(e[r])?t+=e[r]:t+=escape(e[r])}return t}function Fa(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(dr(i)){t+="%"+i.toUpperCase(),r+=2;continue}}t+=escape(e[r])}return t}function Da(e){const t=[];if(e.userinfo!==void 0&&(t.push(e.userinfo),t.push("@")),e.host!==void 0){let r=unescape(e.host);if(!Qi(r)){const i=ro(r);i.isIPV6===!0?r=`[${i.escapedHost}]`:r=io(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 oo={nonSimpleDomain:$a,recomposeAuthority:Da,reescapeHostDelimiters:io,normalizePercentEncoding:_a,normalizePathEncoding:Va,escapePreservingEscapes:Fa,removeDotSegments:ka,isIPv4:Qi,isUUID:ya,normalizeIPv6:ro};const{isUUID:Ra}=oo,ja=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function no(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 so(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function ao(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 Ta(e){return e.secure=no(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function Ia(e){if((e.port===(no(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 Ea(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(ja);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=cr(o);e.path=void 0,n&&(e=n.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e}function Na(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=cr(o);n&&(e=n.serialize(e,t));const l=e,a=e.nss;return l.path=`${i||t.nid}:${a}`,t.skipEscape=!0,l}function xa(e,t){const r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!Ra(r.uuid))&&(r.error=r.error||"UUID is not valid."),r}function Aa(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t}const lo={scheme:"http",domainHost:!0,parse:so,serialize:ao},za={scheme:"https",domainHost:lo.domainHost,parse:so,serialize:ao},vt={scheme:"ws",domainHost:!0,parse:Ta,serialize:Ia},Ma={scheme:"wss",domainHost:vt.domainHost,parse:vt.parse,serialize:vt.serialize},Ba={scheme:"urn",parse:Ea,serialize:Na,skipNormalize:!0},La={scheme:"urn:uuid",parse:xa,serialize:Aa,skipNormalize:!0},Ct={http:lo,https:za,ws:vt,wss:Ma,urn:Ba,"urn:uuid":La};Object.setPrototypeOf(Ct,null);function cr(e){return e&&(Ct[e]||Ct[e.toLowerCase()])||void 0}var qa={SCHEMES:Ct,getSchemeHandler:cr};const{normalizeIPv6:Ha,removeDotSegments:it,recomposeAuthority:Wa,normalizePercentEncoding:Ua,normalizePathEncoding:Ga,escapePreservingEscapes:Ka,reescapeHostDelimiters:Ja,isIPv4:Ya,nonSimpleDomain:Za}=oo,{SCHEMES:Xa,getSchemeHandler:co}=qa;function Qa(e,t){return typeof e=="string"?e=ol(e,t):typeof e=="object"&&(e=Ue(Ne(e,t),t)),e}function el(e,t,r){const i=r?Object.assign({scheme:"null"},r):{scheme:"null"},o=po(Ue(e,i),Ue(t,i),i,!0);return i.skipEscape=!0,Ne(o,i)}function po(e,t,r,i){const o={};return i||(e=Ue(Ne(e,r),r),t=Ue(Ne(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=it(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=it(t.path||""),o.query=t.query):(t.path?(t.path[0]==="/"?o.path=it(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=it(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 tl(e,t,r){const i=ui(e,r),o=ui(t,r);return i!==void 0&&o!==void 0&&i.toLowerCase()===o.toLowerCase()}function Ne(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=co(i.scheme||r.scheme);n&&n.serialize&&n.serialize(r,i),r.path!==void 0&&(i.skipEscape?r.path=Ua(r.path):(r.path=Ka(r.path),r.scheme!==void 0&&(r.path=r.path.split("%3A").join(":")))),i.reference!=="suffix"&&r.scheme&&o.push(r.scheme,":");const l=Wa(r);if(l!==void 0&&(i.reference!=="suffix"&&o.push("//"),o.push(l),r.path&&r.path[0]!=="/"&&o.push("/")),r.path!==void 0){let a=r.path;!i.absolutePath&&(!n||!n.absolutePath)&&(a=it(a)),l===void 0&&a[0]==="/"&&a[1]==="/"&&(a="/%2F"+a.slice(2)),o.push(a)}return r.query!==void 0&&o.push("?",r.query),r.fragment!==void 0&&o.push("#",r.fragment),o.join("")}const rl=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function il(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 uo(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 l=e.match(rl);if(l){i.scheme=l[1],i.userinfo=l[3],i.host=l[4],i.port=parseInt(l[5],10),i.path=l[6]||"",i.query=l[7],i.fragment=l[8],isNaN(i.port)&&(i.port=l[5]);const a=il(i,l);if(a!==void 0&&(i.error=i.error||a,o=!0),i.host)if(Ya(i.host)===!1){const u=Ha(i.host);i.host=u.host.toLowerCase(),n=u.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=co(r.scheme||i.scheme);if(!r.unicodeSupport&&(!d||!d.unicodeSupport)&&i.host&&(r.domainHost||d&&d.domainHost)&&n===!1&&Za(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=Ja(unescape(i.host),n))),i.path&&(i.path=Ga(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 Ue(e,t){return uo(e,t).parsed}function ol(e,t){return fo(e,t).normalized}function fo(e,t){const{parsed:r,malformedAuthorityOrPort:i}=uo(e,t);return{normalized:i?e:Ne(r,t),malformedAuthorityOrPort:i}}function ui(e,t){if(typeof e=="string"){const{normalized:r,malformedAuthorityOrPort:i}=fo(e,t);return i?void 0:r}if(typeof e=="object")return Ne(e,t)}const pr={SCHEMES:Xa,normalize:Qa,resolve:el,resolveComponent:po,equal:tl,serialize:Ne,parse:Ue};jt.exports=pr;jt.exports.default=pr;jt.exports.fastUri=pr;var nl=jt.exports;Object.defineProperty(lr,"__esModule",{value:!0});const ho=nl;ho.code='require("ajv/dist/runtime/uri").default';lr.default=ho;(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=Ft();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=A;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=sr(),o=Ke,n=Ee,l=ie,a=A,d=te,c=Z,u=j,h=ga,k=lr,$=(D,b)=>new RegExp(D,b);$.code="new RegExp";const y=["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."},f={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},O=200;function V(D){var b,_,S,s,p,C,E,x,H,L,m,v,P,F,N,M,X,me,se,ae,Q,ze,pe,Nt,xt;const et=D.strict,At=(b=D.code)===null||b===void 0?void 0:b.optimize,ei=At===!0||At===void 0?1:At||0,ti=(S=(_=D.code)===null||_===void 0?void 0:_.regExp)!==null&&S!==void 0?S:$,Po=(s=D.uriResolver)!==null&&s!==void 0?s:k.default;return{strictSchema:(C=(p=D.strictSchema)!==null&&p!==void 0?p:et)!==null&&C!==void 0?C:!0,strictNumbers:(x=(E=D.strictNumbers)!==null&&E!==void 0?E:et)!==null&&x!==void 0?x:!0,strictTypes:(L=(H=D.strictTypes)!==null&&H!==void 0?H:et)!==null&&L!==void 0?L:"log",strictTuples:(v=(m=D.strictTuples)!==null&&m!==void 0?m:et)!==null&&v!==void 0?v:"log",strictRequired:(F=(P=D.strictRequired)!==null&&P!==void 0?P:et)!==null&&F!==void 0?F:!1,code:D.code?{...D.code,optimize:ei,regExp:ti}:{optimize:ei,regExp:ti},loopRequired:(N=D.loopRequired)!==null&&N!==void 0?N:O,loopEnum:(M=D.loopEnum)!==null&&M!==void 0?M:O,meta:(X=D.meta)!==null&&X!==void 0?X:!0,messages:(me=D.messages)!==null&&me!==void 0?me:!0,inlineRefs:(se=D.inlineRefs)!==null&&se!==void 0?se:!0,schemaId:(ae=D.schemaId)!==null&&ae!==void 0?ae:"$id",addUsedSchema:(Q=D.addUsedSchema)!==null&&Q!==void 0?Q:!0,validateSchema:(ze=D.validateSchema)!==null&&ze!==void 0?ze:!0,validateFormats:(pe=D.validateFormats)!==null&&pe!==void 0?pe:!0,unicodeRegExp:(Nt=D.unicodeRegExp)!==null&&Nt!==void 0?Nt:!0,int32range:(xt=D.int32range)!==null&&xt!==void 0?xt:!0,uriResolver:Po}}class R{constructor(b={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,b=this.opts={...b,...V(b)};const{es5:_,lines:S}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:w,es5:_,lines:S}),this.logger=ne(b.logger);const s=b.validateFormats;b.validateFormats=!1,this.RULES=(0,n.getRules)(),I.call(this,g,b,"NOT SUPPORTED"),I.call(this,f,b,"DEPRECATED","warn"),this._metaOpts=fe.call(this),b.formats&&oe.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),b.keywords&&ce.call(this,b.keywords),typeof b.meta=="object"&&this.addMetaSchema(b.meta),W.call(this),b.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:b,meta:_,schemaId:S}=this.opts;let s=h;S==="id"&&(s={...h},s.id=s.$id,delete s.$id),_&&b&&this.addMetaSchema(s,s[S],!1)}defaultMeta(){const{meta:b,schemaId:_}=this.opts;return this.opts.defaultMeta=typeof b=="object"?b[_]||b:void 0}validate(b,_){let S;if(typeof b=="string"){if(S=this.getSchema(b),!S)throw new Error(`no schema with key or ref "${b}"`)}else S=this.compile(b);const s=S(_);return"$async"in S||(this.errors=S.errors),s}compile(b,_){const S=this._addSchema(b,_);return S.validate||this._compileSchemaEnv(S)}compileAsync(b,_){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:S}=this.opts;return s.call(this,b,_);async function s(L,m){await p.call(this,L.$schema);const v=this._addSchema(L,m);return v.validate||C.call(this,v)}async function p(L){L&&!this.getSchema(L)&&await s.call(this,{$ref:L},!0)}async function C(L){try{return this._compileSchemaEnv(L)}catch(m){if(!(m instanceof o.default))throw m;return E.call(this,m),await x.call(this,m.missingSchema),C.call(this,L)}}function E({missingSchema:L,missingRef:m}){if(this.refs[L])throw new Error(`AnySchema ${L} is loaded but ${m} cannot be resolved`)}async function x(L){const m=await H.call(this,L);this.refs[L]||await p.call(this,m.$schema),this.refs[L]||this.addSchema(m,L,_)}async function H(L){const m=this._loading[L];if(m)return m;try{return await(this._loading[L]=S(L))}finally{delete this._loading[L]}}}addSchema(b,_,S,s=this.opts.validateSchema){if(Array.isArray(b)){for(const C of b)this.addSchema(C,void 0,S,s);return this}let p;if(typeof b=="object"){const{schemaId:C}=this.opts;if(p=b[C],p!==void 0&&typeof p!="string")throw new Error(`schema ${C} must be string`)}return _=(0,d.normalizeId)(_||p),this._checkUnique(_),this.schemas[_]=this._addSchema(b,S,_,s,!0),this}addMetaSchema(b,_,S=this.opts.validateSchema){return this.addSchema(b,_,!0,S),this}validateSchema(b,_){if(typeof b=="boolean")return!0;let S;if(S=b.$schema,S!==void 0&&typeof S!="string")throw new Error("$schema must be a string");if(S=S||this.opts.defaultMeta||this.defaultMeta(),!S)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const s=this.validate(S,b);if(!s&&_){const p="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(p);else throw new Error(p)}return s}getSchema(b){let _;for(;typeof(_=q.call(this,b))=="string";)b=_;if(_===void 0){const{schemaId:S}=this.opts,s=new l.SchemaEnv({schema:{},schemaId:S});if(_=l.resolveSchema.call(this,s,b),!_)return;this.refs[b]=_}return _.validate||this._compileSchemaEnv(_)}removeSchema(b){if(b instanceof RegExp)return this._removeAllSchemas(this.schemas,b),this._removeAllSchemas(this.refs,b),this;switch(typeof b){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const _=q.call(this,b);return typeof _=="object"&&this._cache.delete(_.schema),delete this.schemas[b],delete this.refs[b],this}case"object":{const _=b;this._cache.delete(_);let S=b[this.opts.schemaId];return S&&(S=(0,d.normalizeId)(S),delete this.schemas[S],delete this.refs[S]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(b){for(const _ of b)this.addKeyword(_);return this}addKeyword(b,_){let S;if(typeof b=="string")S=b,typeof _=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),_.keyword=S);else if(typeof b=="object"&&_===void 0){if(_=b,S=_.keyword,Array.isArray(S)&&!S.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(Y.call(this,S,_),!_)return(0,u.eachItem)(S,p=>ve.call(this,p)),this;xe.call(this,_);const s={..._,type:(0,c.getJSONTypes)(_.type),schemaType:(0,c.getJSONTypes)(_.schemaType)};return(0,u.eachItem)(S,s.type.length===0?p=>ve.call(this,p,s):p=>s.type.forEach(C=>ve.call(this,p,s,C))),this}getKeyword(b){const _=this.RULES.all[b];return typeof _=="object"?_.definition:!!_}removeKeyword(b){const{RULES:_}=this;delete _.keywords[b],delete _.all[b];for(const S of _.rules){const s=S.rules.findIndex(p=>p.keyword===b);s>=0&&S.rules.splice(s,1)}return this}addFormat(b,_){return typeof _=="string"&&(_=new RegExp(_)),this.formats[b]=_,this}errorsText(b=this.errors,{separator:_=", ",dataVar:S="data"}={}){return!b||b.length===0?"No errors":b.map(s=>`${S}${s.instancePath} ${s.message}`).reduce((s,p)=>s+_+p)}$dataMetaSchema(b,_){const S=this.RULES.all;b=JSON.parse(JSON.stringify(b));for(const s of _){const p=s.split("/").slice(1);let C=b;for(const E of p)C=C[E];for(const E in S){const x=S[E];if(typeof x!="object")continue;const{$data:H}=x.definition,L=C[E];H&&L&&(C[E]=Ae(L))}}return b}_removeAllSchemas(b,_){for(const S in b){const s=b[S];(!_||_.test(S))&&(typeof s=="string"?delete b[S]:s&&!s.meta&&(this._cache.delete(s.schema),delete b[S]))}}_addSchema(b,_,S,s=this.opts.validateSchema,p=this.opts.addUsedSchema){let C;const{schemaId:E}=this.opts;if(typeof b=="object")C=b[E];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof b!="boolean")throw new Error("schema must be object or boolean")}let x=this._cache.get(b);if(x!==void 0)return x;S=(0,d.normalizeId)(C||S);const H=d.getSchemaRefs.call(this,b,S);return x=new l.SchemaEnv({schema:b,schemaId:E,meta:_,baseId:S,localRefs:H}),this._cache.set(x.schema,x),p&&!S.startsWith("#")&&(S&&this._checkUnique(S),this.refs[S]=x),s&&this.validateSchema(b,!0),x}_checkUnique(b){if(this.schemas[b]||this.refs[b])throw new Error(`schema with key or id "${b}" already exists`)}_compileSchemaEnv(b){if(b.meta?this._compileMetaSchema(b):l.compileSchema.call(this,b),!b.validate)throw new Error("ajv implementation error");return b.validate}_compileMetaSchema(b){const _=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,b)}finally{this.opts=_}}}R.ValidationError=i.default,R.MissingRefError=o.default,e.default=R;function I(D,b,_,S="error"){for(const s in D){const p=s;p in b&&this.logger[S](`${_}: option ${s}. ${D[p]}`)}}function q(D){return D=(0,d.normalizeId)(D),this.schemas[D]||this.refs[D]}function W(){const D=this.opts.schemas;if(D)if(Array.isArray(D))this.addSchema(D);else for(const b in D)this.addSchema(D[b],b)}function oe(){for(const D in this.opts.formats){const b=this.opts.formats[D];b&&this.addFormat(D,b)}}function ce(D){if(Array.isArray(D)){this.addVocabulary(D);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const b in D){const _=D[b];_.keyword||(_.keyword=b),this.addKeyword(_)}}function fe(){const D={...this.opts};for(const b of y)delete D[b];return D}const he={log(){},warn(){},error(){}};function ne(D){if(D===!1)return he;if(D===void 0)return console;if(D.log&&D.warn&&D.error)return D;throw new Error("logger must implement log, warn and error methods")}const K=/^[a-z_$][a-z0-9_$:-]*$/i;function Y(D,b){const{RULES:_}=this;if((0,u.eachItem)(D,S=>{if(_.keywords[S])throw new Error(`Keyword ${S} is already defined`);if(!K.test(S))throw new Error(`Keyword ${S} has invalid name`)}),!!b&&b.$data&&!("code"in b||"validate"in b))throw new Error('$data keyword must have "code" or "validate" function')}function ve(D,b,_){var S;const s=b==null?void 0:b.post;if(_&&s)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:p}=this;let C=s?p.post:p.rules.find(({type:x})=>x===_);if(C||(C={type:_,rules:[]},p.rules.push(C)),p.keywords[D]=!0,!b)return;const E={keyword:D,definition:{...b,type:(0,c.getJSONTypes)(b.type),schemaType:(0,c.getJSONTypes)(b.schemaType)}};b.before?Fe.call(this,C,E,b.before):C.rules.push(E),p.all[D]=E,(S=b.implements)===null||S===void 0||S.forEach(x=>this.addKeyword(x))}function Fe(D,b,_){const S=D.rules.findIndex(s=>s.keyword===_);S>=0?D.rules.splice(S,0,b):(D.rules.push(b),this.logger.warn(`rule ${_} is not defined`))}function xe(D){let{metaSchema:b}=D;b!==void 0&&(D.$data&&this.opts.$data&&(b=Ae(b)),D.validateSchema=this.compile(b,!0))}const Qe={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Ae(D){return{anyOf:[D,Qe]}}})(Ii);var ur={},fr={},hr={};Object.defineProperty(hr,"__esModule",{value:!0});const sl={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};hr.default=sl;var Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.callRef=Oe.getValidate=void 0;const al=Ke,fi=B,le=A,Me=de,hi=ie,ht=j,ll={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:i}=e,{baseId:o,schemaEnv:n,validateName:l,opts:a,self:d}=i,{root:c}=n;if((r==="#"||r==="#/")&&o===c.baseId)return h();const u=hi.resolveRef.call(d,c,o,r);if(u===void 0)throw new al.default(i.opts.uriResolver,o,r);if(u instanceof hi.SchemaEnv)return k(u);return $(u);function h(){if(n===c)return St(e,l,n,n.$async);const y=t.scopeValue("root",{ref:c});return St(e,(0,le._)`${y}.validate`,c,c.$async)}function k(y){const w=mo(e,y);St(e,w,y,y.$async)}function $(y){const w=t.scopeValue("schema",a.code.source===!0?{ref:y,code:(0,le.stringify)(y)}:{ref:y}),g=t.name("valid"),f=e.subschema({schema:y,dataTypes:[],schemaPath:le.nil,topSchemaRef:w,errSchemaPath:r},g);e.mergeEvaluated(f),e.ok(g)}}};function mo(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,le._)`${r.scopeValue("wrapper",{ref:t})}.validate`}Oe.getValidate=mo;function St(e,t,r,i){const{gen:o,it:n}=e,{allErrors:l,schemaEnv:a,opts:d}=n,c=d.passContext?Me.default.this:le.nil;i?u():h();function u(){if(!a.$async)throw new Error("async schema referenced by sync schema");const y=o.let("valid");o.try(()=>{o.code((0,le._)`await ${(0,fi.callValidateCode)(e,t,c)}`),$(t),l||o.assign(y,!0)},w=>{o.if((0,le._)`!(${w} instanceof ${n.ValidationError})`,()=>o.throw(w)),k(w),l||o.assign(y,!1)}),e.ok(y)}function h(){e.result((0,fi.callValidateCode)(e,t,c),()=>$(t),()=>k(t))}function k(y){const w=(0,le._)`${y}.errors`;o.assign(Me.default.vErrors,(0,le._)`${Me.default.vErrors} === null ? ${w} : ${Me.default.vErrors}.concat(${w})`),o.assign(Me.default.errors,(0,le._)`${Me.default.vErrors}.length`)}function $(y){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=ht.mergeEvaluated.props(o,g.props,n.props));else{const f=o.var("props",(0,le._)`${y}.evaluated.props`);n.props=ht.mergeEvaluated.props(o,f,n.props,le.Name)}if(n.items!==!0)if(g&&!g.dynamicItems)g.items!==void 0&&(n.items=ht.mergeEvaluated.items(o,g.items,n.items));else{const f=o.var("items",(0,le._)`${y}.evaluated.items`);n.items=ht.mergeEvaluated.items(o,f,n.items,le.Name)}}}Oe.callRef=St;Oe.default=ll;Object.defineProperty(fr,"__esModule",{value:!0});const dl=hr,cl=Oe,pl=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",dl.default,cl.default];fr.default=pl;var mr={},gr={};Object.defineProperty(gr,"__esModule",{value:!0});const Pt=A,Pe=Pt.operators,_t={maximum:{okStr:"<=",ok:Pe.LTE,fail:Pe.GT},minimum:{okStr:">=",ok:Pe.GTE,fail:Pe.LT},exclusiveMaximum:{okStr:"<",ok:Pe.LT,fail:Pe.GTE},exclusiveMinimum:{okStr:">",ok:Pe.GT,fail:Pe.LTE}},ul={message:({keyword:e,schemaCode:t})=>(0,Pt.str)`must be ${_t[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,Pt._)`{comparison: ${_t[e].okStr}, limit: ${t}}`},fl={keyword:Object.keys(_t),type:"number",schemaType:"number",$data:!0,error:ul,code(e){const{keyword:t,data:r,schemaCode:i}=e;e.fail$data((0,Pt._)`${r} ${_t[t].fail} ${i} || isNaN(${r})`)}};gr.default=fl;var yr={};Object.defineProperty(yr,"__esModule",{value:!0});const nt=A,hl={message:({schemaCode:e})=>(0,nt.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,nt._)`{multipleOf: ${e}}`},ml={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:hl,code(e){const{gen:t,data:r,schemaCode:i,it:o}=e,n=o.opts.multipleOfPrecision,l=t.let("res"),a=n?(0,nt._)`Math.abs(Math.round(${l}) - ${l}) > 1e-${n}`:(0,nt._)`${l} !== parseInt(${l})`;e.fail$data((0,nt._)`(${i} === 0 || (${l} = ${r}/${i}, ${a}))`)}};yr.default=ml;var br={},$r={};Object.defineProperty($r,"__esModule",{value:!0});function go(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}$r.default=go;go.code='require("ajv/dist/runtime/ucs2length").default';Object.defineProperty(br,"__esModule",{value:!0});const je=A,gl=j,yl=$r,bl={message({keyword:e,schemaCode:t}){const r=e==="maxLength"?"more":"fewer";return(0,je.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,je._)`{limit: ${e}}`},$l={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:bl,code(e){const{keyword:t,data:r,schemaCode:i,it:o}=e,n=t==="maxLength"?je.operators.GT:je.operators.LT,l=o.opts.unicode===!1?(0,je._)`${r}.length`:(0,je._)`${(0,gl.useFunc)(e.gen,yl.default)}(${r})`;e.fail$data((0,je._)`${l} ${n} ${i}`)}};br.default=$l;var vr={};Object.defineProperty(vr,"__esModule",{value:!0});const vl=B,Sl=j,Le=A,wl={message:({schemaCode:e})=>(0,Le.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Le._)`{pattern: ${e}}`},kl={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:wl,code(e){const{gen:t,data:r,$data:i,schema:o,schemaCode:n,it:l}=e,a=l.opts.unicodeRegExp?"u":"";if(i){const{regExp:d}=l.opts.code,c=d.code==="new RegExp"?(0,Le._)`new RegExp`:(0,Sl.useFunc)(t,d),u=t.let("valid");t.try(()=>t.assign(u,(0,Le._)`${c}(${n}, ${a}).test(${r})`),()=>t.assign(u,!1)),e.fail$data((0,Le._)`!${u}`)}else{const d=(0,vl.usePattern)(e,o);e.fail$data((0,Le._)`!${d}.test(${r})`)}}};vr.default=kl;var Sr={};Object.defineProperty(Sr,"__esModule",{value:!0});const st=A,Ol={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,st.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,st._)`{limit: ${e}}`},Cl={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Ol,code(e){const{keyword:t,data:r,schemaCode:i}=e,o=t==="maxProperties"?st.operators.GT:st.operators.LT;e.fail$data((0,st._)`Object.keys(${r}).length ${o} ${i}`)}};Sr.default=Cl;var wr={};Object.defineProperty(wr,"__esModule",{value:!0});const rt=B,at=A,Pl=j,_l={message:({params:{missingProperty:e}})=>(0,at.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,at._)`{missingProperty: ${e}}`},Vl={keyword:"required",type:"object",schemaType:"array",$data:!0,error:_l,code(e){const{gen:t,schema:r,schemaCode:i,data:o,$data:n,it:l}=e,{opts:a}=l;if(!n&&r.length===0)return;const d=r.length>=a.loopRequired;if(l.allErrors?c():u(),a.strictRequired){const $=e.parentSchema.properties,{definedProperties:y}=e.it;for(const w of r)if(($==null?void 0:$[w])===void 0&&!y.has(w)){const g=l.schemaEnv.baseId+l.errSchemaPath,f=`required property "${w}" is not defined at "${g}" (strictRequired)`;(0,Pl.checkStrictMode)(l,f,l.opts.strictRequired)}}function c(){if(d||n)e.block$data(at.nil,h);else for(const $ of r)(0,rt.checkReportMissingProp)(e,$)}function u(){const $=t.let("missing");if(d||n){const y=t.let("valid",!0);e.block$data(y,()=>k($,y)),e.ok(y)}else t.if((0,rt.checkMissingProp)(e,r,$)),(0,rt.reportMissingProp)(e,$),t.else()}function h(){t.forOf("prop",i,$=>{e.setParams({missingProperty:$}),t.if((0,rt.noPropertyInData)(t,o,$,a.ownProperties),()=>e.error())})}function k($,y){e.setParams({missingProperty:$}),t.forOf($,i,()=>{t.assign(y,(0,rt.propertyInData)(t,o,$,a.ownProperties)),t.if((0,at.not)(y),()=>{e.error(),t.break()})},at.nil)}}};wr.default=Vl;var kr={};Object.defineProperty(kr,"__esModule",{value:!0});const lt=A,Fl={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,lt.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,lt._)`{limit: ${e}}`},Dl={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Fl,code(e){const{keyword:t,data:r,schemaCode:i}=e,o=t==="maxItems"?lt.operators.GT:lt.operators.LT;e.fail$data((0,lt._)`${r}.length ${o} ${i}`)}};kr.default=Dl;var Or={},ut={};Object.defineProperty(ut,"__esModule",{value:!0});const yo=Gi;yo.code='require("ajv/dist/runtime/equal").default';ut.default=yo;Object.defineProperty(Or,"__esModule",{value:!0});const Bt=Z,ee=A,Rl=j,jl=ut,Tl={message:({params:{i:e,j:t}})=>(0,ee.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,ee._)`{i: ${e}, j: ${t}}`},Il={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:Tl,code(e){const{gen:t,data:r,$data:i,schema:o,parentSchema:n,schemaCode:l,it:a}=e;if(!i&&!o)return;const d=t.let("valid"),c=n.items?(0,Bt.getSchemaTypes)(n.items):[];e.block$data(d,u,(0,ee._)`${l} === false`),e.ok(d);function u(){const y=t.let("i",(0,ee._)`${r}.length`),w=t.let("j");e.setParams({i:y,j:w}),t.assign(d,!0),t.if((0,ee._)`${y} > 1`,()=>(h()?k:$)(y,w))}function h(){return c.length>0&&!c.some(y=>y==="object"||y==="array")}function k(y,w){const g=t.name("item"),f=(0,Bt.checkDataTypes)(c,g,a.opts.strictNumbers,Bt.DataType.Wrong),O=t.const("indices",(0,ee._)`{}`);t.for((0,ee._)`;${y}--;`,()=>{t.let(g,(0,ee._)`${r}[${y}]`),t.if(f,(0,ee._)`continue`),c.length>1&&t.if((0,ee._)`typeof ${g} == "string"`,(0,ee._)`${g} += "_"`),t.if((0,ee._)`typeof ${O}[${g}] == "number"`,()=>{t.assign(w,(0,ee._)`${O}[${g}]`),e.error(),t.assign(d,!1).break()}).code((0,ee._)`${O}[${g}] = ${y}`)})}function $(y,w){const g=(0,Rl.useFunc)(t,jl.default),f=t.name("outer");t.label(f).for((0,ee._)`;${y}--;`,()=>t.for((0,ee._)`${w} = ${y}; ${w}--;`,()=>t.if((0,ee._)`${g}(${r}[${y}], ${r}[${w}])`,()=>{e.error(),t.assign(d,!1).break(f)})))}}};Or.default=Il;var Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});const Jt=A,El=j,Nl=ut,xl={message:"must be equal to constant",params:({schemaCode:e})=>(0,Jt._)`{allowedValue: ${e}}`},Al={keyword:"const",$data:!0,error:xl,code(e){const{gen:t,data:r,$data:i,schemaCode:o,schema:n}=e;i||n&&typeof n=="object"?e.fail$data((0,Jt._)`!${(0,El.useFunc)(t,Nl.default)}(${r}, ${o})`):e.fail((0,Jt._)`${n} !== ${r}`)}};Cr.default=Al;var Pr={};Object.defineProperty(Pr,"__esModule",{value:!0});const ot=A,zl=j,Ml=ut,Bl={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,ot._)`{allowedValues: ${e}}`},Ll={keyword:"enum",schemaType:"array",$data:!0,error:Bl,code(e){const{gen:t,data:r,$data:i,schema:o,schemaCode:n,it:l}=e;if(!i&&o.length===0)throw new Error("enum must have non-empty array");const a=o.length>=l.opts.loopEnum;let d;const c=()=>d??(d=(0,zl.useFunc)(t,Ml.default));let u;if(a||i)u=t.let("valid"),e.block$data(u,h);else{if(!Array.isArray(o))throw new Error("ajv implementation error");const $=t.const("vSchema",n);u=(0,ot.or)(...o.map((y,w)=>k($,w)))}e.pass(u);function h(){t.assign(u,!1),t.forOf("v",n,$=>t.if((0,ot._)`${c()}(${r}, ${$})`,()=>t.assign(u,!0).break()))}function k($,y){const w=o[y];return typeof w=="object"&&w!==null?(0,ot._)`${c()}(${r}, ${$}[${y}])`:(0,ot._)`${r} === ${w}`}}};Pr.default=Ll;Object.defineProperty(mr,"__esModule",{value:!0});const ql=gr,Hl=yr,Wl=br,Ul=vr,Gl=Sr,Kl=wr,Jl=kr,Yl=Or,Zl=Cr,Xl=Pr,Ql=[ql.default,Hl.default,Wl.default,Ul.default,Gl.default,Kl.default,Jl.default,Yl.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Zl.default,Xl.default];mr.default=Ql;var _r={},Je={};Object.defineProperty(Je,"__esModule",{value:!0});Je.validateAdditionalItems=void 0;const Te=A,Yt=j,ed={message:({params:{len:e}})=>(0,Te.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Te._)`{limit: ${e}}`},td={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:ed,code(e){const{parentSchema:t,it:r}=e,{items:i}=t;if(!Array.isArray(i)){(0,Yt.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:l}=e;l.items=!0;const a=r.const("len",(0,Te._)`${o}.length`);if(i===!1)e.setParams({len:t.length}),e.pass((0,Te._)`${a} <= ${t.length}`);else if(typeof i=="object"&&!(0,Yt.alwaysValidSchema)(l,i)){const c=r.var("valid",(0,Te._)`${a} <= ${t.length}`);r.if((0,Te.not)(c),()=>d(c)),e.ok(c)}function d(c){r.forRange("i",t.length,a,u=>{e.subschema({keyword:n,dataProp:u,dataPropType:Yt.Type.Num},c),l.allErrors||r.if((0,Te.not)(c),()=>r.break())})}}Je.validateAdditionalItems=bo;Je.default=td;var Vr={},Ye={};Object.defineProperty(Ye,"__esModule",{value:!0});Ye.validateTuple=void 0;const mi=A,wt=j,rd=B,id={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return $o(e,"additionalItems",t);r.items=!0,!(0,wt.alwaysValidSchema)(r,t)&&e.ok((0,rd.validateArray)(e))}};function $o(e,t,r=e.schema){const{gen:i,parentSchema:o,data:n,keyword:l,it:a}=e;u(o),a.opts.unevaluated&&r.length&&a.items!==!0&&(a.items=wt.mergeEvaluated.items(i,r.length,a.items));const d=i.name("valid"),c=i.const("len",(0,mi._)`${n}.length`);r.forEach((h,k)=>{(0,wt.alwaysValidSchema)(a,h)||(i.if((0,mi._)`${c} > ${k}`,()=>e.subschema({keyword:l,schemaProp:k,dataProp:k},d)),e.ok(d))});function u(h){const{opts:k,errSchemaPath:$}=a,y=r.length,w=y===h.minItems&&(y===h.maxItems||h[t]===!1);if(k.strictTuples&&!w){const g=`"${l}" is ${y}-tuple, but minItems or maxItems/${t} are not specified or different at path "${$}"`;(0,wt.checkStrictMode)(a,g,k.strictTuples)}}}Ye.validateTuple=$o;Ye.default=id;Object.defineProperty(Vr,"__esModule",{value:!0});const od=Ye,nd={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,od.validateTuple)(e,"items")};Vr.default=nd;var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});const gi=A,sd=j,ad=B,ld=Je,dd={message:({params:{len:e}})=>(0,gi.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,gi._)`{limit: ${e}}`},cd={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:dd,code(e){const{schema:t,parentSchema:r,it:i}=e,{prefixItems:o}=r;i.items=!0,!(0,sd.alwaysValidSchema)(i,t)&&(o?(0,ld.validateAdditionalItems)(e,o):e.ok((0,ad.validateArray)(e)))}};Fr.default=cd;var Dr={};Object.defineProperty(Dr,"__esModule",{value:!0});const ue=A,mt=j,pd={message:({params:{min:e,max:t}})=>t===void 0?(0,ue.str)`must contain at least ${e} valid item(s)`:(0,ue.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,ue._)`{minContains: ${e}}`:(0,ue._)`{minContains: ${e}, maxContains: ${t}}`},ud={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:pd,code(e){const{gen:t,schema:r,parentSchema:i,data:o,it:n}=e;let l,a;const{minContains:d,maxContains:c}=i;n.opts.next?(l=d===void 0?1:d,a=c):l=1;const u=t.const("len",(0,ue._)`${o}.length`);if(e.setParams({min:l,max:a}),a===void 0&&l===0){(0,mt.checkStrictMode)(n,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(a!==void 0&&l>a){(0,mt.checkStrictMode)(n,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,mt.alwaysValidSchema)(n,r)){let w=(0,ue._)`${u} >= ${l}`;a!==void 0&&(w=(0,ue._)`${w} && ${u} <= ${a}`),e.pass(w);return}n.items=!0;const h=t.name("valid");a===void 0&&l===1?$(h,()=>t.if(h,()=>t.break())):l===0?(t.let(h,!0),a!==void 0&&t.if((0,ue._)`${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);$(w,()=>t.if(w,()=>y(g)))}function $(w,g){t.forRange("i",0,u,f=>{e.subschema({keyword:"contains",dataProp:f,dataPropType:mt.Type.Num,compositeRule:!0},w),g()})}function y(w){t.code((0,ue._)`${w}++`),a===void 0?t.if((0,ue._)`${w} >= ${l}`,()=>t.assign(h,!0).break()):(t.if((0,ue._)`${w} > ${a}`,()=>t.assign(h,!1).break()),l===1?t.assign(h,!0):t.if((0,ue._)`${w} >= ${l}`,()=>t.assign(h,!0)))}}};Dr.default=ud;var Tt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=A,r=j,i=B;e.error={message:({params:{property:d,depsCount:c,deps:u}})=>{const h=c===1?"property":"properties";return(0,t.str)`must have ${h} ${u} when property ${d} is present`},params:({params:{property:d,depsCount:c,deps:u,missingProperty:h}})=>(0,t._)`{property: ${d},
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../../core/component-utils.cjs"),Hi=require("../../core/action-utils.cjs"),Xo=require("../../core/spec.cjs"),Qo=e=>V.buildNode("ActionCard",e),en=e=>V.buildNode("Avatar",e),tn=e=>V.buildNode("AvatarStack",e),rn=e=>V.buildNode("Badge",e),on=e=>V.buildNode("Button",e),nn=e=>V.buildNode("Card",e),sn=e=>V.buildNode("Checkbox",e),an=e=>V.buildNode("CheckboxGroup",e),ln=e=>V.buildNode("Chip",e),dn=e=>V.buildNode("CondensedFooter",e),cn=e=>V.buildNode("CondensedHeader",e),pn=e=>V.buildNode("Country",e),un=e=>V.buildNode("Currency",e),fn=e=>V.buildNode("Date",e),hn=e=>V.buildNode("DateRange",e),mn=e=>V.buildNode("DateTimePicker",e),gn=e=>V.buildNode("Divider",e),yn=e=>V.buildNode("ExpansionPanel",e),bn=e=>V.buildNode("FileViewerButton",e),$n=e=>V.buildNode("FileViewerPressable",e),vn=e=>V.buildNode("FilterHeader",e),Sn=e=>V.buildNode("FloatingButton",e),wn=e=>V.buildNode("Footer",e),kn=e=>V.buildNode("Form",e),On=e=>V.buildNode("Group",e),Cn=e=>V.buildNode("Header",e),Pn=e=>V.buildNode("Hidden",e),_n=e=>V.buildNode("HStack",e),Vn=e=>V.buildNode("Icon",e),Fn=e=>V.buildNode("Image",e),Dn=e=>V.buildNode("InputText",e),jn=e=>V.buildNode("Label",e),Rn=e=>V.buildNode("List",e),Tn=e=>V.buildNode("ListItem",e),In=e=>V.buildNode("ModalActionHeader",e),En=e=>V.buildNode("ModalSheet",e),Nn=e=>V.buildNode("Notice",e),xn=e=>V.buildNode("Number",e),An=e=>V.buildNode("ObjectFooter",e),zn=e=>V.buildNode("ObjectItem",e),Mn=e=>V.buildNode("ObjectListView",e),Bn=e=>V.buildNode("Password",e),Ln=e=>V.buildNode("Percentage",e),qn=e=>V.buildNode("Phone",e),Hn=e=>V.buildNode("Pressable",e),Wn=e=>V.buildNode("ProgressIndicator",e),Un=e=>V.buildNode("Radio",e),Gn=e=>V.buildNode("RadioGroup",e),Kn=e=>V.buildNode("Search",e),Jn=e=>V.buildNode("SectionHeader",e),Yn=e=>V.buildNode("Select",e),Zn=e=>V.buildNode("SelectChips",e),Xn=e=>V.buildNode("Signature",e),Qn=e=>V.buildNode("Sin",e),es=e=>V.buildNode("Slider",e),ts=e=>V.buildNode("SliderRange",e),rs=e=>V.buildNode("SnackBar",e),is=e=>V.buildNode("Spacer",e),os=e=>V.buildNode("Spinner",e),ns=e=>V.buildNode("Ssn",e),ss=e=>V.buildNode("Status",e),as=e=>V.buildNode("StatusBar",e),ls=e=>V.buildNode("Switch",e),ds=e=>V.buildNode("Tabs",e),cs=e=>V.buildNode("Text",e),ps=e=>V.buildNode("Textarea",e),us=e=>V.buildNode("Time",e),fs=e=>V.buildNode("TimeRange",e),hs=e=>V.buildNode("Tip",e),ms=e=>V.buildNode("VStack",e),gs=e=>V.buildNode("Widget",e),ys=e=>V.buildNode("WorkEmail",e),bs=(e,t)=>Hi.buildAction("goBack",e,t),$s=(e,t)=>Hi.buildAction("navigate",e,t),vs=e=>({$computed:"currency_format",args:e}),Ss=e=>({$computed:"currency_getCurrencyCodeByCountryCode",args:e}),ws=e=>({$computed:"currency_getCurrencyNameByCode",args:e}),ks=e=>({$computed:"currency_getCurrencySymbol",args:e}),Os=e=>({$computed:"currency_isConvertableToCurrency",args:e}),Cs=e=>({$computed:"currency_toMoney",args:e}),Ps=e=>({$computed:"dateTime_add",args:e}),_s=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 _={};Object.defineProperty(_,"__esModule",{value:!0});_.checkStrictMode=_.getErrorPath=_.Type=_.useFunc=_.setEvaluated=_.evaluatedPropsToName=_.mergeEvaluated=_.eachItem=_.unescapeJsonPointer=_.escapeJsonPointer=_.escapeFragment=_.unescapeFragment=_.schemaRefOrVal=_.schemaHasRulesButRef=_.schemaHasRules=_.checkUnknownRules=_.alwaysValidSchema=_.toHash=void 0;const M=E,Vs=it;function Fs(e){const t={};for(const r of e)t[r]=!0;return t}_.toHash=Fs;function Ds(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(Ui(e,t),!Gi(t,e.self.RULES.all))}_.alwaysValidSchema=Ds;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}"`)}_.checkUnknownRules=Ui;function Gi(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return!0;return!1}_.schemaHasRules=Gi;function js(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return!0;return!1}_.schemaHasRulesButRef=js;function Rs({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)}`}_.schemaRefOrVal=Rs;function Ts(e){return Ki(decodeURIComponent(e))}_.unescapeFragment=Ts;function Is(e){return encodeURIComponent(dr(e))}_.escapeFragment=Is;function dr(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}_.escapeJsonPointer=dr;function Ki(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}_.unescapeJsonPointer=Ki;function Es(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)}_.eachItem=Es;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}}_.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:Ji}),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 Ji(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}_.evaluatedPropsToName=Ji;function cr(e,t,r){Object.keys(r).forEach(i=>e.assign((0,M._)`${t}${(0,M.getProperty)(i)}`,!0))}_.setEvaluated=cr;const hi={};function Ns(e,t){return e.scopeValue("func",{ref:t,code:hi[t.code]||(hi[t.code]=new Vs._Code(t.code))})}_.useFunc=Ns;var rr;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(rr||(_.Type=rr={}));function xs(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():"/"+dr(e)}_.getErrorPath=xs;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)}}_.checkStrictMode=Yi;var Q={};Object.defineProperty(Q,"__esModule",{value:!0});const J=E,As={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=As;(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=_,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 zs=ot,Ms=E,Bs=Q,Ls={message:"boolean schema is false"};function qs(e){const{gen:t,schema:r,validateName:i}=e;r===!1?Zi(e,!1):typeof r=="object"&&r.$async===!0?t.return(Bs.default.data):(t.assign((0,Ms._)`${i}.errors`,null),t.return(!0))}Ne.topBoolOrEmptySchema=qs;function Hs(e,t){const{gen:r,schema:i}=e;i===!1?(r.var(t,!1),Zi(e)):r.var(t,!0)}Ne.boolOrEmptySchema=Hs;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,zs.reportError)(o,Ls,void 0,t)}var W={},Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.getRules=Ce.isJSONType=void 0;const Ws=["string","number","integer","boolean","null","object","array"],Us=new Set(Ws);function Gs(e){return typeof e=="string"&&Us.has(e)}Ce.isJSONType=Gs;function Ks(){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=Ks;var de={};Object.defineProperty(de,"__esModule",{value:!0});de.shouldUseRule=de.shouldUseGroup=de.schemaHasRulesForType=void 0;function Js({schema:e,self:t},r){const i=t.RULES.types[r];return i&&i!==!0&&Xi(e,i)}de.schemaHasRulesForType=Js;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 Ys=Ce,Zs=de,Xs=ot,N=E,eo=_;var Te;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(Te||(W.DataType=Te={}));function Qs(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=Qs;function to(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(Ys.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}W.getJSONTypes=to;function ea(e,t){const{gen:r,data:i,opts:o}=e,n=ta(t,o.coerceTypes),a=t.length>0&&!(n.length===0&&t.length===1&&(0,Zs.schemaHasRulesForType)(e,t[0]));if(a){const l=pr(t,i,o.strictNumbers,Te.Wrong);r.if(l,()=>{n.length?ra(e,t,n):ur(e)})}return a}W.coerceAndCheckDataType=ea;const ro=new Set(["string","number","integer","boolean","null"]);function ta(e,t){return t?e.filter(r=>ro.has(r)||t==="array"&&r==="array"):[]}function ra(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)(ro.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),ia(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
|
+
|| (${a} == "string" && ${o} && ${o} == +${o})`).assign(l,(0,N._)`+${o}`);return;case"integer":i.elseIf((0,N._)`${a} === "boolean" || ${o} === null
|
|
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 ia({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 pr(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=pr;const oa={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=na(e);(0,Xs.reportError)(t,oa)}W.reportTypeError=ur;function na(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,sa=_;function aa(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))}Ct.assignDefaults=aa;function mi(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,sa.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,fr=_,he=Q,la=_;function da(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=da;function ca({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=ca;function pa(e,t){e.setParams({missingProperty:t},!0),e.error()}x.reportMissingProp=pa;function io(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,L._)`Object.prototype.hasOwnProperty`})}x.hasPropFunc=io;function hr(e,t,r){return(0,L._)`${io(e)}.call(${t}, ${r})`}x.isOwnProperty=hr;function ua(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=ua;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 oo(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}x.allSchemaProperties=oo;function fa(e,t){return oo(t).filter(r=>!(0,fr.alwaysValidSchema)(e,t[r]))}x.schemaProperties=fa;function ha({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=ha;const ma=(0,L._)`new RegExp`;function ga({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"?ma:(0,la.useFunc)(e,o)}(${r}, ${i})`})}x.usePattern=ga;function ya(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=ya;function ba(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=ba;Object.defineProperty(se,"__esModule",{value:!0});se.validateKeywordUsage=se.validSchemaType=se.funcKeywordCode=se.macroKeywordCode=void 0;const Y=E,Se=Q,$a=x,va=ot;function Sa(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=Sa;function wa(e,t){var r;const{gen:i,keyword:o,schema:n,parentSchema:a,$data:l,it:d}=e;Oa(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&&gi(e),g(()=>e.error());else{const u=t.async?S():$();t.modifying&&gi(e),g(()=>ka(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,$a.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=wa;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 ka(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,va.extendErrors)(e)},()=>e.error())}function Oa({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 Ca(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=Ca;function Pa({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=Pa;var be={};Object.defineProperty(be,"__esModule",{value:!0});be.extendSubschemaMode=be.extendSubschemaData=be.getSubschema=void 0;const ne=E,so=_;function _a(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=_a;function Va(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=Va;function Fa(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=Fa;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+"/"+Da(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 Da(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var ja=lo.exports;Object.defineProperty(K,"__esModule",{value:!0});K.getSchemaRefs=K.resolveUrl=K.normalizeId=K._getFullPath=K.getFullPath=K.inlineRef=void 0;const Ra=_,Ta=ao,Ia=ja,Ea=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Na(e,t=!0){return typeof e=="boolean"?!0:t===!0?!or(e):t?co(e)<=t:!1}K.inlineRef=Na;const xa=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function or(e){for(const t in e){if(xa.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++,!Ea.has(r)&&(typeof e[r]=="object"&&(0,Ra.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 Aa=/#\/?$/;function Ie(e){return e?e.replace(Aa,""):""}K.normalizeId=Ie;function za(e,t,r){return r=Ie(r),e.resolve(t,r)}K.resolveUrl=za;const Ma=/^[a-z_][-a-z0-9._]*$/i;function Ba(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 Ia(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(!Ma.test(C))throw new Error(`invalid anchor "${C}"`);u.call(this,`#${C}`)}}}),l;function c(h,k,S){if(k!==void 0&&!Ta(h,k))throw f(S)}function f(h){return new Error(`reference "${h}" resolves to more than one schema`)}}K.getSchemaRefs=Ba;Object.defineProperty(oe,"__esModule",{value:!0});oe.getData=oe.KeywordCxt=oe.validateFunctionCode=void 0;const fo=Ne,yi=W,gr=de,vt=W,La=Ct,Ze=se,Kt=be,j=E,I=Q,qa=K,ce=_,Ge=ot;function Ha(e){if(go(e)&&(yo(e),mo(e))){Ga(e);return}ho(e,()=>(0,fo.topBoolOrEmptySchema)(e))}oe.validateFunctionCode=Ha;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"; ${bi(r,o)}`),Ua(e,o),e.code(n)}):e.func(t,(0,j._)`${I.default.data}, ${Wa(o)}`,i.$async,()=>e.code(bi(r,o)).code(n))}function Wa(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 Ua(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 Ga(e){const{schema:t,opts:r,gen:i}=e;ho(e,()=>{r.$comment&&t.$comment&&$o(e),Xa(e),i.let(I.default.vErrors,null),i.let(I.default.errors,0),r.unevaluated&&Ka(e),bo(e),tl(e)})}function Ka(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 Ja(e,t){if(go(e)&&(yo(e),mo(e))){Ya(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 Ya(e,t){const{schema:r,gen:i,opts:o}=e;o.$comment&&r.$comment&&$o(e),Qa(e),el(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),Za(e)}function bo(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 Za(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 Xa(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 Qa(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,qa.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function el(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 tl(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&&rl(e),t.return((0,j._)`${I.default.errors} === 0`))}function rl({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(()=>wo(e,"$ref",f.all.$ref.definition));return}d.jtd||il(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,La.assignDefaults)(e,t.type),r.block(()=>{for(const n of t.rules)(0,gr.shouldUseRule)(i,n)&&wo(e,n.keyword,n.definition,t.type)})}function il(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(ol(e,t),e.opts.allowUnionTypes||nl(e,t),sl(e,e.dataTypes))}function ol(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{vo(e.dataTypes,r)||yr(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),ll(e,t)}}function nl(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&yr(e,"use allowUnionTypes to allow union type keyword")}function sl(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=>al(t,a))&&yr(e,`missing type "${n.join(",")}" for keyword "${i}"`)}}}function al(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 ll(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 yr(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 Ja(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 dl=/^\/(?:[^~]|~0|~1)*$/,cl=/^([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(!dl.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,n=I.default.rootData}else{const c=cl.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 pl extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}nt.default=pl;var ze={};Object.defineProperty(ze,"__esModule",{value:!0});const Jt=K;class ul 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=ul;var Z={};Object.defineProperty(Z,"__esModule",{value:!0});Z.resolveSchema=Z.getCompilingSchema=Z.resolveRef=Z.compileSchema=Z.SchemaEnv=void 0;const te=E,fl=nt,ve=Q,ie=K,Si=_,hl=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 br(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:fl.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,hl.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 ml(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=bl.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]=gl.call(this,n)}Z.resolveRef=ml;function gl(e){return(0,ie.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:br.call(this,e)}function Oo(e){for(const t of this._compilations)if(yl(t,e))return t}Z.getCompilingSchema=Oo;function yl(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function bl(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||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 Pt({schema:l,schemaId:d,root:e,baseId:o})}return Yt.call(this,r,a)}}Z.resolveSchema=_t;const $l=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,Si.unescapeFragment)(l)];if(d===void 0)return;r=d;const c=typeof r=="object"&&r[this.opts.schemaId];!$l.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=_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 vl="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Sl="Meta-schema for $data reference (JSON AnySchema extension proposal)",wl="object",kl=["$data"],Ol={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Cl=!1,Pl={$id:vl,description:Sl,type:wl,required:kl,properties:Ol,additionalProperties:Cl};var $r={},Vt={exports:{}};const _l=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),vr=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),Po=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),Vl=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 Fl=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function wi(e){return e.length=0,!0}function Dl(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 jl(e){let t=0;const r={error:!1,address:"",zone:""},i=[],o=[];let n=!1,a=!1,l=Dl;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(_o(o))),r.address=i.join(""),r}function Vo(e){if(Rl(e,":")<2)return{host:e,isIPV6:!1};const t=jl(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 Rl(e,t){let r=0;for(let i=0;i<e.length;i++)e[i]===t&&r++;return r}function Tl(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 Il={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},El=/[@/?#:]/g,Nl=/[@/?#]/g;function Fo(e,t){const r=t?Nl:El;return r.lastIndex=0,e.replace(r,i=>Il[i])}function xl(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&&Po(a)?r+=a:r+="%"+n,i+=2;continue}}r+=e[i]}return r}function Al(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!=="."&&Po(n)?t+=n:t+="%"+o,r+=2;continue}}Vl(e[r])?t+=e[r]:t+=escape(e[r])}return t}function zl(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 Ml(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:Fl,recomposeAuthority:Ml,reescapeHostDelimiters:Fo,normalizePercentEncoding:xl,normalizePathEncoding:Al,escapePreservingEscapes:zl,removeDotSegments:Tl,isIPv4:Co,isUUID:_l,normalizeIPv6:Vo};const{isUUID:Bl}=Do,Ll=/([\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 ql(e){return e.secure=jo(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function Hl(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 Wl(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(Ll);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 Ul(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 Gl(e,t){const r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!Bl(r.uuid))&&(r.error=r.error||"UUID is not valid."),r}function Kl(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t}const Io={scheme:"http",domainHost:!0,parse:Ro,serialize:To},Jl={scheme:"https",domainHost:Io.domainHost,parse:Ro,serialize:To},mt={scheme:"ws",domainHost:!0,parse:ql,serialize:Hl},Yl={scheme:"wss",domainHost:mt.domainHost,parse:mt.parse,serialize:mt.serialize},Zl={scheme:"urn",parse:Wl,serialize:Ul,skipNormalize:!0},Xl={scheme:"urn:uuid",parse:Gl,serialize:Kl,skipNormalize:!0},St={http:Io,https:Jl,ws:mt,wss:Yl,urn:Zl,"urn:uuid":Xl};Object.setPrototypeOf(St,null);function Sr(e){return e&&(St[e]||St[e.toLowerCase()])||void 0}var Ql={SCHEMES:St,getSchemeHandler:Sr};const{normalizeIPv6:ed,removeDotSegments:Je,recomposeAuthority:td,normalizePercentEncoding:rd,normalizePathEncoding:id,escapePreservingEscapes:od,reescapeHostDelimiters:nd,isIPv4:sd,nonSimpleDomain:ad}=Do,{SCHEMES:ld,getSchemeHandler:Eo}=Ql;function dd(e,t){return typeof e=="string"?e=hd(e,t):typeof e=="object"&&(e=xe(Pe(e,t),t)),e}function cd(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 pd(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=Eo(i.scheme||r.scheme);n&&n.serialize&&n.serialize(r,i),r.path!==void 0&&(i.skipEscape?r.path=rd(r.path):(r.path=od(r.path),r.scheme!==void 0&&(r.path=r.path.split("%3A").join(":")))),i.reference!=="suffix"&&r.scheme&&o.push(r.scheme,":");const a=td(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 ud=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function fd(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(ud);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=fd(i,a);if(l!==void 0&&(i.error=i.error||l,o=!0),i.host)if(sd(i.host)===!1){const f=ed(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&&ad(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=nd(unescape(i.host),n))),i.path&&(i.path=id(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 hd(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 ki(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 wr={SCHEMES:ld,normalize:dd,resolve:cd,resolveComponent:No,equal:pd,serialize:Pe,parse:xe};Vt.exports=wr;Vt.exports.default=wr;Vt.exports.fastUri=wr;var md=Vt.exports;Object.defineProperty($r,"__esModule",{value:!0});const zo=md;zo.code='require("ajv/dist/runtime/uri").default';$r.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=_,h=Pl,k=$r,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,pi=Gt===!0||Gt===void 0?1:Gt||0,ui=(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:pi,regExp:ui}:{optimize:pi,regExp:ui},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 kr={},Or={},Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});const gd={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Cr.default=gd;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});pe.callRef=pe.getValidate=void 0;const yd=ze,Oi=x,X=E,De=Q,Ci=Z,dt=_,bd={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 yd.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=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,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(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=bd;Object.defineProperty(Or,"__esModule",{value:!0});const $d=Cr,vd=pe,Sd=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",$d.default,vd.default];Or.default=Sd;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}},wd={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}}`},kd={keyword:Object.keys(kt),type:"number",schemaType:"number",$data:!0,error:wd,code(e){const{keyword:t,data:r,schemaCode:i}=e;e.fail$data((0,wt._)`${r} ${kt[t].fail} ${i} || isNaN(${r})`)}};_r.default=kd;var Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});const Xe=E,Od={message:({schemaCode:e})=>(0,Xe.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,Xe._)`{multipleOf: ${e}}`},Cd={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:Od,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=Cd;var Fr={},Dr={};Object.defineProperty(Dr,"__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}Dr.default=Bo;Bo.code='require("ajv/dist/runtime/ucs2length").default';Object.defineProperty(Fr,"__esModule",{value:!0});const we=E,Pd=_,_d=Dr,Vd={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}}`},Fd={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:Vd,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,Pd.useFunc)(e.gen,_d.default)}(${r})`;e.fail$data((0,we._)`${a} ${n} ${i}`)}};Fr.default=Fd;var jr={};Object.defineProperty(jr,"__esModule",{value:!0});const Dd=x,jd=_,Re=E,Rd={message:({schemaCode:e})=>(0,Re.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Re._)`{pattern: ${e}}`},Td={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:Rd,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,jd.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,Dd.usePattern)(e,o);e.fail$data((0,Re._)`!${d}.test(${r})`)}}};jr.default=Td;var Rr={};Object.defineProperty(Rr,"__esModule",{value:!0});const Qe=E,Id={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}}`},Ed={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Id,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=Ed;var Tr={};Object.defineProperty(Tr,"__esModule",{value:!0});const Ke=x,et=E,Nd=_,xd={message:({params:{missingProperty:e}})=>(0,et.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,et._)`{missingProperty: ${e}}`},Ad={keyword:"required",type:"object",schemaType:"array",$data:!0,error:xd,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,Nd.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=Ad;var Ir={};Object.defineProperty(Ir,"__esModule",{value:!0});const tt=E,zd={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}}`},Md={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:zd,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=Md;var Er={},st={};Object.defineProperty(st,"__esModule",{value:!0});const Lo=ao;Lo.code='require("ajv/dist/runtime/equal").default';st.default=Lo;Object.defineProperty(Er,"__esModule",{value:!0});const Zt=W,G=E,Bd=_,Ld=st,qd={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}}`},Hd={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:qd,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,Bd.useFunc)(t,Ld.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=Hd;var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0});const nr=E,Wd=_,Ud=st,Gd={message:"must be equal to constant",params:({schemaCode:e})=>(0,nr._)`{allowedValue: ${e}}`},Kd={keyword:"const",$data:!0,error:Gd,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,Wd.useFunc)(t,Ud.default)}(${r}, ${o})`):e.fail((0,nr._)`${n} !== ${r}`)}};Nr.default=Kd;var xr={};Object.defineProperty(xr,"__esModule",{value:!0});const Ye=E,Jd=_,Yd=st,Zd={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Ye._)`{allowedValues: ${e}}`},Xd={keyword:"enum",schemaType:"array",$data:!0,error:Zd,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,Jd.useFunc)(t,Yd.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=Xd;Object.defineProperty(Pr,"__esModule",{value:!0});const Qd=_r,ec=Vr,tc=Fr,rc=jr,ic=Rr,oc=Tr,nc=Ir,sc=Er,ac=Nr,lc=xr,dc=[Qd.default,ec.default,tc.default,rc.default,ic.default,oc.default,nc.default,sc.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},ac.default,lc.default];Pr.default=dc;var Ar={},Me={};Object.defineProperty(Me,"__esModule",{value:!0});Me.validateAdditionalItems=void 0;const ke=E,sr=_,cc={message:({params:{len:e}})=>(0,ke.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,ke._)`{limit: ${e}}`},pc={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:cc,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=pc;var zr={},Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.validateTuple=void 0;const Pi=E,yt=_,uc=x,fc={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,uc.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,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=Ho;Be.default=fc;Object.defineProperty(zr,"__esModule",{value:!0});const hc=Be,mc={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,hc.validateTuple)(e,"items")};zr.default=mc;var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});const _i=E,gc=_,yc=x,bc=Me,$c={message:({params:{len:e}})=>(0,_i.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,_i._)`{limit: ${e}}`},vc={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:$c,code(e){const{schema:t,parentSchema:r,it:i}=e,{prefixItems:o}=r;i.items=!0,!(0,gc.alwaysValidSchema)(i,t)&&(o?(0,bc.validateAdditionalItems)(e,o):e.ok((0,yc.validateArray)(e)))}};Mr.default=vc;var Br={};Object.defineProperty(Br,"__esModule",{value:!0});const ee=E,ct=_,Sc={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}}`},wc={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Sc,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=wc;var Ft={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=E,r=_,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: ${u}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[c,u]=n(d);l(d,c),a(d,u)}};function n({schema:d}){const c={},u={};for(const h in d){if(h==="__proto__")continue;const k=Array.isArray(d[h])?c:u;k[h]=d[h]}return[c,u]}function l(d,c=d.schema){const{gen:u,data:h,it:k}=d;if(Object.keys(c).length===0)return;const $=u.let("missing");for(const y in c){const w=c[y];if(w.length===0)continue;const g=(0,i.propertyInData)(u,h,y,k.opts.ownProperties);d.setParams({property:y,depsCount:w.length,deps:w.join(", ")}),k.allErrors?u.if(g,()=>{for(const f of w)(0,i.checkReportMissingProp)(d,f)}):(u.if((0,t._)`${g} && (${(0,i.checkMissingProp)(d,w,$)})`),(0,i.reportMissingProp)(d,$),u.else())}}e.validatePropertyDeps=l;function a(d,c=d.schema){const{gen:u,data:h,keyword:k,it:$}=d,y=u.name("valid");for(const w in c)(0,r.alwaysValidSchema)($,c[w])||(u.if((0,i.propertyInData)(u,h,w,$.opts.ownProperties),()=>{const g=d.subschema({keyword:k,schemaProp:w},y);d.mergeValidEvaluated(g,y)},()=>u.var(y,!0)),d.ok(y))}e.validateSchemaDeps=a,e.default=o})(Tt);var Rr={};Object.defineProperty(Rr,"__esModule",{value:!0});const vo=A,fd=j,hd={message:"property name must be valid",params:({params:e})=>(0,vo._)`{propertyName: ${e.propertyName}}`},md={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:hd,code(e){const{gen:t,schema:r,data:i,it:o}=e;if((0,fd.alwaysValidSchema)(o,r))return;const n=t.name("valid");t.forIn("key",i,l=>{e.setParams({propertyName:l}),e.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},n),t.if((0,vo.not)(n),()=>{e.error(!0),o.allErrors||t.break()})}),e.ok(n)}};Rr.default=md;var It={};Object.defineProperty(It,"__esModule",{value:!0});const gt=B,be=A,gd=de,yt=j,yd={message:"must NOT have additional properties",params:({params:e})=>(0,be._)`{additionalProperty: ${e.additionalProperty}}`},bd={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:yd,code(e){const{gen:t,schema:r,parentSchema:i,data:o,errsCount:n,it:l}=e;if(!n)throw new Error("ajv implementation error");const{allErrors:a,opts:d}=l;if(l.props=!0,d.removeAdditional!=="all"&&(0,yt.alwaysValidSchema)(l,r))return;const c=(0,gt.allSchemaProperties)(i.properties),u=(0,gt.allSchemaProperties)(i.patternProperties);h(),e.ok((0,be._)`${n} === ${gd.default.errors}`);function h(){t.forIn("key",o,g=>{!c.length&&!u.length?y(g):t.if(k(g),()=>y(g))})}function k(g){let f;if(c.length>8){const O=(0,yt.schemaRefOrVal)(l,i.properties,"properties");f=(0,gt.isOwnProperty)(t,O,g)}else c.length?f=(0,be.or)(...c.map(O=>(0,be._)`${g} === ${O}`)):f=be.nil;return u.length&&(f=(0,be.or)(f,...u.map(O=>(0,be._)`${(0,gt.usePattern)(e,O)}.test(${g})`))),(0,be.not)(f)}function $(g){t.code((0,be._)`delete ${o}[${g}]`)}function y(g){if(d.removeAdditional==="all"||d.removeAdditional&&r===!1){$(g);return}if(r===!1){e.setParams({additionalProperty:g}),e.error(),a||t.break();return}if(typeof r=="object"&&!(0,yt.alwaysValidSchema)(l,r)){const f=t.name("valid");d.removeAdditional==="failing"?(w(g,f,!1),t.if((0,be.not)(f),()=>{e.reset(),$(g)})):(w(g,f),a||t.if((0,be.not)(f),()=>t.break()))}}function w(g,f,O){const V={keyword:"additionalProperties",dataProp:g,dataPropType:yt.Type.Str};O===!1&&Object.assign(V,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(V,f)}}};It.default=bd;var jr={};Object.defineProperty(jr,"__esModule",{value:!0});const $d=Ft(),yi=B,Lt=j,bi=It,vd={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&&bi.default.code(new $d.KeywordCxt(n,bi.default,"additionalProperties"));const l=(0,yi.allSchemaProperties)(r);for(const h of l)n.definedProperties.add(h);n.opts.unevaluated&&l.length&&n.props!==!0&&(n.props=Lt.mergeEvaluated.props(t,(0,Lt.toHash)(l),n.props));const a=l.filter(h=>!(0,Lt.alwaysValidSchema)(n,r[h]));if(a.length===0)return;const d=t.name("valid");for(const h of a)c(h)?u(h):(t.if((0,yi.propertyInData)(t,o,h,n.opts.ownProperties)),u(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 u(h){e.subschema({keyword:"properties",schemaProp:h,dataProp:h},d)}}};jr.default=vd;var Tr={};Object.defineProperty(Tr,"__esModule",{value:!0});const $i=B,bt=A,vi=j,Si=j,Sd={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:o,it:n}=e,{opts:l}=n,a=(0,$i.allSchemaProperties)(r),d=a.filter(w=>(0,vi.alwaysValidSchema)(n,r[w]));if(a.length===0||d.length===a.length&&(!n.opts.unevaluated||n.props===!0))return;const c=l.strictSchema&&!l.allowMatchingProperties&&o.properties,u=t.name("valid");n.props!==!0&&!(n.props instanceof bt.Name)&&(n.props=(0,Si.evaluatedPropsToName)(t,n.props));const{props:h}=n;k();function k(){for(const w of a)c&&$(w),n.allErrors?y(w):(t.var(u,!0),y(w),t.if(u))}function $(w){for(const g in c)new RegExp(w).test(g)&&(0,vi.checkStrictMode)(n,`property ${g} matches pattern ${w} (use allowMatchingProperties)`)}function y(w){t.forIn("key",i,g=>{t.if((0,bt._)`${(0,$i.usePattern)(e,w)}.test(${g})`,()=>{const f=d.includes(w);f||e.subschema({keyword:"patternProperties",schemaProp:w,dataProp:g,dataPropType:Si.Type.Str},u),n.opts.unevaluated&&h!==!0?t.assign((0,bt._)`${h}[${g}]`,!0):!f&&!n.allErrors&&t.if((0,bt.not)(u),()=>t.break())})})}}};Tr.default=Sd;var Ir={};Object.defineProperty(Ir,"__esModule",{value:!0});const wd=j,kd={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:i}=e;if((0,wd.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"}};Ir.default=kd;var Er={};Object.defineProperty(Er,"__esModule",{value:!0});const Od=B,Cd={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Od.validateUnion,error:{message:"must match a schema in anyOf"}};Er.default=Cd;var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0});const kt=A,Pd=j,_d={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,kt._)`{passingSchemas: ${e.passing}}`},Vd={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:_d,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,l=t.let("valid",!1),a=t.let("passing",null),d=t.name("_valid");e.setParams({passing:a}),t.block(c),e.result(l,()=>e.reset(),()=>e.error(!0));function c(){n.forEach((u,h)=>{let k;(0,Pd.alwaysValidSchema)(o,u)?t.var(d,!0):k=e.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},d),h>0&&t.if((0,kt._)`${d} && ${l}`).assign(l,!1).assign(a,(0,kt._)`[${a}, ${h}]`).else(),t.if(d,()=>{t.assign(l,!0),t.assign(a,h),k&&e.mergeEvaluated(k,kt.Name)})})}}};Nr.default=Vd;var xr={};Object.defineProperty(xr,"__esModule",{value:!0});const Fd=j,Dd={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,l)=>{if((0,Fd.alwaysValidSchema)(i,n))return;const a=e.subschema({keyword:"allOf",schemaProp:l},o);e.ok(o),e.mergeEvaluated(a)})}};xr.default=Dd;var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});const Vt=A,So=j,Rd={message:({params:e})=>(0,Vt.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Vt._)`{failingKeyword: ${e.ifClause}}`},jd={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Rd,code(e){const{gen:t,parentSchema:r,it:i}=e;r.then===void 0&&r.else===void 0&&(0,So.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const o=wi(i,"then"),n=wi(i,"else");if(!o&&!n)return;const l=t.let("valid",!0),a=t.name("_valid");if(d(),e.reset(),o&&n){const u=t.let("ifClause");e.setParams({ifClause:u}),t.if(a,c("then",u),c("else",u))}else o?t.if(a,c("then")):t.if((0,Vt.not)(a),c("else"));e.pass(l,()=>e.error(!0));function d(){const u=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},a);e.mergeEvaluated(u)}function c(u,h){return()=>{const k=e.subschema({keyword:u},a);t.assign(l,a),e.mergeValidEvaluated(k,l),h?t.assign(h,(0,Vt._)`${u}`):e.setParams({ifClause:u})}}}};function wi(e,t){const r=e.schema[t];return r!==void 0&&!(0,So.alwaysValidSchema)(e,r)}Ar.default=jd;var zr={};Object.defineProperty(zr,"__esModule",{value:!0});const Td=j,Id={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,Td.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};zr.default=Id;Object.defineProperty(_r,"__esModule",{value:!0});const Ed=Je,Nd=Vr,xd=Ye,Ad=Fr,zd=Dr,Md=Tt,Bd=Rr,Ld=It,qd=jr,Hd=Tr,Wd=Ir,Ud=Er,Gd=Nr,Kd=xr,Jd=Ar,Yd=zr;function Zd(e=!1){const t=[Wd.default,Ud.default,Gd.default,Kd.default,Jd.default,Yd.default,Bd.default,Ld.default,Md.default,qd.default,Hd.default];return e?t.push(Nd.default,Ad.default):t.push(Ed.default,xd.default),t.push(zd.default),t}_r.default=Zd;var Mr={},Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.dynamicAnchor=void 0;const qt=A,Xd=de,ki=ie,Qd=Oe,ec={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,qt._)`${Xd.default.dynamicAnchors}${(0,qt.getProperty)(t)}`,n=i.errSchemaPath==="#"?i.validateName:tc(e);r.if((0,qt._)`!${o}`,()=>r.assign(o,n))}Ze.dynamicAnchor=wo;function tc(e){const{schemaEnv:t,schema:r,self:i}=e.it,{root:o,baseId:n,localRefs:l,meta:a}=t.root,{schemaId:d}=i.opts,c=new ki.SchemaEnv({schema:r,schemaId:d,root:o,baseId:n,localRefs:l,meta:a});return ki.compileSchema.call(i,c),(0,Qd.getValidate)(e,c)}Ze.default=ec;var Xe={};Object.defineProperty(Xe,"__esModule",{value:!0});Xe.dynamicRef=void 0;const Oi=A,rc=de,Ci=Oe,ic={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)l();else{const d=r.let("valid",!1);l(d),e.ok(d)}function l(d){if(o.schemaEnv.root.dynamicAnchors[n]){const c=r.let("_v",(0,Oi._)`${rc.default.dynamicAnchors}${(0,Oi.getProperty)(n)}`);r.if(c,a(c,d),a(o.validateName,d))}else a(o.validateName,d)()}function a(d,c){return c?()=>r.block(()=>{(0,Ci.callRef)(e,d),r.let(c,!0)}):()=>(0,Ci.callRef)(e,d)}}Xe.dynamicRef=ko;Xe.default=ic;var Br={};Object.defineProperty(Br,"__esModule",{value:!0});const oc=Ze,nc=j,sc={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,oc.dynamicAnchor)(e,""):(0,nc.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};Br.default=sc;var Lr={};Object.defineProperty(Lr,"__esModule",{value:!0});const ac=Xe,lc={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,ac.dynamicRef)(e,e.schema)};Lr.default=lc;Object.defineProperty(Mr,"__esModule",{value:!0});const dc=Ze,cc=Xe,pc=Br,uc=Lr,fc=[dc.default,cc.default,pc.default,uc.default];Mr.default=fc;var qr={},Hr={};Object.defineProperty(Hr,"__esModule",{value:!0});const Pi=Tt,hc={keyword:"dependentRequired",type:"object",schemaType:"object",error:Pi.error,code:e=>(0,Pi.validatePropertyDeps)(e)};Hr.default=hc;var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});const mc=Tt,gc={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,mc.validateSchemaDeps)(e)};Wr.default=gc;var Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});const yc=j,bc={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){t.contains===void 0&&(0,yc.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}};Ur.default=bc;Object.defineProperty(qr,"__esModule",{value:!0});const $c=Hr,vc=Wr,Sc=Ur,wc=[$c.default,vc.default,Sc.default];qr.default=wc;var Gr={},Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});const _e=A,_i=j,kc=de,Oc={message:"must NOT have unevaluated properties",params:({params:e})=>(0,_e._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},Cc={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:Oc,code(e){const{gen:t,schema:r,data:i,errsCount:o,it:n}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:l,props:a}=n;a instanceof _e.Name?t.if((0,_e._)`${a} !== true`,()=>t.forIn("key",i,h=>t.if(c(a,h),()=>d(h)))):a!==!0&&t.forIn("key",i,h=>a===void 0?d(h):t.if(u(a,h),()=>d(h))),n.props=!0,e.ok((0,_e._)`${o} === ${kc.default.errors}`);function d(h){if(r===!1){e.setParams({unevaluatedProperty:h}),e.error(),l||t.break();return}if(!(0,_i.alwaysValidSchema)(n,r)){const k=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:h,dataPropType:_i.Type.Str},k),l||t.if((0,_e.not)(k),()=>t.break())}}function c(h,k){return(0,_e._)`!${h} || !${h}[${k}]`}function u(h,k){const $=[];for(const y in h)h[y]===!0&&$.push((0,_e._)`${k} !== ${y}`);return(0,_e.and)(...$)}}};Kr.default=Cc;var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0});const Ie=A,Vi=j,Pc={message:({params:{len:e}})=>(0,Ie.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Ie._)`{limit: ${e}}`},_c={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:Pc,code(e){const{gen:t,schema:r,data:i,it:o}=e,n=o.items||0;if(n===!0)return;const l=t.const("len",(0,Ie._)`${i}.length`);if(r===!1)e.setParams({len:n}),e.fail((0,Ie._)`${l} > ${n}`);else if(typeof r=="object"&&!(0,Vi.alwaysValidSchema)(o,r)){const d=t.var("valid",(0,Ie._)`${l} <= ${n}`);t.if((0,Ie.not)(d),()=>a(d,n)),e.ok(d)}o.items=!0;function a(d,c){t.forRange("i",c,l,u=>{e.subschema({keyword:"unevaluatedItems",dataProp:u,dataPropType:Vi.Type.Num},d),o.allErrors||t.if((0,Ie.not)(d),()=>t.break())})}}};Jr.default=_c;Object.defineProperty(Gr,"__esModule",{value:!0});const Vc=Kr,Fc=Jr,Dc=[Vc.default,Fc.default];Gr.default=Dc;var Yr={},Zr={};Object.defineProperty(Zr,"__esModule",{value:!0});const J=A,Rc={message:({schemaCode:e})=>(0,J.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,J._)`{format: ${e}}`},jc={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Rc,code(e,t){const{gen:r,data:i,$data:o,schema:n,schemaCode:l,it:a}=e,{opts:d,errSchemaPath:c,schemaEnv:u,self:h}=a;if(!d.validateFormats)return;o?k():$();function k(){const y=r.scopeValue("formats",{ref:h.formats,code:d.code.formats}),w=r.const("fDef",(0,J._)`${y}[${l}]`),g=r.let("fType"),f=r.let("format");r.if((0,J._)`typeof ${w} == "object" && !(${w} instanceof RegExp)`,()=>r.assign(g,(0,J._)`${w}.type || "string"`).assign(f,(0,J._)`${w}.validate`),()=>r.assign(g,(0,J._)`"string"`).assign(f,w)),e.fail$data((0,J.or)(O(),V()));function O(){return d.strictSchema===!1?J.nil:(0,J._)`${l} && !${f}`}function V(){const R=u.$async?(0,J._)`(${w}.async ? await ${f}(${i}) : ${f}(${i}))`:(0,J._)`${f}(${i})`,I=(0,J._)`(typeof ${f} == "function" ? ${R} : ${f}.test(${i}))`;return(0,J._)`${f} && ${f} !== true && ${g} === ${t} && !${I}`}}function $(){const y=h.formats[n];if(!y){O();return}if(y===!0)return;const[w,g,f]=V(y);w===t&&e.pass(R());function O(){if(d.strictSchema===!1){h.logger.warn(I());return}throw new Error(I());function I(){return`unknown format "${n}" ignored in schema at path "${c}"`}}function V(I){const q=I instanceof RegExp?(0,J.regexpCode)(I):d.code.formats?(0,J._)`${d.code.formats}${(0,J.getProperty)(n)}`:void 0,W=r.scopeValue("formats",{key:n,ref:I,code:q});return typeof I=="object"&&!(I instanceof RegExp)?[I.type||"string",I.validate,(0,J._)`${W}.validate`]:["string",I,W]}function R(){if(typeof y=="object"&&!(y instanceof RegExp)&&y.async){if(!u.$async)throw new Error("async format in sync schema");return(0,J._)`await ${f}(${i})`}return typeof g=="function"?(0,J._)`${f}(${i})`:(0,J._)`${f}.test(${i})`}}}};Zr.default=jc;Object.defineProperty(Yr,"__esModule",{value:!0});const Tc=Zr,Ic=[Tc.default];Yr.default=Ic;var Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.contentVocabulary=Ge.metadataVocabulary=void 0;Ge.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Ge.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(ur,"__esModule",{value:!0});const Ec=fr,Nc=mr,xc=_r,Ac=Mr,zc=qr,Mc=Gr,Bc=Yr,Fi=Ge,Lc=[Ac.default,Ec.default,Nc.default,(0,xc.default)(!0),Bc.default,Fi.metadataVocabulary,Fi.contentVocabulary,zc.default,Mc.default];ur.default=Lc;var Xr={},Et={};Object.defineProperty(Et,"__esModule",{value:!0});Et.DiscrError=void 0;var Di;(function(e){e.Tag="tag",e.Mapping="mapping"})(Di||(Et.DiscrError=Di={}));Object.defineProperty(Xr,"__esModule",{value:!0});const Be=A,Zt=Et,Ri=ie,qc=Ke,Hc=j,Wc={message:({params:{discrError:e,tagName:t}})=>e===Zt.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,Be._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},Uc={keyword:"discriminator",type:"object",schemaType:"object",error:Wc,code(e){const{gen:t,data:r,schema:i,parentSchema:o,it:n}=e,{oneOf:l}=o;if(!n.opts.discriminator)throw new Error("discriminator: requires discriminator option");const a=i.propertyName;if(typeof a!="string")throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!l)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),c=t.const("tag",(0,Be._)`${r}${(0,Be.getProperty)(a)}`);t.if((0,Be._)`typeof ${c} == "string"`,()=>u(),()=>e.error(!1,{discrError:Zt.DiscrError.Tag,tag:c,tagName:a})),e.ok(d);function u(){const $=k();t.if(!1);for(const y in $)t.elseIf((0,Be._)`${c} === ${y}`),t.assign(d,h($[y]));t.else(),e.error(!1,{discrError:Zt.DiscrError.Mapping,tag:c,tagName:a}),t.endIf()}function h($){const y=t.name("valid"),w=e.subschema({keyword:"oneOf",schemaProp:$},y);return e.mergeEvaluated(w,Be.Name),y}function k(){var $;const y={},w=f(o);let g=!0;for(let R=0;R<l.length;R++){let I=l[R];if(I!=null&&I.$ref&&!(0,Hc.schemaHasRulesButRef)(I,n.self.RULES)){const W=I.$ref;if(I=Ri.resolveRef.call(n.self,n.schemaEnv.root,n.baseId,W),I instanceof Ri.SchemaEnv&&(I=I.schema),I===void 0)throw new qc.default(n.opts.uriResolver,n.baseId,W)}const q=($=I==null?void 0:I.properties)===null||$===void 0?void 0:$[a];if(typeof q!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${a}"`);g=g&&(w||f(I)),O(q,R)}if(!g)throw new Error(`discriminator: "${a}" must be required`);return y;function f({required:R}){return Array.isArray(R)&&R.includes(a)}function O(R,I){if(R.const)V(R.const,I);else if(R.enum)for(const q of R.enum)V(q,I);else throw new Error(`discriminator: "properties/${a}" must have "const" or "enum"`)}function V(R,I){if(typeof R!="string"||R in y)throw new Error(`discriminator: "${a}" values must be unique strings`);y[R]=I}}}};Xr.default=Uc;var Qr={};const Gc="https://json-schema.org/draft/2020-12/schema",Kc="https://json-schema.org/draft/2020-12/schema",Jc={"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},Yc="meta",Zc="Core and Validation specifications meta-schema",Xc=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],Qc=["object","boolean"],ep="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",tp={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}},rp={$schema:Gc,$id:Kc,$vocabulary:Jc,$dynamicAnchor:Yc,title:Zc,allOf:Xc,type:Qc,$comment:ep,properties:tp},ip="https://json-schema.org/draft/2020-12/schema",op="https://json-schema.org/draft/2020-12/meta/applicator",np={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},sp="meta",ap="Applicator vocabulary meta-schema",lp=["object","boolean"],dp={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"}},cp={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},pp={$schema:ip,$id:op,$vocabulary:np,$dynamicAnchor:sp,title:ap,type:lp,properties:dp,$defs:cp},up="https://json-schema.org/draft/2020-12/schema",fp="https://json-schema.org/draft/2020-12/meta/unevaluated",hp={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},mp="meta",gp="Unevaluated applicator vocabulary meta-schema",yp=["object","boolean"],bp={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},$p={$schema:up,$id:fp,$vocabulary:hp,$dynamicAnchor:mp,title:gp,type:yp,properties:bp},vp="https://json-schema.org/draft/2020-12/schema",Sp="https://json-schema.org/draft/2020-12/meta/content",wp={"https://json-schema.org/draft/2020-12/vocab/content":!0},kp="meta",Op="Content vocabulary meta-schema",Cp=["object","boolean"],Pp={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},_p={$schema:vp,$id:Sp,$vocabulary:wp,$dynamicAnchor:kp,title:Op,type:Cp,properties:Pp},Vp="https://json-schema.org/draft/2020-12/schema",Fp="https://json-schema.org/draft/2020-12/meta/core",Dp={"https://json-schema.org/draft/2020-12/vocab/core":!0},Rp="meta",jp="Core vocabulary meta-schema",Tp=["object","boolean"],Ip={$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"}}},Ep={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},Np={$schema:Vp,$id:Fp,$vocabulary:Dp,$dynamicAnchor:Rp,title:jp,type:Tp,properties:Ip,$defs:Ep},xp="https://json-schema.org/draft/2020-12/schema",Ap="https://json-schema.org/draft/2020-12/meta/format-annotation",zp={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},Mp="meta",Bp="Format vocabulary meta-schema for annotation results",Lp=["object","boolean"],qp={format:{type:"string"}},Hp={$schema:xp,$id:Ap,$vocabulary:zp,$dynamicAnchor:Mp,title:Bp,type:Lp,properties:qp},Wp="https://json-schema.org/draft/2020-12/schema",Up="https://json-schema.org/draft/2020-12/meta/meta-data",Gp={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},Kp="meta",Jp="Meta-data vocabulary meta-schema",Yp=["object","boolean"],Zp={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}},Xp={$schema:Wp,$id:Up,$vocabulary:Gp,$dynamicAnchor:Kp,title:Jp,type:Yp,properties:Zp},Qp="https://json-schema.org/draft/2020-12/schema",eu="https://json-schema.org/draft/2020-12/meta/validation",tu={"https://json-schema.org/draft/2020-12/vocab/validation":!0},ru="meta",iu="Validation vocabulary meta-schema",ou=["object","boolean"],nu={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"}}},su={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:[]}},au={$schema:Qp,$id:eu,$vocabulary:tu,$dynamicAnchor:ru,title:iu,type:ou,properties:nu,$defs:su};Object.defineProperty(Qr,"__esModule",{value:!0});const lu=rp,du=pp,cu=$p,pu=_p,uu=Np,fu=Hp,hu=Xp,mu=au,gu=["/properties"];function yu(e){return[lu,du,cu,pu,uu,t(this,fu),hu,t(this,mu)].forEach(r=>this.addMetaSchema(r,void 0,!1)),this;function t(r,i){return e?r.$dataMetaSchema(i,gu):i}}Qr.default=yu;(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=Ii,i=ur,o=Xr,n=Qr,l="https://json-schema.org/draft/2020-12/schema";class a extends r.default{constructor($={}){super({...$,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),i.default.forEach($=>this.addVocabulary($)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:$,meta:y}=this.opts;y&&(n.default.call(this,$),this.refs["http://json-schema.org/schema"]=l)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv2020=a,e.exports=t=a,e.exports.Ajv2020=a,Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var d=Ft();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var c=A;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 u=sr();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return u.default}});var h=Ke;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})})(Ht,Ht.exports);var bu=Ht.exports;const Oo="custom-apps",Co="1.1.2",We={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},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},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},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:"Plain text display using React Native Text",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"},allowFontScaling:{description:"Whether font should scale to respect Text Size accessibility settings. Default: true",type:"boolean"},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"},maxFontSizeMultiplier:{description:"Upper limit on font scaling. 0 means no limit. Requires allowFontScaling to not be false",type:"number"},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"}},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}},Ot={goBack:{description:"Go 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. Use the screen name as registered in the navigator (format: "{namespace}/{ScreenName}").',docs:'`screen` (required): the React Navigation screen name to navigate to.\nValid screen names are scoped to the "mobile_platform" execution namespace.\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.\nValid screen names are regenerated automatically via `pnpm catalog:update`.',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:{$ref:"#/$defs/NavigationRoutesMobilePlatform",description:'React Navigation screen name to navigate to. Format: "{namespace}/{ScreenName}".'}},required:["screen"],type:"object"}}},dt={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"}}},Xt={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","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","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","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","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"]},NavigationRoutesMobilePlatform:{enum:["mobile_platform/AIAssistant","mobile_platform/AIAssistantChat","mobile_platform/AIAssistantConversationList","mobile_platform/AIAssistantRoute","mobile_platform/AppSettings","mobile_platform/AppStarter","mobile_platform/BiometricLock","mobile_platform/Chat","mobile_platform/CoreExamplesRoute","mobile_platform/CriticalOtaUpdate","mobile_platform/CustomAppPageModalRoute","mobile_platform/CustomAppRoute","mobile_platform/CustomAppsListRoute","mobile_platform/DashboardHomeRoute","mobile_platform/DashboardRootRoute","mobile_platform/DashboardRoute","mobile_platform/DashboardTabsRoute","mobile_platform/DeveloperMenu","mobile_platform/Directory","mobile_platform/FeatureFlagsRoute","mobile_platform/FlowExample","mobile_platform/FlowLoading","mobile_platform/ForceUpdate","mobile_platform/GlobalSearch","mobile_platform/HomeRoute","mobile_platform/IDCard","mobile_platform/LocaleUpdateModal","mobile_platform/NavigationModal","mobile_platform/Notifications","mobile_platform/Profile","mobile_platform/ProfileRoute","mobile_platform/ProxyInitiationRoute","mobile_platform/SearchOverview","mobile_platform/SearchResults","mobile_platform/StepUpExample","mobile_platform/StorybookRoute","mobile_platform/TimeOffRoute","mobile_platform/TimeStandaloneRoute"]},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 $u(){return Object.fromEntries(Object.entries(We).map(([e,t])=>[e,String(t.description??"")]))}function vu(){return Object.fromEntries(Object.entries(Ot).map(([e,t])=>[e,String(t.description??"")]))}function Su(){return Object.fromEntries(Object.entries(dt).map(([e,t])=>[e,String(t.description??"")]))}function wu(){return dt}function ku(){return Xt}function Ou(e){if(!(e in We))throw new Error(`Unknown component '${e}'. Available: ${Object.keys(We).join(", ")}`);const t={...We[e]};return delete t.example,t}function Cu(e){if(!(e in Ot))throw new Error(`Unknown action '${e}'. Available: ${Object.keys(Ot).join(", ")}`);return Ot[e]}function Pu(e){if(!(e in dt))throw new Error(`Unknown function '${e}'. Available: ${Object.keys(dt).join(", ")}`);return dt[e]}const ji=[{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 _u(e){return Object.keys(Xt).length===0?e:{...e,$defs:{...Xt,...e.$defs??{}}}}function Vu(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,...ji]:r[i]={anyOf:[o,...ji]}}return t}function Fu(e){return e?e.slice(1).split("/").map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~")).join("."):"(root)"}function Du(e){const t=Fu(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 Ru(e,t){const i=new bu.Ajv2020({allErrors:!0,strict:!1}).compile(e);if(i(t))return[];const o=i.errors??[],n=new Set(o.filter(l=>l.keyword==="anyOf").map(l=>l.instancePath));return o.filter(l=>l.keyword==="anyOf"?!0:!(l.schemaPath.includes("/anyOf/")&&n.has(l.instancePath))).map(Du)}function ju(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 l=n.type??"";if(!(l in We)){t.push(`Element '${o}': unknown type '${l}'`);continue}const a=We[l],d=a.propsSchema;if(d){const k=_u(Vu(d)),$=n.props??{};for(const y of Ru(k,$))t.push(`Element '${o}': ${y}`)}const c=n.on??{},u=a.events??[];for(const k of Object.keys(c))u.includes(k)||t.push(`Element '${o}': unknown event '${k}'. Valid: ${u.join(", ")}`);(n.children??[]).length>0&&!a.acceptsChildren&&t.push(`Element '${o}': '${l}' does not accept children`)}return t}function Tu(e){return{..._o.renderElementTree(e.root,e.state),platform:"mobile",catalog:Oo,catalogVersion:Co}}exports.ActionCard=Vo;exports.Avatar=Fo;exports.AvatarStack=Do;exports.Badge=Ro;exports.Button=jo;exports.CATALOG_NAME=Oo;exports.CATALOG_VERSION=Co;exports.Card=To;exports.Checkbox=Io;exports.CheckboxGroup=Eo;exports.Chip=No;exports.CondensedFooter=xo;exports.CondensedHeader=Ao;exports.Country=zo;exports.Currency=Mo;exports.Date=Bo;exports.DateRange=Lo;exports.DateTimePicker=qo;exports.Divider=Ho;exports.ExpansionPanel=Wo;exports.FileViewerButton=Uo;exports.FileViewerPressable=Go;exports.FilterHeader=Ko;exports.FloatingButton=Jo;exports.Footer=Yo;exports.Form=Zo;exports.Group=Xo;exports.HStack=tn;exports.Header=Qo;exports.Hidden=en;exports.Icon=rn;exports.Image=on;exports.InputText=nn;exports.Label=sn;exports.List=an;exports.ListItem=ln;exports.ModalActionHeader=dn;exports.ModalSheet=cn;exports.Notice=pn;exports.Number=un;exports.ObjectFooter=fn;exports.ObjectItem=hn;exports.ObjectListView=mn;exports.Password=gn;exports.Percentage=yn;exports.Phone=bn;exports.Pressable=$n;exports.ProgressIndicator=vn;exports.Radio=Sn;exports.RadioGroup=wn;exports.Search=kn;exports.SectionHeader=On;exports.Select=Cn;exports.SelectChips=Pn;exports.Signature=_n;exports.Sin=Vn;exports.Slider=Fn;exports.SliderRange=Dn;exports.SnackBar=Rn;exports.Spacer=jn;exports.Spinner=Tn;exports.Ssn=In;exports.Status=En;exports.StatusBar=Nn;exports.Switch=xn;exports.Tabs=An;exports.Text=zn;exports.Textarea=Mn;exports.Time=Bn;exports.TimeRange=Ln;exports.Tip=qn;exports.VStack=Hn;exports.Widget=Wn;exports.WorkEmail=Un;exports.currencyFormat=Jn;exports.currencyGetCurrencyCodeByCountryCode=Yn;exports.currencyGetCurrencyNameByCode=Zn;exports.currencyGetCurrencySymbol=Xn;exports.currencyIsConvertableToCurrency=Qn;exports.currencyToMoney=es;exports.dateTimeAdd=ts;exports.dateTimeFormat=rs;exports.getAction=Cu;exports.getActions=vu;exports.getComponent=Ou;exports.getComponents=$u;exports.getComputedFunctions=wu;exports.getDefs=ku;exports.getFunction=Pu;exports.getFunctions=Su;exports.goBack=Gn;exports.navigate=Kn;exports.render=Tu;exports.validate=ju;
|
|
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 Wo=E,kc=_,Oc={message:"property name must be valid",params:({params:e})=>(0,Wo._)`{propertyName: ${e.propertyName}}`},Cc={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Oc,code(e){const{gen:t,schema:r,data:i,it:o}=e;if((0,kc.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)}};Lr.default=Cc;var Dt={};Object.defineProperty(Dt,"__esModule",{value:!0});const pt=x,re=E,Pc=Q,ut=_,_c={message:"must NOT have additional properties",params:({params:e})=>(0,re._)`{additionalProperty: ${e.additionalProperty}}`},Vc={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:_c,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} === ${Pc.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=Vc;var qr={};Object.defineProperty(qr,"__esModule",{value:!0});const Fc=oe,Vi=x,Xt=_,Fi=Dt,Dc={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&&Fi.default.code(new Fc.KeywordCxt(n,Fi.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=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,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=Dc;var Hr={};Object.defineProperty(Hr,"__esModule",{value:!0});const Di=x,ft=E,ji=_,Ri=_,jc={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,Di.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,Di.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=jc;var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});const Rc=_,Tc={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:i}=e;if((0,Rc.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=Tc;var Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});const Ic=x,Ec={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ic.validateUnion,error:{message:"must match a schema in anyOf"}};Ur.default=Ec;var Gr={};Object.defineProperty(Gr,"__esModule",{value:!0});const bt=E,Nc=_,xc={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,bt._)`{passingSchemas: ${e.passing}}`},Ac={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:xc,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,Nc.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=Ac;var Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});const zc=_,Mc={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,zc.alwaysValidSchema)(i,n))return;const l=e.subschema({keyword:"allOf",schemaProp:a},o);e.ok(o),e.mergeEvaluated(l)})}};Kr.default=Mc;var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0});const Ot=E,Uo=_,Bc={message:({params:e})=>(0,Ot.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Ot._)`{failingKeyword: ${e.ifClause}}`},Lc={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Bc,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=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,Uo.alwaysValidSchema)(e,r)}Jr.default=Lc;var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});const qc=_,Hc={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,qc.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};Yr.default=Hc;Object.defineProperty(Ar,"__esModule",{value:!0});const Wc=Me,Uc=zr,Gc=Be,Kc=Mr,Jc=Br,Yc=Ft,Zc=Lr,Xc=Dt,Qc=qr,ep=Hr,tp=Wr,rp=Ur,ip=Gr,op=Kr,np=Jr,sp=Yr;function ap(e=!1){const t=[tp.default,rp.default,ip.default,op.default,np.default,sp.default,Zc.default,Xc.default,Yc.default,Qc.default,ep.default];return e?t.push(Uc.default,Kc.default):t.push(Wc.default,Gc.default),t.push(Jc.default),t}Ar.default=ap;var Zr={},Le={};Object.defineProperty(Le,"__esModule",{value:!0});Le.dynamicAnchor=void 0;const Qt=E,lp=Q,Ii=Z,dp=pe,cp={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._)`${lp.default.dynamicAnchors}${(0,Qt.getProperty)(t)}`,n=i.errSchemaPath==="#"?i.validateName:pp(e);r.if((0,Qt._)`!${o}`,()=>r.assign(o,n))}Le.dynamicAnchor=Go;function pp(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,dp.getValidate)(e,c)}Le.default=cp;var qe={};Object.defineProperty(qe,"__esModule",{value:!0});qe.dynamicRef=void 0;const Ei=E,up=Q,Ni=pe,fp={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,Ei._)`${up.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=Ko;qe.default=fp;var Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});const hp=Le,mp=_,gp={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,hp.dynamicAnchor)(e,""):(0,mp.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};Xr.default=gp;var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});const yp=qe,bp={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,yp.dynamicRef)(e,e.schema)};Qr.default=bp;Object.defineProperty(Zr,"__esModule",{value:!0});const $p=Le,vp=qe,Sp=Xr,wp=Qr,kp=[$p.default,vp.default,Sp.default,wp.default];Zr.default=kp;var ei={},ti={};Object.defineProperty(ti,"__esModule",{value:!0});const xi=Ft,Op={keyword:"dependentRequired",type:"object",schemaType:"object",error:xi.error,code:e=>(0,xi.validatePropertyDeps)(e)};ti.default=Op;var ri={};Object.defineProperty(ri,"__esModule",{value:!0});const Cp=Ft,Pp={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,Cp.validateSchemaDeps)(e)};ri.default=Pp;var ii={};Object.defineProperty(ii,"__esModule",{value:!0});const _p=_,Vp={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){t.contains===void 0&&(0,_p.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}};ii.default=Vp;Object.defineProperty(ei,"__esModule",{value:!0});const Fp=ti,Dp=ri,jp=ii,Rp=[Fp.default,Dp.default,jp.default];ei.default=Rp;var oi={},ni={};Object.defineProperty(ni,"__esModule",{value:!0});const ge=E,Ai=_,Tp=Q,Ip={message:"must NOT have unevaluated properties",params:({params:e})=>(0,ge._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},Ep={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:Ip,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} === ${Tp.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=Ep;var si={};Object.defineProperty(si,"__esModule",{value:!0});const Oe=E,zi=_,Np={message:({params:{len:e}})=>(0,Oe.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Oe._)`{limit: ${e}}`},xp={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:Np,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=xp;Object.defineProperty(oi,"__esModule",{value:!0});const Ap=ni,zp=si,Mp=[Ap.default,zp.default];oi.default=Mp;var ai={},li={};Object.defineProperty(li,"__esModule",{value:!0});const q=E,Bp={message:({schemaCode:e})=>(0,q.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,q._)`{format: ${e}}`},Lp={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Bp,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})`}}}};li.default=Lp;Object.defineProperty(ai,"__esModule",{value:!0});const qp=li,Hp=[qp.default];ai.default=Hp;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 Wp=Or,Up=Pr,Gp=Ar,Kp=Zr,Jp=ei,Yp=oi,Zp=ai,Mi=Ae,Xp=[Kp.default,Wp.default,Up.default,(0,Gp.default)(!0),Zp.default,Mi.metadataVocabulary,Mi.contentVocabulary,Jp.default,Yp.default];kr.default=Xp;var di={},jt={};Object.defineProperty(jt,"__esModule",{value:!0});jt.DiscrError=void 0;var Bi;(function(e){e.Tag="tag",e.Mapping="mapping"})(Bi||(jt.DiscrError=Bi={}));Object.defineProperty(di,"__esModule",{value:!0});const je=E,ar=jt,Li=Z,Qp=ze,eu=_,tu={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}}`},ru={keyword:"discriminator",type:"object",schemaType:"object",error:tu,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,eu.schemaHasRulesButRef)(D,n.self.RULES)){const H=D.$ref;if(D=Li.resolveRef.call(n.self,n.schemaEnv.root,n.baseId,H),D instanceof Li.SchemaEnv&&(D=D.schema),D===void 0)throw new Qp.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}}}};di.default=ru;var ci={};const iu="https://json-schema.org/draft/2020-12/schema",ou="https://json-schema.org/draft/2020-12/schema",nu={"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},su="meta",au="Core and Validation specifications meta-schema",lu=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],du=["object","boolean"],cu="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",pu={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}},uu={$schema:iu,$id:ou,$vocabulary:nu,$dynamicAnchor:su,title:au,allOf:lu,type:du,$comment:cu,properties:pu},fu="https://json-schema.org/draft/2020-12/schema",hu="https://json-schema.org/draft/2020-12/meta/applicator",mu={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},gu="meta",yu="Applicator vocabulary meta-schema",bu=["object","boolean"],$u={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"}},vu={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},Su={$schema:fu,$id:hu,$vocabulary:mu,$dynamicAnchor:gu,title:yu,type:bu,properties:$u,$defs:vu},wu="https://json-schema.org/draft/2020-12/schema",ku="https://json-schema.org/draft/2020-12/meta/unevaluated",Ou={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},Cu="meta",Pu="Unevaluated applicator vocabulary meta-schema",_u=["object","boolean"],Vu={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Fu={$schema:wu,$id:ku,$vocabulary:Ou,$dynamicAnchor:Cu,title:Pu,type:_u,properties:Vu},Du="https://json-schema.org/draft/2020-12/schema",ju="https://json-schema.org/draft/2020-12/meta/content",Ru={"https://json-schema.org/draft/2020-12/vocab/content":!0},Tu="meta",Iu="Content vocabulary meta-schema",Eu=["object","boolean"],Nu={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},xu={$schema:Du,$id:ju,$vocabulary:Ru,$dynamicAnchor:Tu,title:Iu,type:Eu,properties:Nu},Au="https://json-schema.org/draft/2020-12/schema",zu="https://json-schema.org/draft/2020-12/meta/core",Mu={"https://json-schema.org/draft/2020-12/vocab/core":!0},Bu="meta",Lu="Core vocabulary meta-schema",qu=["object","boolean"],Hu={$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"}}},Wu={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},Uu={$schema:Au,$id:zu,$vocabulary:Mu,$dynamicAnchor:Bu,title:Lu,type:qu,properties:Hu,$defs:Wu},Gu="https://json-schema.org/draft/2020-12/schema",Ku="https://json-schema.org/draft/2020-12/meta/format-annotation",Ju={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},Yu="meta",Zu="Format vocabulary meta-schema for annotation results",Xu=["object","boolean"],Qu={format:{type:"string"}},ef={$schema:Gu,$id:Ku,$vocabulary:Ju,$dynamicAnchor:Yu,title:Zu,type:Xu,properties:Qu},tf="https://json-schema.org/draft/2020-12/schema",rf="https://json-schema.org/draft/2020-12/meta/meta-data",of={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},nf="meta",sf="Meta-data vocabulary meta-schema",af=["object","boolean"],lf={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}},df={$schema:tf,$id:rf,$vocabulary:of,$dynamicAnchor:nf,title:sf,type:af,properties:lf},cf="https://json-schema.org/draft/2020-12/schema",pf="https://json-schema.org/draft/2020-12/meta/validation",uf={"https://json-schema.org/draft/2020-12/vocab/validation":!0},ff="meta",hf="Validation vocabulary meta-schema",mf=["object","boolean"],gf={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"}}},yf={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:[]}},bf={$schema:cf,$id:pf,$vocabulary:uf,$dynamicAnchor:ff,title:hf,type:mf,properties:gf,$defs:yf};Object.defineProperty(ci,"__esModule",{value:!0});const $f=uu,vf=Su,Sf=Fu,wf=xu,kf=Uu,Of=ef,Cf=df,Pf=bf,_f=["/properties"];function Vf(e){return[$f,vf,Sf,wf,kf,t(this,Of),Cf,t(this,Pf)].forEach(r=>this.addMetaSchema(r,void 0,!1)),this;function t(r,i){return e?r.$dataMetaSchema(i,_f):i}}ci.default=Vf;(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=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}})})(er,er.exports);var Ff=er.exports;const Jo="custom-apps",Yo="1.1.2",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},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},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},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:"Plain text display using React Native Text",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"},allowFontScaling:{description:"Whether font should scale to respect Text Size accessibility settings. Default: true",type:"boolean"},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"},maxFontSizeMultiplier:{description:"Upper limit on font scaling. 0 means no limit. Requires allowFontScaling to not be false",type:"number"},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"}},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:"Go 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. Use the screen name as registered in the navigator (format: "{namespace}/{ScreenName}").',docs:'`screen` (required): the React Navigation screen name to navigate to.\nValid screen names are scoped to the "mobile_platform" execution namespace.\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.\nValid screen names are regenerated automatically via `pnpm catalog:update`.',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:{$ref:"#/$defs/NavigationRoutesMobilePlatform",description:'React Navigation screen name to navigate to. Format: "{namespace}/{ScreenName}".'}},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","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","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","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","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"]},NavigationRoutesMobilePlatform:{enum:["mobile_platform/AIAssistant","mobile_platform/AIAssistantChat","mobile_platform/AIAssistantConversationList","mobile_platform/AIAssistantRoute","mobile_platform/AppSettings","mobile_platform/AppStarter","mobile_platform/BiometricLock","mobile_platform/Chat","mobile_platform/CoreExamplesRoute","mobile_platform/CriticalOtaUpdate","mobile_platform/CustomAppPageModalRoute","mobile_platform/CustomAppRoute","mobile_platform/CustomAppsListRoute","mobile_platform/DashboardHomeRoute","mobile_platform/DashboardRootRoute","mobile_platform/DashboardRoute","mobile_platform/DashboardTabsRoute","mobile_platform/DeveloperMenu","mobile_platform/Directory","mobile_platform/FeatureFlagsRoute","mobile_platform/FlowExample","mobile_platform/FlowLoading","mobile_platform/ForceUpdate","mobile_platform/GlobalSearch","mobile_platform/HomeRoute","mobile_platform/IDCard","mobile_platform/LocaleUpdateModal","mobile_platform/NavigationModal","mobile_platform/Notifications","mobile_platform/Profile","mobile_platform/ProfileRoute","mobile_platform/ProxyInitiationRoute","mobile_platform/SearchOverview","mobile_platform/SearchResults","mobile_platform/StepUpExample","mobile_platform/StorybookRoute","mobile_platform/TimeOffRoute","mobile_platform/TimeStandaloneRoute"]},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 Df(){return Object.fromEntries(Object.entries(Ee).map(([e,t])=>[e,String(t.description??"")]))}function jf(){return Object.fromEntries(Object.entries($t).map(([e,t])=>[e,String(t.description??"")]))}function Rf(){return Object.fromEntries(Object.entries(rt).map(([e,t])=>[e,String(t.description??"")]))}function Tf(){return rt}function If(){return lr}function Ef(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 Nf(e){if(!(e in $t))throw new Error(`Unknown action '${e}'. Available: ${Object.keys($t).join(", ")}`);return $t[e]}function xf(e){if(!(e in rt))throw new Error(`Unknown function '${e}'. Available: ${Object.keys(rt).join(", ")}`);return rt[e]}const qi=[{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 Af(e){return Object.keys(lr).length===0?e:{...e,$defs:{...lr,...e.$defs??{}}}}function zf(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,...qi]:r[i]={anyOf:[o,...qi]}}return t}function Mf(e){return e?e.slice(1).split("/").map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~")).join("."):"(root)"}function Bf(e){const t=Mf(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 Lf(e,t){const i=new Ff.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(Bf)}function qf(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=Af(zf(d)),S=n.props??{};for(const $ of Lf(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 Hf(e){return{...Xo.renderElementTree(e.root,e.state),platform:"mobile",catalog:Jo,catalogVersion:Yo}}exports.ActionCard=Qo;exports.Avatar=en;exports.AvatarStack=tn;exports.Badge=rn;exports.Button=on;exports.CATALOG_NAME=Jo;exports.CATALOG_VERSION=Yo;exports.Card=nn;exports.Checkbox=sn;exports.CheckboxGroup=an;exports.Chip=ln;exports.CondensedFooter=dn;exports.CondensedHeader=cn;exports.Country=pn;exports.Currency=un;exports.Date=fn;exports.DateRange=hn;exports.DateTimePicker=mn;exports.Divider=gn;exports.ExpansionPanel=yn;exports.FileViewerButton=bn;exports.FileViewerPressable=$n;exports.FilterHeader=vn;exports.FloatingButton=Sn;exports.Footer=wn;exports.Form=kn;exports.Group=On;exports.HStack=_n;exports.Header=Cn;exports.Hidden=Pn;exports.Icon=Vn;exports.Image=Fn;exports.InputText=Dn;exports.Label=jn;exports.List=Rn;exports.ListItem=Tn;exports.ModalActionHeader=In;exports.ModalSheet=En;exports.Notice=Nn;exports.Number=xn;exports.ObjectFooter=An;exports.ObjectItem=zn;exports.ObjectListView=Mn;exports.Password=Bn;exports.Percentage=Ln;exports.Phone=qn;exports.Pressable=Hn;exports.ProgressIndicator=Wn;exports.Radio=Un;exports.RadioGroup=Gn;exports.Search=Kn;exports.SectionHeader=Jn;exports.Select=Yn;exports.SelectChips=Zn;exports.Signature=Xn;exports.Sin=Qn;exports.Slider=es;exports.SliderRange=ts;exports.SnackBar=rs;exports.Spacer=is;exports.Spinner=os;exports.Ssn=ns;exports.Status=ss;exports.StatusBar=as;exports.Switch=ls;exports.Tabs=ds;exports.Text=cs;exports.Textarea=ps;exports.Time=us;exports.TimeRange=fs;exports.Tip=hs;exports.VStack=ms;exports.Widget=gs;exports.WorkEmail=ys;exports.currencyFormat=vs;exports.currencyGetCurrencyCodeByCountryCode=Ss;exports.currencyGetCurrencyNameByCode=ws;exports.currencyGetCurrencySymbol=ks;exports.currencyIsConvertableToCurrency=Os;exports.currencyToMoney=Cs;exports.dateTimeAdd=Ps;exports.dateTimeFormat=_s;exports.getAction=Nf;exports.getActions=jf;exports.getComponent=Ef;exports.getComponents=Df;exports.getComputedFunctions=Tf;exports.getDefs=If;exports.getFunction=xf;exports.getFunctions=Rf;exports.goBack=bs;exports.navigate=$s;exports.render=Hf;exports.validate=qf;
|
|
9
9
|
//# sourceMappingURL=index.cjs.map
|