@tempoxyz/id 0.0.0-pr-366.sha-a480ca3 → 0.0.0-pr-349.sha-87ded48

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Grant-7IW67yaM.js","names":["REASONS.closePress","BaseUi.Popover.Close","BaseUi.Popover.Root","BaseUi.Popover.Trigger","_jsx","BaseUi.Popover.Arrow","styles","BaseUi.Popover.Description","BaseUi.Popover.Portal","BaseUi.Popover.Positioner","BaseUi.Popover.Popup","BaseUi.Popover.Title","_jsxs","_jsx","_jsxs","_jsx","__import_glob__0_0_","__import_glob__0_1_","__import_glob__0_2_","__import_glob__0_3_","__import_glob__0_4_","__import_glob__0_5_","__import_glob__0_6_","__import_glob__0_7_","__import_glob__0_8_","__import_glob__0_9_","__import_glob__0_10_","__import_glob__0_11_","__import_glob__0_12_","__import_glob__0_13_","__import_glob__0_14_","__import_glob__0_15_","__import_glob__0_16_","__import_glob__0_17_","__import_glob__0_18_","__import_glob__0_19_","__import_glob__0_20_","__import_glob__0_21_","__import_glob__0_22_","__import_glob__0_23_","__import_glob__0_24_","__import_glob__0_25_","__import_glob__0_26_","__import_glob__0_27_","__import_glob__0_28_","__import_glob__0_29_","__import_glob__0_30_","__import_glob__0_31_","__import_glob__0_32_","__import_glob__0_33_","__import_glob__0_34_","__import_glob__0_35_","__import_glob__0_36_","__import_glob__1_0_","__import_glob__1_1_","useId","useState","_Fragment","__toESM","require_react","require_jsx_runtime","Stack","createChangeEventDetails","closePress","create","useRenderElement","useButton","useBaseUiId","popupStateMapping","Tooltip","usePopoverPositionerContext","PopoverRoot","useClosePartRegistration","PopoverPortal","PopoverPositioner","PopoverTrigger","PopoverPopup","usePopoverRootContext","Alert","CheckCircle","InfoCircle","Inline","StatusChip","import_react","PopoverArrow","elementProps","componentProps","open","arrowUncentered","forwardedRef","arrowRef","arrowStyles","PopoverTitle","store","id","PopoverDescription","PopoverClose","nativeButton","buttonRef","event","getButtonProps","import_jsx_runtime","Popover","Arrow","attributes","props","styles$1","Description","Popup","Title","BadgeCheck","XCircle","BRLA_default","BRZ_default","CHFAU_default","DLUSD_default","EURAU_default","EURC_e_default","GBPA_default","GUSD_default","MACH_default","OUSD_default","PRIME_default","SBC_default","SEKAU_default","USD1_default","USDB_default","USDC_e_default","USDT0_default","USDY_default","USDe_default","YLDS_default","alphaUSD_default","betaUSD_default","cUSD_default","cbBTC_default","frxUSD_default","goUSD_default","iUSD_default","pathUSD_default","rUSD_default","reUSD_default","sUSDe_default","siUSD_default","stcUSD_default","syrupUSDC_default","thetaUSD_default","wYLDS_default","wsrUSD_default","OUSD_dark_default","OUSD_light_default","icons","file","url","logos","symbol","scheme","result","Grant","deniedId","detailsId","details","setDetails","Heading","channels","calls","call","topUp","styles","limits","limit","format","every","label","token","logo","icon","until","expiry","unrecognized","decimal","relative","spans","units","unit","seconds","period","entry","count","amount","remaining"],"sources":["../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/arrow/PopoverArrow.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/title/PopoverTitle.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/description/PopoverDescription.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/close/PopoverClose.mjs","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/components/Popover.css","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/components/Popover.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/icons/BadgeCheck.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/icons/XCircle.js","../../../components/icons/BRLA.png?no-inline","../../../components/icons/BRZ.svg?no-inline","../../../components/icons/CHFAU.png?no-inline","../../../components/icons/DLUSD.png?no-inline","../../../components/icons/EURAU.svg?no-inline","../../../components/icons/EURC.e.svg?no-inline","../../../components/icons/GBPA.svg?no-inline","../../../components/icons/GUSD.svg?no-inline","../../../components/icons/MACH.svg?no-inline","../../../components/icons/OUSD.svg?no-inline","../../../components/icons/PRIME.svg?no-inline","../../../components/icons/SBC.svg?no-inline","../../../components/icons/SEKAU.svg?no-inline","../../../components/icons/USD1.svg?no-inline","../../../components/icons/USDB.svg?no-inline","../../../components/icons/USDC.e.svg?no-inline","../../../components/icons/USDT0.svg?no-inline","../../../components/icons/USDY.svg?no-inline","../../../components/icons/USDe.svg?no-inline","../../../components/icons/YLDS.svg?no-inline","../../../components/icons/alphaUSD.svg?no-inline","../../../components/icons/betaUSD.svg?no-inline","../../../components/icons/cUSD.svg?no-inline","../../../components/icons/cbBTC.svg?no-inline","../../../components/icons/frxUSD.svg?no-inline","../../../components/icons/goUSD.svg?no-inline","../../../components/icons/iUSD.svg?no-inline","../../../components/icons/pathUSD.svg?no-inline","../../../components/icons/rUSD.svg?no-inline","../../../components/icons/reUSD.svg?no-inline","../../../components/icons/sUSDe.svg?no-inline","../../../components/icons/siUSD.svg?no-inline","../../../components/icons/stcUSD.svg?no-inline","../../../components/icons/syrupUSDC.svg?no-inline","../../../components/icons/thetaUSD.svg?no-inline","../../../components/icons/wYLDS.svg?no-inline","../../../components/icons/wsrUSD.svg?no-inline","../../../components/logos/OUSD.dark.svg?no-inline","../../../components/logos/OUSD.light.svg?no-inline","../../../components/Grant.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { usePopoverPositionerContext } from \"../positioner/PopoverPositionerContext.mjs\";\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * Displays an element positioned against the popover anchor.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverArrow = /*#__PURE__*/React.forwardRef(function PopoverArrow(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const open = store.useState('open');\n const {\n arrowRef,\n side,\n align,\n arrowUncentered,\n arrowStyles\n } = usePopoverPositionerContext();\n const state = {\n open,\n side,\n align,\n uncentered: arrowUncentered\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, arrowRef],\n props: [{\n style: arrowStyles,\n 'aria-hidden': true\n }, elementProps],\n stateAttributesMapping: popupStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverArrow.displayName = \"PopoverArrow\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n\n/**\n * A heading that labels the popover.\n * Renders an `<h2>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverTitle = /*#__PURE__*/React.forwardRef(function PopoverTitle(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('titleElementId', id);\n const element = useRenderElement('h2', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverTitle.displayName = \"PopoverTitle\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * A paragraph with additional information about the popover.\n * Renders a `<p>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverDescription = /*#__PURE__*/React.forwardRef(function PopoverDescription(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('descriptionElementId', id);\n const element = useRenderElement('p', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverDescription.displayName = \"PopoverDescription\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useButton } from \"../../internals/use-button/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useClosePartRegistration } from \"../../utils/closePart.mjs\";\n\n/**\n * A button that closes the popover.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverClose = /*#__PURE__*/React.forwardRef(function PopoverClose(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n disabled = false,\n nativeButton = true,\n ...elementProps\n } = componentProps;\n const {\n buttonRef,\n getButtonProps\n } = useButton({\n disabled,\n focusableWhenDisabled: false,\n native: nativeButton\n });\n const store = usePopoverRootContext();\n useClosePartRegistration();\n const element = useRenderElement('button', componentProps, {\n ref: [forwardedRef, buttonRef],\n props: [{\n onClick(event) {\n store.setOpen(false, createChangeEventDetails(REASONS.closePress, event.nativeEvent));\n }\n }, elementProps, getButtonProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverClose.displayName = \"PopoverClose\";",".z_tds_2f_web-WYxykg0{color:var(--z-tds_2f_web-color-background-elevated,light-dark(var(--z-tds_2f_web-color-neutral-000,#fff),var(--z-tds_2f_web-color-neutral-092,#141414)))}.z_tds_2f_web-WYxykg1{display:flex}.z_tds_2f_web-WYxykg2{&[data-side=bottom]{top:-10px}}.z_tds_2f_web-WYxykg3{&[data-side=left]{right:-14px}}.z_tds_2f_web-WYxykg4{&[data-side=left]{rotate:90deg}}.z_tds_2f_web-WYxykg5{&[data-side=right]{left:-14px}}.z_tds_2f_web-WYxykg6{&[data-side=right]{rotate:-90deg}}.z_tds_2f_web-WYxykg7{&[data-side=top]{bottom:-10px}}.z_tds_2f_web-WYxykg8{&[data-side=top]{rotate:180deg}}.z_tds_2f_web-WYxykg9{color:var(--z-tds_2f_web-color-content-secondary,light-dark(var(--z-tds_2f_web-color-neutral-shade-056,#0000008f),var(--z-tds_2f_web-color-neutral-tint-064,#ffffffa3)))}.z_tds_2f_web-WYxykga{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykgb{font-family:var(--z-tds_2f_web-typography-body-b2-fontFamily,var(--z-tds_2f_web-fontFamily-body,Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"))}.z_tds_2f_web-WYxykgc{font-size:var(--z-tds_2f_web-typography-body-b2-fontSize,14px)}.z_tds_2f_web-WYxykgd{font-weight:var(--z-tds_2f_web-typography-body-b2-fontWeight,400)}.z_tds_2f_web-WYxykge{letter-spacing:var(--z-tds_2f_web-typography-body-b2-letterSpacing,.14px)}.z_tds_2f_web-WYxykgf{line-height:var(--z-tds_2f_web-typography-body-b2-lineHeight,20px)}.z_tds_2f_web-WYxykgg{background-color:var(--z-tds_2f_web-color-background-elevated,light-dark(var(--z-tds_2f_web-color-neutral-000,#fff),var(--z-tds_2f_web-color-neutral-092,#141414)))}.z_tds_2f_web-WYxykgh{border-radius:var(--z-tds_2f_web-radius-sm,calc(1rem * var(--tds-corner-scale,1)))}.z_tds_2f_web-WYxykgi{box-shadow:var(--z-tds_2f_web-shadow-regular,0 8px 48px #0000000a, 0 4px 16px #0000000a, 0 2px 8px #0000000a)}.z_tds_2f_web-WYxykgj{box-sizing:border-box}.z_tds_2f_web-WYxykgk{color:var(--z-tds_2f_web-color-content-primary,light-dark(var(--z-tds_2f_web-color-neutral-100,#000),var(--z-tds_2f_web-color-neutral-000,#fff)))}.z_tds_2f_web-WYxykgl{max-width:var(--available-width)}.z_tds_2f_web-WYxykgm{outline:none}.z_tds_2f_web-WYxykgn{padding:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-WYxykgo{transform-origin:var(--transform-origin)}.z_tds_2f_web-WYxykgp{transition-duration:var(--z-tds_2f_web-transitionDuration-200,.2s)}.z_tds_2f_web-WYxykgq{transition-property:opacity,scale}.z_tds_2f_web-WYxykgr{transition-timing-function:var(--z-tds_2f_web-ease-snappy,cubic-bezier(.23, 1, .32, 1))}.z_tds_2f_web-WYxykgs{width:max-content}.z_tds_2f_web-WYxykgt{&[data-ending-style]{opacity:0}}.z_tds_2f_web-WYxykgu{&[data-ending-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}.z_tds_2f_web-WYxykgv{&[data-ending-style]{transition-duration:var(--z-tds_2f_web-transitionDuration-140,.14s)}}.z_tds_2f_web-WYxykgw{&[data-starting-style]{opacity:0}}.z_tds_2f_web-WYxykgx{&[data-starting-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}@media (prefers-reduced-motion:reduce){.z_tds_2f_web-WYxykgy{transition-property:opacity}.z_tds_2f_web-WYxykgz{&[data-ending-style],&[data-starting-style]{scale:none}}}.z_tds_2f_web-WYxykg10{z-index:var(--z-tds_2f_web-zIndex-popover,50)}.z_tds_2f_web-WYxykg11{font-family:var(--z-tds_2f_web-typography-heading-h3-fontFamily,var(--z-tds_2f_web-fontFamily-heading,Pilat, Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif))}.z_tds_2f_web-WYxykg12{font-size:var(--z-tds_2f_web-typography-heading-h3-fontSize,20px)}.z_tds_2f_web-WYxykg13{font-weight:var(--z-tds_2f_web-typography-heading-h3-fontWeight,500)}.z_tds_2f_web-WYxykg14{letter-spacing:var(--z-tds_2f_web-typography-heading-h3-letterSpacing,-.3px)}.z_tds_2f_web-WYxykg15{line-height:var(--z-tds_2f_web-typography-heading-h3-lineHeight,23px)}.z_tds_2f_web-WYxykg16{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykg17{margin-bottom:var(--z-tds_2f_web-spacing-4,.25rem)}","\nimport { Props as __zyzzProps } from 'zyzz/runtime';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as BaseUi from '@base-ui/react/popover';\nimport { style } from '../zyzz.config.js';\n/**\n * A non-modal `dialog` anchored to a trigger and opened on click. Opening moves focus to the first\n * tabbable element inside, or to the popup on touch. Escape and outside presses close it and\n * return focus to the trigger.\n *\n * - Use it for interactive or longer content. Use `Tooltip` for a short hint on hover.\n * - Include `Title` so the dialog has an accessible name, and `Description` for supporting text.\n * - Offer `Close` when the popup holds a form or other controls.\n *\n * @example\n * <Popover.Root>\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n * <Popover.Popup>\n * <Popover.Title>Network fee</Popover.Title>\n * <Popover.Description>Paid in the token you send.</Popover.Description>\n * </Popover.Popup>\n * </Popover.Root>\n *\n * @see {@link https://base-ui.com/react/components/popover | Base UI Popover}\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Popover_API | MDN Popover API}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html | WCAG 2.2 Content on Hover or Focus}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html | WCAG 2.2 Focus Order}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html | WCAG 2.2 Keyboard}\n */\nexport var Popover;\n(function (Popover) {\n /** Renders a `button` that closes the popover. Pass `render` to use a `Button`. */\n Popover.Close = BaseUi.Popover.Close;\n /**\n * Owns the open state. Pass `open` and `onOpenChange` to control it. Unless `modal` is set, the\n * page stays interactive while the popover is open.\n */\n Popover.Root = BaseUi.Popover.Root;\n /**\n * Toggles the popover on click and anchors the popup. Set `openOnHover` to also open it on hover.\n *\n * @example\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n */\n Popover.Trigger = BaseUi.Popover.Trigger;\n /** Draws a pointer toward the trigger on the popup's anchored side. Place it inside `Popup`. */\n function Arrow(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Arrow, { ...attributes, ...styles.arrow({ className, style: props.style, vars }), children: _jsx(\"svg\", { \"aria-hidden\": \"true\", fill: \"currentColor\", height: \"10\", viewBox: \"0 0 20 10\", width: \"20\", children: _jsx(\"path\", { d: \"M0 10C4 10 7 7 8.6 4.6a2 2 0 0 1 2.8 0C13 7 16 10 20 10Z\" }) }) }));\n }\n Popover.Arrow = Arrow;\n /** Renders a `p` that describes the popup through `aria-describedby`. */\n function Description(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Description, { ...attributes, ...styles.description({ className, style: props.style, vars }) }));\n }\n Popover.Description = Description;\n /**\n * Renders the portal, positioner and popup. Placement props go to the positioner, which sits 8px\n * from the trigger unless `sideOffset` is set. Other props, `ref`, `className` and `style` reach\n * the popup. `initialFocus` and `finalFocus` override where focus moves on open and close.\n */\n function Popup(props) {\n const { align, alignOffset, anchor, className, collisionPadding, side, sideOffset = 8, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Portal, { children: _jsx(BaseUi.Popover.Positioner, { ...styles.positioner(), align: align, alignOffset: alignOffset, anchor: anchor, collisionPadding: collisionPadding, side: side, sideOffset: sideOffset, children: _jsx(BaseUi.Popover.Popup, { ...attributes, ...styles.popup({ className, style: props.style, vars }) }) }) }));\n }\n Popover.Popup = Popup;\n /** Renders an `h2` that names the popup through `aria-labelledby`. */\n function Title(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Title, { ...attributes, ...styles.title({ className, style: props.style, vars }) }));\n }\n Popover.Title = Title;\n})(Popover || (Popover = {}));\nvar styles;\n(function (styles) {\n styles.arrow = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg0 z_tds_2f_web-WYxykg1 z_tds_2f_web-WYxykg2 z_tds_2f_web-WYxykg3 z_tds_2f_web-WYxykg4 z_tds_2f_web-WYxykg5 z_tds_2f_web-WYxykg6 z_tds_2f_web-WYxykg7 z_tds_2f_web-WYxykg8\"});\n styles.description = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg9 z_tds_2f_web-WYxykga z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf\"});\n styles.popup = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykgg z_tds_2f_web-WYxykgh z_tds_2f_web-WYxykgi z_tds_2f_web-WYxykgj z_tds_2f_web-WYxykgk z_tds_2f_web-WYxykgl z_tds_2f_web-WYxykgm z_tds_2f_web-WYxykgn z_tds_2f_web-WYxykgo z_tds_2f_web-WYxykgp z_tds_2f_web-WYxykgq z_tds_2f_web-WYxykgr z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf z_tds_2f_web-WYxykgs z_tds_2f_web-WYxykgt z_tds_2f_web-WYxykgu z_tds_2f_web-WYxykgv z_tds_2f_web-WYxykgw z_tds_2f_web-WYxykgx z_tds_2f_web-WYxykgy z_tds_2f_web-WYxykgz\"});\n styles.positioner = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg10\"});\n styles.title = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg11 z_tds_2f_web-WYxykg12 z_tds_2f_web-WYxykg13 z_tds_2f_web-WYxykg14 z_tds_2f_web-WYxykg15 z_tds_2f_web-WYxykg16 z_tds_2f_web-WYxykg17\"});\n})(styles || (styles = {}));\n//# sourceMappingURL=Popover.js.map\nimport './Popover.css';\n","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function BadgeCheck(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.9691 6.50791C10.1268 6.28127 10.4387 6.2253 10.6654 6.38291C10.8915 6.54061 10.9476 6.85173 10.7904 7.07822L8.1859 10.8253C8.10463 10.9422 7.97661 11.0189 7.83532 11.0362C7.69403 11.0533 7.5516 11.009 7.44469 10.9151L5.95641 9.60361C5.74921 9.42107 5.72894 9.10476 5.91149 8.89756C6.09407 8.69075 6.4095 8.67124 6.61657 8.85361L7.68395 9.79306L9.9691 6.50791Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.67516 1.61826C8.13077 1.16265 8.86994 1.16265 9.32555 1.61826L10.7591 3.05185C10.7902 3.08262 10.8326 3.10058 10.8763 3.10068H12.7338C13.3779 3.10081 13.9006 3.62258 13.9007 4.2667V6.12412C13.9009 6.16817 13.9184 6.21112 13.9496 6.24228L15.3832 7.6749C15.8384 8.13047 15.8385 8.86977 15.3832 9.32529L13.9496 10.7589C13.9185 10.79 13.9008 10.8321 13.9007 10.8761V12.7335C13.9005 13.3776 13.3778 13.9004 12.7338 13.9005H10.8763C10.8323 13.9006 10.7903 13.9182 10.7591 13.9493L9.32555 15.3829C8.87002 15.8381 8.1307 15.8381 7.67516 15.3829L6.24254 13.9493C6.21134 13.9181 6.16849 13.9005 6.12438 13.9005H4.26696C3.6229 13.9003 3.10117 13.3775 3.10094 12.7335V10.8761C3.10084 10.8323 3.08288 10.79 3.05211 10.7589L1.61852 9.32529C1.16294 8.86971 1.163 8.13052 1.61852 7.6749L3.05211 6.24228C3.08324 6.21113 3.10083 6.16815 3.10094 6.12412V4.2667C3.1011 3.62259 3.62285 3.10084 4.26696 3.10068H6.12438C6.16843 3.10062 6.21135 3.08297 6.24254 3.05185L7.67516 1.61826ZM8.61852 2.32529C8.5535 2.26027 8.44827 2.26042 8.38317 2.32529L6.94957 3.75888C6.73085 3.97753 6.43365 4.10062 6.12438 4.10068H4.26696C4.17514 4.10084 4.1011 4.17488 4.10094 4.2667V6.12412C4.10083 6.43336 3.97781 6.73062 3.75914 6.94931L2.32555 8.38291C2.26077 8.44802 2.26056 8.55327 2.32555 8.61826L3.75914 10.0519C3.97744 10.2705 4.10084 10.5671 4.10094 10.8761V12.7335C4.10117 12.8253 4.17518 12.9003 4.26696 12.9005H6.12438C6.43371 12.9005 6.73084 13.0235 6.94957 13.2423L8.38317 14.6749C8.44825 14.7396 8.55353 14.7398 8.61852 14.6749L10.0521 13.2423C10.2708 13.0236 10.5671 12.9006 10.8763 12.9005H12.7338C12.8256 12.9004 12.9005 12.8253 12.9007 12.7335V10.8761C12.9008 10.5669 13.0239 10.2705 13.2425 10.0519L14.6752 8.61826C14.7401 8.55328 14.7399 8.44802 14.6752 8.38291L13.2425 6.94931C13.0239 6.73062 12.9009 6.43339 12.9007 6.12412V4.2667C12.9006 4.17486 12.8256 4.10081 12.7338 4.10068H10.8763C10.5674 4.10058 10.2708 3.97719 10.0521 3.75888L8.61852 2.32529Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=BadgeCheck.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function XCircle(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.64648 5.64648C9.84175 5.45122 10.1583 5.45122 10.3535 5.64648C10.5487 5.84175 10.5488 6.15827 10.3535 6.35352L8.70703 8L10.3535 9.64648C10.5487 9.84175 10.5488 10.1583 10.3535 10.3535C10.1583 10.5488 9.84175 10.5487 9.64648 10.3535L8 8.70703L6.35352 10.3535C6.15827 10.5488 5.84175 10.5487 5.64648 10.3535C5.45122 10.1583 5.45122 9.84175 5.64648 9.64648L7.29297 8L5.64648 6.35352C5.45122 6.15825 5.45122 5.84175 5.64648 5.64648C5.84175 5.45122 6.15825 5.45122 6.35352 5.64648L8 7.29297L9.64648 5.64648Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 1.33301C11.6817 1.33318 14.666 4.31919 14.666 8.00098C14.6656 11.6824 11.6815 14.6668 8 14.667C4.31837 14.667 1.33345 11.6825 1.33301 8.00098C1.33301 4.31908 4.3181 1.33301 8 1.33301ZM8 2.33398C4.87039 2.33398 2.33301 4.87137 2.33301 8.00098C2.33345 11.1302 4.87066 13.667 8 13.667C11.1292 13.6668 13.6656 11.1301 13.666 8.00098C13.666 4.87147 11.1294 2.33416 8 2.33398Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=XCircle.js.map","export default import.meta.ROLLDOWN_FILE_URL_q6tfGKm3Qmt5DJmATeHQdA","export default import.meta.ROLLDOWN_FILE_URL_OestAvA2SyLT4CG6L76dAw","export default import.meta.ROLLDOWN_FILE_URL_nJkgIVJgL11RgZiGUBj6wA","export default import.meta.ROLLDOWN_FILE_URL_U6muqRGa8aHtq8t0c9wAzg","export default import.meta.ROLLDOWN_FILE_URL_tgFyw$X211zXSctfMU9_LA","export default import.meta.ROLLDOWN_FILE_URL_LphhLScmzwPqWwTyAbd7ig","export default import.meta.ROLLDOWN_FILE_URL_i2ywl_YzKp2MjtOEr7ngzA","export default import.meta.ROLLDOWN_FILE_URL_y3WuTrdTs_Si7uYpRddj9w","export default import.meta.ROLLDOWN_FILE_URL_TX5a1iViCylaCWPFSCQG2w","export default import.meta.ROLLDOWN_FILE_URL_0PgJxXqjw$KAl6PgZjQb5g","export default import.meta.ROLLDOWN_FILE_URL_kSHvwCjLFxLpY3FM1MyAsA","export default import.meta.ROLLDOWN_FILE_URL_tgItkVM6JTrfm2CiQnzY5g","export default import.meta.ROLLDOWN_FILE_URL_EsSyonNWXFChOyjfj2S3nw","export default import.meta.ROLLDOWN_FILE_URL_yW_eMvu1QqHghXJHMLbBbg","export default import.meta.ROLLDOWN_FILE_URL_zOyQqdNGsn0lL_XEFrarVA","export default import.meta.ROLLDOWN_FILE_URL_07gvO1IvTzTCTyYqp_a5mw","export default import.meta.ROLLDOWN_FILE_URL_qZZZ7EOcQU0bnm2SE9d1Ig","export default import.meta.ROLLDOWN_FILE_URL_gTxdgYqT1FnWrjfbk9DrbA","export default import.meta.ROLLDOWN_FILE_URL_RCaHVq_jCUoWDQWiWLxE3w","export default import.meta.ROLLDOWN_FILE_URL_8Jdj9qQ4eJq3labUJOvRYQ","export default import.meta.ROLLDOWN_FILE_URL_e3FJByPCCgv8fip_DM$mWQ","export default import.meta.ROLLDOWN_FILE_URL_PWd8aapBt1YfLvgRaedarQ","export default import.meta.ROLLDOWN_FILE_URL_rUkiH63qcJGEQEedyX41xw","export default import.meta.ROLLDOWN_FILE_URL_HAwZnQ40A17rYC3Q$lxt9A","export default import.meta.ROLLDOWN_FILE_URL_V1ZYpwZc9C51fJhgOTS5xQ","export default import.meta.ROLLDOWN_FILE_URL_DzYsnjr1LtW1tBWqsYm2RQ","export default import.meta.ROLLDOWN_FILE_URL_6bp_5It$EfTQ8f$omStdjw","export default import.meta.ROLLDOWN_FILE_URL_2ZEzIIM_atdpHcr$6kvj$Q","export default import.meta.ROLLDOWN_FILE_URL_xUfAOc8vsLn5godiQWqFgA","export default import.meta.ROLLDOWN_FILE_URL_8KByd7W0oH8zGe1MvrBFUw","export default import.meta.ROLLDOWN_FILE_URL_aKo4wVjMjV9S8rY28E5Mvg","export default import.meta.ROLLDOWN_FILE_URL_3Lrf7vA$GngskD3e2_Wsaw","export default import.meta.ROLLDOWN_FILE_URL_OxgPY7jd89vmgHQlmb5h_Q","export default import.meta.ROLLDOWN_FILE_URL_Ngmgj7KrmSrUoXH_NFNtFA","export default import.meta.ROLLDOWN_FILE_URL_eBB5uVE_t2Bb1etqpZE3Ig","export default import.meta.ROLLDOWN_FILE_URL_cLLFq7OX38PQjR0WE41fig","export default import.meta.ROLLDOWN_FILE_URL_UF4iDpNJhIbRdkaNqmNRqw","export default import.meta.ROLLDOWN_FILE_URL_2h$eqWdLjjj$zuUvyPi$HQ","export default import.meta.ROLLDOWN_FILE_URL_bLNX6U6f8qE7L2W0pHPLmA","/** Shows a requested key's limits and expiry, and warns about unrecognized calls. @module */\nimport {\n Alert,\n Inline,\n Popover,\n Stack,\n StatusChip,\n Tooltip,\n} from '@tempoxyz/ds'\nimport { CheckCircle, InfoCircle, XCircle } from '@tempoxyz/ds/icons'\nimport { type ReactNode, useId, useState } from 'react'\nimport type * as KeyAuthorization from '../../internal/KeyAuthorization.js'\nimport { style } from '../zyzz.config.js'\n\n/**\n * Each token's icon URL, by symbol. Each icon stays its own file, since an inlined icon would put\n * every token's icon in the script of each page that shows a key.\n */\nconst icons = Object.fromEntries(\n Object.entries(\n import.meta.glob<string>('./icons/*.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n ).map(([file, url]) => [\n file.slice('./icons/'.length, file.lastIndexOf('.')),\n url,\n ]),\n)\n\n/** Logos from `logos/`, by symbol and color scheme, each its own file. A logo replaces the icon. */\nconst logos = Object.entries(\n import.meta.glob<string>('./logos/*.{light,dark}.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n).reduce<Record<string, { dark?: string; light?: string }>>(\n (result, [file, url]) => {\n const [, symbol, scheme] = file.match(\n /^\\.\\/logos\\/(.+)\\.(light|dark)\\.\\w+$/,\n )!\n result[symbol!] = { ...result[symbol!], [scheme!]: url }\n return result\n },\n {},\n)\n\n/** What the requested key may and may not do, with its limits and expiry. */\nexport function Grant(props: Grant.Props): ReactNode {\n // Several grants can share a document, so each derives its own IDs.\n const id = useId()\n const deniedId = useId()\n const detailsId = useId()\n // The unrecognized calls stay collapsed under their one-line warning until the user opens them.\n const [details, setDetails] = useState(false)\n const { calls, expiry, limits, unrecognized } = props.keyAuthorization\n const Heading = props.heading ?? 'h2'\n // MPP sessions pay through payment channels, which `open` starts and `topUp` funds. Both read as\n // funds the app holds, since a channel is an escrow that the service draws from.\n const channels = (() => {\n const open = calls.some((call) => call.call === 'open')\n const topUp = calls.some((call) => call.call === 'topUp')\n if (open) return 'Hold funds for services'\n if (topUp) return 'Add to funds it holds for services'\n return undefined\n })()\n return (\n <>\n <Stack\n {...styles.section()}\n aria-labelledby={id}\n gap=\"24\"\n render={<section />}\n >\n {props.chain ? (\n <StatusChip\n {...styles.chain()}\n aria-label={`Chain: ${props.chain}`}\n network\n size=\"small\"\n >\n {props.chain}\n </StatusChip>\n ) : null}\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={id}>\n This app will be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={id}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>View your balance and activity</span>\n </Inline>\n {limits.map((limit) => (\n <Inline\n gap=\"8\"\n key={`${limit.currency}:${limit.period ?? 0}`}\n render={<li />}\n >\n <CheckCircle {...styles.allowed()} />\n <span>\n Spend{' '}\n {limit.period\n ? `${format(limit)} ${every(limit.period)}`\n : format(limit)}\n </span>\n <span {...styles.icons()}>\n {limit.tokens.map((token) => {\n // Each token's own limit shows on its icon, since the total spans several.\n const label = `${token.symbol}: ${format({ amount: token.amount, currency: limit.currency })}`\n const logo = logos[token.symbol]\n const icon = logo?.light ?? icons[token.symbol]\n return (\n <Tooltip.Root key={token.symbol}>\n <Tooltip.Trigger\n delay={150}\n render={\n <span {...styles.token()} tabIndex={0}>\n {icon ? (\n // The page follows the system color scheme, so the image does too.\n <picture>\n {logo?.dark ? (\n <source\n media=\"(prefers-color-scheme: dark)\"\n srcSet={logo.dark}\n />\n ) : null}\n <img\n {...styles.icon()}\n alt={label}\n height={20}\n src={icon}\n width={20}\n />\n </picture>\n ) : (\n // A token without a logo shows its initial.\n <span\n {...styles.placeholder()}\n aria-label={label}\n role=\"img\"\n >\n {token.symbol[0]}\n </span>\n )}\n </span>\n }\n />\n <Tooltip.Popup>{label}</Tooltip.Popup>\n </Tooltip.Root>\n )\n })}\n </span>\n </Inline>\n ))}\n {channels ? (\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>\n {channels.slice(0, channels.lastIndexOf(' ') + 1)}\n {/* The last word and the icon wrap together. */}\n <span {...styles.nowrap()}>\n {channels.slice(channels.lastIndexOf(' ') + 1)}{' '}\n <Popover.Root>\n <Popover.Trigger\n aria-label=\"About funds for services\"\n nativeButton={false}\n openOnHover\n render={<InfoCircle {...styles.info()} tabIndex={0} />}\n />\n <Popover.Popup\n {...styles.popup()}\n aria-label=\"Funds for services\"\n >\n <Popover.Description>\n Set aside for pay-as-you-go services that use{' '}\n <a\n {...styles.popupLink()}\n href=\"https://mpp.dev\"\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n MPP\n </a>\n . They take only what you use, and you get the rest\n back.\n </Popover.Description>\n </Popover.Popup>\n </Popover.Root>\n </span>\n </span>\n </Inline>\n ) : null}\n </Stack>\n </Stack>\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={deniedId}>\n This app won’t be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={deniedId}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <XCircle {...styles.denied()} />\n <span>Spend more than you approve</span>\n </Inline>\n </Stack>\n </Stack>\n <Stack {...styles.details()} gap=\"8\" render={<dl />}>\n <div>\n <dt {...styles.term()}>Expires</dt>{' '}\n <dd {...styles.value()}>\n {until(expiry)}{' '}\n {/* The tooltip's text never reaches the server render, so it shows the visitor's own time zone. */}\n <Tooltip.Root>\n <Tooltip.Trigger\n delay={150}\n render={\n <InfoCircle\n {...styles.info()}\n aria-label=\"Expiry date\"\n role=\"img\"\n tabIndex={0}\n />\n }\n />\n <Tooltip.Popup>\n {new Date(expiry * 1000).toLocaleString(undefined, {\n day: 'numeric',\n hour: 'numeric',\n minute: '2-digit',\n month: 'short',\n timeZoneName: 'short',\n year: 'numeric',\n })}\n </Tooltip.Popup>\n </Tooltip.Root>\n </dd>\n </div>\n </Stack>\n </Stack>\n {unrecognized.length ? (\n // A note, not an alert, since the calls are part of the request and interrupt nothing.\n <Alert intent=\"warning\" role=\"note\">\n <Alert.Icon />\n <Alert.Content>\n <Stack gap=\"8\">\n <p {...styles.warningTitle()}>This app can take other actions</p>\n {details ? (\n <Stack gap=\"8\" id={detailsId}>\n <p {...styles.warningText()}>\n Tempo ID can’t tell you what these actions do. Approve only\n if you trust this app.\n </p>\n </Stack>\n ) : null}\n </Stack>\n </Alert.Content>\n <Alert.Action\n aria-controls={detailsId}\n aria-expanded={details}\n onClick={() => setDetails((open) => !open)}\n >\n {details ? 'Hide' : 'Show'}\n </Alert.Action>\n </Alert>\n ) : null}\n </>\n )\n}\n\nexport declare namespace Grant {\n type Props = {\n /** The key's chain, shown in the corner. Absent, none shows. */\n chain?: string | undefined\n /** `h2` by default, or `h5` on the flows canvas. */\n heading?: 'h2' | 'h5' | undefined\n /** The key that the app requests. */\n keyAuthorization: KeyAuthorization.Description\n }\n}\n\n/**\n * Groups thousands and keeps every decimal. Each formatter is built at its first use, since a page's\n * first one loads the locale's data, which a page that shows no key never needs.\n */\nlet decimal: Intl.NumberFormat | undefined\n\n/** Formats an expiry's distance, such as `in 7 days`, from its first use. */\nlet relative: Intl.RelativeTimeFormat | undefined\n\n/** The spans of an expiry, largest first. Months and years are approximate. */\nconst spans = [\n ['year', 31_536_000],\n ['month', 2_592_000],\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n] as const\n\n/** The units of a period, largest first. */\nconst units = [\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n ['second', 1],\n] as const\n\n/** Returns how often a limit resets, such as `per day` or `every 2 weeks`. */\nfunction every(period: number) {\n const [unit, seconds] = units.find((entry) => period % entry[1] === 0)!\n const count = period / seconds\n return count === 1 ? `per ${unit}` : `every ${count} ${unit}s`\n}\n\n/** Formats a limit in its currency, such as `$1,000`, or as the amount and its code. */\nfunction format(\n limit: Pick<\n KeyAuthorization.Description['limits'][number],\n 'amount' | 'currency'\n >,\n) {\n const amount = limit.amount as Intl.StringNumericLiteral\n try {\n return new Intl.NumberFormat('en-US', {\n currency: limit.currency,\n maximumFractionDigits: 6,\n style: 'currency',\n trailingZeroDisplay: 'stripIfInteger',\n }).format(amount)\n } catch {\n // A yield-bearing token's own symbol is not a currency code.\n decimal ??= new Intl.NumberFormat('en-US', { maximumFractionDigits: 20 })\n return `${decimal.format(amount)} ${limit.currency}`\n }\n}\n\n/**\n * Returns the time until `expiry`, in Unix seconds, in its largest whole span, such as\n * `in 3 months`.\n */\nfunction until(expiry: number) {\n const remaining = expiry - Date.now() / 1000\n const [unit, seconds] =\n spans.find((entry) => remaining + 60 >= entry[1]) ?? spans.at(-1)!\n relative ??= new Intl.RelativeTimeFormat('en-US', { numeric: 'always' })\n return relative.format(Math.max(1, Math.round(remaining / seconds)), unit)\n}\n\nnamespace styles {\n export const allowed = style({\n color: 'content.positive',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n export const chain = style({\n insetBlockStart: '16',\n insetInlineEnd: '16',\n position: 'absolute',\n })\n\n export const denied = style({\n color: 'content.negative',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n // Each term and its value read as one line of text.\n export const details = style({ margin: '0', typography: 'body.b2' })\n\n export const heading = style({\n color: 'content.secondary',\n margin: '0',\n typography: 'body.b2',\n })\n\n export const icon = style({\n borderRadius: 'full',\n display: 'block',\n height: '20',\n width: '20',\n })\n\n // Several tokens overlap, and spread apart while hovered so each symbol can show.\n export const icons = style({\n display: 'flex',\n flexShrink: 0,\n // Each token but the last cuts a 2px gap around the next one, which overlaps it by 6px. A\n // cutout, unlike a ring in the fill color, matches a translucent fill.\n '& > span:not(:last-child)': {\n mask: 'radial-gradient(circle at 1.5rem 50%, transparent 0.75rem, #000 calc(0.75rem + 0.5px)) !custom',\n },\n '&:is(:hover, :focus-within) > span': { mask: 'none !custom' },\n '& > span + span': { marginInlineStart: '-0.375rem !custom' },\n '&:is(:hover, :focus-within) > span + span': { marginInlineStart: '4' },\n })\n\n export const info = style({\n color: 'content.secondary',\n display: 'inline',\n height: '16',\n outline: 'none',\n verticalAlign: 'middle',\n width: '16',\n ':focus-visible': {\n outline: '2px solid',\n outlineColor: 'border.focus',\n outlineOffset: '2',\n },\n })\n\n export const list = style({\n listStyle: 'none',\n margin: '0',\n padding: '0',\n typography: 'body.b2Strong',\n })\n\n export const nowrap = style({ whiteSpace: 'nowrap' })\n\n export const placeholder = style({\n alignItems: 'center',\n backgroundColor: 'background.elevated',\n borderRadius: 'full',\n color: 'content.secondary',\n display: 'flex',\n height: '20',\n justifyContent: 'center',\n typography: 'body.b3',\n width: '20',\n })\n\n export const popup = style({ maxWidth: '256' })\n\n export const popupLink = style({ color: 'accent.blue.foreground' })\n\n export const section = style({\n backgroundColor: 'container.regular',\n borderRadius: 'sm',\n margin: '0',\n padding: '20',\n // The chain's chip sits in the section's top-right corner.\n position: 'relative',\n })\n\n export const term = style({ color: 'content.secondary', display: 'inline' })\n\n export const token = style({\n borderRadius: 'full',\n outline: '2px solid',\n outlineColor: 'transparent !custom',\n outlineOffset: '2',\n ':focus-visible': { outlineColor: 'border.focus' },\n // Under reduced motion, the tokens spread apart without a transition.\n '@media (prefers-reduced-motion: no-preference)': {\n transitionDuration: '150',\n transitionProperty: 'margin',\n transitionTimingFunction: 'in-out',\n },\n })\n\n // The expiry reads in the weight of the permissions above it.\n export const value = style({\n display: 'inline',\n margin: '0',\n overflowWrap: 'anywhere',\n typography: 'body.b2Strong',\n })\n\n export const warningText = style({ color: 'content.primary' })\n\n // The title takes the alert's strong type, so the action at the end of the row lines up with it.\n export const warningTitle = style({ typography: 'body.b3Strong' })\n}\n"],"ignoreList":[0,1,2,3,4,5,6,7],"mappings":"A,wjBAcaoF,GAA4BD,EAAM,WAAW,SAAsB,EAAgB,EAAc,CAC5G,GAAM,CACJ,SACA,YACA,QACA,GAAGE,GACDC,EAEEC,EADQV,EACG,CAAC,CAAC,SAAS,MAAM,EAC5B,CACJ,WACA,OACA,QACA,kBACA,eACEP,EAA4B,EAgBhC,OATgBL,EAAiB,MAAOqB,EAAgB,CACtD,MAAA,CANA,OACA,OACA,QACA,WAAYE,CAGR,EACJ,IAAK,CAACC,EAAcC,CAAQ,EAC5B,MAAO,CAAC,CACN,MAAOC,EACP,cAAe,EACjB,EAAGN,CAAY,EACf,uBAAwBjB,CAC1B,CACa,CACf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A,SAASO,GAAM,EAAgB,CAC7B,IAAMa,EAAYZ,EAAS,KAAK,IAAI,EAAI,IAClC,CAACM,EAAMC,GACXH,EAAM,KAAM,GAAUQ,EAAY,IAAMH,EAAM,EAAE,GAAKL,EAAM,GAAG,EAAE,EAElE,MADA,KAAa,IAAI,KAAK,mBAAmB,QAAS,CAAE,QAAS,QAAS,CAAC,EAChED,EAAS,OAAO,KAAK,IAAI,EAAG,KAAK,MAAMS,EAAYL,CAAO,CAAC,EAAGD,CAAI,CAC3E,CAEA,IAAUhB,GAAV,SAAA,EAAA,CACe,EAAA,QAAU,EAOV,EAAA,MAAQ,EAMR,EAAA,OAAS,EAQT,EAAA,QAAU,EAEV,EAAA,QAAU,EAMV,EAAA,KAAO,EAQP,EAAA,MAAQ,EAaR,EAAA,KAAO,EAcP,EAAA,KAAO,EAOP,EAAA,OAAS,EAET,EAAA,YAAc,EAYd,EAAA,MAAQ,EAER,EAAA,UAAY,EAEZ,EAAA,QAAU,EASV,EAAA,KAAO,EAEP,EAAA,MAAQ,EAeR,EAAA,MAAQ,EAOR,EAAA,YAAc,EAGd,EAAA,aAAe,CAC9B,EAAA,CAAA,AAAAA,IAAA,CAAA,CAAA,E"}
1
+ {"version":3,"file":"Grant-7IW67yaM.js","names":["REASONS.closePress","BaseUi.Popover.Close","BaseUi.Popover.Root","BaseUi.Popover.Trigger","_jsx","BaseUi.Popover.Arrow","styles","BaseUi.Popover.Description","BaseUi.Popover.Portal","BaseUi.Popover.Positioner","BaseUi.Popover.Popup","BaseUi.Popover.Title","_jsxs","_jsx","_jsxs","_jsx","__import_glob__0_0_","__import_glob__0_1_","__import_glob__0_2_","__import_glob__0_3_","__import_glob__0_4_","__import_glob__0_5_","__import_glob__0_6_","__import_glob__0_7_","__import_glob__0_8_","__import_glob__0_9_","__import_glob__0_10_","__import_glob__0_11_","__import_glob__0_12_","__import_glob__0_13_","__import_glob__0_14_","__import_glob__0_15_","__import_glob__0_16_","__import_glob__0_17_","__import_glob__0_18_","__import_glob__0_19_","__import_glob__0_20_","__import_glob__0_21_","__import_glob__0_22_","__import_glob__0_23_","__import_glob__0_24_","__import_glob__0_25_","__import_glob__0_26_","__import_glob__0_27_","__import_glob__0_28_","__import_glob__0_29_","__import_glob__0_30_","__import_glob__0_31_","__import_glob__0_32_","__import_glob__0_33_","__import_glob__0_34_","__import_glob__0_35_","__import_glob__0_36_","__import_glob__1_0_","__import_glob__1_1_","useId","useState","_Fragment","__toESM","require_react","require_jsx_runtime","Stack","createChangeEventDetails","closePress","create","useRenderElement","useButton","useBaseUiId","popupStateMapping","Tooltip","usePopoverPositionerContext","PopoverRoot","useClosePartRegistration","PopoverPortal","PopoverPositioner","PopoverTrigger","PopoverPopup","usePopoverRootContext","Alert","CheckCircle","InfoCircle","Inline","StatusChip","import_react","PopoverArrow","elementProps","componentProps","open","arrowUncentered","forwardedRef","arrowRef","arrowStyles","PopoverTitle","store","id","PopoverDescription","PopoverClose","nativeButton","buttonRef","event","getButtonProps","import_jsx_runtime","Popover","Arrow","attributes","props","styles$1","Description","Popup","Title","BadgeCheck","XCircle","BRLA_default","BRZ_default","CHFAU_default","DLUSD_default","EURAU_default","EURC_e_default","GBPA_default","GUSD_default","MACH_default","OUSD_default","PRIME_default","SBC_default","SEKAU_default","USD1_default","USDB_default","USDC_e_default","USDT0_default","USDY_default","USDe_default","YLDS_default","alphaUSD_default","betaUSD_default","cUSD_default","cbBTC_default","frxUSD_default","goUSD_default","iUSD_default","pathUSD_default","rUSD_default","reUSD_default","sUSDe_default","siUSD_default","stcUSD_default","syrupUSDC_default","thetaUSD_default","wYLDS_default","wsrUSD_default","OUSD_dark_default","OUSD_light_default","icons","file","url","logos","symbol","scheme","result","Grant","deniedId","detailsId","details","setDetails","Heading","channels","calls","call","topUp","styles","limits","limit","format","every","label","token","logo","icon","until","expiry","unrecognized","decimal","relative","spans","units","unit","seconds","period","entry","count","amount","remaining"],"sources":["../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/arrow/PopoverArrow.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/title/PopoverTitle.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/description/PopoverDescription.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/close/PopoverClose.mjs","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/components/Popover.css","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/components/Popover.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/icons/BadgeCheck.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.3.2_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_cdaa15a4bd6cff4ab899a5a74bff83a9/node_modules/@tempoxyz/ds/dist/web/icons/XCircle.js","../../../components/icons/BRLA.png?no-inline","../../../components/icons/BRZ.svg?no-inline","../../../components/icons/CHFAU.png?no-inline","../../../components/icons/DLUSD.png?no-inline","../../../components/icons/EURAU.svg?no-inline","../../../components/icons/EURC.e.svg?no-inline","../../../components/icons/GBPA.svg?no-inline","../../../components/icons/GUSD.svg?no-inline","../../../components/icons/MACH.svg?no-inline","../../../components/icons/OUSD.svg?no-inline","../../../components/icons/PRIME.svg?no-inline","../../../components/icons/SBC.svg?no-inline","../../../components/icons/SEKAU.svg?no-inline","../../../components/icons/USD1.svg?no-inline","../../../components/icons/USDB.svg?no-inline","../../../components/icons/USDC.e.svg?no-inline","../../../components/icons/USDT0.svg?no-inline","../../../components/icons/USDY.svg?no-inline","../../../components/icons/USDe.svg?no-inline","../../../components/icons/YLDS.svg?no-inline","../../../components/icons/alphaUSD.svg?no-inline","../../../components/icons/betaUSD.svg?no-inline","../../../components/icons/cUSD.svg?no-inline","../../../components/icons/cbBTC.svg?no-inline","../../../components/icons/frxUSD.svg?no-inline","../../../components/icons/goUSD.svg?no-inline","../../../components/icons/iUSD.svg?no-inline","../../../components/icons/pathUSD.svg?no-inline","../../../components/icons/rUSD.svg?no-inline","../../../components/icons/reUSD.svg?no-inline","../../../components/icons/sUSDe.svg?no-inline","../../../components/icons/siUSD.svg?no-inline","../../../components/icons/stcUSD.svg?no-inline","../../../components/icons/syrupUSDC.svg?no-inline","../../../components/icons/thetaUSD.svg?no-inline","../../../components/icons/wYLDS.svg?no-inline","../../../components/icons/wsrUSD.svg?no-inline","../../../components/logos/OUSD.dark.svg?no-inline","../../../components/logos/OUSD.light.svg?no-inline","../../../components/Grant.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { usePopoverPositionerContext } from \"../positioner/PopoverPositionerContext.mjs\";\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * Displays an element positioned against the popover anchor.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverArrow = /*#__PURE__*/React.forwardRef(function PopoverArrow(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const open = store.useState('open');\n const {\n arrowRef,\n side,\n align,\n arrowUncentered,\n arrowStyles\n } = usePopoverPositionerContext();\n const state = {\n open,\n side,\n align,\n uncentered: arrowUncentered\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, arrowRef],\n props: [{\n style: arrowStyles,\n 'aria-hidden': true\n }, elementProps],\n stateAttributesMapping: popupStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverArrow.displayName = \"PopoverArrow\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n\n/**\n * A heading that labels the popover.\n * Renders an `<h2>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverTitle = /*#__PURE__*/React.forwardRef(function PopoverTitle(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('titleElementId', id);\n const element = useRenderElement('h2', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverTitle.displayName = \"PopoverTitle\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * A paragraph with additional information about the popover.\n * Renders a `<p>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverDescription = /*#__PURE__*/React.forwardRef(function PopoverDescription(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('descriptionElementId', id);\n const element = useRenderElement('p', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverDescription.displayName = \"PopoverDescription\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useButton } from \"../../internals/use-button/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useClosePartRegistration } from \"../../utils/closePart.mjs\";\n\n/**\n * A button that closes the popover.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverClose = /*#__PURE__*/React.forwardRef(function PopoverClose(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n disabled = false,\n nativeButton = true,\n ...elementProps\n } = componentProps;\n const {\n buttonRef,\n getButtonProps\n } = useButton({\n disabled,\n focusableWhenDisabled: false,\n native: nativeButton\n });\n const store = usePopoverRootContext();\n useClosePartRegistration();\n const element = useRenderElement('button', componentProps, {\n ref: [forwardedRef, buttonRef],\n props: [{\n onClick(event) {\n store.setOpen(false, createChangeEventDetails(REASONS.closePress, event.nativeEvent));\n }\n }, elementProps, getButtonProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverClose.displayName = \"PopoverClose\";",".z_tds_2f_web-WYxykg0{color:var(--z-tds_2f_web-color-background-elevated,light-dark(var(--z-tds_2f_web-color-neutral-000,#fff),var(--z-tds_2f_web-color-neutral-092,#141414)))}.z_tds_2f_web-WYxykg1{display:flex}.z_tds_2f_web-WYxykg2{&[data-side=bottom]{top:-10px}}.z_tds_2f_web-WYxykg3{&[data-side=left]{right:-14px}}.z_tds_2f_web-WYxykg4{&[data-side=left]{rotate:90deg}}.z_tds_2f_web-WYxykg5{&[data-side=right]{left:-14px}}.z_tds_2f_web-WYxykg6{&[data-side=right]{rotate:-90deg}}.z_tds_2f_web-WYxykg7{&[data-side=top]{bottom:-10px}}.z_tds_2f_web-WYxykg8{&[data-side=top]{rotate:180deg}}.z_tds_2f_web-WYxykg9{color:var(--z-tds_2f_web-color-content-secondary,light-dark(var(--z-tds_2f_web-color-neutral-shade-056,#0000008f),var(--z-tds_2f_web-color-neutral-tint-064,#ffffffa3)))}.z_tds_2f_web-WYxykga{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykgb{font-family:var(--z-tds_2f_web-typography-body-b2-fontFamily,var(--z-tds_2f_web-fontFamily-body,Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"))}.z_tds_2f_web-WYxykgc{font-size:var(--z-tds_2f_web-typography-body-b2-fontSize,14px)}.z_tds_2f_web-WYxykgd{font-weight:var(--z-tds_2f_web-typography-body-b2-fontWeight,400)}.z_tds_2f_web-WYxykge{letter-spacing:var(--z-tds_2f_web-typography-body-b2-letterSpacing,.14px)}.z_tds_2f_web-WYxykgf{line-height:var(--z-tds_2f_web-typography-body-b2-lineHeight,20px)}.z_tds_2f_web-WYxykgg{background-color:var(--z-tds_2f_web-color-background-elevated,light-dark(var(--z-tds_2f_web-color-neutral-000,#fff),var(--z-tds_2f_web-color-neutral-092,#141414)))}.z_tds_2f_web-WYxykgh{border-radius:var(--z-tds_2f_web-radius-sm,calc(1rem * var(--tds-corner-scale,1)))}.z_tds_2f_web-WYxykgi{box-shadow:var(--z-tds_2f_web-shadow-regular,0 8px 48px #0000000a, 0 4px 16px #0000000a, 0 2px 8px #0000000a)}.z_tds_2f_web-WYxykgj{box-sizing:border-box}.z_tds_2f_web-WYxykgk{color:var(--z-tds_2f_web-color-content-primary,light-dark(var(--z-tds_2f_web-color-neutral-100,#000),var(--z-tds_2f_web-color-neutral-000,#fff)))}.z_tds_2f_web-WYxykgl{max-width:var(--available-width)}.z_tds_2f_web-WYxykgm{outline:none}.z_tds_2f_web-WYxykgn{padding:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-WYxykgo{transform-origin:var(--transform-origin)}.z_tds_2f_web-WYxykgp{transition-duration:var(--z-tds_2f_web-transitionDuration-200,.2s)}.z_tds_2f_web-WYxykgq{transition-property:opacity,scale}.z_tds_2f_web-WYxykgr{transition-timing-function:var(--z-tds_2f_web-ease-snappy,cubic-bezier(.23, 1, .32, 1))}.z_tds_2f_web-WYxykgs{width:max-content}.z_tds_2f_web-WYxykgt{&[data-ending-style]{opacity:0}}.z_tds_2f_web-WYxykgu{&[data-ending-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}.z_tds_2f_web-WYxykgv{&[data-ending-style]{transition-duration:var(--z-tds_2f_web-transitionDuration-140,.14s)}}.z_tds_2f_web-WYxykgw{&[data-starting-style]{opacity:0}}.z_tds_2f_web-WYxykgx{&[data-starting-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}@media (prefers-reduced-motion:reduce){.z_tds_2f_web-WYxykgy{transition-property:opacity}.z_tds_2f_web-WYxykgz{&[data-ending-style],&[data-starting-style]{scale:none}}}.z_tds_2f_web-WYxykg10{z-index:var(--z-tds_2f_web-zIndex-popover,50)}.z_tds_2f_web-WYxykg11{font-family:var(--z-tds_2f_web-typography-heading-h3-fontFamily,var(--z-tds_2f_web-fontFamily-heading,Pilat, Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif))}.z_tds_2f_web-WYxykg12{font-size:var(--z-tds_2f_web-typography-heading-h3-fontSize,20px)}.z_tds_2f_web-WYxykg13{font-weight:var(--z-tds_2f_web-typography-heading-h3-fontWeight,500)}.z_tds_2f_web-WYxykg14{letter-spacing:var(--z-tds_2f_web-typography-heading-h3-letterSpacing,-.3px)}.z_tds_2f_web-WYxykg15{line-height:var(--z-tds_2f_web-typography-heading-h3-lineHeight,23px)}.z_tds_2f_web-WYxykg16{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykg17{margin-bottom:var(--z-tds_2f_web-spacing-4,.25rem)}","\nimport { Props as __zyzzProps } from 'zyzz/runtime';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as BaseUi from '@base-ui/react/popover';\nimport { style } from '../zyzz.config.js';\n/**\n * A non-modal `dialog` anchored to a trigger and opened on click. Opening moves focus to the first\n * tabbable element inside, or to the popup on touch. Escape and outside presses close it and\n * return focus to the trigger.\n *\n * - Use it for interactive or longer content. Use `Tooltip` for a short hint on hover.\n * - Include `Title` so the dialog has an accessible name, and `Description` for supporting text.\n * - Offer `Close` when the popup holds a form or other controls.\n *\n * @example\n * <Popover.Root>\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n * <Popover.Popup>\n * <Popover.Title>Network fee</Popover.Title>\n * <Popover.Description>Paid in the token you send.</Popover.Description>\n * </Popover.Popup>\n * </Popover.Root>\n *\n * @see {@link https://base-ui.com/react/components/popover | Base UI Popover}\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Popover_API | MDN Popover API}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html | WCAG 2.2 Content on Hover or Focus}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html | WCAG 2.2 Focus Order}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html | WCAG 2.2 Keyboard}\n */\nexport var Popover;\n(function (Popover) {\n /** Renders a `button` that closes the popover. Pass `render` to use a `Button`. */\n Popover.Close = BaseUi.Popover.Close;\n /**\n * Owns the open state. Pass `open` and `onOpenChange` to control it. Unless `modal` is set, the\n * page stays interactive while the popover is open.\n */\n Popover.Root = BaseUi.Popover.Root;\n /**\n * Toggles the popover on click and anchors the popup. Set `openOnHover` to also open it on hover.\n *\n * @example\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n */\n Popover.Trigger = BaseUi.Popover.Trigger;\n /** Draws a pointer toward the trigger on the popup's anchored side. Place it inside `Popup`. */\n function Arrow(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Arrow, { ...attributes, ...styles.arrow({ className, style: props.style, vars }), children: _jsx(\"svg\", { \"aria-hidden\": \"true\", fill: \"currentColor\", height: \"10\", viewBox: \"0 0 20 10\", width: \"20\", children: _jsx(\"path\", { d: \"M0 10C4 10 7 7 8.6 4.6a2 2 0 0 1 2.8 0C13 7 16 10 20 10Z\" }) }) }));\n }\n Popover.Arrow = Arrow;\n /** Renders a `p` that describes the popup through `aria-describedby`. */\n function Description(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Description, { ...attributes, ...styles.description({ className, style: props.style, vars }) }));\n }\n Popover.Description = Description;\n /**\n * Renders the portal, positioner and popup. Placement props go to the positioner, which sits 8px\n * from the trigger unless `sideOffset` is set. Other props, `ref`, `className` and `style` reach\n * the popup. `initialFocus` and `finalFocus` override where focus moves on open and close.\n */\n function Popup(props) {\n const { align, alignOffset, anchor, className, collisionPadding, side, sideOffset = 8, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Portal, { children: _jsx(BaseUi.Popover.Positioner, { ...styles.positioner(), align: align, alignOffset: alignOffset, anchor: anchor, collisionPadding: collisionPadding, side: side, sideOffset: sideOffset, children: _jsx(BaseUi.Popover.Popup, { ...attributes, ...styles.popup({ className, style: props.style, vars }) }) }) }));\n }\n Popover.Popup = Popup;\n /** Renders an `h2` that names the popup through `aria-labelledby`. */\n function Title(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Title, { ...attributes, ...styles.title({ className, style: props.style, vars }) }));\n }\n Popover.Title = Title;\n})(Popover || (Popover = {}));\nvar styles;\n(function (styles) {\n styles.arrow = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg0 z_tds_2f_web-WYxykg1 z_tds_2f_web-WYxykg2 z_tds_2f_web-WYxykg3 z_tds_2f_web-WYxykg4 z_tds_2f_web-WYxykg5 z_tds_2f_web-WYxykg6 z_tds_2f_web-WYxykg7 z_tds_2f_web-WYxykg8\"});\n styles.description = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg9 z_tds_2f_web-WYxykga z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf\"});\n styles.popup = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykgg z_tds_2f_web-WYxykgh z_tds_2f_web-WYxykgi z_tds_2f_web-WYxykgj z_tds_2f_web-WYxykgk z_tds_2f_web-WYxykgl z_tds_2f_web-WYxykgm z_tds_2f_web-WYxykgn z_tds_2f_web-WYxykgo z_tds_2f_web-WYxykgp z_tds_2f_web-WYxykgq z_tds_2f_web-WYxykgr z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf z_tds_2f_web-WYxykgs z_tds_2f_web-WYxykgt z_tds_2f_web-WYxykgu z_tds_2f_web-WYxykgv z_tds_2f_web-WYxykgw z_tds_2f_web-WYxykgx z_tds_2f_web-WYxykgy z_tds_2f_web-WYxykgz\"});\n styles.positioner = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg10\"});\n styles.title = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg11 z_tds_2f_web-WYxykg12 z_tds_2f_web-WYxykg13 z_tds_2f_web-WYxykg14 z_tds_2f_web-WYxykg15 z_tds_2f_web-WYxykg16 z_tds_2f_web-WYxykg17\"});\n})(styles || (styles = {}));\n//# sourceMappingURL=Popover.js.map\nimport './Popover.css';\n","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function BadgeCheck(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.9691 6.50791C10.1268 6.28127 10.4387 6.2253 10.6654 6.38291C10.8915 6.54061 10.9476 6.85173 10.7904 7.07822L8.1859 10.8253C8.10463 10.9422 7.97661 11.0189 7.83532 11.0362C7.69403 11.0533 7.5516 11.009 7.44469 10.9151L5.95641 9.60361C5.74921 9.42107 5.72894 9.10476 5.91149 8.89756C6.09407 8.69075 6.4095 8.67124 6.61657 8.85361L7.68395 9.79306L9.9691 6.50791Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.67516 1.61826C8.13077 1.16265 8.86994 1.16265 9.32555 1.61826L10.7591 3.05185C10.7902 3.08262 10.8326 3.10058 10.8763 3.10068H12.7338C13.3779 3.10081 13.9006 3.62258 13.9007 4.2667V6.12412C13.9009 6.16817 13.9184 6.21112 13.9496 6.24228L15.3832 7.6749C15.8384 8.13047 15.8385 8.86977 15.3832 9.32529L13.9496 10.7589C13.9185 10.79 13.9008 10.8321 13.9007 10.8761V12.7335C13.9005 13.3776 13.3778 13.9004 12.7338 13.9005H10.8763C10.8323 13.9006 10.7903 13.9182 10.7591 13.9493L9.32555 15.3829C8.87002 15.8381 8.1307 15.8381 7.67516 15.3829L6.24254 13.9493C6.21134 13.9181 6.16849 13.9005 6.12438 13.9005H4.26696C3.6229 13.9003 3.10117 13.3775 3.10094 12.7335V10.8761C3.10084 10.8323 3.08288 10.79 3.05211 10.7589L1.61852 9.32529C1.16294 8.86971 1.163 8.13052 1.61852 7.6749L3.05211 6.24228C3.08324 6.21113 3.10083 6.16815 3.10094 6.12412V4.2667C3.1011 3.62259 3.62285 3.10084 4.26696 3.10068H6.12438C6.16843 3.10062 6.21135 3.08297 6.24254 3.05185L7.67516 1.61826ZM8.61852 2.32529C8.5535 2.26027 8.44827 2.26042 8.38317 2.32529L6.94957 3.75888C6.73085 3.97753 6.43365 4.10062 6.12438 4.10068H4.26696C4.17514 4.10084 4.1011 4.17488 4.10094 4.2667V6.12412C4.10083 6.43336 3.97781 6.73062 3.75914 6.94931L2.32555 8.38291C2.26077 8.44802 2.26056 8.55327 2.32555 8.61826L3.75914 10.0519C3.97744 10.2705 4.10084 10.5671 4.10094 10.8761V12.7335C4.10117 12.8253 4.17518 12.9003 4.26696 12.9005H6.12438C6.43371 12.9005 6.73084 13.0235 6.94957 13.2423L8.38317 14.6749C8.44825 14.7396 8.55353 14.7398 8.61852 14.6749L10.0521 13.2423C10.2708 13.0236 10.5671 12.9006 10.8763 12.9005H12.7338C12.8256 12.9004 12.9005 12.8253 12.9007 12.7335V10.8761C12.9008 10.5669 13.0239 10.2705 13.2425 10.0519L14.6752 8.61826C14.7401 8.55328 14.7399 8.44802 14.6752 8.38291L13.2425 6.94931C13.0239 6.73062 12.9009 6.43339 12.9007 6.12412V4.2667C12.9006 4.17486 12.8256 4.10081 12.7338 4.10068H10.8763C10.5674 4.10058 10.2708 3.97719 10.0521 3.75888L8.61852 2.32529Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=BadgeCheck.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function XCircle(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.64648 5.64648C9.84175 5.45122 10.1583 5.45122 10.3535 5.64648C10.5487 5.84175 10.5488 6.15827 10.3535 6.35352L8.70703 8L10.3535 9.64648C10.5487 9.84175 10.5488 10.1583 10.3535 10.3535C10.1583 10.5488 9.84175 10.5487 9.64648 10.3535L8 8.70703L6.35352 10.3535C6.15827 10.5488 5.84175 10.5487 5.64648 10.3535C5.45122 10.1583 5.45122 9.84175 5.64648 9.64648L7.29297 8L5.64648 6.35352C5.45122 6.15825 5.45122 5.84175 5.64648 5.64648C5.84175 5.45122 6.15825 5.45122 6.35352 5.64648L8 7.29297L9.64648 5.64648Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 1.33301C11.6817 1.33318 14.666 4.31919 14.666 8.00098C14.6656 11.6824 11.6815 14.6668 8 14.667C4.31837 14.667 1.33345 11.6825 1.33301 8.00098C1.33301 4.31908 4.3181 1.33301 8 1.33301ZM8 2.33398C4.87039 2.33398 2.33301 4.87137 2.33301 8.00098C2.33345 11.1302 4.87066 13.667 8 13.667C11.1292 13.6668 13.6656 11.1301 13.666 8.00098C13.666 4.87147 11.1294 2.33416 8 2.33398Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=XCircle.js.map","export default import.meta.ROLLDOWN_FILE_URL_q6tfGKm3Qmt5DJmATeHQdA","export default import.meta.ROLLDOWN_FILE_URL_OestAvA2SyLT4CG6L76dAw","export default import.meta.ROLLDOWN_FILE_URL_nJkgIVJgL11RgZiGUBj6wA","export default import.meta.ROLLDOWN_FILE_URL_tgFyw$X211zXSctfMU9_LA","export default import.meta.ROLLDOWN_FILE_URL_LphhLScmzwPqWwTyAbd7ig","export default import.meta.ROLLDOWN_FILE_URL_U6muqRGa8aHtq8t0c9wAzg","export default import.meta.ROLLDOWN_FILE_URL_i2ywl_YzKp2MjtOEr7ngzA","export default import.meta.ROLLDOWN_FILE_URL_TX5a1iViCylaCWPFSCQG2w","export default import.meta.ROLLDOWN_FILE_URL_y3WuTrdTs_Si7uYpRddj9w","export default import.meta.ROLLDOWN_FILE_URL_kSHvwCjLFxLpY3FM1MyAsA","export default import.meta.ROLLDOWN_FILE_URL_0PgJxXqjw$KAl6PgZjQb5g","export default import.meta.ROLLDOWN_FILE_URL_EsSyonNWXFChOyjfj2S3nw","export default import.meta.ROLLDOWN_FILE_URL_yW_eMvu1QqHghXJHMLbBbg","export default import.meta.ROLLDOWN_FILE_URL_zOyQqdNGsn0lL_XEFrarVA","export default import.meta.ROLLDOWN_FILE_URL_07gvO1IvTzTCTyYqp_a5mw","export default import.meta.ROLLDOWN_FILE_URL_qZZZ7EOcQU0bnm2SE9d1Ig","export default import.meta.ROLLDOWN_FILE_URL_tgItkVM6JTrfm2CiQnzY5g","export default import.meta.ROLLDOWN_FILE_URL_DzYsnjr1LtW1tBWqsYm2RQ","export default import.meta.ROLLDOWN_FILE_URL_HAwZnQ40A17rYC3Q$lxt9A","export default import.meta.ROLLDOWN_FILE_URL_RCaHVq_jCUoWDQWiWLxE3w","export default import.meta.ROLLDOWN_FILE_URL_8Jdj9qQ4eJq3labUJOvRYQ","export default import.meta.ROLLDOWN_FILE_URL_e3FJByPCCgv8fip_DM$mWQ","export default import.meta.ROLLDOWN_FILE_URL_eBB5uVE_t2Bb1etqpZE3Ig","export default import.meta.ROLLDOWN_FILE_URL_gTxdgYqT1FnWrjfbk9DrbA","export default import.meta.ROLLDOWN_FILE_URL_rUkiH63qcJGEQEedyX41xw","export default import.meta.ROLLDOWN_FILE_URL_PWd8aapBt1YfLvgRaedarQ","export default import.meta.ROLLDOWN_FILE_URL_V1ZYpwZc9C51fJhgOTS5xQ","export default import.meta.ROLLDOWN_FILE_URL_2ZEzIIM_atdpHcr$6kvj$Q","export default import.meta.ROLLDOWN_FILE_URL_6bp_5It$EfTQ8f$omStdjw","export default import.meta.ROLLDOWN_FILE_URL_xUfAOc8vsLn5godiQWqFgA","export default import.meta.ROLLDOWN_FILE_URL_8KByd7W0oH8zGe1MvrBFUw","export default import.meta.ROLLDOWN_FILE_URL_aKo4wVjMjV9S8rY28E5Mvg","export default import.meta.ROLLDOWN_FILE_URL_3Lrf7vA$GngskD3e2_Wsaw","export default import.meta.ROLLDOWN_FILE_URL_OxgPY7jd89vmgHQlmb5h_Q","export default import.meta.ROLLDOWN_FILE_URL_Ngmgj7KrmSrUoXH_NFNtFA","export default import.meta.ROLLDOWN_FILE_URL_cLLFq7OX38PQjR0WE41fig","export default import.meta.ROLLDOWN_FILE_URL_bLNX6U6f8qE7L2W0pHPLmA","export default import.meta.ROLLDOWN_FILE_URL_2h$eqWdLjjj$zuUvyPi$HQ","export default import.meta.ROLLDOWN_FILE_URL_UF4iDpNJhIbRdkaNqmNRqw","/** Shows a requested key's limits and expiry, and warns about unrecognized calls. @module */\nimport {\n Alert,\n Inline,\n Popover,\n Stack,\n StatusChip,\n Tooltip,\n} from '@tempoxyz/ds'\nimport { CheckCircle, InfoCircle, XCircle } from '@tempoxyz/ds/icons'\nimport { type ReactNode, useId, useState } from 'react'\nimport type * as KeyAuthorization from '../../internal/KeyAuthorization.js'\nimport { style } from '../zyzz.config.js'\n\n/**\n * Each token's icon URL, by symbol. Each icon stays its own file, since an inlined icon would put\n * every token's icon in the script of each page that shows a key.\n */\nconst icons = Object.fromEntries(\n Object.entries(\n import.meta.glob<string>('./icons/*.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n ).map(([file, url]) => [\n file.slice('./icons/'.length, file.lastIndexOf('.')),\n url,\n ]),\n)\n\n/** Logos from `logos/`, by symbol and color scheme, each its own file. A logo replaces the icon. */\nconst logos = Object.entries(\n import.meta.glob<string>('./logos/*.{light,dark}.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n).reduce<Record<string, { dark?: string; light?: string }>>(\n (result, [file, url]) => {\n const [, symbol, scheme] = file.match(\n /^\\.\\/logos\\/(.+)\\.(light|dark)\\.\\w+$/,\n )!\n result[symbol!] = { ...result[symbol!], [scheme!]: url }\n return result\n },\n {},\n)\n\n/** What the requested key may and may not do, with its limits and expiry. */\nexport function Grant(props: Grant.Props): ReactNode {\n // Several grants can share a document, so each derives its own IDs.\n const id = useId()\n const deniedId = useId()\n const detailsId = useId()\n // The unrecognized calls stay collapsed under their one-line warning until the user opens them.\n const [details, setDetails] = useState(false)\n const { calls, expiry, limits, unrecognized } = props.keyAuthorization\n const Heading = props.heading ?? 'h2'\n // MPP sessions pay through payment channels, which `open` starts and `topUp` funds. Both read as\n // funds the app holds, since a channel is an escrow that the service draws from.\n const channels = (() => {\n const open = calls.some((call) => call.call === 'open')\n const topUp = calls.some((call) => call.call === 'topUp')\n if (open) return 'Hold funds for services'\n if (topUp) return 'Add to funds it holds for services'\n return undefined\n })()\n return (\n <>\n <Stack\n {...styles.section()}\n aria-labelledby={id}\n gap=\"24\"\n render={<section />}\n >\n {props.chain ? (\n <StatusChip\n {...styles.chain()}\n aria-label={`Chain: ${props.chain}`}\n network\n size=\"small\"\n >\n {props.chain}\n </StatusChip>\n ) : null}\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={id}>\n This app will be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={id}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>View your balance and activity</span>\n </Inline>\n {limits.map((limit) => (\n <Inline\n gap=\"8\"\n key={`${limit.currency}:${limit.period ?? 0}`}\n render={<li />}\n >\n <CheckCircle {...styles.allowed()} />\n <span>\n Spend{' '}\n {limit.period\n ? `${format(limit)} ${every(limit.period)}`\n : format(limit)}\n </span>\n <span {...styles.icons()}>\n {limit.tokens.map((token) => {\n // Each token's own limit shows on its icon, since the total spans several.\n const label = `${token.symbol}: ${format({ amount: token.amount, currency: limit.currency })}`\n const logo = logos[token.symbol]\n const icon = logo?.light ?? icons[token.symbol]\n return (\n <Tooltip.Root key={token.symbol}>\n <Tooltip.Trigger\n delay={150}\n render={\n <span {...styles.token()} tabIndex={0}>\n {icon ? (\n // The page follows the system color scheme, so the image does too.\n <picture>\n {logo?.dark ? (\n <source\n media=\"(prefers-color-scheme: dark)\"\n srcSet={logo.dark}\n />\n ) : null}\n <img\n {...styles.icon()}\n alt={label}\n height={20}\n src={icon}\n width={20}\n />\n </picture>\n ) : (\n // A token without a logo shows its initial.\n <span\n {...styles.placeholder()}\n aria-label={label}\n role=\"img\"\n >\n {token.symbol[0]}\n </span>\n )}\n </span>\n }\n />\n <Tooltip.Popup>{label}</Tooltip.Popup>\n </Tooltip.Root>\n )\n })}\n </span>\n </Inline>\n ))}\n {channels ? (\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>\n {channels.slice(0, channels.lastIndexOf(' ') + 1)}\n {/* The last word and the icon wrap together. */}\n <span {...styles.nowrap()}>\n {channels.slice(channels.lastIndexOf(' ') + 1)}{' '}\n <Popover.Root>\n <Popover.Trigger\n aria-label=\"About funds for services\"\n nativeButton={false}\n openOnHover\n render={<InfoCircle {...styles.info()} tabIndex={0} />}\n />\n <Popover.Popup\n {...styles.popup()}\n aria-label=\"Funds for services\"\n >\n <Popover.Description>\n Set aside for pay-as-you-go services that use{' '}\n <a\n {...styles.popupLink()}\n href=\"https://mpp.dev\"\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n MPP\n </a>\n . They take only what you use, and you get the rest\n back.\n </Popover.Description>\n </Popover.Popup>\n </Popover.Root>\n </span>\n </span>\n </Inline>\n ) : null}\n </Stack>\n </Stack>\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={deniedId}>\n This app won’t be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={deniedId}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <XCircle {...styles.denied()} />\n <span>Spend more than you approve</span>\n </Inline>\n </Stack>\n </Stack>\n <Stack {...styles.details()} gap=\"8\" render={<dl />}>\n <div>\n <dt {...styles.term()}>Expires</dt>{' '}\n <dd {...styles.value()}>\n {until(expiry)}{' '}\n {/* The tooltip's text never reaches the server render, so it shows the visitor's own time zone. */}\n <Tooltip.Root>\n <Tooltip.Trigger\n delay={150}\n render={\n <InfoCircle\n {...styles.info()}\n aria-label=\"Expiry date\"\n role=\"img\"\n tabIndex={0}\n />\n }\n />\n <Tooltip.Popup>\n {new Date(expiry * 1000).toLocaleString(undefined, {\n day: 'numeric',\n hour: 'numeric',\n minute: '2-digit',\n month: 'short',\n timeZoneName: 'short',\n year: 'numeric',\n })}\n </Tooltip.Popup>\n </Tooltip.Root>\n </dd>\n </div>\n </Stack>\n </Stack>\n {unrecognized.length ? (\n // A note, not an alert, since the calls are part of the request and interrupt nothing.\n <Alert intent=\"warning\" role=\"note\">\n <Alert.Icon />\n <Alert.Content>\n <Stack gap=\"8\">\n <p {...styles.warningTitle()}>This app can take other actions</p>\n {details ? (\n <Stack gap=\"8\" id={detailsId}>\n <p {...styles.warningText()}>\n Tempo ID can’t tell you what these actions do. Approve only\n if you trust this app.\n </p>\n </Stack>\n ) : null}\n </Stack>\n </Alert.Content>\n <Alert.Action\n aria-controls={detailsId}\n aria-expanded={details}\n onClick={() => setDetails((open) => !open)}\n >\n {details ? 'Hide' : 'Show'}\n </Alert.Action>\n </Alert>\n ) : null}\n </>\n )\n}\n\nexport declare namespace Grant {\n type Props = {\n /** The key's chain, shown in the corner. Absent, none shows. */\n chain?: string | undefined\n /** `h2` by default, or `h5` on the flows canvas. */\n heading?: 'h2' | 'h5' | undefined\n /** The key that the app requests. */\n keyAuthorization: KeyAuthorization.Description\n }\n}\n\n/**\n * Groups thousands and keeps every decimal. Each formatter is built at its first use, since a page's\n * first one loads the locale's data, which a page that shows no key never needs.\n */\nlet decimal: Intl.NumberFormat | undefined\n\n/** Formats an expiry's distance, such as `in 7 days`, from its first use. */\nlet relative: Intl.RelativeTimeFormat | undefined\n\n/** The spans of an expiry, largest first. Months and years are approximate. */\nconst spans = [\n ['year', 31_536_000],\n ['month', 2_592_000],\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n] as const\n\n/** The units of a period, largest first. */\nconst units = [\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n ['second', 1],\n] as const\n\n/** Returns how often a limit resets, such as `per day` or `every 2 weeks`. */\nfunction every(period: number) {\n const [unit, seconds] = units.find((entry) => period % entry[1] === 0)!\n const count = period / seconds\n return count === 1 ? `per ${unit}` : `every ${count} ${unit}s`\n}\n\n/** Formats a limit in its currency, such as `$1,000`, or as the amount and its code. */\nfunction format(\n limit: Pick<\n KeyAuthorization.Description['limits'][number],\n 'amount' | 'currency'\n >,\n) {\n const amount = limit.amount as Intl.StringNumericLiteral\n try {\n return new Intl.NumberFormat('en-US', {\n currency: limit.currency,\n maximumFractionDigits: 6,\n style: 'currency',\n trailingZeroDisplay: 'stripIfInteger',\n }).format(amount)\n } catch {\n // A yield-bearing token's own symbol is not a currency code.\n decimal ??= new Intl.NumberFormat('en-US', { maximumFractionDigits: 20 })\n return `${decimal.format(amount)} ${limit.currency}`\n }\n}\n\n/**\n * Returns the time until `expiry`, in Unix seconds, in its largest whole span, such as\n * `in 3 months`.\n */\nfunction until(expiry: number) {\n const remaining = expiry - Date.now() / 1000\n const [unit, seconds] =\n spans.find((entry) => remaining + 60 >= entry[1]) ?? spans.at(-1)!\n relative ??= new Intl.RelativeTimeFormat('en-US', { numeric: 'always' })\n return relative.format(Math.max(1, Math.round(remaining / seconds)), unit)\n}\n\nnamespace styles {\n export const allowed = style({\n color: 'content.positive',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n export const chain = style({\n insetBlockStart: '16',\n insetInlineEnd: '16',\n position: 'absolute',\n })\n\n export const denied = style({\n color: 'content.negative',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n // Each term and its value read as one line of text.\n export const details = style({ margin: '0', typography: 'body.b2' })\n\n export const heading = style({\n color: 'content.secondary',\n margin: '0',\n typography: 'body.b2',\n })\n\n export const icon = style({\n borderRadius: 'full',\n display: 'block',\n height: '20',\n width: '20',\n })\n\n // Several tokens overlap, and spread apart while hovered so each symbol can show.\n export const icons = style({\n display: 'flex',\n flexShrink: 0,\n // Each token but the last cuts a 2px gap around the next one, which overlaps it by 6px. A\n // cutout, unlike a ring in the fill color, matches a translucent fill.\n '& > span:not(:last-child)': {\n mask: 'radial-gradient(circle at 1.5rem 50%, transparent 0.75rem, #000 calc(0.75rem + 0.5px)) !custom',\n },\n '&:is(:hover, :focus-within) > span': { mask: 'none !custom' },\n '& > span + span': { marginInlineStart: '-0.375rem !custom' },\n '&:is(:hover, :focus-within) > span + span': { marginInlineStart: '4' },\n })\n\n export const info = style({\n color: 'content.secondary',\n display: 'inline',\n height: '16',\n outline: 'none',\n verticalAlign: 'middle',\n width: '16',\n ':focus-visible': {\n outline: '2px solid',\n outlineColor: 'border.focus',\n outlineOffset: '2',\n },\n })\n\n export const list = style({\n listStyle: 'none',\n margin: '0',\n padding: '0',\n typography: 'body.b2Strong',\n })\n\n export const nowrap = style({ whiteSpace: 'nowrap' })\n\n export const placeholder = style({\n alignItems: 'center',\n backgroundColor: 'background.elevated',\n borderRadius: 'full',\n color: 'content.secondary',\n display: 'flex',\n height: '20',\n justifyContent: 'center',\n typography: 'body.b3',\n width: '20',\n })\n\n export const popup = style({ maxWidth: '256' })\n\n export const popupLink = style({ color: 'accent.blue.foreground' })\n\n export const section = style({\n backgroundColor: 'container.regular',\n borderRadius: 'sm',\n margin: '0',\n padding: '20',\n // The chain's chip sits in the section's top-right corner.\n position: 'relative',\n })\n\n export const term = style({ color: 'content.secondary', display: 'inline' })\n\n export const token = style({\n borderRadius: 'full',\n outline: '2px solid',\n outlineColor: 'transparent !custom',\n outlineOffset: '2',\n ':focus-visible': { outlineColor: 'border.focus' },\n // Under reduced motion, the tokens spread apart without a transition.\n '@media (prefers-reduced-motion: no-preference)': {\n transitionDuration: '150',\n transitionProperty: 'margin',\n transitionTimingFunction: 'in-out',\n },\n })\n\n // The expiry reads in the weight of the permissions above it.\n export const value = style({\n display: 'inline',\n margin: '0',\n overflowWrap: 'anywhere',\n typography: 'body.b2Strong',\n })\n\n export const warningText = style({ color: 'content.primary' })\n\n // The title takes the alert's strong type, so the action at the end of the row lines up with it.\n export const warningTitle = style({ typography: 'body.b3Strong' })\n}\n"],"ignoreList":[0,1,2,3,4,5,6,7],"mappings":"A,wjBAcaoF,GAA4BD,EAAM,WAAW,SAAsB,EAAgB,EAAc,CAC5G,GAAM,CACJ,SACA,YACA,QACA,GAAGE,GACDC,EAEEC,EADQV,EACG,CAAC,CAAC,SAAS,MAAM,EAC5B,CACJ,WACA,OACA,QACA,kBACA,eACEP,EAA4B,EAgBhC,OATgBL,EAAiB,MAAOqB,EAAgB,CACtD,MAAA,CANA,OACA,OACA,QACA,WAAYE,CAGR,EACJ,IAAK,CAACC,EAAcC,CAAQ,EAC5B,MAAO,CAAC,CACN,MAAOC,EACP,cAAe,EACjB,EAAGN,CAAY,EACf,uBAAwBjB,CAC1B,CACa,CACf,CAAC,ECjCYwB,GAA4BT,EAAM,WAAW,SAAsB,EAAgB,EAAc,CAC5G,GAAM,CACJ,SACA,YACA,QACA,GAAGE,GACDC,EACEO,EAAQhB,EAAsB,EAC9BiB,EAAK3B,EAAYkB,EAAa,EAAE,EAQtC,OAPAQ,EAAM,0BAA0B,iBAAkBC,CAAE,EACpC7B,EAAiB,KAAMqB,EAAgB,CACrD,IAAKG,EACL,MAAO,CAAC,CACN,IACF,EAAGJ,CAAY,CACjB,CACa,CACf,CAAC,ECjBYU,GAAkCZ,EAAM,WAAW,SAA4B,EAAgB,EAAc,CACxH,GAAM,CACJ,SACA,YACA,QACA,GAAGE,GACDC,EACEO,EAAQhB,EAAsB,EAC9BiB,EAAK3B,EAAYkB,EAAa,EAAE,EAQtC,OAPAQ,EAAM,0BAA0B,uBAAwBC,CAAE,EAC1C7B,EAAiB,IAAKqB,EAAgB,CACpD,IAAKG,EACL,MAAO,CAAC,CACN,IACF,EAAGJ,CAAY,CACjB,CACa,CACf,CAAC,ECdYW,GAA4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,EAeR,EAAA,MAAQ,EAOR,EAAA,YAAc,EAGd,EAAA,aAAe,CAC9B,EAAA,CAAA,AAAAA,IAAA,CAAA,CAAA,E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempoxyz/id",
3
- "version": "0.0.0-pr-366.sha-a480ca3",
3
+ "version": "0.0.0-pr-349.sha-87ded48",
4
4
  "description": "Tempo ID: sign-in, tokens, and access keys for Tempo, on Better Auth and Void.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -93,12 +93,8 @@
93
93
  "name": "account_configs_user_id_user_id_fk",
94
94
  "tableFrom": "account_configs",
95
95
  "tableTo": "user",
96
- "columnsFrom": [
97
- "user_id"
98
- ],
99
- "columnsTo": [
100
- "id"
101
- ],
96
+ "columnsFrom": ["user_id"],
97
+ "columnsTo": ["id"],
102
98
  "onDelete": "cascade",
103
99
  "onUpdate": "no action"
104
100
  }
@@ -106,10 +102,7 @@
106
102
  "compositePrimaryKeys": {
107
103
  "account_configs_chain_id_address_pk": {
108
104
  "name": "account_configs_chain_id_address_pk",
109
- "columns": [
110
- "chain_id",
111
- "address"
112
- ]
105
+ "columns": ["chain_id", "address"]
113
106
  }
114
107
  },
115
108
  "uniqueConstraints": {},
@@ -146,12 +139,8 @@
146
139
  "name": "app_realms_client_id_oauth_client_client_id_fk",
147
140
  "tableFrom": "app_realms",
148
141
  "tableTo": "oauth_client",
149
- "columnsFrom": [
150
- "client_id"
151
- ],
152
- "columnsTo": [
153
- "client_id"
154
- ],
142
+ "columnsFrom": ["client_id"],
143
+ "columnsTo": ["client_id"],
155
144
  "onDelete": "cascade",
156
145
  "onUpdate": "no action"
157
146
  },
@@ -159,12 +148,8 @@
159
148
  "name": "app_realms_realm_id_realms_id_fk",
160
149
  "tableFrom": "app_realms",
161
150
  "tableTo": "realms",
162
- "columnsFrom": [
163
- "realm_id"
164
- ],
165
- "columnsTo": [
166
- "id"
167
- ],
151
+ "columnsFrom": ["realm_id"],
152
+ "columnsTo": ["id"],
168
153
  "onDelete": "no action",
169
154
  "onUpdate": "no action"
170
155
  }
@@ -172,20 +157,14 @@
172
157
  "compositePrimaryKeys": {
173
158
  "app_realms_client_id_position_pk": {
174
159
  "name": "app_realms_client_id_position_pk",
175
- "columns": [
176
- "client_id",
177
- "position"
178
- ]
160
+ "columns": ["client_id", "position"]
179
161
  }
180
162
  },
181
163
  "uniqueConstraints": {
182
164
  "app_realms_client_id_realm_id_unique": {
183
165
  "name": "app_realms_client_id_realm_id_unique",
184
166
  "nullsNotDistinct": false,
185
- "columns": [
186
- "client_id",
187
- "realm_id"
188
- ]
167
+ "columns": ["client_id", "realm_id"]
189
168
  }
190
169
  },
191
170
  "policies": {},
@@ -422,12 +401,8 @@
422
401
  "name": "first_accounts_realm_id_realms_id_fk",
423
402
  "tableFrom": "first_accounts",
424
403
  "tableTo": "realms",
425
- "columnsFrom": [
426
- "realm_id"
427
- ],
428
- "columnsTo": [
429
- "id"
430
- ],
404
+ "columnsFrom": ["realm_id"],
405
+ "columnsTo": ["id"],
431
406
  "onDelete": "cascade",
432
407
  "onUpdate": "no action"
433
408
  },
@@ -435,12 +410,8 @@
435
410
  "name": "first_accounts_user_id_user_id_fk",
436
411
  "tableFrom": "first_accounts",
437
412
  "tableTo": "user",
438
- "columnsFrom": [
439
- "user_id"
440
- ],
441
- "columnsTo": [
442
- "id"
443
- ],
413
+ "columnsFrom": ["user_id"],
414
+ "columnsTo": ["id"],
444
415
  "onDelete": "cascade",
445
416
  "onUpdate": "no action"
446
417
  }
@@ -448,10 +419,7 @@
448
419
  "compositePrimaryKeys": {
449
420
  "first_accounts_user_id_realm_id_pk": {
450
421
  "name": "first_accounts_user_id_realm_id_pk",
451
- "columns": [
452
- "user_id",
453
- "realm_id"
454
- ]
422
+ "columns": ["user_id", "realm_id"]
455
423
  }
456
424
  },
457
425
  "uniqueConstraints": {},
@@ -535,12 +503,8 @@
535
503
  "name": "keys_user_id_user_id_fk",
536
504
  "tableFrom": "keys",
537
505
  "tableTo": "user",
538
- "columnsFrom": [
539
- "user_id"
540
- ],
541
- "columnsTo": [
542
- "id"
543
- ],
506
+ "columnsFrom": ["user_id"],
507
+ "columnsTo": ["id"],
544
508
  "onDelete": "cascade",
545
509
  "onUpdate": "no action"
546
510
  }
@@ -550,9 +514,7 @@
550
514
  "keys_address_unique": {
551
515
  "name": "keys_address_unique",
552
516
  "nullsNotDistinct": false,
553
- "columns": [
554
- "address"
555
- ]
517
+ "columns": ["address"]
556
518
  }
557
519
  },
