trely-ui-kit 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const i=require("react/jsx-runtime"),R=require("react"),Co=require("react-dom");function xo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=xo(R),Et=xo(Co);function yo(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=yo(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function P(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=yo(e))&&(o&&(o+=" "),o+=t);return o}const pi="_avatar_1h8d2_1",hi="_xs_1h8d2_12",mi="_s_1h8d2_18",gi="_m_1h8d2_24",vi="_l_1h8d2_30",Ci="_xl_1h8d2_36",xi="_xxl_1h8d2_42",yi="_image_1h8d2_48",wi="_initials_1h8d2_55",at={avatar:pi,xs:hi,s:mi,m:gi,l:vi,xl:Ci,xxl:xi,image:yi,initials:wi},wo=R.forwardRef(({src:e,firstName:t,lastName:n,size:o="m",alt:r,className:s="",...a},c)=>{const[u,d]=R.useState(!1);R.useEffect(()=>{d(!1)},[e]);const f=()=>{if(!t&&!n)return"";const m=t?.charAt(0).toUpperCase()||"",y=n?.charAt(0).toUpperCase()||"";return`${m}${y}`},h=()=>r!==void 0?r:[t,n].filter(Boolean).join(" ")||"",v=f(),g=h(),x=!!e?.trim()&&!u,p=P(at.avatar,at[o],s);return i.jsx("div",{ref:c,className:p,...a,children:x?i.jsx("img",{src:e,alt:g,className:at.image,onError:()=>d(!0)}):i.jsx("span",{className:at.initials,children:v})})});wo.displayName="Avatar";const _i="_icon_1cxib_1",bi={icon:_i},Hn={XS:12,S:16,M:20,L:24},k=({size:e=24,color:t="currentColor",className:n="",children:o,...r})=>{const s=P(bi.icon,n);return i.jsx("svg",{className:s,width:Hn[e]||e,height:Hn[e]||e,fill:"none",stroke:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",...r,children:o})};k.displayName="Icon";const _o=e=>i.jsxs(k,{...e,children:[i.jsx("circle",{cx:"16.5019",cy:"16.5019",r:"4.50187",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14.0008 7.99805L5.82585 16.173C5.29519 16.7037 4.99707 17.4234 4.99707 18.1739C4.99707 18.9243 5.29519 19.644 5.82585 20.1747V20.1747C6.3565 20.7054 7.07622 21.0035 7.82668 21.0035C8.57714 21.0035 9.29686 20.7054 9.82751 20.1747L12.1931 17.8091",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M2.99609 13.0003L11.5499 4.44645C12.4786 3.5178 13.7381 2.99609 15.0514 2.99609C16.3647 2.99609 17.6242 3.5178 18.5529 4.44645V4.44645C19.4815 5.37509 20.0032 6.6346 20.0032 7.94791C20.0032 9.26121 19.4815 10.5207 18.5529 11.4494L17.8094 12.1928",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M18.0022 16.5022H15.001",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M16.5022 15.001V18.0022",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});_o.displayName="AddMediaIcon";const fn=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M8 10L12 14L16 10",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});fn.displayName="ArrowDownIcon";const bo=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M14 8L10 12L14 16",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});bo.displayName="ArrowLeftIcon";const pn=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M10 16L14 12L10 8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});pn.displayName="ArrowRightIcon";const So=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M16 14L12 10L8 14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});So.displayName="ArrowUpIcon";const hn=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M7 13.5217L11.1667 17L17 7",strokeWidth:"1.5",strokeLinecap:"round"})});hn.displayName="CheckmarkIcon";const nt=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M17 7L7 17",strokeWidth:"1.5",strokeLinecap:"round"}),i.jsx("path",{d:"M7 7L17 17",strokeWidth:"1.5",strokeLinecap:"round"})]});nt.displayName="CrossIcon";const mn=e=>i.jsxs(k,{...e,children:[i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1378 21H7.85782C6.81082 21 5.94082 20.192 5.86282 19.147L4.96582 7H18.9998L18.1328 19.142C18.0578 20.189 17.1868 21 16.1378 21V21Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12 11V17",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M4 7H20",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 7L15.987 4.298C15.694 3.517 14.948 3 14.114 3H9.886C9.052 3 8.306 3.517 8.013 4.298L7 7",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M15.4298 11L14.9998 17",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M8.57016 11L9.00016 17",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});mn.displayName="DeleteIcon";const jo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M12 17V3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M20 21H4",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 12L11.999 17.001L6.99902 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});jo.displayName="DownloadIcon";const Eo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M21 11V19C21 20.105 20.105 21 19 21H5C3.895 21 3 20.105 3 19V5C3 3.895 3.895 3 5 3H13",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.707 6.12125L9.828 17.0002H7V14.1722L17.879 3.29325C18.27 2.90225 18.903 2.90225 19.293 3.29325L20.707 4.70725C21.098 5.09825 21.098 5.73125 20.707 6.12125Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M16.0898 5.08984L18.9098 7.90984",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Eo.displayName="EditIcon";const gn=e=>i.jsxs(k,{viewBox:"0 0 20 20",...e,children:[i.jsx("path",{d:"M10.0002 15.8329C9.29857 15.8329 8.59607 15.6845 7.91357 15.4204",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17.4017 10.3896C15.825 13.3055 12.9125 15.833 10 15.833",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M15.8989 7.43457C16.4748 8.10874 16.9864 8.84374 17.4014 9.61124C17.5323 9.85374 17.5323 10.1479 17.4014 10.3904",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M4.1665 15.8337L15.8332 4.16699",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M8.14424 11.8563C7.11924 10.8313 7.11924 9.16875 8.14424 8.14375C9.16924 7.11875 10.8317 7.11875 11.8567 8.14375",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14.2031 5.79699C12.914 4.79949 11.4565 4.16699 9.99979 4.16699C7.08729 4.16699 4.17479 6.69449 2.59813 9.61116C2.46729 9.85366 2.46729 10.1478 2.59813 10.3903C3.38646 11.8478 4.50813 13.2078 5.79646 14.2045",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]});gn.displayName="EyeIcon";const vn=e=>i.jsxs(k,{viewBox:"0 0 20 20",...e,children:[i.jsx("path",{d:"M2.59817 9.61116C4.17484 6.69449 7.08734 4.16699 9.99984 4.16699C12.9123 4.16699 15.8248 6.69449 17.4015 9.61116C17.5323 9.85366 17.5323 10.1478 17.4015 10.3903C15.8248 13.3062 12.9123 15.8337 9.99984 15.8337C7.08734 15.8337 4.17484 13.3062 2.59817 10.3903C2.46734 10.1478 2.46734 9.85366 2.59817 9.61116Z",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("circle",{cx:"10",cy:"10",r:"2.5",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]});vn.displayName="EyeOffIcon";const Ro=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M18 5H21",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3 5H14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M10 12H21",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3 12H6",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M18 19H21",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3 19H14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17.4142 3.58579C18.1953 4.36684 18.1953 5.63317 17.4142 6.41422C16.6332 7.19527 15.3668 7.19527 14.5858 6.41422C13.8047 5.63317 13.8047 4.36684 14.5858 3.58579C15.3668 2.80474 16.6332 2.80474 17.4142 3.58579",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M9.41422 10.5858C10.1953 11.3668 10.1953 12.6332 9.41422 13.4142C8.63317 14.1953 7.36684 14.1953 6.58579 13.4142C5.80474 12.6332 5.80474 11.3668 6.58579 10.5858C7.36684 9.80474 8.63317 9.80474 9.41422 10.5858",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17.4142 17.5858C18.1953 18.3668 18.1953 19.6332 17.4142 20.4142C16.6332 21.1953 15.3668 21.1953 14.5858 20.4142C13.8047 19.6332 13.8047 18.3668 14.5858 17.5858C15.3668 16.8047 16.6332 16.8047 17.4142 17.5858",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Ro.displayName="FilterIcon";const Lo=e=>i.jsx(k,{...e,children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.19807 7.55934L9.68086 3.49609L13.4357 7.87676L15.8653 5.04219L17.802 7.30168C19.0465 8.75357 19.7305 10.6027 19.7305 12.515V12.7726C19.7305 14.8229 18.9161 16.7892 17.4663 18.239C16.0166 19.6887 14.0503 20.5032 12 20.5032V20.5032C7.73059 20.5032 4.26953 17.0421 4.26953 12.7727V12.7727C4.26953 10.8604 4.95359 9.01124 6.19807 7.55934Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Lo.displayName="FireIcon";const Io=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M5 12H19",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M10 7L5 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M10 17L5 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Io.displayName="LongArrowLeftIcon";const ko=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M19 12H5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14 17L19 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14 7L19 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});ko.displayName="LongArrowRightIcon";const No=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M12 7V17",strokeWidth:"1.5",strokeLinecap:"round"}),i.jsx("path",{d:"M7 12H17",strokeWidth:"1.5",strokeLinecap:"round"})]});No.displayName="PlusIcon";const Po=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M16.1176 17.6558C17.8646 16.383 19 14.3213 19 11.9944C19 8.1284 15.866 4.99439 12 4.99439H11.5882M12 18.9944C8.13401 18.9944 5 15.8604 5 11.9944C5 9.66748 6.13537 7.60575 7.88235 6.33296M11.1765 20.5591L12.8235 18.912L11.1765 17.265M12.8235 6.7238L11.1765 5.07675L12.8235 3.42969",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Po.displayName="RegenerateIcon";const Ao=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M15.7138 6.8382C18.1647 9.28913 18.1647 13.2629 15.7138 15.7138C13.2629 18.1647 9.28913 18.1647 6.8382 15.7138C4.38727 13.2629 4.38727 9.28913 6.8382 6.8382C9.28913 4.38727 13.2629 4.38727 15.7138 6.8382",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M19 19L15.71 15.71",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Ao.displayName="SearchIcon";const Mo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M16.066 12.1193H11.4141",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("circle",{cx:"12.0174",cy:"11.5164",r:"9.00375",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M11.4143 12.1192V6.51465",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Mo.displayName="TimeIcon";const Cn=e=>i.jsx(k,{...e,viewBox:"0 0 17 16",children:i.jsx("path",{d:"M5.83203 8.00016H11.1654M8.4987 10.6668V5.3335M8.4987 14.6668C12.1654 14.6668 15.1654 11.6668 15.1654 8.00016C15.1654 4.3335 12.1654 1.3335 8.4987 1.3335C4.83203 1.3335 1.83203 4.3335 1.83203 8.00016C1.83203 11.6668 4.83203 14.6668 8.4987 14.6668Z",strokeOpacity:"1",strokeLinecap:"round",strokeLinejoin:"round"})});Cn.displayName="AddIcon";const To=e=>i.jsx(k,{...e,fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M17.2426 11.5628C17.2679 14.2868 19.6322 15.1933 19.6584 15.2048C19.6384 15.2687 19.2806 16.4966 18.4128 17.7649C17.6625 18.8615 16.8839 19.9539 15.6573 19.9766C14.4521 19.9988 14.0645 19.2619 12.6866 19.2619C11.309 19.2619 10.8785 19.954 9.73755 19.9988C8.55357 20.0436 7.65196 18.8131 6.89552 17.7206C5.34977 15.4858 4.1685 11.4057 5.75465 8.65155C6.54262 7.28383 7.95077 6.41773 9.4792 6.39552C10.6418 6.37334 11.7392 7.1777 12.4499 7.1777C13.1603 7.1777 14.4938 6.21039 15.8957 6.35245C16.4826 6.37688 18.13 6.58952 19.1879 8.13794C19.1026 8.19078 17.2222 9.28549 17.2426 11.5628ZM14.9775 4.87397C15.606 4.1131 16.0291 3.0539 15.9137 2C15.0076 2.03642 13.912 2.60377 13.2621 3.36422C12.6797 4.03763 12.1696 5.11548 12.3073 6.14852C13.3172 6.22665 14.3489 5.63532 14.9775 4.87397Z"})});To.displayName="AppleIcon";const Oo=e=>i.jsx(k,{...e,fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M18 3C20.2099 3 21.9999 4.77985 22 6.96973V17.0303C21.9999 19.2201 20.2099 21 18 21H6C3.79009 21 2.00015 19.2201 2 17.0303V6.96973C2.00015 4.77985 3.79009 3 6 3H18ZM4.75 15C4.33579 15 4 15.3358 4 15.75C4 16.1642 4.33579 16.5 4.75 16.5H19.25C19.6642 16.5 20 16.1642 20 15.75C20 15.3358 19.6642 15 19.25 15H4.75ZM4.75 11C4.33579 11 4 11.3358 4 11.75C4 12.1642 4.33579 12.5 4.75 12.5H19.25C19.6642 12.5 20 12.1642 20 11.75C20 11.3358 19.6642 11 19.25 11H4.75ZM4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5H19.25C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7H4.75Z",fillOpacity:"0.3"})});Oo.displayName="BackPhotoIcon";const Do=e=>i.jsxs(k,{...e,viewBox:"0 0 16 16",fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M11.1681 2.3735V1.3335C11.1681 1.06016 10.9415 0.833496 10.6681 0.833496C10.3948 0.833496 10.1681 1.06016 10.1681 1.3335V2.3335H5.83479V1.3335C5.83479 1.06016 5.60812 0.833496 5.33479 0.833496C5.06145 0.833496 4.83479 1.06016 4.83479 1.3335V2.3735C3.03479 2.54016 2.16145 3.6135 2.02812 5.20683C2.01479 5.40016 2.17479 5.56016 2.36145 5.56016H13.6415C13.8348 5.56016 13.9948 5.3935 13.9748 5.20683C13.8415 3.6135 12.9681 2.54016 11.1681 2.3735Z",fillOpacity:"0.3"}),i.jsx("path",{d:"M13.3333 6.56006H2.66667C2.3 6.56006 2 6.86006 2 7.22673V11.3334C2 13.3334 3 14.6667 5.33333 14.6667H10.6667C13 14.6667 14 13.3334 14 11.3334V7.22673C14 6.86006 13.7 6.56006 13.3333 6.56006ZM6.14 12.1401C6.10667 12.1667 6.07333 12.2001 6.04 12.2201C6 12.2467 5.96 12.2667 5.92 12.2801C5.88 12.3001 5.84 12.3134 5.8 12.3201C5.75333 12.3267 5.71333 12.3334 5.66667 12.3334C5.58 12.3334 5.49333 12.3134 5.41333 12.2801C5.32667 12.2467 5.26 12.2001 5.19333 12.1401C5.07333 12.0134 5 11.8401 5 11.6667C5 11.4934 5.07333 11.3201 5.19333 11.1934C5.26 11.1334 5.32667 11.0867 5.41333 11.0534C5.53333 11.0001 5.66667 10.9867 5.8 11.0134C5.84 11.0201 5.88 11.0334 5.92 11.0534C5.96 11.0667 6 11.0867 6.04 11.1134C6.07333 11.1401 6.10667 11.1667 6.14 11.1934C6.26 11.3201 6.33333 11.4934 6.33333 11.6667C6.33333 11.8401 6.26 12.0134 6.14 12.1401ZM6.14 9.80673C6.01333 9.92673 5.84 10.0001 5.66667 10.0001C5.49333 10.0001 5.32 9.92673 5.19333 9.80673C5.07333 9.68006 5 9.50673 5 9.33339C5 9.16006 5.07333 8.98673 5.19333 8.86006C5.38 8.67339 5.67333 8.61339 5.92 8.72006C6.00667 8.75339 6.08 8.80006 6.14 8.86006C6.26 8.98673 6.33333 9.16006 6.33333 9.33339C6.33333 9.50673 6.26 9.68006 6.14 9.80673ZM8.47333 12.1401C8.34667 12.2601 8.17333 12.3334 8 12.3334C7.82667 12.3334 7.65333 12.2601 7.52667 12.1401C7.40667 12.0134 7.33333 11.8401 7.33333 11.6667C7.33333 11.4934 7.40667 11.3201 7.52667 11.1934C7.77333 10.9467 8.22667 10.9467 8.47333 11.1934C8.59333 11.3201 8.66667 11.4934 8.66667 11.6667C8.66667 11.8401 8.59333 12.0134 8.47333 12.1401ZM8.47333 9.80673C8.44 9.83339 8.40667 9.86006 8.37333 9.88673C8.33333 9.91339 8.29333 9.93339 8.25333 9.94673C8.21333 9.96673 8.17333 9.98006 8.13333 9.98672C8.08667 9.99339 8.04667 10.0001 8 10.0001C7.82667 10.0001 7.65333 9.92673 7.52667 9.80673C7.40667 9.68006 7.33333 9.50673 7.33333 9.33339C7.33333 9.16006 7.40667 8.98673 7.52667 8.86006C7.58667 8.80006 7.66 8.75339 7.74667 8.72006C7.99333 8.61339 8.28667 8.67339 8.47333 8.86006C8.59333 8.98673 8.66667 9.16006 8.66667 9.33339C8.66667 9.50673 8.59333 9.68006 8.47333 9.80673ZM10.8067 12.1401C10.68 12.2601 10.5067 12.3334 10.3333 12.3334C10.16 12.3334 9.98667 12.2601 9.86 12.1401C9.74 12.0134 9.66667 11.8401 9.66667 11.6667C9.66667 11.4934 9.74 11.3201 9.86 11.1934C10.1067 10.9467 10.56 10.9467 10.8067 11.1934C10.9267 11.3201 11 11.4934 11 11.6667C11 11.8401 10.9267 12.0134 10.8067 12.1401ZM10.8067 9.80673C10.7733 9.83339 10.74 9.86006 10.7067 9.88673C10.6667 9.91339 10.6267 9.93339 10.5867 9.94673C10.5467 9.96673 10.5067 9.98006 10.4667 9.98672C10.42 9.99339 10.3733 10.0001 10.3333 10.0001C10.16 10.0001 9.98667 9.92673 9.86 9.80673C9.74 9.68006 9.66667 9.50673 9.66667 9.33339C9.66667 9.16006 9.74 8.98673 9.86 8.86006C9.92667 8.80006 9.99333 8.75339 10.08 8.72006C10.2 8.66673 10.3333 8.65339 10.4667 8.68006C10.5067 8.68673 10.5467 8.70006 10.5867 8.72006C10.6267 8.73339 10.6667 8.75339 10.7067 8.78006C10.74 8.80673 10.7733 8.83339 10.8067 8.86006C10.9267 8.98673 11 9.16006 11 9.33339C11 9.50673 10.9267 9.68006 10.8067 9.80673Z",fillOpacity:"0.3"})]});Do.displayName="CalendarIcon";const Fo=e=>i.jsx(k,{...e,viewBox:"0 0 16 16",children:i.jsx("path",{d:"M5.33337 7.99992H10.6667M8.00004 10.6666V5.33325M8.00004 14.6666C11.6667 14.6666 14.6667 11.6666 14.6667 7.99992C14.6667 4.33325 11.6667 1.33325 8.00004 1.33325C4.33337 1.33325 1.33337 4.33325 1.33337 7.99992C1.33337 11.6666 4.33337 14.6666 8.00004 14.6666Z",strokeOpacity:"1",strokeLinecap:"round",strokeLinejoin:"round"})});Fo.displayName="CircleAddIcon";const Bo=e=>i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",...e,children:[i.jsxs("g",{clipPath:"url(#clip0_1572_4119)",children:[i.jsx("path",{d:"M19.9996 9.71393C19.9996 9.81121 19.9977 9.90561 19.9957 10.001C19.9937 10.0616 19.9917 10.1214 19.9887 10.1801C19.7379 15.3275 15.3636 19.4269 10.0006 19.4269C4.63769 19.4269 0.262441 15.3285 0.0105573 10.1801C0.00659059 10.1214 0.00460725 10.0616 0.00460725 10.001C0.000640567 9.90561 -0.00134277 9.81025 -0.00134277 9.71393C-0.000351103 4.34887 4.47704 0 10.0006 0C15.5242 0 19.9996 4.34887 19.9996 9.71393Z",fill:"#FFD60B"}),i.jsx("path",{d:"M20 10.2861C20 15.6511 15.5246 20 10.001 20C4.47739 20 0 15.6511 0 10.2861C0 10.1907 0.00198334 10.0954 0.00595002 10.001C0.00595002 10.0617 0.00793336 10.1214 0.0119 10.1801C0.262793 15.3275 4.63903 19.4269 10.002 19.4269C15.3649 19.4269 19.7382 15.3275 19.9901 10.1801C19.9941 10.1214 19.996 10.0617 19.997 10.001C19.999 10.0963 20.001 10.1917 20.001 10.2861H20Z",fill:"#FFD60B"}),i.jsx("g",{style:{mixBlendMode:"multiply"},opacity:"0.6",children:i.jsx("path",{d:"M20 10.2861C20 15.6511 15.5246 20 10.001 20C4.47739 20 0 15.6511 0 10.2861C0 10.1907 0.00198334 10.0954 0.00595002 10.001C0.00595002 10.0617 0.00793336 10.1214 0.0119 10.1801C0.262793 15.3275 4.63903 19.4269 10.002 19.4269C15.3649 19.4269 19.7382 15.3275 19.9901 10.1801C19.9941 10.1214 19.996 10.0617 19.997 10.001C19.999 10.0963 20.001 10.1917 20.001 10.2861H20Z",fill:"#FFD60B"})}),i.jsx("g",{style:{mixBlendMode:"multiply"},opacity:"0.38",children:i.jsx("path",{d:"M17.9651 9.71403C17.9651 9.82673 17.9631 9.93942 17.9572 10.0521C17.7747 14.1669 14.283 17.4486 10.001 17.4486C5.71895 17.4486 2.22629 14.1669 2.04382 10.0521C2.03787 9.93942 2.03589 9.82673 2.03589 9.71403C2.03589 5.44222 5.60293 1.97949 10.001 1.97949C14.399 1.97949 17.9641 5.44222 17.9641 9.71403H17.9651Z",fill:"#FFD60B"})}),i.jsx("path",{d:"M17.9581 10.0522C17.7757 14.167 14.284 17.4486 10.002 17.4486C5.71994 17.4486 2.22629 14.167 2.04382 10.0522C2.22431 5.93545 5.71895 2.65381 10.002 2.65381C14.285 2.65381 17.7777 5.93545 17.9581 10.0522Z",fill:"#FDD300"}),i.jsx("g",{opacity:"0.15",children:Array.from({length:60}).map((t,n)=>{const o=n*Math.PI/30,r=10+9.5*Math.cos(o),s=10-9.5*Math.sin(o),a=10+7.5*Math.cos(o),c=10-7.5*Math.sin(o);return i.jsx("path",{d:`M${r.toFixed(4)} ${s.toFixed(4)}L${a.toFixed(4)} ${c.toFixed(4)}`,stroke:"black",strokeWidth:"3.53",strokeMiterlimit:"10"},n)})}),i.jsx("g",{filter:"url(#filter0_d_1572_4119)",children:i.jsx("path",{d:"M9.43954 6.13562C9.6688 5.67109 10.3312 5.67109 10.5605 6.13562L11.324 7.68281C11.4151 7.86727 11.5911 7.99513 11.7946 8.02471L13.5021 8.27281C14.0147 8.3473 14.2194 8.97728 13.8484 9.33887L12.6129 10.5432C12.4656 10.6868 12.3984 10.8936 12.4332 11.0964L12.7248 12.7969C12.8124 13.3075 12.2765 13.6968 11.818 13.4558L10.2908 12.6529C10.1088 12.5572 9.89124 12.5572 9.70916 12.6529L8.18199 13.4558C7.72348 13.6968 7.18758 13.3075 7.27515 12.7969L7.56681 11.0964C7.60159 10.8936 7.53437 10.6868 7.38707 10.5432L6.15156 9.33887C5.78061 8.97728 5.98531 8.3473 6.49794 8.27281L8.20537 8.02471C8.40894 7.99513 8.58492 7.86727 8.67596 7.68281L9.43954 6.13562Z",fill:"#FFFBE7"})})]}),i.jsxs("defs",{children:[i.jsxs("filter",{id:"filter0_d_1572_4119",x:"1.96216",y:"2.78711",width:"16.0757",height:"15.7417",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.jsx("feOffset",{dy:"1"}),i.jsx("feGaussianBlur",{stdDeviation:"2"}),i.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),i.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),i.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1572_4119"}),i.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1572_4119",result:"shape"})]}),i.jsx("clipPath",{id:"clip0_1572_4119",children:i.jsx("rect",{width:"20",height:"20",fill:"white"})})]})]});Bo.displayName="CoinIcon";const $o=e=>i.jsx(k,{...e,viewBox:"0 0 20 18",fill:"currentColor",stroke:"none",children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6667 0H3.33333C1.49333 0 0 1.49333 0 3.33333V14.6667C0 16.5067 1.49333 18 3.33333 18H16.6667C18.5067 18 20 16.5067 20 14.6667V3.33333C20 1.49333 18.5067 0 16.6667 0ZM3.33333 1.66667H16.6667C17.5867 1.66667 18.3333 2.41333 18.3333 3.33333V10.8333L14.1667 6.66667C13.5067 6.00667 12.4933 6.00667 11.8333 6.66667L6.66667 11.8333L5.16667 10.3333C4.50667 9.67333 3.49333 9.67333 2.83333 10.3333L1.66667 11.5V3.33333C1.66667 2.41333 2.41333 1.66667 3.33333 1.66667Z"})});$o.displayName="DocumentBackIcon";const Wo=e=>i.jsxs(k,{...e,viewBox:"0 0 16 16",fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M14 14.667H2C1.72667 14.667 1.5 14.4403 1.5 14.167C1.5 13.8937 1.72667 13.667 2 13.667H14C14.2733 13.667 14.5 13.8937 14.5 14.167C14.5 14.4403 14.2733 14.667 14 14.667Z"}),i.jsx("path",{d:"M12.68 2.32043C11.3867 1.0271 10.12 0.993764 8.79334 2.32043L7.98668 3.1271C7.92001 3.19376 7.89334 3.30043 7.92001 3.39376C8.42668 5.16043 9.84001 6.57376 11.6067 7.08043C11.6333 7.0871 11.66 7.09376 11.6867 7.09376C11.76 7.09376 11.8267 7.0671 11.88 7.01376L12.68 6.2071C13.34 5.55376 13.66 4.92043 13.66 4.28043C13.6667 3.62043 13.3467 2.98043 12.68 2.32043Z"}),i.jsx("path",{d:"M10.4067 7.68678C10.2133 7.59345 10.0267 7.50011 9.84668 7.39345C9.70001 7.30678 9.56001 7.21345 9.42001 7.11345C9.30668 7.04011 9.17334 6.93345 9.04667 6.82678C9.03334 6.82011 8.98667 6.78011 8.93334 6.72678C8.71334 6.54011 8.46668 6.30011 8.24668 6.03345C8.22668 6.02011 8.19334 5.97345 8.14668 5.91345C8.08001 5.83345 7.96668 5.70011 7.86668 5.54678C7.78668 5.44678 7.69334 5.30011 7.60668 5.15345C7.50001 4.97345 7.40668 4.79345 7.31334 4.60678C7.19097 4.34455 6.8468 4.26666 6.64218 4.47127L2.89334 8.22011C2.80668 8.30678 2.72668 8.47345 2.70668 8.58678L2.34668 11.1401C2.28001 11.5934 2.40668 12.0201 2.68668 12.3068C2.92668 12.5401 3.26001 12.6668 3.62001 12.6668C3.70001 12.6668 3.78001 12.6601 3.86001 12.6468L6.42001 12.2868C6.54001 12.2668 6.70668 12.1868 6.78668 12.1001L10.5417 8.34509C10.7422 8.14456 10.6669 7.79954 10.4067 7.68678Z"})]});Wo.displayName="EditIDIcon";const Ho=e=>i.jsx(k,{...e,fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M18 3H6C3.79 3 2 4.78 2 6.97V17.03C2 19.22 3.79 21 6 21H18C20.21 21 22 19.22 22 17.03V6.97C22 4.78 20.21 3 18 3ZM8.5 7.17C9.77 7.17 10.81 8.21 10.81 9.48C10.81 10.75 9.77 11.79 8.5 11.79C7.23 11.79 6.19 10.75 6.19 9.48C6.19 8.21 7.23 7.17 8.5 7.17ZM12.37 16.66C12.28 16.76 12.14 16.82 12 16.82H5C4.86 16.82 4.72 16.76 4.63 16.66C4.54 16.56 4.49 16.42 4.5 16.28C4.67 14.6 6.01 13.27 7.69 13.11C8.22 13.06 8.77 13.06 9.3 13.11C10.98 13.27 12.33 14.6 12.49 16.28C12.51 16.42 12.46 16.56 12.37 16.66ZM19 16.75H17C16.59 16.75 16.25 16.41 16.25 16C16.25 15.59 16.59 15.25 17 15.25H19C19.41 15.25 19.75 15.59 19.75 16C19.75 16.41 19.41 16.75 19 16.75ZM19 12.75H15C14.59 12.75 14.25 12.41 14.25 12C14.25 11.59 14.59 11.25 15 11.25H19C19.41 11.25 19.75 11.59 19.75 12C19.75 12.41 19.41 12.75 19 12.75ZM19 8.75H14C13.59 8.75 13.25 8.41 13.25 8C13.25 7.59 13.59 7.25 14 7.25H19C19.41 7.25 19.75 7.59 19.75 8C19.75 8.41 19.41 8.75 19 8.75Z",fillOpacity:"0.3"})});Ho.displayName="FrontPhotoIcon";const Vo=e=>i.jsxs(k,{...e,fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M6.98916 13.8775L6.36261 16.2165L4.07258 16.2649C3.38819 14.9955 3 13.5432 3 11.9998C3 10.5074 3.36295 9.10006 4.00631 7.86084H4.0068L6.04557 8.23462L6.93868 10.2612C6.75175 10.8061 6.64987 11.3911 6.64987 11.9998C6.64994 12.6605 6.76961 13.2935 6.98916 13.8775Z"}),i.jsx("path",{d:"M20.8441 10.3184C20.9474 10.8628 21.0013 11.425 21.0013 11.9997C21.0013 12.644 20.9336 13.2725 20.8045 13.8788C20.3664 15.9419 19.2216 17.7433 17.6358 19.0182L17.6353 19.0177L15.0673 18.8866L14.7039 16.6178C15.7562 16.0007 16.5785 15.0349 17.0117 13.8788H12.1992V10.3184H17.0819H20.8441Z"}),i.jsx("path",{d:"M17.6335 19.0183L17.634 19.0188C16.0917 20.2585 14.1324 21.0002 11.9996 21.0002C8.57225 21.0002 5.59238 19.0845 4.07227 16.2654L6.98885 13.8779C7.74889 15.9064 9.70564 17.3503 11.9996 17.3503C12.9857 17.3503 13.9094 17.0838 14.7021 16.6185L17.6335 19.0183Z"}),i.jsx("path",{d:"M17.7442 5.07196L14.8286 7.45892C14.0082 6.94613 13.0384 6.64991 11.9995 6.64991C9.65358 6.64991 7.66023 8.16011 6.93826 10.2613L4.00635 7.86096H4.00586C5.50372 4.97307 8.52117 3 11.9995 3C14.1832 3 16.1855 3.77786 17.7442 5.07196Z"})]});Vo.displayName="GoogleIcon";const xn=e=>i.jsxs(k,{...e,viewBox:"0 0 70 26",fill:"currentColor",stroke:"currentColor",children:[i.jsxs("g",{clipPath:"url(#clip0_2001_2826)",children:[i.jsx("path",{d:"M54.6387 6.10254H56.608L56.7154 6.33976L54.8535 6.55874L54.6387 6.10254Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.7113 6.22997C54.7292 6.30296 56.1256 9.33216 57.8085 13L60.8698 19.6424L60.3149 20.7555C59.4197 22.5621 58.6499 23.1825 57.3072 23.1825C56.5553 23.1825 55.7854 22.9271 55.2305 22.5073L54.8008 22.1789L54.2816 22.9453C53.8877 23.5657 53.8519 23.4198 54.031 23.5657C54.3353 23.8212 55.3916 24.4781 56.0719 24.6241C57.2177 24.8796 58.3993 24.7884 59.366 24.3504C59.9926 24.0584 60.8519 23.2555 61.2995 22.5256C61.5681 22.1059 68.8724 6.30296 68.8724 6.15698C68.8724 6.13873 68.4606 6.12048 67.9594 6.12048H67.0463L64.4683 11.8139C63.054 14.9526 61.8545 17.5073 61.8366 17.5073C61.8008 17.5073 60.6192 14.9343 59.2049 11.7957L56.6269 6.08398H55.6422C54.8903 6.10223 54.6755 6.13873 54.7113 6.22997Z",strokeWidth:"1.36061"}),i.jsx("path",{d:"M68.9263 6.10254H67.0465L66.957 6.33976L68.7294 6.55874L68.9263 6.10254Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.3394 6.15738C33.9251 6.44935 32.833 7.06978 31.7588 8.16467C29.7358 10.245 29.2704 13.2924 30.5952 15.9566C30.9711 16.7048 31.186 17.015 31.9021 17.7085C32.6361 18.4384 32.9046 18.6209 33.7103 18.9858C35.1604 19.661 36.2166 19.8253 37.7921 19.6428C39.5108 19.442 40.7998 18.9858 41.7128 18.2559L42.0888 17.9457L41.7486 17.672C41.5696 17.526 41.301 17.307 41.1578 17.2158L40.9072 17.0333L40.5133 17.307C39.3854 18.1099 37.0402 18.4931 35.5542 18.1282C34.5338 17.8727 33.9251 17.526 33.1195 16.7413C32.4033 16.0296 31.8126 15.172 31.9558 15.026C31.9916 14.9895 34.1757 14.3143 36.7895 13.5296C39.4033 12.745 41.8023 11.9968 42.0888 11.8508C42.3752 11.7048 42.7691 11.4676 42.9481 11.2851C43.2524 10.9931 43.2704 10.9384 43.2345 10.4822C43.145 9.3873 42.1425 8.00044 40.8893 7.17927C39.3675 6.23037 37.076 5.79241 35.3394 6.15738ZM35.4289 7.61723C33.1553 8.21942 31.5798 10.2267 31.4545 12.7085C31.4366 13.2194 31.4366 13.6574 31.4903 13.6574C31.7409 13.6574 41.2115 10.7559 41.4264 10.6099L41.677 10.4457L41.3548 9.88C40.5491 8.4019 38.723 7.453 36.7537 7.47125C36.3062 7.47125 35.7154 7.54424 35.4289 7.61723Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47.9258 10.0803V19.6606H48.8746H49.8235V10.0803V0.5H48.8746H47.9258V10.0803Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.716797 2.58045V3.40161H3.99301H7.26923V11.6315V19.8432H8.27178H9.27434V11.6315V3.40161H12.4968H15.7194V2.58045V1.75928H8.21808H0.716797V2.58045Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.1716 6.08373C23.7752 6.32096 22.4683 7.10563 21.7701 8.16402L21.4478 8.63848L21.412 7.36111L21.3762 6.08373H20.4811H19.5859V12.8538V19.6239H20.5169H21.4478L21.4836 15.5363C21.5194 11.1385 21.5373 11.0107 22.0923 9.91585C22.7547 8.60198 24.2765 7.74432 25.9593 7.72607H26.6217V6.88665V6.01074L25.9951 6.02899C25.6908 6.02899 25.2969 6.06549 25.1716 6.08373Z",strokeWidth:"1.36061"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_2001_2826",children:i.jsx("rect",{width:"70",height:"25",fill:"white",transform:"translate(0 0.5)"})})})]});xn.displayName="LogoIcon";const Uo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M8 5H6C4.895 5 4 5.895 4 7V17C4 18.105 4.895 19 6 19H8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.431 20.952L18.431 19.848C19.348 19.646 20 18.833 20 17.895V6.10497C20 5.16697 19.348 4.35397 18.431 4.15197L13.431 3.04797C12.183 2.77197 11 3.72197 11 5.00097V19C11 20.278 12.183 21.228 13.431 20.952V20.952Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14 11V13",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Uo.displayName="LogOutIcon";const Zo=e=>i.jsx(k,{...e,children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.43585 17.3875C4.36402 16.1368 3.06975 13.919 3 11.5C3 7.35785 7.02942 4 12 4C16.9706 4 21 7.35785 21 11.5C21 15.6421 16.9706 19 12 19C11.3024 18.9982 10.6066 18.9282 9.92255 18.7911C8.97395 19.5017 7.91992 20.0594 6.79877 20.4438C6.3876 20.5752 5.93864 20.4266 5.6869 20.076C5.43517 19.7254 5.43797 19.2525 5.69385 18.9049C6.02522 18.4447 6.27611 17.9316 6.43585 17.3875Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Zo.displayName="MsgIcon";const Go=e=>i.jsxs(k,{...e,fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M17 21.25H7C3.35 21.25 1.25 19.15 1.25 15.5V8.5C1.25 4.85 3.35 2.75 7 2.75H17C20.65 2.75 22.75 4.85 22.75 8.5V15.5C22.75 19.15 20.65 21.25 17 21.25ZM7 4.25C4.14 4.25 2.75 5.64 2.75 8.5V15.5C2.75 18.36 4.14 19.75 7 19.75H17C19.86 19.75 21.25 18.36 21.25 15.5V8.5C21.25 5.64 19.86 4.25 17 4.25H7Z"}),i.jsx("path",{d:"M8 10.75C6.96 10.75 6.11 9.9 6.11 8.86C6.11 7.82 6.96 6.97 8 6.97C9.04 6.97 9.89 7.82 9.89 8.86C9.89 9.9 9.04 10.75 8 10.75ZM8 8.47C7.78 8.47 7.61 8.64 7.61 8.86C7.61 9.08 7.78 9.25 8 9.25C8.22 9.25 8.39 9.08 8.39 8.86C8.39 8.64 8.22 8.47 8 8.47Z"}),i.jsx("path",{d:"M12 16.75H4.66C4.25 16.75 3.91 16.41 3.91 16C3.91 15.01 4.66 14.04 6.04 13.45C7.02 13.02 8.19 12.8 8.44 12.76C8.85 12.69 9.23 12.97 9.3 13.38C9.37 13.79 9.09 14.17 8.68 14.24C8.53 14.26 7.56 14.45 6.75 14.8C6.05 15.11 5.59 15.51 5.41 15.81C6.17 15.78 6.98 15.74 7.85 15.74H12C12.41 15.74 12.75 16.08 12.75 16.49C12.75 16.9 12.41 17.24 12 17.24V16.75Z"}),i.jsx("path",{d:"M14.5 11.75H12.5C12.09 11.75 11.75 11.41 11.75 11C11.75 10.59 12.09 10.25 12.5 10.25H14.5C14.91 10.25 15.25 10.59 15.25 11C15.25 11.41 14.91 11.75 14.5 11.75Z"}),i.jsx("path",{d:"M19.5 15.75H12.5C12.09 15.75 11.75 15.41 11.75 15C11.75 14.59 12.09 14.25 12.5 14.25H19.5C19.91 14.25 20.25 14.59 20.25 15C20.25 15.41 19.91 15.75 19.5 15.75Z"})]});Go.displayName="PersonalcardIcon";const zo=e=>i.jsxs(k,{...e,viewBox:"0 0 16 16",children:[i.jsx("path",{d:"M10.7344 7.1955L12.6657 5.26483L10.7344 3.3335",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3.33203 5.26693H12.6654",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M5.26336 8.80469L3.33203 10.7354L5.26336 12.6667",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12.6654 10.7337H3.33203",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]});zo.displayName="ReverseIcon";const Ko=e=>i.jsx(k,{...e,viewBox:"0 0 14 13",fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M6.10326 0.816985C6.47008 0.0737389 7.52992 0.0737404 7.89674 0.816986L9.11847 3.29249C9.26413 3.58763 9.5457 3.7922 9.87141 3.83953L12.6033 4.2365C13.4235 4.35568 13.751 5.36365 13.1575 5.94219L11.1807 7.8691C10.945 8.09884 10.8375 8.42984 10.8931 8.75423L11.3598 11.4751C11.4999 12.292 10.6424 12.9149 9.90881 12.5293L7.46534 11.2446C7.17402 11.0915 6.82598 11.0915 6.53466 11.2446L4.09119 12.5293C3.35756 12.9149 2.50013 12.292 2.64024 11.4751L3.1069 8.75423C3.16254 8.42984 3.05499 8.09884 2.81931 7.8691L0.842496 5.94219C0.248979 5.36365 0.576491 4.35568 1.39671 4.2365L4.12859 3.83953C4.4543 3.7922 4.73587 3.58763 4.88153 3.29249L6.10326 0.816985Z"})});Ko.displayName="StarIcon";const yn=e=>i.jsx(k,{...e,viewBox:"0 0 16 14",fill:"white",stroke:"none",children:i.jsx("path",{d:"M1.09992 5.70829C5.39487 3.83705 8.25885 2.60341 9.69185 2.00738C13.7834 0.30558 14.6335 0.00996026 15.1877 9.46359e-05C15.3095 -0.00194823 15.582 0.0282562 15.7586 0.171489C15.9076 0.292432 15.9486 0.455809 15.9683 0.570476C15.9879 0.685143 16.0123 0.946358 15.9929 1.15046C15.7712 3.48009 14.8118 9.13349 14.3237 11.7427C14.1172 12.8468 13.7105 13.217 13.3168 13.2532C12.4613 13.3319 11.8116 12.6878 10.9829 12.1446C9.68624 11.2946 8.95369 10.7654 7.69503 9.936C6.24042 8.97744 7.18338 8.4506 8.01236 7.58959C8.22931 7.36426 11.999 3.93546 12.0719 3.62441C12.0811 3.58551 12.0895 3.44051 12.0034 3.36394C11.9172 3.28737 11.7901 3.31355 11.6983 3.33438C11.5683 3.36389 9.4968 4.73307 5.48389 7.4419C4.89591 7.84565 4.36333 8.04237 3.88616 8.03207C3.36012 8.0207 2.34822 7.73463 1.59598 7.49011C0.673328 7.19019 -0.0599784 7.03162 0.00387615 6.52227C0.0371355 6.25697 0.402482 5.98564 1.09992 5.70829Z"})});yn.displayName="Tg2Icon";const qo=e=>i.jsxs(k,{...e,fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"}),i.jsx("path",{d:"M9.0918 12.658L10.1596 15.6135C10.1596 15.6135 10.2931 15.89 10.436 15.89C10.579 15.89 12.7051 13.6781 12.7051 13.6781L15.0695 9.11133L9.1299 11.8951L9.0918 12.658Z"}),i.jsx("path",{d:"M10.5093 13.416L10.3044 15.5945C10.3044 15.5945 10.2186 16.262 10.8859 15.5945C11.5533 14.927 12.192 14.4122 12.192 14.4122",fill:"#393939",fillOpacity:"0.1"}),i.jsx("path",{d:"M9.1119 12.7632L6.91545 12.0476C6.91545 12.0476 6.65295 11.9411 6.73747 11.6996C6.75487 11.6498 6.78997 11.6074 6.89497 11.5346C7.38165 11.1953 15.9029 8.13257 15.9029 8.13257C15.9029 8.13257 16.1435 8.0515 16.2854 8.10542C16.3205 8.11629 16.3521 8.13628 16.377 8.16336C16.4018 8.19044 16.419 8.22364 16.4268 8.25955C16.4421 8.32297 16.4485 8.38823 16.4458 8.45342C16.4452 8.50982 16.4383 8.5621 16.4332 8.64407C16.3813 9.48145 14.8282 15.731 14.8282 15.731C14.8282 15.731 14.7352 16.0967 14.4023 16.1093C14.3205 16.1119 14.239 16.0981 14.1626 16.0685C14.0863 16.039 14.0167 15.9944 13.9579 15.9374C13.3046 15.3754 11.0465 13.8578 10.5475 13.5241C10.5363 13.5164 10.5268 13.5064 10.5197 13.4948C10.5127 13.4831 10.5082 13.4701 10.5066 13.4566C10.4996 13.4214 10.5379 13.3778 10.5379 13.3778C10.5379 13.3778 14.4698 9.88285 14.5744 9.51595C14.5825 9.48752 14.5519 9.4735 14.5108 9.48595C14.2497 9.58202 9.72255 12.4409 9.2229 12.7565C9.18693 12.7674 9.14892 12.7697 9.1119 12.7632Z",fill:"#EBEBEB"})]});qo.displayName="TgIcon";const Yo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M17.7633 18.91L17.4133 18.031C17.2363 17.585 16.9613 17.185 16.6093 16.859L16.5453 16.8C15.9913 16.286 15.2633 16 14.5073 16H9.49333C8.73733 16 8.00933 16.286 7.45433 16.799L7.39033 16.859C7.03833 17.185 6.76433 17.585 6.58633 18.031L6.23633 18.91",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14.4749 7.44713C15.8417 8.81397 15.8417 11.03 14.4749 12.3969C13.108 13.7637 10.892 13.7637 9.52513 12.3969C8.15829 11.03 8.15829 8.81397 9.52513 7.44713C10.892 6.08029 13.108 6.08029 14.4749 7.44713",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M18.3639 5.63604C21.8787 9.15076 21.8787 14.8492 18.3639 18.3639C14.8492 21.8787 9.15074 21.8787 5.63604 18.3639C2.12132 14.8492 2.12132 9.15074 5.63604 5.63604C9.15076 2.12132 14.8492 2.12132 18.3639 5.63604",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Yo.displayName="UserIcon";const Xo=e=>i.jsxs(k,{...e,viewBox:"0 0 20 20",fill:"currentColor",stroke:"none",children:[i.jsxs("g",{clipPath:"url(#clip0_384_5149)",children:[i.jsx("path",{d:"M0 9.6C0 5.0745 0 2.81177 1.40589 1.40589C2.81177 0 5.0745 0 9.6 0H10.4C14.9255 0 17.1882 0 18.5941 1.40589C20 2.81177 20 5.0745 20 9.6V10.4C20 14.9255 20 17.1882 18.5941 18.5941C17.1882 20 14.9255 20 10.4 20H9.6C5.0745 20 2.81177 20 1.40589 18.5941C0 17.1882 0 14.9255 0 10.4V9.6Z"}),i.jsx("path",{d:"M10.6416 14.4084C6.08329 14.4084 3.48333 11.2834 3.375 6.08337H5.65833C5.73333 9.90004 7.41663 11.5167 8.74996 11.85V6.08337H10.9V9.37504C12.2167 9.23337 13.5999 7.73337 14.0665 6.08337H16.2166C15.8582 8.11671 14.3582 9.61671 13.2916 10.2334C14.3582 10.7334 16.0667 12.0417 16.7167 14.4084H14.3499C13.8416 12.825 12.575 11.6 10.9 11.4334V14.4084H10.6416Z",fill:"#EBEBEB"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_384_5149",children:i.jsx("rect",{width:"20",height:"20",fill:"white"})})})]});Xo.displayName="VkIcon";const Qo=e=>i.jsxs(k,{...e,viewBox:"0 0 16 17",stroke:"white",children:[i.jsx("path",{d:"M10.3866 8.49998C10.3866 9.81998 9.3199 10.8866 7.9999 10.8866C6.6799 10.8866 5.61323 9.81998 5.61323 8.49998C5.61323 7.17998 6.6799 6.11331 7.9999 6.11331C9.3199 6.11331 10.3866 7.17998 10.3866 8.49998Z",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M7.9999 14.0133C10.3532 14.0133 12.5466 12.6266 14.0732 10.2266C14.6732 9.28665 14.6732 7.70665 14.0732 6.76665C12.5466 4.36665 10.3532 2.97998 7.9999 2.97998C5.64656 2.97998 3.45323 4.36665 1.92656 6.76665C1.32656 7.70665 1.32656 9.28665 1.92656 10.2266C3.45323 12.6266 5.64656 14.0133 7.9999 14.0133Z",strokeLinecap:"round",strokeLinejoin:"round"})]});Qo.displayName="WatchIcon";const wn=e=>i.jsx(k,{...e,viewBox:"0 0 16 16",fill:"white",stroke:"none",children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6 2.3C12.1 0.8 10.1 0 8 0C3.6 0 0 3.6 0 8C0 9.4 0.400006 10.8 1.10001 12L0 16L4.20001 14.9C5.40001 15.5 6.7 15.9 8 15.9C12.4 15.9 16 12.3 16 7.9C16 5.8 15.1 3.8 13.6 2.3ZM8 14.6C6.8 14.6 5.60001 14.3 4.60001 13.7L4.39999 13.6L1.89999 14.3L2.60001 11.9L2.39999 11.6C1.69999 10.5 1.39999 9.3 1.39999 8.1C1.39999 4.5 4.4 1.5 8 1.5C9.8 1.5 11.4 2.2 12.7 3.4C14 4.7 14.6 6.3 14.6 8.1C14.6 11.6 11.7 14.6 8 14.6ZM11.6 9.6C11.4 9.5 10.4 9 10.2 9C10 8.9 9.89999 8.9 9.79999 9.1C9.69999 9.3 9.30001 9.7 9.20001 9.9C9.10001 10 8.99999 10 8.79999 10C8.59999 9.9 8.00001 9.7 7.20001 9C6.60001 8.5 6.20001 7.8 6.10001 7.6C6.00001 7.4 6.10001 7.3 6.20001 7.2C6.30001 7.1 6.4 7 6.5 6.9C6.6 6.8 6.60001 6.7 6.70001 6.6C6.80001 6.5 6.70001 6.4 6.70001 6.3C6.70001 6.2 6.30001 5.2 6.10001 4.8C6.00001 4.5 5.80001 4.5 5.70001 4.5C5.60001 4.5 5.49999 4.5 5.29999 4.5C5.19999 4.5 4.99999 4.5 4.79999 4.7C4.59999 4.9 4.10001 5.4 4.10001 6.4C4.10001 7.4 4.79999 8.3 4.89999 8.5C4.99999 8.6 6.29999 10.7 8.29999 11.5C9.99999 12.2 10.3 12 10.7 12C11.1 12 11.9 11.5 12 11.1C12.2 10.6 12.2 10.2 12.1 10.2C12 9.7 11.8 9.7 11.6 9.6Z"})});wn.displayName="WhatsappIcon";const Si="_root_1737m_1",ji="_list_1737m_6",Ei="_breadcrumb_1737m_14",Ri="_link_1737m_21",Li="_item_1737m_33",Ii="_itemLast_1737m_37",ki="_separator_1737m_41",we={root:Si,list:ji,breadcrumb:Ei,link:Ri,item:Li,itemLast:Ii,separator:ki},Jo=R.forwardRef(({items:e,className:t,LinkComponent:n,separator:o=i.jsx(pn,{}),...r},s)=>i.jsx("nav",{ref:s,className:P(we.root,t),"aria-label":"Breadcrumb",...r,children:i.jsx("ol",{className:we.list,children:e.map((a,c)=>{const u=c===e.length-1,d=a.href?{href:a.href}:{},f=n&&a.href?i.jsx(n,{...d,className:we.link,children:a.title}):a.href?i.jsx("a",{...d,className:we.link,children:a.title}):i.jsx("span",{className:P(we.item,u&&we.itemLast),"aria-current":u?"page":void 0,children:a.title});return i.jsxs("li",{className:we.breadcrumb,children:[f,!u&&i.jsx("span",{className:P(we.separator),"aria-hidden":"true",children:o})]},c)})})}));Jo.displayName="Breadcrumbs";function Vn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ge(...e){return t=>{let n=!1;const o=e.map(r=>{const s=Vn(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():Vn(e[r],null)}}}}function Z(...e){return l.useCallback(Ge(...e),e)}var Ni=Symbol.for("react.lazy"),xt=l[" use ".trim().toString()];function Pi(e){return typeof e=="object"&&e!==null&&"then"in e}function er(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Ni&&"_payload"in e&&Pi(e._payload)}function Ai(e){const t=Mi(e),n=l.forwardRef((o,r)=>{let{children:s,...a}=o;er(s)&&typeof xt=="function"&&(s=xt(s._payload));const c=l.Children.toArray(s),u=c.find(Oi);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}var _n=Ai("Slot");function Mi(e){const t=l.forwardRef((n,o)=>{let{children:r,...s}=n;if(er(r)&&typeof xt=="function"&&(r=xt(r._payload)),l.isValidElement(r)){const a=Fi(r),c=Di(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ti=Symbol("radix.slottable");function Oi(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ti}function Di(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function Fi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Bi="_button_8pv9u_1",$i="_xs_8pv9u_20",Wi="_icon_8pv9u_26",Hi="_s_8pv9u_30",Vi="_m_8pv9u_40",Ui="_l_8pv9u_50",Zi="_gold_8pv9u_60",Gi="_main_8pv9u_60",zi="_secondary_8pv9u_73",Ki="_tertiary_8pv9u_86",qi="_green_8pv9u_101",Yi="_error_8pv9u_142",Xi="_content_8pv9u_183",Qi="_loading_8pv9u_190",Ji="_loader_8pv9u_194",ea="_spin_8pv9u_1",_e={button:Bi,xs:$i,icon:Wi,s:Hi,m:Vi,l:Ui,gold:Zi,main:Gi,secondary:zi,tertiary:Ki,green:qi,error:Yi,content:Xi,loading:Qi,loader:Ji,spin:ea},tr=R.forwardRef(({color:e="gold",variant:t="main",size:n="m",icon:o=!1,leftIcon:r,rightIcon:s,loading:a=!1,asChild:c=!1,disabled:u,className:d="",type:f="button",children:h,...v},g)=>{const x=c?_n:"button",p=a||u,m=P(_e.button,_e[e],_e[t],_e[n],o&&_e.icon,a&&_e.loading,d),y=c?{}:{type:f,disabled:p},C={"aria-busy":a||void 0,"aria-disabled":p||void 0};return c?i.jsx(x,{ref:g,className:m,...C,...v,children:h}):i.jsxs(x,{ref:g,className:m,...y,...C,...v,children:[a&&i.jsx("span",{className:_e.loader}),i.jsxs("span",{className:_e.content,children:[r,h,s]})]})});tr.displayName="Button";const ta="_button_yyut6_1",na="_white_yyut6_21",oa="_black_yyut6_35",Un={button:ta,white:na,black:oa},ot=R.forwardRef(({variant:e="white",asChild:t=!1,className:n="",type:o="button",children:r,...s},a)=>{const c=t?_n:"button",u=P(Un.button,Un[e],n),d=t?{}:{type:o};return i.jsx(c,{ref:a,className:u,...d,...s,children:r})});ot.displayName="CircleButton";function M(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function ra(e,t){const n=l.createContext(t),o=s=>{const{children:a,...c}=s,u=l.useMemo(()=>c,Object.values(c));return i.jsx(n.Provider,{value:u,children:a})};o.displayName=e+"Provider";function r(s){const a=l.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[o,r]}function Fe(e,t=[]){let n=[];function o(s,a){const c=l.createContext(a),u=n.length;n=[...n,a];const d=h=>{const{scope:v,children:g,...x}=h,p=v?.[e]?.[u]||c,m=l.useMemo(()=>x,Object.values(x));return i.jsx(p.Provider,{value:m,children:g})};d.displayName=s+"Provider";function f(h,v){const g=v?.[e]?.[u]||c,x=l.useContext(g);if(x)return x;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[d,f]}const r=()=>{const s=n.map(a=>l.createContext(a));return function(c){const u=c?.[e]||s;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return r.scopeName=e,[o,sa(r,...t)]}function sa(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const a=o.reduce((c,{useScope:u,scopeName:d})=>{const h=u(s)[`__scope${d}`];return{...c,...h}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var Y=globalThis?.document?l.useLayoutEffect:()=>{},ia=l[" useId ".trim().toString()]||(()=>{}),aa=0;function Ae(e){const[t,n]=l.useState(ia());return Y(()=>{n(o=>o??String(aa++))},[e]),e||(t?`radix-${t}`:"")}var ca=l[" useInsertionEffect ".trim().toString()]||Y;function Je({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,s,a]=la({defaultProp:t,onChange:n}),c=e!==void 0,u=c?e:r;{const f=l.useRef(e!==void 0);l.useEffect(()=>{const h=f.current;h!==c&&console.warn(`${o} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=c},[c,o])}const d=l.useCallback(f=>{if(c){const h=ua(f)?f(e):f;h!==e&&a.current?.(h)}else s(f)},[c,e,s,a]);return[u,d]}function la({defaultProp:e,onChange:t}){const[n,o]=l.useState(e),r=l.useRef(n),s=l.useRef(t);return ca(()=>{s.current=t},[t]),l.useEffect(()=>{r.current!==n&&(s.current?.(n),r.current=n)},[n,r]),[n,o,s]}function ua(e){return typeof e=="function"}function da(e){const t=fa(e),n=l.forwardRef((o,r)=>{const{children:s,...a}=o,c=l.Children.toArray(s),u=c.find(ha);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function fa(e){const t=l.forwardRef((n,o)=>{const{children:r,...s}=n;if(l.isValidElement(r)){const a=ga(r),c=ma(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pa=Symbol("radix.slottable");function ha(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pa}function ma(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function ga(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var va=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],B=va.reduce((e,t)=>{const n=da(`Primitive.${t}`),o=l.forwardRef((r,s)=>{const{asChild:a,...c}=r,u=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ca(e,t){e&&Et.flushSync(()=>e.dispatchEvent(t))}function Se(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...n)=>t.current?.(...n),[])}function xa(e,t=globalThis?.document){const n=Se(e);l.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var ya="DismissableLayer",Jt="dismissableLayer.update",wa="dismissableLayer.pointerDownOutside",_a="dismissableLayer.focusOutside",Zn,nr=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bn=l.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:a,onDismiss:c,...u}=e,d=l.useContext(nr),[f,h]=l.useState(null),v=f?.ownerDocument??globalThis?.document,[,g]=l.useState({}),x=Z(t,S=>h(S)),p=Array.from(d.layers),[m]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=p.indexOf(m),C=f?p.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,_=C>=y,b=ja(S=>{const j=S.target,T=[...d.branches].some(A=>A.contains(j));!_||T||(r?.(S),a?.(S),S.defaultPrevented||c?.())},v),E=Ea(S=>{const j=S.target;[...d.branches].some(A=>A.contains(j))||(s?.(S),a?.(S),S.defaultPrevented||c?.())},v);return xa(S=>{C===d.layers.size-1&&(o?.(S),!S.defaultPrevented&&c&&(S.preventDefault(),c()))},v),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Zn=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Gn(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Zn)}},[f,v,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Gn())},[f,d]),l.useEffect(()=>{const S=()=>g({});return document.addEventListener(Jt,S),()=>document.removeEventListener(Jt,S)},[]),i.jsx(B.div,{...u,ref:x,style:{pointerEvents:w?_?"auto":"none":void 0,...e.style},onFocusCapture:M(e.onFocusCapture,E.onFocusCapture),onBlurCapture:M(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:M(e.onPointerDownCapture,b.onPointerDownCapture)})});bn.displayName=ya;var ba="DismissableLayerBranch",Sa=l.forwardRef((e,t)=>{const n=l.useContext(nr),o=l.useRef(null),r=Z(t,o);return l.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),i.jsx(B.div,{...e,ref:r})});Sa.displayName=ba;function ja(e,t=globalThis?.document){const n=Se(e),o=l.useRef(!1),r=l.useRef(()=>{});return l.useEffect(()=>{const s=c=>{if(c.target&&!o.current){let u=function(){or(wa,n,d,{discrete:!0})};const d={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=u,t.addEventListener("click",r.current,{once:!0})):u()}else t.removeEventListener("click",r.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Ea(e,t=globalThis?.document){const n=Se(e),o=l.useRef(!1);return l.useEffect(()=>{const r=s=>{s.target&&!o.current&&or(_a,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Gn(){const e=new CustomEvent(Jt);document.dispatchEvent(e)}function or(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Ca(r,s):r.dispatchEvent(s)}var Wt="focusScope.autoFocusOnMount",Ht="focusScope.autoFocusOnUnmount",zn={bubbles:!1,cancelable:!0},Ra="FocusScope",Sn=l.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...a}=e,[c,u]=l.useState(null),d=Se(r),f=Se(s),h=l.useRef(null),v=Z(t,p=>u(p)),g=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(o){let p=function(w){if(g.paused||!c)return;const _=w.target;c.contains(_)?h.current=_:be(h.current,{select:!0})},m=function(w){if(g.paused||!c)return;const _=w.relatedTarget;_!==null&&(c.contains(_)||be(h.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const b of w)b.removedNodes.length>0&&be(c)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const C=new MutationObserver(y);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),C.disconnect()}}},[o,c,g.paused]),l.useEffect(()=>{if(c){qn.add(g);const p=document.activeElement;if(!c.contains(p)){const y=new CustomEvent(Wt,zn);c.addEventListener(Wt,d),c.dispatchEvent(y),y.defaultPrevented||(La(Aa(rr(c)),{select:!0}),document.activeElement===p&&be(c))}return()=>{c.removeEventListener(Wt,d),setTimeout(()=>{const y=new CustomEvent(Ht,zn);c.addEventListener(Ht,f),c.dispatchEvent(y),y.defaultPrevented||be(p??document.body,{select:!0}),c.removeEventListener(Ht,f),qn.remove(g)},0)}}},[c,d,f,g]);const x=l.useCallback(p=>{if(!n&&!o||g.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,y=document.activeElement;if(m&&y){const C=p.currentTarget,[w,_]=Ia(C);w&&_?!p.shiftKey&&y===_?(p.preventDefault(),n&&be(w,{select:!0})):p.shiftKey&&y===w&&(p.preventDefault(),n&&be(_,{select:!0})):y===C&&p.preventDefault()}},[n,o,g.paused]);return i.jsx(B.div,{tabIndex:-1,...a,ref:v,onKeyDown:x})});Sn.displayName=Ra;function La(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(be(o,{select:t}),document.activeElement!==n)return}function Ia(e){const t=rr(e),n=Kn(t,e),o=Kn(t.reverse(),e);return[n,o]}function rr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Kn(e,t){for(const n of e)if(!ka(n,{upTo:t}))return n}function ka(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 Na(e){return e instanceof HTMLInputElement&&"select"in e}function be(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Na(e)&&t&&e.select()}}var qn=Pa();function Pa(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Yn(e,t),e.unshift(t)},remove(t){e=Yn(e,t),e[0]?.resume()}}}function Yn(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Aa(e){return e.filter(t=>t.tagName!=="A")}var Ma="Portal",jn=l.forwardRef((e,t)=>{const{container:n,...o}=e,[r,s]=l.useState(!1);Y(()=>s(!0),[]);const a=n||r&&globalThis?.document?.body;return a?Co.createPortal(i.jsx(B.div,{...o,ref:t}),a):null});jn.displayName=Ma;function Ta(e,t){return l.useReducer((n,o)=>t[n][o]??n,e)}var rt=e=>{const{present:t,children:n}=e,o=Oa(t),r=typeof n=="function"?n({present:o.isPresent}):l.Children.only(n),s=Z(o.ref,Da(r));return typeof n=="function"||o.isPresent?l.cloneElement(r,{ref:s}):null};rt.displayName="Presence";function Oa(e){const[t,n]=l.useState(),o=l.useRef(null),r=l.useRef(e),s=l.useRef("none"),a=e?"mounted":"unmounted",[c,u]=Ta(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=ct(o.current);s.current=c==="mounted"?d:"none"},[c]),Y(()=>{const d=o.current,f=r.current;if(f!==e){const v=s.current,g=ct(d);e?u("MOUNT"):g==="none"||d?.display==="none"?u("UNMOUNT"):u(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),Y(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,h=g=>{const p=ct(o.current).includes(CSS.escape(g.animationName));if(g.target===t&&p&&(u("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=ct(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:l.useCallback(d=>{o.current=d?getComputedStyle(d):null,n(d)},[])}}function ct(e){return e?.animationName||"none"}function Da(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Vt=0;function sr(){l.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Xn()),document.body.insertAdjacentElement("beforeend",e[1]??Xn()),Vt++,()=>{Vt===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Vt--}},[])}function Xn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ue=function(){return ue=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ue.apply(this,arguments)};function ir(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function Fa(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,s;o<r;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}var gt="right-scroll-bar-position",vt="width-before-scroll-bar",Ba="with-scroll-bars-hidden",$a="--removed-body-scroll-bar-size";function Ut(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Wa(e,t){var n=R.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var Ha=typeof window<"u"?l.useLayoutEffect:l.useEffect,Qn=new WeakMap;function Va(e,t){var n=Wa(null,function(o){return e.forEach(function(r){return Ut(r,o)})});return Ha(function(){var o=Qn.get(n);if(o){var r=new Set(o),s=new Set(e),a=n.current;r.forEach(function(c){s.has(c)||Ut(c,null)}),s.forEach(function(c){r.has(c)||Ut(c,a)})}Qn.set(n,e)},[e]),n}function Ua(e){return e}function Za(e,t){t===void 0&&(t=Ua);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var a=t(s,o);return n.push(a),function(){n=n.filter(function(c){return c!==a})}},assignSyncMedium:function(s){for(o=!0;n.length;){var a=n;n=[],a.forEach(s)}n={push:function(c){return s(c)},filter:function(){return n}}},assignMedium:function(s){o=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(s),a=n}var u=function(){var f=a;a=[],f.forEach(s)},d=function(){return Promise.resolve().then(u)};d(),n={push:function(f){a.push(f),d()},filter:function(f){return a=a.filter(f),n}}}};return r}function Ga(e){e===void 0&&(e={});var t=Za(null);return t.options=ue({async:!0,ssr:!1},e),t}var ar=function(e){var t=e.sideCar,n=ir(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return l.createElement(o,ue({},n))};ar.isSideCarExport=!0;function za(e,t){return e.useMedium(t),ar}var cr=Ga(),Zt=function(){},Rt=l.forwardRef(function(e,t){var n=l.useRef(null),o=l.useState({onScrollCapture:Zt,onWheelCapture:Zt,onTouchMoveCapture:Zt}),r=o[0],s=o[1],a=e.forwardProps,c=e.children,u=e.className,d=e.removeScrollBar,f=e.enabled,h=e.shards,v=e.sideCar,g=e.noRelative,x=e.noIsolation,p=e.inert,m=e.allowPinchZoom,y=e.as,C=y===void 0?"div":y,w=e.gapMode,_=ir(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=v,E=Va([n,t]),S=ue(ue({},_),r);return l.createElement(l.Fragment,null,f&&l.createElement(b,{sideCar:cr,removeScrollBar:d,shards:h,noRelative:g,noIsolation:x,inert:p,setCallbacks:s,allowPinchZoom:!!m,lockRef:n,gapMode:w}),a?l.cloneElement(l.Children.only(c),ue(ue({},S),{ref:E})):l.createElement(C,ue({},S,{className:u,ref:E}),c))});Rt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Rt.classNames={fullWidth:vt,zeroRight:gt};var Ka=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function qa(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ka();return t&&e.setAttribute("nonce",t),e}function Ya(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xa(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Qa=function(){var e=0,t=null;return{add:function(n){e==0&&(t=qa())&&(Ya(t,n),Xa(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ja=function(){var e=Qa();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},lr=function(){var e=Ja(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},ec={left:0,top:0,right:0,gap:0},Gt=function(e){return parseInt(e||"",10)||0},tc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[Gt(n),Gt(o),Gt(r)]},nc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ec;var t=tc(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},oc=lr(),Ve="data-scroll-locked",rc=function(e,t,n,o){var r=e.left,s=e.top,a=e.right,c=e.gap;return n===void 0&&(n="margin"),`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const i=require("react/jsx-runtime"),R=require("react"),Co=require("react-dom");function xo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=xo(R),Et=xo(Co);function yo(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=yo(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function P(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=yo(e))&&(o&&(o+=" "),o+=t);return o}const pi="_avatar_1h8d2_1",hi="_xs_1h8d2_12",mi="_s_1h8d2_18",gi="_m_1h8d2_24",vi="_l_1h8d2_30",Ci="_xl_1h8d2_36",xi="_xxl_1h8d2_42",yi="_image_1h8d2_48",wi="_initials_1h8d2_55",at={avatar:pi,xs:hi,s:mi,m:gi,l:vi,xl:Ci,xxl:xi,image:yi,initials:wi},wo=R.forwardRef(({src:e,firstName:t,lastName:n,size:o="m",alt:r,className:s="",...a},c)=>{const[u,d]=R.useState(!1);R.useEffect(()=>{d(!1)},[e]);const f=()=>{if(!t&&!n)return"";const m=t?.charAt(0).toUpperCase()||"",y=n?.charAt(0).toUpperCase()||"";return`${m}${y}`},h=()=>r!==void 0?r:[t,n].filter(Boolean).join(" ")||"",v=f(),g=h(),x=!!e?.trim()&&!u,p=P(at.avatar,at[o],s);return i.jsx("div",{ref:c,className:p,...a,children:x?i.jsx("img",{src:e,alt:g,className:at.image,onError:()=>d(!0)}):i.jsx("span",{className:at.initials,children:v})})});wo.displayName="Avatar";const _i="_icon_1cxib_1",bi={icon:_i},Hn={XS:12,S:16,M:20,L:24},k=({size:e=24,color:t="currentColor",className:n="",children:o,...r})=>{const s=P(bi.icon,n);return i.jsx("svg",{className:s,width:Hn[e]||e,height:Hn[e]||e,fill:"none",stroke:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",...r,children:o})};k.displayName="Icon";const _o=e=>i.jsxs(k,{...e,children:[i.jsx("circle",{cx:"16.5019",cy:"16.5019",r:"4.50187",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14.0008 7.99805L5.82585 16.173C5.29519 16.7037 4.99707 17.4234 4.99707 18.1739C4.99707 18.9243 5.29519 19.644 5.82585 20.1747V20.1747C6.3565 20.7054 7.07622 21.0035 7.82668 21.0035C8.57714 21.0035 9.29686 20.7054 9.82751 20.1747L12.1931 17.8091",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M2.99609 13.0003L11.5499 4.44645C12.4786 3.5178 13.7381 2.99609 15.0514 2.99609C16.3647 2.99609 17.6242 3.5178 18.5529 4.44645V4.44645C19.4815 5.37509 20.0032 6.6346 20.0032 7.94791C20.0032 9.26121 19.4815 10.5207 18.5529 11.4494L17.8094 12.1928",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M18.0022 16.5022H15.001",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M16.5022 15.001V18.0022",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});_o.displayName="AddMediaIcon";const fn=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M8 10L12 14L16 10",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});fn.displayName="ArrowDownIcon";const bo=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M14 8L10 12L14 16",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});bo.displayName="ArrowLeftIcon";const pn=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M10 16L14 12L10 8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});pn.displayName="ArrowRightIcon";const So=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M16 14L12 10L8 14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});So.displayName="ArrowUpIcon";const hn=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M7 13.5217L11.1667 17L17 7",strokeWidth:"1.5",strokeLinecap:"round"})});hn.displayName="CheckmarkIcon";const nt=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M17 7L7 17",strokeWidth:"1.5",strokeLinecap:"round"}),i.jsx("path",{d:"M7 7L17 17",strokeWidth:"1.5",strokeLinecap:"round"})]});nt.displayName="CrossIcon";const mn=e=>i.jsxs(k,{...e,children:[i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1378 21H7.85782C6.81082 21 5.94082 20.192 5.86282 19.147L4.96582 7H18.9998L18.1328 19.142C18.0578 20.189 17.1868 21 16.1378 21V21Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12 11V17",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M4 7H20",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 7L15.987 4.298C15.694 3.517 14.948 3 14.114 3H9.886C9.052 3 8.306 3.517 8.013 4.298L7 7",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M15.4298 11L14.9998 17",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M8.57016 11L9.00016 17",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});mn.displayName="DeleteIcon";const jo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M12 17V3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M20 21H4",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 12L11.999 17.001L6.99902 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});jo.displayName="DownloadIcon";const Eo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M21 11V19C21 20.105 20.105 21 19 21H5C3.895 21 3 20.105 3 19V5C3 3.895 3.895 3 5 3H13",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.707 6.12125L9.828 17.0002H7V14.1722L17.879 3.29325C18.27 2.90225 18.903 2.90225 19.293 3.29325L20.707 4.70725C21.098 5.09825 21.098 5.73125 20.707 6.12125Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M16.0898 5.08984L18.9098 7.90984",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Eo.displayName="EditIcon";const gn=e=>i.jsxs(k,{viewBox:"0 0 20 20",...e,children:[i.jsx("path",{d:"M10.0002 15.8329C9.29857 15.8329 8.59607 15.6845 7.91357 15.4204",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17.4017 10.3896C15.825 13.3055 12.9125 15.833 10 15.833",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M15.8989 7.43457C16.4748 8.10874 16.9864 8.84374 17.4014 9.61124C17.5323 9.85374 17.5323 10.1479 17.4014 10.3904",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M4.1665 15.8337L15.8332 4.16699",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M8.14424 11.8563C7.11924 10.8313 7.11924 9.16875 8.14424 8.14375C9.16924 7.11875 10.8317 7.11875 11.8567 8.14375",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14.2031 5.79699C12.914 4.79949 11.4565 4.16699 9.99979 4.16699C7.08729 4.16699 4.17479 6.69449 2.59813 9.61116C2.46729 9.85366 2.46729 10.1478 2.59813 10.3903C3.38646 11.8478 4.50813 13.2078 5.79646 14.2045",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]});gn.displayName="EyeIcon";const vn=e=>i.jsxs(k,{viewBox:"0 0 20 20",...e,children:[i.jsx("path",{d:"M2.59817 9.61116C4.17484 6.69449 7.08734 4.16699 9.99984 4.16699C12.9123 4.16699 15.8248 6.69449 17.4015 9.61116C17.5323 9.85366 17.5323 10.1478 17.4015 10.3903C15.8248 13.3062 12.9123 15.8337 9.99984 15.8337C7.08734 15.8337 4.17484 13.3062 2.59817 10.3903C2.46734 10.1478 2.46734 9.85366 2.59817 9.61116Z",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("circle",{cx:"10",cy:"10",r:"2.5",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]});vn.displayName="EyeOffIcon";const Ro=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M18 5H21",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3 5H14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M10 12H21",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3 12H6",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M18 19H21",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3 19H14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17.4142 3.58579C18.1953 4.36684 18.1953 5.63317 17.4142 6.41422C16.6332 7.19527 15.3668 7.19527 14.5858 6.41422C13.8047 5.63317 13.8047 4.36684 14.5858 3.58579C15.3668 2.80474 16.6332 2.80474 17.4142 3.58579",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M9.41422 10.5858C10.1953 11.3668 10.1953 12.6332 9.41422 13.4142C8.63317 14.1953 7.36684 14.1953 6.58579 13.4142C5.80474 12.6332 5.80474 11.3668 6.58579 10.5858C7.36684 9.80474 8.63317 9.80474 9.41422 10.5858",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17.4142 17.5858C18.1953 18.3668 18.1953 19.6332 17.4142 20.4142C16.6332 21.1953 15.3668 21.1953 14.5858 20.4142C13.8047 19.6332 13.8047 18.3668 14.5858 17.5858C15.3668 16.8047 16.6332 16.8047 17.4142 17.5858",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Ro.displayName="FilterIcon";const Lo=e=>i.jsx(k,{...e,children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.19807 7.55934L9.68086 3.49609L13.4357 7.87676L15.8653 5.04219L17.802 7.30168C19.0465 8.75357 19.7305 10.6027 19.7305 12.515V12.7726C19.7305 14.8229 18.9161 16.7892 17.4663 18.239C16.0166 19.6887 14.0503 20.5032 12 20.5032V20.5032C7.73059 20.5032 4.26953 17.0421 4.26953 12.7727V12.7727C4.26953 10.8604 4.95359 9.01124 6.19807 7.55934Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Lo.displayName="FireIcon";const Io=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M5 12H19",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M10 7L5 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M10 17L5 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Io.displayName="LongArrowLeftIcon";const ko=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M19 12H5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14 17L19 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14 7L19 12",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});ko.displayName="LongArrowRightIcon";const No=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M12 7V17",strokeWidth:"1.5",strokeLinecap:"round"}),i.jsx("path",{d:"M7 12H17",strokeWidth:"1.5",strokeLinecap:"round"})]});No.displayName="PlusIcon";const Po=e=>i.jsx(k,{...e,children:i.jsx("path",{d:"M16.1176 17.6558C17.8646 16.383 19 14.3213 19 11.9944C19 8.1284 15.866 4.99439 12 4.99439H11.5882M12 18.9944C8.13401 18.9944 5 15.8604 5 11.9944C5 9.66748 6.13537 7.60575 7.88235 6.33296M11.1765 20.5591L12.8235 18.912L11.1765 17.265M12.8235 6.7238L11.1765 5.07675L12.8235 3.42969",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Po.displayName="RegenerateIcon";const Ao=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M15.7138 6.8382C18.1647 9.28913 18.1647 13.2629 15.7138 15.7138C13.2629 18.1647 9.28913 18.1647 6.8382 15.7138C4.38727 13.2629 4.38727 9.28913 6.8382 6.8382C9.28913 4.38727 13.2629 4.38727 15.7138 6.8382",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M19 19L15.71 15.71",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Ao.displayName="SearchIcon";const Mo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M16.066 12.1193H11.4141",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("circle",{cx:"12.0174",cy:"11.5164",r:"9.00375",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M11.4143 12.1192V6.51465",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Mo.displayName="TimeIcon";const Cn=e=>i.jsx(k,{...e,viewBox:"0 0 17 16",children:i.jsx("path",{d:"M5.83203 8.00016H11.1654M8.4987 10.6668V5.3335M8.4987 14.6668C12.1654 14.6668 15.1654 11.6668 15.1654 8.00016C15.1654 4.3335 12.1654 1.3335 8.4987 1.3335C4.83203 1.3335 1.83203 4.3335 1.83203 8.00016C1.83203 11.6668 4.83203 14.6668 8.4987 14.6668Z",strokeOpacity:"1",strokeLinecap:"round",strokeLinejoin:"round"})});Cn.displayName="AddIcon";const To=e=>i.jsx(k,{...e,fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M17.2426 11.5628C17.2679 14.2868 19.6322 15.1933 19.6584 15.2048C19.6384 15.2687 19.2806 16.4966 18.4128 17.7649C17.6625 18.8615 16.8839 19.9539 15.6573 19.9766C14.4521 19.9988 14.0645 19.2619 12.6866 19.2619C11.309 19.2619 10.8785 19.954 9.73755 19.9988C8.55357 20.0436 7.65196 18.8131 6.89552 17.7206C5.34977 15.4858 4.1685 11.4057 5.75465 8.65155C6.54262 7.28383 7.95077 6.41773 9.4792 6.39552C10.6418 6.37334 11.7392 7.1777 12.4499 7.1777C13.1603 7.1777 14.4938 6.21039 15.8957 6.35245C16.4826 6.37688 18.13 6.58952 19.1879 8.13794C19.1026 8.19078 17.2222 9.28549 17.2426 11.5628ZM14.9775 4.87397C15.606 4.1131 16.0291 3.0539 15.9137 2C15.0076 2.03642 13.912 2.60377 13.2621 3.36422C12.6797 4.03763 12.1696 5.11548 12.3073 6.14852C13.3172 6.22665 14.3489 5.63532 14.9775 4.87397Z"})});To.displayName="AppleIcon";const Oo=e=>i.jsx(k,{...e,fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M18 3C20.2099 3 21.9999 4.77985 22 6.96973V17.0303C21.9999 19.2201 20.2099 21 18 21H6C3.79009 21 2.00015 19.2201 2 17.0303V6.96973C2.00015 4.77985 3.79009 3 6 3H18ZM4.75 15C4.33579 15 4 15.3358 4 15.75C4 16.1642 4.33579 16.5 4.75 16.5H19.25C19.6642 16.5 20 16.1642 20 15.75C20 15.3358 19.6642 15 19.25 15H4.75ZM4.75 11C4.33579 11 4 11.3358 4 11.75C4 12.1642 4.33579 12.5 4.75 12.5H19.25C19.6642 12.5 20 12.1642 20 11.75C20 11.3358 19.6642 11 19.25 11H4.75ZM4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5H19.25C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7H4.75Z",fillOpacity:"0.3"})});Oo.displayName="BackPhotoIcon";const Do=e=>i.jsxs(k,{...e,viewBox:"0 0 16 16",fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M11.1681 2.3735V1.3335C11.1681 1.06016 10.9415 0.833496 10.6681 0.833496C10.3948 0.833496 10.1681 1.06016 10.1681 1.3335V2.3335H5.83479V1.3335C5.83479 1.06016 5.60812 0.833496 5.33479 0.833496C5.06145 0.833496 4.83479 1.06016 4.83479 1.3335V2.3735C3.03479 2.54016 2.16145 3.6135 2.02812 5.20683C2.01479 5.40016 2.17479 5.56016 2.36145 5.56016H13.6415C13.8348 5.56016 13.9948 5.3935 13.9748 5.20683C13.8415 3.6135 12.9681 2.54016 11.1681 2.3735Z",fillOpacity:"0.3"}),i.jsx("path",{d:"M13.3333 6.56006H2.66667C2.3 6.56006 2 6.86006 2 7.22673V11.3334C2 13.3334 3 14.6667 5.33333 14.6667H10.6667C13 14.6667 14 13.3334 14 11.3334V7.22673C14 6.86006 13.7 6.56006 13.3333 6.56006ZM6.14 12.1401C6.10667 12.1667 6.07333 12.2001 6.04 12.2201C6 12.2467 5.96 12.2667 5.92 12.2801C5.88 12.3001 5.84 12.3134 5.8 12.3201C5.75333 12.3267 5.71333 12.3334 5.66667 12.3334C5.58 12.3334 5.49333 12.3134 5.41333 12.2801C5.32667 12.2467 5.26 12.2001 5.19333 12.1401C5.07333 12.0134 5 11.8401 5 11.6667C5 11.4934 5.07333 11.3201 5.19333 11.1934C5.26 11.1334 5.32667 11.0867 5.41333 11.0534C5.53333 11.0001 5.66667 10.9867 5.8 11.0134C5.84 11.0201 5.88 11.0334 5.92 11.0534C5.96 11.0667 6 11.0867 6.04 11.1134C6.07333 11.1401 6.10667 11.1667 6.14 11.1934C6.26 11.3201 6.33333 11.4934 6.33333 11.6667C6.33333 11.8401 6.26 12.0134 6.14 12.1401ZM6.14 9.80673C6.01333 9.92673 5.84 10.0001 5.66667 10.0001C5.49333 10.0001 5.32 9.92673 5.19333 9.80673C5.07333 9.68006 5 9.50673 5 9.33339C5 9.16006 5.07333 8.98673 5.19333 8.86006C5.38 8.67339 5.67333 8.61339 5.92 8.72006C6.00667 8.75339 6.08 8.80006 6.14 8.86006C6.26 8.98673 6.33333 9.16006 6.33333 9.33339C6.33333 9.50673 6.26 9.68006 6.14 9.80673ZM8.47333 12.1401C8.34667 12.2601 8.17333 12.3334 8 12.3334C7.82667 12.3334 7.65333 12.2601 7.52667 12.1401C7.40667 12.0134 7.33333 11.8401 7.33333 11.6667C7.33333 11.4934 7.40667 11.3201 7.52667 11.1934C7.77333 10.9467 8.22667 10.9467 8.47333 11.1934C8.59333 11.3201 8.66667 11.4934 8.66667 11.6667C8.66667 11.8401 8.59333 12.0134 8.47333 12.1401ZM8.47333 9.80673C8.44 9.83339 8.40667 9.86006 8.37333 9.88673C8.33333 9.91339 8.29333 9.93339 8.25333 9.94673C8.21333 9.96673 8.17333 9.98006 8.13333 9.98672C8.08667 9.99339 8.04667 10.0001 8 10.0001C7.82667 10.0001 7.65333 9.92673 7.52667 9.80673C7.40667 9.68006 7.33333 9.50673 7.33333 9.33339C7.33333 9.16006 7.40667 8.98673 7.52667 8.86006C7.58667 8.80006 7.66 8.75339 7.74667 8.72006C7.99333 8.61339 8.28667 8.67339 8.47333 8.86006C8.59333 8.98673 8.66667 9.16006 8.66667 9.33339C8.66667 9.50673 8.59333 9.68006 8.47333 9.80673ZM10.8067 12.1401C10.68 12.2601 10.5067 12.3334 10.3333 12.3334C10.16 12.3334 9.98667 12.2601 9.86 12.1401C9.74 12.0134 9.66667 11.8401 9.66667 11.6667C9.66667 11.4934 9.74 11.3201 9.86 11.1934C10.1067 10.9467 10.56 10.9467 10.8067 11.1934C10.9267 11.3201 11 11.4934 11 11.6667C11 11.8401 10.9267 12.0134 10.8067 12.1401ZM10.8067 9.80673C10.7733 9.83339 10.74 9.86006 10.7067 9.88673C10.6667 9.91339 10.6267 9.93339 10.5867 9.94673C10.5467 9.96673 10.5067 9.98006 10.4667 9.98672C10.42 9.99339 10.3733 10.0001 10.3333 10.0001C10.16 10.0001 9.98667 9.92673 9.86 9.80673C9.74 9.68006 9.66667 9.50673 9.66667 9.33339C9.66667 9.16006 9.74 8.98673 9.86 8.86006C9.92667 8.80006 9.99333 8.75339 10.08 8.72006C10.2 8.66673 10.3333 8.65339 10.4667 8.68006C10.5067 8.68673 10.5467 8.70006 10.5867 8.72006C10.6267 8.73339 10.6667 8.75339 10.7067 8.78006C10.74 8.80673 10.7733 8.83339 10.8067 8.86006C10.9267 8.98673 11 9.16006 11 9.33339C11 9.50673 10.9267 9.68006 10.8067 9.80673Z",fillOpacity:"0.3"})]});Do.displayName="CalendarIcon";const Fo=e=>i.jsx(k,{...e,viewBox:"0 0 16 16",children:i.jsx("path",{d:"M5.33337 7.99992H10.6667M8.00004 10.6666V5.33325M8.00004 14.6666C11.6667 14.6666 14.6667 11.6666 14.6667 7.99992C14.6667 4.33325 11.6667 1.33325 8.00004 1.33325C4.33337 1.33325 1.33337 4.33325 1.33337 7.99992C1.33337 11.6666 4.33337 14.6666 8.00004 14.6666Z",strokeOpacity:"1",strokeLinecap:"round",strokeLinejoin:"round"})});Fo.displayName="CircleAddIcon";const Bo=e=>i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",...e,children:[i.jsxs("g",{clipPath:"url(#clip0_1572_4119)",children:[i.jsx("path",{d:"M19.9996 9.71393C19.9996 9.81121 19.9977 9.90561 19.9957 10.001C19.9937 10.0616 19.9917 10.1214 19.9887 10.1801C19.7379 15.3275 15.3636 19.4269 10.0006 19.4269C4.63769 19.4269 0.262441 15.3285 0.0105573 10.1801C0.00659059 10.1214 0.00460725 10.0616 0.00460725 10.001C0.000640567 9.90561 -0.00134277 9.81025 -0.00134277 9.71393C-0.000351103 4.34887 4.47704 0 10.0006 0C15.5242 0 19.9996 4.34887 19.9996 9.71393Z",fill:"#FFD60B"}),i.jsx("path",{d:"M20 10.2861C20 15.6511 15.5246 20 10.001 20C4.47739 20 0 15.6511 0 10.2861C0 10.1907 0.00198334 10.0954 0.00595002 10.001C0.00595002 10.0617 0.00793336 10.1214 0.0119 10.1801C0.262793 15.3275 4.63903 19.4269 10.002 19.4269C15.3649 19.4269 19.7382 15.3275 19.9901 10.1801C19.9941 10.1214 19.996 10.0617 19.997 10.001C19.999 10.0963 20.001 10.1917 20.001 10.2861H20Z",fill:"#FFD60B"}),i.jsx("g",{style:{mixBlendMode:"multiply"},opacity:"0.6",children:i.jsx("path",{d:"M20 10.2861C20 15.6511 15.5246 20 10.001 20C4.47739 20 0 15.6511 0 10.2861C0 10.1907 0.00198334 10.0954 0.00595002 10.001C0.00595002 10.0617 0.00793336 10.1214 0.0119 10.1801C0.262793 15.3275 4.63903 19.4269 10.002 19.4269C15.3649 19.4269 19.7382 15.3275 19.9901 10.1801C19.9941 10.1214 19.996 10.0617 19.997 10.001C19.999 10.0963 20.001 10.1917 20.001 10.2861H20Z",fill:"#FFD60B"})}),i.jsx("g",{style:{mixBlendMode:"multiply"},opacity:"0.38",children:i.jsx("path",{d:"M17.9651 9.71403C17.9651 9.82673 17.9631 9.93942 17.9572 10.0521C17.7747 14.1669 14.283 17.4486 10.001 17.4486C5.71895 17.4486 2.22629 14.1669 2.04382 10.0521C2.03787 9.93942 2.03589 9.82673 2.03589 9.71403C2.03589 5.44222 5.60293 1.97949 10.001 1.97949C14.399 1.97949 17.9641 5.44222 17.9641 9.71403H17.9651Z",fill:"#FFD60B"})}),i.jsx("path",{d:"M17.9581 10.0522C17.7757 14.167 14.284 17.4486 10.002 17.4486C5.71994 17.4486 2.22629 14.167 2.04382 10.0522C2.22431 5.93545 5.71895 2.65381 10.002 2.65381C14.285 2.65381 17.7777 5.93545 17.9581 10.0522Z",fill:"#FDD300"}),i.jsx("g",{opacity:"0.15",children:Array.from({length:60}).map((t,n)=>{const o=n*Math.PI/30,r=10+9.5*Math.cos(o),s=10-9.5*Math.sin(o),a=10+7.5*Math.cos(o),c=10-7.5*Math.sin(o);return i.jsx("path",{d:`M${r.toFixed(4)} ${s.toFixed(4)}L${a.toFixed(4)} ${c.toFixed(4)}`,stroke:"black",strokeWidth:"3.53",strokeMiterlimit:"10"},n)})}),i.jsx("g",{filter:"url(#filter0_d_1572_4119)",children:i.jsx("path",{d:"M9.43954 6.13562C9.6688 5.67109 10.3312 5.67109 10.5605 6.13562L11.324 7.68281C11.4151 7.86727 11.5911 7.99513 11.7946 8.02471L13.5021 8.27281C14.0147 8.3473 14.2194 8.97728 13.8484 9.33887L12.6129 10.5432C12.4656 10.6868 12.3984 10.8936 12.4332 11.0964L12.7248 12.7969C12.8124 13.3075 12.2765 13.6968 11.818 13.4558L10.2908 12.6529C10.1088 12.5572 9.89124 12.5572 9.70916 12.6529L8.18199 13.4558C7.72348 13.6968 7.18758 13.3075 7.27515 12.7969L7.56681 11.0964C7.60159 10.8936 7.53437 10.6868 7.38707 10.5432L6.15156 9.33887C5.78061 8.97728 5.98531 8.3473 6.49794 8.27281L8.20537 8.02471C8.40894 7.99513 8.58492 7.86727 8.67596 7.68281L9.43954 6.13562Z",fill:"#FFFBE7"})})]}),i.jsxs("defs",{children:[i.jsxs("filter",{id:"filter0_d_1572_4119",x:"1.96216",y:"2.78711",width:"16.0757",height:"15.7417",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.jsx("feOffset",{dy:"1"}),i.jsx("feGaussianBlur",{stdDeviation:"2"}),i.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),i.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),i.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1572_4119"}),i.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1572_4119",result:"shape"})]}),i.jsx("clipPath",{id:"clip0_1572_4119",children:i.jsx("rect",{width:"20",height:"20",fill:"white"})})]})]});Bo.displayName="CoinIcon";const $o=e=>i.jsx(k,{...e,viewBox:"0 0 20 18",fill:"currentColor",stroke:"none",children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6667 0H3.33333C1.49333 0 0 1.49333 0 3.33333V14.6667C0 16.5067 1.49333 18 3.33333 18H16.6667C18.5067 18 20 16.5067 20 14.6667V3.33333C20 1.49333 18.5067 0 16.6667 0ZM3.33333 1.66667H16.6667C17.5867 1.66667 18.3333 2.41333 18.3333 3.33333V10.8333L14.1667 6.66667C13.5067 6.00667 12.4933 6.00667 11.8333 6.66667L6.66667 11.8333L5.16667 10.3333C4.50667 9.67333 3.49333 9.67333 2.83333 10.3333L1.66667 11.5V3.33333C1.66667 2.41333 2.41333 1.66667 3.33333 1.66667Z"})});$o.displayName="DocumentBackIcon";const Wo=e=>i.jsxs(k,{...e,viewBox:"0 0 16 16",fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M14 14.667H2C1.72667 14.667 1.5 14.4403 1.5 14.167C1.5 13.8937 1.72667 13.667 2 13.667H14C14.2733 13.667 14.5 13.8937 14.5 14.167C14.5 14.4403 14.2733 14.667 14 14.667Z"}),i.jsx("path",{d:"M12.68 2.32043C11.3867 1.0271 10.12 0.993764 8.79334 2.32043L7.98668 3.1271C7.92001 3.19376 7.89334 3.30043 7.92001 3.39376C8.42668 5.16043 9.84001 6.57376 11.6067 7.08043C11.6333 7.0871 11.66 7.09376 11.6867 7.09376C11.76 7.09376 11.8267 7.0671 11.88 7.01376L12.68 6.2071C13.34 5.55376 13.66 4.92043 13.66 4.28043C13.6667 3.62043 13.3467 2.98043 12.68 2.32043Z"}),i.jsx("path",{d:"M10.4067 7.68678C10.2133 7.59345 10.0267 7.50011 9.84668 7.39345C9.70001 7.30678 9.56001 7.21345 9.42001 7.11345C9.30668 7.04011 9.17334 6.93345 9.04667 6.82678C9.03334 6.82011 8.98667 6.78011 8.93334 6.72678C8.71334 6.54011 8.46668 6.30011 8.24668 6.03345C8.22668 6.02011 8.19334 5.97345 8.14668 5.91345C8.08001 5.83345 7.96668 5.70011 7.86668 5.54678C7.78668 5.44678 7.69334 5.30011 7.60668 5.15345C7.50001 4.97345 7.40668 4.79345 7.31334 4.60678C7.19097 4.34455 6.8468 4.26666 6.64218 4.47127L2.89334 8.22011C2.80668 8.30678 2.72668 8.47345 2.70668 8.58678L2.34668 11.1401C2.28001 11.5934 2.40668 12.0201 2.68668 12.3068C2.92668 12.5401 3.26001 12.6668 3.62001 12.6668C3.70001 12.6668 3.78001 12.6601 3.86001 12.6468L6.42001 12.2868C6.54001 12.2668 6.70668 12.1868 6.78668 12.1001L10.5417 8.34509C10.7422 8.14456 10.6669 7.79954 10.4067 7.68678Z"})]});Wo.displayName="EditIDIcon";const Ho=e=>i.jsx(k,{...e,fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M18 3H6C3.79 3 2 4.78 2 6.97V17.03C2 19.22 3.79 21 6 21H18C20.21 21 22 19.22 22 17.03V6.97C22 4.78 20.21 3 18 3ZM8.5 7.17C9.77 7.17 10.81 8.21 10.81 9.48C10.81 10.75 9.77 11.79 8.5 11.79C7.23 11.79 6.19 10.75 6.19 9.48C6.19 8.21 7.23 7.17 8.5 7.17ZM12.37 16.66C12.28 16.76 12.14 16.82 12 16.82H5C4.86 16.82 4.72 16.76 4.63 16.66C4.54 16.56 4.49 16.42 4.5 16.28C4.67 14.6 6.01 13.27 7.69 13.11C8.22 13.06 8.77 13.06 9.3 13.11C10.98 13.27 12.33 14.6 12.49 16.28C12.51 16.42 12.46 16.56 12.37 16.66ZM19 16.75H17C16.59 16.75 16.25 16.41 16.25 16C16.25 15.59 16.59 15.25 17 15.25H19C19.41 15.25 19.75 15.59 19.75 16C19.75 16.41 19.41 16.75 19 16.75ZM19 12.75H15C14.59 12.75 14.25 12.41 14.25 12C14.25 11.59 14.59 11.25 15 11.25H19C19.41 11.25 19.75 11.59 19.75 12C19.75 12.41 19.41 12.75 19 12.75ZM19 8.75H14C13.59 8.75 13.25 8.41 13.25 8C13.25 7.59 13.59 7.25 14 7.25H19C19.41 7.25 19.75 7.59 19.75 8C19.75 8.41 19.41 8.75 19 8.75Z",fillOpacity:"0.3"})});Ho.displayName="FrontPhotoIcon";const Vo=e=>i.jsxs(k,{...e,fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M6.98916 13.8775L6.36261 16.2165L4.07258 16.2649C3.38819 14.9955 3 13.5432 3 11.9998C3 10.5074 3.36295 9.10006 4.00631 7.86084H4.0068L6.04557 8.23462L6.93868 10.2612C6.75175 10.8061 6.64987 11.3911 6.64987 11.9998C6.64994 12.6605 6.76961 13.2935 6.98916 13.8775Z"}),i.jsx("path",{d:"M20.8441 10.3184C20.9474 10.8628 21.0013 11.425 21.0013 11.9997C21.0013 12.644 20.9336 13.2725 20.8045 13.8788C20.3664 15.9419 19.2216 17.7433 17.6358 19.0182L17.6353 19.0177L15.0673 18.8866L14.7039 16.6178C15.7562 16.0007 16.5785 15.0349 17.0117 13.8788H12.1992V10.3184H17.0819H20.8441Z"}),i.jsx("path",{d:"M17.6335 19.0183L17.634 19.0188C16.0917 20.2585 14.1324 21.0002 11.9996 21.0002C8.57225 21.0002 5.59238 19.0845 4.07227 16.2654L6.98885 13.8779C7.74889 15.9064 9.70564 17.3503 11.9996 17.3503C12.9857 17.3503 13.9094 17.0838 14.7021 16.6185L17.6335 19.0183Z"}),i.jsx("path",{d:"M17.7442 5.07196L14.8286 7.45892C14.0082 6.94613 13.0384 6.64991 11.9995 6.64991C9.65358 6.64991 7.66023 8.16011 6.93826 10.2613L4.00635 7.86096H4.00586C5.50372 4.97307 8.52117 3 11.9995 3C14.1832 3 16.1855 3.77786 17.7442 5.07196Z"})]});Vo.displayName="GoogleIcon";const xn=e=>i.jsxs(k,{...e,viewBox:"0 0 70 26",fill:"currentColor",stroke:"currentColor",children:[i.jsxs("g",{clipPath:"url(#clip0_2001_2826)",children:[i.jsx("path",{d:"M54.6387 6.10254H56.608L56.7154 6.33976L54.8535 6.55874L54.6387 6.10254Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.7113 6.22997C54.7292 6.30296 56.1256 9.33216 57.8085 13L60.8698 19.6424L60.3149 20.7555C59.4197 22.5621 58.6499 23.1825 57.3072 23.1825C56.5553 23.1825 55.7854 22.9271 55.2305 22.5073L54.8008 22.1789L54.2816 22.9453C53.8877 23.5657 53.8519 23.4198 54.031 23.5657C54.3353 23.8212 55.3916 24.4781 56.0719 24.6241C57.2177 24.8796 58.3993 24.7884 59.366 24.3504C59.9926 24.0584 60.8519 23.2555 61.2995 22.5256C61.5681 22.1059 68.8724 6.30296 68.8724 6.15698C68.8724 6.13873 68.4606 6.12048 67.9594 6.12048H67.0463L64.4683 11.8139C63.054 14.9526 61.8545 17.5073 61.8366 17.5073C61.8008 17.5073 60.6192 14.9343 59.2049 11.7957L56.6269 6.08398H55.6422C54.8903 6.10223 54.6755 6.13873 54.7113 6.22997Z",strokeWidth:"1.36061"}),i.jsx("path",{d:"M68.9263 6.10254H67.0465L66.957 6.33976L68.7294 6.55874L68.9263 6.10254Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.3394 6.15738C33.9251 6.44935 32.833 7.06978 31.7588 8.16467C29.7358 10.245 29.2704 13.2924 30.5952 15.9566C30.9711 16.7048 31.186 17.015 31.9021 17.7085C32.6361 18.4384 32.9046 18.6209 33.7103 18.9858C35.1604 19.661 36.2166 19.8253 37.7921 19.6428C39.5108 19.442 40.7998 18.9858 41.7128 18.2559L42.0888 17.9457L41.7486 17.672C41.5696 17.526 41.301 17.307 41.1578 17.2158L40.9072 17.0333L40.5133 17.307C39.3854 18.1099 37.0402 18.4931 35.5542 18.1282C34.5338 17.8727 33.9251 17.526 33.1195 16.7413C32.4033 16.0296 31.8126 15.172 31.9558 15.026C31.9916 14.9895 34.1757 14.3143 36.7895 13.5296C39.4033 12.745 41.8023 11.9968 42.0888 11.8508C42.3752 11.7048 42.7691 11.4676 42.9481 11.2851C43.2524 10.9931 43.2704 10.9384 43.2345 10.4822C43.145 9.3873 42.1425 8.00044 40.8893 7.17927C39.3675 6.23037 37.076 5.79241 35.3394 6.15738ZM35.4289 7.61723C33.1553 8.21942 31.5798 10.2267 31.4545 12.7085C31.4366 13.2194 31.4366 13.6574 31.4903 13.6574C31.7409 13.6574 41.2115 10.7559 41.4264 10.6099L41.677 10.4457L41.3548 9.88C40.5491 8.4019 38.723 7.453 36.7537 7.47125C36.3062 7.47125 35.7154 7.54424 35.4289 7.61723Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47.9258 10.0803V19.6606H48.8746H49.8235V10.0803V0.5H48.8746H47.9258V10.0803Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.716797 2.58045V3.40161H3.99301H7.26923V11.6315V19.8432H8.27178H9.27434V11.6315V3.40161H12.4968H15.7194V2.58045V1.75928H8.21808H0.716797V2.58045Z",strokeWidth:"1.36061"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.1716 6.08373C23.7752 6.32096 22.4683 7.10563 21.7701 8.16402L21.4478 8.63848L21.412 7.36111L21.3762 6.08373H20.4811H19.5859V12.8538V19.6239H20.5169H21.4478L21.4836 15.5363C21.5194 11.1385 21.5373 11.0107 22.0923 9.91585C22.7547 8.60198 24.2765 7.74432 25.9593 7.72607H26.6217V6.88665V6.01074L25.9951 6.02899C25.6908 6.02899 25.2969 6.06549 25.1716 6.08373Z",strokeWidth:"1.36061"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_2001_2826",children:i.jsx("rect",{width:"70",height:"25",fill:"white",transform:"translate(0 0.5)"})})})]});xn.displayName="LogoIcon";const Uo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M8 5H6C4.895 5 4 5.895 4 7V17C4 18.105 4.895 19 6 19H8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.431 20.952L18.431 19.848C19.348 19.646 20 18.833 20 17.895V6.10497C20 5.16697 19.348 4.35397 18.431 4.15197L13.431 3.04797C12.183 2.77197 11 3.72197 11 5.00097V19C11 20.278 12.183 21.228 13.431 20.952V20.952Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14 11V13",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});Uo.displayName="LogOutIcon";const Zo=e=>i.jsx(k,{...e,children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.43585 17.3875C4.36402 16.1368 3.06975 13.919 3 11.5C3 7.35785 7.02942 4 12 4C16.9706 4 21 7.35785 21 11.5C21 15.6421 16.9706 19 12 19C11.3024 18.9982 10.6066 18.9282 9.92255 18.7911C8.97395 19.5017 7.91992 20.0594 6.79877 20.4438C6.3876 20.5752 5.93864 20.4266 5.6869 20.076C5.43517 19.7254 5.43797 19.2525 5.69385 18.9049C6.02522 18.4447 6.27611 17.9316 6.43585 17.3875Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Zo.displayName="MsgIcon";const Go=e=>i.jsxs(k,{...e,fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M17 21.25H7C3.35 21.25 1.25 19.15 1.25 15.5V8.5C1.25 4.85 3.35 2.75 7 2.75H17C20.65 2.75 22.75 4.85 22.75 8.5V15.5C22.75 19.15 20.65 21.25 17 21.25ZM7 4.25C4.14 4.25 2.75 5.64 2.75 8.5V15.5C2.75 18.36 4.14 19.75 7 19.75H17C19.86 19.75 21.25 18.36 21.25 15.5V8.5C21.25 5.64 19.86 4.25 17 4.25H7Z"}),i.jsx("path",{d:"M8 10.75C6.96 10.75 6.11 9.9 6.11 8.86C6.11 7.82 6.96 6.97 8 6.97C9.04 6.97 9.89 7.82 9.89 8.86C9.89 9.9 9.04 10.75 8 10.75ZM8 8.47C7.78 8.47 7.61 8.64 7.61 8.86C7.61 9.08 7.78 9.25 8 9.25C8.22 9.25 8.39 9.08 8.39 8.86C8.39 8.64 8.22 8.47 8 8.47Z"}),i.jsx("path",{d:"M12 16.75H4.66C4.25 16.75 3.91 16.41 3.91 16C3.91 15.01 4.66 14.04 6.04 13.45C7.02 13.02 8.19 12.8 8.44 12.76C8.85 12.69 9.23 12.97 9.3 13.38C9.37 13.79 9.09 14.17 8.68 14.24C8.53 14.26 7.56 14.45 6.75 14.8C6.05 15.11 5.59 15.51 5.41 15.81C6.17 15.78 6.98 15.74 7.85 15.74H12C12.41 15.74 12.75 16.08 12.75 16.49C12.75 16.9 12.41 17.24 12 17.24V16.75Z"}),i.jsx("path",{d:"M14.5 11.75H12.5C12.09 11.75 11.75 11.41 11.75 11C11.75 10.59 12.09 10.25 12.5 10.25H14.5C14.91 10.25 15.25 10.59 15.25 11C15.25 11.41 14.91 11.75 14.5 11.75Z"}),i.jsx("path",{d:"M19.5 15.75H12.5C12.09 15.75 11.75 15.41 11.75 15C11.75 14.59 12.09 14.25 12.5 14.25H19.5C19.91 14.25 20.25 14.59 20.25 15C20.25 15.41 19.91 15.75 19.5 15.75Z"})]});Go.displayName="PersonalcardIcon";const zo=e=>i.jsxs(k,{...e,viewBox:"0 0 16 16",children:[i.jsx("path",{d:"M10.7344 7.1955L12.6657 5.26483L10.7344 3.3335",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M3.33203 5.26693H12.6654",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M5.26336 8.80469L3.33203 10.7354L5.26336 12.6667",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12.6654 10.7337H3.33203",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]});zo.displayName="ReverseIcon";const Ko=e=>i.jsx(k,{...e,viewBox:"0 0 14 13",fill:"currentColor",stroke:"none",children:i.jsx("path",{d:"M6.10326 0.816985C6.47008 0.0737389 7.52992 0.0737404 7.89674 0.816986L9.11847 3.29249C9.26413 3.58763 9.5457 3.7922 9.87141 3.83953L12.6033 4.2365C13.4235 4.35568 13.751 5.36365 13.1575 5.94219L11.1807 7.8691C10.945 8.09884 10.8375 8.42984 10.8931 8.75423L11.3598 11.4751C11.4999 12.292 10.6424 12.9149 9.90881 12.5293L7.46534 11.2446C7.17402 11.0915 6.82598 11.0915 6.53466 11.2446L4.09119 12.5293C3.35756 12.9149 2.50013 12.292 2.64024 11.4751L3.1069 8.75423C3.16254 8.42984 3.05499 8.09884 2.81931 7.8691L0.842496 5.94219C0.248979 5.36365 0.576491 4.35568 1.39671 4.2365L4.12859 3.83953C4.4543 3.7922 4.73587 3.58763 4.88153 3.29249L6.10326 0.816985Z"})});Ko.displayName="StarIcon";const yn=e=>i.jsx(k,{...e,viewBox:"0 0 16 14",fill:"white",stroke:"none",children:i.jsx("path",{d:"M1.09992 5.70829C5.39487 3.83705 8.25885 2.60341 9.69185 2.00738C13.7834 0.30558 14.6335 0.00996026 15.1877 9.46359e-05C15.3095 -0.00194823 15.582 0.0282562 15.7586 0.171489C15.9076 0.292432 15.9486 0.455809 15.9683 0.570476C15.9879 0.685143 16.0123 0.946358 15.9929 1.15046C15.7712 3.48009 14.8118 9.13349 14.3237 11.7427C14.1172 12.8468 13.7105 13.217 13.3168 13.2532C12.4613 13.3319 11.8116 12.6878 10.9829 12.1446C9.68624 11.2946 8.95369 10.7654 7.69503 9.936C6.24042 8.97744 7.18338 8.4506 8.01236 7.58959C8.22931 7.36426 11.999 3.93546 12.0719 3.62441C12.0811 3.58551 12.0895 3.44051 12.0034 3.36394C11.9172 3.28737 11.7901 3.31355 11.6983 3.33438C11.5683 3.36389 9.4968 4.73307 5.48389 7.4419C4.89591 7.84565 4.36333 8.04237 3.88616 8.03207C3.36012 8.0207 2.34822 7.73463 1.59598 7.49011C0.673328 7.19019 -0.0599784 7.03162 0.00387615 6.52227C0.0371355 6.25697 0.402482 5.98564 1.09992 5.70829Z"})});yn.displayName="Tg2Icon";const Yo=e=>i.jsxs(k,{...e,fill:"currentColor",stroke:"none",children:[i.jsx("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"}),i.jsx("path",{d:"M9.0918 12.658L10.1596 15.6135C10.1596 15.6135 10.2931 15.89 10.436 15.89C10.579 15.89 12.7051 13.6781 12.7051 13.6781L15.0695 9.11133L9.1299 11.8951L9.0918 12.658Z"}),i.jsx("path",{d:"M10.5093 13.416L10.3044 15.5945C10.3044 15.5945 10.2186 16.262 10.8859 15.5945C11.5533 14.927 12.192 14.4122 12.192 14.4122",fill:"#393939",fillOpacity:"0.1"}),i.jsx("path",{d:"M9.1119 12.7632L6.91545 12.0476C6.91545 12.0476 6.65295 11.9411 6.73747 11.6996C6.75487 11.6498 6.78997 11.6074 6.89497 11.5346C7.38165 11.1953 15.9029 8.13257 15.9029 8.13257C15.9029 8.13257 16.1435 8.0515 16.2854 8.10542C16.3205 8.11629 16.3521 8.13628 16.377 8.16336C16.4018 8.19044 16.419 8.22364 16.4268 8.25955C16.4421 8.32297 16.4485 8.38823 16.4458 8.45342C16.4452 8.50982 16.4383 8.5621 16.4332 8.64407C16.3813 9.48145 14.8282 15.731 14.8282 15.731C14.8282 15.731 14.7352 16.0967 14.4023 16.1093C14.3205 16.1119 14.239 16.0981 14.1626 16.0685C14.0863 16.039 14.0167 15.9944 13.9579 15.9374C13.3046 15.3754 11.0465 13.8578 10.5475 13.5241C10.5363 13.5164 10.5268 13.5064 10.5197 13.4948C10.5127 13.4831 10.5082 13.4701 10.5066 13.4566C10.4996 13.4214 10.5379 13.3778 10.5379 13.3778C10.5379 13.3778 14.4698 9.88285 14.5744 9.51595C14.5825 9.48752 14.5519 9.4735 14.5108 9.48595C14.2497 9.58202 9.72255 12.4409 9.2229 12.7565C9.18693 12.7674 9.14892 12.7697 9.1119 12.7632Z",fill:"#EBEBEB"})]});Yo.displayName="TgIcon";const qo=e=>i.jsxs(k,{...e,children:[i.jsx("path",{d:"M17.7633 18.91L17.4133 18.031C17.2363 17.585 16.9613 17.185 16.6093 16.859L16.5453 16.8C15.9913 16.286 15.2633 16 14.5073 16H9.49333C8.73733 16 8.00933 16.286 7.45433 16.799L7.39033 16.859C7.03833 17.185 6.76433 17.585 6.58633 18.031L6.23633 18.91",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M14.4749 7.44713C15.8417 8.81397 15.8417 11.03 14.4749 12.3969C13.108 13.7637 10.892 13.7637 9.52513 12.3969C8.15829 11.03 8.15829 8.81397 9.52513 7.44713C10.892 6.08029 13.108 6.08029 14.4749 7.44713",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M18.3639 5.63604C21.8787 9.15076 21.8787 14.8492 18.3639 18.3639C14.8492 21.8787 9.15074 21.8787 5.63604 18.3639C2.12132 14.8492 2.12132 9.15074 5.63604 5.63604C9.15076 2.12132 14.8492 2.12132 18.3639 5.63604",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});qo.displayName="UserIcon";const Xo=e=>i.jsxs(k,{...e,viewBox:"0 0 20 20",fill:"currentColor",stroke:"none",children:[i.jsxs("g",{clipPath:"url(#clip0_384_5149)",children:[i.jsx("path",{d:"M0 9.6C0 5.0745 0 2.81177 1.40589 1.40589C2.81177 0 5.0745 0 9.6 0H10.4C14.9255 0 17.1882 0 18.5941 1.40589C20 2.81177 20 5.0745 20 9.6V10.4C20 14.9255 20 17.1882 18.5941 18.5941C17.1882 20 14.9255 20 10.4 20H9.6C5.0745 20 2.81177 20 1.40589 18.5941C0 17.1882 0 14.9255 0 10.4V9.6Z"}),i.jsx("path",{d:"M10.6416 14.4084C6.08329 14.4084 3.48333 11.2834 3.375 6.08337H5.65833C5.73333 9.90004 7.41663 11.5167 8.74996 11.85V6.08337H10.9V9.37504C12.2167 9.23337 13.5999 7.73337 14.0665 6.08337H16.2166C15.8582 8.11671 14.3582 9.61671 13.2916 10.2334C14.3582 10.7334 16.0667 12.0417 16.7167 14.4084H14.3499C13.8416 12.825 12.575 11.6 10.9 11.4334V14.4084H10.6416Z",fill:"#EBEBEB"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_384_5149",children:i.jsx("rect",{width:"20",height:"20",fill:"white"})})})]});Xo.displayName="VkIcon";const Qo=e=>i.jsxs(k,{...e,viewBox:"0 0 16 17",stroke:"white",children:[i.jsx("path",{d:"M10.3866 8.49998C10.3866 9.81998 9.3199 10.8866 7.9999 10.8866C6.6799 10.8866 5.61323 9.81998 5.61323 8.49998C5.61323 7.17998 6.6799 6.11331 7.9999 6.11331C9.3199 6.11331 10.3866 7.17998 10.3866 8.49998Z",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M7.9999 14.0133C10.3532 14.0133 12.5466 12.6266 14.0732 10.2266C14.6732 9.28665 14.6732 7.70665 14.0732 6.76665C12.5466 4.36665 10.3532 2.97998 7.9999 2.97998C5.64656 2.97998 3.45323 4.36665 1.92656 6.76665C1.32656 7.70665 1.32656 9.28665 1.92656 10.2266C3.45323 12.6266 5.64656 14.0133 7.9999 14.0133Z",strokeLinecap:"round",strokeLinejoin:"round"})]});Qo.displayName="WatchIcon";const wn=e=>i.jsx(k,{...e,viewBox:"0 0 16 16",fill:"white",stroke:"none",children:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6 2.3C12.1 0.8 10.1 0 8 0C3.6 0 0 3.6 0 8C0 9.4 0.400006 10.8 1.10001 12L0 16L4.20001 14.9C5.40001 15.5 6.7 15.9 8 15.9C12.4 15.9 16 12.3 16 7.9C16 5.8 15.1 3.8 13.6 2.3ZM8 14.6C6.8 14.6 5.60001 14.3 4.60001 13.7L4.39999 13.6L1.89999 14.3L2.60001 11.9L2.39999 11.6C1.69999 10.5 1.39999 9.3 1.39999 8.1C1.39999 4.5 4.4 1.5 8 1.5C9.8 1.5 11.4 2.2 12.7 3.4C14 4.7 14.6 6.3 14.6 8.1C14.6 11.6 11.7 14.6 8 14.6ZM11.6 9.6C11.4 9.5 10.4 9 10.2 9C10 8.9 9.89999 8.9 9.79999 9.1C9.69999 9.3 9.30001 9.7 9.20001 9.9C9.10001 10 8.99999 10 8.79999 10C8.59999 9.9 8.00001 9.7 7.20001 9C6.60001 8.5 6.20001 7.8 6.10001 7.6C6.00001 7.4 6.10001 7.3 6.20001 7.2C6.30001 7.1 6.4 7 6.5 6.9C6.6 6.8 6.60001 6.7 6.70001 6.6C6.80001 6.5 6.70001 6.4 6.70001 6.3C6.70001 6.2 6.30001 5.2 6.10001 4.8C6.00001 4.5 5.80001 4.5 5.70001 4.5C5.60001 4.5 5.49999 4.5 5.29999 4.5C5.19999 4.5 4.99999 4.5 4.79999 4.7C4.59999 4.9 4.10001 5.4 4.10001 6.4C4.10001 7.4 4.79999 8.3 4.89999 8.5C4.99999 8.6 6.29999 10.7 8.29999 11.5C9.99999 12.2 10.3 12 10.7 12C11.1 12 11.9 11.5 12 11.1C12.2 10.6 12.2 10.2 12.1 10.2C12 9.7 11.8 9.7 11.6 9.6Z"})});wn.displayName="WhatsappIcon";const Si="_root_1737m_1",ji="_list_1737m_6",Ei="_breadcrumb_1737m_14",Ri="_link_1737m_21",Li="_item_1737m_33",Ii="_itemLast_1737m_37",ki="_separator_1737m_41",we={root:Si,list:ji,breadcrumb:Ei,link:Ri,item:Li,itemLast:Ii,separator:ki},Jo=R.forwardRef(({items:e,className:t,LinkComponent:n,separator:o=i.jsx(pn,{}),...r},s)=>i.jsx("nav",{ref:s,className:P(we.root,t),"aria-label":"Breadcrumb",...r,children:i.jsx("ol",{className:we.list,children:e.map((a,c)=>{const u=c===e.length-1,d=a.href?{href:a.href}:{},f=n&&a.href?i.jsx(n,{...d,className:we.link,children:a.title}):a.href?i.jsx("a",{...d,className:we.link,children:a.title}):i.jsx("span",{className:P(we.item,u&&we.itemLast),"aria-current":u?"page":void 0,children:a.title});return i.jsxs("li",{className:we.breadcrumb,children:[f,!u&&i.jsx("span",{className:P(we.separator),"aria-hidden":"true",children:o})]},c)})})}));Jo.displayName="Breadcrumbs";function Vn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ge(...e){return t=>{let n=!1;const o=e.map(r=>{const s=Vn(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():Vn(e[r],null)}}}}function Z(...e){return l.useCallback(Ge(...e),e)}var Ni=Symbol.for("react.lazy"),xt=l[" use ".trim().toString()];function Pi(e){return typeof e=="object"&&e!==null&&"then"in e}function er(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Ni&&"_payload"in e&&Pi(e._payload)}function Ai(e){const t=Mi(e),n=l.forwardRef((o,r)=>{let{children:s,...a}=o;er(s)&&typeof xt=="function"&&(s=xt(s._payload));const c=l.Children.toArray(s),u=c.find(Oi);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}var _n=Ai("Slot");function Mi(e){const t=l.forwardRef((n,o)=>{let{children:r,...s}=n;if(er(r)&&typeof xt=="function"&&(r=xt(r._payload)),l.isValidElement(r)){const a=Fi(r),c=Di(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ti=Symbol("radix.slottable");function Oi(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ti}function Di(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function Fi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Bi="_button_8pv9u_1",$i="_xs_8pv9u_20",Wi="_icon_8pv9u_26",Hi="_s_8pv9u_30",Vi="_m_8pv9u_40",Ui="_l_8pv9u_50",Zi="_gold_8pv9u_60",Gi="_main_8pv9u_60",zi="_secondary_8pv9u_73",Ki="_tertiary_8pv9u_86",Yi="_green_8pv9u_101",qi="_error_8pv9u_142",Xi="_content_8pv9u_183",Qi="_loading_8pv9u_190",Ji="_loader_8pv9u_194",ea="_spin_8pv9u_1",_e={button:Bi,xs:$i,icon:Wi,s:Hi,m:Vi,l:Ui,gold:Zi,main:Gi,secondary:zi,tertiary:Ki,green:Yi,error:qi,content:Xi,loading:Qi,loader:Ji,spin:ea},tr=R.forwardRef(({color:e="gold",variant:t="main",size:n="m",icon:o=!1,leftIcon:r,rightIcon:s,loading:a=!1,asChild:c=!1,disabled:u,className:d="",type:f="button",children:h,...v},g)=>{const x=c?_n:"button",p=a||u,m=P(_e.button,_e[e],_e[t],_e[n],o&&_e.icon,a&&_e.loading,d),y=c?{}:{type:f,disabled:p},C={"aria-busy":a||void 0,"aria-disabled":p||void 0};return c?i.jsx(x,{ref:g,className:m,...C,...v,children:h}):i.jsxs(x,{ref:g,className:m,...y,...C,...v,children:[a&&i.jsx("span",{className:_e.loader}),i.jsxs("span",{className:_e.content,children:[r,h,s]})]})});tr.displayName="Button";const ta="_button_yyut6_1",na="_white_yyut6_21",oa="_black_yyut6_35",Un={button:ta,white:na,black:oa},ot=R.forwardRef(({variant:e="white",asChild:t=!1,className:n="",type:o="button",children:r,...s},a)=>{const c=t?_n:"button",u=P(Un.button,Un[e],n),d=t?{}:{type:o};return i.jsx(c,{ref:a,className:u,...d,...s,children:r})});ot.displayName="CircleButton";function M(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function ra(e,t){const n=l.createContext(t),o=s=>{const{children:a,...c}=s,u=l.useMemo(()=>c,Object.values(c));return i.jsx(n.Provider,{value:u,children:a})};o.displayName=e+"Provider";function r(s){const a=l.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[o,r]}function Fe(e,t=[]){let n=[];function o(s,a){const c=l.createContext(a),u=n.length;n=[...n,a];const d=h=>{const{scope:v,children:g,...x}=h,p=v?.[e]?.[u]||c,m=l.useMemo(()=>x,Object.values(x));return i.jsx(p.Provider,{value:m,children:g})};d.displayName=s+"Provider";function f(h,v){const g=v?.[e]?.[u]||c,x=l.useContext(g);if(x)return x;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[d,f]}const r=()=>{const s=n.map(a=>l.createContext(a));return function(c){const u=c?.[e]||s;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return r.scopeName=e,[o,sa(r,...t)]}function sa(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const a=o.reduce((c,{useScope:u,scopeName:d})=>{const h=u(s)[`__scope${d}`];return{...c,...h}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var q=globalThis?.document?l.useLayoutEffect:()=>{},ia=l[" useId ".trim().toString()]||(()=>{}),aa=0;function Ae(e){const[t,n]=l.useState(ia());return q(()=>{n(o=>o??String(aa++))},[e]),e||(t?`radix-${t}`:"")}var ca=l[" useInsertionEffect ".trim().toString()]||q;function Je({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,s,a]=la({defaultProp:t,onChange:n}),c=e!==void 0,u=c?e:r;{const f=l.useRef(e!==void 0);l.useEffect(()=>{const h=f.current;h!==c&&console.warn(`${o} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=c},[c,o])}const d=l.useCallback(f=>{if(c){const h=ua(f)?f(e):f;h!==e&&a.current?.(h)}else s(f)},[c,e,s,a]);return[u,d]}function la({defaultProp:e,onChange:t}){const[n,o]=l.useState(e),r=l.useRef(n),s=l.useRef(t);return ca(()=>{s.current=t},[t]),l.useEffect(()=>{r.current!==n&&(s.current?.(n),r.current=n)},[n,r]),[n,o,s]}function ua(e){return typeof e=="function"}function da(e){const t=fa(e),n=l.forwardRef((o,r)=>{const{children:s,...a}=o,c=l.Children.toArray(s),u=c.find(ha);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function fa(e){const t=l.forwardRef((n,o)=>{const{children:r,...s}=n;if(l.isValidElement(r)){const a=ga(r),c=ma(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pa=Symbol("radix.slottable");function ha(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pa}function ma(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function ga(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var va=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],B=va.reduce((e,t)=>{const n=da(`Primitive.${t}`),o=l.forwardRef((r,s)=>{const{asChild:a,...c}=r,u=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ca(e,t){e&&Et.flushSync(()=>e.dispatchEvent(t))}function Se(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...n)=>t.current?.(...n),[])}function xa(e,t=globalThis?.document){const n=Se(e);l.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var ya="DismissableLayer",Jt="dismissableLayer.update",wa="dismissableLayer.pointerDownOutside",_a="dismissableLayer.focusOutside",Zn,nr=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bn=l.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:a,onDismiss:c,...u}=e,d=l.useContext(nr),[f,h]=l.useState(null),v=f?.ownerDocument??globalThis?.document,[,g]=l.useState({}),x=Z(t,S=>h(S)),p=Array.from(d.layers),[m]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=p.indexOf(m),C=f?p.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,_=C>=y,b=ja(S=>{const j=S.target,T=[...d.branches].some(A=>A.contains(j));!_||T||(r?.(S),a?.(S),S.defaultPrevented||c?.())},v),E=Ea(S=>{const j=S.target;[...d.branches].some(A=>A.contains(j))||(s?.(S),a?.(S),S.defaultPrevented||c?.())},v);return xa(S=>{C===d.layers.size-1&&(o?.(S),!S.defaultPrevented&&c&&(S.preventDefault(),c()))},v),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Zn=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Gn(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Zn)}},[f,v,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Gn())},[f,d]),l.useEffect(()=>{const S=()=>g({});return document.addEventListener(Jt,S),()=>document.removeEventListener(Jt,S)},[]),i.jsx(B.div,{...u,ref:x,style:{pointerEvents:w?_?"auto":"none":void 0,...e.style},onFocusCapture:M(e.onFocusCapture,E.onFocusCapture),onBlurCapture:M(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:M(e.onPointerDownCapture,b.onPointerDownCapture)})});bn.displayName=ya;var ba="DismissableLayerBranch",Sa=l.forwardRef((e,t)=>{const n=l.useContext(nr),o=l.useRef(null),r=Z(t,o);return l.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),i.jsx(B.div,{...e,ref:r})});Sa.displayName=ba;function ja(e,t=globalThis?.document){const n=Se(e),o=l.useRef(!1),r=l.useRef(()=>{});return l.useEffect(()=>{const s=c=>{if(c.target&&!o.current){let u=function(){or(wa,n,d,{discrete:!0})};const d={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=u,t.addEventListener("click",r.current,{once:!0})):u()}else t.removeEventListener("click",r.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Ea(e,t=globalThis?.document){const n=Se(e),o=l.useRef(!1);return l.useEffect(()=>{const r=s=>{s.target&&!o.current&&or(_a,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Gn(){const e=new CustomEvent(Jt);document.dispatchEvent(e)}function or(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Ca(r,s):r.dispatchEvent(s)}var Wt="focusScope.autoFocusOnMount",Ht="focusScope.autoFocusOnUnmount",zn={bubbles:!1,cancelable:!0},Ra="FocusScope",Sn=l.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...a}=e,[c,u]=l.useState(null),d=Se(r),f=Se(s),h=l.useRef(null),v=Z(t,p=>u(p)),g=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(o){let p=function(w){if(g.paused||!c)return;const _=w.target;c.contains(_)?h.current=_:be(h.current,{select:!0})},m=function(w){if(g.paused||!c)return;const _=w.relatedTarget;_!==null&&(c.contains(_)||be(h.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const b of w)b.removedNodes.length>0&&be(c)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const C=new MutationObserver(y);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),C.disconnect()}}},[o,c,g.paused]),l.useEffect(()=>{if(c){Yn.add(g);const p=document.activeElement;if(!c.contains(p)){const y=new CustomEvent(Wt,zn);c.addEventListener(Wt,d),c.dispatchEvent(y),y.defaultPrevented||(La(Aa(rr(c)),{select:!0}),document.activeElement===p&&be(c))}return()=>{c.removeEventListener(Wt,d),setTimeout(()=>{const y=new CustomEvent(Ht,zn);c.addEventListener(Ht,f),c.dispatchEvent(y),y.defaultPrevented||be(p??document.body,{select:!0}),c.removeEventListener(Ht,f),Yn.remove(g)},0)}}},[c,d,f,g]);const x=l.useCallback(p=>{if(!n&&!o||g.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,y=document.activeElement;if(m&&y){const C=p.currentTarget,[w,_]=Ia(C);w&&_?!p.shiftKey&&y===_?(p.preventDefault(),n&&be(w,{select:!0})):p.shiftKey&&y===w&&(p.preventDefault(),n&&be(_,{select:!0})):y===C&&p.preventDefault()}},[n,o,g.paused]);return i.jsx(B.div,{tabIndex:-1,...a,ref:v,onKeyDown:x})});Sn.displayName=Ra;function La(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(be(o,{select:t}),document.activeElement!==n)return}function Ia(e){const t=rr(e),n=Kn(t,e),o=Kn(t.reverse(),e);return[n,o]}function rr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Kn(e,t){for(const n of e)if(!ka(n,{upTo:t}))return n}function ka(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 Na(e){return e instanceof HTMLInputElement&&"select"in e}function be(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Na(e)&&t&&e.select()}}var Yn=Pa();function Pa(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=qn(e,t),e.unshift(t)},remove(t){e=qn(e,t),e[0]?.resume()}}}function qn(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Aa(e){return e.filter(t=>t.tagName!=="A")}var Ma="Portal",jn=l.forwardRef((e,t)=>{const{container:n,...o}=e,[r,s]=l.useState(!1);q(()=>s(!0),[]);const a=n||r&&globalThis?.document?.body;return a?Co.createPortal(i.jsx(B.div,{...o,ref:t}),a):null});jn.displayName=Ma;function Ta(e,t){return l.useReducer((n,o)=>t[n][o]??n,e)}var rt=e=>{const{present:t,children:n}=e,o=Oa(t),r=typeof n=="function"?n({present:o.isPresent}):l.Children.only(n),s=Z(o.ref,Da(r));return typeof n=="function"||o.isPresent?l.cloneElement(r,{ref:s}):null};rt.displayName="Presence";function Oa(e){const[t,n]=l.useState(),o=l.useRef(null),r=l.useRef(e),s=l.useRef("none"),a=e?"mounted":"unmounted",[c,u]=Ta(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=ct(o.current);s.current=c==="mounted"?d:"none"},[c]),q(()=>{const d=o.current,f=r.current;if(f!==e){const v=s.current,g=ct(d);e?u("MOUNT"):g==="none"||d?.display==="none"?u("UNMOUNT"):u(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),q(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,h=g=>{const p=ct(o.current).includes(CSS.escape(g.animationName));if(g.target===t&&p&&(u("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=ct(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:l.useCallback(d=>{o.current=d?getComputedStyle(d):null,n(d)},[])}}function ct(e){return e?.animationName||"none"}function Da(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Vt=0;function sr(){l.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Xn()),document.body.insertAdjacentElement("beforeend",e[1]??Xn()),Vt++,()=>{Vt===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Vt--}},[])}function Xn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ue=function(){return ue=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ue.apply(this,arguments)};function ir(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function Fa(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,s;o<r;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}var gt="right-scroll-bar-position",vt="width-before-scroll-bar",Ba="with-scroll-bars-hidden",$a="--removed-body-scroll-bar-size";function Ut(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Wa(e,t){var n=R.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var Ha=typeof window<"u"?l.useLayoutEffect:l.useEffect,Qn=new WeakMap;function Va(e,t){var n=Wa(null,function(o){return e.forEach(function(r){return Ut(r,o)})});return Ha(function(){var o=Qn.get(n);if(o){var r=new Set(o),s=new Set(e),a=n.current;r.forEach(function(c){s.has(c)||Ut(c,null)}),s.forEach(function(c){r.has(c)||Ut(c,a)})}Qn.set(n,e)},[e]),n}function Ua(e){return e}function Za(e,t){t===void 0&&(t=Ua);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var a=t(s,o);return n.push(a),function(){n=n.filter(function(c){return c!==a})}},assignSyncMedium:function(s){for(o=!0;n.length;){var a=n;n=[],a.forEach(s)}n={push:function(c){return s(c)},filter:function(){return n}}},assignMedium:function(s){o=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(s),a=n}var u=function(){var f=a;a=[],f.forEach(s)},d=function(){return Promise.resolve().then(u)};d(),n={push:function(f){a.push(f),d()},filter:function(f){return a=a.filter(f),n}}}};return r}function Ga(e){e===void 0&&(e={});var t=Za(null);return t.options=ue({async:!0,ssr:!1},e),t}var ar=function(e){var t=e.sideCar,n=ir(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return l.createElement(o,ue({},n))};ar.isSideCarExport=!0;function za(e,t){return e.useMedium(t),ar}var cr=Ga(),Zt=function(){},Rt=l.forwardRef(function(e,t){var n=l.useRef(null),o=l.useState({onScrollCapture:Zt,onWheelCapture:Zt,onTouchMoveCapture:Zt}),r=o[0],s=o[1],a=e.forwardProps,c=e.children,u=e.className,d=e.removeScrollBar,f=e.enabled,h=e.shards,v=e.sideCar,g=e.noRelative,x=e.noIsolation,p=e.inert,m=e.allowPinchZoom,y=e.as,C=y===void 0?"div":y,w=e.gapMode,_=ir(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=v,E=Va([n,t]),S=ue(ue({},_),r);return l.createElement(l.Fragment,null,f&&l.createElement(b,{sideCar:cr,removeScrollBar:d,shards:h,noRelative:g,noIsolation:x,inert:p,setCallbacks:s,allowPinchZoom:!!m,lockRef:n,gapMode:w}),a?l.cloneElement(l.Children.only(c),ue(ue({},S),{ref:E})):l.createElement(C,ue({},S,{className:u,ref:E}),c))});Rt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Rt.classNames={fullWidth:vt,zeroRight:gt};var Ka=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ya(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ka();return t&&e.setAttribute("nonce",t),e}function qa(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xa(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Qa=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ya())&&(qa(t,n),Xa(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ja=function(){var e=Qa();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},lr=function(){var e=Ja(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},ec={left:0,top:0,right:0,gap:0},Gt=function(e){return parseInt(e||"",10)||0},tc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[Gt(n),Gt(o),Gt(r)]},nc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ec;var t=tc(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},oc=lr(),Ve="data-scroll-locked",rc=function(e,t,n,o){var r=e.left,s=e.top,a=e.right,c=e.gap;return n===void 0&&(n="margin"),`
2
2
  .`.concat(Ba,` {
3
3
  overflow: hidden `).concat(o,`;
4
4
  padding-right: `).concat(c,"px ").concat(o,`;
@@ -42,5 +42,5 @@
42
42
 
43
43
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
44
44
 
45
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Oc="DialogDescriptionWarning",Dc=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${kr(Oc).contentName}}.`;return l.useEffect(()=>{const r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},Nr=gr,Pr=Cr,Ar=yr,Mr=wr,Tr=_r,Or=Sr,Dr=Er,It=Lr;const Fc="_overlay_1i5fg_29",Bc="_drawer_1i5fg_38",$c="_right_1i5fg_59",Wc="_left_1i5fg_69",Hc="_header_1i5fg_118",Vc="_heading_1i5fg_133",Uc="_centered_1i5fg_145",Zc="_description_1i5fg_154",Gc="_scrollableContainer_1i5fg_174",zc="_closeButton_1i5fg_201",Kc="_footer_1i5fg_225",re={overlay:Fc,drawer:Bc,right:$c,left:Wc,header:Hc,heading:Vc,centered:Uc,description:Zc,scrollableContainer:Gc,closeButton:zc,footer:Kc},Fr=Nr,qc=Pr,Yc=It;function Xc({children:e,showClose:t=!0,side:n="right",scrollableContainerClassName:o="",className:r="",...s}){const a=[],c=[];return R.Children.forEach(e,u=>{if(R.isValidElement(u)){const d=u.type;d===Br||d===$r?a.push(u):c.push(u)}else c.push(u)}),i.jsxs(Ar,{children:[i.jsx(Mr,{className:re.overlay}),i.jsxs(Tr,{className:P(re.drawer,r,n==="left"&&re.left,n==="right"&&re.right),...s,children:[a.length>0&&i.jsx("div",{className:re.header,children:a}),i.jsx("div",{className:P(re.scrollableContainer,o),children:c}),t&&i.jsx(It,{asChild:!0,"aria-label":"Close",children:i.jsx(ot,{className:re.closeButton,variant:"white",children:i.jsx(nt,{})})})]})]})}function Br({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Or,{className:P(re.heading,{[re.centered]:t},n),...o,children:e})}function $r({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Dr,{className:P(re.description,{[re.centered]:t},n),...o,children:e})}function Qc({children:e,className:t="",...n}){return i.jsx("div",{className:P(re.footer,t),...n,children:e})}Fr.displayName="Drawer";const Jc="_link_gxfgk_1",el="_active_gxfgk_11",tl="_xs_gxfgk_16",nl="_s_gxfgk_21",ol="_m_gxfgk_26",rl="_primary_gxfgk_37",sl="_secondary_gxfgk_46",pt={link:Jc,active:el,xs:tl,s:nl,m:ol,primary:rl,secondary:sl},kn=({href:e,external:t=!1,subdomainLink:n=!1,isActive:o=!1,size:r="m",variant:s="primary",children:a,className:c,component:u,...d})=>{const f=P(pt.link,pt[r],pt[s],{[pt.active]:o},c);return t?i.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:f,...d,children:a}):n||!u?i.jsx("a",{href:e,className:f,...d,children:a}):i.jsx(u,{href:e,className:f,...d,children:a})};kn.displayName="Link";const il="_footer_19j1m_1",al="_privacyLink_19j1m_4",cl="_wrapper_19j1m_8",ll="_logo_19j1m_18",ul="_top_19j1m_23",dl="_topLeft_19j1m_45",fl="_description_19j1m_51",pl="_rightContainer_19j1m_68",hl="_bottom_19j1m_88",ml="_bottomLeft_19j1m_109",gl="_copyright_19j1m_126",vl="_bottomRight_19j1m_133",Cl="_supportText_19j1m_150",xl="_socialButtons_19j1m_157",yl="_socialButton_19j1m_157",wl="_tgIcon_19j1m_169",q={footer:il,privacyLink:al,wrapper:cl,logo:ll,top:ul,topLeft:dl,description:fl,rightContainer:pl,bottom:hl,bottomLeft:ml,copyright:gl,bottomRight:vl,supportText:Cl,socialButtons:xl,socialButton:yl,tgIcon:wl},tn={logo:i.jsx(xn,{}),socialLinks:[{href:"https://t.me/trely_channel",icon:i.jsx(yn,{className:q.tgIcon}),ariaLabel:"Telegram"},{href:"https://wa.me/1234567890",icon:i.jsx(wn,{}),ariaLabel:"WhatsApp"}]};function Wr({logo:e=tn.logo,logoHref:t="/",logoComponent:n,description:o,actionsSlot:r,copyright:s,privacyLink:a,supportText:c,socialLinks:u=tn.socialLinks,className:d}){return i.jsx("footer",{className:P(q.footer,d),children:i.jsxs("div",{className:q.wrapper,children:[i.jsxs("div",{className:q.top,children:[i.jsxs("div",{className:q.topLeft,children:[n?i.jsx(n,{href:t,className:q.logo,children:e}):i.jsx("a",{href:t,className:q.logo,children:e}),i.jsx("p",{className:q.description,children:o})]}),i.jsx("div",{className:q.rightContainer,children:r})]}),i.jsxs("div",{className:q.bottom,children:[i.jsxs("div",{className:q.bottomLeft,children:[i.jsx("span",{className:q.copyright,children:s}),i.jsx(kn,{href:a.href,variant:"secondary",size:"xs",className:q.privacyLink,component:a.component,children:a.label})]}),i.jsxs("div",{className:q.bottomRight,children:[i.jsx("p",{className:q.supportText,children:c}),i.jsx("div",{className:q.socialButtons,children:u.map((f,h)=>i.jsx(ot,{variant:"black",asChild:!0,className:q.socialButton,children:i.jsx("a",{href:f.href,target:"_blank",rel:"noopener noreferrer","aria-label":f.ariaLabel,children:f.icon})},h))})]})]})]})})}Wr.displayName="Footer";const _l="_heading_1xaq4_1",bl="_xxs_1xaq4_5",Sl="_xs_1xaq4_10",jl="_s_1xaq4_21",El="_m_1xaq4_32",Rl="_l_1xaq4_48",Ll="_dark_1xaq4_53",Il="_light_1xaq4_57",Kt={heading:_l,xxs:bl,xs:Sl,s:jl,m:El,l:Rl,dark:Ll,light:Il},Hr=({component:e="p",size:t="m",color:n="dark",className:o,children:r,...s})=>{const a=P(Kt.heading,Kt[t],Kt[n],o);return R.createElement(e,{className:a,...s},r)};Hr.displayName="Heading";const kl="_container_rd81k_1",Nl="_label_rd81k_7",Pl="_previewGrid_rd81k_15",Al="_previewItem_rd81k_21",Ml="_deleteButton_rd81k_29",Tl="_previewImage_rd81k_33",Ol="_uploadButton_rd81k_68",Dl="_uploadButtonText_rd81k_94",Fl="_error_rd81k_103",me={container:kl,label:Nl,previewGrid:Pl,previewItem:Al,deleteButton:Ml,previewImage:Tl,uploadButton:Ol,uploadButtonText:Dl,error:Fl},Vr=R.forwardRef(({value:e=[],onChange:t,label:n,error:o,maxFiles:r=10,accept:s="image/png,image/jpeg,image/jpg",disabled:a=!1,className:c},u)=>{const d=R.useRef(null),[f,h]=R.useState([]);R.useEffect(()=>{const y=e.map(C=>URL.createObjectURL(C));return h(y),()=>{y.forEach(C=>URL.revokeObjectURL(C))}},[e]);const v=()=>{a||d.current?.click()},g=y=>{const C=Array.from(y.target.files||[]);if(C.length>0){const w=[...e,...C].slice(0,r);t?.(w)}d.current&&(d.current.value="")},x=y=>{if(!a){const C=e.filter((w,_)=>_!==y);t?.(C)}},p=e.length>0,m=e.length<r;return i.jsxs("div",{ref:u,className:P(me.container,c),children:[n&&i.jsx("label",{className:me.label,children:n}),p&&i.jsx("div",{className:me.previewGrid,children:e.map((y,C)=>i.jsxs("div",{className:me.previewItem,children:[i.jsx("img",{src:f[C],alt:y.name,className:P(me.previewImage,"globalPreviewImage")}),i.jsx("button",{type:"button",onClick:()=>x(C),className:me.deleteButton,disabled:a,"aria-label":"Delete photo",children:i.jsx(mn,{})})]},`${y.name}-${C}`))}),m&&i.jsxs(i.Fragment,{children:[i.jsx("input",{ref:d,type:"file",accept:s,onChange:g,style:{display:"none"},multiple:!0,disabled:a}),i.jsxs("button",{type:"button",onClick:v,className:me.uploadButton,disabled:a,children:[i.jsx(Cn,{}),n&&i.jsx("span",{className:me.uploadButtonText,children:n})]})]}),o&&i.jsx("span",{className:me.error,children:o})]})});Vr.displayName="ImagesUpload";const Bl="_wrapper_1a52j_1",$l="_label_1a52j_8",Wl="_container_1a52j_16",Hl="_input_1a52j_21",Vl="_uploadBox_1a52j_25",Ul="_hasPreview_1a52j_46",Zl="_error_1a52j_49",Gl="_placeholder_1a52j_54",zl="_icon_1a52j_62",Kl="_placeholderText_1a52j_75",ql="_preview_1a52j_83",Yl="_previewImage_1a52j_91",Xl="_errorText_1a52j_98",ee={wrapper:Bl,label:$l,container:Wl,input:Hl,uploadBox:Vl,hasPreview:Ul,error:Zl,placeholder:Gl,icon:zl,placeholderText:Kl,preview:ql,previewImage:Yl,errorText:Xl},Ur=R.forwardRef(({label:e,error:t,icon:n,placeholderText:o,preview:r,className:s="",disabled:a,onChange:c,...u},d)=>{const f=R.useId(),h=R.useRef(null),[v,g]=R.useState(r||null);R.useImperativeHandle(d,()=>h.current);const x=y=>{const C=y.target.files?.[0];if(C){const w=new FileReader;w.onloadend=()=>{g(w.result)},w.readAsDataURL(C)}c&&c(y)},p=P(ee.wrapper,s),m=P(ee.uploadBox,{[ee.error]:!!t,[ee.hasPreview]:!!v});return i.jsxs("div",{className:p,children:[e&&i.jsx("label",{className:ee.label,children:e}),i.jsxs("div",{className:ee.container,children:[i.jsxs("label",{htmlFor:f,className:m,children:[i.jsx("input",{ref:h,id:f,type:"file",accept:"image/*",className:ee.input,disabled:a,onChange:x,...u}),v?i.jsx("div",{className:ee.preview,children:i.jsx("img",{src:v,alt:"Preview",className:P(ee.previewImage,"globalPreviewImage")})}):i.jsxs("div",{className:P(ee.placeholder,"globalPlaceholder"),children:[n&&i.jsx("div",{className:ee.icon,children:n}),o&&i.jsx("span",{className:ee.placeholderText,children:o})]})]}),t&&i.jsx("div",{className:ee.errorText,children:t})]})]})});Ur.displayName="ImageUpload";const Ql="_wrapper_bxyot_1",Jl="_label_bxyot_9",e1="_container_bxyot_17",t1="_input_bxyot_23",n1="_error_bxyot_57",o1="_hasUnit_bxyot_61",r1="_hasUnitAndClear_bxyot_64",s1="_hasPasswordToggle_bxyot_67",i1="_hasPasswordAndClear_bxyot_70",a1="_hasPasswordAndUnit_bxyot_73",c1="_hasAll_bxyot_76",l1="_unit_bxyot_80",u1="_clearButton_bxyot_94",d1="_passwordToggle_bxyot_129",f1="_errorText_bxyot_171",Q={wrapper:Ql,label:Jl,container:e1,input:t1,error:n1,hasUnit:o1,hasUnitAndClear:r1,hasPasswordToggle:s1,hasPasswordAndClear:i1,hasPasswordAndUnit:a1,hasAll:c1,unit:l1,clearButton:u1,passwordToggle:d1,errorText:f1},Zr=R.forwardRef(({label:e,error:t,clearable:n=!0,onClear:o,unit:r,showPasswordToggle:s=!1,className:a="",disabled:c,value:u,defaultValue:d,onChange:f,type:h,...v},g)=>{const x=R.useId(),p=R.useRef(null),[m,y]=R.useState(!1);R.useImperativeHandle(g,()=>p.current);const C=u!==void 0,[w,_]=R.useState(()=>C?u:d||"");R.useEffect(()=>{C&&_(u)},[C,u]);const b=String(w).length>0,E=O=>{const D=O.target.value;C||_(D),f?.(O)},S=()=>{if(_(""),!C&&p.current&&(p.current.value="",f)){const O={target:p.current,currentTarget:p.current};f(O)}o?.()},T=(h==="password"||s)&&m?"text":h,A=P(Q.wrapper,a),$=P(Q.input,{[Q.error]:!!t,[Q.hasUnit]:!!r,[Q.hasUnitAndClear]:!!r&&n&&b&&!c,[Q.hasPasswordToggle]:s,[Q.hasPasswordAndClear]:s&&n&&b&&!c,[Q.hasPasswordAndUnit]:s&&!!r,[Q.hasAll]:s&&n&&b&&!c&&!!r});return i.jsxs("div",{className:A,children:[e&&i.jsx("label",{htmlFor:x,className:Q.label,children:e}),i.jsxs("div",{className:Q.container,children:[i.jsx("input",{...v,type:T,ref:p,id:x,className:$,disabled:c,value:C?u:void 0,defaultValue:C?void 0:d,onChange:E}),s&&i.jsx("button",{type:"button",className:Q.passwordToggle,onClick:()=>y(!m),tabIndex:-1,"aria-label":m?"Hide password":"Show password",children:m?i.jsx(vn,{}):i.jsx(gn,{})}),n&&b&&!c&&i.jsx("button",{type:"button",className:Q.clearButton,onClick:S,tabIndex:-1,"aria-label":"Clear input",children:i.jsx(nt,{})}),r&&i.jsx("span",{className:Q.unit,children:r})]}),t&&i.jsx("div",{className:Q.errorText,children:t})]})});Zr.displayName="Input";const p1="_overlay_1drti_1",h1="_modal_1drti_18",m1="_header_1drti_57",g1="_heading_1drti_73",v1="_centered_1drti_85",C1="_description_1drti_94",x1="_scrollableContainer_1drti_109",y1="_closeButton_1drti_135",ve={overlay:p1,modal:h1,header:m1,heading:g1,centered:v1,description:C1,scrollableContainer:x1,closeButton:y1},w1=Nr,_1=Pr,b1=It;function S1({children:e,showClose:t=!0,scrollableContainerClassName:n="",className:o="",...r}){const s=[],a=[];return R.Children.forEach(e,c=>{if(R.isValidElement(c)){const u=c.type;u===Gr||u===zr?s.push(c):a.push(c)}else a.push(c)}),i.jsxs(Ar,{children:[i.jsx(Mr,{className:ve.overlay}),i.jsxs(Tr,{className:P(ve.modal,o),...r,children:[s.length>0&&i.jsx("div",{className:ve.header,children:s}),i.jsx("div",{className:P(ve.scrollableContainer,n),children:a}),t&&i.jsx(It,{asChild:!0,"aria-label":"Close",children:i.jsx(ot,{className:ve.closeButton,children:i.jsx(nt,{})})})]})]})}function Gr({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Or,{className:P(ve.heading,{[ve.centered]:t},n),...o,children:e})}function zr({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Dr,{className:P(ve.description,{[ve.centered]:t},n),...o,children:e})}function oo(e){const t=j1(e),n=l.forwardRef((o,r)=>{const{children:s,...a}=o,c=l.Children.toArray(s),u=c.find(R1);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function j1(e){const t=l.forwardRef((n,o)=>{const{children:r,...s}=n;if(l.isValidElement(r)){const a=I1(r),c=L1(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var E1=Symbol("radix.slottable");function R1(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===E1}function L1(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function I1(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Kr(e){const t=e+"CollectionProvider",[n,o]=Fe(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:y}=p,C=R.useRef(null),w=R.useRef(new Map).current;return i.jsx(r,{scope:m,itemMap:w,collectionRef:C,children:y})};a.displayName=t;const c=e+"CollectionSlot",u=oo(c),d=R.forwardRef((p,m)=>{const{scope:y,children:C}=p,w=s(c,y),_=Z(m,w.collectionRef);return i.jsx(u,{ref:_,children:C})});d.displayName=c;const f=e+"CollectionItemSlot",h="data-radix-collection-item",v=oo(f),g=R.forwardRef((p,m)=>{const{scope:y,children:C,...w}=p,_=R.useRef(null),b=Z(m,_),E=s(f,y);return R.useEffect(()=>(E.itemMap.set(_,{ref:_,...w}),()=>void E.itemMap.delete(_))),i.jsx(v,{[h]:"",ref:b,children:C})});g.displayName=f;function x(p){const m=s(e+"CollectionConsumer",p);return R.useCallback(()=>{const C=m.collectionRef.current;if(!C)return[];const w=Array.from(C.querySelectorAll(`[${h}]`));return Array.from(m.itemMap.values()).sort((E,S)=>w.indexOf(E.ref.current)-w.indexOf(S.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:d,ItemSlot:g},x,o]}var k1=l.createContext(void 0);function Nn(e){const t=l.useContext(k1);return e||t||"ltr"}var qt="rovingFocusGroup.onEntryFocus",N1={bubbles:!1,cancelable:!0},st="RovingFocusGroup",[nn,qr,P1]=Kr(st),[A1,Yr]=Fe(st,[P1]),[M1,T1]=A1(st),Xr=l.forwardRef((e,t)=>i.jsx(nn.Provider,{scope:e.__scopeRovingFocusGroup,children:i.jsx(nn.Slot,{scope:e.__scopeRovingFocusGroup,children:i.jsx(O1,{...e,ref:t})})}));Xr.displayName=st;var O1=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:r=!1,dir:s,currentTabStopId:a,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...h}=e,v=l.useRef(null),g=Z(t,v),x=Nn(s),[p,m]=Je({prop:a,defaultProp:c??null,onChange:u,caller:st}),[y,C]=l.useState(!1),w=Se(d),_=qr(n),b=l.useRef(!1),[E,S]=l.useState(0);return l.useEffect(()=>{const j=v.current;if(j)return j.addEventListener(qt,w),()=>j.removeEventListener(qt,w)},[w]),i.jsx(M1,{scope:n,orientation:o,dir:x,loop:r,currentTabStopId:p,onItemFocus:l.useCallback(j=>m(j),[m]),onItemShiftTab:l.useCallback(()=>C(!0),[]),onFocusableItemAdd:l.useCallback(()=>S(j=>j+1),[]),onFocusableItemRemove:l.useCallback(()=>S(j=>j-1),[]),children:i.jsx(B.div,{tabIndex:y||E===0?-1:0,"data-orientation":o,...h,ref:g,style:{outline:"none",...e.style},onMouseDown:M(e.onMouseDown,()=>{b.current=!0}),onFocus:M(e.onFocus,j=>{const T=!b.current;if(j.target===j.currentTarget&&T&&!y){const A=new CustomEvent(qt,N1);if(j.currentTarget.dispatchEvent(A),!A.defaultPrevented){const $=_().filter(N=>N.focusable),O=$.find(N=>N.active),D=$.find(N=>N.id===p),H=[O,D,...$].filter(Boolean).map(N=>N.ref.current);es(H,f)}}b.current=!1}),onBlur:M(e.onBlur,()=>C(!1))})})}),Qr="RovingFocusGroupItem",Jr=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:r=!1,tabStopId:s,children:a,...c}=e,u=Ae(),d=s||u,f=T1(Qr,n),h=f.currentTabStopId===d,v=qr(n),{onFocusableItemAdd:g,onFocusableItemRemove:x,currentTabStopId:p}=f;return l.useEffect(()=>{if(o)return g(),()=>x()},[o,g,x]),i.jsx(nn.ItemSlot,{scope:n,id:d,focusable:o,active:r,children:i.jsx(B.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...c,ref:t,onMouseDown:M(e.onMouseDown,m=>{o?f.onItemFocus(d):m.preventDefault()}),onFocus:M(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:M(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){f.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const y=B1(m,f.orientation,f.dir);if(y!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let w=v().filter(_=>_.focusable).map(_=>_.ref.current);if(y==="last")w.reverse();else if(y==="prev"||y==="next"){y==="prev"&&w.reverse();const _=w.indexOf(m.currentTarget);w=f.loop?$1(w,_+1):w.slice(_+1)}setTimeout(()=>es(w))}}),children:typeof a=="function"?a({isCurrentTabStop:h,hasTabStop:p!=null}):a})})});Jr.displayName=Qr;var D1={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F1(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function B1(e,t,n){const o=F1(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return D1[o]}function es(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function $1(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var W1=Xr,H1=Jr;function ts(e){const[t,n]=l.useState(void 0);return Y(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let a,c;if("borderBoxSize"in s){const u=s.borderBoxSize,d=Array.isArray(u)?u[0]:u;a=d.inlineSize,c=d.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}function ns(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Pn="Radio",[V1,os]=Fe(Pn),[U1,Z1]=V1(Pn),rs=l.forwardRef((e,t)=>{const{__scopeRadio:n,name:o,checked:r=!1,required:s,disabled:a,value:c="on",onCheck:u,form:d,...f}=e,[h,v]=l.useState(null),g=Z(t,m=>v(m)),x=l.useRef(!1),p=h?d||!!h.closest("form"):!0;return i.jsxs(U1,{scope:n,checked:r,disabled:a,children:[i.jsx(B.button,{type:"button",role:"radio","aria-checked":r,"data-state":cs(r),"data-disabled":a?"":void 0,disabled:a,value:c,...f,ref:g,onClick:M(e.onClick,m=>{r||u?.(),p&&(x.current=m.isPropagationStopped(),x.current||m.stopPropagation())})}),p&&i.jsx(as,{control:h,bubbles:!x.current,name:o,value:c,checked:r,required:s,disabled:a,form:d,style:{transform:"translateX(-100%)"}})]})});rs.displayName=Pn;var ss="RadioIndicator",is=l.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:o,...r}=e,s=Z1(ss,n);return i.jsx(rt,{present:o||s.checked,children:i.jsx(B.span,{"data-state":cs(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:t})})});is.displayName=ss;var G1="RadioBubbleInput",as=l.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:o=!0,...r},s)=>{const a=l.useRef(null),c=Z(a,s),u=ns(n),d=ts(t);return l.useEffect(()=>{const f=a.current;if(!f)return;const h=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(h,"checked").set;if(u!==n&&g){const x=new Event("click",{bubbles:o});g.call(f,n),f.dispatchEvent(x)}},[u,n,o]),i.jsx(B.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...r,tabIndex:-1,ref:c,style:{...r.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});as.displayName=G1;function cs(e){return e?"checked":"unchecked"}var z1=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],kt="RadioGroup",[K1]=Fe(kt,[Yr,os]),ls=Yr(),us=os(),[q1,Y1]=K1(kt),ds=l.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:o,defaultValue:r,value:s,required:a=!1,disabled:c=!1,orientation:u,dir:d,loop:f=!0,onValueChange:h,...v}=e,g=ls(n),x=Nn(d),[p,m]=Je({prop:s,defaultProp:r??null,onChange:h,caller:kt});return i.jsx(q1,{scope:n,name:o,required:a,disabled:c,value:p,onValueChange:m,children:i.jsx(W1,{asChild:!0,...g,orientation:u,dir:x,loop:f,children:i.jsx(B.div,{role:"radiogroup","aria-required":a,"aria-orientation":u,"data-disabled":c?"":void 0,dir:x,...v,ref:t})})})});ds.displayName=kt;var fs="RadioGroupItem",ps=l.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:o,...r}=e,s=Y1(fs,n),a=s.disabled||o,c=ls(n),u=us(n),d=l.useRef(null),f=Z(t,d),h=s.value===r.value,v=l.useRef(!1);return l.useEffect(()=>{const g=p=>{z1.includes(p.key)&&(v.current=!0)},x=()=>v.current=!1;return document.addEventListener("keydown",g),document.addEventListener("keyup",x),()=>{document.removeEventListener("keydown",g),document.removeEventListener("keyup",x)}},[]),i.jsx(H1,{asChild:!0,...c,focusable:!a,active:h,children:i.jsx(rs,{disabled:a,required:s.required,checked:h,...u,...r,name:s.name,ref:f,onCheck:()=>s.onValueChange(r.value),onKeyDown:M(g=>{g.key==="Enter"&&g.preventDefault()}),onFocus:M(r.onFocus,()=>{v.current&&d.current?.click()})})})});ps.displayName=fs;var X1="RadioGroupIndicator",hs=l.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...o}=e,r=us(n);return i.jsx(is,{...r,...o,ref:t})});hs.displayName=X1;var Q1=ds,J1=ps,ro=hs;const eu="_root_13g3l_1",tu="_label_13g3l_7",nu="_group_13g3l_15",ou="_item_13g3l_21",ru="_radio_13g3l_27",su="_square_13g3l_51",iu="_indicator_13g3l_81",au="_itemLabel_13g3l_92",cu="_errorText_13g3l_104",lu="_checkIcon_13g3l_125",le={root:eu,label:tu,group:nu,item:ou,radio:ru,square:su,indicator:iu,itemLabel:au,errorText:cu,checkIcon:lu},ms=R.forwardRef(({label:e,className:t,variant:n="circle",...o},r)=>{const s=R.useId();return i.jsxs("div",{className:P(le.item,t),children:[i.jsx(J1,{ref:r,id:s,className:P(le.radio,n==="square"&&le.square),...o,children:n==="square"?i.jsx(ro,{children:i.jsx(hn,{className:le.checkIcon})}):i.jsx(ro,{className:le.indicator})}),i.jsx("label",{htmlFor:s,className:le.itemLabel,children:e})]})});ms.displayName="Radio";const gs=R.forwardRef(({options:e,error:t,label:n,className:o,onChange:r,variant:s,...a},c)=>{const u=R.useId();return i.jsxs("div",{className:P(le.root,o),children:[n&&i.jsx("label",{htmlFor:u,className:le.label,children:n}),i.jsx(Q1,{ref:c,className:le.group,id:u,onValueChange:r,...a,children:e.map(d=>i.jsx(ms,{value:d.value,label:d.label,variant:d.variant??s??"circle"},d.value))}),t&&i.jsx("div",{className:le.errorText,children:t})]})});gs.displayName="RadioGroup";const uu="_container_493c2_1",du="_withoutPadding_493c2_6",ht={container:uu,withoutPadding:du};function fu({children:e,paddingSize:t="md",className:n}){return i.jsx("div",{className:P(ht.container,{[ht.sm]:t==="sm",[ht.md]:t==="md",[ht.withoutPadding]:t==="none"},n),children:e})}function so(e,[t,n]){return Math.min(n,Math.max(t,e))}const pu=["top","right","bottom","left"],je=Math.min,te=Math.max,wt=Math.round,mt=Math.floor,fe=e=>({x:e,y:e}),hu={left:"right",right:"left",bottom:"top",top:"bottom"},mu={start:"end",end:"start"};function on(e,t,n){return te(e,je(t,n))}function Ce(e,t){return typeof e=="function"?e(t):e}function xe(e){return e.split("-")[0]}function ze(e){return e.split("-")[1]}function An(e){return e==="x"?"y":"x"}function Mn(e){return e==="y"?"height":"width"}const gu=new Set(["top","bottom"]);function de(e){return gu.has(xe(e))?"y":"x"}function Tn(e){return An(de(e))}function vu(e,t,n){n===void 0&&(n=!1);const o=ze(e),r=Tn(e),s=Mn(r);let a=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=_t(a)),[a,_t(a)]}function Cu(e){const t=_t(e);return[rn(e),t,rn(t)]}function rn(e){return e.replace(/start|end/g,t=>mu[t])}const io=["left","right"],ao=["right","left"],xu=["top","bottom"],yu=["bottom","top"];function wu(e,t,n){switch(e){case"top":case"bottom":return n?t?ao:io:t?io:ao;case"left":case"right":return t?xu:yu;default:return[]}}function _u(e,t,n,o){const r=ze(e);let s=wu(xe(e),n==="start",o);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(rn)))),s}function _t(e){return e.replace(/left|right|bottom|top/g,t=>hu[t])}function bu(e){return{top:0,right:0,bottom:0,left:0,...e}}function vs(e){return typeof e!="number"?bu(e):{top:e,right:e,bottom:e,left:e}}function bt(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function co(e,t,n){let{reference:o,floating:r}=e;const s=de(t),a=Tn(t),c=Mn(a),u=xe(t),d=s==="y",f=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,v=o[c]/2-r[c]/2;let g;switch(u){case"top":g={x:f,y:o.y-r.height};break;case"bottom":g={x:f,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(ze(t)){case"start":g[a]-=v*(n&&d?-1:1);break;case"end":g[a]+=v*(n&&d?-1:1);break}return g}const Su=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:a}=n,c=s.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:h}=co(d,o,u),v=o,g={},x=0;for(let p=0;p<c.length;p++){const{name:m,fn:y}=c[p],{x:C,y:w,data:_,reset:b}=await y({x:f,y:h,initialPlacement:o,placement:v,strategy:r,middlewareData:g,rects:d,platform:a,elements:{reference:e,floating:t}});f=C??f,h=w??h,g={...g,[m]:{...g[m],..._}},b&&x<=50&&(x++,typeof b=="object"&&(b.placement&&(v=b.placement),b.rects&&(d=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):b.rects),{x:f,y:h}=co(d,v,u)),p=-1)}return{x:f,y:h,placement:v,strategy:r,middlewareData:g}};async function et(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:a,elements:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:v=!1,padding:g=0}=Ce(t,e),x=vs(g),m=c[v?h==="floating"?"reference":"floating":h],y=bt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(m)))==null||n?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:d,rootBoundary:f,strategy:u})),C=h==="floating"?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),_=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},b=bt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:w,strategy:u}):C);return{top:(y.top-b.top+x.top)/_.y,bottom:(b.bottom-y.bottom+x.bottom)/_.y,left:(y.left-b.left+x.left)/_.x,right:(b.right-y.right+x.right)/_.x}}const ju=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:a,elements:c,middlewareData:u}=t,{element:d,padding:f=0}=Ce(e,t)||{};if(d==null)return{};const h=vs(f),v={x:n,y:o},g=Tn(r),x=Mn(g),p=await a.getDimensions(d),m=g==="y",y=m?"top":"left",C=m?"bottom":"right",w=m?"clientHeight":"clientWidth",_=s.reference[x]+s.reference[g]-v[g]-s.floating[x],b=v[g]-s.reference[g],E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let S=E?E[w]:0;(!S||!await(a.isElement==null?void 0:a.isElement(E)))&&(S=c.floating[w]||s.floating[x]);const j=_/2-b/2,T=S/2-p[x]/2-1,A=je(h[y],T),$=je(h[C],T),O=A,D=S-p[x]-$,F=S/2-p[x]/2+j,H=on(O,F,D),N=!u.arrow&&ze(r)!=null&&F!==H&&s.reference[x]/2-(F<O?A:$)-p[x]/2<0,W=N?F<O?F-O:F-D:0;return{[g]:v[g]+W,data:{[g]:H,centerOffset:F-H-W,...N&&{alignmentOffset:W}},reset:N}}}),Eu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:a,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:p=!0,...m}=Ce(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=xe(r),C=de(c),w=xe(c)===c,_=await(u.isRTL==null?void 0:u.isRTL(d.floating)),b=v||(w||!p?[_t(c)]:Cu(c)),E=x!=="none";!v&&E&&b.push(..._u(c,p,x,_));const S=[c,...b],j=await et(t,m),T=[];let A=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&T.push(j[y]),h){const F=vu(r,a,_);T.push(j[F[0]],j[F[1]])}if(A=[...A,{placement:r,overflows:T}],!T.every(F=>F<=0)){var $,O;const F=((($=s.flip)==null?void 0:$.index)||0)+1,H=S[F];if(H&&(!(h==="alignment"?C!==de(H):!1)||A.every(I=>de(I.placement)===C?I.overflows[0]>0:!0)))return{data:{index:F,overflows:A},reset:{placement:H}};let N=(O=A.filter(W=>W.overflows[0]<=0).sort((W,I)=>W.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!N)switch(g){case"bestFit":{var D;const W=(D=A.filter(I=>{if(E){const V=de(I.placement);return V===C||V==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(V=>V>0).reduce((V,J)=>V+J,0)]).sort((I,V)=>I[1]-V[1])[0])==null?void 0:D[0];W&&(N=W);break}case"initialPlacement":N=c;break}if(r!==N)return{reset:{placement:N}}}return{}}}};function lo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function uo(e){return pu.some(t=>e[t]>=0)}const Ru=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=Ce(e,t);switch(o){case"referenceHidden":{const s=await et(t,{...r,elementContext:"reference"}),a=lo(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:uo(a)}}}case"escaped":{const s=await et(t,{...r,altBoundary:!0}),a=lo(s,n.floating);return{data:{escapedOffsets:a,escaped:uo(a)}}}default:return{}}}}},Cs=new Set(["left","top"]);async function Lu(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),a=xe(n),c=ze(n),u=de(n)==="y",d=Cs.has(a)?-1:1,f=s&&u?-1:1,h=Ce(t,e);let{mainAxis:v,crossAxis:g,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof x=="number"&&(g=c==="end"?x*-1:x),u?{x:g*f,y:v*d}:{x:v*d,y:g*f}}const Iu=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:a,middlewareData:c}=t,u=await Lu(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:s+u.y,data:{...u,placement:a}}}}},ku=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:m=>{let{x:y,y:C}=m;return{x:y,y:C}}},...u}=Ce(e,t),d={x:n,y:o},f=await et(t,u),h=de(xe(r)),v=An(h);let g=d[v],x=d[h];if(s){const m=v==="y"?"top":"left",y=v==="y"?"bottom":"right",C=g+f[m],w=g-f[y];g=on(C,g,w)}if(a){const m=h==="y"?"top":"left",y=h==="y"?"bottom":"right",C=x+f[m],w=x-f[y];x=on(C,x,w)}const p=c.fn({...t,[v]:g,[h]:x});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[v]:s,[h]:a}}}}}},Nu=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:a}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=Ce(e,t),f={x:n,y:o},h=de(r),v=An(h);let g=f[v],x=f[h];const p=Ce(c,t),m=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(u){const w=v==="y"?"height":"width",_=s.reference[v]-s.floating[w]+m.mainAxis,b=s.reference[v]+s.reference[w]-m.mainAxis;g<_?g=_:g>b&&(g=b)}if(d){var y,C;const w=v==="y"?"width":"height",_=Cs.has(xe(r)),b=s.reference[h]-s.floating[w]+(_&&((y=a.offset)==null?void 0:y[h])||0)+(_?0:m.crossAxis),E=s.reference[h]+s.reference[w]+(_?0:((C=a.offset)==null?void 0:C[h])||0)-(_?m.crossAxis:0);x<b?x=b:x>E&&(x=E)}return{[v]:g,[h]:x}}}},Pu=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:a,elements:c}=t,{apply:u=()=>{},...d}=Ce(e,t),f=await et(t,d),h=xe(r),v=ze(r),g=de(r)==="y",{width:x,height:p}=s.floating;let m,y;h==="top"||h==="bottom"?(m=h,y=v===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(y=h,m=v==="end"?"top":"bottom");const C=p-f.top-f.bottom,w=x-f.left-f.right,_=je(p-f[m],C),b=je(x-f[y],w),E=!t.middlewareData.shift;let S=_,j=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(j=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(S=C),E&&!v){const A=te(f.left,0),$=te(f.right,0),O=te(f.top,0),D=te(f.bottom,0);g?j=x-2*(A!==0||$!==0?A+$:te(f.left,f.right)):S=p-2*(O!==0||D!==0?O+D:te(f.top,f.bottom))}await u({...t,availableWidth:j,availableHeight:S});const T=await a.getDimensions(c.floating);return x!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function Nt(){return typeof window<"u"}function Ke(e){return xs(e)?(e.nodeName||"").toLowerCase():"#document"}function ne(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function he(e){var t;return(t=(xs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xs(e){return Nt()?e instanceof Node||e instanceof ne(e).Node:!1}function ie(e){return Nt()?e instanceof Element||e instanceof ne(e).Element:!1}function pe(e){return Nt()?e instanceof HTMLElement||e instanceof ne(e).HTMLElement:!1}function fo(e){return!Nt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ne(e).ShadowRoot}const Au=new Set(["inline","contents"]);function it(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Au.has(r)}const Mu=new Set(["table","td","th"]);function Tu(e){return Mu.has(Ke(e))}const Ou=[":popover-open",":modal"];function Pt(e){return Ou.some(t=>{try{return e.matches(t)}catch{return!1}})}const Du=["transform","translate","scale","rotate","perspective"],Fu=["transform","translate","scale","rotate","perspective","filter"],Bu=["paint","layout","strict","content"];function On(e){const t=Dn(),n=ie(e)?ae(e):e;return Du.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Fu.some(o=>(n.willChange||"").includes(o))||Bu.some(o=>(n.contain||"").includes(o))}function $u(e){let t=Ee(e);for(;pe(t)&&!Ze(t);){if(On(t))return t;if(Pt(t))return null;t=Ee(t)}return null}function Dn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Wu=new Set(["html","body","#document"]);function Ze(e){return Wu.has(Ke(e))}function ae(e){return ne(e).getComputedStyle(e)}function At(e){return ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ee(e){if(Ke(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fo(e)&&e.host||he(e);return fo(t)?t.host:t}function ys(e){const t=Ee(e);return Ze(t)?e.ownerDocument?e.ownerDocument.body:e.body:pe(t)&&it(t)?t:ys(t)}function tt(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ys(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),a=ne(r);if(s){const c=sn(a);return t.concat(a,a.visualViewport||[],it(r)?r:[],c&&n?tt(c):[])}return t.concat(r,tt(r,[],n))}function sn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ws(e){const t=ae(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=pe(e),s=r?e.offsetWidth:n,a=r?e.offsetHeight:o,c=wt(n)!==s||wt(o)!==a;return c&&(n=s,o=a),{width:n,height:o,$:c}}function Fn(e){return ie(e)?e:e.contextElement}function Ue(e){const t=Fn(e);if(!pe(t))return fe(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=ws(t);let a=(s?wt(n.width):n.width)/o,c=(s?wt(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Hu=fe(0);function _s(e){const t=ne(e);return!Dn()||!t.visualViewport?Hu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Vu(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ne(e)?!1:t}function Te(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Fn(e);let a=fe(1);t&&(o?ie(o)&&(a=Ue(o)):a=Ue(e));const c=Vu(s,n,o)?_s(s):fe(0);let u=(r.left+c.x)/a.x,d=(r.top+c.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(s){const v=ne(s),g=o&&ie(o)?ne(o):o;let x=v,p=sn(x);for(;p&&o&&g!==x;){const m=Ue(p),y=p.getBoundingClientRect(),C=ae(p),w=y.left+(p.clientLeft+parseFloat(C.paddingLeft))*m.x,_=y.top+(p.clientTop+parseFloat(C.paddingTop))*m.y;u*=m.x,d*=m.y,f*=m.x,h*=m.y,u+=w,d+=_,x=ne(p),p=sn(x)}}return bt({width:f,height:h,x:u,y:d})}function Mt(e,t){const n=At(e).scrollLeft;return t?t.left+n:Te(he(e)).left+n}function bs(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Mt(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Uu(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",a=he(o),c=t?Pt(t.floating):!1;if(o===a||c&&s)return n;let u={scrollLeft:0,scrollTop:0},d=fe(1);const f=fe(0),h=pe(o);if((h||!h&&!s)&&((Ke(o)!=="body"||it(a))&&(u=At(o)),pe(o))){const g=Te(o);d=Ue(o),f.x=g.x+o.clientLeft,f.y=g.y+o.clientTop}const v=a&&!h&&!s?bs(a,u):fe(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+f.x+v.x,y:n.y*d.y-u.scrollTop*d.y+f.y+v.y}}function Zu(e){return Array.from(e.getClientRects())}function Gu(e){const t=he(e),n=At(e),o=e.ownerDocument.body,r=te(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=te(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+Mt(e);const c=-n.scrollTop;return ae(o).direction==="rtl"&&(a+=te(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:a,y:c}}const po=25;function zu(e,t){const n=ne(e),o=he(e),r=n.visualViewport;let s=o.clientWidth,a=o.clientHeight,c=0,u=0;if(r){s=r.width,a=r.height;const f=Dn();(!f||f&&t==="fixed")&&(c=r.offsetLeft,u=r.offsetTop)}const d=Mt(o);if(d<=0){const f=o.ownerDocument,h=f.body,v=getComputedStyle(h),g=f.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,x=Math.abs(o.clientWidth-h.clientWidth-g);x<=po&&(s-=x)}else d<=po&&(s+=d);return{width:s,height:a,x:c,y:u}}const Ku=new Set(["absolute","fixed"]);function qu(e,t){const n=Te(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=pe(e)?Ue(e):fe(1),a=e.clientWidth*s.x,c=e.clientHeight*s.y,u=r*s.x,d=o*s.y;return{width:a,height:c,x:u,y:d}}function ho(e,t,n){let o;if(t==="viewport")o=zu(e,n);else if(t==="document")o=Gu(he(e));else if(ie(t))o=qu(t,n);else{const r=_s(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return bt(o)}function Ss(e,t){const n=Ee(e);return n===t||!ie(n)||Ze(n)?!1:ae(n).position==="fixed"||Ss(n,t)}function Yu(e,t){const n=t.get(e);if(n)return n;let o=tt(e,[],!1).filter(c=>ie(c)&&Ke(c)!=="body"),r=null;const s=ae(e).position==="fixed";let a=s?Ee(e):e;for(;ie(a)&&!Ze(a);){const c=ae(a),u=On(a);!u&&c.position==="fixed"&&(r=null),(s?!u&&!r:!u&&c.position==="static"&&!!r&&Ku.has(r.position)||it(a)&&!u&&Ss(e,a))?o=o.filter(f=>f!==a):r=c,a=Ee(a)}return t.set(e,o),o}function Xu(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?Pt(t)?[]:Yu(t,this._c):[].concat(n),o],c=a[0],u=a.reduce((d,f)=>{const h=ho(t,f,r);return d.top=te(h.top,d.top),d.right=je(h.right,d.right),d.bottom=je(h.bottom,d.bottom),d.left=te(h.left,d.left),d},ho(t,c,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Qu(e){const{width:t,height:n}=ws(e);return{width:t,height:n}}function Ju(e,t,n){const o=pe(t),r=he(t),s=n==="fixed",a=Te(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const u=fe(0);function d(){u.x=Mt(r)}if(o||!o&&!s)if((Ke(t)!=="body"||it(r))&&(c=At(t)),o){const g=Te(t,!0,s,t);u.x=g.x+t.clientLeft,u.y=g.y+t.clientTop}else r&&d();s&&!o&&r&&d();const f=r&&!o&&!s?bs(r,c):fe(0),h=a.left+c.scrollLeft-u.x-f.x,v=a.top+c.scrollTop-u.y-f.y;return{x:h,y:v,width:a.width,height:a.height}}function Yt(e){return ae(e).position==="static"}function mo(e,t){if(!pe(e)||ae(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return he(e)===n&&(n=n.ownerDocument.body),n}function js(e,t){const n=ne(e);if(Pt(e))return n;if(!pe(e)){let r=Ee(e);for(;r&&!Ze(r);){if(ie(r)&&!Yt(r))return r;r=Ee(r)}return n}let o=mo(e,t);for(;o&&Tu(o)&&Yt(o);)o=mo(o,t);return o&&Ze(o)&&Yt(o)&&!On(o)?n:o||$u(e)||n}const ed=async function(e){const t=this.getOffsetParent||js,n=this.getDimensions,o=await n(e.floating);return{reference:Ju(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function td(e){return ae(e).direction==="rtl"}const nd={convertOffsetParentRelativeRectToViewportRelativeRect:Uu,getDocumentElement:he,getClippingRect:Xu,getOffsetParent:js,getElementRects:ed,getClientRects:Zu,getDimensions:Qu,getScale:Ue,isElement:ie,isRTL:td};function Es(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function od(e,t){let n=null,o;const r=he(e);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function a(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),s();const d=e.getBoundingClientRect(),{left:f,top:h,width:v,height:g}=d;if(c||t(),!v||!g)return;const x=mt(h),p=mt(r.clientWidth-(f+v)),m=mt(r.clientHeight-(h+g)),y=mt(f),w={rootMargin:-x+"px "+-p+"px "+-m+"px "+-y+"px",threshold:te(0,je(1,u))||1};let _=!0;function b(E){const S=E[0].intersectionRatio;if(S!==u){if(!_)return a();S?a(!1,S):o=setTimeout(()=>{a(!1,1e-7)},1e3)}S===1&&!Es(d,e.getBoundingClientRect())&&a(),_=!1}try{n=new IntersectionObserver(b,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(b,w)}n.observe(e)}return a(!0),s}function rd(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,d=Fn(e),f=r||s?[...d?tt(d):[],...tt(t)]:[];f.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const h=d&&c?od(d,n):null;let v=-1,g=null;a&&(g=new ResizeObserver(y=>{let[C]=y;C&&C.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),d&&!u&&g.observe(d),g.observe(t));let x,p=u?Te(e):null;u&&m();function m(){const y=Te(e);p&&!Es(p,y)&&n(),p=y,x=requestAnimationFrame(m)}return n(),()=>{var y;f.forEach(C=>{r&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),h?.(),(y=g)==null||y.disconnect(),g=null,u&&cancelAnimationFrame(x)}}const sd=Iu,id=ku,ad=Eu,cd=Pu,ld=Ru,go=ju,ud=Nu,dd=(e,t,n)=>{const o=new Map,r={platform:nd,...n},s={...r.platform,_c:o};return Su(e,t,{...r,platform:s})};var fd=typeof document<"u",pd=function(){},Ct=fd?R.useLayoutEffect:pd;function St(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!St(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const s=r[o];if(!(s==="_owner"&&e.$$typeof)&&!St(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Rs(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vo(e,t){const n=Rs(e);return Math.round(t*n)/n}function Xt(e){const t=l.useRef(e);return Ct(()=>{t.current=e}),t}function hd(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:s,floating:a}={},transform:c=!0,whileElementsMounted:u,open:d}=e,[f,h]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,g]=l.useState(o);St(v,o)||g(o);const[x,p]=l.useState(null),[m,y]=l.useState(null),C=l.useCallback(I=>{I!==E.current&&(E.current=I,p(I))},[]),w=l.useCallback(I=>{I!==S.current&&(S.current=I,y(I))},[]),_=s||x,b=a||m,E=l.useRef(null),S=l.useRef(null),j=l.useRef(f),T=u!=null,A=Xt(u),$=Xt(r),O=Xt(d),D=l.useCallback(()=>{if(!E.current||!S.current)return;const I={placement:t,strategy:n,middleware:v};$.current&&(I.platform=$.current),dd(E.current,S.current,I).then(V=>{const J={...V,isPositioned:O.current!==!1};F.current&&!St(j.current,J)&&(j.current=J,Et.flushSync(()=>{h(J)}))})},[v,t,n,$,O]);Ct(()=>{d===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,h(I=>({...I,isPositioned:!1})))},[d]);const F=l.useRef(!1);Ct(()=>(F.current=!0,()=>{F.current=!1}),[]),Ct(()=>{if(_&&(E.current=_),b&&(S.current=b),_&&b){if(A.current)return A.current(_,b,D);D()}},[_,b,D,A,T]);const H=l.useMemo(()=>({reference:E,floating:S,setReference:C,setFloating:w}),[C,w]),N=l.useMemo(()=>({reference:_,floating:b}),[_,b]),W=l.useMemo(()=>{const I={position:n,left:0,top:0};if(!N.floating)return I;const V=vo(N.floating,f.x),J=vo(N.floating,f.y);return c?{...I,transform:"translate("+V+"px, "+J+"px)",...Rs(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:J}},[n,c,N.floating,f.x,f.y]);return l.useMemo(()=>({...f,update:D,refs:H,elements:N,floatingStyles:W}),[f,D,H,N,W])}const md=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?go({element:o.current,padding:r}).fn(n):{}:o?go({element:o,padding:r}).fn(n):{}}}},gd=(e,t)=>({...sd(e),options:[e,t]}),vd=(e,t)=>({...id(e),options:[e,t]}),Cd=(e,t)=>({...ud(e),options:[e,t]}),xd=(e,t)=>({...ad(e),options:[e,t]}),yd=(e,t)=>({...cd(e),options:[e,t]}),wd=(e,t)=>({...ld(e),options:[e,t]}),_d=(e,t)=>({...md(e),options:[e,t]});var bd="Arrow",Ls=l.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return i.jsx(B.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ls.displayName=bd;var Sd=Ls,Bn="Popper",[Is,ks]=Fe(Bn),[jd,Ns]=Is(Bn),Ps=e=>{const{__scopePopper:t,children:n}=e,[o,r]=l.useState(null);return i.jsx(jd,{scope:t,anchor:o,onAnchorChange:r,children:n})};Ps.displayName=Bn;var As="PopperAnchor",Ms=l.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=Ns(As,n),a=l.useRef(null),c=Z(t,a),u=l.useRef(null);return l.useEffect(()=>{const d=u.current;u.current=o?.current||a.current,d!==u.current&&s.onAnchorChange(u.current)}),o?null:i.jsx(B.div,{...r,ref:c})});Ms.displayName=As;var $n="PopperContent",[Ed,Rd]=Is($n),Ts=l.forwardRef((e,t)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",onPlaced:x,...p}=e,m=Ns($n,n),[y,C]=l.useState(null),w=Z(t,L=>C(L)),[_,b]=l.useState(null),E=ts(_),S=E?.width??0,j=E?.height??0,T=o+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},$=Array.isArray(d)?d:[d],O=$.length>0,D={padding:A,boundary:$.filter(Id),altBoundary:O},{refs:F,floatingStyles:H,placement:N,isPositioned:W,middlewareData:I}=hd({strategy:"fixed",placement:T,whileElementsMounted:(...L)=>rd(...L,{animationFrame:g==="always"}),elements:{reference:m.anchor},middleware:[gd({mainAxis:r+j,alignmentAxis:a}),u&&vd({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Cd():void 0,...D}),u&&xd({...D}),yd({...D,apply:({elements:L,rects:z,availableWidth:X,availableHeight:U})=>{const{width:G,height:K}=z.reference,oe=L.floating.style;oe.setProperty("--radix-popper-available-width",`${X}px`),oe.setProperty("--radix-popper-available-height",`${U}px`),oe.setProperty("--radix-popper-anchor-width",`${G}px`),oe.setProperty("--radix-popper-anchor-height",`${K}px`)}}),_&&_d({element:_,padding:c}),kd({arrowWidth:S,arrowHeight:j}),v&&wd({strategy:"referenceHidden",...D})]}),[V,J]=Fs(N),Ie=Se(x);Y(()=>{W&&Ie?.()},[W,Ie]);const Ye=I.arrow?.x,Xe=I.arrow?.y,ye=I.arrow?.centerOffset!==0,[Be,ke]=l.useState();return Y(()=>{y&&ke(window.getComputedStyle(y).zIndex)},[y]),i.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:W?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Be,"--radix-popper-transform-origin":[I.transformOrigin?.x,I.transformOrigin?.y].join(" "),...I.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(Ed,{scope:n,placedSide:V,onArrowChange:b,arrowX:Ye,arrowY:Xe,shouldHideArrow:ye,children:i.jsx(B.div,{"data-side":V,"data-align":J,...p,ref:w,style:{...p.style,animation:W?void 0:"none"}})})})});Ts.displayName=$n;var Os="PopperArrow",Ld={top:"bottom",right:"left",bottom:"top",left:"right"},Ds=l.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=Rd(Os,o),a=Ld[s.placedSide];return i.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:i.jsx(Sd,{...r,ref:n,style:{...r.style,display:"block"}})})});Ds.displayName=Os;function Id(e){return e!==null}var kd=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,a=r.arrow?.centerOffset!==0,c=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[d,f]=Fs(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(r.arrow?.x??0)+c/2,g=(r.arrow?.y??0)+u/2;let x="",p="";return d==="bottom"?(x=a?h:`${v}px`,p=`${-u}px`):d==="top"?(x=a?h:`${v}px`,p=`${o.floating.height+u}px`):d==="right"?(x=`${-u}px`,p=a?h:`${g}px`):d==="left"&&(x=`${o.floating.width+u}px`,p=a?h:`${g}px`),{data:{x,y:p}}}});function Fs(e){const[t,n="center"]=e.split("-");return[t,n]}var Nd=Ps,Pd=Ms,Ad=Ts,Md=Ds;function Td(e){const t=Od(e),n=l.forwardRef((o,r)=>{const{children:s,...a}=o,c=l.Children.toArray(s),u=c.find(Fd);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function Od(e){const t=l.forwardRef((n,o)=>{const{children:r,...s}=n;if(l.isValidElement(r)){const a=$d(r),c=Bd(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Dd=Symbol("radix.slottable");function Fd(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Dd}function Bd(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function $d(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Bs=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Wd="VisuallyHidden",Hd=l.forwardRef((e,t)=>i.jsx(B.span,{...e,ref:t,style:{...Bs,...e.style}}));Hd.displayName=Wd;var Vd=[" ","Enter","ArrowUp","ArrowDown"],Ud=[" ","Enter"],Oe="Select",[Tt,Ot,Zd]=Kr(Oe),[qe]=Fe(Oe,[Zd,ks]),Dt=ks(),[Gd,Re]=qe(Oe),[zd,Kd]=qe(Oe),$s=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:r,onOpenChange:s,value:a,defaultValue:c,onValueChange:u,dir:d,name:f,autoComplete:h,disabled:v,required:g,form:x}=e,p=Dt(t),[m,y]=l.useState(null),[C,w]=l.useState(null),[_,b]=l.useState(!1),E=Nn(d),[S,j]=Je({prop:o,defaultProp:r??!1,onChange:s,caller:Oe}),[T,A]=Je({prop:a,defaultProp:c,onChange:u,caller:Oe}),$=l.useRef(null),O=m?x||!!m.closest("form"):!0,[D,F]=l.useState(new Set),H=Array.from(D).map(N=>N.props.value).join(";");return i.jsx(Nd,{...p,children:i.jsxs(Gd,{required:g,scope:t,trigger:m,onTriggerChange:y,valueNode:C,onValueNodeChange:w,valueNodeHasChildren:_,onValueNodeHasChildrenChange:b,contentId:Ae(),value:T,onValueChange:A,open:S,onOpenChange:j,dir:E,triggerPointerDownPosRef:$,disabled:v,children:[i.jsx(Tt.Provider,{scope:t,children:i.jsx(zd,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(N=>{F(W=>new Set(W).add(N))},[]),onNativeOptionRemove:l.useCallback(N=>{F(W=>{const I=new Set(W);return I.delete(N),I})},[]),children:n})}),O?i.jsxs(si,{"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:h,value:T,onChange:N=>A(N.target.value),disabled:v,form:x,children:[T===void 0?i.jsx("option",{value:""}):null,Array.from(D)]},H):null]})})};$s.displayName=Oe;var Ws="SelectTrigger",Hs=l.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...r}=e,s=Dt(n),a=Re(Ws,n),c=a.disabled||o,u=Z(t,a.onTriggerChange),d=Ot(n),f=l.useRef("touch"),[h,v,g]=ai(p=>{const m=d().filter(w=>!w.disabled),y=m.find(w=>w.value===a.value),C=ci(m,p,y);C!==void 0&&a.onValueChange(C.value)}),x=p=>{c||(a.onOpenChange(!0),g()),p&&(a.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return i.jsx(Pd,{asChild:!0,...s,children:i.jsx(B.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":ii(a.value)?"":void 0,...r,ref:u,onClick:M(r.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&x(p)}),onPointerDown:M(r.onPointerDown,p=>{f.current=p.pointerType;const m=p.target;m.hasPointerCapture(p.pointerId)&&m.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(x(p),p.preventDefault())}),onKeyDown:M(r.onKeyDown,p=>{const m=h.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&v(p.key),!(m&&p.key===" ")&&Vd.includes(p.key)&&(x(),p.preventDefault())})})})});Hs.displayName=Ws;var Vs="SelectValue",Us=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,children:s,placeholder:a="",...c}=e,u=Re(Vs,n),{onValueNodeHasChildrenChange:d}=u,f=s!==void 0,h=Z(t,u.onValueNodeChange);return Y(()=>{d(f)},[d,f]),i.jsx(B.span,{...c,ref:h,style:{pointerEvents:"none"},children:ii(u.value)?i.jsx(i.Fragment,{children:a}):s})});Us.displayName=Vs;var qd="SelectIcon",Zs=l.forwardRef((e,t)=>{const{__scopeSelect:n,children:o,...r}=e;return i.jsx(B.span,{"aria-hidden":!0,...r,ref:t,children:o||"▼"})});Zs.displayName=qd;var Yd="SelectPortal",Gs=e=>i.jsx(jn,{asChild:!0,...e});Gs.displayName=Yd;var De="SelectContent",zs=l.forwardRef((e,t)=>{const n=Re(De,e.__scopeSelect),[o,r]=l.useState();if(Y(()=>{r(new DocumentFragment)},[]),!n.open){const s=o;return s?Et.createPortal(i.jsx(Ks,{scope:e.__scopeSelect,children:i.jsx(Tt.Slot,{scope:e.__scopeSelect,children:i.jsx("div",{children:e.children})})}),s):null}return i.jsx(qs,{...e,ref:t})});zs.displayName=De;var se=10,[Ks,Le]=qe(De),Xd="SelectContentImpl",Qd=Td("SelectContent.RemoveScroll"),qs=l.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:a,side:c,sideOffset:u,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:g,sticky:x,hideWhenDetached:p,avoidCollisions:m,...y}=e,C=Re(De,n),[w,_]=l.useState(null),[b,E]=l.useState(null),S=Z(t,L=>_(L)),[j,T]=l.useState(null),[A,$]=l.useState(null),O=Ot(n),[D,F]=l.useState(!1),H=l.useRef(!1);l.useEffect(()=>{if(w)return hr(w)},[w]),sr();const N=l.useCallback(L=>{const[z,...X]=O().map(K=>K.ref.current),[U]=X.slice(-1),G=document.activeElement;for(const K of L)if(K===G||(K?.scrollIntoView({block:"nearest"}),K===z&&b&&(b.scrollTop=0),K===U&&b&&(b.scrollTop=b.scrollHeight),K?.focus(),document.activeElement!==G))return},[O,b]),W=l.useCallback(()=>N([j,w]),[N,j,w]);l.useEffect(()=>{D&&W()},[D,W]);const{onOpenChange:I,triggerPointerDownPosRef:V}=C;l.useEffect(()=>{if(w){let L={x:0,y:0};const z=U=>{L={x:Math.abs(Math.round(U.pageX)-(V.current?.x??0)),y:Math.abs(Math.round(U.pageY)-(V.current?.y??0))}},X=U=>{L.x<=10&&L.y<=10?U.preventDefault():w.contains(U.target)||I(!1),document.removeEventListener("pointermove",z),V.current=null};return V.current!==null&&(document.addEventListener("pointermove",z),document.addEventListener("pointerup",X,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",z),document.removeEventListener("pointerup",X,{capture:!0})}}},[w,I,V]),l.useEffect(()=>{const L=()=>I(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[I]);const[J,Ie]=ai(L=>{const z=O().filter(G=>!G.disabled),X=z.find(G=>G.ref.current===document.activeElement),U=ci(z,L,X);U&&setTimeout(()=>U.ref.current.focus())}),Ye=l.useCallback((L,z,X)=>{const U=!H.current&&!X;(C.value!==void 0&&C.value===z||U)&&(T(L),U&&(H.current=!0))},[C.value]),Xe=l.useCallback(()=>w?.focus(),[w]),ye=l.useCallback((L,z,X)=>{const U=!H.current&&!X;(C.value!==void 0&&C.value===z||U)&&$(L)},[C.value]),Be=o==="popper"?an:Ys,ke=Be===an?{side:c,sideOffset:u,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:g,sticky:x,hideWhenDetached:p,avoidCollisions:m}:{};return i.jsx(Ks,{scope:n,content:w,viewport:b,onViewportChange:E,itemRefCallback:Ye,selectedItem:j,onItemLeave:Xe,itemTextRefCallback:ye,focusSelectedItem:W,selectedItemText:A,position:o,isPositioned:D,searchRef:J,children:i.jsx(En,{as:Qd,allowPinchZoom:!0,children:i.jsx(Sn,{asChild:!0,trapped:C.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:M(r,L=>{C.trigger?.focus({preventScroll:!0}),L.preventDefault()}),children:i.jsx(bn,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>C.onOpenChange(!1),children:i.jsx(Be,{role:"listbox",id:C.contentId,"data-state":C.open?"open":"closed",dir:C.dir,onContextMenu:L=>L.preventDefault(),...y,...ke,onPlaced:()=>F(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:M(y.onKeyDown,L=>{const z=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!z&&L.key.length===1&&Ie(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let U=O().filter(G=>!G.disabled).map(G=>G.ref.current);if(["ArrowUp","End"].includes(L.key)&&(U=U.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const G=L.target,K=U.indexOf(G);U=U.slice(K+1)}setTimeout(()=>N(U)),L.preventDefault()}})})})})})})});qs.displayName=Xd;var Jd="SelectItemAlignedPosition",Ys=l.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...r}=e,s=Re(De,n),a=Le(De,n),[c,u]=l.useState(null),[d,f]=l.useState(null),h=Z(t,S=>f(S)),v=Ot(n),g=l.useRef(!1),x=l.useRef(!0),{viewport:p,selectedItem:m,selectedItemText:y,focusSelectedItem:C}=a,w=l.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&d&&p&&m&&y){const S=s.trigger.getBoundingClientRect(),j=d.getBoundingClientRect(),T=s.valueNode.getBoundingClientRect(),A=y.getBoundingClientRect();if(s.dir!=="rtl"){const G=A.left-j.left,K=T.left-G,oe=S.left-K,Ne=S.width+oe,Ft=Math.max(Ne,j.width),Bt=window.innerWidth-se,$t=so(K,[se,Math.max(se,Bt-Ft)]);c.style.minWidth=Ne+"px",c.style.left=$t+"px"}else{const G=j.right-A.right,K=window.innerWidth-T.right-G,oe=window.innerWidth-S.right-K,Ne=S.width+oe,Ft=Math.max(Ne,j.width),Bt=window.innerWidth-se,$t=so(K,[se,Math.max(se,Bt-Ft)]);c.style.minWidth=Ne+"px",c.style.right=$t+"px"}const $=v(),O=window.innerHeight-se*2,D=p.scrollHeight,F=window.getComputedStyle(d),H=parseInt(F.borderTopWidth,10),N=parseInt(F.paddingTop,10),W=parseInt(F.borderBottomWidth,10),I=parseInt(F.paddingBottom,10),V=H+N+D+I+W,J=Math.min(m.offsetHeight*5,V),Ie=window.getComputedStyle(p),Ye=parseInt(Ie.paddingTop,10),Xe=parseInt(Ie.paddingBottom,10),ye=S.top+S.height/2-se,Be=O-ye,ke=m.offsetHeight/2,L=m.offsetTop+ke,z=H+N+L,X=V-z;if(z<=ye){const G=$.length>0&&m===$[$.length-1].ref.current;c.style.bottom="0px";const K=d.clientHeight-p.offsetTop-p.offsetHeight,oe=Math.max(Be,ke+(G?Xe:0)+K+W),Ne=z+oe;c.style.height=Ne+"px"}else{const G=$.length>0&&m===$[0].ref.current;c.style.top="0px";const oe=Math.max(ye,H+p.offsetTop+(G?Ye:0)+ke)+X;c.style.height=oe+"px",p.scrollTop=z-ye+p.offsetTop}c.style.margin=`${se}px 0`,c.style.minHeight=J+"px",c.style.maxHeight=O+"px",o?.(),requestAnimationFrame(()=>g.current=!0)}},[v,s.trigger,s.valueNode,c,d,p,m,y,s.dir,o]);Y(()=>w(),[w]);const[_,b]=l.useState();Y(()=>{d&&b(window.getComputedStyle(d).zIndex)},[d]);const E=l.useCallback(S=>{S&&x.current===!0&&(w(),C?.(),x.current=!1)},[w,C]);return i.jsx(tf,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:g,onScrollButtonChange:E,children:i.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_},children:i.jsx(B.div,{...r,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});Ys.displayName=Jd;var ef="SelectPopperPosition",an=l.forwardRef((e,t)=>{const{__scopeSelect:n,align:o="start",collisionPadding:r=se,...s}=e,a=Dt(n);return i.jsx(Ad,{...a,...s,ref:t,align:o,collisionPadding:r,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});an.displayName=ef;var[tf,Wn]=qe(De,{}),cn="SelectViewport",Xs=l.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...r}=e,s=Le(cn,n),a=Wn(cn,n),c=Z(t,s.onViewportChange),u=l.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),i.jsx(Tt.Slot,{scope:n,children:i.jsx(B.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:M(r.onScroll,d=>{const f=d.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:v}=a;if(v?.current&&h){const g=Math.abs(u.current-f.scrollTop);if(g>0){const x=window.innerHeight-se*2,p=parseFloat(h.style.minHeight),m=parseFloat(h.style.height),y=Math.max(p,m);if(y<x){const C=y+g,w=Math.min(x,C),_=C-w;h.style.height=w+"px",h.style.bottom==="0px"&&(f.scrollTop=_>0?_:0,h.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});Xs.displayName=cn;var Qs="SelectGroup",[nf,of]=qe(Qs),rf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=Ae();return i.jsx(nf,{scope:n,id:r,children:i.jsx(B.div,{role:"group","aria-labelledby":r,...o,ref:t})})});rf.displayName=Qs;var Js="SelectLabel",sf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=of(Js,n);return i.jsx(B.div,{id:r.id,...o,ref:t})});sf.displayName=Js;var jt="SelectItem",[af,ei]=qe(jt),ti=l.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:r=!1,textValue:s,...a}=e,c=Re(jt,n),u=Le(jt,n),d=c.value===o,[f,h]=l.useState(s??""),[v,g]=l.useState(!1),x=Z(t,C=>u.itemRefCallback?.(C,o,r)),p=Ae(),m=l.useRef("touch"),y=()=>{r||(c.onValueChange(o),c.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(af,{scope:n,value:o,disabled:r,textId:p,isSelected:d,onItemTextChange:l.useCallback(C=>{h(w=>w||(C?.textContent??"").trim())},[]),children:i.jsx(Tt.ItemSlot,{scope:n,value:o,disabled:r,textValue:f,children:i.jsx(B.div,{role:"option","aria-labelledby":p,"data-highlighted":v?"":void 0,"aria-selected":d&&v,"data-state":d?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...a,ref:x,onFocus:M(a.onFocus,()=>g(!0)),onBlur:M(a.onBlur,()=>g(!1)),onClick:M(a.onClick,()=>{m.current!=="mouse"&&y()}),onPointerUp:M(a.onPointerUp,()=>{m.current==="mouse"&&y()}),onPointerDown:M(a.onPointerDown,C=>{m.current=C.pointerType}),onPointerMove:M(a.onPointerMove,C=>{m.current=C.pointerType,r?u.onItemLeave?.():m.current==="mouse"&&C.currentTarget.focus({preventScroll:!0})}),onPointerLeave:M(a.onPointerLeave,C=>{C.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:M(a.onKeyDown,C=>{u.searchRef?.current!==""&&C.key===" "||(Ud.includes(C.key)&&y(),C.key===" "&&C.preventDefault())})})})})});ti.displayName=jt;var Qe="SelectItemText",ni=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,...s}=e,a=Re(Qe,n),c=Le(Qe,n),u=ei(Qe,n),d=Kd(Qe,n),[f,h]=l.useState(null),v=Z(t,y=>h(y),u.onItemTextChange,y=>c.itemTextRefCallback?.(y,u.value,u.disabled)),g=f?.textContent,x=l.useMemo(()=>i.jsx("option",{value:u.value,disabled:u.disabled,children:g},u.value),[u.disabled,u.value,g]),{onNativeOptionAdd:p,onNativeOptionRemove:m}=d;return Y(()=>(p(x),()=>m(x)),[p,m,x]),i.jsxs(i.Fragment,{children:[i.jsx(B.span,{id:u.textId,...s,ref:v}),u.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Et.createPortal(s.children,a.valueNode):null]})});ni.displayName=Qe;var oi="SelectItemIndicator",cf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return ei(oi,n).isSelected?i.jsx(B.span,{"aria-hidden":!0,...o,ref:t}):null});cf.displayName=oi;var ln="SelectScrollUpButton",lf=l.forwardRef((e,t)=>{const n=Le(ln,e.__scopeSelect),o=Wn(ln,e.__scopeSelect),[r,s]=l.useState(!1),a=Z(t,o.onScrollButtonChange);return Y(()=>{if(n.viewport&&n.isPositioned){let c=function(){const d=u.scrollTop>0;s(d)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),r?i.jsx(ri,{...e,ref:a,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});lf.displayName=ln;var un="SelectScrollDownButton",uf=l.forwardRef((e,t)=>{const n=Le(un,e.__scopeSelect),o=Wn(un,e.__scopeSelect),[r,s]=l.useState(!1),a=Z(t,o.onScrollButtonChange);return Y(()=>{if(n.viewport&&n.isPositioned){let c=function(){const d=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)<d;s(f)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),r?i.jsx(ri,{...e,ref:a,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});uf.displayName=un;var ri=l.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...r}=e,s=Le("SelectScrollButton",n),a=l.useRef(null),c=Ot(n),u=l.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>u(),[u]),Y(()=>{c().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[c]),i.jsx(B.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:M(r.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(o,50))}),onPointerMove:M(r.onPointerMove,()=>{s.onItemLeave?.(),a.current===null&&(a.current=window.setInterval(o,50))}),onPointerLeave:M(r.onPointerLeave,()=>{u()})})}),df="SelectSeparator",ff=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return i.jsx(B.div,{"aria-hidden":!0,...o,ref:t})});ff.displayName=df;var dn="SelectArrow",pf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=Dt(n),s=Re(dn,n),a=Le(dn,n);return s.open&&a.position==="popper"?i.jsx(Md,{...r,...o,ref:t}):null});pf.displayName=dn;var hf="SelectBubbleInput",si=l.forwardRef(({__scopeSelect:e,value:t,...n},o)=>{const r=l.useRef(null),s=Z(o,r),a=ns(t);return l.useEffect(()=>{const c=r.current;if(!c)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(a!==t&&f){const h=new Event("change",{bubbles:!0});f.call(c,t),c.dispatchEvent(h)}},[a,t]),i.jsx(B.select,{...n,style:{...Bs,...n.style},ref:s,defaultValue:t})});si.displayName=hf;function ii(e){return e===""||e===void 0}function ai(e){const t=Se(e),n=l.useRef(""),o=l.useRef(0),r=l.useCallback(a=>{const c=n.current+a;t(c),(function u(d){n.current=d,window.clearTimeout(o.current),d!==""&&(o.current=window.setTimeout(()=>u(""),1e3))})(c)},[t]),s=l.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,r,s]}function ci(e,t,n){const r=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let a=mf(e,Math.max(s,0));r.length===1&&(a=a.filter(d=>d!==n));const u=a.find(d=>d.textValue.toLowerCase().startsWith(r.toLowerCase()));return u!==n?u:void 0}function mf(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var gf=$s,vf=Hs,Cf=Us,xf=Zs,yf=Gs,wf=zs,_f=Xs,bf=ti,Sf=ni;const jf="_root_1qyg8_1",Ef="_label_1qyg8_8",Rf="_trigger_1qyg8_16",Lf="_error_1qyg8_46",If="_icon_1qyg8_51",kf="_content_1qyg8_58",Nf="_viewport_1qyg8_71",Pf="_item_1qyg8_75",Af="_errorText_1qyg8_99",ge={root:jf,label:Ef,trigger:Rf,error:Lf,icon:If,content:kf,viewport:Nf,item:Pf,errorText:Af},li=R.forwardRef(({data:e,placeholder:t,label:n,error:o,className:r,value:s,onChange:a,...c},u)=>{const d=R.useId();return i.jsxs("div",{className:P(ge.root,r),children:[n&&i.jsx("label",{htmlFor:d,className:ge.label,children:n}),i.jsxs(gf,{value:s,onValueChange:a,...c,children:[i.jsxs(vf,{ref:u,id:d,className:P(ge.trigger,{[ge.error]:!!o}),children:[i.jsx(Cf,{placeholder:t}),i.jsx(xf,{asChild:!0,children:i.jsx(fn,{className:ge.icon})})]}),i.jsx(yf,{children:i.jsx(wf,{className:ge.content,position:"popper",sideOffset:4,children:i.jsx(_f,{className:ge.viewport,children:e.map(f=>i.jsx(bf,{value:f.value,className:ge.item,children:i.jsx(Sf,{children:f.label})},f.value))})})})]}),o&&i.jsx("div",{className:ge.errorText,children:o})]})});li.displayName="Select";const Mf="_text_18ys9_1",Tf="_s_18ys9_5",Of="_m_18ys9_10",Df="_dark_18ys9_21",Ff="_light_18ys9_25",Qt={text:Mf,s:Tf,m:Of,dark:Df,light:Ff},ui=({component:e="p",size:t="m",color:n="dark",className:o,children:r,...s})=>{const a=P(Qt.text,Qt[t],Qt[n],o);return R.createElement(e,{className:a,...s},r)};ui.displayName="Text";const Bf="_wrapper_122rz_1",$f="_label_122rz_9",Wf="_container_122rz_17",Hf="_textarea_122rz_23",Vf="_error_122rz_59",Uf="_s_122rz_63",Zf="_m_122rz_66",Gf="_errorText_122rz_70",Pe={wrapper:Bf,label:$f,container:Wf,textarea:Hf,error:Vf,s:Uf,m:Zf,errorText:Gf},di=R.forwardRef(({label:e,error:t,className:n="",disabled:o,value:r,defaultValue:s,onChange:a,size:c="m",...u},d)=>{const f=R.useId(),h=R.useRef(null);R.useImperativeHandle(d,()=>h.current);const v=r!==void 0,g=m=>{a?.(m)},x=P(Pe.wrapper,n),p=P(Pe.textarea,Pe[c],{[Pe.error]:!!t});return i.jsxs("div",{className:x,children:[e&&i.jsx("label",{htmlFor:f,className:Pe.label,children:e}),i.jsx("div",{className:Pe.container,children:i.jsx("textarea",{...u,ref:h,id:f,className:p,disabled:o,value:v?r:void 0,defaultValue:v?void 0:s,onChange:g})}),t&&i.jsx("div",{className:Pe.errorText,children:t})]})});di.displayName="Textarea";const zf="_button_1hm1n_1",Kf={button:zf},fi=R.forwardRef(({asChild:e=!1,className:t,...n},o)=>{const r=e?_n:"button",s=P(Kf.button,t);return i.jsx(r,{ref:o,className:s,...n})});fi.displayName="UnstyledButton";exports.AddIcon=Cn;exports.AddMediaIcon=_o;exports.AppleIcon=To;exports.ArrowDownIcon=fn;exports.ArrowLeftIcon=bo;exports.ArrowRightIcon=pn;exports.ArrowUpIcon=So;exports.Avatar=wo;exports.BackPhotoIcon=Oo;exports.Breadcrumbs=Jo;exports.Button=tr;exports.CalendarIcon=Do;exports.CheckmarkIcon=hn;exports.CircleAddIcon=Fo;exports.CircleButton=ot;exports.CoinIcon=Bo;exports.CrossIcon=nt;exports.DeleteIcon=mn;exports.DocumentBackIcon=$o;exports.DownloadIcon=jo;exports.Drawer=Fr;exports.DrawerClose=Yc;exports.DrawerContent=Xc;exports.DrawerDescription=$r;exports.DrawerFooter=Qc;exports.DrawerTitle=Br;exports.DrawerTrigger=qc;exports.EditIDIcon=Wo;exports.EditIcon=Eo;exports.EyeIcon=gn;exports.EyeOffIcon=vn;exports.FOOTER_DEFAULTS=tn;exports.FilterIcon=Ro;exports.FireIcon=Lo;exports.Footer=Wr;exports.FrontPhotoIcon=Ho;exports.GoogleIcon=Vo;exports.Heading=Hr;exports.Icon=k;exports.ImageUpload=Ur;exports.ImagesUpload=Vr;exports.Input=Zr;exports.Link=kn;exports.LogOutIcon=Uo;exports.LogoIcon=xn;exports.LongArrowLeftIcon=Io;exports.LongArrowRightIcon=ko;exports.Modal=w1;exports.ModalClose=b1;exports.ModalContent=S1;exports.ModalDescription=zr;exports.ModalTitle=Gr;exports.ModalTrigger=_1;exports.MsgIcon=Zo;exports.PersonalcardIcon=Go;exports.PlusIcon=No;exports.RadioGroup=gs;exports.RegenerateIcon=Po;exports.ReverseIcon=zo;exports.SearchIcon=Ao;exports.SectionContainer=fu;exports.Select=li;exports.StarIcon=Ko;exports.Text=ui;exports.Textarea=di;exports.Tg2Icon=yn;exports.TgIcon=qo;exports.TimeIcon=Mo;exports.UnstyledButton=fi;exports.UserIcon=Yo;exports.VkIcon=Xo;exports.WatchIcon=Qo;exports.WhatsappIcon=wn;
45
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Oc="DialogDescriptionWarning",Dc=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${kr(Oc).contentName}}.`;return l.useEffect(()=>{const r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},Nr=gr,Pr=Cr,Ar=yr,Mr=wr,Tr=_r,Or=Sr,Dr=Er,It=Lr;const Fc="_overlay_1i5fg_29",Bc="_drawer_1i5fg_38",$c="_right_1i5fg_59",Wc="_left_1i5fg_69",Hc="_header_1i5fg_118",Vc="_heading_1i5fg_133",Uc="_centered_1i5fg_145",Zc="_description_1i5fg_154",Gc="_scrollableContainer_1i5fg_174",zc="_closeButton_1i5fg_201",Kc="_footer_1i5fg_225",re={overlay:Fc,drawer:Bc,right:$c,left:Wc,header:Hc,heading:Vc,centered:Uc,description:Zc,scrollableContainer:Gc,closeButton:zc,footer:Kc},Fr=Nr,Yc=Pr,qc=It;function Xc({children:e,showClose:t=!0,side:n="right",scrollableContainerClassName:o="",className:r="",...s}){const a=[],c=[];return R.Children.forEach(e,u=>{if(R.isValidElement(u)){const d=u.type;d===Br||d===$r?a.push(u):c.push(u)}else c.push(u)}),i.jsxs(Ar,{children:[i.jsx(Mr,{className:re.overlay}),i.jsxs(Tr,{className:P(re.drawer,r,n==="left"&&re.left,n==="right"&&re.right),...s,children:[a.length>0&&i.jsx("div",{className:re.header,children:a}),i.jsx("div",{className:P(re.scrollableContainer,o),children:c}),t&&i.jsx(It,{asChild:!0,"aria-label":"Close",children:i.jsx(ot,{className:re.closeButton,variant:"white",children:i.jsx(nt,{})})})]})]})}function Br({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Or,{className:P(re.heading,{[re.centered]:t},n),...o,children:e})}function $r({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Dr,{className:P(re.description,{[re.centered]:t},n),...o,children:e})}function Qc({children:e,className:t="",...n}){return i.jsx("div",{className:P(re.footer,t),...n,children:e})}Fr.displayName="Drawer";const Jc="_link_gxfgk_1",el="_active_gxfgk_11",tl="_xs_gxfgk_16",nl="_s_gxfgk_21",ol="_m_gxfgk_26",rl="_primary_gxfgk_37",sl="_secondary_gxfgk_46",pt={link:Jc,active:el,xs:tl,s:nl,m:ol,primary:rl,secondary:sl},kn=({href:e,external:t=!1,subdomainLink:n=!1,isActive:o=!1,size:r="m",variant:s="primary",children:a,className:c,component:u,...d})=>{const f=P(pt.link,pt[r],pt[s],{[pt.active]:o},c);return t?i.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:f,...d,children:a}):n||!u?i.jsx("a",{href:e,className:f,...d,children:a}):i.jsx(u,{href:e,className:f,...d,children:a})};kn.displayName="Link";const il="_footer_19j1m_1",al="_privacyLink_19j1m_4",cl="_wrapper_19j1m_8",ll="_logo_19j1m_18",ul="_top_19j1m_23",dl="_topLeft_19j1m_45",fl="_description_19j1m_51",pl="_rightContainer_19j1m_68",hl="_bottom_19j1m_88",ml="_bottomLeft_19j1m_109",gl="_copyright_19j1m_126",vl="_bottomRight_19j1m_133",Cl="_supportText_19j1m_150",xl="_socialButtons_19j1m_157",yl="_socialButton_19j1m_157",wl="_tgIcon_19j1m_169",Y={footer:il,privacyLink:al,wrapper:cl,logo:ll,top:ul,topLeft:dl,description:fl,rightContainer:pl,bottom:hl,bottomLeft:ml,copyright:gl,bottomRight:vl,supportText:Cl,socialButtons:xl,socialButton:yl,tgIcon:wl},tn={logo:i.jsx(xn,{}),socialLinks:[{href:"https://t.me/trely_channel",icon:i.jsx(yn,{className:Y.tgIcon}),ariaLabel:"Telegram"},{href:"https://wa.me/1234567890",icon:i.jsx(wn,{}),ariaLabel:"WhatsApp"}]};function Wr({logo:e=tn.logo,logoHref:t="/",logoComponent:n,description:o,actionsSlot:r,copyright:s,privacyLink:a,supportText:c,socialLinks:u=tn.socialLinks,className:d}){return i.jsx("footer",{className:P(Y.footer,d),children:i.jsxs("div",{className:Y.wrapper,children:[i.jsxs("div",{className:Y.top,children:[i.jsxs("div",{className:Y.topLeft,children:[n?i.jsx(n,{href:t,className:Y.logo,children:e}):i.jsx("a",{href:t,className:Y.logo,children:e}),i.jsx("p",{className:Y.description,children:o})]}),i.jsx("div",{className:Y.rightContainer,children:r})]}),i.jsxs("div",{className:Y.bottom,children:[i.jsxs("div",{className:Y.bottomLeft,children:[i.jsx("span",{className:Y.copyright,children:s}),i.jsx(kn,{href:a.href,variant:"secondary",size:"xs",className:Y.privacyLink,component:a.component,children:a.label})]}),i.jsxs("div",{className:Y.bottomRight,children:[i.jsx("p",{className:Y.supportText,children:c}),i.jsx("div",{className:Y.socialButtons,children:u.map((f,h)=>i.jsx(ot,{variant:"black",asChild:!0,className:Y.socialButton,children:i.jsx("a",{href:f.href,target:"_blank",rel:"noopener noreferrer","aria-label":f.ariaLabel,children:f.icon})},h))})]})]})]})})}Wr.displayName="Footer";const _l="_heading_c76kt_1",bl="_xxs_c76kt_5",Sl="_xs_c76kt_10",jl="_s_c76kt_21",El="_m_c76kt_32",Rl="_l_c76kt_48",Ll="_dark_c76kt_59",Il="_light_c76kt_63",Kt={heading:_l,xxs:bl,xs:Sl,s:jl,m:El,l:Rl,dark:Ll,light:Il},Hr=({component:e="p",size:t="m",color:n="dark",className:o,children:r,...s})=>{const a=P(Kt.heading,Kt[t],Kt[n],o);return R.createElement(e,{className:a,...s},r)};Hr.displayName="Heading";const kl="_container_rd81k_1",Nl="_label_rd81k_7",Pl="_previewGrid_rd81k_15",Al="_previewItem_rd81k_21",Ml="_deleteButton_rd81k_29",Tl="_previewImage_rd81k_33",Ol="_uploadButton_rd81k_68",Dl="_uploadButtonText_rd81k_94",Fl="_error_rd81k_103",ge={container:kl,label:Nl,previewGrid:Pl,previewItem:Al,deleteButton:Ml,previewImage:Tl,uploadButton:Ol,uploadButtonText:Dl,error:Fl},Vr=R.forwardRef(({value:e=[],onChange:t,label:n,error:o,maxFiles:r=10,accept:s="image/png,image/jpeg,image/jpg",disabled:a=!1,className:c},u)=>{const d=R.useRef(null),[f,h]=R.useState([]);R.useEffect(()=>{const y=e.map(C=>URL.createObjectURL(C));return h(y),()=>{y.forEach(C=>URL.revokeObjectURL(C))}},[e]);const v=()=>{a||d.current?.click()},g=y=>{const C=Array.from(y.target.files||[]);if(C.length>0){const w=[...e,...C].slice(0,r);t?.(w)}d.current&&(d.current.value="")},x=y=>{if(!a){const C=e.filter((w,_)=>_!==y);t?.(C)}},p=e.length>0,m=e.length<r;return i.jsxs("div",{ref:u,className:P(ge.container,c),children:[n&&i.jsx("label",{className:ge.label,children:n}),p&&i.jsx("div",{className:ge.previewGrid,children:e.map((y,C)=>i.jsxs("div",{className:ge.previewItem,children:[i.jsx("img",{src:f[C],alt:y.name,className:P(ge.previewImage,"globalPreviewImage")}),i.jsx("button",{type:"button",onClick:()=>x(C),className:ge.deleteButton,disabled:a,"aria-label":"Delete photo",children:i.jsx(mn,{})})]},`${y.name}-${C}`))}),m&&i.jsxs(i.Fragment,{children:[i.jsx("input",{ref:d,type:"file",accept:s,onChange:g,style:{display:"none"},multiple:!0,disabled:a}),i.jsxs("button",{type:"button",onClick:v,className:ge.uploadButton,disabled:a,children:[i.jsx(Cn,{}),n&&i.jsx("span",{className:ge.uploadButtonText,children:n})]})]}),o&&i.jsx("span",{className:ge.error,children:o})]})});Vr.displayName="ImagesUpload";const Bl="_wrapper_1a52j_1",$l="_label_1a52j_8",Wl="_container_1a52j_16",Hl="_input_1a52j_21",Vl="_uploadBox_1a52j_25",Ul="_hasPreview_1a52j_46",Zl="_error_1a52j_49",Gl="_placeholder_1a52j_54",zl="_icon_1a52j_62",Kl="_placeholderText_1a52j_75",Yl="_preview_1a52j_83",ql="_previewImage_1a52j_91",Xl="_errorText_1a52j_98",ee={wrapper:Bl,label:$l,container:Wl,input:Hl,uploadBox:Vl,hasPreview:Ul,error:Zl,placeholder:Gl,icon:zl,placeholderText:Kl,preview:Yl,previewImage:ql,errorText:Xl},Ur=R.forwardRef(({label:e,error:t,icon:n,placeholderText:o,preview:r,className:s="",disabled:a,onChange:c,...u},d)=>{const f=R.useId(),h=R.useRef(null),[v,g]=R.useState(r||null);R.useImperativeHandle(d,()=>h.current);const x=y=>{const C=y.target.files?.[0];if(C){const w=new FileReader;w.onloadend=()=>{g(w.result)},w.readAsDataURL(C)}c&&c(y)},p=P(ee.wrapper,s),m=P(ee.uploadBox,{[ee.error]:!!t,[ee.hasPreview]:!!v});return i.jsxs("div",{className:p,children:[e&&i.jsx("label",{className:ee.label,children:e}),i.jsxs("div",{className:ee.container,children:[i.jsxs("label",{htmlFor:f,className:m,children:[i.jsx("input",{ref:h,id:f,type:"file",accept:"image/*",className:ee.input,disabled:a,onChange:x,...u}),v?i.jsx("div",{className:ee.preview,children:i.jsx("img",{src:v,alt:"Preview",className:P(ee.previewImage,"globalPreviewImage")})}):i.jsxs("div",{className:P(ee.placeholder,"globalPlaceholder"),children:[n&&i.jsx("div",{className:ee.icon,children:n}),o&&i.jsx("span",{className:ee.placeholderText,children:o})]})]}),t&&i.jsx("div",{className:ee.errorText,children:t})]})]})});Ur.displayName="ImageUpload";const Ql="_wrapper_bxyot_1",Jl="_label_bxyot_9",e1="_container_bxyot_17",t1="_input_bxyot_23",n1="_error_bxyot_57",o1="_hasUnit_bxyot_61",r1="_hasUnitAndClear_bxyot_64",s1="_hasPasswordToggle_bxyot_67",i1="_hasPasswordAndClear_bxyot_70",a1="_hasPasswordAndUnit_bxyot_73",c1="_hasAll_bxyot_76",l1="_unit_bxyot_80",u1="_clearButton_bxyot_94",d1="_passwordToggle_bxyot_129",f1="_errorText_bxyot_171",Q={wrapper:Ql,label:Jl,container:e1,input:t1,error:n1,hasUnit:o1,hasUnitAndClear:r1,hasPasswordToggle:s1,hasPasswordAndClear:i1,hasPasswordAndUnit:a1,hasAll:c1,unit:l1,clearButton:u1,passwordToggle:d1,errorText:f1},Zr=R.forwardRef(({label:e,error:t,clearable:n=!0,onClear:o,unit:r,showPasswordToggle:s=!1,className:a="",disabled:c,value:u,defaultValue:d,onChange:f,type:h,...v},g)=>{const x=R.useId(),p=R.useRef(null),[m,y]=R.useState(!1);R.useImperativeHandle(g,()=>p.current);const C=u!==void 0,[w,_]=R.useState(()=>C?u:d||"");R.useEffect(()=>{C&&_(u)},[C,u]);const b=String(w).length>0,E=O=>{const D=O.target.value;C||_(D),f?.(O)},S=()=>{if(_(""),!C&&p.current&&(p.current.value="",f)){const O={target:p.current,currentTarget:p.current};f(O)}o?.()},T=(h==="password"||s)&&m?"text":h,A=P(Q.wrapper,a),$=P(Q.input,{[Q.error]:!!t,[Q.hasUnit]:!!r,[Q.hasUnitAndClear]:!!r&&n&&b&&!c,[Q.hasPasswordToggle]:s,[Q.hasPasswordAndClear]:s&&n&&b&&!c,[Q.hasPasswordAndUnit]:s&&!!r,[Q.hasAll]:s&&n&&b&&!c&&!!r});return i.jsxs("div",{className:A,children:[e&&i.jsx("label",{htmlFor:x,className:Q.label,children:e}),i.jsxs("div",{className:Q.container,children:[i.jsx("input",{...v,type:T,ref:p,id:x,className:$,disabled:c,value:C?u:void 0,defaultValue:C?void 0:d,onChange:E}),s&&i.jsx("button",{type:"button",className:Q.passwordToggle,onClick:()=>y(!m),tabIndex:-1,"aria-label":m?"Hide password":"Show password",children:m?i.jsx(vn,{}):i.jsx(gn,{})}),n&&b&&!c&&i.jsx("button",{type:"button",className:Q.clearButton,onClick:S,tabIndex:-1,"aria-label":"Clear input",children:i.jsx(nt,{})}),r&&i.jsx("span",{className:Q.unit,children:r})]}),t&&i.jsx("div",{className:Q.errorText,children:t})]})});Zr.displayName="Input";const p1="_overlay_11xnv_29",h1="_modal_11xnv_38",m1="_header_11xnv_108",g1="_heading_11xnv_123",v1="_centered_11xnv_135",C1="_description_11xnv_139",x1="_scrollableContainer_11xnv_159",y1="_closeButton_11xnv_186",de={overlay:p1,modal:h1,header:m1,heading:g1,centered:v1,description:C1,scrollableContainer:x1,closeButton:y1},w1=Nr,_1=Pr,b1=It;function S1({children:e,showClose:t=!0,scrollableContainerClassName:n="",className:o="",...r}){const s=[],a=[];return R.Children.forEach(e,c=>{if(R.isValidElement(c)){const u=c.type;u===Gr||u===zr?s.push(c):a.push(c)}else a.push(c)}),i.jsxs(Ar,{children:[i.jsx(Mr,{className:de.overlay}),i.jsxs(Tr,{className:P(de.modal,o),...r,children:[s.length>0&&i.jsx("div",{className:de.header,children:s}),i.jsx("div",{className:P(de.scrollableContainer,n),children:a}),t&&i.jsx(It,{asChild:!0,"aria-label":"Close",children:i.jsx(ot,{className:de.closeButton,children:i.jsx(nt,{})})})]})]})}function Gr({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Or,{className:P(de.heading,{[de.centered]:t},n),...o,children:e})}function zr({children:e,centered:t=!1,className:n="",...o}){return i.jsx(Dr,{className:P(de.description,{[de.centered]:t},n),...o,children:e})}function j1({children:e,className:t="",...n}){return i.jsx("div",{className:P(de.footer,t),...n,children:e})}function oo(e){const t=E1(e),n=l.forwardRef((o,r)=>{const{children:s,...a}=o,c=l.Children.toArray(s),u=c.find(L1);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function E1(e){const t=l.forwardRef((n,o)=>{const{children:r,...s}=n;if(l.isValidElement(r)){const a=k1(r),c=I1(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var R1=Symbol("radix.slottable");function L1(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===R1}function I1(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function k1(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Kr(e){const t=e+"CollectionProvider",[n,o]=Fe(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:y}=p,C=R.useRef(null),w=R.useRef(new Map).current;return i.jsx(r,{scope:m,itemMap:w,collectionRef:C,children:y})};a.displayName=t;const c=e+"CollectionSlot",u=oo(c),d=R.forwardRef((p,m)=>{const{scope:y,children:C}=p,w=s(c,y),_=Z(m,w.collectionRef);return i.jsx(u,{ref:_,children:C})});d.displayName=c;const f=e+"CollectionItemSlot",h="data-radix-collection-item",v=oo(f),g=R.forwardRef((p,m)=>{const{scope:y,children:C,...w}=p,_=R.useRef(null),b=Z(m,_),E=s(f,y);return R.useEffect(()=>(E.itemMap.set(_,{ref:_,...w}),()=>void E.itemMap.delete(_))),i.jsx(v,{[h]:"",ref:b,children:C})});g.displayName=f;function x(p){const m=s(e+"CollectionConsumer",p);return R.useCallback(()=>{const C=m.collectionRef.current;if(!C)return[];const w=Array.from(C.querySelectorAll(`[${h}]`));return Array.from(m.itemMap.values()).sort((E,S)=>w.indexOf(E.ref.current)-w.indexOf(S.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:d,ItemSlot:g},x,o]}var N1=l.createContext(void 0);function Nn(e){const t=l.useContext(N1);return e||t||"ltr"}var Yt="rovingFocusGroup.onEntryFocus",P1={bubbles:!1,cancelable:!0},st="RovingFocusGroup",[nn,Yr,A1]=Kr(st),[M1,qr]=Fe(st,[A1]),[T1,O1]=M1(st),Xr=l.forwardRef((e,t)=>i.jsx(nn.Provider,{scope:e.__scopeRovingFocusGroup,children:i.jsx(nn.Slot,{scope:e.__scopeRovingFocusGroup,children:i.jsx(D1,{...e,ref:t})})}));Xr.displayName=st;var D1=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:r=!1,dir:s,currentTabStopId:a,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...h}=e,v=l.useRef(null),g=Z(t,v),x=Nn(s),[p,m]=Je({prop:a,defaultProp:c??null,onChange:u,caller:st}),[y,C]=l.useState(!1),w=Se(d),_=Yr(n),b=l.useRef(!1),[E,S]=l.useState(0);return l.useEffect(()=>{const j=v.current;if(j)return j.addEventListener(Yt,w),()=>j.removeEventListener(Yt,w)},[w]),i.jsx(T1,{scope:n,orientation:o,dir:x,loop:r,currentTabStopId:p,onItemFocus:l.useCallback(j=>m(j),[m]),onItemShiftTab:l.useCallback(()=>C(!0),[]),onFocusableItemAdd:l.useCallback(()=>S(j=>j+1),[]),onFocusableItemRemove:l.useCallback(()=>S(j=>j-1),[]),children:i.jsx(B.div,{tabIndex:y||E===0?-1:0,"data-orientation":o,...h,ref:g,style:{outline:"none",...e.style},onMouseDown:M(e.onMouseDown,()=>{b.current=!0}),onFocus:M(e.onFocus,j=>{const T=!b.current;if(j.target===j.currentTarget&&T&&!y){const A=new CustomEvent(Yt,P1);if(j.currentTarget.dispatchEvent(A),!A.defaultPrevented){const $=_().filter(N=>N.focusable),O=$.find(N=>N.active),D=$.find(N=>N.id===p),H=[O,D,...$].filter(Boolean).map(N=>N.ref.current);es(H,f)}}b.current=!1}),onBlur:M(e.onBlur,()=>C(!1))})})}),Qr="RovingFocusGroupItem",Jr=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:r=!1,tabStopId:s,children:a,...c}=e,u=Ae(),d=s||u,f=O1(Qr,n),h=f.currentTabStopId===d,v=Yr(n),{onFocusableItemAdd:g,onFocusableItemRemove:x,currentTabStopId:p}=f;return l.useEffect(()=>{if(o)return g(),()=>x()},[o,g,x]),i.jsx(nn.ItemSlot,{scope:n,id:d,focusable:o,active:r,children:i.jsx(B.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...c,ref:t,onMouseDown:M(e.onMouseDown,m=>{o?f.onItemFocus(d):m.preventDefault()}),onFocus:M(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:M(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){f.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const y=$1(m,f.orientation,f.dir);if(y!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let w=v().filter(_=>_.focusable).map(_=>_.ref.current);if(y==="last")w.reverse();else if(y==="prev"||y==="next"){y==="prev"&&w.reverse();const _=w.indexOf(m.currentTarget);w=f.loop?W1(w,_+1):w.slice(_+1)}setTimeout(()=>es(w))}}),children:typeof a=="function"?a({isCurrentTabStop:h,hasTabStop:p!=null}):a})})});Jr.displayName=Qr;var F1={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function B1(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function $1(e,t,n){const o=B1(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return F1[o]}function es(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function W1(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var H1=Xr,V1=Jr;function ts(e){const[t,n]=l.useState(void 0);return q(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let a,c;if("borderBoxSize"in s){const u=s.borderBoxSize,d=Array.isArray(u)?u[0]:u;a=d.inlineSize,c=d.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}function ns(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Pn="Radio",[U1,os]=Fe(Pn),[Z1,G1]=U1(Pn),rs=l.forwardRef((e,t)=>{const{__scopeRadio:n,name:o,checked:r=!1,required:s,disabled:a,value:c="on",onCheck:u,form:d,...f}=e,[h,v]=l.useState(null),g=Z(t,m=>v(m)),x=l.useRef(!1),p=h?d||!!h.closest("form"):!0;return i.jsxs(Z1,{scope:n,checked:r,disabled:a,children:[i.jsx(B.button,{type:"button",role:"radio","aria-checked":r,"data-state":cs(r),"data-disabled":a?"":void 0,disabled:a,value:c,...f,ref:g,onClick:M(e.onClick,m=>{r||u?.(),p&&(x.current=m.isPropagationStopped(),x.current||m.stopPropagation())})}),p&&i.jsx(as,{control:h,bubbles:!x.current,name:o,value:c,checked:r,required:s,disabled:a,form:d,style:{transform:"translateX(-100%)"}})]})});rs.displayName=Pn;var ss="RadioIndicator",is=l.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:o,...r}=e,s=G1(ss,n);return i.jsx(rt,{present:o||s.checked,children:i.jsx(B.span,{"data-state":cs(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:t})})});is.displayName=ss;var z1="RadioBubbleInput",as=l.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:o=!0,...r},s)=>{const a=l.useRef(null),c=Z(a,s),u=ns(n),d=ts(t);return l.useEffect(()=>{const f=a.current;if(!f)return;const h=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(h,"checked").set;if(u!==n&&g){const x=new Event("click",{bubbles:o});g.call(f,n),f.dispatchEvent(x)}},[u,n,o]),i.jsx(B.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...r,tabIndex:-1,ref:c,style:{...r.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});as.displayName=z1;function cs(e){return e?"checked":"unchecked"}var K1=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],kt="RadioGroup",[Y1]=Fe(kt,[qr,os]),ls=qr(),us=os(),[q1,X1]=Y1(kt),ds=l.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:o,defaultValue:r,value:s,required:a=!1,disabled:c=!1,orientation:u,dir:d,loop:f=!0,onValueChange:h,...v}=e,g=ls(n),x=Nn(d),[p,m]=Je({prop:s,defaultProp:r??null,onChange:h,caller:kt});return i.jsx(q1,{scope:n,name:o,required:a,disabled:c,value:p,onValueChange:m,children:i.jsx(H1,{asChild:!0,...g,orientation:u,dir:x,loop:f,children:i.jsx(B.div,{role:"radiogroup","aria-required":a,"aria-orientation":u,"data-disabled":c?"":void 0,dir:x,...v,ref:t})})})});ds.displayName=kt;var fs="RadioGroupItem",ps=l.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:o,...r}=e,s=X1(fs,n),a=s.disabled||o,c=ls(n),u=us(n),d=l.useRef(null),f=Z(t,d),h=s.value===r.value,v=l.useRef(!1);return l.useEffect(()=>{const g=p=>{K1.includes(p.key)&&(v.current=!0)},x=()=>v.current=!1;return document.addEventListener("keydown",g),document.addEventListener("keyup",x),()=>{document.removeEventListener("keydown",g),document.removeEventListener("keyup",x)}},[]),i.jsx(V1,{asChild:!0,...c,focusable:!a,active:h,children:i.jsx(rs,{disabled:a,required:s.required,checked:h,...u,...r,name:s.name,ref:f,onCheck:()=>s.onValueChange(r.value),onKeyDown:M(g=>{g.key==="Enter"&&g.preventDefault()}),onFocus:M(r.onFocus,()=>{v.current&&d.current?.click()})})})});ps.displayName=fs;var Q1="RadioGroupIndicator",hs=l.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...o}=e,r=us(n);return i.jsx(is,{...r,...o,ref:t})});hs.displayName=Q1;var J1=ds,eu=ps,ro=hs;const tu="_root_13g3l_1",nu="_label_13g3l_7",ou="_group_13g3l_15",ru="_item_13g3l_21",su="_radio_13g3l_27",iu="_square_13g3l_51",au="_indicator_13g3l_81",cu="_itemLabel_13g3l_92",lu="_errorText_13g3l_104",uu="_checkIcon_13g3l_125",le={root:tu,label:nu,group:ou,item:ru,radio:su,square:iu,indicator:au,itemLabel:cu,errorText:lu,checkIcon:uu},ms=R.forwardRef(({label:e,className:t,variant:n="circle",...o},r)=>{const s=R.useId();return i.jsxs("div",{className:P(le.item,t),children:[i.jsx(eu,{ref:r,id:s,className:P(le.radio,n==="square"&&le.square),...o,children:n==="square"?i.jsx(ro,{children:i.jsx(hn,{className:le.checkIcon})}):i.jsx(ro,{className:le.indicator})}),i.jsx("label",{htmlFor:s,className:le.itemLabel,children:e})]})});ms.displayName="Radio";const gs=R.forwardRef(({options:e,error:t,label:n,className:o,onChange:r,variant:s,...a},c)=>{const u=R.useId();return i.jsxs("div",{className:P(le.root,o),children:[n&&i.jsx("label",{htmlFor:u,className:le.label,children:n}),i.jsx(J1,{ref:c,className:le.group,id:u,onValueChange:r,...a,children:e.map(d=>i.jsx(ms,{value:d.value,label:d.label,variant:d.variant??s??"circle"},d.value))}),t&&i.jsx("div",{className:le.errorText,children:t})]})});gs.displayName="RadioGroup";const du="_container_493c2_1",fu="_withoutPadding_493c2_6",ht={container:du,withoutPadding:fu};function pu({children:e,paddingSize:t="md",className:n}){return i.jsx("div",{className:P(ht.container,{[ht.sm]:t==="sm",[ht.md]:t==="md",[ht.withoutPadding]:t==="none"},n),children:e})}function so(e,[t,n]){return Math.min(n,Math.max(t,e))}const hu=["top","right","bottom","left"],je=Math.min,te=Math.max,wt=Math.round,mt=Math.floor,pe=e=>({x:e,y:e}),mu={left:"right",right:"left",bottom:"top",top:"bottom"},gu={start:"end",end:"start"};function on(e,t,n){return te(e,je(t,n))}function Ce(e,t){return typeof e=="function"?e(t):e}function xe(e){return e.split("-")[0]}function ze(e){return e.split("-")[1]}function An(e){return e==="x"?"y":"x"}function Mn(e){return e==="y"?"height":"width"}const vu=new Set(["top","bottom"]);function fe(e){return vu.has(xe(e))?"y":"x"}function Tn(e){return An(fe(e))}function Cu(e,t,n){n===void 0&&(n=!1);const o=ze(e),r=Tn(e),s=Mn(r);let a=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=_t(a)),[a,_t(a)]}function xu(e){const t=_t(e);return[rn(e),t,rn(t)]}function rn(e){return e.replace(/start|end/g,t=>gu[t])}const io=["left","right"],ao=["right","left"],yu=["top","bottom"],wu=["bottom","top"];function _u(e,t,n){switch(e){case"top":case"bottom":return n?t?ao:io:t?io:ao;case"left":case"right":return t?yu:wu;default:return[]}}function bu(e,t,n,o){const r=ze(e);let s=_u(xe(e),n==="start",o);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(rn)))),s}function _t(e){return e.replace(/left|right|bottom|top/g,t=>mu[t])}function Su(e){return{top:0,right:0,bottom:0,left:0,...e}}function vs(e){return typeof e!="number"?Su(e):{top:e,right:e,bottom:e,left:e}}function bt(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function co(e,t,n){let{reference:o,floating:r}=e;const s=fe(t),a=Tn(t),c=Mn(a),u=xe(t),d=s==="y",f=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,v=o[c]/2-r[c]/2;let g;switch(u){case"top":g={x:f,y:o.y-r.height};break;case"bottom":g={x:f,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(ze(t)){case"start":g[a]-=v*(n&&d?-1:1);break;case"end":g[a]+=v*(n&&d?-1:1);break}return g}const ju=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:a}=n,c=s.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:h}=co(d,o,u),v=o,g={},x=0;for(let p=0;p<c.length;p++){const{name:m,fn:y}=c[p],{x:C,y:w,data:_,reset:b}=await y({x:f,y:h,initialPlacement:o,placement:v,strategy:r,middlewareData:g,rects:d,platform:a,elements:{reference:e,floating:t}});f=C??f,h=w??h,g={...g,[m]:{...g[m],..._}},b&&x<=50&&(x++,typeof b=="object"&&(b.placement&&(v=b.placement),b.rects&&(d=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):b.rects),{x:f,y:h}=co(d,v,u)),p=-1)}return{x:f,y:h,placement:v,strategy:r,middlewareData:g}};async function et(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:a,elements:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:v=!1,padding:g=0}=Ce(t,e),x=vs(g),m=c[v?h==="floating"?"reference":"floating":h],y=bt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(m)))==null||n?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:d,rootBoundary:f,strategy:u})),C=h==="floating"?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),_=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},b=bt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:w,strategy:u}):C);return{top:(y.top-b.top+x.top)/_.y,bottom:(b.bottom-y.bottom+x.bottom)/_.y,left:(y.left-b.left+x.left)/_.x,right:(b.right-y.right+x.right)/_.x}}const Eu=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:a,elements:c,middlewareData:u}=t,{element:d,padding:f=0}=Ce(e,t)||{};if(d==null)return{};const h=vs(f),v={x:n,y:o},g=Tn(r),x=Mn(g),p=await a.getDimensions(d),m=g==="y",y=m?"top":"left",C=m?"bottom":"right",w=m?"clientHeight":"clientWidth",_=s.reference[x]+s.reference[g]-v[g]-s.floating[x],b=v[g]-s.reference[g],E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let S=E?E[w]:0;(!S||!await(a.isElement==null?void 0:a.isElement(E)))&&(S=c.floating[w]||s.floating[x]);const j=_/2-b/2,T=S/2-p[x]/2-1,A=je(h[y],T),$=je(h[C],T),O=A,D=S-p[x]-$,F=S/2-p[x]/2+j,H=on(O,F,D),N=!u.arrow&&ze(r)!=null&&F!==H&&s.reference[x]/2-(F<O?A:$)-p[x]/2<0,W=N?F<O?F-O:F-D:0;return{[g]:v[g]+W,data:{[g]:H,centerOffset:F-H-W,...N&&{alignmentOffset:W}},reset:N}}}),Ru=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:a,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:p=!0,...m}=Ce(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=xe(r),C=fe(c),w=xe(c)===c,_=await(u.isRTL==null?void 0:u.isRTL(d.floating)),b=v||(w||!p?[_t(c)]:xu(c)),E=x!=="none";!v&&E&&b.push(...bu(c,p,x,_));const S=[c,...b],j=await et(t,m),T=[];let A=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&T.push(j[y]),h){const F=Cu(r,a,_);T.push(j[F[0]],j[F[1]])}if(A=[...A,{placement:r,overflows:T}],!T.every(F=>F<=0)){var $,O;const F=((($=s.flip)==null?void 0:$.index)||0)+1,H=S[F];if(H&&(!(h==="alignment"?C!==fe(H):!1)||A.every(I=>fe(I.placement)===C?I.overflows[0]>0:!0)))return{data:{index:F,overflows:A},reset:{placement:H}};let N=(O=A.filter(W=>W.overflows[0]<=0).sort((W,I)=>W.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!N)switch(g){case"bestFit":{var D;const W=(D=A.filter(I=>{if(E){const V=fe(I.placement);return V===C||V==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(V=>V>0).reduce((V,J)=>V+J,0)]).sort((I,V)=>I[1]-V[1])[0])==null?void 0:D[0];W&&(N=W);break}case"initialPlacement":N=c;break}if(r!==N)return{reset:{placement:N}}}return{}}}};function lo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function uo(e){return hu.some(t=>e[t]>=0)}const Lu=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=Ce(e,t);switch(o){case"referenceHidden":{const s=await et(t,{...r,elementContext:"reference"}),a=lo(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:uo(a)}}}case"escaped":{const s=await et(t,{...r,altBoundary:!0}),a=lo(s,n.floating);return{data:{escapedOffsets:a,escaped:uo(a)}}}default:return{}}}}},Cs=new Set(["left","top"]);async function Iu(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),a=xe(n),c=ze(n),u=fe(n)==="y",d=Cs.has(a)?-1:1,f=s&&u?-1:1,h=Ce(t,e);let{mainAxis:v,crossAxis:g,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof x=="number"&&(g=c==="end"?x*-1:x),u?{x:g*f,y:v*d}:{x:v*d,y:g*f}}const ku=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:a,middlewareData:c}=t,u=await Iu(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:s+u.y,data:{...u,placement:a}}}}},Nu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:m=>{let{x:y,y:C}=m;return{x:y,y:C}}},...u}=Ce(e,t),d={x:n,y:o},f=await et(t,u),h=fe(xe(r)),v=An(h);let g=d[v],x=d[h];if(s){const m=v==="y"?"top":"left",y=v==="y"?"bottom":"right",C=g+f[m],w=g-f[y];g=on(C,g,w)}if(a){const m=h==="y"?"top":"left",y=h==="y"?"bottom":"right",C=x+f[m],w=x-f[y];x=on(C,x,w)}const p=c.fn({...t,[v]:g,[h]:x});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[v]:s,[h]:a}}}}}},Pu=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:a}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=Ce(e,t),f={x:n,y:o},h=fe(r),v=An(h);let g=f[v],x=f[h];const p=Ce(c,t),m=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(u){const w=v==="y"?"height":"width",_=s.reference[v]-s.floating[w]+m.mainAxis,b=s.reference[v]+s.reference[w]-m.mainAxis;g<_?g=_:g>b&&(g=b)}if(d){var y,C;const w=v==="y"?"width":"height",_=Cs.has(xe(r)),b=s.reference[h]-s.floating[w]+(_&&((y=a.offset)==null?void 0:y[h])||0)+(_?0:m.crossAxis),E=s.reference[h]+s.reference[w]+(_?0:((C=a.offset)==null?void 0:C[h])||0)-(_?m.crossAxis:0);x<b?x=b:x>E&&(x=E)}return{[v]:g,[h]:x}}}},Au=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:a,elements:c}=t,{apply:u=()=>{},...d}=Ce(e,t),f=await et(t,d),h=xe(r),v=ze(r),g=fe(r)==="y",{width:x,height:p}=s.floating;let m,y;h==="top"||h==="bottom"?(m=h,y=v===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(y=h,m=v==="end"?"top":"bottom");const C=p-f.top-f.bottom,w=x-f.left-f.right,_=je(p-f[m],C),b=je(x-f[y],w),E=!t.middlewareData.shift;let S=_,j=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(j=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(S=C),E&&!v){const A=te(f.left,0),$=te(f.right,0),O=te(f.top,0),D=te(f.bottom,0);g?j=x-2*(A!==0||$!==0?A+$:te(f.left,f.right)):S=p-2*(O!==0||D!==0?O+D:te(f.top,f.bottom))}await u({...t,availableWidth:j,availableHeight:S});const T=await a.getDimensions(c.floating);return x!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function Nt(){return typeof window<"u"}function Ke(e){return xs(e)?(e.nodeName||"").toLowerCase():"#document"}function ne(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function me(e){var t;return(t=(xs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xs(e){return Nt()?e instanceof Node||e instanceof ne(e).Node:!1}function ie(e){return Nt()?e instanceof Element||e instanceof ne(e).Element:!1}function he(e){return Nt()?e instanceof HTMLElement||e instanceof ne(e).HTMLElement:!1}function fo(e){return!Nt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ne(e).ShadowRoot}const Mu=new Set(["inline","contents"]);function it(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Mu.has(r)}const Tu=new Set(["table","td","th"]);function Ou(e){return Tu.has(Ke(e))}const Du=[":popover-open",":modal"];function Pt(e){return Du.some(t=>{try{return e.matches(t)}catch{return!1}})}const Fu=["transform","translate","scale","rotate","perspective"],Bu=["transform","translate","scale","rotate","perspective","filter"],$u=["paint","layout","strict","content"];function On(e){const t=Dn(),n=ie(e)?ae(e):e;return Fu.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Bu.some(o=>(n.willChange||"").includes(o))||$u.some(o=>(n.contain||"").includes(o))}function Wu(e){let t=Ee(e);for(;he(t)&&!Ze(t);){if(On(t))return t;if(Pt(t))return null;t=Ee(t)}return null}function Dn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Hu=new Set(["html","body","#document"]);function Ze(e){return Hu.has(Ke(e))}function ae(e){return ne(e).getComputedStyle(e)}function At(e){return ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ee(e){if(Ke(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fo(e)&&e.host||me(e);return fo(t)?t.host:t}function ys(e){const t=Ee(e);return Ze(t)?e.ownerDocument?e.ownerDocument.body:e.body:he(t)&&it(t)?t:ys(t)}function tt(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ys(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),a=ne(r);if(s){const c=sn(a);return t.concat(a,a.visualViewport||[],it(r)?r:[],c&&n?tt(c):[])}return t.concat(r,tt(r,[],n))}function sn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ws(e){const t=ae(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=he(e),s=r?e.offsetWidth:n,a=r?e.offsetHeight:o,c=wt(n)!==s||wt(o)!==a;return c&&(n=s,o=a),{width:n,height:o,$:c}}function Fn(e){return ie(e)?e:e.contextElement}function Ue(e){const t=Fn(e);if(!he(t))return pe(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=ws(t);let a=(s?wt(n.width):n.width)/o,c=(s?wt(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Vu=pe(0);function _s(e){const t=ne(e);return!Dn()||!t.visualViewport?Vu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Uu(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ne(e)?!1:t}function Te(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Fn(e);let a=pe(1);t&&(o?ie(o)&&(a=Ue(o)):a=Ue(e));const c=Uu(s,n,o)?_s(s):pe(0);let u=(r.left+c.x)/a.x,d=(r.top+c.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(s){const v=ne(s),g=o&&ie(o)?ne(o):o;let x=v,p=sn(x);for(;p&&o&&g!==x;){const m=Ue(p),y=p.getBoundingClientRect(),C=ae(p),w=y.left+(p.clientLeft+parseFloat(C.paddingLeft))*m.x,_=y.top+(p.clientTop+parseFloat(C.paddingTop))*m.y;u*=m.x,d*=m.y,f*=m.x,h*=m.y,u+=w,d+=_,x=ne(p),p=sn(x)}}return bt({width:f,height:h,x:u,y:d})}function Mt(e,t){const n=At(e).scrollLeft;return t?t.left+n:Te(me(e)).left+n}function bs(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Mt(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Zu(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",a=me(o),c=t?Pt(t.floating):!1;if(o===a||c&&s)return n;let u={scrollLeft:0,scrollTop:0},d=pe(1);const f=pe(0),h=he(o);if((h||!h&&!s)&&((Ke(o)!=="body"||it(a))&&(u=At(o)),he(o))){const g=Te(o);d=Ue(o),f.x=g.x+o.clientLeft,f.y=g.y+o.clientTop}const v=a&&!h&&!s?bs(a,u):pe(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+f.x+v.x,y:n.y*d.y-u.scrollTop*d.y+f.y+v.y}}function Gu(e){return Array.from(e.getClientRects())}function zu(e){const t=me(e),n=At(e),o=e.ownerDocument.body,r=te(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=te(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+Mt(e);const c=-n.scrollTop;return ae(o).direction==="rtl"&&(a+=te(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:a,y:c}}const po=25;function Ku(e,t){const n=ne(e),o=me(e),r=n.visualViewport;let s=o.clientWidth,a=o.clientHeight,c=0,u=0;if(r){s=r.width,a=r.height;const f=Dn();(!f||f&&t==="fixed")&&(c=r.offsetLeft,u=r.offsetTop)}const d=Mt(o);if(d<=0){const f=o.ownerDocument,h=f.body,v=getComputedStyle(h),g=f.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,x=Math.abs(o.clientWidth-h.clientWidth-g);x<=po&&(s-=x)}else d<=po&&(s+=d);return{width:s,height:a,x:c,y:u}}const Yu=new Set(["absolute","fixed"]);function qu(e,t){const n=Te(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=he(e)?Ue(e):pe(1),a=e.clientWidth*s.x,c=e.clientHeight*s.y,u=r*s.x,d=o*s.y;return{width:a,height:c,x:u,y:d}}function ho(e,t,n){let o;if(t==="viewport")o=Ku(e,n);else if(t==="document")o=zu(me(e));else if(ie(t))o=qu(t,n);else{const r=_s(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return bt(o)}function Ss(e,t){const n=Ee(e);return n===t||!ie(n)||Ze(n)?!1:ae(n).position==="fixed"||Ss(n,t)}function Xu(e,t){const n=t.get(e);if(n)return n;let o=tt(e,[],!1).filter(c=>ie(c)&&Ke(c)!=="body"),r=null;const s=ae(e).position==="fixed";let a=s?Ee(e):e;for(;ie(a)&&!Ze(a);){const c=ae(a),u=On(a);!u&&c.position==="fixed"&&(r=null),(s?!u&&!r:!u&&c.position==="static"&&!!r&&Yu.has(r.position)||it(a)&&!u&&Ss(e,a))?o=o.filter(f=>f!==a):r=c,a=Ee(a)}return t.set(e,o),o}function Qu(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?Pt(t)?[]:Xu(t,this._c):[].concat(n),o],c=a[0],u=a.reduce((d,f)=>{const h=ho(t,f,r);return d.top=te(h.top,d.top),d.right=je(h.right,d.right),d.bottom=je(h.bottom,d.bottom),d.left=te(h.left,d.left),d},ho(t,c,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Ju(e){const{width:t,height:n}=ws(e);return{width:t,height:n}}function ed(e,t,n){const o=he(t),r=me(t),s=n==="fixed",a=Te(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const u=pe(0);function d(){u.x=Mt(r)}if(o||!o&&!s)if((Ke(t)!=="body"||it(r))&&(c=At(t)),o){const g=Te(t,!0,s,t);u.x=g.x+t.clientLeft,u.y=g.y+t.clientTop}else r&&d();s&&!o&&r&&d();const f=r&&!o&&!s?bs(r,c):pe(0),h=a.left+c.scrollLeft-u.x-f.x,v=a.top+c.scrollTop-u.y-f.y;return{x:h,y:v,width:a.width,height:a.height}}function qt(e){return ae(e).position==="static"}function mo(e,t){if(!he(e)||ae(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return me(e)===n&&(n=n.ownerDocument.body),n}function js(e,t){const n=ne(e);if(Pt(e))return n;if(!he(e)){let r=Ee(e);for(;r&&!Ze(r);){if(ie(r)&&!qt(r))return r;r=Ee(r)}return n}let o=mo(e,t);for(;o&&Ou(o)&&qt(o);)o=mo(o,t);return o&&Ze(o)&&qt(o)&&!On(o)?n:o||Wu(e)||n}const td=async function(e){const t=this.getOffsetParent||js,n=this.getDimensions,o=await n(e.floating);return{reference:ed(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function nd(e){return ae(e).direction==="rtl"}const od={convertOffsetParentRelativeRectToViewportRelativeRect:Zu,getDocumentElement:me,getClippingRect:Qu,getOffsetParent:js,getElementRects:td,getClientRects:Gu,getDimensions:Ju,getScale:Ue,isElement:ie,isRTL:nd};function Es(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function rd(e,t){let n=null,o;const r=me(e);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function a(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),s();const d=e.getBoundingClientRect(),{left:f,top:h,width:v,height:g}=d;if(c||t(),!v||!g)return;const x=mt(h),p=mt(r.clientWidth-(f+v)),m=mt(r.clientHeight-(h+g)),y=mt(f),w={rootMargin:-x+"px "+-p+"px "+-m+"px "+-y+"px",threshold:te(0,je(1,u))||1};let _=!0;function b(E){const S=E[0].intersectionRatio;if(S!==u){if(!_)return a();S?a(!1,S):o=setTimeout(()=>{a(!1,1e-7)},1e3)}S===1&&!Es(d,e.getBoundingClientRect())&&a(),_=!1}try{n=new IntersectionObserver(b,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(b,w)}n.observe(e)}return a(!0),s}function sd(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,d=Fn(e),f=r||s?[...d?tt(d):[],...tt(t)]:[];f.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const h=d&&c?rd(d,n):null;let v=-1,g=null;a&&(g=new ResizeObserver(y=>{let[C]=y;C&&C.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),d&&!u&&g.observe(d),g.observe(t));let x,p=u?Te(e):null;u&&m();function m(){const y=Te(e);p&&!Es(p,y)&&n(),p=y,x=requestAnimationFrame(m)}return n(),()=>{var y;f.forEach(C=>{r&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),h?.(),(y=g)==null||y.disconnect(),g=null,u&&cancelAnimationFrame(x)}}const id=ku,ad=Nu,cd=Ru,ld=Au,ud=Lu,go=Eu,dd=Pu,fd=(e,t,n)=>{const o=new Map,r={platform:od,...n},s={...r.platform,_c:o};return ju(e,t,{...r,platform:s})};var pd=typeof document<"u",hd=function(){},Ct=pd?R.useLayoutEffect:hd;function St(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!St(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const s=r[o];if(!(s==="_owner"&&e.$$typeof)&&!St(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Rs(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vo(e,t){const n=Rs(e);return Math.round(t*n)/n}function Xt(e){const t=l.useRef(e);return Ct(()=>{t.current=e}),t}function md(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:s,floating:a}={},transform:c=!0,whileElementsMounted:u,open:d}=e,[f,h]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,g]=l.useState(o);St(v,o)||g(o);const[x,p]=l.useState(null),[m,y]=l.useState(null),C=l.useCallback(I=>{I!==E.current&&(E.current=I,p(I))},[]),w=l.useCallback(I=>{I!==S.current&&(S.current=I,y(I))},[]),_=s||x,b=a||m,E=l.useRef(null),S=l.useRef(null),j=l.useRef(f),T=u!=null,A=Xt(u),$=Xt(r),O=Xt(d),D=l.useCallback(()=>{if(!E.current||!S.current)return;const I={placement:t,strategy:n,middleware:v};$.current&&(I.platform=$.current),fd(E.current,S.current,I).then(V=>{const J={...V,isPositioned:O.current!==!1};F.current&&!St(j.current,J)&&(j.current=J,Et.flushSync(()=>{h(J)}))})},[v,t,n,$,O]);Ct(()=>{d===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,h(I=>({...I,isPositioned:!1})))},[d]);const F=l.useRef(!1);Ct(()=>(F.current=!0,()=>{F.current=!1}),[]),Ct(()=>{if(_&&(E.current=_),b&&(S.current=b),_&&b){if(A.current)return A.current(_,b,D);D()}},[_,b,D,A,T]);const H=l.useMemo(()=>({reference:E,floating:S,setReference:C,setFloating:w}),[C,w]),N=l.useMemo(()=>({reference:_,floating:b}),[_,b]),W=l.useMemo(()=>{const I={position:n,left:0,top:0};if(!N.floating)return I;const V=vo(N.floating,f.x),J=vo(N.floating,f.y);return c?{...I,transform:"translate("+V+"px, "+J+"px)",...Rs(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:J}},[n,c,N.floating,f.x,f.y]);return l.useMemo(()=>({...f,update:D,refs:H,elements:N,floatingStyles:W}),[f,D,H,N,W])}const gd=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?go({element:o.current,padding:r}).fn(n):{}:o?go({element:o,padding:r}).fn(n):{}}}},vd=(e,t)=>({...id(e),options:[e,t]}),Cd=(e,t)=>({...ad(e),options:[e,t]}),xd=(e,t)=>({...dd(e),options:[e,t]}),yd=(e,t)=>({...cd(e),options:[e,t]}),wd=(e,t)=>({...ld(e),options:[e,t]}),_d=(e,t)=>({...ud(e),options:[e,t]}),bd=(e,t)=>({...gd(e),options:[e,t]});var Sd="Arrow",Ls=l.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return i.jsx(B.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ls.displayName=Sd;var jd=Ls,Bn="Popper",[Is,ks]=Fe(Bn),[Ed,Ns]=Is(Bn),Ps=e=>{const{__scopePopper:t,children:n}=e,[o,r]=l.useState(null);return i.jsx(Ed,{scope:t,anchor:o,onAnchorChange:r,children:n})};Ps.displayName=Bn;var As="PopperAnchor",Ms=l.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=Ns(As,n),a=l.useRef(null),c=Z(t,a),u=l.useRef(null);return l.useEffect(()=>{const d=u.current;u.current=o?.current||a.current,d!==u.current&&s.onAnchorChange(u.current)}),o?null:i.jsx(B.div,{...r,ref:c})});Ms.displayName=As;var $n="PopperContent",[Rd,Ld]=Is($n),Ts=l.forwardRef((e,t)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",onPlaced:x,...p}=e,m=Ns($n,n),[y,C]=l.useState(null),w=Z(t,L=>C(L)),[_,b]=l.useState(null),E=ts(_),S=E?.width??0,j=E?.height??0,T=o+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},$=Array.isArray(d)?d:[d],O=$.length>0,D={padding:A,boundary:$.filter(kd),altBoundary:O},{refs:F,floatingStyles:H,placement:N,isPositioned:W,middlewareData:I}=md({strategy:"fixed",placement:T,whileElementsMounted:(...L)=>sd(...L,{animationFrame:g==="always"}),elements:{reference:m.anchor},middleware:[vd({mainAxis:r+j,alignmentAxis:a}),u&&Cd({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?xd():void 0,...D}),u&&yd({...D}),wd({...D,apply:({elements:L,rects:z,availableWidth:X,availableHeight:U})=>{const{width:G,height:K}=z.reference,oe=L.floating.style;oe.setProperty("--radix-popper-available-width",`${X}px`),oe.setProperty("--radix-popper-available-height",`${U}px`),oe.setProperty("--radix-popper-anchor-width",`${G}px`),oe.setProperty("--radix-popper-anchor-height",`${K}px`)}}),_&&bd({element:_,padding:c}),Nd({arrowWidth:S,arrowHeight:j}),v&&_d({strategy:"referenceHidden",...D})]}),[V,J]=Fs(N),Ie=Se(x);q(()=>{W&&Ie?.()},[W,Ie]);const qe=I.arrow?.x,Xe=I.arrow?.y,ye=I.arrow?.centerOffset!==0,[Be,ke]=l.useState();return q(()=>{y&&ke(window.getComputedStyle(y).zIndex)},[y]),i.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:W?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Be,"--radix-popper-transform-origin":[I.transformOrigin?.x,I.transformOrigin?.y].join(" "),...I.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(Rd,{scope:n,placedSide:V,onArrowChange:b,arrowX:qe,arrowY:Xe,shouldHideArrow:ye,children:i.jsx(B.div,{"data-side":V,"data-align":J,...p,ref:w,style:{...p.style,animation:W?void 0:"none"}})})})});Ts.displayName=$n;var Os="PopperArrow",Id={top:"bottom",right:"left",bottom:"top",left:"right"},Ds=l.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=Ld(Os,o),a=Id[s.placedSide];return i.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:i.jsx(jd,{...r,ref:n,style:{...r.style,display:"block"}})})});Ds.displayName=Os;function kd(e){return e!==null}var Nd=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,a=r.arrow?.centerOffset!==0,c=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[d,f]=Fs(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(r.arrow?.x??0)+c/2,g=(r.arrow?.y??0)+u/2;let x="",p="";return d==="bottom"?(x=a?h:`${v}px`,p=`${-u}px`):d==="top"?(x=a?h:`${v}px`,p=`${o.floating.height+u}px`):d==="right"?(x=`${-u}px`,p=a?h:`${g}px`):d==="left"&&(x=`${o.floating.width+u}px`,p=a?h:`${g}px`),{data:{x,y:p}}}});function Fs(e){const[t,n="center"]=e.split("-");return[t,n]}var Pd=Ps,Ad=Ms,Md=Ts,Td=Ds;function Od(e){const t=Dd(e),n=l.forwardRef((o,r)=>{const{children:s,...a}=o,c=l.Children.toArray(s),u=c.find(Bd);if(u){const d=u.props.children,f=c.map(h=>h===u?l.Children.count(d)>1?l.Children.only(null):l.isValidElement(d)?d.props.children:null:h);return i.jsx(t,{...a,ref:r,children:l.isValidElement(d)?l.cloneElement(d,void 0,f):null})}return i.jsx(t,{...a,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function Dd(e){const t=l.forwardRef((n,o)=>{const{children:r,...s}=n;if(l.isValidElement(r)){const a=Wd(r),c=$d(s,r.props);return r.type!==l.Fragment&&(c.ref=o?Ge(o,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Fd=Symbol("radix.slottable");function Bd(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Fd}function $d(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const u=s(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function Wd(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Bs=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Hd="VisuallyHidden",Vd=l.forwardRef((e,t)=>i.jsx(B.span,{...e,ref:t,style:{...Bs,...e.style}}));Vd.displayName=Hd;var Ud=[" ","Enter","ArrowUp","ArrowDown"],Zd=[" ","Enter"],Oe="Select",[Tt,Ot,Gd]=Kr(Oe),[Ye]=Fe(Oe,[Gd,ks]),Dt=ks(),[zd,Re]=Ye(Oe),[Kd,Yd]=Ye(Oe),$s=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:r,onOpenChange:s,value:a,defaultValue:c,onValueChange:u,dir:d,name:f,autoComplete:h,disabled:v,required:g,form:x}=e,p=Dt(t),[m,y]=l.useState(null),[C,w]=l.useState(null),[_,b]=l.useState(!1),E=Nn(d),[S,j]=Je({prop:o,defaultProp:r??!1,onChange:s,caller:Oe}),[T,A]=Je({prop:a,defaultProp:c,onChange:u,caller:Oe}),$=l.useRef(null),O=m?x||!!m.closest("form"):!0,[D,F]=l.useState(new Set),H=Array.from(D).map(N=>N.props.value).join(";");return i.jsx(Pd,{...p,children:i.jsxs(zd,{required:g,scope:t,trigger:m,onTriggerChange:y,valueNode:C,onValueNodeChange:w,valueNodeHasChildren:_,onValueNodeHasChildrenChange:b,contentId:Ae(),value:T,onValueChange:A,open:S,onOpenChange:j,dir:E,triggerPointerDownPosRef:$,disabled:v,children:[i.jsx(Tt.Provider,{scope:t,children:i.jsx(Kd,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(N=>{F(W=>new Set(W).add(N))},[]),onNativeOptionRemove:l.useCallback(N=>{F(W=>{const I=new Set(W);return I.delete(N),I})},[]),children:n})}),O?i.jsxs(si,{"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:h,value:T,onChange:N=>A(N.target.value),disabled:v,form:x,children:[T===void 0?i.jsx("option",{value:""}):null,Array.from(D)]},H):null]})})};$s.displayName=Oe;var Ws="SelectTrigger",Hs=l.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...r}=e,s=Dt(n),a=Re(Ws,n),c=a.disabled||o,u=Z(t,a.onTriggerChange),d=Ot(n),f=l.useRef("touch"),[h,v,g]=ai(p=>{const m=d().filter(w=>!w.disabled),y=m.find(w=>w.value===a.value),C=ci(m,p,y);C!==void 0&&a.onValueChange(C.value)}),x=p=>{c||(a.onOpenChange(!0),g()),p&&(a.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return i.jsx(Ad,{asChild:!0,...s,children:i.jsx(B.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":ii(a.value)?"":void 0,...r,ref:u,onClick:M(r.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&x(p)}),onPointerDown:M(r.onPointerDown,p=>{f.current=p.pointerType;const m=p.target;m.hasPointerCapture(p.pointerId)&&m.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(x(p),p.preventDefault())}),onKeyDown:M(r.onKeyDown,p=>{const m=h.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&v(p.key),!(m&&p.key===" ")&&Ud.includes(p.key)&&(x(),p.preventDefault())})})})});Hs.displayName=Ws;var Vs="SelectValue",Us=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,children:s,placeholder:a="",...c}=e,u=Re(Vs,n),{onValueNodeHasChildrenChange:d}=u,f=s!==void 0,h=Z(t,u.onValueNodeChange);return q(()=>{d(f)},[d,f]),i.jsx(B.span,{...c,ref:h,style:{pointerEvents:"none"},children:ii(u.value)?i.jsx(i.Fragment,{children:a}):s})});Us.displayName=Vs;var qd="SelectIcon",Zs=l.forwardRef((e,t)=>{const{__scopeSelect:n,children:o,...r}=e;return i.jsx(B.span,{"aria-hidden":!0,...r,ref:t,children:o||"▼"})});Zs.displayName=qd;var Xd="SelectPortal",Gs=e=>i.jsx(jn,{asChild:!0,...e});Gs.displayName=Xd;var De="SelectContent",zs=l.forwardRef((e,t)=>{const n=Re(De,e.__scopeSelect),[o,r]=l.useState();if(q(()=>{r(new DocumentFragment)},[]),!n.open){const s=o;return s?Et.createPortal(i.jsx(Ks,{scope:e.__scopeSelect,children:i.jsx(Tt.Slot,{scope:e.__scopeSelect,children:i.jsx("div",{children:e.children})})}),s):null}return i.jsx(Ys,{...e,ref:t})});zs.displayName=De;var se=10,[Ks,Le]=Ye(De),Qd="SelectContentImpl",Jd=Od("SelectContent.RemoveScroll"),Ys=l.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:a,side:c,sideOffset:u,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:g,sticky:x,hideWhenDetached:p,avoidCollisions:m,...y}=e,C=Re(De,n),[w,_]=l.useState(null),[b,E]=l.useState(null),S=Z(t,L=>_(L)),[j,T]=l.useState(null),[A,$]=l.useState(null),O=Ot(n),[D,F]=l.useState(!1),H=l.useRef(!1);l.useEffect(()=>{if(w)return hr(w)},[w]),sr();const N=l.useCallback(L=>{const[z,...X]=O().map(K=>K.ref.current),[U]=X.slice(-1),G=document.activeElement;for(const K of L)if(K===G||(K?.scrollIntoView({block:"nearest"}),K===z&&b&&(b.scrollTop=0),K===U&&b&&(b.scrollTop=b.scrollHeight),K?.focus(),document.activeElement!==G))return},[O,b]),W=l.useCallback(()=>N([j,w]),[N,j,w]);l.useEffect(()=>{D&&W()},[D,W]);const{onOpenChange:I,triggerPointerDownPosRef:V}=C;l.useEffect(()=>{if(w){let L={x:0,y:0};const z=U=>{L={x:Math.abs(Math.round(U.pageX)-(V.current?.x??0)),y:Math.abs(Math.round(U.pageY)-(V.current?.y??0))}},X=U=>{L.x<=10&&L.y<=10?U.preventDefault():w.contains(U.target)||I(!1),document.removeEventListener("pointermove",z),V.current=null};return V.current!==null&&(document.addEventListener("pointermove",z),document.addEventListener("pointerup",X,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",z),document.removeEventListener("pointerup",X,{capture:!0})}}},[w,I,V]),l.useEffect(()=>{const L=()=>I(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[I]);const[J,Ie]=ai(L=>{const z=O().filter(G=>!G.disabled),X=z.find(G=>G.ref.current===document.activeElement),U=ci(z,L,X);U&&setTimeout(()=>U.ref.current.focus())}),qe=l.useCallback((L,z,X)=>{const U=!H.current&&!X;(C.value!==void 0&&C.value===z||U)&&(T(L),U&&(H.current=!0))},[C.value]),Xe=l.useCallback(()=>w?.focus(),[w]),ye=l.useCallback((L,z,X)=>{const U=!H.current&&!X;(C.value!==void 0&&C.value===z||U)&&$(L)},[C.value]),Be=o==="popper"?an:qs,ke=Be===an?{side:c,sideOffset:u,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:g,sticky:x,hideWhenDetached:p,avoidCollisions:m}:{};return i.jsx(Ks,{scope:n,content:w,viewport:b,onViewportChange:E,itemRefCallback:qe,selectedItem:j,onItemLeave:Xe,itemTextRefCallback:ye,focusSelectedItem:W,selectedItemText:A,position:o,isPositioned:D,searchRef:J,children:i.jsx(En,{as:Jd,allowPinchZoom:!0,children:i.jsx(Sn,{asChild:!0,trapped:C.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:M(r,L=>{C.trigger?.focus({preventScroll:!0}),L.preventDefault()}),children:i.jsx(bn,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>C.onOpenChange(!1),children:i.jsx(Be,{role:"listbox",id:C.contentId,"data-state":C.open?"open":"closed",dir:C.dir,onContextMenu:L=>L.preventDefault(),...y,...ke,onPlaced:()=>F(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:M(y.onKeyDown,L=>{const z=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!z&&L.key.length===1&&Ie(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let U=O().filter(G=>!G.disabled).map(G=>G.ref.current);if(["ArrowUp","End"].includes(L.key)&&(U=U.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const G=L.target,K=U.indexOf(G);U=U.slice(K+1)}setTimeout(()=>N(U)),L.preventDefault()}})})})})})})});Ys.displayName=Qd;var ef="SelectItemAlignedPosition",qs=l.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...r}=e,s=Re(De,n),a=Le(De,n),[c,u]=l.useState(null),[d,f]=l.useState(null),h=Z(t,S=>f(S)),v=Ot(n),g=l.useRef(!1),x=l.useRef(!0),{viewport:p,selectedItem:m,selectedItemText:y,focusSelectedItem:C}=a,w=l.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&d&&p&&m&&y){const S=s.trigger.getBoundingClientRect(),j=d.getBoundingClientRect(),T=s.valueNode.getBoundingClientRect(),A=y.getBoundingClientRect();if(s.dir!=="rtl"){const G=A.left-j.left,K=T.left-G,oe=S.left-K,Ne=S.width+oe,Ft=Math.max(Ne,j.width),Bt=window.innerWidth-se,$t=so(K,[se,Math.max(se,Bt-Ft)]);c.style.minWidth=Ne+"px",c.style.left=$t+"px"}else{const G=j.right-A.right,K=window.innerWidth-T.right-G,oe=window.innerWidth-S.right-K,Ne=S.width+oe,Ft=Math.max(Ne,j.width),Bt=window.innerWidth-se,$t=so(K,[se,Math.max(se,Bt-Ft)]);c.style.minWidth=Ne+"px",c.style.right=$t+"px"}const $=v(),O=window.innerHeight-se*2,D=p.scrollHeight,F=window.getComputedStyle(d),H=parseInt(F.borderTopWidth,10),N=parseInt(F.paddingTop,10),W=parseInt(F.borderBottomWidth,10),I=parseInt(F.paddingBottom,10),V=H+N+D+I+W,J=Math.min(m.offsetHeight*5,V),Ie=window.getComputedStyle(p),qe=parseInt(Ie.paddingTop,10),Xe=parseInt(Ie.paddingBottom,10),ye=S.top+S.height/2-se,Be=O-ye,ke=m.offsetHeight/2,L=m.offsetTop+ke,z=H+N+L,X=V-z;if(z<=ye){const G=$.length>0&&m===$[$.length-1].ref.current;c.style.bottom="0px";const K=d.clientHeight-p.offsetTop-p.offsetHeight,oe=Math.max(Be,ke+(G?Xe:0)+K+W),Ne=z+oe;c.style.height=Ne+"px"}else{const G=$.length>0&&m===$[0].ref.current;c.style.top="0px";const oe=Math.max(ye,H+p.offsetTop+(G?qe:0)+ke)+X;c.style.height=oe+"px",p.scrollTop=z-ye+p.offsetTop}c.style.margin=`${se}px 0`,c.style.minHeight=J+"px",c.style.maxHeight=O+"px",o?.(),requestAnimationFrame(()=>g.current=!0)}},[v,s.trigger,s.valueNode,c,d,p,m,y,s.dir,o]);q(()=>w(),[w]);const[_,b]=l.useState();q(()=>{d&&b(window.getComputedStyle(d).zIndex)},[d]);const E=l.useCallback(S=>{S&&x.current===!0&&(w(),C?.(),x.current=!1)},[w,C]);return i.jsx(nf,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:g,onScrollButtonChange:E,children:i.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_},children:i.jsx(B.div,{...r,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});qs.displayName=ef;var tf="SelectPopperPosition",an=l.forwardRef((e,t)=>{const{__scopeSelect:n,align:o="start",collisionPadding:r=se,...s}=e,a=Dt(n);return i.jsx(Md,{...a,...s,ref:t,align:o,collisionPadding:r,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});an.displayName=tf;var[nf,Wn]=Ye(De,{}),cn="SelectViewport",Xs=l.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...r}=e,s=Le(cn,n),a=Wn(cn,n),c=Z(t,s.onViewportChange),u=l.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),i.jsx(Tt.Slot,{scope:n,children:i.jsx(B.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:M(r.onScroll,d=>{const f=d.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:v}=a;if(v?.current&&h){const g=Math.abs(u.current-f.scrollTop);if(g>0){const x=window.innerHeight-se*2,p=parseFloat(h.style.minHeight),m=parseFloat(h.style.height),y=Math.max(p,m);if(y<x){const C=y+g,w=Math.min(x,C),_=C-w;h.style.height=w+"px",h.style.bottom==="0px"&&(f.scrollTop=_>0?_:0,h.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});Xs.displayName=cn;var Qs="SelectGroup",[of,rf]=Ye(Qs),sf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=Ae();return i.jsx(of,{scope:n,id:r,children:i.jsx(B.div,{role:"group","aria-labelledby":r,...o,ref:t})})});sf.displayName=Qs;var Js="SelectLabel",af=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=rf(Js,n);return i.jsx(B.div,{id:r.id,...o,ref:t})});af.displayName=Js;var jt="SelectItem",[cf,ei]=Ye(jt),ti=l.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:r=!1,textValue:s,...a}=e,c=Re(jt,n),u=Le(jt,n),d=c.value===o,[f,h]=l.useState(s??""),[v,g]=l.useState(!1),x=Z(t,C=>u.itemRefCallback?.(C,o,r)),p=Ae(),m=l.useRef("touch"),y=()=>{r||(c.onValueChange(o),c.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(cf,{scope:n,value:o,disabled:r,textId:p,isSelected:d,onItemTextChange:l.useCallback(C=>{h(w=>w||(C?.textContent??"").trim())},[]),children:i.jsx(Tt.ItemSlot,{scope:n,value:o,disabled:r,textValue:f,children:i.jsx(B.div,{role:"option","aria-labelledby":p,"data-highlighted":v?"":void 0,"aria-selected":d&&v,"data-state":d?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...a,ref:x,onFocus:M(a.onFocus,()=>g(!0)),onBlur:M(a.onBlur,()=>g(!1)),onClick:M(a.onClick,()=>{m.current!=="mouse"&&y()}),onPointerUp:M(a.onPointerUp,()=>{m.current==="mouse"&&y()}),onPointerDown:M(a.onPointerDown,C=>{m.current=C.pointerType}),onPointerMove:M(a.onPointerMove,C=>{m.current=C.pointerType,r?u.onItemLeave?.():m.current==="mouse"&&C.currentTarget.focus({preventScroll:!0})}),onPointerLeave:M(a.onPointerLeave,C=>{C.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:M(a.onKeyDown,C=>{u.searchRef?.current!==""&&C.key===" "||(Zd.includes(C.key)&&y(),C.key===" "&&C.preventDefault())})})})})});ti.displayName=jt;var Qe="SelectItemText",ni=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,...s}=e,a=Re(Qe,n),c=Le(Qe,n),u=ei(Qe,n),d=Yd(Qe,n),[f,h]=l.useState(null),v=Z(t,y=>h(y),u.onItemTextChange,y=>c.itemTextRefCallback?.(y,u.value,u.disabled)),g=f?.textContent,x=l.useMemo(()=>i.jsx("option",{value:u.value,disabled:u.disabled,children:g},u.value),[u.disabled,u.value,g]),{onNativeOptionAdd:p,onNativeOptionRemove:m}=d;return q(()=>(p(x),()=>m(x)),[p,m,x]),i.jsxs(i.Fragment,{children:[i.jsx(B.span,{id:u.textId,...s,ref:v}),u.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Et.createPortal(s.children,a.valueNode):null]})});ni.displayName=Qe;var oi="SelectItemIndicator",lf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return ei(oi,n).isSelected?i.jsx(B.span,{"aria-hidden":!0,...o,ref:t}):null});lf.displayName=oi;var ln="SelectScrollUpButton",uf=l.forwardRef((e,t)=>{const n=Le(ln,e.__scopeSelect),o=Wn(ln,e.__scopeSelect),[r,s]=l.useState(!1),a=Z(t,o.onScrollButtonChange);return q(()=>{if(n.viewport&&n.isPositioned){let c=function(){const d=u.scrollTop>0;s(d)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),r?i.jsx(ri,{...e,ref:a,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});uf.displayName=ln;var un="SelectScrollDownButton",df=l.forwardRef((e,t)=>{const n=Le(un,e.__scopeSelect),o=Wn(un,e.__scopeSelect),[r,s]=l.useState(!1),a=Z(t,o.onScrollButtonChange);return q(()=>{if(n.viewport&&n.isPositioned){let c=function(){const d=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)<d;s(f)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),r?i.jsx(ri,{...e,ref:a,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});df.displayName=un;var ri=l.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...r}=e,s=Le("SelectScrollButton",n),a=l.useRef(null),c=Ot(n),u=l.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>u(),[u]),q(()=>{c().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[c]),i.jsx(B.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:M(r.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(o,50))}),onPointerMove:M(r.onPointerMove,()=>{s.onItemLeave?.(),a.current===null&&(a.current=window.setInterval(o,50))}),onPointerLeave:M(r.onPointerLeave,()=>{u()})})}),ff="SelectSeparator",pf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return i.jsx(B.div,{"aria-hidden":!0,...o,ref:t})});pf.displayName=ff;var dn="SelectArrow",hf=l.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=Dt(n),s=Re(dn,n),a=Le(dn,n);return s.open&&a.position==="popper"?i.jsx(Td,{...r,...o,ref:t}):null});hf.displayName=dn;var mf="SelectBubbleInput",si=l.forwardRef(({__scopeSelect:e,value:t,...n},o)=>{const r=l.useRef(null),s=Z(o,r),a=ns(t);return l.useEffect(()=>{const c=r.current;if(!c)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(a!==t&&f){const h=new Event("change",{bubbles:!0});f.call(c,t),c.dispatchEvent(h)}},[a,t]),i.jsx(B.select,{...n,style:{...Bs,...n.style},ref:s,defaultValue:t})});si.displayName=mf;function ii(e){return e===""||e===void 0}function ai(e){const t=Se(e),n=l.useRef(""),o=l.useRef(0),r=l.useCallback(a=>{const c=n.current+a;t(c),(function u(d){n.current=d,window.clearTimeout(o.current),d!==""&&(o.current=window.setTimeout(()=>u(""),1e3))})(c)},[t]),s=l.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,r,s]}function ci(e,t,n){const r=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let a=gf(e,Math.max(s,0));r.length===1&&(a=a.filter(d=>d!==n));const u=a.find(d=>d.textValue.toLowerCase().startsWith(r.toLowerCase()));return u!==n?u:void 0}function gf(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var vf=$s,Cf=Hs,xf=Us,yf=Zs,wf=Gs,_f=zs,bf=Xs,Sf=ti,jf=ni;const Ef="_root_1qyg8_1",Rf="_label_1qyg8_8",Lf="_trigger_1qyg8_16",If="_error_1qyg8_46",kf="_icon_1qyg8_51",Nf="_content_1qyg8_58",Pf="_viewport_1qyg8_71",Af="_item_1qyg8_75",Mf="_errorText_1qyg8_99",ve={root:Ef,label:Rf,trigger:Lf,error:If,icon:kf,content:Nf,viewport:Pf,item:Af,errorText:Mf},li=R.forwardRef(({data:e,placeholder:t,label:n,error:o,className:r,value:s,onChange:a,...c},u)=>{const d=R.useId();return i.jsxs("div",{className:P(ve.root,r),children:[n&&i.jsx("label",{htmlFor:d,className:ve.label,children:n}),i.jsxs(vf,{value:s,onValueChange:a,...c,children:[i.jsxs(Cf,{ref:u,id:d,className:P(ve.trigger,{[ve.error]:!!o}),children:[i.jsx(xf,{placeholder:t}),i.jsx(yf,{asChild:!0,children:i.jsx(fn,{className:ve.icon})})]}),i.jsx(wf,{children:i.jsx(_f,{className:ve.content,position:"popper",sideOffset:4,children:i.jsx(bf,{className:ve.viewport,children:e.map(f=>i.jsx(Sf,{value:f.value,className:ve.item,children:i.jsx(jf,{children:f.label})},f.value))})})})]}),o&&i.jsx("div",{className:ve.errorText,children:o})]})});li.displayName="Select";const Tf="_text_18ys9_1",Of="_s_18ys9_5",Df="_m_18ys9_10",Ff="_dark_18ys9_21",Bf="_light_18ys9_25",Qt={text:Tf,s:Of,m:Df,dark:Ff,light:Bf},ui=({component:e="p",size:t="m",color:n="dark",className:o,children:r,...s})=>{const a=P(Qt.text,Qt[t],Qt[n],o);return R.createElement(e,{className:a,...s},r)};ui.displayName="Text";const $f="_wrapper_122rz_1",Wf="_label_122rz_9",Hf="_container_122rz_17",Vf="_textarea_122rz_23",Uf="_error_122rz_59",Zf="_s_122rz_63",Gf="_m_122rz_66",zf="_errorText_122rz_70",Pe={wrapper:$f,label:Wf,container:Hf,textarea:Vf,error:Uf,s:Zf,m:Gf,errorText:zf},di=R.forwardRef(({label:e,error:t,className:n="",disabled:o,value:r,defaultValue:s,onChange:a,size:c="m",...u},d)=>{const f=R.useId(),h=R.useRef(null);R.useImperativeHandle(d,()=>h.current);const v=r!==void 0,g=m=>{a?.(m)},x=P(Pe.wrapper,n),p=P(Pe.textarea,Pe[c],{[Pe.error]:!!t});return i.jsxs("div",{className:x,children:[e&&i.jsx("label",{htmlFor:f,className:Pe.label,children:e}),i.jsx("div",{className:Pe.container,children:i.jsx("textarea",{...u,ref:h,id:f,className:p,disabled:o,value:v?r:void 0,defaultValue:v?void 0:s,onChange:g})}),t&&i.jsx("div",{className:Pe.errorText,children:t})]})});di.displayName="Textarea";const Kf="_button_1hm1n_1",Yf={button:Kf},fi=R.forwardRef(({asChild:e=!1,className:t,...n},o)=>{const r=e?_n:"button",s=P(Yf.button,t);return i.jsx(r,{ref:o,className:s,...n})});fi.displayName="UnstyledButton";exports.AddIcon=Cn;exports.AddMediaIcon=_o;exports.AppleIcon=To;exports.ArrowDownIcon=fn;exports.ArrowLeftIcon=bo;exports.ArrowRightIcon=pn;exports.ArrowUpIcon=So;exports.Avatar=wo;exports.BackPhotoIcon=Oo;exports.Breadcrumbs=Jo;exports.Button=tr;exports.CalendarIcon=Do;exports.CheckmarkIcon=hn;exports.CircleAddIcon=Fo;exports.CircleButton=ot;exports.CoinIcon=Bo;exports.CrossIcon=nt;exports.DeleteIcon=mn;exports.DocumentBackIcon=$o;exports.DownloadIcon=jo;exports.Drawer=Fr;exports.DrawerClose=qc;exports.DrawerContent=Xc;exports.DrawerDescription=$r;exports.DrawerFooter=Qc;exports.DrawerTitle=Br;exports.DrawerTrigger=Yc;exports.EditIDIcon=Wo;exports.EditIcon=Eo;exports.EyeIcon=gn;exports.EyeOffIcon=vn;exports.FOOTER_DEFAULTS=tn;exports.FilterIcon=Ro;exports.FireIcon=Lo;exports.Footer=Wr;exports.FrontPhotoIcon=Ho;exports.GoogleIcon=Vo;exports.Heading=Hr;exports.Icon=k;exports.ImageUpload=Ur;exports.ImagesUpload=Vr;exports.Input=Zr;exports.Link=kn;exports.LogOutIcon=Uo;exports.LogoIcon=xn;exports.LongArrowLeftIcon=Io;exports.LongArrowRightIcon=ko;exports.Modal=w1;exports.ModalClose=b1;exports.ModalContent=S1;exports.ModalDescription=zr;exports.ModalFooter=j1;exports.ModalTitle=Gr;exports.ModalTrigger=_1;exports.MsgIcon=Zo;exports.PersonalcardIcon=Go;exports.PlusIcon=No;exports.RadioGroup=gs;exports.RegenerateIcon=Po;exports.ReverseIcon=zo;exports.SearchIcon=Ao;exports.SectionContainer=pu;exports.Select=li;exports.StarIcon=Ko;exports.Text=ui;exports.Textarea=di;exports.Tg2Icon=yn;exports.TgIcon=Yo;exports.TimeIcon=Mo;exports.UnstyledButton=fi;exports.UserIcon=qo;exports.VkIcon=Xo;exports.WatchIcon=Qo;exports.WhatsappIcon=wn;
46
46
  //# sourceMappingURL=index.js.map