@app-studio/web 0.8.23 → 0.8.24
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/components/Icon/Icon.d.ts +38 -38
- package/dist/web.cjs.development.js +675 -419
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +673 -415
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +675 -419
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("core-js/modules/es.symbol.description.js"),require("react"),require("core-js/modules/es.object.assign.js"),require("app-studio"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.parse-float.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("react-router-dom"),require("core-js/modules/es.array.includes.js"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/es.string.starts-with.js"),require("date-fns/format"),require("formik"),require("zustand")):"function"==typeof define&&define.amd?define(["exports","core-js/modules/es.symbol.description.js","react","core-js/modules/es.object.assign.js","app-studio","core-js/modules/es.array.iterator.js","core-js/modules/es.parse-float.js","core-js/modules/web.dom-collections.iterator.js","react-router-dom","core-js/modules/es.array.includes.js","core-js/modules/es.string.includes.js","core-js/modules/es.string.starts-with.js","date-fns/format","formik","zustand"],o):o((e=e||self)["@app-studio/web"]={},0,e.React,0,e.appStudio,0,0,0,e.reactRouterDom,0,0,0,e.format,e.formik,e.zustand)}(this,(function(e,o,t,r,a,i,n,l,c,s,d,m,u,h,g){"use strict";var p="default"in t?t.default:t;u=u&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u;var v=a.View;function b(e,o){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(o.includes(r))continue;t[r]=e[r]}return t}var E={h1:{fontSize:60,lineHeight:71,letterSpacing:-.5},h2:{fontSize:48,lineHeight:57,letterSpacing:0},h3:{fontSize:34,lineHeight:40,letterSpacing:.25},h4:{fontSize:24,lineHeight:28,letterSpacing:0},h5:{fontSize:18,lineHeight:22,letterSpacing:.15},h6:{fontSize:14,lineHeight:18,letterSpacing:.15}},j=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","isTruncated","weight","size"],C=e=>{var{children:o,isSub:t,isSup:r}=e;return p.createElement(p.Fragment,null,"string"==typeof o?p.createElement(p.Fragment,null,t&&p.createElement("sup",null,o),r&&p.createElement("sup",null,o),!t&&!r&&p.createElement(p.Fragment,null,o)):o)},f=e=>{var{text:o,maxLines:r=1}=e,a=t.useRef(null),[i,n]=t.useState(o.length);t.useEffect(()=>{var e=a.current;e&&(()=>{for(var t,a=getComputedStyle(e).lineHeight,i=("normal"!==a?parseFloat(a):20)*r,l=0,c=o.length;l<=c;)t=Math.floor((l+c)/2),e.innerText=o.substring(0,t)+"...",e.offsetHeight>i?c=t-1:l=t+1;n(c)})()},[o,r]);var l=o.length>i?o.substring(0,i)+"...":o;return p.createElement("div",{ref:a},l)},x=e=>{var{children:o,heading:t,maxLines:r,isItalic:i=!1,isUnderlined:n=!1,isSub:l=!1,isSup:c=!1,isStriked:s=!1,isTruncated:d=!1,weight:m="normal",size:u="md"}=e,h=b(e,j);return p.createElement(a.Element,Object.assign({role:"text",fontSize:a.Typography.fontSizes[u],lineHeight:a.Typography.lineHeights[u],fontStyle:i?"italic":"normal",fontWeight:a.Typography.fontWeights[m],textDecoration:s?"line-through":n?"underline":"none"},l||c?{display:"inline"}:{},t?E[t]:{},h),d&&r&&"string"==typeof o?p.createElement(f,{text:o,maxLines:r}):p.createElement(C,Object.assign({isSub:l,isSup:c},h),o))},z=e=>p.createElement(x,Object.assign({},e)),y=["justifyContent","isReversed"],w=p.forwardRef((e,o)=>{var{justifyContent:t="flex-start",isReversed:r=!1}=e,i=b(e,y);return p.createElement(a.View,Object.assign({display:"flex",justifyContent:t,flexDirection:r?"column-reverse":"column"},i,{ref:o}))});w.displayName="Vertical";var S=["justifyContent","isReversed"],I=p.forwardRef((e,o)=>{var{justifyContent:t="flex-start",isReversed:r=!1}=e,i=b(e,S);return p.createElement(a.View,Object.assign({display:"flex",justifyContent:t,flexDirection:r?"row-reverse":"row"},i,{ref:o}))});I.displayName="Horizontal";var O=["isReversed"],k=p.forwardRef((e,o)=>{var t=b(e,O);return p.createElement(a.View,Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},t,{ref:o}))});k.displayName="Center";var _=["size","color"],H=["size","color"],M=["size","color"],T=["size","color"],L=["size","color"],B=["size","color"],V=["size","color"],F=["size","color"],R=["size","color"],W=["size","color"],D=["size","color"],A=["size","color"],P=["size","color"],G=["size","color"],N=["size","color"],K=["size","color"],U=["size","color"],Z=["size","color"],q=["size","color"],Y=["size","color"],J=["size","color"],Q=["size","color"],X=["size","color"],$=["size","color"],ee=["size","color"],oe=["size","color"],te=["size","color"],re=["size","color"],ae=["size","color"],ie=["size","color"],ne=["size","color"],le=["size","color"],ce=["size","color"],se=["size","color"],de=["size","color"],me=["size","color"],ue=["size","color"],he=["size","color"],ge=["size","color"],pe=["size","color"],ve=["size","color"],be=["size","color"],Ee=["size","color"],je=["size","color"],Ce=["size","color"],fe=["size","color"],xe=["size","color"],ze=["size","color"],ye=["size","color"],we=["size","color"],Se=["size","color"],Ie=e=>{var{size:o,color:t="black",transform:r,orientation:a,children:i}=e;return p.createElement(k,{size:o,lineHeight:o,color:t,display:"flex",transform:r||("left"==a?"rotate(-90deg)":"right"==a?"rotate(90deg)":"up"==a?"rotate(0deg)":"down"==a?"rotate(180deg)":"none")},i)},Oe=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,_);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24"},p.createElement("path",{d:"M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"})))},ke=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,H);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",strokeWidth:"1"},p.createElement("path",{d:"M17.0001 9L10 16L7 13",strokeLinecap:"round",strokeLinejoin:"round"})))},_e=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,M);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),p.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})))},He=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,T);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:t,xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M19.7071 5.70711C20.0976 5.31658 20.0976 4.68342 19.7071 4.29289C19.3166 3.90237 18.6834 3.90237 18.2929 4.29289L14.032 8.55382C13.4365 8.20193 12.7418 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7418 8.20193 13.4365 8.55382 14.032L4.29289 18.2929C3.90237 18.6834 3.90237 19.3166 4.29289 19.7071C4.68342 20.0976 5.31658 20.0976 5.70711 19.7071L9.96803 15.4462C10.5635 15.7981 11.2582 16 12 16C14.2091 16 16 14.2091 16 12C16 11.2582 15.7981 10.5635 15.4462 9.96803L19.7071 5.70711ZM12.518 10.0677C12.3528 10.0236 12.1792 10 12 10C10.8954 10 10 10.8954 10 12C10 12.1792 10.0236 12.3528 10.0677 12.518L12.518 10.0677ZM11.482 13.9323L13.9323 11.482C13.9764 11.6472 14 11.8208 14 12C14 13.1046 13.1046 14 12 14C11.8208 14 11.6472 13.9764 11.482 13.9323ZM15.7651 4.8207C14.6287 4.32049 13.3675 4 12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C1.92276 13.7326 2.86706 15.0637 4.21194 16.3739L5.62626 14.9596C4.4555 13.8229 3.61144 12.6531 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C12.7719 6 13.5135 6.13385 14.2193 6.36658L15.7651 4.8207ZM12 18C11.2282 18 10.4866 17.8661 9.78083 17.6334L8.23496 19.1793C9.37136 19.6795 10.6326 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C22.0773 10.2674 21.133 8.93627 19.7881 7.62611L18.3738 9.04043C19.5446 10.1771 20.3887 11.3469 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18Z",fill:"currentColor"})))},Me=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,L);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"})))},Te=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,B);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"})))},Le=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,V);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"})))},Be=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,F);return p.createElement(Ie,Object.assign({padding:2,size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},p.createElement("path",{d:"M7 12h10",strokeLinecap:"round",strokeLinejoin:"round"})))},Ve=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,R);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))},Fe=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,W);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})))},Re=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,D);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"})))},We=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,A);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("circle",{cx:"12",cy:"12",r:"10",stroke:t,strokeWidth:"2",opacity:"0.3"}),p.createElement("path",{d:"M22 12a10 10 0 1 1-4.93-8.62",stroke:t,strokeWidth:"2",strokeLinecap:"round"})))},De=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,P);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{fill:"currentColor",d:"M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"})))},Ae=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,G);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},Pe=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,N);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"1",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"12",y1:"20",x2:"12",y2:"8"}),p.createElement("polyline",{points:"6 12 12 6 18 12"})))},Ge=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,K);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})))},Ne=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,U);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))},Ke=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,Z);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},p.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},Ue=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,q);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"})))},Ze=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,Y);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"})))},qe=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,J);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M19 4h-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1H8V3c0-.55-.45-1-1-1s-1 .45-1 1v1H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"})))},Ye=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,Q);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24"},p.createElement("path",{d:"M22.286 11.143h-9.429V1.715h-1.714v9.428H1.714v1.715h9.429v9.428h1.714v-9.428h9.429v-1.715Z"})))},Je=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,X);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},Qe=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,$);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z"})))},Xe=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ee);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},$e=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,oe);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},eo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,te);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})))},oo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,re);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92c0-1.61-1.31-2.92-2.92-2.92zM18 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 13c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm12 7.02c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"})))},to=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ae);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})))},ro=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ie);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})))},ao=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ne);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})))},io=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,le);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6z"})))},no=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ce);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"})))},lo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,se);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"})))},co=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,de);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2z"})))},so=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,me);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})))},mo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ue);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"})))},uo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,he);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"})))},ho=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ge);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"})))},go=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,pe);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})))},po=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ve);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})))},vo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,be);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"}),p.createElement("path",{d:"M12 17c1.65 0 3-1.35 3-3s-1.35-3-3-3-3 1.35-3 3 1.35 3 3 3z"})))},bo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,Ee);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"}),p.createElement("path",{d:"M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"})))},Eo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,je);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"})))},jo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,Ce);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"})))},Co=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,fe);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"})))},fo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,xe);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("circle",{cx:"12",cy:"12",r:"5"}),p.createElement("path",{d:"M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"})))},xo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,ze);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},zo=e=>{var{size:o=24,color:t="white"}=e,r=b(e,ye);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 510 510"},p.createElement("path",{d:"M255,0C114.615,0,0,114.615,0,255s114.615,255,255,255s255-114.615,255-255S395.385,0,255,0z M255,459c-114.75,0-207-92.25-207-207c0-114.75,92.25-207,207-207c114.75,0,207,92.25,207,207C462,366.75,369.75,459,255,459z"}),p.createElement("path",{d:"M255,140.25c11.05,0,20-8.95,20-20s-8.95-20-20-20s-20,8.95-20,20S243.95,140.25,255,140.25z"}),p.createElement("path",{d:"M265,357c0,11.05-8.95,20-20,20s-20-8.95-20-20v-175c0-11.05,8.95-20,20-20s20,8.95,20,20V357z"})))},yo=e=>{var{size:o=24,color:t="white"}=e,r=b(e,we);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192.146 192.146",fill:"currentColor"},p.createElement("g",{id:"SVGRepo_bgCarrier"}),p.createElement("g",{id:"SVGRepo_tracerCarrier"}),p.createElement("g",{id:"SVGRepo_iconCarrier"},p.createElement("g",null,p.createElement("g",null,p.createElement("g",null,p.createElement("path",{d:"M108.186,144.372c0,7.054-4.729,12.32-12.037,12.32h-0.254c-7.054,0-11.92-5.266-11.92-12.32 c0-7.298,5.012-12.31,12.174-12.31C103.311,132.062,108.059,137.054,108.186,144.372z M88.44,125.301h15.447l2.951-61.298H85.46 L88.44,125.301z M190.372,177.034c-2.237,3.664-6.214,5.921-10.493,5.921H12.282c-4.426,0-8.51-2.384-10.698-6.233 c-2.159-3.849-2.11-8.549,0.147-12.349l84.111-149.22c2.208-3.722,6.204-5.96,10.522-5.96h0.332 c4.445,0.107,8.441,2.618,10.513,6.546l83.515,149.229C192.717,168.768,192.629,173.331,190.372,177.034z M179.879,170.634 L96.354,21.454L12.292,170.634H179.879z"})))))))},wo=e=>{var{size:o=24,color:t="currentColor"}=e,r=b(e,Se);return p.createElement(Ie,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},So={__proto__:null,ChevronIcon:Oe,CheckIcon:ke,CloseIcon:_e,CloseEyeIcon:He,DustBinIcon:Me,EditIcon:Te,ExternalLinkIcon:Le,MinusIcon:Be,InfoIcon:Ve,OpenEyeIcon:Fe,PlusIcon:Re,SpinnerIcon:We,ProfileIcon:De,BoldArrowIcon:Ae,ArrowIcon:Pe,SearchIcon:Ge,SuccessIcon:Ne,TickIcon:Ke,NotificationIcon:Ue,SettingsIcon:Ze,CalendarIcon:qe,AddIcon:Ye,DownloadIcon:Je,UploadIcon:Qe,BookmarkIcon:Xe,HomeIcon:$e,MenuIcon:eo,ShareIcon:oo,FilterIcon:to,RefreshIcon:ro,CopyIcon:ao,SaveIcon:io,PrintIcon:no,LockIcon:lo,UnlockIcon:co,StarIcon:so,HeartIcon:mo,ThumbUpIcon:uo,ThumbDownIcon:ho,LocationIcon:go,ClockIcon:po,CameraIcon:vo,MicrophoneIcon:bo,WifiIcon:Eo,BluetoothIcon:jo,BatteryIcon:Co,SunIcon:fo,MoonIcon:xo,ErrorIcon:zo,WarningIcon:yo,CloudIcon:wo},Io={default:{container:{backgroundColor:"white",border:"color.blackAlpha.800"},content:{color:"color.blackAlpha.800"}},info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},content:{color:"#60a5fa"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},content:{color:"#22c55e"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},content:{color:"#ef4444"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},content:{color:"#f97316"}}},Oo=e=>{var o,{icon:t,title:r,styles:a,description:i,variant:n="default"}=e;return p.createElement(I,Object.assign({gap:15,borderRadius:10,borderWidth:1,borderStyle:"solid",padding:16,flexWrap:"nowrap"},null==a?void 0:a.container),p.createElement(v,{alignSelf:"center"},t||p.createElement(yo,{size:24,color:null!=(o=null==a?void 0:a.icon.color)?o:Io[n].content.color})),p.createElement(w,{gap:10},p.createElement(z,Object.assign({fontSize:"16px",color:Io[n].content.color},null==a?void 0:a.title),r),p.createElement(z,Object.assign({fontSize:"14px",color:Io[n].content.color},null==a?void 0:a.description),i)))},ko=["ratio","children"],_o=e=>{var{ratio:o=16/9,children:t}=e,r=b(e,ko);return p.createElement(k,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/o*100+"%",borderRadius:8},r),p.createElement(v,{position:"absolute",top:0,right:0,bottom:0,left:0},t))},Ho=["ratio","children"],Mo={xs:24,sm:32,md:48,lg:64,xl:80},To=e=>{var{src:o,size:t="md",fallback:r="IM",styles:i,imageError:n,setImageError:l}=e,c=Mo[t],s=Object.assign({objectFit:"cover"},(null==i?void 0:i.image)||{});return p.createElement(k,Object.assign({role:"avatar",width:c,height:c,borderRadius:"50%",overflow:"hidden",borderWidth:"1px",borderStyle:"solid",borderColor:n?"black":"transparent",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.25)"},null==i?void 0:i.container),n?p.createElement(z,Object.assign({size:t},null==i?void 0:i.fallback),r):p.createElement(a.Image,{alt:"IM",src:o,style:s,width:c,height:c,onError:()=>l(!0)}))},Lo={xs:{minWidth:"20px",height:"20px",padding:"0 6px"},sm:{minWidth:"24px",height:"24px",padding:"0 8px"},md:{minWidth:"28px",height:"28px",padding:"0 10px"},lg:{minWidth:"32px",height:"32px",padding:"0 12px"},xl:{minWidth:"36px",height:"36px",padding:"0 14px"}},Bo={sharp:0,rounded:4,pillShaped:24},Vo={"top-right":{top:0,right:0,position:"absolute"},"top-left":{top:0,left:0,position:"absolute"},"bottom-right":{bottom:0,right:0,position:"absolute"},"bottom-left":{bottom:0,left:0,position:"absolute"}},Fo=e=>{var{content:o,position:t,shape:r="pillShaped",colorScheme:a="theme.primary",variant:i="filled",size:n="md",styles:l}=e,c=Object.assign({width:"fit-content",borderRadius:Bo[r]},Lo[n],{filled:{backgroundColor:a,color:"color.white",borderWidth:1,borderStyle:"solid",borderColor:"transparent"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:a,color:a},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"transparent",color:a,textDecoration:"underline"},ghost:{backgroundColor:"transparent",color:a,borderWidth:1,borderStyle:"solid",borderColor:"transparent"}}[i],t?Vo[t]:{},null==l?void 0:l.container);return p.createElement(k,Object.assign({role:"badge"},c),p.createElement(z,Object.assign({role:"badgeText",size:n},null==l?void 0:l.text),o))},Ro={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},Wo=["children","href","iconSize","underline","isHovered","isExternal","styles","setIsHovered"],Do=e=>{var{children:o,href:t="/",iconSize:r="sm",underline:i="default",isHovered:n=!1,isExternal:l=!1,styles:s={icon:{},text:{}},setIsHovered:d=(()=>{})}=e,m=b(e,Wo),u=()=>{"hover"===i&&d(!0)};return p.createElement(c.Link,{to:t,target:l?"_blank":"_self"},p.createElement(a.Element,Object.assign({onMouseEnter:u,onMouseLeave:u,textDecoration:n||"underline"===i?"underline !important":"none"},s.text,m),p.createElement(I,{gap:3,alignItems:"center",flexWrap:"nowrap"},o,l&&p.createElement(Le,{size:Ro[r],style:s.icon}))))},Ao=e=>{var o=(()=>{var[e,o]=t.useState(!1);return{isHovered:e,setIsHovered:o}})();return p.createElement(Do,Object.assign({},o,e))},Po={xs:{width:79,paddingTop:8,paddingBottom:8,paddingLeft:12,paddingRight:12,fontWeight:400,fontSize:11,lineHeight:14,letterSpacing:1.25},sm:{width:128,paddingTop:10,paddingBottom:10,paddingLeft:16,paddingRight:16,fontWeight:400,fontSize:12,lineHeight:16,letterSpacing:1.25},md:{width:144,paddingTop:12,paddingBottom:12,paddingLeft:18,paddingRight:18,fontSize:14,fontWeight:400,lineHeight:18,letterSpacing:1.25},lg:{width:178,paddingTop:14,paddingBottom:14,paddingLeft:22,paddingRight:22,fontWeight:400,fontSize:18,lineHeight:24,letterSpacing:1.25},xl:{width:220,paddingTop:16,paddingBottom:16,paddingLeft:26,paddingRight:26,fontWeight:400,fontSize:22,lineHeight:28,letterSpacing:1.25}},Go={sharp:0,rounded:4,pillShaped:24},No={xs:{width:24,height:24,padding:12},sm:{width:24,height:24,padding:15},md:{width:36,height:36,padding:15},lg:{width:36,height:36,padding:18},xl:{width:36,height:36,padding:24}},Ko={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},Uo={fast:50,normal:100,slow:300},Zo=["size","speed","color"],qo=["size","speed","color"],Yo=["size","speed","color"],Jo=["size","children","textColor","loaderColor","type","speed","textPosition"],Qo=e=>{var{size:o="md",speed:r="normal",color:i="theme.loading"}=e,n=b(e,Zo),l=a.useTheme().getColor(i),c="number"==typeof o?o:Ko[o],[s,d]=t.useState(0);return t.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},Uo[r]);return()=>clearInterval(e)},[r]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:c+"px",height:c+"px",viewBox:"0 0 24 24",fill:"none",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+s+"deg)"}},n),p.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),p.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("g",{id:"SVGRepo_iconCarrier"},p.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},Xo=e=>{var{size:o="md",speed:r="normal",color:i="theme.loading"}=e,n=b(e,qo),l=a.useTheme().getColor(i),c="number"==typeof o?o:Ko[o],[s,d]=t.useState(0);return t.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},Uo[r]);return()=>clearInterval(e)},[r]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:c+"px",height:c+"px",style:{transform:"rotate("+s+"deg)"}},n),p.createElement("circle",{cx:"10",cy:"25",r:"4",fill:l}),p.createElement("circle",{cx:"25",cy:"25",r:"4",fill:l}),p.createElement("circle",{cx:"40",cy:"25",r:"4",fill:l}))},$o=e=>{var{size:o="md",speed:r="normal",color:i="theme.loading"}=e,n=b(e,Yo),l=a.useTheme().getColor(i),c="number"==typeof o?o:Ko[o],[s,d]=t.useState(0);return t.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},Uo[r]);return()=>clearInterval(e)},[r]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:c+"px",height:c+"px",style:{transform:"rotate("+s+"deg)"}},n),p.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:l,strokeWidth:"5",strokeDasharray:"1,10"}))},et=e=>{var{size:o,children:t,textColor:r,loaderColor:a,type:i="default",speed:n="normal",textPosition:l="right"}=e,c=b(e,Jo),s={size:o,speed:n,color:a},d={default:p.createElement(Qo,Object.assign({},s)),dotted:p.createElement(Xo,Object.assign({},s)),quarter:p.createElement($o,Object.assign({},s))};return p.createElement(k,Object.assign({gap:10,flexDirection:"top"===l||"bottom"===l?"column":"row"},c),("left"===l||"top"===l)&&t&&p.createElement(v,{color:r},t),d[i],("right"===l||"bottom"===l)&&t&&p.createElement(v,{color:r},t))},ot=e=>p.createElement(et,Object.assign({},e)),tt=["icon","shadow","children","ariaLabel","externalHref","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","colorScheme","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered"],rt=require("contrast"),at=e=>{var o,{icon:t,shadow:r,children:i,ariaLabel:n,externalHref:l,isAuto:c=!1,isFilled:s=!1,isIconRounded:d=!1,isLoading:m=!1,isDisabled:u=!1,size:h="md",variant:g="filled",iconPosition:v="left",colorScheme:E="theme.primary",shape:j="rounded",onClick:C=(()=>{}),loaderProps:f={},loaderPosition:x="left",effect:z="default",isHovered:y,setIsHovered:w=(()=>{})}=e,S=b(e,tt),{getColor:O}=a.useTheme(),k=()=>w(!y),_=!(u||m),H={disabled:!_},M=_?E:"theme.disabled",T=y&&"hover"===z,L=y&&"reverse"===z,B="light"==rt(O(M)),V=Po[h],F={filled:{backgroundColor:L?"transparent":M,color:L?B?"white":M:B?M:"white",borderWidth:1,borderStyle:"solid",borderColor:L?M:"transparent"},outline:{backgroundColor:L?M:"transparent",borderWidth:1,borderStyle:"solid",borderColor:L?M:E,color:L?"white":M},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:L?M:"transparent",color:M,textDecoration:L?"none":"underline"},ghost:{backgroundColor:L?M:"transparent",color:L?"white":M,borderWidth:1,borderStyle:"solid",borderColor:L?M:"transparent"}}[g],R={width:c?"fit-content":s?"100%":V.width},W=d?No[h]:Po[h],D=p.createElement(I,{gap:10},m&&"left"===x&&p.createElement(ot,Object.assign({},f)),t&&"left"===v&&!m&&t,i,t&&"right"===v&&!m&&t,m&&"right"===x&&p.createElement(ot,Object.assign({},f)));return p.createElement(a.Element,Object.assign({gap:8,as:"button",role:"button",border:"none",color:"color.white",display:"flex",alignItems:"center",justifyContent:"center","aria-label":n,backgroundColor:M,borderRadius:Go[j],onClick:null!=(o=S.onClick)?o:C,onMouseEnter:k,onMouseLeave:k,cursor:_?"pointer":"default",filter:T?"brightness(0.85)":"brightness(1)"},T&&!S.isDisabled?{transition:"transform 0.3s ease",transform:"translateY(-5px)"}:{},H,V,F,R,S.padding||S.paddingHorizontal||S.paddingVertical||S.paddingLeft||S.paddingRight||S.paddingTop||S.paddingBottom?{}:W,r,S),"link"===g&&l?p.createElement(Ao,{href:l,textDecorationColor:E,colorScheme:E,isExternal:!0},D):D)},it=e=>{var{isHovered:o,setIsHovered:t}=(()=>{var[e,o]=p.useState(!1);return{isHovered:e,setIsHovered:o}})(),r=()=>t(!o);return p.createElement(at,Object.assign({isHovered:o,setIsHovered:t,onMouseEnter:r,onMouseLeave:r},e))},nt=["src","color"],lt=["path"],ct=e=>{var{placeholder:o,isMulti:t,options:r}=e,a=o?t?[]:"":r[0].value,[i,n]=p.useState(!0),[l,c]=p.useState(!1),[s,d]=p.useState(!1),[m,u]=p.useState(a),[h,g]=p.useState(0);return{value:m,setValue:u,hide:i,setHide:n,isHovered:l,setIsHovered:c,isFocused:s,setIsFocused:d,highlightedIndex:h,setHighlightedIndex:g}},st=["children","styles"],dt=e=>{var{children:o,styles:t={helperText:{}}}=e,r=b(e,st);return p.createElement(z,Object.assign({size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.text.dark"},t.helperText,r),o)},mt=["children","helperText","error","styles"],ut=e=>{var{children:o,helperText:t,error:r=!1,styles:a}=e,i=b(e,mt);return p.createElement(w,Object.assign({gap:5,position:"relative"},i),o,!r&&t&&p.createElement(dt,Object.assign({},a),t),r&&p.createElement(z,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},r))},ht={default:{borderRadius:0},sharp:{borderRadius:0},rounded:{borderRadius:4},pillShaped:{borderRadius:24}},gt={xs:6,sm:8,md:10,lg:12,xl:14},pt={outline:{borderWidth:1},default:{borderWidth:0,borderBottomWidth:1},none:{border:"none",backgroundColor:"transparent"}},vt={paddingTop:14,paddingBottom:0,paddingLeft:16,paddingRight:36},bt={paddingTop:10,paddingBottom:4,paddingLeft:16,paddingRight:36},Et=["label","shadow","children","value","size","shape","variant","error","isWithLabel","isFocused","isHovered","isDisabled","isReadOnly","colorScheme","styles"],jt=e=>{var{shadow:o,children:t,size:r="md",shape:i="default",variant:n="default",error:l=!1,isWithLabel:c=!1,isFocused:s=!1,isHovered:d=!1,isDisabled:m=!1,isReadOnly:u=!1,colorScheme:h="theme.primary",styles:g={pickerBox:{}}}=e,v=b(e,Et);return p.createElement(I,Object.assign({gap:10,width:"100%",display:"flex",flexWrap:"nowrap",borderStyle:"solid",alignItems:"center",borderColor:l?"error":!d&&!s||m?"midgray":h,backgroundColor:"color.white",transition:"padding 0.2s ease",justifyContent:"space-between",marginBottom:5,fontSize:a.Typography.fontSizes[r],cursor:m?"not-allowed":u?"auto":"pointer"},c?vt:bt,o,ht[i],pt[n],g.box,v),t)},Ct=["children"],ft=e=>{var{children:o}=e,t=b(e,Ct);return p.createElement(k,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},t),o)},xt={h1:{fontSize:96,lineHeight:112,letterSpacing:-1.5},h2:{fontSize:60,lineHeight:71,letterSpacing:-.5},h3:{fontSize:48,lineHeight:57,letterSpacing:0},h4:{fontSize:34,lineHeight:40,letterSpacing:.25},h5:{fontSize:24,lineHeight:28,letterSpacing:0},h6:{fontSize:20,lineHeight:24,letterSpacing:.15}},zt=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],yt=e=>{var{children:o,heading:t,isItalic:r=!1,isUnderlined:i=!1,isStriked:n=!1,weight:l="normal",size:c="sm"}=e,s=b(e,zt);return p.createElement(a.Element,Object.assign({as:"label",width:"100%",fontSize:c,fontStyle:r?"italic":"normal",fontWeight:a.Typography.fontWeights[l],textDecoration:n?"line-through":i?"underline":"none"},t?xt[t]:{},s),o)},wt=e=>p.createElement(yt,Object.assign({},e)),St=["children","size","error","color","styles","helperText"],It=e=>{var{children:o,size:t="md",error:r=!1,color:a="theme.primary",styles:i={label:{}}}=e,n=b(e,St);return p.createElement(wt,Object.assign({top:6,zIndex:1e3,lineHeight:gt[t],letterSpacing:.25,whiteSpace:"noWrap",position:"absolute",color:r?"error":a,fontSize:gt[t]},i.label,n),o)},Ot=["children"],kt=e=>{var{children:o}=e,t=b(e,Ot);return p.createElement(w,Object.assign({width:"100%"},t),o)},_t={xs:8,sm:10,md:12,lg:14,xl:16},Ht=["isHovered","setIsHovered","option","size","callback","style"],Mt=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],Tt=["option","size","removeOption"],Lt=["id","name","label","value","placeholder","helperText","hide","error","isMulti","isFocused","isHovered","isDisabled","isReadOnly","options","shadow","size","colorScheme","shape","variant","styles","onChange","setHide","setValue","setIsHovered","setIsFocused","setHighlightedIndex","highlightedIndex"],Bt=e=>{var{isHovered:o,setIsHovered:t,option:r,size:i="md",callback:n=(()=>{}),style:l}=e,c=b(e,Ht),s=()=>t(!o);return p.createElement(a.Element,Object.assign({as:"li",margin:0,paddingVertical:10,paddingHorizontal:12,listStyleType:"none",onMouseEnter:s,onMouseLeave:s,onClick:()=>(e=>n(e))(r.value),backgroundColor:o?"trueGray.100":"transparent"},c),p.createElement(z,Object.assign({fontSize:a.Typography.fontSizes[i]},l),r.label))},Vt=e=>{var o,{size:t="md",styles:r={field:{},text:{}},value:i,isDisabled:n,placeholder:l,removeOption:c=(()=>{}),options:s}=e,d=Object.assign({margin:0,width:"95%",heigth:"100%",border:"none",paddingVertical:8,paddingHorizontal:0,fontSize:a.Typography.fontSizes[t],backgroundColor:"transparent",color:n?"color.trueGray.600":"color.blueGray.700",cursor:n?"not-allowed":"auto"},r.field,r.text),m=s.find(e=>e.value===i);return p.createElement(z,Object.assign({},d),(""===i||i&&0===i.length)&&l?l:p.createElement(p.Fragment,null,"string"==typeof i?null!=(o=null==m?void 0:m.label)?o:i:i&&i.length>0&&p.createElement(I,{gap:6},i.map(e=>p.createElement(Wt,{key:e,option:e,removeOption:c})))))},Ft=e=>{var{id:o,name:t,value:r,onChange:i,isMulti:n=!1,isDisabled:l=!1,isReadOnly:c=!1,options:s=[]}=e,d=b(e,Mt);return p.createElement(a.Element,Object.assign({id:o,name:t,as:"select",opacity:0,width:0,height:0,position:"absolute",value:r,disabled:l,readOnly:c,onChange:e=>{i&&i(e)},multiple:n},d),s.map(e=>p.createElement("option",{key:e.value,value:e.value},e.label)))},Rt=e=>{var{size:o,styles:t={dropDown:{}},options:r,callback:i=(()=>{}),highlightedIndex:n,setHighlightedIndex:l}=e,c=(()=>{var[e,o]=p.useState(!1);return{isHovered:e,setIsHovered:o}})(),s=e=>i(e),d=void 0!==typeof document?{boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"}:{elevation:2,shadowColor:"rgba(0, 0, 0, 0.07)",shadowOffset:{width:0,height:1},shadowOpacity:1,shadowRadius:1};return p.createElement(a.Element,Object.assign({as:"ul",role:"dropdown",top:"100%",width:"100%",display:"flex",zIndex:1e5,overflowY:"scroll",marginTop:5,marginLeft:0,marginRight:0,marginBottom:0,padding:0,borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",maxHeight:"200px",style:{scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}},d,t.dropDown),r.map((e,r)=>p.createElement(Bt,Object.assign({key:e.value,size:o,style:t.text,option:e,callback:s,backgroundColor:r===n?"color.gray.100":"transparent",onMouseEnter:()=>l(r)},c))))},Wt=e=>{var{option:o,size:t="md",removeOption:r=(()=>{})}=e,i=b(e,Tt);return p.createElement(I,Object.assign({gap:10,padding:6,borderRadius:4,alignItems:"center",fontSize:a.Typography.fontSizes[t],backgroundColor:"color.trueGray.300",onClick:e=>e.stopPropagation()},i),p.createElement(z,{size:t},o),p.createElement(_e,{role:"close-button",color:"inherit",size:_t[t],onClick:()=>r(o)}))},Dt=e=>{var{id:o,name:r,label:a,value:i,placeholder:n,helperText:l,hide:c=!1,error:s=!1,isMulti:d=!1,isFocused:m=!1,isHovered:u=!1,isDisabled:h=!1,isReadOnly:g=!1,options:v=[],shadow:E={},size:j="md",colorScheme:C="theme.primary",shape:f="default",variant:x="default",styles:z={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:y=(()=>{}),setHide:w=(()=>{}),setValue:S=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:O=(()=>{}),setHighlightedIndex:k,highlightedIndex:_}=e,H=b(e,Lt),M=!(!m||!a),T=()=>I(!u),L=t.useCallback(e=>{w(!c),d&&Array.isArray(i)?!i.includes(e)&&S([...i,e]):S(e),y&&y(e)},[c,d,i]);return p.createElement(ut,{role:"SelectBox",helperText:l,error:s,styles:z,onClick:h||g?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),w(!c),O(!m)}},p.createElement(jt,{label:a,size:j,error:s,shape:f,styles:z,shadow:E,variant:x,value:i,color:C,isHovered:u,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:M,colorScheme:C,onMouseEnter:T,onMouseLeave:T},p.createElement(kt,null,M&&p.createElement(It,Object.assign({htmlFor:o,color:C,error:s},z),a),p.createElement(Ft,Object.assign({id:o,name:r,options:v,onChange:y,value:i,isDisabled:h,isReadOnly:g,isMulti:d,onFocus:()=>O(!0)},H)),p.createElement(Vt,{options:v,size:j,styles:z,value:i,isDisabled:h,placeholder:n,removeOption:e=>{if(Array.isArray(i)&&i.includes(e)){var o=i.filter(o=>o!==e);S(0===o.length?[]:o)}}})),p.createElement(ft,null,!g&&!h&&p.createElement(p.Fragment,null,p.createElement(Oe,c?{color:"inherit",size:_t[j],style:z.icon,orientation:"down"}:{color:"inherit",orientation:"up",size:_t[j],style:z.icon})))),!c&&p.createElement(Rt,{size:j,styles:z,options:v,callback:L,highlightedIndex:_,setHighlightedIndex:k}))},At=e=>{var{isDisabled:o,isChecked:t}=e,[r,a]=p.useState(!1),[i,n]=p.useState(o?!o:t);return{isHovered:r,setIsHovered:a,on:i,setOn:n}},Pt={xs:{height:6,width:6},sm:{height:9,width:9},md:{height:12,width:12},lg:{height:15,width:15},xl:{height:18,width:18},"2xl":{height:21,width:21},"3xl":{height:24,width:24},"4xl":{height:27,width:27},"5xl":{height:30,width:30},"6xl":{height:33,width:33}},Gt={xs:{height:16,width:28},sm:{height:20,width:36},md:{height:24,width:44},lg:{height:28,width:52},xl:{height:32,width:60},"2xl":{height:36,width:68},"3xl":{height:40,width:76},"4xl":{height:44,width:84},"5xl":{height:48,width:92},"6xl":{height:52,width:100}},Nt={xs:{paddingVertical:0,paddingHorizontal:2},sm:{paddingVertical:0,paddingHorizontal:3},md:{paddingVertical:0,paddingHorizontal:5},lg:{paddingVertical:0,paddingHorizontal:6},xl:{paddingVertical:0,paddingHorizontal:8},"2xl":{paddingVertical:0,paddingHorizontal:9},"3xl":{paddingVertical:0,paddingHorizontal:10},"4xl":{paddingVertical:0,paddingHorizontal:13},"5xl":{paddingVertical:0,paddingHorizontal:15},"6xl":{paddingVertical:0,paddingHorizontal:16}},Kt=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","colorScheme","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","styles"],Ut=e=>p.createElement(a.Input,Object.assign({type:"checkbox"},e)),Zt=e=>{var{id:o,name:t,label:r,inActiveChild:a,activeChild:i,labelPosition:n="right",shadow:l={},size:c="sm",colorScheme:s="theme.primary",value:d=!1,isHovered:m=!1,isDisabled:u=!1,isReadOnly:h=!1,on:g,setOn:E,onChange:j,setValue:C=(()=>{}),setIsHovered:f=(()=>{}),styles:x={slider:{},circle:{},label:{}}}=e,z=b(e,Kt),y=()=>f(!m),w={container:Object.assign({gap:10,display:"flex",height:"fit-content",width:"fit-content",cursor:u?"not-allowed":h?"default":"pointer"},x.label)};return p.createElement(wt,Object.assign({htmlFor:o,onMouseEnter:y,onMouseLeave:y},w.container,z),p.createElement(Ut,Object.assign({id:o,name:t,opacity:0,width:0,height:0,checked:d,onChange:e=>{h||(C(!d),E(!g),j&&j(e.target.checked))},disabled:u,readOnly:h},z)),"left"===n&&r&&p.createElement(v,null,r),p.createElement(v,Object.assign({display:"flex",cursor:"pointer",alignItems:"center",borderRadius:24,marginBottom:5,filter:m&&d?"brightness(0.9)":"brightness(1)",transition:"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:u?"disabled":d?s:"lightgray",justifyContent:i?"space-between":d?"flex-end":"flex-start"},l,Nt[c],Gt[c],x.slider),i&&d&&p.createElement(v,null,i),p.createElement(v,Object.assign({borderRadius:"50%",backgroundColor:"white"},Pt[c],x.circle)),a&&!d&&p.createElement(v,null,a)),"right"===n&&r&&p.createElement(v,null,r))},qt=e=>{var{label:o,placeholder:r,value:a}=e,[i,n]=t.useState(null!=o?o:r),[l,c]=t.useState(!1),[s,d]=t.useState(a||""),[m,u]=t.useState(!1);return t.useMemo(()=>{n(m&&!s?null!=r?r:"":null!=o?o:r)},[s,m,o,r]),{hint:i,setHint:n,isHovered:l,setIsHovered:c,value:s,setValue:d,isFocused:m,setIsFocused:u}},Yt=["id","name","hint","error","value","label","shadow","helperText","placeholder","size","shape","variant","colorScheme","isHovered","isFocused","isEditable","isReadOnly","isDisabled","isAutoFocus","isMultiline","maxRows","maxCols","onBlur","onChange","onFocus","onChangeText","setHint","setValue","setIsFocused","setIsHovered","styles"],Jt=e=>{var{id:o,name:t,hint:r,error:i,value:n,label:l,shadow:c,helperText:s,size:d="sm",shape:m="default",variant:u="default",colorScheme:h="theme.primary",isHovered:g=!1,isFocused:v=!1,isEditable:E=!1,isReadOnly:j=!1,isDisabled:C=!1,isAutoFocus:f=!1,isMultiline:x=!1,maxRows:z=3,maxCols:y=30,onBlur:w=(()=>{}),onChange:S,onFocus:I,onChangeText:O,setHint:k=(()=>{}),setValue:_=(()=>{}),setIsFocused:H=(()=>{}),setIsHovered:M=(()=>{}),styles:T={box:{},text:{},label:{},helperText:{},field:{}}}=e,L=b(e,Yt),B=!(!v||!l),V=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:a.Typography.fontSizes[d],backgroundColor:"transparent",color:C?"color.trueGray.600":"color.blueGray.700",cursor:C?"not-allowed":"auto"},T.field),F=()=>M(!g),R=e=>{"string"==typeof e?(_(e),O&&O(e),S&&S(e)):(_(e.target.value),O&&O(e.target.value),S&&S(e.target.value))};return p.createElement(ut,{helperText:s,error:i,styles:T},p.createElement(jt,{label:l,size:d,error:i,shape:m,styles:T,shadow:c,variant:u,value:n,color:h,isHovered:g,isDisabled:C,isReadOnly:j,isFocused:v,isWithLabel:B,colorScheme:h,onMouseEnter:F,onMouseLeave:F},p.createElement(kt,null,B&&p.createElement(It,Object.assign({htmlFor:o,color:h,error:i},T),l),p.createElement(a.Element,Object.assign({as:"textarea",id:o,name:t,rows:z,cols:y,value:n,readOnly:j,disabled:C,autoFocus:f,editable:E,placeholder:r,onBlur:e=>{w(e),H(!1)},onFocus:()=>{H(!0),I&&I()},multiline:x},V,L,{onChange:R,onChangeText:R})))))},Qt=e=>{var{label:o,placeholder:r,value:a}=e,[i,n]=t.useState(null!=o?o:r),[l,c]=t.useState(!1),[s,d]=t.useState(!1),[m,u]=t.useState(a);return t.useMemo(()=>{n(l&&!m?null!=r?r:"":null!=o?o:r)},[m,l,o,r]),{hint:i,setHint:n,isFocused:l,setIsFocused:c,isHovered:s,setIsHovered:d,setValue:u,value:m}},Xt=["id","name","label","hint","value","onChange","leftChild","rightChild","helperText","placeholder","onChangeText","shadow","styles","size","shape","variant","colorScheme","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur"],$t=e=>p.createElement(a.Input,Object.assign({type:"text"},e)),er=e=>{var{id:o,name:t,label:r,hint:i,value:n,onChange:l,leftChild:c,rightChild:s,helperText:d,onChangeText:m,shadow:u={},styles:h={box:{},field:{},label:{},helperText:{},text:{}},size:g="md",shape:v="default",variant:E="default",colorScheme:j="theme.primary",error:C=!1,isFocused:f=!1,isHovered:x=!1,isDisabled:z=!1,isReadOnly:y=!1,isClearable:w=!0,isAutoFocus:S=!1,setHint:I=(()=>{}),setIsFocused:O=(()=>{}),setIsHovered:k=(()=>{}),setValue:_=(()=>{}),onClick:H=(()=>{}),onFocus:M,onBlur:T=(()=>{})}=e,L=b(e,Xt),{getColor:B}=a.useTheme(),V=B("color.blueGray.700"),F=!(!f||!r),R=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:a.Typography.fontSizes[g],lineHeight:a.Typography.fontSizes[g],backgroundColor:"transparent",color:z?"color.trueGray.600":"color.blueGray.700",cursor:z?"not-allowed":"auto"},h.field),W=()=>k(!x);return p.createElement(ut,{helperText:d,error:C,styles:h},p.createElement(jt,{label:r,size:g,error:C,shape:v,styles:h,shadow:u,variant:E,value:n,color:j,isHovered:x,isDisabled:z,isReadOnly:y,isFocused:f,isWithLabel:F,colorScheme:j,onMouseEnter:W,onMouseLeave:W},c,p.createElement(kt,null,F&&p.createElement(It,Object.assign({htmlFor:o,color:j,error:C},h),r),p.createElement($t,Object.assign({id:o,name:t,readOnly:y,disabled:z,autoFocus:S,placeholder:i,onFocus:()=>{O(!0),M&&M()},onBlur:e=>{T&&T(e),O(!1)},autoComplete:"off"},R,L,{onChange:e=>{"string"==typeof e?(_(e),m&&m(e),l&&l(e)):(_(e.target.value),m&&m(e.target.value),l&&l(e.target.value))},value:n}))),(s||w&&n)&&p.createElement(ft,null,w&&n&&!y&&!z&&p.createElement(_e,{size:a.Typography.fontSizes[g],color:V,onClick:()=>{_(""),l&&(T({target:{name:t}}),m&&m(""),l&&l("")),"undefined"==typeof document&&m&&m("")}}),s&&p.createElement(p.Fragment,null,s))))},or=e=>{var{defaultIsSelected:o=!1}=e,[t,r]=p.useState(!1),[a,i]=p.useState(o);return{isHovered:t,setIsHovered:r,isSelected:a,setIsSelected:i}},tr={xs:{height:8,width:8},sm:{height:12,width:12},md:{height:18,width:18},lg:{height:24,width:24},xl:{height:30,width:30},"2xl":{height:36,width:36},"3xl":{height:42,width:42},"4xl":{height:48,width:48},"5xl":{height:54,width:54},"6xl":{height:60,width:60}},rr={xs:6,sm:12,md:18,lg:24,xl:30,"2xl":36,"3xl":42,"4xl":48,"5xl":54,"6xl":60},ar=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","colorScheme","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","styles","infoText","helperText"],ir=e=>{var{id:o,icon:t,label:r,isChecked:i,onChange:n,onValueChange:l,shadow:c={},labelPosition:s="right",size:d="md",colorScheme:m="theme.primary",error:u=!1,isSelected:h=!1,isHovered:g=!1,isDisabled:v=!1,isReadOnly:E=!1,isIndeterminate:j=!1,defaultIsSelected:C=!1,setIsSelected:f=(()=>{}),setIsHovered:x=(()=>{}),styles:y={checkbox:{},label:{}},infoText:S}=e,O=b(e,ar),_=()=>x(!g),H={container:Object.assign({gap:10,display:"flex",alignItems:"center",height:"fit-content",width:"fit-content",color:u?"theme.error":v?"theme.disabled":"color.blueGray.700",cursor:v?"not-allowed":E?"default":"pointer"},y.label),checkbox:Object.assign({},v?{backgroundColor:"theme.disabled"}:(i||h)&&!j||j?{backgroundColor:m}:{borderWidth:2,borderColor:u?"theme.error":g?"color.gray.500":"color.gray.300",borderStyle:"solid"},{borderRadius:3},g?{filter:"brightness(0.9)"}:{},tr[d],c,y.checkbox)};return p.createElement(wt,Object.assign({htmlFor:o,as:"div",onClick:()=>{E||v||(f&&f(!h),n&&n(!i),l&&l(!i))},onMouseEnter:_,onMouseLeave:_,size:a.Typography.fontSizes[d]},H.container,O),p.createElement(w,{gap:8},p.createElement(I,{gap:10,alignItems:"center"},"left"===s&&r&&p.createElement(z,Object.assign({size:d},null==y?void 0:y.label),r),p.createElement(k,Object.assign({},H.checkbox),j?p.createElement(Be,{size:rr[d],color:"white"}):(i||h)&&(null!=t?t:p.createElement(Ke,{size:rr[d],color:"white"}))),"right"===s&&r&&p.createElement(z,Object.assign({size:d},null==y?void 0:y.label),r)),S&&p.createElement(z,Object.assign({marginLeft:"left"===s?0:27,color:"color.gray.400",size:"sm"},null==y?void 0:y.infoText),S)))},nr=[{name:"Afghanistan",dial_code:"+93",emoji:"🇦🇫",code:"AF"},{name:"Aland Islands",dial_code:"+358",emoji:"🇦🇽",code:"AX"},{name:"Albania",dial_code:"+355",emoji:"🇦🇱",code:"AL"},{name:"Algeria",dial_code:"+213",emoji:"🇩🇿",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1684",emoji:"🇦🇸",code:"AS"},{name:"Andorra",dial_code:"+376",emoji:"🇦🇩",code:"AD"},{name:"Angola",dial_code:"+244",emoji:"🇦🇴",code:"AO"},{name:"Anguilla",dial_code:"+1264",emoji:"🇦🇮",code:"AI"},{name:"Antarctica",dial_code:"+672",emoji:"🇦🇶",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",emoji:"🇦🇬",code:"AG"},{name:"Argentina",dial_code:"+54",emoji:"🇦🇷",code:"AR"},{name:"Armenia",dial_code:"+374",emoji:"🇦🇲",code:"AM"},{name:"Aruba",dial_code:"+297",emoji:"🇦🇼",code:"AW"},{name:"Australia",dial_code:"+61",emoji:"🇦🇺",code:"AU"},{name:"Austria",dial_code:"+43",emoji:"🇦🇹",code:"AT"},{name:"Azerbaijan",dial_code:"+994",emoji:"🇦🇿",code:"AZ"},{name:"Bahamas",dial_code:"+1242",emoji:"🇧🇸",code:"BS"},{name:"Bahrain",dial_code:"+973",emoji:"🇧🇭",code:"BH"},{name:"Bangladesh",dial_code:"+880",emoji:"🇧🇩",code:"BD"},{name:"Barbados",dial_code:"+1246",emoji:"🇧🇧",code:"BB"},{name:"Belarus",dial_code:"+375",emoji:"🇧🇾",code:"BY"},{name:"Belgium",dial_code:"+32",emoji:"🇧🇪",code:"BE"},{name:"Belize",dial_code:"+501",emoji:"🇧🇿",code:"BZ"},{name:"Benin",dial_code:"+229",emoji:"🇧🇯",code:"BJ"},{name:"Bermuda",dial_code:"+1441",emoji:"🇧🇲",code:"BM"},{name:"Bhutan",dial_code:"+975",emoji:"🇧🇹",code:"BT"},{name:"Bolivia, Plurinational State of",dial_code:"+591",emoji:"🇧🇴",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",emoji:"🇧🇦",code:"BA"},{name:"Botswana",dial_code:"+267",emoji:"🇧🇼",code:"BW"},{name:"Brazil",dial_code:"+55",emoji:"🇧🇷",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",emoji:"🇮🇴",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",emoji:"🇧🇳",code:"BN"},{name:"Bulgaria",dial_code:"+359",emoji:"🇧🇬",code:"BG"},{name:"Burkina Faso",dial_code:"+226",emoji:"🇧🇫",code:"BF"},{name:"Burundi",dial_code:"+257",emoji:"🇧🇮",code:"BI"},{name:"Cambodia",dial_code:"+855",emoji:"🇰🇭",code:"KH"},{name:"Cameroon",dial_code:"+237",emoji:"🇨🇲",code:"CM"},{name:"Canada",dial_code:"+1",emoji:"🇨🇦",code:"CA"},{name:"Cape Verde",dial_code:"+238",emoji:"🇨🇻",code:"CV"},{name:"Cayman Islands",dial_code:"+345",emoji:"🇰🇾",code:"KY"},{name:"Central African Republic",dial_code:"+236",emoji:"🇨🇫",code:"CF"},{name:"Chad",dial_code:"+235",emoji:"🇹🇩",code:"TD"},{name:"Chile",dial_code:"+56",emoji:"🇨🇱",code:"CL"},{name:"China",dial_code:"+86",emoji:"🇨🇳",code:"CN"},{name:"Christmas Island",dial_code:"+61",emoji:"🇨🇽",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",emoji:"🇨🇨",code:"CC"},{name:"Colombia",dial_code:"+57",emoji:"🇨🇴",code:"CO"},{name:"Comoros",dial_code:"+269",emoji:"🇰🇲",code:"KM"},{name:"Congo",dial_code:"+242",emoji:"🇨🇬",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",emoji:"🇨🇩",code:"CD"},{name:"Cook Islands",dial_code:"+682",emoji:"🇨🇰",code:"CK"},{name:"Costa Rica",dial_code:"+506",emoji:"🇨🇷",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",emoji:"🇨🇮",code:"CI"},{name:"Croatia",dial_code:"+385",emoji:"🇭🇷",code:"HR"},{name:"Cuba",dial_code:"+53",emoji:"🇨🇺",code:"CU"},{name:"Cyprus",dial_code:"+357",emoji:"🇨🇾",code:"CY"},{name:"Czech Republic",dial_code:"+420",emoji:"🇨🇿",code:"CZ"},{name:"Denmark",dial_code:"+45",emoji:"🇩🇰",code:"DK"},{name:"Djibouti",dial_code:"+253",emoji:"🇩🇯",code:"DJ"},{name:"Dominica",dial_code:"+1767",emoji:"🇩🇲",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",emoji:"🇩🇴",code:"DO"},{name:"Ecuador",dial_code:"+593",emoji:"🇪🇨",code:"EC"},{name:"Egypt",dial_code:"+20",emoji:"🇪🇬",code:"EG"},{name:"El Salvador",dial_code:"+503",emoji:"🇸🇻",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",emoji:"🇬🇶",code:"GQ"},{name:"Eritrea",dial_code:"+291",emoji:"🇪🇷",code:"ER"},{name:"Estonia",dial_code:"+372",emoji:"🇪🇪",code:"EE"},{name:"Ethiopia",dial_code:"+251",emoji:"🇪🇹",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",emoji:"🇫🇰",code:"FK"},{name:"Faroe Islands",dial_code:"+298",emoji:"🇫🇴",code:"FO"},{name:"Fiji",dial_code:"+679",emoji:"🇫🇯",code:"FJ"},{name:"Finland",dial_code:"+358",emoji:"🇫🇮",code:"FI"},{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"French Guiana",dial_code:"+594",emoji:"🇬🇫",code:"GF"},{name:"French Polynesia",dial_code:"+689",emoji:"🇵🇫",code:"PF"},{name:"Gabon",dial_code:"+241",emoji:"🇬🇦",code:"GA"},{name:"Gambia",dial_code:"+220",emoji:"🇬🇲",code:"GM"},{name:"Georgia",dial_code:"+995",emoji:"🇬🇪",code:"GE"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"Ghana",dial_code:"+233",emoji:"🇬🇭",code:"GH"},{name:"Gibraltar",dial_code:"+350",emoji:"🇬🇮",code:"GI"},{name:"Greece",dial_code:"+30",emoji:"🇬🇷",code:"GR"},{name:"Greenland",dial_code:"+299",emoji:"🇬🇱",code:"GL"},{name:"Grenada",dial_code:"+1473",emoji:"🇬🇩",code:"GD"},{name:"Guadeloupe",dial_code:"+590",emoji:"🇬🇵",code:"GP"},{name:"Guam",dial_code:"+1671",emoji:"🇬🇺",code:"GU"},{name:"Guatemala",dial_code:"+502",emoji:"🇬🇹",code:"GT"},{name:"Guernsey",dial_code:"+44",emoji:"🇬🇬",code:"GG"},{name:"Guinea",dial_code:"+224",emoji:"🇬🇳",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",emoji:"🇬🇼",code:"GW"},{name:"Guyana",dial_code:"+595",emoji:"🇬🇾",code:"GY"},{name:"Haiti",dial_code:"+509",emoji:"🇭🇹",code:"HT"},{name:"Holy See (Vatican City State)",dial_code:"+379",emoji:"🇻🇦",code:"VA"},{name:"Honduras",dial_code:"+504",emoji:"🇭🇳",code:"HN"},{name:"Hong Kong",dial_code:"+852",emoji:"🇭🇰",code:"HK"},{name:"Hungary",dial_code:"+36",emoji:"🇭🇺",code:"HU"},{name:"Iceland",dial_code:"+354",emoji:"🇮🇸",code:"IS"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Indonesia",dial_code:"+62",emoji:"🇮🇩",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",emoji:"🇮🇷",code:"IR"},{name:"Iraq",dial_code:"+964",emoji:"🇮🇷",code:"IQ"},{name:"Ireland",dial_code:"+353",emoji:"🇮🇪",code:"IE"},{name:"Isle of Man",dial_code:"+44",emoji:"🇮🇲",code:"IM"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Jamaica",dial_code:"+1876",emoji:"🇯🇲",code:"JM"},{name:"Japan",dial_code:"+81",emoji:"🇯🇵",code:"JP"},{name:"Jersey",dial_code:"+44",emoji:"🇯🇪",code:"JE"},{name:"Jordan",dial_code:"+962",emoji:"🇯🇴",code:"JO"},{name:"Kazakhstan",dial_code:"+77",emoji:"🇰🇿",code:"KZ"},{name:"Kenya",dial_code:"+254",emoji:"🇰🇪",code:"KE"},{name:"Kiribati",dial_code:"+686",emoji:"🇰🇮",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",emoji:"🇰🇵",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",emoji:"🇰🇷",code:"KR"},{name:"Kuwait",dial_code:"+965",emoji:"🇰🇼",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",emoji:"🇰🇬",code:"KG"},{name:"Laos",dial_code:"+856",emoji:"🇱🇦",code:"LA"},{name:"Latvia",dial_code:"+371",emoji:"🇱🇻",code:"LV"},{name:"Lebanon",dial_code:"+961",emoji:"🇱🇧",code:"LB"},{name:"Lesotho",dial_code:"+266",emoji:"🇱🇸",code:"LS"},{name:"Liberia",dial_code:"+231",emoji:"🇱🇷",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",emoji:"🇱🇾",code:"LY"},{name:"Liechtenstein",dial_code:"+423",emoji:"🇱🇮",code:"LI"},{name:"Lithuania",dial_code:"+370",emoji:"🇱🇹",code:"LT"},{name:"Luxembourg",dial_code:"+352",emoji:"🇱🇺",code:"LU"},{name:"Macao",dial_code:"+853",emoji:"🇲🇴",code:"MO"},{name:"Macedonia",dial_code:"+389",emoji:"🇲🇰",code:"MK"},{name:"Madagascar",dial_code:"+261",emoji:"🇲🇬",code:"MG"},{name:"Malawi",dial_code:"+265",emoji:"🇲🇼",code:"MW"},{name:"Malaysia",dial_code:"+60",emoji:"🇲🇾",code:"MY"},{name:"Maldives",dial_code:"+960",emoji:"🇲🇻",code:"MV"},{name:"Mali",dial_code:"+223",emoji:"🇲🇱",code:"ML"},{name:"Malta",dial_code:"+356",emoji:"🇲🇹",code:"MT"},{name:"Marshall Islands",dial_code:"+692",emoji:"🇲🇭",code:"MH"},{name:"Martinique",dial_code:"+596",emoji:"🇲🇶",code:"MQ"},{name:"Mauritania",dial_code:"+222",emoji:"🇲🇷",code:"MR"},{name:"Mauritius",dial_code:"+230",emoji:"🇲🇺",code:"MU"},{name:"Mayotte",dial_code:"+262",emoji:"🇾🇹",code:"YT"},{name:"Mexico",dial_code:"+52",emoji:"🇲🇽",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",emoji:"🇫🇲",code:"FM"},{name:"Moldova",dial_code:"+373",emoji:"🇲🇩",code:"MD"},{name:"Monaco",dial_code:"+377",emoji:"🇲🇨",code:"MC"},{name:"Mongolia",dial_code:"+976",emoji:"🇲🇳",code:"MN"},{name:"Montenegro",dial_code:"+382",emoji:"🇲🇪",code:"ME"},{name:"Montserrat",dial_code:"+1664",emoji:"🇲🇸",code:"MS"},{name:"Morocco",dial_code:"+212",emoji:"🇲🇦",code:"MA"},{name:"Mozambique",dial_code:"+258",emoji:"🇲🇿",code:"MZ"},{name:"Myanmar",dial_code:"+95",emoji:"🇲🇲",code:"MM"},{name:"Namibia",emoji:"🇳🇦",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",emoji:"🇳🇷",code:"NR"},{name:"Nepal",dial_code:"+977",emoji:"🇳🇵",code:"NP"},{name:"Netherlands",dial_code:"+31",emoji:"🇳🇱",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",emoji:"🇧🇶",code:"AN"},{name:"New Caledonia",dial_code:"+687",emoji:"🇳🇨",code:"NC"},{name:"New Zealand",dial_code:"+64",emoji:"🇳🇿",code:"NZ"},{name:"Nicaragua",dial_code:"+505",emoji:"🇳🇮",code:"NI"},{name:"Niger",dial_code:"+227",emoji:"🇳🇪",code:"NE"},{name:"Nigeria",dial_code:"+234",emoji:"🇳🇬",code:"NG"},{name:"Niue",dial_code:"+683",emoji:"🇳🇺",code:"NU"},{name:"Norfolk Island",dial_code:"+672",emoji:"🇳🇫",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",emoji:"🇲🇵",code:"MP"},{name:"Norway",dial_code:"+47",emoji:"🇳🇴",code:"NO"},{name:"Oman",dial_code:"+968",emoji:"🇴🇲",code:"OM"},{name:"Pakistan",dial_code:"+92",emoji:"🇵🇰",code:"PK"},{name:"Palau",dial_code:"+680",emoji:"🇵🇼",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",emoji:"🇵🇸",code:"PS"},{name:"Panama",dial_code:"+507",emoji:"🇵🇦",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",emoji:"🇵🇬",code:"PG"},{name:"Paraguay",dial_code:"+595",emoji:"🇵🇾",code:"PY"},{name:"Peru",dial_code:"+51",emoji:"🇵🇪",code:"PE"},{name:"Philippines",dial_code:"+63",emoji:"🇵🇭",code:"PH"},{name:"Pitcairn",dial_code:"+872",emoji:"🇵🇳",code:"PN"},{name:"Poland",dial_code:"+48",emoji:"🇵🇱",code:"PL"},{name:"Portugal",dial_code:"+351",emoji:"🇵🇹",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",emoji:"🇵🇷",code:"PR"},{name:"Qatar",dial_code:"+974",emoji:"🇶🇦",code:"QA"},{name:"Romania",dial_code:"+40",emoji:"🇷🇴",code:"RO"},{name:"Russia",dial_code:"+7",emoji:"🇷🇺",code:"RU"},{name:"Rwanda",dial_code:"+250",emoji:"🇷🇼",code:"RW"},{name:"Reunion",dial_code:"+262",emoji:"🇷🇪",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",emoji:"🇧🇱",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",emoji:"🇸🇭",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",emoji:"🇰🇳",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",emoji:"🇱🇨",code:"LC"},{name:"Saint Martin",dial_code:"+590",emoji:"🇲🇫",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",emoji:"🇵🇲",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",emoji:"🇻🇨",code:"VC"},{name:"Samoa",dial_code:"+685",emoji:"🇼🇸",code:"WS"},{name:"San Marino",dial_code:"+378",emoji:"🇸🇲",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",emoji:"🇸🇹",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",emoji:"🇸🇦",code:"SA"},{name:"Senegal",dial_code:"+221",emoji:"🇸🇳",code:"SN"},{name:"Serbia",dial_code:"+381",emoji:"🇷🇸",code:"RS"},{name:"Seychelles",dial_code:"+248",emoji:"🇸🇨",code:"SC"},{name:"Sierra Leone",dial_code:"+232",emoji:"🇸🇱",code:"SL"},{name:"Singapore",dial_code:"+65",emoji:"🇸🇬",code:"SG"},{name:"Slovakia",dial_code:"+421",emoji:"🇸🇰",code:"SK"},{name:"Slovenia",dial_code:"+386",emoji:"🇸🇮",code:"SI"},{name:"Solomon Islands",dial_code:"+677",emoji:"🇸🇧",code:"SB"},{name:"Somalia",dial_code:"+252",emoji:"🇸🇴",code:"SO"},{name:"South Africa",dial_code:"+27",emoji:"🇿🇦",code:"ZA"},{name:"South Sudan",dial_code:"+211",emoji:"🇸🇸",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",emoji:"🇬🇸",code:"GS"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Sri Lanka",dial_code:"+94",emoji:"🇱🇰",code:"LK"},{name:"Sudan",dial_code:"+249",emoji:"🇸🇩",code:"SD"},{name:"Suriname",dial_code:"+597",emoji:"🇸🇷",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",emoji:"🇸🇯",code:"SJ"},{name:"Swaziland",dial_code:"+268",emoji:"🇸🇿",code:"SZ"},{name:"Sweden",dial_code:"+46",emoji:"🇸🇪",code:"SE"},{name:"Switzerland",dial_code:"+41",emoji:"🇨🇭",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",emoji:"🇸🇾",code:"SY"},{name:"Taiwan",dial_code:"+886",emoji:"🇹🇼",code:"TW"},{name:"Tajikistan",dial_code:"+992",emoji:"🇹🇯",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",emoji:"🇹🇿",code:"TZ"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Timor-Leste",dial_code:"+670",emoji:"🇹🇱",code:"TL"},{name:"Togo",dial_code:"+228",emoji:"🇹🇬",code:"TG"},{name:"Tokelau",dial_code:"+690",emoji:"🇹🇰",code:"TK"},{name:"Tonga",dial_code:"+676",emoji:"🇹🇴",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",emoji:"🇹🇹",code:"TT"},{name:"Tunisia",dial_code:"+216",emoji:"🇹🇳",code:"TN"},{name:"Turkey",dial_code:"+90",emoji:"🇹🇷",code:"TR"},{name:"Turkmenistan",dial_code:"+993",emoji:"🇹🇲",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",emoji:"🇹🇨",code:"TC"},{name:"Tuvalu",dial_code:"+688",emoji:"🇹🇻",code:"TV"},{name:"Uganda",dial_code:"+256",emoji:"🇺🇬",code:"UG"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",emoji:"🇦🇪",code:"AE"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"},{name:"Uruguay",dial_code:"+598",emoji:"🇺🇾",code:"UY"},{name:"Uzbekistan",dial_code:"+998",emoji:"🇺🇿",code:"UZ"},{name:"Vanuatu",dial_code:"+678",emoji:"🇻🇺",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",emoji:"🇻🇪",code:"VE"},{name:"Vietnam",dial_code:"+84",emoji:"🇻🇳",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",emoji:"🇻🇬",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",emoji:"🇻🇮",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",emoji:"🇼🇫",code:"WF"},{name:"Yemen",dial_code:"+967",emoji:"🇾🇪",code:"YE"},{name:"Zambia",dial_code:"+260",emoji:"🇿🇲",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",emoji:"🇿🇼",code:"ZW"}],lr=e=>{var{placeholder:o}=e,[t,r]=p.useState(nr),[a,i]=p.useState(null!=o?o:nr[0].name),[n,l]=p.useState(!0),[c,s]=p.useState(!1),[d,m]=p.useState(!1);return{hide:n,setHide:l,newOptions:t,setNewOptions:r,isHovered:d,setIsHovered:m,isFocused:c,setIsFocused:s,value:a,setValue:i}},cr={xs:8,sm:10,md:12,lg:14,xl:16},sr=["size"],dr=["size"],mr=["id","name","label","value","placeholder","helperText","hide","error","isHovered","isFocused","isAutoFocus","isDisabled","isReadOnly","shadow","newOptions","size","variant","shape","colorScheme","onChange","onBlur","setHide","setNewOptions","setIsHovered","setIsFocused","setValue","styles"],ur=e=>{var o=b(e,sr);return p.createElement(a.Element,Object.assign({as:"ul"},o))},hr=e=>p.createElement(a.Input,Object.assign({type:"country"},e)),gr=e=>{var o=b(e,dr);return p.createElement(a.Element,Object.assign({as:"li"},o))},pr=e=>{var{option:o,size:r="md",callback:i=(()=>{}),styles:n={text:{}}}=e,[l,c]=t.useState(!1),s=()=>c(!l);return p.createElement(gr,Object.assign({margin:0,role:"DropDownItem",listStyleType:"none",fontWeight:"normal",paddingVertical:6,paddingHorizontal:12,onMouseEnter:s,onMouseLeave:s,onClick:e=>{e&&e.stopPropagation&&e.stopPropagation(),i(o)},fontSize:a.Typography.fontSizes[r],backgroundColor:l?"trueGray.100":"transparent"},n.text),o)},vr=e=>{var{size:o,styles:t={dropDown:{}},options:r,callback:a=(()=>{})}=e,i=e=>a(e);return p.createElement(ur,Object.assign({role:"dropDown",margin:0,padding:0,top:"100%",width:"100%",display:"flex",zIndex:1e3,overflow:"auto",maxHeight:"300px",borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"},t.dropDown),r.map(e=>p.createElement(pr,Object.assign({key:e.code,size:o,option:e.name,callback:i},t.text))))},br=e=>{var{id:o,name:t,label:r,value:i,placeholder:n,helperText:l,hide:c=!1,error:s=!1,isHovered:d=!1,isFocused:m=!1,isAutoFocus:u=!1,isDisabled:h=!1,isReadOnly:g=!1,shadow:v={},newOptions:E=[],size:j="md",variant:C="default",shape:f="default",colorScheme:x="theme.primary",onChange:z,onBlur:y=(()=>{}),setHide:w=(()=>{}),setNewOptions:S=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:O=(()=>{}),setValue:k=(()=>{}),styles:_={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}}}=e,H=b(e,mr),{getColor:M}=a.useTheme(),T=M("color.blueGray.700"),L=()=>I(!d),B=!(!m||!r),V=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:a.Typography.fontSizes[j],backgroundColor:"transparent",color:h?"color.trueGray.600":"color.blueGray.700",cursor:h?"not-allowed":"auto"},_.field);return p.createElement(ut,{helperText:l,error:s,styles:_,onClick:()=>{h||g||w(!c)}},p.createElement(jt,{label:r,size:j,error:s,shape:f,styles:_,shadow:v,variant:C,value:i,color:x,isHovered:d,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:B,colorScheme:x,onMouseEnter:L,onMouseLeave:L},p.createElement(kt,null,B&&p.createElement(It,Object.assign({htmlFor:o,color:x,error:s},_),r),p.createElement(hr,Object.assign({id:o,name:t,placeholder:n,readOnly:g,disabled:h,autoFocus:u,onBlur:e=>{y(e),O(!1)},onFocus:()=>O(!0)},V,H,{value:i,onChange:e=>{var o=e.target.value,t=nr.filter(e=>e.name.toLowerCase().startsWith(o.toLowerCase()));c&&w(!1),S(t),z&&z(o)}}))),p.createElement(ft,null,p.createElement(Oe,c?{orientation:"down",size:cr[j],color:T,style:_.icon}:{orientation:"up",size:cr[j],color:T,style:_.icon}))),!c&&p.createElement(vr,{size:j,styles:_,options:E,callback:e=>{w(!c),k(e),z&&z(e)}}))},Er=()=>{var[e,o]=p.useState(!1),[t,r]=p.useState(!1),[a,i]=p.useState(u(new Date,"yyyy-MM-dd"));return{date:a,setDate:i,isHovered:e,setIsHovered:o,isFocused:t,setIsFocused:r}},jr=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","colorScheme","styles","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],Cr=e=>p.createElement(a.Input,Object.assign({type:"date"},e)),fr=e=>{var{id:o,name:t,label:r,date:i,helperText:n,shadow:l={},size:c="md",variant:s="default",shape:d="default",colorScheme:m="theme.primary",styles:u={box:{},label:{},helperText:{},text:{},field:{}},error:h=!1,isHovered:g=!1,isFocused:v=!1,isDisabled:E=!1,isReadOnly:j=!1,setDate:C=(()=>{}),setIsFocused:f=(()=>{}),setIsHovered:x=(()=>{}),onChange:z,onChangeText:y}=e,w=b(e,jr),S=!(!v||!r),I=()=>x(!g),O=e=>{"string"==typeof e?(C(e),y&&y(e)):(C(e.target.value),z&&z(e.target.value))},k=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:a.Typography.fontSizes[c],backgroundColor:"transparent",color:E?"color.trueGray.600":"color.blueGray.700",cursor:E?"not-allowed":j?"auto":"pointer"},u.field);return p.createElement(ut,{helperText:n,error:h,styles:u},p.createElement(jt,{label:r,size:c,error:h,shape:d,styles:u,shadow:l,variant:s,value:i,color:m,isHovered:g,isDisabled:E,isReadOnly:j,isFocused:v,isWithLabel:S,colorScheme:m,onMouseEnter:I,onMouseLeave:I},p.createElement(kt,null,S&&p.createElement(It,Object.assign({htmlFor:o,color:m,error:h},u),r),p.createElement(Cr,Object.assign({id:o,name:t,onFocus:()=>f(!0),disabled:E,readOnly:j},k,w,y&&{onChangeText:O},{onChange:O})))))},xr=e=>{var o=Qt(e),[r,a]=t.useState(!1);return Object.assign({isVisible:r,setIsVisible:a},e,o)},zr=["visibleIcon","hiddenIcon"],yr=["isVisible","setIsVisible"],wr=(e,o,r)=>{var[a,i]=t.useState(e),[n,l]=t.useState(o?{value:o,label:o}:e[0]),[c,s]=t.useState(0),[d,m]=t.useState(null!=r?r:""),[u,h]=t.useState(!1);return{filteredItems:a,setFilteredItems:i,selectedItem:n,setSelectedItem:l,highlightedIndex:c,setHighlightedIndex:s,searchQuery:d,setSearchQuery:m,isDropdownVisible:u,setIsDropdownVisible:h}},Sr=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","styles","isDropdownVisible","setIsDropdownVisible"],Ir=e=>{var{placeholder:o,items:r,showTick:a=!0,onSelect:i,searchEnabled:n=!0,left:l,right:c,label:s,filteredItems:d,setSelectedItem:m,selectedItem:u,highlightedIndex:h,setHighlightedIndex:g,searchQuery:E,setSearchQuery:j,setFilteredItems:C,styles:f,isDropdownVisible:x,setIsDropdownVisible:y}=e,w=b(e,Sr);return t.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&y(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),p.createElement(I,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},w),s&&p.createElement(z,{styles:null==f?void 0:f.label,htmlFor:w.id},s),p.createElement(v,{position:"relative"},p.createElement(I,Object.assign({cursor:"pointer",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",padding:"12px",display:"flex",alignItems:"center",borderRadius:"4px",justifyContent:"space-between",minWidth:300,flexWrap:"nowrap"},null==f?void 0:f.container),p.createElement(I,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>y(!x)},null==f?void 0:f.labelContainer),l,p.createElement(z,Object.assign({weight:"medium",flexGrow:1},null==f?void 0:f.label),u.label)),c,x&&p.createElement(v,Object.assign({id:"combobox-dropdown",position:"absolute",backgroundColor:"white",boxShadow:"rgba(0, 0 ,0 ,0.16) 0px 1px 4px",width:"100%",overflowY:"auto",zIndex:1e4,bottom:-8,left:0,transform:"translateY(100%)",marginTop:"4px",borderRadius:"4px"},null==f?void 0:f.dropdown),n&&p.createElement(er,{id:w.id,name:w.name,width:"100%",type:"search",value:E,onChange:e=>(e=>{if(j(e),""===e)C(r);else{var o=r.filter(o=>o.label.toLowerCase().includes(e.toLowerCase()));C(o)}g(0)})(e),hint:o,isClearable:!1,leftChild:p.createElement(Ge,{size:12}),styles:{box:Object.assign({width:"100%",padding:"6px 12px",borderBottom:d.length>0?"1px solid #ccc":"1px solid transparent"},null==f?void 0:f.text)}}),d.length>0&&p.createElement(v,{margin:0,padding:4},d.map((e,o)=>p.createElement(I,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:o===h?"color.gray.100":"transparent",onMouseEnter:()=>g(o),onClick:()=>(e=>{m(e),null==i||i(e),y(!1)})(e)},null==f?void 0:f.item),p.createElement(z,null,e.label),p.createElement(p.Fragment,null,e.icon&&e.icon,e.value===u.value&&a&&!e.icon&&p.createElement(Ke,{size:20})))))))))},Or=["id","name","items","placeholder","searchPlaceholder"],kr=["children","autoFocus","initFocus","onChange"],_r=t.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),Hr=["name","type"],Mr=e=>{var{name:o,type:r}=e,a=b(e,Hr),i=t.useContext(_r),{touched:n,errors:l,submitCount:c,values:s,setFieldTouched:d,setFieldValue:m}=h.useFormikContext(),u=e=>{"Enter"===e.key&&(e.preventDefault(),i.focusNextInput(o))},g=["text","password","email","digits"].includes(r),p=h.getIn(n,o)||c>0?h.getIn(l,o):void 0,v=h.getIn(s,o);return Object.assign({},(e=>{switch(e){case"email":return{autoCorrect:"off",inputMode:"email",autoCapitalize:"none"};case"password":return{autoCorrect:"off",secureTextEntry:!0,autoCapitalize:"none"};case"digits":return{inputMode:"tel"};case"numeric":return{inputMode:"numeric"};case"name":return{autoCorrect:"off"};default:return{}}})(r),a,{value:v,error:p,onBlur:()=>{d(o,!0)},onKeyPress:u},g?{onChangeText:e=>{m(o,e),null==a.onChangeText||a.onChangeText(e)}}:{onChange:e=>{m(o,e),null==a.onChange||a.onChange(e)}},i.active?{handleKeyPress:u}:{})},Tr=["value"],Lr=["value"],Br=["visibleIcon","hiddenIcon"],Vr=["isVisible","setIsVisible"],Fr=["items","placeholder","searchPlaceholder"],Rr=g.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,styles:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(o,t,r,a,i,n,l,c,s){return void 0===t&&(t=""),void 0===r&&(r=""),e({visible:!0,variant:o,title:t,subtitle:r,isClosable:a,styles:i,action:n,actionText:l,showIcon:c,timeout:s})},hide:()=>e({visible:!1})})),Wr=()=>{Rr.getState().hide()},Dr={info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},icon:{color:"color.blue.500",name:"InformationIcon"},content:{color:"color.blue.500"},close:{color:"color.blue.500",name:"CloseIcon"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},icon:{color:"color.green.500",name:"CheckCircleIcon"},content:{color:"color.green.500"},close:{color:"color.green.500",name:"CloseIcon"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},icon:{color:"color.red.500",name:"ErrrorIcon"},content:{color:"color.red.500"},close:{color:"color.red.500",name:"CloseIcon"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},icon:{color:"color.orange.500",name:"ErrrorIcon"},content:{color:"color.orange.500"},close:{color:"color.orange.500",name:"CloseIcon"}}},Ar=e=>{var o,r,{variant:a,hide:i,title:n,subtitle:l,theme:c,action:s,actionText:d,showIcon:m=!1,isClosable:u=!1,timeout:h=3e3,styles:g}=e;t.useEffect(()=>{if(h&&!u){var e=setTimeout(()=>{i()},h);return()=>{clearTimeout(e)}}},[]);var b=null!=c?c:Dr,E=!(!s||!d),j={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+b[a].container.border},C={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[a],f={info:p.createElement(Ve,Object.assign({size:24,color:C},null==g?void 0:g.icon)),success:p.createElement(Ne,Object.assign({size:24,color:C},null==g?void 0:g.icon)),warning:p.createElement(yo,Object.assign({size:24,color:C},null==g?void 0:g.icon)),error:p.createElement(zo,Object.assign({size:24,color:C},null==g?void 0:g.icon))}[a],x=m&&f;return p.createElement(I,Object.assign({role:"messageContent",gap:16,width:400,flexWrap:"nowrap",position:"relative",alignItems:"center",padding:"14px 24px 14px 14px",color:""+b[a].content.color,backgroundColor:""+b[a].container.backgroundColor,onClick:u?()=>{}:()=>{i()}},j,null==g?void 0:g.container),x&&f,p.createElement(w,{gap:8,width:"100%"},p.createElement(z,Object.assign({size:"md",weight:"semiBold"},null==g?void 0:g.title),n),l&&p.createElement(z,Object.assign({size:"sm"},null==g?void 0:g.subtitle),l)),E&&p.createElement(z,Object.assign({marginRight:10,onClick:s,padding:"6px 10px",whiteSpace:"nowrap"},j,null==g?void 0:g.actionText),d),u&&p.createElement(v,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{i()}},null==g||null==(o=g.closingIcon)?void 0:o.container),p.createElement(_e,Object.assign({size:18,color:C},null==g||null==(r=g.closingIcon)?void 0:r.icon))))},Pr=g.create(e=>({modal:!1,modalProps:{isVisible:!1},overlayProps:{},show:function(o,t,r){void 0===t&&(t={}),void 0===r&&(r={}),o&&(t.isVisible=!0),e(e=>Object.assign({},e,{modal:o,modalProps:t,overlayProps:r}))},hide:()=>{e(e=>Object.assign({},e,{modalProps:Object.assign({},e.modalProps,{isVisible:!1})}))}})),Gr=()=>{Pr.getState().hide()},Nr={sharp:{borderRadius:0},rounded:{borderRadius:4}},Kr={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center"},right:{justifyContent:"flex-end",alignItems:"center"},bottom:{justifyContent:"center",alignItems:"flex-end"},left:{alignItems:"center"}},Ur={xs:12,sm:16,md:20,lg:24,xl:28},Zr=["children","blur","isOpen","isClosePrevented","onClose","position"],qr=["children","shadow","isFullScreen","shape"],Yr=["children","buttonColor","iconSize","buttonPosition"],Jr=["children"],Qr=["children"],Xr=e=>{var{children:o,blur:t,isOpen:r=!1,isClosePrevented:a=!1,onClose:i=(()=>{}),position:n="center"}=e,l=b(e,Zr),c=()=>{a||i()};return p.createElement(k,{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:c,visibility:r?"visible":"hidden"},p.createElement(v,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:t?"blur("+t+"px)":void 0,onClick:c},Kr[n],l),o))},$r=e=>{var{children:o}=e;return p.createElement(p.Fragment,null,o)};$r.Overlay=Xr,$r.Container=e=>{var{children:o,shadow:t,isFullScreen:r=!1,shape:a="rounded"}=e,i=b(e,qr),n=void 0!==typeof document?{boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.3)"}:{elevation:5,shadowColor:"rgba(0, 0, 0, 0.3)",shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:8};return p.createElement(w,Object.assign({cursor:"default",backgroundColor:"white",width:r?"100%":600,height:r?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()}},t||n,Nr[a],i),o)},$r.Header=e=>{var{children:o,buttonColor:t="theme.primary",iconSize:r="md",buttonPosition:a="right"}=e,i=b(e,Yr),n=p.createElement(it,{onClick:i.onClose?i.onClose:Gr,colorScheme:"transparent",icon:p.createElement(_e,{size:Ur[r],color:t}),padding:0,margin:0,filter:"none",width:0});return p.createElement(I,Object.assign({justifyContent:"none"===a?"center":"space-between",alignItems:"center",paddingVertical:15,paddingHorizontal:20},i),"left"===a&&n,o,"right"===a&&n)},$r.Body=e=>{var{children:o}=e,t=b(e,Jr);return p.createElement(v,Object.assign({paddingVertical:15,paddingHorizontal:20},{borderBottomWidth:2,borderTopWidth:2,borderColor:"rgba(250, 250, 250, 1)",borderStyle:"solid"},t),o)},$r.Footer=e=>{var{children:o}=e,t=b(e,Qr);return p.createElement(I,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:15,paddingHorizontal:20},t),o)},$r.Layout=e=>{var{modals:o}=e,r=Pr(e=>{var{modal:o,modalProps:t,overlayProps:r}=e;return{modal:o,modalProps:t,overlayProps:r}});if("boolean"==typeof r.modal)return null;var a=o[r.modal];return a?p.createElement(t.Fragment,null,p.createElement(Xr,Object.assign({isOpen:r.modalProps.isVisible,onClose:Gr,blur:10},r.overlayProps),void 0!==a&&p.createElement(a,Object.assign({},r.modalProps)))):(console.error(r.modal+" modal doesn't exist"),null)};var ea={},oa=p.createContext(ea),ta=e=>{var{children:o,styles:t=ea}=e;return p.createElement(oa.Provider,{value:t},o)},ra=()=>p.useContext(oa),aa=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"table",borderCollapse:"collapse"},o.table,e))},ia=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"thead",borderBottom:"0.5px solid #ddd",textAlign:"left",color:"color.gray.400"},o.thead,e))},na=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"th",padding:"14px",whiteSpace:"nowrap",fontWeight:"500"},o.th,e))},la=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"tr"},o.tr,e))},ca=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"td",padding:"14px",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"400":"300"},o.td,e))},sa=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"tbody"},o.tbody,e))},da=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"tfoot"},o.tfoot,e))},ma=e=>{var o=ra();return p.createElement(a.Element,Object.assign({as:"caption",margin:"10px 0",color:"color.gray.400"},o.caption,e))},ua=e=>{var{children:o,styles:t}=e;return p.createElement(ta,{styles:t},o)};ua.Head=ia,ua.HeadCell=na,ua.Body=sa,ua.Row=la,ua.Cell=ca,ua.Footer=da,ua.Caption=ma,ua.Container=aa,ua.Template=e=>{var{data:o,columns:t,footer:r,caption:a}=e;return p.createElement(aa,{role:"Table"},a&&p.createElement(ma,null,a),p.createElement(ia,null,p.createElement(la,null,t.map(e=>p.createElement(na,{key:e.field},e.title)))),p.createElement(sa,null,o.map((e,o)=>p.createElement(la,{key:o},t.map((o,t)=>p.createElement(ca,{key:o.field,isFirstColumn:0===t},e[o.field]))))),r&&p.createElement(da,null,p.createElement(la,null,r.map((e,o)=>p.createElement(ca,Object.assign({key:o},e.props),e.value)))))};var ha=e=>{var{tabs:o,styles:t,isActive:r,setIsActive:a,tabsState:i,setTabsState:n}=e;return p.createElement(w,Object.assign({width:"100w",height:"100%"},null==t?void 0:t.container),p.createElement(I,Object.assign({marginBottom:20},null==t?void 0:t.headerTabs),o.map((e,i)=>p.createElement(it,Object.assign({key:e.title,onClick:()=>{(e=>{var t=[...o],r=t.splice(e,1);t.unshift(r[0]),n(t),a(t[0])})(i)},variant:r.value===e.value?"filled":"ghost",shape:"pillShaped",cursor:"pointer",isAuto:!0},null==t?void 0:t.tab,r.value===e.value?null==t?void 0:t.activeTab:{}),p.createElement(z,Object.assign({},null==t?void 0:t.title,r.value===e.value?null==t?void 0:t.activeText:{}),e.title)))),p.createElement(v,Object.assign({width:"100%",height:"100%"},null==t?void 0:t.content),i.map((e,o)=>(e=>e.value===i[0].value)(e)&&p.createElement(v,{key:o},e.content))))},ga=p.memo(e=>{var{tabs:o,styles:r}=e,{isActive:a,setIsActive:i,tabsState:n,setTabsState:l}=(e=>{var[o,r]=t.useState(e[0]),[a,i]=t.useState(e);return{isActive:o,setIsActive:r,tabsState:a,setTabsState:i}})(o);return p.createElement(ha,{tabs:o,styles:r,isActive:a,tabsState:n,setTabsState:l,setIsActive:i})}),pa={sharp:0,rounded:4,pillShaped:24},va=["children","shape","colorScheme","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle"],ba=e=>{var{children:o,shape:t="rounded",colorScheme:r="color.trueGray.400",variant:a="ghost",isHovered:i,setIsHovered:n,isDisabled:l,isToggle:c,setIsToggled:s,onToggle:d}=e,m=b(e,va),u=l?"theme.disabled":r,h=!(!c&&!i);return p.createElement(k,Object.assign({role:"Toggle",padding:"pillShaped"===t?"10px 12px":"8px",width:"fit-content",color:h?"color.white":u,backgroundColor:h?u:"transparent",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),cursor:l?"not-allowed":"pointer",borderRadius:pa[t],onClick:()=>{l||s(e=>{var o=!e;return d&&d(o),o})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:r},link:{borderWidth:1,borderStyle:"solid",borderColor:h?u:"transparent",textDecoration:"underline"},ghost:{}}[a],m),o)},Ea=["children","shape","colorScheme","variant","isDisabled","isToggled","onToggle"],ja=e=>{var{children:o,shape:r,colorScheme:a,variant:i,isDisabled:n,isToggled:l=!1,onToggle:c}=e,s=b(e,Ea),{isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h}=(e=>{var[o,r]=t.useState(!1),[a,i]=t.useState(e);return{isHovered:o,setIsHovered:r,isToggle:a,setIsToggled:i}})(l);return t.useEffect(()=>{h(l)},[l]),p.createElement(ba,Object.assign({shape:r,colorScheme:a,variant:i,isDisabled:n,isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h,onToggle:c},s),o)},Ca=e=>{var{items:o,onToggleChange:r,activeToggles:a,setActiveToggles:i,shape:n="rounded",variant:l="ghost",colorScheme:c="color.trueGray.400"}=e,s=t.useCallback((e,o)=>{i(t=>{var a;return a=o?t.includes(e)?t:[...t,e]:t.filter(o=>o!==e),null==r||r(a),a})},[r,i]);return p.createElement(I,{role:"ToggleGroup",display:"flex",gap:5},o.map(e=>p.createElement(ja,{role:"toggle-"+e.id,key:e.id,colorScheme:c,shape:n,variant:l,isToggled:a.includes(e.id)||e.isActive,onToggle:o=>s(e.id,o),isDisabled:e.isDisabled},e.value)))};e.AddIcon=Ye,e.Alert=e=>{var{icon:o,title:t,styles:r,description:a,variant:i}=e;return p.createElement(Oo,{icon:o,title:t,styles:r,description:a,variant:i})},e.ArrowIcon=Pe,e.AspectRatio=e=>{var{ratio:o,children:t}=e,r=b(e,Ho);return p.createElement(_o,Object.assign({ratio:o},r),t)},e.Avatar=e=>{var{src:o,size:r,styles:a,fallback:i}=e,{imageError:n,setImageError:l}=(()=>{var[e,o]=t.useState(!1);return{imageError:e,setImageError:o}})();return p.createElement(To,{src:o,size:r,styles:a,fallback:i,imageError:n,setImageError:l})},e.Badge=e=>{var{content:o,shape:t,colorScheme:r,position:a,variant:i,size:n,styles:l}=e;return p.createElement(Fo,{content:o,shape:t,colorScheme:r,position:a,variant:i,size:n,styles:l})},e.BatteryIcon=Co,e.BluetoothIcon=jo,e.BoldArrowIcon=Ae,e.BookmarkIcon=Xe,e.Bottom=e=>p.createElement(a.View,Object.assign({marginTop:"auto"},e)),e.Button=it,e.CalendarIcon=qe,e.CameraIcon=vo,e.Center=k,e.CheckIcon=ke,e.Checkbox=e=>{var o=or(e);return p.createElement(ir,Object.assign({},o,e))},e.ChevronIcon=Oe,e.ClockIcon=po,e.CloseEyeIcon=He,e.CloseIcon=_e,e.CloudIcon=wo,e.ComboBox=e=>{var{id:o,name:t,items:r,placeholder:a,searchPlaceholder:i}=e,n=b(e,Or),l=wr(r,a,i);return p.createElement(Ir,Object.assign({id:o,name:t,items:r},l,n))},e.CopyIcon=ao,e.CountryPicker=e=>{var o=lr(e);return p.createElement(br,Object.assign({},o,e))},e.DatePicker=e=>{var o=Er();return p.createElement(fr,Object.assign({},o,e))},e.DownloadIcon=Je,e.DustBinIcon=Me,e.EditIcon=Te,e.ErrorIcon=zo,e.ExternalLinkIcon=Le,e.FileImage=e=>{var{path:o}=e,t=b(e,lt);return p.createElement(a.Image,Object.assign({src:o},t))},e.FileSVG=e=>{var{src:o,color:t}=e,r=b(e,nt),{getColor:i}=a.useTheme(),n=t?{fill:i(t),stroke:i(t)}:{};return p.createElement(k,Object.assign({},r),p.createElement(a.Image,Object.assign({},n,{content:'url("'+o+'")',width:"100%",height:"100%"})))},e.FilterIcon=to,e.FormikCheckbox=e=>{var o=Mr(e),{value:t}=o,r=b(o,Tr);r.isChecked=t;var a=or(e);return p.createElement(ir,Object.assign({},a,r))},e.FormikComboBox=e=>{var{items:o,placeholder:t,searchPlaceholder:r}=e,a=b(e,Fr),i=Mr(a),n=wr(o,t,r);return p.createElement(Ir,Object.assign({},n,i,{onSelect:e=>{i.onChange(e)}}))},e.FormikCountryPicker=e=>{var o=Mr(e),t=lr(e);return p.createElement(br,Object.assign({},t,o))},e.FormikDatePicker=e=>{var o=Mr(e),t=Er();return p.createElement(fr,Object.assign({},t,o))},e.FormikForm=e=>{var{children:o,autoFocus:r=!1,initFocus:i,onChange:n=(()=>{})}=e,l=b(e,kr),c=h.useFormikContext();t.useEffect(()=>{n(c.values)},[c.values]);var s=t.useRef({}),d=t.useRef([]),m=e=>{if(r){var o,t=d.current.indexOf(e)+1;t<d.current.length?null==(o=s.current[d.current[t]])||o.focus():c.onSubmit&&c.onSubmit(c.values)}},u={active:r,focusNextInput:m,setInputRef:(e,o)=>{s.current[e]=o,d.current.includes(e)||d.current.push(e)},handleSubmitEditing:m,getReturnKeyType:e=>d.current.indexOf(e)===d.current.length-1?"done":"next"};return t.useEffect(()=>{var e;if(r)if(i&&s.current[i])null==(e=s.current[i])||e.focus();else if(d.current[0]){var o;null==(o=s.current[d.current[0]])||o.focus()}},[r,i]),p.createElement(_r.Provider,{value:u},p.createElement(a.Form,Object.assign({},l),o))},e.FormikPassword=e=>{var{visibleIcon:o=p.createElement(Fe,{size:14}),hiddenIcon:t=p.createElement(He,{size:14})}=e,r=b(e,Br),i=Mr(r),n=xr(i),{isVisible:l,setIsVisible:c}=n,s=b(n,Vr);return p.createElement(er,Object.assign({},s,{type:l?"text":"password",isClearable:!1,rightChild:p.createElement(a.View,{onClick:()=>{r.isDisabled||c(!l)}},l?o:t)}))},e.FormikSelect=e=>{var o=Mr(e);o.selected=o.value;var t=ct(e);return p.createElement(Dt,Object.assign({},t,o))},e.FormikSwitch=e=>{var o=Mr(e),t=At(e);return p.createElement(Zt,Object.assign({},t,o))},e.FormikTextArea=e=>{var o=Mr(e),t=qt(e);return p.createElement(Jt,Object.assign({},t,o))},e.FormikTextField=e=>{var o=Mr(e),t=b(Qt(e),Lr);return p.createElement(er,Object.assign({},t,o))},e.HeartIcon=mo,e.HomeIcon=$e,e.Horizontal=I,e.Icon=So,e.InfoIcon=Ve,e.Inline=e=>p.createElement(a.View,Object.assign({display:"inline-flex",wordBreak:"break-word"},e)),e.Left=e=>p.createElement(a.View,Object.assign({marginRight:"auto"},e)),e.Link=Ao,e.Loader=ot,e.LocationIcon=go,e.LockIcon=lo,e.MenuIcon=eo,e.MessageLayout=e=>{var{container:o,theme:t,position:r="topRight"}=e,{visible:a,title:i,variant:n,subtitle:l,isClosable:c,styles:s,action:d,actionText:m,showIcon:u,timeout:h}=Rr(),g={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[r],b=()=>p.createElement(Ar,{variant:n,subtitle:l,show:a,title:i,theme:t,isClosable:c,styles:s,action:d,actionText:m,showIcon:u,timeout:h,hide:()=>Wr()}),E=o?p.cloneElement(o,{},b()):p.createElement(v,Object.assign({position:"absolute",zIndex:1e4},g),b());return a?E:null},e.MessageView=Ar,e.MicrophoneIcon=bo,e.MinusIcon=Be,e.Modal=$r,e.MoonIcon=xo,e.NotificationIcon=Ue,e.OpenEyeIcon=Fe,e.Password=e=>{var{visibleIcon:o=p.createElement(Fe,{size:14}),hiddenIcon:t=p.createElement(He,{size:14})}=e,r=b(e,zr),i=xr(r),{isVisible:n,setIsVisible:l}=i,c=b(i,yr);return p.createElement(er,Object.assign({},c,{type:n?"text":"password",isClearable:!1,rightChild:p.createElement(a.View,{onClick:()=>{r.isDisabled||l(!n)}},n?o:t)}))},e.PlusIcon=Re,e.PrintIcon=no,e.ProfileIcon=De,e.RefreshIcon=ro,e.Right=e=>p.createElement(a.View,Object.assign({marginLeft:"auto"},e)),e.SaveIcon=io,e.SearchIcon=Ge,e.Select=e=>{var o=ct(e);return p.createElement(Dt,Object.assign({},o,e))},e.SettingsIcon=Ze,e.ShareIcon=oo,e.SpinnerIcon=We,e.StarIcon=so,e.SuccessIcon=Ne,e.SunIcon=fo,e.Switch=e=>{var o=At(e);return p.createElement(Zt,Object.assign({},o,e))},e.Table=ua,e.Tabs=ga,e.Text=z,e.TextArea=e=>{var o=qt(e);return p.createElement(Jt,Object.assign({},o,e))},e.TextField=e=>{var o=Qt(e);return p.createElement(er,Object.assign({},o,e))},e.ThumbDownIcon=ho,e.ThumbUpIcon=uo,e.TickIcon=Ke,e.Toggle=ja,e.ToggleGroup=e=>{var{items:o,shape:r,colorScheme:a,variant:i,onToggleChange:n}=e,{activeToggles:l,setActiveToggles:c}=(()=>{var[e,o]=t.useState([]);return{activeToggles:e,setActiveToggles:o}})();return p.createElement(Ca,{items:o,shape:r,colorScheme:a,variant:i,activeToggles:l,setActiveToggles:c,onToggleChange:n})},e.Top=e=>p.createElement(a.View,Object.assign({marginBottom:"auto"},e)),e.UnlockIcon=co,e.UploadIcon=Qe,e.Vertical=w,e.View=v,e.WarningIcon=yo,e.WifiIcon=Eo,e.hideMessage=Wr,e.hideModal=Gr,e.showMessage=(e,o,t,r)=>{Rr.getState().show(e,o,t,null==r?void 0:r.isClosable,null==r?void 0:r.styles,null==r?void 0:r.action,null==r?void 0:r.actionText,null==r?void 0:r.showIcon,null==r?void 0:r.timeout)},e.showModal=function(e,o,t){void 0===o&&(o={}),void 0===t&&(t={}),Pr.getState().show(e,o,t)},e.useMessageStore=Rr,e.useModalStore=Pr,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("core-js/modules/es.symbol.description.js"),require("react"),require("core-js/modules/es.object.assign.js"),require("app-studio"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.parse-float.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("react-router-dom"),require("core-js/modules/es.array.includes.js"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/es.string.starts-with.js"),require("date-fns/format"),require("formik"),require("zustand")):"function"==typeof define&&define.amd?define(["exports","core-js/modules/es.symbol.description.js","react","core-js/modules/es.object.assign.js","app-studio","core-js/modules/es.array.iterator.js","core-js/modules/es.parse-float.js","core-js/modules/web.dom-collections.iterator.js","react-router-dom","core-js/modules/es.array.includes.js","core-js/modules/es.string.includes.js","core-js/modules/es.string.starts-with.js","date-fns/format","formik","zustand"],o):o((e=e||self)["@app-studio/web"]={},0,e.React,0,e.appStudio,0,0,0,e.reactRouterDom,0,0,0,e.format,e.formik,e.zustand)}(this,(function(e,o,t,r,i,n,a,l,s,c,d,m,u,h,g){"use strict";var p="default"in t?t.default:t;u=u&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u;var b=i.View;function v(e,o){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(o.includes(r))continue;t[r]=e[r]}return t}var j={h1:{fontSize:60,lineHeight:71,letterSpacing:-.5},h2:{fontSize:48,lineHeight:57,letterSpacing:0},h3:{fontSize:34,lineHeight:40,letterSpacing:.25},h4:{fontSize:24,lineHeight:28,letterSpacing:0},h5:{fontSize:18,lineHeight:22,letterSpacing:.15},h6:{fontSize:14,lineHeight:18,letterSpacing:.15}},E=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","isTruncated","weight","size"],f=e=>{var{children:o,isSub:t,isSup:r}=e;return p.createElement(p.Fragment,null,"string"==typeof o?p.createElement(p.Fragment,null,t&&p.createElement("sup",null,o),r&&p.createElement("sup",null,o),!t&&!r&&p.createElement(p.Fragment,null,o)):o)},x=e=>{var{text:o,maxLines:r=1}=e,i=t.useRef(null),[n,a]=t.useState(o.length);t.useEffect(()=>{var e=i.current;e&&(()=>{for(var t,i=getComputedStyle(e).lineHeight,n=("normal"!==i?parseFloat(i):20)*r,l=0,s=o.length;l<=s;)t=Math.floor((l+s)/2),e.innerText=o.substring(0,t)+"...",e.offsetHeight>n?s=t-1:l=t+1;a(s)})()},[o,r]);var l=o.length>n?o.substring(0,n)+"...":o;return p.createElement("div",{ref:i},l)},y=e=>{var{children:o,heading:t,maxLines:r,isItalic:n=!1,isUnderlined:a=!1,isSub:l=!1,isSup:s=!1,isStriked:c=!1,isTruncated:d=!1,weight:m="normal",size:u="md"}=e,h=v(e,E);return p.createElement(i.Element,Object.assign({role:"text",fontSize:i.Typography.fontSizes[u],lineHeight:i.Typography.lineHeights[u],fontStyle:n?"italic":"normal",fontWeight:i.Typography.fontWeights[m],textDecoration:c?"line-through":a?"underline":"none"},l||s?{display:"inline"}:{},t?j[t]:{},h),d&&r&&"string"==typeof o?p.createElement(x,{text:o,maxLines:r}):p.createElement(f,Object.assign({isSub:l,isSup:s},h),o))},C=e=>p.createElement(y,Object.assign({},e)),k=["justifyContent","isReversed"],z=p.forwardRef((e,o)=>{var{justifyContent:t="flex-start",isReversed:r=!1}=e,n=v(e,k);return p.createElement(i.View,Object.assign({display:"flex",justifyContent:t,flexDirection:r?"column-reverse":"column"},n,{ref:o}))});z.displayName="Vertical";var w=["justifyContent","isReversed"],S=p.forwardRef((e,o)=>{var{justifyContent:t="flex-start",isReversed:r=!1}=e,n=v(e,w);return p.createElement(i.View,Object.assign({display:"flex",justifyContent:t,flexDirection:r?"row-reverse":"row"},n,{ref:o}))});S.displayName="Horizontal";var I=["isReversed"],O=p.forwardRef((e,o)=>{var t=v(e,I);return p.createElement(i.View,Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},t,{ref:o}))});O.displayName="Center";var _=["size","color","filled","strokeWidth"],L=["size","color","filled","strokeWidth"],H=["size","color","filled","strokeWidth"],T=["size","color","filled","strokeWidth"],M=["size","color","filled","strokeWidth"],W=["size","color","filled","strokeWidth"],B=["size","color","filled","strokeWidth"],F=["size","color","filled","strokeWidth"],R=["size","color","filled","strokeWidth"],V=["size","color","filled","strokeWidth"],D=["size","color","filled","strokeWidth"],P=["size","color","filled","strokeWidth"],A=["size","color","filled","strokeWidth"],G=["size","color","filled","strokeWidth"],N=["size","color"],K=["size","color"],U=["size","color"],Z=["size","color"],q=["size","color"],Y=["size","color","filled","strokeWidth"],J=["size","color","filled","strokeWidth"],Q=["size","color","filled","strokeWidth"],X=["size","color","filled","strokeWidth"],$=["size","color","filled","strokeWidth"],ee=["size","color","filled","strokeWidth"],oe=["size","color","filled","strokeWidth"],te=["size","color","filled","strokeWidth"],re=["size","color","filled","strokeWidth"],ie=["size","color","filled","strokeWidth"],ne=["size","color","filled","strokeWidth"],ae=["size","color","filled","strokeWidth"],le=["size","color"],se=["size","color"],ce=["size","color"],de=["size","color","filled","strokeWidth"],me=["size","color","filled","strokeWidth"],ue=["size","color","filled","strokeWidth"],he=["size","color","filled","strokeWidth"],ge=["size","color"],pe=["size","color"],be=["size","color"],ve=["size","color"],je=["size","color"],Ee=["size","color"],fe=["size","color"],xe=["size","color"],ye=["size","color"],Ce=["size","color"],ke=["size","color"],ze=e=>{var{size:o,color:t="black",transform:r,orientation:i,children:n}=e;return p.createElement(O,{size:o,lineHeight:o,color:t,display:"flex",transform:r||("left"==i?"rotate(-90deg)":"right"==i?"rotate(90deg)":"up"==i?"rotate(0deg)":"down"==i?"rotate(180deg)":"none")},n)},we=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,_);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{width:"16",height:"16",fill:r?t:"none",viewBox:"0 0 24 24",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"})))},Se=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,L);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),p.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})))},Ie=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,H);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M20.84 4.61c-1.54-1.56-4.04-1.56-5.59 0l-.7.72-.7-.72a3.95 3.95 0 0 0-5.59 0c-1.56 1.56-1.56 4.09 0 5.66l6.29 6.36 6.29-6.36c1.56-1.56 1.56-4.09 0-5.66z"})))},Oe=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,T);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})))},_e=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,M);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),p.createElement("polyline",{points:"17 21 17 13 7 13 7 21"}),p.createElement("polyline",{points:"7 3 7 8 15 8"})))},Le=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,W);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M10.29 3.86l-6.6 11.4c-.78 1.36.2 3.1 1.71 3.1h13.2c1.51 0 2.49-1.74 1.71-3.1l-6.6-11.4a2 2 0 0 0-3.42 0z"}),p.createElement("line",{x1:"12",y1:"6",x2:"12",y2:"13"}),p.createElement("line",{x1:"12",y1:"15",x2:"12",y2:"15"})))},He=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,B);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"})))},Te=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,F);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},Me=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,R);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},We=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,V);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),p.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))},Be=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,D);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"})))},Fe=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,P);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"})))},Re=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,A);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?"currentColor":"none",stroke:r?"white":"currentColor",strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("circle",{cx:"12",cy:"12",r:"10"}),p.createElement("line",{fill:r?"currentColor":"none",x1:"15",y1:"9",x2:"9",y2:"15"}),p.createElement("line",{fill:r?"currentColor":"none",x1:"9",y1:"9",x2:"15",y2:"15"})))},Ve=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,G);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},De=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,N);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),p.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),p.createElement("line",{x1:"3",y1:"18",x2:"21",y2:"18"})))},Pe=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,K);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("circle",{cx:"18",cy:"5",r:"3"}),p.createElement("circle",{cx:"6",cy:"12",r:"3"}),p.createElement("circle",{cx:"18",cy:"19",r:"3"}),p.createElement("line",{x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),p.createElement("line",{x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})))},Ae=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,U);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("polyline",{points:"23 4 23 10 17 10"}),p.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.13-9.36L23 10"})))},Ge=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,Z);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"})))},Ne=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,q);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"4",y1:"21",x2:"4",y2:"14"}),p.createElement("line",{x1:"4",y1:"10",x2:"4",y2:"3"}),p.createElement("line",{x1:"12",y1:"21",x2:"12",y2:"12"}),p.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"3"}),p.createElement("line",{x1:"20",y1:"21",x2:"20",y2:"16"}),p.createElement("line",{x1:"20",y1:"12",x2:"20",y2:"3"}),p.createElement("line",{x1:"1",y1:"14",x2:"7",y2:"14"}),p.createElement("line",{x1:"9",y1:"8",x2:"15",y2:"8"}),p.createElement("line",{x1:"17",y1:"16",x2:"23",y2:"16"})))},Ke=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,Y);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M3 4h18l-7 10v5l-4 2v-7L3 4z"})))},Ue=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,J);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},Ze=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,Q);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})))},qe=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,X);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),p.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})))},Ye=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,$);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M12 1a4 4 0 0 0-4 4v6a4 4 0 0 0 8 0V5a4 4 0 0 0-4-4z"}),p.createElement("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),p.createElement("line",{x1:"12",y1:"19",x2:"12",y2:"23"}),p.createElement("line",{x1:"8",y1:"23",x2:"16",y2:"23"})))},Je=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,ee);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},Qe=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,oe);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),p.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})))},Xe=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,te);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})))},$e=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,re);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{fill:r?t:"none",d:"M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"})," "))},eo=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,ie);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"})))},oo=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,ne);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))},to=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,ae);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"})))},ro=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,le);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("circle",{cx:"12",cy:"12",r:"10"}),p.createElement("polyline",{points:"12 6 12 12 16 14"})))},io=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,se);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3l2-3h8l2 3h3a2 2 0 0 1 2 2z"}),p.createElement("circle",{cx:"12",cy:"13",r:"4"})))},no=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,ce);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"})))},ao=e=>{var{size:o=24,color:t="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=v(e,de);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"})))},lo=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,me);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),p.createElement("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})))},so=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,ue);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"})))},co=e=>{var{size:o=24,color:t="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=v(e,he);return p.createElement(ze,Object.assign({size:o,color:t},n),p.createElement("svg",{viewBox:"0 0 24 24",fill:r?t:"none",stroke:r?"none":t,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),p.createElement("path",{d:"M9 15l3 -3l3 3"}),p.createElement("path",{d:"M12 12l0 9"})))},mo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,ge);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})))},uo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,pe);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:t},p.createElement("path",{d:"M19.7071 5.70711C20.0976 5.31658 20.0976 4.68342 19.7071 4.29289C19.3166 3.90237 18.6834 3.90237 18.2929 4.29289L14.032 8.55382C13.4365 8.20193 12.7418 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7418 8.20193 13.4365 8.55382 14.032L4.29289 18.2929C3.90237 18.6834 3.90237 19.3166 4.29289 19.7071C4.68342 20.0976 5.31658 20.0976 5.70711 19.7071L9.96803 15.4462C10.5635 15.7981 11.2582 16 12 16C14.2091 16 16 14.2091 16 12C16 11.2582 15.7981 10.5635 15.4462 9.96803L19.7071 5.70711ZM12.518 10.0677C12.3528 10.0236 12.1792 10 12 10C10.8954 10 10 10.8954 10 12C10 12.1792 10.0236 12.3528 10.0677 12.518L12.518 10.0677ZM11.482 13.9323L13.9323 11.482C13.9764 11.6472 14 11.8208 14 12C14 13.1046 13.1046 14 12 14C11.8208 14 11.6472 13.9764 11.482 13.9323ZM15.7651 4.8207C14.6287 4.32049 13.3675 4 12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C1.92276 13.7326 2.86706 15.0637 4.21194 16.3739L5.62626 14.9596C4.4555 13.8229 3.61144 12.6531 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C12.7719 6 13.5135 6.13385 14.2193 6.36658L15.7651 4.8207ZM12 18C11.2282 18 10.4866 17.8661 9.78083 17.6334L8.23496 19.1793C9.37136 19.6795 10.6326 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C22.0773 10.2674 21.133 8.93627 19.7881 7.62611L18.3738 9.04043C19.5446 10.1771 20.3887 11.3469 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18Z",fill:"currentColor"})))},ho=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,be);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"})))},go=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,ve);return p.createElement(ze,Object.assign({padding:2,size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M7 12h10",strokeLinecap:"round",strokeLinejoin:"round"})))},po=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,je);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))},bo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,Ee);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"})))},vo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,fe);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},jo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,xe);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor"},p.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},Eo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,ye);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"1",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"12",y1:"20",x2:"12",y2:"8"}),p.createElement("polyline",{points:"6 12 12 6 18 12"})))},fo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,Ce);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("circle",{cx:"12",cy:"12",r:"10",strokeOpacity:"0.25"}),p.createElement("path",{d:"M12 2a10 10 0 0 1 10 10",strokeOpacity:"1"})))},xo=e=>{var{size:o=24,color:t="currentColor"}=e,r=v(e,ke);return p.createElement(ze,Object.assign({size:o,color:t},r),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),p.createElement("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),p.createElement("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),p.createElement("line",{x1:"3",y1:"10",x2:"21",y2:"10"})))},yo={__proto__:null,ChevronIcon:we,CloseIcon:Se,HeartIcon:Ie,StarIcon:Oe,SaveIcon:_e,WarningIcon:Le,BatteryIcon:He,BookmarkIcon:Te,CloudIcon:Me,CopyIcon:We,DustBinIcon:Be,EditIcon:Fe,ErrorIcon:Re,DownloadIcon:Ve,MenuIcon:De,ShareIcon:Pe,RefreshIcon:Ae,PrintIcon:Ge,PanelIcon:Ne,FilterIcon:Ke,HomeIcon:Ue,LocationIcon:Ze,LockIcon:qe,MicrophoneIcon:Ye,MoonIcon:Je,NotificationIcon:Qe,OpenEyeIcon:Xe,ProfileIcon:$e,SettingsIcon:eo,SuccessIcon:oo,UnLikeIcon:to,ClockIcon:ro,CameraIcon:io,BluetoothIcon:no,LikeIcon:ao,UnlockIcon:lo,WifiIcon:so,UploadIcon:co,SearchIcon:mo,CloseEyeIcon:uo,ExternalLinkIcon:ho,MinusIcon:go,InfoIcon:po,PlusIcon:bo,TickIcon:vo,BoldArrowIcon:jo,ArrowIcon:Eo,SpinnerIcon:fo,CalendarIcon:xo},Co={default:{container:{backgroundColor:"white",border:"color.blackAlpha.800"},content:{color:"color.blackAlpha.800"}},info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},content:{color:"#60a5fa"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},content:{color:"#22c55e"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},content:{color:"#ef4444"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},content:{color:"#f97316"}}},ko=e=>{var o,{icon:t,title:r,styles:i,description:n,variant:a="default"}=e;return p.createElement(S,Object.assign({gap:15,borderRadius:10,borderWidth:1,borderStyle:"solid",padding:16,flexWrap:"nowrap"},null==i?void 0:i.container),p.createElement(b,{alignSelf:"center"},t||p.createElement(Le,{size:24,color:null!=(o=null==i?void 0:i.icon.color)?o:Co[a].content.color})),p.createElement(z,{gap:10},p.createElement(C,Object.assign({fontSize:"16px",color:Co[a].content.color},null==i?void 0:i.title),r),p.createElement(C,Object.assign({fontSize:"14px",color:Co[a].content.color},null==i?void 0:i.description),n)))},zo=["ratio","children"],wo=e=>{var{ratio:o=16/9,children:t}=e,r=v(e,zo);return p.createElement(O,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/o*100+"%",borderRadius:8},r),p.createElement(b,{position:"absolute",top:0,right:0,bottom:0,left:0},t))},So=["ratio","children"],Io={xs:24,sm:32,md:48,lg:64,xl:80},Oo=e=>{var{src:o,size:t="md",fallback:r="IM",styles:n,imageError:a,setImageError:l}=e,s=Io[t],c=Object.assign({objectFit:"cover"},(null==n?void 0:n.image)||{});return p.createElement(O,Object.assign({role:"avatar",width:s,height:s,borderRadius:"50%",overflow:"hidden",borderWidth:"1px",borderStyle:"solid",borderColor:a?"black":"transparent",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.25)"},null==n?void 0:n.container),a?p.createElement(C,Object.assign({size:t},null==n?void 0:n.fallback),r):p.createElement(i.Image,{alt:"IM",src:o,style:c,width:s,height:s,onError:()=>l(!0)}))},_o={xs:{minWidth:"20px",height:"20px",padding:"0 6px"},sm:{minWidth:"24px",height:"24px",padding:"0 8px"},md:{minWidth:"28px",height:"28px",padding:"0 10px"},lg:{minWidth:"32px",height:"32px",padding:"0 12px"},xl:{minWidth:"36px",height:"36px",padding:"0 14px"}},Lo={sharp:0,rounded:4,pillShaped:24},Ho={"top-right":{top:0,right:0,position:"absolute"},"top-left":{top:0,left:0,position:"absolute"},"bottom-right":{bottom:0,right:0,position:"absolute"},"bottom-left":{bottom:0,left:0,position:"absolute"}},To=e=>{var{content:o,position:t,shape:r="pillShaped",colorScheme:i="theme.primary",variant:n="filled",size:a="md",styles:l}=e,s=Object.assign({width:"fit-content",borderRadius:Lo[r]},_o[a],{filled:{backgroundColor:i,color:"color.white",borderWidth:1,borderStyle:"solid",borderColor:"transparent"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:i,color:i},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"transparent",color:i,textDecoration:"underline"},ghost:{backgroundColor:"transparent",color:i,borderWidth:1,borderStyle:"solid",borderColor:"transparent"}}[n],t?Ho[t]:{},null==l?void 0:l.container);return p.createElement(O,Object.assign({role:"badge"},s),p.createElement(C,Object.assign({role:"badgeText",size:a},null==l?void 0:l.text),o))},Mo={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},Wo=["children","href","iconSize","underline","isHovered","isExternal","styles","setIsHovered"],Bo=e=>{var{children:o,href:t="/",iconSize:r="sm",underline:n="default",isHovered:a=!1,isExternal:l=!1,styles:c={icon:{},text:{}},setIsHovered:d=(()=>{})}=e,m=v(e,Wo),u=()=>{"hover"===n&&d(!0)};return p.createElement(s.Link,{to:t,target:l?"_blank":"_self"},p.createElement(i.Element,Object.assign({onMouseEnter:u,onMouseLeave:u,textDecoration:a||"underline"===n?"underline !important":"none"},c.text,m),p.createElement(S,{gap:3,alignItems:"center",flexWrap:"nowrap"},o,l&&p.createElement(ho,{size:Mo[r],style:c.icon}))))},Fo=e=>{var o=(()=>{var[e,o]=t.useState(!1);return{isHovered:e,setIsHovered:o}})();return p.createElement(Bo,Object.assign({},o,e))},Ro={xs:{width:79,paddingTop:8,paddingBottom:8,paddingLeft:12,paddingRight:12,fontWeight:400,fontSize:11,lineHeight:14,letterSpacing:1.25},sm:{width:128,paddingTop:10,paddingBottom:10,paddingLeft:16,paddingRight:16,fontWeight:400,fontSize:12,lineHeight:16,letterSpacing:1.25},md:{width:144,paddingTop:12,paddingBottom:12,paddingLeft:18,paddingRight:18,fontSize:14,fontWeight:400,lineHeight:18,letterSpacing:1.25},lg:{width:178,paddingTop:14,paddingBottom:14,paddingLeft:22,paddingRight:22,fontWeight:400,fontSize:18,lineHeight:24,letterSpacing:1.25},xl:{width:220,paddingTop:16,paddingBottom:16,paddingLeft:26,paddingRight:26,fontWeight:400,fontSize:22,lineHeight:28,letterSpacing:1.25}},Vo={sharp:0,rounded:4,pillShaped:24},Do={xs:{width:24,height:24,padding:12},sm:{width:24,height:24,padding:15},md:{width:36,height:36,padding:15},lg:{width:36,height:36,padding:18},xl:{width:36,height:36,padding:24}},Po={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},Ao={fast:50,normal:100,slow:300},Go=["size","speed","color"],No=["size","speed","color"],Ko=["size","speed","color"],Uo=["size","children","textColor","loaderColor","type","speed","textPosition"],Zo=e=>{var{size:o="md",speed:r="normal",color:n="theme.loading"}=e,a=v(e,Go),l=i.useTheme().getColor(n),s="number"==typeof o?o:Po[o],[c,d]=t.useState(0);return t.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},Ao[r]);return()=>clearInterval(e)},[r]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:s+"px",height:s+"px",viewBox:"0 0 24 24",fill:"none",stroke:l,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+c+"deg)"}},a),p.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),p.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("g",{id:"SVGRepo_iconCarrier"},p.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},qo=e=>{var{size:o="md",speed:r="normal",color:n="theme.loading"}=e,a=v(e,No),l=i.useTheme().getColor(n),s="number"==typeof o?o:Po[o],[c,d]=t.useState(0);return t.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},Ao[r]);return()=>clearInterval(e)},[r]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:s+"px",height:s+"px",style:{transform:"rotate("+c+"deg)"}},a),p.createElement("circle",{cx:"10",cy:"25",r:"4",fill:l}),p.createElement("circle",{cx:"25",cy:"25",r:"4",fill:l}),p.createElement("circle",{cx:"40",cy:"25",r:"4",fill:l}))},Yo=e=>{var{size:o="md",speed:r="normal",color:n="theme.loading"}=e,a=v(e,Ko),l=i.useTheme().getColor(n),s="number"==typeof o?o:Po[o],[c,d]=t.useState(0);return t.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},Ao[r]);return()=>clearInterval(e)},[r]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:s+"px",height:s+"px",style:{transform:"rotate("+c+"deg)"}},a),p.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:l,strokeWidth:"5",strokeDasharray:"1,10"}))},Jo=e=>{var{size:o,children:t,textColor:r,loaderColor:i,type:n="default",speed:a="normal",textPosition:l="right"}=e,s=v(e,Uo),c={size:o,speed:a,color:i},d={default:p.createElement(Zo,Object.assign({},c)),dotted:p.createElement(qo,Object.assign({},c)),quarter:p.createElement(Yo,Object.assign({},c))};return p.createElement(O,Object.assign({gap:10,flexDirection:"top"===l||"bottom"===l?"column":"row"},s),("left"===l||"top"===l)&&t&&p.createElement(b,{color:r},t),d[n],("right"===l||"bottom"===l)&&t&&p.createElement(b,{color:r},t))},Qo=e=>p.createElement(Jo,Object.assign({},e)),Xo=["icon","shadow","children","ariaLabel","externalHref","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","colorScheme","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered"],$o=require("contrast"),et=e=>{var o,{icon:t,shadow:r,children:n,ariaLabel:a,externalHref:l,isAuto:s=!1,isFilled:c=!1,isIconRounded:d=!1,isLoading:m=!1,isDisabled:u=!1,size:h="md",variant:g="filled",iconPosition:b="left",colorScheme:j="theme.primary",shape:E="rounded",onClick:f=(()=>{}),loaderProps:x={},loaderPosition:y="left",effect:C="default",isHovered:k,setIsHovered:z=(()=>{})}=e,w=v(e,Xo),{getColor:I}=i.useTheme(),O=()=>z(!k),_=!(u||m),L={disabled:!_},H=_?j:"theme.disabled",T=k&&"hover"===C,M=k&&"reverse"===C,W="light"==$o(I(H)),B=Ro[h],F={filled:{backgroundColor:M?"transparent":H,color:M?W?"white":H:W?H:"white",borderWidth:1,borderStyle:"solid",borderColor:M?H:"transparent"},outline:{backgroundColor:M?H:"transparent",borderWidth:1,borderStyle:"solid",borderColor:M?H:j,color:M?"white":H},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:M?H:"transparent",color:H,textDecoration:M?"none":"underline"},ghost:{backgroundColor:M?H:"transparent",color:M?"white":H,borderWidth:1,borderStyle:"solid",borderColor:M?H:"transparent"}}[g],R={width:s?"fit-content":c?"100%":B.width},V=d?Do[h]:Ro[h],D=p.createElement(S,{gap:10},m&&"left"===y&&p.createElement(Qo,Object.assign({},x)),t&&"left"===b&&!m&&t,n,t&&"right"===b&&!m&&t,m&&"right"===y&&p.createElement(Qo,Object.assign({},x)));return p.createElement(i.Element,Object.assign({gap:8,as:"button",role:"button",border:"none",color:"color.white",display:"flex",alignItems:"center",justifyContent:"center","aria-label":a,backgroundColor:H,borderRadius:Vo[E],onClick:null!=(o=w.onClick)?o:f,onMouseEnter:O,onMouseLeave:O,cursor:_?"pointer":"default",filter:T?"brightness(0.85)":"brightness(1)"},T&&!w.isDisabled?{transition:"transform 0.3s ease",transform:"translateY(-5px)"}:{},L,B,F,R,w.padding||w.paddingHorizontal||w.paddingVertical||w.paddingLeft||w.paddingRight||w.paddingTop||w.paddingBottom?{}:V,r,w),"link"===g&&l?p.createElement(Fo,{href:l,textDecorationColor:j,colorScheme:j,isExternal:!0},D):D)},ot=e=>{var{isHovered:o,setIsHovered:t}=(()=>{var[e,o]=p.useState(!1);return{isHovered:e,setIsHovered:o}})(),r=()=>t(!o);return p.createElement(et,Object.assign({isHovered:o,setIsHovered:t,onMouseEnter:r,onMouseLeave:r},e))},tt=["src","color"],rt=["path"],it=e=>{var{placeholder:o,isMulti:t,options:r}=e,i=o?t?[]:"":r[0].value,[n,a]=p.useState(!0),[l,s]=p.useState(!1),[c,d]=p.useState(!1),[m,u]=p.useState(i),[h,g]=p.useState(0);return{value:m,setValue:u,hide:n,setHide:a,isHovered:l,setIsHovered:s,isFocused:c,setIsFocused:d,highlightedIndex:h,setHighlightedIndex:g}},nt=["children","styles"],at=e=>{var{children:o,styles:t={helperText:{}}}=e,r=v(e,nt);return p.createElement(C,Object.assign({size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.text.dark"},t.helperText,r),o)},lt=["children","helperText","error","styles"],st=e=>{var{children:o,helperText:t,error:r=!1,styles:i}=e,n=v(e,lt);return p.createElement(z,Object.assign({gap:5,position:"relative"},n),o,!r&&t&&p.createElement(at,Object.assign({},i),t),r&&p.createElement(C,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},r))},ct={default:{borderRadius:0},sharp:{borderRadius:0},rounded:{borderRadius:4},pillShaped:{borderRadius:24}},dt={xs:6,sm:8,md:10,lg:12,xl:14},mt={outline:{borderWidth:1},default:{borderWidth:0,borderBottomWidth:1},none:{border:"none",backgroundColor:"transparent"}},ut={paddingTop:14,paddingBottom:0,paddingLeft:16,paddingRight:36},ht={paddingTop:10,paddingBottom:4,paddingLeft:16,paddingRight:36},gt=["label","shadow","children","value","size","shape","variant","error","isWithLabel","isFocused","isHovered","isDisabled","isReadOnly","colorScheme","styles"],pt=e=>{var{shadow:o,children:t,size:r="md",shape:n="default",variant:a="default",error:l=!1,isWithLabel:s=!1,isFocused:c=!1,isHovered:d=!1,isDisabled:m=!1,isReadOnly:u=!1,colorScheme:h="theme.primary",styles:g={pickerBox:{}}}=e,b=v(e,gt);return p.createElement(S,Object.assign({gap:10,width:"100%",display:"flex",flexWrap:"nowrap",borderStyle:"solid",alignItems:"center",borderColor:l?"error":!d&&!c||m?"midgray":h,backgroundColor:"color.white",transition:"padding 0.2s ease",justifyContent:"space-between",marginBottom:5,fontSize:i.Typography.fontSizes[r],cursor:m?"not-allowed":u?"auto":"pointer"},s?ut:ht,o,ct[n],mt[a],g.box,b),t)},bt=["children"],vt=e=>{var{children:o}=e,t=v(e,bt);return p.createElement(O,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},t),o)},jt={h1:{fontSize:96,lineHeight:112,letterSpacing:-1.5},h2:{fontSize:60,lineHeight:71,letterSpacing:-.5},h3:{fontSize:48,lineHeight:57,letterSpacing:0},h4:{fontSize:34,lineHeight:40,letterSpacing:.25},h5:{fontSize:24,lineHeight:28,letterSpacing:0},h6:{fontSize:20,lineHeight:24,letterSpacing:.15}},Et=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],ft=e=>{var{children:o,heading:t,isItalic:r=!1,isUnderlined:n=!1,isStriked:a=!1,weight:l="normal",size:s="sm"}=e,c=v(e,Et);return p.createElement(i.Element,Object.assign({as:"label",width:"100%",fontSize:s,fontStyle:r?"italic":"normal",fontWeight:i.Typography.fontWeights[l],textDecoration:a?"line-through":n?"underline":"none"},t?jt[t]:{},c),o)},xt=e=>p.createElement(ft,Object.assign({},e)),yt=["children","size","error","color","styles","helperText"],Ct=e=>{var{children:o,size:t="md",error:r=!1,color:i="theme.primary",styles:n={label:{}}}=e,a=v(e,yt);return p.createElement(xt,Object.assign({top:6,zIndex:1e3,lineHeight:dt[t],letterSpacing:.25,whiteSpace:"noWrap",position:"absolute",color:r?"error":i,fontSize:dt[t]},n.label,a),o)},kt=["children"],zt=e=>{var{children:o}=e,t=v(e,kt);return p.createElement(z,Object.assign({width:"100%"},t),o)},wt={xs:8,sm:10,md:12,lg:14,xl:16},St=["isHovered","setIsHovered","option","size","callback","style"],It=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],Ot=["option","size","removeOption"],_t=["id","name","label","value","placeholder","helperText","hide","error","isMulti","isFocused","isHovered","isDisabled","isReadOnly","options","shadow","size","colorScheme","shape","variant","styles","onChange","setHide","setValue","setIsHovered","setIsFocused","setHighlightedIndex","highlightedIndex"],Lt=e=>{var{isHovered:o,setIsHovered:t,option:r,size:n="md",callback:a=(()=>{}),style:l}=e,s=v(e,St),c=()=>t(!o);return p.createElement(i.Element,Object.assign({as:"li",margin:0,paddingVertical:10,paddingHorizontal:12,listStyleType:"none",onMouseEnter:c,onMouseLeave:c,onClick:()=>(e=>a(e))(r.value),backgroundColor:o?"trueGray.100":"transparent"},s),p.createElement(C,Object.assign({fontSize:i.Typography.fontSizes[n]},l),r.label))},Ht=e=>{var o,{size:t="md",styles:r={field:{},text:{}},value:n,isDisabled:a,placeholder:l,removeOption:s=(()=>{}),options:c}=e,d=Object.assign({margin:0,width:"95%",heigth:"100%",border:"none",paddingVertical:8,paddingHorizontal:0,fontSize:i.Typography.fontSizes[t],backgroundColor:"transparent",color:a?"color.trueGray.600":"color.blueGray.700",cursor:a?"not-allowed":"auto"},r.field,r.text),m=c.find(e=>e.value===n);return p.createElement(C,Object.assign({},d),(""===n||n&&0===n.length)&&l?l:p.createElement(p.Fragment,null,"string"==typeof n?null!=(o=null==m?void 0:m.label)?o:n:n&&n.length>0&&p.createElement(S,{gap:6},n.map(e=>p.createElement(Wt,{key:e,option:e,removeOption:s})))))},Tt=e=>{var{id:o,name:t,value:r,onChange:n,isMulti:a=!1,isDisabled:l=!1,isReadOnly:s=!1,options:c=[]}=e,d=v(e,It);return p.createElement(i.Element,Object.assign({id:o,name:t,as:"select",opacity:0,width:0,height:0,position:"absolute",value:r,disabled:l,readOnly:s,onChange:e=>{n&&n(e)},multiple:a},d),c.map(e=>p.createElement("option",{key:e.value,value:e.value},e.label)))},Mt=e=>{var{size:o,styles:t={dropDown:{}},options:r,callback:n=(()=>{}),highlightedIndex:a,setHighlightedIndex:l}=e,s=(()=>{var[e,o]=p.useState(!1);return{isHovered:e,setIsHovered:o}})(),c=e=>n(e),d=void 0!==typeof document?{boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"}:{elevation:2,shadowColor:"rgba(0, 0, 0, 0.07)",shadowOffset:{width:0,height:1},shadowOpacity:1,shadowRadius:1};return p.createElement(i.Element,Object.assign({as:"ul",role:"dropdown",top:"100%",width:"100%",display:"flex",zIndex:1e5,overflowY:"scroll",marginTop:5,marginLeft:0,marginRight:0,marginBottom:0,padding:0,borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",maxHeight:"200px",style:{scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}},d,t.dropDown),r.map((e,r)=>p.createElement(Lt,Object.assign({key:e.value,size:o,style:t.text,option:e,callback:c,backgroundColor:r===a?"color.gray.100":"transparent",onMouseEnter:()=>l(r)},s))))},Wt=e=>{var{option:o,size:t="md",removeOption:r=(()=>{})}=e,n=v(e,Ot);return p.createElement(S,Object.assign({gap:10,padding:6,borderRadius:4,alignItems:"center",fontSize:i.Typography.fontSizes[t],backgroundColor:"color.trueGray.300",onClick:e=>e.stopPropagation()},n),p.createElement(C,{size:t},o),p.createElement(Se,{role:"close-button",color:"inherit",size:wt[t],onClick:()=>r(o)}))},Bt=e=>{var{id:o,name:r,label:i,value:n,placeholder:a,helperText:l,hide:s=!1,error:c=!1,isMulti:d=!1,isFocused:m=!1,isHovered:u=!1,isDisabled:h=!1,isReadOnly:g=!1,options:b=[],shadow:j={},size:E="md",colorScheme:f="theme.primary",shape:x="default",variant:y="default",styles:C={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:k=(()=>{}),setHide:z=(()=>{}),setValue:w=(()=>{}),setIsHovered:S=(()=>{}),setIsFocused:I=(()=>{}),setHighlightedIndex:O,highlightedIndex:_}=e,L=v(e,_t),H=!(!m||!i),T=()=>S(!u),M=t.useCallback(e=>{z(!s),d&&Array.isArray(n)?!n.includes(e)&&w([...n,e]):w(e),k&&k(e)},[s,d,n]);return p.createElement(st,{role:"SelectBox",helperText:l,error:c,styles:C,onClick:h||g?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),z(!s),I(!m)}},p.createElement(pt,{label:i,size:E,error:c,shape:x,styles:C,shadow:j,variant:y,value:n,color:f,isHovered:u,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:H,colorScheme:f,onMouseEnter:T,onMouseLeave:T},p.createElement(zt,null,H&&p.createElement(Ct,Object.assign({htmlFor:o,color:f,error:c},C),i),p.createElement(Tt,Object.assign({id:o,name:r,options:b,onChange:k,value:n,isDisabled:h,isReadOnly:g,isMulti:d,onFocus:()=>I(!0)},L)),p.createElement(Ht,{options:b,size:E,styles:C,value:n,isDisabled:h,placeholder:a,removeOption:e=>{if(Array.isArray(n)&&n.includes(e)){var o=n.filter(o=>o!==e);w(0===o.length?[]:o)}}})),p.createElement(vt,null,!g&&!h&&p.createElement(p.Fragment,null,p.createElement(we,s?{color:"inherit",size:wt[E],style:C.icon,orientation:"down"}:{color:"inherit",orientation:"up",size:wt[E],style:C.icon})))),!s&&p.createElement(Mt,{size:E,styles:C,options:b,callback:M,highlightedIndex:_,setHighlightedIndex:O}))},Ft=e=>{var{isDisabled:o,isChecked:t}=e,[r,i]=p.useState(!1),[n,a]=p.useState(o?!o:t);return{isHovered:r,setIsHovered:i,on:n,setOn:a}},Rt={xs:{height:6,width:6},sm:{height:9,width:9},md:{height:12,width:12},lg:{height:15,width:15},xl:{height:18,width:18},"2xl":{height:21,width:21},"3xl":{height:24,width:24},"4xl":{height:27,width:27},"5xl":{height:30,width:30},"6xl":{height:33,width:33}},Vt={xs:{height:16,width:28},sm:{height:20,width:36},md:{height:24,width:44},lg:{height:28,width:52},xl:{height:32,width:60},"2xl":{height:36,width:68},"3xl":{height:40,width:76},"4xl":{height:44,width:84},"5xl":{height:48,width:92},"6xl":{height:52,width:100}},Dt={xs:{paddingVertical:0,paddingHorizontal:2},sm:{paddingVertical:0,paddingHorizontal:3},md:{paddingVertical:0,paddingHorizontal:5},lg:{paddingVertical:0,paddingHorizontal:6},xl:{paddingVertical:0,paddingHorizontal:8},"2xl":{paddingVertical:0,paddingHorizontal:9},"3xl":{paddingVertical:0,paddingHorizontal:10},"4xl":{paddingVertical:0,paddingHorizontal:13},"5xl":{paddingVertical:0,paddingHorizontal:15},"6xl":{paddingVertical:0,paddingHorizontal:16}},Pt=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","colorScheme","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","styles"],At=e=>p.createElement(i.Input,Object.assign({type:"checkbox"},e)),Gt=e=>{var{id:o,name:t,label:r,inActiveChild:i,activeChild:n,labelPosition:a="right",shadow:l={},size:s="sm",colorScheme:c="theme.primary",value:d=!1,isHovered:m=!1,isDisabled:u=!1,isReadOnly:h=!1,on:g,setOn:j,onChange:E,setValue:f=(()=>{}),setIsHovered:x=(()=>{}),styles:y={slider:{},circle:{},label:{}}}=e,C=v(e,Pt),k=()=>x(!m),z={container:Object.assign({gap:10,display:"flex",height:"fit-content",width:"fit-content",cursor:u?"not-allowed":h?"default":"pointer"},y.label)};return p.createElement(xt,Object.assign({htmlFor:o,onMouseEnter:k,onMouseLeave:k},z.container,C),p.createElement(At,Object.assign({id:o,name:t,opacity:0,width:0,height:0,checked:d,onChange:e=>{h||(f(!d),j(!g),E&&E(e.target.checked))},disabled:u,readOnly:h},C)),"left"===a&&r&&p.createElement(b,null,r),p.createElement(b,Object.assign({display:"flex",cursor:"pointer",alignItems:"center",borderRadius:24,marginBottom:5,filter:m&&d?"brightness(0.9)":"brightness(1)",transition:"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:u?"disabled":d?c:"lightgray",justifyContent:n?"space-between":d?"flex-end":"flex-start"},l,Dt[s],Vt[s],y.slider),n&&d&&p.createElement(b,null,n),p.createElement(b,Object.assign({borderRadius:"50%",backgroundColor:"white"},Rt[s],y.circle)),i&&!d&&p.createElement(b,null,i)),"right"===a&&r&&p.createElement(b,null,r))},Nt=e=>{var{label:o,placeholder:r,value:i}=e,[n,a]=t.useState(null!=o?o:r),[l,s]=t.useState(!1),[c,d]=t.useState(i||""),[m,u]=t.useState(!1);return t.useMemo(()=>{a(m&&!c?null!=r?r:"":null!=o?o:r)},[c,m,o,r]),{hint:n,setHint:a,isHovered:l,setIsHovered:s,value:c,setValue:d,isFocused:m,setIsFocused:u}},Kt=["id","name","hint","error","value","label","shadow","helperText","placeholder","size","shape","variant","colorScheme","isHovered","isFocused","isEditable","isReadOnly","isDisabled","isAutoFocus","isMultiline","maxRows","maxCols","onBlur","onChange","onFocus","onChangeText","setHint","setValue","setIsFocused","setIsHovered","styles"],Ut=e=>{var{id:o,name:t,hint:r,error:n,value:a,label:l,shadow:s,helperText:c,size:d="sm",shape:m="default",variant:u="default",colorScheme:h="theme.primary",isHovered:g=!1,isFocused:b=!1,isEditable:j=!1,isReadOnly:E=!1,isDisabled:f=!1,isAutoFocus:x=!1,isMultiline:y=!1,maxRows:C=3,maxCols:k=30,onBlur:z=(()=>{}),onChange:w,onFocus:S,onChangeText:I,setHint:O=(()=>{}),setValue:_=(()=>{}),setIsFocused:L=(()=>{}),setIsHovered:H=(()=>{}),styles:T={box:{},text:{},label:{},helperText:{},field:{}}}=e,M=v(e,Kt),W=!(!b||!l),B=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:i.Typography.fontSizes[d],backgroundColor:"transparent",color:f?"color.trueGray.600":"color.blueGray.700",cursor:f?"not-allowed":"auto"},T.field),F=()=>H(!g),R=e=>{"string"==typeof e?(_(e),I&&I(e),w&&w(e)):(_(e.target.value),I&&I(e.target.value),w&&w(e.target.value))};return p.createElement(st,{helperText:c,error:n,styles:T},p.createElement(pt,{label:l,size:d,error:n,shape:m,styles:T,shadow:s,variant:u,value:a,color:h,isHovered:g,isDisabled:f,isReadOnly:E,isFocused:b,isWithLabel:W,colorScheme:h,onMouseEnter:F,onMouseLeave:F},p.createElement(zt,null,W&&p.createElement(Ct,Object.assign({htmlFor:o,color:h,error:n},T),l),p.createElement(i.Element,Object.assign({as:"textarea",id:o,name:t,rows:C,cols:k,value:a,readOnly:E,disabled:f,autoFocus:x,editable:j,placeholder:r,onBlur:e=>{z(e),L(!1)},onFocus:()=>{L(!0),S&&S()},multiline:y},B,M,{onChange:R,onChangeText:R})))))},Zt=e=>{var{label:o,placeholder:r,value:i}=e,[n,a]=t.useState(null!=o?o:r),[l,s]=t.useState(!1),[c,d]=t.useState(!1),[m,u]=t.useState(i);return t.useMemo(()=>{a(l&&!m?null!=r?r:"":null!=o?o:r)},[m,l,o,r]),{hint:n,setHint:a,isFocused:l,setIsFocused:s,isHovered:c,setIsHovered:d,setValue:u,value:m}},qt=["id","name","label","hint","value","onChange","leftChild","rightChild","helperText","placeholder","onChangeText","shadow","styles","size","shape","variant","colorScheme","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur"],Yt=e=>p.createElement(i.Input,Object.assign({type:"text"},e)),Jt=e=>{var{id:o,name:t,label:r,hint:n,value:a,onChange:l,leftChild:s,rightChild:c,helperText:d,onChangeText:m,shadow:u={},styles:h={box:{},field:{},label:{},helperText:{},text:{}},size:g="md",shape:b="default",variant:j="default",colorScheme:E="theme.primary",error:f=!1,isFocused:x=!1,isHovered:y=!1,isDisabled:C=!1,isReadOnly:k=!1,isClearable:z=!0,isAutoFocus:w=!1,setHint:S=(()=>{}),setIsFocused:I=(()=>{}),setIsHovered:O=(()=>{}),setValue:_=(()=>{}),onClick:L=(()=>{}),onFocus:H,onBlur:T=(()=>{})}=e,M=v(e,qt),{getColor:W}=i.useTheme(),B=W("color.blueGray.700"),F=!(!x||!r),R=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:i.Typography.fontSizes[g],lineHeight:i.Typography.fontSizes[g],backgroundColor:"transparent",color:C?"color.trueGray.600":"color.blueGray.700",cursor:C?"not-allowed":"auto"},h.field),V=()=>O(!y);return p.createElement(st,{helperText:d,error:f,styles:h},p.createElement(pt,{label:r,size:g,error:f,shape:b,styles:h,shadow:u,variant:j,value:a,color:E,isHovered:y,isDisabled:C,isReadOnly:k,isFocused:x,isWithLabel:F,colorScheme:E,onMouseEnter:V,onMouseLeave:V},s,p.createElement(zt,null,F&&p.createElement(Ct,Object.assign({htmlFor:o,color:E,error:f},h),r),p.createElement(Yt,Object.assign({id:o,name:t,readOnly:k,disabled:C,autoFocus:w,placeholder:n,onFocus:()=>{I(!0),H&&H()},onBlur:e=>{T&&T(e),I(!1)},autoComplete:"off"},R,M,{onChange:e=>{"string"==typeof e?(_(e),m&&m(e),l&&l(e)):(_(e.target.value),m&&m(e.target.value),l&&l(e.target.value))},value:a}))),(c||z&&a)&&p.createElement(vt,null,z&&a&&!k&&!C&&p.createElement(Se,{size:i.Typography.fontSizes[g],color:B,onClick:()=>{_(""),l&&(T({target:{name:t}}),m&&m(""),l&&l("")),"undefined"==typeof document&&m&&m("")}}),c&&p.createElement(p.Fragment,null,c))))},Qt=e=>{var{defaultIsSelected:o=!1}=e,[t,r]=p.useState(!1),[i,n]=p.useState(o);return{isHovered:t,setIsHovered:r,isSelected:i,setIsSelected:n}},Xt={xs:{height:8,width:8},sm:{height:12,width:12},md:{height:18,width:18},lg:{height:24,width:24},xl:{height:30,width:30},"2xl":{height:36,width:36},"3xl":{height:42,width:42},"4xl":{height:48,width:48},"5xl":{height:54,width:54},"6xl":{height:60,width:60}},$t={xs:6,sm:12,md:18,lg:24,xl:30,"2xl":36,"3xl":42,"4xl":48,"5xl":54,"6xl":60},er=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","colorScheme","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","styles","infoText","helperText"],or=e=>{var{id:o,icon:t,label:r,isChecked:n,onChange:a,onValueChange:l,shadow:s={},labelPosition:c="right",size:d="md",colorScheme:m="theme.primary",error:u=!1,isSelected:h=!1,isHovered:g=!1,isDisabled:b=!1,isReadOnly:j=!1,isIndeterminate:E=!1,defaultIsSelected:f=!1,setIsSelected:x=(()=>{}),setIsHovered:y=(()=>{}),styles:k={checkbox:{},label:{}},infoText:w}=e,I=v(e,er),_=()=>y(!g),L={container:Object.assign({gap:10,display:"flex",alignItems:"center",height:"fit-content",width:"fit-content",color:u?"theme.error":b?"theme.disabled":"color.blueGray.700",cursor:b?"not-allowed":j?"default":"pointer"},k.label),checkbox:Object.assign({},b?{backgroundColor:"theme.disabled"}:(n||h)&&!E||E?{backgroundColor:m}:{borderWidth:2,borderColor:u?"theme.error":g?"color.gray.500":"color.gray.300",borderStyle:"solid"},{borderRadius:3},g?{filter:"brightness(0.9)"}:{},Xt[d],s,k.checkbox)};return p.createElement(xt,Object.assign({htmlFor:o,as:"div",onClick:()=>{j||b||(x&&x(!h),a&&a(!n),l&&l(!n))},onMouseEnter:_,onMouseLeave:_,size:i.Typography.fontSizes[d]},L.container,I),p.createElement(z,{gap:8},p.createElement(S,{gap:10,alignItems:"center"},"left"===c&&r&&p.createElement(C,Object.assign({size:d},null==k?void 0:k.label),r),p.createElement(O,Object.assign({},L.checkbox),E?p.createElement(go,{size:$t[d],color:"white"}):(n||h)&&(null!=t?t:p.createElement(vo,{size:$t[d],color:"white"}))),"right"===c&&r&&p.createElement(C,Object.assign({size:d},null==k?void 0:k.label),r)),w&&p.createElement(C,Object.assign({marginLeft:"left"===c?0:27,color:"color.gray.400",size:"sm"},null==k?void 0:k.infoText),w)))},tr=[{name:"Afghanistan",dial_code:"+93",emoji:"🇦🇫",code:"AF"},{name:"Aland Islands",dial_code:"+358",emoji:"🇦🇽",code:"AX"},{name:"Albania",dial_code:"+355",emoji:"🇦🇱",code:"AL"},{name:"Algeria",dial_code:"+213",emoji:"🇩🇿",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1684",emoji:"🇦🇸",code:"AS"},{name:"Andorra",dial_code:"+376",emoji:"🇦🇩",code:"AD"},{name:"Angola",dial_code:"+244",emoji:"🇦🇴",code:"AO"},{name:"Anguilla",dial_code:"+1264",emoji:"🇦🇮",code:"AI"},{name:"Antarctica",dial_code:"+672",emoji:"🇦🇶",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",emoji:"🇦🇬",code:"AG"},{name:"Argentina",dial_code:"+54",emoji:"🇦🇷",code:"AR"},{name:"Armenia",dial_code:"+374",emoji:"🇦🇲",code:"AM"},{name:"Aruba",dial_code:"+297",emoji:"🇦🇼",code:"AW"},{name:"Australia",dial_code:"+61",emoji:"🇦🇺",code:"AU"},{name:"Austria",dial_code:"+43",emoji:"🇦🇹",code:"AT"},{name:"Azerbaijan",dial_code:"+994",emoji:"🇦🇿",code:"AZ"},{name:"Bahamas",dial_code:"+1242",emoji:"🇧🇸",code:"BS"},{name:"Bahrain",dial_code:"+973",emoji:"🇧🇭",code:"BH"},{name:"Bangladesh",dial_code:"+880",emoji:"🇧🇩",code:"BD"},{name:"Barbados",dial_code:"+1246",emoji:"🇧🇧",code:"BB"},{name:"Belarus",dial_code:"+375",emoji:"🇧🇾",code:"BY"},{name:"Belgium",dial_code:"+32",emoji:"🇧🇪",code:"BE"},{name:"Belize",dial_code:"+501",emoji:"🇧🇿",code:"BZ"},{name:"Benin",dial_code:"+229",emoji:"🇧🇯",code:"BJ"},{name:"Bermuda",dial_code:"+1441",emoji:"🇧🇲",code:"BM"},{name:"Bhutan",dial_code:"+975",emoji:"🇧🇹",code:"BT"},{name:"Bolivia, Plurinational State of",dial_code:"+591",emoji:"🇧🇴",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",emoji:"🇧🇦",code:"BA"},{name:"Botswana",dial_code:"+267",emoji:"🇧🇼",code:"BW"},{name:"Brazil",dial_code:"+55",emoji:"🇧🇷",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",emoji:"🇮🇴",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",emoji:"🇧🇳",code:"BN"},{name:"Bulgaria",dial_code:"+359",emoji:"🇧🇬",code:"BG"},{name:"Burkina Faso",dial_code:"+226",emoji:"🇧🇫",code:"BF"},{name:"Burundi",dial_code:"+257",emoji:"🇧🇮",code:"BI"},{name:"Cambodia",dial_code:"+855",emoji:"🇰🇭",code:"KH"},{name:"Cameroon",dial_code:"+237",emoji:"🇨🇲",code:"CM"},{name:"Canada",dial_code:"+1",emoji:"🇨🇦",code:"CA"},{name:"Cape Verde",dial_code:"+238",emoji:"🇨🇻",code:"CV"},{name:"Cayman Islands",dial_code:"+345",emoji:"🇰🇾",code:"KY"},{name:"Central African Republic",dial_code:"+236",emoji:"🇨🇫",code:"CF"},{name:"Chad",dial_code:"+235",emoji:"🇹🇩",code:"TD"},{name:"Chile",dial_code:"+56",emoji:"🇨🇱",code:"CL"},{name:"China",dial_code:"+86",emoji:"🇨🇳",code:"CN"},{name:"Christmas Island",dial_code:"+61",emoji:"🇨🇽",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",emoji:"🇨🇨",code:"CC"},{name:"Colombia",dial_code:"+57",emoji:"🇨🇴",code:"CO"},{name:"Comoros",dial_code:"+269",emoji:"🇰🇲",code:"KM"},{name:"Congo",dial_code:"+242",emoji:"🇨🇬",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",emoji:"🇨🇩",code:"CD"},{name:"Cook Islands",dial_code:"+682",emoji:"🇨🇰",code:"CK"},{name:"Costa Rica",dial_code:"+506",emoji:"🇨🇷",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",emoji:"🇨🇮",code:"CI"},{name:"Croatia",dial_code:"+385",emoji:"🇭🇷",code:"HR"},{name:"Cuba",dial_code:"+53",emoji:"🇨🇺",code:"CU"},{name:"Cyprus",dial_code:"+357",emoji:"🇨🇾",code:"CY"},{name:"Czech Republic",dial_code:"+420",emoji:"🇨🇿",code:"CZ"},{name:"Denmark",dial_code:"+45",emoji:"🇩🇰",code:"DK"},{name:"Djibouti",dial_code:"+253",emoji:"🇩🇯",code:"DJ"},{name:"Dominica",dial_code:"+1767",emoji:"🇩🇲",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",emoji:"🇩🇴",code:"DO"},{name:"Ecuador",dial_code:"+593",emoji:"🇪🇨",code:"EC"},{name:"Egypt",dial_code:"+20",emoji:"🇪🇬",code:"EG"},{name:"El Salvador",dial_code:"+503",emoji:"🇸🇻",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",emoji:"🇬🇶",code:"GQ"},{name:"Eritrea",dial_code:"+291",emoji:"🇪🇷",code:"ER"},{name:"Estonia",dial_code:"+372",emoji:"🇪🇪",code:"EE"},{name:"Ethiopia",dial_code:"+251",emoji:"🇪🇹",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",emoji:"🇫🇰",code:"FK"},{name:"Faroe Islands",dial_code:"+298",emoji:"🇫🇴",code:"FO"},{name:"Fiji",dial_code:"+679",emoji:"🇫🇯",code:"FJ"},{name:"Finland",dial_code:"+358",emoji:"🇫🇮",code:"FI"},{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"French Guiana",dial_code:"+594",emoji:"🇬🇫",code:"GF"},{name:"French Polynesia",dial_code:"+689",emoji:"🇵🇫",code:"PF"},{name:"Gabon",dial_code:"+241",emoji:"🇬🇦",code:"GA"},{name:"Gambia",dial_code:"+220",emoji:"🇬🇲",code:"GM"},{name:"Georgia",dial_code:"+995",emoji:"🇬🇪",code:"GE"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"Ghana",dial_code:"+233",emoji:"🇬🇭",code:"GH"},{name:"Gibraltar",dial_code:"+350",emoji:"🇬🇮",code:"GI"},{name:"Greece",dial_code:"+30",emoji:"🇬🇷",code:"GR"},{name:"Greenland",dial_code:"+299",emoji:"🇬🇱",code:"GL"},{name:"Grenada",dial_code:"+1473",emoji:"🇬🇩",code:"GD"},{name:"Guadeloupe",dial_code:"+590",emoji:"🇬🇵",code:"GP"},{name:"Guam",dial_code:"+1671",emoji:"🇬🇺",code:"GU"},{name:"Guatemala",dial_code:"+502",emoji:"🇬🇹",code:"GT"},{name:"Guernsey",dial_code:"+44",emoji:"🇬🇬",code:"GG"},{name:"Guinea",dial_code:"+224",emoji:"🇬🇳",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",emoji:"🇬🇼",code:"GW"},{name:"Guyana",dial_code:"+595",emoji:"🇬🇾",code:"GY"},{name:"Haiti",dial_code:"+509",emoji:"🇭🇹",code:"HT"},{name:"Holy See (Vatican City State)",dial_code:"+379",emoji:"🇻🇦",code:"VA"},{name:"Honduras",dial_code:"+504",emoji:"🇭🇳",code:"HN"},{name:"Hong Kong",dial_code:"+852",emoji:"🇭🇰",code:"HK"},{name:"Hungary",dial_code:"+36",emoji:"🇭🇺",code:"HU"},{name:"Iceland",dial_code:"+354",emoji:"🇮🇸",code:"IS"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Indonesia",dial_code:"+62",emoji:"🇮🇩",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",emoji:"🇮🇷",code:"IR"},{name:"Iraq",dial_code:"+964",emoji:"🇮🇷",code:"IQ"},{name:"Ireland",dial_code:"+353",emoji:"🇮🇪",code:"IE"},{name:"Isle of Man",dial_code:"+44",emoji:"🇮🇲",code:"IM"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Jamaica",dial_code:"+1876",emoji:"🇯🇲",code:"JM"},{name:"Japan",dial_code:"+81",emoji:"🇯🇵",code:"JP"},{name:"Jersey",dial_code:"+44",emoji:"🇯🇪",code:"JE"},{name:"Jordan",dial_code:"+962",emoji:"🇯🇴",code:"JO"},{name:"Kazakhstan",dial_code:"+77",emoji:"🇰🇿",code:"KZ"},{name:"Kenya",dial_code:"+254",emoji:"🇰🇪",code:"KE"},{name:"Kiribati",dial_code:"+686",emoji:"🇰🇮",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",emoji:"🇰🇵",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",emoji:"🇰🇷",code:"KR"},{name:"Kuwait",dial_code:"+965",emoji:"🇰🇼",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",emoji:"🇰🇬",code:"KG"},{name:"Laos",dial_code:"+856",emoji:"🇱🇦",code:"LA"},{name:"Latvia",dial_code:"+371",emoji:"🇱🇻",code:"LV"},{name:"Lebanon",dial_code:"+961",emoji:"🇱🇧",code:"LB"},{name:"Lesotho",dial_code:"+266",emoji:"🇱🇸",code:"LS"},{name:"Liberia",dial_code:"+231",emoji:"🇱🇷",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",emoji:"🇱🇾",code:"LY"},{name:"Liechtenstein",dial_code:"+423",emoji:"🇱🇮",code:"LI"},{name:"Lithuania",dial_code:"+370",emoji:"🇱🇹",code:"LT"},{name:"Luxembourg",dial_code:"+352",emoji:"🇱🇺",code:"LU"},{name:"Macao",dial_code:"+853",emoji:"🇲🇴",code:"MO"},{name:"Macedonia",dial_code:"+389",emoji:"🇲🇰",code:"MK"},{name:"Madagascar",dial_code:"+261",emoji:"🇲🇬",code:"MG"},{name:"Malawi",dial_code:"+265",emoji:"🇲🇼",code:"MW"},{name:"Malaysia",dial_code:"+60",emoji:"🇲🇾",code:"MY"},{name:"Maldives",dial_code:"+960",emoji:"🇲🇻",code:"MV"},{name:"Mali",dial_code:"+223",emoji:"🇲🇱",code:"ML"},{name:"Malta",dial_code:"+356",emoji:"🇲🇹",code:"MT"},{name:"Marshall Islands",dial_code:"+692",emoji:"🇲🇭",code:"MH"},{name:"Martinique",dial_code:"+596",emoji:"🇲🇶",code:"MQ"},{name:"Mauritania",dial_code:"+222",emoji:"🇲🇷",code:"MR"},{name:"Mauritius",dial_code:"+230",emoji:"🇲🇺",code:"MU"},{name:"Mayotte",dial_code:"+262",emoji:"🇾🇹",code:"YT"},{name:"Mexico",dial_code:"+52",emoji:"🇲🇽",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",emoji:"🇫🇲",code:"FM"},{name:"Moldova",dial_code:"+373",emoji:"🇲🇩",code:"MD"},{name:"Monaco",dial_code:"+377",emoji:"🇲🇨",code:"MC"},{name:"Mongolia",dial_code:"+976",emoji:"🇲🇳",code:"MN"},{name:"Montenegro",dial_code:"+382",emoji:"🇲🇪",code:"ME"},{name:"Montserrat",dial_code:"+1664",emoji:"🇲🇸",code:"MS"},{name:"Morocco",dial_code:"+212",emoji:"🇲🇦",code:"MA"},{name:"Mozambique",dial_code:"+258",emoji:"🇲🇿",code:"MZ"},{name:"Myanmar",dial_code:"+95",emoji:"🇲🇲",code:"MM"},{name:"Namibia",emoji:"🇳🇦",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",emoji:"🇳🇷",code:"NR"},{name:"Nepal",dial_code:"+977",emoji:"🇳🇵",code:"NP"},{name:"Netherlands",dial_code:"+31",emoji:"🇳🇱",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",emoji:"🇧🇶",code:"AN"},{name:"New Caledonia",dial_code:"+687",emoji:"🇳🇨",code:"NC"},{name:"New Zealand",dial_code:"+64",emoji:"🇳🇿",code:"NZ"},{name:"Nicaragua",dial_code:"+505",emoji:"🇳🇮",code:"NI"},{name:"Niger",dial_code:"+227",emoji:"🇳🇪",code:"NE"},{name:"Nigeria",dial_code:"+234",emoji:"🇳🇬",code:"NG"},{name:"Niue",dial_code:"+683",emoji:"🇳🇺",code:"NU"},{name:"Norfolk Island",dial_code:"+672",emoji:"🇳🇫",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",emoji:"🇲🇵",code:"MP"},{name:"Norway",dial_code:"+47",emoji:"🇳🇴",code:"NO"},{name:"Oman",dial_code:"+968",emoji:"🇴🇲",code:"OM"},{name:"Pakistan",dial_code:"+92",emoji:"🇵🇰",code:"PK"},{name:"Palau",dial_code:"+680",emoji:"🇵🇼",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",emoji:"🇵🇸",code:"PS"},{name:"Panama",dial_code:"+507",emoji:"🇵🇦",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",emoji:"🇵🇬",code:"PG"},{name:"Paraguay",dial_code:"+595",emoji:"🇵🇾",code:"PY"},{name:"Peru",dial_code:"+51",emoji:"🇵🇪",code:"PE"},{name:"Philippines",dial_code:"+63",emoji:"🇵🇭",code:"PH"},{name:"Pitcairn",dial_code:"+872",emoji:"🇵🇳",code:"PN"},{name:"Poland",dial_code:"+48",emoji:"🇵🇱",code:"PL"},{name:"Portugal",dial_code:"+351",emoji:"🇵🇹",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",emoji:"🇵🇷",code:"PR"},{name:"Qatar",dial_code:"+974",emoji:"🇶🇦",code:"QA"},{name:"Romania",dial_code:"+40",emoji:"🇷🇴",code:"RO"},{name:"Russia",dial_code:"+7",emoji:"🇷🇺",code:"RU"},{name:"Rwanda",dial_code:"+250",emoji:"🇷🇼",code:"RW"},{name:"Reunion",dial_code:"+262",emoji:"🇷🇪",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",emoji:"🇧🇱",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",emoji:"🇸🇭",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",emoji:"🇰🇳",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",emoji:"🇱🇨",code:"LC"},{name:"Saint Martin",dial_code:"+590",emoji:"🇲🇫",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",emoji:"🇵🇲",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",emoji:"🇻🇨",code:"VC"},{name:"Samoa",dial_code:"+685",emoji:"🇼🇸",code:"WS"},{name:"San Marino",dial_code:"+378",emoji:"🇸🇲",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",emoji:"🇸🇹",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",emoji:"🇸🇦",code:"SA"},{name:"Senegal",dial_code:"+221",emoji:"🇸🇳",code:"SN"},{name:"Serbia",dial_code:"+381",emoji:"🇷🇸",code:"RS"},{name:"Seychelles",dial_code:"+248",emoji:"🇸🇨",code:"SC"},{name:"Sierra Leone",dial_code:"+232",emoji:"🇸🇱",code:"SL"},{name:"Singapore",dial_code:"+65",emoji:"🇸🇬",code:"SG"},{name:"Slovakia",dial_code:"+421",emoji:"🇸🇰",code:"SK"},{name:"Slovenia",dial_code:"+386",emoji:"🇸🇮",code:"SI"},{name:"Solomon Islands",dial_code:"+677",emoji:"🇸🇧",code:"SB"},{name:"Somalia",dial_code:"+252",emoji:"🇸🇴",code:"SO"},{name:"South Africa",dial_code:"+27",emoji:"🇿🇦",code:"ZA"},{name:"South Sudan",dial_code:"+211",emoji:"🇸🇸",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",emoji:"🇬🇸",code:"GS"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Sri Lanka",dial_code:"+94",emoji:"🇱🇰",code:"LK"},{name:"Sudan",dial_code:"+249",emoji:"🇸🇩",code:"SD"},{name:"Suriname",dial_code:"+597",emoji:"🇸🇷",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",emoji:"🇸🇯",code:"SJ"},{name:"Swaziland",dial_code:"+268",emoji:"🇸🇿",code:"SZ"},{name:"Sweden",dial_code:"+46",emoji:"🇸🇪",code:"SE"},{name:"Switzerland",dial_code:"+41",emoji:"🇨🇭",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",emoji:"🇸🇾",code:"SY"},{name:"Taiwan",dial_code:"+886",emoji:"🇹🇼",code:"TW"},{name:"Tajikistan",dial_code:"+992",emoji:"🇹🇯",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",emoji:"🇹🇿",code:"TZ"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Timor-Leste",dial_code:"+670",emoji:"🇹🇱",code:"TL"},{name:"Togo",dial_code:"+228",emoji:"🇹🇬",code:"TG"},{name:"Tokelau",dial_code:"+690",emoji:"🇹🇰",code:"TK"},{name:"Tonga",dial_code:"+676",emoji:"🇹🇴",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",emoji:"🇹🇹",code:"TT"},{name:"Tunisia",dial_code:"+216",emoji:"🇹🇳",code:"TN"},{name:"Turkey",dial_code:"+90",emoji:"🇹🇷",code:"TR"},{name:"Turkmenistan",dial_code:"+993",emoji:"🇹🇲",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",emoji:"🇹🇨",code:"TC"},{name:"Tuvalu",dial_code:"+688",emoji:"🇹🇻",code:"TV"},{name:"Uganda",dial_code:"+256",emoji:"🇺🇬",code:"UG"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",emoji:"🇦🇪",code:"AE"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"},{name:"Uruguay",dial_code:"+598",emoji:"🇺🇾",code:"UY"},{name:"Uzbekistan",dial_code:"+998",emoji:"🇺🇿",code:"UZ"},{name:"Vanuatu",dial_code:"+678",emoji:"🇻🇺",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",emoji:"🇻🇪",code:"VE"},{name:"Vietnam",dial_code:"+84",emoji:"🇻🇳",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",emoji:"🇻🇬",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",emoji:"🇻🇮",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",emoji:"🇼🇫",code:"WF"},{name:"Yemen",dial_code:"+967",emoji:"🇾🇪",code:"YE"},{name:"Zambia",dial_code:"+260",emoji:"🇿🇲",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",emoji:"🇿🇼",code:"ZW"}],rr=e=>{var{placeholder:o}=e,[t,r]=p.useState(tr),[i,n]=p.useState(null!=o?o:tr[0].name),[a,l]=p.useState(!0),[s,c]=p.useState(!1),[d,m]=p.useState(!1);return{hide:a,setHide:l,newOptions:t,setNewOptions:r,isHovered:d,setIsHovered:m,isFocused:s,setIsFocused:c,value:i,setValue:n}},ir={xs:8,sm:10,md:12,lg:14,xl:16},nr=["size"],ar=["size"],lr=["id","name","label","value","placeholder","helperText","hide","error","isHovered","isFocused","isAutoFocus","isDisabled","isReadOnly","shadow","newOptions","size","variant","shape","colorScheme","onChange","onBlur","setHide","setNewOptions","setIsHovered","setIsFocused","setValue","styles"],sr=e=>{var o=v(e,nr);return p.createElement(i.Element,Object.assign({as:"ul"},o))},cr=e=>p.createElement(i.Input,Object.assign({type:"country"},e)),dr=e=>{var o=v(e,ar);return p.createElement(i.Element,Object.assign({as:"li"},o))},mr=e=>{var{option:o,size:r="md",callback:n=(()=>{}),styles:a={text:{}}}=e,[l,s]=t.useState(!1),c=()=>s(!l);return p.createElement(dr,Object.assign({margin:0,role:"DropDownItem",listStyleType:"none",fontWeight:"normal",paddingVertical:6,paddingHorizontal:12,onMouseEnter:c,onMouseLeave:c,onClick:e=>{e&&e.stopPropagation&&e.stopPropagation(),n(o)},fontSize:i.Typography.fontSizes[r],backgroundColor:l?"trueGray.100":"transparent"},a.text),o)},ur=e=>{var{size:o,styles:t={dropDown:{}},options:r,callback:i=(()=>{})}=e,n=e=>i(e);return p.createElement(sr,Object.assign({role:"dropDown",margin:0,padding:0,top:"100%",width:"100%",display:"flex",zIndex:1e3,overflow:"auto",maxHeight:"300px",borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"},t.dropDown),r.map(e=>p.createElement(mr,Object.assign({key:e.code,size:o,option:e.name,callback:n},t.text))))},hr=e=>{var{id:o,name:t,label:r,value:n,placeholder:a,helperText:l,hide:s=!1,error:c=!1,isHovered:d=!1,isFocused:m=!1,isAutoFocus:u=!1,isDisabled:h=!1,isReadOnly:g=!1,shadow:b={},newOptions:j=[],size:E="md",variant:f="default",shape:x="default",colorScheme:y="theme.primary",onChange:C,onBlur:k=(()=>{}),setHide:z=(()=>{}),setNewOptions:w=(()=>{}),setIsHovered:S=(()=>{}),setIsFocused:I=(()=>{}),setValue:O=(()=>{}),styles:_={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}}}=e,L=v(e,lr),{getColor:H}=i.useTheme(),T=H("color.blueGray.700"),M=()=>S(!d),W=!(!m||!r),B=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:i.Typography.fontSizes[E],backgroundColor:"transparent",color:h?"color.trueGray.600":"color.blueGray.700",cursor:h?"not-allowed":"auto"},_.field);return p.createElement(st,{helperText:l,error:c,styles:_,onClick:()=>{h||g||z(!s)}},p.createElement(pt,{label:r,size:E,error:c,shape:x,styles:_,shadow:b,variant:f,value:n,color:y,isHovered:d,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:W,colorScheme:y,onMouseEnter:M,onMouseLeave:M},p.createElement(zt,null,W&&p.createElement(Ct,Object.assign({htmlFor:o,color:y,error:c},_),r),p.createElement(cr,Object.assign({id:o,name:t,placeholder:a,readOnly:g,disabled:h,autoFocus:u,onBlur:e=>{k(e),I(!1)},onFocus:()=>I(!0)},B,L,{value:n,onChange:e=>{var o=e.target.value,t=tr.filter(e=>e.name.toLowerCase().startsWith(o.toLowerCase()));s&&z(!1),w(t),C&&C(o)}}))),p.createElement(vt,null,p.createElement(we,s?{orientation:"down",size:ir[E],color:T,style:_.icon}:{orientation:"up",size:ir[E],color:T,style:_.icon}))),!s&&p.createElement(ur,{size:E,styles:_,options:j,callback:e=>{z(!s),O(e),C&&C(e)}}))},gr=()=>{var[e,o]=p.useState(!1),[t,r]=p.useState(!1),[i,n]=p.useState(u(new Date,"yyyy-MM-dd"));return{date:i,setDate:n,isHovered:e,setIsHovered:o,isFocused:t,setIsFocused:r}},pr=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","colorScheme","styles","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],br=e=>p.createElement(i.Input,Object.assign({type:"date"},e)),vr=e=>{var{id:o,name:t,label:r,date:n,helperText:a,shadow:l={},size:s="md",variant:c="default",shape:d="default",colorScheme:m="theme.primary",styles:u={box:{},label:{},helperText:{},text:{},field:{}},error:h=!1,isHovered:g=!1,isFocused:b=!1,isDisabled:j=!1,isReadOnly:E=!1,setDate:f=(()=>{}),setIsFocused:x=(()=>{}),setIsHovered:y=(()=>{}),onChange:C,onChangeText:k}=e,z=v(e,pr),w=!(!b||!r),S=()=>y(!g),I=e=>{"string"==typeof e?(f(e),k&&k(e)):(f(e.target.value),C&&C(e.target.value))},O=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:i.Typography.fontSizes[s],backgroundColor:"transparent",color:j?"color.trueGray.600":"color.blueGray.700",cursor:j?"not-allowed":E?"auto":"pointer"},u.field);return p.createElement(st,{helperText:a,error:h,styles:u},p.createElement(pt,{label:r,size:s,error:h,shape:d,styles:u,shadow:l,variant:c,value:n,color:m,isHovered:g,isDisabled:j,isReadOnly:E,isFocused:b,isWithLabel:w,colorScheme:m,onMouseEnter:S,onMouseLeave:S},p.createElement(zt,null,w&&p.createElement(Ct,Object.assign({htmlFor:o,color:m,error:h},u),r),p.createElement(br,Object.assign({id:o,name:t,onFocus:()=>x(!0),disabled:j,readOnly:E},O,z,k&&{onChangeText:I},{onChange:I})))))},jr=e=>{var o=Zt(e),[r,i]=t.useState(!1);return Object.assign({isVisible:r,setIsVisible:i},e,o)},Er=["visibleIcon","hiddenIcon"],fr=["isVisible","setIsVisible"],xr=(e,o,r)=>{var[i,n]=t.useState(e),[a,l]=t.useState(o?{value:o,label:o}:e[0]),[s,c]=t.useState(0),[d,m]=t.useState(null!=r?r:""),[u,h]=t.useState(!1);return{filteredItems:i,setFilteredItems:n,selectedItem:a,setSelectedItem:l,highlightedIndex:s,setHighlightedIndex:c,searchQuery:d,setSearchQuery:m,isDropdownVisible:u,setIsDropdownVisible:h}},yr=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","styles","isDropdownVisible","setIsDropdownVisible"],Cr=e=>{var{placeholder:o,items:r,showTick:i=!0,onSelect:n,searchEnabled:a=!0,left:l,right:s,label:c,filteredItems:d,setSelectedItem:m,selectedItem:u,highlightedIndex:h,setHighlightedIndex:g,searchQuery:j,setSearchQuery:E,setFilteredItems:f,styles:x,isDropdownVisible:y,setIsDropdownVisible:k}=e,z=v(e,yr);return t.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&k(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),p.createElement(S,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},z),c&&p.createElement(C,{styles:null==x?void 0:x.label,htmlFor:z.id},c),p.createElement(b,{position:"relative"},p.createElement(S,Object.assign({cursor:"pointer",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",padding:"12px",display:"flex",alignItems:"center",borderRadius:"4px",justifyContent:"space-between",minWidth:300,flexWrap:"nowrap"},null==x?void 0:x.container),p.createElement(S,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>k(!y)},null==x?void 0:x.labelContainer),l,p.createElement(C,Object.assign({weight:"medium",flexGrow:1},null==x?void 0:x.label),u.label)),s,y&&p.createElement(b,Object.assign({id:"combobox-dropdown",position:"absolute",backgroundColor:"white",boxShadow:"rgba(0, 0 ,0 ,0.16) 0px 1px 4px",width:"100%",overflowY:"auto",zIndex:1e4,bottom:-8,left:0,transform:"translateY(100%)",marginTop:"4px",borderRadius:"4px"},null==x?void 0:x.dropdown),a&&p.createElement(Jt,{id:z.id,name:z.name,width:"100%",type:"search",value:j,onChange:e=>(e=>{if(E(e),""===e)f(r);else{var o=r.filter(o=>o.label.toLowerCase().includes(e.toLowerCase()));f(o)}g(0)})(e),hint:o,isClearable:!1,leftChild:p.createElement(mo,{size:12}),styles:{box:Object.assign({width:"100%",padding:"6px 12px",borderBottom:d.length>0?"1px solid #ccc":"1px solid transparent"},null==x?void 0:x.text)}}),d.length>0&&p.createElement(b,{margin:0,padding:4},d.map((e,o)=>p.createElement(S,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:o===h?"color.gray.100":"transparent",onMouseEnter:()=>g(o),onClick:()=>(e=>{m(e),null==n||n(e),k(!1)})(e)},null==x?void 0:x.item),p.createElement(C,null,e.label),p.createElement(p.Fragment,null,e.icon&&e.icon,e.value===u.value&&i&&!e.icon&&p.createElement(vo,{size:20})))))))))},kr=["id","name","items","placeholder","searchPlaceholder"],zr=["children","autoFocus","initFocus","onChange"],wr=t.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),Sr=["name","type"],Ir=e=>{var{name:o,type:r}=e,i=v(e,Sr),n=t.useContext(wr),{touched:a,errors:l,submitCount:s,values:c,setFieldTouched:d,setFieldValue:m}=h.useFormikContext(),u=e=>{"Enter"===e.key&&(e.preventDefault(),n.focusNextInput(o))},g=["text","password","email","digits"].includes(r),p=h.getIn(a,o)||s>0?h.getIn(l,o):void 0,b=h.getIn(c,o);return Object.assign({},(e=>{switch(e){case"email":return{autoCorrect:"off",inputMode:"email",autoCapitalize:"none"};case"password":return{autoCorrect:"off",secureTextEntry:!0,autoCapitalize:"none"};case"digits":return{inputMode:"tel"};case"numeric":return{inputMode:"numeric"};case"name":return{autoCorrect:"off"};default:return{}}})(r),i,{value:b,error:p,onBlur:()=>{d(o,!0)},onKeyPress:u},g?{onChangeText:e=>{m(o,e),null==i.onChangeText||i.onChangeText(e)}}:{onChange:e=>{m(o,e),null==i.onChange||i.onChange(e)}},n.active?{handleKeyPress:u}:{})},Or=["value"],_r=["value"],Lr=["visibleIcon","hiddenIcon"],Hr=["isVisible","setIsVisible"],Tr=["items","placeholder","searchPlaceholder"],Mr=g.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,styles:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(o,t,r,i,n,a,l,s,c){return void 0===t&&(t=""),void 0===r&&(r=""),e({visible:!0,variant:o,title:t,subtitle:r,isClosable:i,styles:n,action:a,actionText:l,showIcon:s,timeout:c})},hide:()=>e({visible:!1})})),Wr=()=>{Mr.getState().hide()},Br={info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},icon:{color:"color.blue.500",name:"InformationIcon"},content:{color:"color.blue.500"},close:{color:"color.blue.500",name:"CloseIcon"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},icon:{color:"color.green.500",name:"CheckCircleIcon"},content:{color:"color.green.500"},close:{color:"color.green.500",name:"CloseIcon"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},icon:{color:"color.red.500",name:"ErrrorIcon"},content:{color:"color.red.500"},close:{color:"color.red.500",name:"CloseIcon"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},icon:{color:"color.orange.500",name:"ErrrorIcon"},content:{color:"color.orange.500"},close:{color:"color.orange.500",name:"CloseIcon"}}},Fr=e=>{var o,r,{variant:i,hide:n,title:a,subtitle:l,theme:s,action:c,actionText:d,showIcon:m=!1,isClosable:u=!1,timeout:h=3e3,styles:g}=e;t.useEffect(()=>{if(h&&!u){var e=setTimeout(()=>{n()},h);return()=>{clearTimeout(e)}}},[]);var v=null!=s?s:Br,j=!(!c||!d),E={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+v[i].container.border},f={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[i],x={info:p.createElement(po,Object.assign({size:24,color:f},null==g?void 0:g.icon)),success:p.createElement(oo,Object.assign({size:24,color:f},null==g?void 0:g.icon)),warning:p.createElement(Le,Object.assign({size:24,color:f},null==g?void 0:g.icon)),error:p.createElement(Re,Object.assign({size:24,color:f},null==g?void 0:g.icon))}[i],y=m&&x;return p.createElement(S,Object.assign({role:"messageContent",gap:16,width:400,flexWrap:"nowrap",position:"relative",alignItems:"center",padding:"14px 24px 14px 14px",color:""+v[i].content.color,backgroundColor:""+v[i].container.backgroundColor,onClick:u?()=>{}:()=>{n()}},E,null==g?void 0:g.container),y&&x,p.createElement(z,{gap:8,width:"100%"},p.createElement(C,Object.assign({size:"md",weight:"semiBold"},null==g?void 0:g.title),a),l&&p.createElement(C,Object.assign({size:"sm"},null==g?void 0:g.subtitle),l)),j&&p.createElement(C,Object.assign({marginRight:10,onClick:c,padding:"6px 10px",whiteSpace:"nowrap"},E,null==g?void 0:g.actionText),d),u&&p.createElement(b,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{n()}},null==g||null==(o=g.closingIcon)?void 0:o.container),p.createElement(Se,Object.assign({size:18,color:f},null==g||null==(r=g.closingIcon)?void 0:r.icon))))},Rr=g.create(e=>({modal:!1,modalProps:{isVisible:!1},overlayProps:{},show:function(o,t,r){void 0===t&&(t={}),void 0===r&&(r={}),o&&(t.isVisible=!0),e(e=>Object.assign({},e,{modal:o,modalProps:t,overlayProps:r}))},hide:()=>{e(e=>Object.assign({},e,{modalProps:Object.assign({},e.modalProps,{isVisible:!1})}))}})),Vr=()=>{Rr.getState().hide()},Dr={sharp:{borderRadius:0},rounded:{borderRadius:4}},Pr={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center"},right:{justifyContent:"flex-end",alignItems:"center"},bottom:{justifyContent:"center",alignItems:"flex-end"},left:{alignItems:"center"}},Ar={xs:12,sm:16,md:20,lg:24,xl:28},Gr=["children","blur","isOpen","isClosePrevented","onClose","position"],Nr=["children","shadow","isFullScreen","shape"],Kr=["children","buttonColor","iconSize","buttonPosition"],Ur=["children"],Zr=["children"],qr=e=>{var{children:o,blur:t,isOpen:r=!1,isClosePrevented:i=!1,onClose:n=(()=>{}),position:a="center"}=e,l=v(e,Gr),s=()=>{i||n()};return p.createElement(O,{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:s,visibility:r?"visible":"hidden"},p.createElement(b,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:t?"blur("+t+"px)":void 0,onClick:s},Pr[a],l),o))},Yr=e=>{var{children:o}=e;return p.createElement(p.Fragment,null,o)};Yr.Overlay=qr,Yr.Container=e=>{var{children:o,shadow:t,isFullScreen:r=!1,shape:i="rounded"}=e,n=v(e,Nr),a=void 0!==typeof document?{boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.3)"}:{elevation:5,shadowColor:"rgba(0, 0, 0, 0.3)",shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:8};return p.createElement(z,Object.assign({cursor:"default",backgroundColor:"white",width:r?"100%":600,height:r?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()}},t||a,Dr[i],n),o)},Yr.Header=e=>{var{children:o,buttonColor:t="theme.primary",iconSize:r="md",buttonPosition:i="right"}=e,n=v(e,Kr),a=p.createElement(ot,{onClick:n.onClose?n.onClose:Vr,colorScheme:"transparent",icon:p.createElement(Se,{size:Ar[r],color:t}),padding:0,margin:0,filter:"none",width:0});return p.createElement(S,Object.assign({justifyContent:"none"===i?"center":"space-between",alignItems:"center",paddingVertical:15,paddingHorizontal:20},n),"left"===i&&a,o,"right"===i&&a)},Yr.Body=e=>{var{children:o}=e,t=v(e,Ur);return p.createElement(b,Object.assign({paddingVertical:15,paddingHorizontal:20},{borderBottomWidth:2,borderTopWidth:2,borderColor:"rgba(250, 250, 250, 1)",borderStyle:"solid"},t),o)},Yr.Footer=e=>{var{children:o}=e,t=v(e,Zr);return p.createElement(S,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:15,paddingHorizontal:20},t),o)},Yr.Layout=e=>{var{modals:o}=e,r=Rr(e=>{var{modal:o,modalProps:t,overlayProps:r}=e;return{modal:o,modalProps:t,overlayProps:r}});if("boolean"==typeof r.modal)return null;var i=o[r.modal];return i?p.createElement(t.Fragment,null,p.createElement(qr,Object.assign({isOpen:r.modalProps.isVisible,onClose:Vr,blur:10},r.overlayProps),void 0!==i&&p.createElement(i,Object.assign({},r.modalProps)))):(console.error(r.modal+" modal doesn't exist"),null)};var Jr={},Qr=p.createContext(Jr),Xr=e=>{var{children:o,styles:t=Jr}=e;return p.createElement(Qr.Provider,{value:t},o)},$r=()=>p.useContext(Qr),ei=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"table",borderCollapse:"collapse"},o.table,e))},oi=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"thead",borderBottom:"0.5px solid #ddd",textAlign:"left",color:"color.gray.400"},o.thead,e))},ti=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"th",padding:"14px",whiteSpace:"nowrap",fontWeight:"500"},o.th,e))},ri=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"tr"},o.tr,e))},ii=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"td",padding:"14px",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"400":"300"},o.td,e))},ni=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"tbody"},o.tbody,e))},ai=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"tfoot"},o.tfoot,e))},li=e=>{var o=$r();return p.createElement(i.Element,Object.assign({as:"caption",margin:"10px 0",color:"color.gray.400"},o.caption,e))},si=e=>{var{children:o,styles:t}=e;return p.createElement(Xr,{styles:t},o)};si.Head=oi,si.HeadCell=ti,si.Body=ni,si.Row=ri,si.Cell=ii,si.Footer=ai,si.Caption=li,si.Container=ei,si.Template=e=>{var{data:o,columns:t,footer:r,caption:i}=e;return p.createElement(ei,{role:"Table"},i&&p.createElement(li,null,i),p.createElement(oi,null,p.createElement(ri,null,t.map(e=>p.createElement(ti,{key:e.field},e.title)))),p.createElement(ni,null,o.map((e,o)=>p.createElement(ri,{key:o},t.map((o,t)=>p.createElement(ii,{key:o.field,isFirstColumn:0===t},e[o.field]))))),r&&p.createElement(ai,null,p.createElement(ri,null,r.map((e,o)=>p.createElement(ii,Object.assign({key:o},e.props),e.value)))))};var ci=e=>{var{tabs:o,styles:t,isActive:r,setIsActive:i,tabsState:n,setTabsState:a}=e;return p.createElement(z,Object.assign({width:"100w",height:"100%"},null==t?void 0:t.container),p.createElement(S,Object.assign({marginBottom:20},null==t?void 0:t.headerTabs),o.map((e,n)=>p.createElement(ot,Object.assign({key:e.title,onClick:()=>{(e=>{var t=[...o],r=t.splice(e,1);t.unshift(r[0]),a(t),i(t[0])})(n)},variant:r.value===e.value?"filled":"ghost",shape:"pillShaped",cursor:"pointer",isAuto:!0},null==t?void 0:t.tab,r.value===e.value?null==t?void 0:t.activeTab:{}),p.createElement(C,Object.assign({},null==t?void 0:t.title,r.value===e.value?null==t?void 0:t.activeText:{}),e.title)))),p.createElement(b,Object.assign({width:"100%",height:"100%"},null==t?void 0:t.content),n.map((e,o)=>(e=>e.value===n[0].value)(e)&&p.createElement(b,{key:o},e.content))))},di=p.memo(e=>{var{tabs:o,styles:r}=e,{isActive:i,setIsActive:n,tabsState:a,setTabsState:l}=(e=>{var[o,r]=t.useState(e[0]),[i,n]=t.useState(e);return{isActive:o,setIsActive:r,tabsState:i,setTabsState:n}})(o);return p.createElement(ci,{tabs:o,styles:r,isActive:i,tabsState:a,setTabsState:l,setIsActive:n})}),mi={sharp:0,rounded:4,pillShaped:24},ui=["children","shape","colorScheme","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle"],hi=e=>{var{children:o,shape:t="rounded",colorScheme:r="color.trueGray.400",variant:i="ghost",isHovered:n,setIsHovered:a,isDisabled:l,isToggle:s,setIsToggled:c,onToggle:d}=e,m=v(e,ui),u=l?"theme.disabled":r,h=!(!s&&!n);return p.createElement(O,Object.assign({role:"Toggle",padding:"pillShaped"===t?"10px 12px":"8px",width:"fit-content",color:h?"color.white":u,backgroundColor:h?u:"transparent",onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),cursor:l?"not-allowed":"pointer",borderRadius:mi[t],onClick:()=>{l||c(e=>{var o=!e;return d&&d(o),o})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:r},link:{borderWidth:1,borderStyle:"solid",borderColor:h?u:"transparent",textDecoration:"underline"},ghost:{}}[i],m),o)},gi=["children","shape","colorScheme","variant","isDisabled","isToggled","onToggle"],pi=e=>{var{children:o,shape:r,colorScheme:i,variant:n,isDisabled:a,isToggled:l=!1,onToggle:s}=e,c=v(e,gi),{isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h}=(e=>{var[o,r]=t.useState(!1),[i,n]=t.useState(e);return{isHovered:o,setIsHovered:r,isToggle:i,setIsToggled:n}})(l);return t.useEffect(()=>{h(l)},[l]),p.createElement(hi,Object.assign({shape:r,colorScheme:i,variant:n,isDisabled:a,isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h,onToggle:s},c),o)},bi=e=>{var{items:o,onToggleChange:r,activeToggles:i,setActiveToggles:n,shape:a="rounded",variant:l="ghost",colorScheme:s="color.trueGray.400"}=e,c=t.useCallback((e,o)=>{n(t=>{var i;return i=o?t.includes(e)?t:[...t,e]:t.filter(o=>o!==e),null==r||r(i),i})},[r,n]);return p.createElement(S,{role:"ToggleGroup",display:"flex",gap:5},o.map(e=>p.createElement(pi,{role:"toggle-"+e.id,key:e.id,colorScheme:s,shape:a,variant:l,isToggled:i.includes(e.id)||e.isActive,onToggle:o=>c(e.id,o),isDisabled:e.isDisabled},e.value)))};e.Alert=e=>{var{icon:o,title:t,styles:r,description:i,variant:n}=e;return p.createElement(ko,{icon:o,title:t,styles:r,description:i,variant:n})},e.ArrowIcon=Eo,e.AspectRatio=e=>{var{ratio:o,children:t}=e,r=v(e,So);return p.createElement(wo,Object.assign({ratio:o},r),t)},e.Avatar=e=>{var{src:o,size:r,styles:i,fallback:n}=e,{imageError:a,setImageError:l}=(()=>{var[e,o]=t.useState(!1);return{imageError:e,setImageError:o}})();return p.createElement(Oo,{src:o,size:r,styles:i,fallback:n,imageError:a,setImageError:l})},e.Badge=e=>{var{content:o,shape:t,colorScheme:r,position:i,variant:n,size:a,styles:l}=e;return p.createElement(To,{content:o,shape:t,colorScheme:r,position:i,variant:n,size:a,styles:l})},e.BatteryIcon=He,e.BluetoothIcon=no,e.BoldArrowIcon=jo,e.BookmarkIcon=Te,e.Bottom=e=>p.createElement(i.View,Object.assign({marginTop:"auto"},e)),e.Button=ot,e.CalendarIcon=xo,e.CameraIcon=io,e.Center=O,e.Checkbox=e=>{var o=Qt(e);return p.createElement(or,Object.assign({},o,e))},e.ChevronIcon=we,e.ClockIcon=ro,e.CloseEyeIcon=uo,e.CloseIcon=Se,e.CloudIcon=Me,e.ComboBox=e=>{var{id:o,name:t,items:r,placeholder:i,searchPlaceholder:n}=e,a=v(e,kr),l=xr(r,i,n);return p.createElement(Cr,Object.assign({id:o,name:t,items:r},l,a))},e.CopyIcon=We,e.CountryPicker=e=>{var o=rr(e);return p.createElement(hr,Object.assign({},o,e))},e.DatePicker=e=>{var o=gr();return p.createElement(vr,Object.assign({},o,e))},e.DownloadIcon=Ve,e.DustBinIcon=Be,e.EditIcon=Fe,e.ErrorIcon=Re,e.ExternalLinkIcon=ho,e.FileImage=e=>{var{path:o}=e,t=v(e,rt);return p.createElement(i.Image,Object.assign({src:o},t))},e.FileSVG=e=>{var{src:o,color:t}=e,r=v(e,tt),{getColor:n}=i.useTheme(),a=t?{fill:n(t),stroke:n(t)}:{};return p.createElement(O,Object.assign({},r),p.createElement(i.Image,Object.assign({},a,{content:'url("'+o+'")',width:"100%",height:"100%"})))},e.FilterIcon=Ke,e.FormikCheckbox=e=>{var o=Ir(e),{value:t}=o,r=v(o,Or);r.isChecked=t;var i=Qt(e);return p.createElement(or,Object.assign({},i,r))},e.FormikComboBox=e=>{var{items:o,placeholder:t,searchPlaceholder:r}=e,i=v(e,Tr),n=Ir(i),a=xr(o,t,r);return p.createElement(Cr,Object.assign({},a,n,{onSelect:e=>{n.onChange(e)}}))},e.FormikCountryPicker=e=>{var o=Ir(e),t=rr(e);return p.createElement(hr,Object.assign({},t,o))},e.FormikDatePicker=e=>{var o=Ir(e),t=gr();return p.createElement(vr,Object.assign({},t,o))},e.FormikForm=e=>{var{children:o,autoFocus:r=!1,initFocus:n,onChange:a=(()=>{})}=e,l=v(e,zr),s=h.useFormikContext();t.useEffect(()=>{a(s.values)},[s.values]);var c=t.useRef({}),d=t.useRef([]),m=e=>{if(r){var o,t=d.current.indexOf(e)+1;t<d.current.length?null==(o=c.current[d.current[t]])||o.focus():s.onSubmit&&s.onSubmit(s.values)}},u={active:r,focusNextInput:m,setInputRef:(e,o)=>{c.current[e]=o,d.current.includes(e)||d.current.push(e)},handleSubmitEditing:m,getReturnKeyType:e=>d.current.indexOf(e)===d.current.length-1?"done":"next"};return t.useEffect(()=>{var e;if(r)if(n&&c.current[n])null==(e=c.current[n])||e.focus();else if(d.current[0]){var o;null==(o=c.current[d.current[0]])||o.focus()}},[r,n]),p.createElement(wr.Provider,{value:u},p.createElement(i.Form,Object.assign({},l),o))},e.FormikPassword=e=>{var{visibleIcon:o=p.createElement(Xe,{size:14}),hiddenIcon:t=p.createElement(uo,{size:14})}=e,r=v(e,Lr),n=Ir(r),a=jr(n),{isVisible:l,setIsVisible:s}=a,c=v(a,Hr);return p.createElement(Jt,Object.assign({},c,{type:l?"text":"password",isClearable:!1,rightChild:p.createElement(i.View,{onClick:()=>{r.isDisabled||s(!l)}},l?o:t)}))},e.FormikSelect=e=>{var o=Ir(e);o.selected=o.value;var t=it(e);return p.createElement(Bt,Object.assign({},t,o))},e.FormikSwitch=e=>{var o=Ir(e),t=Ft(e);return p.createElement(Gt,Object.assign({},t,o))},e.FormikTextArea=e=>{var o=Ir(e),t=Nt(e);return p.createElement(Ut,Object.assign({},t,o))},e.FormikTextField=e=>{var o=Ir(e),t=v(Zt(e),_r);return p.createElement(Jt,Object.assign({},t,o))},e.HeartIcon=Ie,e.HomeIcon=Ue,e.Horizontal=S,e.Icon=yo,e.InfoIcon=po,e.Inline=e=>p.createElement(i.View,Object.assign({display:"inline-flex",wordBreak:"break-word"},e)),e.Left=e=>p.createElement(i.View,Object.assign({marginRight:"auto"},e)),e.LikeIcon=ao,e.Link=Fo,e.Loader=Qo,e.LocationIcon=Ze,e.LockIcon=qe,e.MenuIcon=De,e.MessageLayout=e=>{var{container:o,theme:t,position:r="topRight"}=e,{visible:i,title:n,variant:a,subtitle:l,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h}=Mr(),g={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[r],v=()=>p.createElement(Fr,{variant:a,subtitle:l,show:i,title:n,theme:t,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h,hide:()=>Wr()}),j=o?p.cloneElement(o,{},v()):p.createElement(b,Object.assign({position:"absolute",zIndex:1e4},g),v());return i?j:null},e.MessageView=Fr,e.MicrophoneIcon=Ye,e.MinusIcon=go,e.Modal=Yr,e.MoonIcon=Je,e.NotificationIcon=Qe,e.OpenEyeIcon=Xe,e.PanelIcon=Ne,e.Password=e=>{var{visibleIcon:o=p.createElement(Xe,{size:14}),hiddenIcon:t=p.createElement(uo,{size:14})}=e,r=v(e,Er),n=jr(r),{isVisible:a,setIsVisible:l}=n,s=v(n,fr);return p.createElement(Jt,Object.assign({},s,{type:a?"text":"password",isClearable:!1,rightChild:p.createElement(i.View,{onClick:()=>{r.isDisabled||l(!a)}},a?o:t)}))},e.PlusIcon=bo,e.PrintIcon=Ge,e.ProfileIcon=$e,e.RefreshIcon=Ae,e.Right=e=>p.createElement(i.View,Object.assign({marginLeft:"auto"},e)),e.SaveIcon=_e,e.SearchIcon=mo,e.Select=e=>{var o=it(e);return p.createElement(Bt,Object.assign({},o,e))},e.SettingsIcon=eo,e.ShareIcon=Pe,e.SpinnerIcon=fo,e.StarIcon=Oe,e.SuccessIcon=oo,e.Switch=e=>{var o=Ft(e);return p.createElement(Gt,Object.assign({},o,e))},e.Table=si,e.Tabs=di,e.Text=C,e.TextArea=e=>{var o=Nt(e);return p.createElement(Ut,Object.assign({},o,e))},e.TextField=e=>{var o=Zt(e);return p.createElement(Jt,Object.assign({},o,e))},e.TickIcon=vo,e.Toggle=pi,e.ToggleGroup=e=>{var{items:o,shape:r,colorScheme:i,variant:n,onToggleChange:a}=e,{activeToggles:l,setActiveToggles:s}=(()=>{var[e,o]=t.useState([]);return{activeToggles:e,setActiveToggles:o}})();return p.createElement(bi,{items:o,shape:r,colorScheme:i,variant:n,activeToggles:l,setActiveToggles:s,onToggleChange:a})},e.Top=e=>p.createElement(i.View,Object.assign({marginBottom:"auto"},e)),e.UnLikeIcon=to,e.UnlockIcon=lo,e.UploadIcon=co,e.Vertical=z,e.View=b,e.WarningIcon=Le,e.WifiIcon=so,e.hideMessage=Wr,e.hideModal=Vr,e.showMessage=(e,o,t,r)=>{Mr.getState().show(e,o,t,null==r?void 0:r.isClosable,null==r?void 0:r.styles,null==r?void 0:r.action,null==r?void 0:r.actionText,null==r?void 0:r.showIcon,null==r?void 0:r.timeout)},e.showModal=function(e,o,t){void 0===o&&(o={}),void 0===t&&(t={}),Rr.getState().show(e,o,t)},e.useMessageStore=Mr,e.useModalStore=Rr,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=web.umd.production.min.js.map
|