558
520
  "policies": {},
@@ -638,12 +600,8 @@
638
600
  "name": "pending_keys_client_id_oauth_client_client_id_fk",
639
601
  "tableFrom": "pending_keys",
640
602
  "tableTo": "oauth_client",
641
- "columnsFrom": [
642
- "client_id"
643
- ],
644
- "columnsTo": [
645
- "client_id"
646
- ],
603
+ "columnsFrom": ["client_id"],
604
+ "columnsTo": ["client_id"],
647
605
  "onDelete": "cascade",
648
606
  "onUpdate": "no action"
649
607
  },
@@ -651,12 +609,8 @@
651
609
  "name": "pending_keys_user_id_user_id_fk",
652
610
  "tableFrom": "pending_keys",
653
611
  "tableTo": "user",
654
- "columnsFrom": [
655
- "user_id"
656
- ],
657
- "columnsTo": [
658
- "id"
659
- ],
612
+ "columnsFrom": ["user_id"],
613
+ "columnsTo": ["id"],
660
614
  "onDelete": "cascade",
661
615
  "onUpdate": "no action"
662
616
  }
@@ -664,10 +618,7 @@
664
618
  "compositePrimaryKeys": {
665
619
  "pending_keys_client_id_code_challenge_pk": {
666
620
  "name": "pending_keys_client_id_code_challenge_pk",
667
- "columns": [
668
- "client_id",
669
- "code_challenge"
670
- ]
621
+ "columns": ["client_id", "code_challenge"]
671
622
  }
672
623
  },
