@qasa/qds-ui 0.10.0-next.0 → 0.10.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,67 @@
1
+ /// <reference types="react" />
2
+ import * as DropdownPrimitive from '@radix-ui/react-dropdown-menu';
3
+ import type { HTMLQdsProps } from '../../types';
4
+ declare type PrimitiveContentProps = DropdownPrimitive.MenuContentProps;
5
+ interface DropdownMenuContentOptions {
6
+ /**
7
+ * Event handler called when focus moves to the trigger after closing.
8
+ * It can be prevented by calling `event.preventDefault`.
9
+ */
10
+ onCloseAutofocus?: PrimitiveContentProps['onCloseAutoFocus'];
11
+ /**
12
+ * Event handler called when the escape key is down.
13
+ * It can be prevented by calling `event.preventDefault`.
14
+ */
15
+ onEscapeKeyDown?: PrimitiveContentProps['onEscapeKeyDown'];
16
+ /**
17
+ * Event handler called when a pointer event occurs outside the bounds of the component.
18
+ * It can be prevented by calling `event.preventDefault`.
19
+ */
20
+ onPointerDownOutside?: PrimitiveContentProps['onPointerDownOutside'];
21
+ /**
22
+ * Event handler called when focus moves outside the bounds of the component.
23
+ * It can be prevented by calling `event.preventDefault`.
24
+ */
25
+ onFocusOutside?: PrimitiveContentProps['onFocusOutside'];
26
+ /**
27
+ * Event handler called when an interaction (pointer or focus event) happens outside the bounds of the component.
28
+ * It can be prevented by calling `event.preventDefault`.
29
+ */
30
+ onInteractOutside?: PrimitiveContentProps['onInteractOutside'];
31
+ /**
32
+ * The preferred side of the trigger to render against when open.
33
+ * Will be reversed when collisions occur and `avoidCollisions` is enabled.
34
+ *
35
+ * @default "bottom"
36
+ */
37
+ side?: PrimitiveContentProps['side'];
38
+ /**
39
+ * The distance in pixels from the trigger.
40
+ *
41
+ * @default 8
42
+ */
43
+ sideOffset?: PrimitiveContentProps['sideOffset'];
44
+ /**
45
+ * The preferred alignment against the trigger. May change when collisions occur.
46
+ *
47
+ * @default "center"
48
+ */
49
+ align?: PrimitiveContentProps['align'];
50
+ /**
51
+ * The element used as the collision boundary.
52
+ * By default this is the viewport, though you can provide additional element(s) to be included in this check.
53
+ *
54
+ * @default []
55
+ */
56
+ collisionBoundary?: PrimitiveContentProps['collisionBoundary'];
57
+ /**
58
+ * Whether to hide the content when the trigger becomes fully occluded.
59
+ *
60
+ * @default false
61
+ */
62
+ hideWhenDetached?: PrimitiveContentProps['hideWhenDetached'];
63
+ }
64
+ export interface DropdownMenuContentProps extends HTMLQdsProps<'div'>, DropdownMenuContentOptions {
65
+ }
66
+ export declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
67
+ export {};
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import type { HTMLQdsProps } from '../../types';
3
+ export declare type DropdownMenuDividerProps = HTMLQdsProps<'div'>;
4
+ export declare const DropdownMenuDivider: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,28 @@
1
+ import type { ElementType } from 'react';
2
+ import * as DropdownPrimitive from '@radix-ui/react-dropdown-menu';
3
+ import type { IconProps } from '../icon';
4
+ interface DropdownMenuItemOptions {
5
+ /**
6
+ * If `true`, the item will be disabled
7
+ */
8
+ isDisabled?: boolean;
9
+ /**
10
+ * Event handler called when the user selects an item (via mouse or keyboard).
11
+ * Calling `event.preventDefault` in this handler will prevent the dropdown from closing when selecting that item.
12
+ */
13
+ onSelect?: (event: Event) => void;
14
+ /**
15
+ * Optional text used for typeahead purposes.
16
+ * By default the typeahead behavior will use the `.textContent` of the item.
17
+ * Use this when the content is complex, or you have non-textual content inside.
18
+ */
19
+ textValue?: string;
20
+ /**
21
+ * Optional icon to display on the left side of the item content.
22
+ */
23
+ icon?: ElementType<IconProps>;
24
+ }
25
+ export interface DropdownMenuItemProps extends Omit<DropdownPrimitive.DropdownMenuItemProps, 'asChild' | keyof DropdownMenuItemOptions>, DropdownMenuItemOptions {
26
+ }
27
+ export declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
28
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as Polymorphic from '../../utils/polymorphic';
2
+ declare type DropdownTriggerComponent = Polymorphic.ForwardRefComponent<'button'>;
3
+ export declare type DropdownMenuTriggerProps = Polymorphic.PropsOf<DropdownTriggerComponent>;
4
+ export declare const DropdownMenuTrigger: DropdownTriggerComponent;
5
+ export {};
@@ -0,0 +1,29 @@
1
+ import type { ReactNode } from 'react';
2
+ import { type DropdownMenuContentProps } from './dropdown-menu-content';
3
+ import { type DropdownMenuDividerProps } from './dropdown-menu-divider';
4
+ import { type DropdownMenuItemProps } from './dropdown-menu-item';
5
+ import type { DropdownMenuTriggerProps } from './dropdown-menu-trigger';
6
+ interface DropdownMenuRootProps {
7
+ children: ReactNode;
8
+ /**
9
+ * If `true` the dropdown menu will be open
10
+ */
11
+ isOpen?: boolean;
12
+ /**
13
+ * The open state of the submenu when it is initially rendered.
14
+ * Use when you do not need to control its open state.
15
+ */
16
+ defaultOpen?: boolean;
17
+ /**
18
+ * Callback invoked open state changes
19
+ */
20
+ onOpenChange?: (isOpen: boolean) => void;
21
+ }
22
+ declare function DropdownMenuRoot(props: DropdownMenuRootProps): JSX.Element;
23
+ export declare const DropdownMenu: typeof DropdownMenuRoot & {
24
+ Trigger: import("../../utils/polymorphic").ForwardRefComponent<"button", {}>;
25
+ Content: import("react").ForwardRefExoticComponent<DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ Item: import("react").ForwardRefExoticComponent<DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
27
+ Divider: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
28
+ };
29
+ export type { DropdownMenuRootProps, DropdownMenuTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuDividerProps, };
@@ -0,0 +1 @@
1
+ export * from './dropdown-menu';
@@ -5,7 +5,6 @@ export * from './heading';
5
5
  export * from './hint-box';
6
6
  export * from './icon';
7
7
  export * from './icon-button';
8
- export * from './image';
9
8
  export * from './text-field';
10
9
  export * from './label';
