@iota/apps-ui-kit 0.6.0 → 0.7.0

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.
Files changed (96) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/index.d.ts +177 -18
  3. package/dist/index.es.js +3319 -6032
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/index.umd.js +28 -160
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/style.css +1 -1
  8. package/package.json +10 -4
  9. package/src/lib/components/atoms/badge/badge.classes.ts +18 -18
  10. package/src/lib/components/atoms/badge/badge.enums.ts +1 -1
  11. package/src/lib/components/atoms/button/button-variants/ButtonPill.tsx +1 -1
  12. package/src/lib/components/atoms/button/button.classes.ts +12 -12
  13. package/src/lib/components/atoms/button-segment/buttonSegment.classes.ts +15 -36
  14. package/src/lib/components/atoms/checkbox/Checkbox.tsx +20 -9
  15. package/src/lib/components/atoms/divider/divider.classes.ts +1 -1
  16. package/src/lib/components/atoms/header/Header.tsx +1 -1
  17. package/src/lib/components/atoms/image/Image.tsx +32 -0
  18. package/src/lib/components/atoms/image/index.ts +4 -0
  19. package/src/lib/components/atoms/index.ts +3 -1
  20. package/src/lib/components/atoms/info-box/InfoBox.tsx +2 -8
  21. package/src/lib/components/atoms/info-box/infoBox.classes.ts +8 -9
  22. package/src/lib/components/atoms/key-value-info/KeyValueInfo.tsx +5 -5
  23. package/src/lib/components/atoms/label-text/LabelText.tsx +4 -6
  24. package/src/lib/components/atoms/list-item/ListItem.tsx +3 -4
  25. package/src/lib/components/atoms/loading-indicator/LoadingIndicator.tsx +1 -1
  26. package/src/lib/components/atoms/media-fallback/MediaFallback.tsx +12 -0
  27. package/src/lib/components/atoms/media-fallback/index.ts +4 -0
  28. package/src/lib/components/atoms/panel/Panel.tsx +2 -4
  29. package/src/lib/components/atoms/radio-button/RadioButton.tsx +4 -8
  30. package/src/lib/components/atoms/secondary-text/SecondaryText.tsx +3 -2
  31. package/src/lib/components/atoms/skeleton/Skeleton.tsx +1 -3
  32. package/src/lib/components/atoms/snackbar/snackbar.classes.ts +8 -8
  33. package/src/lib/components/atoms/toggle/toggle.classes.ts +6 -6
  34. package/src/lib/components/atoms/tooltip/Tooltip.tsx +3 -2
  35. package/src/lib/components/atoms/video/Video.tsx +33 -0
  36. package/src/lib/components/atoms/video/index.ts +4 -0
  37. package/src/lib/components/atoms/video/video.constants.ts +31 -0
  38. package/src/lib/components/molecules/account/Account.tsx +4 -4
  39. package/src/lib/components/molecules/address/Address.tsx +1 -1
  40. package/src/lib/components/molecules/asset-media-renderer/AssetMediaRenderer.tsx +50 -0
  41. package/src/lib/components/molecules/asset-media-renderer/index.ts +4 -0
  42. package/src/lib/components/molecules/card/CardAction.tsx +3 -5
  43. package/src/lib/components/molecules/card/CardBody.tsx +3 -2
  44. package/src/lib/components/molecules/card/card.classes.ts +3 -3
  45. package/src/lib/components/molecules/chip/Chip.tsx +9 -2
  46. package/src/lib/components/molecules/chip/chip.classes.ts +5 -5
  47. package/src/lib/components/molecules/chip/chip.enums.ts +5 -0
  48. package/src/lib/components/molecules/chip/index.ts +1 -0
  49. package/src/lib/components/molecules/display-stats/DisplayStats.tsx +2 -2
  50. package/src/lib/components/molecules/display-stats/displayStats.classes.ts +6 -6
  51. package/src/lib/components/molecules/dropdown/Dropdown.tsx +1 -1
  52. package/src/lib/components/molecules/index.ts +2 -0
  53. package/src/lib/components/molecules/input/Input.tsx +3 -5
  54. package/src/lib/components/molecules/input/InputWrapper.tsx +1 -1
  55. package/src/lib/components/molecules/input/TextArea.tsx +2 -5
  56. package/src/lib/components/molecules/input/input.classes.ts +7 -8
  57. package/src/lib/components/molecules/navbar-item/navbarItem.classes.ts +4 -4
  58. package/src/lib/components/molecules/search/Search.tsx +10 -7
  59. package/src/lib/components/molecules/search/search.classes.ts +5 -5
  60. package/src/lib/components/molecules/segmented-button/segmentedButton.classes.ts +2 -2
  61. package/src/lib/components/molecules/select/Select.tsx +6 -13
  62. package/src/lib/components/molecules/table-cell/TableCell.tsx +2 -2
  63. package/src/lib/components/molecules/table-header-cell/TableHeaderCell.tsx +2 -2
  64. package/src/lib/components/molecules/title/Title.tsx +3 -3
  65. package/src/lib/components/{atoms → molecules}/visual-asset-card/VisualAssetCard.tsx +26 -40
  66. package/src/lib/components/organisms/accordion/Accordion.tsx +2 -3
  67. package/src/lib/components/organisms/accordion/accordion.classes.ts +1 -1
  68. package/src/lib/components/organisms/dialog/Dialog.tsx +4 -4
  69. package/src/lib/components/organisms/navbar/Navbar.tsx +2 -2
  70. package/src/lib/components/organisms/navbar/NavbarSlideout.tsx +1 -1
  71. package/src/lib/components/organisms/table/Table.tsx +2 -2
  72. package/src/lib/constants/colors.constants.ts +107 -8
  73. package/src/lib/styles/base.css +97 -0
  74. package/src/lib/styles/components.css +687 -0
  75. package/src/lib/styles/fonts.css +2 -0
  76. package/src/lib/styles/index.css +754 -136
  77. package/src/lib/styles/utilities.css +53 -0
  78. package/src/lib/tailwind/base.presets.ts +14 -9
  79. package/src/lib/tailwind/constants/customColors.constants.ts +13 -0
  80. package/src/lib/tailwind/constants/fontFamily.constants.ts +8 -0
  81. package/src/lib/tailwind/constants/fontSizes.constants.ts +9 -9
  82. package/src/lib/tailwind/constants/index.ts +1 -0
  83. package/src/lib/tailwind/plugins.ts +4 -0
  84. package/src/storybook/blocks/Showcase.tsx +2 -2
  85. package/src/storybook/blocks/TypeSetItem.tsx +3 -3
  86. package/src/storybook/stories/atoms/Skeleton.stories.tsx +1 -1
  87. package/src/storybook/stories/atoms/Tooltip.stories.tsx +4 -2
  88. package/src/storybook/stories/atoms/VisualAssetCard.stories.tsx +3 -2
  89. package/src/storybook/stories/components/VariableSpacingShowcase.tsx +2 -2
  90. package/src/storybook/stories/design-tokens/colors.stories.mdx +9 -0
  91. package/src/storybook/stories/molecules/Account.stories.tsx +3 -1
  92. package/src/storybook/stories/molecules/Search.stories.tsx +2 -2
  93. package/src/storybook/stories/molecules/TableCell.stories.tsx +1 -1
  94. package/src/storybook/stories/molecules/TextArea.stories.tsx +1 -1
  95. /package/src/lib/components/{atoms → molecules}/visual-asset-card/index.ts +0 -0
  96. /package/src/lib/components/{atoms → molecules}/visual-asset-card/visualAssetCard.enums.ts +0 -0
package/dist/index.umd.js CHANGED
@@ -1,198 +1,66 @@
1
- (function(D,J){typeof exports=="object"&&typeof module<"u"?J(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],J):(D=typeof globalThis<"u"?globalThis:D||self,J(D["@iota/apps-ui-kit"]={},D.React,D.ReactDOM))})(this,function(D,J,Wn){"use strict";function Aa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const E=Aa(J),Pa=Aa(Wn);var jt=(e=>(e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e))(jt||{});const We=(e,t=16)=>`${e/t}rem`;function Da(e){return Object.entries(e).reduce((r,[n,i])=>(r[n]=`${i}px`,r),{})}const Ia={primary:{0:"#000000",10:"#061244",20:"#182b8a",30:"#3131ff",40:"#2563f5",50:"#3f80f0",60:"#5b9cfe",70:"#85b5fb",80:"#adceff",90:"#d5e8ff",100:"#ffffff"},secondary:{0:"#000000",10:"#051631",20:"#17345f",30:"#2d4c7a",40:"#4b648a",50:"#637ca2",60:"#7e97bd",70:"#96b3d5",80:"#b6cde8",90:"#dde9f7",100:"#ffffff"},tertiary:{0:"#000000",10:"#071f22",20:"#18393b",30:"#185b60",40:"#317479",50:"#498c91",60:"#64a7ac",70:"#7fc2c7",80:"#9adde2",90:"#c2f1f4",100:"#ffffff"},error:{0:"#000000",10:"#330009",20:"#610012",30:"#b51431",40:"#ce2d4a",50:"#e64562",60:"#ff607d",70:"#ff889e",80:"#ffb0be",90:"#ffd9e0",100:"#ffffff"},neutral:{0:"#000000",4:"#0a0f17",6:"#0f141c",10:"#171d26",12:"#1c212b",20:"#253041",30:"#3c4656",40:"#545e6e",50:"#6e7787",60:"#8892a1",70:"#a8b2c0",80:"#cad4e2",90:"#dde4f0",92:"#e3eaf6",96:"#eff4fa",98:"#f8fafc",100:"#ffffff"},warning:{10:"#422C00",20:"#2D1E00",60:"#BE8F32",90:"#FFE3AB"}},La={"shader-primary-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-inverted-dark":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"},"shader-neutral-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-primary-light":{0:"#0067ee00",8:"#0067ee14",12:"#0067ee1e",16:"#0067ee28",48:"#0067ee7a",72:"#0067eeb7"},"shader-inverted-light":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-neutral-light":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"}},cs={none:We(0),sm:We(2),DEFAULT:We(4),md:We(6),lg:We(8),xl:We(12),"2xl":We(16),"3xl":We(24),full:We(120)},fs={none:We(0),xxxs:We(2),xxs:We(4),xs:We(8),sm:We(12),md:We(16),lg:We(24),xl:We(32),"2xl":We(48)},ds={0:"0",8:"0.08",12:"0.12",16:"0.16",40:"0.4",60:"0.6",80:"0.8",100:"1"},vs={...{"text-label-sm":["11px",{lineHeight:"16px",letterSpacing:"0.2px",fontWeight:500}],"text-label-md":["12px",{lineHeight:"16px",letterSpacing:"-0.1px",fontWeight:500}],"text-label-lg":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:500}]},...{"text-body-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-lg":["16px",{lineHeight:"24px",letterSpacing:"0.1px",fontWeight:400}]},...{"text-body-ds-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-ds-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-ds-lg":["16px",{lineHeight:"24px",letterSpacing:"0.2px",fontWeight:400}]},...{"text-title-sm":["14px",{lineHeight:"120%",letterSpacing:"-0.1px",fontWeight:500}],"text-title-md":["16px",{lineHeight:"120%",letterSpacing:"-0.15px",fontWeight:500}],"text-title-lg":["20px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-headline-sm":["24px",{lineHeight:"120%",letterSpacing:"-0.2px",fontWeight:500}],"text-headline-md":["28px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}],"text-headline-lg":["32px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-display-sm":["36px",{lineHeight:"120%",fontWeight:500}],"text-display-md":["48px",{lineHeight:"120%",fontWeight:500}],"text-display-lg":["60px",{lineHeight:"120%",fontWeight:500}]}},ms=Object.entries(vs).reduce((e,[t,r])=>{const n=t.startsWith("text-")?t.replace("text-",""):t;return{...e,[n]:r}},{}),Ma={"xs--rs":["4px","8px"],"sm--rs":["8px","12px"],"md--rs":["16px","24px"]};function hs(e,t){const r=[jt.Sm,jt.Md,jt.Lg,jt.Xl],n=Ma[e];let i=`${n[0]}`;for(let s=1;s<n.length;s++)if(n[s]){const u=t[r[s]];u&&(i=`clamp(${i}, (100vw - ${u}) * 99, ${n[s]})`)}return i}function ps(e){return Object.keys(Ma).reduce((r,n)=>{const i=hs(n,e);return{...r,[n]:i}},{})}var ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fa={},Ba={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,i){return{handler:n,config:i}}t.withOptions=function(n,i=()=>({})){const s=function(u){return{__options:u,handler:n(u),config:i(u)}};return s.__isOptionsFunction=!0,s.__pluginFunction=n,s.__configFunction=i,s};const r=t})(Ba),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const t=r(Ba);function r(i){return i.__esModule?i:{default:i}}const n=t.default}(Fa);let Hn=Fa;var gs=(Hn.__esModule?Hn:{default:Hn}).default;const xs=$n(gs)(({addVariant:e})=>{e("firefox","@-moz-document url-prefix()")}),Va={content:["./src/**/*.{html,js,jsx,ts,tsx}"],darkMode:"class",plugins:[xs],theme:{extend:{fontSize:{...ms},borderRadius:{...cs},spacing:e=>{const t=e.theme("screens"),r=ps(t);return{...fs,...r}},opacity:{...ds,30:"0.3"},colors:{...Ia,...La},fontFamily:{"alliance-no2":["AllianceNo2","sans-serif"],inter:["Inter","sans-serif"]}}}};var un={exports:{}};un.exports,function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,s=16,u=9007199254740991,c="[object Arguments]",h="[object Array]",m="[object AsyncFunction]",y="[object Boolean]",x="[object Date]",j="[object Error]",R="[object Function]",k="[object GeneratorFunction]",T="[object Map]",A="[object Number]",P="[object Null]",U="[object Object]",I="[object Proxy]",K="[object RegExp]",Y="[object Set]",z="[object String]",W="[object Undefined]",G="[object WeakMap]",de="[object ArrayBuffer]",Pe="[object DataView]",He="[object Float32Array]",Xe="[object Float64Array]",De="[object Int8Array]",Oe="[object Int16Array]",je="[object Int32Array]",te="[object Uint8Array]",V="[object Uint8ClampedArray]",ae="[object Uint16Array]",we="[object Uint32Array]",Te=/[\\^$.*+?()[\]{}|]/g,Ee=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,O={};O[He]=O[Xe]=O[De]=O[Oe]=O[je]=O[te]=O[V]=O[ae]=O[we]=!0,O[c]=O[h]=O[de]=O[y]=O[Pe]=O[x]=O[j]=O[R]=O[T]=O[A]=O[U]=O[K]=O[Y]=O[z]=O[G]=!1;var oe=typeof ln=="object"&&ln&&ln.Object===Object&&ln,ve=typeof self=="object"&&self&&self.Object===Object&&self,le=oe||ve||Function("return this")(),ge=t&&!t.nodeType&&t,me=ge&&!0&&e&&!e.nodeType&&e,be=me&&me.exports===ge,pe=be&&oe.process,Me=function(){try{var f=me&&me.require&&me.require("util").types;return f||pe&&pe.binding&&pe.binding("util")}catch{}}(),bt=Me&&Me.isTypedArray;function ut(f,p,w){switch(w.length){case 0:return f.call(p);case 1:return f.call(p,w[0]);case 2:return f.call(p,w[0],w[1]);case 3:return f.call(p,w[0],w[1],w[2])}return f.apply(p,w)}function Vt(f,p){for(var w=-1,Q=Array(f);++w<f;)Q[w]=p(w);return Q}function ct(f){return function(p){return f(p)}}function nt(f,p){return f==null?void 0:f[p]}function $(f,p){return function(w){return f(p(w))}}var X=Array.prototype,ie=Function.prototype,ue=Object.prototype,Ne=le["__core-js_shared__"],ye=ie.toString,ce=ue.hasOwnProperty,qe=function(){var f=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),ze=ue.toString,Ze=ye.call(Object),ot=RegExp("^"+ye.call(ce).replace(Te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=be?le.Buffer:void 0,Ut=le.Symbol,Nt=le.Uint8Array;yt&&yt.allocUnsafe;var _t=$(Object.getPrototypeOf,Object),Zt=Object.create,hr=ue.propertyIsEnumerable,pr=X.splice,tt=Ut?Ut.toStringTag:void 0,wt=function(){try{var f=_r(Object,"defineProperty");return f({},"",{}),f}catch{}}(),gr=yt?yt.isBuffer:void 0,At=Math.max,Et=Date.now,st=_r(le,"Map"),Je=_r(Object,"create"),ft=function(){function f(){}return function(p){if(!Lt(p))return{};if(Zt)return Zt(p);f.prototype=p;var w=new f;return f.prototype=void 0,w}}();function Qe(f){var p=-1,w=f==null?0:f.length;for(this.clear();++p<w;){var Q=f[p];this.set(Q[0],Q[1])}}function St(){this.__data__=Je?Je(null):{},this.size=0}function Jt(f){var p=this.has(f)&&delete this.__data__[f];return this.size-=p?1:0,p}function Qt(f){var p=this.__data__;if(Je){var w=p[f];return w===n?void 0:w}return ce.call(p,f)?p[f]:void 0}function er(f){var p=this.__data__;return Je?p[f]!==void 0:ce.call(p,f)}function Wt(f,p){var w=this.__data__;return this.size+=this.has(f)?0:1,w[f]=Je&&p===void 0?n:p,this}Qe.prototype.clear=St,Qe.prototype.delete=Jt,Qe.prototype.get=Qt,Qe.prototype.has=er,Qe.prototype.set=Wt;function it(f){var p=-1,w=f==null?0:f.length;for(this.clear();++p<w;){var Q=f[p];this.set(Q[0],Q[1])}}function Ct(){this.__data__=[],this.size=0}function Pt(f){var p=this.__data__,w=Ye(p,f);if(w<0)return!1;var Q=p.length-1;return w==Q?p.pop():pr.call(p,w,1),--this.size,!0}function Dt(f){var p=this.__data__,w=Ye(p,f);return w<0?void 0:p[w][1]}function tr(f){return Ye(this.__data__,f)>-1}function xr(f,p){var w=this.__data__,Q=Ye(w,f);return Q<0?(++this.size,w.push([f,p])):w[Q][1]=p,this}it.prototype.clear=Ct,it.prototype.delete=Pt,it.prototype.get=Dt,it.prototype.has=tr,it.prototype.set=xr;function vt(f){var p=-1,w=f==null?0:f.length;for(this.clear();++p<w;){var Q=f[p];this.set(Q[0],Q[1])}}function br(){this.size=0,this.__data__={hash:new Qe,map:new(st||it),string:new Qe}}function v(f){var p=$t(this,f).delete(f);return this.size-=p?1:0,p}function l(f){return $t(this,f).get(f)}function b(f){return $t(this,f).has(f)}function S(f,p){var w=$t(this,f),Q=w.size;return w.set(f,p),this.size+=w.size==Q?0:1,this}vt.prototype.clear=br,vt.prototype.delete=v,vt.prototype.get=l,vt.prototype.has=b,vt.prototype.set=S;function B(f){var p=this.__data__=new it(f);this.size=p.size}function ee(){this.__data__=new it,this.size=0}function q(f){var p=this.__data__,w=p.delete(f);return this.size=p.size,w}function H(f){return this.__data__.get(f)}function re(f){return this.__data__.has(f)}function he(f,p){var w=this.__data__;if(w instanceof it){var Q=w.__data__;if(!st||Q.length<r-1)return Q.push([f,p]),this.size=++w.size,this;w=this.__data__=new vt(Q)}return w.set(f,p),this.size=w.size,this}B.prototype.clear=ee,B.prototype.delete=q,B.prototype.get=H,B.prototype.has=re,B.prototype.set=he;function se(f,p){var w=rn(f),Q=!w&&Ir(f),_e=!w&&!Q&&nn(f),ke=!w&&!Q&&!_e&&Fn(f),Le=w||Q||_e||ke,Re=Le?Vt(f.length,String):[],a=Re.length;for(var d in f)Le&&(d=="length"||_e&&(d=="offset"||d=="parent")||ke&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Qr(d,a))||Re.push(d);return Re}function xe(f,p,w){(w!==void 0&&!Dr(f[p],w)||w===void 0&&!(p in f))&&Ae(f,p,w)}function Ve(f,p,w){var Q=f[p];(!(ce.call(f,p)&&Dr(Q,w))||w===void 0&&!(p in f))&&Ae(f,p,w)}function Ye(f,p){for(var w=f.length;w--;)if(Dr(f[w][0],p))return w;return-1}function Ae(f,p,w){p=="__proto__"&&wt?wt(f,p,{configurable:!0,enumerable:!0,value:w,writable:!0}):f[p]=w}var Ge=Jr();function mt(f){return f==null?f===void 0?W:P:tt&&tt in Object(f)?Nr(f):Pr(f)}function rr(f){return wr(f)&&mt(f)==c}function Xr(f){if(!Lt(f)||Ar(f))return!1;var p=an(f)?ot:Ee;return p.test(Ta(f))}function yr(f){return wr(f)&&on(f.length)&&!!O[mt(f)]}function Tn(f){if(!Lt(f))return In(f);var p=en(f),w=[];for(var Q in f)Q=="constructor"&&(p||!ce.call(f,Q))||w.push(Q);return w}function qr(f,p,w,Q,_e){f!==p&&Ge(p,function(ke,Le){if(_e||(_e=new B),Lt(ke))On(f,p,Le,w,qr,Q,_e);else{var Re=Q?Q(It(f,Le),ke,Le+"",f,p,_e):void 0;Re===void 0&&(Re=ke),xe(f,Le,Re)}},Er)}function On(f,p,w,Q,_e,ke,Le){var Re=It(f,w),a=It(p,w),d=Le.get(a);if(d){xe(f,w,d);return}var _=ke?ke(Re,a,w+"",f,p,Le):void 0,C=_===void 0;if(C){var F=rn(a),ne=!F&&nn(a),Z=!F&&!ne&&Fn(a);_=a,F||ne||Z?rn(Re)?_=Re:Mn(Re)?_=wa(Re):ne?(C=!1,_=An(a)):Z?(C=!1,_=Dn(a)):_=[]:Oa(a)||Ir(a)?(_=Re,Ir(Re)?_=Bn(Re):(!Lt(Re)||an(Re))&&(_=Sa(a))):C=!1}C&&(Le.set(a,_),_e(_,a,Q,ke,Le),Le.delete(a)),xe(f,w,_)}function kn(f,p){return tn(Ra(f,p,sn),f+"")}var Nn=wt?function(f,p){return wt(f,"toString",{configurable:!0,enumerable:!1,value:nr(p),writable:!0})}:sn;function An(f,p){return f.slice()}function Pn(f){var p=new f.constructor(f.byteLength);return new Nt(p).set(new Nt(f)),p}function Dn(f,p){var w=Pn(f.buffer);return new f.constructor(w,f.byteOffset,f.length)}function wa(f,p){var w=-1,Q=f.length;for(p||(p=Array(Q));++w<Q;)p[w]=f[w];return p}function Ea(f,p,w,Q){var _e=!w;w||(w={});for(var ke=-1,Le=p.length;++ke<Le;){var Re=p[ke],a=void 0;a===void 0&&(a=f[Re]),_e?Ae(w,Re,a):Ve(w,Re,a)}return w}function Zr(f){return kn(function(p,w){var Q=-1,_e=w.length,ke=_e>1?w[_e-1]:void 0,Le=_e>2?w[2]:void 0;for(ke=f.length>3&&typeof ke=="function"?(_e--,ke):void 0,Le&&Ca(w[0],w[1],Le)&&(ke=_e<3?void 0:ke,_e=1),p=Object(p);++Q<_e;){var Re=w[Q];Re&&f(p,Re,Q,ke)}return p})}function Jr(f){return function(p,w,Q){for(var _e=-1,ke=Object(p),Le=Q(p),Re=Le.length;Re--;){var a=Le[++_e];if(w(ke[a],a,ke)===!1)break}return p}}function $t(f,p){var w=f.__data__;return ja(p)?w[typeof p=="string"?"string":"hash"]:w.map}function _r(f,p){var w=nt(f,p);return Xr(w)?w:void 0}function Nr(f){var p=ce.call(f,tt),w=f[tt];try{f[tt]=void 0;var Q=!0}catch{}var _e=ze.call(f);return Q&&(p?f[tt]=w:delete f[tt]),_e}function Sa(f){return typeof f.constructor=="function"&&!en(f)?ft(_t(f)):{}}function Qr(f,p){var w=typeof f;return p=p??u,!!p&&(w=="number"||w!="symbol"&&g.test(f))&&f>-1&&f%1==0&&f<p}function Ca(f,p,w){if(!Lt(w))return!1;var Q=typeof p;return(Q=="number"?Lr(w)&&Qr(p,w.length):Q=="string"&&p in w)?Dr(w[p],f):!1}function ja(f){var p=typeof f;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?f!=="__proto__":f===null}function Ar(f){return!!qe&&qe in f}function en(f){var p=f&&f.constructor,w=typeof p=="function"&&p.prototype||ue;return f===w}function In(f){var p=[];if(f!=null)for(var w in Object(f))p.push(w);return p}function Pr(f){return ze.call(f)}function Ra(f,p,w){return p=At(p===void 0?f.length-1:p,0),function(){for(var Q=arguments,_e=-1,ke=At(Q.length-p,0),Le=Array(ke);++_e<ke;)Le[_e]=Q[p+_e];_e=-1;for(var Re=Array(p+1);++_e<p;)Re[_e]=Q[_e];return Re[p]=w(Le),ut(f,this,Re)}}function It(f,p){if(!(p==="constructor"&&typeof f[p]=="function")&&p!="__proto__")return f[p]}var tn=Ln(Nn);function Ln(f){var p=0,w=0;return function(){var Q=Et(),_e=s-(Q-w);if(w=Q,_e>0){if(++p>=i)return arguments[0]}else p=0;return f.apply(void 0,arguments)}}function Ta(f){if(f!=null){try{return ye.call(f)}catch{}try{return f+""}catch{}}return""}function Dr(f,p){return f===p||f!==f&&p!==p}var Ir=rr(function(){return arguments}())?rr:function(f){return wr(f)&&ce.call(f,"callee")&&!hr.call(f,"callee")},rn=Array.isArray;function Lr(f){return f!=null&&on(f.length)&&!an(f)}function Mn(f){return wr(f)&&Lr(f)}var nn=gr||Vn;function an(f){if(!Lt(f))return!1;var p=mt(f);return p==R||p==k||p==m||p==I}function on(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=u}function Lt(f){var p=typeof f;return f!=null&&(p=="object"||p=="function")}function wr(f){return f!=null&&typeof f=="object"}function Oa(f){if(!wr(f)||mt(f)!=U)return!1;var p=_t(f);if(p===null)return!0;var w=ce.call(p,"constructor")&&p.constructor;return typeof w=="function"&&w instanceof w&&ye.call(w)==Ze}var Fn=bt?ct(bt):yr;function Bn(f){return Ea(f,Er(f))}function Er(f){return Lr(f)?se(f):Tn(f)}var ka=Zr(function(f,p,w){qr(f,p,w)});function nr(f){return function(){return f}}function sn(f){return f}function Vn(){return!1}e.exports=ka}(un,un.exports);var bs=un.exports;const Ua=$n(bs),ys={[jt.Sm]:768,[jt.Md]:1024,[jt.Lg]:1400,[jt.Xl]:1920},Wa=Da(ys),_s=Ua({},Va,{theme:{screens:Wa,container:{center:!0,screens:Wa,padding:{DEFAULT:We(20),md:We(48),lg:We(120),xl:We(240)}}}}),ws=Da({default:0}),Es=Ua({},Va,{theme:{screens:ws},corePlugins:{container:!1}});var Gn={exports:{}},Mr={};/**
2
- * @license React
3
- * react-jsx-runtime.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var $a;function Ss(){if($a)return Mr;$a=1;var e=J,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(c,h,m){var y,x={},j=null,R=null;m!==void 0&&(j=""+m),h.key!==void 0&&(j=""+h.key),h.ref!==void 0&&(R=h.ref);for(y in h)n.call(h,y)&&!s.hasOwnProperty(y)&&(x[y]=h[y]);if(c&&c.defaultProps)for(y in h=c.defaultProps,h)x[y]===void 0&&(x[y]=h[y]);return{$$typeof:t,type:c,key:j,ref:R,props:x,_owner:i.current}}return Mr.Fragment=r,Mr.jsx=u,Mr.jsxs=u,Mr}var Fr={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var Ha;function Cs(){return Ha||(Ha=1,process.env.NODE_ENV!=="production"&&function(){var e=J,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),k=Symbol.iterator,T="@@iterator";function A(v){if(v===null||typeof v!="object")return null;var l=k&&v[k]||v[T];return typeof l=="function"?l:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function U(v){{for(var l=arguments.length,b=new Array(l>1?l-1:0),S=1;S<l;S++)b[S-1]=arguments[S];I("error",v,b)}}function I(v,l,b){{var S=P.ReactDebugCurrentFrame,B=S.getStackAddendum();B!==""&&(l+="%s",b=b.concat([B]));var ee=b.map(function(q){return String(q)});ee.unshift("Warning: "+l),Function.prototype.apply.call(console[v],console,ee)}}var K=!1,Y=!1,z=!1,W=!1,G=!1,de;de=Symbol.for("react.module.reference");function Pe(v){return!!(typeof v=="string"||typeof v=="function"||v===n||v===s||G||v===i||v===m||v===y||W||v===R||K||Y||z||typeof v=="object"&&v!==null&&(v.$$typeof===j||v.$$typeof===x||v.$$typeof===u||v.$$typeof===c||v.$$typeof===h||v.$$typeof===de||v.getModuleId!==void 0))}function He(v,l,b){var S=v.displayName;if(S)return S;var B=l.displayName||l.name||"";return B!==""?b+"("+B+")":b}function Xe(v){return v.displayName||"Context"}function De(v){if(v==null)return null;if(typeof v.tag=="number"&&U("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case n:return"Fragment";case r:return"Portal";case s:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case y:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case c:var l=v;return Xe(l)+".Consumer";case u:var b=v;return Xe(b._context)+".Provider";case h:return He(v,v.render,"ForwardRef");case x:var S=v.displayName||null;return S!==null?S:De(v.type)||"Memo";case j:{var B=v,ee=B._payload,q=B._init;try{return De(q(ee))}catch{return null}}}return null}var Oe=Object.assign,je=0,te,V,ae,we,Te,Ee,g;function O(){}O.__reactDisabledLog=!0;function oe(){{if(je===0){te=console.log,V=console.info,ae=console.warn,we=console.error,Te=console.group,Ee=console.groupCollapsed,g=console.groupEnd;var v={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}je++}}function ve(){{if(je--,je===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Oe({},v,{value:te}),info:Oe({},v,{value:V}),warn:Oe({},v,{value:ae}),error:Oe({},v,{value:we}),group:Oe({},v,{value:Te}),groupCollapsed:Oe({},v,{value:Ee}),groupEnd:Oe({},v,{value:g})})}je<0&&U("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var le=P.ReactCurrentDispatcher,ge;function me(v,l,b){{if(ge===void 0)try{throw Error()}catch(B){var S=B.stack.trim().match(/\n( *(at )?)/);ge=S&&S[1]||""}return`
18
- `+ge+v}}var be=!1,pe;{var Me=typeof WeakMap=="function"?WeakMap:Map;pe=new Me}function bt(v,l){if(!v||be)return"";{var b=pe.get(v);if(b!==void 0)return b}var S;be=!0;var B=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ee;ee=le.current,le.current=null,oe();try{if(l){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(Ae){S=Ae}Reflect.construct(v,[],q)}else{try{q.call()}catch(Ae){S=Ae}v.call(q.prototype)}}else{try{throw Error()}catch(Ae){S=Ae}v()}}catch(Ae){if(Ae&&S&&typeof Ae.stack=="string"){for(var H=Ae.stack.split(`
19
- `),re=S.stack.split(`
20
- `),he=H.length-1,se=re.length-1;he>=1&&se>=0&&H[he]!==re[se];)se--;for(;he>=1&&se>=0;he--,se--)if(H[he]!==re[se]){if(he!==1||se!==1)do if(he--,se--,se<0||H[he]!==re[se]){var xe=`
21
- `+H[he].replace(" at new "," at ");return v.displayName&&xe.includes("<anonymous>")&&(xe=xe.replace("<anonymous>",v.displayName)),typeof v=="function"&&pe.set(v,xe),xe}while(he>=1&&se>=0);break}}}finally{be=!1,le.current=ee,ve(),Error.prepareStackTrace=B}var Ve=v?v.displayName||v.name:"",Ye=Ve?me(Ve):"";return typeof v=="function"&&pe.set(v,Ye),Ye}function ut(v,l,b){return bt(v,!1)}function Vt(v){var l=v.prototype;return!!(l&&l.isReactComponent)}function ct(v,l,b){if(v==null)return"";if(typeof v=="function")return bt(v,Vt(v));if(typeof v=="string")return me(v);switch(v){case m:return me("Suspense");case y:return me("SuspenseList")}if(typeof v=="object")switch(v.$$typeof){case h:return ut(v.render);case x:return ct(v.type,l,b);case j:{var S=v,B=S._payload,ee=S._init;try{return ct(ee(B),l,b)}catch{}}}return""}var nt=Object.prototype.hasOwnProperty,$={},X=P.ReactDebugCurrentFrame;function ie(v){if(v){var l=v._owner,b=ct(v.type,v._source,l?l.type:null);X.setExtraStackFrame(b)}else X.setExtraStackFrame(null)}function ue(v,l,b,S,B){{var ee=Function.call.bind(nt);for(var q in v)if(ee(v,q)){var H=void 0;try{if(typeof v[q]!="function"){var re=Error((S||"React class")+": "+b+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw re.name="Invariant Violation",re}H=v[q](l,q,S,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(he){H=he}H&&!(H instanceof Error)&&(ie(B),U("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",S||"React class",b,q,typeof H),ie(null)),H instanceof Error&&!(H.message in $)&&($[H.message]=!0,ie(B),U("Failed %s type: %s",b,H.message),ie(null))}}}var Ne=Array.isArray;function ye(v){return Ne(v)}function ce(v){{var l=typeof Symbol=="function"&&Symbol.toStringTag,b=l&&v[Symbol.toStringTag]||v.constructor.name||"Object";return b}}function qe(v){try{return ze(v),!1}catch{return!0}}function ze(v){return""+v}function Ze(v){if(qe(v))return U("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ce(v)),ze(v)}var ot=P.ReactCurrentOwner,yt={key:!0,ref:!0,__self:!0,__source:!0},Ut,Nt;function _t(v){if(nt.call(v,"ref")){var l=Object.getOwnPropertyDescriptor(v,"ref").get;if(l&&l.isReactWarning)return!1}return v.ref!==void 0}function Zt(v){if(nt.call(v,"key")){var l=Object.getOwnPropertyDescriptor(v,"key").get;if(l&&l.isReactWarning)return!1}return v.key!==void 0}function hr(v,l){typeof v.ref=="string"&&ot.current}function pr(v,l){{var b=function(){Ut||(Ut=!0,U("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",l))};b.isReactWarning=!0,Object.defineProperty(v,"key",{get:b,configurable:!0})}}function tt(v,l){{var b=function(){Nt||(Nt=!0,U("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",l))};b.isReactWarning=!0,Object.defineProperty(v,"ref",{get:b,configurable:!0})}}var wt=function(v,l,b,S,B,ee,q){var H={$$typeof:t,type:v,key:l,ref:b,props:q,_owner:ee};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:S}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function gr(v,l,b,S,B){{var ee,q={},H=null,re=null;b!==void 0&&(Ze(b),H=""+b),Zt(l)&&(Ze(l.key),H=""+l.key),_t(l)&&(re=l.ref,hr(l,B));for(ee in l)nt.call(l,ee)&&!yt.hasOwnProperty(ee)&&(q[ee]=l[ee]);if(v&&v.defaultProps){var he=v.defaultProps;for(ee in he)q[ee]===void 0&&(q[ee]=he[ee])}if(H||re){var se=typeof v=="function"?v.displayName||v.name||"Unknown":v;H&&pr(q,se),re&&tt(q,se)}return wt(v,H,re,B,S,ot.current,q)}}var At=P.ReactCurrentOwner,Et=P.ReactDebugCurrentFrame;function st(v){if(v){var l=v._owner,b=ct(v.type,v._source,l?l.type:null);Et.setExtraStackFrame(b)}else Et.setExtraStackFrame(null)}var Je;Je=!1;function ft(v){return typeof v=="object"&&v!==null&&v.$$typeof===t}function Qe(){{if(At.current){var v=De(At.current.type);if(v)return`
22
-
23
- Check the render method of \``+v+"`."}return""}}function St(v){return""}var Jt={};function Qt(v){{var l=Qe();if(!l){var b=typeof v=="string"?v:v.displayName||v.name;b&&(l=`
24
-
25
- Check the top-level render call using <`+b+">.")}return l}}function er(v,l){{if(!v._store||v._store.validated||v.key!=null)return;v._store.validated=!0;var b=Qt(l);if(Jt[b])return;Jt[b]=!0;var S="";v&&v._owner&&v._owner!==At.current&&(S=" It was passed a child from "+De(v._owner.type)+"."),st(v),U('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',b,S),st(null)}}function Wt(v,l){{if(typeof v!="object")return;if(ye(v))for(var b=0;b<v.length;b++){var S=v[b];ft(S)&&er(S,l)}else if(ft(v))v._store&&(v._store.validated=!0);else if(v){var B=A(v);if(typeof B=="function"&&B!==v.entries)for(var ee=B.call(v),q;!(q=ee.next()).done;)ft(q.value)&&er(q.value,l)}}}function it(v){{var l=v.type;if(l==null||typeof l=="string")return;var b;if(typeof l=="function")b=l.propTypes;else if(typeof l=="object"&&(l.$$typeof===h||l.$$typeof===x))b=l.propTypes;else return;if(b){var S=De(l);ue(b,v.props,"prop",S,v)}else if(l.PropTypes!==void 0&&!Je){Je=!0;var B=De(l);U("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",B||"Unknown")}typeof l.getDefaultProps=="function"&&!l.getDefaultProps.isReactClassApproved&&U("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ct(v){{for(var l=Object.keys(v.props),b=0;b<l.length;b++){var S=l[b];if(S!=="children"&&S!=="key"){st(v),U("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S),st(null);break}}v.ref!==null&&(st(v),U("Invalid attribute `ref` supplied to `React.Fragment`."),st(null))}}var Pt={};function Dt(v,l,b,S,B,ee){{var q=Pe(v);if(!q){var H="";(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(H+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var re=St();re?H+=re:H+=Qe();var he;v===null?he="null":ye(v)?he="array":v!==void 0&&v.$$typeof===t?(he="<"+(De(v.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):he=typeof v,U("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",he,H)}var se=gr(v,l,b,B,ee);if(se==null)return se;if(q){var xe=l.children;if(xe!==void 0)if(S)if(ye(xe)){for(var Ve=0;Ve<xe.length;Ve++)Wt(xe[Ve],v);Object.freeze&&Object.freeze(xe)}else U("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Wt(xe,v)}if(nt.call(l,"key")){var Ye=De(v),Ae=Object.keys(l).filter(function(rr){return rr!=="key"}),Ge=Ae.length>0?"{key: someKey, "+Ae.join(": ..., ")+": ...}":"{key: someKey}";if(!Pt[Ye+Ge]){var mt=Ae.length>0?"{"+Ae.join(": ..., ")+": ...}":"{}";U(`A props object containing a "key" prop is being spread into JSX:
26
- let props = %s;
27
- <%s {...props} />
28
- React keys must be passed directly to JSX without using spread:
29
- let props = %s;
30
- <%s key={someKey} {...props} />`,Ge,Ye,mt,Ye),Pt[Ye+Ge]=!0}}return v===n?Ct(se):it(se),se}}function tr(v,l,b){return Dt(v,l,b,!0)}function xr(v,l,b){return Dt(v,l,b,!1)}var vt=xr,br=tr;Fr.Fragment=n,Fr.jsx=vt,Fr.jsxs=br}()),Fr}process.env.NODE_ENV==="production"?Gn.exports=Ss():Gn.exports=Cs();var o=Gn.exports,Ga={exports:{}};/*!
1
+ (function(m,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],a):(m=typeof globalThis<"u"?globalThis:m||self,a(m["@iota/apps-ui-kit"]={},m.jsxRuntime,m.React,m.ReactDOM))})(this,function(m,a,A,nr){"use strict";function zr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const v=zr(A),Xr=zr(nr);var xe=(e=>(e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e))(xe||{});const J=(e,t=16)=>`${e/t}rem`;function Kr(e){return Object.entries(e).reduce((r,[n,o])=>(r[n]=`${o}px`,r),{})}const Zr={"iota-primary":{0:"#000000",10:"#061244",20:"#182b8a",30:"#3131ff",40:"#2563f5",50:"#3f80f0",60:"#5b9cfe",70:"#85b5fb",80:"#adceff",90:"#d5e8ff",100:"#ffffff"},"iota-secondary":{0:"#000000",10:"#051631",20:"#17345f",30:"#2d4c7a",40:"#4b648a",50:"#637ca2",60:"#7e97bd",70:"#96b3d5",80:"#b6cde8",90:"#dde9f7",100:"#ffffff"},"iota-tertiary":{0:"#000000",10:"#071f22",20:"#18393b",30:"#185b60",40:"#317479",50:"#498c91",60:"#64a7ac",70:"#7fc2c7",80:"#9adde2",90:"#c2f1f4",100:"#ffffff"},"iota-error":{0:"#000000",10:"#330009",20:"#610012",30:"#b51431",40:"#ce2d4a",50:"#e64562",60:"#ff607d",70:"#ff889e",80:"#ffb0be",90:"#ffd9e0",100:"#ffffff"},"iota-neutral":{0:"#000000",4:"#0a0f17",6:"#0f141c",10:"#171d26",12:"#1c212b",20:"#253041",30:"#3c4656",40:"#545e6e",50:"#6e7787",60:"#8892a1",70:"#a8b2c0",80:"#cad4e2",90:"#dde4f0",92:"#e3eaf6",96:"#eff4fa",98:"#f8fafc",100:"#ffffff"},"iota-warning":{0:"#000000",10:"#2D1E00",20:"#422C00",30:"#674500",40:"#8C5D00",50:"#A47518",60:"#BE8F32",70:"#D9AA4D",80:"#F4C568",90:"#FFE3AB",100:"#FFFFFF"}},Yr={"names-primary":{0:"#000000",10:"#061244",20:"#182b8a",30:"#3131ff",40:"#2563f5",50:"#3f80f0",60:"#5b9cfe",70:"#85b5fb",80:"#adceff",90:"#d5e8ff",100:"#ffffff"},"names-secondary":{0:"#000000",10:"#051631",20:"#17345f",30:"#2d4c7a",40:"#4b648a",50:"#637ca2",60:"#7e97bd",70:"#96b3d5",80:"#b6cde8",90:"#dde9f7",100:"#ffffff"},"names-tertiary":{0:"#000000",10:"#00231F",20:"#00453D",30:"#00685C",40:"#008C7C",50:"#00AF9B",60:"#00D7BE",70:"#17F3D9",80:"#54FFEB",90:"#A6FFF4",100:"#ffffff"},"names-error":{0:"#000000",10:"#3D001F",20:"#620432",30:"#A30251",40:"#C90E6A",50:"#DC2B82",60:"#E35A9E",70:"#EF84B9",80:"#FCADD4",90:"#FFD7EB",100:"#ffffff"},"names-neutral":{0:"#000000",4:"#0A0D23",6:"#0F1228",10:"#181B31",12:"#20233C",20:"#2B2E45",30:"#404359",40:"#585B71",50:"#71748B",60:"#8C8FA5",70:"#ACAFC5",80:"#CED1E7",90:"#DFE2F8",92:"#E5E8FE",96:"#F0F2FF",98:"#F8F9FF",100:"#ffffff"},"names-gradient":{"stop-1":"#3131FF","stop-2":"#A139FF","stop-3":"#14F0D6","stop-4":"#20233C"},"names-warning":{0:"#000000",10:"#2D1E00",20:"#422C00",30:"#674500",40:"#8C5D00",50:"#A47518",60:"#BE8F32",70:"#D9AA4D",80:"#F4C568",90:"#FFE3AB",100:"#FFFFFF"}},qr={"shader-primary-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-inverted-dark":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"},"shader-neutral-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-primary-light":{0:"#0067ee00",8:"#0067ee14",12:"#0067ee1e",16:"#0067ee28",48:"#0067ee7a",72:"#0067eeb7"},"shader-inverted-light":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-neutral-light":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"}},po={none:J(0),sm:J(2),DEFAULT:J(4),md:J(6),lg:J(8),xl:J(12),"2xl":J(16),"3xl":J(24),full:J(120)},mo={none:J(0),xxxs:J(2),xxs:J(4),xs:J(8),sm:J(12),md:J(16),lg:J(24),xl:J(32),"2xl":J(48)},bo={0:"0",8:"0.08",12:"0.12",16:"0.16",40:"0.4",60:"0.6",80:"0.8",100:"1"},xo={...{"text-label-sm":["11px",{lineHeight:"16px",letterSpacing:"0.2px",fontWeight:500}],"text-label-md":["12px",{lineHeight:"16px",letterSpacing:"-0.1px",fontWeight:500}],"text-label-lg":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:500}]},...{"text-body-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-lg":["16px",{lineHeight:"24px",letterSpacing:"0.1px",fontWeight:400}]},...{"text-body-ds-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-ds-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-ds-lg":["16px",{lineHeight:"24px",letterSpacing:"0.2px",fontWeight:400}]},...{"text-title-sm":["14px",{lineHeight:"120%",letterSpacing:"-0.1px",fontWeight:500}],"text-title-md":["16px",{lineHeight:"120%",letterSpacing:"-0.15px",fontWeight:500}],"text-title-lg":["20px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-headline-sm":["24px",{lineHeight:"120%",fontWeight:"var(--headline-sm-font-weight)",letterSpacing:"-0.2px"}],"text-headline-md":["28px",{lineHeight:"120%",fontWeight:"var(--headline-md-font-weight)",letterSpacing:"-0.4px"}],"text-headline-lg":["32px",{lineHeight:"120%",fontWeight:"var(--headline-lg-font-weight)",letterSpacing:"-0.4px"}]},...{"text-display-sm":["36px",{lineHeight:"var(--display-sm-line-height)",fontWeight:"var(--display-sm-font-weight)"}],"text-display-md":["48px",{lineHeight:"var(--display-md-line-height)",fontWeight:"var(--display-md-font-weight)"}],"text-display-lg":["60px",{lineHeight:"var(--display-lg-line-height)",fontWeight:"var(--display-lg-font-weight)"}]}},wo=Object.entries(xo).reduce((e,[t,r])=>{const n=t.startsWith("text-")?t.replace("text-",""):t;return{...e,[n]:r}},{}),Qr={"xs--rs":["4px","8px"],"sm--rs":["8px","12px"],"md--rs":["16px","24px"]};function yo(e,t){const r=[xe.Sm,xe.Md,xe.Lg,xe.Xl],n=Qr[e];let o=`${n[0]}`;for(let l=1;l<n.length;l++)if(n[l]){const s=t[r[l]];s&&(o=`clamp(${o}, (100vw - ${s}) * 99, ${n[l]})`)}return o}function So(e){return Object.keys(Qr).reduce((r,n)=>{const o=yo(n,e);return{...r,[n]:o}},{})}const Co={inter:["Inter","sans-serif"],"alliance-no2":["AllianceNo2","sans-serif"],"roboto-flex":["Roboto Flex Variable","sans-serif"]},Eo={"default-surface":"var(--default-surface)","on-default":"var(--on-default)","warning-surface":"var(--warning-surface)","on-warning":"var(--on-warning)","error-surface":"var(--error-surface)","on-error":"var(--on-error)","success-surface":"var(--success-surface)","on-success":"var(--on-success)"};var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ar(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jr={},Rr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,o){return{handler:n,config:o}}t.withOptions=function(n,o=()=>({})){const l=function(s){return{__options:s,handler:n(s),config:o(s)}};return l.__isOptionsFunction=!0,l.__pluginFunction=n,l.__configFunction=o,l};const r=t})(Rr),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const t=r(Rr);function r(o){return o.__esModule?o:{default:o}}const n=t.default}(Jr);let or=Jr;var _o=(or.__esModule?or:{default:or}).default;const en=ar(_o),No=en(({addVariant:e})=>{e("firefox","@-moz-document url-prefix()")}),To=en(({addVariant:e})=>{e("names","&:is(.names *)")}),tn={content:["./src/**/*.{html,js,jsx,ts,tsx}"],darkMode:"selector",plugins:[No,To],theme:{extend:{fontSize:{...wo},borderRadius:{...po},spacing:e=>{const t=e.theme("screens"),r=So(t);return{...mo,...r}},opacity:{...bo,30:"0.3"},colors:{...Zr,...Yr,...qr,...Eo},fontFamily:Co}}};var At={exports:{}};At.exports,function(e,t){var r=200,n="__lodash_hash_undefined__",o=800,l=16,s=9007199254740991,c="[object Arguments]",u="[object Array]",f="[object AsyncFunction]",p="[object Boolean]",g="[object Date]",w="[object Error]",y="[object Function]",S="[object GeneratorFunction]",b="[object Map]",C="[object Number]",E="[object Null]",k="[object Object]",_="[object Proxy]",I="[object RegExp]",B="[object Set]",P="[object String]",N="[object Undefined]",D="[object WeakMap]",G="[object ArrayBuffer]",ae="[object DataView]",de="[object Float32Array]",Ee="[object Float64Array]",_e="[object Int8Array]",Ue="[object Int16Array]",Qe="[object Int32Array]",V="[object Uint8Array]",M="[object Uint8ClampedArray]",Z="[object Uint16Array]",ee="[object Uint32Array]",te=/[\\^$.*+?()[\]{}|]/g,Q=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,H={};H[de]=H[Ee]=H[_e]=H[Ue]=H[Qe]=H[V]=H[M]=H[Z]=H[ee]=!0,H[c]=H[u]=H[G]=H[p]=H[ae]=H[g]=H[w]=H[y]=H[b]=H[C]=H[k]=H[I]=H[B]=H[P]=H[D]=!1;var st=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,Je=typeof self=="object"&&self&&self.Object===Object&&self,Ne=st||Je||Function("return this")(),ct=t&&!t.nodeType&&t,De=ct&&!0&&e&&!e.nodeType&&e,Kt=De&&De.exports===ct,St=Kt&&st.process,Zt=function(){try{var i=De&&De.require&&De.require("util").types;return i||St&&St.binding&&St.binding("util")}catch{}}(),Yt=Zt&&Zt.isTypedArray;function Ir(i,d,h){switch(h.length){case 0:return i.call(d);case 1:return i.call(d,h[0]);case 2:return i.call(d,h[0],h[1]);case 3:return i.call(d,h[0],h[1],h[2])}return i.apply(d,h)}function Pr(i,d){for(var h=-1,O=Array(i);++h<i;)O[h]=d(h);return O}function qt(i){return function(d){return i(d)}}function kr(i,d){return i==null?void 0:i[d]}function T(i,d){return function(h){return i(d(h))}}var L=Array.prototype,F=Function.prototype,z=Object.prototype,oe=Ne["__core-js_shared__"],X=F.toString,U=z.hasOwnProperty,ue=function(){var i=/[^.]+$/.exec(oe&&oe.keys&&oe.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),me=z.toString,Te=X.call(Object),Ct=RegExp("^"+X.call(U).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qt=Kt?Ne.Buffer:void 0,Ra=Ne.Symbol,eo=Ne.Uint8Array;Qt&&Qt.allocUnsafe;var to=T(Object.getPrototypeOf,Object),ro=Object.create,hd=z.propertyIsEnumerable,gd=L.splice,Re=Ra?Ra.toStringTag:void 0,Jt=function(){try{var i=Fr(Object,"defineProperty");return i({},"",{}),i}catch{}}(),vd=Qt?Qt.isBuffer:void 0,no=Math.max,pd=Date.now,ao=Fr(Ne,"Map"),Et=Fr(Object,"create"),md=function(){function i(){}return function(d){if(!tt(d))return{};if(ro)return ro(d);i.prototype=d;var h=new i;return i.prototype=void 0,h}}();function et(i){var d=-1,h=i==null?0:i.length;for(this.clear();++d<h;){var O=i[d];this.set(O[0],O[1])}}function bd(){this.__data__=Et?Et(null):{},this.size=0}function xd(i){var d=this.has(i)&&delete this.__data__[i];return this.size-=d?1:0,d}function wd(i){var d=this.__data__;if(Et){var h=d[i];return h===n?void 0:h}return U.call(d,i)?d[i]:void 0}function yd(i){var d=this.__data__;return Et?d[i]!==void 0:U.call(d,i)}function Sd(i,d){var h=this.__data__;return this.size+=this.has(i)?0:1,h[i]=Et&&d===void 0?n:d,this}et.prototype.clear=bd,et.prototype.delete=xd,et.prototype.get=wd,et.prototype.has=yd,et.prototype.set=Sd;function Le(i){var d=-1,h=i==null?0:i.length;for(this.clear();++d<h;){var O=i[d];this.set(O[0],O[1])}}function Cd(){this.__data__=[],this.size=0}function Ed(i){var d=this.__data__,h=Rt(d,i);if(h<0)return!1;var O=d.length-1;return h==O?d.pop():gd.call(d,h,1),--this.size,!0}function _d(i){var d=this.__data__,h=Rt(d,i);return h<0?void 0:d[h][1]}function Nd(i){return Rt(this.__data__,i)>-1}function Td(i,d){var h=this.__data__,O=Rt(h,i);return O<0?(++this.size,h.push([i,d])):h[O][1]=d,this}Le.prototype.clear=Cd,Le.prototype.delete=Ed,Le.prototype.get=_d,Le.prototype.has=Nd,Le.prototype.set=Td;function dt(i){var d=-1,h=i==null?0:i.length;for(this.clear();++d<h;){var O=i[d];this.set(O[0],O[1])}}function Ad(){this.size=0,this.__data__={hash:new et,map:new(ao||Le),string:new et}}function Od(i){var d=tr(this,i).delete(i);return this.size-=d?1:0,d}function Dd(i){return tr(this,i).get(i)}function Ld(i){return tr(this,i).has(i)}function Id(i,d){var h=tr(this,i),O=h.size;return h.set(i,d),this.size+=h.size==O?0:1,this}dt.prototype.clear=Ad,dt.prototype.delete=Od,dt.prototype.get=Dd,dt.prototype.has=Ld,dt.prototype.set=Id;function ut(i){var d=this.__data__=new Le(i);this.size=d.size}function Pd(){this.__data__=new Le,this.size=0}function kd(i){var d=this.__data__,h=d.delete(i);return this.size=d.size,h}function Bd(i){return this.__data__.get(i)}function Md(i){return this.__data__.has(i)}function Fd(i,d){var h=this.__data__;if(h instanceof Le){var O=h.__data__;if(!ao||O.length<r-1)return O.push([i,d]),this.size=++h.size,this;h=this.__data__=new dt(O)}return h.set(i,d),this.size=h.size,this}ut.prototype.clear=Pd,ut.prototype.delete=kd,ut.prototype.get=Bd,ut.prototype.has=Md,ut.prototype.set=Fd;function Vd(i,d){var h=Wr(i),O=!h&&Ur(i),j=!h&&!O&&co(i),K=!h&&!O&&!j&&fo(i),Y=h||O||j||K,$=Y?Pr(i.length,String):[],q=$.length;for(var be in i)Y&&(be=="length"||j&&(be=="offset"||be=="parent")||K&&(be=="buffer"||be=="byteLength"||be=="byteOffset")||io(be,q))||$.push(be);return $}function Br(i,d,h){(h!==void 0&&!rr(i[d],h)||h===void 0&&!(d in i))&&Mr(i,d,h)}function Ud(i,d,h){var O=i[d];(!(U.call(i,d)&&rr(O,h))||h===void 0&&!(d in i))&&Mr(i,d,h)}function Rt(i,d){for(var h=i.length;h--;)if(rr(i[h][0],d))return h;return-1}function Mr(i,d,h){d=="__proto__"&&Jt?Jt(i,d,{configurable:!0,enumerable:!0,value:h,writable:!0}):i[d]=h}var Wd=Rd();function er(i){return i==null?i===void 0?N:E:Re&&Re in Object(i)?eu(i):lu(i)}function oo(i){return _t(i)&&er(i)==c}function jd(i){if(!tt(i)||au(i))return!1;var d=Hr(i)?Ct:Q;return d.test(du(i))}function Hd(i){return _t(i)&&uo(i.length)&&!!H[er(i)]}function Gd(i){if(!tt(i))return ou(i);var d=so(i),h=[];for(var O in i)O=="constructor"&&(d||!U.call(i,O))||h.push(O);return h}function lo(i,d,h,O,j){i!==d&&Wd(d,function(K,Y){if(j||(j=new ut),tt(K))$d(i,d,Y,h,lo,O,j);else{var $=O?O(Vr(i,Y),K,Y+"",i,d,j):void 0;$===void 0&&($=K),Br(i,Y,$)}},ho)}function $d(i,d,h,O,j,K,Y){var $=Vr(i,h),q=Vr(d,h),be=Y.get(q);if(be){Br(i,h,be);return}var se=K?K($,q,h+"",i,d,Y):void 0,Nt=se===void 0;if(Nt){var Gr=Wr(q),$r=!Gr&&co(q),vo=!Gr&&!$r&&fo(q);se=q,Gr||$r||vo?Wr($)?se=$:uu($)?se=qd($):$r?(Nt=!1,se=Kd(q)):vo?(Nt=!1,se=Yd(q)):se=[]:fu(q)||Ur(q)?(se=$,Ur($)?se=hu($):(!tt($)||Hr($))&&(se=tu(q))):Nt=!1}Nt&&(Y.set(q,se),j(se,q,O,K,Y),Y.delete(q)),Br(i,h,se)}function zd(i,d){return su(iu(i,d,go),i+"")}var Xd=Jt?function(i,d){return Jt(i,"toString",{configurable:!0,enumerable:!1,value:vu(d),writable:!0})}:go;function Kd(i,d){return i.slice()}function Zd(i){var d=new i.constructor(i.byteLength);return new eo(d).set(new eo(i)),d}function Yd(i,d){var h=Zd(i.buffer);return new i.constructor(h,i.byteOffset,i.length)}function qd(i,d){var h=-1,O=i.length;for(d||(d=Array(O));++h<O;)d[h]=i[h];return d}function Qd(i,d,h,O){var j=!h;h||(h={});for(var K=-1,Y=d.length;++K<Y;){var $=d[K],q=void 0;q===void 0&&(q=i[$]),j?Mr(h,$,q):Ud(h,$,q)}return h}function Jd(i){return zd(function(d,h){var O=-1,j=h.length,K=j>1?h[j-1]:void 0,Y=j>2?h[2]:void 0;for(K=i.length>3&&typeof K=="function"?(j--,K):void 0,Y&&ru(h[0],h[1],Y)&&(K=j<3?void 0:K,j=1),d=Object(d);++O<j;){var $=h[O];$&&i(d,$,O,K)}return d})}function Rd(i){return function(d,h,O){for(var j=-1,K=Object(d),Y=O(d),$=Y.length;$--;){var q=Y[++j];if(h(K[q],q,K)===!1)break}return d}}function tr(i,d){var h=i.__data__;return nu(d)?h[typeof d=="string"?"string":"hash"]:h.map}function Fr(i,d){var h=kr(i,d);return jd(h)?h:void 0}function eu(i){var d=U.call(i,Re),h=i[Re];try{i[Re]=void 0;var O=!0}catch{}var j=me.call(i);return O&&(d?i[Re]=h:delete i[Re]),j}function tu(i){return typeof i.constructor=="function"&&!so(i)?md(to(i)):{}}function io(i,d){var h=typeof i;return d=d??s,!!d&&(h=="number"||h!="symbol"&&re.test(i))&&i>-1&&i%1==0&&i<d}function ru(i,d,h){if(!tt(h))return!1;var O=typeof d;return(O=="number"?jr(h)&&io(d,h.length):O=="string"&&d in h)?rr(h[d],i):!1}function nu(i){var d=typeof i;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?i!=="__proto__":i===null}function au(i){return!!ue&&ue in i}function so(i){var d=i&&i.constructor,h=typeof d=="function"&&d.prototype||z;return i===h}function ou(i){var d=[];if(i!=null)for(var h in Object(i))d.push(h);return d}function lu(i){return me.call(i)}function iu(i,d,h){return d=no(d===void 0?i.length-1:d,0),function(){for(var O=arguments,j=-1,K=no(O.length-d,0),Y=Array(K);++j<K;)Y[j]=O[d+j];j=-1;for(var $=Array(d+1);++j<d;)$[j]=O[j];return $[d]=h(Y),Ir(i,this,$)}}function Vr(i,d){if(!(d==="constructor"&&typeof i[d]=="function")&&d!="__proto__")return i[d]}var su=cu(Xd);function cu(i){var d=0,h=0;return function(){var O=pd(),j=l-(O-h);if(h=O,j>0){if(++d>=o)return arguments[0]}else d=0;return i.apply(void 0,arguments)}}function du(i){if(i!=null){try{return X.call(i)}catch{}try{return i+""}catch{}}return""}function rr(i,d){return i===d||i!==i&&d!==d}var Ur=oo(function(){return arguments}())?oo:function(i){return _t(i)&&U.call(i,"callee")&&!hd.call(i,"callee")},Wr=Array.isArray;function jr(i){return i!=null&&uo(i.length)&&!Hr(i)}function uu(i){return _t(i)&&jr(i)}var co=vd||pu;function Hr(i){if(!tt(i))return!1;var d=er(i);return d==y||d==S||d==f||d==_}function uo(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=s}function tt(i){var d=typeof i;return i!=null&&(d=="object"||d=="function")}function _t(i){return i!=null&&typeof i=="object"}function fu(i){if(!_t(i)||er(i)!=k)return!1;var d=to(i);if(d===null)return!0;var h=U.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&X.call(h)==Te}var fo=Yt?qt(Yt):Hd;function hu(i){return Qd(i,ho(i))}function ho(i){return jr(i)?Vd(i):Gd(i)}var gu=Jd(function(i,d,h){lo(i,d,h)});function vu(i){return function(){return i}}function go(i){return i}function pu(){return!1}e.exports=gu}(At,At.exports);var Ao=At.exports;const rn=ar(Ao),Oo={[xe.Sm]:768,[xe.Md]:1024,[xe.Lg]:1400,[xe.Xl]:1920},nn=Kr(Oo),Do=rn({},tn,{theme:{screens:nn,container:{center:!0,screens:nn,padding:{DEFAULT:J(20),md:J(48),lg:J(120),xl:J(240)}}}}),Lo=Kr({default:0}),Io=rn({},tn,{theme:{screens:Lo},corePlugins:{container:!1}});var an={exports:{}};/*!
31
2
  Copyright (c) 2018 Jed Watson.
32
3
  Licensed under the MIT License (MIT), see
33
4
  http://jedwatson.github.io/classnames
34
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(s=i(s,n(c)))}return s}function n(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var u="";for(var c in s)t.call(s,c)&&s[c]&&(u=i(u,c));return u}function i(s,u){return u?s?s+" "+u:s+u:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Ga);var js=Ga.exports;const N=$n(js);var $e=(e=>(e.Neutral="neutral",e.PrimarySolid="primary-solid",e.PrimarySoft="primary-fill",e.Success="success",e.Warning="warning",e.Error="error",e))($e||{});const Rs={[$e.PrimarySolid]:"bg-primary-30",[$e.Neutral]:"bg-neutral-92 dark:bg-neutral-12",[$e.PrimarySoft]:"bg-primary-90 dark:bg-primary-10",[$e.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[$e.Warning]:"bg-warning-90 dark:bg-warning-20",[$e.Error]:"bg-error-90 dark:bg-error-10"},Ts={[$e.PrimarySolid]:"text-primary-100",[$e.Neutral]:"text-neutral-10 dark:text-neutral-92",[$e.PrimarySoft]:"text-primary-20 dark:text-primary-90",[$e.Success]:"text-tertiary-20 dark:text-tertiary-90",[$e.Warning]:"text-warning-10 dark:text-warning-90",[$e.Error]:"text-error-20 dark:text-error-90"},Os={[$e.PrimarySolid]:"border-primary-30",[$e.Neutral]:"border-neutral-92 dark:border-neutral-12",[$e.PrimarySoft]:"border-primary-90 dark:border-primary-10",[$e.Success]:"border-tertiary-90 dark:border-tertiary-10",[$e.Warning]:"border-warning-90 dark:border-warning-20",[$e.Error]:"border-error-90 dark:border-error-10"},ks="text-label-md";function Br({type:e,label:t}){const r=Rs[e],n=Ts[e],i=Os[e],s=t?"px-xs py-xxs":"h-1.5 w-1.5";return o.jsx("div",{className:N("inline-flex items-center space-x-2 rounded-full border disabled:opacity-30",r,i,s),children:o.jsx("span",{className:N(ks,n),children:t})})}var et=(e=>(e.Small="small",e.Medium="medium",e))(et||{}),Se=(e=>(e.Primary="primary",e.Secondary="secondary",e.Ghost="ghost",e.Outlined="outlined",e.Destructive="destructive",e))(Se||{}),Vr=(e=>(e.Button="button",e.Submit="submit",e.Reset="reset",e))(Vr||{});const Ns={[et.Small]:"px-md py-xs",[et.Medium]:"px-md py-sm"},As={[et.Small]:"p-xs",[et.Medium]:"p-sm"},Ps={[Se.Primary]:"bg-primary-30",[Se.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[Se.Ghost]:"bg-transparent",[Se.Outlined]:"bg-transparent border border-neutral-50",[Se.Destructive]:"bg-error-90 dark:bg-error-20"},Ds={[Se.Primary]:"bg-neutral-80 dark:bg-neutral-30",[Se.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[Se.Ghost]:"bg-transparent",[Se.Outlined]:"bg-transparent border border-neutral-50",[Se.Destructive]:"bg-error-90 dark:bg-error-20"},ar="text-neutral-10 dark:text-neutral-92",Is={[Se.Primary]:"text-primary-100",[Se.Secondary]:ar,[Se.Ghost]:ar,[Se.Outlined]:ar,[Se.Destructive]:"text-error-20 dark:text-error-90"},Ls={[et.Small]:"text-label-md",[et.Medium]:"text-label-lg"},Ms={[Se.Primary]:ar,[Se.Secondary]:ar,[Se.Ghost]:ar,[Se.Outlined]:ar,[Se.Destructive]:"text-error-20 dark:text-error-90"};function dt({icon:e,text:t,disabled:r,onClick:n,fullWidth:i,htmlType:s=Vr.Button,size:u=et.Medium,type:c=Se.Primary,iconAfterText:h=!1,tabIndex:m=0,testId:y}){const x=e&&!t?As[u]:Ns[u],j=Ls[u],R=r?Ds[c]:Ps[c],k=r?Ms[c]:Is[c];return o.jsxs("button",{onClick:n,type:s,className:N("state-layer relative flex items-center justify-center gap-2 rounded-full transition-all duration-150 ease-in disabled:cursor-not-allowed disabled:opacity-40",x,R,i&&"w-full",h?"flex-row-reverse":"flex-row"),disabled:r,tabIndex:m,"data-testid":y,children:[e&&o.jsx("span",{className:N(k),children:e}),t&&o.jsx("span",{className:N("font-inter",k,j),children:t})]})}function Fs({htmlType:e=Vr.Button,children:t,tabIndex:r=0,...n}){return o.jsx("button",{className:"flex items-center justify-center rounded-xl border border-neutral-70 px-sm text-body-md text-neutral-40 disabled:opacity-40 dark:border-neutral-40 dark:text-neutral-60",type:e,tabIndex:r,...n,children:t})}function rt({htmlType:e=Vr.Button,children:t,className:r,tabIndex:n=0,testId:i,...s}){return o.jsx("button",{type:e,...s,className:N("appearance-none",r),tabIndex:n,"data-testid":i,children:t})}var Bs=Object.create,Ya=Object.defineProperty,Vs=Object.getOwnPropertyDescriptor,za=Object.getOwnPropertyNames,Us=Object.getPrototypeOf,Ws=Object.prototype.hasOwnProperty,Sr=(e,t)=>function(){return t||(0,e[za(e)[0]])((t={exports:{}}).exports,t),t.exports},$s=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of za(t))!Ws.call(e,i)&&i!==r&&Ya(e,i,{get:()=>t[i],enumerable:!(n=Vs(t,i))||n.enumerable});return e},L=(e,t,r)=>(r=e!=null?Bs(Us(e)):{},$s(!e||!e.__esModule?Ya(r,"default",{value:e,enumerable:!0}):r,e)),Hs=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),j=Symbol.iterator;function R(g){return g===null||typeof g!="object"?null:(g=j&&g[j]||g["@@iterator"],typeof g=="function"?g:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,A={};function P(g,O,oe){this.props=g,this.context=O,this.refs=A,this.updater=oe||k}P.prototype.isReactComponent={},P.prototype.setState=function(g,O){if(typeof g!="object"&&typeof g!="function"&&g!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,g,O,"setState")},P.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function U(){}U.prototype=P.prototype;function I(g,O,oe){this.props=g,this.context=O,this.refs=A,this.updater=oe||k}var K=I.prototype=new U;K.constructor=I,T(K,P.prototype),K.isPureReactComponent=!0;var Y=Array.isArray,z=Object.prototype.hasOwnProperty,W={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function de(g,O,oe){var ve,le={},ge=null,me=null;if(O!=null)for(ve in O.ref!==void 0&&(me=O.ref),O.key!==void 0&&(ge=""+O.key),O)z.call(O,ve)&&!G.hasOwnProperty(ve)&&(le[ve]=O[ve]);var be=arguments.length-2;if(be===1)le.children=oe;else if(1<be){for(var pe=Array(be),Me=0;Me<be;Me++)pe[Me]=arguments[Me+2];le.children=pe}if(g&&g.defaultProps)for(ve in be=g.defaultProps,be)le[ve]===void 0&&(le[ve]=be[ve]);return{$$typeof:t,type:g,key:ge,ref:me,props:le,_owner:W.current}}function Pe(g,O){return{$$typeof:t,type:g.type,key:O,ref:g.ref,props:g.props,_owner:g._owner}}function He(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function Xe(g){var O={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(oe){return O[oe]})}var De=/\/+/g;function Oe(g,O){return typeof g=="object"&&g!==null&&g.key!=null?Xe(""+g.key):O.toString(36)}function je(g,O,oe,ve,le){var ge=typeof g;(ge==="undefined"||ge==="boolean")&&(g=null);var me=!1;if(g===null)me=!0;else switch(ge){case"string":case"number":me=!0;break;case"object":switch(g.$$typeof){case t:case r:me=!0}}if(me)return me=g,le=le(me),g=ve===""?"."+Oe(me,0):ve,Y(le)?(oe="",g!=null&&(oe=g.replace(De,"$&/")+"/"),je(le,O,oe,"",function(Me){return Me})):le!=null&&(He(le)&&(le=Pe(le,oe+(!le.key||me&&me.key===le.key?"":(""+le.key).replace(De,"$&/")+"/")+g)),O.push(le)),1;if(me=0,ve=ve===""?".":ve+":",Y(g))for(var be=0;be<g.length;be++){ge=g[be];var pe=ve+Oe(ge,be);me+=je(ge,O,oe,pe,le)}else if(pe=R(g),typeof pe=="function")for(g=pe.call(g),be=0;!(ge=g.next()).done;)ge=ge.value,pe=ve+Oe(ge,be++),me+=je(ge,O,oe,pe,le);else if(ge==="object")throw O=String(g),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.");return me}function te(g,O,oe){if(g==null)return g;var ve=[],le=0;return je(g,ve,"","",function(ge){return O.call(oe,ge,le++)}),ve}function V(g){if(g._status===-1){var O=g._result;O=O(),O.then(function(oe){(g._status===0||g._status===-1)&&(g._status=1,g._result=oe)},function(oe){(g._status===0||g._status===-1)&&(g._status=2,g._result=oe)}),g._status===-1&&(g._status=0,g._result=O)}if(g._status===1)return g._result.default;throw g._result}var ae={current:null},we={transition:null},Te={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:we,ReactCurrentOwner:W};function Ee(){throw Error("act(...) is not supported in production builds of React.")}e.Children={map:te,forEach:function(g,O,oe){te(g,function(){O.apply(this,arguments)},oe)},count:function(g){var O=0;return te(g,function(){O++}),O},toArray:function(g){return te(g,function(O){return O})||[]},only:function(g){if(!He(g))throw Error("React.Children.only expected to receive a single React element child.");return g}},e.Component=P,e.Fragment=n,e.Profiler=s,e.PureComponent=I,e.StrictMode=i,e.Suspense=m,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,e.act=Ee,e.cloneElement=function(g,O,oe){if(g==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+g+".");var ve=T({},g.props),le=g.key,ge=g.ref,me=g._owner;if(O!=null){if(O.ref!==void 0&&(ge=O.ref,me=W.current),O.key!==void 0&&(le=""+O.key),g.type&&g.type.defaultProps)var be=g.type.defaultProps;for(pe in O)z.call(O,pe)&&!G.hasOwnProperty(pe)&&(ve[pe]=O[pe]===void 0&&be!==void 0?be[pe]:O[pe])}var pe=arguments.length-2;if(pe===1)ve.children=oe;else if(1<pe){be=Array(pe);for(var Me=0;Me<pe;Me++)be[Me]=arguments[Me+2];ve.children=be}return{$$typeof:t,type:g.type,key:le,ref:ge,props:ve,_owner:me}},e.createContext=function(g){return g={$$typeof:c,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},g.Provider={$$typeof:u,_context:g},g.Consumer=g},e.createElement=de,e.createFactory=function(g){var O=de.bind(null,g);return O.type=g,O},e.createRef=function(){return{current:null}},e.forwardRef=function(g){return{$$typeof:h,render:g}},e.isValidElement=He,e.lazy=function(g){return{$$typeof:x,_payload:{_status:-1,_result:g},_init:V}},e.memo=function(g,O){return{$$typeof:y,type:g,compare:O===void 0?null:O}},e.startTransition=function(g){var O=we.transition;we.transition={};try{g()}finally{we.transition=O}},e.unstable_act=Ee,e.useCallback=function(g,O){return ae.current.useCallback(g,O)},e.useContext=function(g){return ae.current.useContext(g)},e.useDebugValue=function(){},e.useDeferredValue=function(g){return ae.current.useDeferredValue(g)},e.useEffect=function(g,O){return ae.current.useEffect(g,O)},e.useId=function(){return ae.current.useId()},e.useImperativeHandle=function(g,O,oe){return ae.current.useImperativeHandle(g,O,oe)},e.useInsertionEffect=function(g,O){return ae.current.useInsertionEffect(g,O)},e.useLayoutEffect=function(g,O){return ae.current.useLayoutEffect(g,O)},e.useMemo=function(g,O){return ae.current.useMemo(g,O)},e.useReducer=function(g,O,oe){return ae.current.useReducer(g,O,oe)},e.useRef=function(g){return ae.current.useRef(g)},e.useState=function(g){return ae.current.useState(g)},e.useSyncExternalStore=function(g,O,oe){return ae.current.useSyncExternalStore(g,O,oe)},e.useTransition=function(){return ae.current.useTransition()},e.version="18.3.1"}}),Gs=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js"(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),m=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),A=Symbol.iterator,P="@@iterator";function U(a){if(a===null||typeof a!="object")return null;var d=A&&a[A]||a[P];return typeof d=="function"?d:null}var I={current:null},K={transition:null},Y={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},z={current:null},W={},G=null;function de(a){G=a}W.setExtraStackFrame=function(a){G=a},W.getCurrentStack=null,W.getStackAddendum=function(){var a="";G&&(a+=G);var d=W.getCurrentStack;return d&&(a+=d()||""),a};var Pe=!1,He=!1,Xe=!1,De=!1,Oe=!1,je={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:K,ReactCurrentOwner:z};je.ReactDebugCurrentFrame=W,je.ReactCurrentActQueue=Y;function te(a){{for(var d=arguments.length,_=new Array(d>1?d-1:0),C=1;C<d;C++)_[C-1]=arguments[C];ae("warn",a,_)}}function V(a){{for(var d=arguments.length,_=new Array(d>1?d-1:0),C=1;C<d;C++)_[C-1]=arguments[C];ae("error",a,_)}}function ae(a,d,_){{var C=je.ReactDebugCurrentFrame,F=C.getStackAddendum();F!==""&&(d+="%s",_=_.concat([F]));var ne=_.map(function(Z){return String(Z)});ne.unshift("Warning: "+d),Function.prototype.apply.call(console[a],console,ne)}}var we={};function Te(a,d){{var _=a.constructor,C=_&&(_.displayName||_.name)||"ReactClass",F=C+"."+d;if(we[F])return;V("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",d,C),we[F]=!0}}var Ee={isMounted:function(a){return!1},enqueueForceUpdate:function(a,d,_){Te(a,"forceUpdate")},enqueueReplaceState:function(a,d,_,C){Te(a,"replaceState")},enqueueSetState:function(a,d,_,C){Te(a,"setState")}},g=Object.assign,O={};Object.freeze(O);function oe(a,d,_){this.props=a,this.context=d,this.refs=O,this.updater=_||Ee}oe.prototype.isReactComponent={},oe.prototype.setState=function(a,d){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,d,"setState")},oe.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var ve={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},le=function(a,d){Object.defineProperty(oe.prototype,a,{get:function(){te("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1])}})};for(var ge in ve)ve.hasOwnProperty(ge)&&le(ge,ve[ge])}function me(){}me.prototype=oe.prototype;function be(a,d,_){this.props=a,this.context=d,this.refs=O,this.updater=_||Ee}var pe=be.prototype=new me;pe.constructor=be,g(pe,oe.prototype),pe.isPureReactComponent=!0;function Me(){var a={current:null};return Object.seal(a),a}var bt=Array.isArray;function ut(a){return bt(a)}function Vt(a){{var d=typeof Symbol=="function"&&Symbol.toStringTag,_=d&&a[Symbol.toStringTag]||a.constructor.name||"Object";return _}}function ct(a){try{return nt(a),!1}catch{return!0}}function nt(a){return""+a}function $(a){if(ct(a))return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vt(a)),nt(a)}function X(a,d,_){var C=a.displayName;if(C)return C;var F=d.displayName||d.name||"";return F!==""?_+"("+F+")":_}function ie(a){return a.displayName||"Context"}function ue(a){if(a==null)return null;if(typeof a.tag=="number"&&V("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case c:return"Profiler";case u:return"StrictMode";case x:return"Suspense";case j:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case m:var d=a;return ie(d)+".Consumer";case h:var _=a;return ie(_._context)+".Provider";case y:return X(a,a.render,"ForwardRef");case R:var C=a.displayName||null;return C!==null?C:ue(a.type)||"Memo";case k:{var F=a,ne=F._payload,Z=F._init;try{return ue(Z(ne))}catch{return null}}}return null}var Ne=Object.prototype.hasOwnProperty,ye={key:!0,ref:!0,__self:!0,__source:!0},ce,qe,ze;ze={};function Ze(a){if(Ne.call(a,"ref")){var d=Object.getOwnPropertyDescriptor(a,"ref").get;if(d&&d.isReactWarning)return!1}return a.ref!==void 0}function ot(a){if(Ne.call(a,"key")){var d=Object.getOwnPropertyDescriptor(a,"key").get;if(d&&d.isReactWarning)return!1}return a.key!==void 0}function yt(a,d){var _=function(){ce||(ce=!0,V("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};_.isReactWarning=!0,Object.defineProperty(a,"key",{get:_,configurable:!0})}function Ut(a,d){var _=function(){qe||(qe=!0,V("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};_.isReactWarning=!0,Object.defineProperty(a,"ref",{get:_,configurable:!0})}function Nt(a){if(typeof a.ref=="string"&&z.current&&a.__self&&z.current.stateNode!==a.__self){var d=ue(z.current.type);ze[d]||(V('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',d,a.ref),ze[d]=!0)}}var _t=function(a,d,_,C,F,ne,Z){var fe={$$typeof:n,type:a,key:d,ref:_,props:Z,_owner:ne};return fe._store={},Object.defineProperty(fe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(fe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(fe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(fe.props),Object.freeze(fe)),fe};function Zt(a,d,_){var C,F={},ne=null,Z=null,fe=null,Ce=null;if(d!=null){Ze(d)&&(Z=d.ref,Nt(d)),ot(d)&&($(d.key),ne=""+d.key),fe=d.__self===void 0?null:d.__self,Ce=d.__source===void 0?null:d.__source;for(C in d)Ne.call(d,C)&&!ye.hasOwnProperty(C)&&(F[C]=d[C])}var Ie=arguments.length-2;if(Ie===1)F.children=_;else if(Ie>1){for(var Fe=Array(Ie),Be=0;Be<Ie;Be++)Fe[Be]=arguments[Be+2];Object.freeze&&Object.freeze(Fe),F.children=Fe}if(a&&a.defaultProps){var Ue=a.defaultProps;for(C in Ue)F[C]===void 0&&(F[C]=Ue[C])}if(ne||Z){var Ke=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&yt(F,Ke),Z&&Ut(F,Ke)}return _t(a,ne,Z,fe,Ce,z.current,F)}function hr(a,d){var _=_t(a.type,d,a.ref,a._self,a._source,a._owner,a.props);return _}function pr(a,d,_){if(a==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var C,F=g({},a.props),ne=a.key,Z=a.ref,fe=a._self,Ce=a._source,Ie=a._owner;if(d!=null){Ze(d)&&(Z=d.ref,Ie=z.current),ot(d)&&($(d.key),ne=""+d.key);var Fe;a.type&&a.type.defaultProps&&(Fe=a.type.defaultProps);for(C in d)Ne.call(d,C)&&!ye.hasOwnProperty(C)&&(d[C]===void 0&&Fe!==void 0?F[C]=Fe[C]:F[C]=d[C])}var Be=arguments.length-2;if(Be===1)F.children=_;else if(Be>1){for(var Ue=Array(Be),Ke=0;Ke<Be;Ke++)Ue[Ke]=arguments[Ke+2];F.children=Ue}return _t(a.type,ne,Z,fe,Ce,Ie,F)}function tt(a){return typeof a=="object"&&a!==null&&a.$$typeof===n}var wt=".",gr=":";function At(a){var d=/[=:]/g,_={"=":"=0",":":"=2"},C=a.replace(d,function(F){return _[F]});return"$"+C}var Et=!1,st=/\/+/g;function Je(a){return a.replace(st,"$&/")}function ft(a,d){return typeof a=="object"&&a!==null&&a.key!=null?($(a.key),At(""+a.key)):d.toString(36)}function Qe(a,d,_,C,F){var ne=typeof a;(ne==="undefined"||ne==="boolean")&&(a=null);var Z=!1;if(a===null)Z=!0;else switch(ne){case"string":case"number":Z=!0;break;case"object":switch(a.$$typeof){case n:case i:Z=!0}}if(Z){var fe=a,Ce=F(fe),Ie=C===""?wt+ft(fe,0):C;if(ut(Ce)){var Fe="";Ie!=null&&(Fe=Je(Ie)+"/"),Qe(Ce,d,Fe,"",function(pd){return pd})}else Ce!=null&&(tt(Ce)&&(Ce.key&&(!fe||fe.key!==Ce.key)&&$(Ce.key),Ce=hr(Ce,_+(Ce.key&&(!fe||fe.key!==Ce.key)?Je(""+Ce.key)+"/":"")+Ie)),d.push(Ce));return 1}var Be,Ue,Ke=0,at=C===""?wt:C+gr;if(ut(a))for(var Un=0;Un<a.length;Un++)Be=a[Un],Ue=at+ft(Be,Un),Ke+=Qe(Be,d,_,Ue,F);else{var Na=U(a);if(typeof Na=="function"){var ss=a;Na===ss.entries&&(Et||te("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Et=!0);for(var md=Na.call(ss),ls,hd=0;!(ls=md.next()).done;)Be=ls.value,Ue=at+ft(Be,hd++),Ke+=Qe(Be,d,_,Ue,F)}else if(ne==="object"){var us=String(a);throw new Error("Objects are not valid as a React child (found: "+(us==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":us)+"). If you meant to render a collection of children, use an array instead.")}}return Ke}function St(a,d,_){if(a==null)return a;var C=[],F=0;return Qe(a,C,"","",function(ne){return d.call(_,ne,F++)}),C}function Jt(a){var d=0;return St(a,function(){d++}),d}function Qt(a,d,_){St(a,function(){d.apply(this,arguments)},_)}function er(a){return St(a,function(d){return d})||[]}function Wt(a){if(!tt(a))throw new Error("React.Children.only expected to receive a single React element child.");return a}function it(a){var d={$$typeof:m,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};d.Provider={$$typeof:h,_context:d};var _=!1,C=!1,F=!1;{var ne={$$typeof:m,_context:d};Object.defineProperties(ne,{Provider:{get:function(){return C||(C=!0,V("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),d.Provider},set:function(Z){d.Provider=Z}},_currentValue:{get:function(){return d._currentValue},set:function(Z){d._currentValue=Z}},_currentValue2:{get:function(){return d._currentValue2},set:function(Z){d._currentValue2=Z}},_threadCount:{get:function(){return d._threadCount},set:function(Z){d._threadCount=Z}},Consumer:{get:function(){return _||(_=!0,V("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),d.Consumer}},displayName:{get:function(){return d.displayName},set:function(Z){F||(te("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Z),F=!0)}}}),d.Consumer=ne}return d._currentRenderer=null,d._currentRenderer2=null,d}var Ct=-1,Pt=0,Dt=1,tr=2;function xr(a){if(a._status===Ct){var d=a._result,_=d();if(_.then(function(ne){if(a._status===Pt||a._status===Ct){var Z=a;Z._status=Dt,Z._result=ne}},function(ne){if(a._status===Pt||a._status===Ct){var Z=a;Z._status=tr,Z._result=ne}}),a._status===Ct){var C=a;C._status=Pt,C._result=_}}if(a._status===Dt){var F=a._result;return F===void 0&&V(`lazy: Expected the result of a dynamic import() call. Instead received: %s
35
-
36
- Your code should look like:
37
- const MyComponent = lazy(() => import('./MyComponent'))
38
-
39
- Did you accidentally put curly braces around the import?`,F),"default"in F||V(`lazy: Expected the result of a dynamic import() call. Instead received: %s
40
-
41
- Your code should look like:
42
- const MyComponent = lazy(() => import('./MyComponent'))`,F),F.default}else throw a._result}function vt(a){var d={_status:Ct,_result:a},_={$$typeof:k,_payload:d,_init:xr};{var C,F;Object.defineProperties(_,{defaultProps:{configurable:!0,get:function(){return C},set:function(ne){V("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),C=ne,Object.defineProperty(_,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return F},set:function(ne){V("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),F=ne,Object.defineProperty(_,"propTypes",{enumerable:!0})}}})}return _}function br(a){a!=null&&a.$$typeof===R?V("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?V("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&V("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&V("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var d={$$typeof:y,render:a};{var _;Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return _},set:function(C){_=C,!a.name&&!a.displayName&&(a.displayName=C)}})}return d}var v;v=Symbol.for("react.module.reference");function l(a){return!!(typeof a=="string"||typeof a=="function"||a===s||a===c||Oe||a===u||a===x||a===j||De||a===T||Pe||He||Xe||typeof a=="object"&&a!==null&&(a.$$typeof===k||a.$$typeof===R||a.$$typeof===h||a.$$typeof===m||a.$$typeof===y||a.$$typeof===v||a.getModuleId!==void 0))}function b(a,d){l(a)||V("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a);var _={$$typeof:R,type:a,compare:d===void 0?null:d};{var C;Object.defineProperty(_,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(F){C=F,!a.name&&!a.displayName&&(a.displayName=F)}})}return _}function S(){var a=I.current;return a===null&&V(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
43
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
44
- 2. You might be breaking the Rules of Hooks
45
- 3. You might have more than one copy of React in the same app
46
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}function B(a){var d=S();if(a._context!==void 0){var _=a._context;_.Consumer===a?V("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):_.Provider===a&&V("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return d.useContext(a)}function ee(a){var d=S();return d.useState(a)}function q(a,d,_){var C=S();return C.useReducer(a,d,_)}function H(a){var d=S();return d.useRef(a)}function re(a,d){var _=S();return _.useEffect(a,d)}function he(a,d){var _=S();return _.useInsertionEffect(a,d)}function se(a,d){var _=S();return _.useLayoutEffect(a,d)}function xe(a,d){var _=S();return _.useCallback(a,d)}function Ve(a,d){var _=S();return _.useMemo(a,d)}function Ye(a,d,_){var C=S();return C.useImperativeHandle(a,d,_)}function Ae(a,d){{var _=S();return _.useDebugValue(a,d)}}function Ge(){var a=S();return a.useTransition()}function mt(a){var d=S();return d.useDeferredValue(a)}function rr(){var a=S();return a.useId()}function Xr(a,d,_){var C=S();return C.useSyncExternalStore(a,d,_)}var yr=0,Tn,qr,On,kn,Nn,An,Pn;function Dn(){}Dn.__reactDisabledLog=!0;function wa(){{if(yr===0){Tn=console.log,qr=console.info,On=console.warn,kn=console.error,Nn=console.group,An=console.groupCollapsed,Pn=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Dn,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}yr++}}function Ea(){{if(yr--,yr===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},a,{value:Tn}),info:g({},a,{value:qr}),warn:g({},a,{value:On}),error:g({},a,{value:kn}),group:g({},a,{value:Nn}),groupCollapsed:g({},a,{value:An}),groupEnd:g({},a,{value:Pn})})}yr<0&&V("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Zr=je.ReactCurrentDispatcher,Jr;function $t(a,d,_){{if(Jr===void 0)try{throw Error()}catch(F){var C=F.stack.trim().match(/\n( *(at )?)/);Jr=C&&C[1]||""}return`
47
- `+Jr+a}}var _r=!1,Nr;{var Sa=typeof WeakMap=="function"?WeakMap:Map;Nr=new Sa}function Qr(a,d){if(!a||_r)return"";{var _=Nr.get(a);if(_!==void 0)return _}var C;_r=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=Zr.current,Zr.current=null,wa();try{if(d){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(at){C=at}Reflect.construct(a,[],Z)}else{try{Z.call()}catch(at){C=at}a.call(Z.prototype)}}else{try{throw Error()}catch(at){C=at}a()}}catch(at){if(at&&C&&typeof at.stack=="string"){for(var fe=at.stack.split(`
48
- `),Ce=C.stack.split(`
49
- `),Ie=fe.length-1,Fe=Ce.length-1;Ie>=1&&Fe>=0&&fe[Ie]!==Ce[Fe];)Fe--;for(;Ie>=1&&Fe>=0;Ie--,Fe--)if(fe[Ie]!==Ce[Fe]){if(Ie!==1||Fe!==1)do if(Ie--,Fe--,Fe<0||fe[Ie]!==Ce[Fe]){var Be=`
50
- `+fe[Ie].replace(" at new "," at ");return a.displayName&&Be.includes("<anonymous>")&&(Be=Be.replace("<anonymous>",a.displayName)),typeof a=="function"&&Nr.set(a,Be),Be}while(Ie>=1&&Fe>=0);break}}}finally{_r=!1,Zr.current=ne,Ea(),Error.prepareStackTrace=F}var Ue=a?a.displayName||a.name:"",Ke=Ue?$t(Ue):"";return typeof a=="function"&&Nr.set(a,Ke),Ke}function Ca(a,d,_){return Qr(a,!1)}function ja(a){var d=a.prototype;return!!(d&&d.isReactComponent)}function Ar(a,d,_){if(a==null)return"";if(typeof a=="function")return Qr(a,ja(a));if(typeof a=="string")return $t(a);switch(a){case x:return $t("Suspense");case j:return $t("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case y:return Ca(a.render);case R:return Ar(a.type,d,_);case k:{var C=a,F=C._payload,ne=C._init;try{return Ar(ne(F),d,_)}catch{}}}return""}var en={},In=je.ReactDebugCurrentFrame;function Pr(a){if(a){var d=a._owner,_=Ar(a.type,a._source,d?d.type:null);In.setExtraStackFrame(_)}else In.setExtraStackFrame(null)}function Ra(a,d,_,C,F){{var ne=Function.call.bind(Ne);for(var Z in a)if(ne(a,Z)){var fe=void 0;try{if(typeof a[Z]!="function"){var Ce=Error((C||"React class")+": "+_+" type `"+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[Z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ce.name="Invariant Violation",Ce}fe=a[Z](d,Z,C,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ie){fe=Ie}fe&&!(fe instanceof Error)&&(Pr(F),V("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",_,Z,typeof fe),Pr(null)),fe instanceof Error&&!(fe.message in en)&&(en[fe.message]=!0,Pr(F),V("Failed %s type: %s",_,fe.message),Pr(null))}}}function It(a){if(a){var d=a._owner,_=Ar(a.type,a._source,d?d.type:null);de(_)}else de(null)}var tn;tn=!1;function Ln(){if(z.current){var a=ue(z.current.type);if(a)return`
51
-
52
- Check the render method of \``+a+"`."}return""}function Ta(a){if(a!==void 0){var d=a.fileName.replace(/^.*[\\\/]/,""),_=a.lineNumber;return`
53
-
54
- Check your code at `+d+":"+_+"."}return""}function Dr(a){return a!=null?Ta(a.__source):""}var Ir={};function rn(a){var d=Ln();if(!d){var _=typeof a=="string"?a:a.displayName||a.name;_&&(d=`
55
-
56
- Check the top-level render call using <`+_+">.")}return d}function Lr(a,d){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var _=rn(d);if(!Ir[_]){Ir[_]=!0;var C="";a&&a._owner&&a._owner!==z.current&&(C=" It was passed a child from "+ue(a._owner.type)+"."),It(a),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,C),It(null)}}}function Mn(a,d){if(typeof a=="object"){if(ut(a))for(var _=0;_<a.length;_++){var C=a[_];tt(C)&&Lr(C,d)}else if(tt(a))a._store&&(a._store.validated=!0);else if(a){var F=U(a);if(typeof F=="function"&&F!==a.entries)for(var ne=F.call(a),Z;!(Z=ne.next()).done;)tt(Z.value)&&Lr(Z.value,d)}}}function nn(a){{var d=a.type;if(d==null||typeof d=="string")return;var _;if(typeof d=="function")_=d.propTypes;else if(typeof d=="object"&&(d.$$typeof===y||d.$$typeof===R))_=d.propTypes;else return;if(_){var C=ue(d);Ra(_,a.props,"prop",C,a)}else if(d.PropTypes!==void 0&&!tn){tn=!0;var F=ue(d);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof d.getDefaultProps=="function"&&!d.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function an(a){{for(var d=Object.keys(a.props),_=0;_<d.length;_++){var C=d[_];if(C!=="children"&&C!=="key"){It(a),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),It(null);break}}a.ref!==null&&(It(a),V("Invalid attribute `ref` supplied to `React.Fragment`."),It(null))}}function on(a,d,_){var C=l(a);if(!C){var F="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ne=Dr(d);ne?F+=ne:F+=Ln();var Z;a===null?Z="null":ut(a)?Z="array":a!==void 0&&a.$$typeof===n?(Z="<"+(ue(a.type)||"Unknown")+" />",F=" Did you accidentally export a JSX literal instead of a component?"):Z=typeof a,V("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Z,F)}var fe=Zt.apply(this,arguments);if(fe==null)return fe;if(C)for(var Ce=2;Ce<arguments.length;Ce++)Mn(arguments[Ce],a);return a===s?an(fe):nn(fe),fe}var Lt=!1;function wr(a){var d=on.bind(null,a);return d.type=a,Lt||(Lt=!0,te("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(d,"type",{enumerable:!1,get:function(){return te("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),d}function Oa(a,d,_){for(var C=pr.apply(this,arguments),F=2;F<arguments.length;F++)Mn(arguments[F],C.type);return nn(C),C}function Fn(a,d){var _=K.transition;K.transition={};var C=K.transition;K.transition._updatedFibers=new Set;try{a()}finally{if(K.transition=_,_===null&&C._updatedFibers){var F=C._updatedFibers.size;F>10&&te("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),C._updatedFibers.clear()}}}var Bn=!1,Er=null;function ka(a){if(Er===null)try{var d=("require"+Math.random()).slice(0,7),_=t&&t[d];Er=_.call(t,"timers").setImmediate}catch{Er=function(F){Bn===!1&&(Bn=!0,typeof MessageChannel>"u"&&V("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ne=new MessageChannel;ne.port1.onmessage=F,ne.port2.postMessage(void 0)}}return Er(a)}var nr=0,sn=!1;function Vn(a){{var d=nr;nr++,Y.current===null&&(Y.current=[]);var _=Y.isBatchingLegacy,C;try{if(Y.isBatchingLegacy=!0,C=a(),!_&&Y.didScheduleLegacyUpdate){var F=Y.current;F!==null&&(Y.didScheduleLegacyUpdate=!1,Q(F))}}catch(Ue){throw f(d),Ue}finally{Y.isBatchingLegacy=_}if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var ne=C,Z=!1,fe={then:function(Ue,Ke){Z=!0,ne.then(function(at){f(d),nr===0?p(at,Ue,Ke):Ue(at)},function(at){f(d),Ke(at)})}};return!sn&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Z||(sn=!0,V("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),fe}else{var Ce=C;if(f(d),nr===0){var Ie=Y.current;Ie!==null&&(Q(Ie),Y.current=null);var Fe={then:function(Ue,Ke){Y.current===null?(Y.current=[],p(Ce,Ue,Ke)):Ue(Ce)}};return Fe}else{var Be={then:function(Ue,Ke){Ue(Ce)}};return Be}}}}function f(a){a!==nr-1&&V("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),nr=a}function p(a,d,_){{var C=Y.current;if(C!==null)try{Q(C),ka(function(){C.length===0?(Y.current=null,d(a)):p(a,d,_)})}catch(F){_(F)}else d(a)}}var w=!1;function Q(a){if(!w){w=!0;var d=0;try{for(;d<a.length;d++){var _=a[d];do _=_(!0);while(_!==null)}a.length=0}catch(C){throw a=a.slice(d+1),C}finally{w=!1}}}var _e=on,ke=Oa,Le=wr,Re={map:St,forEach:Qt,count:Jt,toArray:er,only:Wt};e.Children=Re,e.Component=oe,e.Fragment=s,e.Profiler=c,e.PureComponent=be,e.StrictMode=u,e.Suspense=x,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=je,e.act=Vn,e.cloneElement=ke,e.createContext=it,e.createElement=_e,e.createFactory=Le,e.createRef=Me,e.forwardRef=br,e.isValidElement=tt,e.lazy=vt,e.memo=b,e.startTransition=Fn,e.unstable_act=Vn,e.useCallback=xe,e.useContext=B,e.useDebugValue=Ae,e.useDeferredValue=mt,e.useEffect=re,e.useId=rr,e.useImperativeHandle=Ye,e.useInsertionEffect=he,e.useLayoutEffect=se,e.useMemo=Ve,e.useReducer=q,e.useRef=H,e.useState=ee,e.useSyncExternalStore=Xr,e.useTransition=Ge,e.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}}),Ka=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"(e,t){process.env.NODE_ENV==="production"?t.exports=Hs():t.exports=Gs()}}),Ys=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js"(e){var t=Ka(),r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(h,m,y){var x,j={},R=null,k=null;y!==void 0&&(R=""+y),m.key!==void 0&&(R=""+m.key),m.ref!==void 0&&(k=m.ref);for(x in m)i.call(m,x)&&!u.hasOwnProperty(x)&&(j[x]=m[x]);if(h&&h.defaultProps)for(x in m=h.defaultProps,m)j[x]===void 0&&(j[x]=m[x]);return{$$typeof:r,type:h,key:R,ref:k,props:j,_owner:s.current}}e.Fragment=n,e.jsx=c,e.jsxs=c}}),zs=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js"(e){process.env.NODE_ENV!=="production"&&function(){var t=Ka(),r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),T=Symbol.iterator,A="@@iterator";function P(l){if(l===null||typeof l!="object")return null;var b=T&&l[T]||l[A];return typeof b=="function"?b:null}var U=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(l){{for(var b=arguments.length,S=new Array(b>1?b-1:0),B=1;B<b;B++)S[B-1]=arguments[B];K("error",l,S)}}function K(l,b,S){{var B=U.ReactDebugCurrentFrame,ee=B.getStackAddendum();ee!==""&&(b+="%s",S=S.concat([ee]));var q=S.map(function(H){return String(H)});q.unshift("Warning: "+b),Function.prototype.apply.call(console[l],console,q)}}var Y=!1,z=!1,W=!1,G=!1,de=!1,Pe;Pe=Symbol.for("react.module.reference");function He(l){return!!(typeof l=="string"||typeof l=="function"||l===i||l===u||de||l===s||l===y||l===x||G||l===k||Y||z||W||typeof l=="object"&&l!==null&&(l.$$typeof===R||l.$$typeof===j||l.$$typeof===c||l.$$typeof===h||l.$$typeof===m||l.$$typeof===Pe||l.getModuleId!==void 0))}function Xe(l,b,S){var B=l.displayName;if(B)return B;var ee=b.displayName||b.name||"";return ee!==""?S+"("+ee+")":S}function De(l){return l.displayName||"Context"}function Oe(l){if(l==null)return null;if(typeof l.tag=="number"&&I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case i:return"Fragment";case n:return"Portal";case u:return"Profiler";case s:return"StrictMode";case y:return"Suspense";case x:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case h:var b=l;return De(b)+".Consumer";case c:var S=l;return De(S._context)+".Provider";case m:return Xe(l,l.render,"ForwardRef");case j:var B=l.displayName||null;return B!==null?B:Oe(l.type)||"Memo";case R:{var ee=l,q=ee._payload,H=ee._init;try{return Oe(H(q))}catch{return null}}}return null}var je=Object.assign,te=0,V,ae,we,Te,Ee,g,O;function oe(){}oe.__reactDisabledLog=!0;function ve(){{if(te===0){V=console.log,ae=console.info,we=console.warn,Te=console.error,Ee=console.group,g=console.groupCollapsed,O=console.groupEnd;var l={configurable:!0,enumerable:!0,value:oe,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}te++}}function le(){{if(te--,te===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:je({},l,{value:V}),info:je({},l,{value:ae}),warn:je({},l,{value:we}),error:je({},l,{value:Te}),group:je({},l,{value:Ee}),groupCollapsed:je({},l,{value:g}),groupEnd:je({},l,{value:O})})}te<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ge=U.ReactCurrentDispatcher,me;function be(l,b,S){{if(me===void 0)try{throw Error()}catch(ee){var B=ee.stack.trim().match(/\n( *(at )?)/);me=B&&B[1]||""}return`
57
- `+me+l}}var pe=!1,Me;{var bt=typeof WeakMap=="function"?WeakMap:Map;Me=new bt}function ut(l,b){if(!l||pe)return"";{var S=Me.get(l);if(S!==void 0)return S}var B;pe=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var q;q=ge.current,ge.current=null,ve();try{if(b){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(Ge){B=Ge}Reflect.construct(l,[],H)}else{try{H.call()}catch(Ge){B=Ge}l.call(H.prototype)}}else{try{throw Error()}catch(Ge){B=Ge}l()}}catch(Ge){if(Ge&&B&&typeof Ge.stack=="string"){for(var re=Ge.stack.split(`
58
- `),he=B.stack.split(`
59
- `),se=re.length-1,xe=he.length-1;se>=1&&xe>=0&&re[se]!==he[xe];)xe--;for(;se>=1&&xe>=0;se--,xe--)if(re[se]!==he[xe]){if(se!==1||xe!==1)do if(se--,xe--,xe<0||re[se]!==he[xe]){var Ve=`
60
- `+re[se].replace(" at new "," at ");return l.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",l.displayName)),typeof l=="function"&&Me.set(l,Ve),Ve}while(se>=1&&xe>=0);break}}}finally{pe=!1,ge.current=q,le(),Error.prepareStackTrace=ee}var Ye=l?l.displayName||l.name:"",Ae=Ye?be(Ye):"";return typeof l=="function"&&Me.set(l,Ae),Ae}function Vt(l,b,S){return ut(l,!1)}function ct(l){var b=l.prototype;return!!(b&&b.isReactComponent)}function nt(l,b,S){if(l==null)return"";if(typeof l=="function")return ut(l,ct(l));if(typeof l=="string")return be(l);switch(l){case y:return be("Suspense");case x:return be("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case m:return Vt(l.render);case j:return nt(l.type,b,S);case R:{var B=l,ee=B._payload,q=B._init;try{return nt(q(ee),b,S)}catch{}}}return""}var $=Object.prototype.hasOwnProperty,X={},ie=U.ReactDebugCurrentFrame;function ue(l){if(l){var b=l._owner,S=nt(l.type,l._source,b?b.type:null);ie.setExtraStackFrame(S)}else ie.setExtraStackFrame(null)}function Ne(l,b,S,B,ee){{var q=Function.call.bind($);for(var H in l)if(q(l,H)){var re=void 0;try{if(typeof l[H]!="function"){var he=Error((B||"React class")+": "+S+" type `"+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[H]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw he.name="Invariant Violation",he}re=l[H](b,H,B,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(se){re=se}re&&!(re instanceof Error)&&(ue(ee),I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",B||"React class",S,H,typeof re),ue(null)),re instanceof Error&&!(re.message in X)&&(X[re.message]=!0,ue(ee),I("Failed %s type: %s",S,re.message),ue(null))}}}var ye=Array.isArray;function ce(l){return ye(l)}function qe(l){{var b=typeof Symbol=="function"&&Symbol.toStringTag,S=b&&l[Symbol.toStringTag]||l.constructor.name||"Object";return S}}function ze(l){try{return Ze(l),!1}catch{return!0}}function Ze(l){return""+l}function ot(l){if(ze(l))return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(l)),Ze(l)}var yt=U.ReactCurrentOwner,Ut={key:!0,ref:!0,__self:!0,__source:!0},Nt,_t;function Zt(l){if($.call(l,"ref")){var b=Object.getOwnPropertyDescriptor(l,"ref").get;if(b&&b.isReactWarning)return!1}return l.ref!==void 0}function hr(l){if($.call(l,"key")){var b=Object.getOwnPropertyDescriptor(l,"key").get;if(b&&b.isReactWarning)return!1}return l.key!==void 0}function pr(l,b){typeof l.ref=="string"&&yt.current}function tt(l,b){{var S=function(){Nt||(Nt=!0,I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};S.isReactWarning=!0,Object.defineProperty(l,"key",{get:S,configurable:!0})}}function wt(l,b){{var S=function(){_t||(_t=!0,I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};S.isReactWarning=!0,Object.defineProperty(l,"ref",{get:S,configurable:!0})}}var gr=function(l,b,S,B,ee,q,H){var re={$$typeof:r,type:l,key:b,ref:S,props:H,_owner:q};return re._store={},Object.defineProperty(re._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(re,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(re,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.freeze&&(Object.freeze(re.props),Object.freeze(re)),re};function At(l,b,S,B,ee){{var q,H={},re=null,he=null;S!==void 0&&(ot(S),re=""+S),hr(b)&&(ot(b.key),re=""+b.key),Zt(b)&&(he=b.ref,pr(b,ee));for(q in b)$.call(b,q)&&!Ut.hasOwnProperty(q)&&(H[q]=b[q]);if(l&&l.defaultProps){var se=l.defaultProps;for(q in se)H[q]===void 0&&(H[q]=se[q])}if(re||he){var xe=typeof l=="function"?l.displayName||l.name||"Unknown":l;re&&tt(H,xe),he&&wt(H,xe)}return gr(l,re,he,ee,B,yt.current,H)}}var Et=U.ReactCurrentOwner,st=U.ReactDebugCurrentFrame;function Je(l){if(l){var b=l._owner,S=nt(l.type,l._source,b?b.type:null);st.setExtraStackFrame(S)}else st.setExtraStackFrame(null)}var ft;ft=!1;function Qe(l){return typeof l=="object"&&l!==null&&l.$$typeof===r}function St(){{if(Et.current){var l=Oe(Et.current.type);if(l)return`
61
-
62
- Check the render method of \``+l+"`."}return""}}function Jt(l){return""}var Qt={};function er(l){{var b=St();if(!b){var S=typeof l=="string"?l:l.displayName||l.name;S&&(b=`
63
-
64
- Check the top-level render call using <`+S+">.")}return b}}function Wt(l,b){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var S=er(b);if(Qt[S])return;Qt[S]=!0;var B="";l&&l._owner&&l._owner!==Et.current&&(B=" It was passed a child from "+Oe(l._owner.type)+"."),Je(l),I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',S,B),Je(null)}}function it(l,b){{if(typeof l!="object")return;if(ce(l))for(var S=0;S<l.length;S++){var B=l[S];Qe(B)&&Wt(B,b)}else if(Qe(l))l._store&&(l._store.validated=!0);else if(l){var ee=P(l);if(typeof ee=="function"&&ee!==l.entries)for(var q=ee.call(l),H;!(H=q.next()).done;)Qe(H.value)&&Wt(H.value,b)}}}function Ct(l){{var b=l.type;if(b==null||typeof b=="string")return;var S;if(typeof b=="function")S=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===m||b.$$typeof===j))S=b.propTypes;else return;if(S){var B=Oe(b);Ne(S,l.props,"prop",B,l)}else if(b.PropTypes!==void 0&&!ft){ft=!0;var ee=Oe(b);I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ee||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pt(l){{for(var b=Object.keys(l.props),S=0;S<b.length;S++){var B=b[S];if(B!=="children"&&B!=="key"){Je(l),I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),Je(null);break}}l.ref!==null&&(Je(l),I("Invalid attribute `ref` supplied to `React.Fragment`."),Je(null))}}var Dt={};function tr(l,b,S,B,ee,q){{var H=He(l);if(!H){var re="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).length===0)&&(re+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var he=Jt();he?re+=he:re+=St();var se;l===null?se="null":ce(l)?se="array":l!==void 0&&l.$$typeof===r?(se="<"+(Oe(l.type)||"Unknown")+" />",re=" Did you accidentally export a JSX literal instead of a component?"):se=typeof l,I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",se,re)}var xe=At(l,b,S,ee,q);if(xe==null)return xe;if(H){var Ve=b.children;if(Ve!==void 0)if(B)if(ce(Ve)){for(var Ye=0;Ye<Ve.length;Ye++)it(Ve[Ye],l);Object.freeze&&Object.freeze(Ve)}else I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else it(Ve,l)}if($.call(b,"key")){var Ae=Oe(l),Ge=Object.keys(b).filter(function(Xr){return Xr!=="key"}),mt=Ge.length>0?"{key: someKey, "+Ge.join(": ..., ")+": ...}":"{key: someKey}";if(!Dt[Ae+mt]){var rr=Ge.length>0?"{"+Ge.join(": ..., ")+": ...}":"{}";I(`A props object containing a "key" prop is being spread into JSX:
65
- let props = %s;
66
- <%s {...props} />
67
- React keys must be passed directly to JSX without using spread:
68
- let props = %s;
69
- <%s key={someKey} {...props} />`,mt,Ae,rr,Ae),Dt[Ae+mt]=!0}}return l===i?Pt(xe):Ct(xe),xe}}function xr(l,b,S){return tr(l,b,S,!0)}function vt(l,b,S){return tr(l,b,S,!1)}var br=vt,v=xr;e.Fragment=i,e.jsx=br,e.jsxs=v}()}}),M=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"(e,t){process.env.NODE_ENV==="production"?t.exports=Ys():t.exports=zs()}});L(M()),L(M()),L(M());var Xa=L(M());function qa(e){return(0,Xa.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Xa.jsx)("path",{fill:"currentColor",d:"M4 12.004a1 1 0 0 0 .293.703l6 6a1 1 0 0 0 1.414-1.414L7.414 13H19a1 1 0 1 0 0-2H7.414l4.293-4.293a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 0 0-.293.705z"})})}L(M());var Za=L(M());function Ks(e){return(0,Za.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Za.jsx)("path",{fill:"currentColor",d:"M11.45 15.335a1 1 0 0 0 1.257-.128l5-5a1 1 0 0 0-1.414-1.414L12 13.086 7.707 8.793a1 1 0 0 0-1.414 1.414l5 5a1 1 0 0 0 .157.128"})})}L(M());var Ja=L(M());function Xs(e){return(0,Ja.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Ja.jsx)("path",{fill:"currentColor",d:"M8.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L10.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})})}var Qa=L(M());function Yn(e){return(0,Qa.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Qa.jsx)("path",{fill:"currentColor",d:"m10.707 6.293 5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414-1.414L13.586 12 9.293 7.707a1 1 0 0 1 1.414-1.414"})})}var ei=L(M());function qs(e){return(0,ei.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ei.jsx)("path",{fill:"currentColor",d:"M17.483 6.29a1 1 0 0 0-.705-.29h-8.07a1 1 0 1 0 0 2h5.656l-8.071 8.071a1 1 0 1 0 1.414 1.414l8.071-8.07v5.656a1 1 0 1 0 2 0v-8.07a1 1 0 0 0-.291-.706l-.002-.002z"})})}L(M()),L(M()),L(M());var ti=L(M());function Zs(e){return(0,ti.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ti.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.26 13.845 5.95-5.95a.994.994 0 0 1 1.405-.008.994.994 0 0 1-.008 1.406L10.95 15.95a.994.994 0 0 1-1.406.008l-2.846-2.845a.994.994 0 0 1 .01-1.406.994.994 0 0 1 1.405-.009z",clipRule:"evenodd"})})}var ri=L(M());function Js(e){return(0,ri.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ri.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m4.21-14.104-5.95 5.95-2.147-2.148a.994.994 0 0 0-1.406.009.994.994 0 0 0-.009 1.405l2.846 2.846a.994.994 0 0 0 1.406-.008l6.657-6.657a.994.994 0 0 0 .008-1.406.994.994 0 0 0-1.405.009",clipRule:"evenodd"})})}L(M()),L(M());var ni=L(M());function Ur(e){return(0,ni.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ni.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 6.707a1 1 0 0 0-1.414-1.414L12 10.586 6.707 5.293a1 1 0 0 0-1.414 1.415L10.586 12l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 13.414l5.293 5.294a1 1 0 0 0 1.414-1.415L13.414 12z",clipRule:"evenodd"})})}var ai=L(M());function zn(e){return(0,ai.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ai.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v1h1a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-1H6a3 3 0 0 1-3-3zm6 12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm6-11h-5a3 3 0 0 0-3 3v5H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1z",clipRule:"evenodd"})})}L(M()),L(M());var ii=L(M());function Qs(e){return(0,ii.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ii.jsx)("rect",{width:10,height:2,x:7,y:11,fill:"currentColor",rx:1})})}L(M()),L(M()),L(M()),L(M());var Kn=L(M());function el(e){return(0,Kn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Kn.jsx)("path",{fill:"currentColor",d:"M11.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L13.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"}),(0,Kn.jsx)("path",{fill:"currentColor",d:"M5.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L7.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})]})}var Xn=L(M());function tl(e){return(0,Xn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Xn.jsx)("path",{fill:"currentColor",d:"M11.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L9.586 12 5.293 7.707a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"}),(0,Xn.jsx)("path",{fill:"currentColor",d:"M17.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L15.586 12l-4.293-4.293a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"})]})}L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M());var oi=L(M());function cn(e){return(0,oi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,oi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0-14.4A1.2 1.2 0 1 0 12 9a1.2 1.2 0 0 0 0-2.4m1.2 9a1.2 1.2 0 0 1-2.4 0V12a1.2 1.2 0 0 1 2.4 0z",clipRule:"evenodd"})})}var si=L(M());function rl(e){return(0,si.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,si.jsx)("path",{fill:"currentColor",d:"M18.27 2.259c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.259S16.302 1 17.002 1s1.268.564 1.268 1.259m1.425 17.785c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.26c0-.695.567-1.258 1.267-1.258s1.268.563 1.268 1.259m-2.33-13.379a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.057A1.06 1.06 0 0 0 16.3 5.61a1.06 1.06 0 0 0 1.064 1.056Zm3.891-.651a1.06 1.06 0 0 1-1.063 1.056 1.06 1.06 0 0 1-1.064-1.056 1.06 1.06 0 0 1 1.064-1.057 1.06 1.06 0 0 1 1.063 1.057m-4.253 3.329c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.734-.52c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9m1.357 1.777c.5 0 .906-.402.906-.899s-.405-.9-.906-.9c-.5 0-.905.403-.905.9s.405.9.905.9Zm-2.309.495a.79.79 0 0 1-.792.787.79.79 0 0 1-.791-.787c0-.434.354-.786.791-.786s.792.352.792.786m-3.62.404a.79.79 0 0 0 .792-.787.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .435.354.787.791.787m5.907.471a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.786.79.79 0 0 1 .792-.787.79.79 0 0 1 .791.787Zm-4.21 1.554c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.968.178a.68.68 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675m-5.774-.582c.375 0 .68-.302.68-.675a.68.68 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.127.943c0 .31-.254.561-.566.561a.564.564 0 0 1-.566-.562c0-.31.253-.561.566-.561s.566.251.566.562m.407 2.114a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.791-.09a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m-1.472-.765a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.973-1.64c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.251.566.562m-.588-3.666a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.562.564.564 0 0 0-.565.562c0 .31.253.562.565.562m.745-2.473a.496.496 0 0 1-.497.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494Zm.047-1.123a.406.406 0 0 0 .407-.406.406.406 0 0 0-.407-.405.407.407 0 0 0-.408.405c0 .224.182.406.408.406m-.452-1.26a.496.496 0 0 1-.498.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494m4.776 10.32a.564.564 0 0 0 .566-.561.564.564 0 0 0-.566-.562.564.564 0 0 0-.566.562c0 .31.253.562.566.562ZM12.883 4.439c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.254-.562.566-.562s.566.251.566.562m-.18 2.945a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.561.564.564 0 0 0-.566.561c0 .31.253.562.566.562m.045 1.597a.677.677 0 0 1-.68.676.68.68 0 0 1-.679-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675Zm-2.74.676a.79.79 0 0 0 .791-.786.79.79 0 0 0-.791-.787.79.79 0 0 0-.792.787c0 .434.354.786.792.786m-1.494-.36c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.406-.9.906-.9s.905.403.905.9m-3.529 2.18a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.056A1.06 1.06 0 0 0 3.92 10.42a1.06 1.06 0 0 0 1.064 1.056Zm-1.45.9c0 .696-.568 1.26-1.268 1.26S1 13.073 1 12.377c0-.695.567-1.259 1.267-1.259s1.268.564 1.268 1.26Zm.386-3.531A1.06 1.06 0 0 0 4.985 7.79 1.06 1.06 0 0 0 3.92 6.733 1.06 1.06 0 0 0 2.858 7.79 1.06 1.06 0 0 0 3.92 8.846Zm3.53-2.181c0 .497-.405.9-.906.9a.903.903 0 0 1-.905-.9c0-.496.405-.9.905-.9s.906.404.906.9M6.162 5.182c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.19-1.326a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.787c0-.434.354-.786.792-.786.437 0 .791.352.791.786m1.268.788c.375 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.68.68 0 0 0-.68.675c0 .373.304.676.68.676m1.063 1.708a.68.68 0 0 1-.68.675.677.677 0 0 1-.68-.675c0-.373.305-.675.68-.675s.68.302.68.675m-2.739.695a.79.79 0 0 0 .792-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.791.786m-1.832 5.578a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m1.221.201a.496.496 0 0 0 .497-.494.496.496 0 0 0-.497-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m2.354-1.236c0 .31-.253.562-.565.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.565.252.565.562m-.135 2.361c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.677.677 0 0 0-.68.675c0 .373.304.675.68.675m-1.608-.135c0 .31-.253.562-.566.562a.564.564 0 0 1-.565-.562c0-.31.253-.562.565-.562.313 0 .566.252.566.562m-2.488.538a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m.588.991c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.252.566.562m1.742.855c.376 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.677.677 0 0 0-.68.675c0 .373.305.676.68.676m3.484-1.08a.79.79 0 0 1-.79.786.79.79 0 0 1-.792-.786c0-.435.354-.787.791-.787s.792.352.792.787Zm.794 2.743c.5 0 .906-.402.906-.9 0-.496-.406-.899-.906-.899s-.905.403-.905.9.405.9.905.9Zm-2.536-.518a.79.79 0 0 1-.792.786.79.79 0 0 1-.792-.787.79.79 0 0 1 .792-.786.79.79 0 0 1 .792.787m-2.669 2.316a.79.79 0 0 0 .791-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.792.786m2.466 1.079c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9M13.584 22a1.06 1.06 0 0 0 1.064-1.056 1.06 1.06 0 0 0-1.064-1.057 1.06 1.06 0 0 0-1.063 1.057A1.06 1.06 0 0 0 13.584 22m-1.379-2.788c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.405-.9.905-.9s.906.403.906.9m3.123.54a1.06 1.06 0 0 0 1.063-1.057 1.06 1.06 0 0 0-1.063-1.056 1.06 1.06 0 0 0-1.064 1.056 1.06 1.06 0 0 0 1.064 1.057m-7.741-2.699a.677.677 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.305-.675.68-.675s.68.302.68.675"})})}L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M());var li=L(M());function ui(e){return(0,li.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,li.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.533 9.321A7 7 0 1 0 19 12a1 1 0 1 1 2 0 9 9 0 1 1-9-9 1 1 0 1 1 0 2 7 7 0 0 0-6.467 4.321",clipRule:"evenodd"})})}var ci=L(M());function nl(e){return(0,ci.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ci.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.176 9.577 5 11.5 5s3.482 1.176 3.482 3.104L15 11h2.018L17 8.104C17 5.285 14.31 3 11.5 3S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.817-2.15-2-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}var fi=L(M());function al(e){return(0,fi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,fi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.5 9.577 5 11.5 5S15 6.5 15 8h2c0-2.82-2.69-5-5.5-5S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.96-2.15-2.143-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}L(M());var di=L(M());function il(e){return(0,di.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,di.jsx)("path",{fill:"currentColor",d:"M21 9a1 1 0 0 1-1 1H4a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1m0 6a1 1 0 0 1-1 1H10a1 1 0 1 1 0-2h10a1 1 0 0 1 1 1"})})}L(M());var vi=L(M());function mi(e){return(0,vi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,vi.jsx)("path",{fill:"currentColor",d:"M5 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})})}L(M()),L(M()),L(M()),L(M()),L(M());var qn=L(M());function ol(e){return(0,qn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,qn.jsx)("path",{fill:"currentColor",d:"M11 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),(0,qn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 8a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v8a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6zm2 0a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v3.871a19.13 19.13 0 0 1-16 0zm0 6.051V16a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1.949a21.13 21.13 0 0 1-16 0",clipRule:"evenodd"})]})}L(M()),L(M());var hi=L(M());function pi(e){return(0,hi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,hi.jsx)("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})})}var Zn=L(M());function sl(e){return(0,Zn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Zn.jsx)("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),(0,Zn.jsx)("path",{fill:"currentColor",d:"M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"})]})}L(M()),L(M()),L(M()),L(M());var gi=L(M());function ll(e){return(0,gi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,gi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4a7 7 0 1 0 3.594 13.008l3.699 3.7a1 1 0 0 0 1.414-1.415l-3.555-3.555A7 7 0 0 0 11 4m-5 7a5 5 0 1 1 10 0 5 5 0 0 1-10 0",clipRule:"evenodd"})})}L(M()),L(M()),L(M()),L(M());var xi=L(M());function ul(e){return(0,xi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,xi.jsx)("path",{fill:"currentColor",d:"M12 6a1 1 0 0 0-1 1v9.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L13 16.586V7a1 1 0 0 0-1-1"})})}var bi=L(M());function yi(e){return(0,bi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,bi.jsx)("path",{fill:"currentColor",d:"M11.293 4.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L13 7.414V17a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414-1.414z"})})}L(M()),L(M()),L(M()),L(M());var _i=L(M());function cl(e){return(0,_i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,_i.jsx)("path",{fill:"currentColor",d:"M17.35 9c.578 0 .867.681.459 1.08l-4.85 4.735a.66.66 0 0 1-.917 0l-4.85-4.735C6.781 9.68 7.071 9 7.648 9z"})})}L(M()),L(M()),L(M()),L(M()),L(M()),L(M()),L(M());var Jn=L(M());function wi(e){return(0,Jn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Jn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.72 6.695a1 1 0 1 0-1.44-1.39l-1.518 1.572C14.601 6.348 13.331 6 12 6 8.739 6 5.843 8.092 4.017 9.805c-1.29 1.212-1.29 3.178 0 4.39a18 18 0 0 0 2.666 2.083l-1.695 1.755a1 1 0 0 0 1.438 1.39zM8.67 14.219l5.431-5.623a4 4 0 0 0-5.43 5.623Z",clipRule:"evenodd"}),(0,Jn.jsx)("path",{fill:"currentColor",d:"M16 12a4 4 0 0 1-3.975 4l-1.749 1.81c.56.122 1.136.19 1.724.19 3.26 0 6.157-2.092 7.983-3.805 1.29-1.212 1.29-3.178 0-4.39a20 20 0 0 0-1.071-.936l-2.914 3.017z"})]})}var Qn=L(M());function Ei(e){return(0,Qn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Qn.jsx)("path",{fill:"currentColor",d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),(0,Qn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.983 9.805c1.29 1.212 1.29 3.178 0 4.39C18.157 15.908 15.26 18 12 18c-3.261 0-6.157-2.092-7.983-3.805-1.29-1.212-1.29-3.178 0-4.39C5.843 8.092 8.74 6 12 6s6.157 2.092 7.983 3.805M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0",clipRule:"evenodd"})]})}L(M());/*! Bundled license information:
70
-
71
- react/cjs/react.production.min.js:
72
- (**
73
- * @license React
74
- * react.production.min.js
75
- *
76
- * Copyright (c) Facebook, Inc. and its affiliates.
77
- *
78
- * This source code is licensed under the MIT license found in the
79
- * LICENSE file in the root directory of this source tree.
80
- *)
81
-
82
- react/cjs/react.development.js:
83
- (**
84
- * @license React
85
- * react.development.js
86
- *
87
- * Copyright (c) Facebook, Inc. and its affiliates.
88
- *
89
- * This source code is licensed under the MIT license found in the
90
- * LICENSE file in the root directory of this source tree.
91
- *)
92
-
93
- react/cjs/react-jsx-runtime.production.min.js:
94
- (**
95
- * @license React
96
- * react-jsx-runtime.production.min.js
97
- *
98
- * Copyright (c) Facebook, Inc. and its affiliates.
99
- *
100
- * This source code is licensed under the MIT license found in the
101
- * LICENSE file in the root directory of this source tree.
102
- *)
103
-
104
- react/cjs/react-jsx-runtime.development.js:
105
- (**
106
- * @license React
107
- * react-jsx-runtime.development.js
108
- *
109
- * Copyright (c) Facebook, Inc. and its affiliates.
110
- *
111
- * This source code is licensed under the MIT license found in the
112
- * LICENSE file in the root directory of this source tree.
113
- *)
114
- */function fl({label:e,isChecked:t,isDisabled:r,onChange:n}){const i=t?sl:pi;return o.jsxs("label",{className:N("group flex flex-row gap-x-1 text-center",{disabled:r,"cursor-pointer":!r}),children:[o.jsxs("div",{className:N("relative flex h-10 w-10 items-center justify-center rounded-full",{"state-layer":!r}),children:[o.jsx("input",{type:"radio",checked:t,onChange:n,disabled:r,className:N("peer appearance-none disabled:opacity-40")}),o.jsx("span",{className:`absolute
115
- text-neutral-40 peer-checked:text-primary-30 peer-disabled:opacity-40 peer-checked:peer-disabled:text-neutral-40 dark:text-neutral-60 dark:peer-checked:peer-disabled:text-neutral-40 [&_svg]:h-6 [&_svg]:w-6
116
- `,children:o.jsx(i,{})})]}),o.jsx("span",{className:"inline-flex items-center justify-center text-label-lg text-neutral-40 group-[.disabled]:text-opacity-40 dark:text-neutral-60 group-[.disabled]:dark:text-opacity-40",children:e})]})}const dl="bg-transparent",vl="bg-primary-100 dark:bg-neutral-6",ml="text-neutral-60 dark:text-neutral-40 enabled:hover:text-neutral-40 enabled:dark:hover:text-neutral-60 enabled:focused:text-neutral-40 enabled:dark:focused:text-neutral-60",hl="text-neutral-10 dark:text-neutral-92",pl=`
117
- relative
118
- before:content-['']
119
- border-b
120
- border-shader-neutral-light-8
121
- dark:border-shader-neutral-dark-8
122
- before:block
123
- before:w-full
124
- before:border-b
125
- before:absolute
126
- before:bottom-[-0.8px]
127
- before:left-0
128
- enabled:before:w-[calc(100%-16px)]
129
- enabled:before:left-2
130
- enabled:before:border-primary-30
131
- enabled:before:dark:border-primary-80`,gl=`
132
- relative
133
- before:content-['']
134
- before:block
135
- before:w-full
136
- before:border-b
137
- before:border-shader-neutral-light-8
138
- before:dark:border-shader-neutral-dark-8
139
- before:absolute
140
- before:bottom-0
141
- before:left-0
142
- hover:before:w-[calc(100%-16px)]
143
- hover:before:left-2
144
- hover:before:border-neutral-70
145
- hover:before:dark:border-neutral-40`;var ir=(e=>(e.Rounded="rounded",e.Underlined="underlined",e))(ir||{});function xl({icon:e,label:t,selected:r,disabled:n,onClick:i,type:s=ir.Rounded,isNested:u=!1}){const c=s===ir.Underlined,h=r?c?"bg-transparent":vl:dl,m=c?r?pl:gl:"",y=r?hl:ml,x=c?u?"px-md py-sm":"px-lg py-md":"px-sm py-[6px]",j=c?"":"rounded-full",R=u?c?"text-title-sm":"text-label-md":c?"text-title-md":"text-label-lg";return o.jsx(rt,{onClick:i,className:N("enabled:state-layer relative flex items-center disabled:opacity-40",h,y,x,j,m,{"pl-xs":!!e&&!c}),disabled:n,children:o.jsxs("div",{className:N("flex flex-row items-center justify-center gap-2",R),children:[e&&o.jsx("span",{children:e}),o.jsx("span",{className:"shrink-0 font-inter",children:t})]})})}const ea=J.forwardRef(({isChecked:e,isIndeterminate:t,label:r,isLabelFirst:n,isDisabled:i,onCheckedChange:s,name:u},c)=>{const h=J.useRef(null);J.useEffect(()=>{h.current&&(h.current.indeterminate=t??!1)},[t,h]);const m=t?Qs:Zs;function y(x){c&&(typeof c=="function"?c(x):c.current=x),h.current=x}return o.jsxs("div",{className:N("group inline-flex",n?"flex-row-reverse":"flex-row",{disabled:i,"gap-x-2":r}),children:[o.jsx("input",{id:u,name:u,type:"checkbox",className:"peer hidden appearance-none",checked:e,ref:y,disabled:i,onChange:x=>{s==null||s(x)}}),o.jsx("span",{onClick:()=>{var x;return(x=h.current)==null?void 0:x.click()},className:"peer-enabled:state-layer relative inset-0 flex h-5 w-5 items-center justify-center rounded border border-neutral-80 text-neutral-40 group-[.disabled]:cursor-not-allowed peer-disabled:text-neutral-70 peer-disabled:text-opacity-40 peer-disabled:opacity-40 peer-[&:is(:checked,:indeterminate)]:border-primary-30 peer-[&:is(:checked,:indeterminate)]:bg-primary-30 peer-[&:is(:checked,:indeterminate)]:text-white peer-[&:not(:checked,:indeterminate)]:text-opacity-40 disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-70 dark:border-neutral-20 dark:text-neutral-60 dark:peer-disabled:text-neutral-30 dark:peer-disabled:text-opacity-40 dark:peer-disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-30 dark:peer-disabled:peer-[&:is(:checked,:indeterminate)]:bg-neutral-40 peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-60 peer-disabled:[&:is(:checked,:indeterminate)]:bg-neutral-60 dark:peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-40 [&_svg]:h-4 [&_svg]:w-4 peer-[&:not(:checked,:indeterminate)]:[&_svg]:hidden",children:o.jsx(m,{})}),o.jsx(bl,{label:r,name:u})]})});function bl({label:e,name:t}){return o.jsx("label",{htmlFor:t,className:"text-label-lg text-neutral-40 group-[.disabled]:cursor-not-allowed group-[.disabled]:text-opacity-40 dark:text-neutral-60 group-[.disabled]:dark:text-opacity-40",children:e})}var Ht=(e=>(e.Vertical="vertical",e.Horizontal="horizontal",e))(Ht||{});const yl="bg-shader-neutral-light-8 dark:bg-shader-neutral-dark-8",_l={[Ht.Horizontal]:"w-full",[Ht.Vertical]:"h-full"},wl="1px";function Si({type:e=Ht.Horizontal,width:t,height:r,lineHeight:n=wl}){const i={...e===Ht.Horizontal?{height:n}:{width:n}};let s=_l[e];return t&&e===Ht.Horizontal?s=t:r&&e===Ht.Vertical&&(s=r),o.jsx("div",{className:N(yl,s),style:i})}var Wr=(e=>(e.Small="small",e.Medium="medium",e))(Wr||{}),Gt=(e=>(e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e))(Gt||{});function or({text:e,position:t=Gt.Top,maxWidth:r="max-w-[200px]",offset:n=8,openDelay:i=0,closeDelay:s=100,children:u}){const c=J.useRef(null),h=J.useRef(null),[m,y]=J.useState(!1),[x,j]=J.useState({top:0,left:0}),R=J.useRef(),k=J.useRef(),T=()=>{clearTimeout(R.current),clearTimeout(k.current)},A=()=>{T(),R.current=setTimeout(()=>y(!0),i)},P=()=>{T(),k.current=setTimeout(()=>y(!1),s)};return J.useLayoutEffect(()=>{var Y;if(!m)return;const I=(Y=c.current)==null?void 0:Y.getBoundingClientRect();if(!I)return;const K={[Gt.Top]:{top:I.top-n,left:I.left+I.width/2,transform:"translate(-50%, -100%)"},[Gt.Bottom]:{top:I.bottom+n,left:I.left+I.width/2,transform:"translate(-50%, 0)"},[Gt.Left]:{top:I.top+I.height/2,left:I.left-n,transform:"translate(-100%, -50%)"},[Gt.Right]:{top:I.top+I.height/2,left:I.right+n,transform:"translate(0, -50%)"}}[t];j({top:K.top,left:K.left}),h.current.style.transform=K.transform},[m,t,n]),J.useLayoutEffect(()=>{if(!m)return;const I=()=>{var Y;const K=(Y=c.current)==null?void 0:Y.getBoundingClientRect();K&&j(z=>({...z,left:K.left+K.width/2}))};return window.addEventListener("scroll",I,!0),window.addEventListener("resize",I),()=>{window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",I)}},[m]),o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:c,className:"inline-block cursor-pointer",onMouseEnter:A,onFocus:A,onMouseLeave:P,onBlur:P,children:u}),m&&Wn.createPortal(o.jsx("div",{ref:h,role:"tooltip",style:{position:"fixed",top:x.top,left:x.left,transition:"opacity .15s ease",opacity:1},className:N("z-[999] w-max rounded bg-neutral-80 p-xs text-neutral-10 dark:bg-neutral-30 dark:text-neutral-92",r),onMouseEnter:A,onMouseLeave:P,children:o.jsx("p",{className:"w-full break-words",children:e})}),document.body)]})}function El({keyText:e,value:t,tooltipPosition:r,tooltipText:n,supportingLabel:i,size:s=Wr.Small,isTruncated:u=!1,copyText:c,onCopySuccess:h,onCopyError:m,fullwidth:y,isReverse:x=!1,valueHoverTitle:j}){const R=x?"flex-row-reverse":"flex-row";async function k(T){if(navigator.clipboard&&c)try{await navigator.clipboard.writeText(c),h==null||h(T,c)}catch(A){console.error("Failed to copy:",A),m==null||m(A,c)}}return o.jsxs("div",{className:N("flex w-full items-baseline gap-xs py-xxs font-inter",R,{"justify-between":y}),children:[o.jsxs("div",{className:N("flex shrink-0 flex-row items-center gap-x-0.5",{"w-1/4":!y}),children:[o.jsx("span",{className:"text-body-md text-neutral-40 dark:text-neutral-60",children:e}),n&&o.jsx(or,{text:n,position:r,children:o.jsx(cn,{className:"text-neutral-60 dark:text-neutral-40"})})]}),o.jsxs("div",{className:N("flex flex-row items-baseline gap-1 break-all",{"w-3/4":!y,truncate:u}),children:[o.jsx("span",{title:j,className:N("text-neutral-10 dark:text-neutral-92",s===Wr.Medium?"text-body-lg":"text-body-md",{truncate:u}),children:t}),i&&o.jsx("span",{className:N("text-neutral-60 dark:text-neutral-40",s===Wr.Medium?"text-body-md":"text-body-sm"),children:i}),o.jsx("div",{className:"self-center",children:c&&o.jsx(rt,{onClick:k,children:o.jsx(zn,{className:"text-neutral-60 dark:text-neutral-40"})})})]})]})}var lt=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(lt||{});const Sl={[lt.Small]:"text-title-sm",[lt.Medium]:"text-title-md",[lt.Large]:"text-title-lg"},Cl={[lt.Small]:"text-label-md",[lt.Medium]:"text-label-md",[lt.Large]:"text-label-lg"},jl={[lt.Small]:"text-label-md",[lt.Medium]:"text-label-md",[lt.Large]:"text-label-lg"};function Rl({size:e=lt.Medium,isCentered:t,supportingLabel:r,label:n,text:i,tooltipPosition:s,tooltipText:u}){const c=Sl[e],h=Cl[e],m=jl[e],y=t?"items-center":"items-start",x=e===lt.Small?"gap-0.5":"gap-1";return o.jsxs("div",{className:N("flex flex-col",y,x),children:[o.jsxs("div",{className:"flex flex-row flex-wrap items-center gap-0.5",children:[o.jsx("span",{className:N("font-inter text-neutral-10 dark:text-neutral-92",c),children:i}),r&&o.jsx("span",{className:N("font-inter text-neutral-60 dark:text-neutral-40",h),children:r})]}),o.jsx("div",{className:"flex flex-row items-center gap-x-0.5",children:o.jsxs("span",{className:N("flex items-center font-inter text-neutral-60 dark:text-neutral-40",m),children:[n,u&&o.jsx("div",{className:"ml-xxxs flex items-center",children:o.jsx(or,{text:u,position:s,children:o.jsx(cn,{className:"text-neutral-60 dark:text-neutral-40"})})})]})})]})}function Ci({showRightIcon:e,hideBottomBorder:t,onClick:r,isDisabled:n,children:i,isHighlighted:s}){function u(h){(h.key==="Enter"||h.key===" ")&&!n&&r&&r()}function c(){!n&&r&&r()}return o.jsx("div",{className:N("w-full",{"border-b border-shader-neutral-light-8 pb-xs dark:border-shader-neutral-dark-8":!t},{"opacity-40":n}),children:o.jsxs("div",{onClick:c,role:"button",tabIndex:0,onKeyDown:u,className:N("relative flex flex-row items-center justify-between px-md py-sm text-neutral-10 dark:text-neutral-92",!n&&r?"cursor-pointer":"cursor-default",{"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":s,"state-layer":!n}),children:[i,e&&o.jsx(dt,{size:et.Small,type:Se.Ghost,disabled:n,icon:o.jsx(Yn,{})})]})})}function Tl({title:e,titleCentered:t,onBack:r,onClose:n,testId:i}){const s=t?"text-center":r?"ml-1":"",u=t&&(!r||!n);return o.jsxs("div",{className:"flex min-h-[56px] w-full items-center bg-neutral-100 px-md--rs pb-xs pt-sm text-neutral-10 dark:bg-neutral-6 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:[r?o.jsx(dt,{size:et.Small,type:Se.Ghost,onClick:r,icon:o.jsx(qa,{})}):u&&o.jsx("div",{className:"w-9"}),o.jsx("div",{className:N("flex-grow",s),children:o.jsx("span",{className:"font-inter text-title-lg","data-testid":i,children:e})}),n?o.jsx(dt,{size:et.Small,type:Se.Ghost,onClick:n,icon:o.jsx(Ur,{}),testId:"close-icon"}):u&&o.jsx("div",{className:"w-9"})]})}function Ol({children:e,hasBorder:t,bgColor:r="bg-neutral-100 dark:bg-neutral-6"}){const n=t?"border border-shader-neutral-light-8 dark:border-shader-neutral-dark-8":"border border-transparent";return o.jsx("div",{className:N("flex w-full flex-col rounded-xl",r,n),children:e})}var Rt=(e=>(e.Default="default",e.Error="error",e.Success="success",e.Warning="warning",e))(Rt||{}),$r=(e=>(e.Default="default",e.Elevated="elevated",e))($r||{});const kl={[Rt.Default]:"bg-primary-90 dark:bg-primary-10 text-primary-20 dark:text-primary-90",[Rt.Error]:"bg-error-90 dark:bg-error-10 text-error-20 dark:text-error-90",[Rt.Success]:"bg-tertiary-90 dark:bg-tertiary-10 text-tertiary-20 dark:text-tertiary-90",[Rt.Warning]:"bg-warning-90 dark:bg-warning-20 text-warning-10 dark:text-warning-90"},Nl={[Rt.Default]:"bg-primary-90 dark:bg-primary-10",[Rt.Error]:"bg-error-90 dark:bg-error-10",[Rt.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[Rt.Warning]:"bg-warning-90 dark:bg-warning-20"};function Al({icon:e,title:t,supportingText:r,type:n,style:i}){const s=kl[n],u=i===$r.Elevated?Nl[n]:"";return o.jsxs("div",{className:N("flex flex-row items-start gap-4 py-xs pr-lg",u,{"rounded-lg pl-xs":i===$r.Elevated}),children:[e&&o.jsx("span",{className:N("flex items-center justify-center rounded-lg [&_svg]:h-4 [&_svg]:w-4",s,{"p-xs":i===$r.Default}),children:e}),o.jsxs("div",{className:"flex flex-col gap-1",children:[t&&o.jsx("span",{className:"text-title-sm text-neutral-10 dark:text-neutral-92",children:t}),r&&o.jsx("span",{className:"text-body-sm text-neutral-40 dark:text-neutral-60",children:r})]})]})}var ht=(e=>(e.Default="default",e.Error="error",e.Warning="warning",e.Success="success",e))(ht||{});const ji={[ht.Default]:"text-neutral-10 dark:text-neutral-92",[ht.Error]:"text-error-20 dark:text-error-90",[ht.Warning]:"text-warning-10 dark:text-warning-90",[ht.Success]:"text-tertiary-20 dark:text-tertiary-90"},Pl={[ht.Default]:"bg-primary-90 dark:bg-primary-10",[ht.Error]:"bg-error-90 dark:bg-error-10",[ht.Warning]:"bg-warning-90 dark:bg-warning-20",[ht.Success]:"bg-tertiary-90 dark:bg-tertiary-10"};function Dl({text:e,duration:t=2e3,onClose:r,showClose:n,type:i=ht.Default}){return J.useEffect(()=>{if(t){const s=setTimeout(r,t);return()=>clearTimeout(s)}},[t,r]),o.jsxs("div",{className:N("transition-all duration-300 ease-out","z-99 bottom-0","flex w-full items-center justify-between gap-xxs rounded-md py-sm pl-md pr-sm",Pl[i]),children:[o.jsx("div",{className:N("w-full text-left text-body-md",ji[i]),children:e}),n&&o.jsx(Ur,{className:N("h-5 w-5 cursor-pointer",ji[i]),onClick:r})]})}var fn=(e=>(e.Image="image",e.Video="video",e))(fn||{});function Il({assetType:e=fn.Image,assetSrc:t,altText:r,onIconClick:n,onClick:i,icon:s=o.jsx(mi,{}),assetTitle:u,isHoverable:c=!0}){const[h,m]=J.useState(!1),y=x=>{n==null||n(x),x==null||x.stopPropagation()};return o.jsxs("div",{className:N("relative aspect-square w-full overflow-hidden rounded-xl",{"group cursor-pointer":c}),onClick:i,children:[e===fn.Video?o.jsx("video",{src:t,className:"h-full w-full object-cover",autoPlay:!0,loop:!0,muted:!0}):h?o.jsx("div",{className:"flex h-full w-full items-center justify-center bg-neutral-96 dark:bg-neutral-10",children:o.jsx(ol,{className:"h-4 w-4 text-neutral-40 dark:text-neutral-60"})}):o.jsx("img",{src:t,alt:r,className:"h-full w-full object-cover",onError:()=>m(!0)}),c&&o.jsx("div",{className:"absolute left-0 top-0 h-full w-full bg-cover bg-center bg-no-repeat group-hover:bg-shader-neutral-light-48 group-hover:transition group-hover:duration-300 group-hover:ease-in-out group-hover:dark:bg-shader-primary-dark-48"}),c&&n&&o.jsx(rt,{className:"absolute right-2 top-2 h-9 w-9 cursor-pointer rounded-full p-xs opacity-0 transition-opacity duration-300 group-hover:bg-shader-neutral-light-72 group-hover:opacity-100 [&_svg]:h-5 [&_svg]:w-5 [&_svg]:text-primary-100",onClick:y,children:s}),c&&u&&o.jsx("div",{className:"absolute bottom-0 flex items-center justify-center p-xs opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:o.jsx("span",{className:"text-title-md text-neutral-100",children:u})})]})}function Ll({color:e="text-primary-30 dark:text-primary-80",size:t="w-5 h-5",text:r,testId:n}){return o.jsxs("div",{className:"flex items-center justify-center gap-xs",children:[o.jsx(ui,{className:N("animate-spin",e,t),"data-testid":n}),r&&o.jsx("span",{className:N("text-body-sm",e),children:r})]})}function Ri({width:e="w-full",height:t="h-4"}){return o.jsx("div",{className:N("animate-pulse rounded-md bg-gradient-to-r from-shader-primary-light-8 bg-[length:1000px_100%] dark:from-shader-primary-dark-8",e,t)})}function Ml({children:e,widthClass:t="w-full",heightClass:r="h-3",hasSecondaryColors:n,isRounded:i=!0}){return o.jsx("div",{className:N("animate-pulse rounded-full",t,r,i&&"rounded-full",n?"bg-neutral-80 dark:bg-neutral-10":"bg-neutral-90 dark:bg-neutral-12"),children:e})}var Mt=(e=>(e.Small="small",e.Default="default",e))(Mt||{}),dn=(e=>(e.Left="left",e.Right="right",e))(dn||{});const Fl="relative inline-flex items-center p-xxs border rounded-full cursor-pointer",vn={active:"bg-primary-30 border-primary-30",inactive:"bg-primary-100 dark:bg-neutral-6 border-neutral-70 dark:border-neutral-40",disabledActive:"bg-neutral-70 border-neutral-70",disabled:"opacity-40 cursor-not-allowed"},Bl={[Mt.Small]:"h-5 w-10",[Mt.Default]:"h-6 w-12"},Vl="absolute rounded-full transition-all duration-200 ease-in",Ti={[Mt.Small]:{unchecked:"left-1",checked:"left-8 -translate-x-full"},[Mt.Default]:{unchecked:"left-1",checked:"left-10 -translate-x-full"}},Oi={unchecked:"bg-neutral-60",checked:"bg-white"},Ul={[Mt.Small]:"h-3 w-3",[Mt.Default]:"h-4 w-4"},Wl="inline-flex items-center gap-2",$l="text-label-lg text-neutral-40 dark:text-neutral-60",Hl=J.forwardRef(({label:e,isToggled:t,labelPosition:r=dn.Right,isDisabled:n=!1,onChange:i,name:s,size:u=Mt.Default,testId:c},h)=>{const m=J.useRef(null);function y(A){const P=A.target.checked;i==null||i(P,A)}function x(A){h&&(typeof h=="function"?h(A):h.current=A),m.current=A}const j=N(Fl,{[vn.active]:t&&!n,[vn.inactive]:!t,[vn.disabledActive]:n&&t,[vn.disabled]:n,[Bl[u]]:!0}),R=N(Vl,{[Ti[u].unchecked]:!t,[Ti[u].checked]:t,[Oi.unchecked]:!t,[Oi.checked]:t,[Ul[u]]:!0}),k=N(Wl,{"flex-row-reverse":r===dn.Left,"cursor-not-allowed":n}),T=N($l,{"opacity-40":n&&!t});return o.jsxs("div",{className:k,children:[o.jsx("input",{id:s,name:s,type:"checkbox",className:"sr-only",checked:t,ref:x,disabled:n,onChange:y,"data-testid":c}),o.jsx("span",{role:"switch",onClick:()=>{var A;return(A=m.current)==null?void 0:A.click()},className:j,children:o.jsx("span",{className:R})}),e&&o.jsx("label",{htmlFor:s,className:T,children:e})]})});function ki({text:e,isCopyable:t,isExternal:r,externalLink:n,copyText:i=e,onCopySuccess:s,onCopyError:u,onOpen:c}){async function h(y){if(navigator.clipboard){y==null||y.stopPropagation();try{await navigator.clipboard.writeText(i),s==null||s(y,i)}catch(x){console.error("Failed to copy:",x),u==null||u(x,i)}}}function m(y){if(y==null||y.stopPropagation(),n){const x=window.open(n,"_blank","noopener noreferrer");x&&(x.opener=null)}else c==null||c(y)}return o.jsxs("div",{className:"group flex flex-row items-center gap-1 text-neutral-40 dark:text-neutral-60",children:[o.jsx("span",{className:N("font-inter text-body-sm"),children:e}),t&&o.jsx(rt,{onClick:h,className:"opacity-0 group-hover:opacity-100",children:o.jsx(zn,{})}),r&&o.jsx(rt,{onClick:m,className:"opacity-0 group-hover:opacity-100",children:o.jsx(qs,{})})]})}var Ft=(e=>(e.Default="default",e.Selected="selected",e))(Ft||{});const Ni="rounded-full",Gl={[Ft.Default]:"bg-transparent",[Ft.Selected]:"bg-primary-90 dark:bg-primary-10"},Yl="outline outline-1 outline-transparent hover:outline-shader-primary-light-8 active:outline-shader-primary-light-12 dark:hover:outline-shader-primary-dark-8 dark:active:outline-shader-primary-dark-12 hover:bg-shader-primary-light-8 active:bg-shader-primary-light-12 dark:hover:bg-shader-primary-dark-8 dark:active:bg-shader-primary-dark-12 focus:bg-shader-primary-light-12 dark:focus:bg-shader-primary-dark-12",zl={[Ft.Default]:"border-neutral-70 dark:border-neutral-40",[Ft.Selected]:"border-transparent"},Kl={[Ft.Default]:"text-neutral-40 dark:text-neutral-60",[Ft.Selected]:"text-neutral-10 dark:text-neutral-92"},Xl="focus-visible:shadow-[0_0_0_2px] focus-visible:shadow-primary-30 focus-visible:outline-none dark:focus-visible:shadow-primary-80";function ql({label:e,showClose:t,selected:r,onClose:n,onClick:i,avatar:s,leadingElement:u,trailingElement:c,disabled:h}){const m=r?Ft.Selected:Ft.Default;return o.jsx(rt,{onClick:i,className:N("border transition-all duration-500 ease-in-out disabled:opacity-40",Ni,Gl[m],zl[m],Xl),disabled:h,children:o.jsxs("span",{className:N("flex h-full w-full flex-row items-center gap-x-2",s?"py-xxs":"py-[6px]",s?"pl-xxs":u?"pl-xs":"pl-sm",Ni,!h&&Yl,t?"pr-xs":"pr-sm",Kl[m]),children:[s??u,o.jsx("span",{className:"text-body-md",children:e}),c,t&&o.jsx(rt,{onClick:n,className:"cursor-pointer [&_svg]:h-4 [&_svg]:w-4",children:o.jsx(Ur,{})})]})})}var sr=(e=>(e.Outlined="outlined",e.Filled="filled",e.Transparent="transparent",e))(sr||{});const Zl={[sr.Outlined]:"bg-transparent",[sr.Filled]:"bg-neutral-96 dark:bg-neutral-10",[sr.Transparent]:"bg-transparent"},Jl="border border-neutral-70 dark:border-neutral-40";function Ql({type:e=sr.Filled,children:t,shape:r=ir.Rounded}){const n=Zl[e],i=e===sr.Outlined?Jl:"",s=r===ir.Rounded?"rounded-full gap-1 p-xxs":"",u=r===ir.Rounded?"flex-wrap":"flex-nowrap overflow-x-auto";return o.jsx("div",{className:N("flex flex-row",n,i,s,u),children:t})}var lr=(e=>(e.Small="small",e.Medium="medium",e))(lr||{});const eu={[lr.Small]:"px-md py-sm--rs",[lr.Medium]:"px-md--rs py-sm--rs"},tu={[lr.Small]:"text-title-md",[lr.Medium]:"text-title-lg"};function ru({title:e,subtitle:t,trailingElement:r,tooltipText:n,supportingElement:i,tooltipPosition:s,size:u=lr.Medium,testId:c}){return o.jsxs("div",{className:N("flex flex-row items-center justify-between",eu[u]),"data-testid":c,children:[o.jsxs("div",{className:"flex flex-row items-center gap-x-xxxs",children:[o.jsxs("div",{className:"flex flex-col justify-start",children:[o.jsxs("div",{className:"flex flex-row items-center gap-x-0.5 text-neutral-10 dark:text-neutral-92",children:[o.jsx("h4",{className:N(tu[u]),children:e}),n&&o.jsx(or,{text:n,position:s,children:o.jsx(cn,{})})]}),o.jsx("p",{className:"text-label-md text-neutral-60 dark:text-neutral-40",children:t})]}),i]}),r]})}function mn({children:e,hasErrorStyles:t}){return o.jsx("p",{className:N("text-label-lg text-neutral-40 dark:text-neutral-60 ",{["group-[.errored]:text-error-30 dark:group-[.errored]:text-error-80"]:t}),children:e})}const Ai="w-full bg-transparent text-body-lg caret-primary-30 dark:caret-primary-80 focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed",Pi="text-neutral-10 dark:text-neutral-92",Di="enabled:placeholder:text-neutral-40/40 dark:placeholder:text-neutral-60/40 enabled:dark:placeholder:text-neutral-60/40",Ii="px-md py-sm rounded-lg border border-neutral-80 group-[.enabled]:cursor-text group-[.errored]:border-error-30 hover:group-[.enabled]:border-neutral-50 dark:border-neutral-20 dark:hover:border-neutral-60 dark:group-[.errored]:border-error-80 [&:has(input:focus)]:!border-primary-30 [&:has(input:focus)]:dark:!border-primary-80",nu="[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:cursor-not-allowed",au="flex flex-col gap-y-2 text-label-lg text-neutral-40 dark:text-neutral-60";var Li=(e=>(e.Label="label",e.Div="div",e))(Li||{});function ta({label:e,caption:t,disabled:r,errorMessage:n,amountCounter:i,required:s,labelHtmlTag:u="label",children:c}){return o.jsxs("div",{className:N("group flex w-full flex-col gap-y-2",{"cursor-not-allowed opacity-40":r,errored:n,enabled:!r,required:s}),children:[e?o.jsxs(iu,{labelHtmlTag:u,children:[e,c]}):c,(n||t||i)&&o.jsxs("div",{className:N("flex flex-row items-center",t||n?"justify-between":"justify-end"),children:[(n||t)&&o.jsx(mn,{hasErrorStyles:!0,children:n||t}),i&&o.jsx(mn,{children:i})]})]})}function iu({labelHtmlTag:e,children:t}){return J.createElement(e,{className:au},t)}var pt=(e=>(e.Text="text",e.Password="password",e.Number="number",e.NumericFormat="numericFormat",e))(pt||{}),Mi=(e=>(e.None="none",e.Vertical="vertical",e))(Mi||{});function Fi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var Hr;(function(e){e.event="event",e.props="prop"})(Hr||(Hr={}));function Yt(){}function ou(e){var t,r=void 0;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return t&&n.length===t.length&&n.every(function(s,u){return s===t[u]})||(t=n,r=e.apply(void 0,n)),r}}function Gr(e){return!!(e||"").match(/\d/)}function Cr(e){return e==null}function su(e){return typeof e=="number"&&isNaN(e)}function Bi(e){return Cr(e)||su(e)||typeof e=="number"&&!isFinite(e)}function Vi(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function lu(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function uu(e,t,r){var n=lu(r),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(n,"$1"+t)}function cu(e){var t=J.useRef(e);t.current=e;var r=J.useRef(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return t.current.apply(t,n)});return r.current}function ra(e,t){t===void 0&&(t=!0);var r=e[0]==="-",n=r&&t;e=e.replace("-","");var i=e.split("."),s=i[0],u=i[1]||"";return{beforeDecimal:s,afterDecimal:u,hasNegation:r,addNegation:n}}function fu(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",i=r[1]||"";return(t?"-":"")+n+(i?"."+i:"")}function Ui(e,t,r){for(var n="",i=r?"0":"",s=0;s<=t-1;s++)n+=e[s]||i;return n}function Wi(e,t){return Array(t+1).join(e)}function $i(e){var t=e+"",r=t[0]==="-"?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),i=n[0],s=n[1];if(s=Number(s),!s)return r+i;i=i.replace(".","");var u=1+s,c=i.length;return u<0?i="0."+Wi("0",Math.abs(u))+i:u>=c?i=i+Wi("0",u-c):i=(i.substring(0,u)||"0")+"."+i.substring(u),r+i}function Hi(e,t,r){if(["","-"].indexOf(e)!==-1)return e;var n=(e.indexOf(".")!==-1||r)&&t,i=ra(e),s=i.beforeDecimal,u=i.afterDecimal,c=i.hasNegation,h=parseFloat("0."+(u||"0")),m=u.length<=t?"0."+u:h.toFixed(t),y=m.split("."),x=s;s&&Number(y[0])&&(x=s.split("").reverse().reduce(function(T,A,P){return T.length>P?(Number(T[0])+Number(A)).toString()+T.substring(1,T.length):A+T},y[0]));var j=Ui(y[1]||"",t,r),R=c?"-":"",k=n?".":"";return""+R+x+k+j}function ur(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var Gi=ou(function(e,t){for(var r=0,n=0,i=e.length,s=t.length;e[r]===t[r]&&r<i;)r++;for(;e[i-1-n]===t[s-1-n]&&s-n>r&&i-n>r;)n++;return{from:{start:r,end:i-n},to:{start:r,end:s-n}}}),du=function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}};function vu(e,t,r){return Math.min(Math.max(e,t),r)}function na(e){return Math.max(e.selectionStart,e.selectionEnd)}function mu(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function hu(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function pu(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,i=e.formattedValueIndex;return t[n]===r[i]}function gu(e,t,r,n,i,s,u){u===void 0&&(u=pu);var c=i.findIndex(function(K){return K}),h=e.slice(0,c);!t&&!r.startsWith(h)&&(t=h,r=h+r,n=n+h.length);for(var m=r.length,y=e.length,x={},j=new Array(m),R=0;R<m;R++){j[R]=-1;for(var k=0,T=y;k<T;k++){var A=u({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:R,formattedValueIndex:k});if(A&&x[k]!==!0){j[R]=k,x[k]=!0;break}}}for(var P=n;P<m&&(j[P]===-1||!s(r[P]));)P++;var U=P===m||j[P]===-1?y:j[P];for(P=n-1;P>0&&j[P]===-1;)P--;var I=P===-1||j[P]===-1?0:j[P]+1;return I>U?U:n-I<U-n?I:U}function Yi(e,t,r,n){var i=e.length;if(t=vu(t,0,i),n==="left"){for(;t>=0&&!r[t];)t--;t===-1&&(t=r.indexOf(!0))}else{for(;t<=i&&!r[t];)t++;t>i&&(t=r.lastIndexOf(!0))}return t===-1&&(t=i),t}function xu(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=!!(Gr(e[r])||Gr(e[r-1]));return t}function zi(e,t,r,n,i,s){s===void 0&&(s=Yt);var u=cu(function(k,T){var A,P;return Bi(k)?(P="",A=""):typeof k=="number"||T?(P=typeof k=="number"?$i(k):k,A=n(P)):(P=i(k,void 0),A=n(P)),{formattedValue:A,numAsString:P}}),c=J.useState(function(){return u(Cr(e)?t:e,r)}),h=c[0],m=c[1],y=function(k,T){k.formattedValue!==h.formattedValue&&m({formattedValue:k.formattedValue,numAsString:k.value}),s(k,T)},x=e,j=r;Cr(e)&&(x=h.numAsString,j=!0);var R=u(x,j);return J.useMemo(function(){m(R)},[R.formattedValue]),[h,y]}function bu(e){return e.replace(/[^0-9]/g,"")}function yu(e){return e}function _u(e){var t=e.type;t===void 0&&(t="text");var r=e.displayType;r===void 0&&(r="input");var n=e.customInput,i=e.renderText,s=e.getInputRef,u=e.format;u===void 0&&(u=yu);var c=e.removeFormatting;c===void 0&&(c=bu);var h=e.defaultValue,m=e.valueIsNumericString,y=e.onValueChange,x=e.isAllowed,j=e.onChange;j===void 0&&(j=Yt);var R=e.onKeyDown;R===void 0&&(R=Yt);var k=e.onMouseUp;k===void 0&&(k=Yt);var T=e.onFocus;T===void 0&&(T=Yt);var A=e.onBlur;A===void 0&&(A=Yt);var P=e.value,U=e.getCaretBoundary;U===void 0&&(U=xu);var I=e.isValidInputCharacter;I===void 0&&(I=Gr);var K=e.isCharacterSame,Y=Fi(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),z=zi(P,h,!!m,u,c,y),W=z[0],G=W.formattedValue,de=W.numAsString,Pe=z[1],He=J.useRef(),Xe=J.useRef({formattedValue:G,numAsString:de}),De=function($,X){Xe.current={formattedValue:$.formattedValue,numAsString:$.value},Pe($,X)},Oe=J.useState(!1),je=Oe[0],te=Oe[1],V=J.useRef(null),ae=J.useRef({setCaretTimeout:null,focusTimeout:null});J.useEffect(function(){return te(!0),function(){clearTimeout(ae.current.setCaretTimeout),clearTimeout(ae.current.focusTimeout)}},[]);var we=u,Te=function($,X){var ie=parseFloat(X);return{formattedValue:$,value:X,floatValue:isNaN(ie)?void 0:ie}},Ee=function($,X,ie){$.selectionStart===0&&$.selectionEnd===$.value.length||(ur($,X),ae.current.setCaretTimeout=setTimeout(function(){$.value===ie&&$.selectionStart!==X&&ur($,X)},0))},g=function($,X,ie){return Yi($,X,U($),ie)},O=function($,X,ie){var ue=U(X),Ne=gu(X,G,$,ie,ue,I,K);return Ne=Yi(X,Ne,ue),Ne},oe=function($){var X=$.formattedValue;X===void 0&&(X="");var ie=$.input,ue=$.source,Ne=$.event,ye=$.numAsString,ce;if(ie){var qe=$.inputValue||ie.value,ze=na(ie);ie.value=X,ce=O(qe,X,ze),ce!==void 0&&Ee(ie,ce,X)}X!==G&&De(Te(X,ye),{event:Ne,source:ue})};J.useEffect(function(){var $=Xe.current,X=$.formattedValue,ie=$.numAsString;(G!==X||de!==ie)&&De(Te(G,de),{event:void 0,source:Hr.props})},[G,de]);var ve=V.current?na(V.current):void 0,le=typeof window<"u"?J.useLayoutEffect:J.useEffect;le(function(){var $=V.current;if(G!==Xe.current.formattedValue&&$){var X=O(Xe.current.formattedValue,G,ve);$.value=G,Ee($,X,G)}},[G]);var ge=function($,X,ie){var ue=X.target,Ne=He.current?du(He.current,ue.selectionEnd):Gi(G,$),ye=Object.assign(Object.assign({},Ne),{lastValue:G}),ce=c($,ye),qe=we(ce);if(ce=c(qe,void 0),x&&!x(Te(qe,ce))){var ze=X.target,Ze=na(ze),ot=O($,G,Ze);return ze.value=G,Ee(ze,ot,G),!1}return oe({formattedValue:qe,numAsString:ce,inputValue:$,event:X,source:ie,input:X.target}),!0},me=function($,X){X===void 0&&(X=0);var ie=$.selectionStart,ue=$.selectionEnd;He.current={selectionStart:ie,selectionEnd:ue+X}},be=function($){var X=$.target,ie=X.value,ue=ge(ie,$,Hr.event);ue&&j($),He.current=void 0},pe=function($){var X=$.target,ie=$.key,ue=X.selectionStart,Ne=X.selectionEnd,ye=X.value;ye===void 0&&(ye="");var ce;ie==="ArrowLeft"||ie==="Backspace"?ce=Math.max(ue-1,0):ie==="ArrowRight"?ce=Math.min(ue+1,ye.length):ie==="Delete"&&(ce=ue);var qe=0;ie==="Delete"&&ue===Ne&&(qe=1);var ze=ie==="ArrowLeft"||ie==="ArrowRight";if(ce===void 0||ue!==Ne&&!ze){R($),me(X,qe);return}var Ze=ce;if(ze){var ot=ie==="ArrowLeft"?"left":"right";Ze=g(ye,ce,ot),Ze!==ce&&$.preventDefault()}else ie==="Delete"&&!I(ye[ce])?Ze=g(ye,ce,"right"):ie==="Backspace"&&!I(ye[ce])&&(Ze=g(ye,ce,"left"));Ze!==ce&&Ee(X,Ze,ye),R($),me(X,qe)},Me=function($){var X=$.target,ie=function(){var ue=X.selectionStart,Ne=X.selectionEnd,ye=X.value;if(ye===void 0&&(ye=""),ue===Ne){var ce=g(ye,ue);ce!==ue&&Ee(X,ce,ye)}};ie(),requestAnimationFrame(function(){ie()}),k($),me(X)},bt=function($){$.persist&&$.persist();var X=$.target,ie=$.currentTarget;V.current=X,ae.current.focusTimeout=setTimeout(function(){var ue=X.selectionStart,Ne=X.selectionEnd,ye=X.value;ye===void 0&&(ye="");var ce=g(ye,ue);ce!==ue&&!(ue===0&&Ne===ye.length)&&Ee(X,ce,ye),T(Object.assign(Object.assign({},$),{currentTarget:ie}))},0)},ut=function($){V.current=null,clearTimeout(ae.current.focusTimeout),clearTimeout(ae.current.setCaretTimeout),A($)},Vt=je&&mu()?"numeric":void 0,ct=Object.assign({inputMode:Vt},Y,{type:t,value:G,onChange:be,onKeyDown:pe,onMouseUp:Me,onFocus:bt,onBlur:ut});if(r==="text")return i?J.createElement(J.Fragment,null,i(G,Y)||null):J.createElement("span",Object.assign({},Y,{ref:s}),G);if(n){var nt=n;return J.createElement(nt,Object.assign({},ct,{ref:s}))}return J.createElement("input",Object.assign({},ct,{ref:s}))}function Ki(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i="");var s=t.suffix;s===void 0&&(s="");var u=t.allowNegative,c=t.thousandsGroupStyle;if(c===void 0&&(c="thousand"),e===""||e==="-")return e;var h=hn(t),m=h.thousandSeparator,y=h.decimalSeparator,x=r!==0&&e.indexOf(".")!==-1||r&&n,j=ra(e,u),R=j.beforeDecimal,k=j.afterDecimal,T=j.addNegation;return r!==void 0&&(k=Ui(k,r,!!n)),m&&(R=uu(R,m,c)),i&&(R=i+R),s&&(k=k+s),T&&(R="-"+R),e=R+(x&&y||"")+k,e}function hn(e){var t=e.decimalSeparator;t===void 0&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return r===!0&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function wu(e,t){e===void 0&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),i=r.test(e),s=n.test(e);return e=e.replace(/-/g,""),i&&!s&&t&&(e="-"+e),e}function Eu(e,t){return new RegExp("(^-)|[0-9]|"+Vi(e),"g")}function Su(e,t,r){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(r!=null&&r.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function Cu(e,t,r){var n;t===void 0&&(t=hu(e));var i=r.allowNegative,s=r.prefix;s===void 0&&(s="");var u=r.suffix;u===void 0&&(u="");var c=r.decimalScale,h=t.from,m=t.to,y=m.start,x=m.end,j=hn(r),R=j.allowedDecimalSeparators,k=j.decimalSeparator,T=e[x]===k;if(Gr(e)&&(e===s||e===u)&&t.lastValue==="")return e;if(x-y===1&&R.indexOf(e[y])!==-1){var A=c===0?"":k;e=e.substring(0,y)+A+e.substring(y+1,e.length)}var P=function(V,ae,we){var Te=!1,Ee=!1;s.startsWith("-")?Te=!1:V.startsWith("--")?(Te=!1,Ee=!0):u.startsWith("-")&&V.length===u.length?Te=!1:V[0]==="-"&&(Te=!0);var g=Te?1:0;return Ee&&(g=2),g&&(V=V.substring(g),ae-=g,we-=g),{value:V,start:ae,end:we,hasNegation:Te}},U=P(e,y,x),I=U.hasNegation;n=U,e=n.value,y=n.start,x=n.end;var K=P(t.lastValue,h.start,h.end),Y=K.start,z=K.end,W=K.value,G=e.substring(y,x);e.length&&W.length&&(Y>W.length-u.length||z<s.length)&&!(G&&u.startsWith(G))&&(e=W);var de=0;e.startsWith(s)?de+=s.length:y<s.length&&(de=y),e=e.substring(de),x-=de;var Pe=e.length,He=e.length-u.length;e.endsWith(u)?Pe=He:(x>He||x>e.length-u.length)&&(Pe=x),e=e.substring(0,Pe),e=wu(I?"-"+e:e,i),e=(e.match(Eu(k))||[]).join("");var Xe=e.indexOf(k);e=e.replace(new RegExp(Vi(k),"g"),function(V,ae){return ae===Xe?".":""});var De=ra(e,i),Oe=De.beforeDecimal,je=De.afterDecimal,te=De.addNegation;return m.end-m.start<h.end-h.start&&Oe===""&&T&&!parseFloat(je)&&(e=te?"-":""),e}function ju(e,t){var r=t.prefix;r===void 0&&(r="");var n=t.suffix;n===void 0&&(n="");var i=Array.from({length:e.length+1}).map(function(){return!0}),s=e[0]==="-";i.fill(!1,0,r.length+(s?1:0));var u=e.length;return i.fill(!1,u-n.length+1,u+1),i}function Ru(e){var t=hn(e),r=t.thousandSeparator,n=t.decimalSeparator,i=e.prefix;i===void 0&&(i="");var s=e.allowNegative;if(s===void 0&&(s=!0),r===n)throw new Error(`
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var l="",s=0;s<arguments.length;s++){var c=arguments[s];c&&(l=o(l,n(c)))}return l}function n(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return r.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var s="";for(var c in l)t.call(l,c)&&l[c]&&(s=o(s,c));return s}function o(l,s){return s?l?l+" "+s:l+s:l}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(an);var Po=an.exports;const x=ar(Po);var R=(e=>(e.Neutral="neutral",e.PrimarySolid="primary-solid",e.PrimarySoft="primary-soft",e.Success="success",e.Warning="warning",e.Error="error",e))(R||{});const ko={[R.PrimarySolid]:"badge-bg-color-primary",[R.Neutral]:"badge-bg-color-neutral",[R.PrimarySoft]:"badge-bg-color-primary-soft",[R.Success]:"bg-success-surface",[R.Warning]:"bg-warning-surface",[R.Error]:"bg-error-surface"},Bo={[R.PrimarySolid]:"badge-text-color-primary",[R.Neutral]:"badge-text-color-neutral",[R.PrimarySoft]:"badge-text-color-primary-soft",[R.Success]:"text-on-success",[R.Warning]:"text-on-warning",[R.Error]:"text-on-error"},Mo={[R.PrimarySolid]:"badge-border-color-primary",[R.Neutral]:"badge-border-color-neutral",[R.PrimarySoft]:"badge-border-color-soft",[R.Success]:"border-success-surface",[R.Warning]:"border-warning-surface",[R.Error]:"border-error-surface"},Fo="text-label-md";function ft({type:e,label:t}){const r=ko[e],n=Bo[e],o=Mo[e],l=t?"px-xs py-xxs":"h-1.5 w-1.5";return a.jsx("div",{className:x("inline-flex items-center space-x-2 rounded-full border disabled:opacity-30",r,o,l),children:a.jsx("span",{className:x(Fo,n),children:t})})}var ne=(e=>(e.Small="small",e.Medium="medium",e))(ne||{}),W=(e=>(e.Primary="primary",e.Secondary="secondary",e.Ghost="ghost",e.Outlined="outlined",e.Destructive="destructive",e))(W||{}),ht=(e=>(e.Button="button",e.Submit="submit",e.Reset="reset",e))(ht||{});const Vo={[ne.Small]:"px-md py-xs",[ne.Medium]:"px-md py-sm"},Uo={[ne.Small]:"p-xs",[ne.Medium]:"p-sm"},Wo={[W.Primary]:"button-bg-color-primary",[W.Secondary]:"button-bg-color-secondary",[W.Ghost]:"bg-transparent",[W.Outlined]:"bg-transparent button-border-color-outline",[W.Destructive]:"button-bg-color-error"},jo={[W.Primary]:"button-bg-color-disabled-primary",[W.Secondary]:"button-bg-color-secondary",[W.Ghost]:"bg-transparent",[W.Outlined]:"bg-transparent button-border-color-outline",[W.Destructive]:"button-bg-color-error"},We="button-text-color-neutral",Ho={[W.Primary]:"button-text-color-primary",[W.Secondary]:We,[W.Ghost]:We,[W.Outlined]:We,[W.Destructive]:"button-text-color-error"},Go={[ne.Small]:"text-label-md",[ne.Medium]:"text-label-lg"},$o={[W.Primary]:We,[W.Secondary]:We,[W.Ghost]:We,[W.Outlined]:We,[W.Destructive]:"button-text-color-error"};function ce({icon:e,text:t,disabled:r,onClick:n,fullWidth:o,htmlType:l=ht.Button,size:s=ne.Medium,type:c=W.Primary,iconAfterText:u=!1,tabIndex:f=0,testId:p}){const g=e&&!t?Uo[s]:Vo[s],w=Go[s],y=r?jo[c]:Wo[c],S=r?$o[c]:Ho[c];return a.jsxs("button",{onClick:n,type:l,className:x("state-layer relative flex items-center justify-center gap-2 rounded-full transition-all duration-150 ease-in disabled:cursor-not-allowed disabled:opacity-40",g,y,o&&"w-full",u?"flex-row-reverse":"flex-row"),disabled:r,tabIndex:f,"data-testid":p,children:[e&&a.jsx("span",{className:x(S),children:e}),t&&a.jsx("span",{className:x("font-inter",S,w),children:t})]})}function zo({htmlType:e=ht.Button,children:t,tabIndex:r=0,...n}){return a.jsx("button",{className:"button-pill-border-color button-pill-text-color flex items-center justify-center rounded-xl border px-sm text-body-md disabled:opacity-40",type:e,tabIndex:r,...n,children:t})}function le({htmlType:e=ht.Button,children:t,className:r,tabIndex:n=0,testId:o,...l}){return a.jsx("button",{type:e,...l,className:x("appearance-none",r),tabIndex:n,"data-testid":o,children:t})}function on(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M4 12.004a1 1 0 0 0 .293.703l6 6a1 1 0 0 0 1.414-1.414L7.414 13H19a1 1 0 1 0 0-2H7.414l4.293-4.293a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 0 0-.293.705z"})})}function Xo(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M11.45 15.335a1 1 0 0 0 1.257-.128l5-5a1 1 0 0 0-1.414-1.414L12 13.086 7.707 8.793a1 1 0 0 0-1.414 1.414l5 5a1 1 0 0 0 .157.128"})})}function Ko(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M8.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L10.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})})}function lr(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"m10.707 6.293 5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414-1.414L13.586 12 9.293 7.707a1 1 0 0 1 1.414-1.414"})})}function Zo(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M17.483 6.29a1 1 0 0 0-.705-.29h-8.07a1 1 0 1 0 0 2h5.656l-8.071 8.071a1 1 0 1 0 1.414 1.414l8.071-8.07v5.656a1 1 0 1 0 2 0v-8.07a1 1 0 0 0-.291-.706l-.002-.002z"})})}function Yo(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.26 13.845 5.95-5.95a.994.994 0 0 1 1.405-.008.994.994 0 0 1-.008 1.406L10.95 15.95a.994.994 0 0 1-1.406.008l-2.846-2.845a.994.994 0 0 1 .01-1.406.994.994 0 0 1 1.405-.009z",clipRule:"evenodd"})})}function qo(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m4.21-14.104-5.95 5.95-2.147-2.148a.994.994 0 0 0-1.406.009.994.994 0 0 0-.009 1.405l2.846 2.846a.994.994 0 0 0 1.406-.008l6.657-6.657a.994.994 0 0 0 .008-1.406.994.994 0 0 0-1.405.009",clipRule:"evenodd"})})}function gt(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 6.707a1 1 0 0 0-1.414-1.414L12 10.586 6.707 5.293a1 1 0 0 0-1.414 1.415L10.586 12l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 13.414l5.293 5.294a1 1 0 0 0 1.414-1.415L13.414 12z",clipRule:"evenodd"})})}function ir(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v1h1a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-1H6a3 3 0 0 1-3-3zm6 12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm6-11h-5a3 3 0 0 0-3 3v5H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1z",clipRule:"evenodd"})})}function Qo(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("rect",{width:10,height:2,x:7,y:11,fill:"currentColor",rx:1})})}function Jo(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M11.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L13.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"}),a.jsx("path",{fill:"currentColor",d:"M5.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L7.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})]})}function Ro(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M11.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L9.586 12 5.293 7.707a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"}),a.jsx("path",{fill:"currentColor",d:"M17.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L15.586 12l-4.293-4.293a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"})]})}function Ot(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0-14.4A1.2 1.2 0 1 0 12 9a1.2 1.2 0 0 0 0-2.4m1.2 9a1.2 1.2 0 0 1-2.4 0V12a1.2 1.2 0 0 1 2.4 0z",clipRule:"evenodd"})})}function el(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M18.27 2.259c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.259S16.302 1 17.002 1s1.268.564 1.268 1.259m1.425 17.785c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.26c0-.695.567-1.258 1.267-1.258s1.268.563 1.268 1.259m-2.33-13.379a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.057A1.06 1.06 0 0 0 16.3 5.61a1.06 1.06 0 0 0 1.064 1.056Zm3.891-.651a1.06 1.06 0 0 1-1.063 1.056 1.06 1.06 0 0 1-1.064-1.056 1.06 1.06 0 0 1 1.064-1.057 1.06 1.06 0 0 1 1.063 1.057m-4.253 3.329c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.734-.52c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9m1.357 1.777c.5 0 .906-.402.906-.899s-.405-.9-.906-.9c-.5 0-.905.403-.905.9s.405.9.905.9Zm-2.309.495a.79.79 0 0 1-.792.787.79.79 0 0 1-.791-.787c0-.434.354-.786.791-.786s.792.352.792.786m-3.62.404a.79.79 0 0 0 .792-.787.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .435.354.787.791.787m5.907.471a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.786.79.79 0 0 1 .792-.787.79.79 0 0 1 .791.787Zm-4.21 1.554c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.968.178a.68.68 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675m-5.774-.582c.375 0 .68-.302.68-.675a.68.68 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.127.943c0 .31-.254.561-.566.561a.564.564 0 0 1-.566-.562c0-.31.253-.561.566-.561s.566.251.566.562m.407 2.114a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.791-.09a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m-1.472-.765a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.973-1.64c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.251.566.562m-.588-3.666a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.562.564.564 0 0 0-.565.562c0 .31.253.562.565.562m.745-2.473a.496.496 0 0 1-.497.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494Zm.047-1.123a.406.406 0 0 0 .407-.406.406.406 0 0 0-.407-.405.407.407 0 0 0-.408.405c0 .224.182.406.408.406m-.452-1.26a.496.496 0 0 1-.498.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494m4.776 10.32a.564.564 0 0 0 .566-.561.564.564 0 0 0-.566-.562.564.564 0 0 0-.566.562c0 .31.253.562.566.562ZM12.883 4.439c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.254-.562.566-.562s.566.251.566.562m-.18 2.945a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.561.564.564 0 0 0-.566.561c0 .31.253.562.566.562m.045 1.597a.677.677 0 0 1-.68.676.68.68 0 0 1-.679-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675Zm-2.74.676a.79.79 0 0 0 .791-.786.79.79 0 0 0-.791-.787.79.79 0 0 0-.792.787c0 .434.354.786.792.786m-1.494-.36c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.406-.9.906-.9s.905.403.905.9m-3.529 2.18a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.056A1.06 1.06 0 0 0 3.92 10.42a1.06 1.06 0 0 0 1.064 1.056Zm-1.45.9c0 .696-.568 1.26-1.268 1.26S1 13.073 1 12.377c0-.695.567-1.259 1.267-1.259s1.268.564 1.268 1.26Zm.386-3.531A1.06 1.06 0 0 0 4.985 7.79 1.06 1.06 0 0 0 3.92 6.733 1.06 1.06 0 0 0 2.858 7.79 1.06 1.06 0 0 0 3.92 8.846Zm3.53-2.181c0 .497-.405.9-.906.9a.903.903 0 0 1-.905-.9c0-.496.405-.9.905-.9s.906.404.906.9M6.162 5.182c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.19-1.326a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.787c0-.434.354-.786.792-.786.437 0 .791.352.791.786m1.268.788c.375 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.68.68 0 0 0-.68.675c0 .373.304.676.68.676m1.063 1.708a.68.68 0 0 1-.68.675.677.677 0 0 1-.68-.675c0-.373.305-.675.68-.675s.68.302.68.675m-2.739.695a.79.79 0 0 0 .792-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.791.786m-1.832 5.578a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m1.221.201a.496.496 0 0 0 .497-.494.496.496 0 0 0-.497-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m2.354-1.236c0 .31-.253.562-.565.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.565.252.565.562m-.135 2.361c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.677.677 0 0 0-.68.675c0 .373.304.675.68.675m-1.608-.135c0 .31-.253.562-.566.562a.564.564 0 0 1-.565-.562c0-.31.253-.562.565-.562.313 0 .566.252.566.562m-2.488.538a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m.588.991c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.252.566.562m1.742.855c.376 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.677.677 0 0 0-.68.675c0 .373.305.676.68.676m3.484-1.08a.79.79 0 0 1-.79.786.79.79 0 0 1-.792-.786c0-.435.354-.787.791-.787s.792.352.792.787Zm.794 2.743c.5 0 .906-.402.906-.9 0-.496-.406-.899-.906-.899s-.905.403-.905.9.405.9.905.9Zm-2.536-.518a.79.79 0 0 1-.792.786.79.79 0 0 1-.792-.787.79.79 0 0 1 .792-.786.79.79 0 0 1 .792.787m-2.669 2.316a.79.79 0 0 0 .791-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.792.786m2.466 1.079c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9M13.584 22a1.06 1.06 0 0 0 1.064-1.056 1.06 1.06 0 0 0-1.064-1.057 1.06 1.06 0 0 0-1.063 1.057A1.06 1.06 0 0 0 13.584 22m-1.379-2.788c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.405-.9.905-.9s.906.403.906.9m3.123.54a1.06 1.06 0 0 0 1.063-1.057 1.06 1.06 0 0 0-1.063-1.056 1.06 1.06 0 0 0-1.064 1.056 1.06 1.06 0 0 0 1.064 1.057m-7.741-2.699a.677.677 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.305-.675.68-.675s.68.302.68.675"})})}function ln(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.533 9.321A7 7 0 1 0 19 12a1 1 0 1 1 2 0 9 9 0 1 1-9-9 1 1 0 1 1 0 2 7 7 0 0 0-6.467 4.321",clipRule:"evenodd"})})}function tl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.176 9.577 5 11.5 5s3.482 1.176 3.482 3.104L15 11h2.018L17 8.104C17 5.285 14.31 3 11.5 3S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.817-2.15-2-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}function rl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.5 9.577 5 11.5 5S15 6.5 15 8h2c0-2.82-2.69-5-5.5-5S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.96-2.15-2.143-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}function nl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M21 9a1 1 0 0 1-1 1H4a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1m0 6a1 1 0 0 1-1 1H10a1 1 0 1 1 0-2h10a1 1 0 0 1 1 1"})})}function sn(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M5 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})})}function al(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M11 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 8a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v8a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6zm2 0a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v3.871a19.13 19.13 0 0 1-16 0zm0 6.051V16a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1.949a21.13 21.13 0 0 1-16 0",clipRule:"evenodd"})]})}function cn(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})})}function ol(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),a.jsx("path",{fill:"currentColor",d:"M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"})]})}function ll(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4a7 7 0 1 0 3.594 13.008l3.699 3.7a1 1 0 0 0 1.414-1.415l-3.555-3.555A7 7 0 0 0 11 4m-5 7a5 5 0 1 1 10 0 5 5 0 0 1-10 0",clipRule:"evenodd"})})}function il(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 0-1 1v9.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L13 16.586V7a1 1 0 0 0-1-1"})})}function dn(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M11.293 4.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L13 7.414V17a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414-1.414z"})})}function sl(e){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:a.jsx("path",{fill:"currentColor",d:"M17.35 9c.578 0 .867.681.459 1.08l-4.85 4.735a.66.66 0 0 1-.917 0l-4.85-4.735C6.781 9.68 7.071 9 7.648 9z"})})}function un(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.72 6.695a1 1 0 1 0-1.44-1.39l-1.518 1.572C14.601 6.348 13.331 6 12 6 8.739 6 5.843 8.092 4.017 9.805c-1.29 1.212-1.29 3.178 0 4.39a18 18 0 0 0 2.666 2.083l-1.695 1.755a1 1 0 0 0 1.438 1.39zM8.67 14.219l5.431-5.623a4 4 0 0 0-5.43 5.623Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",d:"M16 12a4 4 0 0 1-3.975 4l-1.749 1.81c.56.122 1.136.19 1.724.19 3.26 0 6.157-2.092 7.983-3.805 1.29-1.212 1.29-3.178 0-4.39a20 20 0 0 0-1.071-.936l-2.914 3.017z"})]})}function fn(e){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[a.jsx("path",{fill:"currentColor",d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.983 9.805c1.29 1.212 1.29 3.178 0 4.39C18.157 15.908 15.26 18 12 18c-3.261 0-6.157-2.092-7.983-3.805-1.29-1.212-1.29-3.178 0-4.39C5.843 8.092 8.74 6 12 6s6.157 2.092 7.983 3.805M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0",clipRule:"evenodd"})]})}function cl({label:e,isChecked:t,isDisabled:r,onChange:n}){const o=t?ol:cn;return a.jsxs("label",{className:x("flex flex-row gap-x-1 text-center has-[:disabled]:opacity-40",{disabled:r,"cursor-pointer":!r}),children:[a.jsxs("div",{className:x("relative flex h-10 w-10 items-center justify-center rounded-full",{"state-layer":!r}),children:[a.jsx("input",{type:"radio",checked:t,onChange:n,disabled:r,className:x("peer appearance-none")}),a.jsx("span",{className:"radio-icon-color peer-checked:radio-icon-checked-color peer-checked:peer-disabled:radio-icon-checked-disabled-color absolute [&_svg]:h-6 [&_svg]:w-6",children:a.jsx(o,{})})]}),a.jsx("span",{className:"radio-label-color inline-flex items-center justify-center text-label-lg ",children:e})]})}const dl="bg-transparent",ul="button-segment-bg-color-selected",fl="button-segment-text-color-default button-segment-text-color-hover button-segment-text-color-focused",hl="button-segment-text-color-selected",gl=`
6
+ button-segment-underline-base
7
+ before:bottom-0
8
+ button-segment-underline-hover
9
+ button-segment-underline-hover-color
10
+ `,vl=`
11
+ button-segment-underline-base
12
+ button-segment-underline-selected
13
+ `;var je=(e=>(e.Rounded="rounded",e.Underlined="underlined",e))(je||{});function pl({icon:e,label:t,selected:r,disabled:n,onClick:o,type:l=je.Rounded,isNested:s=!1}){const c=l===je.Underlined,u=r?c?"bg-transparent":ul:dl,f=c?r?vl:gl:"",p=r?hl:fl,g=c?s?"px-md py-sm":"px-lg py-md":"px-sm py-[6px]",w=c?"":"rounded-full",y=s?c?"text-title-sm":"text-label-md":c?"text-title-md":"text-label-lg";return a.jsx(le,{onClick:o,className:x("enabled:state-layer relative flex items-center disabled:opacity-40",u,p,g,w,f,{"pl-xs":!!e&&!c}),disabled:n,children:a.jsxs("div",{className:x("flex flex-row items-center justify-center gap-2",y),children:[e&&a.jsx("span",{children:e}),a.jsx("span",{className:"shrink-0 font-inter",children:t})]})})}const sr=A.forwardRef(({isChecked:e,isIndeterminate:t,label:r,isLabelFirst:n,isDisabled:o,onCheckedChange:l,name:s},c)=>{const u=A.useRef(null);A.useEffect(()=>{u.current&&(u.current.indeterminate=t??!1)},[t,u]);const f=t?Qo:Yo;function p(g){c&&(typeof c=="function"?c(g):c.current=g),u.current=g}return a.jsxs("div",{className:x("group inline-flex has-[:disabled]:opacity-40",n?"flex-row-reverse":"flex-row",{disabled:o,"gap-x-2":r}),children:[a.jsx("input",{id:s,name:s,type:"checkbox",className:"peer hidden appearance-none",checked:e,ref:p,disabled:o,onChange:g=>{l==null||l(g)}}),a.jsx("span",{onClick:()=>{var g;return(g=u.current)==null?void 0:g.click()},className:x("checkbox-base checkbox-state checkbox-icon checkbox-icon-hidden","checkbox-border-default","peer-[&:is(:checked,:indeterminate)]:checkbox-border-checked","peer-[&:is(:checked,:indeterminate)]:checkbox-bg-checked","peer-[&:is(:checked,:indeterminate)]:checkbox-text-checked","peer-disabled:peer-[&:is(:checked,:indeterminate)]:[&_svg]:hidden","peer-disabled:peer-[&:not(:checked,:indeterminate)]:checkbox-border-color-disabled","peer-disabled:peer-[&:is(:checked,:indeterminate)]:checkbox-border-color-disabled-checked","peer-disabled:peer-[&:is(:checked,:indeterminate)]:checkbox-bg-color-disabled-checked"),children:a.jsx(f,{})}),a.jsx(ml,{label:r,name:s})]})});function ml({label:e,name:t}){return a.jsx("label",{htmlFor:t,className:"checkbox-label checkbox-label-disabled",children:e})}var Ie=(e=>(e.Vertical="vertical",e.Horizontal="horizontal",e))(Ie||{});const bl="divider-bg-color",xl={[Ie.Horizontal]:"w-full",[Ie.Vertical]:"h-full"},wl="1px";function hn({type:e=Ie.Horizontal,width:t,height:r,lineHeight:n=wl}){const o={...e===Ie.Horizontal?{height:n}:{width:n}};let l=xl[e];return t&&e===Ie.Horizontal?l=t:r&&e===Ie.Vertical&&(l=r),a.jsx("div",{className:x(bl,l),style:o})}var vt=(e=>(e.Small="small",e.Medium="medium",e))(vt||{}),Pe=(e=>(e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e))(Pe||{});function He({text:e,position:t=Pe.Top,maxWidth:r="max-w-[200px]",offset:n=8,openDelay:o=0,closeDelay:l=100,children:s}){const c=A.useRef(null),u=A.useRef(null),[f,p]=A.useState(!1),[g,w]=A.useState({top:0,left:0}),y=A.useRef(),S=A.useRef(),b=()=>{clearTimeout(y.current),clearTimeout(S.current)},C=()=>{b(),y.current=setTimeout(()=>p(!0),o)},E=()=>{b(),S.current=setTimeout(()=>p(!1),l)};return A.useLayoutEffect(()=>{var B;if(!f)return;const _=(B=c.current)==null?void 0:B.getBoundingClientRect();if(!_)return;const I={[Pe.Top]:{top:_.top-n,left:_.left+_.width/2,transform:"translate(-50%, -100%)"},[Pe.Bottom]:{top:_.bottom+n,left:_.left+_.width/2,transform:"translate(-50%, 0)"},[Pe.Left]:{top:_.top+_.height/2,left:_.left-n,transform:"translate(-100%, -50%)"},[Pe.Right]:{top:_.top+_.height/2,left:_.right+n,transform:"translate(0, -50%)"}}[t];w({top:I.top,left:I.left}),u.current.style.transform=I.transform},[f,t,n]),A.useLayoutEffect(()=>{if(!f)return;const _=()=>{var B;const I=(B=c.current)==null?void 0:B.getBoundingClientRect();I&&w(P=>({...P,left:I.left+I.width/2}))};return window.addEventListener("scroll",_,!0),window.addEventListener("resize",_),()=>{window.removeEventListener("scroll",_,!0),window.removeEventListener("resize",_)}},[f]),a.jsxs(a.Fragment,{children:[a.jsx("div",{ref:c,className:"inline-block cursor-pointer",onMouseEnter:C,onFocus:C,onMouseLeave:E,onBlur:E,children:s}),f&&nr.createPortal(a.jsx("div",{ref:u,role:"tooltip",style:{position:"fixed",top:g.top,left:g.left,transition:"opacity .15s ease",opacity:1},className:x("z-[9999999999] w-max rounded p-xs tooltip-bg tooltip-text-color",r),onMouseEnter:C,onMouseLeave:E,children:a.jsx("p",{className:"w-full break-words",children:e})}),document.body)]})}function yl({keyText:e,value:t,tooltipPosition:r,tooltipText:n,supportingLabel:o,size:l=vt.Small,isTruncated:s=!1,copyText:c,onCopySuccess:u,onCopyError:f,fullwidth:p,isReverse:g=!1,valueHoverTitle:w}){const y=g?"flex-row-reverse":"flex-row";async function S(b){if(navigator.clipboard&&c)try{await navigator.clipboard.writeText(c),u==null||u(b,c)}catch(C){console.error("Failed to copy:",C),f==null||f(C,c)}}return a.jsxs("div",{className:x("flex w-full items-baseline gap-xs py-xxs font-inter",y,{"justify-between":p}),children:[a.jsxs("div",{className:x("flex shrink-0 flex-row items-center gap-x-0.5",{"w-1/4":!p}),children:[a.jsx("span",{className:"key-value-key-text-color text-body-md",children:e}),n&&a.jsx(He,{text:n,position:r,children:a.jsx(Ot,{className:"key-supporting-text-color"})})]}),a.jsxs("div",{className:x("flex flex-row items-baseline gap-1 break-all",{"w-3/4":!p,truncate:s}),children:[a.jsx("span",{title:w,className:x("key-value-hover-text-color",l===vt.Medium?"text-body-lg":"text-body-md",{truncate:s}),children:t}),o&&a.jsx("span",{className:x("key-supporting-text-color",l===vt.Medium?"text-body-md":"text-body-sm"),children:o}),a.jsx("div",{className:"self-center",children:c&&a.jsx(le,{onClick:S,children:a.jsx(ir,{className:"key-supporting-text-color"})})})]})]})}var ie=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(ie||{});const Sl={[ie.Small]:"text-title-sm",[ie.Medium]:"text-title-md",[ie.Large]:"text-title-lg"},Cl={[ie.Small]:"text-label-md",[ie.Medium]:"text-label-md",[ie.Large]:"text-label-lg"},El={[ie.Small]:"text-label-md",[ie.Medium]:"text-label-md",[ie.Large]:"text-label-lg"};function _l({size:e=ie.Medium,isCentered:t,supportingLabel:r,label:n,text:o,tooltipPosition:l,tooltipText:s}){const c=Sl[e],u=Cl[e],f=El[e],p=t?"items-center":"items-start",g=e===ie.Small?"gap-0.5":"gap-1";return a.jsxs("div",{className:x("flex flex-col",p,g),children:[a.jsxs("div",{className:"flex flex-row flex-wrap items-center gap-0.5",children:[a.jsx("span",{className:x("label-text-primary-neutral font-inter",c),children:o}),r&&a.jsx("span",{className:x("label-text-secondary-neutral font-inter",u),children:r})]}),a.jsx("div",{className:"flex flex-row items-center gap-x-0.5",children:a.jsxs("span",{className:x("label-text-secondary-neutral flex items-center font-inter",f),children:[n,s&&a.jsx("div",{className:"ml-xxxs flex items-center",children:a.jsx(He,{text:s,position:l,children:a.jsx(Ot,{className:"label-text-secondary-neutral"})})})]})})]})}function gn({showRightIcon:e,hideBottomBorder:t,onClick:r,isDisabled:n,children:o,isHighlighted:l}){function s(u){(u.key==="Enter"||u.key===" ")&&!n&&r&&r()}function c(){!n&&r&&r()}return a.jsx("div",{className:x("w-full",{"list-item-border-color border-b pb-xs":!t},{"opacity-40":n}),children:a.jsxs("div",{onClick:c,role:"button",tabIndex:0,onKeyDown:s,className:x("list-item-color relative flex flex-row items-center justify-between px-md py-sm",!n&&r?"cursor-pointer":"cursor-default",{"list-item-highlight-bg":l,"state-layer":!n}),children:[o,e&&a.jsx(ce,{size:ne.Small,type:W.Ghost,disabled:n,icon:a.jsx(lr,{})})]})})}function Nl({title:e,titleCentered:t,onBack:r,onClose:n,testId:o}){const l=t?"text-center":r?"ml-1":"",s=t&&(!r||!n);return a.jsxs("div",{className:"header-bg-color header-text-color flex min-h-[56px] w-full items-center px-md--rs pb-xs pt-sm [&_svg]:h-5 [&_svg]:w-5",children:[r?a.jsx(ce,{size:ne.Small,type:W.Ghost,onClick:r,icon:a.jsx(on,{})}):s&&a.jsx("div",{className:"w-9"}),a.jsx("div",{className:x("flex-grow",l),children:a.jsx("span",{className:"font-inter text-title-lg","data-testid":o,children:e})}),n?a.jsx(ce,{size:ne.Small,type:W.Ghost,onClick:n,icon:a.jsx(gt,{}),testId:"close-icon"}):s&&a.jsx("div",{className:"w-9"})]})}function Tl({children:e,hasBorder:t,bgColor:r="panel-bg"}){const n=t?"border panel-border-color":"border border-transparent";return a.jsx("div",{className:x("flex w-full flex-col rounded-xl",r,n),children:e})}function vn(){return a.jsx("div",{className:"flex h-full w-full items-center justify-center bg-iota-neutral-96 dark:bg-iota-neutral-10",children:a.jsx(al,{className:"h-4 w-4 text-iota-neutral-40 dark:text-iota-neutral-60"})})}const pn=A.forwardRef(({onError:e,renderFallback:t,...r},n)=>{const[o,l]=A.useState(!1);function s(c){l(!0),e==null||e(c)}return o||!r.src?t||a.jsx(vn,{}):a.jsx(cr,{onError:s,ref:n,...r})}),cr=A.forwardRef((e,t)=>a.jsx("img",{className:"h-full w-full object-cover",ref:t,...e}));var we=(e=>(e.Default="default",e.Error="error",e.Success="success",e.Warning="warning",e))(we||{}),pt=(e=>(e.Default="default",e.Elevated="elevated",e))(pt||{});const Al={[we.Default]:"bg-default-surface text-on-default",[we.Error]:"bg-error-surface text-on-error",[we.Success]:"bg-success-surface text-on-success",[we.Warning]:"bg-warning-surface text-on-warning"},Ol={[we.Default]:"bg-default-surface",[we.Error]:"bg-error-surface",[we.Success]:"bg-success-surface",[we.Warning]:"bg-warning-surface"};function Dl({icon:e,title:t,supportingText:r,type:n,style:o}){const l=Al[n],s=o===pt.Elevated?Ol[n]:"";return a.jsxs("div",{className:x("flex flex-row items-start gap-4 py-xs pr-lg",s,{"rounded-lg pl-xs":o===pt.Elevated}),children:[e&&a.jsx("span",{className:x("flex items-center justify-center rounded-lg [&_svg]:h-4 [&_svg]:w-4",l,{"p-xs":o===pt.Default}),children:e}),a.jsxs("div",{className:"flex flex-col gap-1",children:[t&&a.jsx("span",{className:"infobox-text-title text-title-sm",children:t}),r&&a.jsx("span",{className:"infobox-supporting-text text-body-sm",children:r})]})]})}var fe=(e=>(e.Default="default",e.Error="error",e.Warning="warning",e.Success="success",e))(fe||{});const mn={[fe.Default]:"text-on-default",[fe.Error]:"text-on-error",[fe.Warning]:"text-on-warning",[fe.Success]:"text-on-success"},Ll={[fe.Default]:"bg-default-surface",[fe.Error]:"bg-error-surface",[fe.Warning]:"bg-warning-surface",[fe.Success]:"bg-success-surface"};function Il({text:e,duration:t=2e3,onClose:r,showClose:n,type:o=fe.Default}){return A.useEffect(()=>{if(t){const l=setTimeout(r,t);return()=>clearTimeout(l)}},[t,r]),a.jsxs("div",{className:x("transition-all duration-300 ease-out","z-99 bottom-0","flex w-full items-center justify-between gap-xxs rounded-md py-sm pl-md pr-sm",Ll[o]),children:[a.jsx("div",{className:x("w-full text-left text-body-md",mn[o]),children:e}),n&&a.jsx(gt,{className:x("h-5 w-5 cursor-pointer",mn[o]),onClick:r})]})}function Pl({color:e="loading-indicator-color",size:t="w-5 h-5",text:r,testId:n}){return a.jsxs("div",{className:"flex items-center justify-center gap-xs",children:[a.jsx(ln,{className:x("animate-spin",e,t),"data-testid":n}),r&&a.jsx("span",{className:x("text-body-sm",e),children:r})]})}function bn({width:e="w-full",height:t="h-4"}){return a.jsx("div",{className:x("animate-pulse rounded-md bg-gradient-to-r from-shader-primary-light-8 bg-[length:1000px_100%] dark:from-shader-primary-dark-8",e,t)})}function kl({children:e,widthClass:t="w-full",heightClass:r="h-3",hasSecondaryColors:n,isRounded:o=!0}){return a.jsx("div",{className:x("animate-pulse rounded-full",t,r,o&&"rounded-full",n?"skeleton-secondary-bg":"skeleton-bg"),children:e})}const Bl={autoPlay:!0,muted:!0,playsInline:!0,controls:!0,controlsList:"nodownload",disablePictureInPicture:!0,preload:"auto",loop:!0,width:"100%",height:"auto"},Ml={autoPlay:!0,muted:!0,playsInline:!0,controls:!1,disablePictureInPicture:!0,preload:"auto",loop:!0,width:"100%",height:"auto"},xn=A.forwardRef(({width:e="100%",height:t="auto",isAutoPlayEnabled:r,disableControls:n,...o},l)=>{const s=r?n?Ml:Bl:{preload:"metadata",autoPlay:!1};return a.jsx("video",{ref:l,width:e,height:t,...s,...o,children:"Your browser does not support the video tag."})});var Ae=(e=>(e.Small="small",e.Default="default",e))(Ae||{}),Dt=(e=>(e.Left="left",e.Right="right",e))(Dt||{});const Fl="relative inline-flex items-center p-xxs border rounded-full cursor-pointer",Lt={active:"toggle-bg-active toggle-border-active",inactive:"toggle-bg-inactive toggle-border-inactive",disabledActive:"toggle-bg-disabled-active toggle-border-disabled-active",disabled:"opacity-40 cursor-not-allowed"},Vl={[Ae.Small]:"h-5 w-10",[Ae.Default]:"h-6 w-12"},Ul="absolute rounded-full transition-all duration-200 ease-in",wn={[Ae.Small]:{unchecked:"left-1",checked:"left-8 -translate-x-full"},[Ae.Default]:{unchecked:"left-1",checked:"left-10 -translate-x-full"}},yn={unchecked:"toggle-thumb-color",checked:"toggle-thumb-color-checked"},Wl={[Ae.Small]:"h-3 w-3",[Ae.Default]:"h-4 w-4"},jl="inline-flex items-center gap-2",Hl="text-label-lg toggle-label-color",Gl=A.forwardRef(({label:e,isToggled:t,labelPosition:r=Dt.Right,isDisabled:n=!1,onChange:o,name:l,size:s=Ae.Default,testId:c},u)=>{const f=A.useRef(null);function p(C){const E=C.target.checked;o==null||o(E,C)}function g(C){u&&(typeof u=="function"?u(C):u.current=C),f.current=C}const w=x(Fl,{[Lt.active]:t&&!n,[Lt.inactive]:!t,[Lt.disabledActive]:n&&t,[Lt.disabled]:n,[Vl[s]]:!0}),y=x(Ul,{[wn[s].unchecked]:!t,[wn[s].checked]:t,[yn.unchecked]:!t,[yn.checked]:t,[Wl[s]]:!0}),S=x(jl,{"flex-row-reverse":r===Dt.Left,"cursor-not-allowed":n}),b=x(Hl,{"opacity-40":n&&!t});return a.jsxs("div",{className:S,children:[a.jsx("input",{id:l,name:l,type:"checkbox",className:"sr-only",checked:t,ref:g,disabled:n,onChange:p,"data-testid":c}),a.jsx("span",{role:"switch",onClick:()=>{var C;return(C=f.current)==null?void 0:C.click()},className:w,children:a.jsx("span",{className:y})}),e&&a.jsx("label",{htmlFor:l,className:b,children:e})]})});function Sn({text:e,isCopyable:t,isExternal:r,externalLink:n,copyText:o=e,onCopySuccess:l,onCopyError:s,onOpen:c}){async function u(p){if(navigator.clipboard){p==null||p.stopPropagation();try{await navigator.clipboard.writeText(o),l==null||l(p,o)}catch(g){console.error("Failed to copy:",g),s==null||s(g,o)}}}function f(p){if(p==null||p.stopPropagation(),n){const g=window.open(n,"_blank","noopener noreferrer");g&&(g.opener=null)}else c==null||c(p)}return a.jsxs("div",{className:"address-text-color group flex flex-row items-center gap-1",children:[a.jsx("span",{className:x("font-inter text-body-sm"),children:e}),t&&a.jsx(le,{onClick:u,className:"opacity-0 group-hover:opacity-100",children:a.jsx(ir,{})}),r&&a.jsx(le,{onClick:f,className:"opacity-0 group-hover:opacity-100",children:a.jsx(Zo,{})})]})}var dr=(e=>(e.Image="image",e.Video="video",e))(dr||{});function Cn({src:e,isAutoPlayEnabled:t,assetType:r,altText:n,showFallback:o,disableControls:l}){return r===dr.Video?a.jsx(xn,{src:e,isAutoPlayEnabled:t,disableControls:l}):o?a.jsx(pn,{src:e,alt:n}):a.jsx(cr,{src:e,alt:n})}var ye=(e=>(e.Default="default",e.Selected="selected",e))(ye||{}),It=(e=>(e.Small="small",e.Default="default",e))(It||{});const En="rounded-full",$l={[ye.Default]:"bg-transparent",[ye.Selected]:"chip-bg-selected"},zl="outline outline-1 outline-transparent hover:outline-shader-primary-light-8 active:outline-shader-primary-light-12 dark:hover:outline-shader-primary-dark-8 dark:active:outline-shader-primary-dark-12 hover:bg-shader-primary-light-8 active:bg-shader-primary-light-12 dark:hover:bg-shader-primary-dark-8 dark:active:bg-shader-primary-dark-12 focus:bg-shader-primary-light-12 dark:focus:bg-shader-primary-dark-12",Xl={[ye.Default]:"chip-border-default",[ye.Selected]:"border-transparent"},Kl={[ye.Default]:"chip-text-default",[ye.Selected]:"chip-text-selected"},Zl="focus-visible:shadow-[0_0_0_2px] focus-visible:chip-focus-ring focus-visible:outline-none";function Yl({label:e,showClose:t,selected:r,onClose:n,onClick:o,avatar:l,leadingElement:s,trailingElement:c,disabled:u,size:f=It.Default}){const p=r?ye.Selected:ye.Default;return a.jsx(le,{onClick:o,className:x("border transition-all duration-500 ease-in-out disabled:opacity-40",En,$l[p],Xl[p],Zl),disabled:u,children:a.jsxs("span",{className:x("flex h-full w-full flex-row items-center gap-x-2",l?"py-xxs":"py-[6px]",l?"pl-xxs":s?"pl-xs":"pl-sm",En,!u&&zl,t?"pr-xs":"pr-sm",Kl[p]),children:[l??s,a.jsx("span",{className:x(f===It.Small?"text-label-md":"text-body-md"),children:e}),c,t&&a.jsx(le,{onClick:n,className:"cursor-pointer [&_svg]:h-4 [&_svg]:w-4",children:a.jsx(gt,{})})]})})}var Ge=(e=>(e.Outlined="outlined",e.Filled="filled",e.Transparent="transparent",e))(Ge||{});const ql={[Ge.Outlined]:"bg-transparent",[Ge.Filled]:"segmented-filled-bg-color",[Ge.Transparent]:"bg-transparent"},Ql="border segmented-outlined-border";function Jl({type:e=Ge.Filled,children:t,shape:r=je.Rounded}){const n=ql[e],o=e===Ge.Outlined?Ql:"",l=r===je.Rounded?"rounded-full gap-1 p-xxs":"",s=r===je.Rounded?"flex-wrap":"flex-nowrap overflow-x-auto";return a.jsx("div",{className:x("flex flex-row",n,o,l,s),children:t})}var $e=(e=>(e.Small="small",e.Medium="medium",e))($e||{});const Rl={[$e.Small]:"px-md py-sm--rs",[$e.Medium]:"px-md--rs py-sm--rs"},ei={[$e.Small]:"text-title-md",[$e.Medium]:"text-title-lg"};function ti({title:e,subtitle:t,trailingElement:r,tooltipText:n,supportingElement:o,tooltipPosition:l,size:s=$e.Medium,testId:c}){return a.jsxs("div",{className:x("flex flex-row items-center justify-between",Rl[s]),"data-testid":c,children:[a.jsxs("div",{className:"flex flex-row items-center gap-x-xxxs",children:[a.jsxs("div",{className:"flex flex-col justify-start",children:[a.jsxs("div",{className:"title-main-color flex flex-row items-center gap-x-0.5",children:[a.jsx("h4",{className:x(ei[s]),children:e}),n&&a.jsx(He,{text:n,position:l,children:a.jsx(Ot,{className:"title-icon-color"})})]}),a.jsx("p",{className:"title-subtitle-color text-label-md",children:t})]}),o]}),r]})}function Pt({children:e,hasErrorStyles:t}){return a.jsx("p",{className:x("secondary-text-color text-label-lg",{["group-[.errored]:w-full group-[.errored]:secondary-text-error-color group-[.errored]:bg-error-surface group-[.errored]:rounded-xl group-[.errored]:py-1 group-[.errored]:px-2"]:t}),children:e})}const _n="w-full input-caret-color bg-transparent text-body-lg caret-input-caret-color focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed",Nn="input-text-color",Tn="input-placeholder-color",ri="[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:cursor-not-allowed",An="px-md py-sm rounded-lg border input-border-color input-border-color-disabled group-[.enabled]:cursor-text input-border-error-color hover:group-[.enabled]:input-border-color-hover input-border-color-focus",ni="flex flex-col gap-y-2 text-label-lg input-label-color";var On=(e=>(e.Label="label",e.Div="div",e))(On||{});function ur({label:e,caption:t,disabled:r,errorMessage:n,amountCounter:o,required:l,labelHtmlTag:s="label",children:c}){return a.jsxs("div",{className:x("group flex w-full flex-col gap-y-2",{"cursor-not-allowed opacity-40":r,errored:n,enabled:!r,required:l}),children:[e?a.jsxs(ai,{labelHtmlTag:s,children:[e,c]}):c,(n||t||o)&&a.jsxs("div",{className:x("flex flex-row items-center",t||n?"justify-between gap-md":"justify-end"),children:[(n||t)&&a.jsx(Pt,{hasErrorStyles:!0,children:n||t}),o&&a.jsx(Pt,{children:o})]})]})}function ai({labelHtmlTag:e,children:t}){return A.createElement(e,{className:ni},t)}var he=(e=>(e.Text="text",e.Password="password",e.Number="number",e.NumericFormat="numericFormat",e))(he||{}),Dn=(e=>(e.None="none",e.Vertical="vertical",e))(Dn||{});function Ln(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var mt;(function(e){e.event="event",e.props="prop"})(mt||(mt={}));function ke(){}function oi(e){var t,r=void 0;return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return t&&n.length===t.length&&n.every(function(l,s){return l===t[s]})||(t=n,r=e.apply(void 0,n)),r}}function bt(e){return!!(e||"").match(/\d/)}function rt(e){return e==null}function li(e){return typeof e=="number"&&isNaN(e)}function In(e){return rt(e)||li(e)||typeof e=="number"&&!isFinite(e)}function Pn(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ii(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function si(e,t,r){var n=ii(r),o=e.search(/[1-9]/);return o=o===-1?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(n,"$1"+t)}function ci(e){var t=A.useRef(e);t.current=e;var r=A.useRef(function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return t.current.apply(t,n)});return r.current}function fr(e,t){t===void 0&&(t=!0);var r=e[0]==="-",n=r&&t;e=e.replace("-","");var o=e.split("."),l=o[0],s=o[1]||"";return{beforeDecimal:l,afterDecimal:s,hasNegation:r,addNegation:n}}function di(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",o=r[1]||"";return(t?"-":"")+n+(o?"."+o:"")}function kn(e,t,r){for(var n="",o=r?"0":"",l=0;l<=t-1;l++)n+=e[l]||o;return n}function Bn(e,t){return Array(t+1).join(e)}function Mn(e){var t=e+"",r=t[0]==="-"?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),o=n[0],l=n[1];if(l=Number(l),!l)return r+o;o=o.replace(".","");var s=1+l,c=o.length;return s<0?o="0."+Bn("0",Math.abs(s))+o:s>=c?o=o+Bn("0",s-c):o=(o.substring(0,s)||"0")+"."+o.substring(s),r+o}function Fn(e,t,r){if(["","-"].indexOf(e)!==-1)return e;var n=(e.indexOf(".")!==-1||r)&&t,o=fr(e),l=o.beforeDecimal,s=o.afterDecimal,c=o.hasNegation,u=parseFloat("0."+(s||"0")),f=s.length<=t?"0."+s:u.toFixed(t),p=f.split("."),g=l;l&&Number(p[0])&&(g=l.split("").reverse().reduce(function(b,C,E){return b.length>E?(Number(b[0])+Number(C)).toString()+b.substring(1,b.length):C+b},p[0]));var w=kn(p[1]||"",t,r),y=c?"-":"",S=n?".":"";return""+y+g+S+w}function ze(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var Vn=oi(function(e,t){for(var r=0,n=0,o=e.length,l=t.length;e[r]===t[r]&&r<o;)r++;for(;e[o-1-n]===t[l-1-n]&&l-n>r&&o-n>r;)n++;return{from:{start:r,end:o-n},to:{start:r,end:l-n}}}),ui=function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}};function fi(e,t,r){return Math.min(Math.max(e,t),r)}function hr(e){return Math.max(e.selectionStart,e.selectionEnd)}function hi(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function gi(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function vi(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,o=e.formattedValueIndex;return t[n]===r[o]}function pi(e,t,r,n,o,l,s){s===void 0&&(s=vi);var c=o.findIndex(function(I){return I}),u=e.slice(0,c);!t&&!r.startsWith(u)&&(t=u,r=u+r,n=n+u.length);for(var f=r.length,p=e.length,g={},w=new Array(f),y=0;y<f;y++){w[y]=-1;for(var S=0,b=p;S<b;S++){var C=s({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:y,formattedValueIndex:S});if(C&&g[S]!==!0){w[y]=S,g[S]=!0;break}}}for(var E=n;E<f&&(w[E]===-1||!l(r[E]));)E++;var k=E===f||w[E]===-1?p:w[E];for(E=n-1;E>0&&w[E]===-1;)E--;var _=E===-1||w[E]===-1?0:w[E]+1;return _>k?k:n-_<k-n?_:k}function Un(e,t,r,n){var o=e.length;if(t=fi(t,0,o),n==="left"){for(;t>=0&&!r[t];)t--;t===-1&&(t=r.indexOf(!0))}else{for(;t<=o&&!r[t];)t++;t>o&&(t=r.lastIndexOf(!0))}return t===-1&&(t=o),t}function mi(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=!!(bt(e[r])||bt(e[r-1]));return t}function Wn(e,t,r,n,o,l){l===void 0&&(l=ke);var s=ci(function(S,b){var C,E;return In(S)?(E="",C=""):typeof S=="number"||b?(E=typeof S=="number"?Mn(S):S,C=n(E)):(E=o(S,void 0),C=n(E)),{formattedValue:C,numAsString:E}}),c=A.useState(function(){return s(rt(e)?t:e,r)}),u=c[0],f=c[1],p=function(S,b){S.formattedValue!==u.formattedValue&&f({formattedValue:S.formattedValue,numAsString:S.value}),l(S,b)},g=e,w=r;rt(e)&&(g=u.numAsString,w=!0);var y=s(g,w);return A.useMemo(function(){f(y)},[y.formattedValue]),[u,p]}function bi(e){return e.replace(/[^0-9]/g,"")}function xi(e){return e}function wi(e){var t=e.type;t===void 0&&(t="text");var r=e.displayType;r===void 0&&(r="input");var n=e.customInput,o=e.renderText,l=e.getInputRef,s=e.format;s===void 0&&(s=xi);var c=e.removeFormatting;c===void 0&&(c=bi);var u=e.defaultValue,f=e.valueIsNumericString,p=e.onValueChange,g=e.isAllowed,w=e.onChange;w===void 0&&(w=ke);var y=e.onKeyDown;y===void 0&&(y=ke);var S=e.onMouseUp;S===void 0&&(S=ke);var b=e.onFocus;b===void 0&&(b=ke);var C=e.onBlur;C===void 0&&(C=ke);var E=e.value,k=e.getCaretBoundary;k===void 0&&(k=mi);var _=e.isValidInputCharacter;_===void 0&&(_=bt);var I=e.isCharacterSame,B=Ln(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),P=Wn(E,u,!!f,s,c,p),N=P[0],D=N.formattedValue,G=N.numAsString,ae=P[1],de=A.useRef(),Ee=A.useRef({formattedValue:D,numAsString:G}),_e=function(T,L){Ee.current={formattedValue:T.formattedValue,numAsString:T.value},ae(T,L)},Ue=A.useState(!1),Qe=Ue[0],V=Ue[1],M=A.useRef(null),Z=A.useRef({setCaretTimeout:null,focusTimeout:null});A.useEffect(function(){return V(!0),function(){clearTimeout(Z.current.setCaretTimeout),clearTimeout(Z.current.focusTimeout)}},[]);var ee=s,te=function(T,L){var F=parseFloat(L);return{formattedValue:T,value:L,floatValue:isNaN(F)?void 0:F}},Q=function(T,L,F){T.selectionStart===0&&T.selectionEnd===T.value.length||(ze(T,L),Z.current.setCaretTimeout=setTimeout(function(){T.value===F&&T.selectionStart!==L&&ze(T,L)},0))},re=function(T,L,F){return Un(T,L,k(T),F)},H=function(T,L,F){var z=k(L),oe=pi(L,D,T,F,z,_,I);return oe=Un(L,oe,z),oe},st=function(T){var L=T.formattedValue;L===void 0&&(L="");var F=T.input,z=T.source,oe=T.event,X=T.numAsString,U;if(F){var ue=T.inputValue||F.value,me=hr(F);F.value=L,U=H(ue,L,me),U!==void 0&&Q(F,U,L)}L!==D&&_e(te(L,X),{event:oe,source:z})};A.useEffect(function(){var T=Ee.current,L=T.formattedValue,F=T.numAsString;(D!==L||G!==F)&&_e(te(D,G),{event:void 0,source:mt.props})},[D,G]);var Je=M.current?hr(M.current):void 0,Ne=typeof window<"u"?A.useLayoutEffect:A.useEffect;Ne(function(){var T=M.current;if(D!==Ee.current.formattedValue&&T){var L=H(Ee.current.formattedValue,D,Je);T.value=D,Q(T,L,D)}},[D]);var ct=function(T,L,F){var z=L.target,oe=de.current?ui(de.current,z.selectionEnd):Vn(D,T),X=Object.assign(Object.assign({},oe),{lastValue:D}),U=c(T,X),ue=ee(U);if(U=c(ue,void 0),g&&!g(te(ue,U))){var me=L.target,Te=hr(me),Ct=H(T,D,Te);return me.value=D,Q(me,Ct,D),!1}return st({formattedValue:ue,numAsString:U,inputValue:T,event:L,source:F,input:L.target}),!0},De=function(T,L){L===void 0&&(L=0);var F=T.selectionStart,z=T.selectionEnd;de.current={selectionStart:F,selectionEnd:z+L}},Kt=function(T){var L=T.target,F=L.value,z=ct(F,T,mt.event);z&&w(T),de.current=void 0},St=function(T){var L=T.target,F=T.key,z=L.selectionStart,oe=L.selectionEnd,X=L.value;X===void 0&&(X="");var U;F==="ArrowLeft"||F==="Backspace"?U=Math.max(z-1,0):F==="ArrowRight"?U=Math.min(z+1,X.length):F==="Delete"&&(U=z);var ue=0;F==="Delete"&&z===oe&&(ue=1);var me=F==="ArrowLeft"||F==="ArrowRight";if(U===void 0||z!==oe&&!me){y(T),De(L,ue);return}var Te=U;if(me){var Ct=F==="ArrowLeft"?"left":"right";Te=re(X,U,Ct),Te!==U&&T.preventDefault()}else F==="Delete"&&!_(X[U])?Te=re(X,U,"right"):F==="Backspace"&&!_(X[U])&&(Te=re(X,U,"left"));Te!==U&&Q(L,Te,X),y(T),De(L,ue)},Zt=function(T){var L=T.target,F=function(){var z=L.selectionStart,oe=L.selectionEnd,X=L.value;if(X===void 0&&(X=""),z===oe){var U=re(X,z);U!==z&&Q(L,U,X)}};F(),requestAnimationFrame(function(){F()}),S(T),De(L)},Yt=function(T){T.persist&&T.persist();var L=T.target,F=T.currentTarget;M.current=L,Z.current.focusTimeout=setTimeout(function(){var z=L.selectionStart,oe=L.selectionEnd,X=L.value;X===void 0&&(X="");var U=re(X,z);U!==z&&!(z===0&&oe===X.length)&&Q(L,U,X),b(Object.assign(Object.assign({},T),{currentTarget:F}))},0)},Ir=function(T){M.current=null,clearTimeout(Z.current.focusTimeout),clearTimeout(Z.current.setCaretTimeout),C(T)},Pr=Qe&&hi()?"numeric":void 0,qt=Object.assign({inputMode:Pr},B,{type:t,value:D,onChange:Kt,onKeyDown:St,onMouseUp:Zt,onFocus:Yt,onBlur:Ir});if(r==="text")return o?A.createElement(A.Fragment,null,o(D,B)||null):A.createElement("span",Object.assign({},B,{ref:l}),D);if(n){var kr=n;return A.createElement(kr,Object.assign({},qt,{ref:l}))}return A.createElement("input",Object.assign({},qt,{ref:l}))}function jn(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,o=t.prefix;o===void 0&&(o="");var l=t.suffix;l===void 0&&(l="");var s=t.allowNegative,c=t.thousandsGroupStyle;if(c===void 0&&(c="thousand"),e===""||e==="-")return e;var u=kt(t),f=u.thousandSeparator,p=u.decimalSeparator,g=r!==0&&e.indexOf(".")!==-1||r&&n,w=fr(e,s),y=w.beforeDecimal,S=w.afterDecimal,b=w.addNegation;return r!==void 0&&(S=kn(S,r,!!n)),f&&(y=si(y,f,c)),o&&(y=o+y),l&&(S=S+l),b&&(y="-"+y),e=y+(g&&p||"")+S,e}function kt(e){var t=e.decimalSeparator;t===void 0&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return r===!0&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function yi(e,t){e===void 0&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),o=r.test(e),l=n.test(e);return e=e.replace(/-/g,""),o&&!l&&t&&(e="-"+e),e}function Si(e,t){return new RegExp("(^-)|[0-9]|"+Pn(e),"g")}function Ci(e,t,r){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(r!=null&&r.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function Ei(e,t,r){var n;t===void 0&&(t=gi(e));var o=r.allowNegative,l=r.prefix;l===void 0&&(l="");var s=r.suffix;s===void 0&&(s="");var c=r.decimalScale,u=t.from,f=t.to,p=f.start,g=f.end,w=kt(r),y=w.allowedDecimalSeparators,S=w.decimalSeparator,b=e[g]===S;if(bt(e)&&(e===l||e===s)&&t.lastValue==="")return e;if(g-p===1&&y.indexOf(e[p])!==-1){var C=c===0?"":S;e=e.substring(0,p)+C+e.substring(p+1,e.length)}var E=function(M,Z,ee){var te=!1,Q=!1;l.startsWith("-")?te=!1:M.startsWith("--")?(te=!1,Q=!0):s.startsWith("-")&&M.length===s.length?te=!1:M[0]==="-"&&(te=!0);var re=te?1:0;return Q&&(re=2),re&&(M=M.substring(re),Z-=re,ee-=re),{value:M,start:Z,end:ee,hasNegation:te}},k=E(e,p,g),_=k.hasNegation;n=k,e=n.value,p=n.start,g=n.end;var I=E(t.lastValue,u.start,u.end),B=I.start,P=I.end,N=I.value,D=e.substring(p,g);e.length&&N.length&&(B>N.length-s.length||P<l.length)&&!(D&&s.startsWith(D))&&(e=N);var G=0;e.startsWith(l)?G+=l.length:p<l.length&&(G=p),e=e.substring(G),g-=G;var ae=e.length,de=e.length-s.length;e.endsWith(s)?ae=de:(g>de||g>e.length-s.length)&&(ae=g),e=e.substring(0,ae),e=yi(_?"-"+e:e,o),e=(e.match(Si(S))||[]).join("");var Ee=e.indexOf(S);e=e.replace(new RegExp(Pn(S),"g"),function(M,Z){return Z===Ee?".":""});var _e=fr(e,o),Ue=_e.beforeDecimal,Qe=_e.afterDecimal,V=_e.addNegation;return f.end-f.start<u.end-u.start&&Ue===""&&b&&!parseFloat(Qe)&&(e=V?"-":""),e}function _i(e,t){var r=t.prefix;r===void 0&&(r="");var n=t.suffix;n===void 0&&(n="");var o=Array.from({length:e.length+1}).map(function(){return!0}),l=e[0]==="-";o.fill(!1,0,r.length+(l?1:0));var s=e.length;return o.fill(!1,s-n.length+1,s+1),o}function Ni(e){var t=kt(e),r=t.thousandSeparator,n=t.decimalSeparator,o=e.prefix;o===void 0&&(o="");var l=e.allowNegative;if(l===void 0&&(l=!0),r===n)throw new Error(`
146
14
  Decimal separator can't be same as thousand separator.
147
15
  thousandSeparator: `+r+` (thousandSeparator = {true} is same as thousandSeparator = ",")
148
16
  decimalSeparator: `+n+` (default value for decimalSeparator is .)
149
- `);return i.startsWith("-")&&s&&(console.error(`
17
+ `);return o.startsWith("-")&&l&&(console.error(`
150
18
  Prefix can't start with '-' when allowNegative is true.
151
- prefix: `+i+`
152
- allowNegative: `+s+`
153
- `),s=!1),Object.assign(Object.assign({},e),{allowNegative:s})}function Tu(e){e=Ru(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=Yt);var s=e.onBlur;s===void 0&&(s=Yt);var u=e.thousandSeparator,c=e.decimalScale,h=e.fixedDecimalScale,m=e.prefix;m===void 0&&(m="");var y=e.defaultValue,x=e.value,j=e.valueIsNumericString,R=e.onValueChange,k=Fi(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),T=hn(e),A=T.decimalSeparator,P=T.allowedDecimalSeparators,U=function(te){return Ki(te,e)},I=function(te,V){return Cu(te,V,e)},K=Cr(x)?y:x,Y=j??Su(K,m,t);Cr(x)?Cr(y)||(Y=Y||typeof y=="number"):Y=Y||typeof x=="number";var z=function(te){return Bi(te)?te:(typeof te=="number"&&(te=$i(te)),Y&&typeof c=="number"?Hi(te,c,!!h):te)},W=zi(z(x),z(y),!!Y,U,I,R),G=W[0],de=G.numAsString,Pe=G.formattedValue,He=W[1],Xe=function(te){var V=te.target,ae=te.key,we=V.selectionStart,Te=V.selectionEnd,Ee=V.value;if(Ee===void 0&&(Ee=""),(ae==="Backspace"||ae==="Delete")&&Te<m.length){te.preventDefault();return}if(we!==Te){i(te);return}ae==="Backspace"&&Ee[0]==="-"&&we===m.length+1&&r&&ur(V,1),c&&h&&(ae==="Backspace"&&Ee[we-1]===A?(ur(V,we-1),te.preventDefault()):ae==="Delete"&&Ee[we]===A&&te.preventDefault()),P!=null&&P.includes(ae)&&Ee[we]===A&&ur(V,we+1);var g=u===!0?",":u;ae==="Backspace"&&Ee[we-1]===g&&ur(V,we-1),ae==="Delete"&&Ee[we]===g&&ur(V,we+1),i(te)},De=function(te){var V=de;if(V.match(/\d/g)||(V=""),n||(V=fu(V)),h&&c&&(V=Hi(V,c,h)),V!==de){var ae=Ki(V,e);He({formattedValue:ae,value:V,floatValue:parseFloat(V)},{event:te,source:Hr.event})}s(te)},Oe=function(te){return te===A?!0:Gr(te)},je=function(te){var V=te.currentValue,ae=te.lastValue,we=te.formattedValue,Te=te.currentValueIndex,Ee=te.formattedValueIndex,g=V[Te],O=we[Ee],oe=Gi(ae,V),ve=oe.to,le=function(ge){return I(ge).indexOf(".")+m.length};return x===0&&h&&c&&V[ve.start]===A&&le(V)<Te&&le(we)>Ee?!1:Te>=ve.start&&Te<ve.end&&P&&P.includes(g)&&O===A?!0:g===O};return Object.assign(Object.assign({},k),{value:Pe,valueIsNumericString:!1,isValidInputCharacter:Oe,isCharacterSame:je,onValueChange:He,format:U,removeFormatting:I,getCaretBoundary:function(te){return ju(te,e)},onKeyDown:Xe,onBlur:De})}function Ou(e){var t=Tu(e);return J.createElement(_u,Object.assign({},t))}const ku=J.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:i,leadingIcon:s,supportingText:u,amountCounter:c,trailingElement:h,isContentVisible:m,value:y,defaultValue:x,onClearInput:j,isVisibilityToggleEnabled:R,type:k,...T},A){R??(R=k===pt.Password);const P=J.useRef(null),[U,I]=J.useState(m??k!==pt.Password);J.useEffect(()=>{I(m??k!==pt.Password)},[k,m]);function K(){I(z=>!z)}function Y(){var z;P.current&&((z=P.current.querySelector("input"))==null||z.focus())}return o.jsx(ta,{label:t,caption:r,disabled:n,errorMessage:i,amountCounter:c,required:T.required,children:o.jsxs("div",{className:N("relative flex flex-row items-center gap-x-3",Ii),onClick:Y,ref:P,children:[s&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:s}),o.jsx(Nu,{...T,inputRef:A,value:y,type:k===pt.Password&&U?pt.Text:k,disabled:n,className:N(Ai,Pi,Di,nu)}),u&&o.jsx(mn,{children:u}),o.jsx(Pu,{value:y,type:k,onClearInput:j,isContentVisible:U,trailingElement:h,isVisibilityToggleEnabled:R,onToggleButtonClick:K})]})})});function Nu({type:e,inputRef:t,...r}){function n(i){if(e===pt.Number){const s=i.currentTarget;s.blur(),i.stopPropagation(),setTimeout(()=>{s.focus({preventScroll:!0})},0)}}return e===pt.NumericFormat?o.jsx(Au,{inputRef:t,...r,type:e}):o.jsx("input",{ref:t,...r,type:e,onWheel:i=>{var s;n(i),(s=r.onWheel)==null||s.call(r,i)}})}function Au({inputRef:e,className:t,type:r,...n}){return o.jsx(Ou,{className:t,valueIsNumericString:!0,getInputRef:e,...n})}function Pu({value:e,type:t,onClearInput:r,isContentVisible:n,trailingElement:i,onToggleButtonClick:s,isVisibilityToggleEnabled:u}){const c=!!(t===pt.Text&&e&&r),h=!!(t===pt.Password&&u),m=!!(i&&!c&&!h);if(c)return o.jsx(rt,{className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",onClick:r,tabIndex:-1,children:o.jsx(Ur,{})});if(h)return o.jsx(rt,{onClick:s,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:n?o.jsx(Ei,{}):o.jsx(wi,{})});if(m)return o.jsx(J.Fragment,{children:i})}const Du=J.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:i,value:s,amountCounter:u,isVisibilityToggleEnabled:c,isResizeEnabled:h,required:m,isContentVisible:y,...x},j){const[R,k]=J.useState(y??!0);J.useEffect(()=>{k(y??!0)},[y]);function T(){k(A=>!A)}return o.jsx(ta,{label:t,caption:r,disabled:n||!R,errorMessage:i,amountCounter:u,required:m,children:o.jsxs("div",{className:"relative",children:[o.jsx("textarea",{disabled:n||!R,required:m,ref:j,className:N("peer block min-h-[50px]",Ii,Ai,Pi,Di,R&&h?"resize-y":"resize-none",!R&&"not-visible select-none text-transparent dark:text-transparent"),value:R?s:"",...x}),!R&&o.jsx("div",{className:"absolute left-0 top-0 flex h-full w-full flex-col items-stretch gap-y-2 px-md py-sm peer-[.not-visible]:select-none",children:o.jsx(Iu,{rows:3,halfWidthRow:3})}),c&&o.jsx("span",{className:"absolute bottom-4 right-4 flex",children:o.jsx(rt,{onClick:T,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:R?o.jsx(Ei,{}):o.jsx(wi,{})})})]})})});function Iu({rows:e,halfWidthRow:t}){return o.jsx(o.Fragment,{children:Array.from({length:e}).map((r,n)=>{const s=t===n+1?"w-1/2":"w-full";return o.jsx("div",{className:`h-2.5 rounded bg-neutral-92/60 dark:bg-neutral-10/60 ${s}`},n)})})}var pn=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(pn||{});const Xi="text-neutral-10 dark:text-neutral-92",qi="text-neutral-40 dark:text-neutral-60",Lu="py-xxs px-sm",Mu="p-sm",Zi="bg-shader-primary-light-12 dark:bg-shader-primary-dark-12",Fu="-top-3 right-3",Bu="-top-1 right-3",Ji="text-neutral-10 dark:text-neutral-92",Qi="text-neutral-60 dark:text-neutral-40";function Vu({icon:e,text:t,isSelected:r,hasBadge:n,onClick:i,isDisabled:s=!1}){const u=r?Xi:qi,c=t?Lu:Mu,h=r&&Zi,m=t?Fu:Bu,y=r?Ji:Qi,x=s?"cursor-not-allowed opacity-60":"state-layer",j=R=>{if(s){R.preventDefault();return}i==null||i(R)};return o.jsxs("div",{onClick:j,className:N("inline-flex cursor-pointer flex-col items-center justify-center space-y-1"),children:[o.jsxs("div",{className:N("relative inline-flex rounded-full",c,h,x),children:[o.jsx("div",{className:N("inline-flex [&_svg]:h-6 [&_svg]:w-6",u),children:e}),n&&o.jsx("div",{className:N("absolute",m),children:o.jsx(Br,{type:$e.PrimarySolid})})]}),t&&o.jsx("span",{className:N("text-center text-label-md",y),children:t})]})}function Uu({icon:e,text:t,isSelected:r,hasBadge:n,onClick:i,isDisabled:s=!1}){const u=r?Xi:qi,c=r&&Zi,h=r?Ji:Qi,m=s?"cursor-not-allowed opacity-60":"state-layer cursor-pointer ",y=x=>{if(s){x.preventDefault();return}i==null||i(x)};return o.jsxs("div",{onClick:y,className:N("relative inline-flex w-full flex-row items-center justify-between rounded-full p-sm",c,m),children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:N("inline-flex [&_svg]:h-6 [&_svg]:w-6",u),children:e}),t&&o.jsx("span",{className:N("text-center text-label-lg",h),children:t})]}),n&&o.jsx(Br,{type:$e.PrimarySolid})]})}function aa(e){const{type:t,text:r}=e;return t===pn.Vertical&&r?o.jsx(Uu,{...e}):o.jsx(Vu,{...e})}function Wu({title:e,subtitle:t,badgeType:r,badgeText:n,isLocked:i,avatarContent:s,onOptionsClick:u,onLockAccountClick:c,onUnlockAccountClick:h,onCopy:m,copyText:y,onOpen:x,isCopyable:j,isExternal:R,isSelected:k,isActive:T,showSelected:A,badgeTooltipText:P,badgeTooltipPosition:U=Gt.Bottom}){const I=s;return o.jsxs("div",{className:N("state-layer group relative flex w-full items-center justify-between space-x-3 rounded-xl px-sm py-xs hover:cursor-pointer",T&&"state-active",{"opacity-60":i&&A}),children:[o.jsxs("div",{className:"flex items-center space-x-3",children:[o.jsx(I,{isLocked:i}),o.jsxs("div",{className:"flex flex-col items-start py-xs",children:[o.jsxs("div",{className:"flex items-center space-x-2",children:[o.jsx("span",{className:"font-inter text-title-md text-neutral-10 dark:text-neutral-92",children:e}),n&&r?P?o.jsx(or,{text:P,position:U,children:o.jsx(Br,{type:r,label:n})}):o.jsx(Br,{type:r,label:n}):null]}),o.jsx(ki,{text:t,onCopySuccess:m,copyText:y,onOpen:x,isCopyable:j,isExternal:R})]})]}),o.jsxs("div",{className:"z-10 ml-auto flex items-center space-x-2 [&_button]:h-5 [&_button]:w-5 [&_svg]:h-5 [&_svg]:w-5",children:[o.jsxs("div",{className:"flex items-center space-x-2 [&_button:not(.locked)]:hidden group-hover:[&_button:not(.locked)]:flex [&_svg]:text-neutral-40 [&_svg]:dark:text-neutral-60",children:[u&&o.jsx(rt,{onClick:u,children:o.jsx(mi,{})}),c&&h&&(i?o.jsx("div",{className:"flex items-center",children:o.jsx(rt,{onClick:h,testId:"account-unlock",className:"locked",children:o.jsx(nl,{})})}):o.jsx(rt,{onClick:c,testId:"account-lock",children:o.jsx(al,{})}))]}),A&&o.jsx(rt,{children:k?o.jsx(Js,{className:"h-5 w-5 text-primary-30 dark:text-primary-80"}):o.jsx(pi,{className:"h-5 w-5 text-neutral-40 dark:text-neutral-60"})})]})]})}function eo({children:e}){return o.jsx("ul",{className:"list-none rounded-lg border border-neutral-80 bg-neutral-100 py-xs dark:border-neutral-20 dark:bg-neutral-6",children:e})}var Yr=(e=>(e.Top="top",e.Bottom="bottom",e))(Yr||{});function to({children:e,hasLastBorderNoneClass:t,isContentCentered:r}){return o.jsx("td",{className:N("h-14 border-b border-shader-neutral-light-8 px-md dark:border-shader-neutral-dark-8",{"last:border-none":t},{"flex items-center justify-center":r}),children:e})}function $u({children:e,supportingLabel:t}){return o.jsxs("div",{className:"flex flex-row items-baseline gap-1",children:[o.jsx("span",{children:e}),t&&o.jsx("span",{className:"text-body-sm text-neutral-60 dark:text-neutral-40",children:t})]})}function Hu(){return o.jsx(Ri,{})}var zr=(e=>(e.Small="small",e.Default="default",e))(zr||{});const Gu=J.forwardRef(({disabled:e,label:t,leadingIcon:r,supportingText:n,errorMessage:i,caption:s,options:u,placeholder:c,onValueChange:h,onOptionClick:m,value:y,dropdownPosition:x=Yr.Bottom,size:j=zr.Default},R)=>{const[k,T]=J.useState(!1),A=K(y,u),P=A||c,U=j===zr.Small?"px-sm":"px-md",I=j===zr.Small?"text-body-md":"text-body-lg";J.useEffect(()=>{e&&k&&W()},[e,k]);function K(G,de=[]){return de.find(Pe=>typeof Pe=="string"?Pe===G:Pe.id===G)??de[0]}function Y(){T(G=>!G)}function z(G){W();const de=typeof G=="string"?G:G.id;m==null||m(de),G!==A&&(h==null||h(de))}function W(){T(!1)}return o.jsx(ta,{label:t,caption:s,disabled:e,errorMessage:i,labelHtmlTag:Li.Div,children:o.jsxs("div",{className:"relative flex w-full flex-col",children:[o.jsxs(rt,{ref:R,onClick:Y,disabled:e,className:N("flex flex-row items-center gap-x-3 rounded-lg border border-neutral-80 py-sm hover:enabled:border-neutral-50 focus-visible:enabled:border-primary-30 active:enabled:border-primary-30 disabled:cursor-not-allowed group-[.errored]:border-error-30 group-[.opened]:border-primary-30 dark:border-neutral-20 dark:hover:enabled:border-neutral-60 dark:group-[.errored]:border-error-80 dark:group-[.opened]:border-primary-80 [&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-30 dark:[&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-80 [&_svg]:h-5 [&_svg]:w-5",U),children:[r&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:r}),o.jsxs("div",{className:"flex w-full flex-row items-baseline gap-x-3",children:[P&&o.jsx("div",{className:N("block w-full text-start text-neutral-10 dark:text-neutral-92",I),children:o.jsx(ro,{option:P})}),n&&o.jsx("div",{className:"ml-auto",children:o.jsx(mn,{children:n})})]}),o.jsx(cl,{className:N("text-neutral-10 transition-transform dark:text-neutral-92",{" rotate-180":k})})]}),k&&o.jsx("div",{className:"fixed left-0 top-0 z-[49] h-screen w-screen bg-transparent",onClick:W}),o.jsx("div",{className:N("absolute z-50 min-w-full",{hidden:!k,"top-full":!x||x===Yr.Bottom,"bottom-full":x===Yr.Top}),children:o.jsx(eo,{children:u.map(G=>{const de=typeof G=="string";return o.jsx(Ci,{onClick:()=>z(G),hideBottomBorder:!0,children:o.jsx(ro,{option:G})},de?G:G.id)})})})]})})});function ro({option:e}){return typeof e=="string"?e:"renderLabel"in e?e.renderLabel():e.label}var cr=(e=>(e.Asc="asc",e.Desc="desc",e))(cr||{});function no({label:e,columnKey:t,hasSort:r,hasCheckbox:n,isChecked:i,isIndeterminate:s,isContentCentered:u,onSortClick:c,onCheckboxChange:h,sortOrder:m}){const y=()=>{const k=m===cr.Asc?cr.Desc:cr.Asc;c&&c(t,k)},x="text-neutral-10 dark:text-neutral-92",j="text-label-lg",R=r?m===cr.Asc?o.jsx(yi,{className:"shrink-0"}):m===cr.Desc?o.jsx(ul,{className:"shrink-0"}):o.jsx(yi,{className:"invisible shrink-0 group-hover:visible"}):null;return o.jsx("th",{onClick:r?y:void 0,className:N("state-layer group relative h-14 border-b border-shader-neutral-light-8 px-md after:pointer-events-none dark:border-shader-neutral-dark-8",{"cursor-pointer":r}),children:o.jsxs("div",{className:N("flex flex-row items-center gap-1 [&_svg]:h-4 [&_svg]:w-4",x,j,{"justify-center":u}),children:[n?o.jsx(ea,{isChecked:i,isIndeterminate:s,onCheckedChange:h}):o.jsx("span",{className:N({"text-left":!u}),children:e}),R]})})}var Tt=(e=>(e.Outlined="outlined",e.Filled="filled",e))(Tt||{});const Yu={[Tt.Outlined]:"bg-transparent",[Tt.Filled]:"bg-neutral-92 dark:bg-neutral-12"},zu={[Tt.Outlined]:"border-l border-r border-t border-neutral-70 dark:border-neutral-40",[Tt.Filled]:"bg-neutral-92 dark:bg-neutral-12"},Ku={[Tt.Outlined]:"rounded-b-3xl border-b border-l border-r border-neutral-70 dark:border-neutral-40",[Tt.Filled]:"rounded-b-3xl bg-neutral-92 dark:bg-neutral-12"};function Xu({searchValue:e,suggestions:t,onSearchValueChange:r,onSuggestionClick:n,placeholder:i,isLoading:s=!1,type:u=Tt.Outlined,renderSuggestion:c}){const h=J.useRef(null),m=J.useRef(null),[y,x]=J.useState(!0),[j,R]=J.useState(null);function k(z){const W=z.target.value;r(W)}J.useEffect(()=>{const z=W=>{var G;W.key==="Escape"&&(x(!1),(G=h.current)==null||G.blur())};return document.addEventListener("keydown",z),()=>{document.removeEventListener("keydown",z)}},[]),J.useEffect(()=>{const z=W=>{var de;const G=h==null?void 0:h.current;!G||G.contains(W==null?void 0:W.target)||(de=m.current)!=null&&de.contains(W.target)||x(!1)};return document.addEventListener("click",z,!0),document.addEventListener("touchstart",z,!0),()=>{document.removeEventListener("click",z,!0),document.removeEventListener("touchstart",z,!0)}},[h]);const T=y&&t&&t.length>0,A=T?"rounded-t-3xl border-b border-b-transparent":u===Tt.Outlined?"rounded-3xl border-b":"rounded-full",P=zu[u],U=Yu[u],I=Ku[u],K=z=>{var W;n==null||n(z),r(""),x(!1),R(null),(W=h.current)==null||W.blur()},Y=z=>{t&&(t==null?void 0:t.length)>0&&(z.key==="ArrowDown"?(z.preventDefault(),R(W=>W===null||W>=t.length-1?0:W+1)):z.key==="ArrowUp"?(z.preventDefault(),R(W=>W===null||W<=0?t.length-1:W-1)):z.key==="Enter"&&(z.preventDefault(),j!==null&&t[j]?K(t[j]):t.length===1&&K(t[0])))};return o.jsxs("div",{className:"relative w-full",children:[o.jsxs("div",{className:N("flex items-center overflow-hidden px-md py-sm text-neutral-10 dark:text-neutral-92 [&_svg]:h-6 [&_svg]:w-6",A,P),children:[o.jsx("input",{ref:h,type:"text",value:e,onChange:k,onKeyDown:Y,onFocus:()=>x(!0),placeholder:i,className:N("w-full flex-1 outline-none placeholder:text-neutral-40 placeholder:dark:text-neutral-60",U)}),o.jsx(ll,{})]}),T&&c&&o.jsxs("div",{ref:m,className:N("absolute left-0 top-full flex w-full flex-col items-center overflow-hidden bg-neutral-100 dark:bg-neutral-10",I),children:[o.jsx(Si,{width:"w-11/12"}),s?o.jsx("div",{className:"px-md py-sm",children:o.jsx(ui,{className:"animate-spin"})}):t.map((z,W)=>o.jsx("div",{onClick:()=>K(z),onMouseEnter:()=>R(W),className:N("w-full cursor-pointer px-md py-sm",j===W?"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":""),children:c(z,W)},z.id))]})]})}var jr=(e=>(e.Default="default",e.Outlined="outlined",e.Filled="filled",e))(jr||{}),zt=(e=>(e.Placeholder="placeholder",e.BgSolid="bg-solid",e.BgWhite="bg-white",e.BgTransparent="bg-transparent",e))(zt||{}),fr=(e=>(e.Rounded="rounded",e.SquareRounded="square-rounded",e))(fr||{}),Kr=(e=>(e.Link="link",e.SupportingText="supporting-text",e.Button="button",e))(Kr||{});const qu="cursor-default opacity-40",ao="h-10 w-10",io={[fr.SquareRounded]:`${ao} rounded-md`,[fr.Rounded]:`${ao} rounded-full`},Zu={[zt.Placeholder]:"",[zt.BgSolid]:"bg-neutral-96 dark:bg-neutral-10",[zt.BgWhite]:"bg-white dark:bg-neutral-6",[zt.BgTransparent]:""},Ju={[jr.Default]:"border border-transparent",[jr.Outlined]:"border border-shader-neutral-light-8 dark:border-shader-primary-dark-8 p-xs",[jr.Filled]:"border border-transparent bg-neutral-96 dark:bg-neutral-10 p-xs"};function Qu({isDisabled:e=!1,type:t=jr.Default,isHoverable:r,onClick:n,children:i,testId:s}){function u(){e||n==null||n()}return o.jsx("div",{onClick:u,className:N("relative inline-flex w-full items-center gap-3 rounded-xl px-sm py-xs",Ju[t],{"state-layer":r||!e&&n,[qu]:e,"cursor-pointer":n}),"data-testid":s,children:i})}function ec({type:e,onClick:t,subtitle:r,title:n,icon:i,iconAfterText:s,buttonType:u,buttonDisabled:c}){function h(m){t&&(m.stopPropagation(),t())}return e===Kr.Link?o.jsx("div",{onClick:h,className:"shrink-0 text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:i||o.jsx(Yn,{})}):e===Kr.SupportingText?o.jsxs("div",{className:"shrink-0 text-right",children:[n&&o.jsx("div",{className:"font-inter text-label-md text-neutral-10 dark:text-neutral-92",children:n}),r&&o.jsx("div",{className:"font-inter text-label-sm text-neutral-60 dark:text-neutral-40",children:r})]}):e===Kr.Button?o.jsx("div",{className:"shrink-0",children:o.jsx(dt,{type:u||Se.Outlined,size:et.Small,text:n,onClick:h,icon:i,iconAfterText:s,disabled:c})}):null}function tc({variant:e=fr.Rounded}){return e===fr.Rounded?o.jsx(rc,{}):o.jsx(nc,{})}function rc(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[o.jsxs("g",{"clip-path":"url(#clip0_880_55185)",children:[o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"#5B9CFE"}),o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint0_linear_880_55185)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint1_linear_880_55185)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0.5 20C0.5 9.23045 9.23045 0.5 20 0.5C30.7696 0.5 39.5 9.23045 39.5 20C39.5 30.7696 30.7696 39.5 20 39.5C9.23045 39.5 0.5 30.7696 0.5 20Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"paint0_linear_880_55185",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsxs("linearGradient",{id:"paint1_linear_880_55185",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsx("clipPath",{id:"clip0_880_55185",children:o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"white"})})]})]})}function nc(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[o.jsxs("g",{"clip-path":"url(#clip0_880_55190)",children:[o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#5B9CFE"}),o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_880_55190)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint1_linear_880_55190)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0.5 8C0.5 3.85786 3.85786 0.5 8 0.5H32C36.1421 0.5 39.5 3.85786 39.5 8V32C39.5 36.1421 36.1421 39.5 32 39.5H8C3.85786 39.5 0.5 36.1421 0.5 32V8Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"paint0_linear_880_55190",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsxs("linearGradient",{id:"paint1_linear_880_55190",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsx("clipPath",{id:"clip0_880_55190",children:o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"white"})})]})]})}function ac({type:e=zt.BgSolid,shape:t=fr.Rounded,url:r,children:n}){return o.jsxs("div",{className:N(io[t],Zu[e],"flex shrink-0 items-center justify-center overflow-hidden"),children:[e===zt.Placeholder&&!n&&o.jsx(tc,{variant:t}),r&&!n&&o.jsx("img",{src:r,className:N(io[t],"object-cover"),alt:"Card Image"}),n]})}function ic({title:e,subtitle:t,clickableAction:r,icon:n,isTextTruncated:i,tooltipText:s,tooltipPosition:u}){const c=h=>{h==null||h.stopPropagation()};return o.jsxs("div",{className:N("flex w-full flex-col",{truncate:i}),children:[o.jsxs("div",{className:N("flex flex-row items-center gap-x-xxs",{"grow-1":i}),children:[o.jsx("div",{className:N("font-inter text-title-md text-neutral-10 dark:text-neutral-92",{truncate:i}),children:e}),s?o.jsx(or,{text:s,position:u,children:n}):o.jsx("div",{className:"flex items-center",children:n}),r&&o.jsx("div",{onClick:c,className:"flex items-center",children:r})]}),t&&o.jsx("div",{className:N("font-inter text-body-md text-neutral-40 dark:text-neutral-60",{truncate:i}),children:t})]})}var Bt=(e=>(e.Default="default",e.Highlight="highlight",e.Secondary="secondary",e))(Bt||{}),gt=(e=>(e.Default="default",e.Large="large",e))(gt||{});const oc={[Bt.Default]:"bg-neutral-96 dark:bg-neutral-10",[Bt.Highlight]:"bg-primary-30 dark:bg-primary-80",[Bt.Secondary]:"bg-secondary-90 dark:bg-secondary-10"},sc={[Bt.Default]:"text-neutral-10 dark:text-neutral-92",[Bt.Highlight]:"text-neutral-100 dark:text-primary-10",[Bt.Secondary]:"text-neutral-10 dark:text-neutral-92"},lc={[gt.Default]:"gap-y-sm",[gt.Large]:"gap-y-md"},uc={[gt.Default]:"text-title-md",[gt.Large]:"text-headline-sm"},cc={[gt.Default]:"text-label-md",[gt.Large]:"text-label-lg"},fc={[gt.Default]:"text-label-sm",[gt.Large]:"text-label-md"};function dc({label:e,tooltipPosition:t,tooltipText:r,value:n,supportingLabel:i,type:s=Bt.Default,size:u=gt.Default,icon:c,copyText:h,onCopySuccess:m,onCopyError:y}){const x=oc[s],j=lc[u],R=sc[s],k=uc[u],T=fc[u],A=cc[u];async function P(U){if(navigator.clipboard&&h)try{await navigator.clipboard.writeText(h),m==null||m(U,h)}catch(I){console.error("Failed to copy:",I),y==null||y(I,h)}}return o.jsxs("div",{className:N("flex h-full w-full flex-col justify-between rounded-2xl p-md--rs",x,j,R),children:[o.jsxs("div",{className:N("flex flex-row items-center",{"w-full justify-between":c}),children:[o.jsxs("div",{className:"flex flex-row items-center gap-xxs",children:[o.jsx("span",{className:N(T,"whitespace-pre-line"),children:e}),r&&o.jsx(or,{text:r,position:t,children:o.jsx(cn,{className:"opacity-40"})})]}),c&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:c})]}),o.jsxs("div",{className:"flex w-full flex-row items-baseline gap-xxs",children:[o.jsx("span",{className:N("break-all",k),children:n}),i&&o.jsx("span",{className:N("opacity-40",A),children:i}),h&&o.jsx("div",{className:"self-center",children:o.jsx(rt,{onClick:P,children:o.jsx(zn,{className:"text-neutral-60 dark:text-neutral-40"})})})]})]})}function Kt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e==null||e(i),r===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function vc(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function oo(...e){return t=>e.forEach(r=>vc(r,t))}function dr(...e){return E.useCallback(oo(...e),e)}function mc(e,t){const r=E.createContext(t);function n(s){const{children:u,...c}=s,h=E.useMemo(()=>c,Object.values(c));return o.jsx(r.Provider,{value:h,children:u})}function i(s){const u=E.useContext(r);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,i]}function hc(e,t=[]){let r=[];function n(s,u){const c=E.createContext(u),h=r.length;r=[...r,u];function m(x){const{scope:j,children:R,...k}=x,T=(j==null?void 0:j[e][h])||c,A=E.useMemo(()=>k,Object.values(k));return o.jsx(T.Provider,{value:A,children:R})}function y(x,j){const R=(j==null?void 0:j[e][h])||c,k=E.useContext(R);if(k)return k;if(u!==void 0)return u;throw new Error(`\`${x}\` must be used within \`${s}\``)}return m.displayName=s+"Provider",[m,y]}const i=()=>{const s=r.map(u=>E.createContext(u));return function(c){const h=(c==null?void 0:c[e])||s;return E.useMemo(()=>({[`__scope${e}`]:{...c,[e]:h}}),[c,h])}};return i.scopeName=e,[n,pc(i,...t)]}function pc(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const u=n.reduce((c,{useScope:h,scopeName:m})=>{const x=h(s)[`__scope${m}`];return{...c,...x}},{});return E.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}var gn=globalThis!=null&&globalThis.document?E.useLayoutEffect:()=>{},gc=E.useId||(()=>{}),xc=0;function ia(e){const[t,r]=E.useState(gc());return gn(()=>{e||r(n=>n??String(xc++))},[e]),e||(t?`radix-${t}`:"")}function vr(e){const t=E.useRef(e);return E.useEffect(()=>{t.current=e}),E.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function bc({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,i]=yc({defaultProp:t,onChange:r}),s=e!==void 0,u=s?e:n,c=vr(r),h=E.useCallback(m=>{if(s){const x=typeof m=="function"?m(e):m;x!==e&&c(x)}else i(m)},[s,e,i,c]);return[u,h]}function yc({defaultProp:e,onChange:t}){const r=E.useState(e),[n]=r,i=E.useRef(n),s=vr(t);return E.useEffect(()=>{i.current!==n&&(s(n),i.current=n)},[n,i,s]),r}var oa=E.forwardRef((e,t)=>{const{children:r,...n}=e,i=E.Children.toArray(r),s=i.find(wc);if(s){const u=s.props.children,c=i.map(h=>h===s?E.Children.count(u)>1?E.Children.only(null):E.isValidElement(u)?u.props.children:null:h);return o.jsx(sa,{...n,ref:t,children:E.isValidElement(u)?E.cloneElement(u,void 0,c):null})}return o.jsx(sa,{...n,ref:t,children:r})});oa.displayName="Slot";var sa=E.forwardRef((e,t)=>{const{children:r,...n}=e;if(E.isValidElement(r)){const i=Sc(r);return E.cloneElement(r,{...Ec(n,r.props),ref:t?oo(t,i):i})}return E.Children.count(r)>1?E.Children.only(null):null});sa.displayName="SlotClone";var _c=({children:e})=>o.jsx(o.Fragment,{children:e});function wc(e){return E.isValidElement(e)&&e.type===_c}function Ec(e,t){const r={...t};for(const n in t){const i=e[n],s=t[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...c)=>{s(...c),i(...c)}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...e,...r}}function Sc(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Cc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ot=Cc.reduce((e,t)=>{const r=E.forwardRef((n,i)=>{const{asChild:s,...u}=n,c=s?oa:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),o.jsx(c,{...u,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function jc(e,t){e&&Pa.flushSync(()=>e.dispatchEvent(t))}function Rc(e,t=globalThis==null?void 0:globalThis.document){const r=vr(e);E.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Tc="DismissableLayer",la="dismissableLayer.update",Oc="dismissableLayer.pointerDownOutside",kc="dismissableLayer.focusOutside",so,lo=E.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uo=E.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:u,onDismiss:c,...h}=e,m=E.useContext(lo),[y,x]=E.useState(null),j=(y==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,R]=E.useState({}),k=dr(t,W=>x(W)),T=Array.from(m.layers),[A]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),P=T.indexOf(A),U=y?T.indexOf(y):-1,I=m.layersWithOutsidePointerEventsDisabled.size>0,K=U>=P,Y=Pc(W=>{const G=W.target,de=[...m.branches].some(Pe=>Pe.contains(G));!K||de||(i==null||i(W),u==null||u(W),W.defaultPrevented||c==null||c())},j),z=Dc(W=>{const G=W.target;[...m.branches].some(Pe=>Pe.contains(G))||(s==null||s(W),u==null||u(W),W.defaultPrevented||c==null||c())},j);return Rc(W=>{U===m.layers.size-1&&(n==null||n(W),!W.defaultPrevented&&c&&(W.preventDefault(),c()))},j),E.useEffect(()=>{if(y)return r&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(so=j.body.style.pointerEvents,j.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(y)),m.layers.add(y),co(),()=>{r&&m.layersWithOutsidePointerEventsDisabled.size===1&&(j.body.style.pointerEvents=so)}},[y,j,r,m]),E.useEffect(()=>()=>{y&&(m.layers.delete(y),m.layersWithOutsidePointerEventsDisabled.delete(y),co())},[y,m]),E.useEffect(()=>{const W=()=>R({});return document.addEventListener(la,W),()=>document.removeEventListener(la,W)},[]),o.jsx(Ot.div,{...h,ref:k,style:{pointerEvents:I?K?"auto":"none":void 0,...e.style},onFocusCapture:Kt(e.onFocusCapture,z.onFocusCapture),onBlurCapture:Kt(e.onBlurCapture,z.onBlurCapture),onPointerDownCapture:Kt(e.onPointerDownCapture,Y.onPointerDownCapture)})});uo.displayName=Tc;var Nc="DismissableLayerBranch",Ac=E.forwardRef((e,t)=>{const r=E.useContext(lo),n=E.useRef(null),i=dr(t,n);return E.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),o.jsx(Ot.div,{...e,ref:i})});Ac.displayName=Nc;function Pc(e,t=globalThis==null?void 0:globalThis.document){const r=vr(e),n=E.useRef(!1),i=E.useRef(()=>{});return E.useEffect(()=>{const s=c=>{if(c.target&&!n.current){let h=function(){fo(Oc,r,m,{discrete:!0})};const m={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=h,t.addEventListener("click",i.current,{once:!0})):h()}else t.removeEventListener("click",i.current);n.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Dc(e,t=globalThis==null?void 0:globalThis.document){const r=vr(e),n=E.useRef(!1);return E.useEffect(()=>{const i=s=>{s.target&&!n.current&&fo(kc,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function co(){const e=new CustomEvent(la);document.dispatchEvent(e)}function fo(e,t,r,{discrete:n}){const i=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?jc(i,s):i.dispatchEvent(s)}var ua="focusScope.autoFocusOnMount",ca="focusScope.autoFocusOnUnmount",vo={bubbles:!1,cancelable:!0},Ic="FocusScope",mo=E.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...u}=e,[c,h]=E.useState(null),m=vr(i),y=vr(s),x=E.useRef(null),j=dr(t,T=>h(T)),R=E.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;E.useEffect(()=>{if(n){let T=function(I){if(R.paused||!c)return;const K=I.target;c.contains(K)?x.current=K:Xt(x.current,{select:!0})},A=function(I){if(R.paused||!c)return;const K=I.relatedTarget;K!==null&&(c.contains(K)||Xt(x.current,{select:!0}))},P=function(I){if(document.activeElement===document.body)for(const Y of I)Y.removedNodes.length>0&&Xt(c)};document.addEventListener("focusin",T),document.addEventListener("focusout",A);const U=new MutationObserver(P);return c&&U.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",T),document.removeEventListener("focusout",A),U.disconnect()}}},[n,c,R.paused]),E.useEffect(()=>{if(c){go.add(R);const T=document.activeElement;if(!c.contains(T)){const P=new CustomEvent(ua,vo);c.addEventListener(ua,m),c.dispatchEvent(P),P.defaultPrevented||(Lc(Uc(ho(c)),{select:!0}),document.activeElement===T&&Xt(c))}return()=>{c.removeEventListener(ua,m),setTimeout(()=>{const P=new CustomEvent(ca,vo);c.addEventListener(ca,y),c.dispatchEvent(P),P.defaultPrevented||Xt(T??document.body,{select:!0}),c.removeEventListener(ca,y),go.remove(R)},0)}}},[c,m,y,R]);const k=E.useCallback(T=>{if(!r&&!n||R.paused)return;const A=T.key==="Tab"&&!T.altKey&&!T.ctrlKey&&!T.metaKey,P=document.activeElement;if(A&&P){const U=T.currentTarget,[I,K]=Mc(U);I&&K?!T.shiftKey&&P===K?(T.preventDefault(),r&&Xt(I,{select:!0})):T.shiftKey&&P===I&&(T.preventDefault(),r&&Xt(K,{select:!0})):P===U&&T.preventDefault()}},[r,n,R.paused]);return o.jsx(Ot.div,{tabIndex:-1,...u,ref:j,onKeyDown:k})});mo.displayName=Ic;function Lc(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Xt(n,{select:t}),document.activeElement!==r)return}function Mc(e){const t=ho(e),r=po(t,e),n=po(t.reverse(),e);return[r,n]}function ho(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function po(e,t){for(const r of e)if(!Fc(r,{upTo:t}))return r}function Fc(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Bc(e){return e instanceof HTMLInputElement&&"select"in e}function Xt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Bc(e)&&t&&e.select()}}var go=Vc();function Vc(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=xo(e,t),e.unshift(t)},remove(t){var r;e=xo(e,t),(r=e[0])==null||r.resume()}}}function xo(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Uc(e){return e.filter(t=>t.tagName!=="A")}var Wc="Portal",bo=E.forwardRef((e,t)=>{var c;const{container:r,...n}=e,[i,s]=E.useState(!1);gn(()=>s(!0),[]);const u=r||i&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return u?Wn.createPortal(o.jsx(Ot.div,{...n,ref:t}),u):null});bo.displayName=Wc;function $c(e,t){return E.useReducer((r,n)=>t[r][n]??r,e)}var xn=e=>{const{present:t,children:r}=e,n=Hc(t),i=typeof r=="function"?r({present:n.isPresent}):E.Children.only(r),s=dr(n.ref,Gc(i));return typeof r=="function"||n.isPresent?E.cloneElement(i,{ref:s}):null};xn.displayName="Presence";function Hc(e){const[t,r]=E.useState(),n=E.useRef({}),i=E.useRef(e),s=E.useRef("none"),u=e?"mounted":"unmounted",[c,h]=$c(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E.useEffect(()=>{const m=bn(n.current);s.current=c==="mounted"?m:"none"},[c]),gn(()=>{const m=n.current,y=i.current;if(y!==e){const j=s.current,R=bn(m);e?h("MOUNT"):R==="none"||(m==null?void 0:m.display)==="none"?h("UNMOUNT"):h(y&&j!==R?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,h]),gn(()=>{if(t){const m=x=>{const R=bn(n.current).includes(x.animationName);x.target===t&&R&&Pa.flushSync(()=>h("ANIMATION_END"))},y=x=>{x.target===t&&(s.current=bn(n.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:E.useCallback(m=>{m&&(n.current=getComputedStyle(m)),r(m)},[])}}function bn(e){return(e==null?void 0:e.animationName)||"none"}function Gc(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var fa=0;function Yc(){E.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??yo()),document.body.insertAdjacentElement("beforeend",e[1]??yo()),fa++,()=>{fa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),fa--}},[])}function yo(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var kt=function(){return kt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},kt.apply(this,arguments)};function _o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function zc(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var yn="right-scroll-bar-position",_n="width-before-scroll-bar",Kc="with-scroll-bars-hidden",Xc="--removed-body-scroll-bar-size";function da(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function qc(e,t){var r=J.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var Zc=typeof window<"u"?E.useLayoutEffect:E.useEffect,wo=new WeakMap;function Jc(e,t){var r=qc(null,function(n){return e.forEach(function(i){return da(i,n)})});return Zc(function(){var n=wo.get(r);if(n){var i=new Set(n),s=new Set(e),u=r.current;i.forEach(function(c){s.has(c)||da(c,null)}),s.forEach(function(c){i.has(c)||da(c,u)})}wo.set(r,e)},[e]),r}function Qc(e){return e}function ef(e,t){t===void 0&&(t=Qc);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(s){var u=t(s,n);return r.push(u),function(){r=r.filter(function(c){return c!==u})}},assignSyncMedium:function(s){for(n=!0;r.length;){var u=r;r=[],u.forEach(s)}r={push:function(c){return s(c)},filter:function(){return r}}},assignMedium:function(s){n=!0;var u=[];if(r.length){var c=r;r=[],c.forEach(s),u=r}var h=function(){var y=u;u=[],y.forEach(s)},m=function(){return Promise.resolve().then(h)};m(),r={push:function(y){u.push(y),m()},filter:function(y){return u=u.filter(y),r}}}};return i}function tf(e){e===void 0&&(e={});var t=ef(null);return t.options=kt({async:!0,ssr:!1},e),t}var Eo=function(e){var t=e.sideCar,r=_o(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return E.createElement(n,kt({},r))};Eo.isSideCarExport=!0;function rf(e,t){return e.useMedium(t),Eo}var So=tf(),va=function(){},wn=E.forwardRef(function(e,t){var r=E.useRef(null),n=E.useState({onScrollCapture:va,onWheelCapture:va,onTouchMoveCapture:va}),i=n[0],s=n[1],u=e.forwardProps,c=e.children,h=e.className,m=e.removeScrollBar,y=e.enabled,x=e.shards,j=e.sideCar,R=e.noIsolation,k=e.inert,T=e.allowPinchZoom,A=e.as,P=A===void 0?"div":A,U=e.gapMode,I=_o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),K=j,Y=Jc([r,t]),z=kt(kt({},I),i);return E.createElement(E.Fragment,null,y&&E.createElement(K,{sideCar:So,removeScrollBar:m,shards:x,noIsolation:R,inert:k,setCallbacks:s,allowPinchZoom:!!T,lockRef:r,gapMode:U}),u?E.cloneElement(E.Children.only(c),kt(kt({},z),{ref:Y})):E.createElement(P,kt({},z,{className:h,ref:Y}),c))});wn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},wn.classNames={fullWidth:_n,zeroRight:yn};var nf=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function af(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=nf();return t&&e.setAttribute("nonce",t),e}function of(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function sf(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var lf=function(){var e=0,t=null;return{add:function(r){e==0&&(t=af())&&(of(t,r),sf(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},uf=function(){var e=lf();return function(t,r){E.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Co=function(){var e=uf(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},cf={left:0,top:0,right:0,gap:0},ma=function(e){return parseInt(e||"",10)||0},ff=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[ma(r),ma(n),ma(i)]},df=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return cf;var t=ff(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},vf=Co(),Rr="data-scroll-locked",mf=function(e,t,r,n){var i=e.left,s=e.top,u=e.right,c=e.gap;return r===void 0&&(r="margin"),`
154
- .`.concat(Kc,` {
19
+ prefix: `+o+`
20
+ allowNegative: `+l+`
21
+ `),l=!1),Object.assign(Object.assign({},e),{allowNegative:l})}function Ti(e){e=Ni(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,o=e.onKeyDown;o===void 0&&(o=ke);var l=e.onBlur;l===void 0&&(l=ke);var s=e.thousandSeparator,c=e.decimalScale,u=e.fixedDecimalScale,f=e.prefix;f===void 0&&(f="");var p=e.defaultValue,g=e.value,w=e.valueIsNumericString,y=e.onValueChange,S=Ln(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),b=kt(e),C=b.decimalSeparator,E=b.allowedDecimalSeparators,k=function(V){return jn(V,e)},_=function(V,M){return Ei(V,M,e)},I=rt(g)?p:g,B=w??Ci(I,f,t);rt(g)?rt(p)||(B=B||typeof p=="number"):B=B||typeof g=="number";var P=function(V){return In(V)?V:(typeof V=="number"&&(V=Mn(V)),B&&typeof c=="number"?Fn(V,c,!!u):V)},N=Wn(P(g),P(p),!!B,k,_,y),D=N[0],G=D.numAsString,ae=D.formattedValue,de=N[1],Ee=function(V){var M=V.target,Z=V.key,ee=M.selectionStart,te=M.selectionEnd,Q=M.value;if(Q===void 0&&(Q=""),(Z==="Backspace"||Z==="Delete")&&te<f.length){V.preventDefault();return}if(ee!==te){o(V);return}Z==="Backspace"&&Q[0]==="-"&&ee===f.length+1&&r&&ze(M,1),c&&u&&(Z==="Backspace"&&Q[ee-1]===C?(ze(M,ee-1),V.preventDefault()):Z==="Delete"&&Q[ee]===C&&V.preventDefault()),E!=null&&E.includes(Z)&&Q[ee]===C&&ze(M,ee+1);var re=s===!0?",":s;Z==="Backspace"&&Q[ee-1]===re&&ze(M,ee-1),Z==="Delete"&&Q[ee]===re&&ze(M,ee+1),o(V)},_e=function(V){var M=G;if(M.match(/\d/g)||(M=""),n||(M=di(M)),u&&c&&(M=Fn(M,c,u)),M!==G){var Z=jn(M,e);de({formattedValue:Z,value:M,floatValue:parseFloat(M)},{event:V,source:mt.event})}l(V)},Ue=function(V){return V===C?!0:bt(V)},Qe=function(V){var M=V.currentValue,Z=V.lastValue,ee=V.formattedValue,te=V.currentValueIndex,Q=V.formattedValueIndex,re=M[te],H=ee[Q],st=Vn(Z,M),Je=st.to,Ne=function(ct){return _(ct).indexOf(".")+f.length};return g===0&&u&&c&&M[Je.start]===C&&Ne(M)<te&&Ne(ee)>Q?!1:te>=Je.start&&te<Je.end&&E&&E.includes(re)&&H===C?!0:re===H};return Object.assign(Object.assign({},S),{value:ae,valueIsNumericString:!1,isValidInputCharacter:Ue,isCharacterSame:Qe,onValueChange:de,format:k,removeFormatting:_,getCaretBoundary:function(V){return _i(V,e)},onKeyDown:Ee,onBlur:_e})}function Ai(e){var t=Ti(e);return A.createElement(wi,Object.assign({},t))}const Oi=A.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:o,leadingIcon:l,supportingText:s,amountCounter:c,trailingElement:u,isContentVisible:f,value:p,defaultValue:g,onClearInput:w,isVisibilityToggleEnabled:y,type:S,...b},C){y??(y=S===he.Password);const E=A.useRef(null),[k,_]=A.useState(f??S!==he.Password);A.useEffect(()=>{_(f??S!==he.Password)},[S,f]);function I(){_(P=>!P)}function B(){var P;E.current&&((P=E.current.querySelector("input"))==null||P.focus())}return a.jsx(ur,{label:t,caption:r,disabled:n,errorMessage:o,amountCounter:c,required:b.required,children:a.jsxs("div",{className:x("relative flex flex-row items-center gap-x-3",An),onClick:B,ref:E,children:[l&&a.jsx("span",{className:"input-icon-color",children:l}),a.jsx(Di,{...b,inputRef:C,value:p,type:S===he.Password&&k?he.Text:S,disabled:n,className:x(_n,Nn,Tn,ri)}),s&&a.jsx(Pt,{children:s}),a.jsx(Ii,{value:p,type:S,onClearInput:w,isContentVisible:k,trailingElement:u,isVisibilityToggleEnabled:y,onToggleButtonClick:I})]})})});function Di({type:e,inputRef:t,...r}){function n(o){if(e===he.Number){const l=o.currentTarget;l.blur(),o.stopPropagation(),setTimeout(()=>{l.focus({preventScroll:!0})},0)}}return e===he.NumericFormat?a.jsx(Li,{inputRef:t,...r,type:e}):a.jsx("input",{ref:t,...r,type:e,onWheel:o=>{var l;n(o),(l=r.onWheel)==null||l.call(r,o)}})}function Li({inputRef:e,className:t,type:r,...n}){return a.jsx(Ai,{className:t,valueIsNumericString:!0,getInputRef:e,...n})}function Ii({value:e,type:t,onClearInput:r,isContentVisible:n,trailingElement:o,onToggleButtonClick:l,isVisibilityToggleEnabled:s}){const c=!!(t===he.Text&&e&&r),u=!!(t===he.Password&&s),f=!!(o&&!c&&!u);if(c)return a.jsx(le,{className:"input-icon-color [&_svg]:h-5 [&_svg]:w-5",onClick:r,tabIndex:-1,children:a.jsx(gt,{})});if(u)return a.jsx(le,{onClick:l,className:"input-icon-color [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:n?a.jsx(fn,{}):a.jsx(un,{})});if(f)return a.jsx(A.Fragment,{children:o})}const Pi=A.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:o,value:l,amountCounter:s,isVisibilityToggleEnabled:c,isResizeEnabled:u,required:f,isContentVisible:p,...g},w){const[y,S]=A.useState(p??!0);A.useEffect(()=>{S(p??!0)},[p]);function b(){S(C=>!C)}return a.jsx(ur,{label:t,caption:r,disabled:n||!y,errorMessage:o,amountCounter:s,required:f,children:a.jsxs("div",{className:"relative",children:[a.jsx("textarea",{disabled:n||!y,required:f,ref:w,className:x("peer block min-h-[50px]",An,_n,Nn,Tn,y&&u?"resize-y":"resize-none",!y&&"not-visible select-none text-transparent dark:text-transparent"),value:y?l:"",...g}),!y&&a.jsx("div",{className:"absolute left-0 top-0 flex h-full w-full flex-col items-stretch gap-y-2 px-md py-sm peer-[.not-visible]:select-none",children:a.jsx(ki,{rows:3,halfWidthRow:3})}),c&&a.jsx("span",{className:"absolute bottom-4 right-4 flex",children:a.jsx(le,{onClick:b,className:"input-icon-color [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:y?a.jsx(fn,{}):a.jsx(un,{})})})]})})});function ki({rows:e,halfWidthRow:t}){return a.jsx(a.Fragment,{children:Array.from({length:e}).map((r,n)=>{const l=t===n+1?"w-1/2":"w-full";return a.jsx("div",{className:`input-visibility-bar h-2.5 rounded ${l}`},n)})})}var Bt=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(Bt||{});const Hn="navbar-item-icon-selected-color",Gn="navbar-item-icon-color",Bi="py-xxs px-sm",Mi="p-sm",$n="bg-shader-primary-light-12 dark:bg-shader-primary-dark-12",Fi="-top-3 right-3",Vi="-top-1 right-3",zn="navbar-item-label-selected-color",Xn="navbar-item-label-color";function Ui({icon:e,text:t,isSelected:r,hasBadge:n,onClick:o,isDisabled:l=!1}){const s=r?Hn:Gn,c=t?Bi:Mi,u=r&&$n,f=t?Fi:Vi,p=r?zn:Xn,g=l?"cursor-not-allowed opacity-60":"state-layer",w=y=>{if(l){y.preventDefault();return}o==null||o(y)};return a.jsxs("div",{onClick:w,className:x("inline-flex cursor-pointer flex-col items-center justify-center space-y-1"),children:[a.jsxs("div",{className:x("relative inline-flex rounded-full",c,u,g),children:[a.jsx("div",{className:x("inline-flex [&_svg]:h-6 [&_svg]:w-6",s),children:e}),n&&a.jsx("div",{className:x("absolute",f),children:a.jsx(ft,{type:R.PrimarySolid})})]}),t&&a.jsx("span",{className:x("text-center text-label-md",p),children:t})]})}function Wi({icon:e,text:t,isSelected:r,hasBadge:n,onClick:o,isDisabled:l=!1}){const s=r?Hn:Gn,c=r&&$n,u=r?zn:Xn,f=l?"cursor-not-allowed opacity-60":"state-layer cursor-pointer ",p=g=>{if(l){g.preventDefault();return}o==null||o(g)};return a.jsxs("div",{onClick:p,className:x("relative inline-flex w-full flex-row items-center justify-between rounded-full p-sm",c,f),children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:x("inline-flex [&_svg]:h-6 [&_svg]:w-6",s),children:e}),t&&a.jsx("span",{className:x("text-center text-label-lg",u),children:t})]}),n&&a.jsx(ft,{type:R.PrimarySolid})]})}function gr(e){const{type:t,text:r}=e;return t===Bt.Vertical&&r?a.jsx(Wi,{...e}):a.jsx(Ui,{...e})}function ji({title:e,subtitle:t,badgeType:r,badgeText:n,isLocked:o,avatarContent:l,onOptionsClick:s,onLockAccountClick:c,onUnlockAccountClick:u,onCopy:f,copyText:p,onOpen:g,isCopyable:w,isExternal:y,isSelected:S,isActive:b,showSelected:C,badgeTooltipText:E,badgeTooltipPosition:k=Pe.Bottom}){const _=l;return a.jsxs("div",{className:x("state-layer group relative flex w-full items-center justify-between space-x-3 rounded-xl px-sm py-xs hover:cursor-pointer",b&&"state-active",{"opacity-60":o&&C}),children:[a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsx(_,{isLocked:o}),a.jsxs("div",{className:"flex flex-col items-start py-xs",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("span",{className:"account-title-color font-inter text-title-md",children:e}),n&&r?E?a.jsx(He,{text:E,position:k,children:a.jsx(ft,{type:r,label:n})}):a.jsx(ft,{type:r,label:n}):null]}),a.jsx(Sn,{text:t,onCopySuccess:f,copyText:p,onOpen:g,isCopyable:w,isExternal:y})]})]}),a.jsxs("div",{className:"z-10 ml-auto flex items-center space-x-2 [&_button]:h-5 [&_button]:w-5 [&_svg]:h-5 [&_svg]:w-5",children:[a.jsxs("div",{className:"account-icon-color flex items-center space-x-2 [&_button:not(.locked)]:hidden group-hover:[&_button:not(.locked)]:flex",children:[s&&a.jsx(le,{onClick:s,children:a.jsx(sn,{})}),c&&u&&(o?a.jsx("div",{className:"flex items-center",children:a.jsx(le,{onClick:u,testId:"account-unlock",className:"locked",children:a.jsx(tl,{})})}):a.jsx(le,{onClick:c,testId:"account-lock",children:a.jsx(rl,{})}))]}),C&&a.jsx(le,{children:S?a.jsx(qo,{className:"account-check-active-color h-5 w-5"}):a.jsx(cn,{className:"account-check-inactive-color h-5 w-5"})})]})]})}function Kn({children:e}){return a.jsx("ul",{className:"dropdown-bg dropdown-border-color list-none rounded-lg border py-xs",children:e})}var xt=(e=>(e.Top="top",e.Bottom="bottom",e))(xt||{});function Zn({children:e,hasLastBorderNoneClass:t,isContentCentered:r}){return a.jsx("td",{className:x("table-cell-border-color h-14 border-b px-md",{"last:border-none":t},{"flex items-center justify-center":r}),children:e})}function Hi({children:e,supportingLabel:t}){return a.jsxs("div",{className:"flex flex-row items-baseline gap-1",children:[a.jsx("span",{children:e}),t&&a.jsx("span",{className:"table-cell-supporting-label-color text-body-sm",children:t})]})}function Gi(){return a.jsx(bn,{})}var wt=(e=>(e.Small="small",e.Default="default",e))(wt||{});const $i=A.forwardRef(({disabled:e,label:t,leadingIcon:r,supportingText:n,errorMessage:o,caption:l,options:s,placeholder:c,onValueChange:u,onOptionClick:f,value:p,dropdownPosition:g=xt.Bottom,size:w=wt.Default},y)=>{const[S,b]=A.useState(!1),C=I(p,s),E=C||c,k=w===wt.Small?"px-sm":"px-md",_=w===wt.Small?"text-body-md":"text-body-lg";A.useEffect(()=>{e&&S&&N()},[e,S]);function I(D,G=[]){return G.find(ae=>typeof ae=="string"?ae===D:ae.id===D)??G[0]}function B(){b(D=>!D)}function P(D){N();const G=typeof D=="string"?D:D.id;f==null||f(G),D!==C&&(u==null||u(G))}function N(){b(!1)}return a.jsx(ur,{label:t,caption:l,disabled:e,errorMessage:o,labelHtmlTag:On.Div,children:a.jsxs("div",{className:"relative flex w-full flex-col",children:[a.jsxs(le,{ref:y,onClick:B,disabled:e,className:x("select-border-color focus-visible:enabled:select-border-focus-color active:enabled:select-border-focus-color group-[.errored]:select-border-error-color group-[.opened]:select-border-focus-color [&:is(:focus,_:focus-visible,_:active)]:enabled:select-border-focus-color hover:enabled:select-border-hover-color flex flex-row items-center gap-x-3 rounded-lg border py-sm disabled:cursor-not-allowed [&_svg]:h-5 [&_svg]:w-5",k),children:[r&&a.jsx("span",{className:"select-icon-color",children:r}),a.jsxs("div",{className:"flex w-full flex-row items-baseline gap-x-3",children:[E&&a.jsx("div",{className:x("select-label-color block w-full text-start",_),children:a.jsx(Yn,{option:E})}),n&&a.jsx("div",{className:"ml-auto",children:a.jsx(Pt,{children:n})})]}),a.jsx(sl,{className:x("select-icon-color transition-transform",{" rotate-180":S})})]}),S&&a.jsx("div",{className:"fixed left-0 top-0 z-[49] h-screen w-screen bg-transparent",onClick:N}),a.jsx("div",{className:x("absolute z-50 min-w-full",{hidden:!S,"top-full":!g||g===xt.Bottom,"bottom-full":g===xt.Top}),children:a.jsx(Kn,{children:s.map(D=>{const G=typeof D=="string";return a.jsx(gn,{onClick:()=>P(D),hideBottomBorder:!0,children:a.jsx(Yn,{option:D})},G?D:D.id)})})})]})})});function Yn({option:e}){return typeof e=="string"?e:"renderLabel"in e?e.renderLabel():e.label}var Xe=(e=>(e.Asc="asc",e.Desc="desc",e))(Xe||{});function qn({label:e,columnKey:t,hasSort:r,hasCheckbox:n,isChecked:o,isIndeterminate:l,isContentCentered:s,onSortClick:c,onCheckboxChange:u,sortOrder:f}){const p=()=>{const S=f===Xe.Asc?Xe.Desc:Xe.Asc;c&&c(t,S)},g="table-header-text-color",w="text-label-lg",y=r?f===Xe.Asc?a.jsx(dn,{className:"shrink-0"}):f===Xe.Desc?a.jsx(il,{className:"shrink-0"}):a.jsx(dn,{className:"invisible shrink-0 group-hover:visible"}):null;return a.jsx("th",{onClick:r?p:void 0,className:x("state-layer table-cell-border-color group relative h-14 border-b px-md after:pointer-events-none",{"cursor-pointer":r}),children:a.jsxs("div",{className:x("flex flex-row items-center gap-1 [&_svg]:h-4 [&_svg]:w-4",g,w,{"justify-center":s}),children:[n?a.jsx(sr,{isChecked:o,isIndeterminate:l,onCheckedChange:u}):a.jsx("span",{className:x({"text-left":!s}),children:e}),y]})})}var ge=(e=>(e.Outlined="outlined",e.Filled="filled",e))(ge||{});const zi={[ge.Outlined]:"bg-transparent",[ge.Filled]:"search-bg-color-filled"},Xi={[ge.Outlined]:"border-l border-r border-t search-border-color",[ge.Filled]:"search-bg-color-filled"},Ki={[ge.Outlined]:"rounded-b-3xl border-b border-l border-r search-border-color search-suggestion-bg-color",[ge.Filled]:"rounded-b-3xl search-bg-color-filled"};function Zi({searchValue:e,suggestions:t,onSearchValueChange:r,onSuggestionClick:n,placeholder:o,isLoading:l=!1,type:s=ge.Outlined,renderSuggestion:c}){const u=A.useRef(null),f=A.useRef(null),[p,g]=A.useState(!0),[w,y]=A.useState(null);function S(P){const N=P.target.value;r(N)}A.useEffect(()=>{const P=N=>{var D;N.key==="Escape"&&(g(!1),(D=u.current)==null||D.blur())};return document.addEventListener("keydown",P),()=>{document.removeEventListener("keydown",P)}},[]),A.useEffect(()=>{const P=N=>{var G;const D=u==null?void 0:u.current;!D||D.contains(N==null?void 0:N.target)||(G=f.current)!=null&&G.contains(N.target)||g(!1)};return document.addEventListener("click",P,!0),document.addEventListener("touchstart",P,!0),()=>{document.removeEventListener("click",P,!0),document.removeEventListener("touchstart",P,!0)}},[u]);const b=p&&t&&t.length>0,C=b?x("rounded-t-3xl border-b",s===ge.Outlined?"[&:not(.dark_*,.names_*)]:border-b-transparent":"border-b-transparent"):s===ge.Outlined?"rounded-3xl border-b":"rounded-full",E=Xi[s],k=zi[s],_=Ki[s],I=P=>{var N;n==null||n(P),r(""),g(!1),y(null),(N=u.current)==null||N.blur()},B=P=>{t&&(t==null?void 0:t.length)>0&&(P.key==="ArrowDown"?(P.preventDefault(),y(N=>N===null||N>=t.length-1?0:N+1)):P.key==="ArrowUp"?(P.preventDefault(),y(N=>N===null||N<=0?t.length-1:N-1)):P.key==="Enter"&&(P.preventDefault(),w!==null&&t[w]?I(t[w]):t.length===1&&I(t[0])))};return a.jsxs("div",{className:"relative w-full",children:[a.jsxs("div",{className:x("search-text-color flex items-center overflow-hidden px-md py-sm [&_svg]:h-6 [&_svg]:w-6",C,E),children:[a.jsx("input",{ref:u,type:"text",value:e,onChange:S,onKeyDown:B,onFocus:()=>g(!0),placeholder:o,className:x("search-placeholder-color w-full flex-1 outline-none",k)}),a.jsx(ll,{})]}),b&&c&&a.jsxs("div",{ref:f,className:x("absolute left-0 top-full flex w-full flex-col items-center overflow-hidden",_),children:[a.jsx(hn,{width:"w-11/12"}),l?a.jsx("div",{className:"px-md py-sm",children:a.jsx(ln,{className:"animate-spin"})}):t.map((P,N)=>a.jsx("div",{onClick:()=>I(P),onMouseEnter:()=>y(N),className:x("w-full cursor-pointer px-md py-sm",w===N?"search-selected-index-bg-color":""),children:c(P,N)},P.id))]})]})}var nt=(e=>(e.Default="default",e.Outlined="outlined",e.Filled="filled",e))(nt||{}),Be=(e=>(e.Placeholder="placeholder",e.BgSolid="bg-solid",e.BgWhite="bg-white",e.BgTransparent="bg-transparent",e))(Be||{}),Ke=(e=>(e.Rounded="rounded",e.SquareRounded="square-rounded",e))(Ke||{}),yt=(e=>(e.Link="link",e.SupportingText="supporting-text",e.Button="button",e))(yt||{});const Yi="cursor-default opacity-40",Qn="h-10 w-10",Jn={[Ke.SquareRounded]:`${Qn} rounded-md`,[Ke.Rounded]:`${Qn} rounded-full`},qi={[Be.Placeholder]:"",[Be.BgSolid]:"card-image-bg-solid",[Be.BgWhite]:"card-image-bg-white",[Be.BgTransparent]:""},Qi={[nt.Default]:"border border-transparent",[nt.Outlined]:"border border-shader-neutral-light-8 dark:border-shader-primary-dark-8 p-xs",[nt.Filled]:"border border-transparent card-filled-bg p-xs"};function Ji({isDisabled:e=!1,type:t=nt.Default,isHoverable:r,onClick:n,children:o,testId:l}){function s(){e||n==null||n()}return a.jsx("div",{onClick:s,className:x("relative inline-flex w-full items-center gap-3 rounded-xl px-sm py-xs",Qi[t],{"state-layer":r||!e&&n,[Yi]:e,"cursor-pointer":n}),"data-testid":l,children:o})}function Ri({type:e,onClick:t,subtitle:r,title:n,icon:o,iconAfterText:l,buttonType:s,buttonDisabled:c}){function u(f){t&&(f.stopPropagation(),t())}return e===yt.Link?a.jsx("div",{onClick:u,className:"card-action-link-color shrink-0 [&_svg]:h-5 [&_svg]:w-5",children:o||a.jsx(lr,{})}):e===yt.SupportingText?a.jsxs("div",{className:"shrink-0 text-right",children:[n&&a.jsx("div",{className:"card-action-title-color font-inter text-label-md",children:n}),r&&a.jsx("div",{className:"card-action-subtitle-color font-inter text-label-sm",children:r})]}):e===yt.Button?a.jsx("div",{className:"shrink-0",children:a.jsx(ce,{type:s||W.Outlined,size:ne.Small,text:n,onClick:u,icon:o,iconAfterText:l,disabled:c})}):null}function es({variant:e=Ke.Rounded}){return e===Ke.Rounded?a.jsx(ts,{}):a.jsx(rs,{})}function ts(){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[a.jsxs("g",{"clip-path":"url(#clip0_880_55185)",children:[a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"#5B9CFE"}),a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint0_linear_880_55185)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint1_linear_880_55185)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0.5 20C0.5 9.23045 9.23045 0.5 20 0.5C30.7696 0.5 39.5 9.23045 39.5 20C39.5 30.7696 30.7696 39.5 20 39.5C9.23045 39.5 0.5 30.7696 0.5 20Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"paint0_linear_880_55185",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsxs("linearGradient",{id:"paint1_linear_880_55185",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsx("clipPath",{id:"clip0_880_55185",children:a.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"white"})})]})]})}function rs(){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[a.jsxs("g",{"clip-path":"url(#clip0_880_55190)",children:[a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#5B9CFE"}),a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_880_55190)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint1_linear_880_55190)","fill-opacity":"0.2"}),a.jsx("path",{d:"M0.5 8C0.5 3.85786 3.85786 0.5 8 0.5H32C36.1421 0.5 39.5 3.85786 39.5 8V32C39.5 36.1421 36.1421 39.5 32 39.5H8C3.85786 39.5 0.5 36.1421 0.5 32V8Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"paint0_linear_880_55190",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsxs("linearGradient",{id:"paint1_linear_880_55190",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[a.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),a.jsx("stop",{offset:"1"})]}),a.jsx("clipPath",{id:"clip0_880_55190",children:a.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"white"})})]})]})}function ns({type:e=Be.BgSolid,shape:t=Ke.Rounded,url:r,children:n}){return a.jsxs("div",{className:x(Jn[t],qi[e],"flex shrink-0 items-center justify-center overflow-hidden"),children:[e===Be.Placeholder&&!n&&a.jsx(es,{variant:t}),r&&!n&&a.jsx("img",{src:r,className:x(Jn[t],"object-cover"),alt:"Card Image"}),n]})}function as({title:e,subtitle:t,clickableAction:r,icon:n,isTextTruncated:o,tooltipText:l,tooltipPosition:s}){const c=u=>{u==null||u.stopPropagation()};return a.jsxs("div",{className:x("flex w-full flex-col",{truncate:o}),children:[a.jsxs("div",{className:x("flex flex-row items-center gap-x-xxs",{"grow-1":o}),children:[a.jsx("div",{className:x("card-body-title-color font-inter text-title-md",{truncate:o}),children:e}),l?a.jsx(He,{text:l,position:s,children:n}):a.jsx("div",{className:"flex items-center",children:n}),r&&a.jsx("div",{onClick:c,className:"flex items-center",children:r})]}),t&&a.jsx("div",{className:x("card-body-subtitle-color font-inter text-body-md",{truncate:o}),children:t})]})}var Oe=(e=>(e.Default="default",e.Highlight="highlight",e.Secondary="secondary",e))(Oe||{}),ve=(e=>(e.Default="default",e.Large="large",e))(ve||{});const os={[Oe.Default]:"display-stats-bg-default",[Oe.Highlight]:"display-stats-bg-highlight",[Oe.Secondary]:"display-stats-bg-secondary"},ls={[Oe.Default]:"display-stats-text-default",[Oe.Highlight]:"display-stats-text-highlight",[Oe.Secondary]:"display-stats-text-secondary"},is={[ve.Default]:"gap-y-sm",[ve.Large]:"gap-y-md"},ss={[ve.Default]:"text-title-md",[ve.Large]:"text-headline-sm"},cs={[ve.Default]:"text-label-md",[ve.Large]:"text-label-lg"},ds={[ve.Default]:"text-label-sm",[ve.Large]:"text-label-md"};function us({label:e,tooltipPosition:t,tooltipText:r,value:n,supportingLabel:o,type:l=Oe.Default,size:s=ve.Default,icon:c,copyText:u,onCopySuccess:f,onCopyError:p}){const g=os[l],w=is[s],y=ls[l],S=ss[s],b=ds[s],C=cs[s];async function E(k){if(navigator.clipboard&&u)try{await navigator.clipboard.writeText(u),f==null||f(k,u)}catch(_){console.error("Failed to copy:",_),p==null||p(_,u)}}return a.jsxs("div",{className:x("flex h-full w-full flex-col justify-between rounded-2xl p-md--rs",g,w,y),children:[a.jsxs("div",{className:x("flex flex-row items-center",{"w-full justify-between":c}),children:[a.jsxs("div",{className:"flex flex-row items-center gap-xxs",children:[a.jsx("span",{className:x(b,"whitespace-pre-line"),children:e}),r&&a.jsx(He,{text:r,position:t,children:a.jsx(Ot,{className:"opacity-40"})})]}),c&&a.jsx("span",{className:"display-stats-icon-color",children:c})]}),a.jsxs("div",{className:"flex w-full flex-row items-baseline gap-xxs",children:[a.jsx("span",{className:x("break-all",S),children:n}),o&&a.jsx("span",{className:x("opacity-40",C),children:o}),u&&a.jsx("div",{className:"self-center",children:a.jsx(le,{onClick:E,children:a.jsx(ir,{className:"display-stats-copy-icon-color"})})})]})]})}function fs({onIconClick:e,onClick:t,icon:r=a.jsx(sn,{}),assetTitle:n,isHoverable:o=!0,...l}){const s=u=>{e==null||e(u),u==null||u.stopPropagation()},c=!("src"in l);return a.jsxs("div",{className:x("relative aspect-square w-full overflow-hidden rounded-xl",{"group cursor-pointer":o}),onClick:t,children:[!c&&a.jsx(Cn,{...l}),c&&l.renderAsset,o&&a.jsx("div",{className:"absolute left-0 top-0 h-full w-full bg-cover bg-center bg-no-repeat group-hover:bg-shader-neutral-light-48 group-hover:transition group-hover:duration-300 group-hover:ease-in-out group-hover:names:bg-shader-inverted-light-48 group-hover:dark:bg-shader-primary-dark-48"}),o&&e&&a.jsx(le,{className:"visual-asset-icon-color absolute right-2 top-2 h-9 w-9 cursor-pointer rounded-full p-xs opacity-0 transition-opacity duration-300 group-hover:bg-shader-neutral-light-72 group-hover:opacity-100 [&_svg]:h-5 [&_svg]:w-5",onClick:s,children:r}),o&&n&&a.jsx("div",{className:"absolute bottom-0 flex items-center justify-center p-xs opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:a.jsx("span",{className:"visual-asset-title-color text-title-md",children:n})})]})}function Me(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function hs(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Rn(...e){return t=>e.forEach(r=>hs(r,t))}function Ze(...e){return v.useCallback(Rn(...e),e)}function gs(e,t){const r=v.createContext(t);function n(l){const{children:s,...c}=l,u=v.useMemo(()=>c,Object.values(c));return a.jsx(r.Provider,{value:u,children:s})}function o(l){const s=v.useContext(r);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function vs(e,t=[]){let r=[];function n(l,s){const c=v.createContext(s),u=r.length;r=[...r,s];function f(g){const{scope:w,children:y,...S}=g,b=(w==null?void 0:w[e][u])||c,C=v.useMemo(()=>S,Object.values(S));return a.jsx(b.Provider,{value:C,children:y})}function p(g,w){const y=(w==null?void 0:w[e][u])||c,S=v.useContext(y);if(S)return S;if(s!==void 0)return s;throw new Error(`\`${g}\` must be used within \`${l}\``)}return f.displayName=l+"Provider",[f,p]}const o=()=>{const l=r.map(s=>v.createContext(s));return function(c){const u=(c==null?void 0:c[e])||l;return v.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return o.scopeName=e,[n,ps(o,...t)]}function ps(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const s=n.reduce((c,{useScope:u,scopeName:f})=>{const g=u(l)[`__scope${f}`];return{...c,...g}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}var Mt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},ms=v.useId||(()=>{}),bs=0;function vr(e){const[t,r]=v.useState(ms());return Mt(()=>{e||r(n=>n??String(bs++))},[e]),e||(t?`radix-${t}`:"")}function Ye(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function xs({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=ws({defaultProp:t,onChange:r}),l=e!==void 0,s=l?e:n,c=Ye(r),u=v.useCallback(f=>{if(l){const g=typeof f=="function"?f(e):f;g!==e&&c(g)}else o(f)},[l,e,o,c]);return[s,u]}function ws({defaultProp:e,onChange:t}){const r=v.useState(e),[n]=r,o=v.useRef(n),l=Ye(t);return v.useEffect(()=>{o.current!==n&&(l(n),o.current=n)},[n,o,l]),r}var pr=v.forwardRef((e,t)=>{const{children:r,...n}=e,o=v.Children.toArray(r),l=o.find(Ss);if(l){const s=l.props.children,c=o.map(u=>u===l?v.Children.count(s)>1?v.Children.only(null):v.isValidElement(s)?s.props.children:null:u);return a.jsx(mr,{...n,ref:t,children:v.isValidElement(s)?v.cloneElement(s,void 0,c):null})}return a.jsx(mr,{...n,ref:t,children:r})});pr.displayName="Slot";var mr=v.forwardRef((e,t)=>{const{children:r,...n}=e;if(v.isValidElement(r)){const o=Es(r);return v.cloneElement(r,{...Cs(n,r.props),ref:t?Rn(t,o):o})}return v.Children.count(r)>1?v.Children.only(null):null});mr.displayName="SlotClone";var ys=({children:e})=>a.jsx(a.Fragment,{children:e});function Ss(e){return v.isValidElement(e)&&e.type===ys}function Cs(e,t){const r={...t};for(const n in t){const o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...c)=>{l(...c),o(...c)}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}function Es(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var _s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Se=_s.reduce((e,t)=>{const r=v.forwardRef((n,o)=>{const{asChild:l,...s}=n,c=l?pr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ns(e,t){e&&Xr.flushSync(()=>e.dispatchEvent(t))}function Ts(e,t=globalThis==null?void 0:globalThis.document){const r=Ye(e);v.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var As="DismissableLayer",br="dismissableLayer.update",Os="dismissableLayer.pointerDownOutside",Ds="dismissableLayer.focusOutside",ea,ta=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ra=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:s,onDismiss:c,...u}=e,f=v.useContext(ta),[p,g]=v.useState(null),w=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=v.useState({}),S=Ze(t,N=>g(N)),b=Array.from(f.layers),[C]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),E=b.indexOf(C),k=p?b.indexOf(p):-1,_=f.layersWithOutsidePointerEventsDisabled.size>0,I=k>=E,B=Ps(N=>{const D=N.target,G=[...f.branches].some(ae=>ae.contains(D));!I||G||(o==null||o(N),s==null||s(N),N.defaultPrevented||c==null||c())},w),P=ks(N=>{const D=N.target;[...f.branches].some(ae=>ae.contains(D))||(l==null||l(N),s==null||s(N),N.defaultPrevented||c==null||c())},w);return Ts(N=>{k===f.layers.size-1&&(n==null||n(N),!N.defaultPrevented&&c&&(N.preventDefault(),c()))},w),v.useEffect(()=>{if(p)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ea=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),na(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=ea)}},[p,w,r,f]),v.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),na())},[p,f]),v.useEffect(()=>{const N=()=>y({});return document.addEventListener(br,N),()=>document.removeEventListener(br,N)},[]),a.jsx(Se.div,{...u,ref:S,style:{pointerEvents:_?I?"auto":"none":void 0,...e.style},onFocusCapture:Me(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Me(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Me(e.onPointerDownCapture,B.onPointerDownCapture)})});ra.displayName=As;var Ls="DismissableLayerBranch",Is=v.forwardRef((e,t)=>{const r=v.useContext(ta),n=v.useRef(null),o=Ze(t,n);return v.useEffect(()=>{const l=n.current;if(l)return r.branches.add(l),()=>{r.branches.delete(l)}},[r.branches]),a.jsx(Se.div,{...e,ref:o})});Is.displayName=Ls;function Ps(e,t=globalThis==null?void 0:globalThis.document){const r=Ye(e),n=v.useRef(!1),o=v.useRef(()=>{});return v.useEffect(()=>{const l=c=>{if(c.target&&!n.current){let u=function(){aa(Os,r,f,{discrete:!0})};const f={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",l),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function ks(e,t=globalThis==null?void 0:globalThis.document){const r=Ye(e),n=v.useRef(!1);return v.useEffect(()=>{const o=l=>{l.target&&!n.current&&aa(Ds,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function na(){const e=new CustomEvent(br);document.dispatchEvent(e)}function aa(e,t,r,{discrete:n}){const o=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Ns(o,l):o.dispatchEvent(l)}var xr="focusScope.autoFocusOnMount",wr="focusScope.autoFocusOnUnmount",oa={bubbles:!1,cancelable:!0},Bs="FocusScope",la=v.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:l,...s}=e,[c,u]=v.useState(null),f=Ye(o),p=Ye(l),g=v.useRef(null),w=Ze(t,b=>u(b)),y=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let b=function(_){if(y.paused||!c)return;const I=_.target;c.contains(I)?g.current=I:Fe(g.current,{select:!0})},C=function(_){if(y.paused||!c)return;const I=_.relatedTarget;I!==null&&(c.contains(I)||Fe(g.current,{select:!0}))},E=function(_){if(document.activeElement===document.body)for(const B of _)B.removedNodes.length>0&&Fe(c)};document.addEventListener("focusin",b),document.addEventListener("focusout",C);const k=new MutationObserver(E);return c&&k.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",C),k.disconnect()}}},[n,c,y.paused]),v.useEffect(()=>{if(c){ca.add(y);const b=document.activeElement;if(!c.contains(b)){const E=new CustomEvent(xr,oa);c.addEventListener(xr,f),c.dispatchEvent(E),E.defaultPrevented||(Ms(js(ia(c)),{select:!0}),document.activeElement===b&&Fe(c))}return()=>{c.removeEventListener(xr,f),setTimeout(()=>{const E=new CustomEvent(wr,oa);c.addEventListener(wr,p),c.dispatchEvent(E),E.defaultPrevented||Fe(b??document.body,{select:!0}),c.removeEventListener(wr,p),ca.remove(y)},0)}}},[c,f,p,y]);const S=v.useCallback(b=>{if(!r&&!n||y.paused)return;const C=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,E=document.activeElement;if(C&&E){const k=b.currentTarget,[_,I]=Fs(k);_&&I?!b.shiftKey&&E===I?(b.preventDefault(),r&&Fe(_,{select:!0})):b.shiftKey&&E===_&&(b.preventDefault(),r&&Fe(I,{select:!0})):E===k&&b.preventDefault()}},[r,n,y.paused]);return a.jsx(Se.div,{tabIndex:-1,...s,ref:w,onKeyDown:S})});la.displayName=Bs;function Ms(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Fe(n,{select:t}),document.activeElement!==r)return}function Fs(e){const t=ia(e),r=sa(t,e),n=sa(t.reverse(),e);return[r,n]}function ia(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function sa(e,t){for(const r of e)if(!Vs(r,{upTo:t}))return r}function Vs(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Us(e){return e instanceof HTMLInputElement&&"select"in e}function Fe(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Us(e)&&t&&e.select()}}var ca=Ws();function Ws(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=da(e,t),e.unshift(t)},remove(t){var r;e=da(e,t),(r=e[0])==null||r.resume()}}}function da(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function js(e){return e.filter(t=>t.tagName!=="A")}var Hs="Portal",ua=v.forwardRef((e,t)=>{var c;const{container:r,...n}=e,[o,l]=v.useState(!1);Mt(()=>l(!0),[]);const s=r||o&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return s?nr.createPortal(a.jsx(Se.div,{...n,ref:t}),s):null});ua.displayName=Hs;function Gs(e,t){return v.useReducer((r,n)=>t[r][n]??r,e)}var Ft=e=>{const{present:t,children:r}=e,n=$s(t),o=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),l=Ze(n.ref,zs(o));return typeof r=="function"||n.isPresent?v.cloneElement(o,{ref:l}):null};Ft.displayName="Presence";function $s(e){const[t,r]=v.useState(),n=v.useRef({}),o=v.useRef(e),l=v.useRef("none"),s=e?"mounted":"unmounted",[c,u]=Gs(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const f=Vt(n.current);l.current=c==="mounted"?f:"none"},[c]),Mt(()=>{const f=n.current,p=o.current;if(p!==e){const w=l.current,y=Vt(f);e?u("MOUNT"):y==="none"||(f==null?void 0:f.display)==="none"?u("UNMOUNT"):u(p&&w!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Mt(()=>{if(t){const f=g=>{const y=Vt(n.current).includes(g.animationName);g.target===t&&y&&Xr.flushSync(()=>u("ANIMATION_END"))},p=g=>{g.target===t&&(l.current=Vt(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:v.useCallback(f=>{f&&(n.current=getComputedStyle(f)),r(f)},[])}}function Vt(e){return(e==null?void 0:e.animationName)||"none"}function zs(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var yr=0;function Xs(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??fa()),document.body.insertAdjacentElement("beforeend",e[1]??fa()),yr++,()=>{yr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),yr--}},[])}function fa(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Ce=function(){return Ce=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},Ce.apply(this,arguments)};function ha(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Ks(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,l;n<o;n++)(l||!(n in t))&&(l||(l=Array.prototype.slice.call(t,0,n)),l[n]=t[n]);return e.concat(l||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Ut="right-scroll-bar-position",Wt="width-before-scroll-bar",Zs="with-scroll-bars-hidden",Ys="--removed-body-scroll-bar-size";function Sr(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function qs(e,t){var r=A.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var Qs=typeof window<"u"?v.useLayoutEffect:v.useEffect,ga=new WeakMap;function Js(e,t){var r=qs(null,function(n){return e.forEach(function(o){return Sr(o,n)})});return Qs(function(){var n=ga.get(r);if(n){var o=new Set(n),l=new Set(e),s=r.current;o.forEach(function(c){l.has(c)||Sr(c,null)}),l.forEach(function(c){o.has(c)||Sr(c,s)})}ga.set(r,e)},[e]),r}function Rs(e){return e}function ec(e,t){t===void 0&&(t=Rs);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(l){var s=t(l,n);return r.push(s),function(){r=r.filter(function(c){return c!==s})}},assignSyncMedium:function(l){for(n=!0;r.length;){var s=r;r=[],s.forEach(l)}r={push:function(c){return l(c)},filter:function(){return r}}},assignMedium:function(l){n=!0;var s=[];if(r.length){var c=r;r=[],c.forEach(l),s=r}var u=function(){var p=s;s=[],p.forEach(l)},f=function(){return Promise.resolve().then(u)};f(),r={push:function(p){s.push(p),f()},filter:function(p){return s=s.filter(p),r}}}};return o}function tc(e){e===void 0&&(e={});var t=ec(null);return t.options=Ce({async:!0,ssr:!1},e),t}var va=function(e){var t=e.sideCar,r=ha(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,Ce({},r))};va.isSideCarExport=!0;function rc(e,t){return e.useMedium(t),va}var pa=tc(),Cr=function(){},jt=v.forwardRef(function(e,t){var r=v.useRef(null),n=v.useState({onScrollCapture:Cr,onWheelCapture:Cr,onTouchMoveCapture:Cr}),o=n[0],l=n[1],s=e.forwardProps,c=e.children,u=e.className,f=e.removeScrollBar,p=e.enabled,g=e.shards,w=e.sideCar,y=e.noIsolation,S=e.inert,b=e.allowPinchZoom,C=e.as,E=C===void 0?"div":C,k=e.gapMode,_=ha(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),I=w,B=Js([r,t]),P=Ce(Ce({},_),o);return v.createElement(v.Fragment,null,p&&v.createElement(I,{sideCar:pa,removeScrollBar:f,shards:g,noIsolation:y,inert:S,setCallbacks:l,allowPinchZoom:!!b,lockRef:r,gapMode:k}),s?v.cloneElement(v.Children.only(c),Ce(Ce({},P),{ref:B})):v.createElement(E,Ce({},P,{className:u,ref:B}),c))});jt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},jt.classNames={fullWidth:Wt,zeroRight:Ut};var nc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ac(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=nc();return t&&e.setAttribute("nonce",t),e}function oc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function lc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ic=function(){var e=0,t=null;return{add:function(r){e==0&&(t=ac())&&(oc(t,r),lc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},sc=function(){var e=ic();return function(t,r){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},ma=function(){var e=sc(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},cc={left:0,top:0,right:0,gap:0},Er=function(e){return parseInt(e||"",10)||0},dc=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Er(r),Er(n),Er(o)]},uc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return cc;var t=dc(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},fc=ma(),at="data-scroll-locked",hc=function(e,t,r,n){var o=e.left,l=e.top,s=e.right,c=e.gap;return r===void 0&&(r="margin"),`
22
+ .`.concat(Zs,` {
155
23
  overflow: hidden `).concat(n,`;
156
24
  padding-right: `).concat(c,"px ").concat(n,`;
157
25
  }
158
- body[`).concat(Rr,`] {
26
+ body[`).concat(at,`] {
159
27
  overflow: hidden `).concat(n,`;
160
28
  overscroll-behavior: contain;
161
29
  `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
162
- padding-left: `.concat(i,`px;
163
- padding-top: `).concat(s,`px;
164
- padding-right: `).concat(u,`px;
30
+ padding-left: `.concat(o,`px;
31
+ padding-top: `).concat(l,`px;
32
+ padding-right: `).concat(s,`px;
165
33
  margin-left:0;
166
34
  margin-top:0;
167
35
  margin-right: `).concat(c,"px ").concat(n,`;
168
36
  `),r==="padding"&&"padding-right: ".concat(c,"px ").concat(n,";")].filter(Boolean).join(""),`
169
37
  }
170
38
 
171
- .`).concat(yn,` {
39
+ .`).concat(Ut,` {
172
40
  right: `).concat(c,"px ").concat(n,`;
173
41
  }
174
42
 
175
- .`).concat(_n,` {
43
+ .`).concat(Wt,` {
176
44
  margin-right: `).concat(c,"px ").concat(n,`;
177
45
  }
178
46
 
179
- .`).concat(yn," .").concat(yn,` {
47
+ .`).concat(Ut," .").concat(Ut,` {
180
48
  right: 0 `).concat(n,`;
181
49
  }
182
50
 
183
- .`).concat(_n," .").concat(_n,` {
51
+ .`).concat(Wt," .").concat(Wt,` {
184
52
  margin-right: 0 `).concat(n,`;
185
53
  }
186
54
 
187
- body[`).concat(Rr,`] {
188
- `).concat(Xc,": ").concat(c,`px;
55
+ body[`).concat(at,`] {
56
+ `).concat(Ys,": ").concat(c,`px;
189
57
  }
190
- `)},jo=function(){var e=parseInt(document.body.getAttribute(Rr)||"0",10);return isFinite(e)?e:0},hf=function(){E.useEffect(function(){return document.body.setAttribute(Rr,(jo()+1).toString()),function(){var e=jo()-1;e<=0?document.body.removeAttribute(Rr):document.body.setAttribute(Rr,e.toString())}},[])},pf=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;hf();var s=E.useMemo(function(){return df(i)},[i]);return E.createElement(vf,{styles:mf(s,!t,i,r?"":"!important")})},ha=!1;if(typeof window<"u")try{var En=Object.defineProperty({},"passive",{get:function(){return ha=!0,!0}});window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{ha=!1}var Tr=ha?{passive:!1}:!1,gf=function(e){return e.tagName==="TEXTAREA"},Ro=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!gf(e)&&r[t]==="visible")},xf=function(e){return Ro(e,"overflowY")},bf=function(e){return Ro(e,"overflowX")},To=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=Oo(e,n);if(i){var s=ko(e,n),u=s[1],c=s[2];if(u>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},yf=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},_f=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Oo=function(e,t){return e==="v"?xf(t):bf(t)},ko=function(e,t){return e==="v"?yf(t):_f(t)},wf=function(e,t){return e==="h"&&t==="rtl"?-1:1},Ef=function(e,t,r,n,i){var s=wf(e,window.getComputedStyle(t).direction),u=s*n,c=r.target,h=t.contains(c),m=!1,y=u>0,x=0,j=0;do{var R=ko(e,c),k=R[0],T=R[1],A=R[2],P=T-A-s*k;(k||P)&&Oo(e,c)&&(x+=P,j+=k),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!h&&c!==document.body||h&&(t.contains(c)||t===c));return(y&&Math.abs(x)<1||!y&&Math.abs(j)<1)&&(m=!0),m},Sn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},No=function(e){return[e.deltaX,e.deltaY]},Ao=function(e){return e&&"current"in e?e.current:e},Sf=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Cf=function(e){return`
58
+ `)},ba=function(){var e=parseInt(document.body.getAttribute(at)||"0",10);return isFinite(e)?e:0},gc=function(){v.useEffect(function(){return document.body.setAttribute(at,(ba()+1).toString()),function(){var e=ba()-1;e<=0?document.body.removeAttribute(at):document.body.setAttribute(at,e.toString())}},[])},vc=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;gc();var l=v.useMemo(function(){return uc(o)},[o]);return v.createElement(fc,{styles:hc(l,!t,o,r?"":"!important")})},_r=!1;if(typeof window<"u")try{var Ht=Object.defineProperty({},"passive",{get:function(){return _r=!0,!0}});window.addEventListener("test",Ht,Ht),window.removeEventListener("test",Ht,Ht)}catch{_r=!1}var ot=_r?{passive:!1}:!1,pc=function(e){return e.tagName==="TEXTAREA"},xa=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!pc(e)&&r[t]==="visible")},mc=function(e){return xa(e,"overflowY")},bc=function(e){return xa(e,"overflowX")},wa=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=ya(e,n);if(o){var l=Sa(e,n),s=l[1],c=l[2];if(s>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},xc=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},wc=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},ya=function(e,t){return e==="v"?mc(t):bc(t)},Sa=function(e,t){return e==="v"?xc(t):wc(t)},yc=function(e,t){return e==="h"&&t==="rtl"?-1:1},Sc=function(e,t,r,n,o){var l=yc(e,window.getComputedStyle(t).direction),s=l*n,c=r.target,u=t.contains(c),f=!1,p=s>0,g=0,w=0;do{var y=Sa(e,c),S=y[0],b=y[1],C=y[2],E=b-C-l*S;(S||E)&&ya(e,c)&&(g+=E,w+=S),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(p&&Math.abs(g)<1||!p&&Math.abs(w)<1)&&(f=!0),f},Gt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ca=function(e){return[e.deltaX,e.deltaY]},Ea=function(e){return e&&"current"in e?e.current:e},Cc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ec=function(e){return`
191
59
  .block-interactivity-`.concat(e,` {pointer-events: none;}
192
60
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
193
- `)},jf=0,Or=[];function Rf(e){var t=E.useRef([]),r=E.useRef([0,0]),n=E.useRef(),i=E.useState(jf++)[0],s=E.useState(Co)[0],u=E.useRef(e);E.useEffect(function(){u.current=e},[e]),E.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var T=zc([e.lockRef.current],(e.shards||[]).map(Ao),!0).filter(Boolean);return T.forEach(function(A){return A.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),T.forEach(function(A){return A.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=E.useCallback(function(T,A){if("touches"in T&&T.touches.length===2)return!u.current.allowPinchZoom;var P=Sn(T),U=r.current,I="deltaX"in T?T.deltaX:U[0]-P[0],K="deltaY"in T?T.deltaY:U[1]-P[1],Y,z=T.target,W=Math.abs(I)>Math.abs(K)?"h":"v";if("touches"in T&&W==="h"&&z.type==="range")return!1;var G=To(W,z);if(!G)return!0;if(G?Y=W:(Y=W==="v"?"h":"v",G=To(W,z)),!G)return!1;if(!n.current&&"changedTouches"in T&&(I||K)&&(n.current=Y),!Y)return!0;var de=n.current||Y;return Ef(de,A,T,de==="h"?I:K)},[]),h=E.useCallback(function(T){var A=T;if(!(!Or.length||Or[Or.length-1]!==s)){var P="deltaY"in A?No(A):Sn(A),U=t.current.filter(function(Y){return Y.name===A.type&&(Y.target===A.target||A.target===Y.shadowParent)&&Sf(Y.delta,P)})[0];if(U&&U.should){A.cancelable&&A.preventDefault();return}if(!U){var I=(u.current.shards||[]).map(Ao).filter(Boolean).filter(function(Y){return Y.contains(A.target)}),K=I.length>0?c(A,I[0]):!u.current.noIsolation;K&&A.cancelable&&A.preventDefault()}}},[]),m=E.useCallback(function(T,A,P,U){var I={name:T,delta:A,target:P,should:U,shadowParent:Tf(P)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(K){return K!==I})},1)},[]),y=E.useCallback(function(T){r.current=Sn(T),n.current=void 0},[]),x=E.useCallback(function(T){m(T.type,No(T),T.target,c(T,e.lockRef.current))},[]),j=E.useCallback(function(T){m(T.type,Sn(T),T.target,c(T,e.lockRef.current))},[]);E.useEffect(function(){return Or.push(s),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:j}),document.addEventListener("wheel",h,Tr),document.addEventListener("touchmove",h,Tr),document.addEventListener("touchstart",y,Tr),function(){Or=Or.filter(function(T){return T!==s}),document.removeEventListener("wheel",h,Tr),document.removeEventListener("touchmove",h,Tr),document.removeEventListener("touchstart",y,Tr)}},[]);var R=e.removeScrollBar,k=e.inert;return E.createElement(E.Fragment,null,k?E.createElement(s,{styles:Cf(i)}):null,R?E.createElement(pf,{gapMode:e.gapMode}):null)}function Tf(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Of=rf(So,Rf);var Po=E.forwardRef(function(e,t){return E.createElement(wn,kt({},e,{ref:t,sideCar:Of}))});Po.classNames=wn.classNames;var kf=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},kr=new WeakMap,Cn=new WeakMap,jn={},pa=0,Do=function(e){return e&&(e.host||Do(e.parentNode))},Nf=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Do(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Af=function(e,t,r,n){var i=Nf(t,Array.isArray(e)?e:[e]);jn[r]||(jn[r]=new WeakMap);var s=jn[r],u=[],c=new Set,h=new Set(i),m=function(x){!x||c.has(x)||(c.add(x),m(x.parentNode))};i.forEach(m);var y=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(j){if(c.has(j))y(j);else try{var R=j.getAttribute(n),k=R!==null&&R!=="false",T=(kr.get(j)||0)+1,A=(s.get(j)||0)+1;kr.set(j,T),s.set(j,A),u.push(j),T===1&&k&&Cn.set(j,!0),A===1&&j.setAttribute(r,"true"),k||j.setAttribute(n,"true")}catch(P){console.error("aria-hidden: cannot operate on ",j,P)}})};return y(t),c.clear(),pa++,function(){u.forEach(function(x){var j=kr.get(x)-1,R=s.get(x)-1;kr.set(x,j),s.set(x,R),j||(Cn.has(x)||x.removeAttribute(n),Cn.delete(x)),R||x.removeAttribute(r)}),pa--,pa||(kr=new WeakMap,kr=new WeakMap,Cn=new WeakMap,jn={})}},Pf=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=kf(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),Af(n,i,r,"aria-hidden")):function(){return null}},ga="Dialog",[Io,kd]=hc(ga),[Df,xt]=Io(ga),Lo=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:u=!0}=e,c=E.useRef(null),h=E.useRef(null),[m=!1,y]=bc({prop:n,defaultProp:i,onChange:s});return o.jsx(Df,{scope:t,triggerRef:c,contentRef:h,contentId:ia(),titleId:ia(),descriptionId:ia(),open:m,onOpenChange:y,onOpenToggle:E.useCallback(()=>y(x=>!x),[y]),modal:u,children:r})};Lo.displayName=ga;var Mo="DialogTrigger",Fo=E.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(Mo,r),s=dr(t,i.triggerRef);return o.jsx(Ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ya(i.open),...n,ref:s,onClick:Kt(e.onClick,i.onOpenToggle)})});Fo.displayName=Mo;var xa="DialogPortal",[If,Bo]=Io(xa,{forceMount:void 0}),Vo=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:i}=e,s=xt(xa,t);return o.jsx(If,{scope:t,forceMount:r,children:E.Children.map(n,u=>o.jsx(xn,{present:r||s.open,children:o.jsx(bo,{asChild:!0,container:i,children:u})}))})};Vo.displayName=xa;var Rn="DialogOverlay",Uo=E.forwardRef((e,t)=>{const r=Bo(Rn,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,s=xt(Rn,e.__scopeDialog);return s.modal?o.jsx(xn,{present:n||s.open,children:o.jsx(Lf,{...i,ref:t})}):null});Uo.displayName=Rn;var Lf=E.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(Rn,r);return o.jsx(Po,{as:oa,allowPinchZoom:!0,shards:[i.contentRef],children:o.jsx(Ot.div,{"data-state":ya(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),mr="DialogContent",Wo=E.forwardRef((e,t)=>{const r=Bo(mr,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,s=xt(mr,e.__scopeDialog);return o.jsx(xn,{present:n||s.open,children:s.modal?o.jsx(Mf,{...i,ref:t}):o.jsx(Ff,{...i,ref:t})})});Wo.displayName=mr;var Mf=E.forwardRef((e,t)=>{const r=xt(mr,e.__scopeDialog),n=E.useRef(null),i=dr(t,r.contentRef,n);return E.useEffect(()=>{const s=n.current;if(s)return Pf(s)},[]),o.jsx($o,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Kt(e.onCloseAutoFocus,s=>{var u;s.preventDefault(),(u=r.triggerRef.current)==null||u.focus()}),onPointerDownOutside:Kt(e.onPointerDownOutside,s=>{const u=s.detail.originalEvent,c=u.button===0&&u.ctrlKey===!0;(u.button===2||c)&&s.preventDefault()}),onFocusOutside:Kt(e.onFocusOutside,s=>s.preventDefault())})}),Ff=E.forwardRef((e,t)=>{const r=xt(mr,e.__scopeDialog),n=E.useRef(!1),i=E.useRef(!1);return o.jsx($o,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var u,c;(u=e.onCloseAutoFocus)==null||u.call(e,s),s.defaultPrevented||(n.current||(c=r.triggerRef.current)==null||c.focus(),s.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:s=>{var h,m;(h=e.onInteractOutside)==null||h.call(e,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const u=s.target;((m=r.triggerRef.current)==null?void 0:m.contains(u))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),$o=E.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,...u}=e,c=xt(mr,r),h=E.useRef(null),m=dr(t,h);return Yc(),o.jsxs(o.Fragment,{children:[o.jsx(mo,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:o.jsx(uo,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":ya(c.open),...u,ref:m,onDismiss:()=>c.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(Bf,{titleId:c.titleId}),o.jsx(Uf,{contentRef:h,descriptionId:c.descriptionId})]})]})}),ba="DialogTitle",Ho=E.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(ba,r);return o.jsx(Ot.h2,{id:i.titleId,...n,ref:t})});Ho.displayName=ba;var Go="DialogDescription",Yo=E.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(Go,r);return o.jsx(Ot.p,{id:i.descriptionId,...n,ref:t})});Yo.displayName=Go;var zo="DialogClose",Ko=E.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(zo,r);return o.jsx(Ot.button,{type:"button",...n,ref:t,onClick:Kt(e.onClick,()=>i.onOpenChange(!1))})});Ko.displayName=zo;function ya(e){return e?"open":"closed"}var Xo="DialogTitleWarning",[Nd,qo]=mc(Xo,{contentName:mr,titleName:ba,docsSlug:"dialog"}),Bf=({titleId:e})=>{const t=qo(Xo),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
61
+ `)},_c=0,lt=[];function Nc(e){var t=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),o=v.useState(_c++)[0],l=v.useState(ma)[0],s=v.useRef(e);v.useEffect(function(){s.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var b=Ks([e.lockRef.current],(e.shards||[]).map(Ea),!0).filter(Boolean);return b.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),b.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=v.useCallback(function(b,C){if("touches"in b&&b.touches.length===2)return!s.current.allowPinchZoom;var E=Gt(b),k=r.current,_="deltaX"in b?b.deltaX:k[0]-E[0],I="deltaY"in b?b.deltaY:k[1]-E[1],B,P=b.target,N=Math.abs(_)>Math.abs(I)?"h":"v";if("touches"in b&&N==="h"&&P.type==="range")return!1;var D=wa(N,P);if(!D)return!0;if(D?B=N:(B=N==="v"?"h":"v",D=wa(N,P)),!D)return!1;if(!n.current&&"changedTouches"in b&&(_||I)&&(n.current=B),!B)return!0;var G=n.current||B;return Sc(G,C,b,G==="h"?_:I)},[]),u=v.useCallback(function(b){var C=b;if(!(!lt.length||lt[lt.length-1]!==l)){var E="deltaY"in C?Ca(C):Gt(C),k=t.current.filter(function(B){return B.name===C.type&&(B.target===C.target||C.target===B.shadowParent)&&Cc(B.delta,E)})[0];if(k&&k.should){C.cancelable&&C.preventDefault();return}if(!k){var _=(s.current.shards||[]).map(Ea).filter(Boolean).filter(function(B){return B.contains(C.target)}),I=_.length>0?c(C,_[0]):!s.current.noIsolation;I&&C.cancelable&&C.preventDefault()}}},[]),f=v.useCallback(function(b,C,E,k){var _={name:b,delta:C,target:E,should:k,shadowParent:Tc(E)};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(I){return I!==_})},1)},[]),p=v.useCallback(function(b){r.current=Gt(b),n.current=void 0},[]),g=v.useCallback(function(b){f(b.type,Ca(b),b.target,c(b,e.lockRef.current))},[]),w=v.useCallback(function(b){f(b.type,Gt(b),b.target,c(b,e.lockRef.current))},[]);v.useEffect(function(){return lt.push(l),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:w}),document.addEventListener("wheel",u,ot),document.addEventListener("touchmove",u,ot),document.addEventListener("touchstart",p,ot),function(){lt=lt.filter(function(b){return b!==l}),document.removeEventListener("wheel",u,ot),document.removeEventListener("touchmove",u,ot),document.removeEventListener("touchstart",p,ot)}},[]);var y=e.removeScrollBar,S=e.inert;return v.createElement(v.Fragment,null,S?v.createElement(l,{styles:Ec(o)}):null,y?v.createElement(vc,{gapMode:e.gapMode}):null)}function Tc(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ac=rc(pa,Nc);var _a=v.forwardRef(function(e,t){return v.createElement(jt,Ce({},e,{ref:t,sideCar:Ac}))});_a.classNames=jt.classNames;var Oc=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},it=new WeakMap,$t=new WeakMap,zt={},Nr=0,Na=function(e){return e&&(e.host||Na(e.parentNode))},Dc=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Na(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Lc=function(e,t,r,n){var o=Dc(t,Array.isArray(e)?e:[e]);zt[r]||(zt[r]=new WeakMap);var l=zt[r],s=[],c=new Set,u=new Set(o),f=function(g){!g||c.has(g)||(c.add(g),f(g.parentNode))};o.forEach(f);var p=function(g){!g||u.has(g)||Array.prototype.forEach.call(g.children,function(w){if(c.has(w))p(w);else try{var y=w.getAttribute(n),S=y!==null&&y!=="false",b=(it.get(w)||0)+1,C=(l.get(w)||0)+1;it.set(w,b),l.set(w,C),s.push(w),b===1&&S&&$t.set(w,!0),C===1&&w.setAttribute(r,"true"),S||w.setAttribute(n,"true")}catch(E){console.error("aria-hidden: cannot operate on ",w,E)}})};return p(t),c.clear(),Nr++,function(){s.forEach(function(g){var w=it.get(g)-1,y=l.get(g)-1;it.set(g,w),l.set(g,y),w||($t.has(g)||g.removeAttribute(n),$t.delete(g)),y||g.removeAttribute(r)}),Nr--,Nr||(it=new WeakMap,it=new WeakMap,$t=new WeakMap,zt={})}},Ic=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=Oc(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Lc(n,o,r,"aria-hidden")):function(){return null}},Tr="Dialog",[Ta,Ou]=vs(Tr),[Pc,pe]=Ta(Tr),Aa=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:l,modal:s=!0}=e,c=v.useRef(null),u=v.useRef(null),[f=!1,p]=xs({prop:n,defaultProp:o,onChange:l});return a.jsx(Pc,{scope:t,triggerRef:c,contentRef:u,contentId:vr(),titleId:vr(),descriptionId:vr(),open:f,onOpenChange:p,onOpenToggle:v.useCallback(()=>p(g=>!g),[p]),modal:s,children:r})};Aa.displayName=Tr;var Oa="DialogTrigger",Da=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=pe(Oa,r),l=Ze(t,o.triggerRef);return a.jsx(Se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Dr(o.open),...n,ref:l,onClick:Me(e.onClick,o.onOpenToggle)})});Da.displayName=Oa;var Ar="DialogPortal",[kc,La]=Ta(Ar,{forceMount:void 0}),Ia=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,l=pe(Ar,t);return a.jsx(kc,{scope:t,forceMount:r,children:v.Children.map(n,s=>a.jsx(Ft,{present:r||l.open,children:a.jsx(ua,{asChild:!0,container:o,children:s})}))})};Ia.displayName=Ar;var Xt="DialogOverlay",Pa=v.forwardRef((e,t)=>{const r=La(Xt,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,l=pe(Xt,e.__scopeDialog);return l.modal?a.jsx(Ft,{present:n||l.open,children:a.jsx(Bc,{...o,ref:t})}):null});Pa.displayName=Xt;var Bc=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=pe(Xt,r);return a.jsx(_a,{as:pr,allowPinchZoom:!0,shards:[o.contentRef],children:a.jsx(Se.div,{"data-state":Dr(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),qe="DialogContent",ka=v.forwardRef((e,t)=>{const r=La(qe,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,l=pe(qe,e.__scopeDialog);return a.jsx(Ft,{present:n||l.open,children:l.modal?a.jsx(Mc,{...o,ref:t}):a.jsx(Fc,{...o,ref:t})})});ka.displayName=qe;var Mc=v.forwardRef((e,t)=>{const r=pe(qe,e.__scopeDialog),n=v.useRef(null),o=Ze(t,r.contentRef,n);return v.useEffect(()=>{const l=n.current;if(l)return Ic(l)},[]),a.jsx(Ba,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Me(e.onCloseAutoFocus,l=>{var s;l.preventDefault(),(s=r.triggerRef.current)==null||s.focus()}),onPointerDownOutside:Me(e.onPointerDownOutside,l=>{const s=l.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0;(s.button===2||c)&&l.preventDefault()}),onFocusOutside:Me(e.onFocusOutside,l=>l.preventDefault())})}),Fc=v.forwardRef((e,t)=>{const r=pe(qe,e.__scopeDialog),n=v.useRef(!1),o=v.useRef(!1);return a.jsx(Ba,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var s,c;(s=e.onCloseAutoFocus)==null||s.call(e,l),l.defaultPrevented||(n.current||(c=r.triggerRef.current)==null||c.focus(),l.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:l=>{var u,f;(u=e.onInteractOutside)==null||u.call(e,l),l.defaultPrevented||(n.current=!0,l.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=l.target;((f=r.triggerRef.current)==null?void 0:f.contains(s))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&o.current&&l.preventDefault()}})}),Ba=v.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:l,...s}=e,c=pe(qe,r),u=v.useRef(null),f=Ze(t,u);return Xs(),a.jsxs(a.Fragment,{children:[a.jsx(la,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:l,children:a.jsx(ra,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Dr(c.open),...s,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(Vc,{titleId:c.titleId}),a.jsx(Wc,{contentRef:u,descriptionId:c.descriptionId})]})]})}),Or="DialogTitle",Ma=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=pe(Or,r);return a.jsx(Se.h2,{id:o.titleId,...n,ref:t})});Ma.displayName=Or;var Fa="DialogDescription",Va=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=pe(Fa,r);return a.jsx(Se.p,{id:o.descriptionId,...n,ref:t})});Va.displayName=Fa;var Ua="DialogClose",Wa=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=pe(Ua,r);return a.jsx(Se.button,{type:"button",...n,ref:t,onClick:Me(e.onClick,()=>o.onOpenChange(!1))})});Wa.displayName=Ua;function Dr(e){return e?"open":"closed"}var ja="DialogTitleWarning",[Du,Ha]=gs(ja,{contentName:qe,titleName:Or,docsSlug:"dialog"}),Vc=({titleId:e})=>{const t=Ha(ja),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
194
62
 
195
63
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
196
64
 
197
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return E.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Vf="DialogDescriptionWarning",Uf=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qo(Vf).contentName}}.`;return E.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Wf=Lo,$f=Fo,Hf=Vo,Zo=Uo,Jo=Wo,_a=Ho,Gf=Yo,Yf=Ko,zf="VisuallyHidden",Qo=E.forwardRef((e,t)=>o.jsx(Ot.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Qo.displayName=zf;var Kf=Qo,qt=(e=>(e.Center="center",e.Right="right",e))(qt||{});const Xf=({open:e,onOpenChange:t,children:r,...n})=>{const i=s=>{const u=document.querySelector(".toast-layer:hover");!s&&u||t==null||t(s)};return o.jsx(Wf,{open:e,onOpenChange:i,...n,children:r})},qf=$f,es=Yf,ts=E.forwardRef(({showCloseIcon:e,position:t,...r},n)=>o.jsx(Zo,{ref:n,className:N("inset-0 z-[99998] bg-shader-neutral-light-48 backdrop-blur-md",{fixed:t===qt.Right,absolute:t===qt.Center}),...r,children:o.jsx(es,{className:N("fixed right-3 top-3",{hidden:!e}),children:o.jsx(Ur,{})})}));ts.displayName=Zo.displayName;const rs=E.forwardRef(({className:e,containerId:t,showCloseOnOverlay:r,children:n,position:i=qt.Center,customWidth:s="w-80 max-w-[85vw] md:w-96",...u},c)=>{const[h,m]=J.useState(void 0);J.useEffect(()=>{const R=t?document.getElementById(t):void 0;m(R??void 0)},[t]);const y=i===qt.Right?"overflow-hidden right-0 h-screen top-0 w-full":"overflow-y-auto overflow-x-hidden left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-xl",x=i===qt.Right?"md:w-96 max-w-[500px]":s,j=i===qt.Right?"h-screen":"max-h-[80vh] h-full";return o.jsxs(Hf,{container:h,children:[o.jsx(ts,{showCloseIcon:r,position:i}),o.jsxs(Jo,{ref:c,className:N("fixed z-[99999] flex flex-col justify-center bg-primary-100 dark:bg-neutral-6",y,x),...u,children:[o.jsxs(Kf,{children:[o.jsx(_a,{}),o.jsx(Gf,{})]}),o.jsx("div",{className:N("flex flex-1 flex-col",j),children:n})]})]})});rs.displayName=Jo.displayName;const ns=E.forwardRef((e,t)=>o.jsx(_a,{ref:t,className:"font-inter text-title-lg text-neutral-10 dark:text-neutral-92",...e}));ns.displayName=_a.displayName;const as=E.forwardRef((e,t)=>o.jsx("div",{ref:t,className:"flex-1 overflow-y-auto p-md--rs text-body-sm text-neutral-40 dark:text-neutral-60",...e}));as.displayName="DialogBody";const is=J.createContext({isHeaderChecked:!1,selectedRowIndexes:new Set,isHeaderIndeterminate:!1}),os=()=>J.useContext(is);function Zf({children:e,selectedRowIndexes:t,rowIndexes:r,...n}){const i=r.length===t.size,s=!i&&t.size>0;return o.jsx(is.Provider,{value:{...n,isHeaderChecked:i,selectedRowIndexes:t,isHeaderIndeterminate:s},children:e})}function Jf({paginationOptions:e,action:t,supportingLabel:r,selectedRowIndexes:n=new Set,rowIndexes:i,children:s,pageSizeSelector:u,heightFull:c=!1}){return o.jsx(Zf,{selectedRowIndexes:n,rowIndexes:i,children:o.jsxs("div",{className:N("w-full",{"h-full":c}),children:[o.jsx("div",{className:N("overflow-auto",{"h-full":c}),children:o.jsx("table",{className:N("w-full table-auto",{"h-full":c}),children:s})}),o.jsxs("div",{className:N("flex w-full items-center gap-sm pt-md",{hidden:!r&&!e&&!t,"flex-col justify-between sm:flex-row":e,"justify-end":!e&&t}),children:[(e||t)&&o.jsxs("div",{className:"flex gap-2",children:[e&&o.jsxs(o.Fragment,{children:[o.jsx(dt,{type:Se.Secondary,size:et.Small,icon:o.jsx(el,{}),disabled:!e.hasFirst,onClick:e.onFirst}),o.jsx(dt,{type:Se.Secondary,size:et.Small,icon:o.jsx(Xs,{}),disabled:!e.hasPrev,onClick:e.onPrev}),o.jsx(dt,{type:Se.Secondary,size:et.Small,icon:o.jsx(Yn,{}),disabled:!e.hasNext,onClick:e.onNext}),o.jsx(dt,{type:Se.Secondary,size:et.Small,icon:o.jsx(tl,{}),disabled:!e.hasLast,onClick:e.onLast})]}),t&&t]}),r||u?o.jsxs("div",{className:"flex flex-row items-center gap-x-sm",children:[r&&o.jsx("span",{className:" text-label-md text-neutral-40 dark:text-neutral-60",children:r}),u&&o.jsx("div",{className:"ml-2",children:u})]}):null]})]})})}function Qf(e){return o.jsx(dt,{type:Se.Secondary,size:et.Small,...e})}function ed({children:e}){return o.jsx("thead",{children:e})}function td({children:e,leading:t}){return o.jsxs("tr",{children:[t,e]})}const rd="text-neutral-40 dark:text-neutral-60",nd="text-body-md";function ad({children:e}){return o.jsx("tbody",{className:N(rd,nd),children:e})}function id({rowIndex:e,onCheckboxChange:t}){const{selectedRowIndexes:r}=os();return o.jsx(to,{isContentCentered:!0,children:o.jsx(ea,{onCheckedChange:n=>{t(n.target.checked)},isChecked:r.has(e)})})}function od({onCheckboxChange:e}){const{isHeaderChecked:t,isHeaderIndeterminate:r}=os();return o.jsx(no,{isContentCentered:!0,hasCheckbox:!0,onCheckboxChange:n=>{e(n.target.checked)},isChecked:t,columnKey:1,isIndeterminate:r})}function sd({items:e,activeId:t,onClickItem:r,isCollapsible:n=!1,onToggleNavbar:i}){return o.jsxs("div",{className:N("flex h-fit w-full",{"flex-col px-md py-xs sm:h-full sm:w-auto sm:px-none sm:py-xl":n}),children:[n&&o.jsxs("div",{className:"flex w-full items-center justify-between sm:mb-[48px] sm:flex-col",children:[o.jsx("div",{className:"flex justify-center [&_svg]:h-[38px] [&_svg]:w-[38px]",children:o.jsx(rl,{className:"text-neutral-10 dark:text-neutral-92"})}),o.jsx("div",{className:"state-layer relative rounded-full p-xs hover:cursor-pointer dark:text-neutral-92 sm:hidden [&_svg]:h-6 [&_svg]:w-6",onClick:i,children:o.jsx(il,{})})]}),o.jsx("div",{className:N({"flex w-full justify-between px-sm py-xxs":!n,"hidden sm:flex sm:flex-col sm:gap-2":n}),children:e.map(s=>o.jsx("div",{className:N("flex items-center",{"px-xs py-xxs":!n,"py-xxs pl-xs pr-sm":n}),"data-testid":`nav-${s.id}`,children:o.jsx(aa,{...s,isSelected:s.id===t,onClick:u=>{s.onClick&&s.onClick(u),s.isDisabled||r(s.id)}})},s.id))})]})}function ld({items:e,activeId:t,onClickItem:r,isOpen:n,onToggleNavbar:i}){return o.jsxs(o.Fragment,{children:[o.jsx("div",{onClick:i,className:N("duration-800 transition-opacity ease-out",{"opacity-1 fixed left-0 top-0 h-full w-full bg-shader-neutral-light-72":n,"-translate-x-full opacity-0":!n})}),o.jsx("div",{className:N("z-999 rounded-tb-3xl fixed left-0 top-0 h-full w-11/12 rounded-tr-3xl bg-white px-lg py-lg transition-transform duration-300 ease-out dark:bg-neutral-6",{"translate-x-0":n,"-translate-x-full":!n}),children:o.jsxs("div",{className:"flex flex-col gap-2",children:[o.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:o.jsx(dt,{type:Se.Ghost,onClick:i,icon:o.jsx(qa,{})})}),e.map(s=>o.jsx(aa,{...s,type:pn.Vertical,isSelected:s.id===t,onClick:()=>{r(s.id),i&&i()}},s.id))]})})]})}const ud="text-neutral-10 dark:text-neutral-92 transition-transform ease-linear";function cd({onToggle:e,children:t,isExpanded:r,hideArrow:n}){return o.jsxs("div",{onClick:e,className:N("state-layer relative flex cursor-pointer items-center justify-between gap-md overflow-hidden rounded-xl py-sm--rs",{"pr-md--rs":!n}),children:[t,!n&&o.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:o.jsx(dt,{type:Se.Ghost,icon:o.jsx(Ks,{className:N(ud,{"rotate-180":r})})})})]})}function fd({isExpanded:e,children:t}){return o.jsx("div",{className:N({hidden:!e}),children:t})}function dd({children:e,hideBorder:t}){return o.jsx("div",{className:N("rounded-xl bg-neutral-100 dark:bg-neutral-6",{"border border-shader-neutral-light-8 dark:border-shader-neutral-dark-8":!t}),children:e})}function vd(e,t=6,r=6){return e.length>t+r?`${e.slice(0,t)}...${e.slice(-r)}`:e}D.Accordion=dd,D.AccordionContent=fd,D.AccordionHeader=cd,D.Account=Wu,D.Address=ki,D.Badge=Br,D.BadgeType=$e,D.Button=dt,D.ButtonHtmlType=Vr,D.ButtonPill=Fs,D.ButtonSegment=xl,D.ButtonSegmentType=ir,D.ButtonSize=et,D.ButtonType=Se,D.ButtonUnstyled=rt,D.Card=Qu,D.CardAction=ec,D.CardActionType=Kr,D.CardBody=ic,D.CardImage=ac,D.CardType=jr,D.Checkbox=ea,D.Chip=ql,D.Dialog=Xf,D.DialogBody=as,D.DialogClose=es,D.DialogContent=rs,D.DialogPosition=qt,D.DialogTitle=ns,D.DialogTrigger=qf,D.DisplayStats=dc,D.DisplayStatsSize=gt,D.DisplayStatsType=Bt,D.Divider=Si,D.DividerType=Ht,D.Dropdown=eo,D.DropdownPosition=Yr,D.Header=Tl,D.IOTA_PRIMITIVES_COLOR_PALETTE=Ia,D.ImageShape=fr,D.ImageType=zt,D.InfoBox=Al,D.InfoBoxStyle=$r,D.InfoBoxType=Rt,D.Input=ku,D.InputType=pt,D.KeyValueInfo=El,D.LabelText=Rl,D.LabelTextSize=lt,D.ListItem=Ci,D.LoadingIndicator=Ll,D.Navbar=sd,D.NavbarItem=aa,D.NavbarItemType=pn,D.NavbarSlideout=ld,D.Panel=Ol,D.Placeholder=Ri,D.RadioButton=fl,D.Resize=Mi,D.SHADER_COLOR_PALETTE=La,D.ScreenSize=jt,D.Search=Xu,D.SearchBarType=Tt,D.SegmentedButton=Ql,D.SegmentedButtonType=sr,D.Select=Gu,D.SelectSize=zr,D.Skeleton=Ml,D.Snackbar=Dl,D.SnackbarType=ht,D.Table=Jf,D.TableActionButton=Qf,D.TableBody=ad,D.TableCellBase=to,D.TableCellPlaceholder=Hu,D.TableCellText=$u,D.TableHeader=ed,D.TableHeaderCell=no,D.TableHeaderCellSortOrder=cr,D.TableHeaderCheckbox=od,D.TableRow=td,D.TableRowCheckbox=id,D.TextArea=Du,D.Title=ru,D.TitleSize=lr,D.Toggle=Hl,D.ToggleLabelPosition=dn,D.ToggleSize=Mt,D.Tooltip=or,D.TooltipPosition=Gt,D.ValueSize=Wr,D.VisualAssetCard=Il,D.VisualAssetType=fn,D.truncate=vd,D.uiKitResponsivePreset=_s,D.uiKitStaticPreset=Es,Object.defineProperty(D,Symbol.toStringTag,{value:"Module"})});
65
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return v.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Uc="DialogDescriptionWarning",Wc=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ha(Uc).contentName}}.`;return v.useEffect(()=>{var l;const o=(l=e.current)==null?void 0:l.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},jc=Aa,Hc=Da,Gc=Ia,Ga=Pa,$a=ka,Lr=Ma,$c=Va,zc=Wa,Xc="VisuallyHidden",za=v.forwardRef((e,t)=>a.jsx(Se.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));za.displayName=Xc;var Kc=za,Ve=(e=>(e.Center="center",e.Right="right",e))(Ve||{});const Zc=({open:e,onOpenChange:t,children:r,...n})=>{const o=l=>{const s=document.querySelector(".toast-layer:hover");!l&&s||t==null||t(l)};return a.jsx(jc,{open:e,onOpenChange:o,...n,children:r})},Yc=Hc,Xa=zc,Ka=v.forwardRef(({showCloseIcon:e,position:t,...r},n)=>a.jsx(Ga,{ref:n,className:x("dialog-overlay-bg inset-0 z-[99998] backdrop-blur-md",{fixed:t===Ve.Right,absolute:t===Ve.Center}),...r,children:a.jsx(Xa,{className:x("fixed right-3 top-3",{hidden:!e}),children:a.jsx(gt,{})})}));Ka.displayName=Ga.displayName;const Za=v.forwardRef(({className:e,containerId:t,showCloseOnOverlay:r,children:n,position:o=Ve.Center,customWidth:l="w-80 max-w-[85vw] md:w-96",...s},c)=>{const[u,f]=A.useState(void 0);A.useEffect(()=>{const y=t?document.getElementById(t):void 0;f(y??void 0)},[t]);const p=o===Ve.Right?"overflow-hidden right-0 h-screen top-0 w-full":"overflow-y-auto overflow-x-hidden left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-xl",g=o===Ve.Right?"md:w-96 max-w-[500px]":l,w=o===Ve.Right?"h-screen":"max-h-[80vh] h-full";return a.jsxs(Gc,{container:u,children:[a.jsx(Ka,{showCloseIcon:r,position:o}),a.jsxs($a,{ref:c,className:x("dialog-content-bg dialog-outline fixed z-[99999] flex flex-col justify-center",p,g),...s,children:[a.jsxs(Kc,{children:[a.jsx(Lr,{}),a.jsx($c,{})]}),a.jsx("div",{className:x("flex flex-1 flex-col",w),children:n})]})]})});Za.displayName=$a.displayName;const Ya=v.forwardRef((e,t)=>a.jsx(Lr,{ref:t,className:"dialog-title-color font-inter text-title-lg",...e}));Ya.displayName=Lr.displayName;const qa=v.forwardRef((e,t)=>a.jsx("div",{ref:t,className:"dialog-body-color flex-1 overflow-y-auto p-md--rs text-body-sm",...e}));qa.displayName="DialogBody";const Qa=A.createContext({isHeaderChecked:!1,selectedRowIndexes:new Set,isHeaderIndeterminate:!1}),Ja=()=>A.useContext(Qa);function qc({children:e,selectedRowIndexes:t,rowIndexes:r,...n}){const o=r.length===t.size,l=!o&&t.size>0;return a.jsx(Qa.Provider,{value:{...n,isHeaderChecked:o,selectedRowIndexes:t,isHeaderIndeterminate:l},children:e})}function Qc({paginationOptions:e,action:t,supportingLabel:r,selectedRowIndexes:n=new Set,rowIndexes:o,children:l,pageSizeSelector:s,heightFull:c=!1}){return a.jsx(qc,{selectedRowIndexes:n,rowIndexes:o,children:a.jsxs("div",{className:x("w-full",{"h-full":c}),children:[a.jsx("div",{className:x("overflow-auto",{"h-full":c}),children:a.jsx("table",{className:x("w-full table-auto",{"h-full":c}),children:l})}),a.jsxs("div",{className:x("flex w-full items-center gap-sm pt-md",{hidden:!r&&!e&&!t,"flex-col justify-between sm:flex-row":e,"justify-end":!e&&t}),children:[(e||t)&&a.jsxs("div",{className:"flex gap-2",children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(ce,{type:W.Secondary,size:ne.Small,icon:a.jsx(Jo,{}),disabled:!e.hasFirst,onClick:e.onFirst}),a.jsx(ce,{type:W.Secondary,size:ne.Small,icon:a.jsx(Ko,{}),disabled:!e.hasPrev,onClick:e.onPrev}),a.jsx(ce,{type:W.Secondary,size:ne.Small,icon:a.jsx(lr,{}),disabled:!e.hasNext,onClick:e.onNext}),a.jsx(ce,{type:W.Secondary,size:ne.Small,icon:a.jsx(Ro,{}),disabled:!e.hasLast,onClick:e.onLast})]}),t&&t]}),r||s?a.jsxs("div",{className:"flex flex-row items-center gap-x-sm",children:[r&&a.jsx("span",{className:"table-text-color text-label-md",children:r}),s&&a.jsx("div",{className:"ml-2",children:s})]}):null]})]})})}function Jc(e){return a.jsx(ce,{type:W.Secondary,size:ne.Small,...e})}function Rc({children:e}){return a.jsx("thead",{children:e})}function ed({children:e,leading:t}){return a.jsxs("tr",{children:[t,e]})}const td="table-text-color",rd="text-body-md";function nd({children:e}){return a.jsx("tbody",{className:x(td,rd),children:e})}function ad({rowIndex:e,onCheckboxChange:t}){const{selectedRowIndexes:r}=Ja();return a.jsx(Zn,{isContentCentered:!0,children:a.jsx(sr,{onCheckedChange:n=>{t(n.target.checked)},isChecked:r.has(e)})})}function od({onCheckboxChange:e}){const{isHeaderChecked:t,isHeaderIndeterminate:r}=Ja();return a.jsx(qn,{isContentCentered:!0,hasCheckbox:!0,onCheckboxChange:n=>{e(n.target.checked)},isChecked:t,columnKey:1,isIndeterminate:r})}function ld({items:e,activeId:t,onClickItem:r,isCollapsible:n=!1,onToggleNavbar:o}){return a.jsxs("div",{className:x("flex h-fit w-full",{"flex-col px-md py-xs sm:h-full sm:w-auto sm:px-none sm:py-xl":n}),children:[n&&a.jsxs("div",{className:"flex w-full items-center justify-between sm:mb-[48px] sm:flex-col",children:[a.jsx("div",{className:"flex justify-center [&_svg]:h-[38px] [&_svg]:w-[38px]",children:a.jsx(el,{className:"navbar-icon-color"})}),a.jsx("div",{className:"state-layer navbar-icon-color relative rounded-full p-xs hover:cursor-pointer sm:hidden [&_svg]:h-6 [&_svg]:w-6",onClick:o,children:a.jsx(nl,{})})]}),a.jsx("div",{className:x({"flex w-full justify-between px-sm py-xxs":!n,"hidden sm:flex sm:flex-col sm:gap-2":n}),children:e.map(l=>a.jsx("div",{className:x("flex items-center",{"px-xs py-xxs":!n,"py-xxs pl-xs pr-sm":n}),"data-testid":`nav-${l.id}`,children:a.jsx(gr,{...l,isSelected:l.id===t,onClick:s=>{l.onClick&&l.onClick(s),l.isDisabled||r(l.id)}})},l.id))})]})}function id({items:e,activeId:t,onClickItem:r,isOpen:n,onToggleNavbar:o}){return a.jsxs(a.Fragment,{children:[a.jsx("div",{onClick:o,className:x("duration-800 transition-opacity ease-out",{"opacity-1 fixed left-0 top-0 h-full w-full bg-shader-neutral-light-72":n,"-translate-x-full opacity-0":!n})}),a.jsx("div",{className:x("z-999 rounded-tb-3xl navbar-slideout-bg fixed left-0 top-0 h-full w-11/12 rounded-tr-3xl px-lg py-lg transition-transform duration-300 ease-out",{"translate-x-0":n,"-translate-x-full":!n}),children:a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:a.jsx(ce,{type:W.Ghost,onClick:o,icon:a.jsx(on,{})})}),e.map(l=>a.jsx(gr,{...l,type:Bt.Vertical,isSelected:l.id===t,onClick:()=>{r(l.id),o&&o()}},l.id))]})})]})}const sd="accordion-icon-color transition-transform ease-linear";function cd({onToggle:e,children:t,isExpanded:r,hideArrow:n}){return a.jsxs("div",{onClick:e,className:x("state-layer relative flex cursor-pointer items-center justify-between gap-md overflow-hidden rounded-xl py-sm--rs",{"pr-md--rs":!n}),children:[t,!n&&a.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:a.jsx(ce,{type:W.Ghost,icon:a.jsx(Xo,{className:x(sd,{"rotate-180":r})})})})]})}function dd({isExpanded:e,children:t}){return a.jsx("div",{className:x({hidden:!e}),children:t})}function ud({children:e,hideBorder:t}){return a.jsx("div",{className:x("accordion-bg rounded-xl",{"accordion-border-color border":!t}),children:e})}function fd(e,t=6,r=6){return e.length>t+r?`${e.slice(0,t)}...${e.slice(-r)}`:e}m.Accordion=ud,m.AccordionContent=dd,m.AccordionHeader=cd,m.Account=ji,m.Address=Sn,m.AssetMediaRenderer=Cn,m.Badge=ft,m.BadgeType=R,m.Button=ce,m.ButtonHtmlType=ht,m.ButtonPill=zo,m.ButtonSegment=pl,m.ButtonSegmentType=je,m.ButtonSize=ne,m.ButtonType=W,m.ButtonUnstyled=le,m.Card=Ji,m.CardAction=Ri,m.CardActionType=yt,m.CardBody=as,m.CardImage=ns,m.CardType=nt,m.Checkbox=sr,m.Chip=Yl,m.ChipSize=It,m.ChipState=ye,m.Dialog=Zc,m.DialogBody=qa,m.DialogClose=Xa,m.DialogContent=Za,m.DialogPosition=Ve,m.DialogTitle=Ya,m.DialogTrigger=Yc,m.DisplayStats=us,m.DisplayStatsSize=ve,m.DisplayStatsType=Oe,m.Divider=hn,m.DividerType=Ie,m.Dropdown=Kn,m.DropdownPosition=xt,m.Header=Nl,m.IOTA_NAMES_COLOR_PALETTE=Yr,m.IOTA_PRIMITIVES_COLOR_PALETTE=Zr,m.Image=cr,m.ImageShape=Ke,m.ImageType=Be,m.ImageWithFallback=pn,m.InfoBox=Dl,m.InfoBoxStyle=pt,m.InfoBoxType=we,m.Input=Oi,m.InputType=he,m.KeyValueInfo=yl,m.LabelText=_l,m.LabelTextSize=ie,m.ListItem=gn,m.LoadingIndicator=Pl,m.MediaFallback=vn,m.Navbar=ld,m.NavbarItem=gr,m.NavbarItemType=Bt,m.NavbarSlideout=id,m.Panel=Tl,m.Placeholder=bn,m.RadioButton=cl,m.Resize=Dn,m.SHADER_COLOR_PALETTE=qr,m.ScreenSize=xe,m.Search=Zi,m.SearchBarType=ge,m.SegmentedButton=Jl,m.SegmentedButtonType=Ge,m.Select=$i,m.SelectSize=wt,m.Skeleton=kl,m.Snackbar=Il,m.SnackbarType=fe,m.Table=Qc,m.TableActionButton=Jc,m.TableBody=nd,m.TableCellBase=Zn,m.TableCellPlaceholder=Gi,m.TableCellText=Hi,m.TableHeader=Rc,m.TableHeaderCell=qn,m.TableHeaderCellSortOrder=Xe,m.TableHeaderCheckbox=od,m.TableRow=ed,m.TableRowCheckbox=ad,m.TextArea=Pi,m.Title=ti,m.TitleSize=$e,m.Toggle=Gl,m.ToggleLabelPosition=Dt,m.ToggleSize=Ae,m.Tooltip=He,m.TooltipPosition=Pe,m.ValueSize=vt,m.Video=xn,m.VisualAssetCard=fs,m.VisualAssetType=dr,m.truncate=fd,m.uiKitResponsivePreset=Do,m.uiKitStaticPreset=Io,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
198
66
  //# sourceMappingURL=index.umd.js.map