@webority/repo-checks 0.126.0 → 0.126.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/LICENSE +7 -3
- package/README.md +1 -0
- package/dist/repo-checks.js +35 -34
- package/package.json +2 -2
package/dist/repo-checks.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{chmodSync as e,existsSync as t,mkdirSync as n,readFileSync as r,readdirSync as i,realpathSync as a,statSync as o,writeFileSync as s}from"node:fs";import{basename as c,dirname as l,extname as u,join as d,matchesGlob as f,posix as p,relative as m,resolve as h,sep as g,win32 as _}from"node:path";import{spawnSync as v}from"node:child_process";var y=`.webority/baselines/repo-checks-baseline.json`,b=[`raw-measure`,`palette-read`,`raw-colour`,`root-font-size`,`missing-canvas-key`,`repeated-canvas-key`,`raw-bootstrap`,`library-class-restyle`,`rename-wrapper`,`shadowed-library-name`,`single-use-component`,`error-summary-title`,`route-internal-id`].map(e=>`${e}:`),x=class extends Error{};function ee(e,t){return`${e} | ${t}`}function S(e){if(typeof e!=`string`)throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);let t=e.indexOf(` | `);if(t===-1)throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);return[e.slice(0,t),e.slice(t+3)]}function te(e){let n=d(e,y);if(!t(n))return null;let i;try{i=JSON.parse(r(n,`utf8`))}catch{throw new x(`${y} does not parse.`)}if(typeof i!=`object`||!i||Array.isArray(i)||i.version!==2)throw new x(`${y} has no "version": 2; it is the earlier shape without counts. Delete it and run webority-repo-checks --baseline-init once from the git root, then review and commit the new file.`);for(let e of Object.keys(i))if(e!==`version`&&e!==`findings`&&e!==`counts`&&e!==`accepted`)throw new x(`${y} is not a valid version 2 baseline: unknown key "${e}".`);if(!Array.isArray(i.findings))throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);for(let e of i.findings)if(typeof e!=`string`||!e.includes(` | `))throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);if(i.counts===null||typeof i.counts!=`object`||Array.isArray(i.counts))throw new x(`${y} is not a valid version 2 baseline: "counts" must be an object of "<rule>:<file>" ids and whole numbers above 0.`);for(let[e,t]of Object.entries(i.counts))if(!b.some(t=>e.startsWith(t))||typeof t!=`number`||!Number.isInteger(t)||t<=0)throw new x(`${y} is not a valid version 2 baseline: count "${e}" must be a ${b.join(`, `)} id with a whole number above 0.`);if(i.accepted!==void 0&&(!Array.isArray(i.accepted)||!i.accepted.every(ne)))throw new x(`${y} is not a valid version 2 baseline: "accepted" must be a list of { "prefix", "reason" } objects with non-empty text.`);return{version:2,findings:i.findings,counts:i.counts,accepted:i.accepted??[]}}function ne(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).every(e=>e===`prefix`||e===`reason`)&&re(e.prefix)&&re(e.reason)}function re(e){return typeof e==`string`&&e.trim()!==``}function ie(e){let t=e.indexOf(`:`);return(t===-1?e:e.slice(t+1)).split(`\\`).join(`/`)}function C(e,t){let r=d(e,y);n(l(r),{recursive:!0});let i=[...new Set(t.findings??[])].sort(),a={};for(let e of Object.keys(t.counts??{}).sort())a[e]=t.counts[e];let o=[...t.accepted??[]].sort((e,t)=>e.prefix<t.prefix?-1:+(e.prefix>t.prefix)).map(({prefix:e,reason:t})=>({prefix:e,reason:t})),c=o.length?{version:2,findings:i,counts:a,accepted:o}:{version:2,findings:i,counts:a},u=`${JSON.stringify(c,null,4)}\n`;s(r,u)}function ae(e){let t=[...new Set(e.findings??[])].sort(),n={};for(let t of Object.keys(e.counts??{}).sort()){let r=e.counts[t];typeof r==`number`&&r>0&&b.some(e=>t.startsWith(e))&&(n[t]=r)}return{version:2,findings:t,counts:n,accepted:[]}}function oe(e,t,n){let r=e=>S(e)[1].split(`:`)[0],i=e=>e.split(`:`)[0],a=e.findings??[],o=e.counts??{},s=t.findings??[],c=t.counts??{},l=new Set(a),u={...o};for(let e of n){if(a.some(t=>r(t)===e)||Object.keys(o).some(t=>i(t)===e))throw new x(`${y} already records ${e}; adopt is only for a rule the baseline has never recorded. Fix new findings, or run --baseline-shrink after fixing old ones.`);let t=s.filter(t=>r(t)===e),n=Object.keys(c).filter(t=>i(t)===e);if(t.length===0&&n.length===0)throw new x(`nothing to adopt for ${e}: no current finding uses that rule id.`);for(let e of t)l.add(e);for(let e of n){let t=c[e];typeof t==`number`&&t>0&&b.some(t=>e.startsWith(t))&&(u[e]=t)}}let d={};for(let e of Object.keys(u).sort())d[e]=u[e];return{version:2,findings:[...l].sort(),counts:d,accepted:e.accepted??[]}}function se(e,t){if(!t)return e;let n=(e.findings??[]).filter(e=>{let[n]=S(e);return t.pkgs?.has?.(n)??!1}),r={};for(let[n,i]of Object.entries(e.counts??{})){let e=n.indexOf(`:`),a=(e===-1?n:n.slice(e+1)).split(`\\`).join(`/`);(t.dirs??[]).some(e=>{let t=e.split(`\\`).join(`/`);return t===`.`||t===a||a.startsWith(`${t}/`)})&&(r[n]=i)}return{version:2,findings:n,counts:r,accepted:e.accepted??[]}}function ce(e,t){let n=new Set(e.findings??[]),r=new Set(t.findings??[]),i=[...r].filter(e=>!n.has(e)).sort(),a=[...r].filter(e=>n.has(e)).sort(),o=[...n].filter(e=>!r.has(e)).sort(),s=/* @__PURE__ */ new Set([...Object.keys(e.counts??{}),...Object.keys(t.counts??{})]),c=[],l=[],u=[];for(let n of[...s].sort()){let r=e.counts?.[n]??0,i=t.counts?.[n]??0,a={id:n,baseline:r,current:i};i>r&&c.push(a),i>0&&i<=r&&l.push(a),r>i&&u.push(a)}return{fresh:i,known:a,stale:o,over:c,within:l,fallen:u}}function le(e,t){let n=new Set(t.findings??[]),r=[...new Set((e.findings??[]).filter(e=>n.has(e)))].sort(),i={};for(let n of Object.keys(e.counts??{}).sort()){let r=e.counts[n],a=t.counts?.[n]??0,o=Math.min(r,a);o>0&&(i[n]=o)}return{version:2,findings:r,counts:i,accepted:e.accepted??[]}}function ue(e,t,n,r){let i=e=>e===n||e.startsWith(`${n}/`),a=[.../* @__PURE__ */ new Set([...e.findings??[],...(t.findings??[]).filter(e=>i(S(e)[0]))])].sort(),o={...e.counts??{}};for(let[e,n]of Object.entries(t.counts??{}))b.some(t=>e.startsWith(t))&&i(ie(e))&&(o[e]=Math.max(o[e]??0,n));let s={prefix:n,reason:r},c=e.accepted??[];return{version:2,findings:a,counts:o,accepted:c.some(e=>e.prefix===n)?c.map(e=>e.prefix===n?s:e):[...c,s]}}var de=[``,`-top`,`-right`,`-bottom`,`-left`,`-inline`,`-inline-start`,`-inline-end`,`-block`,`-block-start`,`-block-end`],fe=[...de.map(e=>`padding${e}`),...de.map(e=>`margin${e}`),`gap`,`row-gap`,`column-gap`,`grid-gap`,`grid-row-gap`,`grid-column-gap`,`inset`,`inset-inline`,`inset-inline-start`,`inset-inline-end`,`inset-block`,`inset-block-start`,`inset-block-end`,`border-radius`,`border-top-left-radius`,`border-top-right-radius`,`border-bottom-right-radius`,`border-bottom-left-radius`,`border-start-start-radius`,`border-start-end-radius`,`border-end-start-radius`,`border-end-end-radius`,`font`,`font-size`,`font-weight`,`line-height`],pe=[`font`,`font-weight`,`line-height`],me=e=>e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),he=[...fe.map(me),`paddingHorizontal`,`paddingVertical`,`paddingStart`,`paddingEnd`,`marginHorizontal`,`marginVertical`,`marginStart`,`marginEnd`,`borderTopStartRadius`,`borderTopEndRadius`,`borderBottomStartRadius`,`borderBottomEndRadius`],ge=[`color`,`background`,`background-color`,`border`,`border-color`,...[`top`,`right`,`bottom`,`left`,`inline`,`inline-start`,`inline-end`,`block`,`block-start`,`block-end`].flatMap(e=>[`border-${e}`,`border-${e}-color`]),`outline`,`outline-color`,`fill`,`stroke`,`box-shadow`,`text-shadow`,`text-decoration-color`,`caret-color`,`accent-color`,`column-rule-color`],_e=[...ge.map(me),`shadowColor`,`tintColor`],ve=[`px`,`rem`,`em`],ye={primary:`primary`,secondary:`neutral`,success:`success`,info:`info`,warning:`warning`,danger:`danger`,light:`bg-subtle`,dark:`surface-inverse`},be={".scss":`scss`,".css":`css`,".cshtml":`markup`,".cs":`csharp`,".jsx":`script`,".tsx":`script`,".js":`script`,".ts":`script`},xe=[`.js`,`.ts`],Se=[`node_modules`,`dist`,`generated`,`vendor`,`__tests__`,`__mocks__`],Ce=/^[A-Za-z][\w.]*\.Emails?$/,we=[`wwwroot/lib/`],Te=[`release.json`,`manifest.json`];function Ee(e,n){for(let r=p.dirname(e);r!==`.`&&r!==`/`;r=p.dirname(r))if(Te.every(e=>t(d(n,r,e))))return!0;return!1}var De=`.webority/map.json`,Oe=/* @__PURE__ */ new Map;function ke(e){let t=e.endsWith(`/`),n=e.replace(/\/+$/,``).split(`*`).map(e=>e.replace(/[.+?^${}()|[\]\\]/g,`\\$&`)).join(`[^/]*`);return RegExp(t?`^${n}/`:`^${n}$`)}function Ae(e){let n=Oe.get(e);if(n)return n;let i=d(e,De),a=t(i)?(JSON.parse(r(i,`utf8`)).generated??[]).flatMap(e=>e.paths.map(ke)):[];return Oe.set(e,a),a}function je(e,t=null){let n=c(e);return e.split(`/`).slice(0,-1).some(e=>Se.includes(e)||Ce.test(e))||we.some(t=>e.toLowerCase().includes(t))||n.includes(`.generated.`)||n.endsWith(`.min.css`)||/\.(?:test|spec)\.[cm]?[jt]sx?$/i.test(n)?!0:t===null?!1:Ee(e,t)||Ae(t).some(t=>t.test(e))}var Me=`bootstrap-ui.md → Tokens: padding, margin, gap, inset, corners, font size, font weight and line height read a space, radius, text, weight or leading token, never a literal.`,Ne=`bootstrap-ui.md → Tokens: a colour is a meaning (var(--color-*) on web, theme.colors["<name>"] on phone), never a hex, rgb(), hsl() or named colour; a product-only colour goes into theme/brand.tokens.json.`,Pe=`bootstrap-ui.md → Tokens: the root font size (html or :root) is the unit the type scale is measured in; never set it.`,Fe=`bootstrap-ui.md → Tokens: code reads the colour meaning layer (var(--color-*) on web, theme.colors["<name>"] on phone), never a palette step or a Bootstrap theme colour.`,Ie=`A list row without a data-canvas key (testID on a phone) cannot be found by a Canvas check or linked to a board node.`,Le=`Two elements with the same data-canvas key (testID on a phone) make a Canvas check match the wrong one.`,Re={web:`data-canvas`,phone:`testID`},ze=Object.freeze([`high`,`critical`]),Be=/ENOTFOUND|ECONNREFUSED|ETIMEDOUT|EAI_AGAIN|\b5\d\d\b/,Ve=[`pnpm`,`audit`,`--json`],He=`The advisory service could not be reached. Check the network and push again.`;function Ue(e,t){return e===`win32`?{file:t,args:[_.join(_.dirname(t),`node_modules`,`corepack`,`dist`,`corepack.js`),...Ve]}:{file:`corepack`,args:[...Ve]}}function We(e,t){let n=Ue(process.platform,process.execPath),r=v(n.file,n.args,{cwd:t,encoding:`utf8`,maxBuffer:67108864,windowsHide:!0,timeout:6e4}),i=r.error?String(r.error.code??r.error.message):r.stderr??``;return{status:r.status,stdout:r.stdout??``,stderr:i}}function Ge(){return{id:`advisory:unreachable`,message:He}}function Ke(e){return{id:`advisory:unreadable`,message:e}}function qe(e,t={}){let{status:n,stdout:r,stderr:i}=(t.run??We)(Ve,e),a=null;try{a=JSON.parse(r)}catch{a=null}if(typeof a!=`object`||!a)return Be.test(i)?[Ge()]:[Ke(`The advisory report could not be read (exit ${n}): ${String(i||r).slice(0,200)}`)];if(a.advisories===void 0&&a.error!==void 0)return Be.test(JSON.stringify(a.error))?[Ge()]:[Ke(`The advisory service returned an error: ${String(a.error?.code??a.error?.summary??`unknown`)}`)];if(a.advisories===null||typeof a.advisories!=`object`)return[Ke(`The advisory report has no advisories section.`)];let o=/* @__PURE__ */ new Map;for(let[e,t]of Object.entries(a.advisories)){if(typeof t!=`object`||!t)return[Ke(`The advisory report has an entry that is not an advisory.`)];let n=t.github_advisory_id??e,r=`advisory:${t.module_name}:${n}`,i=o.get(r);i===void 0&&(i={id:r,advisory:t,fixes:/* @__PURE__ */ new Set,installed:/* @__PURE__ */ new Set},o.set(r,i)),i.fixes.add(String(t.patched_versions));for(let e of Array.isArray(t.findings)?t.findings:[])e?.version!==void 0&&i.installed.add(String(e.version))}let s=[];for(let{id:e,advisory:t,fixes:n,installed:r}of o.values()){let i=String(t.severity??`unknown`),a=r.size>0?` Installed: ${[...r].join(`, `)}.`:``,o={id:e,message:`${i}: ${t.title} (${t.url}).${a} Fixed in ${[...n].join(` or `)}; move to a fixed version, or accept it with --baseline-accept and a reason.`};ze.includes(i.toLowerCase())||(o.warning=!0),s.push(o)}return s}var Je=`# Fast only. The expensive verification is \`corepack pnpm check\`, run by hand before pushing
|
|
2
|
+
import{chmodSync as e,existsSync as t,mkdirSync as n,readFileSync as r,readdirSync as i,realpathSync as a,statSync as o,writeFileSync as s}from"node:fs";import{basename as c,dirname as l,extname as u,join as d,matchesGlob as f,posix as p,relative as m,resolve as h,sep as g,win32 as _}from"node:path";import{spawnSync as v}from"node:child_process";var y=`.webority/baselines/repo-checks-baseline.json`,b=[`raw-measure`,`palette-read`,`raw-colour`,`root-font-size`,`missing-canvas-key`,`repeated-canvas-key`,`raw-bootstrap`,`library-class-restyle`,`rename-wrapper`,`shadowed-library-name`,`single-use-component`,`error-summary-title`,`route-internal-id`].map(e=>`${e}:`),x=class extends Error{};function ee(e,t){return`${e} | ${t}`}function S(e){if(typeof e!=`string`)throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);let t=e.indexOf(` | `);if(t===-1)throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);return[e.slice(0,t),e.slice(t+3)]}function te(e){let n=d(e,y);if(!t(n))return null;let i;try{i=JSON.parse(r(n,`utf8`))}catch{throw new x(`${y} does not parse.`)}if(typeof i!=`object`||!i||Array.isArray(i)||i.version!==2)throw new x(`${y} has no "version": 2; it is the earlier shape without counts. Delete it and run webority-repo-checks --baseline-init once from the git root, then review and commit the new file.`);for(let e of Object.keys(i))if(e!==`version`&&e!==`findings`&&e!==`counts`&&e!==`accepted`)throw new x(`${y} is not a valid version 2 baseline: unknown key "${e}".`);if(!Array.isArray(i.findings))throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);for(let e of i.findings)if(typeof e!=`string`||!e.includes(` | `))throw new x(`${y} is not a valid version 2 baseline: "findings" must be a list of "<app folder> | <finding id>" strings.`);if(i.counts===null||typeof i.counts!=`object`||Array.isArray(i.counts))throw new x(`${y} is not a valid version 2 baseline: "counts" must be an object of "<rule>:<file>" ids and whole numbers above 0.`);for(let[e,t]of Object.entries(i.counts))if(!b.some(t=>e.startsWith(t))||typeof t!=`number`||!Number.isInteger(t)||t<=0)throw new x(`${y} is not a valid version 2 baseline: count "${e}" must be a ${b.join(`, `)} id with a whole number above 0.`);if(i.accepted!==void 0&&(!Array.isArray(i.accepted)||!i.accepted.every(ne)))throw new x(`${y} is not a valid version 2 baseline: "accepted" must be a list of { "prefix", "reason" } objects with non-empty text.`);return{version:2,findings:i.findings,counts:i.counts,accepted:i.accepted??[]}}function ne(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).every(e=>e===`prefix`||e===`reason`)&&re(e.prefix)&&re(e.reason)}function re(e){return typeof e==`string`&&e.trim()!==``}function ie(e){let t=e.indexOf(`:`);return(t===-1?e:e.slice(t+1)).split(`\\`).join(`/`)}function ae(e,t){let r=d(e,y);n(l(r),{recursive:!0});let i=[...new Set(t.findings??[])].sort(),a={};for(let e of Object.keys(t.counts??{}).sort())a[e]=t.counts[e];let o=[...t.accepted??[]].sort((e,t)=>e.prefix<t.prefix?-1:+(e.prefix>t.prefix)).map(({prefix:e,reason:t})=>({prefix:e,reason:t})),c=o.length?{version:2,findings:i,counts:a,accepted:o}:{version:2,findings:i,counts:a},u=`${JSON.stringify(c,null,4)}\n`;s(r,u)}function oe(e){let t=[...new Set(e.findings??[])].sort(),n={};for(let t of Object.keys(e.counts??{}).sort()){let r=e.counts[t];typeof r==`number`&&r>0&&b.some(e=>t.startsWith(e))&&(n[t]=r)}return{version:2,findings:t,counts:n,accepted:[]}}function se(e,t,n){let r=e=>S(e)[1].split(`:`)[0],i=e=>e.split(`:`)[0],a=e.findings??[],o=e.counts??{},s=t.findings??[],c=t.counts??{},l=new Set(a),u={...o};for(let e of n){if(a.some(t=>r(t)===e)||Object.keys(o).some(t=>i(t)===e))throw new x(`${y} already records ${e}; adopt is only for a rule the baseline has never recorded. Fix new findings, or run --baseline-shrink after fixing old ones.`);let t=s.filter(t=>r(t)===e),n=Object.keys(c).filter(t=>i(t)===e);if(t.length===0&&n.length===0)throw new x(`nothing to adopt for ${e}: no current finding uses that rule id.`);for(let e of t)l.add(e);for(let e of n){let t=c[e];typeof t==`number`&&t>0&&b.some(t=>e.startsWith(t))&&(u[e]=t)}}let d={};for(let e of Object.keys(u).sort())d[e]=u[e];return{version:2,findings:[...l].sort(),counts:d,accepted:e.accepted??[]}}function ce(e,t){if(!t)return e;let n=(e.findings??[]).filter(e=>{let[n]=S(e);return t.pkgs?.has?.(n)??!1}),r={};for(let[n,i]of Object.entries(e.counts??{})){let e=n.indexOf(`:`),a=(e===-1?n:n.slice(e+1)).split(`\\`).join(`/`);(t.dirs??[]).some(e=>{let t=e.split(`\\`).join(`/`);return t===`.`||t===a||a.startsWith(`${t}/`)})&&(r[n]=i)}return{version:2,findings:n,counts:r,accepted:e.accepted??[]}}function le(e,t){let n=new Set(e.findings??[]),r=new Set(t.findings??[]),i=[...r].filter(e=>!n.has(e)).sort(),a=[...r].filter(e=>n.has(e)).sort(),o=[...n].filter(e=>!r.has(e)).sort(),s=/* @__PURE__ */ new Set([...Object.keys(e.counts??{}),...Object.keys(t.counts??{})]),c=[],l=[],u=[];for(let n of[...s].sort()){let r=e.counts?.[n]??0,i=t.counts?.[n]??0,a={id:n,baseline:r,current:i};i>r&&c.push(a),i>0&&i<=r&&l.push(a),r>i&&u.push(a)}return{fresh:i,known:a,stale:o,over:c,within:l,fallen:u}}function ue(e,t){let n=new Set(t.findings??[]),r=[...new Set((e.findings??[]).filter(e=>n.has(e)))].sort(),i={};for(let n of Object.keys(e.counts??{}).sort()){let r=e.counts[n],a=t.counts?.[n]??0,o=Math.min(r,a);o>0&&(i[n]=o)}return{version:2,findings:r,counts:i,accepted:e.accepted??[]}}function de(e,t,n,r){let i=e=>e===n||e.startsWith(`${n}/`),a=[.../* @__PURE__ */ new Set([...e.findings??[],...(t.findings??[]).filter(e=>i(S(e)[0]))])].sort(),o={...e.counts??{}};for(let[e,n]of Object.entries(t.counts??{}))b.some(t=>e.startsWith(t))&&i(ie(e))&&(o[e]=Math.max(o[e]??0,n));let s={prefix:n,reason:r},c=e.accepted??[];return{version:2,findings:a,counts:o,accepted:c.some(e=>e.prefix===n)?c.map(e=>e.prefix===n?s:e):[...c,s]}}var fe=[``,`-top`,`-right`,`-bottom`,`-left`,`-inline`,`-inline-start`,`-inline-end`,`-block`,`-block-start`,`-block-end`],pe=[...fe.map(e=>`padding${e}`),...fe.map(e=>`margin${e}`),`gap`,`row-gap`,`column-gap`,`grid-gap`,`grid-row-gap`,`grid-column-gap`,`inset`,`inset-inline`,`inset-inline-start`,`inset-inline-end`,`inset-block`,`inset-block-start`,`inset-block-end`,`border-radius`,`border-top-left-radius`,`border-top-right-radius`,`border-bottom-right-radius`,`border-bottom-left-radius`,`border-start-start-radius`,`border-start-end-radius`,`border-end-start-radius`,`border-end-end-radius`,`font`,`font-size`,`font-weight`,`line-height`],me=[`font`,`font-weight`,`line-height`],he=e=>e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),ge=[...pe.map(he),`paddingHorizontal`,`paddingVertical`,`paddingStart`,`paddingEnd`,`marginHorizontal`,`marginVertical`,`marginStart`,`marginEnd`,`borderTopStartRadius`,`borderTopEndRadius`,`borderBottomStartRadius`,`borderBottomEndRadius`],_e=[`color`,`background`,`background-color`,`border`,`border-color`,...[`top`,`right`,`bottom`,`left`,`inline`,`inline-start`,`inline-end`,`block`,`block-start`,`block-end`].flatMap(e=>[`border-${e}`,`border-${e}-color`]),`outline`,`outline-color`,`fill`,`stroke`,`box-shadow`,`text-shadow`,`text-decoration-color`,`caret-color`,`accent-color`,`column-rule-color`],ve=[..._e.map(he),`shadowColor`,`tintColor`],ye=[`px`,`rem`,`em`],C={primary:`primary`,secondary:`neutral`,success:`success`,info:`info`,warning:`warning`,danger:`danger`,light:`bg-subtle`,dark:`surface-inverse`},be={".scss":`scss`,".css":`css`,".cshtml":`markup`,".cs":`csharp`,".jsx":`script`,".tsx":`script`,".js":`script`,".ts":`script`},xe=[`.js`,`.ts`],Se=[`node_modules`,`dist`,`generated`,`vendor`,`__tests__`,`__mocks__`],Ce=/^[A-Za-z][\w.]*\.Emails?$/,we=[`wwwroot/lib/`],Te=[`release.json`,`manifest.json`];function Ee(e,n){for(let r=p.dirname(e);r!==`.`&&r!==`/`;r=p.dirname(r))if(Te.every(e=>t(d(n,r,e))))return!0;return!1}var De=`.webority/map.json`,Oe=/* @__PURE__ */ new Map;function ke(e){let t=e.endsWith(`/`),n=e.replace(/\/+$/,``).split(`*`).map(e=>e.replace(/[.+?^${}()|[\]\\]/g,`\\$&`)).join(`[^/]*`);return RegExp(t?`^${n}/`:`^${n}$`)}function Ae(e){let n=Oe.get(e);if(n)return n;let i=d(e,De),a=t(i)?(JSON.parse(r(i,`utf8`)).generated??[]).flatMap(e=>e.paths.map(ke)):[];return Oe.set(e,a),a}function je(e,t=null){let n=c(e);return e.split(`/`).slice(0,-1).some(e=>Se.includes(e)||Ce.test(e))||we.some(t=>e.toLowerCase().includes(t))||n.includes(`.generated.`)||n.endsWith(`.min.css`)||/\.(?:test|spec)\.[cm]?[jt]sx?$/i.test(n)?!0:t===null?!1:Ee(e,t)||Ae(t).some(t=>t.test(e))}var Me=`bootstrap-ui.md → Tokens: padding, margin, gap, inset, corners, font size, font weight and line height read a space, radius, text, weight or leading token, never a literal.`,Ne=`bootstrap-ui.md → Tokens: a colour is a meaning (var(--color-*) on web, theme.colors["<name>"] on phone), never a hex, rgb(), hsl() or named colour; a product-only colour goes into theme/brand.tokens.json.`,Pe=`bootstrap-ui.md → Tokens: the root font size (html or :root) is the unit the type scale is measured in; never set it.`,Fe=`bootstrap-ui.md → Tokens: code reads the colour meaning layer (var(--color-*) on web, theme.colors["<name>"] on phone), never a palette step or a Bootstrap theme colour.`,Ie=`A list row without a data-canvas key (testID on a phone) cannot be found by a Canvas check or linked to a board node.`,Le=`Two elements with the same data-canvas key (testID on a phone) make a Canvas check match the wrong one.`,Re={web:`data-canvas`,phone:`testID`},ze=Object.freeze([`high`,`critical`]),Be=/ENOTFOUND|ECONNREFUSED|ETIMEDOUT|EAI_AGAIN|\b5\d\d\b/,Ve=[`pnpm`,`audit`,`--json`],He=`The advisory service could not be reached. Check the network and push again.`;function Ue(e,t){return e===`win32`?{file:t,args:[_.join(_.dirname(t),`node_modules`,`corepack`,`dist`,`corepack.js`),...Ve]}:{file:`corepack`,args:[...Ve]}}function We(e,t){let n=Ue(process.platform,process.execPath),r=v(n.file,n.args,{cwd:t,encoding:`utf8`,maxBuffer:67108864,windowsHide:!0,timeout:6e4}),i=r.error?String(r.error.code??r.error.message):r.stderr??``;return{status:r.status,stdout:r.stdout??``,stderr:i}}function Ge(){return{id:`advisory:unreachable`,message:He}}function Ke(e){return{id:`advisory:unreadable`,message:e}}function qe(e,t={}){let{status:n,stdout:r,stderr:i}=(t.run??We)(Ve,e),a=null;try{a=JSON.parse(r)}catch{a=null}if(typeof a!=`object`||!a)return Be.test(i)?[Ge()]:[Ke(`The advisory report could not be read (exit ${n}): ${String(i||r).slice(0,200)}`)];if(a.advisories===void 0&&a.error!==void 0)return Be.test(JSON.stringify(a.error))?[Ge()]:[Ke(`The advisory service returned an error: ${String(a.error?.code??a.error?.summary??`unknown`)}`)];if(a.advisories===null||typeof a.advisories!=`object`)return[Ke(`The advisory report has no advisories section.`)];let o=/* @__PURE__ */ new Map;for(let[e,t]of Object.entries(a.advisories)){if(typeof t!=`object`||!t)return[Ke(`The advisory report has an entry that is not an advisory.`)];let n=t.github_advisory_id??e,r=`advisory:${t.module_name}:${n}`,i=o.get(r);i===void 0&&(i={id:r,advisory:t,fixes:/* @__PURE__ */ new Set,installed:/* @__PURE__ */ new Set},o.set(r,i)),i.fixes.add(String(t.patched_versions));for(let e of Array.isArray(t.findings)?t.findings:[])e?.version!==void 0&&i.installed.add(String(e.version))}let s=[];for(let{id:e,advisory:t,fixes:n,installed:r}of o.values()){let i=String(t.severity??`unknown`),a=r.size>0?` Installed: ${[...r].join(`, `)}.`:``,o={id:e,message:`${i}: ${t.title} (${t.url}).${a} Fixed in ${[...n].join(` or `)}; move to a fixed version, or accept it with --baseline-accept and a reason.`};ze.includes(i.toLowerCase())||(o.warning=!0),s.push(o)}return s}var Je=`endpoint-name`,Ye=/injectEndpoints\(|createApi\(/,Xe=/\b([A-Za-z_$][\w$]*)\s*:\s*build\.(?:query|mutation|infiniteQuery)\s*(?:<[^>]*>)?\s*\(/g,Ze=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.ts`,`.tsx`]),Qe=/* @__PURE__ */ new Set([`node_modules`,`ios`,`android`,`build`,`dist`,`coverage`,`vendor`]),$e=e=>e.split(`\\`).join(`/`),et=e=>e.replace(/[^\n]/g,` `);function tt(e){return e.replace(/\/\*[\s\S]*?\*\//g,et).replace(/\/\/[^\n]*/g,et)}function*nt(e){for(let t of i(e,{withFileTypes:!0})){if(t.name.startsWith(`.`))continue;let n=d(e,t.name);t.isDirectory()?Qe.has(t.name)||(yield*nt(n)):Ze.has(u(t.name))&&(yield n)}}function rt(e,t){let n=tt(r(e,`utf8`));return Ye.test(n)?[...n.matchAll(Xe)].map(e=>({name:e[1],file:t,line:n.slice(0,e.index).split(`
|
|
3
|
+
`).length})):[]}function it(e){let n=d(e,`src`);if(!t(n))return[];let r=/* @__PURE__ */ new Map;for(let t of nt(n))for(let n of rt(t,$e(m(e,t)))){let e=r.get(n.name)??[];e.push(n),r.set(n.name,e)}return[...r.keys()].sort().filter(e=>r.get(e).length>1).map(e=>{let t=r.get(e).map(e=>`${e.file}:${e.line}`).join(`, `);return[`${Je}:${e}`,`RTK Query endpoint "${e}" is defined more than once: ${t}. RTK Query keeps only one, so the other screen calls the wrong URL. Rename each copy by appending the PascalCase file stem without "Api" (react-native.md -> RTK Query).`]})}var at=`# Fast only. The expensive verification is \`corepack pnpm check\`, run by hand before pushing
|
|
3
4
|
# (CLAUDE.md -> Before pushing). A slow pre-commit gets bypassed within a day, and a hook people bypass is worse than none because
|
|
4
5
|
# it manufactures confidence without providing it.
|
|
5
6
|
#
|
|
@@ -53,32 +54,32 @@ local_checks="$(git rev-parse --show-toplevel)/.husky/pre-commit.local"
|
|
|
53
54
|
if [ -f "$local_checks" ]; then
|
|
54
55
|
sh "$local_checks" || exit 1
|
|
55
56
|
fi
|
|
56
|
-
`;function
|
|
57
|
+
`;function ot(e){let t=``,n=!1;for(let r=0;r<e.length;r+=1){let i=e[r];if(n)t+=i,i===`\\`?(t+=e[r+1]??``,r+=1):i===`"`&&(n=!1);else if(i===`"`)n=!0,t+=i;else if(i===`/`&&e[r+1]===`/`){for(;r<e.length&&e[r]!==`
|
|
57
58
|
`;)r+=1;t+=`
|
|
58
|
-
`}else if(i===`/`&&e[r+1]===`*`){for(r+=2;r<e.length&&(e[r]!==`*`||e[r+1]!==`/`);)r+=1;r+=1}else t+=i}return JSON.parse(t.replace(/,(\s*[}\]])/g,`$1`))}var
|
|
59
|
-
`)])}var Qe=`metro-bridge`,$e=`This app does not expose the Metro development bridge. In App.js, or a module App.js imports, set globalThis.__METRO_BRIDGE__ = createMetroBridge({ store, navigationRef, signIn, signOut, isSignedIn }) from @webority/mobile-core/metro inside if (__DEV__) (react-native-procedures.md -> Debugging: the development bridge).`,et=/import\s*\{[^}]*\bcreateMetroBridge\b[^}]*\}\s*from\s*["']@webority\/mobile-core\/metro["']/,tt=/globalThis\.__METRO_BRIDGE__\s*=\s*createMetroBridge\s*\(/,nt=[`App.js`,d(`src`,`App.js`)],rt=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.ts`,`.tsx`]),it=/* @__PURE__ */ new Set([`node_modules`,`ios`,`android`,`build`,`dist`,`coverage`,`vendor`]),at=e=>e.split(`\\`).join(`/`),ot=e=>e.replace(/[^\n]/g,` `);function st(e){return e.replace(/\/\*[\s\S]*?\*\//g,ot).replace(/\/\/[^\n]*/g,ot)}function ct(e){return t(e)?r(e,`utf8`):``}function lt(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`))}catch{return null}}var ut=/if\s*\(\s*__DEV__\s*\)\s*\{/g;function dt(e,t){for(let n of e.matchAll(ut)){let r=n.index+n[0].length;if(r>t)break;let i=1;for(let n=r;n<t&&i>0;n++)e[n]===`{`?i++:e[n]===`}`&&i--;if(i>0)return!0}return!1}function ft(e){if(!e.includes(`__METRO_BRIDGE__`))return!1;let t=st(e);if(!et.test(t))return!1;let n=tt.exec(t);return n!==null&&dt(t,n.index)}function*pt(e){for(let t of i(e,{withFileTypes:!0})){if(t.name.startsWith(`.`))continue;let n=d(e,t.name);t.isDirectory()?it.has(t.name)||(yield*pt(n)):rt.has(u(t.name))&&(yield n)}}function mt(e){let n=lt(e);if(!n?.dependencies?.[`react-native`]||!t(d(e,`ios`))&&!t(d(e,`android`)))return[];let r=typeof n.main==`string`&&n.main?n.main:`index.js`,i=at(m(e,d(e,r)));if([d(e,r),...nt.map(t=>d(e,t))].some(e=>ft(ct(e))))return[];for(let t of pt(e))if(ft(ct(t)))return[];return[[`${Qe}:${i}`,`${i}:1 ${$e}`]]}var ht={color:/* @__PURE__ */ JSON.parse(`{"$type":"color","bg":{"$value":"{palette.bg-page}","$description":"Page background behind the content area."},"bg-subtle":{"$value":"{palette.bg-elevated}","$description":"Subtle raised background for side panels and bands."},"bg-muted":{"$value":"{palette.bg-muted}","$description":"Muted background for grouped areas and quiet controls."},"surface":{"$value":"{palette.bg-light}","$description":"Card and panel surface."},"surface-inverse":{"$value":"{palette.text-heading}","$description":"Inverse band on a page, such as a dark footer or an inverse toast."},"surface-inverse-raised":{"$value":"color-mix(in srgb, {color.text-inverse} 5%, {color.surface-inverse})","$description":"A card or panel one layer up on an inverse band.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-elevated":{"$value":"color-mix(in srgb, {color.text-inverse} 9%, {color.surface-inverse})","$description":"A floating or highlighted surface two layers up on an inverse band.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-dark":{"$value":"{palette.text-heading}","$description":"Band that stays dark in light and dark mode, such as a site footer or a dark hero."},"surface-dark-border":{"$value":"color-mix(in srgb, {palette.bg-light} 14%, {palette.text-heading})","$description":"Hairline border or divider on a surface-dark band."},"on-surface-dark":{"$value":"{palette.bg-light}","$description":"Text and icons on a surface-dark band."},"on-surface-dark-muted":{"$value":"color-mix(in srgb, {palette.bg-light} 72%, {palette.text-heading})","$description":"Secondary text on a surface-dark band."},"text":{"$value":"{palette.text-heading}","$description":"Main heading and body ink."},"text-body":{"$value":"{palette.text-1}","$description":"Body copy on a tinted surface such as an alert body."},"text-muted":{"$value":"{palette.text-2}","$description":"Secondary text for descriptions and muted copy."},"text-subtle":{"$value":"{palette.text-3}","$description":"Tertiary text for hints, captions, timestamps and placeholders."},"text-inverse":{"$value":"{palette.bg-light}","$description":"Text on an inverse surface."},"link":{"$value":"{palette.primary-ink}","$description":"Interactive link text."},"border":{"$value":"{palette.border-light}","$description":"Hairline border of cards, tables and dividers."},"border-subtle":{"$value":"{palette.border-soft}","$description":"Softest border for inner dividers and list edges."},"border-strong":{"$value":"{palette.border-strong}","$description":"Stronger border for emphasised separators, chart axes and unselected control outlines.","$extensions":{"com.webority":{"platforms":["web"]}}},"field-bg":{"$value":"{palette.field-bg}","$description":"Resting fill of input-like controls such as fields and selects."},"field-border":{"$value":"{palette.field-border}","$description":"Resting border of an input-like control such as a field or select."},"field-border-hover":{"$value":"{palette.field-border-hover}","$description":"Hover border of an input-like control.","$extensions":{"com.webority":{"platforms":["web"]}}},"field-border-focus":{"$value":"{palette.primary-30}","$description":"Border of a focused, open or active control such as an input or select."},"focus-ring":{"$value":"{color.primary-text}","$description":"Colour of the keyboard focus ring drawn on focus-visible controls."},"scrim":{"$value":"color-mix(in srgb, {palette.text-heading} 45%, transparent)","$description":"Dim behind page-level backdrops such as drawers, modals and the shell."},"scrim-strong":{"$value":"color-mix(in srgb, {palette.text-heading} 62%, transparent)","$description":"Stronger dim behind media overlays that carry white ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-scrim":{"$value":"{palette.bg-light}","$description":"Ink on a scrim, such as the text of an overlay."},"progress-track":{"$value":"{palette.progress-track}","$description":"Unfilled track of a progress bar or meter.","$extensions":{"com.webority":{"platforms":["web"]}}},"progress-label":{"$value":"{palette.bg-light}","$description":"Label text inside a progress bar fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"thumb":{"$value":"{palette.bg-light}","$description":"Raised thumb that marks the selected option of a segmented control."},"scrollbar":{"$value":"{palette.scrollbar}","$description":"Resting thumb colour of a thin scrollbar.","$extensions":{"com.webority":{"platforms":["web"]}}},"scrollbar-hover":{"$value":"{palette.scrollbar-hover}","$description":"Scrollbar thumb colour while it is hovered.","$extensions":{"com.webority":{"platforms":["web"]}}},"scrollbar-active":{"$value":"{palette.scrollbar-active}","$description":"Scrollbar thumb colour while it is dragged.","$extensions":{"com.webority":{"platforms":["web"]}}},"primary":{"$value":"{palette.primary}","$description":"Primary fill for buttons, selected states and borders."},"primary-hover":{"$value":"{palette.primary-pressed}","$description":"Primary fill while a control is hovered or pressed."},"primary-soft":{"$value":"{palette.primary-10}","$description":"Soft primary tint behind selected and highlighted rows."},"primary-text":{"$value":"{palette.primary-ink}","$description":"Primary as text and small glyphs on a page."},"on-primary":{"$value":"{palette.primary-text}","$description":"Text and icon colour on a solid primary fill."},"primary-wash":{"$value":"color-mix(in srgb, {color.primary} 8%, transparent)","$description":"Faint translucent primary wash over a surface."},"primary-wash-strong":{"$value":"color-mix(in srgb, {color.primary} 20%, transparent)","$description":"Stronger translucent primary wash over a surface."},"neutral":{"$value":"color-mix(in srgb, {color.text} 8%, transparent)","$description":"Quiet unbranded fill for supporting actions such as Back, Skip and Close."},"neutral-hover":{"$value":"color-mix(in srgb, {color.text} 12%, transparent)","$description":"Neutral fill while a control is hovered."},"neutral-pressed":{"$value":"color-mix(in srgb, {color.text} 16%, transparent)","$description":"Neutral fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"neutral-soft":{"$value":"color-mix(in srgb, {color.text-subtle} 16%, transparent)","$description":"Soft neutral background of the neutral status pill.","$extensions":{"com.webority":{"platforms":["web"]}}},"neutral-text":{"$value":"{color.text-muted}","$description":"Text on the soft neutral background."},"on-neutral":{"$value":"{color.text}","$description":"Ink on a neutral fill."},"success":{"$value":"{palette.success}","$description":"Vivid success fill for badges, dots and success buttons."},"success-pressed":{"$value":"{palette.success-active}","$description":"Success fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"success-soft":{"$value":"{palette.success-10}","$description":"Soft success background of alerts and badges."},"success-border":{"$value":"{palette.success-30}","$description":"Tinted success border of alerts and badges.","$extensions":{"com.webority":{"platforms":["web"]}}},"success-text":{"$value":"{palette.success-text}","$description":"Success colour as text on a page or a soft success tint."},"success-text-on-soft":{"$value":"{palette.success-text}","$description":"Success text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"success-strong":{"$value":"{palette.success-strong}","$description":"Deep success fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-success":{"$value":"#FFFFFF","$description":"Ink on a solid success fill."},"on-success-strong":{"$value":"#FFFFFF","$description":"Ink on a deep success fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning":{"$value":"{palette.warning}","$description":"Vivid warning fill for badges, dots and warning buttons."},"warning-pressed":{"$value":"{palette.warning-active}","$description":"Warning fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-soft":{"$value":"{palette.warning-10}","$description":"Soft warning background of alerts and badges."},"warning-border":{"$value":"{palette.warning-30}","$description":"Tinted warning border of alerts and badges.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-text":{"$value":"{palette.warning-text}","$description":"Warning colour as text on a page or a soft warning tint."},"warning-text-on-soft":{"$value":"{palette.warning-text}","$description":"Warning text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-strong":{"$value":"{palette.warning-strong}","$description":"Deep warning fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-strong-hover":{"$value":"{palette.warning-strong-hover}","$description":"Deep warning fill while a control is hovered or pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-warning":{"$value":"#FFFFFF","$description":"Ink on a solid warning fill."},"on-warning-strong":{"$value":"#FFFFFF","$description":"Ink on a deep warning fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger":{"$value":"{palette.danger}","$description":"Vivid danger fill for badges, dots and danger buttons."},"danger-pressed":{"$value":"{palette.danger-active}","$description":"Danger fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger-soft":{"$value":"{palette.danger-10}","$description":"Soft danger background of alerts and badges."},"danger-border":{"$value":"{palette.danger-30}","$description":"Tinted danger border of alerts and badges."},"danger-text":{"$value":"{palette.danger-text}","$description":"Danger colour as text on a page or a soft danger tint."},"danger-text-on-soft":{"$value":"{palette.danger-text}","$description":"Danger text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger-strong":{"$value":"{palette.danger-strong}","$description":"Deep danger fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger-strong-hover":{"$value":"{palette.danger-strong-hover}","$description":"Deep danger fill while a control is hovered or pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-danger":{"$value":"#FFFFFF","$description":"Ink on a solid danger fill."},"on-danger-strong":{"$value":"#FFFFFF","$description":"Ink on a deep danger fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"info":{"$value":"{palette.info}","$description":"Vivid info fill for badges, dots and info buttons."},"info-pressed":{"$value":"{palette.info-active}","$description":"Info fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"info-soft":{"$value":"{palette.info-10}","$description":"Soft info background of alerts and badges."},"info-border":{"$value":"{palette.info-30}","$description":"Tinted info border of alerts and badges.","$extensions":{"com.webority":{"platforms":["web"]}}},"info-text":{"$value":"{palette.info-text}","$description":"Info colour as text on a page or a soft info tint."},"info-text-on-soft":{"$value":"{palette.info-text}","$description":"Info text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"info-strong":{"$value":"{palette.info-active}","$description":"Deep info fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-info":{"$value":"#FFFFFF","$description":"Ink on a solid info fill."},"on-info-strong":{"$value":"#FFFFFF","$description":"Ink on a deep info fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-1":{"$value":"{palette.primary}","$description":"Colour of chart series 1, the brand primary.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-2":{"$value":"{palette.chart-2}","$description":"Colour of chart series 2 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-3":{"$value":"{palette.chart-3}","$description":"Colour of chart series 3 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-4":{"$value":"{palette.chart-4}","$description":"Colour of chart series 4 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-5":{"$value":"{palette.chart-5}","$description":"Colour of chart series 5 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-6":{"$value":"{palette.chart-6}","$description":"Colour of chart series 6 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-7":{"$value":"{palette.chart-7}","$description":"Colour of chart series 7 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-8":{"$value":"{palette.chart-8}","$description":"Colour of chart series 8 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-0":{"$value":"{palette.bg-muted}","$description":"Faintest step of the magnitude ramp, for empty heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-1":{"$value":"{palette.primary-10}","$description":"First step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-2":{"$value":"{palette.primary-20}","$description":"Second step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-3":{"$value":"{palette.primary-30}","$description":"Third step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-4":{"$value":"{palette.primary-50}","$description":"Fourth step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-5":{"$value":"{palette.primary-hover}","$description":"Fifth step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-6":{"$value":"{palette.primary-pressed}","$description":"Strongest step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-diverging-low":{"$value":"{palette.chart-diverging-low}","$description":"Colour of values below the midpoint in a diverging chart.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-diverging-mid":{"$value":"{palette.chart-diverging-mid}","$description":"Neutral midpoint colour of a diverging chart.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-diverging-high":{"$value":"{palette.chart-diverging-high}","$description":"Colour of values above the midpoint in a diverging chart.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-neutral":{"$value":"{palette.chart-neutral}","$description":"Context series colour, such as the last period, and the folded Other slice.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-grid":{"$value":"{color.border}","$description":"Gridline colour of charts.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-axis":{"$value":"{color.border-strong}","$description":"Axis line colour of charts.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-label":{"$value":"{color.text-subtle}","$description":"Tick and legend text colour of charts.","$extensions":{"com.webority":{"platforms":["web"]}}},"primary-pressed":{"$value":"{palette.phone-primary-pressed}","$description":"Primary fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["phone"]}}},"on-neutral-strong":{"$value":"{palette.phone-on-neutral-strong}","$description":"Ink on the solid grey fill of a neutral badge, banner or avatar.","$extensions":{"com.webority":{"platforms":["phone"]}}},"text-disabled":{"$value":"{palette.phone-text-disabled}","$description":"Text of a disabled control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-pressed":{"$value":"{palette.phone-surface-pressed}","$description":"Wash over a surface while it is pressed.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-hover":{"$value":"{palette.phone-surface-hover}","$description":"Wash over a surface under a pointer.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-selected":{"$value":"{palette.phone-surface-selected}","$description":"Wash over a selected surface such as a chosen list row.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-disabled":{"$value":"{palette.phone-surface-disabled}","$description":"Fill of a disabled surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"skeleton":{"$value":"{palette.phone-skeleton}","$description":"Base fill of a loading placeholder.","$extensions":{"com.webority":{"platforms":["phone"]}}},"skeleton-highlight":{"$value":"{palette.phone-skeleton-highlight}","$description":"Moving highlight across a loading placeholder.","$extensions":{"com.webority":{"platforms":["phone"]}}},"glass-fill":{"$value":"{palette.phone-glass-fill}","$description":"Translucent fill of a control sitting on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"glass-border":{"$value":"{palette.phone-glass-border}","$description":"Border of a translucent control on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"on-glass":{"$value":"{palette.phone-on-glass}","$description":"Ink on a translucent control on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"glass-badge":{"$value":"{palette.phone-glass-badge}","$description":"Badge fill on a translucent control on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-bg-focus":{"$value":"{palette.phone-field-bg-focus}","$description":"Fill of a focused input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-bg-disabled":{"$value":"{palette.phone-field-bg-disabled}","$description":"Fill of a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-border-error":{"$value":"{palette.phone-field-border-error}","$description":"Border of an input-like control holding an invalid value.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-label":{"$value":"{palette.phone-field-label}","$description":"Label above an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-text":{"$value":"{palette.phone-field-text}","$description":"Value text inside an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-text-disabled":{"$value":"{palette.phone-field-text-disabled}","$description":"Value text inside a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-placeholder":{"$value":"{palette.phone-field-placeholder}","$description":"Placeholder text inside an empty input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-placeholder-disabled":{"$value":"{palette.phone-field-placeholder-disabled}","$description":"Placeholder text inside a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-icon":{"$value":"{palette.phone-field-icon}","$description":"Icon inside an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-icon-focus":{"$value":"{palette.phone-field-icon-focus}","$description":"Icon inside a focused input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-icon-disabled":{"$value":"{palette.phone-field-icon-disabled}","$description":"Icon inside a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-caret":{"$value":"{palette.phone-field-caret}","$description":"Text caret inside an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-message":{"$value":"{palette.phone-field-message}","$description":"Error message under an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-1":{"$value":"{palette.phone-avatar-1}","$description":"Background behind a person's initials, picked by a hash of the name (slot 1 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-2":{"$value":"{palette.phone-avatar-2}","$description":"Background behind a person's initials, picked by a hash of the name (slot 2 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-3":{"$value":"{palette.phone-avatar-3}","$description":"Background behind a person's initials, picked by a hash of the name (slot 3 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-4":{"$value":"{palette.phone-avatar-4}","$description":"Background behind a person's initials, picked by a hash of the name (slot 4 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-5":{"$value":"{palette.phone-avatar-5}","$description":"Background behind a person's initials, picked by a hash of the name (slot 5 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-6":{"$value":"{palette.phone-avatar-6}","$description":"Background behind a person's initials, picked by a hash of the name (slot 6 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-7":{"$value":"{palette.phone-avatar-7}","$description":"Background behind a person's initials, picked by a hash of the name (slot 7 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-8":{"$value":"{palette.phone-avatar-8}","$description":"Background behind a person's initials, picked by a hash of the name (slot 8 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}}}`),effect:{"close-filter":{$type:`filter`,$value:`none`,$description:`Filter applied to a dark-ink close glyph such as the alert close button.`},"pressed-overlay":{$type:`overlay`,$value:`color-mix(in srgb, currentColor 12%, transparent)`,$description:`Translucent wash laid over a control while it is pressed.`},"hero-gradient":{$type:`gradient`,$value:`radial-gradient(ellipse 120% 80% at 50% 30%, #818CF8 0%, #4F46E5 35%, #4338CA 75%, #312E81 100%)`,$description:`Background gradient of the hero band on marketing pages.`},"cta-gradient":{$type:`gradient`,$value:`radial-gradient(ellipse 120% 100% at 50% 50%, #312E81 0%, #1E1B4B 60%, #0F0D2E 100%)`,$description:`Background gradient of the call-to-action band on marketing pages.`},$extensions:{"com.webority":{platforms:[`web`]}}},leading:{$type:`number`,heading:{$value:1.2,$description:`Line height of headings.`},body:{$value:1.55,$description:`Line height of running text and of any text that is not a heading or display text.`},display:{$value:1.05,$description:`Line height of display-size text such as hero titles.`}}},gt={palette:{"phone-bg":{$value:`#0B0B12`},"phone-bg-subtle":{$value:`#13131C`},"phone-bg-muted":{$value:`#1C1C26`},"phone-surface":{$value:`#1C1C26`},"phone-surface-inverse":{$value:`#FAFAFA`},"phone-text":{$value:`#E2E2E2`},"phone-text-body":{$value:`#FAFAFA`},"phone-text-muted":{$value:`#B4B4BB`},"phone-text-subtle":{$value:`#919199`},"phone-text-inverse":{$value:`#0F0F1A`},"phone-link":{$value:`#9292EE`},"phone-border":{$value:`#27272F`},"phone-border-subtle":{$value:`#1C1C26`},"phone-focus-ring":{$value:`#7C7CE8`},"phone-scrim":{$value:`rgba(0, 0, 0, 0.65)`},"phone-field-bg":{$value:`#13131C`},"phone-field-border":{$value:`#27272F`},"phone-field-border-focus":{$value:`#3D5FB0`},"phone-primary":{$value:`#7C7CE8`},"phone-primary-hover":{$value:`#9292EE`},"phone-primary-soft":{$value:`#1F1F3D`},"phone-primary-text":{$value:`#8989EA`},"phone-on-primary":{$value:`#0F0F1A`},"phone-success":{$value:`#30C780`},"phone-success-text":{$value:`#30C780`},"phone-on-success":{$value:`#0F0F1A`},"phone-warning":{$value:`#FBBF24`},"phone-warning-text":{$value:`#FBBF24`},"phone-danger":{$value:`#F87171`},"phone-danger-text":{$value:`#F87171`},"phone-on-danger":{$value:`#0F0F1A`},"phone-danger-border":{$value:`#F87171`},"phone-info":{$value:`#60A5FA`},"phone-info-text":{$value:`#60A5FA`},"phone-on-info":{$value:`#0F0F1A`},"phone-neutral":{$value:`#1F1F26`},"phone-neutral-hover":{$value:`#2A2A33`},"phone-on-neutral":{$value:`#FAFAFA`},"phone-primary-pressed":{$value:`#A8A8F2`},"phone-on-neutral-strong":{$value:`#0F0F1A`},"phone-text-disabled":{$value:`#52525B`},"phone-surface-pressed":{$value:`rgba(255, 255, 255, 0.08)`},"phone-surface-hover":{$value:`rgba(255, 255, 255, 0.05)`},"phone-surface-selected":{$value:`rgba(124, 124, 232, 0.18)`},"phone-surface-disabled":{$value:`#1C1C26`},"phone-skeleton":{$value:`#1C1C26`},"phone-skeleton-highlight":{$value:`#27272F`},"phone-field-bg-focus":{$value:`#0B0B12`},"phone-field-bg-disabled":{$value:`#1C1C26`},"phone-field-border-error":{$value:`#8A2F42`},"phone-field-label":{$value:`#E4E6EE`},"phone-field-text":{$value:`#FAFAFA`},"phone-field-text-disabled":{$value:`#71717A`},"phone-field-placeholder":{$value:`#84848D`},"phone-field-placeholder-disabled":{$value:`#71717A`},"phone-field-icon":{$value:`#8B8B95`},"phone-field-icon-focus":{$value:`#D4D4DB`},"phone-field-icon-disabled":{$value:`#52525B`},"phone-field-caret":{$value:`#7C9EF0`},"phone-field-message":{$value:`#F87171`},"phone-avatar-1":{$value:`#8B8BEE`},"phone-avatar-2":{$value:`#2DD4BF`},"phone-avatar-3":{$value:`#FCD34D`},"phone-avatar-4":{$value:`#F472B6`},"phone-avatar-5":{$value:`#60A5FA`},"phone-avatar-6":{$value:`#A78BFA`},"phone-avatar-7":{$value:`#34D399`},"phone-avatar-8":{$value:`#F87171`},"phone-shadow-sm":{$value:`rgba(0, 0, 0, 0.4)`},"phone-shadow-md":{$value:`rgba(0, 0, 0, 0.5)`},"phone-shadow-lg":{$value:`rgba(0, 0, 0, 0.55)`},"phone-shadow-xl":{$value:`rgba(0, 0, 0, 0.6)`},"primary-5":{$value:`color-mix(in srgb, {palette.dark-primary} 10%, {palette.dark-bg-surface})`},"primary-10":{$value:`color-mix(in srgb, {palette.dark-primary} 16%, {palette.dark-bg-surface})`},"primary-15":{$value:`color-mix(in srgb, {palette.dark-primary} 21%, {palette.dark-bg-surface})`},"primary-20":{$value:`color-mix(in srgb, {palette.dark-primary} 26%, {palette.dark-bg-surface})`},"primary-30":{$value:`color-mix(in srgb, {palette.dark-primary} 40%, {palette.dark-bg-surface})`},"primary-50":{$value:`color-mix(in srgb, {palette.dark-primary} 62%, {palette.dark-bg-surface})`},"surface-mute":{$value:`{palette.dark-bg-muted}`},"surface-soft":{$value:`color-mix(in srgb, {palette.dark-primary} 10%, {palette.dark-bg-surface})`},"surface-violet-soft":{$value:`color-mix(in srgb, {palette.dark-primary} 6%, {palette.dark-bg-surface})`},"danger-5":{$value:`color-mix(in srgb, {palette.danger} 10%, {palette.dark-bg-surface})`},"danger-10":{$value:`color-mix(in srgb, {palette.danger} 16%, {palette.dark-bg-surface})`},"info-5":{$value:`color-mix(in srgb, {palette.info} 10%, {palette.dark-bg-surface})`},"info-10":{$value:`color-mix(in srgb, {palette.info} 16%, {palette.dark-bg-surface})`},"success-5":{$value:`color-mix(in srgb, {palette.success} 10%, {palette.dark-bg-surface})`},"success-10":{$value:`color-mix(in srgb, {palette.success} 16%, {palette.dark-bg-surface})`},"warning-5":{$value:`color-mix(in srgb, {palette.warning} 10%, {palette.dark-bg-surface})`},"warning-10":{$value:`color-mix(in srgb, {palette.warning} 16%, {palette.dark-bg-surface})`},"neutral-bg-light":{$value:`{palette.dark-bg-surface}`},"neutral-bg-dark":{$value:`{palette.dark-bg-muted}`},"chart-1":{$value:`{palette.dark-primary}`},"chart-2":{$value:`{palette.dark-chart-2}`},"chart-3":{$value:`{palette.dark-chart-3}`},"chart-4":{$value:`{palette.dark-chart-4}`},"chart-5":{$value:`{palette.dark-chart-5}`},"chart-6":{$value:`{palette.dark-chart-6}`},"chart-7":{$value:`{palette.dark-chart-7}`},"chart-8":{$value:`{palette.dark-chart-8}`},"chart-seq-0":{$value:`{palette.dark-chart-seq-0}`},"chart-seq-1":{$value:`{palette.dark-chart-seq-1}`},"chart-seq-2":{$value:`{palette.dark-chart-seq-2}`},"chart-seq-3":{$value:`{palette.dark-chart-seq-3}`},"chart-seq-4":{$value:`{palette.dark-chart-seq-4}`},"chart-seq-5":{$value:`{palette.dark-chart-seq-5}`},"chart-seq-6":{$value:`{palette.dark-chart-seq-6}`},"chart-diverging-low":{$value:`{palette.dark-chart-diverging-low}`},"chart-diverging-mid":{$value:`{palette.dark-chart-diverging-mid}`},"chart-diverging-high":{$value:`{palette.dark-chart-diverging-high}`},"chart-neutral":{$value:`{palette.dark-chart-neutral}`}},color:{bg:{$value:`{palette.dark-bg-page}`},"bg-subtle":{$value:`{palette.dark-bg-elevated}`},"bg-muted":{$value:`{palette.dark-bg-muted}`},surface:{$value:`{palette.dark-bg-surface}`},"surface-inverse":{$value:`{palette.dark-text}`},text:{$value:`{palette.dark-text}`},"text-body":{$value:`{palette.dark-text}`},"text-muted":{$value:`{palette.dark-text-muted}`},"text-subtle":{$value:`{palette.dark-text-subtle}`},"text-inverse":{$value:`{palette.text-heading}`},link:{$value:`{palette.dark-primary}`},border:{$value:`{palette.dark-border}`},"border-subtle":{$value:`color-mix(in srgb, {palette.dark-border} 50%, transparent)`},"border-strong":{$value:`{palette.dark-border-strong}`},"field-bg":{$value:`{palette.dark-bg-muted}`},"field-border":{$value:`{palette.dark-field-border}`},"field-border-hover":{$value:`{palette.dark-field-border-hover}`},"field-border-focus":{$value:`{palette.dark-primary}`},scrim:{$value:`color-mix(in srgb, #000000 45%, transparent)`},"scrim-strong":{$value:`color-mix(in srgb, #000000 62%, transparent)`},"progress-track":{$value:`{palette.dark-progress-track}`},"progress-label":{$value:`#0F0F0F`},thumb:{$value:`color-mix(in srgb, {palette.dark-text} 12%, {palette.dark-bg-muted})`},primary:{$value:`{palette.dark-primary}`},"primary-hover":{$value:`{palette.dark-primary-hover}`},"primary-soft":{$value:`color-mix(in srgb, {palette.primary} 20%, transparent)`},"primary-text":{$value:`{palette.dark-primary}`},"on-primary":{$value:`#0F0F0F`},"success-soft":{$value:`color-mix(in srgb, {palette.success} 18%, transparent)`},"success-text":{$value:`color-mix(in srgb, {palette.success} 75%, white)`},"success-text-on-soft":{$value:`color-mix(in srgb, {palette.success} 65%, white)`},"success-strong":{$value:`{color.success-text}`},"on-success-strong":{$value:`#0F0F0F`},"warning-soft":{$value:`color-mix(in srgb, {palette.warning} 18%, transparent)`},"warning-text":{$value:`color-mix(in srgb, {palette.warning} 75%, white)`},"warning-text-on-soft":{$value:`color-mix(in srgb, {palette.warning} 65%, white)`},"warning-strong":{$value:`{color.warning-text}`},"on-warning-strong":{$value:`#0F0F0F`},"danger-soft":{$value:`color-mix(in srgb, {palette.danger} 18%, transparent)`},"danger-text":{$value:`color-mix(in srgb, {palette.danger} 75%, white)`},"danger-text-on-soft":{$value:`color-mix(in srgb, {palette.danger} 65%, white)`},"danger-strong":{$value:`{color.danger-text}`},"on-danger-strong":{$value:`#0F0F0F`},"info-soft":{$value:`color-mix(in srgb, {palette.info} 18%, transparent)`},"info-text":{$value:`color-mix(in srgb, {palette.info} 75%, white)`},"info-text-on-soft":{$value:`color-mix(in srgb, {palette.info} 65%, white)`},"info-strong":{$value:`{color.info-text}`},"on-info-strong":{$value:`#0F0F0F`},"chart-1":{$value:`{palette.dark-primary}`},"chart-2":{$value:`{palette.dark-chart-2}`},"chart-3":{$value:`{palette.dark-chart-3}`},"chart-4":{$value:`{palette.dark-chart-4}`},"chart-5":{$value:`{palette.dark-chart-5}`},"chart-6":{$value:`{palette.dark-chart-6}`},"chart-7":{$value:`{palette.dark-chart-7}`},"chart-8":{$value:`{palette.dark-chart-8}`},"chart-seq-0":{$value:`{palette.dark-chart-seq-0}`},"chart-seq-1":{$value:`{palette.dark-chart-seq-1}`},"chart-seq-2":{$value:`{palette.dark-chart-seq-2}`},"chart-seq-3":{$value:`{palette.dark-chart-seq-3}`},"chart-seq-4":{$value:`{palette.dark-chart-seq-4}`},"chart-seq-5":{$value:`{palette.dark-chart-seq-5}`},"chart-seq-6":{$value:`{palette.dark-chart-seq-6}`},"chart-diverging-low":{$value:`{palette.dark-chart-diverging-low}`},"chart-diverging-mid":{$value:`{palette.dark-chart-diverging-mid}`},"chart-diverging-high":{$value:`{palette.dark-chart-diverging-high}`},"chart-neutral":{$value:`{palette.dark-chart-neutral}`},success:{$value:`#30C780`},warning:{$value:`#FBBF24`},danger:{$value:`#F87171`},info:{$value:`#60A5FA`},"on-success":{$value:`#0F0F1A`},"on-warning":{$value:`#0F0F1A`},"on-danger":{$value:`#0F0F1A`},"on-info":{$value:`#0F0F1A`},"success-pressed":{$value:`color-mix(in srgb, {color.success} 85%, white)`},"warning-pressed":{$value:`color-mix(in srgb, {color.warning} 85%, white)`},"danger-pressed":{$value:`color-mix(in srgb, {color.danger} 85%, white)`},"info-pressed":{$value:`color-mix(in srgb, {color.info} 85%, white)`},"success-border":{$value:`color-mix(in srgb, {color.success} 40%, transparent)`},"warning-border":{$value:`color-mix(in srgb, {color.warning} 40%, transparent)`},"danger-border":{$value:`color-mix(in srgb, {color.danger} 40%, transparent)`},"info-border":{$value:`color-mix(in srgb, {color.info} 40%, transparent)`},"warning-strong-hover":{$value:`color-mix(in srgb, {color.warning-strong} 85%, white)`},"danger-strong-hover":{$value:`color-mix(in srgb, {color.danger-strong} 85%, white)`},scrollbar:{$value:`rgba(255, 255, 255, 0.18)`},"scrollbar-hover":{$value:`rgba(255, 255, 255, 0.28)`},"scrollbar-active":{$value:`rgba(255, 255, 255, 0.4)`}},effect:{"close-filter":{$value:`invert(1) grayscale(100%) brightness(200%)`}},shadow:{popover:{$value:{color:`rgba(0, 0, 0, 0.55)`,offsetX:{value:0,unit:`px`},offsetY:{value:8,unit:`px`},blur:{value:28,unit:`px`},spread:{value:-6,unit:`px`}}},modal:{$value:{color:`rgba(0, 0, 0, 0.7)`,offsetX:{value:0,unit:`px`},offsetY:{value:24,unit:`px`},blur:{value:60,unit:`px`},spread:{value:-16,unit:`px`}}}},component:{thumb:{shadow:{$value:`0 2px 6px rgba(255, 255, 255, 0.1)`},"shadow-hover":{$value:`0 2px 12px rgba(255, 255, 255, 0.2)`}}}},_t={palette:/* @__PURE__ */ JSON.parse(`{"$description":"Raw colours. Library-internal: product code, phone code and Canvas read meanings, never these.","$extensions":{"com.webority":{"internal":true}},"primary":{"$type":"color","$value":"#4F46E5","$description":"Brand primary fill for primary buttons, selected states and the first chart series."},"primary-hover":{"$type":"color","$value":"#6366F1","$description":"Primary fill while a control is hovered."},"primary-pressed":{"$type":"color","$value":"#4338CA","$description":"Primary fill while a control is pressed or active."},"primary-50":{"$type":"color","$value":"#818CF8","$description":"Strongest soft primary fill or border tint that follows dark mode."},"primary-30":{"$type":"color","$value":"#A5B4FC","$description":"Medium soft primary fill or border tint that follows dark mode."},"primary-20":{"$type":"color","$value":"#C7D2FE","$description":"Light soft primary fill or border tint that follows dark mode."},"primary-15":{"$type":"color","$value":"#DDE1FD","$description":"Lighter soft primary fill or border tint that follows dark mode."},"primary-10":{"$type":"color","$value":"#E0E7FF","$description":"Pale soft primary fill or border tint that follows dark mode."},"primary-5":{"$type":"color","$value":"#EEF2FF","$description":"Faintest soft primary fill or border tint that follows dark mode."},"text-heading":{"$type":"color","$value":"#071437","$description":"Heading ink for page and section titles."},"text-1":{"$type":"color","$value":"#252F4A","$description":"Primary body text, a step softer than the heading ink."},"text-2":{"$type":"color","$value":"#4B5675","$description":"Secondary text for descriptions, sub-labels and muted copy."},"text-3":{"$type":"color","$value":"#626A82","$description":"Tertiary text for hints, captions, labels, timestamps and placeholders."},"text-4":{"$type":"color","$value":"#99A1B7","$description":"Decorative faint ink, not for text a person must read."},"text-5":{"$type":"color","$value":"#C4CADA","$description":"Faintest ink, for decorative marks."},"bg-page":{"$type":"color","$value":"#F4F6F8","$description":"Page background behind every surface in light mode."},"bg-light":{"$type":"color","$value":"#FFFFFF","$description":"White card and panel surface, the lightest fill in light mode."},"bg-elevated":{"$type":"color","$value":"#F9FBFC","$description":"Subtle raised surface, one step off the page."},"bg-muted":{"$type":"color","$value":"#F5F6FA","$description":"Muted fill for grouped areas and quiet controls."},"field-bg":{"$type":"color","$value":"#F9FBFC","$description":"Resting fill of every input-like control, such as fields, selects and textareas."},"field-border":{"$type":"color","$value":"#DFE2EA","$description":"Resting border of every input-like control."},"field-border-hover":{"$type":"color","$value":"#C4CADA","$description":"Hover border of every input-like control."},"border-light":{"$type":"color","$value":"#EBEDF3","$description":"Default hairline border of cards, tables and dividers."},"border-soft":{"$type":"color","$value":"#F4F6F8","$description":"Softest border, for inner dividers."},"border-strong":{"$type":"color","$value":"#C4CADA","$description":"Strong border for emphasised separators, chart axes and unselected control outlines."},"progress-track":{"$type":"color","$value":"#E1E5EE","$description":"Unfilled track of a progress bar or meter."},"scrollbar":{"$type":"color","$value":"rgba(145, 158, 171, 0.45)","$description":"Resting thumb colour of a thin scrollbar."},"scrollbar-hover":{"$type":"color","$value":"rgba(145, 158, 171, 0.65)","$description":"Scrollbar thumb colour while it is hovered."},"scrollbar-active":{"$type":"color","$value":"rgba(145, 158, 171, 0.85)","$description":"Scrollbar thumb colour while it is dragged."},"surface-soft":{"$type":"color","$value":"#F2EFFE","$description":"Soft tint surface for marketing callouts and mega-menu hover."},"surface-violet":{"$type":"color","$value":"#ECE4FE","$description":"Violet-tinted surface for marketing section accents and callout cards."},"surface-violet-soft":{"$type":"color","$value":"#FCFCFC","$description":"Near-white surface for marketing section accents."},"surface-mute":{"$type":"color","$value":"#F9FBFC","$description":"Neutral wash surface for marketing sections and panels."},"ink":{"$type":"color","$value":"#000000","$description":"Pure black ink, the highest-contrast text colour."},"fg-2":{"$type":"color","$value":"{palette.text-1}","$description":"Marketing alias of the primary body text ink."},"fg-3":{"$type":"color","$value":"{palette.text-2}","$description":"Marketing alias of the secondary text ink."},"fg-4":{"$type":"color","$value":"{palette.text-3}","$description":"Marketing alias of the tertiary text ink."},"fg-5":{"$type":"color","$value":"{palette.text-5}","$description":"Marketing alias of the faintest text ink."},"neutral-border-dark":{"$type":"color","$value":"#EBEDF3","$description":"Border tone of table emphasis rows and dividers."},"neutral-border-light":{"$type":"color","$value":"#F9FBFC","$description":"Faintest border tone, for dividers."},"neutral-bg-dark":{"$type":"color","$value":"#F5F6FA","$description":"Muted background of table emphasis rows and mega-menu hover."},"neutral-bg-light":{"$type":"color","$value":"#F9FBFC","$description":"Faint background for table emphasis and mega-menu hover."},"accent-dark":{"$type":"color","$value":"{palette.primary-pressed}","$description":"Pressed and hover accent colour in CSS, following the pressed primary."},"primary-text":{"$type":"color","$value":"#ffffff","$description":"Text and icon colour on a solid primary fill, such as a primary button label."},"primary-ink":{"$type":"color","$value":"{palette.primary}","$description":"Primary as text and small glyphs on light surfaces."},"info-text":{"$type":"color","$value":"#1460ba","$description":"Info colour as text on light surfaces."},"info-active":{"$type":"color","$value":"#056EE9","$description":"Info ink for icons and active states on light surfaces."},"info":{"$type":"color","$value":"#056EE9","$description":"Vivid info fill for badges, dots and info buttons."},"info-50":{"$type":"color","$value":"#8DC2FF","$description":"Info tint 50 for borders and the strongest soft info fill."},"info-30":{"$type":"color","$value":"#BBDBFF","$description":"Info tint 30 for soft fills and borders of alerts and badges."},"info-20":{"$type":"color","$value":"#D1E6FF","$description":"Info tint 20 for soft fills behind info alerts and badges."},"info-10":{"$type":"color","$value":"#E9F3FF","$description":"Info tint 10, the soft background of info alerts and badges."},"info-5":{"$type":"color","$value":"#F3F9FF","$description":"Faintest info tint, for hover washes and soft info backgrounds."},"success-text":{"$type":"color","$value":"#0e7531","$description":"Success colour as text on light surfaces, darkened to pass AA."},"success-strong":{"$type":"color","$value":"#0e7531","$description":"Deep success fill behind white text, such as progress-bar labels."},"success-active":{"$type":"color","$value":"#04B440","$description":"Active success fill, the deepest vivid success tone."},"success":{"$type":"color","$value":"#04B440","$description":"Vivid success fill for badges, dots and success buttons."},"success-50":{"$type":"color","$value":"#8BE3A9","$description":"Success tint 50 for borders and the strongest soft success fill."},"success-30":{"$type":"color","$value":"#BAEECC","$description":"Success tint 30 for soft fills and borders of alerts and badges."},"success-20":{"$type":"color","$value":"#D1F4DD","$description":"Success tint 20 for soft fills behind success alerts and badges."},"success-10":{"$type":"color","$value":"#E8FAEE","$description":"Success tint 10, the soft background of success alerts and badges."},"success-5":{"$type":"color","$value":"#F3FCF6","$description":"Faintest success tint, for hover washes and soft success backgrounds."},"warning-text":{"$type":"color","$value":"#876100","$description":"Warning colour as text on light surfaces, darkened to pass AA."},"warning-strong":{"$type":"color","$value":"#9A6B00","$description":"Deep warning fill behind white text, such as the warning button."},"warning-strong-hover":{"$type":"color","$value":"#855C00","$description":"Deep warning fill while a warning button with white text is hovered."},"warning-active":{"$type":"color","$value":"#DFA000","$description":"Active warning fill, the deepest vivid warning tone."},"warning":{"$type":"color","$value":"#DFA000","$description":"Vivid warning fill for badges and dots."},"warning-50":{"$type":"color","$value":"#FBD880","$description":"Warning tint 50 for borders and the strongest soft warning fill."},"warning-30":{"$type":"color","$value":"#FDE8B3","$description":"Warning tint 30 for soft fills and borders of alerts and badges."},"warning-20":{"$type":"color","$value":"#FDEFCC","$description":"Warning tint 20 for soft fills behind warning alerts and badges."},"warning-10":{"$type":"color","$value":"#FFF8E6","$description":"Warning tint 10, the soft background of warning alerts and badges."},"warning-5":{"$type":"color","$value":"#FEFBF2","$description":"Faintest warning tint, for hover washes and soft warning backgrounds."},"danger-text":{"$type":"color","$value":"#CF1735","$description":"Error text colour for validation messages and danger text on light surfaces."},"danger-strong":{"$type":"color","$value":"#C81340","$description":"Deep danger fill behind white text, such as the danger button."},"danger-strong-hover":{"$type":"color","$value":"#AB1036","$description":"Deep danger fill while a danger button with white text is hovered."},"danger-active":{"$type":"color","$value":"#E82646","$description":"Active danger fill, the deepest vivid danger tone."},"danger":{"$type":"color","$value":"#E82646","$description":"Vivid danger fill for badges, dots and danger buttons."},"danger-50":{"$type":"color","$value":"#FC94AD","$description":"Danger tint 50 for borders and the strongest soft danger fill."},"danger-30":{"$type":"color","$value":"#FDBFCE","$description":"Danger tint 30 for soft fills and borders of alerts and badges."},"danger-20":{"$type":"color","$value":"#FED4DE","$description":"Danger tint 20 for soft fills behind danger alerts and badges."},"danger-10":{"$type":"color","$value":"#FFEAEF","$description":"Danger tint 10, the soft background of danger alerts and badges."},"danger-5":{"$type":"color","$value":"#FEF4F6","$description":"Faintest danger tint, for hover washes and soft danger backgrounds."},"chart-1":{"$type":"color","$value":"{palette.primary}","$description":"Colour of chart series 1, the brand primary."},"chart-2":{"$type":"color","$value":"#eb6834","$description":"Colour of chart series 2 of the eight categorical series."},"chart-3":{"$type":"color","$value":"#1baf7a","$description":"Colour of chart series 3 of the eight categorical series."},"chart-4":{"$type":"color","$value":"#eda100","$description":"Colour of chart series 4 of the eight categorical series."},"chart-5":{"$type":"color","$value":"#e87ba4","$description":"Colour of chart series 5 of the eight categorical series."},"chart-6":{"$type":"color","$value":"#008300","$description":"Colour of chart series 6 of the eight categorical series."},"chart-7":{"$type":"color","$value":"#2a78d6","$description":"Colour of chart series 7 of the eight categorical series."},"chart-8":{"$type":"color","$value":"#e34948","$description":"Colour of chart series 8 of the eight categorical series."},"chart-seq-0":{"$type":"color","$value":"{palette.bg-muted}","$description":"Faintest step of the magnitude ramp, for empty heatmap and calendar cells."},"chart-seq-1":{"$type":"color","$value":"{palette.primary-10}","$description":"First step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-2":{"$type":"color","$value":"{palette.primary-20}","$description":"Second step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-3":{"$type":"color","$value":"{palette.primary-30}","$description":"Third step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-4":{"$type":"color","$value":"{palette.primary-50}","$description":"Fourth step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-5":{"$type":"color","$value":"{palette.primary-hover}","$description":"Fifth step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-6":{"$type":"color","$value":"{palette.primary-pressed}","$description":"Strongest step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-diverging-low":{"$type":"color","$value":"#e34948","$description":"Colour of values below the midpoint in a diverging chart."},"chart-diverging-mid":{"$type":"color","$value":"#c4cada","$description":"Neutral midpoint colour of a diverging chart."},"chart-diverging-high":{"$type":"color","$value":"#2a78d6","$description":"Colour of values above the midpoint in a diverging chart."},"chart-neutral":{"$type":"color","$value":"#99a1b7","$description":"Context series colour, such as the last period, and the folded Other slice."},"dark-bg-page":{"$type":"color","$value":"#0f1117","$description":"Dark page background, the base of every dark-mode surface."},"dark-bg-elevated":{"$type":"color","$value":"#0d0f15","$description":"Subtle dark background, one step off the dark page."},"dark-bg-muted":{"$type":"color","$value":"#232733","$description":"Dark muted fill for grouped areas and quiet controls."},"dark-bg-surface":{"$type":"color","$value":"#181b23","$description":"Dark card and panel surface, one step above the dark page."},"dark-border":{"$type":"color","$value":"#2a2f3a","$description":"Dark hairline border of cards, tables and dividers."},"dark-border-strong":{"$type":"color","$value":"#3a414f","$description":"Stronger dark border for emphasised separators."},"dark-field-border":{"$type":"color","$value":"#2a2f3a","$description":"Resting border of input-like controls in dark mode."},"dark-field-border-hover":{"$type":"color","$value":"#3a414f","$description":"Hover border of input-like controls in dark mode."},"dark-progress-track":{"$type":"color","$value":"#323845","$description":"Unfilled track of a progress bar or meter in dark mode."},"dark-text":{"$type":"color","$value":"#e6e8ee","$description":"Primary body text colour in dark mode."},"dark-text-muted":{"$type":"color","$value":"#b4b9c6","$description":"Secondary text colour in dark mode."},"dark-text-subtle":{"$type":"color","$value":"#8a90a0","$description":"Tertiary text colour in dark mode, for hints and captions."},"dark-primary":{"$type":"color","$value":"#9590ef","$description":"Primary as text, rings, focus borders and the fill under dark ink in dark mode."},"dark-primary-hover":{"$type":"color","$value":"#a29df1","$description":"Primary fill while it is hovered in dark mode."},"dark-chart-2":{"$type":"color","$value":"#d95926","$description":"Dark-mode colour of chart series 2 of the categorical set."},"dark-chart-3":{"$type":"color","$value":"#199e70","$description":"Dark-mode colour of chart series 3 of the categorical set."},"dark-chart-4":{"$type":"color","$value":"#c98500","$description":"Dark-mode colour of chart series 4 of the categorical set."},"dark-chart-5":{"$type":"color","$value":"#d55181","$description":"Dark-mode colour of chart series 5 of the categorical set."},"dark-chart-6":{"$type":"color","$value":"#008300","$description":"Dark-mode colour of chart series 6 of the categorical set."},"dark-chart-7":{"$type":"color","$value":"#3987e5","$description":"Dark-mode colour of chart series 7 of the categorical set."},"dark-chart-8":{"$type":"color","$value":"#e66767","$description":"Dark-mode colour of chart series 8 of the categorical set."},"dark-chart-seq-0":{"$type":"color","$value":"#20242f","$description":"Dark-mode faintest step of the magnitude ramp, for empty heatmap cells."},"dark-chart-seq-1":{"$type":"color","$value":"#262c45","$description":"Dark-mode first step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-2":{"$type":"color","$value":"#2f3a70","$description":"Dark-mode second step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-3":{"$type":"color","$value":"#3b4ba0","$description":"Dark-mode third step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-4":{"$type":"color","$value":"#5168d2","$description":"Dark-mode fourth step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-5":{"$type":"color","$value":"#7a90ef","$description":"Dark-mode fifth step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-6":{"$type":"color","$value":"#b3c1f7","$description":"Dark-mode strongest step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-diverging-low":{"$type":"color","$value":"#e66767","$description":"Dark-mode colour of values below the midpoint in a diverging chart."},"dark-chart-diverging-mid":{"$type":"color","$value":"#3a414f","$description":"Dark-mode neutral midpoint colour of a diverging chart."},"dark-chart-diverging-high":{"$type":"color","$value":"#3987e5","$description":"Dark-mode colour of values above the midpoint in a diverging chart."},"dark-chart-neutral":{"$type":"color","$value":"#5d6475","$description":"Dark-mode context series colour, such as the last period."},"phone-bg":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-bg-subtle":{"$type":"color","$value":"#F8F8FB","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-bg-muted":{"$type":"color","$value":"#F1F1F5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-inverse":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text":{"$type":"color","$value":"#252F4A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-body":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-muted":{"$type":"color","$value":"#52525B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-subtle":{"$type":"color","$value":"#62626B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-inverse":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-link":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-border":{"$type":"color","$value":"#E5E5EC","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-border-subtle":{"$type":"color","$value":"#EFEFF3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-focus-ring":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-scrim":{"$type":"color","$value":"rgba(15, 15, 26, 0.5)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-scrim":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-bg":{"$type":"color","$value":"#F9FBFC","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-border":{"$type":"color","$value":"#EBEDF3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-border-focus":{"$type":"color","$value":"#BED2F9","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-hover":{"$type":"color","$value":"#4F4FBF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-soft":{"$type":"color","$value":"#EEEEFC","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-text":{"$type":"color","$value":"#4F4FD3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-primary":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-success":{"$type":"color","$value":"#18864F","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-success-text":{"$type":"color","$value":"#147042","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-success":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-warning":{"$type":"color","$value":"#F59E0B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-warning-text":{"$type":"color","$value":"#8F5C06","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-warning":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-danger":{"$type":"color","$value":"#E12C32","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-danger-text":{"$type":"color","$value":"#BC1B20","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-danger":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-danger-border":{"$type":"color","$value":"#E5484D","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-info":{"$type":"color","$value":"#1B6EF5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-info-text":{"$type":"color","$value":"#0958D9","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-info":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-neutral":{"$type":"color","$value":"#F4F4F8","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-neutral-hover":{"$type":"color","$value":"#E9E9F0","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-neutral":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-pressed":{"$type":"color","$value":"#4040A8","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-neutral-strong":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-disabled":{"$type":"color","$value":"#B4B4BB","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-pressed":{"$type":"color","$value":"rgba(15, 15, 26, 0.06)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-hover":{"$type":"color","$value":"rgba(15, 15, 26, 0.04)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-selected":{"$type":"color","$value":"rgba(91, 91, 214, 0.1)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-disabled":{"$type":"color","$value":"#F1F1F5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-skeleton":{"$type":"color","$value":"#EBEDF3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-skeleton-highlight":{"$type":"color","$value":"#F5F6FA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-glass-fill":{"$type":"color","$value":"rgba(255, 255, 255, 0.28)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-glass-border":{"$type":"color","$value":"rgba(255, 255, 255, 0.45)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-glass":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-glass-badge":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-bg-focus":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-bg-disabled":{"$type":"color","$value":"#F5F6FA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-border-error":{"$type":"color","$value":"#FDBFCE","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-label":{"$type":"color","$value":"#242F4A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-text":{"$type":"color","$value":"#252F4A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-text-disabled":{"$type":"color","$value":"#7A8197","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-placeholder":{"$type":"color","$value":"#626D8B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-placeholder-disabled":{"$type":"color","$value":"#7A8197","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-icon":{"$type":"color","$value":"#7A849F","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-icon-focus":{"$type":"color","$value":"#4B5675","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-icon-disabled":{"$type":"color","$value":"#C4CADA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-caret":{"$type":"color","$value":"#5B8DEE","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-message":{"$type":"color","$value":"#D81736","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-1":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-2":{"$type":"color","$value":"#0A7979","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-3":{"$type":"color","$value":"#A45A05","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-4":{"$type":"color","$value":"#CD226E","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-5":{"$type":"color","$value":"#2462EB","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-6":{"$type":"color","$value":"#7C3AED","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-7":{"$type":"color","$value":"#047C57","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-8":{"$type":"color","$value":"#D42222","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-sm":{"$type":"color","$value":"rgba(0, 0, 0, 0.06)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-md":{"$type":"color","$value":"rgba(0, 0, 0, 0.08)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-lg":{"$type":"color","$value":"rgba(0, 0, 0, 0.1)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-xl":{"$type":"color","$value":"rgba(0, 0, 0, 0.14)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-thumb":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}}}`)},vt={leading:{body:{$value:1.4},display:{$value:1.2}},color:{bg:{$value:`{palette.phone-bg}`},"bg-subtle":{$value:`{palette.phone-bg-subtle}`},"bg-muted":{$value:`{palette.phone-bg-muted}`},surface:{$value:`{palette.phone-surface}`},"surface-inverse":{$value:`{palette.phone-surface-inverse}`},text:{$value:`{palette.phone-text}`},"text-body":{$value:`{palette.phone-text-body}`},"text-muted":{$value:`{palette.phone-text-muted}`},"text-subtle":{$value:`{palette.phone-text-subtle}`},"text-inverse":{$value:`{palette.phone-text-inverse}`},link:{$value:`{palette.phone-link}`},border:{$value:`{palette.phone-border}`},"border-subtle":{$value:`{palette.phone-border-subtle}`},"focus-ring":{$value:`{palette.phone-focus-ring}`},scrim:{$value:`{palette.phone-scrim}`},"on-scrim":{$value:`{palette.phone-on-scrim}`},"field-bg":{$value:`{palette.phone-field-bg}`},"field-border":{$value:`{palette.phone-field-border}`},"field-border-focus":{$value:`{palette.phone-field-border-focus}`},primary:{$value:`{palette.phone-primary}`},"primary-hover":{$value:`{palette.phone-primary-hover}`},"primary-soft":{$value:`{palette.phone-primary-soft}`},"primary-text":{$value:`{palette.phone-primary-text}`},"on-primary":{$value:`{palette.phone-on-primary}`},success:{$value:`{palette.phone-success}`},"success-text":{$value:`{palette.phone-success-text}`},"on-success":{$value:`{palette.phone-on-success}`},warning:{$value:`{palette.phone-warning}`},"warning-text":{$value:`{palette.phone-warning-text}`},"on-warning":{$value:`{palette.phone-on-warning}`},danger:{$value:`{palette.phone-danger}`},"danger-text":{$value:`{palette.phone-danger-text}`},"on-danger":{$value:`{palette.phone-on-danger}`},"danger-border":{$value:`{palette.phone-danger-border}`},info:{$value:`{palette.phone-info}`},"info-text":{$value:`{palette.phone-info-text}`},"on-info":{$value:`{palette.phone-on-info}`},neutral:{$value:`{palette.phone-neutral}`},"neutral-hover":{$value:`{palette.phone-neutral-hover}`},"on-neutral":{$value:`{palette.phone-on-neutral}`},thumb:{$value:`{palette.phone-thumb}`}},shadow:{card:{$value:{color:`{palette.phone-shadow-sm}`,offsetX:{value:0,unit:`px`},offsetY:{value:2,unit:`px`},blur:{value:4,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:2}}},popover:{$value:{color:`{palette.phone-shadow-lg}`,offsetX:{value:0,unit:`px`},offsetY:{value:8,unit:`px`},blur:{value:16,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:8}}},modal:{$value:{color:`{palette.phone-shadow-xl}`,offsetX:{value:0,unit:`px`},offsetY:{value:12,unit:`px`},blur:{value:24,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:12}}},drawer:{$value:{color:`{palette.phone-shadow-xl}`,offsetX:{value:0,unit:`px`},offsetY:{value:12,unit:`px`},blur:{value:24,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:12}}}},radius:{sm:{$value:{value:6,unit:`px`}},xl:{$value:{value:20,unit:`px`}}},text:{xs:{$value:{value:11,unit:`px`}},sm:{$value:{value:13,unit:`px`}},base:{$value:{value:15,unit:`px`}},lg:{$value:{value:17,unit:`px`}},xl:{$value:{value:20,unit:`px`}},"2xl":{$value:{value:24,unit:`px`}},"3xl":{$value:{value:30,unit:`px`}},"4xl":{$value:{value:36,unit:`px`}},"5xl":{$value:{value:45,unit:`px`}},"6xl":{$value:{value:57,unit:`px`}},"7xl":{$value:{value:64,unit:`px`}},"8xl":{$value:{value:72,unit:`px`}}},font:{ui:{$value:[`System`]},display:{$value:[`System`]},mono:{$value:[`System`]}},motion:{duration:{fast:{$value:{value:160,unit:`ms`}},default:{$value:{value:240,unit:`ms`}},slow:{$value:{value:360,unit:`ms`}}}},component:{field:{sm:{radius:{$value:`{radius.md}`}},md:{radius:{$value:`{radius.md}`}},lg:{radius:{$value:`{radius.md}`}}},disabled:{opacity:{$value:.55}},press:{opacity:{$value:.85}}}},yt=`no meaning uses this step; propose one on the Webority UI board (bootstrap-ui.md → Tokens)`,bt=new Set(Object.keys(_t.palette??{}).filter(e=>!e.startsWith(`$`))),xt=/* @__PURE__ */ new Map,St=/^\{palette\.([a-z0-9-]+)\}$/;for(let e of[ht,gt,vt])if(e?.color&&typeof e.color==`object`){for(let[t,n]of Object.entries(e.color))if(!t.startsWith(`$`)&&n&&typeof n==`object`&&typeof n.$value==`string`){let e=n.$value.match(St);if(e){let n=e[1],r=xt.get(n);r||(r=/* @__PURE__ */ new Set,xt.set(n,r)),r.add(t)}}}function Ct(e){let t=xt.get(e);return t?[...t].sort():[]}function wt(e,t){let n=Ct(e);return n.length===0?yt:t===`web`?`read the meaning: ${n.map(e=>`var(--color-${e})`).join(` or `)}`:`read the meaning: ${n.map(e=>`theme.colors["${e}"]`).join(` or `)}`}function Tt(e){return Object.hasOwn(ye,e)?`read the meaning: var(--color-${ye[e]})`:yt}var Et=e=>e===`{`||e===`}`||e===`;`?` `:e;function w(e,t){if(t===`markup`)return Dt(e);let n=``,r=null,i=!1,a=!1;for(let o=0;o<e.length;o+=1){let s=e[o],c=e[o+1];if(a)s===`*`&&c===`/`?(a=!1,n+=` `,o+=1):n+=s===`
|
|
60
|
-
`?s:` `;else if(r)s===`\\`&&c!==void 0?(n+=`${
|
|
61
|
-
`,o);if(t===-1)break;o=t-1}else s===`(`&&n.slice(-3).toLowerCase()===`url`&&(i=!0),n+=s}return n}function
|
|
59
|
+
`}else if(i===`/`&&e[r+1]===`*`){for(r+=2;r<e.length&&(e[r]!==`*`||e[r+1]!==`/`);)r+=1;r+=1}else t+=i}return JSON.parse(t.replace(/,(\s*[}\]])/g,`$1`))}var st=/* @__PURE__ */ new Set([`error`,`warning`,`fatal`]);function ct(e,t){if(t===null)return[];let n=v(process.execPath,[t,`check`,`--error-on-warnings`,`--reporter=json`,`--max-diagnostics=none`,`--colors=off`,`.`],{cwd:e,encoding:`utf8`,maxBuffer:268435456,windowsHide:!0}),r=null;try{r=JSON.parse(n.stdout??``).diagnostics}catch{r=null}if(!Array.isArray(r))return[[`lint:unreadable`,`Biome's report could not be read: ${String(n.stderr||n.stdout||``).slice(0,200)}`]];let i=/* @__PURE__ */ new Map;for(let e of r){if(!st.has(e.severity))continue;let t=(e.location?.path??`(config)`).replaceAll(`\\`,`/`),n=e.location?.start?.line,r=`${typeof n==`number`&&n>0?`${t}:${n}`:t} ${e.category}: ${String(e.message)}`;i.has(t)||i.set(t,[]),i.get(t).push(r)}return[...i].map(([e,t])=>[`lint:${e}`,t.join(`
|
|
60
|
+
`)])}var lt=`metro-bridge`,ut=`This app does not expose the Metro development bridge. In App.js, or a module App.js imports, set globalThis.__METRO_BRIDGE__ = createMetroBridge({ store, navigationRef, signIn, signOut, isSignedIn }) from @webority/mobile-core/metro inside if (__DEV__) (react-native-procedures.md -> Debugging: the development bridge).`,dt=/import\s*\{[^}]*\bcreateMetroBridge\b[^}]*\}\s*from\s*["']@webority\/mobile-core\/metro["']/,ft=/globalThis\.__METRO_BRIDGE__\s*=\s*createMetroBridge\s*\(/,pt=[`App.js`,d(`src`,`App.js`)],mt=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.ts`,`.tsx`]),ht=/* @__PURE__ */ new Set([`node_modules`,`ios`,`android`,`build`,`dist`,`coverage`,`vendor`]),gt=e=>e.split(`\\`).join(`/`),_t=e=>e.replace(/[^\n]/g,` `);function vt(e){return e.replace(/\/\*[\s\S]*?\*\//g,_t).replace(/\/\/[^\n]*/g,_t)}function yt(e){return t(e)?r(e,`utf8`):``}function bt(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`))}catch{return null}}var xt=/if\s*\(\s*__DEV__\s*\)\s*\{/g;function St(e,t){for(let n of e.matchAll(xt)){let r=n.index+n[0].length;if(r>t)break;let i=1;for(let n=r;n<t&&i>0;n++)e[n]===`{`?i++:e[n]===`}`&&i--;if(i>0)return!0}return!1}function Ct(e){if(!e.includes(`__METRO_BRIDGE__`))return!1;let t=vt(e);if(!dt.test(t))return!1;let n=ft.exec(t);return n!==null&&St(t,n.index)}function*wt(e){for(let t of i(e,{withFileTypes:!0})){if(t.name.startsWith(`.`))continue;let n=d(e,t.name);t.isDirectory()?ht.has(t.name)||(yield*wt(n)):mt.has(u(t.name))&&(yield n)}}function Tt(e){let n=bt(e);if(!n?.dependencies?.[`react-native`]||!t(d(e,`ios`))&&!t(d(e,`android`)))return[];let r=typeof n.main==`string`&&n.main?n.main:`index.js`,i=gt(m(e,d(e,r)));if([d(e,r),...pt.map(t=>d(e,t))].some(e=>Ct(yt(e))))return[];for(let t of wt(e))if(Ct(yt(t)))return[];return[[`${lt}:${i}`,`${i}:1 ${ut}`]]}var Et={color:/* @__PURE__ */ JSON.parse(`{"$type":"color","bg":{"$value":"{palette.bg-page}","$description":"Page background behind the content area."},"bg-subtle":{"$value":"{palette.bg-elevated}","$description":"Subtle raised background for side panels and bands."},"bg-muted":{"$value":"{palette.bg-muted}","$description":"Muted background for grouped areas and quiet controls."},"surface":{"$value":"{palette.bg-light}","$description":"Card and panel surface."},"surface-inverse":{"$value":"{palette.text-heading}","$description":"Inverse band on a page, such as a dark footer or an inverse toast."},"surface-inverse-raised":{"$value":"color-mix(in srgb, {color.text-inverse} 5%, {color.surface-inverse})","$description":"A card or panel one layer up on an inverse band.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-elevated":{"$value":"color-mix(in srgb, {color.text-inverse} 9%, {color.surface-inverse})","$description":"A floating or highlighted surface two layers up on an inverse band.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-dark":{"$value":"{palette.text-heading}","$description":"Band that stays dark in light and dark mode, such as a site footer or a dark hero."},"surface-dark-border":{"$value":"color-mix(in srgb, {palette.bg-light} 14%, {palette.text-heading})","$description":"Hairline border or divider on a surface-dark band."},"on-surface-dark":{"$value":"{palette.bg-light}","$description":"Text and icons on a surface-dark band."},"on-surface-dark-muted":{"$value":"color-mix(in srgb, {palette.bg-light} 72%, {palette.text-heading})","$description":"Secondary text on a surface-dark band."},"text":{"$value":"{palette.text-heading}","$description":"Main heading and body ink."},"text-body":{"$value":"{palette.text-1}","$description":"Body copy on a tinted surface such as an alert body."},"text-muted":{"$value":"{palette.text-2}","$description":"Secondary text for descriptions and muted copy."},"text-subtle":{"$value":"{palette.text-3}","$description":"Tertiary text for hints, captions, timestamps and placeholders."},"text-inverse":{"$value":"{palette.bg-light}","$description":"Text on an inverse surface."},"link":{"$value":"{palette.primary-ink}","$description":"Interactive link text."},"border":{"$value":"{palette.border-light}","$description":"Hairline border of cards, tables and dividers."},"border-subtle":{"$value":"{palette.border-soft}","$description":"Softest border for inner dividers and list edges."},"border-strong":{"$value":"{palette.border-strong}","$description":"Stronger border for emphasised separators, chart axes and unselected control outlines.","$extensions":{"com.webority":{"platforms":["web"]}}},"field-bg":{"$value":"{palette.field-bg}","$description":"Resting fill of input-like controls such as fields and selects."},"field-border":{"$value":"{palette.field-border}","$description":"Resting border of an input-like control such as a field or select."},"field-border-hover":{"$value":"{palette.field-border-hover}","$description":"Hover border of an input-like control.","$extensions":{"com.webority":{"platforms":["web"]}}},"field-border-focus":{"$value":"{palette.primary-30}","$description":"Border of a focused, open or active control such as an input or select."},"focus-ring":{"$value":"{color.primary-text}","$description":"Colour of the keyboard focus ring drawn on focus-visible controls."},"scrim":{"$value":"color-mix(in srgb, {palette.text-heading} 45%, transparent)","$description":"Dim behind page-level backdrops such as drawers, modals and the shell."},"scrim-strong":{"$value":"color-mix(in srgb, {palette.text-heading} 62%, transparent)","$description":"Stronger dim behind media overlays that carry white ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-scrim":{"$value":"{palette.bg-light}","$description":"Ink on a scrim, such as the text of an overlay."},"progress-track":{"$value":"{palette.progress-track}","$description":"Unfilled track of a progress bar or meter.","$extensions":{"com.webority":{"platforms":["web"]}}},"progress-label":{"$value":"{palette.bg-light}","$description":"Label text inside a progress bar fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"thumb":{"$value":"{palette.bg-light}","$description":"Raised thumb that marks the selected option of a segmented control."},"scrollbar":{"$value":"{palette.scrollbar}","$description":"Resting thumb colour of a thin scrollbar.","$extensions":{"com.webority":{"platforms":["web"]}}},"scrollbar-hover":{"$value":"{palette.scrollbar-hover}","$description":"Scrollbar thumb colour while it is hovered.","$extensions":{"com.webority":{"platforms":["web"]}}},"scrollbar-active":{"$value":"{palette.scrollbar-active}","$description":"Scrollbar thumb colour while it is dragged.","$extensions":{"com.webority":{"platforms":["web"]}}},"primary":{"$value":"{palette.primary}","$description":"Primary fill for buttons, selected states and borders."},"primary-hover":{"$value":"{palette.primary-pressed}","$description":"Primary fill while a control is hovered or pressed."},"primary-soft":{"$value":"{palette.primary-10}","$description":"Soft primary tint behind selected and highlighted rows."},"primary-text":{"$value":"{palette.primary-ink}","$description":"Primary as text and small glyphs on a page."},"on-primary":{"$value":"{palette.primary-text}","$description":"Text and icon colour on a solid primary fill."},"primary-wash":{"$value":"color-mix(in srgb, {color.primary} 8%, transparent)","$description":"Faint translucent primary wash over a surface."},"primary-wash-strong":{"$value":"color-mix(in srgb, {color.primary} 20%, transparent)","$description":"Stronger translucent primary wash over a surface."},"neutral":{"$value":"color-mix(in srgb, {color.text} 8%, transparent)","$description":"Quiet unbranded fill for supporting actions such as Back, Skip and Close."},"neutral-hover":{"$value":"color-mix(in srgb, {color.text} 12%, transparent)","$description":"Neutral fill while a control is hovered."},"neutral-pressed":{"$value":"color-mix(in srgb, {color.text} 16%, transparent)","$description":"Neutral fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"neutral-soft":{"$value":"color-mix(in srgb, {color.text-subtle} 16%, transparent)","$description":"Soft neutral background of the neutral status pill.","$extensions":{"com.webority":{"platforms":["web"]}}},"neutral-text":{"$value":"{color.text-muted}","$description":"Text on the soft neutral background."},"on-neutral":{"$value":"{color.text}","$description":"Ink on a neutral fill."},"success":{"$value":"{palette.success}","$description":"Vivid success fill for badges, dots and success buttons."},"success-pressed":{"$value":"{palette.success-active}","$description":"Success fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"success-soft":{"$value":"{palette.success-10}","$description":"Soft success background of alerts and badges."},"success-border":{"$value":"{palette.success-30}","$description":"Tinted success border of alerts and badges.","$extensions":{"com.webority":{"platforms":["web"]}}},"success-text":{"$value":"{palette.success-text}","$description":"Success colour as text on a page or a soft success tint."},"success-text-on-soft":{"$value":"{palette.success-text}","$description":"Success text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"success-strong":{"$value":"{palette.success-strong}","$description":"Deep success fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-success":{"$value":"#FFFFFF","$description":"Ink on a solid success fill."},"on-success-strong":{"$value":"#FFFFFF","$description":"Ink on a deep success fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning":{"$value":"{palette.warning}","$description":"Vivid warning fill for badges, dots and warning buttons."},"warning-pressed":{"$value":"{palette.warning-active}","$description":"Warning fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-soft":{"$value":"{palette.warning-10}","$description":"Soft warning background of alerts and badges."},"warning-border":{"$value":"{palette.warning-30}","$description":"Tinted warning border of alerts and badges.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-text":{"$value":"{palette.warning-text}","$description":"Warning colour as text on a page or a soft warning tint."},"warning-text-on-soft":{"$value":"{palette.warning-text}","$description":"Warning text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-strong":{"$value":"{palette.warning-strong}","$description":"Deep warning fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"warning-strong-hover":{"$value":"{palette.warning-strong-hover}","$description":"Deep warning fill while a control is hovered or pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-warning":{"$value":"#FFFFFF","$description":"Ink on a solid warning fill."},"on-warning-strong":{"$value":"#FFFFFF","$description":"Ink on a deep warning fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger":{"$value":"{palette.danger}","$description":"Vivid danger fill for badges, dots and danger buttons."},"danger-pressed":{"$value":"{palette.danger-active}","$description":"Danger fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger-soft":{"$value":"{palette.danger-10}","$description":"Soft danger background of alerts and badges."},"danger-border":{"$value":"{palette.danger-30}","$description":"Tinted danger border of alerts and badges."},"danger-text":{"$value":"{palette.danger-text}","$description":"Danger colour as text on a page or a soft danger tint."},"danger-text-on-soft":{"$value":"{palette.danger-text}","$description":"Danger text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger-strong":{"$value":"{palette.danger-strong}","$description":"Deep danger fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"danger-strong-hover":{"$value":"{palette.danger-strong-hover}","$description":"Deep danger fill while a control is hovered or pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-danger":{"$value":"#FFFFFF","$description":"Ink on a solid danger fill."},"on-danger-strong":{"$value":"#FFFFFF","$description":"Ink on a deep danger fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"info":{"$value":"{palette.info}","$description":"Vivid info fill for badges, dots and info buttons."},"info-pressed":{"$value":"{palette.info-active}","$description":"Info fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["web"]}}},"info-soft":{"$value":"{palette.info-10}","$description":"Soft info background of alerts and badges."},"info-border":{"$value":"{palette.info-30}","$description":"Tinted info border of alerts and badges.","$extensions":{"com.webority":{"platforms":["web"]}}},"info-text":{"$value":"{palette.info-text}","$description":"Info colour as text on a page or a soft info tint."},"info-text-on-soft":{"$value":"{palette.info-text}","$description":"Info text on its own soft tint, such as an alert heading.","$extensions":{"com.webority":{"platforms":["web"]}}},"info-strong":{"$value":"{palette.info-active}","$description":"Deep info fill that carries its own ink.","$extensions":{"com.webority":{"platforms":["web"]}}},"on-info":{"$value":"#FFFFFF","$description":"Ink on a solid info fill."},"on-info-strong":{"$value":"#FFFFFF","$description":"Ink on a deep info fill.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-1":{"$value":"{palette.primary}","$description":"Colour of chart series 1, the brand primary.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-2":{"$value":"{palette.chart-2}","$description":"Colour of chart series 2 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-3":{"$value":"{palette.chart-3}","$description":"Colour of chart series 3 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-4":{"$value":"{palette.chart-4}","$description":"Colour of chart series 4 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-5":{"$value":"{palette.chart-5}","$description":"Colour of chart series 5 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-6":{"$value":"{palette.chart-6}","$description":"Colour of chart series 6 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-7":{"$value":"{palette.chart-7}","$description":"Colour of chart series 7 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-8":{"$value":"{palette.chart-8}","$description":"Colour of chart series 8 of the eight categorical series.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-0":{"$value":"{palette.bg-muted}","$description":"Faintest step of the magnitude ramp, for empty heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-1":{"$value":"{palette.primary-10}","$description":"First step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-2":{"$value":"{palette.primary-20}","$description":"Second step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-3":{"$value":"{palette.primary-30}","$description":"Third step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-4":{"$value":"{palette.primary-50}","$description":"Fourth step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-5":{"$value":"{palette.primary-hover}","$description":"Fifth step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-seq-6":{"$value":"{palette.primary-pressed}","$description":"Strongest step of the one-hue magnitude ramp for heatmap and calendar cells.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-diverging-low":{"$value":"{palette.chart-diverging-low}","$description":"Colour of values below the midpoint in a diverging chart.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-diverging-mid":{"$value":"{palette.chart-diverging-mid}","$description":"Neutral midpoint colour of a diverging chart.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-diverging-high":{"$value":"{palette.chart-diverging-high}","$description":"Colour of values above the midpoint in a diverging chart.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-neutral":{"$value":"{palette.chart-neutral}","$description":"Context series colour, such as the last period, and the folded Other slice.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-grid":{"$value":"{color.border}","$description":"Gridline colour of charts.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-axis":{"$value":"{color.border-strong}","$description":"Axis line colour of charts.","$extensions":{"com.webority":{"platforms":["web"]}}},"chart-label":{"$value":"{color.text-subtle}","$description":"Tick and legend text colour of charts.","$extensions":{"com.webority":{"platforms":["web"]}}},"primary-pressed":{"$value":"{palette.phone-primary-pressed}","$description":"Primary fill while a control is pressed.","$extensions":{"com.webority":{"platforms":["phone"]}}},"on-neutral-strong":{"$value":"{palette.phone-on-neutral-strong}","$description":"Ink on the solid grey fill of a neutral badge, banner or avatar.","$extensions":{"com.webority":{"platforms":["phone"]}}},"text-disabled":{"$value":"{palette.phone-text-disabled}","$description":"Text of a disabled control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-pressed":{"$value":"{palette.phone-surface-pressed}","$description":"Wash over a surface while it is pressed.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-hover":{"$value":"{palette.phone-surface-hover}","$description":"Wash over a surface under a pointer.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-selected":{"$value":"{palette.phone-surface-selected}","$description":"Wash over a selected surface such as a chosen list row.","$extensions":{"com.webority":{"platforms":["phone"]}}},"surface-disabled":{"$value":"{palette.phone-surface-disabled}","$description":"Fill of a disabled surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"skeleton":{"$value":"{palette.phone-skeleton}","$description":"Base fill of a loading placeholder.","$extensions":{"com.webority":{"platforms":["phone"]}}},"skeleton-highlight":{"$value":"{palette.phone-skeleton-highlight}","$description":"Moving highlight across a loading placeholder.","$extensions":{"com.webority":{"platforms":["phone"]}}},"glass-fill":{"$value":"{palette.phone-glass-fill}","$description":"Translucent fill of a control sitting on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"glass-border":{"$value":"{palette.phone-glass-border}","$description":"Border of a translucent control on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"on-glass":{"$value":"{palette.phone-on-glass}","$description":"Ink on a translucent control on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"glass-badge":{"$value":"{palette.phone-glass-badge}","$description":"Badge fill on a translucent control on a brand surface.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-bg-focus":{"$value":"{palette.phone-field-bg-focus}","$description":"Fill of a focused input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-bg-disabled":{"$value":"{palette.phone-field-bg-disabled}","$description":"Fill of a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-border-error":{"$value":"{palette.phone-field-border-error}","$description":"Border of an input-like control holding an invalid value.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-label":{"$value":"{palette.phone-field-label}","$description":"Label above an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-text":{"$value":"{palette.phone-field-text}","$description":"Value text inside an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-text-disabled":{"$value":"{palette.phone-field-text-disabled}","$description":"Value text inside a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-placeholder":{"$value":"{palette.phone-field-placeholder}","$description":"Placeholder text inside an empty input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-placeholder-disabled":{"$value":"{palette.phone-field-placeholder-disabled}","$description":"Placeholder text inside a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-icon":{"$value":"{palette.phone-field-icon}","$description":"Icon inside an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-icon-focus":{"$value":"{palette.phone-field-icon-focus}","$description":"Icon inside a focused input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-icon-disabled":{"$value":"{palette.phone-field-icon-disabled}","$description":"Icon inside a disabled input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-caret":{"$value":"{palette.phone-field-caret}","$description":"Text caret inside an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"field-message":{"$value":"{palette.phone-field-message}","$description":"Error message under an input-like control.","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-1":{"$value":"{palette.phone-avatar-1}","$description":"Background behind a person's initials, picked by a hash of the name (slot 1 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-2":{"$value":"{palette.phone-avatar-2}","$description":"Background behind a person's initials, picked by a hash of the name (slot 2 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-3":{"$value":"{palette.phone-avatar-3}","$description":"Background behind a person's initials, picked by a hash of the name (slot 3 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-4":{"$value":"{palette.phone-avatar-4}","$description":"Background behind a person's initials, picked by a hash of the name (slot 4 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-5":{"$value":"{palette.phone-avatar-5}","$description":"Background behind a person's initials, picked by a hash of the name (slot 5 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-6":{"$value":"{palette.phone-avatar-6}","$description":"Background behind a person's initials, picked by a hash of the name (slot 6 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-7":{"$value":"{palette.phone-avatar-7}","$description":"Background behind a person's initials, picked by a hash of the name (slot 7 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}},"avatar-8":{"$value":"{palette.phone-avatar-8}","$description":"Background behind a person's initials, picked by a hash of the name (slot 8 of 8).","$extensions":{"com.webority":{"platforms":["phone"]}}}}`),effect:{"close-filter":{$type:`filter`,$value:`none`,$description:`Filter applied to a dark-ink close glyph such as the alert close button.`},"pressed-overlay":{$type:`overlay`,$value:`color-mix(in srgb, currentColor 12%, transparent)`,$description:`Translucent wash laid over a control while it is pressed.`},"hero-gradient":{$type:`gradient`,$value:`radial-gradient(ellipse 120% 80% at 50% 30%, #818CF8 0%, #4F46E5 35%, #4338CA 75%, #312E81 100%)`,$description:`Background gradient of the hero band on marketing pages.`},"cta-gradient":{$type:`gradient`,$value:`radial-gradient(ellipse 120% 100% at 50% 50%, #312E81 0%, #1E1B4B 60%, #0F0D2E 100%)`,$description:`Background gradient of the call-to-action band on marketing pages.`},$extensions:{"com.webority":{platforms:[`web`]}}},leading:{$type:`number`,heading:{$value:1.2,$description:`Line height of headings.`},body:{$value:1.55,$description:`Line height of running text and of any text that is not a heading or display text.`},display:{$value:1.05,$description:`Line height of display-size text such as hero titles.`}}},Dt={palette:{"phone-bg":{$value:`#0B0B12`},"phone-bg-subtle":{$value:`#13131C`},"phone-bg-muted":{$value:`#1C1C26`},"phone-surface":{$value:`#1C1C26`},"phone-surface-inverse":{$value:`#FAFAFA`},"phone-text":{$value:`#E2E2E2`},"phone-text-body":{$value:`#FAFAFA`},"phone-text-muted":{$value:`#B4B4BB`},"phone-text-subtle":{$value:`#919199`},"phone-text-inverse":{$value:`#0F0F1A`},"phone-link":{$value:`#9292EE`},"phone-border":{$value:`#27272F`},"phone-border-subtle":{$value:`#1C1C26`},"phone-focus-ring":{$value:`#7C7CE8`},"phone-scrim":{$value:`rgba(0, 0, 0, 0.65)`},"phone-field-bg":{$value:`#13131C`},"phone-field-border":{$value:`#27272F`},"phone-field-border-focus":{$value:`#3D5FB0`},"phone-primary":{$value:`#7C7CE8`},"phone-primary-hover":{$value:`#9292EE`},"phone-primary-soft":{$value:`#1F1F3D`},"phone-primary-text":{$value:`#8989EA`},"phone-on-primary":{$value:`#0F0F1A`},"phone-success":{$value:`#30C780`},"phone-success-text":{$value:`#30C780`},"phone-on-success":{$value:`#0F0F1A`},"phone-warning":{$value:`#FBBF24`},"phone-warning-text":{$value:`#FBBF24`},"phone-danger":{$value:`#F87171`},"phone-danger-text":{$value:`#F87171`},"phone-on-danger":{$value:`#0F0F1A`},"phone-danger-border":{$value:`#F87171`},"phone-info":{$value:`#60A5FA`},"phone-info-text":{$value:`#60A5FA`},"phone-on-info":{$value:`#0F0F1A`},"phone-neutral":{$value:`#1F1F26`},"phone-neutral-hover":{$value:`#2A2A33`},"phone-on-neutral":{$value:`#FAFAFA`},"phone-primary-pressed":{$value:`#A8A8F2`},"phone-on-neutral-strong":{$value:`#0F0F1A`},"phone-text-disabled":{$value:`#52525B`},"phone-surface-pressed":{$value:`rgba(255, 255, 255, 0.08)`},"phone-surface-hover":{$value:`rgba(255, 255, 255, 0.05)`},"phone-surface-selected":{$value:`rgba(124, 124, 232, 0.18)`},"phone-surface-disabled":{$value:`#1C1C26`},"phone-skeleton":{$value:`#1C1C26`},"phone-skeleton-highlight":{$value:`#27272F`},"phone-field-bg-focus":{$value:`#0B0B12`},"phone-field-bg-disabled":{$value:`#1C1C26`},"phone-field-border-error":{$value:`#8A2F42`},"phone-field-label":{$value:`#E4E6EE`},"phone-field-text":{$value:`#FAFAFA`},"phone-field-text-disabled":{$value:`#71717A`},"phone-field-placeholder":{$value:`#84848D`},"phone-field-placeholder-disabled":{$value:`#71717A`},"phone-field-icon":{$value:`#8B8B95`},"phone-field-icon-focus":{$value:`#D4D4DB`},"phone-field-icon-disabled":{$value:`#52525B`},"phone-field-caret":{$value:`#7C9EF0`},"phone-field-message":{$value:`#F87171`},"phone-avatar-1":{$value:`#8B8BEE`},"phone-avatar-2":{$value:`#2DD4BF`},"phone-avatar-3":{$value:`#FCD34D`},"phone-avatar-4":{$value:`#F472B6`},"phone-avatar-5":{$value:`#60A5FA`},"phone-avatar-6":{$value:`#A78BFA`},"phone-avatar-7":{$value:`#34D399`},"phone-avatar-8":{$value:`#F87171`},"phone-shadow-sm":{$value:`rgba(0, 0, 0, 0.4)`},"phone-shadow-md":{$value:`rgba(0, 0, 0, 0.5)`},"phone-shadow-lg":{$value:`rgba(0, 0, 0, 0.55)`},"phone-shadow-xl":{$value:`rgba(0, 0, 0, 0.6)`},"primary-5":{$value:`color-mix(in srgb, {palette.dark-primary} 10%, {palette.dark-bg-surface})`},"primary-10":{$value:`color-mix(in srgb, {palette.dark-primary} 16%, {palette.dark-bg-surface})`},"primary-15":{$value:`color-mix(in srgb, {palette.dark-primary} 21%, {palette.dark-bg-surface})`},"primary-20":{$value:`color-mix(in srgb, {palette.dark-primary} 26%, {palette.dark-bg-surface})`},"primary-30":{$value:`color-mix(in srgb, {palette.dark-primary} 40%, {palette.dark-bg-surface})`},"primary-50":{$value:`color-mix(in srgb, {palette.dark-primary} 62%, {palette.dark-bg-surface})`},"surface-mute":{$value:`{palette.dark-bg-muted}`},"surface-soft":{$value:`color-mix(in srgb, {palette.dark-primary} 10%, {palette.dark-bg-surface})`},"surface-violet-soft":{$value:`color-mix(in srgb, {palette.dark-primary} 6%, {palette.dark-bg-surface})`},"danger-5":{$value:`color-mix(in srgb, {palette.danger} 10%, {palette.dark-bg-surface})`},"danger-10":{$value:`color-mix(in srgb, {palette.danger} 16%, {palette.dark-bg-surface})`},"info-5":{$value:`color-mix(in srgb, {palette.info} 10%, {palette.dark-bg-surface})`},"info-10":{$value:`color-mix(in srgb, {palette.info} 16%, {palette.dark-bg-surface})`},"success-5":{$value:`color-mix(in srgb, {palette.success} 10%, {palette.dark-bg-surface})`},"success-10":{$value:`color-mix(in srgb, {palette.success} 16%, {palette.dark-bg-surface})`},"warning-5":{$value:`color-mix(in srgb, {palette.warning} 10%, {palette.dark-bg-surface})`},"warning-10":{$value:`color-mix(in srgb, {palette.warning} 16%, {palette.dark-bg-surface})`},"neutral-bg-light":{$value:`{palette.dark-bg-surface}`},"neutral-bg-dark":{$value:`{palette.dark-bg-muted}`},"chart-1":{$value:`{palette.dark-primary}`},"chart-2":{$value:`{palette.dark-chart-2}`},"chart-3":{$value:`{palette.dark-chart-3}`},"chart-4":{$value:`{palette.dark-chart-4}`},"chart-5":{$value:`{palette.dark-chart-5}`},"chart-6":{$value:`{palette.dark-chart-6}`},"chart-7":{$value:`{palette.dark-chart-7}`},"chart-8":{$value:`{palette.dark-chart-8}`},"chart-seq-0":{$value:`{palette.dark-chart-seq-0}`},"chart-seq-1":{$value:`{palette.dark-chart-seq-1}`},"chart-seq-2":{$value:`{palette.dark-chart-seq-2}`},"chart-seq-3":{$value:`{palette.dark-chart-seq-3}`},"chart-seq-4":{$value:`{palette.dark-chart-seq-4}`},"chart-seq-5":{$value:`{palette.dark-chart-seq-5}`},"chart-seq-6":{$value:`{palette.dark-chart-seq-6}`},"chart-diverging-low":{$value:`{palette.dark-chart-diverging-low}`},"chart-diverging-mid":{$value:`{palette.dark-chart-diverging-mid}`},"chart-diverging-high":{$value:`{palette.dark-chart-diverging-high}`},"chart-neutral":{$value:`{palette.dark-chart-neutral}`}},color:{bg:{$value:`{palette.dark-bg-page}`},"bg-subtle":{$value:`{palette.dark-bg-elevated}`},"bg-muted":{$value:`{palette.dark-bg-muted}`},surface:{$value:`{palette.dark-bg-surface}`},"surface-inverse":{$value:`{palette.dark-text}`},text:{$value:`{palette.dark-text}`},"text-body":{$value:`{palette.dark-text}`},"text-muted":{$value:`{palette.dark-text-muted}`},"text-subtle":{$value:`{palette.dark-text-subtle}`},"text-inverse":{$value:`{palette.text-heading}`},link:{$value:`{palette.dark-primary}`},border:{$value:`{palette.dark-border}`},"border-subtle":{$value:`color-mix(in srgb, {palette.dark-border} 50%, transparent)`},"border-strong":{$value:`{palette.dark-border-strong}`},"field-bg":{$value:`{palette.dark-bg-muted}`},"field-border":{$value:`{palette.dark-field-border}`},"field-border-hover":{$value:`{palette.dark-field-border-hover}`},"field-border-focus":{$value:`{palette.dark-primary}`},scrim:{$value:`color-mix(in srgb, #000000 45%, transparent)`},"scrim-strong":{$value:`color-mix(in srgb, #000000 62%, transparent)`},"progress-track":{$value:`{palette.dark-progress-track}`},"progress-label":{$value:`#0F0F0F`},thumb:{$value:`color-mix(in srgb, {palette.dark-text} 12%, {palette.dark-bg-muted})`},primary:{$value:`{palette.dark-primary}`},"primary-hover":{$value:`{palette.dark-primary-hover}`},"primary-soft":{$value:`color-mix(in srgb, {palette.primary} 20%, transparent)`},"primary-text":{$value:`{palette.dark-primary}`},"on-primary":{$value:`#0F0F0F`},"success-soft":{$value:`color-mix(in srgb, {palette.success} 18%, transparent)`},"success-text":{$value:`color-mix(in srgb, {palette.success} 75%, white)`},"success-text-on-soft":{$value:`color-mix(in srgb, {palette.success} 65%, white)`},"success-strong":{$value:`{color.success-text}`},"on-success-strong":{$value:`#0F0F0F`},"warning-soft":{$value:`color-mix(in srgb, {palette.warning} 18%, transparent)`},"warning-text":{$value:`color-mix(in srgb, {palette.warning} 75%, white)`},"warning-text-on-soft":{$value:`color-mix(in srgb, {palette.warning} 65%, white)`},"warning-strong":{$value:`{color.warning-text}`},"on-warning-strong":{$value:`#0F0F0F`},"danger-soft":{$value:`color-mix(in srgb, {palette.danger} 18%, transparent)`},"danger-text":{$value:`color-mix(in srgb, {palette.danger} 75%, white)`},"danger-text-on-soft":{$value:`color-mix(in srgb, {palette.danger} 65%, white)`},"danger-strong":{$value:`{color.danger-text}`},"on-danger-strong":{$value:`#0F0F0F`},"info-soft":{$value:`color-mix(in srgb, {palette.info} 18%, transparent)`},"info-text":{$value:`color-mix(in srgb, {palette.info} 75%, white)`},"info-text-on-soft":{$value:`color-mix(in srgb, {palette.info} 65%, white)`},"info-strong":{$value:`{color.info-text}`},"on-info-strong":{$value:`#0F0F0F`},"chart-1":{$value:`{palette.dark-primary}`},"chart-2":{$value:`{palette.dark-chart-2}`},"chart-3":{$value:`{palette.dark-chart-3}`},"chart-4":{$value:`{palette.dark-chart-4}`},"chart-5":{$value:`{palette.dark-chart-5}`},"chart-6":{$value:`{palette.dark-chart-6}`},"chart-7":{$value:`{palette.dark-chart-7}`},"chart-8":{$value:`{palette.dark-chart-8}`},"chart-seq-0":{$value:`{palette.dark-chart-seq-0}`},"chart-seq-1":{$value:`{palette.dark-chart-seq-1}`},"chart-seq-2":{$value:`{palette.dark-chart-seq-2}`},"chart-seq-3":{$value:`{palette.dark-chart-seq-3}`},"chart-seq-4":{$value:`{palette.dark-chart-seq-4}`},"chart-seq-5":{$value:`{palette.dark-chart-seq-5}`},"chart-seq-6":{$value:`{palette.dark-chart-seq-6}`},"chart-diverging-low":{$value:`{palette.dark-chart-diverging-low}`},"chart-diverging-mid":{$value:`{palette.dark-chart-diverging-mid}`},"chart-diverging-high":{$value:`{palette.dark-chart-diverging-high}`},"chart-neutral":{$value:`{palette.dark-chart-neutral}`},success:{$value:`#30C780`},warning:{$value:`#FBBF24`},danger:{$value:`#F87171`},info:{$value:`#60A5FA`},"on-success":{$value:`#0F0F1A`},"on-warning":{$value:`#0F0F1A`},"on-danger":{$value:`#0F0F1A`},"on-info":{$value:`#0F0F1A`},"success-pressed":{$value:`color-mix(in srgb, {color.success} 85%, white)`},"warning-pressed":{$value:`color-mix(in srgb, {color.warning} 85%, white)`},"danger-pressed":{$value:`color-mix(in srgb, {color.danger} 85%, white)`},"info-pressed":{$value:`color-mix(in srgb, {color.info} 85%, white)`},"success-border":{$value:`color-mix(in srgb, {color.success} 40%, transparent)`},"warning-border":{$value:`color-mix(in srgb, {color.warning} 40%, transparent)`},"danger-border":{$value:`color-mix(in srgb, {color.danger} 40%, transparent)`},"info-border":{$value:`color-mix(in srgb, {color.info} 40%, transparent)`},"warning-strong-hover":{$value:`color-mix(in srgb, {color.warning-strong} 85%, white)`},"danger-strong-hover":{$value:`color-mix(in srgb, {color.danger-strong} 85%, white)`},scrollbar:{$value:`rgba(255, 255, 255, 0.18)`},"scrollbar-hover":{$value:`rgba(255, 255, 255, 0.28)`},"scrollbar-active":{$value:`rgba(255, 255, 255, 0.4)`}},effect:{"close-filter":{$value:`invert(1) grayscale(100%) brightness(200%)`}},shadow:{popover:{$value:{color:`rgba(0, 0, 0, 0.55)`,offsetX:{value:0,unit:`px`},offsetY:{value:8,unit:`px`},blur:{value:28,unit:`px`},spread:{value:-6,unit:`px`}}},modal:{$value:{color:`rgba(0, 0, 0, 0.7)`,offsetX:{value:0,unit:`px`},offsetY:{value:24,unit:`px`},blur:{value:60,unit:`px`},spread:{value:-16,unit:`px`}}}},component:{thumb:{shadow:{$value:`0 2px 6px rgba(255, 255, 255, 0.1)`},"shadow-hover":{$value:`0 2px 12px rgba(255, 255, 255, 0.2)`}}}},Ot={palette:/* @__PURE__ */ JSON.parse(`{"$description":"Raw colours. Library-internal: product code, phone code and Canvas read meanings, never these.","$extensions":{"com.webority":{"internal":true}},"primary":{"$type":"color","$value":"#4F46E5","$description":"Brand primary fill for primary buttons, selected states and the first chart series."},"primary-hover":{"$type":"color","$value":"#6366F1","$description":"Primary fill while a control is hovered."},"primary-pressed":{"$type":"color","$value":"#4338CA","$description":"Primary fill while a control is pressed or active."},"primary-50":{"$type":"color","$value":"#818CF8","$description":"Strongest soft primary fill or border tint that follows dark mode."},"primary-30":{"$type":"color","$value":"#A5B4FC","$description":"Medium soft primary fill or border tint that follows dark mode."},"primary-20":{"$type":"color","$value":"#C7D2FE","$description":"Light soft primary fill or border tint that follows dark mode."},"primary-15":{"$type":"color","$value":"#DDE1FD","$description":"Lighter soft primary fill or border tint that follows dark mode."},"primary-10":{"$type":"color","$value":"#E0E7FF","$description":"Pale soft primary fill or border tint that follows dark mode."},"primary-5":{"$type":"color","$value":"#EEF2FF","$description":"Faintest soft primary fill or border tint that follows dark mode."},"text-heading":{"$type":"color","$value":"#071437","$description":"Heading ink for page and section titles."},"text-1":{"$type":"color","$value":"#252F4A","$description":"Primary body text, a step softer than the heading ink."},"text-2":{"$type":"color","$value":"#4B5675","$description":"Secondary text for descriptions, sub-labels and muted copy."},"text-3":{"$type":"color","$value":"#626A82","$description":"Tertiary text for hints, captions, labels, timestamps and placeholders."},"text-4":{"$type":"color","$value":"#99A1B7","$description":"Decorative faint ink, not for text a person must read."},"text-5":{"$type":"color","$value":"#C4CADA","$description":"Faintest ink, for decorative marks."},"bg-page":{"$type":"color","$value":"#F4F6F8","$description":"Page background behind every surface in light mode."},"bg-light":{"$type":"color","$value":"#FFFFFF","$description":"White card and panel surface, the lightest fill in light mode."},"bg-elevated":{"$type":"color","$value":"#F9FBFC","$description":"Subtle raised surface, one step off the page."},"bg-muted":{"$type":"color","$value":"#F5F6FA","$description":"Muted fill for grouped areas and quiet controls."},"field-bg":{"$type":"color","$value":"#F9FBFC","$description":"Resting fill of every input-like control, such as fields, selects and textareas."},"field-border":{"$type":"color","$value":"#DFE2EA","$description":"Resting border of every input-like control."},"field-border-hover":{"$type":"color","$value":"#C4CADA","$description":"Hover border of every input-like control."},"border-light":{"$type":"color","$value":"#EBEDF3","$description":"Default hairline border of cards, tables and dividers."},"border-soft":{"$type":"color","$value":"#F4F6F8","$description":"Softest border, for inner dividers."},"border-strong":{"$type":"color","$value":"#C4CADA","$description":"Strong border for emphasised separators, chart axes and unselected control outlines."},"progress-track":{"$type":"color","$value":"#E1E5EE","$description":"Unfilled track of a progress bar or meter."},"scrollbar":{"$type":"color","$value":"rgba(145, 158, 171, 0.45)","$description":"Resting thumb colour of a thin scrollbar."},"scrollbar-hover":{"$type":"color","$value":"rgba(145, 158, 171, 0.65)","$description":"Scrollbar thumb colour while it is hovered."},"scrollbar-active":{"$type":"color","$value":"rgba(145, 158, 171, 0.85)","$description":"Scrollbar thumb colour while it is dragged."},"surface-soft":{"$type":"color","$value":"#F2EFFE","$description":"Soft tint surface for marketing callouts and mega-menu hover."},"surface-violet":{"$type":"color","$value":"#ECE4FE","$description":"Violet-tinted surface for marketing section accents and callout cards."},"surface-violet-soft":{"$type":"color","$value":"#FCFCFC","$description":"Near-white surface for marketing section accents."},"surface-mute":{"$type":"color","$value":"#F9FBFC","$description":"Neutral wash surface for marketing sections and panels."},"ink":{"$type":"color","$value":"#000000","$description":"Pure black ink, the highest-contrast text colour."},"fg-2":{"$type":"color","$value":"{palette.text-1}","$description":"Marketing alias of the primary body text ink."},"fg-3":{"$type":"color","$value":"{palette.text-2}","$description":"Marketing alias of the secondary text ink."},"fg-4":{"$type":"color","$value":"{palette.text-3}","$description":"Marketing alias of the tertiary text ink."},"fg-5":{"$type":"color","$value":"{palette.text-5}","$description":"Marketing alias of the faintest text ink."},"neutral-border-dark":{"$type":"color","$value":"#EBEDF3","$description":"Border tone of table emphasis rows and dividers."},"neutral-border-light":{"$type":"color","$value":"#F9FBFC","$description":"Faintest border tone, for dividers."},"neutral-bg-dark":{"$type":"color","$value":"#F5F6FA","$description":"Muted background of table emphasis rows and mega-menu hover."},"neutral-bg-light":{"$type":"color","$value":"#F9FBFC","$description":"Faint background for table emphasis and mega-menu hover."},"accent-dark":{"$type":"color","$value":"{palette.primary-pressed}","$description":"Pressed and hover accent colour in CSS, following the pressed primary."},"primary-text":{"$type":"color","$value":"#ffffff","$description":"Text and icon colour on a solid primary fill, such as a primary button label."},"primary-ink":{"$type":"color","$value":"{palette.primary}","$description":"Primary as text and small glyphs on light surfaces."},"info-text":{"$type":"color","$value":"#1460ba","$description":"Info colour as text on light surfaces."},"info-active":{"$type":"color","$value":"#056EE9","$description":"Info ink for icons and active states on light surfaces."},"info":{"$type":"color","$value":"#056EE9","$description":"Vivid info fill for badges, dots and info buttons."},"info-50":{"$type":"color","$value":"#8DC2FF","$description":"Info tint 50 for borders and the strongest soft info fill."},"info-30":{"$type":"color","$value":"#BBDBFF","$description":"Info tint 30 for soft fills and borders of alerts and badges."},"info-20":{"$type":"color","$value":"#D1E6FF","$description":"Info tint 20 for soft fills behind info alerts and badges."},"info-10":{"$type":"color","$value":"#E9F3FF","$description":"Info tint 10, the soft background of info alerts and badges."},"info-5":{"$type":"color","$value":"#F3F9FF","$description":"Faintest info tint, for hover washes and soft info backgrounds."},"success-text":{"$type":"color","$value":"#0e7531","$description":"Success colour as text on light surfaces, darkened to pass AA."},"success-strong":{"$type":"color","$value":"#0e7531","$description":"Deep success fill behind white text, such as progress-bar labels."},"success-active":{"$type":"color","$value":"#04B440","$description":"Active success fill, the deepest vivid success tone."},"success":{"$type":"color","$value":"#04B440","$description":"Vivid success fill for badges, dots and success buttons."},"success-50":{"$type":"color","$value":"#8BE3A9","$description":"Success tint 50 for borders and the strongest soft success fill."},"success-30":{"$type":"color","$value":"#BAEECC","$description":"Success tint 30 for soft fills and borders of alerts and badges."},"success-20":{"$type":"color","$value":"#D1F4DD","$description":"Success tint 20 for soft fills behind success alerts and badges."},"success-10":{"$type":"color","$value":"#E8FAEE","$description":"Success tint 10, the soft background of success alerts and badges."},"success-5":{"$type":"color","$value":"#F3FCF6","$description":"Faintest success tint, for hover washes and soft success backgrounds."},"warning-text":{"$type":"color","$value":"#876100","$description":"Warning colour as text on light surfaces, darkened to pass AA."},"warning-strong":{"$type":"color","$value":"#9A6B00","$description":"Deep warning fill behind white text, such as the warning button."},"warning-strong-hover":{"$type":"color","$value":"#855C00","$description":"Deep warning fill while a warning button with white text is hovered."},"warning-active":{"$type":"color","$value":"#DFA000","$description":"Active warning fill, the deepest vivid warning tone."},"warning":{"$type":"color","$value":"#DFA000","$description":"Vivid warning fill for badges and dots."},"warning-50":{"$type":"color","$value":"#FBD880","$description":"Warning tint 50 for borders and the strongest soft warning fill."},"warning-30":{"$type":"color","$value":"#FDE8B3","$description":"Warning tint 30 for soft fills and borders of alerts and badges."},"warning-20":{"$type":"color","$value":"#FDEFCC","$description":"Warning tint 20 for soft fills behind warning alerts and badges."},"warning-10":{"$type":"color","$value":"#FFF8E6","$description":"Warning tint 10, the soft background of warning alerts and badges."},"warning-5":{"$type":"color","$value":"#FEFBF2","$description":"Faintest warning tint, for hover washes and soft warning backgrounds."},"danger-text":{"$type":"color","$value":"#CF1735","$description":"Error text colour for validation messages and danger text on light surfaces."},"danger-strong":{"$type":"color","$value":"#C81340","$description":"Deep danger fill behind white text, such as the danger button."},"danger-strong-hover":{"$type":"color","$value":"#AB1036","$description":"Deep danger fill while a danger button with white text is hovered."},"danger-active":{"$type":"color","$value":"#E82646","$description":"Active danger fill, the deepest vivid danger tone."},"danger":{"$type":"color","$value":"#E82646","$description":"Vivid danger fill for badges, dots and danger buttons."},"danger-50":{"$type":"color","$value":"#FC94AD","$description":"Danger tint 50 for borders and the strongest soft danger fill."},"danger-30":{"$type":"color","$value":"#FDBFCE","$description":"Danger tint 30 for soft fills and borders of alerts and badges."},"danger-20":{"$type":"color","$value":"#FED4DE","$description":"Danger tint 20 for soft fills behind danger alerts and badges."},"danger-10":{"$type":"color","$value":"#FFEAEF","$description":"Danger tint 10, the soft background of danger alerts and badges."},"danger-5":{"$type":"color","$value":"#FEF4F6","$description":"Faintest danger tint, for hover washes and soft danger backgrounds."},"chart-1":{"$type":"color","$value":"{palette.primary}","$description":"Colour of chart series 1, the brand primary."},"chart-2":{"$type":"color","$value":"#eb6834","$description":"Colour of chart series 2 of the eight categorical series."},"chart-3":{"$type":"color","$value":"#1baf7a","$description":"Colour of chart series 3 of the eight categorical series."},"chart-4":{"$type":"color","$value":"#eda100","$description":"Colour of chart series 4 of the eight categorical series."},"chart-5":{"$type":"color","$value":"#e87ba4","$description":"Colour of chart series 5 of the eight categorical series."},"chart-6":{"$type":"color","$value":"#008300","$description":"Colour of chart series 6 of the eight categorical series."},"chart-7":{"$type":"color","$value":"#2a78d6","$description":"Colour of chart series 7 of the eight categorical series."},"chart-8":{"$type":"color","$value":"#e34948","$description":"Colour of chart series 8 of the eight categorical series."},"chart-seq-0":{"$type":"color","$value":"{palette.bg-muted}","$description":"Faintest step of the magnitude ramp, for empty heatmap and calendar cells."},"chart-seq-1":{"$type":"color","$value":"{palette.primary-10}","$description":"First step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-2":{"$type":"color","$value":"{palette.primary-20}","$description":"Second step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-3":{"$type":"color","$value":"{palette.primary-30}","$description":"Third step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-4":{"$type":"color","$value":"{palette.primary-50}","$description":"Fourth step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-5":{"$type":"color","$value":"{palette.primary-hover}","$description":"Fifth step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-seq-6":{"$type":"color","$value":"{palette.primary-pressed}","$description":"Strongest step of the one-hue magnitude ramp for heatmap and calendar cells."},"chart-diverging-low":{"$type":"color","$value":"#e34948","$description":"Colour of values below the midpoint in a diverging chart."},"chart-diverging-mid":{"$type":"color","$value":"#c4cada","$description":"Neutral midpoint colour of a diverging chart."},"chart-diverging-high":{"$type":"color","$value":"#2a78d6","$description":"Colour of values above the midpoint in a diverging chart."},"chart-neutral":{"$type":"color","$value":"#99a1b7","$description":"Context series colour, such as the last period, and the folded Other slice."},"dark-bg-page":{"$type":"color","$value":"#0f1117","$description":"Dark page background, the base of every dark-mode surface."},"dark-bg-elevated":{"$type":"color","$value":"#0d0f15","$description":"Subtle dark background, one step off the dark page."},"dark-bg-muted":{"$type":"color","$value":"#232733","$description":"Dark muted fill for grouped areas and quiet controls."},"dark-bg-surface":{"$type":"color","$value":"#181b23","$description":"Dark card and panel surface, one step above the dark page."},"dark-border":{"$type":"color","$value":"#2a2f3a","$description":"Dark hairline border of cards, tables and dividers."},"dark-border-strong":{"$type":"color","$value":"#3a414f","$description":"Stronger dark border for emphasised separators."},"dark-field-border":{"$type":"color","$value":"#2a2f3a","$description":"Resting border of input-like controls in dark mode."},"dark-field-border-hover":{"$type":"color","$value":"#3a414f","$description":"Hover border of input-like controls in dark mode."},"dark-progress-track":{"$type":"color","$value":"#323845","$description":"Unfilled track of a progress bar or meter in dark mode."},"dark-text":{"$type":"color","$value":"#e6e8ee","$description":"Primary body text colour in dark mode."},"dark-text-muted":{"$type":"color","$value":"#b4b9c6","$description":"Secondary text colour in dark mode."},"dark-text-subtle":{"$type":"color","$value":"#8a90a0","$description":"Tertiary text colour in dark mode, for hints and captions."},"dark-primary":{"$type":"color","$value":"#9590ef","$description":"Primary as text, rings, focus borders and the fill under dark ink in dark mode."},"dark-primary-hover":{"$type":"color","$value":"#a29df1","$description":"Primary fill while it is hovered in dark mode."},"dark-chart-2":{"$type":"color","$value":"#d95926","$description":"Dark-mode colour of chart series 2 of the categorical set."},"dark-chart-3":{"$type":"color","$value":"#199e70","$description":"Dark-mode colour of chart series 3 of the categorical set."},"dark-chart-4":{"$type":"color","$value":"#c98500","$description":"Dark-mode colour of chart series 4 of the categorical set."},"dark-chart-5":{"$type":"color","$value":"#d55181","$description":"Dark-mode colour of chart series 5 of the categorical set."},"dark-chart-6":{"$type":"color","$value":"#008300","$description":"Dark-mode colour of chart series 6 of the categorical set."},"dark-chart-7":{"$type":"color","$value":"#3987e5","$description":"Dark-mode colour of chart series 7 of the categorical set."},"dark-chart-8":{"$type":"color","$value":"#e66767","$description":"Dark-mode colour of chart series 8 of the categorical set."},"dark-chart-seq-0":{"$type":"color","$value":"#20242f","$description":"Dark-mode faintest step of the magnitude ramp, for empty heatmap cells."},"dark-chart-seq-1":{"$type":"color","$value":"#262c45","$description":"Dark-mode first step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-2":{"$type":"color","$value":"#2f3a70","$description":"Dark-mode second step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-3":{"$type":"color","$value":"#3b4ba0","$description":"Dark-mode third step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-4":{"$type":"color","$value":"#5168d2","$description":"Dark-mode fourth step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-5":{"$type":"color","$value":"#7a90ef","$description":"Dark-mode fifth step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-seq-6":{"$type":"color","$value":"#b3c1f7","$description":"Dark-mode strongest step of the magnitude ramp for heatmap and calendar cells."},"dark-chart-diverging-low":{"$type":"color","$value":"#e66767","$description":"Dark-mode colour of values below the midpoint in a diverging chart."},"dark-chart-diverging-mid":{"$type":"color","$value":"#3a414f","$description":"Dark-mode neutral midpoint colour of a diverging chart."},"dark-chart-diverging-high":{"$type":"color","$value":"#3987e5","$description":"Dark-mode colour of values above the midpoint in a diverging chart."},"dark-chart-neutral":{"$type":"color","$value":"#5d6475","$description":"Dark-mode context series colour, such as the last period."},"phone-bg":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-bg-subtle":{"$type":"color","$value":"#F8F8FB","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-bg-muted":{"$type":"color","$value":"#F1F1F5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-inverse":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text":{"$type":"color","$value":"#252F4A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-body":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-muted":{"$type":"color","$value":"#52525B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-subtle":{"$type":"color","$value":"#62626B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-inverse":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-link":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-border":{"$type":"color","$value":"#E5E5EC","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-border-subtle":{"$type":"color","$value":"#EFEFF3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-focus-ring":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-scrim":{"$type":"color","$value":"rgba(15, 15, 26, 0.5)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-scrim":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-bg":{"$type":"color","$value":"#F9FBFC","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-border":{"$type":"color","$value":"#EBEDF3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-border-focus":{"$type":"color","$value":"#BED2F9","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-hover":{"$type":"color","$value":"#4F4FBF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-soft":{"$type":"color","$value":"#EEEEFC","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-text":{"$type":"color","$value":"#4F4FD3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-primary":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-success":{"$type":"color","$value":"#18864F","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-success-text":{"$type":"color","$value":"#147042","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-success":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-warning":{"$type":"color","$value":"#F59E0B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-warning-text":{"$type":"color","$value":"#8F5C06","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-warning":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-danger":{"$type":"color","$value":"#E12C32","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-danger-text":{"$type":"color","$value":"#BC1B20","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-danger":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-danger-border":{"$type":"color","$value":"#E5484D","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-info":{"$type":"color","$value":"#1B6EF5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-info-text":{"$type":"color","$value":"#0958D9","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-info":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-neutral":{"$type":"color","$value":"#F4F4F8","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-neutral-hover":{"$type":"color","$value":"#E9E9F0","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-neutral":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-pressed":{"$type":"color","$value":"#4040A8","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-neutral-strong":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-text-disabled":{"$type":"color","$value":"#B4B4BB","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-pressed":{"$type":"color","$value":"rgba(15, 15, 26, 0.06)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-hover":{"$type":"color","$value":"rgba(15, 15, 26, 0.04)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-selected":{"$type":"color","$value":"rgba(91, 91, 214, 0.1)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-surface-disabled":{"$type":"color","$value":"#F1F1F5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-skeleton":{"$type":"color","$value":"#EBEDF3","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-skeleton-highlight":{"$type":"color","$value":"#F5F6FA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-glass-fill":{"$type":"color","$value":"rgba(255, 255, 255, 0.28)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-glass-border":{"$type":"color","$value":"rgba(255, 255, 255, 0.45)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-on-glass":{"$type":"color","$value":"#0F0F1A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-glass-badge":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-bg-focus":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-bg-disabled":{"$type":"color","$value":"#F5F6FA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-border-error":{"$type":"color","$value":"#FDBFCE","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-label":{"$type":"color","$value":"#242F4A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-text":{"$type":"color","$value":"#252F4A","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-text-disabled":{"$type":"color","$value":"#7A8197","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-placeholder":{"$type":"color","$value":"#626D8B","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-placeholder-disabled":{"$type":"color","$value":"#7A8197","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-icon":{"$type":"color","$value":"#7A849F","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-icon-focus":{"$type":"color","$value":"#4B5675","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-icon-disabled":{"$type":"color","$value":"#C4CADA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-caret":{"$type":"color","$value":"#5B8DEE","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-field-message":{"$type":"color","$value":"#D81736","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-1":{"$type":"color","$value":"#5B5BD6","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-2":{"$type":"color","$value":"#0A7979","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-3":{"$type":"color","$value":"#A45A05","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-4":{"$type":"color","$value":"#CD226E","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-5":{"$type":"color","$value":"#2462EB","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-6":{"$type":"color","$value":"#7C3AED","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-7":{"$type":"color","$value":"#047C57","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-avatar-8":{"$type":"color","$value":"#D42222","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-sm":{"$type":"color","$value":"rgba(0, 0, 0, 0.06)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-md":{"$type":"color","$value":"rgba(0, 0, 0, 0.08)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-lg":{"$type":"color","$value":"rgba(0, 0, 0, 0.1)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-shadow-xl":{"$type":"color","$value":"rgba(0, 0, 0, 0.14)","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-thumb":{"$type":"color","$value":"#FFFFFF","$extensions":{"com.webority":{"platforms":["phone"]}}}}`)},kt={leading:{body:{$value:1.4},display:{$value:1.2}},color:{bg:{$value:`{palette.phone-bg}`},"bg-subtle":{$value:`{palette.phone-bg-subtle}`},"bg-muted":{$value:`{palette.phone-bg-muted}`},surface:{$value:`{palette.phone-surface}`},"surface-inverse":{$value:`{palette.phone-surface-inverse}`},text:{$value:`{palette.phone-text}`},"text-body":{$value:`{palette.phone-text-body}`},"text-muted":{$value:`{palette.phone-text-muted}`},"text-subtle":{$value:`{palette.phone-text-subtle}`},"text-inverse":{$value:`{palette.phone-text-inverse}`},link:{$value:`{palette.phone-link}`},border:{$value:`{palette.phone-border}`},"border-subtle":{$value:`{palette.phone-border-subtle}`},"focus-ring":{$value:`{palette.phone-focus-ring}`},scrim:{$value:`{palette.phone-scrim}`},"on-scrim":{$value:`{palette.phone-on-scrim}`},"field-bg":{$value:`{palette.phone-field-bg}`},"field-border":{$value:`{palette.phone-field-border}`},"field-border-focus":{$value:`{palette.phone-field-border-focus}`},primary:{$value:`{palette.phone-primary}`},"primary-hover":{$value:`{palette.phone-primary-hover}`},"primary-soft":{$value:`{palette.phone-primary-soft}`},"primary-text":{$value:`{palette.phone-primary-text}`},"on-primary":{$value:`{palette.phone-on-primary}`},success:{$value:`{palette.phone-success}`},"success-text":{$value:`{palette.phone-success-text}`},"on-success":{$value:`{palette.phone-on-success}`},warning:{$value:`{palette.phone-warning}`},"warning-text":{$value:`{palette.phone-warning-text}`},"on-warning":{$value:`{palette.phone-on-warning}`},danger:{$value:`{palette.phone-danger}`},"danger-text":{$value:`{palette.phone-danger-text}`},"on-danger":{$value:`{palette.phone-on-danger}`},"danger-border":{$value:`{palette.phone-danger-border}`},info:{$value:`{palette.phone-info}`},"info-text":{$value:`{palette.phone-info-text}`},"on-info":{$value:`{palette.phone-on-info}`},neutral:{$value:`{palette.phone-neutral}`},"neutral-hover":{$value:`{palette.phone-neutral-hover}`},"on-neutral":{$value:`{palette.phone-on-neutral}`},thumb:{$value:`{palette.phone-thumb}`}},shadow:{card:{$value:{color:`{palette.phone-shadow-sm}`,offsetX:{value:0,unit:`px`},offsetY:{value:2,unit:`px`},blur:{value:4,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:2}}},popover:{$value:{color:`{palette.phone-shadow-lg}`,offsetX:{value:0,unit:`px`},offsetY:{value:8,unit:`px`},blur:{value:16,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:8}}},modal:{$value:{color:`{palette.phone-shadow-xl}`,offsetX:{value:0,unit:`px`},offsetY:{value:12,unit:`px`},blur:{value:24,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:12}}},drawer:{$value:{color:`{palette.phone-shadow-xl}`,offsetX:{value:0,unit:`px`},offsetY:{value:12,unit:`px`},blur:{value:24,unit:`px`},spread:{value:0,unit:`px`}},$extensions:{"com.webority":{elevation:12}}}},radius:{sm:{$value:{value:6,unit:`px`}},xl:{$value:{value:20,unit:`px`}}},text:{xs:{$value:{value:11,unit:`px`}},sm:{$value:{value:13,unit:`px`}},base:{$value:{value:15,unit:`px`}},lg:{$value:{value:17,unit:`px`}},xl:{$value:{value:20,unit:`px`}},"2xl":{$value:{value:24,unit:`px`}},"3xl":{$value:{value:30,unit:`px`}},"4xl":{$value:{value:36,unit:`px`}},"5xl":{$value:{value:45,unit:`px`}},"6xl":{$value:{value:57,unit:`px`}},"7xl":{$value:{value:64,unit:`px`}},"8xl":{$value:{value:72,unit:`px`}}},font:{ui:{$value:[`System`]},display:{$value:[`System`]},mono:{$value:[`System`]}},motion:{duration:{fast:{$value:{value:160,unit:`ms`}},default:{$value:{value:240,unit:`ms`}},slow:{$value:{value:360,unit:`ms`}}}},component:{field:{sm:{radius:{$value:`{radius.md}`}},md:{radius:{$value:`{radius.md}`}},lg:{radius:{$value:`{radius.md}`}}},disabled:{opacity:{$value:.55}},press:{opacity:{$value:.85}}}},At=`no meaning uses this step; propose one on the Webority UI board (bootstrap-ui.md → Tokens)`,jt=new Set(Object.keys(Ot.palette??{}).filter(e=>!e.startsWith(`$`))),Mt=/* @__PURE__ */ new Map,Nt=/^\{palette\.([a-z0-9-]+)\}$/;for(let e of[Et,Dt,kt])if(e?.color&&typeof e.color==`object`){for(let[t,n]of Object.entries(e.color))if(!t.startsWith(`$`)&&n&&typeof n==`object`&&typeof n.$value==`string`){let e=n.$value.match(Nt);if(e){let n=e[1],r=Mt.get(n);r||(r=/* @__PURE__ */ new Set,Mt.set(n,r)),r.add(t)}}}function Pt(e){let t=Mt.get(e);return t?[...t].sort():[]}function Ft(e,t){let n=Pt(e);return n.length===0?At:t===`web`?`read the meaning: ${n.map(e=>`var(--color-${e})`).join(` or `)}`:`read the meaning: ${n.map(e=>`theme.colors["${e}"]`).join(` or `)}`}function It(e){return Object.hasOwn(C,e)?`read the meaning: var(--color-${C[e]})`:At}var Lt=e=>e===`{`||e===`}`||e===`;`?` `:e;function w(e,t){if(t===`markup`)return Rt(e);let n=``,r=null,i=!1,a=!1;for(let o=0;o<e.length;o+=1){let s=e[o],c=e[o+1];if(a)s===`*`&&c===`/`?(a=!1,n+=` `,o+=1):n+=s===`
|
|
61
|
+
`?s:` `;else if(r)s===`\\`&&c!==void 0?(n+=`${Lt(s)}${Lt(c)}`,o+=1):(s===r&&(r=null),n+=Lt(s));else if(s===`"`||s===`'`)r=s,n+=s;else if(i)s===`)`&&(i=!1),n+=Lt(s);else if(s===`/`&&c===`*`)a=!0,n+=` `,o+=1;else if(t===`scss`&&s===`/`&&c===`/`){let t=e.indexOf(`
|
|
62
|
+
`,o);if(t===-1)break;o=t-1}else s===`(`&&n.slice(-3).toLowerCase()===`url`&&(i=!0),n+=s}return n}function Rt(e){let t=[[`@*`,`*@`],[`<!--`,`-->`],[`/*`,`*/`]],n=``,r=0;for(;r<e.length;){let i=null;for(let n of t)if(e.startsWith(n[0],r)){i=n;break}if(!i){n+=e[r],r+=1;continue}let a=e.indexOf(i[1],r+i[0].length),o=a===-1?e.length:a+i[1].length;for(let t=r;t<o;t+=1)n+=e[t]===`
|
|
62
63
|
`?`
|
|
63
|
-
`:` `;r=o}return n}function
|
|
64
|
+
`:` `;r=o}return n}function zt(e,t){let n=[0];for(let t=0;t<e.length;t+=1)e[t]===`
|
|
64
65
|
`&&n.push(t+1);let r=t.split(`
|
|
65
|
-
`);return e=>{let t=0,i=n.length-1;for(;t<i;){let r=t+i+1>>1;n[r]<=e?t=r:i=r-1}return{line:t+1,text:(r[t]??``).trim().slice(0,160)}}}var
|
|
66
|
+
`);return e=>{let t=0,i=n.length-1;for(;t<i;){let r=t+i+1>>1;n[r]<=e?t=r:i=r-1}return{line:t+1,text:(r[t]??``).trim().slice(0,160)}}}var Bt=[...pe].sort((e,t)=>t.length-e.length).join(`|`),Vt=RegExp(`(?<![\\w$@.#-])(${Bt})\\s*:(?!:)([^;{}"\\n]*)`,`gi`),Ht=new Set(`aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple rebeccapurple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray slategrey snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen`.split(` `)),Ut=/(?<![\w&-])#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})(?![0-9a-f\w-])/,Wt=/\b(?:rgba?|hsla?)\(\s*[-.\d]/,Gt=/(?<![\w$@#.-])[a-z]+(?![\w-])/g,Kt=/(?<![\w&-])#(?:[0-9a-f]{3}0|[0-9a-f]{6}00)(?![0-9a-f\w-])/g,qt=/\b(?:rgba?|hsla?)\(([^()]*)\)/g,Jt=/^(?:0+(?:\.0*)?|\.0+)%?$/;function Yt(e){let t=e.split(`/`);if(t.length===2)return Jt.test(t[1].trim());let n=e.split(`,`);return n.length===4&&Jt.test(n[3].trim())}var Xt=[..._e].sort((e,t)=>t.length-e.length).join(`|`),Zt=RegExp(`(?<![\\w$@.#-])(${Xt})\\s*:(?!:)([^;{}"\\n]*)`,`gi`),Qt=/var\(\s*--wui-([a-z0-9-]+)\s*[,)]/g,$t=Object.keys(C).join(`|`),en=RegExp(`var\\(\\s*--bs-(${$t})(?:-rgb)?\\s*[,)]`,`g`),tn=RegExp(`(?<![\\w$-])\\$(${$t})(?![\\w-])`,`g`),nn={"palette-read":0,"raw-colour":1,"raw-measure":2,"root-font-size":3};function rn(e,t){let n=0,r=-1;for(let i=t-1;i>=0;--i){let t=e[i];if(t===`}`)n+=1;else if(t===`{`){if(n===0){r=i;break}--n}}if(r===-1)return null;let i=r-1;for(;i>=0&&!`{};`.includes(e[i]);)--i;return e.slice(i+1,r).replace(/^[\s\S]*<style\b[^>]*>/i,``).replace(/^\s*@@/,`@`).trim()}function an(e,t){return rn(e,t)?.toLowerCase()===`@font-face`}function on(e,t){let n=rn(e,t);return n!==null&&n.split(`,`).some(e=>{let t=e.trim().toLowerCase();return t===`html`||t===`:root`||/^(?:html|:root)(?:\[|:|\.)/.test(t)})}function sn(e,t){let n=w(e,t),r=zt(n,e),i=[];for(let e of n.matchAll(Vt)){let t=e[1].toLowerCase(),a=e[2];cn(t,a)&&!an(n,e.index)&&i.push({rule:`raw-measure`,...r(e.index),hint:null}),(t===`font-size`||t===`font`)&&on(n,e.index)&&i.push({rule:`root-font-size`,...r(e.index),hint:null})}for(let e of n.matchAll(Zt))ln(e[2])&&i.push({rule:`raw-colour`,...r(e.index),hint:`read a meaning: var(--color-<name>); a product-only colour goes into theme/brand.tokens.json`});for(let e of n.matchAll(Qt)){let t=e[1];jt.has(t)&&i.push({rule:`palette-read`,...r(e.index),hint:Ft(t,`web`)})}for(let e of n.matchAll(en))i.push({rule:`palette-read`,...r(e.index),hint:It(e[1])});if(t===`scss`)for(let e of n.matchAll(tn)){let t=e.index+e[0].length;for(;t<n.length&&/\s/.test(n[t]);)t+=1;n[t]!==`:`&&i.push({rule:`palette-read`,...r(e.index),hint:It(e[1])})}return i.sort((e,t)=>e.line-t.line||nn[e.rule]-nn[t.rule]),i}function cn(e,t){let n=t.replace(/!important/gi,``).replace(/var\(\s*--[\w-]+/g,`var(`).replace(/\$[\w-]+/g,`$v`);for(let t of n.matchAll(/(?<![\w.#$@-])-?(?:\d+(?:\.\d+)?|\.\d+)([a-zA-Z%]*)/g)){if(parseFloat(t[0])===0)continue;let r=t[1].toLowerCase();if(ye.includes(r))return!0;if(r===``&&me.includes(e)){let r=t.index-1;for(;r>=0&&/\s/.test(n[r]);)--r;let i=t.index+t[0].length;for(;i<n.length&&/\s/.test(n[i]);)i+=1;let a=r>=0?n[r]:``,o=i<n.length?n[i]:``;if(a===`*`||o===`*`||(a===`/`||o===`/`)&&e!==`font`)continue;return!0}}return!1}function ln(e){let t=e.replace(/url\([^)]*\)/gi,`url()`).replace(/(["'])(?:\\.|(?!\1).)*\1/g,`""`).replace(/var\(\s*--[\w-]+/g,`var(`).replace(/!important/gi,``).toLowerCase().replace(Kt,``).replace(qt,(e,t)=>Yt(t)?``:e);if(Ut.test(t)||Wt.test(t))return!0;for(let e of t.matchAll(Gt))if(Ht.has(e[0]))return!0;return!1}var un=/(?:\bfrom\s*|\brequire\(\s*)["']react-native["']/,dn=[...ge].sort((e,t)=>t.length-e.length),fn=[...ge,...pe].sort((e,t)=>t.length-e.length),pn=dn.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),mn=fn.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),hn=RegExp(`(?<![\\w$.])(?:(${pn})|(["'])(${mn})\\2)\\s*:(?!:)`,`g`),gn=[...ve].sort((e,t)=>t.length-e.length),_n=[...ve,...ve.map(Hn)].sort((e,t)=>t.length-e.length),vn=gn.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),yn=_n.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),bn=RegExp(`(?<![\\w$.])(?:(${vn})|(["'])(${yn})\\2)\\s*:(?!:)`,`g`),xn={"palette-read":0,"raw-colour":1,"raw-measure":2,"root-font-size":3},Sn=Object.keys(C).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),Cn=RegExp(`var\\(\\s*--bs-(${Sn})(?:-rgb)?\\s*[,)]`,`g`),wn=/var\(\s*--wui-([a-z0-9-]+)\s*[,)]/g,Tn=/(?<![\w$])palette\s*(?:\?\.|\.|\[)/g,En=/(?<![\w$.])-?(?:\d+(?:\.\d+)?|\.\d+)(?![\w.])/g,Dn=`read a meaning: theme.colors["<name>"] on phone, var(--color-<name>) on web; a product-only colour goes into theme/brand.tokens.json`,On=`${Dn}. react-native.md: colours come from useTheme()`,kn=/(["'`])((?:\\.|(?!\1)[^\\\n])*)\1/g,An=/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,jn=/^(?:rgba?|hsla?)\(.*\)$/i,Mn=/(?<![\w$.])(?:color|[A-Za-z]+Color)\s*=\s*$/;function Nn(e){return un.test(e)}function Pn(e,{phone:t,colourLiterals:n=!1}){let{blanked:r,lineStarts:i}=Fn(e),a=[],o=[];return Rn(r,i,e,a),zn(r,i,e,a,o,t),Gn(r,i,e,a),Kn(r,i,e,a),t&&qn(r,i,e,a),n&&Bn(r,i,e,a,o),a.sort((e,t)=>e.line-t.line||xn[e.rule]-xn[t.rule]),a}function Fn(e){let t=[],n=[0],r=0,i=!1,a=!1,o=!1,s=!1,c=!1,l=`code`,u=!1,d=0,f=[];for(;r<e.length;){let p=e[r],m=e[r+1];if(s)p===`
|
|
66
67
|
`?(s=!1,t.push(p),n.push(t.length)):t.push(` `),r++;else if(c)p===`*`&&m===`/`?(c=!1,t.push(` `,` `),r+=2):(p===`
|
|
67
68
|
`?(t.push(p),n.push(t.length)):t.push(` `),r++);else if(i)t.push(p),p===`
|
|
68
69
|
`&&n.push(t.length),p===`\\`?(t.push(e[r+1]),r+=2):(p===`'`&&(i=!1),r++);else if(a)t.push(p),p===`
|
|
69
70
|
`&&n.push(t.length),p===`\\`?(t.push(e[r+1]),r+=2):(p===`"`&&(a=!1),r++);else if(o)t.push(p),p===`
|
|
70
|
-
`&&n.push(t.length),p===`\\`?(t.push(e[r+1]),r+=2):(p==="`"&&(o=!1),r++);else if(p===`/`&&m===`/`)s=!0,t.push(` `,` `),r+=2;else if(p===`/`&&m===`*`)c=!0,t.push(` `,` `),r+=2;else if(l===`text`&&(p===`'`||p===`"`||p==="`"))t.push(` `),r++;else if(p===`'`)i=!0,t.push(p),r++;else if(p===`"`)a=!0,t.push(p),r++;else if(p==="`")o=!0,t.push(p),r++;else{if(p===`<`&&l!==`tag`){let n=m===`/`,i=n?e[r+2]:m;if(i!==void 0&&/[A-Za-z_$>]/.test(i)&&(l===`text`||!
|
|
71
|
-
`&&n.push(t.length),r++}}return{blanked:t.join(``),lineStarts:n}}function
|
|
72
|
-
`);return t>=1&&t<=n.length?n[t-1].trim().slice(0,160):``}function
|
|
71
|
+
`&&n.push(t.length),p===`\\`?(t.push(e[r+1]),r+=2):(p==="`"&&(o=!1),r++);else if(p===`/`&&m===`/`)s=!0,t.push(` `,` `),r+=2;else if(p===`/`&&m===`*`)c=!0,t.push(` `,` `),r+=2;else if(l===`text`&&(p===`'`||p===`"`||p==="`"))t.push(` `),r++;else if(p===`'`)i=!0,t.push(p),r++;else if(p===`"`)a=!0,t.push(p),r++;else if(p==="`")o=!0,t.push(p),r++;else{if(p===`<`&&l!==`tag`){let n=m===`/`,i=n?e[r+2]:m;if(i!==void 0&&/[A-Za-z_$>]/.test(i)&&(l===`text`||!In(t))){l=`tag`,u=n,t.push(p),r++;continue}}p===`>`&&l===`tag`?(u?d=Math.max(0,d-1):Ln(t)!==`/`&&d++,l=d>0?`text`:`code`):p===`{`?(f.push(l),l=`code`):p===`}`&&f.length>0&&(l=f.pop()),t.push(p),p===`
|
|
72
|
+
`&&n.push(t.length),r++}}return{blanked:t.join(``),lineStarts:n}}function In(e){let t=e.slice(-16).join(``).trimEnd();return!/(?:^|[^\w$])(?:return|yield|await|case|default|else|typeof|in|of)$/.test(t)&&/[\w$)\]]$/.test(t)}function Ln(e){for(let t=e.length-1;t>=0;t--)if(!/\s/.test(e[t]))return e[t];return``}function T(e,t){let n=0,r=t.length-1;for(;n<=r;){let i=n+r>>1;t[i]<=e?n=i+1:r=i-1}return r+1}function E(e,t){let n=e.split(`
|
|
73
|
+
`);return t>=1&&t<=n.length?n[t-1].trim().slice(0,160):``}function Rn(e,t,n,r){for(let i of e.matchAll(hn)){let a=i.index,o=a-1;for(;o>=0&&/\s/.test(e[o]);)o--;if(o<0||e[o]!==`{`&&e[o]!==`,`)continue;let s=i[1],c=i[3],l=s||c,u=!!c,d=i.index+i[0].length-1+1,f=Vn(e,d);if(f!==-1&&Un(e.slice(d,f),u?l:Hn(l))){let e=T(a,t);r.push({rule:`raw-measure`,line:e,text:E(n,e),hint:null})}}}function zn(e,t,n,r,i,a){bn.lastIndex=0;for(let o of e.matchAll(bn)){let s=o.index,c=s-1;for(;c>=0&&/\s/.test(e[c]);)c--;if(c<0||e[c]!==`{`&&e[c]!==`,`)continue;let l=o.index+o[0].length-1+1,u=Vn(e,l);if(u===-1)continue;let d=e.slice(l,u);if(i.push([l,u]),!Wn(d).some(({content:e})=>ln(e)))continue;let f=T(s,t);r.push({rule:`raw-colour`,line:f,text:E(n,f),hint:a?On:Dn})}}function Bn(e,t,n,r,i){kn.lastIndex=0;for(let a of e.matchAll(kn)){let o=a.index;if(i.some(([e,t])=>o>=e&&o<t))continue;let s=a[2];if(a[1]==="`"&&s.includes("${"))continue;let c=An.test(s)||jn.test(s),l=Mn.test(e.slice(Math.max(0,o-40),o));if(!(c||l)||!ln(s))continue;let u=T(o,t);r.push({rule:`raw-colour`,line:u,text:E(n,u),hint:On})}}function Vn(e,t){let n=0,r=t,i=!1,a=!1,o=!1;for(;r<e.length;){let t=e[r];if(i)t===`\\`?r+=2:(t===`'`&&(i=!1),r++);else if(a)t===`\\`?r+=2:(t===`"`&&(a=!1),r++);else if(o)t===`\\`?r+=2:(t==="`"&&(o=!1),r++);else if(t===`'`)i=!0,r++;else if(t===`"`)a=!0,r++;else if(t==="`")o=!0,r++;else if(t===`(`||t===`[`||t===`{`)n++,r++;else if(t===`)`||t===`]`||t===`}`){if(n===0)return r;n--,r++}else{if(n===0&&(t===`,`||t===`}`||t===`)`||t===`]`||t===`;`))return r;r++}}return-1}function Hn(e){return e.replace(/([A-Z])/g,(e,t)=>`-${t.toLowerCase()}`)}function Un(e,t){let n=Wn(e);for(let{content:e}of n)if(cn(t,e))return!0;let r=e;for(let{start:e,end:t}of n)r=`${r.slice(0,e)}""${r.slice(t)}`;En.lastIndex=0;for(let e of r.matchAll(En)){if(parseFloat(e[0])===0)continue;let t=e.index-1;for(;t>=0&&/\s/.test(r[t]);)t--;if(t>=0&&`[*/<>=`.includes(r[t]))continue;let n=e.index+e[0].length;for(;n<r.length&&/\s/.test(r[n]);)n++;if(!(n<r.length&&`*/<>=`.includes(r[n])))return!0}return!1}function Wn(e){let t=[],n=0,r=!1,i=!1,a=!1,o=-1;for(;n<e.length;){let s=e[n];if(r)s===`\\`?n+=2:(s===`'`&&(r=!1,t.push({start:o,end:n+1,content:e.slice(o+1,n)})),n++);else if(i)s===`\\`?n+=2:(s===`"`&&(i=!1,t.push({start:o,end:n+1,content:e.slice(o+1,n)})),n++);else if(a){if(s===`\\`)n+=2;else if(s==="`"){a=!1;let r=e.slice(o+1,n);r=r.replace(/\$\{[^}]*\}/g,``),t.push({start:o,end:n+1,content:r}),n++}else s===`$`&&e[n+1]===`{`?n+=2:n++}else s===`'`?(r=!0,o=n,n++):s===`"`?(i=!0,o=n,n++):(s==="`"&&(a=!0,o=n),n++)}return t}function Gn(e,t,n,r){for(let i of e.matchAll(wn)){let e=i[1];if(jt.has(e)){let a=T(i.index,t);r.push({rule:`palette-read`,line:a,text:E(n,a),hint:Ft(e,`web`)})}}}function Kn(e,t,n,r){for(let i of e.matchAll(Cn)){let e=i[1],a=T(i.index,t);r.push({rule:`palette-read`,line:a,text:E(n,a),hint:It(e)})}}function qn(e,t,n,r){for(let i of e.matchAll(Tn)){let a=``,o=e.slice(i.index+i[0].length);if(i[0].endsWith(`[`)){let e=o.match(/^\s*(["'])([^"']*)\1/);e&&(a=e[2])}else{let e=o.match(/^\s*([\w$]+)/);e&&(a=e[1])}let s=T(i.index,t);r.push({rule:`palette-read`,line:s,text:E(n,s),hint:Ft(a,`phone`)})}}var Jn=/\.(?:js|jsx|ts|tsx)$/,Yn=/\.(?:test|spec)\.[jt]sx?$/,Xn=/* @__PURE__ */ new Set([`node_modules`,`__tests__`,`__mocks__`,`generated`,`android`,`ios`]),Zn=[``,`.js`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.jsx`,`/index.ts`,`/index.tsx`],Qn=/^\s*(?:\/\/|\{\s*\/\*)\s*layering-allow\s+([a-z-]+)\s*(?::\s*(.*?))?\s*(?:\*\/\s*\}?)?\s*$/,$n=/\bimport\s+(?:type\s+)?([^'"();]+?)\s+from\s*["']([^"']+)["']/g,er=/\bimport\s*["']([^"']+)["']/g,tr=/\bexport\s+(?:type\s+)?(\*(?:\s+as\s+[\w$]+)?|\{[^}]*\})\s*from\s*["']([^"']+)["']/g,nr=/\brequire\(\s*["']([^"']+)["']\s*\)/g,rr=/\bimport\(\s*["']([^"']+)["']\s*\)/g;function ir(e){let t=e.split(`
|
|
73
74
|
`).length;return e.endsWith(`
|
|
74
|
-
`)?t-1:t}function
|
|
75
|
-
`),lineAt:e=>{let t=0,n=a.length-1;for(;t<=n;){let r=t+n>>1;a[r]<=e?t=r+1:n=r-1}return n+1}}}function
|
|
76
|
-
`).findIndex(e=>e.includes(`"${s[0]}"`));return[{rule:`mobile-pins-lockstep`,file:`package.json`,line:l===-1?1:l+1,message:`pins ${s[0]}@${s[1]} and ${c[0]}@${c[1]}. react-native.md: the phone packages move together.`}]}var
|
|
77
|
-
`).length}var
|
|
78
|
-
`).findIndex(e=>/\bimmutable\b/i.test(e)&&/cache/i.test(e));if(a===-1)continue;let o=qr(m(e,n));t.push([`spa-host-immutable-assets:${o}`,`${o}:${a+1} sets a Cache-Control with immutable. react.md → SPA deploy artifacts: /assets/* is "public, max-age=31536000" without immutable, because immutable on a content-hashed URL can brick that URL in the browser cache across a bad deploy.`])}return t}var si=[[`eslint`,`react.md: Biome is the only lint and format tool`],[`@eslint/js`,`react.md: Biome is the only lint and format tool`],[`prettier`,`react.md: Biome is the only lint and format tool`],[`lint-staged`,`react.md: the shared pre-commit hook replaces lint-staged`]],ci=[[`@typescript-eslint/`,`react.md: no TypeScript toolchain residue`],[`eslint-plugin-`,`react.md: Biome is the only lint and format tool`],[`eslint-config-`,`react.md: Biome is the only lint and format tool`],[`prettier-plugin-`,`react.md: Biome is the only lint and format tool`]],P=`bootstrap-ui.md: hard interactive components come from @webority/ui-react`,li=`react.md: Bootstrap 5.3.3 is the only UI framework`,ui=`react.md: dates format through Intl and the web-core formatters`,di=`react-native.md: retired; Intl and the mobile-core formatters`,fi={web:[...si,[`typescript`,`react.md: JavaScript only, never TypeScript`],[`sass`,`react.md: the SCSS compiler is sass-embedded, never the pure-JS sass`],[`react-toastify`,`react.md: notifications are toast from @webority/ui-react`],[`downshift`,P],[`react-day-picker`,P],[`react-aria`,P],[`react-aria-components`,P],[`@webority/ui-elements`,`bootstrap-ui.md: products use the App* wrappers, and ui-react brings the elements itself`],[`crypto-js`,`react.md: stored tokens are never encrypted client-side`],[`tailwindcss`,li],[`antd`,li],[`styled-components`,`react.md: no CSS-in-JS`],[`bootstrap-icons`,`bootstrap-ui.md: icons are AppIcon from @webority/ui-react`],[`iconsax-react`,`ui-components.md: icons are AppIcon from @webority/ui-react`],[`moment`,ui],[`moment-timezone`,ui],[`dayjs`,ui],[`date-fns`,ui]],mobile:[...si,[`typescript`,`react-native.md: app code is JavaScript`],[`@types/react`,`react-native.md: app code is JavaScript`],[`@react-native/typescript-config`,`react-native.md: app code is JavaScript`],[`react-native-permissions`,`react-native.md: retired; each Expo module requests its own permission`],[`moment`,di],[`moment-timezone`,di],[`dayjs`,di],[`react-native-fast-image`,`react-native.md: retired; expo-image`],[`@d11/react-native-fast-image`,`react-native.md: retired; expo-image`],[`formik`,`react-native.md: retired; react-hook-form`],[`yup`,`react-native.md: retired; zod with zodResolver`],[`react-native-status-bar-height`,`react-native.md: retired; react-native-safe-area-context insets`],[`react-native-flash-message`,`react-native.md: retired; the mobile-ui toast`],[`react-native-toast-message`,`react-native.md: retired; the mobile-ui toast`],[`prop-types`,`react-native.md: retired; defaults in the parameter destructure`],[`@react-navigation/stack`,`react-native.md: retired; @react-navigation/native-stack`],[`react-native-version-check`,`react-native.md: retired; the server-driven minimum version`],[`@react-native-firebase/messaging`,`react-native.md: push is expo-notifications through mobile-core`],[`@notifee/react-native`,`react-native.md: push is expo-notifications through mobile-core`],[`patch-package`,`react-native-toolchain.md: patch with pnpm patch, never patch-package`]],demo:[]},pi={web:[...ci,[`@mui/`,li],[`@chakra-ui/`,li],[`@emotion/`,`react.md: no CSS-in-JS`],[`@radix-ui/`,P],[`@react-aria/`,P]],mobile:[...ci],demo:[]},mi={web:[[`axios-retry`,`@webority/web-core`,`react.md: retry lives only in @webority/web-core`]],mobile:[[`axios-retry`,`@webority/mobile-core`,`react.md: retry lives only in @webority/mobile-core`]],demo:[]},hi={web:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/web-core`,`react.md: clients, auth, errors and logging come from web-core`],[`@webority/ui-react`,`react.md: App* components come from the catalogue`],[`@webority/theme`,`bootstrap-ui.md: look and tokens come from the shared theme`],[`bootstrap`,`bootstrap-ui.md: Bootstrap 5.3.3 on every surface`],[`react-bootstrap`,`bootstrap-ui.md: react-bootstrap is a dependency from project init`],[`sass-embedded`,`react.md: the SCSS compiler is sass-embedded`]],mobile:[[`@biomejs/biome`,`react-native.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/mobile-core`,`react-native.md: apps consume the shared mobile library`],[`@webority/mobile-ui`,`react-native.md: apps consume the shared mobile library`],[`@react-native-firebase/app`,`react-native.md: Crashlytics in every app`],[`@react-native-firebase/crashlytics`,`react-native.md: Crashlytics in every app`]],demo:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`]]},gi=`5.3.3`,_i=[`agentation`],vi=`>=24.15 <25`,yi=[[`web-import-axios`,/(?:\bfrom\s*|\bimport\s*\(\s*|\brequire\s*\(\s*|^\s*import\s*)["']axios(?:\/[^"']*)?["']/m,`imports axios`,`react.md: HTTP goes through userClient and publicClient from @webority/web-core`],[`web-import-router`,/\bimport\s*\{[^}]*\b(?:BrowserRouter|Routes)\b[^}]*\}\s*from\s*["']react-router(?:-dom)?["']/,`imports BrowserRouter or Routes`,`react.md: routes are objects passed to createBrowserRouter and rendered by RouterProvider`],[`web-import-env-branch`,/\bimport\.meta\.env\.(?:DEV|PROD)\b/,`reads import.meta.env.DEV or PROD`,`react.md: branch on AppSettings.ENVIRONMENT; DEV and PROD only say which React build is bundled`]],bi=[[`@webority/theme`,`@webority/ui-react`,`@webority/support-react`,`@webority/chat-react`,`@webority/web-core`,`@webority/biome-config`,`@webority/repo-checks`],[`@webority/mobile-core`,`@webority/mobile-ui`,`@webority/mobile-support`,`@webority/mobile-tools`]],xi=`@webority/biome-config/biome.jsonc`,Si={react:[`Children`,`Fragment`,`Profiler`,`StrictMode`,`Suspense`]},Ci=/* @__PURE__ */ `AppAccordion.AppActionIcon.AppAlert.AppAsyncBlock.AppAutocomplete.AppAvatar.AppAvatarGroup.AppBadge.AppBanner.AppBreadcrumbs.AppButton.AppButtonGroup.AppCalendar.AppCard.AppCarousel.AppChart.AppChartCard.AppCheckbox.AppChip.AppChipGroup.AppChoiceCard.AppChoiceChip.AppCodeBlock.AppColorField.AppColumnMenu.AppCommandPalette.AppCommentThread.AppCompareTable.AppConfirmDialog.AppConsentBanner.AppContextMenu.AppCopyButton.AppCountryFlag.AppCountrySelect.AppDashboardCell.AppDashboardGrid.AppDataTable.AppDatePicker.AppDateRangePicker.AppDescriptions.AppDetailPane.AppDrawer.AppDropZone.AppDropdown.AppDueDate.AppEmptyState.AppErrorSummary.AppFileAttachment.AppFilePicker.AppFileTiles.AppFileViewer.AppFilterBar.AppFloatingDock.AppFormActions.AppFormRow.AppFormSection.AppHoverCard.AppIcon.AppImagePicker.AppInfoTip.AppInlineEdit.AppInput.AppInputGroup.AppKanban.AppKbd.AppKpiTile.AppLightbox.AppLink.AppMarkdown.AppMentionInput.AppMeter.AppMetricStrip.AppModal.AppMultiSelect.AppNavList.AppNavigationMenu.AppNotificationCenter.AppNumberInput.AppOnboardingChecklist.AppOtpInput.AppPageHeader.AppPhoneNumberInput.AppPopover.AppPricingCard.AppProgress.AppQrCode.AppRadio.AppRadioGroup.AppRating.AppRecordPager.AppRelativeTime.AppRepeater.AppRequiredMark.AppResizable.AppResizableHandle.AppResizablePanel.AppResourceCard.AppResult.AppRichText.AppRollingNumber.AppRouteError.AppScoreScale.AppScrollbar.AppSearch.AppSectionCallToAction.AppSectionFaq.AppSectionFeatures.AppSectionHero.AppSectionLeadCapture.AppSectionLogos.AppSectionPricing.AppSectionTestimonials.AppSegmented.AppSelect.AppSeoHead.AppShell.AppShortcutLegend.AppShowMore.AppSkeleton.AppSkeletonLines.AppSkeletonRows.AppSlider.AppSortableList.AppSparkline.AppSpinner.AppSplash.AppSplitButton.AppSplitView.AppStatusBadge.AppStepper.AppSwitch.AppTablePagination.AppTableToolbar.AppTabs.AppTagInput.AppTextarea.AppThemeToggle.AppTimePicker.AppTimeline.AppToast.AppToolbar.AppTooltip.AppTour.AppTreeView.AppTruncate.AppUpdateBar.AppWhatsNew.AppWizard.AppWorkspaceSwitcher`.split(`.`),wi=[`lint`,`rn-mainactivity-oncreate-bundle`,`spa-host-immutable-assets`,`oversize`,`advisory`];function Ti(e,t=process.env){let n=String(t.REPO_CHECKS_ENFORCE??``).split(`,`).map(e=>e.trim()).filter(Boolean);return!wi.includes(e)||n.includes(`all`)||n.includes(e)}var Ei={version:`0.89.0`,css:{rename:[[`--color-primary-text`,`--color-on-primary`],[`--color-primary-ink`,`--color-primary-text`],[`--color-primary-hover-text`,`--color-on-primary`],[`--color-on-primary-ink`,`--color-on-primary`],[`--color-border-light`,`--color-border-subtle`],[`--color-focus-border`,`--color-field-border-focus`],[`--color-success-active`,`--color-success-pressed`],[`--color-success-10`,`--color-success-soft`],[`--color-success-30`,`--color-success-border`],[`--color-warning-active`,`--color-warning-pressed`],[`--color-warning-10`,`--color-warning-soft`],[`--color-warning-30`,`--color-warning-border`],[`--color-danger-active`,`--color-danger-pressed`],[`--color-danger-10`,`--color-danger-soft`],[`--color-danger-30`,`--color-danger-border`],[`--color-info-active`,`--color-info-pressed`],[`--color-info-10`,`--color-info-soft`],[`--color-info-30`,`--color-info-border`],[`--color-accent`,`--color-warning`],[`--color-accent-soft`,`--color-warning-soft`],[`--color-close-filter`,`--wui-close-filter`],[`--color-pressed-overlay`,`--wui-pressed-overlay`],[`--wui-chart-grid`,`--color-chart-grid`],[`--wui-chart-axis`,`--color-chart-axis`],[`--wui-chart-label`,`--color-chart-label`],[`--wui-shadow-overlay`,`--wui-shadow-popover`],[`--wui-shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-overlay`,`--wui-shadow-popover`],[`--shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-sm`,`--wui-shadow-card`],[`--shadow-md`,`--wui-shadow-card`],[`--shadow-lg`,`--wui-shadow-card`],[`--wui-shadow-card-lifted`,`--wui-card-shadow-lifted`],[`--wui-shadow-card-lifted-hover`,`--wui-card-shadow-lifted-hover`],[`--wui-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-shadow-thumb-hover`,`--wui-thumb-shadow-hover`],[`--radius-sm`,`--wui-radius-sm`],[`--radius`,`--wui-radius-md`],[`--radius-lg`,`--wui-radius-lg`],[`--radius-xl`,`--wui-radius-xl`],[`--wui-radius`,`--wui-radius-md`],[`--wui-control-height-sm`,`--wui-control-sm`],[`--wui-control-height`,`--wui-control-md`],[`--wui-control-height-lg`,`--wui-control-lg`],[`--wui-field-radius-sm`,`--wui-field-sm-radius`],[`--wui-field-radius`,`--wui-field-md-radius`],[`--wui-field-radius-lg`,`--wui-field-lg-radius`],[`--wui-ease-out-quart`,`--wui-ease-out`],[`--wui-font-body`,`--wui-font-ui`],[`--font-sans`,`--wui-font-ui`],[`--wui-fs-smb`,`--wui-fs-sm`],[`--wui-fs-48`,`--wui-fs-4xl`],[`--wui-fs-64`,`--wui-fs-5xl`]],reads:[[`--wui-chart-1`,`--color-chart-1`],[`--wui-chart-2`,`--color-chart-2`],[`--wui-chart-3`,`--color-chart-3`],[`--wui-chart-4`,`--color-chart-4`],[`--wui-chart-5`,`--color-chart-5`],[`--wui-chart-6`,`--color-chart-6`],[`--wui-chart-7`,`--color-chart-7`],[`--wui-chart-8`,`--color-chart-8`],[`--wui-chart-seq-0`,`--color-chart-seq-0`],[`--wui-chart-seq-1`,`--color-chart-seq-1`],[`--wui-chart-seq-2`,`--color-chart-seq-2`],[`--wui-chart-seq-3`,`--color-chart-seq-3`],[`--wui-chart-seq-4`,`--color-chart-seq-4`],[`--wui-chart-seq-5`,`--color-chart-seq-5`],[`--wui-chart-seq-6`,`--color-chart-seq-6`],[`--wui-chart-diverging-low`,`--color-chart-diverging-low`],[`--wui-chart-diverging-mid`,`--color-chart-diverging-mid`],[`--wui-chart-diverging-high`,`--color-chart-diverging-high`],[`--wui-chart-neutral`,`--color-chart-neutral`],[`--wui-dark-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-dark-shadow-thumb-hover`,`--wui-thumb-shadow-hover`]],choose:{"--color-on-status-fill":`Use the ink of the fill's tone: --color-on-success, --color-on-warning, --color-on-danger or --color-on-info.`,"--color-on-status-strong":`Use the ink of the strong fill's tone: --color-on-success-strong, --color-on-warning-strong, --color-on-danger-strong or --color-on-info-strong.`,"--color-success-5":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-20":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-50":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-warning-5":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-20":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-50":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-danger-5":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-20":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-50":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-info-5":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-20":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-50":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`},checkRole:[`--wui-shadow-popover`,`--wui-shadow-modal`],ownable:[`--color-accent`,`--color-accent-soft`,`--shadow-overlay`,`--shadow-overlay-lg`,`--shadow-sm`,`--shadow-md`,`--shadow-lg`,`--radius-sm`,`--radius`,`--radius-lg`,`--radius-xl`,`--font-sans`]},themeReads:[{kind:`path`,from:`colors.primaryHover`,to:`colors.primary-hover`},{kind:`path`,from:`colors.primaryPressed`,to:`colors.primary-pressed`},{kind:`path`,from:`colors.primaryMuted`,to:`colors.primary-soft`},{kind:`path`,from:`colors.secondaryHover`,to:`colors.neutral-hover`},{kind:`path`,from:`colors.secondary`,to:`colors.neutral`},{kind:`path`,from:`colors.error`,to:`colors.danger`},{kind:`path`,from:`colors.onPrimary`,to:`colors.on-primary`},{kind:`path`,from:`colors.onNeutral`,to:`colors.on-neutral-strong`},{kind:`path`,from:`colors.onSecondary`,to:`colors.on-neutral`},{kind:`path`,from:`colors.onSuccess`,to:`colors.on-success`},{kind:`path`,from:`colors.onWarning`,to:`colors.on-warning`},{kind:`path`,from:`colors.onError`,to:`colors.on-danger`},{kind:`path`,from:`colors.onInfo`,to:`colors.on-info`},{kind:`path`,from:`colors.onOverlay`,to:`colors.on-scrim`},{kind:`path`,from:`colors.toneText.primary`,to:`colors.primary-text`},{kind:`path`,from:`colors.toneText.success`,to:`colors.success-text`},{kind:`path`,from:`colors.toneText.warning`,to:`colors.warning-text`},{kind:`path`,from:`colors.toneText.error`,to:`colors.danger-text`},{kind:`path`,from:`colors.toneText.info`,to:`colors.info-text`},{kind:`path`,from:`colors.text.primary`,to:`colors.text-body`},{kind:`path`,from:`colors.text.secondary`,to:`colors.text-muted`},{kind:`path`,from:`colors.text.tertiary`,to:`colors.text-subtle`},{kind:`path`,from:`colors.text.inverse`,to:`colors.text-inverse`},{kind:`path`,from:`colors.text.strong`,to:`colors.text`},{kind:`path`,from:`colors.text.disabled`,to:`colors.text-disabled`},{kind:`path`,from:`colors.text.link`,to:`colors.link`},{kind:`path`,from:`colors.background.primary`,to:`colors.bg`},{kind:`path`,from:`colors.background.secondary`,to:`colors.bg-subtle`},{kind:`path`,from:`colors.background.tertiary`,to:`colors.bg-muted`},{kind:`path`,from:`colors.background.elevated`,to:`colors.surface`},{kind:`path`,from:`colors.background.overlay`,to:`colors.scrim`},{kind:`path`,from:`colors.background.inverse`,to:`colors.surface-inverse`},{kind:`path`,from:`colors.border.primary`,to:`colors.border`},{kind:`path`,from:`colors.border.secondary`,to:`colors.border-subtle`},{kind:`path`,from:`colors.border.focus`,to:`colors.focus-ring`},{kind:`path`,from:`colors.border.error`,to:`colors.danger-border`},{kind:`path`,from:`colors.border.width`,to:`size.border`},{kind:`path`,from:`colors.field.backgroundFocused`,to:`colors.field-bg-focus`},{kind:`path`,from:`colors.field.backgroundDisabled`,to:`colors.field-bg-disabled`},{kind:`path`,from:`colors.field.background`,to:`colors.field-bg`},{kind:`path`,from:`colors.field.borderFocused`,to:`colors.field-border-focus`},{kind:`path`,from:`colors.field.borderError`,to:`colors.field-border-error`},{kind:`path`,from:`colors.field.border`,to:`colors.field-border`},{kind:`path`,from:`colors.field.label`,to:`colors.field-label`},{kind:`path`,from:`colors.field.textDisabled`,to:`colors.field-text-disabled`},{kind:`path`,from:`colors.field.text`,to:`colors.field-text`},{kind:`path`,from:`colors.field.placeholderDisabled`,to:`colors.field-placeholder-disabled`},{kind:`path`,from:`colors.field.placeholder`,to:`colors.field-placeholder`},{kind:`path`,from:`colors.field.iconFocused`,to:`colors.field-icon-focus`},{kind:`path`,from:`colors.field.iconDisabled`,to:`colors.field-icon-disabled`},{kind:`path`,from:`colors.field.icon`,to:`colors.field-icon`},{kind:`path`,from:`colors.field.caret`,to:`colors.field-caret`},{kind:`path`,from:`colors.field.message`,to:`colors.field-message`},{kind:`path`,from:`colors.surface.pressed`,to:`colors.surface-pressed`},{kind:`path`,from:`colors.surface.hovered`,to:`colors.surface-hover`},{kind:`path`,from:`colors.surface.selected`,to:`colors.surface-selected`},{kind:`path`,from:`colors.surface.disabled`,to:`colors.surface-disabled`},{kind:`path`,from:`colors.glass.fill`,to:`colors.glass-fill`},{kind:`path`,from:`colors.glass.border`,to:`colors.glass-border`},{kind:`path`,from:`colors.glass.on`,to:`colors.on-glass`},{kind:`path`,from:`colors.glass.badge`,to:`colors.glass-badge`},{kind:`path`,from:`colors.skeleton.background`,to:`colors.skeleton`},{kind:`path`,from:`colors.skeleton.highlight`,to:`colors.skeleton-highlight`},{kind:`gone`,from:`colors.avatarPalette`,hint:"read colors[`avatar-${n}`] for n 1 to 8"},{kind:`path`,from:`typography.fontFamily.regular`,to:`font.ui.normal`},{kind:`path`,from:`typography.fontFamily.medium`,to:`font.ui.medium`},{kind:`path`,from:`typography.fontFamily.semibold`,to:`font.ui.semibold`},{kind:`path`,from:`typography.fontFamily.bold`,to:`font.ui.bold`},{kind:`gone`,from:`typography.fontFamily.display`,hint:`font.display is a face per weight: font.display.<weight>`},{kind:`prefix`,from:`typography.fontSize.`,to:`text.`},{kind:`prefix`,from:`typography.fontWeight.`,to:`weight.`},{kind:`prefix`,from:`typography.lineHeight.`,to:`leading.`},{kind:`prefix`,from:`typography.letterSpacing.`,to:`letter-spacing.`},{kind:`prefix`,from:`spacing.`,to:`space.`},{kind:`path`,from:`shadows.sm`,to:`shadow.card`},{kind:`path`,from:`shadows.md`,to:`shadow.elevated`},{kind:`path`,from:`shadows.lg`,to:`shadow.popover`},{kind:`path`,from:`shadows.xl`,to:`shadow.modal`},{kind:`gone`,from:`shadows.xs`,hint:`use shadow.card`},{kind:`gone`,from:`shadows.2xl`,hint:`use shadow.modal`},{kind:`gone`,from:`shadows.none`,hint:`omit the shadow`},{kind:`path`,from:`motion.duration.normal`,to:`motion.duration.default`},{kind:`path`,from:`motion.easing.standard`,to:`motion.ease.in-out`},{kind:`prefix`,from:`motion.easing.`,to:`motion.ease.`},{kind:`prefix`,from:`icons`,to:`settings.icons`},{kind:`prefix`,from:`gradients`,to:`settings.gradients`},{kind:`prefix`,from:`textVariants`,to:`settings.textVariants`},{kind:`path`,from:`maxFontSizeMultiplier`,to:`settings.maxFontSizeMultiplier`},{kind:`path`,from:`components.field.defaultVariant`,to:`settings.components.field.defaultVariant`},{kind:`path`,from:`components.field.requiredMarker`,to:`settings.components.field.requiredMarker`},{kind:`path`,from:`components.input.defaultVariant`,to:`settings.components.input.defaultVariant`},{kind:`path`,from:`components.input.defaultLabelMode`,to:`settings.components.input.defaultLabelMode`},{kind:`path`,from:`components.input.tintLabelOnFocus`,to:`settings.components.input.tintLabelOnFocus`},{kind:`path`,from:`components.input.shakeOnError`,to:`settings.components.input.shakeOnError`},{kind:`path`,from:`components.searchBar.defaultVariant`,to:`settings.components.search-bar.defaultVariant`},{kind:`path`,from:`components.select.defaultVariant`,to:`settings.components.select.defaultVariant`},{kind:`path`,from:`components.otpInput.shakeOnError`,to:`settings.components.otp-input.shakeOnError`},{kind:`path`,from:`components.optionSheet.selectedMarker`,to:`settings.components.option-sheet.selectedMarker`},{kind:`path`,from:`components.profilePicker.defaultTone`,to:`settings.components.profile-picker.defaultTone`},{kind:`path`,from:`components.profilePicker.defaultVariant`,to:`settings.components.profile-picker.defaultVariant`},{kind:`path`,from:`components.profilePicker.defaultAvatarTone`,to:`settings.components.profile-picker.defaultAvatarTone`},{kind:`path`,from:`components.slider.thumbPressAnimation`,to:`settings.components.slider.thumbPressAnimation`},{kind:`path`,from:`components.rating.pulseOnPress`,to:`settings.components.rating.pulseOnPress`},{kind:`path`,from:`components.stepper.pulseAnimation`,to:`settings.components.stepper.pulseAnimation`},{kind:`path`,from:`components.tooltip.enableScaleAnimation`,to:`settings.components.tooltip.enableScaleAnimation`},{kind:`path`,from:`components.toast.enableSwipeDismiss`,to:`settings.components.toast.enableSwipeDismiss`},{kind:`path`,from:`components.toast.defaultDurationMs`,to:`settings.components.toast.defaultDurationMs`},{kind:`gone`,from:`components.field.outlined`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.filled`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.underline`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.textColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.disabledTextColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.placeholderColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.fontWeight`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.requiredMarkerColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.input.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.handleColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.switch.thumbColor`,hint:`the thumb reads colors.thumb`},{kind:`gone`,from:`components.slider.thumbPressScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelShowDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeDismissThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackScaleStep`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackMinScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconCircleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonMarginLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.containerPaddingLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.textBlockPaddingRight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.formField.inlineLabelWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressDelayMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressIntervalMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateLoopDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.determinateAnimationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.animationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.strokeWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.trackColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.colorStops`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.rating.pulseScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomSheet.handleColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.selectedFillOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.thumbnailSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.dashedBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeIconColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.inlineSelect.color`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillMaxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillInset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.underlineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingMargin`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleLift`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.viewTransitionDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerPressDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerReleaseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.decadeRangeMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.hapticDebounceMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontSizeRatio`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.text`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontWeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.accordion.cardPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.sideSlotMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.collapseTranslateDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.subtitleMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.actionButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dividerWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgePaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.closeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.maxScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.minScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.doubleTapScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.modal.scaleStartValue`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.circleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.threshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.fullSwipeThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.rubberBandFactor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.failOffsetY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.haloWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.connectorGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.gap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.screenPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.pressAutoHideMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHalfWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowCornerPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.maxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.lineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.exitDurationMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.segmentedControl.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tabs.radius`,hint:`fixed in the library since 0.89.0`},{kind:`kebab`,under:`components`,names:{searchBar:`search-bar`,emptyState:`empty-state`,listItem:`list-item`,otpInput:`otp-input`,segmentedControl:`segmented-control`,floatingActionButton:`floating-action-button`}}],props:[{package:`@webority/mobile-ui`,props:[`tone`,`variant`],from:`error`,to:`danger`}],componentProps:[],propValues:[{package:`@webority/ui-react`,components:[`AppInput`,`AppSelect`,`AppCountrySelect`],prop:`floatingLabel`,true:`border`,false:`off`}],propSplits:[{package:`@webority/ui-react`,components:[`AppInput`],prop:`passwordRequirements`,on:`shown`,off:`off`,into:`passwordPolicy`}],razorAttributes:[{tags:[`app-input`,`app-select`,`app-country-select`],attribute:`floating-label`,values:{true:`border`,false:`off`}},{tags:[`app-input`],attribute:`password-requirements`,values:{true:`shown`,false:`off`}}]},Di=`--color-primary-text`,Oi=new Set([...Ei.css.rename.map(([e])=>e),...Ei.css.reads.map(([e])=>e),...Object.keys(Ei.css.choose)].filter(e=>e!==Di)),ki=RegExp(`(?<![\\w-])(${[...Oi].join(`|`)})(?![\\w-])`,`g`),Ai=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`out`,`bin`,`obj`,`.git`,`.next`,`coverage`]),ji=/* @__PURE__ */ new Set([`.css`,`.scss`,`.sass`,`.less`,`.js`,`.jsx`,`.ts`,`.tsx`,`.cshtml`,`.razor`,`.html`,`.vue`]),Mi=(e,t)=>Ai.has(e)||e===`lib`&&c(t)===`wwwroot`,Ni=e=>ji.has(u(e).toLowerCase());function Pi(e,t=[]){for(let n of i(e,{withFileTypes:!0})){let r=d(e,n.name);n.isDirectory()?Mi(n.name,e)||Pi(r,t):Ni(n.name)&&t.push(r)}return t}function Fi(e,t){for(let n=l(e);n.length>t.length;n=l(n))if(Mi(c(n),l(n)))return!0;return!1}function Ii(e){let n=v(`git`,[`ls-files`,`-z`,`--cached`,`--others`,`--exclude-standard`,`--`,`.`],{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout.split(`\0`).filter(e=>e&&Ni(e)).map(t=>d(e,t.split(`/`).join(g))).filter(n=>!Fi(n,e)&&t(n)):Pi(e)}function Li(e){let t=e.slice(0,3).join(`, `),n=e.length-3;return n>0?`${t} and ${n} more`:t}function Ri(e,t){let n=[];for(let i of Ii(e)){let e=r(i,`utf8`),a=[],o=-1;for(let t of e.matchAll(ki))o<0&&(o=t.index),a.includes(t[1])||a.push(t[1]);if(a.length===0)continue;let s=m(t,i).split(`\\`).join(`/`),c=e.slice(0,o).split(`
|
|
79
|
-
`).length;n.push([`stale-theme-name:${s}`,`${s}:${c} reads pre-0.89.0 theme names (${Li(a)}). Run webority upgrade 0.89.0 --path <folder> once for the product's style and source folders, then webority brand; no alias for the old names is shipped.`])}return n}var zi=`tracked-case`;function Bi(e,t){let n=/* @__PURE__ */ new Map,r=t=>{let r=n.get(t);if(r===void 0){try{r=new Set(i(d(e,t)))}catch{r=/* @__PURE__ */ new Set}n.set(t,r)}return r},a=/* @__PURE__ */ new Set,o=[];for(let e of t){let t=e.split(`/`),n=`.`;for(let e=0;e<t.length;e++){let i=t[e],s=r(n);if(s.has(i)){n=n===`.`?i:`${n}/${i}`;continue}let c=i.toLowerCase(),l=[...s].find(e=>e.toLowerCase()===c);if(l!==void 0){let n=t.slice(0,e+1).join(`/`);if(!a.has(n)){a.add(n);let r=[...t.slice(0,e),l].join(`/`);o.push([`${zi}:${n}`,`tracked as ${n} but on disk as ${r}; a Linux checkout cannot find the import. Run git mv "${n}" "${r}" so git records the rename.`])}}break}}return o}var F=e=>e.split(`\\`).join(`/`),Vi=(e,t)=>F(m(e,t))||`.`;function I(e){try{return JSON.parse(r(e,`utf8`))}catch{return null}}function Hi(e,t){let n=v(`git`,t,{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout:null}function Ui(e){let t=Hi(e,[`rev-parse`,`--show-toplevel`]);return t?t.trim():null}function L(e,t){let n=Hi(e,[`ls-files`,`-z`,`--`,...t.flatMap(e=>[e,`:(glob)**/${e}`])]);return n?[...new Set(n.split(`\0`).filter(Boolean))]:[]}function Wi(e){let t=Hi(e,[`ls-files`,`-z`]);return t?t.split(`\0`).filter(Boolean):[]}function Gi(e){let t=e?.dependencies??{};return _i.some(e=>t[e])?null:t[`react-dom`]&&(e?.devDependencies?.[`react-native-web`]||t[`react-native-web`])?`demo`:t[`react-native`]?`mobile`:t[`react-dom`]?`web`:null}var Ki=e=>/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(e)||/^(?:workspace:\*|file:|link:)/.test(e),qi=/* @__PURE__ */ new Set([`@biomejs/biome`,`@webority/biome-config`]),Ji=e=>/^(?:workspace:|file:|link:)/.test(e);function Yi(e,t,n){let r=[],i={...e.dependencies,...e.devDependencies},a=Object.keys(i);for(let[e,n]of fi[t])i[e]&&r.push([`banned:${e}`,`"${e}" is a dependency. ${n}.`]);for(let[e,n]of pi[t])for(let t of a.filter(t=>t.startsWith(e)))r.push([`banned:${t}`,`"${t}" is a dependency. ${n}.`]);for(let[e,n,a]of mi[t])i[e]&&i[n]&&r.push([`banned:${e}`,`"${e}" is a dependency beside ${n}. ${a}.`]);for(let[e,a]of hi[t])(qi.has(e)?n:i)[e]||r.push([`required:${e}`,`"${e}" is not a dependency. ${a}.`]);let o=t===`mobile`?a:a.filter(e=>e.startsWith(`@webority/`)||e===`bootstrap`);for(let e of o){let t=String(i[e]);Ki(t)||r.push([`not-exact:${e}`,`"${e}": "${t}" is a range. Pin the version the lockfile holds, without ^ or ~.`])}i.bootstrap&&String(i.bootstrap).replace(/^[\^~]/,``)!==`5.3.3`&&r.push([`bootstrap-version`,`bootstrap is "${i.bootstrap}". bootstrap-ui.md: every surface pins ${gi}.`]);for(let e of bi){let t=e.filter(e=>i[e]&&!Ji(String(i[e])));if(new Set(t.map(e=>String(i[e]).replace(/^[\^~]/,``))).size>1){let n=t.map(e=>`${e}@${i[e]}`).join(`, `);r.push([`lockstep:${e[0]}`,`${n} differ. These publish together at one version; move every pin in the set together.`])}}return r}function R(e,n,r){let i=e;for(;;){for(let e of r)if(t(d(i,e)))return d(i,e);if(i===n)return null;let e=l(i);if(e===i)return null;i=e}}function Xi(e,t){let n=e,i=null;for(;;){let e=R(n,t,[`biome.json`,`biome.jsonc`]);if(!e)return i;i=l(e);let a;try{a=Ye(r(e,`utf8`))}catch{return i}let o=l(i);if(a.root!==!1||i===t||o===i)return i;n=o}}function Zi(e,t,n){let r=Xi(e,t),i=r&&r!==e?I(d(r,`package.json`)):null;return i?{...i.dependencies,...i.devDependencies}:n}function Qi(e,n){let i=[],a=R(e,n,[`pnpm-lock.yaml`]);a||i.push([`pnpm:no-lockfile`,`No pnpm-lock.yaml in this folder or above it. react.md: every JS repo installs with pnpm.`]);let o=a?l(a):e,s=I(d(o,`package.json`))??I(d(e,`package.json`)),c=s?.devEngines?.packageManager;c?.name===`pnpm`&&/^\d+\.\d+\.\d+$/.test(c?.version??``)&&c?.onFail===`error`||i.push([`pnpm:dev-engines`,`package.json lacks "devEngines": { "packageManager": { "name": "pnpm", "version": "<x.y.z>", "onFail": "error" } }. react.md: Package manager.`]),s?.packageManager!==void 0&&i.push([`pnpm:package-manager`,`package.json sets "packageManager", which pnpm ignores beside devEngines. Move its version into devEngines.packageManager.version and delete it. react.md: Package manager.`]);let u=d(o,`pnpm-workspace.yaml`);if(!t(u))i.push([`pnpm:no-workspace-file`,`No pnpm-workspace.yaml beside the lockfile. react.md: it holds engineStrict, strictPeerDependencies and allowBuilds.`]);else{let e=r(u,`utf8`);/^engineStrict:\s*true\s*$/m.test(e)||i.push([`pnpm:engine-strict`,`pnpm-workspace.yaml lacks engineStrict: true. react.md: a Node mismatch must fail the install.`]),/^strictPeerDependencies:\s*true\s*$/m.test(e)||i.push([`pnpm:strict-peers`,`pnpm-workspace.yaml lacks strictPeerDependencies: true. react.md: a peer conflict must fail the install.`])}for(let n of[`package-lock.json`,`yarn.lock`])t(d(e,n))&&i.push([`pnpm:${n}`,`${n} sits in this folder. react.md: pnpm only; seed pnpm-lock.yaml with pnpm import, then delete it.`]);return i}function $i(e,t,n,r){if((e.javascript?.globals??[]).includes(r))return!0;let i=F(m(t,d(n,`index.js`)));return(e.overrides??[]).some(e=>(e.javascript?.globals??[]).includes(r)&&[].concat(e.includes??[]).some(e=>!String(e).startsWith(`!`)&&f(i,String(e))))}function ea(e,t,n){let i=R(e,t,[`biome.json`,`biome.jsonc`]);if(!i)return[[`biome:missing`,`No biome.json in this folder or above it. react.md: one committed root biome.json.`]];let a;try{a=Ye(r(i,`utf8`))}catch{return[[`biome:unreadable`,`${c(i)} does not parse.`]]}let o=[];return[].concat(a.extends??[]).some(e=>e===`@webority/biome-config/biome.jsonc`||String(e).endsWith(`biome-config/biome.jsonc`))||o.push([`biome:extends`,`${c(i)} does not extend "${xi}". react.md: every repo extends the shared preset.`]),a.formatter?.lineEnding&&o.push([`biome:line-ending`,`${c(i)} sets formatter.lineEnding. react.md: inherit it from the shared preset, never set it.`]),a.linter?.rules&&Object.keys(a.linter.rules).length>0&&o.push([`biome:root-rules`,`${c(i)} sets linter.rules at the root. react.md: never a rule's severity at the root; a per-path exception goes in overrides.`]),n===`mobile`&&!$i(a,l(i),e,`__DEV__`)&&o.push([`biome:dev-global`,`${c(i)} lacks "__DEV__" in javascript.globals. react-native.md: Debugging and agent access.`]),o}var ta=d(`node_modules`,`@biomejs`,`biome`,`bin`,`biome`);function na(e,t,n){if(e.start?.line)return e.start.line;if(!Array.isArray(e.span))return null;let i=r(d(t,n)),a=1;for(let t=0;t<e.span[0];t++)i[t]===10&&a++;return a}function ra(e){try{return a(e)}catch{return null}}function ia(e,t,n){let r=n.split(`/`),i=n.startsWith(`@`)?r.slice(0,2).join(`/`):r[0],a=n.slice(i.length)?`.${n.slice(i.length)}`:`.`,o=R(e,t,[d(`node_modules`,i)]),s=o&&ra(o),c=s&&I(d(s,`package.json`));if(!c)return null;let l=(typeof c.exports==`string`?{".":c.exports}:c.exports)?.[a]??(a===`.`?c.module??c.main:null);return l&&typeof l==`object`&&(l=l.import??l.default),typeof l==`string`?{pkgDir:s,entry:d(s,l)}:null}function aa(e,t){let n=[t.entry],r;try{r=a(t.pkgDir)}catch{return n}let i=m(a(e),r);if(i.startsWith(`..`)||i.split(/[\\/]/).includes(`node_modules`))return n;for(let e of[`index.js`,`index.jsx`,`index.ts`,`index.tsx`])n.push(d(r,`src`,e));return n}function oa(e,t,n,r){if(n.startsWith(`.`))return!1;let i=ia(e,t,n);if(!i)return!1;let a=/* @__PURE__ */ new Set;return aa(t,i).some(e=>la(e,r,t,a))}var sa=/\bexport\s*(?:(\*)(?:\s*as\s+([\w$]+))?|\{([^}]*)\})(?:\s*from\s*["']([^"']+)["'])?/g,ca=[``,`.js`,`.mjs`,`.cjs`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.mjs`,`/index.jsx`,`/index.ts`,`/index.tsx`];function la(e,t,n,i){if(i.has(e))return!1;i.add(e);let a;try{a=r(e,`utf8`)}catch{return!1}if(RegExp(`\\bexport\\s+(?:async\\s+)?(?:const|let|var|function\\*?|class)\\s+${t}\\b`).test(a)||RegExp(`\\b(?:module\\.)?exports\\.${t}\\s*=|Object\\.defineProperty\\(\\s*(?:module\\.)?exports\\s*,\\s*["']${t}["']|\\bget\\s+${t}\\s*\\(`).test(a))return!0;for(let[,r,o,s,c]of a.matchAll(sa))if(r){if(o===t||o===void 0&&c!==void 0&&ua(e,c,t,n,i))return!0}else for(let r of s.split(`,`)){let[a,o]=r.trim().replace(/^type\s+/,``).split(/\s+as\s+/);if((o??a)===t&&(c===void 0||ua(e,c,a,n,i)))return!0}return!1}function ua(e,t,n,r,i){let a=t.startsWith(`.`)?da(l(e),t):ia(l(e),r,t)?.entry??null;return a!==null&&la(a,n,r,i)}function da(e,t){let n=d(e,t);for(let e of ca)if(o(n+e,{throwIfNoEntry:!1})?.isFile())return n+e;return null}function fa(e,n){let r=R(e,n,[ta]);if(!r)return[];let i=t(d(e,`src`))?`src`:`.`,a=v(process.execPath,[r,`lint`,`--only=correctness/noUnresolvedImports`,`--reporter=json`,`--max-diagnostics=none`,`--colors=off`,i],{cwd:e,encoding:`utf8`,maxBuffer:67108864,windowsHide:!0}),o=null;try{o=JSON.parse(a.stdout??``).diagnostics}catch{o=null}if(!Array.isArray(o))return[[`missing-export:unreadable`,`Biome's report could not be read: ${String(a.stderr||a.stdout||``).slice(0,200)}`]];let s=/* @__PURE__ */ new Map;for(let t of o){let r=String(t.message??``);if(!r.includes(`has no export named`))continue;let i=r.match(/^The (?:path|module) (\S+) has no export named (\w+)/);if(!i){s.set(`unreadable`,[`missing-export:unreadable`,`Biome reported a missing export in a form this check cannot read: ${r.slice(0,200)}`]);continue}let[,a,o]=i;if(Object.hasOwn(Si,a)&&Si[a].includes(o)||oa(e,n,a,o))continue;let c=F(m(e,h(e,String(t.location?.path)))),l=na(t.location??{},e,c),u=l?`${c}:${l}`:c,d=`missing-export:${c}`,f=`${u} imports ${o} from ${a}, which does not export it. Import the name the module exports (a default export is imported without braces).`;s.set(`${d}\0${f}`,[d,f])}return[...s.values()]}function pa(e){let t=d(e,`node_modules`,`@webority`,`ui-react`);try{let e=JSON.parse(r(d(t,`package.json`),`utf8`)),n=typeof e.module==`string`?e.module:typeof e.main==`string`?e.main:`dist/index.js`,i=r(d(t,n),`utf8`),a=new Set([...i.matchAll(/App[A-Z][A-Za-z0-9]*/g)].map(e=>e[0]));if(a.size>0)return a}catch{}return new Set(Ci)}function ma(e){return i(e,{withFileTypes:!0}).flatMap(t=>t.isDirectory()?ma(d(e,t.name)):[d(e,t.name)])}function ha(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`)).name===`@webority/ui-root`}catch{return!1}}function ga(e){let n=d(e,`src`);if(!t(n))return[];let r=pa(e),i=[];for(let t of ma(n)){if(![`.jsx`,`.tsx`].includes(u(t)))continue;let n=c(t).split(`.`)[0];if(r.has(n)){let r=F(m(e,t));i.push([`catalogue-copy:${r}`,`${r} is named like the @webority/ui-react export ${n}. bootstrap-ui.md: use the catalogue component, never a local copy.`])}}return i}var _a=/gradle\.startParameter\.taskNames[^\n]*["']release["']/,va=/throw\s+new\s+GradleException\s*\(/,ya=/^\s*edgeToEdgeEnabled\s*=\s*false\s*$/m;function ba(e){let n=[],i=d(e,`android`,`app`,`build.gradle`);if(t(i)){let e=r(i,`utf8`).replace(/\/\*[\s\S]*?\*\//g,``).replace(/^\s*\/\/.*$/gm,``);_a.test(e)&&va.test(e)||n.push([`android-release-signing`,`android/app/build.gradle has no release signing guard. react-native-toolchain.md: when a requested task name contains "release", throw a GradleException that names each missing signing setting, and never sign a release with the debug key.`])}let a=d(e,`android`,`gradle.properties`);return t(a)&&ya.test(r(a,`utf8`))&&n.push([`android-edge-to-edge`,`android/gradle.properties sets edgeToEdgeEnabled=false. react-native-toolchain.md: set edgeToEdgeEnabled=true.`]),n}function xa(e,t,n){let i=[],a=R(e,t,[`pnpm-lock.yaml`]),o=a?I(d(l(a),`package.json`)):null,s=n.engines?.node??o?.engines?.node??null;s===null?i.push([`engines-node-floor:package.json`,`package.json has no engines.node. react.md: engines.node is "${vi}", with engineStrict: true.`]):String(s).trim().replace(/\s+/g,` `)!==`>=24.15 <25`&&i.push([`engines-node-floor:package.json`,`engines.node is "${s}". react.md: it is "${vi}"; the floor is the one jsdom needs, and the ceiling holds one Node major.`]);let c=R(e,t,[`.nvmrc`]);if(!c)i.push([`engines-node-floor:.nvmrc`,`No .nvmrc in this folder or above it. react.md: commit one holding 24.`]);else{let e=r(c,`utf8`).trim();e!==`24`&&i.push([`engines-node-floor:.nvmrc`,`.nvmrc holds "${e}". react.md: it holds 24.`])}return i}var Sa=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.mjs`,`.cjs`,`.ts`,`.tsx`]);function Ca(e,n){let i=d(e,`src`);if(!t(i))return[];let a=[];for(let t of ma(i)){if(!Sa.has(u(t).toLowerCase())||je(F(m(n,t)),n))continue;let i=r(t,`utf8`).split(`
|
|
75
|
+
`)?t-1:t}function ar(e){return!Jn.test(e)||Yn.test(e)?!1:!e.split(`/`).slice(0,-1).some(e=>Xn.has(e))}function D(e){return e.filter(ar)}function O(e,t){let n=r(d(e,t),`utf8`),{blanked:i,lineStarts:a}=Fn(n);return{file:t,text:n,blanked:i,lines:n.split(`
|
|
76
|
+
`),lineAt:e=>{let t=0,n=a.length-1;for(;t<=n;){let r=t+n>>1;a[r]<=e?t=r+1:n=r-1}return n+1}}}function or(e){let t=e.trim();if(t===`*`)return[{name:`*`,local:`*`}];let n=[],r=t.match(/\*\s+as\s+([\w$]+)/);r&&n.push({name:`*`,local:r[1]});let i=t.match(/\{([^}]*)\}/);if(i)for(let e of i[1].split(`,`)){let t=e.trim().replace(/^type\s+/,``).match(/^([\w$]+)(?:\s+as\s+([\w$]+))?$/);t&&n.push({name:t[1],local:t[2]??t[1]})}let a=t.replace(/\{[^}]*\}/,``).replace(/\*\s+as\s+[\w$]+/,``).replace(/,/g,``).trim();return/^[\w$]+$/.test(a)&&n.push({name:`default`,local:a}),n}function k(e){let t=[],n=(n,r,i,a)=>t.push({kind:r,specifier:i,imported:a,line:e.lineAt(n)});for(let t of e.blanked.matchAll($n))n(t.index,`import`,t[2],or(t[1]));for(let t of e.blanked.matchAll(er))n(t.index,`import`,t[1],[]);for(let t of e.blanked.matchAll(tr))n(t.index,`export-from`,t[2],or(t[1]));for(let t of e.blanked.matchAll(nr))n(t.index,`require`,t[1],[]);for(let t of e.blanked.matchAll(rr))n(t.index,`dynamic`,t[1],[]);return t.sort((e,t)=>e.line-t.line)}function A(e,t,n){let r;if(n.startsWith(`@/`))r=`src/${n.slice(2)}`;else if(n.startsWith(`.`))r=p.normalize(p.join(p.dirname(t),n));else return null;for(let t of Zn)if(e.has(r+t))return r+t;return null}function j(e,t,n){let r=[];t.lines.forEach((t,n)=>{let i=Qn.exec(t);i&&i[1]===e&&r.push({line:n+1,reason:(i[2]??``).trim()})});let i=new Set(r.filter(e=>e.reason!==``).map(e=>e.line)),a=n.filter(e=>!(i.has(e.line-1)||e.line===1&&i.has(1))).map(n=>({rule:e,file:t.file,line:n.line,message:n.message,...n.note?{note:!0}:{}}));for(let n of r)n.reason===``&&a.push({rule:e,file:t.file,line:n.line,message:`layering-allow needs a reason`});return a}function M(e){return[...e].sort((e,t)=>e.file===t.file?e.line===t.line?e.message===t.message?0:e.message<t.message?-1:1:e.line-t.line:e.file<t.file?-1:1)}var sr=/^src\/screens\/(public|user)\/([^/]+)\/.+/;function cr(e){let t=sr.exec(e);return t?`${t[1]}/${t[2]}`:null}function lr(e,t){let n=D(t),r=new Set(n),i=[];for(let t of n){let n=cr(t);if(n===null)continue;let a=O(e,t),o=[];for(let e of k(a)){let i=A(r,t,e.specifier),a=i===null?null:cr(i);a!==null&&a!==n&&o.push({line:e.line,message:`imports ${i} from another screen area. react-native.md: a part two areas use lives in src/components/<area>/ or src/components/shared/.`})}i.push(...j(`cross-feature-import`,a,o))}return M(i)}var ur=/* @__PURE__ */ new Set([`assets`,`components`,`constants`,`hooks`,`navigation`,`redux`,`screens`,`services`,`utils`]),dr=/\.(?:jsx|ts|tsx)$/,fr=/\.(?:js|jsx|ts|tsx)$/,pr=/^src\/screens\/(?:public\/.+|user\/[^/]+\/.+)$/,mr=/[A-Za-z0-9]Screen\.js$/,N={folder:`a top-level folder of src is one of assets, components, constants, hooks, navigation, redux, screens, services, utils`,screenHome:`a screen file lives in src/screens/public/ or src/screens/user/<area>/`,script:`source files are .js, never .jsx, .ts or .tsx`,suffix:`a screen is named without a Screen suffix`,theme:`src/assets/theme holds only settings.js`,tsconfig:`an app has no tsconfig.json`},hr=(e,t)=>`${e}: react-native.md App layout: ${t}.`;function gr(e,t){let n=/* @__PURE__ */ new Set,r=/* @__PURE__ */ new Map,i=(e,t)=>{r.has(e)||r.set(e,[]),r.get(e).push({line:1,message:hr(e,t)})};for(let e of t){let t=e.split(`/`);t[0]===`src`&&(t.some(e=>e===`node_modules`||e===`generated`||e===`__tests__`)||(t.length>2&&!ur.has(t[1])&&n.add(t[1]),dr.test(e)&&i(e,N.script),e.startsWith(`src/screens/`)&&fr.test(e)&&(e!==`src/screens/index.js`&&!pr.test(e)&&i(e,N.screenHome),mr.test(e)&&i(e,N.suffix)),e.startsWith(`src/assets/theme/`)&&e!==`src/assets/theme/settings.js`&&i(e,N.theme)))}let a=[];for(let[t,n]of r)ar(t)?a.push(...j(`folder-layout`,O(e,t),n)):a.push(...n.map(e=>({rule:`folder-layout`,file:t,line:e.line,message:e.message})));for(let r of n){let n={rule:`folder-layout`,file:`src/${r}`,line:1,message:hr(`src/${r}`,N.folder)},i=`src/${r}/index.js`;if(!t.includes(i))a.push(n);else for(let t of j(`folder-layout`,O(e,i),[{line:1,message:n.message}]))a.push(t.message===n.message?n:t)}return t.includes(`tsconfig.json`)&&a.push({rule:`folder-layout`,file:`tsconfig.json`,line:1,message:hr(`tsconfig.json`,N.tsconfig)}),M(a)}var _r=`src/screens/index.js`;function vr(e,t){let n=D(t),r=new Set(n),i=[];for(let t of n){if(t.startsWith(`src/screens/`)||t.startsWith(`src/navigation/`))continue;let n=O(e,t),a=[];for(let e of k(n)){let n=A(r,t,e.specifier);n?.startsWith(`src/screens/`)&&n!==_r&&a.push({line:e.line,message:`imports a screen folder from outside src/screens. react-native.md: hooks, utils and components never import screens.`})}i.push(...j(`import-into-screens`,n,a))}return M(i)}var yr=`@webority/mobile-ui`,br=40,xr=/\{\s*\.\.\.(?:props|rest)\s*\}/,Sr=[`lib/typescript/module/components/index.d.ts`,`lib/typescript/module/index.d.ts`],Cr=e=>`wraps mobile-ui ${e}. react-native.md: no restyle or pass-through wrapper; use ${e} directly, put house defaults in theme settings.`;function wr(e){let n=/* @__PURE__ */ new Set;for(let i of Sr){let a=d(e,`node_modules`,`@webority`,`mobile-ui`,i);if(t(a))for(let e of r(a,`utf8`).matchAll(/export\s+(?!type\b)\{([^}]*)\}\s*from/g))for(let t of e[1].split(`,`)){let e=t.trim().split(/\s+as\s+/).pop();/^[\w$]+$/.test(e)&&n.add(e)}}return n}function Tr(e){let t=/* @__PURE__ */ new Set;/\bexport\s+default\b/.test(e)&&t.add(`default`);for(let n of e.matchAll(/\bexport\s+(?:const|let|var|function\*?|class)\s+([A-Z][\w$]*)/g))t.add(n[1]);for(let n of e.matchAll(/\bexport\s*\{([^}]*)\}/g))for(let e of n[1].split(`,`)){let n=e.trim().split(/\s+as\s+/).pop();(n==="default"||/^[A-Z][\w$]*$/.test(n))&&t.add(n)}return t.size}function Er(e,t){let n=0;for(let r=t;r<e.length;r++){let i=e[r];if(i===`{`)n++;else if(i===`}`)n--;else if(i===`>`&&n===0)return e.slice(t,r+1)}return e.slice(t)}function Dr(e){if(ir(e.text)>br)return null;let t=/* @__PURE__ */ new Set;for(let n of k(e))if(!(n.kind!==`import`||n.specifier!==yr&&!n.specifier.startsWith(`${yr}/`)))for(let{name:e,local:r}of n.imported)e!==`*`&&t.add(r);if(t.size===0||Tr(e.blanked)!==1)return null;for(let n of e.blanked.matchAll(/(?:=>|\breturn)\s*\(?\s*<([A-Z][\w$]*)/g)){if(!t.has(n[1]))continue;let r=n.index+n[0].length-n[1].length-1;if(xr.test(Er(e.blanked,r)))return{name:n[1],line:e.lineAt(r)}}return null}function Or(e,t){let n=wr(e),r=[];for(let i of D(t)){if(!i.startsWith(`src/`))continue;let t=O(e,i),a=[],o=/^App([A-Z][A-Za-z0-9]*)\.[jt]sx?$/.exec(c(i))?.[1];if(o&&n.has(o))a.push({line:1,message:Cr(o)});else{let e=Dr(t);e&&a.push({line:e.line,message:Cr(e.name)})}r.push(...j(`library-wrapper`,t,a))}return M(r)}var kr=`@webority/mobile-ui`,Ar=/* @__PURE__ */ new Set([`makeStyles`,`useTheme`,`ThemeProvider`]),jr=/* @__PURE__ */ new Set([`COLORS`,`PALETTE`,`LIGHT_COLORS`,`DARK_COLORS`,`commonStyles`,`FONT_SIZE`,`Responsive`]),Mr=/\bexport\s+(?:const|let|var|function\*?|class)\s+([A-Za-z_$][\w$]*)/g,Nr=/\bexport\s*\{([^}]*)\}/g,Pr=e=>`local theme ${e}. react-native.md: the library owns the theme; the app supplies brand and settings only.`;function Fr(e,t){let n=[];for(let r of D(t)){if(!r.startsWith(`src/`))continue;let t=O(e,r),i=[];for(let e of k(t))if(!(e.kind!==`import`||e.specifier===kr||e.specifier.startsWith(`${kr}/`)))for(let{name:t,local:n}of e.imported){let r=t==="default"?n:t;Ar.has(r)&&i.push({line:e.line,message:Pr(r)})}for(let e of t.blanked.matchAll(Mr))jr.has(e[1])&&i.push({line:t.lineAt(e.index),message:Pr(e[1])});for(let e of t.blanked.matchAll(Nr))for(let n of e[1].split(`,`)){let r=n.trim().split(/\s+as\s+/).pop();jr.has(r)&&i.push({line:t.lineAt(e.index),message:Pr(r)})}n.push(...j(`local-theme`,t,i))}return M(n)}var Ir=/^(?:workspace:|file:|link:)/;function Lr(e){let t=d(e,`package.json`),n,i;try{n=r(t,`utf8`),i=JSON.parse(n)}catch{return[]}let a={...i.dependencies,...i.devDependencies},o=Object.keys(a).filter(e=>e.startsWith(`@webority/mobile-`)||e===`@webority/biome-config`).filter(e=>!Ir.test(String(a[e]))).sort().map(e=>[e,String(a[e]).replace(/^[\^~]/,``)]),s=o[0],c=s?o.find(([,e])=>e!==s[1]):void 0;if(!s||!c)return[];let l=n.split(`
|
|
77
|
+
`).findIndex(e=>e.includes(`"${s[0]}"`));return[{rule:`mobile-pins-lockstep`,file:`package.json`,line:l===-1?1:l+1,message:`pins ${s[0]}@${s[1]} and ${c[0]}@${c[1]}. react-native.md: the phone packages move together.`}]}var Rr=/* @__PURE__ */ new Set([`Text`,`TextInput`,`Pressable`,`TouchableOpacity`,`TouchableHighlight`,`TouchableWithoutFeedback`,`ActivityIndicator`,`Modal`,`Switch`,`Button`]),zr=e=>`${e} from react-native in a screen or product component. react-native.md: use the mobile-ui part (Text, Input, Button, Card onPress, Spinner, Modal, Switch); mark a deliberate use with // layering-allow raw-primitive: <reason>.`;function Br(e,t){let n=[];for(let r of D(t)){if(!r.startsWith(`src/screens/`)&&!r.startsWith(`src/components/`))continue;let t=O(e,r),i=/* @__PURE__ */ new Set;for(let e of k(t))if(e.kind===`import`&&e.specifier===`react-native`)for(let{name:t,local:n}of e.imported)Rr.has(t)&&i.add(n);let a=[];for(let e of i){let n=RegExp(`(?<![\\w$)\\]])<${e.replace(/\$/g,`\\$`)}(?![\\w$.-])`,`g`);for(let r of t.blanked.matchAll(n))a.push({line:t.lineAt(r.index),message:zr(e)})}n.push(...j(`raw-primitive`,t,a))}return M(n)}var Vr=`src/screens/index.js`;function Hr(e,t){let n=D(t);if(!n.includes(Vr))return[];let r=new Set(n),i=/* @__PURE__ */ new Set;for(let t of k(O(e,Vr))){if(t.kind!==`export-from`)continue;let e=A(r,Vr,t.specifier);e!==null&&i.add(e)}let a=[];for(let t of n){if(t===Vr||t.startsWith(`src/navigation/`))continue;let n=O(e,t),o=[];for(let e of k(n)){let n=A(r,t,e.specifier);if(n!==null&&n!==t&&i.has(n)){let t=p.basename(n).replace(/\.[^.]+$/,``);o.push({line:e.line,message:`imports the route screen ${t}. react-native.md: share the form or part as a sibling file, never a screen.`})}}a.push(...j(`screen-imports-screen`,n,o))}return M(a)}var Ur=400,Wr=600;function Gr(e,t){let n=[];for(let r of D(t)){if(!r.startsWith(`src/screens/`))continue;let t=O(e,r),i=ir(t.text),a=i>Ur?[{line:1,message:`${i} lines. react-native.md: split a screen over 400 lines; over 600 is a finding.`,note:i<=Wr}]:[];n.push(...j(`screen-length`,t,a))}return M(n)}var Kr=/(?:^|\/)index\.[jt]sx?$/,qr=e=>e.startsWith(`src/components/`)&&!Kr.test(e);function Jr(e,t){let n=D(t),r=new Set(n),i=/* @__PURE__ */ new Map,a=t=>(i.has(t)||i.set(t,O(e,t)),i.get(t)),o=/* @__PURE__ */ new Map;for(let e of n){if(!e.startsWith(`src/components/`)||!Kr.test(e))continue;let t=/* @__PURE__ */ new Map,n=[];for(let i of k(a(e))){if(i.kind!==`export-from`)continue;let a=A(r,e,i.specifier);if(a!==null)for(let{name:e,local:r}of i.imported)e===`*`&&r===`*`?n.push(a):t.set(r,a)}o.set(e,{named:t,star:n})}let s=(e,t)=>RegExp(`export\\s+(?:const|let|var|function\\*?|class)\\s+${t.replace(/\$/g,`\\$`)}\\b|export\\s*\\{[^}]*\\b${t.replace(/\$/g,`\\$`)}\\b`).test(a(e).blanked),c=/* @__PURE__ */ new Map,l=(e,t)=>{e!==t&&(c.has(e)||c.set(e,/* @__PURE__ */ new Set),c.get(e).add(t))};for(let e of n)for(let t of k(a(e))){if(t.kind===`export-from`)continue;let n=A(r,e,t.specifier);if(n===null)continue;let i=o.get(n);if(!i)l(n,e);else for(let{name:n}of t.imported){let t=i.named.get(n)??i.star.find(e=>s(e,n));t&&l(t,e)}}let u=[];for(let e of n){if(!qr(e))continue;let t=c.get(e)?.size??0,n=t<2?[{line:1,message:`${e} has ${t} importer(s). react-native.md: a part one screen uses lives beside that screen.`}]:[];u.push(...j(`shared-single-importer`,a(e),n))}return M(u)}var Yr=/(?<![\w$.])Responsive\s*\.\s*(?:width|height|font)\s*\(/g,Xr=`scales by screen width. react-native.md: use theme.space and the text scale.`;function Zr(e,t){let n=[];for(let r of D(t)){if(!r.startsWith(`src/`))continue;let t=O(e,r),i=[...t.blanked.matchAll(Yr)].map(e=>({line:t.lineAt(e.index),message:Xr}));n.push(...j(`width-scaling`,t,i))}return M(n)}var Qr=[Br,lr,vr,Hr,Jr,Or,Gr,Lr,gr,Fr,Zr],$r=/* @__PURE__ */ new Set([`node_modules`,`android`,`ios`,`.git`]);function ei(e,t=``){let n=[];for(let r of i(d(e,t),{withFileTypes:!0})){if($r.has(r.name))continue;let i=t?`${t}/${r.name}`:r.name;r.isDirectory()?n.push(...ei(e,i)):n.push(i)}return n}function ti(e){let t=ei(e).sort(),n=[];for(let r of Qr.flatMap(n=>n(e,t))){let e=`${r.file}:${r.line} ${r.message}`;r.note?console.log(`note: ${e}`):n.push([`${r.rule}:${r.file}`,e])}return n}var ni=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`.git`,`.gradle`,`Pods`,`DerivedData`]);function ri(e,t){return i(e,{withFileTypes:!0}).flatMap(n=>n.isDirectory()?t.has(n.name)?[]:ri(d(e,n.name),t):[d(e,n.name)])}var ii=e=>e.split(`\\`).join(`/`);function ai(e,t){return e.replace(t,e=>e.replace(/[^\n]/g,` `))}function oi(e,t){return e.slice(0,t).split(`
|
|
78
|
+
`).length}var si=/^MainActivity\.(?:kt|java)$/,ci=/\bsuper\.onCreate\(\s*(?!null\s*\))[^)]*\)/;function li(e){let n=d(e,`android`,`app`,`src`);if(!t(n))return[];let i=[];for(let t of ri(n,ni)){if(!si.test(c(t)))continue;let n=ai(ai(r(t,`utf8`),/\/\*[\s\S]*?\*\//g),/\/\/[^\n]*/g),a=ci.exec(n);if(!a)continue;let o=ii(m(e,t));i.push([`rn-mainactivity-oncreate-bundle:${o}`,`${o}:${oi(n,a.index)} passes a bundle to super.onCreate. react-native-toolchain.md → Android: super.onCreate(null): pass null, so Android does not restore stale Screen fragments after the OS kills the app, and register the splash screen before it.`])}return i}var ui=/EXPO_UPDATE_URL"[^>]*?\/(Staging|Development)"/,di=/<key>EXPO_UPDATE_URL<\/key>\s*<string>[^<]*\/(Staging|Development)<\/string>/,fi=/^APP_ID=.*\.(staging|development)\s*$/m;function pi(e){let n=[{file:d(e,`android`,`app`,`src`,`main`,`AndroidManifest.xml`),pattern:ui},{file:d(e,`android`,`gradle.properties`),pattern:fi}],r=d(e,`ios`);if(t(r))for(let e of ri(r,ni))c(e)===`Expo.plist`&&n.push({file:e,pattern:di});return n.filter(({file:e})=>t(e))}function mi(e){let t=[];for(let{file:n,pattern:i}of pi(e)){let a=ii(m(e,n)),o=r(n,`utf8`),s=i.exec(o);s&&t.push([`mobile-production-stamps:${a}`,`${a}:${oi(o,s.index)} carries ${s[1]} values from a mobile-tools prebuild. Run \`mobile-tools prebuild --env Production\` in the app folder before committing, so production builds never read the ${s[1]} update feed or app id.`])}return t}var hi=/^spa-host\..+\.json$/,gi=/* @__PURE__ */ new Set([`web.config`,`staticwebapp.config.json`,`_headers`,`spa-host.json`]);function _i(e){let t=[];for(let n of ri(e,/* @__PURE__ */ new Set([...ni,`android`,`ios`]))){let i=c(n);if(!gi.has(i)&&!hi.test(i))continue;let a=ai(r(n,`utf8`),/<!--[\s\S]*?-->/g).split(`
|
|
79
|
+
`).findIndex(e=>/\bimmutable\b/i.test(e)&&/cache/i.test(e));if(a===-1)continue;let o=ii(m(e,n));t.push([`spa-host-immutable-assets:${o}`,`${o}:${a+1} sets a Cache-Control with immutable. react.md → SPA deploy artifacts: /assets/* is "public, max-age=31536000" without immutable, because immutable on a content-hashed URL can brick that URL in the browser cache across a bad deploy.`])}return t}var vi=[[`eslint`,`react.md: Biome is the only lint and format tool`],[`@eslint/js`,`react.md: Biome is the only lint and format tool`],[`prettier`,`react.md: Biome is the only lint and format tool`],[`lint-staged`,`react.md: the shared pre-commit hook replaces lint-staged`]],yi=[[`@typescript-eslint/`,`react.md: no TypeScript toolchain residue`],[`eslint-plugin-`,`react.md: Biome is the only lint and format tool`],[`eslint-config-`,`react.md: Biome is the only lint and format tool`],[`prettier-plugin-`,`react.md: Biome is the only lint and format tool`]],P=`bootstrap-ui.md: hard interactive components come from @webority/ui-react`,bi=`react.md: Bootstrap 5.3.3 is the only UI framework`,xi=`react.md: dates format through Intl and the web-core formatters`,Si=`react-native.md: retired; Intl and the mobile-core formatters`,Ci={web:[...vi,[`typescript`,`react.md: JavaScript only, never TypeScript`],[`sass`,`react.md: the SCSS compiler is sass-embedded, never the pure-JS sass`],[`react-toastify`,`react.md: notifications are toast from @webority/ui-react`],[`downshift`,P],[`react-day-picker`,P],[`react-aria`,P],[`react-aria-components`,P],[`@webority/ui-elements`,`bootstrap-ui.md: products use the App* wrappers, and ui-react brings the elements itself`],[`crypto-js`,`react.md: stored tokens are never encrypted client-side`],[`tailwindcss`,bi],[`antd`,bi],[`styled-components`,`react.md: no CSS-in-JS`],[`bootstrap-icons`,`bootstrap-ui.md: icons are AppIcon from @webority/ui-react`],[`iconsax-react`,`ui-components.md: icons are AppIcon from @webority/ui-react`],[`moment`,xi],[`moment-timezone`,xi],[`dayjs`,xi],[`date-fns`,xi]],mobile:[...vi,[`typescript`,`react-native.md: app code is JavaScript`],[`@types/react`,`react-native.md: app code is JavaScript`],[`@react-native/typescript-config`,`react-native.md: app code is JavaScript`],[`react-native-permissions`,`react-native.md: retired; each Expo module requests its own permission`],[`moment`,Si],[`moment-timezone`,Si],[`dayjs`,Si],[`react-native-fast-image`,`react-native.md: retired; expo-image`],[`@d11/react-native-fast-image`,`react-native.md: retired; expo-image`],[`formik`,`react-native.md: retired; react-hook-form`],[`yup`,`react-native.md: retired; zod with zodResolver`],[`react-native-status-bar-height`,`react-native.md: retired; react-native-safe-area-context insets`],[`react-native-flash-message`,`react-native.md: retired; the mobile-ui toast`],[`react-native-toast-message`,`react-native.md: retired; the mobile-ui toast`],[`prop-types`,`react-native.md: retired; defaults in the parameter destructure`],[`@react-navigation/stack`,`react-native.md: retired; @react-navigation/native-stack`],[`react-native-version-check`,`react-native.md: retired; the server-driven minimum version`],[`@react-native-firebase/messaging`,`react-native.md: push is expo-notifications through mobile-core`],[`@notifee/react-native`,`react-native.md: push is expo-notifications through mobile-core`],[`patch-package`,`react-native-toolchain.md: patch with pnpm patch, never patch-package`]],demo:[]},wi={web:[...yi,[`@mui/`,bi],[`@chakra-ui/`,bi],[`@emotion/`,`react.md: no CSS-in-JS`],[`@radix-ui/`,P],[`@react-aria/`,P]],mobile:[...yi],demo:[]},Ti={web:[[`axios-retry`,`@webority/web-core`,`react.md: retry lives only in @webority/web-core`]],mobile:[[`axios-retry`,`@webority/mobile-core`,`react.md: retry lives only in @webority/mobile-core`]],demo:[]},Ei={web:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/web-core`,`react.md: clients, auth, errors and logging come from web-core`],[`@webority/ui-react`,`react.md: App* components come from the catalogue`],[`@webority/theme`,`bootstrap-ui.md: look and tokens come from the shared theme`],[`bootstrap`,`bootstrap-ui.md: Bootstrap 5.3.3 on every surface`],[`react-bootstrap`,`bootstrap-ui.md: react-bootstrap is a dependency from project init`],[`sass-embedded`,`react.md: the SCSS compiler is sass-embedded`]],mobile:[[`@biomejs/biome`,`react-native.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/mobile-core`,`react-native.md: apps consume the shared mobile library`],[`@webority/mobile-ui`,`react-native.md: apps consume the shared mobile library`],[`@react-native-firebase/app`,`react-native.md: Crashlytics in every app`],[`@react-native-firebase/crashlytics`,`react-native.md: Crashlytics in every app`]],demo:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`]]},Di=`5.3.3`,Oi=[`agentation`],ki=`>=24.15 <25`,Ai=[[`web-import-axios`,/(?:\bfrom\s*|\bimport\s*\(\s*|\brequire\s*\(\s*|^\s*import\s*)["']axios(?:\/[^"']*)?["']/m,`imports axios`,`react.md: HTTP goes through userClient and publicClient from @webority/web-core`],[`web-import-router`,/\bimport\s*\{[^}]*\b(?:BrowserRouter|Routes)\b[^}]*\}\s*from\s*["']react-router(?:-dom)?["']/,`imports BrowserRouter or Routes`,`react.md: routes are objects passed to createBrowserRouter and rendered by RouterProvider`],[`web-import-env-branch`,/\bimport\.meta\.env\.(?:DEV|PROD)\b/,`reads import.meta.env.DEV or PROD`,`react.md: branch on AppSettings.ENVIRONMENT; DEV and PROD only say which React build is bundled`]],ji=[[`@webority/theme`,`@webority/ui-react`,`@webority/support-react`,`@webority/chat-react`,`@webority/web-core`,`@webority/biome-config`,`@webority/repo-checks`],[`@webority/mobile-core`,`@webority/mobile-ui`,`@webority/mobile-support`,`@webority/mobile-tools`]],Mi=`@webority/biome-config/biome.jsonc`,Ni={react:[`Children`,`Fragment`,`Profiler`,`StrictMode`,`Suspense`]},Pi=/* @__PURE__ */ `AppAccordion.AppActionIcon.AppAlert.AppAsyncBlock.AppAutocomplete.AppAvatar.AppAvatarGroup.AppBadge.AppBanner.AppBreadcrumbs.AppButton.AppButtonGroup.AppCalendar.AppCard.AppCarousel.AppChart.AppChartCard.AppCheckbox.AppChip.AppChipGroup.AppChoiceCard.AppChoiceChip.AppCodeBlock.AppColorField.AppColumnMenu.AppCommandPalette.AppCommentThread.AppCompareTable.AppConfirmDialog.AppConsentBanner.AppContextMenu.AppCopyButton.AppCountryFlag.AppCountrySelect.AppDashboardCell.AppDashboardGrid.AppDataTable.AppDatePicker.AppDateRangePicker.AppDescriptions.AppDetailPane.AppDrawer.AppDropZone.AppDropdown.AppDueDate.AppEmptyState.AppErrorSummary.AppFileAttachment.AppFilePicker.AppFileTiles.AppFileViewer.AppFilterBar.AppFloatingDock.AppFormActions.AppFormRow.AppFormSection.AppHoverCard.AppIcon.AppImagePicker.AppInfoTip.AppInlineEdit.AppInput.AppInputGroup.AppKanban.AppKbd.AppKpiTile.AppLightbox.AppLink.AppMarkdown.AppMentionInput.AppMeter.AppMetricStrip.AppModal.AppMultiSelect.AppNavList.AppNavigationMenu.AppNotificationCenter.AppNumberInput.AppOnboardingChecklist.AppOtpInput.AppPageHeader.AppPhoneNumberInput.AppPopover.AppPricingCard.AppProgress.AppQrCode.AppRadio.AppRadioGroup.AppRating.AppRecordPager.AppRelativeTime.AppRepeater.AppRequiredMark.AppResizable.AppResizableHandle.AppResizablePanel.AppResourceCard.AppResult.AppRichText.AppRollingNumber.AppRouteError.AppScoreScale.AppScrollbar.AppSearch.AppSectionCallToAction.AppSectionFaq.AppSectionFeatures.AppSectionHero.AppSectionLeadCapture.AppSectionLogos.AppSectionPricing.AppSectionTestimonials.AppSegmented.AppSelect.AppSeoHead.AppShell.AppShortcutLegend.AppShowMore.AppSkeleton.AppSkeletonLines.AppSkeletonRows.AppSlider.AppSortableList.AppSparkline.AppSpinner.AppSplash.AppSplitButton.AppSplitView.AppStatusBadge.AppStepper.AppSwitch.AppTablePagination.AppTableToolbar.AppTabs.AppTagInput.AppTextarea.AppThemeToggle.AppTimePicker.AppTimeline.AppToast.AppToolbar.AppTooltip.AppTour.AppTreeView.AppTruncate.AppUpdateBar.AppWhatsNew.AppWizard.AppWorkspaceSwitcher`.split(`.`),Fi=[`lint`,`rn-mainactivity-oncreate-bundle`,`spa-host-immutable-assets`,`oversize`,`advisory`,`endpoint-name`];function Ii(e,t=process.env){let n=String(t.REPO_CHECKS_ENFORCE??``).split(`,`).map(e=>e.trim()).filter(Boolean);return!Fi.includes(e)||n.includes(`all`)||n.includes(e)}var Li={version:`0.89.0`,css:{rename:[[`--color-primary-text`,`--color-on-primary`],[`--color-primary-ink`,`--color-primary-text`],[`--color-primary-hover-text`,`--color-on-primary`],[`--color-on-primary-ink`,`--color-on-primary`],[`--color-border-light`,`--color-border-subtle`],[`--color-focus-border`,`--color-field-border-focus`],[`--color-success-active`,`--color-success-pressed`],[`--color-success-10`,`--color-success-soft`],[`--color-success-30`,`--color-success-border`],[`--color-warning-active`,`--color-warning-pressed`],[`--color-warning-10`,`--color-warning-soft`],[`--color-warning-30`,`--color-warning-border`],[`--color-danger-active`,`--color-danger-pressed`],[`--color-danger-10`,`--color-danger-soft`],[`--color-danger-30`,`--color-danger-border`],[`--color-info-active`,`--color-info-pressed`],[`--color-info-10`,`--color-info-soft`],[`--color-info-30`,`--color-info-border`],[`--color-accent`,`--color-warning`],[`--color-accent-soft`,`--color-warning-soft`],[`--color-close-filter`,`--wui-close-filter`],[`--color-pressed-overlay`,`--wui-pressed-overlay`],[`--wui-chart-grid`,`--color-chart-grid`],[`--wui-chart-axis`,`--color-chart-axis`],[`--wui-chart-label`,`--color-chart-label`],[`--wui-shadow-overlay`,`--wui-shadow-popover`],[`--wui-shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-overlay`,`--wui-shadow-popover`],[`--shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-sm`,`--wui-shadow-card`],[`--shadow-md`,`--wui-shadow-card`],[`--shadow-lg`,`--wui-shadow-card`],[`--wui-shadow-card-lifted`,`--wui-card-shadow-lifted`],[`--wui-shadow-card-lifted-hover`,`--wui-card-shadow-lifted-hover`],[`--wui-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-shadow-thumb-hover`,`--wui-thumb-shadow-hover`],[`--radius-sm`,`--wui-radius-sm`],[`--radius`,`--wui-radius-md`],[`--radius-lg`,`--wui-radius-lg`],[`--radius-xl`,`--wui-radius-xl`],[`--wui-radius`,`--wui-radius-md`],[`--wui-control-height-sm`,`--wui-control-sm`],[`--wui-control-height`,`--wui-control-md`],[`--wui-control-height-lg`,`--wui-control-lg`],[`--wui-field-radius-sm`,`--wui-field-sm-radius`],[`--wui-field-radius`,`--wui-field-md-radius`],[`--wui-field-radius-lg`,`--wui-field-lg-radius`],[`--wui-ease-out-quart`,`--wui-ease-out`],[`--wui-font-body`,`--wui-font-ui`],[`--font-sans`,`--wui-font-ui`],[`--wui-fs-smb`,`--wui-fs-sm`],[`--wui-fs-48`,`--wui-fs-4xl`],[`--wui-fs-64`,`--wui-fs-5xl`]],reads:[[`--wui-chart-1`,`--color-chart-1`],[`--wui-chart-2`,`--color-chart-2`],[`--wui-chart-3`,`--color-chart-3`],[`--wui-chart-4`,`--color-chart-4`],[`--wui-chart-5`,`--color-chart-5`],[`--wui-chart-6`,`--color-chart-6`],[`--wui-chart-7`,`--color-chart-7`],[`--wui-chart-8`,`--color-chart-8`],[`--wui-chart-seq-0`,`--color-chart-seq-0`],[`--wui-chart-seq-1`,`--color-chart-seq-1`],[`--wui-chart-seq-2`,`--color-chart-seq-2`],[`--wui-chart-seq-3`,`--color-chart-seq-3`],[`--wui-chart-seq-4`,`--color-chart-seq-4`],[`--wui-chart-seq-5`,`--color-chart-seq-5`],[`--wui-chart-seq-6`,`--color-chart-seq-6`],[`--wui-chart-diverging-low`,`--color-chart-diverging-low`],[`--wui-chart-diverging-mid`,`--color-chart-diverging-mid`],[`--wui-chart-diverging-high`,`--color-chart-diverging-high`],[`--wui-chart-neutral`,`--color-chart-neutral`],[`--wui-dark-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-dark-shadow-thumb-hover`,`--wui-thumb-shadow-hover`]],choose:{"--color-on-status-fill":`Use the ink of the fill's tone: --color-on-success, --color-on-warning, --color-on-danger or --color-on-info.`,"--color-on-status-strong":`Use the ink of the strong fill's tone: --color-on-success-strong, --color-on-warning-strong, --color-on-danger-strong or --color-on-info-strong.`,"--color-success-5":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-20":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-50":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-warning-5":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-20":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-50":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-danger-5":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-20":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-50":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-info-5":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-20":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-50":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`},checkRole:[`--wui-shadow-popover`,`--wui-shadow-modal`],ownable:[`--color-accent`,`--color-accent-soft`,`--shadow-overlay`,`--shadow-overlay-lg`,`--shadow-sm`,`--shadow-md`,`--shadow-lg`,`--radius-sm`,`--radius`,`--radius-lg`,`--radius-xl`,`--font-sans`]},themeReads:[{kind:`path`,from:`colors.primaryHover`,to:`colors.primary-hover`},{kind:`path`,from:`colors.primaryPressed`,to:`colors.primary-pressed`},{kind:`path`,from:`colors.primaryMuted`,to:`colors.primary-soft`},{kind:`path`,from:`colors.secondaryHover`,to:`colors.neutral-hover`},{kind:`path`,from:`colors.secondary`,to:`colors.neutral`},{kind:`path`,from:`colors.error`,to:`colors.danger`},{kind:`path`,from:`colors.onPrimary`,to:`colors.on-primary`},{kind:`path`,from:`colors.onNeutral`,to:`colors.on-neutral-strong`},{kind:`path`,from:`colors.onSecondary`,to:`colors.on-neutral`},{kind:`path`,from:`colors.onSuccess`,to:`colors.on-success`},{kind:`path`,from:`colors.onWarning`,to:`colors.on-warning`},{kind:`path`,from:`colors.onError`,to:`colors.on-danger`},{kind:`path`,from:`colors.onInfo`,to:`colors.on-info`},{kind:`path`,from:`colors.onOverlay`,to:`colors.on-scrim`},{kind:`path`,from:`colors.toneText.primary`,to:`colors.primary-text`},{kind:`path`,from:`colors.toneText.success`,to:`colors.success-text`},{kind:`path`,from:`colors.toneText.warning`,to:`colors.warning-text`},{kind:`path`,from:`colors.toneText.error`,to:`colors.danger-text`},{kind:`path`,from:`colors.toneText.info`,to:`colors.info-text`},{kind:`path`,from:`colors.text.primary`,to:`colors.text-body`},{kind:`path`,from:`colors.text.secondary`,to:`colors.text-muted`},{kind:`path`,from:`colors.text.tertiary`,to:`colors.text-subtle`},{kind:`path`,from:`colors.text.inverse`,to:`colors.text-inverse`},{kind:`path`,from:`colors.text.strong`,to:`colors.text`},{kind:`path`,from:`colors.text.disabled`,to:`colors.text-disabled`},{kind:`path`,from:`colors.text.link`,to:`colors.link`},{kind:`path`,from:`colors.background.primary`,to:`colors.bg`},{kind:`path`,from:`colors.background.secondary`,to:`colors.bg-subtle`},{kind:`path`,from:`colors.background.tertiary`,to:`colors.bg-muted`},{kind:`path`,from:`colors.background.elevated`,to:`colors.surface`},{kind:`path`,from:`colors.background.overlay`,to:`colors.scrim`},{kind:`path`,from:`colors.background.inverse`,to:`colors.surface-inverse`},{kind:`path`,from:`colors.border.primary`,to:`colors.border`},{kind:`path`,from:`colors.border.secondary`,to:`colors.border-subtle`},{kind:`path`,from:`colors.border.focus`,to:`colors.focus-ring`},{kind:`path`,from:`colors.border.error`,to:`colors.danger-border`},{kind:`path`,from:`colors.border.width`,to:`size.border`},{kind:`path`,from:`colors.field.backgroundFocused`,to:`colors.field-bg-focus`},{kind:`path`,from:`colors.field.backgroundDisabled`,to:`colors.field-bg-disabled`},{kind:`path`,from:`colors.field.background`,to:`colors.field-bg`},{kind:`path`,from:`colors.field.borderFocused`,to:`colors.field-border-focus`},{kind:`path`,from:`colors.field.borderError`,to:`colors.field-border-error`},{kind:`path`,from:`colors.field.border`,to:`colors.field-border`},{kind:`path`,from:`colors.field.label`,to:`colors.field-label`},{kind:`path`,from:`colors.field.textDisabled`,to:`colors.field-text-disabled`},{kind:`path`,from:`colors.field.text`,to:`colors.field-text`},{kind:`path`,from:`colors.field.placeholderDisabled`,to:`colors.field-placeholder-disabled`},{kind:`path`,from:`colors.field.placeholder`,to:`colors.field-placeholder`},{kind:`path`,from:`colors.field.iconFocused`,to:`colors.field-icon-focus`},{kind:`path`,from:`colors.field.iconDisabled`,to:`colors.field-icon-disabled`},{kind:`path`,from:`colors.field.icon`,to:`colors.field-icon`},{kind:`path`,from:`colors.field.caret`,to:`colors.field-caret`},{kind:`path`,from:`colors.field.message`,to:`colors.field-message`},{kind:`path`,from:`colors.surface.pressed`,to:`colors.surface-pressed`},{kind:`path`,from:`colors.surface.hovered`,to:`colors.surface-hover`},{kind:`path`,from:`colors.surface.selected`,to:`colors.surface-selected`},{kind:`path`,from:`colors.surface.disabled`,to:`colors.surface-disabled`},{kind:`path`,from:`colors.glass.fill`,to:`colors.glass-fill`},{kind:`path`,from:`colors.glass.border`,to:`colors.glass-border`},{kind:`path`,from:`colors.glass.on`,to:`colors.on-glass`},{kind:`path`,from:`colors.glass.badge`,to:`colors.glass-badge`},{kind:`path`,from:`colors.skeleton.background`,to:`colors.skeleton`},{kind:`path`,from:`colors.skeleton.highlight`,to:`colors.skeleton-highlight`},{kind:`gone`,from:`colors.avatarPalette`,hint:"read colors[`avatar-${n}`] for n 1 to 8"},{kind:`path`,from:`typography.fontFamily.regular`,to:`font.ui.normal`},{kind:`path`,from:`typography.fontFamily.medium`,to:`font.ui.medium`},{kind:`path`,from:`typography.fontFamily.semibold`,to:`font.ui.semibold`},{kind:`path`,from:`typography.fontFamily.bold`,to:`font.ui.bold`},{kind:`gone`,from:`typography.fontFamily.display`,hint:`font.display is a face per weight: font.display.<weight>`},{kind:`prefix`,from:`typography.fontSize.`,to:`text.`},{kind:`prefix`,from:`typography.fontWeight.`,to:`weight.`},{kind:`prefix`,from:`typography.lineHeight.`,to:`leading.`},{kind:`prefix`,from:`typography.letterSpacing.`,to:`letter-spacing.`},{kind:`prefix`,from:`spacing.`,to:`space.`},{kind:`path`,from:`shadows.sm`,to:`shadow.card`},{kind:`path`,from:`shadows.md`,to:`shadow.elevated`},{kind:`path`,from:`shadows.lg`,to:`shadow.popover`},{kind:`path`,from:`shadows.xl`,to:`shadow.modal`},{kind:`gone`,from:`shadows.xs`,hint:`use shadow.card`},{kind:`gone`,from:`shadows.2xl`,hint:`use shadow.modal`},{kind:`gone`,from:`shadows.none`,hint:`omit the shadow`},{kind:`path`,from:`motion.duration.normal`,to:`motion.duration.default`},{kind:`path`,from:`motion.easing.standard`,to:`motion.ease.in-out`},{kind:`prefix`,from:`motion.easing.`,to:`motion.ease.`},{kind:`prefix`,from:`icons`,to:`settings.icons`},{kind:`prefix`,from:`gradients`,to:`settings.gradients`},{kind:`prefix`,from:`textVariants`,to:`settings.textVariants`},{kind:`path`,from:`maxFontSizeMultiplier`,to:`settings.maxFontSizeMultiplier`},{kind:`path`,from:`components.field.defaultVariant`,to:`settings.components.field.defaultVariant`},{kind:`path`,from:`components.field.requiredMarker`,to:`settings.components.field.requiredMarker`},{kind:`path`,from:`components.input.defaultVariant`,to:`settings.components.input.defaultVariant`},{kind:`path`,from:`components.input.defaultLabelMode`,to:`settings.components.input.defaultLabelMode`},{kind:`path`,from:`components.input.tintLabelOnFocus`,to:`settings.components.input.tintLabelOnFocus`},{kind:`path`,from:`components.input.shakeOnError`,to:`settings.components.input.shakeOnError`},{kind:`path`,from:`components.searchBar.defaultVariant`,to:`settings.components.search-bar.defaultVariant`},{kind:`path`,from:`components.select.defaultVariant`,to:`settings.components.select.defaultVariant`},{kind:`path`,from:`components.otpInput.shakeOnError`,to:`settings.components.otp-input.shakeOnError`},{kind:`path`,from:`components.optionSheet.selectedMarker`,to:`settings.components.option-sheet.selectedMarker`},{kind:`path`,from:`components.profilePicker.defaultTone`,to:`settings.components.profile-picker.defaultTone`},{kind:`path`,from:`components.profilePicker.defaultVariant`,to:`settings.components.profile-picker.defaultVariant`},{kind:`path`,from:`components.profilePicker.defaultAvatarTone`,to:`settings.components.profile-picker.defaultAvatarTone`},{kind:`path`,from:`components.slider.thumbPressAnimation`,to:`settings.components.slider.thumbPressAnimation`},{kind:`path`,from:`components.rating.pulseOnPress`,to:`settings.components.rating.pulseOnPress`},{kind:`path`,from:`components.stepper.pulseAnimation`,to:`settings.components.stepper.pulseAnimation`},{kind:`path`,from:`components.tooltip.enableScaleAnimation`,to:`settings.components.tooltip.enableScaleAnimation`},{kind:`path`,from:`components.toast.enableSwipeDismiss`,to:`settings.components.toast.enableSwipeDismiss`},{kind:`path`,from:`components.toast.defaultDurationMs`,to:`settings.components.toast.defaultDurationMs`},{kind:`gone`,from:`components.field.outlined`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.filled`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.underline`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.textColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.disabledTextColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.placeholderColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.fontWeight`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.requiredMarkerColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.input.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.handleColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.switch.thumbColor`,hint:`the thumb reads colors.thumb`},{kind:`gone`,from:`components.slider.thumbPressScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelShowDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeDismissThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackScaleStep`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackMinScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconCircleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonMarginLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.containerPaddingLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.textBlockPaddingRight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.formField.inlineLabelWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressDelayMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressIntervalMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateLoopDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.determinateAnimationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.animationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.strokeWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.trackColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.colorStops`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.rating.pulseScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomSheet.handleColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.selectedFillOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.thumbnailSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.dashedBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeIconColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.inlineSelect.color`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillMaxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillInset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.underlineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingMargin`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleLift`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.viewTransitionDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerPressDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerReleaseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.decadeRangeMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.hapticDebounceMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontSizeRatio`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.text`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontWeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.accordion.cardPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.sideSlotMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.collapseTranslateDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.subtitleMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.actionButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dividerWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgePaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.closeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.maxScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.minScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.doubleTapScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.modal.scaleStartValue`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.circleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.threshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.fullSwipeThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.rubberBandFactor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.failOffsetY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.haloWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.connectorGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.gap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.screenPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.pressAutoHideMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHalfWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowCornerPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.maxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.lineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.exitDurationMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.segmentedControl.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tabs.radius`,hint:`fixed in the library since 0.89.0`},{kind:`kebab`,under:`components`,names:{searchBar:`search-bar`,emptyState:`empty-state`,listItem:`list-item`,otpInput:`otp-input`,segmentedControl:`segmented-control`,floatingActionButton:`floating-action-button`}}],props:[{package:`@webority/mobile-ui`,props:[`tone`,`variant`],from:`error`,to:`danger`}],componentProps:[],propValues:[{package:`@webority/ui-react`,components:[`AppInput`,`AppSelect`,`AppCountrySelect`],prop:`floatingLabel`,true:`border`,false:`off`}],propSplits:[{package:`@webority/ui-react`,components:[`AppInput`],prop:`passwordRequirements`,on:`shown`,off:`off`,into:`passwordPolicy`}],razorAttributes:[{tags:[`app-input`,`app-select`,`app-country-select`],attribute:`floating-label`,values:{true:`border`,false:`off`}},{tags:[`app-input`],attribute:`password-requirements`,values:{true:`shown`,false:`off`}}]},Ri=`--color-primary-text`,zi=new Set([...Li.css.rename.map(([e])=>e),...Li.css.reads.map(([e])=>e),...Object.keys(Li.css.choose)].filter(e=>e!==Ri)),Bi=RegExp(`(?<![\\w-])(${[...zi].join(`|`)})(?![\\w-])`,`g`),Vi=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`out`,`bin`,`obj`,`.git`,`.next`,`coverage`]),Hi=/* @__PURE__ */ new Set([`.css`,`.scss`,`.sass`,`.less`,`.js`,`.jsx`,`.ts`,`.tsx`,`.cshtml`,`.razor`,`.html`,`.vue`]),Ui=(e,t)=>Vi.has(e)||e===`lib`&&c(t)===`wwwroot`,Wi=e=>Hi.has(u(e).toLowerCase());function Gi(e,t=[]){for(let n of i(e,{withFileTypes:!0})){let r=d(e,n.name);n.isDirectory()?Ui(n.name,e)||Gi(r,t):Wi(n.name)&&t.push(r)}return t}function Ki(e,t){for(let n=l(e);n.length>t.length;n=l(n))if(Ui(c(n),l(n)))return!0;return!1}function qi(e){let n=v(`git`,[`ls-files`,`-z`,`--cached`,`--others`,`--exclude-standard`,`--`,`.`],{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout.split(`\0`).filter(e=>e&&Wi(e)).map(t=>d(e,t.split(`/`).join(g))).filter(n=>!Ki(n,e)&&t(n)):Gi(e)}function Ji(e){let t=e.slice(0,3).join(`, `),n=e.length-3;return n>0?`${t} and ${n} more`:t}function Yi(e,t){let n=[];for(let i of qi(e)){let e=r(i,`utf8`),a=[],o=-1;for(let t of e.matchAll(Bi))o<0&&(o=t.index),a.includes(t[1])||a.push(t[1]);if(a.length===0)continue;let s=m(t,i).split(`\\`).join(`/`),c=e.slice(0,o).split(`
|
|
80
|
+
`).length;n.push([`stale-theme-name:${s}`,`${s}:${c} reads pre-0.89.0 theme names (${Ji(a)}). Run webority upgrade 0.89.0 --path <folder> once for the product's style and source folders, then webority brand; no alias for the old names is shipped.`])}return n}var Xi=`tracked-case`;function Zi(e,t){let n=/* @__PURE__ */ new Map,r=t=>{let r=n.get(t);if(r===void 0){try{r=new Set(i(d(e,t)))}catch{r=/* @__PURE__ */ new Set}n.set(t,r)}return r},a=/* @__PURE__ */ new Set,o=[];for(let e of t){let t=e.split(`/`),n=`.`;for(let e=0;e<t.length;e++){let i=t[e],s=r(n);if(s.has(i)){n=n===`.`?i:`${n}/${i}`;continue}let c=i.toLowerCase(),l=[...s].find(e=>e.toLowerCase()===c);if(l!==void 0){let n=t.slice(0,e+1).join(`/`);if(!a.has(n)){a.add(n);let r=[...t.slice(0,e),l].join(`/`);o.push([`${Xi}:${n}`,`tracked as ${n} but on disk as ${r}; a Linux checkout cannot find the import. Run git mv "${n}" "${r}" so git records the rename.`])}}break}}return o}var F=e=>e.split(`\\`).join(`/`),Qi=(e,t)=>F(m(e,t))||`.`;function I(e){try{return JSON.parse(r(e,`utf8`))}catch{return null}}function $i(e,t){let n=v(`git`,t,{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout:null}function ea(e){let t=$i(e,[`rev-parse`,`--show-toplevel`]);return t?t.trim():null}function L(e,t){let n=$i(e,[`ls-files`,`-z`,`--`,...t.flatMap(e=>[e,`:(glob)**/${e}`])]);return n?[...new Set(n.split(`\0`).filter(Boolean))]:[]}function ta(e){let t=$i(e,[`ls-files`,`-z`]);return t?t.split(`\0`).filter(Boolean):[]}function na(e){let t=e?.dependencies??{};return Oi.some(e=>t[e])?null:t[`react-dom`]&&(e?.devDependencies?.[`react-native-web`]||t[`react-native-web`])?`demo`:t[`react-native`]?`mobile`:t[`react-dom`]?`web`:null}var ra=e=>/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(e)||/^(?:workspace:\*|file:|link:)/.test(e),ia=/* @__PURE__ */ new Set([`@biomejs/biome`,`@webority/biome-config`]),aa=e=>/^(?:workspace:|file:|link:)/.test(e);function oa(e,t,n){let r=[],i={...e.dependencies,...e.devDependencies},a=Object.keys(i);for(let[e,n]of Ci[t])i[e]&&r.push([`banned:${e}`,`"${e}" is a dependency. ${n}.`]);for(let[e,n]of wi[t])for(let t of a.filter(t=>t.startsWith(e)))r.push([`banned:${t}`,`"${t}" is a dependency. ${n}.`]);for(let[e,n,a]of Ti[t])i[e]&&i[n]&&r.push([`banned:${e}`,`"${e}" is a dependency beside ${n}. ${a}.`]);for(let[e,a]of Ei[t])(ia.has(e)?n:i)[e]||r.push([`required:${e}`,`"${e}" is not a dependency. ${a}.`]);let o=t===`mobile`?a:a.filter(e=>e.startsWith(`@webority/`)||e===`bootstrap`);for(let e of o){let t=String(i[e]);ra(t)||r.push([`not-exact:${e}`,`"${e}": "${t}" is a range. Pin the version the lockfile holds, without ^ or ~.`])}i.bootstrap&&String(i.bootstrap).replace(/^[\^~]/,``)!==`5.3.3`&&r.push([`bootstrap-version`,`bootstrap is "${i.bootstrap}". bootstrap-ui.md: every surface pins ${Di}.`]);for(let e of ji){let t=e.filter(e=>i[e]&&!aa(String(i[e])));if(new Set(t.map(e=>String(i[e]).replace(/^[\^~]/,``))).size>1){let n=t.map(e=>`${e}@${i[e]}`).join(`, `);r.push([`lockstep:${e[0]}`,`${n} differ. These publish together at one version; move every pin in the set together.`])}}return r}function R(e,n,r){let i=e;for(;;){for(let e of r)if(t(d(i,e)))return d(i,e);if(i===n)return null;let e=l(i);if(e===i)return null;i=e}}function sa(e,t){let n=e,i=null;for(;;){let e=R(n,t,[`biome.json`,`biome.jsonc`]);if(!e)return i;i=l(e);let a;try{a=ot(r(e,`utf8`))}catch{return i}let o=l(i);if(a.root!==!1||i===t||o===i)return i;n=o}}function ca(e,t,n){let r=sa(e,t),i=r&&r!==e?I(d(r,`package.json`)):null;return i?{...i.dependencies,...i.devDependencies}:n}function la(e,n){let i=[],a=R(e,n,[`pnpm-lock.yaml`]);a||i.push([`pnpm:no-lockfile`,`No pnpm-lock.yaml in this folder or above it. react.md: every JS repo installs with pnpm.`]);let o=a?l(a):e,s=I(d(o,`package.json`))??I(d(e,`package.json`)),c=s?.devEngines?.packageManager;c?.name===`pnpm`&&/^\d+\.\d+\.\d+$/.test(c?.version??``)&&c?.onFail===`error`||i.push([`pnpm:dev-engines`,`package.json lacks "devEngines": { "packageManager": { "name": "pnpm", "version": "<x.y.z>", "onFail": "error" } }. react.md: Package manager.`]),s?.packageManager!==void 0&&i.push([`pnpm:package-manager`,`package.json sets "packageManager", which pnpm ignores beside devEngines. Move its version into devEngines.packageManager.version and delete it. react.md: Package manager.`]);let u=d(o,`pnpm-workspace.yaml`);if(!t(u))i.push([`pnpm:no-workspace-file`,`No pnpm-workspace.yaml beside the lockfile. react.md: it holds engineStrict, strictPeerDependencies and allowBuilds.`]);else{let e=r(u,`utf8`);/^engineStrict:\s*true\s*$/m.test(e)||i.push([`pnpm:engine-strict`,`pnpm-workspace.yaml lacks engineStrict: true. react.md: a Node mismatch must fail the install.`]),/^strictPeerDependencies:\s*true\s*$/m.test(e)||i.push([`pnpm:strict-peers`,`pnpm-workspace.yaml lacks strictPeerDependencies: true. react.md: a peer conflict must fail the install.`])}for(let n of[`package-lock.json`,`yarn.lock`])t(d(e,n))&&i.push([`pnpm:${n}`,`${n} sits in this folder. react.md: pnpm only; seed pnpm-lock.yaml with pnpm import, then delete it.`]);return i}function ua(e,t,n,r){if((e.javascript?.globals??[]).includes(r))return!0;let i=F(m(t,d(n,`index.js`)));return(e.overrides??[]).some(e=>(e.javascript?.globals??[]).includes(r)&&[].concat(e.includes??[]).some(e=>!String(e).startsWith(`!`)&&f(i,String(e))))}function da(e,t,n){let i=R(e,t,[`biome.json`,`biome.jsonc`]);if(!i)return[[`biome:missing`,`No biome.json in this folder or above it. react.md: one committed root biome.json.`]];let a;try{a=ot(r(i,`utf8`))}catch{return[[`biome:unreadable`,`${c(i)} does not parse.`]]}let o=[];return[].concat(a.extends??[]).some(e=>e===`@webority/biome-config/biome.jsonc`||String(e).endsWith(`biome-config/biome.jsonc`))||o.push([`biome:extends`,`${c(i)} does not extend "${Mi}". react.md: every repo extends the shared preset.`]),a.formatter?.lineEnding&&o.push([`biome:line-ending`,`${c(i)} sets formatter.lineEnding. react.md: inherit it from the shared preset, never set it.`]),a.linter?.rules&&Object.keys(a.linter.rules).length>0&&o.push([`biome:root-rules`,`${c(i)} sets linter.rules at the root. react.md: never a rule's severity at the root; a per-path exception goes in overrides.`]),n===`mobile`&&!ua(a,l(i),e,`__DEV__`)&&o.push([`biome:dev-global`,`${c(i)} lacks "__DEV__" in javascript.globals. react-native.md: Debugging and agent access.`]),o}var fa=d(`node_modules`,`@biomejs`,`biome`,`bin`,`biome`);function pa(e,t,n){if(e.start?.line)return e.start.line;if(!Array.isArray(e.span))return null;let i=r(d(t,n)),a=1;for(let t=0;t<e.span[0];t++)i[t]===10&&a++;return a}function ma(e){try{return a(e)}catch{return null}}function ha(e,t,n){let r=n.split(`/`),i=n.startsWith(`@`)?r.slice(0,2).join(`/`):r[0],a=n.slice(i.length)?`.${n.slice(i.length)}`:`.`,o=R(e,t,[d(`node_modules`,i)]),s=o&&ma(o),c=s&&I(d(s,`package.json`));if(!c)return null;let l=(typeof c.exports==`string`?{".":c.exports}:c.exports)?.[a]??(a===`.`?c.module??c.main:null);return l&&typeof l==`object`&&(l=l.import??l.default),typeof l==`string`?{pkgDir:s,entry:d(s,l)}:null}function ga(e,t){let n=[t.entry],r;try{r=a(t.pkgDir)}catch{return n}let i=m(a(e),r);if(i.startsWith(`..`)||i.split(/[\\/]/).includes(`node_modules`))return n;for(let e of[`index.js`,`index.jsx`,`index.ts`,`index.tsx`])n.push(d(r,`src`,e));return n}function _a(e,t,n,r){if(n.startsWith(`.`))return!1;let i=ha(e,t,n);if(!i)return!1;let a=/* @__PURE__ */ new Set;return ga(t,i).some(e=>ba(e,r,t,a))}var va=/\bexport\s*(?:(\*)(?:\s*as\s+([\w$]+))?|\{([^}]*)\})(?:\s*from\s*["']([^"']+)["'])?/g,ya=[``,`.js`,`.mjs`,`.cjs`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.mjs`,`/index.jsx`,`/index.ts`,`/index.tsx`];function ba(e,t,n,i){if(i.has(e))return!1;i.add(e);let a;try{a=r(e,`utf8`)}catch{return!1}if(RegExp(`\\bexport\\s+(?:async\\s+)?(?:const|let|var|function\\*?|class)\\s+${t}\\b`).test(a)||RegExp(`\\b(?:module\\.)?exports\\.${t}\\s*=|Object\\.defineProperty\\(\\s*(?:module\\.)?exports\\s*,\\s*["']${t}["']|\\bget\\s+${t}\\s*\\(`).test(a))return!0;for(let[,r,o,s,c]of a.matchAll(va))if(r){if(o===t||o===void 0&&c!==void 0&&xa(e,c,t,n,i))return!0}else for(let r of s.split(`,`)){let[a,o]=r.trim().replace(/^type\s+/,``).split(/\s+as\s+/);if((o??a)===t&&(c===void 0||xa(e,c,a,n,i)))return!0}return!1}function xa(e,t,n,r,i){let a=t.startsWith(`.`)?Sa(l(e),t):ha(l(e),r,t)?.entry??null;return a!==null&&ba(a,n,r,i)}function Sa(e,t){let n=d(e,t);for(let e of ya)if(o(n+e,{throwIfNoEntry:!1})?.isFile())return n+e;return null}function Ca(e,n){let r=R(e,n,[fa]);if(!r)return[];let i=t(d(e,`src`))?`src`:`.`,a=v(process.execPath,[r,`lint`,`--only=correctness/noUnresolvedImports`,`--reporter=json`,`--max-diagnostics=none`,`--colors=off`,i],{cwd:e,encoding:`utf8`,maxBuffer:67108864,windowsHide:!0}),o=null;try{o=JSON.parse(a.stdout??``).diagnostics}catch{o=null}if(!Array.isArray(o))return[[`missing-export:unreadable`,`Biome's report could not be read: ${String(a.stderr||a.stdout||``).slice(0,200)}`]];let s=/* @__PURE__ */ new Map;for(let t of o){let r=String(t.message??``);if(!r.includes(`has no export named`))continue;let i=r.match(/^The (?:path|module) (\S+) has no export named (\w+)/);if(!i){s.set(`unreadable`,[`missing-export:unreadable`,`Biome reported a missing export in a form this check cannot read: ${r.slice(0,200)}`]);continue}let[,a,o]=i;if(Object.hasOwn(Ni,a)&&Ni[a].includes(o)||_a(e,n,a,o))continue;let c=F(m(e,h(e,String(t.location?.path)))),l=pa(t.location??{},e,c),u=l?`${c}:${l}`:c,d=`missing-export:${c}`,f=`${u} imports ${o} from ${a}, which does not export it. Import the name the module exports (a default export is imported without braces).`;s.set(`${d}\0${f}`,[d,f])}return[...s.values()]}function wa(e){let t=d(e,`node_modules`,`@webority`,`ui-react`);try{let e=JSON.parse(r(d(t,`package.json`),`utf8`)),n=typeof e.module==`string`?e.module:typeof e.main==`string`?e.main:`dist/index.js`,i=r(d(t,n),`utf8`),a=new Set([...i.matchAll(/App[A-Z][A-Za-z0-9]*/g)].map(e=>e[0]));if(a.size>0)return a}catch{}return new Set(Pi)}function Ta(e){return i(e,{withFileTypes:!0}).flatMap(t=>t.isDirectory()?Ta(d(e,t.name)):[d(e,t.name)])}function Ea(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`)).name===`@webority/ui-root`}catch{return!1}}function Da(e){let n=d(e,`src`);if(!t(n))return[];let r=wa(e),i=[];for(let t of Ta(n)){if(![`.jsx`,`.tsx`].includes(u(t)))continue;let n=c(t).split(`.`)[0];if(r.has(n)){let r=F(m(e,t));i.push([`catalogue-copy:${r}`,`${r} is named like the @webority/ui-react export ${n}. bootstrap-ui.md: use the catalogue component, never a local copy.`])}}return i}var Oa=/gradle\.startParameter\.taskNames[^\n]*["']release["']/,ka=/throw\s+new\s+GradleException\s*\(/,Aa=/^\s*edgeToEdgeEnabled\s*=\s*false\s*$/m;function ja(e){let n=[],i=d(e,`android`,`app`,`build.gradle`);if(t(i)){let e=r(i,`utf8`).replace(/\/\*[\s\S]*?\*\//g,``).replace(/^\s*\/\/.*$/gm,``);Oa.test(e)&&ka.test(e)||n.push([`android-release-signing`,`android/app/build.gradle has no release signing guard. react-native-toolchain.md: when a requested task name contains "release", throw a GradleException that names each missing signing setting, and never sign a release with the debug key.`])}let a=d(e,`android`,`gradle.properties`);return t(a)&&Aa.test(r(a,`utf8`))&&n.push([`android-edge-to-edge`,`android/gradle.properties sets edgeToEdgeEnabled=false. react-native-toolchain.md: set edgeToEdgeEnabled=true.`]),n}function Ma(e,t,n){let i=[],a=R(e,t,[`pnpm-lock.yaml`]),o=a?I(d(l(a),`package.json`)):null,s=n.engines?.node??o?.engines?.node??null;s===null?i.push([`engines-node-floor:package.json`,`package.json has no engines.node. react.md: engines.node is "${ki}", with engineStrict: true.`]):String(s).trim().replace(/\s+/g,` `)!==`>=24.15 <25`&&i.push([`engines-node-floor:package.json`,`engines.node is "${s}". react.md: it is "${ki}"; the floor is the one jsdom needs, and the ceiling holds one Node major.`]);let c=R(e,t,[`.nvmrc`]);if(!c)i.push([`engines-node-floor:.nvmrc`,`No .nvmrc in this folder or above it. react.md: commit one holding 24.`]);else{let e=r(c,`utf8`).trim();e!==`24`&&i.push([`engines-node-floor:.nvmrc`,`.nvmrc holds "${e}". react.md: it holds 24.`])}return i}var Na=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.mjs`,`.cjs`,`.ts`,`.tsx`]);function Pa(e,n){let i=d(e,`src`);if(!t(i))return[];let a=[];for(let t of Ta(i)){if(!Na.has(u(t).toLowerCase())||je(F(m(n,t)),n))continue;let i=r(t,`utf8`).split(`
|
|
80
81
|
`).map(e=>/^\s*(?:\/\/|\/\*|\*)/.test(e)?``:e).join(`
|
|
81
|
-
`),o=F(m(e,t));for(let[e,t,n,r]of
|
|
82
|
+
`),o=F(m(e,t));for(let[e,t,n,r]of Ai)t.test(i)&&a.push([`${e}:${o}`,`${o} ${n}. ${r}.`])}return a}var Fa=`.husky/pre-commit`;function Ia(e){if(t(d(e,`.github/workflows/production.yml`)))return[];let n=d(e,Fa),i=t(n)?r(n,`utf8`).replace(/\r\n/g,`
|
|
82
83
|
`):null;return i===`# Fast only. The expensive verification is \`corepack pnpm check\`, run by hand before pushing
|
|
83
84
|
# (CLAUDE.md -> Before pushing). A slow pre-commit gets bypassed within a day, and a hook people bypass is worse than none because
|
|
84
85
|
# it manufactures confidence without providing it.
|
|
@@ -133,8 +134,8 @@ local_checks="$(git rev-parse --show-toplevel)/.husky/pre-commit.local"
|
|
|
133
134
|
if [ -f "$local_checks" ]; then
|
|
134
135
|
sh "$local_checks" || exit 1
|
|
135
136
|
fi
|
|
136
|
-
`?[]:[[`hook:drift`,`${
|
|
137
|
-
`),c=
|
|
137
|
+
`?[]:[[`hook:drift`,`${Fa} ${i===null?`is missing`:`differs from the shared hook`}. Run pnpm exec webority-repo-checks --sync-hook from the git root; repo-only steps go in .husky/pre-commit.local.`]]}function La(e,n=null,r={}){let i=n?new Set(n.map(t=>Qi(e,t))):null,a=[],o=(e,t)=>{for(let[n,r]of t){let t=n.split(`:`)[0];a.push({pkg:e,id:n,message:r,...Ii(t)?{}:{warning:!0}})}};(!i||i.has(`.`))&&o(`.`,[...Ia(e),...Zi(e,ta(e))]);for(let n of L(e,[`package-lock.json`,`yarn.lock`])){if(!t(d(e,n)))continue;let r=F(l(n))||`.`;(!i||i.has(r))&&o(r,[[`pnpm:${c(n)}`,`${c(n)} is committed. react.md: pnpm only; seed pnpm-lock.yaml with pnpm import, then delete it.`]])}let s=new Set(L(e,[`package.json`]).map(t=>Qi(e,d(e,l(t)))).filter(e=>!/(^|\/)fixtures\//.test(e)));for(let n of i??[])t(d(e,n,`package.json`))&&s.add(n);let u=Ea(e),f=/* @__PURE__ */ new Set;for(let t of s){if(i&&!i.has(t))continue;let n=d(e,t),r=I(d(n,`package.json`)),s=na(r),c=()=>u&&(t.startsWith(`packages/`)||t.startsWith(`samples/`))?[]:Da(n);if(!s){({...r.dependencies,...r.devDependencies,...r.peerDependencies})[`@webority/ui-react`]&&o(t,c());continue}let l=R(n,e,[`pnpm-lock.yaml`]);l&&f.add(l);let p=la(n,e).filter(([e])=>!a.some(n=>n.pkg===t&&n.id===e));o(t,[...oa(r,s,ca(n,e,{...r.dependencies,...r.devDependencies})),...p,...da(n,e,s),...s===`demo`?[]:Ca(n,e),...Ma(n,e,r),...s===`mobile`?[...ja(n),...li(n),...mi(n)]:[],...s===`mobile`&&!t.startsWith(`samples/`)?[...ti(n),...Tt(n)]:[],...s===`web`?[...c(),...Pa(n,e),..._i(n),...Yi(n,e)]:[],...s===`mobile`||s===`web`?it(n):[],...ct(n,R(n,e,[fa]))])}if(r.advisories===!0)for(let t of f){let n=l(t);for(let t of qe(n,{run:r.auditRun})){let r=t.warning||!Ii(`advisory`);a.push({pkg:Qi(e,n),id:t.id,message:t.message,...r?{warning:!0}:{}})}}return a}var Ra=/(?:\bfrom\s*|\brequire\(\s*)["'](?:react-native|@webority\/mobile-ui|@webority\/ui-react)(?:\/[^"']*)?["']/,za=`A list item needs a Canvas key from its record (data-canvas on web, testID on phone), never its index. canvas-kit ids proposes them.`,Ba=`A Canvas key names one element: give each part its own key, or a key from its record inside a list.`,Va=/<([A-Za-z][\w$.:-]*)/g,Ha=/\{\s*\.\.\./y,Ua=/* @__PURE__ */ new Set([`Fragment`,`React.Fragment`]),Wa=/\.(?:Screen|Group)$/,Ga=/^\s*(?:\([^)]*\)|[\w$]+)\s*=>\s*\(\s*\{/;function Ka(e){return e?Re.phone:Re.web}var qa=/\bexport\s+default\s+(?:function\s+([A-Z][\w$]*)|(?:React\.)?(?:memo|forwardRef)\(\s*(?:function\s+)?([A-Z][\w$]*)|([A-Z][\w$]*)\s*;?\s*$)/m;function Ja(e,{phone:t}){let n=Xa(e),r=Qa(n,RegExp(`(?<![\\w-])${Ka(t)}\\s*=`),{spreadCounts:!1}),i=/* @__PURE__ */ new Set;for(let e of r)RegExp(`\\bexport\\s+(?:const|function)\\s+${e}\\b|\\bexport\\s*\\{[^}]*\\b${e}\\b`).test(n)&&i.add(e);let a=qa.exec(n),o=a&&(a[1]??a[2]??a[3]);return o&&r.has(o)&&i.add(`default`),i}function Ya(e,{phone:t,keyedImports:n=/* @__PURE__ */ new Set}){if(!Ra.test(e))return[];let r=Ka(t),i=RegExp(`(?<![\\w-])${r}\\s*=`),a=RegExp(`(?<![\\w-])${r}\\s*=\\s*(["'])`),o=Xa(e),s=e.split(`
|
|
138
|
+
`),c=to(e),l=[],u=(e,t,n)=>{let r=no(c,e);l.push({rule:t,line:r,text:(s[r-1]??``).trim().slice(0,160),hint:n})},d=Qa(o,i);for(let e of o.matchAll(/\.map\(/g)){let t=e.index+e[0].length-1,r=$a(o,t),a=z(o,t+1);for(;a&&a.index<r&&Ua.has(a.name);)a=z(o,a.nameEnd);if(!a||a.index>=r||Wa.test(a.name)||Ga.test(o.slice(t+1,a.index)))continue;let s=eo(o,a.nameEnd);s.spread||i.test(s.top)||d.has(a.name)||n.has(a.name)||u(a.index,`missing-canvas-key`,za)}let f=/* @__PURE__ */ new Map,p=z(o,0);for(;p;){let t=eo(o,p.nameEnd),n=a.exec(t.top);if(n){let r=n[1],i=n.index+n[0].length,a=t.top.indexOf(r,i);if(a!==-1){let n=e.slice(t.from+i,t.from+a),r=f.get(n)??[];r.push(p.index),f.set(n,r)}}p=z(o,p.nameEnd)}for(let e of f.values())for(let t of e.slice(1))u(t,`repeated-canvas-key`,Ba);return l.sort((e,t)=>e.line-t.line||e.rule.localeCompare(t.rule)),l}function Xa(e){let t=[],n=e.length,r=0;for(;r<n;){let i=e[r],a=e[r+1];if(i===`/`&&a===`/`)for(;r<n&&e[r]!==`
|
|
138
139
|
`;)t.push(` `),r++;else if(i===`/`&&a===`*`){for(t.push(` `,` `),r+=2;r<n&&(e[r]!==`*`||e[r+1]!==`/`);)t.push(e[r]===`
|
|
139
140
|
`?`
|
|
140
141
|
`:` `),r++;r<n&&(t.push(` `,` `),r+=2)}else if(i===`'`||i===`"`){for(t.push(i),r++;r<n&&e[r]!==i&&e[r]!==`
|
|
@@ -142,23 +143,23 @@ fi
|
|
|
142
143
|
`?(t.push(` `,` `),r+=2):(t.push(` `),r++);r<n&&e[r]===i&&(t.push(i),r++)}else if(i==="`"){for(t.push(i),r++;r<n&&e[r]!=="`";)e[r]===`\\`&&r+1<n&&e[r+1]!==`
|
|
143
144
|
`?(t.push(` `,` `),r+=2):(t.push(e[r]===`
|
|
144
145
|
`?`
|
|
145
|
-
`:` `),r++);r<n&&(t.push("`"),r++)}else t.push(i),r++}return t.join(``)}var
|
|
146
|
-
`&&t.push(n+1);return t}function
|
|
146
|
+
`:` `),r++);r<n&&(t.push("`"),r++)}else t.push(i),r++}return t.join(``)}var Za=/\bfunction\s+([A-Z][\w$]*)\s*\(|\bconst\s+([A-Z][\w$]*)\s*=\s*(?:memo\(\s*|forwardRef\(\s*)?(?:\([^)]*\)|[\w$]+)\s*=>/g;function Qa(e,t,{spreadCounts:n=!0}={}){let r=/* @__PURE__ */ new Set;for(let i of e.matchAll(Za)){let a=z(e,i.index+i[0].length);for(;a&&Ua.has(a.name);)a=z(e,a.nameEnd);if(!a)continue;let o=eo(e,a.nameEnd);(n&&o.spread||t.test(o.top))&&r.add(i[1]??i[2])}return r}function $a(e,t){let n=0;for(let r=t;r<e.length;r++)if(e[r]===`(`)n++;else if(e[r]===`)`&&(n--,n===0))return r;return e.length}function z(e,t){Va.lastIndex=t;let n=Va.exec(e);return n?{index:n.index,name:n[1],nameEnd:n.index+n[0].length}:null}function eo(e,t){let n=0,r=``,i=!1,a=t;for(;a<e.length;a++){let t=e[a];if(n===0&&t===`>`)break;n===0?(t===`{`&&(Ha.lastIndex=a,Ha.test(e)&&(i=!0),n++),r+=t):(r+=` `,t===`{`?n++:t===`}`&&n--)}return{top:r,spread:i,from:t}}function to(e){let t=[0];for(let n=0;n<e.length;n++)e[n]===`
|
|
147
|
+
`&&t.push(n+1);return t}function no(e,t){let n=0,r=e.length-1;for(;n<=r;){let i=n+r>>1;e[i]<=t?n=i+1:r=i-1}return r+1}var ro=[`.js`,`.jsx`,`.ts`,`.tsx`],io=/\.(?:js|jsx|ts|tsx)$/,ao=/(?:^|\/)index\.[jt]sx?$/,oo=/\.meta\.[jt]sx?$|\.stories\.[jt]sx?$/,so=/(?:<partial\s+name="([^"]+)"|\bPartial(?:Async)?\(\s*"([^"]+)"|\bLayout\s*=\s*"([^"]+)")/g,co=/"([^"\\\n]*)"/g,lo=/^_[\w.-]+$/,uo=/(?:ProjectReference\s+Include|Project\s+Path)="([^"]+)"/g,fo=/(?:^|\/)src\/components\/([^/]+)\/[^/]+$/,po=/(?:^|\/)Pages\/Shared\/(_[^/]+)\.cshtml$/,mo=/(?:^|\/)[^/]+\.Web\.Common\/[^/]+\.csproj$/,ho=/(?:^|\/)_ViewStart\.cshtml$/,go=/\bLayout\s*=\s*"([^"]+)"/g,_o=/(?:^|\/)_[^/]*Layout\.cshtml$/,vo=/^\s*@\*\s*layering-allow\s+([a-z-]+)\s*(?::\s*(.*?))?\s*\*@\s*$/;function yo(e,n){let i=new Set(n),a=/* @__PURE__ */ new Map,o=/* @__PURE__ */ new Map,s=/* @__PURE__ */ new Map,c=/* @__PURE__ */ new Map,u=t=>(c.has(t)||c.set(t,O(e,t)),c.get(t)),f=/* @__PURE__ */ new Map,m=e=>{if(!ao.test(e))return null;if(!f.has(e)){let t=/* @__PURE__ */ new Map,n=[];for(let r of k(u(e))){if(r.kind!==`export-from`)continue;let a=xo(e,r.specifier,i);if(a!==null)for(let{name:e,local:i}of r.imported)e===`*`&&i===`*`?n.push(a):t.set(i,a)}f.set(e,{named:t,star:n})}return f.get(e)},h=(e,t)=>RegExp(`export\\s+(?:const|let|var|function\\*?|class)\\s+${t}\\b|export\\s*\\{[^}]*\\b${t}\\b`).test(u(e).blanked);for(let e of n)if(io.test(e)&&!oo.test(e))for(let t of k(u(e))){let n=xo(e,t.specifier,i);if(n===null)continue;let r=t.kind===`export-from`?null:m(n);if(!r){t.kind===`export-from`&&ao.test(e)||B(a,n,e);continue}B(a,n,e);let o=t.imported.filter(({name:e})=>e!==`*`),s=o.length===t.imported.length&&o.length>0?o.map(({name:e})=>r.named.get(e)??r.star.find(t=>h(t,e))):[...r.named.values(),...r.star];for(let t of s)B(a,t??null,e)}let g=/* @__PURE__ */ new Set;for(let t of n){if(!io.test(t)&&!t.endsWith(`.cshtml`))continue;let n=bo(r(d(e,t),`utf8`));for(let e of n.matchAll(so)){let n=(e[1]??e[2]??e[3]).split(`/`).pop().replace(/\.cshtml$/,``);B(o,n,t),_o.test(t)&&g.add(n)}}let _=L(e,[`*.cs`,`*.csproj`,`*.sln`,`*.slnx`]).filter(n=>t(d(e,n)));for(let t of _){let n=r(d(e,t),`utf8`);if(t.endsWith(`.cs`))for(let e of bo(n).matchAll(co)){let n=e[1].split(`/`).pop().replace(/\.cshtml$/,``);lo.test(n)&&B(o,n,t)}else for(let e of n.matchAll(uo))B(s,p.normalize(p.join(l(t),e[1].replace(/\\/g,`/`))),t)}let v=new Set(_.filter(e=>e.endsWith(`.csproj`)).map(e=>p.dirname(e))),y=/* @__PURE__ */ new Map;for(let t of n){if(!ho.test(t))continue;let n=bo(r(d(e,t),`utf8`));for(let e of n.matchAll(go))B(y,Eo(t,v),e[1].split(`/`).pop().replace(/\.cshtml$/,``))}let b=[];for(let e of n){if(!io.test(e)||!wo(e))continue;let t=So(a,e,e),n=t>=2||t===1&&To(a,e),r=`used by ${t} other file${t===1?``:`s`}`;for(let t of j(`single-use-component`,u(e),n?[]:[{line:1,message:r}]))b.push({rule:`single-use-component`,file:e,line:1,text:t.message,hint:t.message===r?`move it next to the page that uses it`:null})}for(let t of n){let n=po.exec(t);if(!n)continue;let i=Do(r(d(e,t),`utf8`));i===``&&b.push({rule:`single-use-component`,file:t,line:1,text:`layering-allow needs a reason`,hint:null});let a=_o.test(t)||g.has(n[1])||(y.get(Eo(t,v))?.has(n[1])??!1);i||a||Co(b,t,So(o,n[1],t))}for(let e of _)e.endsWith(`.csproj`)&&mo.test(e)&&Co(b,e,So(s,e,e));return b}function bo(e){return e.split(`
|
|
147
148
|
`).filter(e=>!/^\s*(?:\/\/|\/\*|\*)/.test(e)).join(`
|
|
148
|
-
`)}function
|
|
149
|
-
`,1)[0]);return t?.[1]===`single-use-component`?(t[2]??``).trim():null}var
|
|
150
|
-
`),r=[];for(let e of t.matchAll(
|
|
151
|
-
`).length;r.push({rule:
|
|
152
|
-
`),a=[];for(let e of
|
|
153
|
-
`).length;a.push({rule:`library-class-restyle`,line:o,text:(i[o-1]??``).trim().slice(0,160),hint:`restyles library class .${t[1]}; use a library prop or token, or a product class`})}return a}var Eo=/*#__PURE__*/ JSON.parse(`["accordion","accordion-body","accordion-button","accordion-collapse","accordion-flush","accordion-header","accordion-item","alert","alert-accent","alert-action","alert-borderless","alert-content","alert-danger","alert-dark","alert-dismissible","alert-has-action","alert-has-icon","alert-heading","alert-icon","alert-icon-image","alert-info","alert-lg","alert-light","alert-link","alert-neutral","alert-primary","alert-secondary","alert-sm","alert-stack","alert-success","alert-warning","app-content","app-footer","app-main","app-nav-badge","app-nav-caret","app-nav-group","app-nav-group-label","app-nav-icon","app-nav-item","app-nav-sub","app-nav-sub-inner","app-nav-subitem","app-nav-text","app-nav-trailing","app-phone-number-input","app-popover","app-scrim","app-shell","app-sidebar","app-sidebar-brand","app-sidebar-brand-text","app-sidebar-foot","app-sidebar-scroll","app-sidebar-start","app-sidebar-start-compact","app-sidebar-toggle","app-tab","app-tab-count","app-tab-icon","app-tab-img","app-tab-indicator","app-tabs","app-tabs-fitted","app-tabs-group","app-tabs-lg","app-tabs-pills","app-tabs-scroll-btn","app-tabs-sm","app-tabs-vertical","app-tabs-wrap","app-topbar","app-topbar-end","app-topbar-menu","app-topbar-start","badge","badge-danger","badge-dot","badge-info","badge-primary","badge-success","badge-warning","breadcrumb","breadcrumb-item","btn","btn-anim-expand","btn-anim-fill","btn-anim-glow","btn-anim-none","btn-anim-roll","btn-anim-sheen","btn-check","btn-close","btn-close-white","btn-danger","btn-dark","btn-ghost","btn-group","btn-group-lg","btn-group-sm","btn-group-vertical","btn-icon","btn-info","btn-lg","btn-light","btn-link","btn-neutral","btn-outline-danger","btn-outline-dark","btn-outline-info","btn-outline-light","btn-outline-primary","btn-outline-secondary","btn-outline-success","btn-outline-warning","btn-pill","btn-pill-sm","btn-primary","btn-radius-xl","btn-secondary","btn-secondary-danger","btn-sm","btn-static","btn-success","btn-text","btn-toolbar","btn-warning","card","card-accent","card-body","card-clickable","card-close","card-compact","card-constrained","card-elevated","card-footer","card-group","card-header","card-header-actions","card-header-icon","card-header-main","card-header-pills","card-header-tabs","card-header-titles","card-img","card-img-bottom","card-img-overlay","card-img-top","card-lifted","card-link","card-media","card-muted","card-outlined","card-pad-lg","card-pad-none","card-pad-sm","card-subtitle","card-text","card-title","dropdown","dropdown-center","dropdown-divider","dropdown-header","dropdown-item","dropdown-item-text","dropdown-menu","dropdown-menu-dark","dropdown-menu-end","dropdown-menu-lg-end","dropdown-menu-lg-start","dropdown-menu-md-end","dropdown-menu-md-start","dropdown-menu-sm-end","dropdown-menu-sm-start","dropdown-menu-start","dropdown-menu-xl-end","dropdown-menu-xl-start","dropdown-menu-xxl-end","dropdown-menu-xxl-start","dropdown-search-icon","dropdown-search-input","dropdown-search-wrapper","dropdown-toggle","dropdown-toggle-split","form-check","form-check-circle","form-check-inline","form-check-input","form-check-label","form-check-reverse","form-control","form-control-color","form-control-lg","form-control-plaintext","form-control-sm","form-label","form-select","form-select-lg","form-select-sm","form-text","input-group","input-group-lg","input-group-sm","input-group-text","list-group","list-group-flush","list-group-horizontal","list-group-horizontal-lg","list-group-horizontal-md","list-group-horizontal-sm","list-group-horizontal-xl","list-group-horizontal-xxl","list-group-item","list-group-item-action","list-group-item-danger","list-group-item-dark","list-group-item-info","list-group-item-light","list-group-item-primary","list-group-item-secondary","list-group-item-success","list-group-item-warning","list-group-numbered","modal","modal-backdrop","modal-body","modal-content","modal-dialog","modal-dialog-centered","modal-dialog-scrollable","modal-footer","modal-fullscreen","modal-fullscreen-lg-down","modal-fullscreen-md-down","modal-fullscreen-sm-down","modal-fullscreen-xl-down","modal-fullscreen-xxl-down","modal-header","modal-lg","modal-sm","modal-static","modal-title","modal-xl","nav-link","nav-pills","nav-tabs","offcanvas","offcanvas-backdrop","offcanvas-body","offcanvas-bottom","offcanvas-end","offcanvas-header","offcanvas-lg","offcanvas-md","offcanvas-sm","offcanvas-start","offcanvas-title","offcanvas-top","offcanvas-xl","offcanvas-xxl","page-item","page-link","pagination","pagination-lg","pagination-sm","progress","progress-bar","progress-bar-animated","progress-bar-striped","progress-sm","progress-stacked","spinner-border","spinner-border-sm","table","table-active","table-bordered","table-borderless","table-danger","table-dark","table-group-divider","table-hover","table-info","table-ledger","table-light","table-pagination","table-primary","table-responsive","table-responsive-lg","table-responsive-md","table-responsive-sm","table-responsive-xl","table-responsive-xxl","table-secondary","table-sm","table-striped","table-striped-columns","table-success","table-warning","table-wrap","wui-accordion","wui-accordion-body","wui-accordion-count","wui-accordion-flat","wui-accordion-icon","wui-accordion-item","wui-accordion-panel","wui-accordion-trigger","wui-action-icon-file","wui-addon","wui-addon-group","wui-addon-group-lg","wui-addon-group-sm","wui-attach-error","wui-attach-progress","wui-banner","wui-banner-action","wui-banner-body","wui-banner-danger","wui-banner-dismiss","wui-banner-has-action","wui-banner-icon","wui-banner-info","wui-banner-neutral","wui-banner-success","wui-banner-warning","wui-bell-body","wui-bell-count","wui-bell-dot","wui-bell-foot","wui-bell-head","wui-bell-icon","wui-bell-item","wui-bell-item-read","wui-bell-item-title","wui-bell-list","wui-bell-markall","wui-bell-menu","wui-bell-state","wui-bell-title","wui-bell-trigger","wui-bell-when","wui-btn-group","wui-btn-group-full","wui-btn-pin-end","wui-btn-pin-icon","wui-btn-roll","wui-btn-roll-ico","wui-btn-roll-ico__next","wui-btn-roll__a","wui-btn-roll__b","wui-btn-shape-pill","wui-btn-shape-sharp","wui-calendar-chip","wui-calendar-chip-time","wui-calendar-chip-title","wui-calendar-event-danger","wui-calendar-event-info","wui-calendar-event-neutral","wui-calendar-event-primary","wui-calendar-event-success","wui-calendar-event-warning","wui-calendar-fallback","wui-calendar-nav","wui-calendar-nav-btn","wui-calendar-stack","wui-calendar-status","wui-calendar-status-text","wui-calendar-surface","wui-calendar-title","wui-calendar-today-btn","wui-calendar-toolbar","wui-calendar-view-btn","wui-calendar-views","wui-carousel","wui-carousel-arrow","wui-carousel-dot","wui-carousel-dots","wui-carousel-pause","wui-carousel-pause-icon","wui-carousel-pause-text","wui-carousel-slide","wui-carousel-stage","wui-carousel-track","wui-cell-end","wui-chart-canvas","wui-chart-card","wui-chart-card-legend-off","wui-chart-card-legend-tool","wui-chart-card-retry","wui-chart-card-tool","wui-chart-legend","wui-chart-legend-item","wui-chart-legend-label","wui-chart-legend-swatch","wui-chart-legend-swatch-line","wui-chart-num","wui-chart-skeleton","wui-chart-state","wui-chart-state-text","wui-chart-surface","wui-chart-table","wui-chart-table-note","wui-chart-table-wrap","wui-chart-tooltip","wui-chart-tooltip-body","wui-chart-tooltip-foot","wui-chart-tooltip-label","wui-chart-tooltip-row","wui-chart-tooltip-swatch","wui-chart-tooltip-swatch-line","wui-chart-tooltip-title","wui-chart-tooltip-value","wui-chat-attachments","wui-chat-body","wui-chat-bubble","wui-chat-composer","wui-chat-editing","wui-chat-empty","wui-chat-foot","wui-chat-launcher","wui-chat-panel","wui-chat-past","wui-chat-past-row","wui-chat-question","wui-chat-question-attachments","wui-chat-suggestions","wui-chat-turn-actions","wui-check","wui-chip-group","wui-chip-group-nowrap","wui-choice-chip-solid","wui-cmd-back","wui-cmd-card","wui-cmd-crumb","wui-cmd-crumbs","wui-cmd-empty","wui-cmd-footer","wui-cmd-group","wui-cmd-group-label","wui-cmd-input","wui-cmd-item","wui-cmd-item-chevron","wui-cmd-item-desc","wui-cmd-item-icon","wui-cmd-item-label","wui-cmd-item-meta","wui-cmd-item-text","wui-cmd-list","wui-cmd-mark","wui-cmd-page","wui-cmd-recents","wui-cmd-search","wui-cmd-search-icon","wui-cmd-spinner","wui-cmd-trail","wui-code-bar","wui-code-block","wui-code-copy","wui-code-copy-icon","wui-code-line","wui-code-pre","wui-code-source","wui-code-t-attr","wui-code-t-comment","wui-code-t-function","wui-code-t-keyword","wui-code-t-literal","wui-code-t-number","wui-code-t-punct","wui-code-t-string","wui-code-t-tag","wui-code-t-type","wui-code-t-variable","wui-code-title","wui-code-view","wui-col-grow","wui-col-hidden","wui-col-resizable","wui-col-resize","wui-col-span-2","wui-col-span-3","wui-col-span-full","wui-cols-2","wui-cols-3","wui-cols-4","wui-column-menu","wui-column-menu-item","wui-column-menu-title","wui-comment--internal","wui-comment--mine","wui-comment-action","wui-comment-actions","wui-comment-attachment","wui-comment-attachment-size","wui-comment-attachments","wui-comment-author","wui-comment-avatar","wui-comment-composer","wui-comment-composer-avatar","wui-comment-composer-inline","wui-comment-confirm","wui-comment-confirm-text","wui-comment-edited","wui-comment-editor","wui-comment-empty","wui-comment-error","wui-comment-form-actions","wui-comment-head","wui-comment-internal-badge","wui-comment-list","wui-comment-main","wui-comment-reactions","wui-comment-replies","wui-comment-reply","wui-comment-row","wui-comment-text","wui-comment-text-deleted","wui-comment-thread","wui-comment-thread--conversation","wui-comment-time","wui-compare-center","wui-compare-code","wui-compare-group","wui-compare-group-row","wui-compare-nowrap","wui-compare-relaxed","wui-compare-scroll","wui-compare-scroll-table","wui-compare-state","wui-compare-state-no","wui-compare-state-partial","wui-compare-state-warn","wui-compare-state-yes","wui-compare-sticky-first","wui-compare-sticky-head","wui-confirm","wui-confirm-actions","wui-confirm-body","wui-confirm-content","wui-confirm-icon","wui-confirm-msg","wui-confirm-plain","wui-confirm-title","wui-consent-banner-accept","wui-consent-banner-actions","wui-consent-banner-category","wui-consent-banner-category-description","wui-consent-banner-description","wui-consent-banner-heading","wui-consent-banner-panel","wui-consent-banner-policy","wui-consent-banner-reject","wui-consent-banner-save","wui-consent-banner-settings","wui-consent-banner-settings-toggle","wui-context-menu-chevron","wui-context-menu-hint","wui-context-menu-panel","wui-context-menu-search","wui-context-menu-sub","wui-context-menu-subpanel","wui-context-menu-tick","wui-control","wui-control-group","wui-control-label","wui-crop-controls","wui-crop-frame","wui-crop-frame--round","wui-crop-handle","wui-crop-handle--ne","wui-crop-handle--nw","wui-crop-handle--se","wui-crop-handle--sw","wui-crop-img","wui-crop-preview","wui-crop-previews","wui-crop-previews--round","wui-crop-stage","wui-crop-toolbtn","wui-crop-tools","wui-crop-zoom","wui-crop-zoombtn","wui-dashboard-cell","wui-dashboard-cell-3","wui-dashboard-cell-4","wui-dashboard-cell-6","wui-dashboard-grid","wui-daterange-main","wui-daterange-pop--presets","wui-daterange-preset","wui-daterange-presets","wui-descs-col-4","wui-descs-emphasis","wui-descs-icon","wui-descs-link","wui-descs-list","wui-descs-span-1","wui-descs-span-10","wui-descs-span-11","wui-descs-span-12","wui-descs-span-2","wui-descs-span-3","wui-descs-span-4","wui-descs-span-5","wui-descs-span-6","wui-descs-span-7","wui-descs-span-8","wui-descs-span-9","wui-descs-summary","wui-detail-pane","wui-drawer","wui-drawer-backdrop","wui-drawer-body","wui-drawer-close","wui-drawer-discard","wui-drawer-discard-text","wui-drawer-discarding","wui-drawer-footer","wui-drawer-grip","wui-drawer-handle","wui-drawer-header","wui-drawer-headtext","wui-drawer-locked","wui-drawer-panel","wui-drawer-subtitle","wui-drawer-title","wui-drawer-title-ic","wui-drop-tray","wui-dropdown-form","wui-dropdown-item-disabled","wui-dropdown-menu-lg","wui-dropdown-menu-md","wui-dropdown-menu-sm","wui-dropdown-trigger","wui-dropdown-trigger-neutral","wui-due-date","wui-due-date-danger","wui-due-date-empty","wui-due-date-warning","wui-empty-illustration","wui-empty-illustration-custom","wui-empty-state-table","wui-error-summary","wui-error-summary-list","wui-error-summary-title","wui-expand-cell","wui-expand-toggle","wui-field-message","wui-file-busy","wui-file-input-button-field","wui-file-tile","wui-file-tile-ext","wui-file-tile-meta","wui-file-tile-name","wui-file-tile-text","wui-file-tiles","wui-file-viewer-actions","wui-file-viewer-audio-art","wui-file-viewer-body","wui-file-viewer-canvas","wui-file-viewer-center","wui-file-viewer-controls","wui-file-viewer-divider","wui-file-viewer-download","wui-file-viewer-end","wui-file-viewer-fullscreen","wui-file-viewer-group","wui-file-viewer-hit","wui-file-viewer-hit-current","wui-file-viewer-image","wui-file-viewer-image-scroll","wui-file-viewer-image-stage","wui-file-viewer-links","wui-file-viewer-menu","wui-file-viewer-menu-tick","wui-file-viewer-name","wui-file-viewer-page","wui-file-viewer-page-input","wui-file-viewer-page-total","wui-file-viewer-pages","wui-file-viewer-panning","wui-file-viewer-player","wui-file-viewer-player-audio","wui-file-viewer-print-frame","wui-file-viewer-row","wui-file-viewer-scroll","wui-file-viewer-search","wui-file-viewer-search-count","wui-file-viewer-search-field","wui-file-viewer-seek","wui-file-viewer-sheet","wui-file-viewer-skeleton","wui-file-viewer-slot","wui-file-viewer-speed","wui-file-viewer-stage","wui-file-viewer-start","wui-file-viewer-status","wui-file-viewer-text","wui-file-viewer-thumb","wui-file-viewer-thumb-frame","wui-file-viewer-thumb-no","wui-file-viewer-thumbs","wui-file-viewer-time","wui-file-viewer-toolbar","wui-file-viewer-video","wui-file-viewer-view-end","wui-file-viewer-volume","wui-file-viewer-zoom","wui-filter-bar","wui-filter-bar--folded","wui-filter-chip-inline","wui-filter-count-desktop","wui-filter-count-phone","wui-filter-form","wui-filter-more","wui-filter-more-head","wui-filter-more-panel","wui-filter-more-trigger","wui-filter-popover","wui-filter-popover-field","wui-filter-popover-foot","wui-filter-popover-grid","wui-filter-popover-head","wui-filter-popover-more","wui-filter-popover-note","wui-filter-popover-panel","wui-filter-popover-title","wui-filter-popover-trigger","wui-flag","wui-float-above","wui-floating-btn","wui-floating-btn--secondary","wui-floating-stack","wui-floating-stack-item","wui-floating-stack-item--primary","wui-floating-stack-item--secondary","wui-force-active","wui-force-focus","wui-force-hover","wui-form-cols-1","wui-form-cols-10","wui-form-cols-11","wui-form-cols-12","wui-form-cols-2","wui-form-cols-3","wui-form-cols-4","wui-form-cols-5","wui-form-cols-6","wui-form-cols-7","wui-form-cols-8","wui-form-cols-9","wui-form-compact","wui-form-inline","wui-form-labels-start","wui-form-row-keep","wui-form-rule-none","wui-form-section","wui-form-section-head","wui-form-section-title","wui-form-side","wui-form-title-display","wui-grid","wui-grid-lg-2","wui-grid-lg-3","wui-grid-lg-4","wui-grid-md-2","wui-grid-md-3","wui-grid-md-4","wui-group-cell","wui-group-count","wui-group-label","wui-group-row","wui-group-toggle","wui-has-value-avatar","wui-hidden-from-lg","wui-hidden-from-md","wui-hidden-from-sm","wui-hidden-from-xl","wui-hover-card-loading","wui-hover-card-panel","wui-hover-card-trigger","wui-icon","wui-icon-tip","wui-ill-accent","wui-ill-accent-line","wui-ill-card","wui-ill-danger","wui-ill-danger-fill","wui-ill-danger-line","wui-ill-dash","wui-ill-ink","wui-ill-mute","wui-ill-soft","wui-ill-thick","wui-illustration","wui-image-picker","wui-image-picker-avatar","wui-image-picker-buttons","wui-image-picker-buttons-actions","wui-image-picker-buttons-badge","wui-image-picker-buttons-camera","wui-image-picker-buttons-face","wui-image-picker-buttons-img","wui-image-picker-buttons-placeholder","wui-image-picker-field","wui-image-picker-field-inline","wui-image-picker-field-profile","wui-image-picker-hint","wui-image-picker-img","wui-image-picker-logo","wui-image-picker-meta","wui-image-picker-overlay","wui-image-picker-remove","wui-image-picker-ring","wui-image-picker-rounded","wui-image-picker-row","wui-image-picker-shell","wui-image-picker-square","wui-image-picker-subtitle","wui-image-picker-title","wui-inline-edit","wui-inline-edit-display","wui-inline-edit-editor","wui-inline-edit-error","wui-inline-edit-icon","wui-inline-edit-saved","wui-inline-edit-spinner","wui-inline-edit-status","wui-inline-edit-value","wui-input-group","wui-input-leading","wui-input-trailing","wui-input-xl","wui-kanban","wui-kanban-action","wui-kanban-actions","wui-kanban-board","wui-kanban-body","wui-kanban-card","wui-kanban-card-title","wui-kanban-collapse","wui-kanban-column","wui-kanban-count","wui-kanban-dot","wui-kanban-drop-note","wui-kanban-empty","wui-kanban-ghost","wui-kanban-head","wui-kanban-hint","wui-kanban-lock","wui-kanban-more","wui-kanban-summary","wui-kanban-switch","wui-kanban-switch-title","wui-kanban-switcher","wui-kanban-title","wui-kbd","wui-kpi-delta--danger","wui-kpi-delta--neutral","wui-kpi-delta--success","wui-leaving","wui-lightbox","wui-lightbox-bar","wui-lightbox-btn","wui-lightbox-caption","wui-lightbox-count","wui-lightbox-image","wui-lightbox-item","wui-lightbox-nav","wui-lightbox-next","wui-lightbox-overlay","wui-lightbox-prev","wui-lightbox-stage","wui-lightbox-status","wui-lightbox-tools","wui-lightbox-zoomed","wui-link","wui-link--bracket","wui-link--fade","wui-link--glow","wui-link--grow","wui-link--highlight","wui-link--icon","wui-link--lg","wui-link--none","wui-link--shine","wui-link--slide","wui-link--sm","wui-link--static","wui-link--surface-dark","wui-link--underline","wui-link--underline-center","wui-link__ic","wui-link__ic--left","wui-link__ic--right","wui-link__label","wui-list-card-count","wui-list-card-filters","wui-markdown","wui-markdown-citation","wui-markdown-source","wui-mention","wui-mention-empty","wui-mention-input","wui-mention-input-text","wui-mention-menu","wui-mention-option","wui-mention-option-description","wui-mention-option-label","wui-mention-option-photo","wui-mention-option-text","wui-meta-list","wui-metric","wui-metric-label","wui-metric-note","wui-metric-strip","wui-metric-strip-cols-3","wui-metric-strip-cols-4","wui-metric-strip-cols-5","wui-metric-strip-sm","wui-metric-tone-danger","wui-metric-tone-info","wui-metric-tone-success","wui-metric-tone-warning","wui-metric-value","wui-modal","wui-modal-back","wui-modal-backdrop-stacked","wui-modal-body","wui-modal-close","wui-modal-dim","wui-modal-eyebrow","wui-modal-footer","wui-modal-fullscreen","wui-modal-header","wui-modal-header-actions","wui-modal-headicon","wui-modal-heading","wui-modal-headtext","wui-modal-loading","wui-modal-shell","wui-modal-skeleton","wui-modal-skeleton--short","wui-modal-stacked","wui-modal-state","wui-modal-state-actions","wui-modal-state-text","wui-modal-state-title","wui-modal-submit-error","wui-modal-subtitle","wui-modal-title","wui-money","wui-ms-custom-error","wui-name-cell","wui-nav-depth-2","wui-nav-depth-3","wui-nav-depth-4","wui-nav-depth-5","wui-nav-depth-6","wui-nav-group-after","wui-nav-group-body","wui-nav-group-caret","wui-nav-group-collapsible","wui-nav-group-folded","wui-nav-group-text","wui-nav-group-toggle","wui-nav-header","wui-nav-list","wui-nav-list-count","wui-nav-list-divider","wui-nav-list-dot","wui-nav-list-icon","wui-nav-list-item","wui-nav-list-label","wui-nav-menu-chevron","wui-nav-menu-item","wui-nav-menu-link","wui-nav-menu-link-desc","wui-nav-menu-link-label","wui-nav-menu-link-text","wui-nav-menu-links","wui-nav-menu-list","wui-nav-menu-panel","wui-nav-menu-toplink","wui-nav-menu-trigger","wui-nav-new","wui-nav-split","wui-nav-split-link","wui-nav-split-toggle","wui-notification-center","wui-notification-center-body","wui-notification-center-count","wui-notification-center-day","wui-notification-center-dot","wui-notification-center-empty","wui-notification-center-foot","wui-notification-center-head","wui-notification-center-icon","wui-notification-center-item","wui-notification-center-item-read","wui-notification-center-item-text","wui-notification-center-item-title","wui-notification-center-items","wui-notification-center-list","wui-notification-center-live","wui-notification-center-markall","wui-notification-center-panel","wui-notification-center-tabs","wui-notification-center-title","wui-notification-center-trigger","wui-notification-center-unread-label","wui-notification-center-when","wui-onboarding","wui-onboarding-bar","wui-onboarding-body","wui-onboarding-card","wui-onboarding-chevron","wui-onboarding-count","wui-onboarding-desc","wui-onboarding-dismiss","wui-onboarding-head","wui-onboarding-label","wui-onboarding-mark","wui-onboarding-restore","wui-onboarding-seg","wui-onboarding-step","wui-onboarding-steps","wui-onboarding-title","wui-onboarding-toggle","wui-opt-avatar","wui-opt-desc","wui-opt-hint","wui-opt-label","wui-opt-name","wui-opt-rich","wui-overflow","wui-overflow-item","wui-overflow-menu","wui-overflow-more","wui-page-header-meta-below","wui-page-header-subtitle-inline","wui-page-title-slot","wui-period-month","wui-period-month-label","wui-period-picker","wui-pin-end","wui-pin-end-edge","wui-pin-start","wui-pin-start-edge","wui-progress-danger","wui-progress-indeterminate","wui-progress-info","wui-progress-label","wui-progress-labelled","wui-progress-neutral","wui-progress-success","wui-progress-warning","wui-pw-inline","wui-radio","wui-radio-group","wui-radio-group-card","wui-radio-group-inline","wui-radio-option-desc","wui-rating","wui-rating-fill","wui-rating-glyphs","wui-rating-input","wui-rating-lg","wui-rating-previewing","wui-rating-sm","wui-rating-star","wui-rating-star-full","wui-rating-star-half","wui-rating-star-preview","wui-rating-stars","wui-rating-value","wui-rb-dialog","wui-reaction","wui-reaction-add","wui-reaction-choice","wui-reaction-count","wui-reaction-mine","wui-reaction-picker","wui-record-pager","wui-record-pager-next","wui-record-pager-position","wui-record-pager-prev","wui-relative-time","wui-remote-drawer","wui-remote-drawer-dialog","wui-resizable","wui-resizable-handle","wui-resizable-panel","wui-rich-text-button","wui-rich-text-content","wui-rich-text-empty","wui-rich-text-glyph","wui-rich-text-glyph-bold","wui-rich-text-glyph-italic","wui-rich-text-group","wui-rich-text-link-apply","wui-rich-text-link-cancel","wui-rich-text-link-error","wui-rich-text-link-input","wui-rich-text-link-remove","wui-rich-text-linkbar","wui-rich-text-prose","wui-rich-text-shell","wui-rich-text-toolbar","wui-rolling-number","wui-rolling-number-char","wui-rolling-number-digit","wui-rolling-number-reel","wui-rolling-number-roll","wui-rolling-number-text","wui-row-active","wui-row-dragging","wui-row-expanded","wui-row-link","wui-row-save-error","wui-row-switch","wui-row-switch__thumb","wui-row-switch__track","wui-score-scale","wui-score-scale__ends","wui-score-scale__item","wui-score-scale__item--selected","wui-scroll","wui-search-collapsible","wui-search-select-value-avatar","wui-search-select-xl","wui-search-toggle","wui-section","wui-section-actions","wui-section-call-to-action","wui-section-center","wui-section-eyebrow","wui-section-eyebrow-danger","wui-section-eyebrow-info","wui-section-eyebrow-neutral","wui-section-eyebrow-pill","wui-section-eyebrow-primary","wui-section-eyebrow-success","wui-section-eyebrow-warning","wui-section-faq","wui-section-faq-body","wui-section-feature","wui-section-feature-body","wui-section-feature-icon","wui-section-feature-text","wui-section-feature-title","wui-section-features","wui-section-features-list","wui-section-features-rows","wui-section-head","wui-section-hero","wui-section-inner","wui-section-lead-consent","wui-section-lead-fields","wui-section-lead-form","wui-section-lead-success","wui-section-lead-text","wui-section-logo","wui-section-logo-img","wui-section-logo-text","wui-section-logos","wui-section-logos-list","wui-section-media","wui-section-muted","wui-section-pricing","wui-section-subtitle","wui-section-testimonial","wui-section-testimonial-author","wui-section-testimonial-avatar","wui-section-testimonial-name","wui-section-testimonial-quote","wui-section-testimonial-role","wui-section-testimonial-who","wui-section-testimonials-list","wui-section-title","wui-section-title-body","wui-segmented-borderless","wui-segmented-option-count","wui-select-cell","wui-shell-launcher","wui-shortcut-close","wui-shortcut-group","wui-shortcut-group-title","wui-shortcut-keys","wui-shortcut-legend","wui-shortcut-sheet","wui-shortcut-sheet-below","wui-shortcut-sheet-head","wui-shortcut-sheet-start","wui-shortcut-sheet-title","wui-shortcut-toggle","wui-show-more","wui-show-more-body","wui-show-more-toggle","wui-skeleton-cell","wui-skeleton-lines","wui-skip-link","wui-slider-rail","wui-sort-lead","wui-sortable-active","wui-sortable-body","wui-sortable-dragging","wui-sortable-ghost","wui-sortable-handle","wui-sortable-item","wui-sortable-live","wui-sparkline","wui-spin","wui-spinner","wui-spinner-sm","wui-split-all","wui-split-badge","wui-split-button","wui-split-check","wui-split-chips","wui-split-count","wui-split-empty","wui-split-head","wui-split-head-bulk","wui-split-head-main","wui-split-item","wui-split-item-end","wui-split-item-main","wui-split-item-meta","wui-split-item-title","wui-split-items","wui-split-legend","wui-split-link","wui-split-list","wui-split-menu","wui-split-pane","wui-split-pane-body","wui-split-pane-error","wui-split-pane-head","wui-split-reading","wui-split-skeleton","wui-split-skeleton-meta","wui-split-skeleton-title","wui-split-view","wui-step-done-tone-danger","wui-step-done-tone-info","wui-step-done-tone-primary","wui-step-done-tone-success","wui-step-done-tone-warning","wui-step-size-lg","wui-step-size-sm","wui-step-tile","wui-step-tile-body","wui-step-tile-state","wui-step-tiles","wui-step-tone-danger","wui-step-tone-info","wui-step-tone-primary","wui-step-tone-success","wui-step-tone-warning","wui-stepper-no-connectors","wui-stepper-start","wui-struct-card-filled","wui-struct-card-glyph","wui-struct-card-glyph-on","wui-struct-card-lg","wui-struct-card-no-check","wui-struct-card-sm","wui-struct-card-stacked","wui-tab-label","wui-tabbar","wui-tabbar-badge","wui-tabbar-icon","wui-tabbar-item","wui-tabbar-label","wui-table-compact","wui-table-cozy","wui-table-empty","wui-table-error","wui-table-flush","wui-table-pager","wui-table-pagination-sm","wui-table-pagination-standalone","wui-table-scroll","wui-table-server","wui-table-stack","wui-table-sticky-actions","wui-table-sticky-first","wui-table-striped","wui-table-toolbar","wui-table-toolbar-actions","wui-table-toolbar-all","wui-table-toolbar-bulk","wui-table-toolbar-clear","wui-table-toolbar-count","wui-table-toolbar-filters","wui-table-toolbar-main","wui-text-2xl","wui-text-3xl","wui-text-4xl","wui-text-base","wui-text-lg","wui-text-sm","wui-text-xl","wui-text-xs","wui-theme-switching","wui-theme-toggle","wui-timeline--lg","wui-timeline--sm","wui-timeline--steps","wui-timeline--steps-vertical","wui-timeline-eyebrow","wui-timepicker-col","wui-timepicker-cols","wui-timepicker-error","wui-timepicker-field","wui-timepicker-toggle","wui-toast","wui-toast--anim-jelly","wui-toast--anim-organic","wui-toast--anim-spring","wui-toast--danger","wui-toast--dragging","wui-toast--info","wui-toast--shape-pill","wui-toast--shape-sharp","wui-toast--success","wui-toast--surface-inverse","wui-toast--warning","wui-toast-action","wui-toast-close","wui-toast-container","wui-toast-content","wui-toast-icon","wui-toast-message","wui-toast-more","wui-toast-progress","wui-toast-task","wui-toast-title","wui-toast-track","wui-toast-track-fill","wui-toast-track-pct","wui-tooltip","wui-topsearch","wui-topsearch-all","wui-topsearch-empty","wui-topsearch-group","wui-topsearch-group-label","wui-topsearch-hit","wui-topsearch-hit-icon","wui-topsearch-hit-sub","wui-topsearch-hit-text","wui-topsearch-hit-title","wui-topsearch-open","wui-topsearch-panel","wui-topsearch-results","wui-tour-actions","wui-tour-arrow","wui-tour-back","wui-tour-card","wui-tour-end","wui-tour-end-button","wui-tour-end-mark","wui-tour-end-message","wui-tour-end-title","wui-tour-hint","wui-tour-layer","wui-tour-media","wui-tour-media-toggle","wui-tour-nav","wui-tour-next","wui-tour-position","wui-tour-progress-bar","wui-tour-progress-segment","wui-tour-skip","wui-tour-spot","wui-tour-text","wui-tour-title","wui-tree","wui-tree-badge","wui-tree-check","wui-tree-group","wui-tree-icon","wui-tree-item","wui-tree-label","wui-tree-row","wui-tree-row-error","wui-tree-row-selected","wui-tree-spinner","wui-tree-toggle","wui-truncate","wui-truncate-multi","wui-truncate-text","wui-usermenu-caret","wui-usermenu-head","wui-usermenu-logout","wui-usermenu-menu","wui-usermenu-name","wui-usermenu-role","wui-usermenu-roles","wui-usermenu-roles-label","wui-usermenu-text","wui-usermenu-trigger","wui-usermenu-who","wui-virtual-off","wui-virtual-spacer","wui-whats-new","wui-whats-new-body","wui-whats-new-date","wui-whats-new-dot","wui-whats-new-empty","wui-whats-new-entry","wui-whats-new-entry-title","wui-whats-new-image","wui-whats-new-link","wui-whats-new-list","wui-whats-new-name","wui-whats-new-panel","wui-whats-new-title","wui-whats-new-trigger","wui-whats-new-unread","wui-wizard-topbar","wui-wizard-topbar-close","wui-wizard-topbar-count","wui-wizard-topbar-title"]`),Do=`raw-bootstrap`,Oo=/* @__PURE__ */ new Map([[`btn`,`AppButton/<app-button>`],[`card`,`AppCard/<app-card>`],[`modal`,`AppModal/<app-modal>`],[`table`,`AppDataTable/<app-data-table>`],[`badge`,`AppBadge/<app-status-badge>`],[`alert`,`AppAlert/<app-alert>`],[`form-control`,`AppInput/<app-input>`],[`form-select`,`AppSelect/<app-select>`],[`form-check-input`,`AppCheckbox/<app-checkbox>`],[`pagination`,`AppTablePagination/<app-table-pagination>`],[`nav-tabs`,`AppTabs/<app-tabs>`],[`dropdown-menu`,`AppDropdown/<app-dropdown>`],[`offcanvas`,`AppDrawer/<app-drawer>`],[`breadcrumb`,`AppBreadcrumbs/<app-breadcrumbs>`],[`progress`,`AppProgress/<app-progress>`],[`spinner-border`,`AppSpinner/<app-spinner>`],[`accordion`,`AppAccordion/<app-accordion>`]]),ko=/(?<![\w-])(?:class|className)\s*=\s*/g,Ao=/(["'`])((?:\\[\s\S]|(?!\1)[^\\])*)\1/g;function jo(e){let t=``,n=null;for(let r=0;r<e.length;r+=1){let i=e[r],a=e[r+1];if(n)t+=i,i===`\\`&&a!==void 0?(t+=a,r+=1):(i===n||i===`
|
|
149
|
+
`)}function xo(e,t,n){let r;if(t.startsWith(`@/`)){let n=e.startsWith(`src/`)?0:e.indexOf(`/src/`)+1;if(n===0&&!e.startsWith(`src/`))return null;r=`${e.slice(0,n)}src/${t.slice(2)}`}else if(t.startsWith(`.`))r=p.normalize(p.join(p.dirname(e),t));else return null;return[r,...ro.map(e=>r+e),...ro.map(e=>p.join(r,`index${e}`))].find(e=>n.has(e))??null}function B(e,t,n){t!==null&&(e.has(t)||e.set(t,/* @__PURE__ */ new Set),e.get(t).add(n))}function So(e,t,n){return[...e.get(t)??/* @__PURE__ */ new Set].filter(e=>e!==n).length}function Co(e,t,n){n>=2||e.push({rule:`single-use-component`,file:t,line:1,text:`used by ${n} other file${n===1?``:`s`}`,hint:`move it next to the page that uses it`})}function wo(e){let t=fo.exec(e);return t!==null&&t[1]!==`layout`&&!ao.test(e)&&!oo.test(e)}function To(e,t){let n=[...e.get(t)??[]].filter(e=>e!==t);return n.length===1&&wo(n[0])&&So(e,n[0],n[0])>=2}function Eo(e,t){let n=p.dirname(e);for(;n!==`.`&&!t.has(n);)n=p.dirname(n);return n}function Do(e){let t=vo.exec(e.split(`
|
|
150
|
+
`,1)[0]);return t?.[1]===`single-use-component`?(t[2]??``).trim():null}var Oo=`error-summary-title`,ko=/<app-error-summary(?=[\s/>])/g,Ao=/(?<![\w-])title\s*=\s*(?:"([^"]*)"|'([^']*)')/,jo=/please\s+(fix|correct)|(fix|correct)\s+the\s+following|the\s+following\s+(errors?|problems?|issues?)|there\s+(is|are|was|were)\s+(an?\s+|some\s+)?(errors?|problems?)/i;function Mo(e,t){let n=null;for(let r=t;r<e.length;r+=1){let t=e[r];if(n)t===n&&(n=null);else if(t===`"`||t===`'`)n=t;else if(t===`>`)return r}return e.length}function No(e){let t=w(e,`markup`),n=e.split(`
|
|
151
|
+
`),r=[];for(let e of t.matchAll(ko)){let i=Ao.exec(t.slice(e.index,Mo(t,e.index)));if(!i)continue;let a=i[1]??i[2];if(a.includes(`@`)||!jo.test(a))continue;let o=t.slice(0,e.index).split(`
|
|
152
|
+
`).length;r.push({rule:Oo,line:o,text:(n[o-1]??``).trim().slice(0,160),hint:`drop the title: the library error summary writes the standard heading`})}return r}var Po=/\.([A-Za-z_][\w-]*)/g;function*Fo(e){let t=0;for(let n=0;n<e.length;n+=1){let r=e[n];r===`{`?(yield{text:e.slice(t,n),index:t},t=n+1):(r===`}`||r===`;`)&&(t=n+1)}}function Io(e,t,n){let r=w(e,t),i=e.split(`
|
|
153
|
+
`),a=[];for(let e of Fo(r)){let t=[...e.text.matchAll(Po)].find(e=>n.has(e[1]));if(!t)continue;let o=r.slice(0,e.index+t.index).split(`
|
|
154
|
+
`).length;a.push({rule:`library-class-restyle`,line:o,text:(i[o-1]??``).trim().slice(0,160),hint:`restyles library class .${t[1]}; use a library prop or token, or a product class`})}return a}var Lo=/*#__PURE__*/ JSON.parse(`["accordion","accordion-body","accordion-button","accordion-collapse","accordion-flush","accordion-header","accordion-item","alert","alert-accent","alert-action","alert-borderless","alert-content","alert-danger","alert-dark","alert-dismissible","alert-has-action","alert-has-icon","alert-heading","alert-icon","alert-icon-image","alert-info","alert-lg","alert-light","alert-link","alert-neutral","alert-primary","alert-secondary","alert-sm","alert-stack","alert-success","alert-warning","app-content","app-footer","app-main","app-nav-badge","app-nav-caret","app-nav-group","app-nav-group-label","app-nav-icon","app-nav-item","app-nav-sub","app-nav-sub-inner","app-nav-subitem","app-nav-text","app-nav-trailing","app-phone-number-input","app-popover","app-scrim","app-shell","app-sidebar","app-sidebar-brand","app-sidebar-brand-text","app-sidebar-foot","app-sidebar-scroll","app-sidebar-start","app-sidebar-start-compact","app-sidebar-toggle","app-tab","app-tab-count","app-tab-icon","app-tab-img","app-tab-indicator","app-tabs","app-tabs-fitted","app-tabs-group","app-tabs-lg","app-tabs-pills","app-tabs-scroll-btn","app-tabs-sm","app-tabs-vertical","app-tabs-wrap","app-topbar","app-topbar-end","app-topbar-menu","app-topbar-start","badge","badge-danger","badge-dot","badge-info","badge-primary","badge-success","badge-warning","breadcrumb","breadcrumb-item","btn","btn-anim-expand","btn-anim-fill","btn-anim-glow","btn-anim-none","btn-anim-roll","btn-anim-sheen","btn-check","btn-close","btn-close-white","btn-danger","btn-dark","btn-ghost","btn-group","btn-group-lg","btn-group-sm","btn-group-vertical","btn-icon","btn-info","btn-lg","btn-light","btn-link","btn-neutral","btn-outline-danger","btn-outline-dark","btn-outline-info","btn-outline-light","btn-outline-primary","btn-outline-secondary","btn-outline-success","btn-outline-warning","btn-pill","btn-pill-sm","btn-primary","btn-radius-xl","btn-secondary","btn-secondary-danger","btn-sm","btn-static","btn-success","btn-text","btn-toolbar","btn-warning","card","card-accent","card-body","card-clickable","card-close","card-compact","card-constrained","card-elevated","card-footer","card-group","card-header","card-header-actions","card-header-icon","card-header-main","card-header-pills","card-header-tabs","card-header-titles","card-img","card-img-bottom","card-img-overlay","card-img-top","card-lifted","card-link","card-media","card-muted","card-outlined","card-pad-lg","card-pad-none","card-pad-sm","card-subtitle","card-text","card-title","dropdown","dropdown-center","dropdown-divider","dropdown-header","dropdown-item","dropdown-item-text","dropdown-menu","dropdown-menu-dark","dropdown-menu-end","dropdown-menu-lg-end","dropdown-menu-lg-start","dropdown-menu-md-end","dropdown-menu-md-start","dropdown-menu-sm-end","dropdown-menu-sm-start","dropdown-menu-start","dropdown-menu-xl-end","dropdown-menu-xl-start","dropdown-menu-xxl-end","dropdown-menu-xxl-start","dropdown-search-icon","dropdown-search-input","dropdown-search-wrapper","dropdown-toggle","dropdown-toggle-split","form-check","form-check-circle","form-check-inline","form-check-input","form-check-label","form-check-reverse","form-control","form-control-color","form-control-lg","form-control-plaintext","form-control-sm","form-label","form-select","form-select-lg","form-select-sm","form-text","input-group","input-group-lg","input-group-sm","input-group-text","list-group","list-group-flush","list-group-horizontal","list-group-horizontal-lg","list-group-horizontal-md","list-group-horizontal-sm","list-group-horizontal-xl","list-group-horizontal-xxl","list-group-item","list-group-item-action","list-group-item-danger","list-group-item-dark","list-group-item-info","list-group-item-light","list-group-item-primary","list-group-item-secondary","list-group-item-success","list-group-item-warning","list-group-numbered","modal","modal-backdrop","modal-body","modal-content","modal-dialog","modal-dialog-centered","modal-dialog-scrollable","modal-footer","modal-fullscreen","modal-fullscreen-lg-down","modal-fullscreen-md-down","modal-fullscreen-sm-down","modal-fullscreen-xl-down","modal-fullscreen-xxl-down","modal-header","modal-lg","modal-sm","modal-static","modal-title","modal-xl","nav-link","nav-pills","nav-tabs","offcanvas","offcanvas-backdrop","offcanvas-body","offcanvas-bottom","offcanvas-end","offcanvas-header","offcanvas-lg","offcanvas-md","offcanvas-sm","offcanvas-start","offcanvas-title","offcanvas-top","offcanvas-xl","offcanvas-xxl","page-item","page-link","pagination","pagination-lg","pagination-sm","progress","progress-bar","progress-bar-animated","progress-bar-striped","progress-sm","progress-stacked","spinner-border","spinner-border-sm","table","table-active","table-bordered","table-borderless","table-danger","table-dark","table-group-divider","table-hover","table-info","table-ledger","table-light","table-pagination","table-primary","table-responsive","table-responsive-lg","table-responsive-md","table-responsive-sm","table-responsive-xl","table-responsive-xxl","table-secondary","table-sm","table-striped","table-striped-columns","table-success","table-warning","table-wrap","wui-accordion","wui-accordion-body","wui-accordion-count","wui-accordion-flat","wui-accordion-icon","wui-accordion-item","wui-accordion-panel","wui-accordion-trigger","wui-action-icon-file","wui-addon","wui-addon-group","wui-addon-group-lg","wui-addon-group-sm","wui-attach-error","wui-attach-progress","wui-banner","wui-banner-action","wui-banner-body","wui-banner-danger","wui-banner-dismiss","wui-banner-has-action","wui-banner-icon","wui-banner-info","wui-banner-neutral","wui-banner-success","wui-banner-warning","wui-bell-body","wui-bell-count","wui-bell-dot","wui-bell-foot","wui-bell-head","wui-bell-icon","wui-bell-item","wui-bell-item-read","wui-bell-item-title","wui-bell-list","wui-bell-markall","wui-bell-menu","wui-bell-state","wui-bell-title","wui-bell-trigger","wui-bell-when","wui-btn-group","wui-btn-group-full","wui-btn-pin-end","wui-btn-pin-icon","wui-btn-roll","wui-btn-roll-ico","wui-btn-roll-ico__next","wui-btn-roll__a","wui-btn-roll__b","wui-btn-shape-pill","wui-btn-shape-sharp","wui-calendar-chip","wui-calendar-chip-time","wui-calendar-chip-title","wui-calendar-event-danger","wui-calendar-event-info","wui-calendar-event-neutral","wui-calendar-event-primary","wui-calendar-event-success","wui-calendar-event-warning","wui-calendar-fallback","wui-calendar-nav","wui-calendar-nav-btn","wui-calendar-stack","wui-calendar-status","wui-calendar-status-text","wui-calendar-surface","wui-calendar-title","wui-calendar-today-btn","wui-calendar-toolbar","wui-calendar-view-btn","wui-calendar-views","wui-carousel","wui-carousel-arrow","wui-carousel-dot","wui-carousel-dots","wui-carousel-pause","wui-carousel-pause-icon","wui-carousel-pause-text","wui-carousel-slide","wui-carousel-stage","wui-carousel-track","wui-cell-end","wui-chart-canvas","wui-chart-card","wui-chart-card-legend-off","wui-chart-card-legend-tool","wui-chart-card-retry","wui-chart-card-tool","wui-chart-legend","wui-chart-legend-item","wui-chart-legend-label","wui-chart-legend-swatch","wui-chart-legend-swatch-line","wui-chart-num","wui-chart-skeleton","wui-chart-state","wui-chart-state-text","wui-chart-surface","wui-chart-table","wui-chart-table-note","wui-chart-table-wrap","wui-chart-tooltip","wui-chart-tooltip-body","wui-chart-tooltip-foot","wui-chart-tooltip-label","wui-chart-tooltip-row","wui-chart-tooltip-swatch","wui-chart-tooltip-swatch-line","wui-chart-tooltip-title","wui-chart-tooltip-value","wui-chat-attachments","wui-chat-body","wui-chat-bubble","wui-chat-composer","wui-chat-editing","wui-chat-empty","wui-chat-foot","wui-chat-launcher","wui-chat-panel","wui-chat-past","wui-chat-past-row","wui-chat-question","wui-chat-question-attachments","wui-chat-suggestions","wui-chat-turn-actions","wui-check","wui-chip-group","wui-chip-group-nowrap","wui-choice-chip-solid","wui-cmd-back","wui-cmd-card","wui-cmd-crumb","wui-cmd-crumbs","wui-cmd-empty","wui-cmd-footer","wui-cmd-group","wui-cmd-group-label","wui-cmd-input","wui-cmd-item","wui-cmd-item-chevron","wui-cmd-item-desc","wui-cmd-item-icon","wui-cmd-item-label","wui-cmd-item-meta","wui-cmd-item-text","wui-cmd-list","wui-cmd-mark","wui-cmd-page","wui-cmd-recents","wui-cmd-search","wui-cmd-search-icon","wui-cmd-spinner","wui-cmd-trail","wui-code-bar","wui-code-block","wui-code-copy","wui-code-copy-icon","wui-code-line","wui-code-pre","wui-code-source","wui-code-t-attr","wui-code-t-comment","wui-code-t-function","wui-code-t-keyword","wui-code-t-literal","wui-code-t-number","wui-code-t-punct","wui-code-t-string","wui-code-t-tag","wui-code-t-type","wui-code-t-variable","wui-code-title","wui-code-view","wui-col-grow","wui-col-hidden","wui-col-resizable","wui-col-resize","wui-col-span-2","wui-col-span-3","wui-col-span-full","wui-cols-2","wui-cols-3","wui-cols-4","wui-column-menu","wui-column-menu-item","wui-column-menu-title","wui-comment--internal","wui-comment--mine","wui-comment-action","wui-comment-actions","wui-comment-attachment","wui-comment-attachment-size","wui-comment-attachments","wui-comment-author","wui-comment-avatar","wui-comment-composer","wui-comment-composer-avatar","wui-comment-composer-inline","wui-comment-confirm","wui-comment-confirm-text","wui-comment-edited","wui-comment-editor","wui-comment-empty","wui-comment-error","wui-comment-form-actions","wui-comment-head","wui-comment-internal-badge","wui-comment-list","wui-comment-main","wui-comment-reactions","wui-comment-replies","wui-comment-reply","wui-comment-row","wui-comment-text","wui-comment-text-deleted","wui-comment-thread","wui-comment-thread--conversation","wui-comment-time","wui-compare-center","wui-compare-code","wui-compare-group","wui-compare-group-row","wui-compare-nowrap","wui-compare-relaxed","wui-compare-scroll","wui-compare-scroll-table","wui-compare-state","wui-compare-state-no","wui-compare-state-partial","wui-compare-state-warn","wui-compare-state-yes","wui-compare-sticky-first","wui-compare-sticky-head","wui-confirm","wui-confirm-actions","wui-confirm-body","wui-confirm-content","wui-confirm-icon","wui-confirm-msg","wui-confirm-plain","wui-confirm-title","wui-consent-banner-accept","wui-consent-banner-actions","wui-consent-banner-category","wui-consent-banner-category-description","wui-consent-banner-description","wui-consent-banner-heading","wui-consent-banner-panel","wui-consent-banner-policy","wui-consent-banner-reject","wui-consent-banner-save","wui-consent-banner-settings","wui-consent-banner-settings-toggle","wui-context-menu-chevron","wui-context-menu-hint","wui-context-menu-panel","wui-context-menu-search","wui-context-menu-sub","wui-context-menu-subpanel","wui-context-menu-tick","wui-control","wui-control-group","wui-control-label","wui-crop-controls","wui-crop-frame","wui-crop-frame--round","wui-crop-handle","wui-crop-handle--ne","wui-crop-handle--nw","wui-crop-handle--se","wui-crop-handle--sw","wui-crop-img","wui-crop-preview","wui-crop-previews","wui-crop-previews--round","wui-crop-stage","wui-crop-toolbtn","wui-crop-tools","wui-crop-zoom","wui-crop-zoombtn","wui-dashboard-cell","wui-dashboard-cell-3","wui-dashboard-cell-4","wui-dashboard-cell-6","wui-dashboard-grid","wui-daterange-main","wui-daterange-pop--presets","wui-daterange-preset","wui-daterange-presets","wui-descs-col-4","wui-descs-emphasis","wui-descs-icon","wui-descs-link","wui-descs-list","wui-descs-span-1","wui-descs-span-10","wui-descs-span-11","wui-descs-span-12","wui-descs-span-2","wui-descs-span-3","wui-descs-span-4","wui-descs-span-5","wui-descs-span-6","wui-descs-span-7","wui-descs-span-8","wui-descs-span-9","wui-descs-summary","wui-detail-pane","wui-drawer","wui-drawer-backdrop","wui-drawer-body","wui-drawer-close","wui-drawer-discard","wui-drawer-discard-text","wui-drawer-discarding","wui-drawer-footer","wui-drawer-grip","wui-drawer-handle","wui-drawer-header","wui-drawer-headtext","wui-drawer-locked","wui-drawer-panel","wui-drawer-subtitle","wui-drawer-title","wui-drawer-title-ic","wui-drop-tray","wui-dropdown-form","wui-dropdown-item-disabled","wui-dropdown-menu-lg","wui-dropdown-menu-md","wui-dropdown-menu-sm","wui-dropdown-trigger","wui-dropdown-trigger-neutral","wui-due-date","wui-due-date-danger","wui-due-date-empty","wui-due-date-warning","wui-empty-illustration","wui-empty-illustration-custom","wui-empty-state-table","wui-error-summary","wui-error-summary-list","wui-error-summary-title","wui-expand-cell","wui-expand-toggle","wui-field-message","wui-file-busy","wui-file-input-button-field","wui-file-tile","wui-file-tile-ext","wui-file-tile-meta","wui-file-tile-name","wui-file-tile-text","wui-file-tiles","wui-file-viewer-actions","wui-file-viewer-audio-art","wui-file-viewer-body","wui-file-viewer-canvas","wui-file-viewer-center","wui-file-viewer-controls","wui-file-viewer-divider","wui-file-viewer-download","wui-file-viewer-end","wui-file-viewer-fullscreen","wui-file-viewer-group","wui-file-viewer-hit","wui-file-viewer-hit-current","wui-file-viewer-image","wui-file-viewer-image-scroll","wui-file-viewer-image-stage","wui-file-viewer-links","wui-file-viewer-menu","wui-file-viewer-menu-tick","wui-file-viewer-name","wui-file-viewer-page","wui-file-viewer-page-input","wui-file-viewer-page-total","wui-file-viewer-pages","wui-file-viewer-panning","wui-file-viewer-player","wui-file-viewer-player-audio","wui-file-viewer-print-frame","wui-file-viewer-row","wui-file-viewer-scroll","wui-file-viewer-search","wui-file-viewer-search-count","wui-file-viewer-search-field","wui-file-viewer-seek","wui-file-viewer-sheet","wui-file-viewer-skeleton","wui-file-viewer-slot","wui-file-viewer-speed","wui-file-viewer-stage","wui-file-viewer-start","wui-file-viewer-status","wui-file-viewer-text","wui-file-viewer-thumb","wui-file-viewer-thumb-frame","wui-file-viewer-thumb-no","wui-file-viewer-thumbs","wui-file-viewer-time","wui-file-viewer-toolbar","wui-file-viewer-video","wui-file-viewer-view-end","wui-file-viewer-volume","wui-file-viewer-zoom","wui-filter-bar","wui-filter-bar--folded","wui-filter-chip-inline","wui-filter-count-desktop","wui-filter-count-phone","wui-filter-form","wui-filter-more","wui-filter-more-head","wui-filter-more-panel","wui-filter-more-trigger","wui-filter-popover","wui-filter-popover-field","wui-filter-popover-foot","wui-filter-popover-grid","wui-filter-popover-head","wui-filter-popover-more","wui-filter-popover-note","wui-filter-popover-panel","wui-filter-popover-title","wui-filter-popover-trigger","wui-flag","wui-float-above","wui-floating-btn","wui-floating-btn--secondary","wui-floating-stack","wui-floating-stack-item","wui-floating-stack-item--primary","wui-floating-stack-item--secondary","wui-force-active","wui-force-focus","wui-force-hover","wui-form-cols-1","wui-form-cols-10","wui-form-cols-11","wui-form-cols-12","wui-form-cols-2","wui-form-cols-3","wui-form-cols-4","wui-form-cols-5","wui-form-cols-6","wui-form-cols-7","wui-form-cols-8","wui-form-cols-9","wui-form-compact","wui-form-inline","wui-form-labels-start","wui-form-row-keep","wui-form-rule-none","wui-form-section","wui-form-section-head","wui-form-section-title","wui-form-side","wui-form-title-display","wui-grid","wui-grid-lg-2","wui-grid-lg-3","wui-grid-lg-4","wui-grid-md-2","wui-grid-md-3","wui-grid-md-4","wui-group-cell","wui-group-count","wui-group-label","wui-group-row","wui-group-toggle","wui-has-value-avatar","wui-hidden-from-lg","wui-hidden-from-md","wui-hidden-from-sm","wui-hidden-from-xl","wui-hover-card-loading","wui-hover-card-panel","wui-hover-card-trigger","wui-icon","wui-icon-tip","wui-ill-accent","wui-ill-accent-line","wui-ill-card","wui-ill-danger","wui-ill-danger-fill","wui-ill-danger-line","wui-ill-dash","wui-ill-ink","wui-ill-mute","wui-ill-soft","wui-ill-thick","wui-illustration","wui-image-picker","wui-image-picker-avatar","wui-image-picker-buttons","wui-image-picker-buttons-actions","wui-image-picker-buttons-badge","wui-image-picker-buttons-camera","wui-image-picker-buttons-face","wui-image-picker-buttons-img","wui-image-picker-buttons-placeholder","wui-image-picker-field","wui-image-picker-field-inline","wui-image-picker-field-profile","wui-image-picker-hint","wui-image-picker-img","wui-image-picker-logo","wui-image-picker-meta","wui-image-picker-overlay","wui-image-picker-remove","wui-image-picker-ring","wui-image-picker-rounded","wui-image-picker-row","wui-image-picker-shell","wui-image-picker-square","wui-image-picker-subtitle","wui-image-picker-title","wui-inline-edit","wui-inline-edit-display","wui-inline-edit-editor","wui-inline-edit-error","wui-inline-edit-icon","wui-inline-edit-saved","wui-inline-edit-spinner","wui-inline-edit-status","wui-inline-edit-value","wui-input-group","wui-input-leading","wui-input-trailing","wui-input-xl","wui-kanban","wui-kanban-action","wui-kanban-actions","wui-kanban-board","wui-kanban-body","wui-kanban-card","wui-kanban-card-title","wui-kanban-collapse","wui-kanban-column","wui-kanban-count","wui-kanban-dot","wui-kanban-drop-note","wui-kanban-empty","wui-kanban-ghost","wui-kanban-head","wui-kanban-hint","wui-kanban-lock","wui-kanban-more","wui-kanban-summary","wui-kanban-switch","wui-kanban-switch-title","wui-kanban-switcher","wui-kanban-title","wui-kbd","wui-kpi-delta--danger","wui-kpi-delta--neutral","wui-kpi-delta--success","wui-leaving","wui-lightbox","wui-lightbox-bar","wui-lightbox-btn","wui-lightbox-caption","wui-lightbox-count","wui-lightbox-image","wui-lightbox-item","wui-lightbox-nav","wui-lightbox-next","wui-lightbox-overlay","wui-lightbox-prev","wui-lightbox-stage","wui-lightbox-status","wui-lightbox-tools","wui-lightbox-zoomed","wui-link","wui-link--bracket","wui-link--fade","wui-link--glow","wui-link--grow","wui-link--highlight","wui-link--icon","wui-link--lg","wui-link--none","wui-link--shine","wui-link--slide","wui-link--sm","wui-link--static","wui-link--surface-dark","wui-link--underline","wui-link--underline-center","wui-link__ic","wui-link__ic--left","wui-link__ic--right","wui-link__label","wui-list-card-count","wui-list-card-filters","wui-markdown","wui-markdown-citation","wui-markdown-source","wui-mention","wui-mention-empty","wui-mention-input","wui-mention-input-text","wui-mention-menu","wui-mention-option","wui-mention-option-description","wui-mention-option-label","wui-mention-option-photo","wui-mention-option-text","wui-meta-list","wui-metric","wui-metric-label","wui-metric-note","wui-metric-strip","wui-metric-strip-cols-3","wui-metric-strip-cols-4","wui-metric-strip-cols-5","wui-metric-strip-sm","wui-metric-tone-danger","wui-metric-tone-info","wui-metric-tone-success","wui-metric-tone-warning","wui-metric-value","wui-modal","wui-modal-back","wui-modal-backdrop-stacked","wui-modal-body","wui-modal-close","wui-modal-dim","wui-modal-eyebrow","wui-modal-footer","wui-modal-fullscreen","wui-modal-header","wui-modal-header-actions","wui-modal-headicon","wui-modal-heading","wui-modal-headtext","wui-modal-loading","wui-modal-shell","wui-modal-skeleton","wui-modal-skeleton--short","wui-modal-stacked","wui-modal-state","wui-modal-state-actions","wui-modal-state-text","wui-modal-state-title","wui-modal-submit-error","wui-modal-subtitle","wui-modal-title","wui-money","wui-ms-custom-error","wui-name-cell","wui-nav-depth-2","wui-nav-depth-3","wui-nav-depth-4","wui-nav-depth-5","wui-nav-depth-6","wui-nav-group-after","wui-nav-group-body","wui-nav-group-caret","wui-nav-group-collapsible","wui-nav-group-folded","wui-nav-group-text","wui-nav-group-toggle","wui-nav-header","wui-nav-list","wui-nav-list-count","wui-nav-list-divider","wui-nav-list-dot","wui-nav-list-icon","wui-nav-list-item","wui-nav-list-label","wui-nav-menu-chevron","wui-nav-menu-item","wui-nav-menu-link","wui-nav-menu-link-desc","wui-nav-menu-link-label","wui-nav-menu-link-text","wui-nav-menu-links","wui-nav-menu-list","wui-nav-menu-panel","wui-nav-menu-toplink","wui-nav-menu-trigger","wui-nav-new","wui-nav-split","wui-nav-split-link","wui-nav-split-toggle","wui-notification-center","wui-notification-center-body","wui-notification-center-count","wui-notification-center-day","wui-notification-center-dot","wui-notification-center-empty","wui-notification-center-foot","wui-notification-center-head","wui-notification-center-icon","wui-notification-center-item","wui-notification-center-item-read","wui-notification-center-item-text","wui-notification-center-item-title","wui-notification-center-items","wui-notification-center-list","wui-notification-center-live","wui-notification-center-markall","wui-notification-center-panel","wui-notification-center-tabs","wui-notification-center-title","wui-notification-center-trigger","wui-notification-center-unread-label","wui-notification-center-when","wui-onboarding","wui-onboarding-bar","wui-onboarding-body","wui-onboarding-card","wui-onboarding-chevron","wui-onboarding-count","wui-onboarding-desc","wui-onboarding-dismiss","wui-onboarding-head","wui-onboarding-label","wui-onboarding-mark","wui-onboarding-restore","wui-onboarding-seg","wui-onboarding-step","wui-onboarding-steps","wui-onboarding-title","wui-onboarding-toggle","wui-opt-avatar","wui-opt-desc","wui-opt-hint","wui-opt-label","wui-opt-name","wui-opt-rich","wui-overflow","wui-overflow-item","wui-overflow-menu","wui-overflow-more","wui-page-header-meta-below","wui-page-header-subtitle-inline","wui-page-title-slot","wui-period-month","wui-period-month-label","wui-period-picker","wui-pin-end","wui-pin-end-edge","wui-pin-start","wui-pin-start-edge","wui-progress-danger","wui-progress-indeterminate","wui-progress-info","wui-progress-label","wui-progress-labelled","wui-progress-neutral","wui-progress-success","wui-progress-warning","wui-pw-inline","wui-radio","wui-radio-group","wui-radio-group-card","wui-radio-group-inline","wui-radio-option-desc","wui-rating","wui-rating-fill","wui-rating-glyphs","wui-rating-input","wui-rating-lg","wui-rating-previewing","wui-rating-sm","wui-rating-star","wui-rating-star-full","wui-rating-star-half","wui-rating-star-preview","wui-rating-stars","wui-rating-value","wui-rb-dialog","wui-reaction","wui-reaction-add","wui-reaction-choice","wui-reaction-count","wui-reaction-mine","wui-reaction-picker","wui-record-pager","wui-record-pager-next","wui-record-pager-position","wui-record-pager-prev","wui-relative-time","wui-remote-drawer","wui-remote-drawer-dialog","wui-resizable","wui-resizable-handle","wui-resizable-panel","wui-rich-text-button","wui-rich-text-content","wui-rich-text-empty","wui-rich-text-glyph","wui-rich-text-glyph-bold","wui-rich-text-glyph-italic","wui-rich-text-group","wui-rich-text-link-apply","wui-rich-text-link-cancel","wui-rich-text-link-error","wui-rich-text-link-input","wui-rich-text-link-remove","wui-rich-text-linkbar","wui-rich-text-prose","wui-rich-text-shell","wui-rich-text-toolbar","wui-rolling-number","wui-rolling-number-char","wui-rolling-number-digit","wui-rolling-number-reel","wui-rolling-number-roll","wui-rolling-number-text","wui-row-active","wui-row-dragging","wui-row-expanded","wui-row-link","wui-row-save-error","wui-row-switch","wui-row-switch__thumb","wui-row-switch__track","wui-score-scale","wui-score-scale__ends","wui-score-scale__item","wui-score-scale__item--selected","wui-scroll","wui-search-collapsible","wui-search-select-value-avatar","wui-search-select-xl","wui-search-toggle","wui-section","wui-section-actions","wui-section-call-to-action","wui-section-center","wui-section-eyebrow","wui-section-eyebrow-danger","wui-section-eyebrow-info","wui-section-eyebrow-neutral","wui-section-eyebrow-pill","wui-section-eyebrow-primary","wui-section-eyebrow-success","wui-section-eyebrow-warning","wui-section-faq","wui-section-faq-body","wui-section-feature","wui-section-feature-body","wui-section-feature-icon","wui-section-feature-text","wui-section-feature-title","wui-section-features","wui-section-features-list","wui-section-features-rows","wui-section-head","wui-section-hero","wui-section-inner","wui-section-lead-consent","wui-section-lead-fields","wui-section-lead-form","wui-section-lead-success","wui-section-lead-text","wui-section-logo","wui-section-logo-img","wui-section-logo-text","wui-section-logos","wui-section-logos-list","wui-section-media","wui-section-muted","wui-section-pricing","wui-section-subtitle","wui-section-testimonial","wui-section-testimonial-author","wui-section-testimonial-avatar","wui-section-testimonial-name","wui-section-testimonial-quote","wui-section-testimonial-role","wui-section-testimonial-who","wui-section-testimonials-list","wui-section-title","wui-section-title-body","wui-segmented-borderless","wui-segmented-option-count","wui-select-cell","wui-shell-launcher","wui-shortcut-close","wui-shortcut-group","wui-shortcut-group-title","wui-shortcut-keys","wui-shortcut-legend","wui-shortcut-sheet","wui-shortcut-sheet-below","wui-shortcut-sheet-head","wui-shortcut-sheet-start","wui-shortcut-sheet-title","wui-shortcut-toggle","wui-show-more","wui-show-more-body","wui-show-more-toggle","wui-skeleton-cell","wui-skeleton-lines","wui-skip-link","wui-slider-rail","wui-sort-lead","wui-sortable-active","wui-sortable-body","wui-sortable-dragging","wui-sortable-ghost","wui-sortable-handle","wui-sortable-item","wui-sortable-live","wui-sparkline","wui-spin","wui-spinner","wui-spinner-sm","wui-split-all","wui-split-badge","wui-split-button","wui-split-check","wui-split-chips","wui-split-count","wui-split-empty","wui-split-head","wui-split-head-bulk","wui-split-head-main","wui-split-item","wui-split-item-end","wui-split-item-main","wui-split-item-meta","wui-split-item-title","wui-split-items","wui-split-legend","wui-split-link","wui-split-list","wui-split-menu","wui-split-pane","wui-split-pane-body","wui-split-pane-error","wui-split-pane-head","wui-split-reading","wui-split-skeleton","wui-split-skeleton-meta","wui-split-skeleton-title","wui-split-view","wui-step-done-tone-danger","wui-step-done-tone-info","wui-step-done-tone-primary","wui-step-done-tone-success","wui-step-done-tone-warning","wui-step-size-lg","wui-step-size-sm","wui-step-tile","wui-step-tile-body","wui-step-tile-state","wui-step-tiles","wui-step-tone-danger","wui-step-tone-info","wui-step-tone-primary","wui-step-tone-success","wui-step-tone-warning","wui-stepper-no-connectors","wui-stepper-start","wui-struct-card-filled","wui-struct-card-glyph","wui-struct-card-glyph-on","wui-struct-card-lg","wui-struct-card-no-check","wui-struct-card-sm","wui-struct-card-stacked","wui-tab-label","wui-tabbar","wui-tabbar-badge","wui-tabbar-icon","wui-tabbar-item","wui-tabbar-label","wui-table-compact","wui-table-cozy","wui-table-empty","wui-table-error","wui-table-flush","wui-table-pager","wui-table-pagination-sm","wui-table-pagination-standalone","wui-table-scroll","wui-table-server","wui-table-stack","wui-table-sticky-actions","wui-table-sticky-first","wui-table-striped","wui-table-toolbar","wui-table-toolbar-actions","wui-table-toolbar-all","wui-table-toolbar-bulk","wui-table-toolbar-clear","wui-table-toolbar-count","wui-table-toolbar-filters","wui-table-toolbar-main","wui-text-2xl","wui-text-3xl","wui-text-4xl","wui-text-base","wui-text-lg","wui-text-sm","wui-text-xl","wui-text-xs","wui-theme-switching","wui-theme-toggle","wui-timeline--lg","wui-timeline--sm","wui-timeline--steps","wui-timeline--steps-vertical","wui-timeline-eyebrow","wui-timepicker-col","wui-timepicker-cols","wui-timepicker-error","wui-timepicker-field","wui-timepicker-toggle","wui-toast","wui-toast--anim-jelly","wui-toast--anim-organic","wui-toast--anim-spring","wui-toast--danger","wui-toast--dragging","wui-toast--info","wui-toast--shape-pill","wui-toast--shape-sharp","wui-toast--success","wui-toast--surface-inverse","wui-toast--warning","wui-toast-action","wui-toast-close","wui-toast-container","wui-toast-content","wui-toast-icon","wui-toast-message","wui-toast-more","wui-toast-progress","wui-toast-task","wui-toast-title","wui-toast-track","wui-toast-track-fill","wui-toast-track-pct","wui-tooltip","wui-topsearch","wui-topsearch-all","wui-topsearch-empty","wui-topsearch-group","wui-topsearch-group-label","wui-topsearch-hit","wui-topsearch-hit-icon","wui-topsearch-hit-sub","wui-topsearch-hit-text","wui-topsearch-hit-title","wui-topsearch-open","wui-topsearch-panel","wui-topsearch-results","wui-tour-actions","wui-tour-arrow","wui-tour-back","wui-tour-card","wui-tour-end","wui-tour-end-button","wui-tour-end-mark","wui-tour-end-message","wui-tour-end-title","wui-tour-hint","wui-tour-layer","wui-tour-media","wui-tour-media-toggle","wui-tour-nav","wui-tour-next","wui-tour-position","wui-tour-progress-bar","wui-tour-progress-segment","wui-tour-skip","wui-tour-spot","wui-tour-text","wui-tour-title","wui-tree","wui-tree-badge","wui-tree-check","wui-tree-group","wui-tree-icon","wui-tree-item","wui-tree-label","wui-tree-row","wui-tree-row-error","wui-tree-row-selected","wui-tree-spinner","wui-tree-toggle","wui-truncate","wui-truncate-multi","wui-truncate-text","wui-usermenu-caret","wui-usermenu-head","wui-usermenu-logout","wui-usermenu-menu","wui-usermenu-name","wui-usermenu-role","wui-usermenu-roles","wui-usermenu-roles-label","wui-usermenu-text","wui-usermenu-trigger","wui-usermenu-who","wui-virtual-off","wui-virtual-spacer","wui-whats-new","wui-whats-new-body","wui-whats-new-date","wui-whats-new-dot","wui-whats-new-empty","wui-whats-new-entry","wui-whats-new-entry-title","wui-whats-new-image","wui-whats-new-link","wui-whats-new-list","wui-whats-new-name","wui-whats-new-panel","wui-whats-new-title","wui-whats-new-trigger","wui-whats-new-unread","wui-wizard-topbar","wui-wizard-topbar-close","wui-wizard-topbar-count","wui-wizard-topbar-title"]`),Ro=`raw-bootstrap`,zo=/* @__PURE__ */ new Map([[`btn`,`AppButton/<app-button>`],[`card`,`AppCard/<app-card>`],[`modal`,`AppModal/<app-modal>`],[`table`,`AppDataTable/<app-data-table>`],[`badge`,`AppBadge/<app-status-badge>`],[`alert`,`AppAlert/<app-alert>`],[`form-control`,`AppInput/<app-input>`],[`form-select`,`AppSelect/<app-select>`],[`form-check-input`,`AppCheckbox/<app-checkbox>`],[`pagination`,`AppTablePagination/<app-table-pagination>`],[`nav-tabs`,`AppTabs/<app-tabs>`],[`dropdown-menu`,`AppDropdown/<app-dropdown>`],[`offcanvas`,`AppDrawer/<app-drawer>`],[`breadcrumb`,`AppBreadcrumbs/<app-breadcrumbs>`],[`progress`,`AppProgress/<app-progress>`],[`spinner-border`,`AppSpinner/<app-spinner>`],[`accordion`,`AppAccordion/<app-accordion>`]]),Bo=/(?<![\w-])(?:class|className)\s*=\s*/g,Vo=/(["'`])((?:\\[\s\S]|(?!\1)[^\\])*)\1/g;function Ho(e){let t=``,n=null;for(let r=0;r<e.length;r+=1){let i=e[r],a=e[r+1];if(n)t+=i,i===`\\`&&a!==void 0?(t+=a,r+=1):(i===n||i===`
|
|
154
155
|
`&&n!=="`")&&(n=null);else if(i===`/`&&a===`/`){let n=e.indexOf(`
|
|
155
|
-
`,r),i=n===-1?e.length:n;t+=` `.repeat(i-r),r=i-1}else if(i===`/`&&a===`*`){let n=e.indexOf(`*/`,r+2),i=n===-1?e.length:n+2;t+=e.slice(r,i).replace(/[^\n]/g,` `),r=i-1}else(i===`"`||i===`'`||i==="`")&&(n=i),t+=i}return t}function
|
|
156
|
+
`,r),i=n===-1?e.length:n;t+=` `.repeat(i-r),r=i-1}else if(i===`/`&&a===`*`){let n=e.indexOf(`*/`,r+2),i=n===-1?e.length:n+2;t+=e.slice(r,i).replace(/[^\n]/g,` `),r=i-1}else(i===`"`||i===`'`||i==="`")&&(n=i),t+=i}return t}function Uo(e,t){let n=[],r=e[t];if(r===`"`||r===`'`){let i=e.indexOf(r,t+1);i!==-1&&n.push({base:t+1,content:e.slice(t+1,i)})}else if(r===`{`){let r=0,i=t;for(;i<e.length;i+=1)if(e[i]===`{`)r+=1;else if(e[i]===`}`&&(--r,r===0))break;let a=e.slice(t,i);for(let e of a.matchAll(Vo))n.push({base:t+e.index+1,content:e[2]})}return n}function Wo(e,t){let n=t===`markup`?w(e,`markup`):Ho(e),r=[0];for(let e=0;e<n.length;e+=1)n[e]===`
|
|
156
157
|
`&&r.push(e+1);let i=e.split(`
|
|
157
|
-
`),a=e=>{let t=0,n=r.length-1;for(;t<n;){let i=t+n+1>>1;r[i]<=e?t=i:n=i-1}return t},o=[];for(let e of n.matchAll(
|
|
158
|
-
`).length}function
|
|
159
|
-
`),r=[],i=(e,t)=>{r.push({rule:
|
|
158
|
+
`),a=e=>{let t=0,n=r.length-1;for(;t<n;){let i=t+n+1>>1;r[i]<=e?t=i:n=i-1}return t},o=[];for(let e of n.matchAll(Bo)){let t=e.index+e[0].length;for(let e of Uo(n,t))for(let t of e.content.matchAll(/\S+/g)){let n=zo.get(t[0]);if(!n)continue;let r=a(e.base+t.index);o.push({rule:Ro,line:r+1,text:(i[r]??``).trim().slice(0,160),hint:`use ${n} in place of the raw Bootstrap class "${t[0]}"`})}}return o.sort((e,t)=>e.line-t.line),o}var Go=`route-internal-id`,Ko=`route by the record's public id ("{publicId:guid}"), never its internal number`,qo=`pass the record's PublicId, never its internal Id`,Jo=/^\s*@page\s+"([^"]*)"/gm,Yo=/\basp-route-([A-Za-z][\w-]*)\s*=\s*"@\(?\s*([\w.?!]+?)\.Id\s*\)?"/g,Xo=/\b(?:Route|Http(?:Get|Post|Put|Patch|Delete))\s*\(\s*@?"([^"]*)"/g,Zo=/\.Map(?:Get|Post|Put|Patch|Delete|Methods)?\s*\(\s*@?"([^"]*)"/g,Qo=/\{([^{}]*)\}/g,$o=/^(?:[Ii]d|[a-z][A-Za-z0-9]*Id)$/,es=[`int`,`long`];function ts(e){let t=[];for(let n of e.matchAll(Qo)){let[e,...r]=n[1].replace(/^\*{1,2}/,``).split(`:`),i=e.replace(/=.*$/,``).replace(/\?$/,``);$o.test(i)&&r.some(e=>es.includes(e.replace(/\?$/,``)))&&t.push(i)}return t}function ns(e,t){return e.slice(0,t).split(`
|
|
159
|
+
`).length}function rs(e,t){let n=e.split(`
|
|
160
|
+
`),r=[],i=(e,t)=>{r.push({rule:Go,line:e,text:(n[e-1]??``).trim().slice(0,160),hint:t})},a=(e,t)=>{for(let n of ts(e))i(t,Ko)};if(t===`markup`){let t=w(e,`markup`);for(let e of t.matchAll(Jo))a(e[1],ns(t,e.index+e[0].indexOf(`@page`)));for(let e of t.matchAll(Yo))i(ns(t,e.index),qo);return r}for(let t of[Xo,Zo])for(let r of e.matchAll(t)){let t=ns(e,r.index);(n[t-1]??``).trim().startsWith(`//`)||a(r[1],t)}return r}function is(e,t){if(!/\.(?:jsx|tsx|cshtml)$/i.test(e))return[];let n=t.endsWith(`
|
|
160
161
|
`)?t.split(`
|
|
161
162
|
`).length-1:t.split(`
|
|
162
|
-
`).length;return n>800?[{rule:`oversize`,line:1,text:`over 800 lines: split it along its concerns`,hint:null}]:n>600?[{rule:`oversize`,line:1,text:`over 600 lines`,hint:null}]:[]}var
|
|
163
|
+
`).length;return n>800?[{rule:`oversize`,line:1,text:`over 800 lines: split it along its concerns`,hint:null}]:n>600?[{rule:`oversize`,line:1,text:`over 600 lines`,hint:null}]:[]}var as=`rename-wrapper`,os=`@webority/ui-react`,ss=`["']${os}["']`,V=e=>e.replace(/[^\n]/g,` `),cs=`shadowed-library-name`;function H(e,t,n,r=as){let i=e.slice(0,t).split(`
|
|
163
164
|
`).length;return{rule:r,line:i,text:e.split(`
|
|
164
|
-
`)[i-1].trim(),hint:n}}function Qo(e){return e.replace(/\/\*[\s\S]*?\*\//g,V).replace(/\/\/[^\n]*/g,V)}function $o(e){let t=/* @__PURE__ */ new Map,n=RegExp(`import\\s+(?:type\\s+)?([^;'"]*?)\\s+from\\s*${Xo}`,`g`);for(let r of e.matchAll(n)){let e=r[1],n=e.match(/\{([^}]*)\}/);if(n)for(let e of n[1].split(`,`)){let n=e.trim().replace(/^type\s+/,``).split(/\s+as\s+/);n[0]&&t.set(n[n.length-1],n[0])}let i=e.match(/\*\s*as\s+(\w+)/);i&&t.set(i[1],`*`);let a=e.replace(/\{[^}]*\}/,``).replace(/\*\s*as\s+\w+/,``);for(let e of a.split(`,`)){let n=e.trim();/^\w+$/.test(n)&&t.set(n,`default`)}}return t}function es(e){let t=RegExp(`^[ \\t]*export\\s+(?:type\\s+)?(?:\\*(?:\\s+as\\s+\\w+)?|\\{[^}]*\\})\\s*from\\s*${Xo}`,`gm`);return[...e.matchAll(t)].map(t=>H(e,t.index,`Import the name from ${Yo} where it is used; a file that only re-exports it adds nothing.`))}function ts(e,t){let n=[];if(t.size===0)return n;let r=`Import the name from ${Yo} where it is used instead of exporting it through this file.`;for(let i of e.matchAll(/^[ \t]*export\s*\{([^}]*)\}(?!\s*from)/gm))i[1].split(`,`).some(e=>t.has(e.trim().replace(/^type\s+/,``).split(/\s+as\s+/)[0]))&&n.push(H(e,i.index,r));for(let i of e.matchAll(/^[ \t]*export\s+default\s+(\w+)\s*;?[ \t]*$/gm))t.has(i[1])&&n.push(H(e,i.index,r));return n}function ns(e,t,n,r){if(!/\.(jsx|tsx)$/.test(e))return[];let i=Qo(t);if(/\buse[A-Z]\w*\s*[(<]/.test(i)||/\b(if|switch)\s*\(/.test(i)||[...i.matchAll(/\breturn\b/g)].length>1)return[];let a=i.match(/(?:\breturn|=>)\s*\(?\s*<([A-Za-z][\w.]*)/);if(!a)return[];let o=a[1],s=r.get(o);return!s||s===`*`||!n.has(s)||[...i.matchAll(/<([A-Za-z][\w.]*)/g)].length!==1||/[?]|&&|\|\|/.test(i.slice(a.index))?[]:[H(t,a.index,`Import ${s} from ${Yo} and use it where this component is used instead of a wrapper.`)]}function rs(e,t){let n=e.split(/[\\/]/).pop();if(!n.startsWith(`_`)||!n.endsWith(`.cshtml`))return[];let r=t.replace(/@\*[\s\S]*?\*@/g,V).replace(/<!--[\s\S]*?-->/g,V).replace(/^[ \t]*@(?:model|using)\b[^\n]*/gm,V),i=r.search(/\S/);if(i<0)return[];let a=r.slice(i).trimEnd(),o=a.match(/^<(app-[a-z0-9-]+)/);return!o||!a.endsWith(`/>`)&&!a.endsWith(`</${o[1]}>`)||(a.match(/<[A-Za-z]/g)||[]).length!==1?[]:[H(t,i,`Render the <${o[1]}> tag directly where the partial is used instead of a partial that only renders it.`)]}function is(e,t,n,r){let i=[];for(let[a,o]of r){if(a===o||!n.has(o))continue;let r=RegExp(`\\b(?:function|class|const|let|var)\\s+${o}\\b`).exec(e);r&&i.push(H(t,r.index,`Declares ${o} over the library's ${o}; use the library component and its props, or give the product component its own name.`,Zo))}return i}function as(e,t,n){let r=$o(t);return[...es(t),...ts(t,r),...ns(e,t,n,r),...rs(e,t),.../\.(jsx|tsx)$/.test(e)?is(Qo(t),t,n,r):[]]}var os=()=>new Set(Eo),ss=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`];function cs(e,t,n,i,a){let o=/* @__PURE__ */ new Set;for(let s of k(O(e,t))){if(s.kind!==`import`||s.imported.length===0)continue;let c=lo(t,s.specifier,i);if(c===null)continue;let l=`${n}:${c}`;a.has(l)||a.set(l,La(r(d(e,c),`utf8`),{phone:n}));let u=a.get(l);for(let{name:e,local:t}of s.imported)u.has(e)&&o.add(t)}return o}var ls=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`,`*.cshtml`];function us(e){let n=[];for(let i of L(e,[`package.json`])){if(!t(d(e,i)))continue;let a;try{a=JSON.parse(r(d(e,i),`utf8`))}catch{continue}if(Gi(a)!==`mobile`)continue;let o=p.dirname(i);n.push(o===`.`?`src/`:`${o}/src/`)}return n}function ds(e,n=null){let i=n?n.map(t=>Vi(e,t)):null,a=us(e),o=e=>!i||i.some(t=>t===`.`||e===t||e.startsWith(`${t}/`)),s=L(e,Object.keys(be).map(e=>`*${e}`)).filter(n=>t(d(e,n))&&!je(n,e)&&o(n)),c=[],l=os(),f=ha(e),p=pa(e),m=null,h=/* @__PURE__ */ new Map;for(let n of s){let i=u(n).toLowerCase(),o=be[i],s=r(d(e,n),`utf8`),g=n.startsWith(`packages/`)||n.startsWith(`samples/`),_=f&&g,v=()=>_?[]:[...No(s,o),...as(n,s,p)],y=[];if(o===`scss`||o===`css`||o===`markup`)y=Yt(s,o),o!==`scss`&&o!==`css`||_||y.push(...To(s,o,l)),o===`markup`&&y.push(...v(),...g?[]:So(s),...g?[]:Ko(s,`markup`),...qo(n,s));else if(o===`script`){let r=!g&&a.some(e=>n.startsWith(e)),o=Sn(s)||r;if(xe.includes(i)&&!o)continue;let c=[];if(!g){let i=r;m??=new Set(L(e,ss).filter(n=>t(d(e,n)))),c=Ra(s,{phone:i,keyedImports:s.includes(`.map(`)?cs(e,n,i,m,h):/* @__PURE__ */ new Set})}y=[...Cn(s,{phone:o,colourLiterals:r}),...c],r&&a.some(e=>n===`${e}assets/theme/settings.js`)&&(y=y.filter(e=>e.rule!==`raw-colour`)),(i===`.jsx`||i===`.tsx`)&&y.push(...v(),...qo(n,s))}else o===`csharp`&&(g||(y=Ko(s,`csharp`)));for(let e of y)c.push({id:`${e.rule}:${n}`,line:e.line,text:e.text,hint:e.hint})}let g=L(e,ls).filter(n=>t(d(e,n)));for(let t of so(e,g)){let n=t.file.startsWith(`packages/`)||t.file.startsWith(`samples/`);o(t.file)&&!je(t.file,e)&&!n&&c.push({id:`${t.rule}:${t.file}`,line:t.line,text:t.text,hint:t.hint})}return c.sort((e,t)=>e.id<t.id?-1:e.id>t.id?1:e.line-t.line)}function fs(e){let t={};for(let n of e)t[n.id]=(t[n.id]||0)+1;return t}var U=process.argv.slice(2),ps=/* @__PURE__ */ new Set([`--baseline-accept`,`--reason`,`--baseline-adopt`]),ms=new Set(U.flatMap((e,t)=>ps.has(e)?[t+1]:[])),W=new Set(U.filter((e,t)=>e.startsWith(`--`)&&!ms.has(t))),G=U.filter((e,t)=>!e.startsWith(`--`)&&!ms.has(t)),hs=W.has(`--sync-hook`),gs=e=>U.includes(e)?U[U.indexOf(e)+1]:void 0,_s=gs(`--baseline-accept`),vs=gs(`--reason`),ys=gs(`--baseline-adopt`)?.split(`,`).map(e=>e.trim()).filter(Boolean),bs=e=>typeof e==`string`&&e.trim()!==``,K=e=>process.stdout.write(`${e}\n`),q=e=>process.stderr.write(`${e}\n`);W.has(`--json`)&&(console.log=(...e)=>console.error(...e));var xs=/* @__PURE__ */ new Set([`--json`,`--offline`,`--baseline-init`,`--baseline-shrink`,`--baseline-accept`,`--reason`,`--sync-hook`,`--baseline-adopt`]),Ss=[...W].filter(e=>!xs.has(e)),Cs=W.has(`--baseline-accept`),ws=(Cs||W.has(`--reason`))&&!(bs(_s)&&bs(vs)),Ts=Cs&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||hs||W.has(`--baseline-adopt`)),Es=W.has(`--baseline-adopt`)&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||W.has(`--baseline-accept`)||hs);(Ss.length||W.has(`--baseline-init`)&&W.has(`--baseline-shrink`)||hs&&(W.size>1||G.length)||ws||Ts||Es)&&(q(`repo-checks: unknown or conflicting options ${Ss.join(` `)}`.trim()),q(`usage: webority-repo-checks [--json] [--offline] [--baseline-init | --baseline-shrink] [--baseline-accept <folder> --reason <text>] [--baseline-adopt <rule,...>] [app folder ...]`),q(` webority-repo-checks --sync-hook`),process.exit(2));var J=Ui(process.cwd());if(J||(q(`repo-checks: not inside a git repository.`),process.exit(2)),hs){let t=d(J,wa);n(l(t),{recursive:!0}),s(t,Je),e(t,493),K(`repo-checks: wrote ${t}`),process.exit(0)}var Ds=W.has(`--offline`);Ds&&q(`repo-checks: advisory rule skipped (--offline).`);var Os=Ea(J,G.length?G.map(e=>h(process.cwd(),e)):null,{advisories:!Ds}).sort((e,t)=>e.pkg===t.pkg?0:e.pkg<t.pkg?-1:1),ks=Os.filter(e=>e.warning),As=Os.filter(e=>!e.warning),js=As.filter(e=>e.id.startsWith(`lint:`)),Ms=As.filter(e=>!e.id.startsWith(`lint:`)),Ns=ds(J,G.length?G.map(e=>h(process.cwd(),e)):null),Y={findings:Ms.map(e=>ee(e.pkg,e.id)),counts:fs(Ns)},Ps=new Map(Ms.map(e=>[ee(e.pkg,e.id),e]));if(W.has(`--baseline-init`)){G.length&&(q(`repo-checks: --baseline-init reads the whole repository; run it without folder arguments.`),process.exit(2)),t(d(J,`.webority/baselines/repo-checks-baseline.json`))&&(q(`repo-checks: ${y} already exists. It only shrinks: fix a new finding, or run --baseline-shrink after fixing old ones.`),process.exit(2)),C(J,ae(Y));let e=Object.keys(Y.counts).length;K(`repo-checks: recorded ${Ms.length} finding(s) and ${e} counted file(s) (${Ns.length} code finding(s)) in ${y}.`),process.exit(0)}var X=(()=>{try{return te(J)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}})();if(W.has(`--baseline-shrink`)){G.length&&(q(`repo-checks: --baseline-shrink reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=ce(X,Y);C(J,le(X,Y)),K(`repo-checks: dropped ${e.stale.length} fixed finding(s) and lowered ${e.fallen.length} count(s) in ${y}.`),process.exit(0)}if(Cs){G.length&&(q(`repo-checks: --baseline-accept reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=ue(X,Y,_s,vs),t=new Set(X.findings),n=e.findings.filter(e=>!t.has(e)).length,r=Object.keys(e.counts).filter(t=>(X.counts[t]??0)<e.counts[t]).length;C(J,e),K(`repo-checks: accepted ${n} finding(s) and ${r} count(s) under ${_s} (${vs}).`),process.exit(0)}if(W.has(`--baseline-adopt`)){G.length&&(q(`repo-checks: --baseline-adopt reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2)),ys?.length||(q(`repo-checks: --baseline-adopt needs a comma-separated list of rule ids.`),process.exit(2));let e;try{e=oe(X,Y,ys)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}C(J,e);let t=new Set(X.findings);for(let n of ys){let r=e.findings.filter(e=>!t.has(e)&&S(e)[1].split(`:`)[0]===n).length,i=Object.keys(e.counts).filter(e=>!(e in X.counts)&&e.split(`:`)[0]===n).length;K(`repo-checks: adopted ${r} finding(s) and ${i} count(s) for ${n} in ${y}.`)}process.exit(0)}var Fs=new Set(G.map(e=>m(J,h(process.cwd(),e)).split(`\\`).join(`/`)||`.`)),Is=G.length?{pkgs:Fs,dirs:[...Fs]}:null,Z=ce(se(X??{version:2,findings:[],counts:{}},Is),Y),Ls={"raw-measure":Me,"palette-read":Fe,"raw-colour":Ne,"root-font-size":Pe,"missing-canvas-key":Ie,"repeated-canvas-key":Le},Rs=e=>Ls[e.slice(0,e.indexOf(`:`))],Q=[...Z.fresh.map(e=>Ps.get(e)),...js],zs=Z.known.map(e=>Ps.get(e)),Bs=e=>[`${e.current} found, ${e.baseline} recorded.`,Rs(e.id)].filter(Boolean).join(` `),Vs=e=>Ti(e.id.split(`:`)[0]),$=Z.over.filter(Vs).map(e=>({pkg:`.`,id:e.id,message:Bs(e),lines:Ns.filter(t=>t.id===e.id).map(({line:e,text:t,hint:n})=>({line:e,text:t,hint:n}))})),Hs=Z.over.filter(e=>!Vs(e)).map(e=>({pkg:`.`,id:e.id,message:Bs(e)})),Us=Z.within.map(e=>({pkg:`.`,id:e.id,message:`${e.current} found, ${e.baseline} recorded.`})),Ws=[...Z.stale.map(S),...Z.fallen.map(e=>[`.`,e.id])],Gs=[...ks,...Hs];if(W.has(`--json`)||(()=>{if(Gs.length!==0){q(`repo-checks: ${Gs.length} warning(s), not enforced yet. Name a rule in REPO_CHECKS_ENFORCE (comma list, or all) to fail on it:`);for(let e of Gs)q(` - ${e.pkg} ${e.id}: ${e.message}`)}})(),W.has(`--json`)){let e={root:J,new:[...Q,...$],known:[...zs,...Us],stale:Ws,warnings:Gs.map(e=>({pkg:e.pkg,id:e.id,message:e.message}))};K(JSON.stringify(e,null,2)),process.exitCode=Q.length||$.length?1:0}else if(Q.length||$.length){if(Q.length){q(`repo-checks: ${Q.length} new finding(s)`);let e=null;for(let t of Q)t.pkg!==e&&(e=t.pkg,q(` ${e}`)),q(` - ${t.id}: ${t.message}`)}if($.length){q(`repo-checks: ${$.length} file(s) above their recorded count`);for(let e of $){q(` ${e.id}: ${e.message}`);for(let t of e.lines)q(` ${t.line}: ${t.text}`),t.hint!==null&&q(` ${t.hint}`)}}process.exitCode=1}else{if(K(`repo-checks: no new findings.`),zs.length||Us.length){let e=Z.within.reduce((e,t)=>e+t.current,0);K(`repo-checks: ${zs.length} known finding(s) and ${e} counted code finding(s) in ${Us.length} file(s) recorded in ${y}.`)}if(Z.stale.length){K(`repo-checks: ${Z.stale.length} baseline entr${Z.stale.length===1?`y is`:`ies are`} fixed; drop them with webority-repo-checks --baseline-shrink:`);for(let e of Z.stale.map(S))K(` ${e[0]} ${e[1]}`)}if(Z.fallen.length){K(`repo-checks: ${Z.fallen.length} count(s) fell; record them with webority-repo-checks --baseline-shrink:`);for(let e of Z.fallen)K(` ${e.id} ${e.baseline} -> ${e.current}`)}}export{};
|
|
165
|
+
`)[i-1].trim(),hint:n}}function ls(e){return e.replace(/\/\*[\s\S]*?\*\//g,V).replace(/\/\/[^\n]*/g,V)}function us(e){let t=/* @__PURE__ */ new Map,n=RegExp(`import\\s+(?:type\\s+)?([^;'"]*?)\\s+from\\s*${ss}`,`g`);for(let r of e.matchAll(n)){let e=r[1],n=e.match(/\{([^}]*)\}/);if(n)for(let e of n[1].split(`,`)){let n=e.trim().replace(/^type\s+/,``).split(/\s+as\s+/);n[0]&&t.set(n[n.length-1],n[0])}let i=e.match(/\*\s*as\s+(\w+)/);i&&t.set(i[1],`*`);let a=e.replace(/\{[^}]*\}/,``).replace(/\*\s*as\s+\w+/,``);for(let e of a.split(`,`)){let n=e.trim();/^\w+$/.test(n)&&t.set(n,`default`)}}return t}function ds(e){let t=RegExp(`^[ \\t]*export\\s+(?:type\\s+)?(?:\\*(?:\\s+as\\s+\\w+)?|\\{[^}]*\\})\\s*from\\s*${ss}`,`gm`);return[...e.matchAll(t)].map(t=>H(e,t.index,`Import the name from ${os} where it is used; a file that only re-exports it adds nothing.`))}function fs(e,t){let n=[];if(t.size===0)return n;let r=`Import the name from ${os} where it is used instead of exporting it through this file.`;for(let i of e.matchAll(/^[ \t]*export\s*\{([^}]*)\}(?!\s*from)/gm))i[1].split(`,`).some(e=>t.has(e.trim().replace(/^type\s+/,``).split(/\s+as\s+/)[0]))&&n.push(H(e,i.index,r));for(let i of e.matchAll(/^[ \t]*export\s+default\s+(\w+)\s*;?[ \t]*$/gm))t.has(i[1])&&n.push(H(e,i.index,r));return n}function ps(e,t,n,r){if(!/\.(jsx|tsx)$/.test(e))return[];let i=ls(t);if(/\buse[A-Z]\w*\s*[(<]/.test(i)||/\b(if|switch)\s*\(/.test(i)||[...i.matchAll(/\breturn\b/g)].length>1)return[];let a=i.match(/(?:\breturn|=>)\s*\(?\s*<([A-Za-z][\w.]*)/);if(!a)return[];let o=a[1],s=r.get(o);return!s||s===`*`||!n.has(s)||[...i.matchAll(/<([A-Za-z][\w.]*)/g)].length!==1||/[?]|&&|\|\|/.test(i.slice(a.index))?[]:[H(t,a.index,`Import ${s} from ${os} and use it where this component is used instead of a wrapper.`)]}function ms(e,t){let n=e.split(/[\\/]/).pop();if(!n.startsWith(`_`)||!n.endsWith(`.cshtml`))return[];let r=t.replace(/@\*[\s\S]*?\*@/g,V).replace(/<!--[\s\S]*?-->/g,V).replace(/^[ \t]*@(?:model|using)\b[^\n]*/gm,V),i=r.search(/\S/);if(i<0)return[];let a=r.slice(i).trimEnd(),o=a.match(/^<(app-[a-z0-9-]+)/);return!o||!a.endsWith(`/>`)&&!a.endsWith(`</${o[1]}>`)||(a.match(/<[A-Za-z]/g)||[]).length!==1?[]:[H(t,i,`Render the <${o[1]}> tag directly where the partial is used instead of a partial that only renders it.`)]}function hs(e,t,n,r){let i=[];for(let[a,o]of r){if(a===o||!n.has(o))continue;let r=RegExp(`\\b(?:function|class|const|let|var)\\s+${o}\\b`).exec(e);r&&i.push(H(t,r.index,`Declares ${o} over the library's ${o}; use the library component and its props, or give the product component its own name.`,cs))}return i}function gs(e,t,n){let r=us(t);return[...ds(t),...fs(t,r),...ps(e,t,n,r),...ms(e,t),.../\.(jsx|tsx)$/.test(e)?hs(ls(t),t,n,r):[]]}var _s=()=>new Set(Lo),vs=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`];function ys(e,t,n,i,a){let o=/* @__PURE__ */ new Set;for(let s of k(O(e,t))){if(s.kind!==`import`||s.imported.length===0)continue;let c=xo(t,s.specifier,i);if(c===null)continue;let l=`${n}:${c}`;a.has(l)||a.set(l,Ja(r(d(e,c),`utf8`),{phone:n}));let u=a.get(l);for(let{name:e,local:t}of s.imported)u.has(e)&&o.add(t)}return o}var bs=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`,`*.cshtml`];function xs(e){let n=[];for(let i of L(e,[`package.json`])){if(!t(d(e,i)))continue;let a;try{a=JSON.parse(r(d(e,i),`utf8`))}catch{continue}if(na(a)!==`mobile`)continue;let o=p.dirname(i);n.push(o===`.`?`src/`:`${o}/src/`)}return n}function Ss(e,n=null){let i=n?n.map(t=>Qi(e,t)):null,a=xs(e),o=e=>!i||i.some(t=>t===`.`||e===t||e.startsWith(`${t}/`)),s=L(e,Object.keys(be).map(e=>`*${e}`)).filter(n=>t(d(e,n))&&!je(n,e)&&o(n)),c=[],l=_s(),f=Ea(e),p=wa(e),m=null,h=/* @__PURE__ */ new Map;for(let n of s){let i=u(n).toLowerCase(),o=be[i],s=r(d(e,n),`utf8`),g=n.startsWith(`packages/`)||n.startsWith(`samples/`),_=f&&g,v=()=>_?[]:[...Wo(s,o),...gs(n,s,p)],y=[];if(o===`scss`||o===`css`||o===`markup`)y=sn(s,o),o!==`scss`&&o!==`css`||_||y.push(...Io(s,o,l)),o===`markup`&&y.push(...v(),...g?[]:No(s),...g?[]:rs(s,`markup`),...is(n,s));else if(o===`script`){let r=!g&&a.some(e=>n.startsWith(e)),o=Nn(s)||r;if(xe.includes(i)&&!o)continue;let c=[];if(!g){let i=r;m??=new Set(L(e,vs).filter(n=>t(d(e,n)))),c=Ya(s,{phone:i,keyedImports:s.includes(`.map(`)?ys(e,n,i,m,h):/* @__PURE__ */ new Set})}y=[...Pn(s,{phone:o,colourLiterals:r}),...c],r&&a.some(e=>n===`${e}assets/theme/settings.js`)&&(y=y.filter(e=>e.rule!==`raw-colour`)),(i===`.jsx`||i===`.tsx`)&&y.push(...v(),...is(n,s))}else o===`csharp`&&(g||(y=rs(s,`csharp`)));for(let e of y)c.push({id:`${e.rule}:${n}`,line:e.line,text:e.text,hint:e.hint})}let g=L(e,bs).filter(n=>t(d(e,n)));for(let t of yo(e,g)){let n=t.file.startsWith(`packages/`)||t.file.startsWith(`samples/`);o(t.file)&&!je(t.file,e)&&!n&&c.push({id:`${t.rule}:${t.file}`,line:t.line,text:t.text,hint:t.hint})}return c.sort((e,t)=>e.id<t.id?-1:e.id>t.id?1:e.line-t.line)}function Cs(e){let t={};for(let n of e)t[n.id]=(t[n.id]||0)+1;return t}var U=process.argv.slice(2),ws=/* @__PURE__ */ new Set([`--baseline-accept`,`--reason`,`--baseline-adopt`]),Ts=new Set(U.flatMap((e,t)=>ws.has(e)?[t+1]:[])),W=new Set(U.filter((e,t)=>e.startsWith(`--`)&&!Ts.has(t))),G=U.filter((e,t)=>!e.startsWith(`--`)&&!Ts.has(t)),Es=W.has(`--sync-hook`),Ds=e=>U.includes(e)?U[U.indexOf(e)+1]:void 0,Os=Ds(`--baseline-accept`),ks=Ds(`--reason`),As=Ds(`--baseline-adopt`)?.split(`,`).map(e=>e.trim()).filter(Boolean),js=e=>typeof e==`string`&&e.trim()!==``,K=e=>process.stdout.write(`${e}\n`),q=e=>process.stderr.write(`${e}\n`);W.has(`--json`)&&(console.log=(...e)=>console.error(...e));var Ms=/* @__PURE__ */ new Set([`--json`,`--offline`,`--baseline-init`,`--baseline-shrink`,`--baseline-accept`,`--reason`,`--sync-hook`,`--baseline-adopt`]),Ns=[...W].filter(e=>!Ms.has(e)),Ps=W.has(`--baseline-accept`),Fs=(Ps||W.has(`--reason`))&&!(js(Os)&&js(ks)),Is=Ps&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||Es||W.has(`--baseline-adopt`)),Ls=W.has(`--baseline-adopt`)&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||W.has(`--baseline-accept`)||Es);(Ns.length||W.has(`--baseline-init`)&&W.has(`--baseline-shrink`)||Es&&(W.size>1||G.length)||Fs||Is||Ls)&&(q(`repo-checks: unknown or conflicting options ${Ns.join(` `)}`.trim()),q(`usage: webority-repo-checks [--json] [--offline] [--baseline-init | --baseline-shrink] [--baseline-accept <folder> --reason <text>] [--baseline-adopt <rule,...>] [app folder ...]`),q(` webority-repo-checks --sync-hook`),process.exit(2));var J=ea(process.cwd());if(J||(q(`repo-checks: not inside a git repository.`),process.exit(2)),Es){let t=d(J,Fa);n(l(t),{recursive:!0}),s(t,at),e(t,493),K(`repo-checks: wrote ${t}`),process.exit(0)}var Rs=W.has(`--offline`);Rs&&q(`repo-checks: advisory rule skipped (--offline).`);var zs=La(J,G.length?G.map(e=>h(process.cwd(),e)):null,{advisories:!Rs}).sort((e,t)=>e.pkg===t.pkg?0:e.pkg<t.pkg?-1:1),Bs=zs.filter(e=>e.warning),Vs=zs.filter(e=>!e.warning),Hs=Vs.filter(e=>e.id.startsWith(`lint:`)),Us=Vs.filter(e=>!e.id.startsWith(`lint:`)),Ws=Ss(J,G.length?G.map(e=>h(process.cwd(),e)):null),Y={findings:Us.map(e=>ee(e.pkg,e.id)),counts:Cs(Ws)},Gs=new Map(Us.map(e=>[ee(e.pkg,e.id),e]));if(W.has(`--baseline-init`)){G.length&&(q(`repo-checks: --baseline-init reads the whole repository; run it without folder arguments.`),process.exit(2)),t(d(J,`.webority/baselines/repo-checks-baseline.json`))&&(q(`repo-checks: ${y} already exists. It only shrinks: fix a new finding, or run --baseline-shrink after fixing old ones.`),process.exit(2)),ae(J,oe(Y));let e=Object.keys(Y.counts).length;K(`repo-checks: recorded ${Us.length} finding(s) and ${e} counted file(s) (${Ws.length} code finding(s)) in ${y}.`),process.exit(0)}var X=(()=>{try{return te(J)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}})();if(W.has(`--baseline-shrink`)){G.length&&(q(`repo-checks: --baseline-shrink reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=le(X,Y);ae(J,ue(X,Y)),K(`repo-checks: dropped ${e.stale.length} fixed finding(s) and lowered ${e.fallen.length} count(s) in ${y}.`),process.exit(0)}if(Ps){G.length&&(q(`repo-checks: --baseline-accept reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=de(X,Y,Os,ks),t=new Set(X.findings),n=e.findings.filter(e=>!t.has(e)).length,r=Object.keys(e.counts).filter(t=>(X.counts[t]??0)<e.counts[t]).length;ae(J,e),K(`repo-checks: accepted ${n} finding(s) and ${r} count(s) under ${Os} (${ks}).`),process.exit(0)}if(W.has(`--baseline-adopt`)){G.length&&(q(`repo-checks: --baseline-adopt reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2)),As?.length||(q(`repo-checks: --baseline-adopt needs a comma-separated list of rule ids.`),process.exit(2));let e;try{e=se(X,Y,As)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}ae(J,e);let t=new Set(X.findings);for(let n of As){let r=e.findings.filter(e=>!t.has(e)&&S(e)[1].split(`:`)[0]===n).length,i=Object.keys(e.counts).filter(e=>!(e in X.counts)&&e.split(`:`)[0]===n).length;K(`repo-checks: adopted ${r} finding(s) and ${i} count(s) for ${n} in ${y}.`)}process.exit(0)}var Ks=new Set(G.map(e=>m(J,h(process.cwd(),e)).split(`\\`).join(`/`)||`.`)),qs=G.length?{pkgs:Ks,dirs:[...Ks]}:null,Z=le(ce(X??{version:2,findings:[],counts:{}},qs),Y),Js={"raw-measure":Me,"palette-read":Fe,"raw-colour":Ne,"root-font-size":Pe,"missing-canvas-key":Ie,"repeated-canvas-key":Le},Ys=e=>Js[e.slice(0,e.indexOf(`:`))],Q=[...Z.fresh.map(e=>Gs.get(e)),...Hs],Xs=Z.known.map(e=>Gs.get(e)),Zs=e=>[`${e.current} found, ${e.baseline} recorded.`,Ys(e.id)].filter(Boolean).join(` `),Qs=e=>Ii(e.id.split(`:`)[0]),$=Z.over.filter(Qs).map(e=>({pkg:`.`,id:e.id,message:Zs(e),lines:Ws.filter(t=>t.id===e.id).map(({line:e,text:t,hint:n})=>({line:e,text:t,hint:n}))})),$s=Z.over.filter(e=>!Qs(e)).map(e=>({pkg:`.`,id:e.id,message:Zs(e)})),ec=Z.within.map(e=>({pkg:`.`,id:e.id,message:`${e.current} found, ${e.baseline} recorded.`})),tc=[...Z.stale.map(S),...Z.fallen.map(e=>[`.`,e.id])],nc=[...Bs,...$s];if(W.has(`--json`)||(()=>{if(nc.length!==0){q(`repo-checks: ${nc.length} warning(s), not enforced yet. Name a rule in REPO_CHECKS_ENFORCE (comma list, or all) to fail on it:`);for(let e of nc)q(` - ${e.pkg} ${e.id}: ${e.message}`)}})(),W.has(`--json`)){let e={root:J,new:[...Q,...$],known:[...Xs,...ec],stale:tc,warnings:nc.map(e=>({pkg:e.pkg,id:e.id,message:e.message}))};K(JSON.stringify(e,null,2)),process.exitCode=Q.length||$.length?1:0}else if(Q.length||$.length){if(Q.length){q(`repo-checks: ${Q.length} new finding(s)`);let e=null;for(let t of Q)t.pkg!==e&&(e=t.pkg,q(` ${e}`)),q(` - ${t.id}: ${t.message}`)}if($.length){q(`repo-checks: ${$.length} file(s) above their recorded count`);for(let e of $){q(` ${e.id}: ${e.message}`);for(let t of e.lines)q(` ${t.line}: ${t.text}`),t.hint!==null&&q(` ${t.hint}`)}}process.exitCode=1}else{if(K(`repo-checks: no new findings.`),Xs.length||ec.length){let e=Z.within.reduce((e,t)=>e+t.current,0);K(`repo-checks: ${Xs.length} known finding(s) and ${e} counted code finding(s) in ${ec.length} file(s) recorded in ${y}.`)}if(Z.stale.length){K(`repo-checks: ${Z.stale.length} baseline entr${Z.stale.length===1?`y is`:`ies are`} fixed; drop them with webority-repo-checks --baseline-shrink:`);for(let e of Z.stale.map(S))K(` ${e[0]} ${e[1]}`)}if(Z.fallen.length){K(`repo-checks: ${Z.fallen.length} count(s) fell; record them with webority-repo-checks --baseline-shrink:`);for(let e of Z.fallen)K(` ${e.id} ${e.baseline} -> ${e.current}`)}}export{};
|