11
10
  export * from './link';
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Global as t,css as y,CacheProvider as h,ThemeProvider as d,useTheme as k,keyframes as p}from"@emotion/react";import i,{createContext as r,useContext as n,useMemo as c,forwardRef as l,createElement as o,useState as s,useEffect as M,Fragment as x,Children as v,useLayoutEffect as m,useCallback as u,useRef as g,isValidElement as f}from"react";import w from"@emotion/styled";import*as b from"@radix-ui/react-radio-group";var z=function(){return z=Object.assign||function(e){for(var a,t=1,y=arguments.length;t<y;t++)for(var h in a=arguments[t])Object.prototype.hasOwnProperty.call(a,h)&&(e[h]=a[h]);return e},z.apply(this,arguments)};function q(e,a){var t={};for(var y in e)Object.prototype.hasOwnProperty.call(e,y)&&a.indexOf(y)<0&&(t[y]=e[y]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(y=Object.getOwnPropertySymbols(e);h<y.length;h++)a.indexOf(y[h])<0&&Object.prototype.propertyIsEnumerable.call(e,y[h])&&(t[y[h]]=e[y[h]])}return t}function j(e,a){return Object.defineProperty?Object.defineProperty(e,"raw",{value:a}):e.raw=a,e}var H=function(){function e(e){var a=this;this._insertTag=function(e){var t;t=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,t),a.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var t=64===e.charCodeAt(0)&&105===e.charCodeAt(1);t&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!t}if(this.isSpeedy){var y=function(e){if(e.sheet)return e.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===e)return document.styleSheets[a]}(a);try{y.insertRule(e,y.cssRules.length)}catch(a){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',a)}}else a.appendChild(document.createTextNode(e));this.ctr++},a.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),V=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(e){var a="-ms-",t="-moz-",y="-webkit-",h="comm",d="rule",k="decl",p="@page",i="@media",r="@import",n="@charset",c="@viewport",l="@supports",o="@document",s="@namespace",M="@keyframes",x="@font-face",v="@counter-style",m="@font-feature-values",u=Math.abs,g=String.fromCharCode,f=Object.assign;function w(e,a){return(((a<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3)}function b(e){return e.trim()}function z(e,a){return(e=a.exec(e))?e[0]:e}function q(e,a,t){return e.replace(a,t)}function j(e,a){return e.indexOf(a)}function H(e,a){return 0|e.charCodeAt(a)}function V(e,a,t){return e.slice(a,t)}function C(e){return e.length}function L(e){return e.length}function A(e,a){return a.push(e),e}function S(e,a){return e.map(a).join("")}function Z(a,t,y,h,d,k,p){return{value:a,root:t,parent:y,type:h,props:d,children:k,line:e.line,column:e.column,length:p,return:""}}function F(e,a){return f(Z("",null,null,"",null,null,0),e,{length:-e.length},a)}function P(){return e.character}function D(){return e.character=e.position>0?H(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function T(){return e.character=e.position<e.length?H(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function R(){return H(e.characters,e.position)}function B(){return e.position}function O(a,t){return V(e.characters,a,t)}function E(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function W(a){return e.line=e.column=1,e.length=C(e.characters=a),e.position=0,[]}function U(a){return e.characters="",a}function I(a){return b(O(e.position-1,_(91===a?a+2:40===a?a+1:a)))}function N(e){return U($(W(e)))}function G(a){for(;(e.character=R())&&e.character<33;)T();return E(a)>2||E(e.character)>3?"":" "}function $(a){for(;T();)switch(E(e.character)){case 0:A(Y(e.position-1),a);break;case 2:A(I(e.character),a);break;default:A(g(e.character),a)}return a}function X(a,t){for(;--t&&T()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return O(a,B()+(t<6&&32==R()&&32==T()))}function _(a){for(;T();)switch(e.character){case a:return e.position;case 34:case 39:34!==a&&39!==a&&_(e.character);break;case 40:41===a&&_(a);break;case 92:T()}return e.position}function K(a,t){for(;T()&&a+e.character!==57&&(a+e.character!==84||47!==R()););return"/*"+O(t,e.position-1)+"*"+g(47===a?a:T())}function Y(a){for(;!E(R());)T();return O(a,e.position)}function J(e){return U(Q("",null,null,null,[""],e=W(e),0,[0],e))}function Q(e,a,t,y,h,d,k,p,i){for(var r=0,n=0,c=k,l=0,o=0,s=0,M=1,x=1,v=1,m=0,u="",f=h,w=d,b=y,z=u;x;)switch(s=m,m=T()){case 40:if(108!=s&&58==z.charCodeAt(c-1)){-1!=j(z+=q(I(m),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:z+=I(m);break;case 9:case 10:case 13:case 32:z+=G(s);break;case 92:z+=X(B()-1,7);continue;case 47:switch(R()){case 42:case 47:A(ae(K(T(),B()),a,t),i);break;default:z+="/"}break;case 123*M:p[r++]=C(z)*v;case 125*M:case 59:case 0:switch(m){case 0:case 125:x=0;case 59+n:o>0&&C(z)-c&&A(o>32?te(z+";",y,t,c-1):te(q(z," ","")+";",y,t,c-2),i);break;case 59:z+=";";default:if(A(b=ee(z,a,t,r,n,h,p,u,f=[],w=[],c),d),123===m)if(0===n)Q(z,a,b,b,f,d,c,p,w);else switch(l){case 100:case 109:case 115:Q(e,b,b,y&&A(ee(e,b,b,0,0,h,p,u,h,f=[],c),w),h,w,c,p,y?f:w);break;default:Q(z,b,b,b,[""],w,0,p,w)}}r=n=o=0,M=v=1,u=z="",c=k;break;case 58:c=1+C(z),o=s;default:if(M<1)if(123==m)--M;else if(125==m&&0==M++&&125==D())continue;switch(z+=g(m),m*M){case 38:v=n>0?1:(z+="\f",-1);break;case 44:p[r++]=(C(z)-1)*v,v=1;break;case 64:45===R()&&(z+=I(T())),l=R(),n=c=C(u=z+=Y(B())),m++;break;case 45:45===s&&2==C(z)&&(M=0)}}return d}function ee(e,a,t,y,h,k,p,i,r,n,c){for(var l=h-1,o=0===h?k:[""],s=L(o),M=0,x=0,v=0;M<y;++M)for(var m=0,g=V(e,l+1,l=u(x=p[M])),f=e;m<s;++m)(f=b(x>0?o[m]+" "+g:q(g,/&\f/g,o[m])))&&(r[v++]=f);return Z(e,a,t,0===h?d:i,r,n,c)}function ae(e,a,t){return Z(e,a,t,h,g(P()),V(e,2,-2),0)}function te(e,a,t,y){return Z(e,a,t,k,V(e,0,y),V(e,y+1,-1),y)}function ye(e,h){switch(w(e,h)){case 5103:return y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return y+e+t+e+a+e+e;case 6828:case 4268:return y+e+a+e+e;case 6165:return y+e+a+"flex-"+e+e;case 5187:return y+e+q(e,/(\w+).+(:[^]+)/,y+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return y+e+a+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return y+e+a+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return y+e+a+q(e,"shrink","negative")+e;case 5292:return y+e+a+q(e,"basis","preferred-size")+e;case 6060:return y+"box-"+q(e,"-grow","")+y+e+a+q(e,"grow","positive")+e;case 4554:return y+q(e,/([^-])(transform)/g,"$1"+y+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,y+"$1"),/(image-set)/,y+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,y+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,y+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+y+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(e)-1-h>6)switch(H(e,h+1)){case 109:if(45!==H(e,h+4))break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+y+"$2-$3$1"+t+(108==H(e,h+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?ye(q(e,"stretch","fill-available"),h)+e:e}break;case 4949:if(115!==H(e,h+1))break;case 6444:switch(H(e,C(e)-3-(~j(e,"!important")&&10))){case 107:return q(e,":",":"+y)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+y+(45===H(e,14)?"inline-":"")+"box$3$1"+y+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(H(e,h+11)){case 114:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return y+e+a+e+e}return e}function he(e,a){for(var t="",y=L(e),h=0;h<y;h++)t+=a(e[h],h,e,a)||"";return t}function de(e,a,t,y){switch(e.type){case r:case k:return e.return=e.return||e.value;case h:return"";case M:return e.return=e.value+"{"+he(e.children,y)+"}";case d:e.value=e.props.join(",")}return C(t=he(e.children,y))?e.return=e.value+"{"+t+"}":""}function ke(e){var a=L(e);return function(t,y,h,d){for(var k="",p=0;p<a;p++)k+=e[p](t,y,h,d)||"";return k}}function pe(e){return function(a){a.root||(a=a.return)&&e(a)}}function ie(e,h,p,i){if(e.length>-1&&!e.return)switch(e.type){case k:e.return=ye(e.value,e.length);break;case M:return he([F(e,{value:q(e.value,"@","@"+y)})],i);case d:if(e.length)return S(e.props,(function(h){switch(z(h,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([F(e,{props:[q(h,/:(read-\w+)/,":"+t+"$1")]})],i);case"::placeholder":return he([F(e,{props:[q(h,/:(plac\w+)/,":"+y+"input-$1")]}),F(e,{props:[q(h,/:(plac\w+)/,":"+t+"$1")]}),F(e,{props:[q(h,/:(plac\w+)/,a+"input-$1")]})],i)}return""}))}}function re(e){e.type===d&&(e.props=e.props.map((function(a){return S(N(a),(function(a,t,y){switch(H(a,0)){case 12:return V(a,1,C(a));case 0:case 40:case 43:case 62:case 126:return a;case 58:"global"===y[++t]&&(y[t]="",y[++t]="\f"+V(y[t],t=1,-1));case 32:return 1===t?"":a;default:switch(t){case 0:return e=a,L(y)>1?"":a;case t=L(y)-1:case 2:return 2===t?a+e+e:a+e;default:return a}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=n,e.COMMENT=h,e.COUNTER_STYLE=v,e.DECLARATION=k,e.DOCUMENT=o,e.FONT_FACE=x,e.FONT_FEATURE_VALUES=m,e.IMPORT=r,e.KEYFRAMES=M,e.MEDIA=i,e.MOZ=t,e.MS=a,e.NAMESPACE=s,e.PAGE=p,e.RULESET=d,e.SUPPORTS=l,e.VIEWPORT=c,e.WEBKIT=y,e.abs=u,e.alloc=W,e.append=A,e.assign=f,e.caret=B,e.char=P,e.charat=H,e.combine=S,e.comment=ae,e.commenter=K,e.compile=J,e.copy=F,e.dealloc=U,e.declaration=te,e.delimit=I,e.delimiter=_,e.escaping=X,e.from=g,e.hash=w,e.identifier=Y,e.indexof=j,e.match=z,e.middleware=ke,e.namespace=re,e.next=T,e.node=Z,e.parse=Q,e.peek=R,e.prefix=ye,e.prefixer=ie,e.prev=D,e.replace=q,e.ruleset=ee,e.rulesheet=pe,e.serialize=he,e.sizeof=L,e.slice=O,e.stringify=de,e.strlen=C,e.substr=V,e.token=E,e.tokenize=N,e.tokenizer=$,e.trim=b,e.whitespace=G,Object.defineProperty(e,"__esModule",{value:!0})}(V.exports);function C(e){var a=Object.create(null);return function(t){return void 0===a[t]&&(a[t]=e(t)),a[t]}}var L,A,S,Z=function(e,a,t){for(var y=0,h=0;y=h,h=V.exports.peek(),38===y&&12===h&&(a[t]=1),!V.exports.token(h);)V.exports.next();return V.exports.slice(e,V.exports.position)},F=function(e,a){return V.exports.dealloc(function(e,a){var t=-1,y=44;do{switch(V.exports.token(y)){case 0:38===y&&12===V.exports.peek()&&(a[t]=1),e[t]+=Z(V.exports.position-1,a,t);break;case 2:e[t]+=V.exports.delimit(y);break;case 4:if(44===y){e[++t]=58===V.exports.peek()?"&\f":"",a[t]=e[t].length;break}default:e[t]+=V.exports.from(y)}}while(y=V.exports.next());return e}(V.exports.alloc(e),a))},P=new WeakMap,D=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,t=e.parent,y=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||P.get(t))&&!y){P.set(e,!0);for(var h=[],d=F(a,h),k=t.props,p=0,i=0;p<d.length;p++)for(var r=0;r<k.length;r++,i++)e.props[i]=h[p]?d[p].replace(/&\f/g,k[r]):k[r]+" "+d[p]}}},T=function(e){if("decl"===e.type){var a=e.value;108===a.charCodeAt(0)&&98===a.charCodeAt(2)&&(e.return="",e.value="")}},R=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},B=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},O=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},E=function(e,a,t){B(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),O(e)):function(e,a){for(var t=e-1;t>=0;t--)if(!B(a[t]))return!0;return!1}(a,t)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),O(e)))},W="undefined"!=typeof document,U=W?void 0:(L=function(){return C((function(){var e={};return function(a){return e[a]}}))},A=new WeakMap,function(e){if(A.has(e))return A.get(e);var a=L(e);return A.set(e,a),a}),I=[V.exports.prefixer],N=function(e){var a=e.key;if("production"!==process.env.NODE_ENV&&!a)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(W&&"css"===a){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var y=e.stylisPlugins||I;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(a))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+a+'" was passed');var h,d,k={},p=[];W&&(h=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),t=1;t<a.length;t++)k[a[t]]=!0;p.push(e)})));var i=[D,T];if("production"!==process.env.NODE_ENV&&i.push(function(e){return function(a,t,y){if("rule"===a.type&&!e.compat){var h=a.value.match(/(:first|:nth|:nth-last)-child/g);if(h){for(var d=a.parent===y[0]?y[0].children:y,k=d.length-1;k>=0;k--){var p=d[k];if(p.line<a.line)break;if(p.column<a.column){if(R(p))return;break}}h.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return x.compat}}),E),W){var r,n=[V.exports.stringify,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?r.insert(e.return):e.value&&e.type!==V.exports.COMMENT&&r.insert(e.value+"{}"))}:V.exports.rulesheet((function(e){r.insert(e)}))],c=V.exports.middleware(i.concat(y,n));d=function(e,a,t,y){var h;r=t,"production"!==process.env.NODE_ENV&&void 0!==a.map&&(r={insert:function(e){t.insert(e+a.map)}}),h=e?e+"{"+a.styles+"}":a.styles,V.exports.serialize(V.exports.compile(h),c),y&&(x.inserted[a.name]=!0)}}else{var l=[V.exports.stringify],o=V.exports.middleware(i.concat(y,l)),s=U(y)(a),M=function(e,a){var t,y=a.name;return void 0===s[y]&&(s[y]=(t=e?e+"{"+a.styles+"}":a.styles,V.exports.serialize(V.exports.compile(t),o))),s[y]};d=function(e,a,t,y){var h=a.name,d=M(e,a);return void 0===x.compat?(y&&(x.inserted[h]=!0),"development"===process.env.NODE_ENV&&void 0!==a.map?d+a.map:d):y?void(x.inserted[h]=d):d}}var x={key:a,sheet:new H({key:a,container:h,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:k,registered:{},insert:d};return x.sheet.hydrate(p),x},G=function(e){return y(S||(S=j(["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"],["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"])),e.typography.body.md.fontFamily,e.colors.text.default,e.colors.border.defaultSelected)};function $(){return e(t,{styles:G})}function X(e){return function(a){return e(a)}}function _(e){return function(a){return e(a)}}var K,Y=function(e){return"".concat(e/16,"rem")},J=_((function(e){var a=e.colors,t=e.radii,y=e.typography,h=e.spacing;return z(z({width:"100%",minWidth:0,appearance:"none",paddingLeft:h["4x"],paddingRight:h["4x"],border:"1px solid ".concat(a.border.default),borderRadius:t.sm,backgroundColor:a.bg.default,color:a.text.default,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent","&::-webkit-date-and-time-value":{textAlign:"left"},alignItems:"center"},y.body.md),{"&::placeholder":{color:a.text.disabled},"&:hover":{borderColor:a.border.defaultHover},"&:focus":{outline:0,borderColor:a.border.defaultSelected,boxShadow:"0 0 0 1px ".concat(a.border.defaultSelected)},"&[aria-invalid=true]":{borderColor:a.border.negative,"&:focus":{boxShadow:"0 0 0 1px ".concat(a.border.negative)}},"&[disabled], &:disabled, &[data-disabled]":{opacity:.4,borderColor:a.border.default},transitionProperty:"opacity, border-color, box-shadow",transitionDuration:"120ms",transitionTimingFunction:"ease"})})),Q={base:0,sm:480,md:768,lg:1024,xl:1280,"2xl":1536},ee={black:"#000000",white:"#ffffff",gray90:"#26261D",gray80:"#424236",gray70:"#545448",gray60:"#78786C",gray50:"#A3A396",gray40:"#D6D6CD",gray30:"#E5E5DF",gray20:"#F0F0EB",gray10:"#FBFBF9",uiPink:"#FF99C2",uiPinkDark:"#FF84B6",uiPinkLight:"#FFA3C8",brown:"#342620",brownDark:"#2A1E1A",brownLight:"#3C2F29",offWhite:"#F0F0EB",offWhiteDark:"#E0E0D6",offWhiteLight:"#F6F6F3",softPink:"#FFE8F0",warmYellow:"#FFD66C",softYellow:"#FFF8CC",red10:"#fff3f2",red20:"#fbd8d5",red30:"#f8b3ae",red40:"#f37d74",red50:"#ea4c41",red60:"#da281b",red70:"#c21b0f",red80:"#a9170d",red90:"#87170f",green90:"#00552f",green80:"#00703d",green70:"#007d45",green60:"#00a35a",green50:"#00cc70",green40:"#60efaa",green30:"#b2ffd7",green20:"#d6ffe9",green10:"#f0fff6",blue90:"#003870",blue80:"#0053a6",blue70:"#0064c8",blue60:"#007cf9",blue50:"#349aff",blue40:"#69b4ff",blue30:"#b9dcff",blue20:"#daecff",blue10:"#f2f8ff",yellow90:"#a06500",yellow80:"#cd8100",yellow70:"#ec9400",yellow60:"#ffa000",yellow50:"#ffae25",yellow40:"#ffbf52",yellow30:"#ffd081",yellow20:"#ffe2b1",yellow10:"#fff7eb",blackAlpha20:"rgba(0, 0, 0, 0.2)"},ae={core:ee,bg:{default:ee.white,brandPrimary:ee.uiPink,brandPrimaryHover:ee.uiPinkLight,brandPrimaryActive:ee.uiPinkDark,brandSecondary:ee.brown,brandSecondaryHover:ee.brownLight,brandSecondaryActive:ee.brownDark,brandTertiary:ee.offWhite,brandTertiaryHover:ee.offWhiteLight,brandTertiaryActive:ee.offWhiteDark,negative:ee.red60,warning:ee.yellow60,positive:ee.green60,inset:ee.gray10,backdrop:ee.blackAlpha20},text:{strong:ee.black,default:ee.brown,subtle:ee.gray60,disabled:ee.gray50,negative:ee.red60,warning:ee.yellow90,positive:ee.green70,onBrandPrimary:ee.brown,onBrandSecondary:ee.offWhite,onBrandTertiary:ee.brown},icon:{default:ee.brown,strong:ee.black,subtle:ee.gray60,disabled:ee.gray50,negative:ee.red60,warning:ee.yellow70,positive:ee.green70,onBrandPrimary:ee.brown,onBrandSecondary:ee.offWhite,onBrandTertiary:ee.brown},border:{default:ee.gray30,defaultHover:ee.gray40,defaultSelected:ee.brown,strong:ee.gray40,subtle:ee.gray20,negative:ee.red60,warning:ee.yellow60,positive:ee.green60}},te={"0x":Y(0),"1x":Y(4),"2x":Y(8),"3x":Y(12),"4x":Y(16),"5x":Y(20),"6x":Y(24),"8x":Y(32),"12x":Y(48),"16x":Y(64),"20x":Y(80),"24x":Y(96)},ye=z(z({},te),{112:Y(112),128:Y(128),144:Y(144),160:Y(160),176:Y(176),192:Y(192),224:Y(224),256:Y(256),288:Y(288),320:Y(320),384:Y(384),448:Y(448),512:Y(512),576:Y(576),672:Y(672),768:Y(768),896:Y(896),1024:Y(1024)}),he={display:['"Qasa Diatype Rounded Semi-Mono"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(","),sans:['"Qasa Diatype Rounded"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(",")},de={display:{"3xl":{fontFamily:he.display,fontWeight:"700",fontSize:Y(80),lineHeight:Y(80),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},"2xl":{fontFamily:he.display,fontWeight:"700",fontSize:Y(72),lineHeight:Y(72),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},xl:{fontFamily:he.display,fontWeight:"700",fontSize:Y(64),lineHeight:Y(64),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},lg:{fontFamily:he.display,fontWeight:"700",fontSize:Y(56),lineHeight:Y(56),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},md:{fontFamily:he.display,fontWeight:"700",fontSize:Y(48),lineHeight:Y(48),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},sm:{fontFamily:he.display,fontWeight:"700",fontSize:Y(40),lineHeight:Y(44),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},xs:{fontFamily:he.display,fontWeight:"700",fontSize:Y(32),lineHeight:Y(36),letterSpacing:"-0.03em",fontFeatureSettings:"'ss05' on"}},title:{lg:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(32),lineHeight:Y(36),letterSpacing:"-0.02em"},md:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(24),lineHeight:Y(28),letterSpacing:"-0.02em"},sm:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(20),lineHeight:Y(24),letterSpacing:"-0.02em"},xs:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(18),lineHeight:Y(22),letterSpacing:"-0.015em"},"2xs":{fontFamily:he.sans,fontWeight:"700",fontSize:Y(16),lineHeight:Y(20),letterSpacing:"-0.01em"},"3xs":{fontFamily:he.sans,fontWeight:"700",fontSize:Y(14),lineHeight:Y(18),letterSpacing:"-0.005em"}},body:{xl:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(20),lineHeight:Y(28),letterSpacing:"-0.02em"},lg:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(18),lineHeight:Y(26),letterSpacing:"-0.02em"},md:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(16),lineHeight:Y(24),letterSpacing:"-0.01em"},sm:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(14),lineHeight:Y(20),letterSpacing:"-0.01em"},xs:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(12),lineHeight:Y(16),letterSpacing:"0"}},label:{md:{fontFamily:he.sans,fontWeight:"500",fontSize:Y(16),lineHeight:Y(20),letterSpacing:"-0.02em"},sm:{fontFamily:he.sans,fontWeight:"500",fontSize:Y(14),lineHeight:Y(18),letterSpacing:"-0.01em"}},button:{md:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(16),lineHeight:Y(18),letterSpacing:"-0.01em"},sm:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(14),lineHeight:Y(16),letterSpacing:"-0.01em"}},caption:{md:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(12),lineHeight:Y(12),letterSpacing:"0"},sm:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(10),lineHeight:Y(10),letterSpacing:"0"}}},ke={spacing:te,breakpoints:Q,zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},colors:ae,sizes:ye,radii:{none:"0px","2xs":"4px",xs:"8px",sm:"12px",md:"16px",lg:"24px",xl:"32px",full:"9999px"},shadows:{none:"none",sm:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035)",md:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417)",lg:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503)",xl:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503), 0px 31px 75px 0px rgba(0, 0, 0, 0.07)"},typography:de},pe={smUp:"@media(min-width: ".concat(ke.breakpoints.sm,"px)"),mdUp:"@media(min-width: ".concat(ke.breakpoints.md,"px)"),lgUp:"@media(min-width: ".concat(ke.breakpoints.lg,"px)"),xlUp:"@media(min-width: ".concat(ke.breakpoints.xl,"px)"),"2xlUp":"@media(min-width: ".concat(ke.breakpoints["2xl"],"px)")},ie=z(z({},ke),{mediaQueries:pe}),re=function(e){return Object.keys(e)},ne=function(e,a){var t=Object.assign({},e);return re(a).forEach((function(e){"object"==typeof a[e]?t[e]=ne(t[e],a[e]):t[e]=a[e]})),t},ce=function(e){var a=ie.typography,t=ie.colors;return e.typography&&(a=function(e){var a=Object.assign({},ie.typography);return re(a).forEach((function(t){var y=e[t];if(y){var h=a[t];re(h).forEach((function(e){h[e].fontFamily=y.fontFamily||h[e].fontFamily,h[e].fontWeight=y.fontWeight||h[e].fontWeight}))}})),a}(e.typography)),e.colors&&(t=ne(ie.colors,e.colors)),z(z({},ie),{typography:a,colors:t})},le=y(K||(K=j(["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"],["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"])));function oe(){return e(t,{styles:le})}var se=r(void 0);function Me(a){var t=a.language,y=a.children;return e(se.Provider,z({value:{currentLanguage:t}},{children:y}))}function xe(t){var y=t.children,k=t.themeOverrides,p=t.cacheOptions,i=t.locale,r=c((function(){var e;return N(z(z({},p),{key:null!==(e=null==p?void 0:p.key)&&void 0!==e?e:"qds"}))}),[p]),n=k?ce(k):ie;return e(Me,z({language:i||"en"},{children:e(h,z({value:r},{children:a(d,z({theme:n},{children:[e(oe,{}),e($,{}),y]}))}))}))}
1
+ import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Global as t,css as y,CacheProvider as h,ThemeProvider as d,useTheme as k,keyframes as p}from"@emotion/react";import r,{createContext as i,useContext as n,useMemo as c,forwardRef as l,createElement as o,useState as M,useEffect as s,Fragment as x,Children as v,useLayoutEffect as m,useCallback as u,useRef as g,isValidElement as f}from"react";import w from"@emotion/styled";import*as b from"@radix-ui/react-radio-group";var z=function(){return z=Object.assign||function(e){for(var a,t=1,y=arguments.length;t<y;t++)for(var h in a=arguments[t])Object.prototype.hasOwnProperty.call(a,h)&&(e[h]=a[h]);return e},z.apply(this,arguments)};function q(e,a){var t={};for(var y in e)Object.prototype.hasOwnProperty.call(e,y)&&a.indexOf(y)<0&&(t[y]=e[y]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(y=Object.getOwnPropertySymbols(e);h<y.length;h++)a.indexOf(y[h])<0&&Object.prototype.propertyIsEnumerable.call(e,y[h])&&(t[y[h]]=e[y[h]])}return t}function j(e,a){return Object.defineProperty?Object.defineProperty(e,"raw",{value:a}):e.raw=a,e}var H=function(){function e(e){var a=this;this._insertTag=function(e){var t;t=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,t),a.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var t=64===e.charCodeAt(0)&&105===e.charCodeAt(1);t&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!t}if(this.isSpeedy){var y=function(e){if(e.sheet)return e.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===e)return document.styleSheets[a]}(a);try{y.insertRule(e,y.cssRules.length)}catch(a){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',a)}}else a.appendChild(document.createTextNode(e));this.ctr++},a.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),V=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(e){var a="-ms-",t="-moz-",y="-webkit-",h="comm",d="rule",k="decl",p="@page",r="@media",i="@import",n="@charset",c="@viewport",l="@supports",o="@document",M="@namespace",s="@keyframes",x="@font-face",v="@counter-style",m="@font-feature-values",u=Math.abs,g=String.fromCharCode,f=Object.assign;function w(e,a){return(((a<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3)}function b(e){return e.trim()}function z(e,a){return(e=a.exec(e))?e[0]:e}function q(e,a,t){return e.replace(a,t)}function j(e,a){return e.indexOf(a)}function H(e,a){return 0|e.charCodeAt(a)}function V(e,a,t){return e.slice(a,t)}function C(e){return e.length}function L(e){return e.length}function A(e,a){return a.push(e),e}function S(e,a){return e.map(a).join("")}function Z(a,t,y,h,d,k,p){return{value:a,root:t,parent:y,type:h,props:d,children:k,line:e.line,column:e.column,length:p,return:""}}function F(e,a){return f(Z("",null,null,"",null,null,0),e,{length:-e.length},a)}function P(){return e.character}function T(){return e.character=e.position>0?H(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function D(){return e.character=e.position<e.length?H(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function B(){return H(e.characters,e.position)}function R(){return e.position}function O(a,t){return V(e.characters,a,t)}function E(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function W(a){return e.line=e.column=1,e.length=C(e.characters=a),e.position=0,[]}function U(a){return e.characters="",a}function I(a){return b(O(e.position-1,_(91===a?a+2:40===a?a+1:a)))}function N(e){return U($(W(e)))}function G(a){for(;(e.character=B())&&e.character<33;)D();return E(a)>2||E(e.character)>3?"":" "}function $(a){for(;D();)switch(E(e.character)){case 0:A(Y(e.position-1),a);break;case 2:A(I(e.character),a);break;default:A(g(e.character),a)}return a}function X(a,t){for(;--t&&D()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return O(a,R()+(t<6&&32==B()&&32==D()))}function _(a){for(;D();)switch(e.character){case a:return e.position;case 34:case 39:34!==a&&39!==a&&_(e.character);break;case 40:41===a&&_(a);break;case 92:D()}return e.position}function K(a,t){for(;D()&&a+e.character!==57&&(a+e.character!==84||47!==B()););return"/*"+O(t,e.position-1)+"*"+g(47===a?a:D())}function Y(a){for(;!E(B());)D();return O(a,e.position)}function J(e){return U(Q("",null,null,null,[""],e=W(e),0,[0],e))}function Q(e,a,t,y,h,d,k,p,r){for(var i=0,n=0,c=k,l=0,o=0,M=0,s=1,x=1,v=1,m=0,u="",f=h,w=d,b=y,z=u;x;)switch(M=m,m=D()){case 40:if(108!=M&&58==z.charCodeAt(c-1)){-1!=j(z+=q(I(m),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:z+=I(m);break;case 9:case 10:case 13:case 32:z+=G(M);break;case 92:z+=X(R()-1,7);continue;case 47:switch(B()){case 42:case 47:A(ae(K(D(),R()),a,t),r);break;default:z+="/"}break;case 123*s:p[i++]=C(z)*v;case 125*s:case 59:case 0:switch(m){case 0:case 125:x=0;case 59+n:o>0&&C(z)-c&&A(o>32?te(z+";",y,t,c-1):te(q(z," ","")+";",y,t,c-2),r);break;case 59:z+=";";default:if(A(b=ee(z,a,t,i,n,h,p,u,f=[],w=[],c),d),123===m)if(0===n)Q(z,a,b,b,f,d,c,p,w);else switch(l){case 100:case 109:case 115:Q(e,b,b,y&&A(ee(e,b,b,0,0,h,p,u,h,f=[],c),w),h,w,c,p,y?f:w);break;default:Q(z,b,b,b,[""],w,0,p,w)}}i=n=o=0,s=v=1,u=z="",c=k;break;case 58:c=1+C(z),o=M;default:if(s<1)if(123==m)--s;else if(125==m&&0==s++&&125==T())continue;switch(z+=g(m),m*s){case 38:v=n>0?1:(z+="\f",-1);break;case 44:p[i++]=(C(z)-1)*v,v=1;break;case 64:45===B()&&(z+=I(D())),l=B(),n=c=C(u=z+=Y(R())),m++;break;case 45:45===M&&2==C(z)&&(s=0)}}return d}function ee(e,a,t,y,h,k,p,r,i,n,c){for(var l=h-1,o=0===h?k:[""],M=L(o),s=0,x=0,v=0;s<y;++s)for(var m=0,g=V(e,l+1,l=u(x=p[s])),f=e;m<M;++m)(f=b(x>0?o[m]+" "+g:q(g,/&\f/g,o[m])))&&(i[v++]=f);return Z(e,a,t,0===h?d:r,i,n,c)}function ae(e,a,t){return Z(e,a,t,h,g(P()),V(e,2,-2),0)}function te(e,a,t,y){return Z(e,a,t,k,V(e,0,y),V(e,y+1,-1),y)}function ye(e,h){switch(w(e,h)){case 5103:return y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return y+e+t+e+a+e+e;case 6828:case 4268:return y+e+a+e+e;case 6165:return y+e+a+"flex-"+e+e;case 5187:return y+e+q(e,/(\w+).+(:[^]+)/,y+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return y+e+a+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return y+e+a+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return y+e+a+q(e,"shrink","negative")+e;case 5292:return y+e+a+q(e,"basis","preferred-size")+e;case 6060:return y+"box-"+q(e,"-grow","")+y+e+a+q(e,"grow","positive")+e;case 4554:return y+q(e,/([^-])(transform)/g,"$1"+y+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,y+"$1"),/(image-set)/,y+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,y+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,y+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+y+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(e)-1-h>6)switch(H(e,h+1)){case 109:if(45!==H(e,h+4))break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+y+"$2-$3$1"+t+(108==H(e,h+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?ye(q(e,"stretch","fill-available"),h)+e:e}break;case 4949:if(115!==H(e,h+1))break;case 6444:switch(H(e,C(e)-3-(~j(e,"!important")&&10))){case 107:return q(e,":",":"+y)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+y+(45===H(e,14)?"inline-":"")+"box$3$1"+y+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(H(e,h+11)){case 114:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return y+e+a+e+e}return e}function he(e,a){for(var t="",y=L(e),h=0;h<y;h++)t+=a(e[h],h,e,a)||"";return t}function de(e,a,t,y){switch(e.type){case i:case k:return e.return=e.return||e.value;case h:return"";case s:return e.return=e.value+"{"+he(e.children,y)+"}";case d:e.value=e.props.join(",")}return C(t=he(e.children,y))?e.return=e.value+"{"+t+"}":""}function ke(e){var a=L(e);return function(t,y,h,d){for(var k="",p=0;p<a;p++)k+=e[p](t,y,h,d)||"";return k}}function pe(e){return function(a){a.root||(a=a.return)&&e(a)}}function re(e,h,p,r){if(e.length>-1&&!e.return)switch(e.type){case k:e.return=ye(e.value,e.length);break;case s:return he([F(e,{value:q(e.value,"@","@"+y)})],r);case d:if(e.length)return S(e.props,(function(h){switch(z(h,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([F(e,{props:[q(h,/:(read-\w+)/,":"+t+"$1")]})],r);case"::placeholder":return he([F(e,{props:[q(h,/:(plac\w+)/,":"+y+"input-$1")]}),F(e,{props:[q(h,/:(plac\w+)/,":"+t+"$1")]}),F(e,{props:[q(h,/:(plac\w+)/,a+"input-$1")]})],r)}return""}))}}function ie(e){e.type===d&&(e.props=e.props.map((function(a){return S(N(a),(function(a,t,y){switch(H(a,0)){case 12:return V(a,1,C(a));case 0:case 40:case 43:case 62:case 126:return a;case 58:"global"===y[++t]&&(y[t]="",y[++t]="\f"+V(y[t],t=1,-1));case 32:return 1===t?"":a;default:switch(t){case 0:return e=a,L(y)>1?"":a;case t=L(y)-1:case 2:return 2===t?a+e+e:a+e;default:return a}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=n,e.COMMENT=h,e.COUNTER_STYLE=v,e.DECLARATION=k,e.DOCUMENT=o,e.FONT_FACE=x,e.FONT_FEATURE_VALUES=m,e.IMPORT=i,e.KEYFRAMES=s,e.MEDIA=r,e.MOZ=t,e.MS=a,e.NAMESPACE=M,e.PAGE=p,e.RULESET=d,e.SUPPORTS=l,e.VIEWPORT=c,e.WEBKIT=y,e.abs=u,e.alloc=W,e.append=A,e.assign=f,e.caret=R,e.char=P,e.charat=H,e.combine=S,e.comment=ae,e.commenter=K,e.compile=J,e.copy=F,e.dealloc=U,e.declaration=te,e.delimit=I,e.delimiter=_,e.escaping=X,e.from=g,e.hash=w,e.identifier=Y,e.indexof=j,e.match=z,e.middleware=ke,e.namespace=ie,e.next=D,e.node=Z,e.parse=Q,e.peek=B,e.prefix=ye,e.prefixer=re,e.prev=T,e.replace=q,e.ruleset=ee,e.rulesheet=pe,e.serialize=he,e.sizeof=L,e.slice=O,e.stringify=de,e.strlen=C,e.substr=V,e.token=E,e.tokenize=N,e.tokenizer=$,e.trim=b,e.whitespace=G,Object.defineProperty(e,"__esModule",{value:!0})}(V.exports);function C(e){var a=Object.create(null);return function(t){return void 0===a[t]&&(a[t]=e(t)),a[t]}}var L,A,S,Z=function(e,a,t){for(var y=0,h=0;y=h,h=V.exports.peek(),38===y&&12===h&&(a[t]=1),!V.exports.token(h);)V.exports.next();return V.exports.slice(e,V.exports.position)},F=function(e,a){return V.exports.dealloc(function(e,a){var t=-1,y=44;do{switch(V.exports.token(y)){case 0:38===y&&12===V.exports.peek()&&(a[t]=1),e[t]+=Z(V.exports.position-1,a,t);break;case 2:e[t]+=V.exports.delimit(y);break;case 4:if(44===y){e[++t]=58===V.exports.peek()?"&\f":"",a[t]=e[t].length;break}default:e[t]+=V.exports.from(y)}}while(y=V.exports.next());return e}(V.exports.alloc(e),a))},P=new WeakMap,T=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,t=e.parent,y=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||P.get(t))&&!y){P.set(e,!0);for(var h=[],d=F(a,h),k=t.props,p=0,r=0;p<d.length;p++)for(var i=0;i<k.length;i++,r++)e.props[r]=h[p]?d[p].replace(/&\f/g,k[i]):k[i]+" "+d[p]}}},D=function(e){if("decl"===e.type){var a=e.value;108===a.charCodeAt(0)&&98===a.charCodeAt(2)&&(e.return="",e.value="")}},B=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},R=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},O=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},E=function(e,a,t){R(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),O(e)):function(e,a){for(var t=e-1;t>=0;t--)if(!R(a[t]))return!0;return!1}(a,t)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),O(e)))},W="undefined"!=typeof document,U=W?void 0:(L=function(){return C((function(){var e={};return function(a){return e[a]}}))},A=new WeakMap,function(e){if(A.has(e))return A.get(e);var a=L(e);return A.set(e,a),a}),I=[V.exports.prefixer],N=function(e){var a=e.key;if("production"!==process.env.NODE_ENV&&!a)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(W&&"css"===a){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var y=e.stylisPlugins||I;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(a))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+a+'" was passed');var h,d,k={},p=[];W&&(h=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),t=1;t<a.length;t++)k[a[t]]=!0;p.push(e)})));var r=[T,D];if("production"!==process.env.NODE_ENV&&r.push(function(e){return function(a,t,y){if("rule"===a.type&&!e.compat){var h=a.value.match(/(:first|:nth|:nth-last)-child/g);if(h){for(var d=a.parent===y[0]?y[0].children:y,k=d.length-1;k>=0;k--){var p=d[k];if(p.line<a.line)break;if(p.column<a.column){if(B(p))return;break}}h.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return x.compat}}),E),W){var i,n=[V.exports.stringify,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?i.insert(e.return):e.value&&e.type!==V.exports.COMMENT&&i.insert(e.value+"{}"))}:V.exports.rulesheet((function(e){i.insert(e)}))],c=V.exports.middleware(r.concat(y,n));d=function(e,a,t,y){var h;i=t,"production"!==process.env.NODE_ENV&&void 0!==a.map&&(i={insert:function(e){t.insert(e+a.map)}}),h=e?e+"{"+a.styles+"}":a.styles,V.exports.serialize(V.exports.compile(h),c),y&&(x.inserted[a.name]=!0)}}else{var l=[V.exports.stringify],o=V.exports.middleware(r.concat(y,l)),M=U(y)(a),s=function(e,a){var t,y=a.name;return void 0===M[y]&&(M[y]=(t=e?e+"{"+a.styles+"}":a.styles,V.exports.serialize(V.exports.compile(t),o))),M[y]};d=function(e,a,t,y){var h=a.name,d=s(e,a);return void 0===x.compat?(y&&(x.inserted[h]=!0),"development"===process.env.NODE_ENV&&void 0!==a.map?d+a.map:d):y?void(x.inserted[h]=d):d}}var x={key:a,sheet:new H({key:a,container:h,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:k,registered:{},insert:d};return x.sheet.hydrate(p),x},G=function(e){return y(S||(S=j(["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"],["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"])),e.typography.body.md.fontFamily,e.colors.text.default,e.colors.border.defaultSelected)};function $(){return e(t,{styles:G})}function X(e){return function(a){return e(a)}}function _(e){return function(a){return e(a)}}var K,Y=function(e){return"".concat(e/16,"rem")},J=_((function(e){var a=e.colors,t=e.radii,y=e.typography,h=e.spacing;return z(z({width:"100%",minWidth:0,appearance:"none",paddingLeft:h["4x"],paddingRight:h["4x"],border:"1px solid ".concat(a.border.default),borderRadius:t.sm,backgroundColor:a.bg.default,color:a.text.default,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent","&::-webkit-date-and-time-value":{textAlign:"left"},alignItems:"center"},y.body.md),{"&::placeholder":{color:a.text.disabled},"&:hover":{borderColor:a.border.defaultHover},"&:focus":{outline:0,borderColor:a.border.defaultSelected,boxShadow:"0 0 0 1px ".concat(a.border.defaultSelected)},"&[aria-invalid=true]":{borderColor:a.border.negative,"&:focus":{boxShadow:"0 0 0 1px ".concat(a.border.negative)}},"&[disabled], &:disabled, &[data-disabled]":{opacity:.4,borderColor:a.border.default},transitionProperty:"opacity, border-color, box-shadow",transitionDuration:"120ms",transitionTimingFunction:"ease"})})),Q={base:0,sm:480,md:768,lg:1024,xl:1280,"2xl":1536},ee={black:"#000000",white:"#ffffff",gray90:"#26261D",gray80:"#424236",gray70:"#545448",gray60:"#78786C",gray50:"#A3A396",gray40:"#D6D6CD",gray30:"#E5E5DF",gray20:"#F0F0EB",gray10:"#FBFBF9",uiPink:"#FF99C2",uiPinkDark:"#FF84B6",uiPinkLight:"#FFA3C8",brown:"#342620",brownDark:"#2A1E1A",brownLight:"#3C2F29",offWhite:"#F0F0EB",offWhiteDark:"#E0E0D6",offWhiteLight:"#F6F6F3",softPink:"#FFE8F0",warmYellow:"#FFD66C",softYellow:"#FFF8CC",red10:"#fff3f2",red20:"#fbd8d5",red30:"#f8b3ae",red40:"#f37d74",red50:"#ea4c41",red60:"#da281b",red70:"#c21b0f",red80:"#a9170d",red90:"#87170f",green90:"#00552f",green80:"#00703d",green70:"#007d45",green60:"#00a35a",green50:"#00cc70",green40:"#60efaa",green30:"#b2ffd7",green20:"#d6ffe9",green10:"#f0fff6",blue90:"#003870",blue80:"#0053a6",blue70:"#0064c8",blue60:"#007cf9",blue50:"#349aff",blue40:"#69b4ff",blue30:"#b9dcff",blue20:"#daecff",blue10:"#f2f8ff",yellow90:"#a06500",yellow80:"#cd8100",yellow70:"#ec9400",yellow60:"#ffa000",yellow50:"#ffae25",yellow40:"#ffbf52",yellow30:"#ffd081",yellow20:"#ffe2b1",yellow10:"#fff7eb",blackAlpha20:"rgba(0, 0, 0, 0.2)"},ae={core:ee,bg:{default:ee.white,brandPrimary:ee.uiPink,brandPrimaryHover:ee.uiPinkLight,brandPrimaryActive:ee.uiPinkDark,brandSecondary:ee.brown,brandSecondaryHover:ee.brownLight,brandSecondaryActive:ee.brownDark,brandTertiary:ee.offWhite,brandTertiaryHover:ee.offWhiteLight,brandTertiaryActive:ee.offWhiteDark,negative:ee.red60,warning:ee.yellow60,positive:ee.green60,inset:ee.gray10,backdrop:ee.blackAlpha20},text:{strong:ee.black,default:ee.brown,subtle:ee.gray60,disabled:ee.gray50,negative:ee.red60,warning:ee.yellow90,positive:ee.green70,onBrandPrimary:ee.brown,onBrandSecondary:ee.offWhite,onBrandTertiary:ee.brown},icon:{default:ee.brown,strong:ee.black,subtle:ee.gray60,disabled:ee.gray50,negative:ee.red60,warning:ee.yellow70,positive:ee.green70,onBrandPrimary:ee.brown,onBrandSecondary:ee.offWhite,onBrandTertiary:ee.brown},border:{default:ee.gray30,defaultHover:ee.gray40,defaultSelected:ee.brown,strong:ee.gray40,subtle:ee.gray20,negative:ee.red60,warning:ee.yellow60,positive:ee.green60}},te={"0x":Y(0),"1x":Y(4),"2x":Y(8),"3x":Y(12),"4x":Y(16),"5x":Y(20),"6x":Y(24),"8x":Y(32),"12x":Y(48),"16x":Y(64),"20x":Y(80),"24x":Y(96)},ye=z(z({},te),{112:Y(112),128:Y(128),144:Y(144),160:Y(160),176:Y(176),192:Y(192),224:Y(224),256:Y(256),288:Y(288),320:Y(320),384:Y(384),448:Y(448),512:Y(512),576:Y(576),672:Y(672),768:Y(768),896:Y(896),1024:Y(1024)}),he={display:['"Qasa Diatype Rounded Semi-Mono"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(","),sans:['"Qasa Diatype Rounded"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(",")},de={display:{"3xl":{fontFamily:he.display,fontWeight:"700",fontSize:Y(80),lineHeight:Y(80),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},"2xl":{fontFamily:he.display,fontWeight:"700",fontSize:Y(72),lineHeight:Y(72),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},xl:{fontFamily:he.display,fontWeight:"700",fontSize:Y(64),lineHeight:Y(64),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},lg:{fontFamily:he.display,fontWeight:"700",fontSize:Y(56),lineHeight:Y(56),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},md:{fontFamily:he.display,fontWeight:"700",fontSize:Y(48),lineHeight:Y(48),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},sm:{fontFamily:he.display,fontWeight:"700",fontSize:Y(40),lineHeight:Y(44),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},xs:{fontFamily:he.display,fontWeight:"700",fontSize:Y(32),lineHeight:Y(36),letterSpacing:"-0.03em",fontFeatureSettings:"'ss05' on"}},title:{lg:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(32),lineHeight:Y(36),letterSpacing:"-0.02em"},md:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(24),lineHeight:Y(28),letterSpacing:"-0.02em"},sm:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(20),lineHeight:Y(24),letterSpacing:"-0.02em"},xs:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(18),lineHeight:Y(22),letterSpacing:"-0.015em"},"2xs":{fontFamily:he.sans,fontWeight:"700",fontSize:Y(16),lineHeight:Y(20),letterSpacing:"-0.01em"},"3xs":{fontFamily:he.sans,fontWeight:"700",fontSize:Y(14),lineHeight:Y(18),letterSpacing:"-0.005em"}},body:{xl:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(20),lineHeight:Y(28),letterSpacing:"-0.02em"},lg:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(18),lineHeight:Y(26),letterSpacing:"-0.02em"},md:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(16),lineHeight:Y(24),letterSpacing:"-0.01em"},sm:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(14),lineHeight:Y(20),letterSpacing:"-0.01em"},xs:{fontFamily:he.sans,fontWeight:"400",fontSize:Y(12),lineHeight:Y(16),letterSpacing:"0"}},label:{md:{fontFamily:he.sans,fontWeight:"500",fontSize:Y(16),lineHeight:Y(20),letterSpacing:"-0.02em"},sm:{fontFamily:he.sans,fontWeight:"500",fontSize:Y(14),lineHeight:Y(18),letterSpacing:"-0.01em"}},button:{md:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(16),lineHeight:Y(18),letterSpacing:"-0.01em"},sm:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(14),lineHeight:Y(16),letterSpacing:"-0.01em"}},caption:{md:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(12),lineHeight:Y(12),letterSpacing:"0"},sm:{fontFamily:he.sans,fontWeight:"700",fontSize:Y(10),lineHeight:Y(10),letterSpacing:"0"}}},ke={spacing:te,breakpoints:Q,zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},colors:ae,sizes:ye,radii:{none:"0px","2xs":"4px",xs:"8px",sm:"12px",md:"16px",lg:"24px",xl:"32px",full:"9999px"},shadows:{none:"none",sm:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035)",md:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417)",lg:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503)",xl:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503), 0px 31px 75px 0px rgba(0, 0, 0, 0.07)"},typography:de},pe={smUp:"@media(min-width: ".concat(ke.breakpoints.sm,"px)"),mdUp:"@media(min-width: ".concat(ke.breakpoints.md,"px)"),lgUp:"@media(min-width: ".concat(ke.breakpoints.lg,"px)"),xlUp:"@media(min-width: ".concat(ke.breakpoints.xl,"px)"),"2xlUp":"@media(min-width: ".concat(ke.breakpoints["2xl"],"px)")},re=z(z({},ke),{mediaQueries:pe}),ie=function(e){return Object.keys(e)},ne=function(e,a){var t=Object.assign({},e);return ie(a).forEach((function(e){"object"==typeof a[e]?t[e]=ne(t[e],a[e]):t[e]=a[e]})),t},ce=function(e){var a=re.typography,t=re.colors;return e.typography&&(a=function(e){var a=Object.assign({},re.typography);return ie(a).forEach((function(t){var y=e[t];if(y){var h=a[t];ie(h).forEach((function(e){h[e].fontFamily=y.fontFamily||h[e].fontFamily,h[e].fontWeight=y.fontWeight||h[e].fontWeight}))}})),a}(e.typography)),e.colors&&(t=ne(re.colors,e.colors)),z(z({},re),{typography:a,colors:t})},le=y(K||(K=j(["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"],["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"])));function oe(){return e(t,{styles:le})}var Me=i(void 0);function se(a){var t=a.language,y=a.children;return e(Me.Provider,z({value:{currentLanguage:t}},{children:y}))}function xe(t){var y=t.children,k=t.themeOverrides,p=t.cacheOptions,r=t.locale,i=c((function(){var e;return N(z(z({},p),{key:null!==(e=null==p?void 0:p.key)&&void 0!==e?e:"qds"}))}),[p]),n=k?ce(k):re;return e(se,z({language:r||"en"},{children:e(h,z({value:i},{children:a(d,z({theme:n},{children:[e(oe,{}),e($,{}),y]}))}))}))}
2
2
  /**
3
3
  * @license lucide-react v0.294.0 - ISC
4
4
  *
@@ -10,7 +10,7 @@ import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Global as t,css as y,Ca
10
10
  *
11
11
  * This source code is licensed under the ISC license.
12
12
  * See the LICENSE file in the root directory of this source tree.
13
- */const me=(e,a)=>{const t=l((({color:t="currentColor",size:y=24,strokeWidth:h=2,absoluteStrokeWidth:d,className:k="",children:p,...i},r)=>{return o("svg",{ref:r,...ve,width:y,height:y,stroke:t,strokeWidth:d?24*Number(h)/Number(y):h,className:["lucide",`lucide-${n=e,n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim()}`,k].join(" "),...i},[...a.map((([e,a])=>o(e,a))),...Array.isArray(p)?p:[p]]);var n}));return t.displayName=`${e}`,t};
13
+ */const me=(e,a)=>{const t=l((({color:t="currentColor",size:y=24,strokeWidth:h=2,absoluteStrokeWidth:d,className:k="",children:p,...r},i)=>{return o("svg",{ref:i,...ve,width:y,height:y,stroke:t,strokeWidth:d?24*Number(h)/Number(y):h,className:["lucide",`lucide-${n=e,n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim()}`,k].join(" "),...r},[...a.map((([e,a])=>o(e,a))),...Array.isArray(p)?p:[p]]);var n}));return t.displayName=`${e}`,t};
14
14
  /**
15
15
  * @license lucide-react v0.294.0 - ISC
16
16
  *
@@ -4410,7 +4410,7 @@ me("Globe2",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path"
4410
4410
  * This source code is licensed under the ISC license.
4411
4411
  * See the LICENSE file in the root directory of this source tree.
4412
4412
  */