673
624
  "uniqueConstraints": {},
@@ -705,12 +656,8 @@
705
656
  "name": "realm_passkeys_realm_id_realms_id_fk",
706
657
  "tableFrom": "realm_passkeys",
707
658
  "tableTo": "realms",
708
- "columnsFrom": [
709
- "realm_id"
710
- ],
711
- "columnsTo": [
712
- "id"
713
- ],
659
+ "columnsFrom": ["realm_id"],
660
+ "columnsTo": ["id"],
714
661
  "onDelete": "cascade",
715
662
  "onUpdate": "no action"
716
663
  }
@@ -720,9 +667,7 @@
720
667
  "realm_passkeys_rp_id_unique": {
721
668
  "name": "realm_passkeys_rp_id_unique",
722
669
  "nullsNotDistinct": false,
723
- "columns": [
724
- "rp_id"
725
- ]
670
+ "columns": ["rp_id"]
726
671
  }
727
672
  },
728
673
  "policies": {},
@@ -765,12 +710,8 @@
765
710
  "name": "realm_privy_realm_id_realms_id_fk",
766
711
  "tableFrom": "realm_privy",
767
712
  "tableTo": "realms",
768
- "columnsFrom": [
769
- "realm_id"
770
- ],
771
- "columnsTo": [
772
- "id"
773
- ],
713
+ "columnsFrom": ["realm_id"],
714
+ "columnsTo": ["id"],
774
715
  "onDelete": "cascade",
