@webority/repo-checks 0.169.1 → 0.170.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,7 @@ fi
68
68
  `}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 Rt=`@webority/web-core`,zt=Object.freeze((/* @__PURE__ */ `Logger.configureLogger.setRemoteLogger.extractApiError.apiErrorMessage.isApiError.ErrorBoundary.injectStore.createRootReducer.errorToastMiddleware.lazyWithReload.importWithReload.useVersionCheck.withCrossTabRefreshLock.refreshAccessToken.attachRetry.isRetryableStatus.decodeJWT.isJWTExpired.getJWTExpiry.hasPermission.isGstin.normalizeGstin.gstinState.gstinStateCode.isPan.normalizePan.maskPan.isIfsc.normalizeIfsc`.split(`.`)).map(e=>[e,Rt])),Bt=new Map(zt),Vt=/* @__PURE__ */ new Set([`node_modules`,`build`,`dist`]),Ht=/* @__PURE__ */ new Set([`.ts`,`.tsx`,`.js`,`.jsx`,`.mjs`]),Ut=/\.(?:test|spec)\./,Wt=/^export\s+(?:default\s+)?(?:async\s+)?(?:function\*?|const|let|var|class)\s+([A-Za-z_$][\w$]*)/gm,Gt=/^export\s*\{([^}]*)\}\s*;?\s*$/gm,Kt=/^\s*(?:\/\/|\/\*|\*)/,qt=e=>Ht.has(u(e))&&!e.endsWith(`.d.ts`)&&!Ut.test(e);function Jt(e,t){for(let n of i(e,{withFileTypes:!0})){let r=d(e,n.name);n.isDirectory()?Vt.has(n.name)||Jt(r,t):n.isFile()&&qt(n.name)&&t.push(r)}return t}var Yt=e=>e.split(`
69
69
  `).map(e=>Kt.test(e)?``:e).join(`
70
70
  `);function Xt(e){let t=[];for(let n of e.split(`,`)){let e=n.trim().replace(/^type\s+/,``).split(/\s+as\s+/).at(-1)??``;e!==``&&t.push(e)}return t}function Zt(e){let t=[];for(let n of e.matchAll(Wt))n[1]!==void 0&&t.push(n[1]);for(let n of e.matchAll(Gt))t.push(...Xt(n[1]??``));return t}var Qt=(e,t)=>e<t?-1:Number(e>t);function $t(e){let n=d(e,`src`);if(!t(n))return[];let i=[];for(let t of Jt(n,[])){let n=m(e,t).split(g).join(`/`),a=Yt(r(t,`utf8`));for(let e of new Set(Zt(a))){let t=Bt.get(e);t!==void 0&&i.push({rel:n,name:e,pkg:t})}}return i.sort((e,t)=>Qt(e.rel,t.rel)||Qt(e.name,t.name)),i.map(({rel:e,name:t,pkg:n})=>[`library-copy:${e}:${t}`,`${e} declares ${t}, which ${n} exports. Import it from ${n} and delete the local copy.`])}var en=/* @__PURE__ */ new Set([`error`,`warning`,`fatal`]),tn=[{rule:`deprecated-import`,category:`lint/suspicious/noDeprecatedImports`},{rule:`react-string-ref`,category:`lint/suspicious/noReactStringRefs`},{rule:`legacy-component-props`,category:`plugin`,messages:[`defaultProps on a function component was removed`,`propTypes was removed in React 19`]},{rule:`legacy-react-test-api`,category:`plugin`,messages:[`react-test-renderer is deprecated in React 19`,`act from react-dom/test-utils was removed in React 19`]},{rule:`navigation-shim`,category:`plugin`,messages:[`navigateDeprecated is a React Navigation 7 migration shim`,`navigationInChildEnabled is a React Navigation 7 migration shim`,`The independent prop was removed in React Navigation 7`]},{rule:`legacy-node-sqlite`,category:`plugin`,messages:[`DatabaseSync from node:sqlite is deprecated`,`StatementSync from node:sqlite is deprecated`]}];function nn(e,t){return tn.find(n=>n.category===e&&(n.messages===void 0||n.messages.some(e=>t.startsWith(e))))?.rule??null}function rn(e,t){if(t===null)return{plain:[],counted:[]};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=sn(n.stdout??``);if(r===null)return{plain:[[`lint:unreadable`,`Biome's report could not be read: ${String(n.stderr||n.stdout||``).slice(0,200)}`]],counted:[]};let i=/* @__PURE__ */ new Map,a=[];for(let e of r){if(!en.has(e.severity??``))continue;let t=(e.location?.path??`(config)`).replaceAll(`\\`,`/`),n=e.location?.start?.line,r=typeof n==`number`&&n>0?n:0,o=e.category??``,s=an(e.message),c=nn(o,s);if(c!==null){a.push({rule:c,path:t,line:r,text:`${o}: ${s}`});continue}let l=`${r>0?`${t}:${r}`:t} ${e.category}: ${String(e.message)}`,u=i.get(t)??[];u.push(l),i.set(t,u)}return{plain:[...i].map(([e,t])=>[`lint:${e}`,t.join(`