4413
- const De=me("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);
4413
+ const Te=me("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);
4414
4414
  /**
4415
4415
  * @license lucide-react v0.294.0 - ISC
4416
4416
  *
@@ -4647,7 +4647,7 @@ me("HeartPulse",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c
4647
4647
  * This source code is licensed under the ISC license.
4648
4648
  * See the LICENSE file in the root directory of this source tree.
4649
4649
  */
4650
- const Te=me("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),Re=me("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);
4650
+ const De=me("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),Be=me("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);
4651
4651
  /**
4652
4652
  * @license lucide-react v0.294.0 - ISC
4653
4653
  *
@@ -4681,7 +4681,7 @@ me("Highlighter",[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22
4681
4681
  * This source code is licensed under the ISC license.
4682
4682
  * See the LICENSE file in the root directory of this source tree.
4683
4683
  */
4684
- const Be=me("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),Oe=me("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);
4684
+ const Re=me("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),Oe=me("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);
4685
4685
  /**
4686
4686
  * @license lucide-react v0.294.0 - ISC
4687
4687
  *
@@ -9204,7 +9204,7 @@ me("XSquare",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3
9204
9204
  * This source code is licensed under the ISC license.
9205
9205
  * See the LICENSE file in the root directory of this source tree.
9206
9206
  */
9207
- const ia=me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);
9207
+ const ra=me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);
9208
9208
  /**
9209
9209
  * @license lucide-react v0.294.0 - ISC
9210
9210
  *
@@ -9238,5 +9238,5 @@ me("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2
9238
9238
  * This source code is licensed under the ISC license.
9239
9239
  * See the LICENSE file in the root directory of this source tree.
9240
9240
  */