775
716
  "onUpdate": "no action"
776
717
  }
@@ -780,9 +721,7 @@
780
721
  "realm_privy_app_id_unique": {
781
722
  "name": "realm_privy_app_id_unique",
782
723
  "nullsNotDistinct": false,
783
- "columns": [
784
- "app_id"
785
- ]
724
+ "columns": ["app_id"]
786
725
  }
787
726
  },
788
727
  "policies": {},
@@ -813,12 +752,8 @@
813
752
  "name": "realm_secp256k1_realm_id_realms_id_fk",
814
753
  "tableFrom": "realm_secp256k1",
815
754
  "tableTo": "realms",
816
- "columnsFrom": [
817
- "realm_id"
818
- ],
819
- "columnsTo": [
820
- "id"
821
- ],
755
+ "columnsFrom": ["realm_id"],
756
+ "columnsTo": ["id"],
822
757
  "onDelete": "cascade",
823
758
  "onUpdate": "no action"
824
759
  }
@@ -908,12 +843,8 @@
908
843
  "name": "secp256k1_owners_realm_id_realms_id_fk",
909
844
  "tableFrom": "secp256k1_owners",
910
845
  "tableTo": "realms",
911
- "columnsFrom": [
912
- "realm_id"
913
- ],
914
- "columnsTo": [
915
- "id"
916
- ],
846
+ "columnsFrom": ["realm_id"],
847
+ "columnsTo": ["id"],
917
848
  "onDelete": "cascade",