71
- `)]),counted:a}}function an(e){return Array.isArray(e)&&e.every(on)?e.map(e=>e.content).join(``):String(e)}function on(e){return typeof e==`object`&&!!e&&`content`in e&&typeof e.content==`string`}function sn(e){let t;try{t=JSON.parse(e)}catch{return null}return typeof t!=`object`||!t||!(`diagnostics`in t)?null:Array.isArray(t.diagnostics)?t.diagnostics:null}var cn=`metro-bridge`,ln=`This app does not expose the Metro development bridge. In App.js or App.tsx, or a module it 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).`,un=/import\s*\{[^}]*\bcreateMetroBridge\b[^}]*\}\s*from\s*["']@webority\/mobile-core\/metro["']/,dn=/globalThis\.__METRO_BRIDGE__\s*=\s*createMetroBridge\s*\(/,fn=[`App.js`,`App.jsx`,`App.ts`,`App.tsx`,d(`src`,`App.js`),d(`src`,`App.jsx`),d(`src`,`App.ts`),d(`src`,`App.tsx`)],pn=[`index.js`,`index.ts`,`index.tsx`,`index.jsx`],mn=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.ts`,`.tsx`]),hn=/* @__PURE__ */ new Set([`node_modules`,`ios`,`android`,`build`,`dist`,`coverage`,`vendor`]),gn=e=>e.split(`\\`).join(`/`);function _n(e){return t(e)?r(e,`utf8`):``}function vn(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`))}catch{return null}}var yn=/if\s*\(\s*__DEV__\s*\)\s*\{/g;function bn(e,t){for(let n of e.matchAll(yn)){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 xn(e){if(!e.includes(`__METRO_BRIDGE__`))return!1;let t=ge(e);if(!un.test(t))return!1;let n=dn.exec(t);return n!==null&&bn(t,n.index)}function*Sn(e){for(let t of i(e,{withFileTypes:!0})){if(t.name.startsWith(`.`))continue;let n=d(e,t.name);t.isDirectory()?hn.has(t.name)||(yield*Sn(n)):mn.has(u(t.name))&&(yield n)}}function Cn(e){return pn.find(n=>t(d(e,n)))??`index.js`}function wn(e){let n=vn(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:Cn(e),i=gn(m(e,d(e,r)));if([d(e,r),...fn.map(t=>d(e,t))].some(e=>xn(_n(e))))return[];for(let t of Sn(e))if(xn(_n(t)))return[];return[[`${cn}:${i}`,`${i}:1 ${ln}`]]}var Tn=[...Ve].sort((e,t)=>t.length-e.length).join(`|`),En=RegExp(`(?<![\\w$@.#-])(${Tn})\\s*:(?!:)([^;{}"]*)`,`gi`),Dn=`read a motion token: var(--wui-duration-fast|default|slow) and var(--wui-ease-out|in-out|ui|elastic|linear)`,On=/(?<![\w.#$@-])(\d+(?:\.\d+)?|\.\d+)(ms|s)(?![\w-])/g,kn=/(?<![\w$@.#-])(?:ease|ease-in|ease-out|ease-in-out|linear)(?![\w-])/,An=/\b(?:cubic-bezier|linear)\(/;function jn(e,t){let n=t.replace(/!important/gi,``);for(let e=``;e!==n;)e=n,n=n.replace(/var\([^()]*\)/gi,`var()`);if(n=n.replace(/\$[\w-]+/g,`$v`).replace(/#\{[^}]*\}/g,``).toLowerCase(),e===`transition`||e===`animation`){if(Mn(n))return!0}else for(let e of n.matchAll(On))if(parseFloat(e[1]??``)>0)return!0;return kn.test(n)||An.test(n)}function Mn(e){for(let t of Nn(e,`,`)){let e=0,n=!1;for(let r of Nn(t,` `))if(r===`var()`)n=!0;else if(/^(?:\d+(?:\.\d+)?|\.\d+)(?:ms|s)$/.test(r)&&(e+=1,!(n||e===2)&&parseFloat(r)>0))return!0}return!1}function Nn(e,t){let n=[],r=0,i=0;for(let a=0;a<e.length;a+=1){let o=e.charAt(a);o===`(`?r+=1:o===`)`?--r:r===0&&(t===`,`?o===`,`:/\s/.test(o))&&(n.push(e.slice(i,a)),i=a+1)}return n.push(e.slice(i)),n.map(e=>e.trim()).filter(e=>e!==``)}function Pn(e,t){let n=[];for(let r of e.matchAll(En))jn((r[1]??``).toLowerCase(),r[2]??``)&&n.push({rule:`raw-motion`,...t(r.index),hint:Dn});return n}var Fn={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-inverse-wash-4":{"$value":"color-mix(in srgb, {color.text-inverse} 4%, transparent)","$description":"Faintest translucent wash over an inverse band, for a resting tile or row.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-wash-8":{"$value":"color-mix(in srgb, {color.text-inverse} 8%, transparent)","$description":"Light translucent wash over an inverse band, for a hovered tile or row.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-wash-12":{"$value":"color-mix(in srgb, {color.text-inverse} 12%, transparent)","$description":"Medium translucent wash over an inverse band, for a selected or pressed tile or row.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-wash-24":{"$value":"color-mix(in srgb, {color.text-inverse} 24%, transparent)","$description":"Strong translucent wash over an inverse band, for a divider or a filled chip.","$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."},"surface-ink":{"$value":"#0B0E16","$description":"Neutral near-black band, darker than surface-dark, that stays the same in light and dark mode, such as a footer or a contents box."},"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."},"link-hover":{"$value":"{color.primary-hover}","$description":"Link text while it is hovered.","$extensions":{"com.webority":{"platforms":["web"]}}},"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."},"focus-ring-soft":{"$value":"color-mix(in srgb, {color.focus-ring} 25%, transparent)","$description":"Translucent step of the focus ring colour, for a soft halo around a focused field.","$extensions":{"com.webority":{"platforms":["web"]}}},"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."},"offline-fill":{"$value":"{palette.danger}","$description":"Fill of the offline network banner: the source red, not the contrast-darkened danger fill."},"online-fill":{"$value":"{palette.success}","$description":"Fill of the back-online network banner: the source green, not the contrast-darkened success fill."},"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"]}}},"switch-thumb":{"$value":"{palette.phone-thumb}","$description":"Knob of an on/off switch, white in both modes.","$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"]}}},"shell-bg":{"$value":"#1f2d5c","$description":"Dark navigation shell background, the sidebar behind the nav items and the workspace switcher.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-bg-deep":{"$value":"#141e42","$description":"Deepest shell tone, the ink on an accent mark or an avatar in the shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-bg-raised":{"$value":"#2c3f7a","$description":"Raised shell band, the fill of the active page row inside an open group.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-text":{"$value":"#c9d1e6","$description":"Body text and nav item labels on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-text-strong":{"$value":"#FFFFFF","$description":"Emphasis text on the dark shell: the brand name, hovered and open rows, the switcher label.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-text-muted":{"$value":"#8792b4","$description":"Quiet text on the dark shell: group labels, nav icons, carets and the sidebar toggle.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-accent":{"$value":"#f4a261","$description":"Warm accent on the dark shell that marks where the user is: the active icon, the open group's guide line, the focus outline and the avatar.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-accent-ring":{"$value":"color-mix(in srgb, #f4a261 25%, transparent)","$description":"Translucent accent halo on the dark shell, for a selection or focus ring.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-hover":{"$value":"color-mix(in srgb, #FFFFFF 7%, transparent)","$description":"Hover fill for a nav row or the sidebar toggle on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-active":{"$value":"color-mix(in srgb, #FFFFFF 12%, transparent)","$description":"Fill of the active nav row on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-rule":{"$value":"color-mix(in srgb, #FFFFFF 10%, transparent)","$description":"Hairline divider between shell groups and under the shell brand.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-fill-subtle":{"$value":"color-mix(in srgb, #FFFFFF 8%, transparent)","$description":"Faint translucent fill on the dark shell, for the open group band and the workspace switcher pill.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-fill":{"$value":"color-mix(in srgb, #FFFFFF 12%, transparent)","$description":"Translucent fill for a badge and a focused or open switcher on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-fill-strong":{"$value":"color-mix(in srgb, #FFFFFF 18%, transparent)","$description":"Strongest translucent fill on the dark shell, for a control that is held.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-border":{"$value":"color-mix(in srgb, #FFFFFF 22%, transparent)","$description":"Border of a control on the dark shell, shown on hover.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-border-strong":{"$value":"color-mix(in srgb, #FFFFFF 40%, transparent)","$description":"Border of a focused or open control on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}}}`),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.`},"ai-violet":{$type:`color`,$value:`#7C3AED`,$description:`Violet accent of AI assistant surfaces.`},"ai-cyan":{$type:`color`,$value:`#0E9BD6`,$description:`Cyan accent of AI assistant surfaces.`},"ai-green":{$type:`color`,$value:`#12B886`,$description:`Green accent of AI assistant surfaces.`},"ai-sweep":{$type:`gradient`,$value:`var(--color-primary), var(--wui-ai-violet), var(--wui-ai-cyan), var(--wui-ai-green), var(--color-primary)`,$description:`Stop list of the AI assistant sweep, for conic-gradient(from <angle>, var(--wui-ai-sweep)).`},"progress-gradient-ok":{$type:`gradient`,$value:`linear-gradient(90deg, var(--color-success), var(--color-chart-3))`,$description:`Fill of a progress bar inside its limit.`},"progress-gradient-warn":{$type:`gradient`,$value:`linear-gradient(90deg, var(--color-warning), var(--color-danger))`,$description:`Fill of a progress bar at or over its limit.`},$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.`},prose:{$value:1.7,$description:`Line height of long reading text such as articles, help pages and legal text, at the base or lg text size in a measure of about 60 to 75 characters.`,$extensions:{"com.webority":{platforms:[`web`]}}},lead:{$value:1.6,$description:`Line height of the single larger opening paragraph under a page title.`,$extensions:{"com.webority":{platforms:[`web`]}}}}},In={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}`},"link-hover":{$value:`{color.primary-hover}`},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)`},"offline-fill":{$value:`{palette.danger}`},"online-fill":{$value:`{palette.success}`},"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%)`},"ai-violet":{$value:`{palette.dark-ai-violet}`}},shadow:{elevated:{$value:{color:`rgba(0, 0, 0, 0.45)`,offsetX:{value:0,unit:`px`},offsetY:{value:2,unit:`px`},blur:{value:8,unit:`px`},spread:{value:-2,unit:`px`}}},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)`}}}},Ln={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":"#3d4554","$description":"Dark hairline border of cards, tables and dividers."},"dark-border-strong":{"$type":"color","$value":"#515b6e","$description":"Stronger dark border for emphasised separators."},"dark-field-border":{"$type":"color","$value":"#3d4554","$description":"Resting border of input-like controls in dark mode."},"dark-field-border-hover":{"$type":"color","$value":"#515b6e","$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":"#aeaaf5","$description":"Primary as text, rings, focus borders and the fill under dark ink in dark mode."},"dark-primary-hover":{"$type":"color","$value":"#c3c0f8","$description":"Primary fill while it is hovered in dark mode."},"dark-ai-violet":{"$type":"color","$value":"#A78BFA","$description":"Lighter violet accent of AI assistant surfaces 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":"#4F46E5","$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":"#4F46E5","$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":"#4F46E5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-hover":{"$type":"color","$value":"#4338CA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-soft":{"$type":"color","$value":"#E0E7FF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-text":{"$type":"color","$value":"#4F46E5","$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":"#3730A3","$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(79, 70, 229, 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":"#4F46E5","$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"]}}}}`)},Rn={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}`}},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}}},elevated:{$value:{color:`{palette.phone-shadow-md}`,offsetX:{value:0,unit:`px`},offsetY:{value:4,unit:`px`},blur:{value:8,unit:`px`},spread:{value:0,unit:`px`}}},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:{button:{sm:{radius:{$value:`{radius.md}`}},md:{radius:{$value:`{radius.md}`}},lg:{radius:{$value:`{radius.lg}`}},xl:{radius:{$value:`{radius.lg}`}}},field:{sm:{radius:{$value:`{radius.md}`}},md:{radius:{$value:`{radius.md}`}},lg:{radius:{$value:`{radius.md}`}}},disabled:{opacity:{$value:.55}},press:{opacity:{$value:.85}}}},zn=`no meaning uses this step; propose one on the Webority UI board (bootstrap-ui.md → Tokens)`,Bn=new Set(Object.keys(Ln.palette??{}).filter(e=>!e.startsWith(`$`))),Vn=/* @__PURE__ */ new Map,Hn=/^\{palette\.([a-z0-9-]+)\}$/;function Un(e){return typeof e==`object`&&!!e}var Wn=[Fn,In,Rn];for(let e of Wn){let t=Un(e)?e.color:void 0;if(Un(t))for(let[e,n]of Object.entries(t)){if(e.startsWith(`$`))continue;let t=Un(n)?n.$value:void 0;if(typeof t==`string`){let n=t.match(Hn);if(n){let t=n[1]??``,r=Vn.get(t);r||(r=/* @__PURE__ */ new Set,Vn.set(t,r)),r.add(e)}}}}function Gn(e){let t=Vn.get(e);return t?[...t].sort():[]}function Kn(e,t){let n=Gn(e);return n.length===0?zn: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 qn(e){return Object.hasOwn(We,e)}function Jn(e){return qn(e)?`read the meaning: var(--color-${We[e]})`:zn}function Yn(e){return e.startsWith(`dark-`)&&Bn.has(e)}function Xn(e){return`${Kn(e,`web`)} (the dark tier stays dark in light mode)`}var Zn=e=>e===`{`||e===`}`||e===`;`?` `:e;function T(e,t){if(t===`markup`)return Qn(e);let n=``,r=null,i=!1,a=!1;for(let o=0;o<e.length;o+=1){let s=e.charAt(o),c=e[o+1];if(a)s===`*`&&c===`/`?(a=!1,n+=` `,o+=1):n+=s===`
71
+ `)]),counted:a}}function an(e){return Array.isArray(e)&&e.every(on)?e.map(e=>e.content).join(``):String(e)}function on(e){return typeof e==`object`&&!!e&&`content`in e&&typeof e.content==`string`}function sn(e){let t;try{t=JSON.parse(e)}catch{return null}return typeof t!=`object`||!t||!(`diagnostics`in t)?null:Array.isArray(t.diagnostics)?t.diagnostics:null}var cn=`metro-bridge`,ln=`This app does not expose the Metro development bridge. In App.js or App.tsx, or a module it 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).`,un=/import\s*\{[^}]*\bcreateMetroBridge\b[^}]*\}\s*from\s*["']@webority\/mobile-core\/metro["']/,dn=/globalThis\.__METRO_BRIDGE__\s*=\s*createMetroBridge\s*\(/,fn=[`App.js`,`App.jsx`,`App.ts`,`App.tsx`,d(`src`,`App.js`),d(`src`,`App.jsx`),d(`src`,`App.ts`),d(`src`,`App.tsx`)],pn=[`index.js`,`index.ts`,`index.tsx`,`index.jsx`],mn=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.ts`,`.tsx`]),hn=/* @__PURE__ */ new Set([`node_modules`,`ios`,`android`,`build`,`dist`,`coverage`,`vendor`]),gn=e=>e.split(`\\`).join(`/`);function _n(e){return t(e)?r(e,`utf8`):``}function vn(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`))}catch{return null}}var yn=/if\s*\(\s*__DEV__\s*\)\s*\{/g;function bn(e,t){for(let n of e.matchAll(yn)){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 xn(e){if(!e.includes(`__METRO_BRIDGE__`))return!1;let t=ge(e);if(!un.test(t))return!1;let n=dn.exec(t);return n!==null&&bn(t,n.index)}function*Sn(e){for(let t of i(e,{withFileTypes:!0})){if(t.name.startsWith(`.`))continue;let n=d(e,t.name);t.isDirectory()?hn.has(t.name)||(yield*Sn(n)):mn.has(u(t.name))&&(yield n)}}function Cn(e){return pn.find(n=>t(d(e,n)))??`index.js`}function wn(e){let n=vn(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:Cn(e),i=gn(m(e,d(e,r)));if([d(e,r),...fn.map(t=>d(e,t))].some(e=>xn(_n(e))))return[];for(let t of Sn(e))if(xn(_n(t)))return[];return[[`${cn}:${i}`,`${i}:1 ${ln}`]]}var Tn=[...Ve].sort((e,t)=>t.length-e.length).join(`|`),En=RegExp(`(?<![\\w$@.#-])(${Tn})\\s*:(?!:)([^;{}"]*)`,`gi`),Dn=`read a motion token: var(--wui-duration-fast|default|slow) and var(--wui-ease-out|in-out|ui|elastic|linear)`,On=/(?<![\w.#$@-])(\d+(?:\.\d+)?|\.\d+)(ms|s)(?![\w-])/g,kn=/(?<![\w$@.#-])(?:ease|ease-in|ease-out|ease-in-out|linear)(?![\w-])/,An=/\b(?:cubic-bezier|linear)\(/;function jn(e,t){let n=t.replace(/!important/gi,``);for(let e=``;e!==n;)e=n,n=n.replace(/var\([^()]*\)/gi,`var()`);if(n=n.replace(/\$[\w-]+/g,`$v`).replace(/#\{[^}]*\}/g,``).toLowerCase(),e===`transition`||e===`animation`){if(Mn(n))return!0}else for(let e of n.matchAll(On))if(parseFloat(e[1]??``)>0)return!0;return kn.test(n)||An.test(n)}function Mn(e){for(let t of Nn(e,`,`)){let e=0,n=!1;for(let r of Nn(t,` `))if(r===`var()`)n=!0;else if(/^(?:\d+(?:\.\d+)?|\.\d+)(?:ms|s)$/.test(r)&&(e+=1,!(n||e===2)&&parseFloat(r)>0))return!0}return!1}function Nn(e,t){let n=[],r=0,i=0;for(let a=0;a<e.length;a+=1){let o=e.charAt(a);o===`(`?r+=1:o===`)`?--r:r===0&&(t===`,`?o===`,`:/\s/.test(o))&&(n.push(e.slice(i,a)),i=a+1)}return n.push(e.slice(i)),n.map(e=>e.trim()).filter(e=>e!==``)}function Pn(e,t){let n=[];for(let r of e.matchAll(En))jn((r[1]??``).toLowerCase(),r[2]??``)&&n.push({rule:`raw-motion`,...t(r.index),hint:Dn});return n}var Fn={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-inverse-wash-4":{"$value":"color-mix(in srgb, {color.text-inverse} 4%, transparent)","$description":"Faintest translucent wash over an inverse band, for a resting tile or row.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-wash-8":{"$value":"color-mix(in srgb, {color.text-inverse} 8%, transparent)","$description":"Light translucent wash over an inverse band, for a hovered tile or row.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-wash-12":{"$value":"color-mix(in srgb, {color.text-inverse} 12%, transparent)","$description":"Medium translucent wash over an inverse band, for a selected or pressed tile or row.","$extensions":{"com.webority":{"platforms":["web"]}}},"surface-inverse-wash-24":{"$value":"color-mix(in srgb, {color.text-inverse} 24%, transparent)","$description":"Strong translucent wash over an inverse band, for a divider or a filled chip.","$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."},"surface-ink":{"$value":"#0B0E16","$description":"Neutral near-black band, darker than surface-dark, that stays the same in light and dark mode, such as a footer or a contents box."},"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."},"link-hover":{"$value":"{color.primary-hover}","$description":"Link text while it is hovered.","$extensions":{"com.webority":{"platforms":["web"]}}},"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."},"focus-ring-soft":{"$value":"color-mix(in srgb, {color.focus-ring} 25%, transparent)","$description":"Translucent step of the focus ring colour, for a soft halo around a focused field.","$extensions":{"com.webority":{"platforms":["web"]}}},"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."},"offline-fill":{"$value":"{palette.danger}","$description":"Fill of the offline network banner: the source red, not the contrast-darkened danger fill."},"online-fill":{"$value":"{palette.success}","$description":"Fill of the back-online network banner: the source green, not the contrast-darkened success fill."},"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"]}}},"switch-thumb":{"$value":"{palette.phone-thumb}","$description":"Knob of an on/off switch, white in both modes.","$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"]}}},"shell-bg":{"$value":"#1f2d5c","$description":"Dark navigation shell background, the sidebar behind the nav items and the workspace switcher.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-bg-deep":{"$value":"#141e42","$description":"Deepest shell tone, the ink on an accent mark or an avatar in the shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-bg-raised":{"$value":"#2c3f7a","$description":"Raised shell band, the fill of the active page row inside an open group.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-text":{"$value":"#c9d1e6","$description":"Body text and nav item labels on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-text-strong":{"$value":"#FFFFFF","$description":"Emphasis text on the dark shell: the brand name, hovered and open rows, the switcher label.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-text-muted":{"$value":"#8792b4","$description":"Quiet text on the dark shell: group labels, nav icons, carets and the sidebar toggle.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-accent":{"$value":"#f4a261","$description":"Warm accent on the dark shell that marks where the user is: the active icon, the open group's guide line, the focus outline and the avatar.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-accent-ring":{"$value":"color-mix(in srgb, #f4a261 25%, transparent)","$description":"Translucent accent halo on the dark shell, for a selection or focus ring.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-hover":{"$value":"color-mix(in srgb, #FFFFFF 7%, transparent)","$description":"Hover fill for a nav row or the sidebar toggle on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-active":{"$value":"color-mix(in srgb, #FFFFFF 12%, transparent)","$description":"Fill of the active nav row on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-rule":{"$value":"color-mix(in srgb, #FFFFFF 10%, transparent)","$description":"Hairline divider between shell groups and under the shell brand.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-fill-subtle":{"$value":"color-mix(in srgb, #FFFFFF 8%, transparent)","$description":"Faint translucent fill on the dark shell, for the open group band and the workspace switcher pill.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-fill":{"$value":"color-mix(in srgb, #FFFFFF 12%, transparent)","$description":"Translucent fill for a badge and a focused or open switcher on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-fill-strong":{"$value":"color-mix(in srgb, #FFFFFF 18%, transparent)","$description":"Strongest translucent fill on the dark shell, for a control that is held.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-border":{"$value":"color-mix(in srgb, #FFFFFF 22%, transparent)","$description":"Border of a control on the dark shell, shown on hover.","$extensions":{"com.webority":{"platforms":["web"]}}},"shell-border-strong":{"$value":"color-mix(in srgb, #FFFFFF 40%, transparent)","$description":"Border of a focused or open control on the dark shell.","$extensions":{"com.webority":{"platforms":["web"]}}}}`),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.`},"ai-violet":{$type:`color`,$value:`#7C3AED`,$description:`Violet accent of AI assistant surfaces.`},"ai-cyan":{$type:`color`,$value:`#0E9BD6`,$description:`Cyan accent of AI assistant surfaces.`},"ai-green":{$type:`color`,$value:`#12B886`,$description:`Green accent of AI assistant surfaces.`},"ai-sweep":{$type:`gradient`,$value:`var(--color-primary), var(--wui-ai-violet), var(--wui-ai-cyan), var(--wui-ai-green), var(--color-primary)`,$description:`Stop list of the AI assistant sweep, for conic-gradient(from <angle>, var(--wui-ai-sweep)).`},"progress-gradient-ok":{$type:`gradient`,$value:`linear-gradient(90deg, var(--color-success), var(--color-chart-3))`,$description:`Fill of a progress bar inside its limit.`},"progress-gradient-warn":{$type:`gradient`,$value:`linear-gradient(90deg, var(--color-warning), var(--color-danger))`,$description:`Fill of a progress bar at or over its limit.`},$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.`},prose:{$value:1.7,$description:`Line height of long reading text such as articles, help pages and legal text, at the base or lg text size in a measure of about 60 to 75 characters.`,$extensions:{"com.webority":{platforms:[`web`]}}},lead:{$value:1.6,$description:`Line height of the single larger opening paragraph under a page title.`,$extensions:{"com.webority":{platforms:[`web`]}}}}},In={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}`},"link-hover":{$value:`{color.primary-hover}`},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)`},"offline-fill":{$value:`{palette.danger}`},"online-fill":{$value:`{palette.success}`},"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%)`},"ai-violet":{$value:`{palette.dark-ai-violet}`}},shadow:{elevated:{$value:{color:`rgba(0, 0, 0, 0.45)`,offsetX:{value:0,unit:`px`},offsetY:{value:2,unit:`px`},blur:{value:8,unit:`px`},spread:{value:-2,unit:`px`}}},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)`}}}},Ln={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":"#0A7979","$description":"Colour of chart series 2 of the eight categorical series."},"chart-3":{"$type":"color","$value":"#7C3AED","$description":"Colour of chart series 3 of the eight categorical series."},"chart-4":{"$type":"color","$value":"#2462EB","$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":"#4B5675","$description":"Colour of chart series 6 of the eight categorical series."},"chart-7":{"$type":"color","$value":"#818CF8","$description":"Colour of chart series 7 of the eight categorical series."},"chart-8":{"$type":"color","$value":"#A78BFA","$description":"Colour of chart series 8 of the eight categorical series."},"chart-rise":{"$type":"color","$value":"{palette.success}","$description":"Colour of a waterfall bar that rises: a status colour, used by meaning only."},"chart-fall":{"$type":"color","$value":"{palette.danger}","$description":"Colour of a waterfall bar that falls: a status colour, used by meaning only."},"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":"#3d4554","$description":"Dark hairline border of cards, tables and dividers."},"dark-border-strong":{"$type":"color","$value":"#515b6e","$description":"Stronger dark border for emphasised separators."},"dark-field-border":{"$type":"color","$value":"#3d4554","$description":"Resting border of input-like controls in dark mode."},"dark-field-border-hover":{"$type":"color","$value":"#515b6e","$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":"#aeaaf5","$description":"Primary as text, rings, focus borders and the fill under dark ink in dark mode."},"dark-primary-hover":{"$type":"color","$value":"#c3c0f8","$description":"Primary fill while it is hovered in dark mode."},"dark-ai-violet":{"$type":"color","$value":"#A78BFA","$description":"Lighter violet accent of AI assistant surfaces in dark mode."},"dark-chart-2":{"$type":"color","$value":"#0A7979","$description":"Dark-mode colour of chart series 2 of the categorical set."},"dark-chart-3":{"$type":"color","$value":"#A78BFA","$description":"Dark-mode colour of chart series 3 of the categorical set."},"dark-chart-4":{"$type":"color","$value":"#3987e5","$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":"#8a90a0","$description":"Dark-mode colour of chart series 6 of the categorical set."},"dark-chart-7":{"$type":"color","$value":"#7a90ef","$description":"Dark-mode colour of chart series 7 of the categorical set."},"dark-chart-8":{"$type":"color","$value":"#8DC2FF","$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":"#4F46E5","$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":"#4F46E5","$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":"#4F46E5","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-hover":{"$type":"color","$value":"#4338CA","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-soft":{"$type":"color","$value":"#E0E7FF","$extensions":{"com.webority":{"platforms":["phone"]}}},"phone-primary-text":{"$type":"color","$value":"#4F46E5","$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":"#3730A3","$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(79, 70, 229, 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":"#4F46E5","$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"]}}}}`)},Rn={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}`}},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}}},elevated:{$value:{color:`{palette.phone-shadow-md}`,offsetX:{value:0,unit:`px`},offsetY:{value:4,unit:`px`},blur:{value:8,unit:`px`},spread:{value:0,unit:`px`}}},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:{button:{sm:{radius:{$value:`{radius.md}`}},md:{radius:{$value:`{radius.md}`}},lg:{radius:{$value:`{radius.lg}`}},xl:{radius:{$value:`{radius.lg}`}}},field:{sm:{radius:{$value:`{radius.md}`}},md:{radius:{$value:`{radius.md}`}},lg:{radius:{$value:`{radius.md}`}}},disabled:{opacity:{$value:.55}},press:{opacity:{$value:.85}}}},zn=`no meaning uses this step; propose one on the Webority UI board (bootstrap-ui.md → Tokens)`,Bn=new Set(Object.keys(Ln.palette??{}).filter(e=>!e.startsWith(`$`))),Vn=/* @__PURE__ */ new Map,Hn=/^\{palette\.([a-z0-9-]+)\}$/;function Un(e){return typeof e==`object`&&!!e}var Wn=[Fn,In,Rn];for(let e of Wn){let t=Un(e)?e.color:void 0;if(Un(t))for(let[e,n]of Object.entries(t)){if(e.startsWith(`$`))continue;let t=Un(n)?n.$value:void 0;if(typeof t==`string`){let n=t.match(Hn);if(n){let t=n[1]??``,r=Vn.get(t);r||(r=/* @__PURE__ */ new Set,Vn.set(t,r)),r.add(e)}}}}function Gn(e){let t=Vn.get(e);return t?[...t].sort():[]}function Kn(e,t){let n=Gn(e);return n.length===0?zn: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 qn(e){return Object.hasOwn(We,e)}function Jn(e){return qn(e)?`read the meaning: var(--color-${We[e]})`:zn}function Yn(e){return e.startsWith(`dark-`)&&Bn.has(e)}function Xn(e){return`${Kn(e,`web`)} (the dark tier stays dark in light mode)`}var Zn=e=>e===`{`||e===`}`||e===`;`?` `:e;function T(e,t){if(t===`markup`)return Qn(e);let n=``,r=null,i=!1,a=!1;for(let o=0;o<e.length;o+=1){let s=e.charAt(o),c=e[o+1];if(a)s===`*`&&c===`/`?(a=!1,n+=` `,o+=1):n+=s===`
72
72
  `?s:` `;else if(r)s===`\\`&&c!==void 0?(n+=`${Zn(s)}${Zn(c)}`,o+=1):(s===r&&(r=null),n+=Zn(s));else if(s===`"`||s===`'`)r=s,n+=s;else if(i)s===`)`&&(i=!1),n+=Zn(s);else if(s===`/`&&c===`*`)a=!0,n+=` `,o+=1;else if(t===`scss`&&s===`/`&&c===`/`){let t=e.indexOf(`
73
73
  `,o);if(t===-1)break;o=t-1}else s===`(`&&n.slice(-3).toLowerCase()===`url`&&(i=!0),n+=s}return n}function Qn(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.charAt(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]===`
74
74
  `?`
@@ -92,7 +92,7 @@ fi
92
92
  `).length}var Ba=/^MainActivity\.(?:kt|java)$/,Va=/\bsuper\.onCreate\(\s*(?!null\s*\))[^)]*\)/;function Ha(e){let n=d(e,`android`,`app`,`src`);if(!t(n))return[];let i=[];for(let t of Ia(n,Fa)){if(!Ba.test(c(t)))continue;let n=Ra(Ra(r(t,`utf8`),/\/\*[\s\S]*?\*\//g),/\/\/[^\n]*/g),a=Va.exec(n);if(!a)continue;let o=La(m(e,t));i.push([`rn-mainactivity-oncreate-bundle:${o}`,`${o}:${za(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 Ua=/EXPO_UPDATE_URL"[^>]*?\/(Staging|Development)"/,Wa=/<key>EXPO_UPDATE_URL<\/key>\s*<string>[^<]*\/(Staging|Development)<\/string>/,Ga=/^APP_ID=.*\.(staging|development)\s*$/m,Ka=/\/ota\/manifest\/\d+\/\d+\//;function qa(e){let n=[{file:d(e,`android`,`app`,`src`,`main`,`AndroidManifest.xml`),pattern:Ua,retired:!0},{file:d(e,`android`,`gradle.properties`),pattern:Ga,retired:!1}],r=d(e,`ios`);if(t(r))for(let e of Ia(r,Fa))c(e)===`Expo.plist`&&n.push({file:e,pattern:Wa,retired:!0});return n.filter(({file:e})=>t(e))}function Ja(e){let t=[];for(let{file:n,pattern:i,retired:a}of qa(e)){let o=La(m(e,n)),s=r(n,`utf8`),c=i.exec(s);if(c)t.push([`mobile-production-stamps:${o}`,`${o}:${za(s,c.index)} carries ${c[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 ${c[1]} update feed or app id.`]);else{let e=a?Ka.exec(s):null;e&&t.push([`mobile-production-stamps:${o}`,`${o}:${za(s,e.index)} points over-the-air updates at the retired whole-number address. Set OTA_PROJECT_PUBLIC_ID and the platform's component public id in appsettings and run \`mobile-tools prebuild --env Production\` before committing.`])}}return t}var Ya=/^spa-host\..+\.json$/,Xa=/* @__PURE__ */ new Set([`web.config`,`staticwebapp.config.json`,`_headers`,`spa-host.json`]);function Za(e){let t=[];for(let n of Ia(e,/* @__PURE__ */ new Set([...Fa,`android`,`ios`]))){let i=c(n);if(!Xa.has(i)&&!Ya.test(i))continue;let a=Ra(r(n,`utf8`),/<!--[\s\S]*?-->/g).split(`
93
93
  `).findIndex(e=>/\bimmutable\b/i.test(e)&&/cache/i.test(e));if(a===-1)continue;let o=La(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 Qa=Object.freeze([`spa-host.json`,`spa-host.Development.json`,`spa-host.Staging.json`,`spa-host.Production.json`]),$a=Object.freeze([`vite.config.ts`,`vite.config.mts`,`vite.config.js`,`vite.config.mjs`,`vite.config.cjs`]),eo=/\.[cm]?js$/,to=/\btarget\s*:\s*(?:\[|["'](?:es\d|esnext|chrome|firefox|safari|edge|ios|node|modules|baseline))/;function no(e,t){let n=[e],r=e;for(;r!==t&&l(r)!==r;)r=l(r),n.push(r);return n}function ro(e,n){let i=[];no(e,n).some(e=>t(d(e,`.nvmrc`)))||i.push([`root-file:nvmrc`,`No .nvmrc in this folder or above it. react.md, Node: commit .nvmrc with the supported Node major.`]);for(let n of Qa)t(d(e,n))||i.push([`root-file:${n}`,`${n} is missing beside package.json. react.md, SPA deploy artifacts: a portal carries spa-host.json and one spa-host.<Environment>.json per environment, as the starter does.`]);let a=$a.find(n=>t(d(e,n)));if(a===void 0)return i;eo.test(a)&&i.push([`root-file:vite-config-ts`,`${a} is JavaScript. react.md, Language: rename it to vite.config.ts.`]);let o=r(d(e,a),`utf8`);return o.includes(`codeSplitting`)||i.push([`root-file:split-groups`,`${a} has no build.rolldownOptions.output.codeSplitting groups. react.md, Build: split the framework and the design system into their own $initial chunks, as the starter's vite.config.ts does.`]),to.test(o)&&i.push([`root-file:build-target`,`${a} sets a build target. react.md, Build: remove build.target and keep Vite's default.`]),i}var io=[[`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`]],ao=[[`@typescript-eslint/`,`react.md: Biome is the only lint and format tool`],[`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`]],oo=`bootstrap-ui.md: hard interactive components come from @webority/ui-react`,so=`react.md: Bootstrap 5.3.8 is the only UI framework`,co=`react.md: dates format through Intl and the web-core formatters`,lo=`react-native.md: retired; Intl and the mobile-core formatters`,uo={web:[...io,[`react-toastify`,`react.md: notifications are toast from @webority/ui-react`],[`downshift`,oo],[`react-day-picker`,oo],[`react-aria`,oo],[`react-aria-components`,oo],[`@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`,so],[`antd`,so],[`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`,co],[`moment-timezone`,co],[`dayjs`,co],[`date-fns`,co],[`react-router-dom`,`react.md: react-router 8 is one package; depend on react-router and import from "react-router" (react-router-dom was merged into it)`],[`react-test-renderer`,`react.md: React 19 deprecated the test renderer; test with @testing-library/react`]],desktop:[...io],mobile:[...io,[`react-native-permissions`,`react-native.md: retired; each Expo module requests its own permission`],[`moment`,lo],[`moment-timezone`,lo],[`dayjs`,lo],[`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`],[`react-test-renderer`,`react-native.md: React 19 deprecated the test renderer; test with test-renderer (the RNTL 14 renderer)`]],demo:[]},fo={web:[...ao,[`@mui/`,so],[`@chakra-ui/`,so],[`@emotion/`,`react.md: no CSS-in-JS`],[`@radix-ui/`,oo],[`@react-aria/`,oo]],mobile:[...ao],desktop:[...ao],demo:[]},po={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`]],desktop:[],demo:[]},mo={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.8 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`]],desktop:[],demo:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`]]},ho=[`agentation`],go=[[`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`]],_o=[[`web-import-axios-types`,/\b(?:import|export)\s+type\s[^;]*?\bfrom\s*["']axios(?:\/[^"']*)?["']/,`imports types from axios`,`react.md: import AxiosError, AxiosInstance, AxiosRequestConfig and AxiosResponse from @webority/web-core`]],vo=[[`@webority/theme`,`@webority/ui-react`,`@webority/support-react`,`@webority/web-core`,`@webority/biome-config`,`@webority/repo-checks`],[`@webority/mobile-core`,`@webority/mobile-ui`,`@webority/mobile-support`,`@webority/mobile-tools`]],yo=`@webority/biome-config/biome.jsonc`,bo=`@webority/biome-config/biome.phone.jsonc`,P=`@webority/biome-config`,xo={react:[`Children`,`Fragment`,`Profiler`,`StrictMode`,`Suspense`],"react/jsx-runtime":[`Fragment`]},So=/* @__PURE__ */ `AppAccordion.AppAccountSwitcher.AppActionIcon.AppAlert.AppAsyncBlock.AppAuthLayout.AppAvatar.AppAvatarGroup.AppBadge.AppBanner.AppBreadcrumbs.AppButton.AppButtonGroup.AppCalendar.AppCard.AppCarousel.AppCell.AppChart.AppChartCard.AppCheckbox.AppChip.AppChipGroup.AppChoiceCard.AppChoiceChip.AppCodeBlock.AppColorField.AppColumnMenu.AppCommandPalette.AppCommentThread.AppCompareTable.AppConfirmDialog.AppConsentBanner.AppContextMenu.AppCopyButton.AppCountryFlag.AppDashboardCell.AppDashboardGrid.AppDataTable.AppDatePicker.AppDateRangePicker.AppDescriptions.AppDetailPane.AppDrawer.AppDropZone.AppDropdown.AppDueDate.AppEmptyState.AppErrorBoundary.AppErrorSummary.AppFileAttachment.AppFilePicker.AppFileTiles.AppFileViewer.AppFilterBar.AppFloatingButton.AppFloatingDock.AppFormActions.AppFormRow.AppFormSection.AppGantt.AppHoverCard.AppIcon.AppIdleTimeoutDialog.AppImagePicker.AppInfoTip.AppInlineEdit.AppInput.AppInputGroup.AppKanban.AppKbd.AppKpiTile.AppLeadPopup.AppLightbox.AppLink.AppLoadMore.AppMarkdown.AppMentionInput.AppMeter.AppMetricStrip.AppModal.AppNavList.AppNavigationMenu.AppNotificationCenter.AppNumberInput.AppOnboardingChecklist.AppOrgTree.AppOtpInput.AppPageHeader.AppPhoneNumberInput.AppPopover.AppPricingCard.AppProgress.AppQrCode.AppQueryBuilder.AppRadio.AppRadioGroup.AppRating.AppRecordPager.AppRelativeTime.AppRepeater.AppRequiredMark.AppResourceCard.AppResult.AppRichText.AppRouteError.AppRowActions.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.AppTextarea.AppThemeToggle.AppTimePicker.AppTimeline.AppToast.AppToolbar.AppTooltip.AppTour.AppTransferList.AppTreePicker.AppTreeView.AppTruncate.AppUpdateBar.AppWhatsNew.AppWizard.AppWorkspaceSwitcher`.split(`.`),Co=[`lint`,`rn-mainactivity-oncreate-bundle`,`spa-host-immutable-assets`,`oversize`,`advisory`,`endpoint-name`,`api-call`,`api-thunk`,`build-typecheck`,`library-copy`,`mobile-library-pin`,`root-file`,`web-folder`,`web-import-axios-types`,`tracking-plan`,`deprecated-import`,`react-string-ref`,`legacy-component-props`,`legacy-react-test-api`,`navigation-shim`,`legacy-node-sqlite`];function wo(e,t=process.env){let n=String(t.REPO_CHECKS_ENFORCE??``).split(`,`).map(e=>e.trim()).filter(Boolean);return!Co.includes(e)||n.includes(`all`)||n.includes(e)}var To={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`}}]},Eo=`--color-primary-text`,Do=new Set([...To.css.rename.map(([e])=>e),...To.css.reads.map(([e])=>e),...Object.keys(To.css.choose)].filter(e=>e!==Eo)),Oo=RegExp(`(?<![\\w-])(${[...Do].join(`|`)})(?![\\w-])`,`g`),ko=/* @__PURE__ */ RegExp(`(?<![\\w-])(--wui-chart-diverging-|--wui-chart-seq-|--wui-chart-)\\$\\{`,`g`),Ao=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`out`,`bin`,`obj`,`.git`,`.next`,`coverage`]),jo=/* @__PURE__ */ new Set([`.css`,`.scss`,`.sass`,`.less`,`.js`,`.jsx`,`.ts`,`.tsx`,`.cshtml`,`.razor`,`.html`,`.vue`]),Mo=(e,t)=>Ao.has(e)||e===`lib`&&c(t)===`wwwroot`,No=e=>jo.has(u(e).toLowerCase());function Po(e,t=[]){for(let n of i(e,{withFileTypes:!0})){let r=d(e,n.name);n.isDirectory()?Mo(n.name,e)||Po(r,t):No(n.name)&&t.push(r)}return t}function Fo(e,t){for(let n=l(e);n.length>t.length;n=l(n))if(Mo(c(n),l(n)))return!0;return!1}function Io(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&&No(e)).map(t=>d(e,t.split(`/`).join(g))).filter(n=>!Fo(n,e)&&t(n)):Po(e)}function Lo(e){let t=e.slice(0,3).join(`, `),n=e.length-3;return n>0?`${t} and ${n} more`:t}function Ro(e,t){let n=[];for(let i of Io(e)){let e=r(i,`utf8`),a=[];for(let t of e.matchAll(Oo))a.push({name:t[1]??``,index:t.index});for(let t of e.matchAll(ko))a.push({name:`${t[1]??``}\${`,index:t.index});if(a.length===0)continue;a.sort((e,t)=>e.index-t.index);let o=[...new Set(a.map(e=>e.name))],s=a[0]?.index??0,c=m(t,i).split(`\\`).join(`/`),l=e.slice(0,s).split(`
94
94
  `).length;n.push([`stale-theme-name:${c}`,`${c}:${l} reads pre-0.89.0 theme names (${Lo(o)}). 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 zo=[`web`,`phone`,`razor`,`node`].map(e=>`${P}/tsconfig/${e}.json`),Bo=`biome.jsonc`,Vo=d(`.webority`,`baselines`,`exceptions.json`),Ho=d(`.webority`,`baselines`,`suppressions-baseline.json`),Uo=`js`,Wo=[`strict`,`noUncheckedIndexedAccess`,`exactOptionalPropertyTypes`,`noImplicitOverride`,`noImplicitReturns`,`noFallthroughCasesInSwitch`,`noUnusedLocals`,`noUnusedParameters`,`noUncheckedSideEffectImports`,`erasableSyntaxOnly`,`verbatimModuleSyntax`,`isolatedModules`,`forceConsistentCasingInFileNames`],Go=/^(?:\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?|workspace:.+)$/,Ko=/* @__PURE__ */ new Map([[`off`,0],[`info`,1],[`warn`,2],[`error`,3]]),qo=/\.[cm]?[jt]sx?$/,Jo=/(?:\/\/|\/\*)\s*(?:@ts-(expect-error|ignore|nocheck)\b|biome-ignore\s+([^\s:]+))/g,Yo=/^EX-[1-9][0-9]*$/,Xo=/^(?:TASK|BUG|FEATURE)-[0-9]+$|^decisions\/D-[0-9]+-/,Zo=[{kind:`scripts`,globs:[`scripts/**`,`**/scripts/**`]},{kind:`tests`,globs:[`**/*.test.*`,`**/test/**`,`**/__tests__/**`]},{kind:`tool config`,globs:[`**/*.config.js`,`**/*.config.mjs`,`**/*.config.ts`,`**/jest.setup.js`,`**/prebuild.js`]},{kind:`samples`,globs:[`samples/**`]},{kind:`command-line tools`,globs:[`**/cli.ts`,`**/cli/**`]}];function F(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function I(e){return Lt(r(e,`utf8`))}function Qo(e,t){return m(e,t).split(`\\`).join(`/`)}function $o(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 es(e,n,r){let i=e;for(;;){let e=d(i,`node_modules`,P,r);if(t(e))return e;if(i===n)return null;let a=l(i);if(a===i)return null;i=a}}function ts(e,t){if(F(e))for(let n of[`dependencies`,`devDependencies`]){let r=e[n];if(!F(r))continue;let i=r[t];if(typeof i==`string`)return i}}function ns(e){return!F(e)||!F(e.compilerOptions)?{}:e.compilerOptions}function rs(e){if(typeof e==`string`)return e;if(Array.isArray(e)){let t=e[0];return typeof t==`string`?t:void 0}if(F(e)&&typeof e.level==`string`)return e.level}function is(e){let t=/* @__PURE__ */ new Map;if(!F(e))return t;for(let[n,r]of Object.entries(e))if(F(r))for(let[e,i]of Object.entries(r)){let r=rs(i);r!==void 0&&t.set(`${n}/${e}`,r)}return t}function as(e){return[e??[]].flat().filter(e=>typeof e==`string`&&!e.startsWith(`!`))}function os(e,t){let n=[e.includes??[]].flat().filter(e=>typeof e==`string`&&e.startsWith(`!`)).map(e=>e.slice(1)),r=as(e.includes);return t.filter(e=>r.some(t=>f(e,t))&&!n.some(t=>f(e,t)))}var ss=/* @__PURE__ */ new Map;function cs(e,n){let r=`${e}\0${n}`,i=ss.get(r);if(i!==void 0)return i;let a=!1,o=d(n,`package.json`);if(t(o)){let e=I(o);a=F(e)&&e.bin!==void 0}else n!==e&&l(n)!==n&&(a=cs(e,l(n)));return ss.set(r,a),a}function ls(e,t){return Zo.some(e=>e.globs.some(e=>f(t,e)))?!0:cs(e,l(d(e,t)))}function us(e,t,n){let r=is(e),i=/* @__PURE__ */ new Map;for(let e of t){if(!F(e))continue;let t=os(e,n);if(t.length===0)continue;let a=e=>{let n=i.get(e)??/* @__PURE__ */ new Set;for(let e of t)n.add(e);i.set(e,n)},o=F(e.linter)?e.linter.rules:void 0;if(F(o)){for(let[e,t]of Object.entries(o))if(typeof t==`string`){let n=Ko.get(t);if(n===void 0)continue;for(let[t,i]of r){let r=Ko.get(i);t.startsWith(`${e}/`)&&r!==void 0&&r>n&&a(e)}}else if(F(t))for(let[n,i]of Object.entries(t)){let t=`${e}/${n}`,o=rs(i),s=r.get(t);if(o===void 0||s===void 0)continue;let c=Ko.get(o),l=Ko.get(s);c!==void 0&&l!==void 0&&c<l&&a(t)}}}return new Map([...i].map(([e,t])=>[e,[...t]]))}function ds(e,n,r,i){let a=[],o=d(n,`tsconfig.json`),s=Qo(e,o),u=(e,t)=>r.covers(e,t)!==null,f=null;if(t(o))try{f=I(o)}catch{return[[`standards:extends`,`tsconfig.json does not parse as JSON. react.md, Language: fix the syntax; the build type-checks with it.`]]}let p=F(f)?f.extends:void 0,m=typeof p==`string`?[p]:Array.isArray(p)?p.filter(e=>typeof e==`string`):[],h=zo.find(e=>m.includes(e));f!==null&&h===void 0&&!u(`tsconfig:extends`,s)&&a.push([`standards:extends`,`tsconfig.json does not extend a ${P} preset. react.md, Language: add "extends": "${P}/tsconfig/web.json" (or phone, razor or node for that surface) and keep only paths, include and types.`]);let g=d(n,`package.json`),_=ts(t(g)?I(g):void 0,P);_===void 0&&h!==void 0?a.push([`standards:pin`,`package.json does not declare ${P}, which tsconfig.json extends. Add it at an exact version: pnpm add -D --save-exact ${P}.`]):_!==void 0&&!Go.test(_)&&a.push([`standards:pin`,`package.json pins ${P} to "${_}", not an exact version. shared-packages.md: pin every @webority/* package exactly; pnpm add -D --save-exact ${P}@<x.y.z>.`]);let v=h===void 0?null:es(n,e,h.slice(P.length+1));if(h!==void 0&&v===null&&a.push([`standards:pin`,`${P} is declared but not installed beside this folder. Run pnpm install.`]),v!==null){let e=ns(I(v)),t=ns(f);for(let n of Wo)e[n]===!0&&t[n]===!1&&!u(`tsconfig:${n}`,s)&&a.push([`standards:loosened:${n}`,`tsconfig.json sets compilerOptions.${n} to false, looser than ${P}. react.md, Language: delete the line so the preset's true applies; a relaxed option needs an exceptions.json entry with rule "tsconfig:${n}".`])}let y=$o(n,e,[`biome.json`,`biome.jsonc`]),b=es(n,e,Bo);if(y!==null&&b!==null){let t;try{t=I(y)}catch{t=void 0}let n=F(t)&&Array.isArray(t.overrides)?t.overrides:[],o=I(b),s=F(o)&&F(o.linter)?o.linter.rules:void 0,u=Qo(e,l(y)),d=u===``?``:`${u}/`,f=i.filter(e=>e.startsWith(d)).map(e=>e.slice(d.length));for(let[t,i]of us(s,n,f)){let n=i.filter(n=>!ls(e,d+n)&&r.covers(`lint/${t}`,d+n)===null);n.length!==0&&a.push([`standards:override:${t}`,`${c(y)} lowers ${P}'s rule lint/${t} for shipped files: ${n.slice(0,5).join(`, `)}${n.length>5?` and ${n.length-5} more`:``}. react.md, Language: narrow the override to the files that need it and register each in exceptions.json with rule "lint/${t}" and its exact path; dev-only paths (${Zo.map(e=>e.kind).join(`, `)}) need no entry.`])}}return a}function fs(e){let n=d(e,Ho);if(!t(n))return{};let r=I(n);if(!F(r))throw Error(`webority-repo-checks: .webority/baselines/suppressions-baseline.json must be a JSON object.`);return r}function ps(e,t){let n=e[t];if(!F(n))return 0;let r=n[Uo];return typeof r==`number`?r:0}function ms(e,n,i){let a=fs(e),o=[];for(let s of n){if(!qo.test(s))continue;let n=d(e,s);if(!t(n))continue;let c=0;for(let e of r(n,`utf8`).split(`
95
- `))for(let t of e.matchAll(Jo)){let e=t[1]===void 0?t[2]??`biome-ignore`:`@ts-${t[1]}`;i.covers(e,s)===null&&(c+=1)}let l=ps(a,s);c>l&&o.push([`suppression:${s}`,`${s} holds ${c} suppression comment(s) with no registered exception; suppressions-baseline.json allows ${l}. Fix the code and delete the comment, or add an exceptions.json entry for its rule covering this file. The baseline is a ceiling that only shrinks.`])}return o}function hs(e,t){return e===t?!0:/[*?[]/.test(e)?f(t,e):t.startsWith(e.endsWith(`/`)?e:`${e}/`)}function gs(e){if(!Array.isArray(e))throw Error(`webority-repo-checks: ${Vo} must be a JSON array of entries.`);return e.map((e,t)=>{let n=`${Vo} entry ${t+1}`;if(!F(e))throw Error(`webority-repo-checks: ${n} must be an object.`);let{id:r,rule:i,paths:a,reason:o,approvedBy:s}=e;if(typeof r!=`string`||!Yo.test(r))throw Error(`webority-repo-checks: ${n} needs an id of the form EX-<n>.`);if(typeof i!=`string`||i.length===0)throw Error(`webority-repo-checks: ${n} (${r}) needs a rule.`);if(!Array.isArray(a)||a.length===0||!a.every(e=>typeof e==`string`&&e.length>0))throw Error(`webority-repo-checks: ${n} (${r}) needs one or more non-empty paths.`);if(typeof o!=`string`||o.length<10)throw Error(`webority-repo-checks: ${n} (${r}) needs a reason of at least ten characters.`);if(typeof s!=`string`||!Xo.test(s))throw Error(`webority-repo-checks: ${n} (${r}) needs approvedBy as TASK-n, BUG-n, FEATURE-n or decisions/D-n-.`);return{id:r,rule:i,paths:a.filter(e=>typeof e==`string`)}})}function _s(e){let n=d(e,Vo),r=t(n)?gs(I(n)):[];return{covers(e,t){let n=r.find(n=>n.rule===e&&n.paths.some(e=>hs(e,t)));return n?n.id:null}}}var vs=`tracked-case`;function ys(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([`${vs}:${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 bs=`@webority/analytics/fleet`,xs=`.webority/tracking-plan.json is not a JSON object. product-analytics.md: the plan is one JSON object with "extends": "${bs}".`;function Ss(e){if(!t(d(e,`.github`,`workflows`,`production.yml`)))return[];let n=d(e,`.webority`,`tracking-plan.json`);if(!t(n))return[[`tracking-plan:missing`,`.webority/tracking-plan.json is missing. product-analytics.md: a product repo keeps a tracking plan with "extends": "${bs}".`]];let i;try{i=JSON.parse(r(n,`utf8`))}catch{return[[`tracking-plan:invalid`,xs]]}return typeof i!=`object`||!i||Array.isArray(i)?[[`tracking-plan:invalid`,xs]]:!(`extends`in i)||i.extends!==bs?[[`tracking-plan:extends`,`.webority/tracking-plan.json does not extend ${bs}. product-analytics.md: set "extends": "${bs}".`]]:[]}function Cs(e){let t=[];return ws(d(e,`src`,`components`,`base`))&&t.push([`web-folder:components/base`,`src/components/base/ exists. react.md, Folder layout: never a components/base/ folder; primitives come from @webority/ui-react and the root ErrorBoundary from @webority/web-core. Import those and delete the folder.`]),ws(d(e,`src`,`components`,`features`))&&t.push([`web-folder:components/features`,`src/components/features/ is a flat catch-all. react.md, Folder layout: components/<feature>/ holds a component two or more screens of one feature share; move each component to components/<feature>/, or into its screen's file when one screen uses it.`]),t}function ws(e){return o(e,{throwIfNoEntry:!1})?.isDirectory()===!0}function Ts(){let e=JSON.parse(r(new URL(`../package.json`,import.meta.url),`utf8`)),t=typeof e==`object`&&e&&`version`in e?e.version:void 0;if(typeof t!=`string`)throw Error(`webority-repo-checks: its own package.json has no version.`);return t}var L=e=>e.split(`\\`).join(`/`),Es=(e,t)=>L(m(e,t))||`.`;function R(e){return typeof e==`object`&&!!e}function Ds(e){return R(e)&&Object.values(e).every(e=>typeof e==`string`)}var Os=[`name`,`main`,`module`,`source`,`packageManager`],ks=[`dependencies`,`devDependencies`,`peerDependencies`],As=[`name`,`version`,`onFail`];function js(e,t){let n=e=>{throw Error(`webority-repo-checks: ${t} has a ${e} of the wrong type. Fix the file, then run the checks again.`)};if(!R(e))return n(`top level`);let r={};for(let t of Os){let i=e[t];if(i!==void 0){if(typeof i!=`string`)return n(t);r[t]=i}}for(let t of ks){let i=e[t];if(i!==void 0){if(!Ds(i))return n(t);r[t]=i}}let i=e.exports;if(i!==void 0){if(typeof i!=`string`&&!R(i))return n(`exports`);r.exports=i}let a=e.devEngines;if(a!==void 0){if(!R(a))return n(`devEngines`);let e=a.packageManager;if(e===void 0)r.devEngines={};else{if(!R(e))return n(`devEngines.packageManager`);let t={};for(let r of As){let i=e[r];if(i!==void 0){if(typeof i!=`string`)return n(`devEngines.packageManager.${r}`);t[r]=i}}r.devEngines={packageManager:t}}}return r}function Ms(e){if(!t(e))return null;let n;try{n=JSON.parse(r(e,`utf8`))}catch(t){let n=t instanceof Error?t.message:String(t);throw Error(`webority-repo-checks: ${e} is not valid JSON (${n}). Fix the file, then run the checks again.`)}return js(n,e)}function Ns(e,t){let n=v(`git`,t,{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout:null}function Ps(e){let t=Ns(e,[`rev-parse`,`--show-toplevel`]);return t?t.trim():null}function z(e,t){let n=Ns(e,[`ls-files`,`-z`,`--`,...t.flatMap(e=>[e,`:(glob)**/${e}`])]);return n?[...new Set(n.split(`\0`).filter(Boolean))]:[]}function Fs(e){let t=Ns(e,[`ls-files`,`-z`]);return t?t.split(`\0`).filter(Boolean):[]}function Is(e,n){let r=e?.dependencies??{};if(ho.some(e=>r[e]))return null;let i=n&&(t(d(n,`android`))||t(d(n,`ios`)));return r[`react-native`]&&i?`mobile`:r[`react-dom`]&&(e?.devDependencies?.[`react-native-web`]||r[`react-native-web`])?`demo`:r[`react-native`]?`mobile`:[...Object.keys(r),...Object.keys(e?.devDependencies??{})].some(e=>e.startsWith(`@tauri-apps/`))||n&&t(d(n,`src-tauri`))?`desktop`:r[`react-dom`]?`web`:null}var Ls=/^https:\/\/\S+-\d+\.\d+\.\d+(?:-[0-9A-Za-z.]+)?\.(?:tgz|tar\.gz)$/,Rs=e=>/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(e)||/^(?:workspace:\*|file:|link:)/.test(e)||Ls.test(e),zs=/* @__PURE__ */ new Set([`@biomejs/biome`,`@webority/biome-config`]),Bs=e=>/^(?:workspace:|file:|link:)/.test(e);function Vs(e,t,n){let r=[],i={...e.dependencies,...e.devDependencies},a=Object.keys(i);for(let[e,n]of uo[t])i[e]&&r.push([`banned:${e}`,`"${e}" is a dependency. ${n}.`]);for(let[e,n]of fo[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 po[t])i[e]&&i[n]&&r.push([`banned:${e}`,`"${e}" is a dependency beside ${n}. ${a}.`]);for(let[e,a]of mo[t])(zs.has(e)?n:i)[e]||r.push([`required:${e}`,`"${e}" is not a dependency. ${a}.`]);let o=t===`mobile`||t===`desktop`?a:a.filter(e=>e.startsWith(`@webority/`)||e===`bootstrap`);for(let e of o){let t=String(i[e]);Rs(t)||r.push([`not-exact:${e}`,`"${e}": "${t}" is a range. Pin the version the lockfile holds, without ^ or ~.`])}for(let e of vo){let t=e.filter(e=>i[e]&&!Bs(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 B(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 Hs(e,t){let n=e,i=null;for(;;){let e=B(n,t,[`biome.json`,`biome.jsonc`]);if(!e)return i;i=l(e);let a;try{a=Lt(r(e,`utf8`))}catch{return i}let o=l(i);if(a.root!==!1||i===t||o===i)return i;n=o}}function Us(e,t,n){let r=Hs(e,t),i=r&&r!==e?Ms(d(r,`package.json`)):null;return i?{...i.dependencies,...i.devDependencies}:n}function Ws(){let e=process.env.WEBORITY_PREREQUISITES??d(y(),`.claude`,`prerequisites.json`);if(!t(e))return null;let n=JSON.parse(r(e,`utf8`)),i=Array.isArray(n)?n.find(e=>R(e)&&e.name===`pnpm`):void 0,a=R(i)?i.minVersion:void 0;if(typeof a!=`string`||!/^\d+\.\d+\.\d+$/.test(a))throw Error(`webority-repo-checks: ${e} has no pnpm entry with an x.y.z minVersion.`);return a}function Gs(e,n){let i=[],a=B(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=Ms(d(o,`package.json`))??Ms(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.`]);let u=Ws();u&&/^\d+\.\d+\.\d+$/.test(c?.version??``)&&c?.version!==u&&i.push([`pnpm:version`,`package.json pins pnpm ${c?.version} in devEngines.packageManager.version; the version in the machine prerequisites list is ${u}. Set it to ${u} and run pnpm install. 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 f=d(o,`pnpm-workspace.yaml`);if(!t(f))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(f,`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 Ks(e,t,n,r){if((e.javascript?.globals??[]).includes(r))return!0;let i=[`index.js`,`index.jsx`,`index.ts`,`index.tsx`].map(e=>L(m(t,d(n,e))));return(e.overrides??[]).some(e=>(e.javascript?.globals??[]).includes(r)&&[e.includes??[]].flat().some(e=>!String(e).startsWith(`!`)&&i.some(t=>f(t,String(e)))))}function qs(e,t,n,i){let a=B(e,t,[`biome.json`,`biome.jsonc`]);if(!a)return[[`biome:missing`,`No biome.json in this folder or above it. react.md: one committed root biome.json.`]];let o;try{o=Lt(r(a,`utf8`))}catch{return[[`biome:unreadable`,`${c(a)} does not parse.`]]}let s=[],u=[o.extends??[]].flat();return u.some(e=>e===`@webority/biome-config/biome.jsonc`||String(e).endsWith(`code-standards/biome.jsonc`))||s.push([`biome:extends`,`${c(a)} does not extend "${yo}". react.md: every repo extends the shared preset.`]),i&&!u.some(e=>e===`@webority/biome-config/biome.phone.jsonc`||String(e).endsWith(`code-standards/biome.phone.jsonc`))&&s.push([`biome:phone-extends`,`${c(a)} does not extend "${bo}". A React Native app extends the phone preset after the shared one, base first: "extends": ["${yo}", "${bo}"] (the header of biome.phone.jsonc).`]),o.formatter?.lineEnding&&s.push([`biome:line-ending`,`${c(a)} sets formatter.lineEnding. react.md: inherit it from the shared preset, never set it.`]),o.linter?.rules&&Object.keys(o.linter.rules).length>0&&s.push([`biome:root-rules`,`${c(a)} 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`&&!Ks(o,l(a),e,`__DEV__`)&&s.push([`biome:dev-global`,`${c(a)} lacks "__DEV__" in javascript.globals. react-native.md: Debugging and agent access.`]),s}var Js=d(`node_modules`,`@biomejs`,`biome`,`bin`,`biome`);function Ys(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]??0);t++)i[t]===10&&a++;return a}function Xs(e){try{return a(e)}catch{return null}}function Zs(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=B(e,t,[d(`node_modules`,i)]),s=o&&Xs(o);if(!s)return null;let c=Ms(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);for(;R(l);)l=l.import??l.default;if(typeof l!=`string`)return null;let u=a===`.`&&typeof c.source==`string`?c.source:l.replace(Qs,`src/`);return{pkgDir:s,entry:d(s,l),sourcePath:d(s,u),workspace:$s(t,s)}}var Qs=/^(?:\.\/)?(?:dist|lib|build)\/(?:(?:typescript\/)?(?:module|commonjs)\/)?/;function $s(e,t){let n;try{n=a(t)}catch{return!1}let r=m(a(e),n);return!r.startsWith(`..`)&&!r.split(/[\\/]/).includes(`node_modules`)}function ec(e){try{return o(e).isFile()}catch{return!1}}var tc=[`.ts`,`.tsx`,`.js`,`.jsx`,`.mjs`],nc=[`index.ts`,`index.tsx`,`index.js`,`index.jsx`,`index.mjs`];function rc(e){let t=e.replace(/\.(?:[cm]?jsx?|tsx?)$/,``);return[e,...tc.map(e=>t+e),...nc.map(t=>d(e,t))].find(ec)??null}function ic(e){return e?e.workspace?rc(e.sourcePath):e.entry:null}function ac(e,t,n,r){let i=Zs(e,t,n);if(!i)return!1;let a=/* @__PURE__ */ new Set,o=ic(i);return o===null||lc(o,r,t,a)}function oc(e,t,n,r){let i=dc(l(t),n);return i!==null&&lc(i,r,e,/* @__PURE__ */ new Set)}var sc=/\bexport\s*(?:(\*)(?:\s*as\s+([\w$]+))?|\{([^}]*)\})(?:\s*from\s*["']([^"']+)["'])?/g,cc=[``,`.js`,`.mjs`,`.cjs`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.mjs`,`/index.jsx`,`/index.ts`,`/index.tsx`];function lc(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)||t==="default"&&/\bexport\s+default\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(sc))if(r){if(o===t||o===void 0&&c!==void 0&&uc(e,c,t,n,i))return!0}else if(s!==void 0)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||uc(e,c,a,n,i)))return!0}return!1}function uc(e,t,n,r,i){let a=t.startsWith(`.`)?dc(l(e),t):ic(Zs(l(e),r,t));return a!==null&&lc(a,n,r,i)}function dc(e,t){let n=d(e,t);for(let e of cc)if(o(n+e,{throwIfNoEntry:!1})?.isFile())return n+e;return null}function fc(e,n){let r=B(e,n,[Js]);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=pc(a.stdout??``);if(o===null)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=i[1]??``,o=i[2]??``;if((Object.hasOwn(xo,a)?xo[a]:void 0)?.includes(o))continue;let c=h(e,String(t.location?.path));if(a.startsWith(`.`)?oc(n,c,a,o):ac(e,n,a,o))continue;let l=L(m(e,c)),u=Ys(t.location??{},e,l),d=u?`${l}:${u}`:l,f=`missing-export:${l}`,p=`${d} imports ${o} from ${a}, which does not export it. Import the name the module exports (a default export is imported without braces).`;s.set(`${f}\0${p}`,[f,p])}return[...s.values()]}function pc(e){try{let t=JSON.parse(e);return!R(t)||!Array.isArray(t.diagnostics)?null:t.diagnostics}catch{return null}}function mc(e){let t=d(e,`node_modules`,`@webority`,`ui-react`);try{let e=d(t,`package.json`),n=js(JSON.parse(r(e,`utf8`)),e),i=typeof n.module==`string`?n.module:typeof n.main==`string`?n.main:`dist/index.js`,a=r(d(t,i),`utf8`),o=new Set([...a.matchAll(/App[A-Z][A-Za-z0-9]*/g)].map(e=>e[0]));if(o.size>0)return o}catch(e){if(hc(e)!==`ENOENT`)throw e}return new Set(So)}function hc(e){return R(e)?e.code:void 0}function gc(e){return i(e,{withFileTypes:!0}).flatMap(t=>t.isDirectory()?gc(d(e,t.name)):[d(e,t.name)])}function _c(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`)).name===`@webority/ui-root`}catch{return!1}}function vc(e){let n=d(e,`src`);if(!t(n))return[];let r=mc(e),i=[];for(let t of gc(n)){if(![`.jsx`,`.tsx`].includes(u(t)))continue;let n=c(t).split(`.`)[0]??``;if(r.has(n)){let r=L(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 yc=/gradle\.startParameter\.taskNames[^\n]*["']release["']/,bc=/throw\s+new\s+GradleException\s*\(/,xc=/^\s*edgeToEdgeEnabled\s*=\s*false\s*$/m;function Sc(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,``);yc.test(e)&&bc.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)&&xc.test(r(a,`utf8`))&&n.push([`android-edge-to-edge`,`android/gradle.properties sets edgeToEdgeEnabled=false. react-native-toolchain.md: set edgeToEdgeEnabled=true.`]),n}var Cc=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.mjs`,`.cjs`,`.ts`,`.tsx`]),wc=/\b(?:import|export)\s+type\s+(?:\{[^}]*\}|\*(?:\s+as\s+[\w$]+)?|[\w$]+)\s+from\s*["'][^"']*["']/g;function Tc(e,n){let i=d(e,`src`);if(!t(i))return[];let a=[];for(let t of gc(i)){if(!Cc.has(u(t).toLowerCase())||ct(L(m(n,t)),n))continue;let i=r(t,`utf8`).split(`
95
+ `))for(let t of e.matchAll(Jo)){let e=t[1]===void 0?t[2]??`biome-ignore`:`@ts-${t[1]}`;i.covers(e,s)===null&&(c+=1)}let l=ps(a,s);c>l&&o.push([`suppression:${s}`,`${s} holds ${c} suppression comment(s) with no registered exception; suppressions-baseline.json allows ${l}. Fix the code and delete the comment, or add an exceptions.json entry for its rule covering this file. The baseline is a ceiling that only shrinks.`])}return o}function hs(e,t){return e===t?!0:/[*?[]/.test(e)?f(t,e):t.startsWith(e.endsWith(`/`)?e:`${e}/`)}function gs(e){if(!Array.isArray(e))throw Error(`webority-repo-checks: ${Vo} must be a JSON array of entries.`);return e.map((e,t)=>{let n=`${Vo} entry ${t+1}`;if(!F(e))throw Error(`webority-repo-checks: ${n} must be an object.`);let{id:r,rule:i,paths:a,reason:o,approvedBy:s}=e;if(typeof r!=`string`||!Yo.test(r))throw Error(`webority-repo-checks: ${n} needs an id of the form EX-<n>.`);if(typeof i!=`string`||i.length===0)throw Error(`webority-repo-checks: ${n} (${r}) needs a rule.`);if(!Array.isArray(a)||a.length===0||!a.every(e=>typeof e==`string`&&e.length>0))throw Error(`webority-repo-checks: ${n} (${r}) needs one or more non-empty paths.`);if(typeof o!=`string`||o.length<10)throw Error(`webority-repo-checks: ${n} (${r}) needs a reason of at least ten characters.`);if(typeof s!=`string`||!Xo.test(s))throw Error(`webority-repo-checks: ${n} (${r}) needs approvedBy as TASK-n, BUG-n, FEATURE-n or decisions/D-n-.`);return{id:r,rule:i,paths:a.filter(e=>typeof e==`string`)}})}function _s(e){let n=d(e,Vo),r=t(n)?gs(I(n)):[];return{covers(e,t){let n=r.find(n=>n.rule===e&&n.paths.some(e=>hs(e,t)));return n?n.id:null}}}var vs=`tracked-case`;function ys(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([`${vs}:${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 bs=`@webority/analytics/fleet`,xs=`.webority/tracking-plan.json is not a JSON object. product-analytics.md: the plan is one JSON object with "extends": "${bs}".`;function Ss(e){if(!t(d(e,`.github`,`workflows`,`production.yml`)))return[];let n=d(e,`.webority`,`tracking-plan.json`);if(!t(n))return[[`tracking-plan:missing`,`.webority/tracking-plan.json is missing. product-analytics.md: a product repo keeps a tracking plan with "extends": "${bs}".`]];let i;try{i=JSON.parse(r(n,`utf8`))}catch{return[[`tracking-plan:invalid`,xs]]}return typeof i!=`object`||!i||Array.isArray(i)?[[`tracking-plan:invalid`,xs]]:!(`extends`in i)||i.extends!==bs?[[`tracking-plan:extends`,`.webority/tracking-plan.json does not extend ${bs}. product-analytics.md: set "extends": "${bs}".`]]:[]}function Cs(e){let t=[];return ws(d(e,`src`,`components`,`base`))&&t.push([`web-folder:components/base`,`src/components/base/ exists. react.md, Folder layout: never a components/base/ folder; primitives come from @webority/ui-react and the root ErrorBoundary from @webority/web-core. Import those and delete the folder.`]),ws(d(e,`src`,`components`,`features`))&&t.push([`web-folder:components/features`,`src/components/features/ is a flat catch-all. react.md, Folder layout: components/<feature>/ holds a component two or more screens of one feature share; move each component to components/<feature>/, or into its screen's file when one screen uses it.`]),t}function ws(e){return o(e,{throwIfNoEntry:!1})?.isDirectory()===!0}function Ts(){let e=JSON.parse(r(new URL(`../package.json`,import.meta.url),`utf8`)),t=typeof e==`object`&&e&&`version`in e?e.version:void 0;if(typeof t!=`string`)throw Error(`webority-repo-checks: its own package.json has no version.`);return t}var L=e=>e.split(`\\`).join(`/`),Es=(e,t)=>L(m(e,t))||`.`;function R(e){return typeof e==`object`&&!!e}function Ds(e){return R(e)&&Object.values(e).every(e=>typeof e==`string`)}var Os=[`name`,`main`,`module`,`source`,`packageManager`],ks=[`dependencies`,`devDependencies`,`peerDependencies`],As=[`name`,`version`,`onFail`];function js(e,t){let n=e=>{throw Error(`webority-repo-checks: ${t} has a ${e} of the wrong type. Fix the file, then run the checks again.`)};if(!R(e))return n(`top level`);let r={};for(let t of Os){let i=e[t];if(i!==void 0){if(typeof i!=`string`)return n(t);r[t]=i}}for(let t of ks){let i=e[t];if(i!==void 0){if(!Ds(i))return n(t);r[t]=i}}let i=e.exports;if(i!==void 0){if(typeof i!=`string`&&!R(i))return n(`exports`);r.exports=i}let a=e.devEngines;if(a!==void 0){if(!R(a))return n(`devEngines`);let e=a.packageManager;if(e===void 0)r.devEngines={};else{if(!R(e))return n(`devEngines.packageManager`);let t={};for(let r of As){let i=e[r];if(i!==void 0){if(typeof i!=`string`)return n(`devEngines.packageManager.${r}`);t[r]=i}}r.devEngines={packageManager:t}}}return r}function Ms(e){if(!t(e))return null;let n;try{n=JSON.parse(r(e,`utf8`))}catch(t){let n=t instanceof Error?t.message:String(t);throw Error(`webority-repo-checks: ${e} is not valid JSON (${n}). Fix the file, then run the checks again.`)}return js(n,e)}function Ns(e,t){let n=v(`git`,t,{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout:null}function Ps(e){let t=Ns(e,[`rev-parse`,`--show-toplevel`]);return t?t.trim():null}function z(e,t){let n=Ns(e,[`ls-files`,`-z`,`--`,...t.flatMap(e=>[e,`:(glob)**/${e}`])]);return n?[...new Set(n.split(`\0`).filter(Boolean))]:[]}function Fs(e){let t=Ns(e,[`ls-files`,`-z`]);return t?t.split(`\0`).filter(Boolean):[]}function Is(e,n){let r=e?.dependencies??{};if(ho.some(e=>r[e]))return null;let i=n&&(t(d(n,`android`))||t(d(n,`ios`)));return r[`react-native`]&&i?`mobile`:r[`react-dom`]&&(e?.devDependencies?.[`react-native-web`]||r[`react-native-web`])?`demo`:r[`react-native`]?`mobile`:[...Object.keys(r),...Object.keys(e?.devDependencies??{})].some(e=>e.startsWith(`@tauri-apps/`))||n&&t(d(n,`src-tauri`))?`desktop`:r[`react-dom`]?`web`:null}var Ls=/^https:\/\/\S+-\d+\.\d+\.\d+(?:-[0-9A-Za-z.]+)?\.(?:tgz|tar\.gz)$/,Rs=e=>/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(e)||/^(?:workspace:\*|file:|link:)/.test(e)||Ls.test(e),zs=/* @__PURE__ */ new Set([`@biomejs/biome`,`@webority/biome-config`]),Bs=e=>/^(?:workspace:|file:|link:)/.test(e);function Vs(e,t,n){let r=[],i={...e.dependencies,...e.devDependencies},a=Object.keys(i);for(let[e,n]of uo[t])i[e]&&r.push([`banned:${e}`,`"${e}" is a dependency. ${n}.`]);for(let[e,n]of fo[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 po[t])i[e]&&i[n]&&r.push([`banned:${e}`,`"${e}" is a dependency beside ${n}. ${a}.`]);for(let[e,a]of mo[t])(zs.has(e)?n:i)[e]||r.push([`required:${e}`,`"${e}" is not a dependency. ${a}.`]);let o=t===`mobile`||t===`desktop`?a:a.filter(e=>e.startsWith(`@webority/`)||e===`bootstrap`);for(let e of o){let t=String(i[e]);Rs(t)||r.push([`not-exact:${e}`,`"${e}": "${t}" is a range. Pin the version the lockfile holds, without ^ or ~.`])}for(let e of vo){let t=e.filter(e=>i[e]&&!Bs(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 B(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 Hs(e,t){let n=e,i=null;for(;;){let e=B(n,t,[`biome.json`,`biome.jsonc`]);if(!e)return i;i=l(e);let a;try{a=Lt(r(e,`utf8`))}catch{return i}let o=l(i);if(a.root!==!1||i===t||o===i)return i;n=o}}function Us(e,t,n){let r=Hs(e,t),i=r&&r!==e?Ms(d(r,`package.json`)):null;return i?{...i.dependencies,...i.devDependencies}:n}function Ws(){let e=process.env.WEBORITY_PREREQUISITES??d(y(),`.claude`,`prerequisites.json`);if(!t(e))return null;let n=JSON.parse(r(e,`utf8`)),i=Array.isArray(n)?n.find(e=>R(e)&&e.name===`pnpm`):void 0,a=R(i)?i.minVersion:void 0;if(typeof a!=`string`||!/^\d+\.\d+\.\d+$/.test(a))throw Error(`webority-repo-checks: ${e} has no pnpm entry with an x.y.z minVersion.`);return a}function Gs(e,n){let i=[],a=B(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=Ms(d(o,`package.json`))??Ms(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.`]);let u=Ws();u&&/^\d+\.\d+\.\d+$/.test(c?.version??``)&&c?.version!==u&&i.push([`pnpm:version`,`package.json pins pnpm ${c?.version} in devEngines.packageManager.version; the version in the machine prerequisites list is ${u}. Set it to ${u} and run pnpm install. 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 f=d(o,`pnpm-workspace.yaml`);if(!t(f))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(f,`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 Ks(e,t,n,r){if((e.javascript?.globals??[]).includes(r))return!0;let i=[`index.js`,`index.jsx`,`index.ts`,`index.tsx`].map(e=>L(m(t,d(n,e))));return(e.overrides??[]).some(e=>(e.javascript?.globals??[]).includes(r)&&[e.includes??[]].flat().some(e=>!String(e).startsWith(`!`)&&i.some(t=>f(t,String(e)))))}function qs(e,t,n,i){let a=B(e,t,[`biome.json`,`biome.jsonc`]);if(!a)return[[`biome:missing`,`No biome.json in this folder or above it. react.md: one committed root biome.json.`]];let o;try{o=Lt(r(a,`utf8`))}catch{return[[`biome:unreadable`,`${c(a)} does not parse.`]]}let s=[],u=[o.extends??[]].flat();return u.some(e=>e===`@webority/biome-config/biome.jsonc`||String(e).endsWith(`code-standards/biome.jsonc`))||s.push([`biome:extends`,`${c(a)} does not extend "${yo}". react.md: every repo extends the shared preset.`]),i&&!u.some(e=>e===`@webority/biome-config/biome.phone.jsonc`||String(e).endsWith(`code-standards/biome.phone.jsonc`))&&s.push([`biome:phone-extends`,`${c(a)} does not extend "${bo}". A React Native app extends the phone preset after the shared one, base first: "extends": ["${yo}", "${bo}"] (the header of biome.phone.jsonc).`]),o.formatter?.lineEnding&&s.push([`biome:line-ending`,`${c(a)} sets formatter.lineEnding. react.md: inherit it from the shared preset, never set it.`]),o.linter?.rules&&Object.keys(o.linter.rules).length>0&&s.push([`biome:root-rules`,`${c(a)} 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`&&!Ks(o,l(a),e,`__DEV__`)&&s.push([`biome:dev-global`,`${c(a)} lacks "__DEV__" in javascript.globals. react-native.md: Debugging and agent access.`]),s}var Js=d(`node_modules`,`@biomejs`,`biome`,`bin`,`biome`);function Ys(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]??0);t++)i[t]===10&&a++;return a}function Xs(e){try{return a(e)}catch{return null}}function Zs(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=B(e,t,[d(`node_modules`,i)]),s=o&&Xs(o);if(!s)return null;let c=Ms(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);for(;R(l);)l=l.import??l.default;if(typeof l!=`string`)return null;let u=a===`.`&&typeof c.source==`string`?c.source:l.replace(Qs,`src/`);return{pkgDir:s,entry:d(s,l),sourcePath:d(s,u),workspace:$s(t,s)}}var Qs=/^(?:\.\/)?(?:dist|lib|build)\/(?:(?:typescript\/)?(?:module|commonjs)\/)?/;function $s(e,t){let n;try{n=a(t)}catch{return!1}let r=m(a(e),n);return!r.startsWith(`..`)&&!r.split(/[\\/]/).includes(`node_modules`)}function ec(e){try{return o(e).isFile()}catch{return!1}}var tc=[`.ts`,`.tsx`,`.js`,`.jsx`,`.mjs`],nc=[`index.ts`,`index.tsx`,`index.js`,`index.jsx`,`index.mjs`];function rc(e){let t=e.replace(/\.(?:[cm]?jsx?|tsx?)$/,``);return[e,...tc.map(e=>t+e),...nc.map(t=>d(e,t))].find(ec)??null}function ic(e){return e?e.workspace?rc(e.sourcePath):e.entry:null}function ac(e,t,n,r){let i=Zs(e,t,n);if(!i)return!1;let a=/* @__PURE__ */ new Set,o=ic(i);return o===null||lc(o,r,t,a)}function oc(e,t,n,r){let i=dc(l(t),n);return i!==null&&lc(i,r,e,/* @__PURE__ */ new Set)}var sc=/\bexport\s*(?:(\*)(?:\s*as\s+([\w$]+))?|(?:\btype\s*)?\{([^}]*)\})(?:\s*from\s*["']([^"']+)["'])?/g,cc=[``,`.js`,`.mjs`,`.cjs`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.mjs`,`/index.jsx`,`/index.ts`,`/index.tsx`];function lc(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)||t==="default"&&/\bexport\s+default\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(sc))if(r){if(o===t||o===void 0&&c!==void 0&&uc(e,c,t,n,i))return!0}else if(s!==void 0)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||uc(e,c,a,n,i)))return!0}return!1}function uc(e,t,n,r,i){let a=t.startsWith(`.`)?dc(l(e),t):ic(Zs(l(e),r,t));return a!==null&&lc(a,n,r,i)}function dc(e,t){let n=d(e,t);for(let e of cc)if(o(n+e,{throwIfNoEntry:!1})?.isFile())return n+e;return null}function fc(e,n){let r=B(e,n,[Js]);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=pc(a.stdout??``);if(o===null)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=i[1]??``,o=i[2]??``;if((Object.hasOwn(xo,a)?xo[a]:void 0)?.includes(o))continue;let c=h(e,String(t.location?.path));if(a.startsWith(`.`)?oc(n,c,a,o):ac(e,n,a,o))continue;let l=L(m(e,c)),u=Ys(t.location??{},e,l),d=u?`${l}:${u}`:l,f=`missing-export:${l}`,p=`${d} imports ${o} from ${a}, which does not export it. Import the name the module exports (a default export is imported without braces).`;s.set(`${f}\0${p}`,[f,p])}return[...s.values()]}function pc(e){try{let t=JSON.parse(e);return!R(t)||!Array.isArray(t.diagnostics)?null:t.diagnostics}catch{return null}}function mc(e){let t=d(e,`node_modules`,`@webority`,`ui-react`);try{let e=d(t,`package.json`),n=js(JSON.parse(r(e,`utf8`)),e),i=typeof n.module==`string`?n.module:typeof n.main==`string`?n.main:`dist/index.js`,a=r(d(t,i),`utf8`),o=new Set([...a.matchAll(/App[A-Z][A-Za-z0-9]*/g)].map(e=>e[0]));if(o.size>0)return o}catch(e){if(hc(e)!==`ENOENT`)throw e}return new Set(So)}function hc(e){return R(e)?e.code:void 0}function gc(e){return i(e,{withFileTypes:!0}).flatMap(t=>t.isDirectory()?gc(d(e,t.name)):[d(e,t.name)])}function _c(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`)).name===`@webority/ui-root`}catch{return!1}}function vc(e){let n=d(e,`src`);if(!t(n))return[];let r=mc(e),i=[];for(let t of gc(n)){if(![`.jsx`,`.tsx`].includes(u(t)))continue;let n=c(t).split(`.`)[0]??``;if(r.has(n)){let r=L(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 yc=/gradle\.startParameter\.taskNames[^\n]*["']release["']/,bc=/throw\s+new\s+GradleException\s*\(/,xc=/^\s*edgeToEdgeEnabled\s*=\s*false\s*$/m;function Sc(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,``);yc.test(e)&&bc.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)&&xc.test(r(a,`utf8`))&&n.push([`android-edge-to-edge`,`android/gradle.properties sets edgeToEdgeEnabled=false. react-native-toolchain.md: set edgeToEdgeEnabled=true.`]),n}var Cc=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.mjs`,`.cjs`,`.ts`,`.tsx`]),wc=/\b(?:import|export)\s+type\s+(?:\{[^}]*\}|\*(?:\s+as\s+[\w$]+)?|[\w$]+)\s+from\s*["'][^"']*["']/g;function Tc(e,n){let i=d(e,`src`);if(!t(i))return[];let a=[];for(let t of gc(i)){if(!Cc.has(u(t).toLowerCase())||ct(L(m(n,t)),n))continue;let i=r(t,`utf8`).split(`
96
96
  `).map(e=>/^\s*(?:\/\/|\/\*|\*)/.test(e)?``:e).join(`
97
97
  `),o=i.replace(wc,``),s=L(m(e,t));for(let[e,t,n,r]of go)t.test(o)&&a.push([`${e}:${s}`,`${s} ${n}. ${r}.`]);for(let[e,t,n,r]of _o)t.test(i)&&a.push([`${e}:${s}`,`${s} ${n}. ${r}.`])}return a}var Ec=`.husky/pre-commit`,Dc=[`library`,`tool`],Oc=`.webority/settings.json`;function kc(e){let n=d(e,Oc);if(t(n)&&!Dc.includes(JSON.parse(r(n,`utf8`)).kind))return[];let i=d(e,Ec),a=t(i)?r(i,`utf8`).replace(/\r\n/g,`
98
98
  `):null;return a===`# Fast only. The expensive verification is \`corepack pnpm check\`, run by hand before pushing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/repo-checks",
3
- "version": "0.169.1",
3
+ "version": "0.170.1",
4
4
  "description": "Repository checks for Webority React web portals, React Native apps and Razor sites: banned and required dependencies, pnpm only, exact pins, the shared Biome preset, and token use in style, markup and component code. Run before a push; existing findings and per-file counts sit in a baseline that only shrinks.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "25.6.0",
26
- "@webority/biome-config": "0.169.1",
27
- "@webority/theme": "0.169.1",
26
+ "@webority/biome-config": "0.170.1",
27
+ "@webority/theme": "0.170.1",
28
28
  "typescript": "^7.0.2",
29
29
  "vite": "^8.3.6"
30
30
  },