9241
- me("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);var ra=function(e){var a=e.src,t=e.loading,y=s(a?"loading":"pending"),h=y[0],d=y[1];return M((function(){if(a){var e=function(e){return function(){d(e)}};d("loading");var y=new Image;y.onload=e("loaded"),y.onerror=e("error"),y.src=a,t&&(y.loading=t)}else d("pending")}),[t,a]),{loadingStatus:h}},na={xs:32,sm:40,md:48,lg:64,xl:96,"2xl":128},ca={xs:12,sm:16,md:20,lg:32,xl:48,"2xl":64},la=w.span((function(e){var a=e.theme,t=e.size;return{width:na[t],height:na[t],borderRadius:a.radii.full,background:a.colors.core.gray20,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid ".concat(a.colors.border.subtle)}})),oa=w.img({width:"100%",height:"100%",objectFit:"cover"}),sa=l((function(a,t){var y=a.src,h=a.name,d=a.size,p=void 0===d?"md":d,i=q(a,["src","name","size"]),r=k(),n=ra({src:y,loading:"eager"}).loadingStatus,c=ca[p];return e(la,z({ref:t,size:p},i,{children:"loaded"===n?e(oa,{src:y,alt:h}):e(ka,{color:r.colors.icon.disabled,size:c,role:"img","aria-label":h,absoluteStrokeWidth:c<24})}))})),Ma=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,xa=C((function(e){return Ma.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),va=X((function(){return{sm:{fontSize:Y(8)},md:{fontSize:Y(16)}}})),ma=w.span((function(e){var a=e.theme,t=e.size;return z(z({color:a.colors.core.brown,display:"inline-flex"},va(a)[t]),{gap:Y(6)})})),ua=p({"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}),ga=w.span({display:"block",width:"1em",height:"1em",background:"currentColor",borderRadius:999,animationDuration:"".concat(1200,"ms"),animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationFillMode:"both","&:nth-of-type(2)":{animationDelay:"".concat(160,"ms")},"&:nth-of-type(3)":{animationDelay:"".concat(320,"ms")},animationName:ua}),fa=l((function(t,y){var h=t.size,d=void 0===h?"md":h,k=q(t,["size"]);return a(ma,z({ref:y,size:d},k,{children:[e(ga,{}),e(ga,{}),e(ga,{})]}))})),wa=X((function(e){var a=e.typography,t=e.spacing;return{xs:z({height:Y(32),paddingLeft:t["4x"],paddingRight:t["4x"]},a.button.sm),sm:z({height:Y(40),paddingLeft:t["5x"],paddingRight:t["5x"]},a.button.sm),md:z({height:Y(48),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md),lg:z({height:Y(56),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md),xl:z({height:Y(64),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md)}})),ba=X((function(e){var a,t,y,h=e.colors;return{primary:(a={background:h.bg.brandPrimary,color:h.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandPrimaryHover}},":active":{background:h.bg.brandPrimaryActive}},a),secondary:(t={background:h.bg.brandSecondary,color:h.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandSecondaryHover}},":active":{background:h.bg.brandSecondaryActive}},t),tertiary:(y={background:h.bg.brandTertiary,color:h.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandTertiaryHover}},":active":{background:h.bg.brandTertiaryActive}},y)}})),za={xs:16,sm:16,md:20,lg:20,xl:20},qa={xs:"2x",sm:"3x",md:"3x",lg:"4x",xl:"4x"},ja={xs:"1x",sm:"1x",md:"1x",lg:"2x",xl:"2x"},Ha=w.span((function(e){var a=e.theme,t=e.buttonSize;return{flexShrink:0,marginLeft:"-".concat(a.spacing[ja[t]]),marginRight:a.spacing[qa[t]]}})),Va=w.span((function(e){var a=e.theme,t=e.buttonSize;return{flexShrink:0,marginRight:"-".concat(a.spacing[ja[t]]),marginLeft:a.spacing[qa[t]]}}));function Ca(a){var t=a.buttonSize,y=a.icon,h=a.placement;return e("left"===h?Ha:Va,z({buttonSize:t},{children:e(y,{"aria-hidden":"true",size:za[t],color:"currentColor"})}))}var La=w("button",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.variant,h=e.isFullWidth;return z(z(z({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},wa(a)[t]),ba(a)[y]),h&&{width:"100%"})})),Aa=w(fa)({position:"absolute",color:"currentColor"}),Sa=w.span({opacity:0,display:"flex",alignItems:"center"}),Za=l((function(t,y){var h=t.as,d=t.children,k=t.type,p=void 0===k?h?void 0:"button":k,i=t.size,r=void 0===i?"md":i,n=t.variant,c=void 0===n?"secondary":n,l=t.isFullWidth,o=void 0!==l&&l,s=t.isLoading,M=void 0!==s&&s,v=t.isDisabled,m=void 0!==v&&v,u=t.disabled,g=t.iconLeft,f=t.iconRight,w=q(t,["as","children","type","size","variant","isFullWidth","isLoading","isDisabled","disabled","iconLeft","iconRight"]);return a(La,z({as:h,ref:y,variant:c,size:r,isFullWidth:o,disabled:m||u||M,type:p},w,{children:[a(M?Sa:x,{children:[g&&e(Ca,{buttonSize:r,icon:g,placement:"left"}),d,f&&e(Ca,{buttonSize:r,icon:f,placement:"right"})]}),M&&e(Aa,{size:"sm","data-testid":"button-spinner"})]}))})),Fa=w.span((function(e){var a,t=e.theme,y=e.orientation,h="horizontal"===y?"borderTop":"borderLeft";return(a={display:"block"})["horizontal"===y?"width":"height"]="100%",a.flexShrink=0,a[h]="1px solid ".concat(t.colors.border.default),a})),Pa=l((function(a,t){var y=a.orientation,h=void 0===y?"horizontal":y,d=q(a,["orientation"]);return e(Fa,z({ref:t,orientation:h,role:"separator"},d))})),Da=X((function(e){var a=e.typography;return{lg:a.title.lg,md:a.title.md,sm:a.title.sm,xs:a.title.xs,"2xs":a.title["2xs"],"3xs":a.title["3xs"]}})),Ta=w("h2",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return z(z(z({margin:0},Da(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),Ra=l((function(a,t){var y=a.as,h=a.children,d=a.size,k=void 0===d?"md":d,p=a.color,i=void 0===p?"default":p,r=a.textAlign,n=void 0===r?"left":r,c=q(a,["as","children","size","color","textAlign"]);return e(Ta,z({as:y,ref:t,textAlign:n,size:k,color:i},c,{children:h}))})),Ba=w.aside((function(e){var a=e.theme;return z({backgroundColor:a.colors.bg.inset,borderRadius:a.radii.md,paddingInline:a.spacing["5x"],paddingBlock:a.spacing["4x"]},a.typography.body.sm)})),Oa=w.p((function(e){var a=e.theme;return z(z({},a.typography.title["3xs"]),{marginBottom:a.spacing["1x"]})})),Ea=l((function(a,t){var y=a.children,h=q(a,["children"]);return e(Ba,z({ref:t},h,{children:y}))})),Wa=Object.assign(Ea,{Title:Oa}),Ua=w.svg((function(e){var a=e.theme,t=e.color,y=void 0===t?"default":t;return{color:"currentColor"===y?"currentcolor":a.colors.icon[y],display:"inline-block",lineHeight:"1em"}})),Ia=function(a){var t=a.viewBox,y=a.d,h=a.displayName,d=void 0===h?"UnnamedIcon":h,k=v.toArray(a.path),p=l((function(a,h){var d=a.size,p=void 0===d?24:d,i=q(a,["size"]);return e(Ua,z({ref:h,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,focusable:"false",viewBox:t,fill:"currentColor"},i,{children:k.length?k:e("path",{fill:"currentColor",d:y})}))}));return p.displayName=d,p},Na=function(a){var t=l((function(t,y){var h=t.size,d=void 0===h?24:h,p=t.color,i=void 0===p?"default":p,r=q(t,["size","color"]),n=k(),c="currentColor"===i?"currentcolor":n.colors.icon[i];return e(a,z({ref:y,size:d,strokeWidth:2,absoluteStrokeWidth:d<24,color:c},r))}));return t.displayName=a.displayName,t},Ga=Na(ue),$a=Na(ge),Xa=Na(fe),_a=Na(we),Ka=Na(be),Ya=Na(ze),Ja=Na(je),Qa=Na(qe),et=Na(He),at=Na(Ve),tt=Na(Ce),yt=Na(Le),ht=Na(Ae),dt=Na(Se),kt=Na(Ze),pt=Na(Fe),it=Na(Pe),rt=Na(De),nt=Ia({viewBox:"0 0 24 24",d:"M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z",displayName:"HeartFilledIcon"}),ct=Na(Te),lt=Na(Re),ot=Na(Be),st=Na(Oe),Mt=Na(Ee),xt=Na(Ue),vt=Na(We),mt=Na(Ie),ut=Na(Ge),gt=Na(Ne),ft=Na($e),wt=Na(Xe),bt=Na(_e),zt=Na(Ke),qt=Na(Ye),jt=Na(Je),Ht=Na(Qe),Vt=Na(ea),Ct=Na(ta),Lt=Na(ya),At=Na(aa),St=Ia({viewBox:"0 0 24 24",d:"M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z",displayName:"StarFilledIcon"}),Zt=Na(ha),Ft=Na(da),Pt=Na(ka),Dt=Na(pa),Tt=Na(ia),Rt=X((function(){return{xs:{width:Y(32),height:Y(32)},sm:{width:Y(40),height:Y(40)},md:{width:Y(48),height:Y(48)}}})),Bt=X((function(e){var a,t,y,h,d=e.colors;return{primary:(a={background:d.bg.brandPrimary,color:d.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandPrimaryHover}},":active":{background:d.bg.brandPrimaryActive}},a),secondary:(t={background:d.bg.brandSecondary,color:d.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandSecondaryHover}},":active":{background:d.bg.brandSecondaryActive}},t),tertiary:(y={background:d.bg.brandTertiary,color:d.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandTertiaryHover}},":active":{background:d.bg.brandTertiaryActive}},y),ghost:(h={background:d.bg.default,color:d.text.default},h[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.core.gray20}},":active":{background:d.core.gray20}},h)}})),Ot={xs:16,sm:20,md:20},Et=w("button",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.variant;return z(z({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},Rt(a)[t]),Bt(a)[y])})),Wt=l((function(a,t){var y=a.as,h=a.icon,d=a.label,k=a["aria-label"],p=void 0===k?d:k,i=a.variant,r=void 0===i?"ghost":i,n=a.size,c=void 0===n?"md":n,l=a.type,s=void 0===l?"button":l,M=a.isDisabled,x=void 0!==M&&M,v=q(a,["as","icon","label","aria-label","variant","size","type","isDisabled"]);return e(Et,z({as:y,ref:t,"aria-label":p,variant:r,size:c,disabled:x,type:s},v,{children:o(h,{"aria-hidden":!0,size:Ot[c],color:"currentColor"})}))})),Ut=p({"0%":{opacity:.5},"100%":{opacity:1}}),It=w.div((function(e){var a=e.theme,t=e.$width,y=e.$height,h=e.borderRadius,d=e.isLoading;return z(z({width:t,height:y,borderRadius:a.radii[h],overflow:"hidden",transition:"background-color 180ms",background:"transparent",border:"1px solid ".concat(a.colors.core.gray20)},d&&{background:a.colors.core.gray20,animationDuration:"0.8s",animationDirection:"alternate",animationIterationCount:"infinite"}),{animationName:d?Ut:void 0})})),Nt=w.img((function(e){return{width:"100%",height:"100%",objectFit:"cover",opacity:e.isVisible?1:0,transition:"opacity 180ms"}}));function Gt(a){var t=a.src,y=a.loading,h=void 0===y?"lazy":y,d=a.width,k=a.height,p=a.borderRadius,i=void 0===p?"md":p,r=q(a,["src","loading","width","height","borderRadius"]),n=ra({src:t,loading:h}).loadingStatus;return e(It,z({isLoading:"loading"===n,$width:d,$height:k,borderRadius:i},{children:e(Nt,z({src:t,isVisible:"loaded"===n,loading:h},r))}))}var $t=Object.entries(ie.breakpoints).map((function(e){return{name:e[0],breakpoint:e[1]}})),Xt=$t.map((function(e,a){var t,y=e.name,h=e.breakpoint,d=null===(t=null==$t?void 0:$t[a+1])||void 0===t?void 0:t.breakpoint;return{name:y,media:d?"(min-width: ".concat(h,"px) and (max-width: ").concat(d-1,"px)"):"(min-width: ".concat(h,"px)")}})),_t=function(){var e=Xt.find((function(e){var a=e.media;return window.matchMedia(a).matches}));return(null==e?void 0:e.name)||"base"};function Kt(e){var a=(e||{}).ssr,t=s(void 0!==a&&a?"base":_t),y=t[0],h=t[1];return M((function(){var e=Xt.map((function(e){var a=e.media;return window.matchMedia(a)})),a=function(){h(_t())};return a(),e.forEach((function(e){"function"==typeof e.addListener?e.addListener(a):e.addEventListener("change",a)})),function(){e.forEach((function(e){"function"==typeof e.addListener?e.removeListener(a):e.removeEventListener("change",a)}))}}),[]),{currentBreakpoint:y}}function Yt(e,a){var t,y=Kt(a).currentBreakpoint;if(y in e)t=e[y];else for(var h=Object.keys(Q),d=h.indexOf(y);d>=0;d--){var k=h[d];if(k in e){t=e[k];break}}return t}var Jt=(null===globalThis||void 0===globalThis?void 0:globalThis.document)?m:function(){},Qt=i["useId".toString()]||function(){},ey=0;function ay(e){var a=s(Qt()),t=a[0],y=a[1];return Jt((function(){e||y((function(e){return null!=e?e:String(ey++)}))}),[e]),e||(t?"qds-".concat(t):"")}var ty=function(e){var a=e.id,t=e.isDisabled,y=e.helperText,h=e.errorMessage,d=e.isInvalid,k=e.isRequired,p=ay(a),i="".concat(p,"-error"),r="".concat(p,"-helper"),n=u((function(e){return z(z({},e),{htmlFor:p,"data-disabled":t?"":void 0})}),[p,t]),c=u((function(e){return z(z({},e),{id:r,"data-disabled":t?"":void 0})}),[r,t]),l=u((function(e){return z(z({},e),{id:i,"aria-live":"polite"})}),[i]);return{getLabelProps:n,getFieldProps:u((function(e){var a,n=[];return Boolean(h)&&d?n.push(i):y&&n.push(r),(null==e?void 0:e["aria-describedby"])&&n.push(e["aria-describedby"]),z(z({},e),{"aria-describedby":n.join(" ")||void 0,id:null!==(a=null==e?void 0:e.id)&&void 0!==a?a:p,isDisabled:t,isRequired:k,"aria-invalid":!!d||void 0})}),[h,i,y,r,p,t,d,k]),getHelperTextProps:c,getErrorMessageProps:l}},yy={en:{close:"Close",optional:"Optional"},sv:{close:"Stäng",optional:"Valfritt"},fi:{close:"Sulje",optional:"Valinnainen"},fr:{close:"Fermer",optional:"Facultatif"}};function hy(){var e=function(){var e=n(se);if(!e)throw new Error("useLocale must be used within a LocaleProvider");return e}().currentLanguage;return{t:function(a){return yy[e][a]}}}var dy=function(e){return e?"":void 0},ky=X((function(e){var a=e.typography;return{sm:z({},a.label.sm),md:z({},a.label.md)}})),py=w("label",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.color,y=e.size;return z(z({display:"block",color:a.colors.text[t],cursor:"default",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},ky(a)[y]),{"&[data-disabled]":{opacity:.4}})})),iy=l((function(a,t){var y=a.as,h=a.children,d=a.color,k=void 0===d?"default":d,p=a.size,i=void 0===p?"md":p,r=a.onMouseDown,n=q(a,["as","children","color","size","onMouseDown"]);return e(py,z({as:y,ref:t},n,{size:i,color:k,onMouseDown:function(e){r&&r(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},{children:h}))})),ry=w("input")((function(e){var a=e.theme;return z(z({},J(a)),{height:48})})),ny=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=q(a,["isInvalid","isDisabled","isRequired"]);return e(ry,z({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d},k))})),cy=w.div((function(e){return{position:"relative",display:"flex",flexDirection:"column",gap:e.theme.spacing["2x"],width:"100%"}}));function ly(a){var t=a.children;return e(cy,z({role:"group"},{children:t}))}var oy=w.div((function(e){var a=e.theme;return z(z({},a.typography.body.sm),{color:a.colors.text.negative})})),sy=w.span((function(e){var a=e.theme;return z(z({},a.typography.body.sm),{color:a.colors.text.subtle,"&[data-disabled]":{opacity:.4}})})),My=w.div((function(e){return{width:"100%",position:e.isPositionRelative?"relative":void 0}})),xy=w.span((function(e){var a=e.theme;return z(z({},a.typography.body.sm),{color:a.colors.text.subtle})})),vy=w.div((function(e){var a=e.theme;return z(z({},a.typography.body.md),{position:"absolute",height:"100%",top:0,right:0,display:"flex",alignItems:"center",paddingLeft:a.spacing["4x"],paddingRight:a.spacing["4x"],pointerEvents:"none","&[data-disabled]":{opacity:.4}})})),my=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.isDisabled,p=t.isRequired,i=t.isOptional,r=t.errorMessage,n=t.helperText,c=t.suffix,l=q(t,["label","isInvalid","isDisabled","isRequired","isOptional","errorMessage","helperText","suffix"]),o=ty(t),M=o.getLabelProps,x=o.getFieldProps,v=o.getErrorMessageProps,m=o.getHelperTextProps,u=s(void 0),f=u[0],w=u[1],b=g(null),j=hy().t;Jt((function(){var e;w(null===(e=b.current)||void 0===e?void 0:e.offsetWidth)}),[c]);var H=n?e(sy,z({},m(),{children:n})):null,V=d&&r?e(oy,z({},v(),{children:r})):null,C=Boolean(c),L=Boolean(!p&&i);return a(ly,{children:[a(iy,z({},M(),{children:[h,L&&e(xy,{children:" (".concat(j("optional"),")")})]})),a(My,z({isPositionRelative:C},{children:[e(ny,z({ref:y},x(z(z({},l),{style:{paddingRight:f}})))),C&&e(vy,z({ref:b,"aria-hidden":"true","data-disabled":dy(k)},{children:c}))]})),V||H]})})),uy=w("a",{shouldForwardProp:xa})((function(e){var a=e.theme;return z(z({WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},a.typography.body.md),{WebkitAppearance:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease",flexShrink:0,fontSize:"inherit",color:"inherit",textDecoration:"underline"})})),gy=l((function(a,t){var y=a.children,h=a.href,d=a.isExternal,k=void 0!==d&&d,p=q(a,["children","href","isExternal"]);return e(uy,z({ref:t,href:h},k?{target:"_blank",rel:"noopener noreferrer"}:{},p,{children:y}))})),fy=X((function(e){var a=e.typography;return{xs:a.body.xs,sm:a.body.sm,md:a.body.md,lg:a.body.lg,xl:a.body.xl}})),wy=w("p",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return z(z(z({margin:0},fy(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),by=l((function(a,t){var y=a.children,h=a.size,d=void 0===h?"md":h,k=a.color,p=void 0===k?"default":k,i=a.textAlign,r=void 0===i?"left":i,n=q(a,["children","size","color","textAlign"]);return e(wy,z({ref:t,size:d,color:p,textAlign:r},n,{children:y}))})),zy=w.div({width:"100%",height:"fit-content",position:"relative"}),qy=w.div({pointerEvents:"none",position:"absolute",height:"100%",width:48,right:0,top:0,color:"currentcolor",display:"inline-flex",justifyContent:"center",alignItems:"center","&[data-disabled]":{opacity:.4}}),jy=w.select((function(e){var a=e.theme;return z(z({},J(a)),{height:48,paddingRight:40})})),Hy=l((function(t,y){var h=t.placeholder,d=t.children,k=t.isInvalid,p=t.isDisabled,i=t.isRequired,r=q(t,["placeholder","children","isInvalid","isDisabled","isRequired"]);return a(zy,{children:[a(jy,z({ref:y,"aria-invalid":!!k||void 0,disabled:p,required:i},r,{children:[h&&e("option",z({value:""},{children:h})),d]})),e(qy,z({"data-disabled":p?"":void 0},{children:e(dt,{role:"presentation","aria-hidden":"true",size:16})}))]})})),Vy=w.textarea((function(e){var a=e.theme,t=e.resize,y=e.minRows,h=J(a),d=a.spacing["3x"],k="calc(".concat(h.lineHeight," * ").concat(y," + ").concat(d," * 2 + 2px)");return z(z({},h),{paddingTop:d,paddingBottom:d,scrollPaddingBlockEnd:d,resize:t,minHeight:k})})),Cy=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=a.resize,p=void 0===k?"vertical":k,i=a.minRows,r=void 0===i?3:i,n=q(a,["isInvalid","isDisabled","isRequired","resize","minRows"]);return e(Vy,z({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d,resize:p,minRows:r},n))})),Ly=r(null);function Ay(a){var t=a.value,y=a.children;return e(Ly.Provider,z({value:t},{children:y}))}var Sy=function(e){var a=e.consumerName,t=n(Ly);if(!t)throw new Error("`".concat(a,"` must be used within `RadioGroup`"));return t},Zy=w(b.Indicator)((function(e){var a=e.theme;return{background:a.colors.bg.default,border:"2px solid",borderColor:a.colors.border.strong,width:Y(20),height:Y(20),flexShrink:0,borderRadius:a.radii.full,transitionProperty:"background",transitionDuration:"120ms",transitionTimingFunction:"ease-out",display:"flex",alignItems:"center",justifyContent:"center","&::after":{content:'""',display:"block",width:10,height:10,borderRadius:a.radii.full,background:a.colors.border.strong,transform:"scale(0.5)",opacity:0,transitionProperty:"transform, opacity",transitionDuration:"120ms",transitionTimingFunction:"ease-out",transformOrigin:"center"},'&[data-state="unchecked"]':{"@media(hover: hover)":{"&:not(&[data-disabled])[data-hover]::after":{transform:"scale(0.5)",opacity:1}}},'&[data-state="checked"]':{background:a.colors.border.strong,"&::after":{opacity:1,transform:"scale(1)",background:a.colors.border.defaultSelected}}}})),Fy=l((function(a,t){return e(Zy,z({ref:t,forceMount:!0},a))})),Py=w(b.Item)((function(e){var a=e.theme;return{width:"100%",textAlign:"left",background:a.colors.bg.default,padding:a.spacing["5x"],minHeight:Y(64),justifyContent:"center",border:"1px solid",borderColor:a.colors.border.default,borderRadius:a.radii.md,display:"grid",gridTemplateColumns:"1fr min-content",alignItems:"center",columnGap:a.spacing["3x"],rowGap:a.spacing["1x"],boxShadow:"none",transitionProperty:"background, border-color, box-shadow, transform, outline",transitionDuration:"120ms",transitionTimingFunction:"ease-out",'&[data-state="checked"]':{borderColor:a.colors.border.defaultSelected,boxShadow:"0 0 0 1px ".concat(a.colors.border.defaultSelected),background:a.colors.bg.inset,":active":{transform:"scale(0.995)"}},'&[data-state="unchecked"]':{"@media(hover: hover)":{":hover":{borderColor:a.colors.border.defaultHover,background:a.colors.bg.inset}},":active":{transform:"scale(0.98)"}},outlineOffset:0,outline:"0 solid transparent",":focus-visible":{outlineColor:a.colors.border.defaultSelected,outlineWidth:2,outlineStyle:"solid",outlineOffset:3},"&[data-disabled], &:disabled, &[disabled]":{opacity:.4,'&[data-state="unchecked"]':{":hover":{background:a.colors.bg.default,borderColor:a.colors.border.default}},":active":{transform:"none"}},WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"}})),Dy=w.span((function(e){var a=e.theme;return z({},a.typography.label.md)})),Ty=l((function(t,y){var h=t.label,d=t.helperText,k=t.disabled,p=t.isDisabled,i=t.required,r=t.isRequired,n=t.id,c=t["aria-describedby"],l=t.onMouseEnter,o=t.onMouseLeave,M=q(t,["label","helperText","disabled","isDisabled","required","isRequired","id","aria-describedby","onMouseEnter","onMouseLeave"]),x=s(!1),v=x[0],m=x[1],u=Sy({consumerName:"RadioCard"}).errorMessageId,g=ay(n),f="".concat(g,"-label"),w=Boolean(d)?"".concat(g,"-helper-text"):void 0,b=[u,w,c].filter(Boolean).join(" ")||void 0,j=d?e(sy,z({id:w},{children:d})):null;return a(Py,z({ref:y,disabled:p||k},(r||i)&&{required:!0},{"aria-labelledby":f,"aria-describedby":b,onMouseEnter:function(e){m(!0),null==l||l(e)},onMouseLeave:function(e){m(!1),null==o||o(e)}},M,{children:[e(Dy,z({id:f},{children:h})),e(Fy,{"data-hover":dy(v)}),j]}))}));function Ry(e,a){null!=e&&("function"!=typeof e?e.current=a:e(a))}var By=function(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];return function(a){e.forEach((function(e){return Ry(e,a)}))}},Oy=w.span((function(e){var a=e.theme;return z(z({},a.typography.label.md),{"&[data-disabled]":{opacity:.4}})})),Ey=l((function(a,t){var y=a.id,h=q(a,["id"]),d=ay(y),k=Sy({consumerName:"RadioGroupLabel"}),p=k.labelRefCallback,i=k.isDisabled;return e(Oy,z({ref:By(p,t),id:d,"data-disabled":dy(i)},h))})),Wy=w(b.Root)((function(e){return{width:"100%",display:"flex",flexDirection:"column",gap:e.theme.spacing["3x"]}})),Uy=l((function(t,y){var h=t.children,d=t.id,k=t.disabled,p=t.isDisabled,i=t.required,r=t.isRequired,n=t["aria-labelledby"],c=t["aria-describedby"],l=t.isInvalid,o=t.errorMessage,M=q(t,["children","id","disabled","isDisabled","required","isRequired","aria-labelledby","aria-describedby","isInvalid","errorMessage"]),x=ay(d),v=l&&o,m=v?"".concat(x,"-error"):void 0,g=s(null),f=g[0],w=g[1],b=u((function(e){return w(e)}),[]),j=null==f?void 0:f.id,H=v?e(oy,z({id:m,role:"alert","aria-live":"polite"},{children:o})):null,V=[j,n].filter(Boolean).join(" ")||void 0,C=[m,c].filter(Boolean).join(" ")||void 0;return e(Ay,z({value:{labelRefCallback:b,isDisabled:p||k,errorMessageId:m}},{children:a(Wy,z({ref:y,id:x,disabled:p||k,required:r||i,"aria-invalid":l,"aria-labelledby":V,"aria-describedby":C},M,{children:[h,H]}))}))})),Iy=Object.assign(Uy,{Card:Ty,Label:Ey}),Ny=l((function(a,t){var y=a.children,h=a.isDisabled,d=q(a,["children","isDisabled"]);return e("option",z({ref:t,disabled:h},d,{children:y}))})),Gy=l((function(t,y){var h=t.children,d=t.label,k=t.isInvalid,p=t.errorMessage,i=t.helperText,r=q(t,["children","label","isInvalid","errorMessage","helperText"]),n=ty(t),c=n.getLabelProps,l=n.getFieldProps,o=n.getErrorMessageProps,s=n.getHelperTextProps,M=i?e(sy,z({},s(),{children:i})):null,x=k&&p?e(oy,z({},o(),{children:p})):null;return a(ly,{children:[e(iy,z({},c(),{children:d})),e(Hy,z({ref:y},l(r),{children:h})),x||M]})})),$y=Object.assign(Gy,{Option:Ny}),Xy=l((function(a,t){var y=a.axis,h=void 0===y?"y":y,d=a.size,p=q(a,["axis","size"]),i=k().spacing[d],r="y"===h?1:i,n="x"===h?1:i;return e("span",z({ref:t,"aria-hidden":"true"},p,{style:z({display:"block",width:r,minWidth:r,height:n,minHeight:n},p.style)}))}));var _y=w("div",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.direction,y=e.justifyContent,h=e.alignItems,d=e.wrap,k=e.gap;return{display:"flex",gap:a.spacing[k],flexDirection:t,justifyContent:y,alignItems:h,flexWrap:d}})),Ky=l((function(t,y){var h=t.as,d=t.children,k=t.direction,p=void 0===k?"column":k,i=t.justifyContent,r=void 0===i?"flex-start":i,n=t.alignItems,c=void 0===n?"stretch":n,l=t.divider,o=t.gap,s=void 0===o?"0x":o,M=q(t,["as","children","direction","justifyContent","alignItems","divider","gap"]),m=Boolean(l)?function(e){return v.toArray(e).filter((function(e){return f(e)}))}(d).map((function(e,t,y){var h=void 0!==e.key?e.key:t,d=t+1===y.length;return a(x,{children:[e,d?null:l]},h)})):d;return e(_y,z({as:h,ref:y,direction:p,justifyContent:r,alignItems:c,gap:s},M,{children:m}))})),Yy=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.errorMessage,p=t.helperText,i=q(t,["label","isInvalid","errorMessage","helperText"]),r=ty(t),n=r.getLabelProps,c=r.getFieldProps,l=r.getErrorMessageProps,o=r.getHelperTextProps,s=p?e(sy,z({},o(),{children:p})):null,M=d&&k?e(oy,z({},l(),{children:k})):null;return a(ly,{children:[e(iy,z({},n(),{children:h})),e(Cy,z({ref:y},c(i))),M||s]})}));export{Ga as AlertCircleIcon,$a as AlertTriangleIcon,Xa as ArrowDownIcon,_a as ArrowLeftIcon,Ka as ArrowRightIcon,Ya as ArrowUpIcon,sa as Avatar,Ja as BellIcon,Qa as BellOffIcon,et as BookmarkIcon,Za as Button,at as CalendarIcon,tt as CameraIcon,yt as CheckCircleIcon,ht as CheckIcon,dt as ChevronDownIcon,kt as ChevronLeftIcon,pt as ChevronRightIcon,it as ChevronUpIcon,Pa as Divider,$ as GlobalStyles,rt as GlobeIcon,Ra as Heading,nt as HeartFilledIcon,ct as HeartIcon,lt as HelpCircleIcon,Wa as HintBox,ot as HistoryIcon,st as HomeIcon,Wt as IconButton,Gt as Image,Mt as ImageIcon,ny as InputBase,iy as Label,gy as Link,vt as ListFilterIcon,xt as ListIcon,fa as LoadingDots,mt as LogOutIcon,ut as MapIcon,gt as MapPinIcon,ft as MenuIcon,wt as MessageCircleIcon,bt as MinusIcon,zt as MoreHorizontalIcon,qt as MoreVerticalIcon,by as Paragraph,jt as PenIcon,Ht as PlusIcon,xe as QdsProvider,Iy as RadioGroup,Vt as SearchIcon,$y as Select,Hy as SelectBase,Ct as SettingsIcon,Lt as ShareIcon,At as SlidersIcon,Xy as Spacer,Ky as Stack,St as StarFilledIcon,Zt as StarIcon,my as TextField,Yy as Textarea,Cy as TextareaBase,Ft as TrashIcon,Pt as UserIcon,Dt as XCircleIcon,Tt as XIcon,Ia as createIcon,Na as createLucideIcon,_ as createStyle,X as createStyleVariants,J as getFormFieldBaseStyles,ce as overrideTheme,Y as pxToRem,ie as theme,Kt as useBreakpoint,Yt as useBreakpointValue,ty as useFormField,ra as useImage,Jt as useSafeLayoutEffect,ay as useStableId};
9241
+ me("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);var ia=function(e){var a=e.src,t=e.loading,y=M(a?"loading":"pending"),h=y[0],d=y[1];return s((function(){if(a){var e=function(e){return function(){d(e)}};d("loading");var y=new Image;y.onload=e("loaded"),y.onerror=e("error"),y.src=a,t&&(y.loading=t)}else d("pending")}),[t,a]),{loadingStatus:h}},na={xs:32,sm:40,md:48,lg:64,xl:96,"2xl":128},ca={xs:12,sm:16,md:20,lg:32,xl:48,"2xl":64},la=w.span((function(e){var a=e.theme,t=e.size;return{width:na[t],height:na[t],borderRadius:a.radii.full,background:a.colors.core.gray20,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid ".concat(a.colors.border.subtle)}})),oa=w.img({width:"100%",height:"100%",objectFit:"cover"}),Ma=l((function(a,t){var y=a.src,h=a.name,d=a.size,p=void 0===d?"md":d,r=q(a,["src","name","size"]),i=k(),n=ia({src:y,loading:"eager"}).loadingStatus,c=ca[p];return e(la,z({ref:t,size:p},r,{children:"loaded"===n?e(oa,{src:y,alt:h}):e(ka,{color:i.colors.icon.disabled,size:c,role:"img","aria-label":h,absoluteStrokeWidth:c<24})}))})),sa=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,xa=C((function(e){return sa.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),va=X((function(){return{sm:{fontSize:Y(8)},md:{fontSize:Y(16)}}})),ma=w.span((function(e){var a=e.theme,t=e.size;return z(z({color:a.colors.core.brown,display:"inline-flex"},va(a)[t]),{gap:Y(6)})})),ua=p({"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}),ga=w.span({display:"block",width:"1em",height:"1em",background:"currentColor",borderRadius:999,animationDuration:"".concat(1200,"ms"),animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationFillMode:"both","&:nth-of-type(2)":{animationDelay:"".concat(160,"ms")},"&:nth-of-type(3)":{animationDelay:"".concat(320,"ms")},animationName:ua}),fa=l((function(t,y){var h=t.size,d=void 0===h?"md":h,k=q(t,["size"]);return a(ma,z({ref:y,size:d},k,{children:[e(ga,{}),e(ga,{}),e(ga,{})]}))})),wa=X((function(e){var a=e.typography,t=e.spacing;return{xs:z({height:Y(32),paddingLeft:t["4x"],paddingRight:t["4x"]},a.button.sm),sm:z({height:Y(40),paddingLeft:t["5x"],paddingRight:t["5x"]},a.button.sm),md:z({height:Y(48),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md),lg:z({height:Y(56),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md),xl:z({height:Y(64),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md)}})),ba=X((function(e){var a,t,y,h=e.colors;return{primary:(a={background:h.bg.brandPrimary,color:h.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandPrimaryHover}},":active":{background:h.bg.brandPrimaryActive}},a),secondary:(t={background:h.bg.brandSecondary,color:h.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandSecondaryHover}},":active":{background:h.bg.brandSecondaryActive}},t),tertiary:(y={background:h.bg.brandTertiary,color:h.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandTertiaryHover}},":active":{background:h.bg.brandTertiaryActive}},y)}})),za={xs:16,sm:16,md:20,lg:20,xl:20},qa={xs:"2x",sm:"3x",md:"3x",lg:"4x",xl:"4x"},ja={xs:"1x",sm:"1x",md:"1x",lg:"2x",xl:"2x"},Ha=w.span((function(e){var a=e.theme,t=e.buttonSize;return{flexShrink:0,marginLeft:"-".concat(a.spacing[ja[t]]),marginRight:a.spacing[qa[t]]}})),Va=w.span((function(e){var a=e.theme,t=e.buttonSize;return{flexShrink:0,marginRight:"-".concat(a.spacing[ja[t]]),marginLeft:a.spacing[qa[t]]}}));function Ca(a){var t=a.buttonSize,y=a.icon,h=a.placement;return e("left"===h?Ha:Va,z({buttonSize:t},{children:e(y,{"aria-hidden":"true",size:za[t],color:"currentColor"})}))}var La=w("button",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.variant,h=e.isFullWidth;return z(z(z({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},wa(a)[t]),ba(a)[y]),h&&{width:"100%"})})),Aa=w(fa)({position:"absolute",color:"currentColor"}),Sa=w.span({opacity:0,display:"flex",alignItems:"center"}),Za=l((function(t,y){var h=t.as,d=t.children,k=t.type,p=void 0===k?h?void 0:"button":k,r=t.size,i=void 0===r?"md":r,n=t.variant,c=void 0===n?"secondary":n,l=t.isFullWidth,o=void 0!==l&&l,M=t.isLoading,s=void 0!==M&&M,v=t.isDisabled,m=void 0!==v&&v,u=t.disabled,g=t.iconLeft,f=t.iconRight,w=q(t,["as","children","type","size","variant","isFullWidth","isLoading","isDisabled","disabled","iconLeft","iconRight"]);return a(La,z({as:h,ref:y,variant:c,size:i,isFullWidth:o,disabled:m||u||s,type:p},w,{children:[a(s?Sa:x,{children:[g&&e(Ca,{buttonSize:i,icon:g,placement:"left"}),d,f&&e(Ca,{buttonSize:i,icon:f,placement:"right"})]}),s&&e(Aa,{size:"sm","data-testid":"button-spinner"})]}))})),Fa=w.span((function(e){var a,t=e.theme,y=e.orientation,h="horizontal"===y?"borderTop":"borderLeft";return(a={display:"block"})["horizontal"===y?"width":"height"]="100%",a.flexShrink=0,a[h]="1px solid ".concat(t.colors.border.default),a})),Pa=l((function(a,t){var y=a.orientation,h=void 0===y?"horizontal":y,d=q(a,["orientation"]);return e(Fa,z({ref:t,orientation:h,role:"separator"},d))})),Ta=X((function(e){var a=e.typography;return{lg:a.title.lg,md:a.title.md,sm:a.title.sm,xs:a.title.xs,"2xs":a.title["2xs"],"3xs":a.title["3xs"]}})),Da=w("h2",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return z(z(z({margin:0},Ta(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),Ba=l((function(a,t){var y=a.as,h=a.children,d=a.size,k=void 0===d?"md":d,p=a.color,r=void 0===p?"default":p,i=a.textAlign,n=void 0===i?"left":i,c=q(a,["as","children","size","color","textAlign"]);return e(Da,z({as:y,ref:t,textAlign:n,size:k,color:r},c,{children:h}))})),Ra=w.aside((function(e){var a=e.theme;return z({backgroundColor:a.colors.bg.inset,borderRadius:a.radii.md,paddingInline:a.spacing["5x"],paddingBlock:a.spacing["4x"]},a.typography.body.sm)})),Oa=w.p((function(e){var a=e.theme;return z(z({},a.typography.title["3xs"]),{marginBottom:a.spacing["1x"]})})),Ea=l((function(a,t){var y=a.children,h=q(a,["children"]);return e(Ra,z({ref:t},h,{children:y}))})),Wa=Object.assign(Ea,{Title:Oa}),Ua=w.svg((function(e){var a=e.theme,t=e.color,y=void 0===t?"default":t;return{color:"currentColor"===y?"currentcolor":a.colors.icon[y],display:"inline-block",lineHeight:"1em"}})),Ia=function(a){var t=a.viewBox,y=a.d,h=a.displayName,d=void 0===h?"UnnamedIcon":h,k=v.toArray(a.path),p=l((function(a,h){var d=a.size,p=void 0===d?24:d,r=q(a,["size"]);return e(Ua,z({ref:h,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,focusable:"false",viewBox:t,fill:"currentColor"},r,{children:k.length?k:e("path",{fill:"currentColor",d:y})}))}));return p.displayName=d,p},Na=function(a){var t=l((function(t,y){var h=t.size,d=void 0===h?24:h,p=t.color,r=void 0===p?"default":p,i=q(t,["size","color"]),n=k(),c="currentColor"===r?"currentcolor":n.colors.icon[r];return e(a,z({ref:y,size:d,strokeWidth:2,absoluteStrokeWidth:d<24,color:c},i))}));return t.displayName=a.displayName,t},Ga=Na(ue),$a=Na(ge),Xa=Na(fe),_a=Na(we),Ka=Na(be),Ya=Na(ze),Ja=Na(je),Qa=Na(qe),et=Na(He),at=Na(Ve),tt=Na(Ce),yt=Na(Le),ht=Na(Ae),dt=Na(Se),kt=Na(Ze),pt=Na(Fe),rt=Na(Pe),it=Na(Te),nt=Ia({viewBox:"0 0 24 24",d:"M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z",displayName:"HeartFilledIcon"}),ct=Na(De),lt=Na(Be),ot=Na(Re),Mt=Na(Oe),st=Na(Ee),xt=Na(Ue),vt=Na(We),mt=Na(Ie),ut=Na(Ge),gt=Na(Ne),ft=Na($e),wt=Na(Xe),bt=Na(_e),zt=Na(Ke),qt=Na(Ye),jt=Na(Je),Ht=Na(Qe),Vt=Na(ea),Ct=Na(ta),Lt=Na(ya),At=Na(aa),St=Ia({viewBox:"0 0 24 24",d:"M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z",displayName:"StarFilledIcon"}),Zt=Na(ha),Ft=Na(da),Pt=Na(ka),Tt=Na(pa),Dt=Na(ra),Bt=X((function(){return{xs:{width:Y(32),height:Y(32)},sm:{width:Y(40),height:Y(40)},md:{width:Y(48),height:Y(48)}}})),Rt=X((function(e){var a,t,y,h,d=e.colors;return{primary:(a={background:d.bg.brandPrimary,color:d.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandPrimaryHover}},":active":{background:d.bg.brandPrimaryActive}},a),secondary:(t={background:d.bg.brandSecondary,color:d.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandSecondaryHover}},":active":{background:d.bg.brandSecondaryActive}},t),tertiary:(y={background:d.bg.brandTertiary,color:d.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandTertiaryHover}},":active":{background:d.bg.brandTertiaryActive}},y),ghost:(h={background:d.bg.default,color:d.text.default},h[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.core.gray20}},":active":{background:d.core.gray20}},h)}})),Ot={xs:16,sm:20,md:20},Et=w("button",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.variant;return z(z({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},Bt(a)[t]),Rt(a)[y])})),Wt=l((function(a,t){var y=a.as,h=a.icon,d=a.label,k=a["aria-label"],p=void 0===k?d:k,r=a.variant,i=void 0===r?"ghost":r,n=a.size,c=void 0===n?"md":n,l=a.type,M=void 0===l?"button":l,s=a.isDisabled,x=void 0!==s&&s,v=q(a,["as","icon","label","aria-label","variant","size","type","isDisabled"]);return e(Et,z({as:y,ref:t,"aria-label":p,variant:i,size:c,disabled:x,type:M},v,{children:o(h,{"aria-hidden":!0,size:Ot[c],color:"currentColor"})}))})),Ut=Object.entries(re.breakpoints).map((function(e){return{name:e[0],breakpoint:e[1]}})),It=Ut.map((function(e,a){var t,y=e.name,h=e.breakpoint,d=null===(t=null==Ut?void 0:Ut[a+1])||void 0===t?void 0:t.breakpoint;return{name:y,media:d?"(min-width: ".concat(h,"px) and (max-width: ").concat(d-1,"px)"):"(min-width: ".concat(h,"px)")}})),Nt=function(){var e=It.find((function(e){var a=e.media;return window.matchMedia(a).matches}));return(null==e?void 0:e.name)||"base"};function Gt(e){var a=(e||{}).ssr,t=M(void 0!==a&&a?"base":Nt),y=t[0],h=t[1];return s((function(){var e=It.map((function(e){var a=e.media;return window.matchMedia(a)})),a=function(){h(Nt())};return a(),e.forEach((function(e){"function"==typeof e.addListener?e.addListener(a):e.addEventListener("change",a)})),function(){e.forEach((function(e){"function"==typeof e.addListener?e.removeListener(a):e.removeEventListener("change",a)}))}}),[]),{currentBreakpoint:y}}function $t(e,a){var t,y=Gt(a).currentBreakpoint;if(y in e)t=e[y];else for(var h=Object.keys(Q),d=h.indexOf(y);d>=0;d--){var k=h[d];if(k in e){t=e[k];break}}return t}var Xt=(null===globalThis||void 0===globalThis?void 0:globalThis.document)?m:function(){},_t=r["useId".toString()]||function(){},Kt=0;function Yt(e){var a=M(_t()),t=a[0],y=a[1];return Xt((function(){e||y((function(e){return null!=e?e:String(Kt++)}))}),[e]),e||(t?"qds-".concat(t):"")}var Jt=function(e){var a=e.id,t=e.isDisabled,y=e.helperText,h=e.errorMessage,d=e.isInvalid,k=e.isRequired,p=Yt(a),r="".concat(p,"-error"),i="".concat(p,"-helper"),n=u((function(e){return z(z({},e),{htmlFor:p,"data-disabled":t?"":void 0})}),[p,t]),c=u((function(e){return z(z({},e),{id:i,"data-disabled":t?"":void 0})}),[i,t]),l=u((function(e){return z(z({},e),{id:r,"aria-live":"polite"})}),[r]);return{getLabelProps:n,getFieldProps:u((function(e){var a,n=[];return Boolean(h)&&d?n.push(r):y&&n.push(i),(null==e?void 0:e["aria-describedby"])&&n.push(e["aria-describedby"]),z(z({},e),{"aria-describedby":n.join(" ")||void 0,id:null!==(a=null==e?void 0:e.id)&&void 0!==a?a:p,isDisabled:t,isRequired:k,"aria-invalid":!!d||void 0})}),[h,r,y,i,p,t,d,k]),getHelperTextProps:c,getErrorMessageProps:l}},Qt={en:{close:"Close",optional:"Optional"},sv:{close:"Stäng",optional:"Valfritt"},fi:{close:"Sulje",optional:"Valinnainen"},fr:{close:"Fermer",optional:"Facultatif"}};function ey(){var e=function(){var e=n(Me);if(!e)throw new Error("useLocale must be used within a LocaleProvider");return e}().currentLanguage;return{t:function(a){return Qt[e][a]}}}var ay=function(e){return e?"":void 0},ty=X((function(e){var a=e.typography;return{sm:z({},a.label.sm),md:z({},a.label.md)}})),yy=w("label",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.color,y=e.size;return z(z({display:"block",color:a.colors.text[t],cursor:"default",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},ty(a)[y]),{"&[data-disabled]":{opacity:.4}})})),hy=l((function(a,t){var y=a.as,h=a.children,d=a.color,k=void 0===d?"default":d,p=a.size,r=void 0===p?"md":p,i=a.onMouseDown,n=q(a,["as","children","color","size","onMouseDown"]);return e(yy,z({as:y,ref:t},n,{size:r,color:k,onMouseDown:function(e){i&&i(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},{children:h}))})),dy=w("input")((function(e){var a=e.theme;return z(z({},J(a)),{height:48})})),ky=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=q(a,["isInvalid","isDisabled","isRequired"]);return e(dy,z({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d},k))})),py=w.div((function(e){return{position:"relative",display:"flex",flexDirection:"column",gap:e.theme.spacing["2x"],width:"100%"}}));function ry(a){var t=a.children;return e(py,z({role:"group"},{children:t}))}var iy=w.div((function(e){var a=e.theme;return z(z({},a.typography.body.sm),{color:a.colors.text.negative})})),ny=w.span((function(e){var a=e.theme;return z(z({},a.typography.body.sm),{color:a.colors.text.subtle,"&[data-disabled]":{opacity:.4}})})),cy=w.div((function(e){return{width:"100%",position:e.isPositionRelative?"relative":void 0}})),ly=w.span((function(e){var a=e.theme;return z(z({},a.typography.body.sm),{color:a.colors.text.subtle})})),oy=w.div((function(e){var a=e.theme;return z(z({},a.typography.body.md),{position:"absolute",height:"100%",top:0,right:0,display:"flex",alignItems:"center",paddingLeft:a.spacing["4x"],paddingRight:a.spacing["4x"],pointerEvents:"none","&[data-disabled]":{opacity:.4}})})),My=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.isDisabled,p=t.isRequired,r=t.isOptional,i=t.errorMessage,n=t.helperText,c=t.suffix,l=q(t,["label","isInvalid","isDisabled","isRequired","isOptional","errorMessage","helperText","suffix"]),o=Jt(t),s=o.getLabelProps,x=o.getFieldProps,v=o.getErrorMessageProps,m=o.getHelperTextProps,u=M(void 0),f=u[0],w=u[1],b=g(null),j=ey().t;Xt((function(){var e;w(null===(e=b.current)||void 0===e?void 0:e.offsetWidth)}),[c]);var H=n?e(ny,z({},m(),{children:n})):null,V=d&&i?e(iy,z({},v(),{children:i})):null,C=Boolean(c),L=Boolean(!p&&r);return a(ry,{children:[a(hy,z({},s(),{children:[h,L&&e(ly,{children:" (".concat(j("optional"),")")})]})),a(cy,z({isPositionRelative:C},{children:[e(ky,z({ref:y},x(z(z({},l),{style:{paddingRight:f}})))),C&&e(oy,z({ref:b,"aria-hidden":"true","data-disabled":ay(k)},{children:c}))]})),V||H]})})),sy=w("a",{shouldForwardProp:xa})((function(e){var a=e.theme;return z(z({WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},a.typography.body.md),{WebkitAppearance:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease",flexShrink:0,fontSize:"inherit",color:"inherit",textDecoration:"underline"})})),xy=l((function(a,t){var y=a.children,h=a.href,d=a.isExternal,k=void 0!==d&&d,p=q(a,["children","href","isExternal"]);return e(sy,z({ref:t,href:h},k?{target:"_blank",rel:"noopener noreferrer"}:{},p,{children:y}))})),vy=X((function(e){var a=e.typography;return{xs:a.body.xs,sm:a.body.sm,md:a.body.md,lg:a.body.lg,xl:a.body.xl}})),my=w("p",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return z(z(z({margin:0},vy(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),uy=l((function(a,t){var y=a.children,h=a.size,d=void 0===h?"md":h,k=a.color,p=void 0===k?"default":k,r=a.textAlign,i=void 0===r?"left":r,n=q(a,["children","size","color","textAlign"]);return e(my,z({ref:t,size:d,color:p,textAlign:i},n,{children:y}))})),gy=w.div({width:"100%",height:"fit-content",position:"relative"}),fy=w.div({pointerEvents:"none",position:"absolute",height:"100%",width:48,right:0,top:0,color:"currentcolor",display:"inline-flex",justifyContent:"center",alignItems:"center","&[data-disabled]":{opacity:.4}}),wy=w.select((function(e){var a=e.theme;return z(z({},J(a)),{height:48,paddingRight:40})})),by=l((function(t,y){var h=t.placeholder,d=t.children,k=t.isInvalid,p=t.isDisabled,r=t.isRequired,i=q(t,["placeholder","children","isInvalid","isDisabled","isRequired"]);return a(gy,{children:[a(wy,z({ref:y,"aria-invalid":!!k||void 0,disabled:p,required:r},i,{children:[h&&e("option",z({value:""},{children:h})),d]})),e(fy,z({"data-disabled":p?"":void 0},{children:e(dt,{role:"presentation","aria-hidden":"true",size:16})}))]})})),zy=w.textarea((function(e){var a=e.theme,t=e.resize,y=e.minRows,h=J(a),d=a.spacing["3x"],k="calc(".concat(h.lineHeight," * ").concat(y," + ").concat(d," * 2 + 2px)");return z(z({},h),{paddingTop:d,paddingBottom:d,scrollPaddingBlockEnd:d,resize:t,minHeight:k})})),qy=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=a.resize,p=void 0===k?"vertical":k,r=a.minRows,i=void 0===r?3:r,n=q(a,["isInvalid","isDisabled","isRequired","resize","minRows"]);return e(zy,z({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d,resize:p,minRows:i},n))})),jy=i(null);function Hy(a){var t=a.value,y=a.children;return e(jy.Provider,z({value:t},{children:y}))}var Vy=function(e){var a=e.consumerName,t=n(jy);if(!t)throw new Error("`".concat(a,"` must be used within `RadioGroup`"));return t},Cy=w(b.Indicator)((function(e){var a=e.theme;return{background:a.colors.bg.default,border:"2px solid",borderColor:a.colors.border.strong,width:Y(20),height:Y(20),flexShrink:0,borderRadius:a.radii.full,transitionProperty:"background",transitionDuration:"120ms",transitionTimingFunction:"ease-out",display:"flex",alignItems:"center",justifyContent:"center","&::after":{content:'""',display:"block",width:Y(10),height:Y(10),borderRadius:a.radii.full,background:a.colors.border.strong,transform:"scale(0.5)",opacity:0,transitionProperty:"transform, opacity",transitionDuration:"120ms",transitionTimingFunction:"ease-out",transformOrigin:"center"},'&[data-state="unchecked"]':{"@media(hover: hover)":{"&:not(&[data-disabled])[data-hover]::after":{transform:"scale(0.5)",opacity:1}}},'&[data-state="checked"]':{background:a.colors.border.strong,"&::after":{opacity:1,transform:"scale(1)",background:a.colors.border.defaultSelected}}}})),Ly=l((function(a,t){return e(Cy,z({ref:t,forceMount:!0},a))})),Ay=w(b.Item)((function(e){var a=e.theme;return{width:"100%",textAlign:"left",background:a.colors.bg.default,paddingLeft:a.spacing["5x"],paddingRight:a.spacing["5x"],paddingTop:a.spacing["4x"],paddingBottom:a.spacing["4x"],minHeight:Y(56),justifyContent:"center",border:"1px solid",borderColor:a.colors.border.default,borderRadius:a.radii.md,display:"grid",gridTemplateColumns:"1fr min-content",alignItems:"start",alignContent:"start",columnGap:a.spacing["3x"],rowGap:a.spacing["1x"],boxShadow:"none",transitionProperty:"background, border-color, box-shadow, transform, outline",transitionDuration:"120ms",transitionTimingFunction:"ease-out",'&[data-state="checked"]':{borderColor:a.colors.border.defaultSelected,boxShadow:"inset 0 0 0 1px ".concat(a.colors.border.defaultSelected),background:a.colors.bg.inset,":active":{transform:"scale(0.995)"}},'&[data-state="unchecked"]':{"@media(hover: hover)":{":hover":{borderColor:a.colors.border.defaultHover,background:a.colors.bg.inset}},":active":{transform:"scale(0.98)"}},outlineOffset:0,outline:"0 solid transparent",":focus-visible":{outlineColor:a.colors.border.defaultSelected,outlineWidth:2,outlineStyle:"solid",outlineOffset:3},"&[data-disabled], &:disabled, &[disabled]":{opacity:.4,'&[data-state="unchecked"]':{":hover":{background:a.colors.bg.default,borderColor:a.colors.border.default}},":active":{transform:"none"}},WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"}})),Sy=w.span((function(e){var a=e.theme;return z({},a.typography.label.md)})),Zy=l((function(t,y){var h=t.label,d=t.helperText,k=t.disabled,p=t.isDisabled,r=t.required,i=t.isRequired,n=t.id,c=t["aria-describedby"],l=t.onMouseEnter,o=t.onMouseLeave,s=q(t,["label","helperText","disabled","isDisabled","required","isRequired","id","aria-describedby","onMouseEnter","onMouseLeave"]),x=M(!1),v=x[0],m=x[1],u=Vy({consumerName:"RadioCard"}).errorMessageId,g=Yt(n),f="".concat(g,"-label"),w=Boolean(d)?"".concat(g,"-helper-text"):void 0,b=[u,w,c].filter(Boolean).join(" ")||void 0,j=d?e(ny,z({id:w},{children:d})):null;return a(Ay,z({ref:y,disabled:p||k},(i||r)&&{required:!0},{"aria-labelledby":f,"aria-describedby":b,onMouseEnter:function(e){m(!0),null==l||l(e)},onMouseLeave:function(e){m(!1),null==o||o(e)}},s,{children:[e(Sy,z({id:f},{children:h})),e(Ly,{"data-hover":ay(v)}),j]}))}));function Fy(e,a){null!=e&&("function"!=typeof e?e.current=a:e(a))}var Py=function(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];return function(a){e.forEach((function(e){return Fy(e,a)}))}},Ty=w.span((function(e){var a=e.theme;return z(z({},a.typography.label.md),{"&[data-disabled]":{opacity:.4}})})),Dy=l((function(a,t){var y=a.id,h=q(a,["id"]),d=Yt(y),k=Vy({consumerName:"RadioGroupLabel"}),p=k.labelRefCallback,r=k.isDisabled;return e(Ty,z({ref:Py(p,t),id:d,"data-disabled":ay(r)},h))})),By=w(b.Root)((function(e){return{width:"100%",display:"flex",flexDirection:"column",gap:e.theme.spacing["3x"]}})),Ry=l((function(t,y){var h=t.children,d=t.id,k=t.disabled,p=t.isDisabled,r=t.required,i=t.isRequired,n=t["aria-labelledby"],c=t["aria-describedby"],l=t.isInvalid,o=t.errorMessage,s=q(t,["children","id","disabled","isDisabled","required","isRequired","aria-labelledby","aria-describedby","isInvalid","errorMessage"]),x=Yt(d),v=l&&o,m=v?"".concat(x,"-error"):void 0,g=M(null),f=g[0],w=g[1],b=u((function(e){return w(e)}),[]),j=null==f?void 0:f.id,H=v?e(iy,z({id:m,role:"alert","aria-live":"polite"},{children:o})):null,V=[j,n].filter(Boolean).join(" ")||void 0,C=[m,c].filter(Boolean).join(" ")||void 0;return e(Hy,z({value:{labelRefCallback:b,isDisabled:p||k,errorMessageId:m}},{children:a(By,z({ref:y,id:x,disabled:p||k,required:i||r,"aria-invalid":l,"aria-labelledby":V,"aria-describedby":C},s,{children:[h,H]}))}))})),Oy=Object.assign(Ry,{Card:Zy,Label:Dy}),Ey=l((function(a,t){var y=a.children,h=a.isDisabled,d=q(a,["children","isDisabled"]);return e("option",z({ref:t,disabled:h},d,{children:y}))})),Wy=l((function(t,y){var h=t.children,d=t.label,k=t.isInvalid,p=t.errorMessage,r=t.helperText,i=q(t,["children","label","isInvalid","errorMessage","helperText"]),n=Jt(t),c=n.getLabelProps,l=n.getFieldProps,o=n.getErrorMessageProps,M=n.getHelperTextProps,s=r?e(ny,z({},M(),{children:r})):null,x=k&&p?e(iy,z({},o(),{children:p})):null;return a(ry,{children:[e(hy,z({},c(),{children:d})),e(by,z({ref:y},l(i),{children:h})),x||s]})})),Uy=Object.assign(Wy,{Option:Ey}),Iy=l((function(a,t){var y=a.axis,h=void 0===y?"y":y,d=a.size,p=q(a,["axis","size"]),r=k().spacing[d],i="y"===h?1:r,n="x"===h?1:r;return e("span",z({ref:t,"aria-hidden":"true"},p,{style:z({display:"block",width:i,minWidth:i,height:n,minHeight:n},p.style)}))}));var Ny=w("div",{shouldForwardProp:xa})((function(e){var a=e.theme,t=e.direction,y=e.justifyContent,h=e.alignItems,d=e.wrap,k=e.gap;return{display:"flex",gap:a.spacing[k],flexDirection:t,justifyContent:y,alignItems:h,flexWrap:d}})),Gy=l((function(t,y){var h=t.as,d=t.children,k=t.direction,p=void 0===k?"column":k,r=t.justifyContent,i=void 0===r?"flex-start":r,n=t.alignItems,c=void 0===n?"stretch":n,l=t.divider,o=t.gap,M=void 0===o?"0x":o,s=q(t,["as","children","direction","justifyContent","alignItems","divider","gap"]),m=Boolean(l)?function(e){return v.toArray(e).filter((function(e){return f(e)}))}(d).map((function(e,t,y){var h=void 0!==e.key?e.key:t,d=t+1===y.length;return a(x,{children:[e,d?null:l]},h)})):d;return e(Ny,z({as:h,ref:y,direction:p,justifyContent:i,alignItems:c,gap:M},s,{children:m}))})),$y=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.errorMessage,p=t.helperText,r=q(t,["label","isInvalid","errorMessage","helperText"]),i=Jt(t),n=i.getLabelProps,c=i.getFieldProps,l=i.getErrorMessageProps,o=i.getHelperTextProps,M=p?e(ny,z({},o(),{children:p})):null,s=d&&k?e(iy,z({},l(),{children:k})):null;return a(ry,{children:[e(hy,z({},n(),{children:h})),e(qy,z({ref:y},c(r))),s||M]})}));export{Ga as AlertCircleIcon,$a as AlertTriangleIcon,Xa as ArrowDownIcon,_a as ArrowLeftIcon,Ka as ArrowRightIcon,Ya as ArrowUpIcon,Ma as Avatar,Ja as BellIcon,Qa as BellOffIcon,et as BookmarkIcon,Za as Button,at as CalendarIcon,tt as CameraIcon,yt as CheckCircleIcon,ht as CheckIcon,dt as ChevronDownIcon,kt as ChevronLeftIcon,pt as ChevronRightIcon,rt as ChevronUpIcon,Pa as Divider,$ as GlobalStyles,it as GlobeIcon,Ba as Heading,nt as HeartFilledIcon,ct as HeartIcon,lt as HelpCircleIcon,Wa as HintBox,ot as HistoryIcon,Mt as HomeIcon,Wt as IconButton,st as ImageIcon,ky as InputBase,hy as Label,xy as Link,vt as ListFilterIcon,xt as ListIcon,fa as LoadingDots,mt as LogOutIcon,ut as MapIcon,gt as MapPinIcon,ft as MenuIcon,wt as MessageCircleIcon,bt as MinusIcon,zt as MoreHorizontalIcon,qt as MoreVerticalIcon,uy as Paragraph,jt as PenIcon,Ht as PlusIcon,xe as QdsProvider,Oy as RadioGroup,Vt as SearchIcon,Uy as Select,by as SelectBase,Ct as SettingsIcon,Lt as ShareIcon,At as SlidersIcon,Iy as Spacer,Gy as Stack,St as StarFilledIcon,Zt as StarIcon,My as TextField,$y as Textarea,qy as TextareaBase,Ft as TrashIcon,Pt as UserIcon,Tt as XCircleIcon,Dt as XIcon,Ia as createIcon,Na as createLucideIcon,_ as createStyle,X as createStyleVariants,J as getFormFieldBaseStyles,ce as overrideTheme,Y as pxToRem,re as theme,Gt as useBreakpoint,$t as useBreakpointValue,Jt as useFormField,ia as useImage,Xt as useSafeLayoutEffect,Yt as useStableId};
9242
9242
  //# sourceMappingURL=index.js.map