918
849
  "onUpdate": "no action"
919
850
  },
@@ -921,12 +852,8 @@
921
852
  "name": "secp256k1_owners_user_id_user_id_fk",
922
853
  "tableFrom": "secp256k1_owners",
923
854
  "tableTo": "user",
924
- "columnsFrom": [
925
- "user_id"
926
- ],
927
- "columnsTo": [
928
- "id"
929
- ],
855
+ "columnsFrom": ["user_id"],
856
+ "columnsTo": ["id"],
930
857
  "onDelete": "cascade",
931
858
  "onUpdate": "no action"
932
859
  }
@@ -934,19 +861,14 @@
934
861
  "compositePrimaryKeys": {
935
862
  "secp256k1_owners_user_id_realm_id_pk": {
936
863
  "name": "secp256k1_owners_user_id_realm_id_pk",
937
- "columns": [
938
- "user_id",
939
- "realm_id"
940
- ]
864
+ "columns": ["user_id", "realm_id"]
941
865
  }
942
866
  },
943
867
  "uniqueConstraints": {
944
868
  "secp256k1_owners_address_unique": {
945
869
  "name": "secp256k1_owners_address_unique",
946
870
  "nullsNotDistinct": false,
947
- "columns": [
948
- "address"
949
- ]
871
+ "columns": ["address"]
950
872
  }
951
873
  },
952
874
  "policies": {},
@@ -1059,12 +981,8 @@
1059
981
  "name": "account_user_id_user_id_fk",
1060
982
  "tableFrom": "account",
1061
983
  "tableTo": "user",
1062
- "columnsFrom": [
1063
- "user_id"
1064
- ],
1065
- "columnsTo": [
1066
- "id"
1067
- ],
984
+ "columnsFrom": ["user_id"],
985
+ "columnsTo": ["id"],
1068
986
  "onDelete": "cascade",
1069
987
  "onUpdate": "no action"
1070
988
  }
@@ -1477,12 +1395,8 @@
1477
1395
  "name": "oauth_access_token_client_id_oauth_client_client_id_fk",
1478
1396
  "tableFrom": "oauth_access_token",
1479
1397
  "tableTo": "oauth_client",
1480
- "columnsFrom": [
1481
- "client_id"
1482
- ],
1483
- "columnsTo": [
1484
- "client_id"
1485
- ],
1398
+ "columnsFrom": ["client_id"],
1399
+ "columnsTo": ["client_id"],
1486
1400
  "onDelete": "cascade",
1487
1401
  "onUpdate": "no action"
1488
1402
  },
@@ -1490,12 +1404,8 @@
1490
1404
  "name": "oauth_access_token_refresh_id_oauth_refresh_token_id_fk",
1491
1405
  "tableFrom": "oauth_access_token",
1492
1406
  "tableTo": "oauth_refresh_token",
1493
- "columnsFrom": [
1494
- "refresh_id"
1495
- ],
1496
- "columnsTo": [
1497
- "id"
1498
- ],
1407
+ "columnsFrom": ["refresh_id"],
1408
+ "columnsTo": ["id"],
1499
1409
  "onDelete": "cascade",
1500
1410
  "onUpdate": "no action"
1501
1411
  },
@@ -1503,12 +1413,8 @@
1503
1413
  "name": "oauth_access_token_session_id_session_id_fk",
1504
1414
  "tableFrom": "oauth_access_token",
1505
1415
  "tableTo": "session",
1506
- "columnsFrom": [
1507
- "session_id"
1508
- ],
1509
- "columnsTo": [
1510
- "id"
1511
- ],
1416
+ "columnsFrom": ["session_id"],
1417
+ "columnsTo": ["id"],
1512
1418
  "onDelete": "set null",
1513
1419
  "onUpdate": "no action"
1514
1420
  },
@@ -1516,12 +1422,8 @@
1516
1422
  "name": "oauth_access_token_user_id_user_id_fk",
1517
1423
  "tableFrom": "oauth_access_token",
1518
1424
  "tableTo": "user",
1519
- "columnsFrom": [
1520
- "user_id"
1521
- ],
1522
- "columnsTo": [
1523
- "id"
1524
- ],
1425
+ "columnsFrom": ["user_id"],
1426
+ "columnsTo": ["id"],
1525
1427
  "onDelete": "cascade",
1526
1428
  "onUpdate": "no action"
1527
1429
  }
@@ -1531,9 +1433,7 @@
1531
1433
  "oauth_access_token_token_unique": {
1532
1434
  "name": "oauth_access_token_token_unique",
1533
1435
  "nullsNotDistinct": false,
1534
- "columns": [
1535
- "token"
1536
- ]
1436
+ "columns": ["token"]
1537
1437
  }
1538
1438
  },
1539
1439
  "policies": {},
@@ -1824,12 +1724,8 @@
1824
1724
  "name": "oauth_client_user_id_user_id_fk",
1825
1725
  "tableFrom": "oauth_client",
1826
1726
  "tableTo": "user",
1827
- "columnsFrom": [
1828
- "user_id"
1829
- ],
1830
- "columnsTo": [
1831
- "id"
1832
- ],
1727
+ "columnsFrom": ["user_id"],
1728
+ "columnsTo": ["id"],
1833
1729
  "onDelete": "cascade",
1834
1730
  "onUpdate": "no action"
1835
1731
  }
@@ -1839,9 +1735,7 @@
1839
1735
  "oauth_client_client_id_unique": {
1840
1736
  "name": "oauth_client_client_id_unique",
1841
1737
  "nullsNotDistinct": false,
1842
- "columns": [
1843
- "client_id"
1844
- ]
1738
+ "columns": ["client_id"]
1845
1739
  }
1846
1740
  },
1847
1741
  "policies": {},
@@ -1982,12 +1876,8 @@
1982
1876
  "name": "oauth_client_resource_client_id_oauth_client_client_id_fk",
1983
1877
  "tableFrom": "oauth_client_resource",
1984
1878
  "tableTo": "oauth_client",
1985
- "columnsFrom": [
1986
- "client_id"
1987
- ],
1988
- "columnsTo": [
1989
- "client_id"
1990
- ],
1879
+ "columnsFrom": ["client_id"],
1880
+ "columnsTo": ["client_id"],
1991
1881
  "onDelete": "cascade",
1992
1882
  "onUpdate": "no action"
1993
1883
  },
@@ -1995,12 +1885,8 @@
1995
1885
  "name": "oauth_client_resource_resource_id_oauth_resource_identifier_fk",
1996
1886
  "tableFrom": "oauth_client_resource",
1997
1887
  "tableTo": "oauth_resource",
1998
- "columnsFrom": [
1999
- "resource_id"
2000
- ],
2001
- "columnsTo": [
2002
- "identifier"
2003
- ],
1888
+ "columnsFrom": ["resource_id"],
1889
+ "columnsTo": ["identifier"],
2004
1890
  "onDelete": "cascade",
2005
1891
  "onUpdate": "no action"
2006
1892
  }
@@ -2107,12 +1993,8 @@
2107
1993
  "name": "oauth_consent_client_id_oauth_client_client_id_fk",
2108
1994
  "tableFrom": "oauth_consent",
2109
1995
  "tableTo": "oauth_client",
2110
- "columnsFrom": [
2111
- "client_id"
2112
- ],
2113
- "columnsTo": [
2114
- "client_id"
2115
- ],
1996
+ "columnsFrom": ["client_id"],
1997
+ "columnsTo": ["client_id"],
2116
1998
  "onDelete": "cascade",
2117
1999
  "onUpdate": "no action"
2118
2000
  },
@@ -2120,12 +2002,8 @@
2120
2002
  "name": "oauth_consent_user_id_user_id_fk",
2121
2003
  "tableFrom": "oauth_consent",
2122
2004
  "tableTo": "user",
2123
- "columnsFrom": [
2124
- "user_id"
2125
- ],
2126
- "columnsTo": [
2127
- "id"
2128
- ],
2005
+ "columnsFrom": ["user_id"],
2006
+ "columnsTo": ["id"],
2129
2007
  "onDelete": "cascade",
2130
2008
  "onUpdate": "no action"
2131
2009
  }
@@ -2343,12 +2221,8 @@
2343
2221
  "name": "oauth_refresh_token_client_id_oauth_client_client_id_fk",
2344
2222
  "tableFrom": "oauth_refresh_token",
2345
2223
  "tableTo": "oauth_client",
2346
- "columnsFrom": [
2347
- "client_id"
2348
- ],
2349
- "columnsTo": [
2350
- "client_id"
2351
- ],
2224
+ "columnsFrom": ["client_id"],
2225
+ "columnsTo": ["client_id"],
2352
2226
  "onDelete": "cascade",
2353
2227
  "onUpdate": "no action"
2354
2228
  },
@@ -2356,12 +2230,8 @@
2356
2230
  "name": "oauth_refresh_token_session_id_session_id_fk",
2357
2231
  "tableFrom": "oauth_refresh_token",
2358
2232
  "tableTo": "session",
2359
- "columnsFrom": [
2360
- "session_id"
2361
- ],
2362
- "columnsTo": [
2363
- "id"
2364
- ],
2233
+ "columnsFrom": ["session_id"],
2234
+ "columnsTo": ["id"],
2365
2235
  "onDelete": "set null",
2366
2236
  "onUpdate": "no action"
2367
2237
  },
@@ -2369,12 +2239,8 @@
2369
2239
  "name": "oauth_refresh_token_user_id_user_id_fk",
2370
2240
  "tableFrom": "oauth_refresh_token",
2371
2241
  "tableTo": "user",
2372
- "columnsFrom": [
2373
- "user_id"
2374
- ],
2375
- "columnsTo": [
2376
- "id"
2377
- ],
2242
+ "columnsFrom": ["user_id"],
2243
+ "columnsTo": ["id"],
2378
2244
  "onDelete": "cascade",
2379
2245
  "onUpdate": "no action"
2380
2246
  }
@@ -2384,9 +2250,7 @@
2384
2250
  "oauth_refresh_token_token_unique": {
2385
2251
  "name": "oauth_refresh_token_token_unique",
2386
2252
  "nullsNotDistinct": false,
2387
- "columns": [
2388
- "token"
2389
- ]
2253
+ "columns": ["token"]
2390
2254
  }
2391
2255
  },
2392
2256
  "policies": {},
@@ -2498,9 +2362,7 @@
2498
2362
  "oauth_resource_identifier_unique": {
2499
2363
  "name": "oauth_resource_identifier_unique",
2500
2364
  "nullsNotDistinct": false,
2501
- "columns": [
2502
- "identifier"
2503
- ]
2365
+ "columns": ["identifier"]
2504
2366
  }
2505
2367
  },
2506
2368
  "policies": {},
@@ -2598,12 +2460,8 @@
2598
2460
  "name": "session_user_id_user_id_fk",
2599
2461
  "tableFrom": "session",
2600
2462
  "tableTo": "user",
2601
- "columnsFrom": [
2602
- "user_id"
2603
- ],
2604
- "columnsTo": [
2605
- "id"
2606
- ],
2463
+ "columnsFrom": ["user_id"],
2464
+ "columnsTo": ["id"],
2607
2465
  "onDelete": "cascade",
2608
2466
  "onUpdate": "no action"
2609
2467
  }
@@ -2613,9 +2471,7 @@
2613
2471
  "session_token_unique": {
2614
2472
  "name": "session_token_unique",
2615
2473
  "nullsNotDistinct": false,
2616
- "columns": [
2617
- "token"
2618
- ]
2474
+ "columns": ["token"]
2619
2475
  }
2620
2476
  },
2621
2477
  "policies": {},
@@ -2679,9 +2535,7 @@
2679
2535
  "user_email_unique": {
2680
2536
  "name": "user_email_unique",
2681
2537
  "nullsNotDistinct": false,
2682
- "columns": [
2683
- "email"
2684
- ]
2538
+ "columns": ["email"]
2685
2539
  }
2686
2540
  },
2687
2541
  "policies": {},
@@ -2782,4 +2636,4 @@
2782
2636
  "schemas": {},
2783
2637
  "tables": {}
2784
2638
  }
2785
- }
2639
+ }
@@ -171,4 +171,4 @@
171
171
  "breakpoints": true
172
172
  }
173
173
  ]
174
- }
174
+ }