@app-studio/web 0.8.64 → 0.8.65
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/Tabs/Tabs/Tabs.props.d.ts +37 -7
- package/dist/components/Tabs/Tabs/Tabs.state.d.ts +9 -5
- package/dist/components/Tabs/Tabs/Tabs.view.d.ts +5 -2
- package/dist/components/Text/Text/Text.props.d.ts +1 -1
- package/dist/web.cjs.development.js +124 -67
- 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 +124 -67
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +124 -67
- 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,t){"object"==typeof exports&&"undefined"!=typeof module?t(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("core-js/modules/web.url.js"),require("core-js/modules/web.url.to-json.js"),require("core-js/modules/web.url-search-params.js"),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","core-js/modules/web.url.js","core-js/modules/web.url.to-json.js","core-js/modules/web.url-search-params.js","zustand"],t):t((e=e||self)["@app-studio/web"]={},0,e.React,0,e.appStudio,0,0,0,e.reactRouterDom,0,0,0,e.format,e.formik,0,0,0,e.zustand)}(this,(function(e,t,o,r,a,i,n,l,s,c,d,m,u,h,g,p,b,v){"use strict";var f="default"in o?o.default:o;u=u&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u;var E=a.View;function j(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}var x={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}},y=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","weight","size"],z=e=>{var{children:t,isSub:o,isSup:r}=e;return f.createElement(f.Fragment,null,"string"==typeof t?f.createElement(f.Fragment,null,o&&f.createElement("sup",null,t),r&&f.createElement("sup",null,t),!o&&!r&&f.createElement(f.Fragment,null,t)):t)},C=e=>{var{text:t,maxLines:r=1}=e,a=o.useRef(null),[i,n]=o.useState(t.length);o.useEffect(()=>{var e=a.current;e&&(()=>{for(var o,a=getComputedStyle(e).lineHeight,i=("normal"!==a?parseFloat(a):20)*r,l=0,s=t.length;l<=s;)o=Math.floor((l+s)/2),e.innerText=t.substring(0,o)+"...",e.offsetHeight>i?s=o-1:l=o+1;n(s)})()},[t,r]);var l=t.length>i?t.substring(0,i)+"...":t;return f.createElement("div",{ref:a},l)},w=e=>{var{children:t,heading:o,maxLines:r,isItalic:i=!1,isUnderlined:n=!1,isSub:l=!1,isSup:s=!1,isStriked:c=!1,weight:d="normal",size:m="md"}=e,u=j(e,y);return f.createElement(a.Element,Object.assign({fontSize:a.Typography.fontSizes[m],lineHeight:a.Typography.lineHeights[m],fontStyle:i?"italic":"normal",fontWeight:a.Typography.fontWeights[d],textDecoration:c?"line-through":n?"underline":"none"},l||s?{display:"inline"}:{},o?x[o]:{},u),r&&"string"==typeof t?f.createElement(C,{text:t,maxLines:r}):f.createElement(z,Object.assign({isSub:l,isSup:s},u),t))},k=e=>f.createElement(w,Object.assign({},e)),I=["justifyContent","isReversed"],O=f.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:r=!1}=e,i=j(e,I);return f.createElement(a.View,Object.assign({display:"flex",justifyContent:o,flexDirection:r?"column-reverse":"column"},i,{ref:t}))});O.displayName="Vertical";var S=O,_=["justifyContent","isReversed"],M=f.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:r=!1}=e,i=j(e,_);return f.createElement(a.View,Object.assign({display:"flex",justifyContent:o,flexDirection:r?"row-reverse":"row"},i,{ref:t}))});M.displayName="Horizontal";var H=M,T=["justifyContent","isReversed"],W=f.forwardRef((e,t)=>{var o=j(e,T);return f.createElement(a.View,Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},o,{ref:t}))});W.displayName="Center";var B=W,L=["size","color","transform","orientation","children"],R=["size","color","filled","strokeWidth"],F=["size","color","filled","strokeWidth"],V=["size","color","filled","strokeWidth"],P=["size","color","filled","strokeWidth"],D=["size","color","filled","strokeWidth"],A=["size","color","filled","strokeWidth"],G=["size","color","filled","strokeWidth"],U=["size","color","filled","strokeWidth"],N=["size","color","filled","strokeWidth"],K=["size","color","filled","strokeWidth"],q=["size","color","filled","strokeWidth"],Z=["size","color","filled","strokeWidth"],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"],te=["size","color","filled","strokeWidth"],oe=["size","color","filled","strokeWidth"],re=["size","color","filled","strokeWidth"],ae=["size","color","filled","strokeWidth"],ie=["size","color","filled","strokeWidth"],ne=["size","color","filled","strokeWidth"],le=["size","color","filled","strokeWidth"],se=["size","color","filled","strokeWidth"],ce=["size","color","filled","strokeWidth"],de=["size","color","filled","strokeWidth"],me=["size","color","strokeWidth","filled"],ue=["size","color","filled","strokeWidth"],he=["size","color","strokeWidth","filled"],ge=["size","color","filled","strokeWidth"],pe=["size","color","strokeWidth","filled"],be=["size","color","filled","strokeWidth"],ve=["size","color","strokeWidth","filled"],fe=["size","color","filled","strokeWidth"],Ee=["size","color","filled","strokeWidth"],je=["size","color","filled","strokeWidth"],xe=["size","color","filled","strokeWidth"],ye=["size","color","filled","strokeWidth"],ze=["size","color","filled","strokeWidth"],Ce=["size","color","filled","strokeWidth"],we=["size","color","filled","strokeWidth"],ke=["size","color","filled","strokeWidth"],Ie=["size","color","filled","strokeWidth"],Oe=["size","color","filled","strokeWidth"],Se=["size","color","filled","strokeWidth"],_e=["size","color","strokeWidth","filled"],Me=["size","color","strokeWidth","filled"],He=["size","color","filled","strokeWidth"],Te=["size","color","filled","strokeWidth"],We=["size","color","filled","strokeWidth"],Be=["size","color","filled","strokeWidth"],Le=["size","color","filled","strokeWidth"],Re=["size","color","filled","strokeWidth"],Fe=["size","color","filled","strokeWidth"],Ve=["size","color","filled","strokeWidth"],Pe=["size","color","filled","strokeWidth"],De=["size","color","filled","strokeWidth"],Ae=["size","color","filled","strokeWidth"],Ge=["size","color","filled","strokeWidth"],Ue=["size","color","filled","strokeWidth"],Ne=["size","color","strokeWidth","filled"],Ke=e=>{var{size:t,color:o="black",transform:r,orientation:a="up",children:i}=e,n=j(e,L);return f.createElement(B,Object.assign({size:t,lineHeight:t,color:o,display:"flex",transform:r||("left"===a?"rotate(-90deg)":"right"===a?"rotate(90deg)":"up"===a?"rotate(0deg)":"down"===a?"rotate(180deg)":"none")},n),i)},qe=(e,t,o)=>({fill:e?t:"none",stroke:e?"none":t,strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"}),Ze=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,R);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.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"})))},Ye=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,F);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("g",null,f.createElement("circle",{cx:"9",cy:"6",r:"2"}),f.createElement("circle",{cx:"9",cy:"12",r:"2"}),f.createElement("circle",{cx:"9",cy:"18",r:"2"}),f.createElement("circle",{cx:"15",cy:"6",r:"2"}),f.createElement("circle",{cx:"15",cy:"12",r:"2"}),f.createElement("circle",{cx:"15",cy:"18",r:"2"}))))},Je=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,V);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polyline",{points:"14 2 14 8 20 8",fill:"none",stroke:o,strokeWidth:a})))},Qe=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,P);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",ry:"2",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polygon",{points:"10 8 16 12 10 16 10 8",fill:r?r?"white":o:"none",stroke:r?"none":o,strokeWidth:r?0:a})))},Xe=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,D);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"2",ry:"2",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:r?r?"white":o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polyline",{points:"21 15 16 10 5 21",fill:"none",stroke:r?"white":o,strokeWidth:a})))},$e=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,A);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M22.46 6.01c-.83.37-1.72.62-2.65.74a4.6 4.6 0 0 0 2.01-2.54 9.2 9.2 0 0 1-2.91 1.11 4.54 4.54 0 0 0-7.75 4.14A12.86 12.86 0 0 1 3.15 4.47a4.54 4.54 0 0 0 1.4 6.06 4.5 4.5 0 0 1-2.06-.57v.06a4.54 4.54 0 0 0 3.64 4.45 4.61 4.61 0 0 1-2.05.08 4.54 4.54 0 0 0 4.23 3.15 9.12 9.12 0 0 1-5.64 1.94c-.37 0-.74-.02-1.1-.07A12.86 12.86 0 0 0 8.21 21c8.38 0 12.96-6.94 12.96-12.96 0-.2 0-.4-.01-.6a9.28 9.28 0 0 0 2.3-2.37z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a})))},et=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,G);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",fill:r?o:"none",stroke:o,strokeWidth:a})))},tt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,U);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",fill:r?o:"none",stroke:o,strokeWidth:r?0:a}),f.createElement("path",{d:"M14 7h2v5h-2V7zm-4 0h2v5H10V7z",fill:r?o:"none",stroke:o,strokeWidth:r?0:a})))},ot=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,N);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"18",y1:"6",x2:"6",y2:"18"}),f.createElement("line",{stroke:o,x1:"6",y1:"6",x2:"18",y2:"18"})))},rt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,K);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),f.createElement("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),f.createElement("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})))},at=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,q);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M21.8 8.001A2.8 2.8 0 0 0 19 5.2C17.793 5 12 5 12 5s-5.793 0-7 0.2a2.8 2.8 0 0 0-2.8 2.8c-0.2 1.207-0.2 3-0.2 3s0 1.793 0.2 3a2.8 2.8 0 0 0 2.8 2.8c1.207 0.2 7 0.2 7 0.2s5.793 0 7-0.2a2.8 2.8 0 0 0 2.8-2.8c0.2-1.207 0.2-3 0.2-3s0-1.793-0.2-3z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polygon",{points:"10 8 10 14 14 10",fill:"white",stroke:"white",strokeWidth:a})))},it=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Z);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M22 2H2v20h10v-7h-2v-3h2V9.5a4 4 0 0 1 4-4h3v3h-3a1 1 0 0 0-1 1V12h4l-1 3h-3v7h6V2z",fill:r?o:"none",stroke:o,strokeWidth:r?0:a})))},nt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Y);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24"},qe(r,o,a)),f.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),f.createElement("rect",{x:"2",y:"9",width:"4",height:"12"}),f.createElement("circle",{cx:"4",cy:"4",r:"2"})))},lt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,J);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24"},qe(r,o,a)),f.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),f.createElement("path",{d:"M19 7.5c-1.333 -3 -3.667 -4.5 -7 -4.5c-5 0 -8 2.5 -8 9s3.5 9 8 9s7 -3 7\n -5s-1 -5 -7 -5c-2.5 0 -3 1.25 -3 2.5c0 1.5 1 2.5 2.5 2.5c2.5 0 3.5 -1.5 \n 3.5 -5s-2 -4 -3 -4s-1.833 .333 -2.5 1"})))},st=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Q);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"8",y1:"12",x2:"16",y2:"12"})))},ct=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,X);return f.createElement(Ke,Object.assign({size:t,color:o},i,{"aria-label":"Information"}),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},dt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,$);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M8 5v14l11-7z"})))},mt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ee);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M6 4h4v16H6V4zm8 0h4v16h-4V4z"})))},ut=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,te);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},ht=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,oe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},gt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,re);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),f.createElement("polyline",{points:"17 21 17 13 7 13 7 21"}),f.createElement("polyline",{points:"7 3 7 8 15 8"})))},pt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ae);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"}),f.createElement("line",{stroke:o,x1:"12",y1:"6",x2:"12",y2:"13"}),f.createElement("line",{stroke:o,x1:"12",y1:"15",x2:"12",y2:"15"})))},bt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ie);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},vt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ne);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},ft=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,le);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},Et=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,se);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),f.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))},jt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ce);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},xt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,de);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},yt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!0}=e,i=j(e,me);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("circle",{cx:"12",cy:"12",r:"10"}),f.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15",stroke:a?"white":o}),f.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15",stroke:a?"white":o})))},zt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ue);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},Ct=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,he);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("line",{stroke:o,x1:"3",y1:"12",x2:"21",y2:"12"}),f.createElement("line",{stroke:o,x1:"3",y1:"6",x2:"21",y2:"6"}),f.createElement("line",{stroke:o,x1:"3",y1:"18",x2:"21",y2:"18"})))},wt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ge);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("circle",{cx:"18",cy:"5",r:"3"}),f.createElement("circle",{cx:"6",cy:"12",r:"3"}),f.createElement("circle",{cx:"18",cy:"19",r:"3"}),f.createElement("line",{stroke:o,x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),f.createElement("line",{stroke:o,x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})))},kt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,pe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("polyline",{points:"23 4 23 10 17 10"}),f.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.13-9.36L23 10"})))},It=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,be);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},f.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"})))},Ot=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,ve);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("line",{stroke:o,x1:"4",y1:"21",x2:"4",y2:"14"}),f.createElement("line",{stroke:o,x1:"4",y1:"10",x2:"4",y2:"3"}),f.createElement("line",{stroke:o,x1:"12",y1:"21",x2:"12",y2:"12"}),f.createElement("line",{stroke:o,x1:"12",y1:"8",x2:"12",y2:"3"}),f.createElement("line",{stroke:o,x1:"20",y1:"21",x2:"20",y2:"16"}),f.createElement("line",{stroke:o,x1:"20",y1:"12",x2:"20",y2:"3"}),f.createElement("line",{stroke:o,x1:"1",y1:"14",x2:"7",y2:"14"}),f.createElement("line",{stroke:o,x1:"9",y1:"8",x2:"15",y2:"8"}),f.createElement("line",{stroke:o,x1:"17",y1:"16",x2:"23",y2:"16"})))},St=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,fe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M3 4h18l-7 10v5l-4 2v-7L3 4z"})))},_t=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Ee);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},Mt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,je);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Ht=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,xe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),f.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})))},Tt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ye);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M12 1a4 4 0 0 0-4 4v6a4 4 0 0 0 8 0V5a4 4 0 0 0-4-4z"}),f.createElement("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),f.createElement("line",{stroke:o,x1:"12",y1:"19",x2:"12",y2:"23"}),f.createElement("line",{stroke:o,x1:"8",y1:"23",x2:"16",y2:"23"})))},Wt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ze);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},Bt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ce);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),f.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})))},Lt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,we);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Rt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ke);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{fill:r?o:"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"})," "))},Ft=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ie);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Vt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Oe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Pt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Se);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Dt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,_e);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("circle",{cx:"12",cy:"12",r:"10"}),f.createElement("polyline",{points:"12 6 12 12 16 14"})))},At=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,Me);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.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"}),f.createElement("circle",{cx:"12",cy:"13",r:"4"})))},Gt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,He);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Ut=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Te);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Nt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,We);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),f.createElement("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})))},Kt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Be);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},qt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Le);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"}),f.createElement("path",{d:"M9 15l3 -3l3 3"}),f.createElement("path",{d:"M12 12l0 9"})))},Zt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Re);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Yt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Fe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Jt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Ve);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(!0,o,a)),f.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"})))},Qt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Pe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"12",y1:"5",x2:"12",y2:"19"}),f.createElement("line",{stroke:o,x1:"5",y1:"12",x2:"19",y2:"12"})))},Xt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,De);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},$t=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Ae);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},eo=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ge);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"12",y1:"20",x2:"12",y2:"8"}),f.createElement("polyline",{points:"6 12 12 6 18 12"})))},to=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ue);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("circle",{cx:"12",cy:"12",r:"10",strokeOpacity:"0.25"}),f.createElement("path",{d:"M12 2a10 10 0 0 1 10 10",strokeOpacity:"1"})))},oo=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,Ne);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),f.createElement("line",{stroke:o,x1:"16",y1:"2",x2:"16",y2:"6"}),f.createElement("line",{stroke:o,x1:"8",y1:"2",x2:"8",y2:"6"}),f.createElement("line",{stroke:o,x1:"3",y1:"10",x2:"21",y2:"10"})))},ro={__proto__:null,ChevronIcon:Ze,DragHandleIcon:Ye,FileIcon:Je,VideoIcon:Qe,ImageIcon:Xe,TwitterIcon:$e,XIcon:et,TwitchIcon:tt,CloseIcon:ot,InstagramIcon:rt,YoutubeIcon:at,FacebookIcon:it,LinkedinIcon:nt,ThreadsIcon:lt,MinusIcon:st,InfoIcon:ct,PlayIcon:dt,PauseIcon:mt,HeartIcon:ut,StarIcon:ht,SaveIcon:gt,WarningIcon:pt,BatteryIcon:bt,BookmarkIcon:vt,CloudIcon:ft,CopyIcon:Et,DustBinIcon:jt,EditIcon:xt,ErrorIcon:yt,DownloadIcon:zt,MenuIcon:Ct,ShareIcon:wt,RefreshIcon:kt,PrintIcon:It,PanelIcon:Ot,FilterIcon:St,HomeIcon:_t,LocationIcon:Mt,LockIcon:Ht,MicrophoneIcon:Tt,MoonIcon:Wt,NotificationIcon:Bt,OpenEyeIcon:Lt,ProfileIcon:Rt,SettingsIcon:Ft,SuccessIcon:Vt,UnLikeIcon:Pt,ClockIcon:Dt,CameraIcon:At,BluetoothIcon:Gt,LikeIcon:Ut,UnlockIcon:Nt,WifiIcon:Kt,UploadIcon:qt,SearchIcon:Zt,CloseEyeIcon:Yt,ExternalLinkIcon:Jt,PlusIcon:Qt,TickIcon:Xt,BoldArrowIcon:$t,ArrowIcon:eo,SpinnerIcon:to,CalendarIcon:oo},ao={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"}}},io=e=>{var t,{icon:o,title:r,styles:a,description:i,variant:n="default"}=e;return f.createElement(H,Object.assign({gap:15,borderRadius:10,borderWidth:1,borderStyle:"solid",padding:16,flexWrap:"nowrap"},null==a?void 0:a.container),f.createElement(E,{alignSelf:"center"},o||f.createElement(pt,{size:24,color:null!=(t=null==a?void 0:a.icon.color)?t:ao[n].content.color})),f.createElement(S,{gap:10},f.createElement(k,Object.assign({fontSize:"16px",color:ao[n].content.color},null==a?void 0:a.title),r),f.createElement(k,Object.assign({fontSize:"14px",color:ao[n].content.color},null==a?void 0:a.description),i)))},no=["ratio","children"],lo=e=>{var{ratio:t=16/9,children:o}=e,r=j(e,no);return f.createElement(B,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/t*100+"%",borderRadius:8},r),f.createElement(E,{position:"absolute",top:0,right:0,bottom:0,left:0},o))},so=["ratio","children"],co={xs:24,sm:32,md:48,lg:64,xl:80},mo=e=>{var{src:t,size:o="md",fallback:r="IM",styles:i,imageError:n,setImageError:l,onClick:s=(()=>{})}=e,c=co[o],d=Object.assign({objectFit:"cover"},(null==i?void 0:i.image)||{});return f.createElement(B,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)",onClick:s},null==i?void 0:i.container),n?f.createElement(k,Object.assign({size:o},null==i?void 0:i.fallback),r):f.createElement(a.Image,{alt:"IM",src:t,style:d,width:c,height:c,onError:()=>l(!0)}))},uo={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"}},ho={sharp:0,rounded:4,pillShaped:24},go={"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"}},po=e=>{var{content:t,position:o,shape:r="pillShaped",colorScheme:a="theme.primary",variant:i="filled",size:n="md",styles:l}=e,s=Object.assign({width:"fit-content",borderRadius:ho[r]},uo[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],o?go[o]:{},null==l?void 0:l.container);return f.createElement(B,Object.assign({role:"badge"},s),f.createElement(k,Object.assign({role:"badgeText",size:n},null==l?void 0:l.text),t))},bo={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},vo=["children","to","iconSize","underline","isHovered","isExternal","styles","setIsHovered"],fo=e=>{var{children:t,to:o="/",iconSize:r="sm",underline:i="default",isHovered:n=!1,isExternal:l=!1,styles:c={icon:{},text:{}},setIsHovered:d=(()=>{})}=e,m=j(e,vo),u=()=>{"hover"===i&&d(!0)};return f.createElement(s.Link,{to:o,target:l?"_blank":"_self"},f.createElement(a.Element,Object.assign({onMouseEnter:u,onMouseLeave:u,textDecoration:n||"underline"===i?"underline !important":"none"},c.text,m),f.createElement(H,{gap:3,alignItems:"center",flexWrap:"nowrap"},t,l&&f.createElement(Jt,{size:bo[r]}))))},Eo=e=>{var t=(()=>{var[e,t]=o.useState(!1);return{isHovered:e,setIsHovered:t}})();return f.createElement(fo,Object.assign({},t,e))},jo={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}},xo={sharp:0,rounded:4,pillShaped:24},yo={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}},zo={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},Co={fast:50,normal:100,slow:300},wo=["size","speed","color","themeMode"],ko=["size","speed","color","themeMode"],Io=["size","speed","color","themeMode"],Oo=["size","children","textColor","loaderColor","type","speed","textPosition"],So=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,l=j(e,wo),{getColor:s,themeMode:c}=a.useTheme(),d=s(i,n||c),m="number"==typeof t?t:zo[t],[u,h]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{h(e=>e+45)},Co[r]);return()=>clearInterval(e)},[r]),f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:m+"px",height:m+"px",viewBox:"0 0 24 24",fill:"none",stroke:d,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+u+"deg)"}},l),f.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),f.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),f.createElement("g",{id:"SVGRepo_iconCarrier"},f.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},_o=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,l=j(e,ko),{getColor:s,themeMode:c}=a.useTheme(),d=s(i,n||c),m="number"==typeof t?t:zo[t],[u,h]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{h(e=>e+45)},Co[r]);return()=>clearInterval(e)},[r]),f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:m+"px",height:m+"px",style:{transform:"rotate("+u+"deg)"}},l),f.createElement("circle",{cx:"10",cy:"25",r:"4",fill:d}),f.createElement("circle",{cx:"25",cy:"25",r:"4",fill:d}),f.createElement("circle",{cx:"40",cy:"25",r:"4",fill:d}))},Mo=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,l=j(e,Io),{getColor:s,themeMode:c}=a.useTheme(),d=s(i,n||c),m="number"==typeof t?t:zo[t],[u,h]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{h(e=>e+45)},Co[r]);return()=>clearInterval(e)},[r]),f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:m+"px",height:m+"px",style:{transform:"rotate("+u+"deg)"}},l),f.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:d,strokeWidth:"5",strokeDasharray:"1,10"}))},Ho=e=>{var{size:t,children:o,textColor:r,loaderColor:a,type:i="default",speed:n="normal",textPosition:l="right"}=e,s=j(e,Oo),c={size:t,speed:n,color:a},d={default:f.createElement(So,Object.assign({},c)),dotted:f.createElement(_o,Object.assign({},c)),quarter:f.createElement(Mo,Object.assign({},c))};return f.createElement(B,Object.assign({gap:10,flexDirection:"top"===l||"bottom"===l?"column":"row"},s),("left"===l||"top"===l)&&o&&f.createElement(E,{color:r},o),d[i],("right"===l||"bottom"===l)&&o&&f.createElement(E,{color:r},o))},To=e=>f.createElement(Ho,Object.assign({},e)),Wo=["icon","shadow","children","ariaLabel","to","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","colorScheme","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered","isExternal","themeMode","containerProps","linkProps"],Bo=require("contrast"),Lo=e=>{var t,{icon:o,shadow:r,children:i,ariaLabel:n,to:l,isAuto:s=!1,isFilled:c=!1,isIconRounded:d=!1,isLoading:m=!1,isDisabled:u=!1,size:h="md",variant:g="filled",iconPosition:p="left",colorScheme:b="theme.primary",shape:v="rounded",onClick:E=(()=>{}),loaderProps:x={},loaderPosition:y="left",effect:z="default",isHovered:C,setIsHovered:w=(()=>{}),isExternal:k=!1,themeMode:I,containerProps:O,linkProps:S}=e,_=j(e,Wo),{getColor:M,themeMode:T}=a.useTheme(),W=e=>w(e),B=!(u||m),L={disabled:!B},R=B?b:"theme.disabled",F=C&&"hover"===z,V=C&&"reverse"===z,P="light"==Bo(M(R,I||T)),D=jo[h],A={filled:{backgroundColor:V?"transparent":R,color:V?P?"white":R:P?R:"white",borderWidth:1,borderStyle:"solid",borderColor:V?R:"transparent"},outline:{backgroundColor:V?R:"transparent",borderWidth:1,borderStyle:"solid",borderColor:V?R:b,color:V?"white":R},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:V?R:"transparent",color:R,textDecoration:V?"none":"underline"},ghost:{backgroundColor:V?R:"transparent",color:V?"white":R,borderWidth:1,borderStyle:"solid",borderColor:V?R:"transparent"}}[g],G={width:!0===s?"fit-content":c?"100%":D.width},U=d?yo[h]:jo[h],N=f.createElement(H,{gap:10},m&&"left"===y&&f.createElement(To,Object.assign({},x)),o&&"left"===p&&!m&&f.createElement(a.View,Object.assign({},C?{animate:a.Animation.jackInTheBox({})}:{}),o),i,o&&"right"===p&&!m&&f.createElement(a.View,Object.assign({},C?{animate:a.Animation.jackInTheBox({})}:{}),o),m&&"right"===y&&f.createElement(To,Object.assign({},x)));return f.createElement(a.Element,Object.assign({gap:8,as:"button",border:"none",color:"color.white",display:"flex",alignItems:"center",justifyContent:"center","aria-label":n,backgroundColor:R,borderRadius:xo[v],onClick:null!=(t=_.onClick)?t:E,onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),cursor:B?"pointer":"default",filter:F?"brightness(0.85)":"brightness(1)"},F&&!_.isDisabled?{transition:"transform 0.3s ease",transform:"translateY(-5px)"}:{},L,D,A,G,_.padding||_.paddingHorizontal||_.paddingVertical||_.paddingLeft||_.paddingRight||_.paddingTop||_.paddingBottom?{}:U,r,_,O),"link"===g&&l?f.createElement(Eo,Object.assign({to:l,textDecorationColor:b,colorScheme:b,isExternal:k},S),N):N)},Ro=e=>{var{isHovered:t,setIsHovered:o}=(()=>{var[e,t]=f.useState(!1);return{isHovered:e,setIsHovered:t}})(),r=()=>o(!t);return f.createElement(Lo,Object.assign({isHovered:t,setIsHovered:o,onMouseEnter:r,onMouseLeave:r},e))},Fo=["src","color","themeMode"],Vo=["path"],Po=e=>{var{placeholder:t,isMulti:o,options:r}=e,a=t?o?[]:"":Array.isArray(r)&&r.length>0?r[0].value:"",[i,n]=f.useState(!0),[l,s]=f.useState(!1),[c,d]=f.useState(!1),[m,u]=f.useState(a),[h,g]=f.useState(0);return{value:m,setValue:u,hide:i,setHide:n,isHovered:l,setIsHovered:s,isFocused:c,setIsFocused:d,highlightedIndex:h,setHighlightedIndex:g}},Do=["children","styles"],Ao=e=>{var{children:t,styles:o={helperText:{}}}=e,r=j(e,Do);return f.createElement(k,Object.assign({size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.text.dark"},o.helperText,r),t)},Go=["children","helperText","error","styles"],Uo=e=>{var{children:t,helperText:o,error:r=!1,styles:a}=e,i=j(e,Go);return f.createElement(S,Object.assign({gap:5,position:"relative"},i),t,!r&&o&&f.createElement(Ao,Object.assign({},a),o),r&&f.createElement(k,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},r))},No={default:{borderRadius:0},sharp:{borderRadius:0},rounded:{borderRadius:4},pillShaped:{borderRadius:24}},Ko={xs:6,sm:8,md:10,lg:12,xl:14},qo={outline:{borderWidth:1},default:{borderWidth:0,borderBottomWidth:1},none:{border:"none",backgroundColor:"transparent"}},Zo={paddingTop:14,paddingBottom:0,paddingLeft:16,paddingRight:16},Yo={paddingTop:10,paddingBottom:4,paddingLeft:16,paddingRight:16},Jo=["label","shadow","children","value","size","shape","variant","error","isWithLabel","isFocused","isHovered","isDisabled","isReadOnly","colorScheme","styles"],Qo=e=>{var{shadow:t,children:o,size:r="md",shape:i="default",variant:n="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,p=j(e,Jo);return f.createElement(H,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:a.Typography.fontSizes[r],cursor:m?"not-allowed":u?"auto":"pointer"},s?Zo:Yo,t,No[i],qo[n],g.box,p),o)},Xo=["children"],$o=e=>{var{children:t}=e,o=j(e,Xo);return f.createElement(B,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},o),t)},er={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}},tr=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],or=e=>{var{children:t,heading:o,isItalic:r=!1,isUnderlined:i=!1,isStriked:n=!1,weight:l="normal",size:s="sm"}=e,c=j(e,tr);return f.createElement(a.Element,Object.assign({as:"label",width:"100%",fontSize:s,fontStyle:r?"italic":"normal",fontWeight:a.Typography.fontWeights[l],textDecoration:n?"line-through":i?"underline":"none"},o?er[o]:{},c),t)},rr=e=>f.createElement(or,Object.assign({},e)),ar=["children","size","error","color","styles","helperText"],ir=e=>{var{children:t,size:o="md",error:r=!1,color:a="theme.primary",styles:i={label:{}}}=e,n=j(e,ar);return f.createElement(rr,Object.assign({top:6,zIndex:1e3,lineHeight:Ko[o],letterSpacing:.25,whiteSpace:"noWrap",position:"absolute",color:r?"error":a,fontSize:Ko[o]},i.label,n),t)},nr=["children"],lr=e=>{var{children:t}=e,o=j(e,nr);return f.createElement(S,Object.assign({width:"100%",maxWidth:"100%"},o),t)},sr={xs:8,sm:10,md:12,lg:14,xl:16},cr=["isHovered","setIsHovered","option","size","callback","style"],dr=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],mr=["option","size","removeOption"],ur=["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"],hr=e=>{var{isHovered:t,setIsHovered:o,option:r,size:i="md",callback:n=(()=>{}),style:l}=e,s=j(e,cr),c=()=>o(!t);return f.createElement(a.Element,Object.assign({as:"li",margin:0,paddingVertical:10,paddingHorizontal:12,listStyleType:"none",onMouseEnter:c,onMouseLeave:c,onClick:()=>(e=>n(e))(r.value),backgroundColor:t?"trueGray.100":"transparent"},s),f.createElement(k,Object.assign({fontSize:a.Typography.fontSizes[i]},l),r.label))},gr=e=>{var t,{size:o="md",styles:r={field:{},text:{}},value:i,isDisabled:n,placeholder:l,removeOption:s=(()=>{}),options:c}=e,d=Object.assign({margin:0,width:"95%",heigth:"100%",border:"none",paddingVertical:8,paddingHorizontal:0,fontSize:a.Typography.fontSizes[o],backgroundColor:"transparent",color:n?"color.trueGray.600":"color.blueGray.700",cursor:n?"not-allowed":"auto"},r.field,r.text),m=c.length>0&&c.find(e=>e.value===i);return f.createElement(k,Object.assign({},d),(""===i||Array.isArray(i)&&0===i.length)&&l?l:f.createElement(f.Fragment,null,"string"==typeof i?null!=(t=m&&m.label)?t:i:Array.isArray(i)&&i.length>0?f.createElement(H,{gap:6},i.map(e=>f.createElement(vr,{key:e,option:e,removeOption:s}))):f.createElement("span",null,i)))},pr=e=>{var{id:t,name:o,value:r,onChange:i,isMulti:n=!1,isDisabled:l=!1,isReadOnly:s=!1,options:c=[]}=e,d=j(e,dr);return f.createElement(a.Element,Object.assign({id:t,name:o,as:"select",opacity:0,width:0,height:0,position:"absolute",value:r,disabled:l,readOnly:s,onChange:e=>{i&&i(e)},multiple:n},d),c.length>0&&c.map(e=>f.createElement("option",{key:e.value,value:e.value},e.label)))},br=e=>{var{size:t,styles:o={dropDown:{}},options:r,callback:i=(()=>{}),highlightedIndex:n,setHighlightedIndex:l}=e,s=(()=>{var[e,t]=f.useState(!1);return{isHovered:e,setIsHovered:t}})(),c=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 f.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,o.dropDown),r.length>0&&r.map((e,r)=>f.createElement(hr,Object.assign({key:e.value,size:t,style:o.text,option:e,callback:c,backgroundColor:r===n?"color.gray.100":"transparent",onMouseEnter:()=>l(r)},s))))},vr=e=>{var{option:t,size:o="md",removeOption:r=(()=>{})}=e,i=j(e,mr);return f.createElement(H,Object.assign({gap:10,padding:6,borderRadius:4,alignItems:"center",fontSize:a.Typography.fontSizes[o],backgroundColor:"color.trueGray.300",onClick:e=>e.stopPropagation()},i),f.createElement(k,{size:o},t),f.createElement(ot,{role:"close-button",color:"inherit",size:sr[o],onClick:()=>r(t)}))},fr=e=>{var{id:t,name:r,label:a,value:i,placeholder:n,helperText:l,hide:s=!1,error:c=!1,isMulti:d=!1,isFocused:m=!1,isHovered:u=!1,isDisabled:h=!1,isReadOnly:g=!1,options:p=[],shadow:b={},size:v="md",colorScheme:E="theme.primary",shape:x="default",variant:y="default",styles:z={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:C=(()=>{}),setHide:w=(()=>{}),setValue:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:O=(()=>{}),setHighlightedIndex:S,highlightedIndex:_}=e,M=j(e,ur),H=!(!m||!a),T=()=>I(!u),W=o.useCallback(e=>{w(!s),d&&Array.isArray(i)?!i.includes(e)&&k([...i,e]):k(e),C&&C(e)},[s,d,i]);return f.createElement(Uo,{role:"SelectBox",helperText:l,error:c,styles:z,onClick:h||g?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),w(!s),O(!m)}},f.createElement(Qo,{label:a,size:v,error:c,shape:x,styles:z,shadow:b,variant:y,value:i,color:E,isHovered:u,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:H,colorScheme:E,onMouseEnter:T,onMouseLeave:T},f.createElement(lr,null,H&&f.createElement(ir,Object.assign({htmlFor:t,color:E,error:c},z),a),f.createElement(pr,Object.assign({id:t,name:r,options:p,onChange:C,value:i,isDisabled:h,isReadOnly:g,isMulti:d,onFocus:()=>O(!0)},M)),f.createElement(gr,{options:p,size:v,styles:z,value:i,isDisabled:h,placeholder:n,removeOption:e=>{if(Array.isArray(i)&&i.includes(e)){var t=i.filter(t=>t!==e);k(0===t.length?[]:t)}}})),f.createElement($o,null,!g&&!h&&f.createElement(f.Fragment,null,f.createElement(Ze,s?{color:"inherit",size:sr[v],style:z.icon,orientation:"down"}:{color:"inherit",orientation:"up",size:sr[v],style:z.icon})))),!s&&f.createElement(br,{size:v,styles:z,options:p,callback:W,highlightedIndex:_,setHighlightedIndex:S}))},Er=e=>{var{isDisabled:t,isChecked:o}=e,[r,a]=f.useState(!1),[i,n]=f.useState(t?!t:o);return{isHovered:r,setIsHovered:a,on:i,setOn:n}},jr={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}},xr={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}},yr={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}},zr=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","colorScheme","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","styles"],Cr=e=>f.createElement(a.Input,Object.assign({type:"checkbox"},e)),wr=e=>{var{id:t,name:o,label:r,inActiveChild:a,activeChild:i,labelPosition:n="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:p,onChange:b,setValue:v=(()=>{}),setIsHovered:x=(()=>{}),styles:y={slider:{},circle:{},label:{}}}=e,z=j(e,zr),C=()=>x(!m),w={container:Object.assign({gap:10,display:"flex",height:"fit-content",width:"fit-content",cursor:u?"not-allowed":h?"default":"pointer"},y.label)};return f.createElement(rr,Object.assign({htmlFor:t,onMouseEnter:C,onMouseLeave:C},w.container,z),f.createElement(Cr,Object.assign({id:t,name:o,opacity:0,width:0,height:0,checked:d,onChange:e=>{h||(v(!d),p(!g),b&&b(e.target.checked))},disabled:u,readOnly:h},z)),"left"===n&&r&&f.createElement(E,null,r),f.createElement(E,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:i?"space-between":d?"flex-end":"flex-start"},l,yr[s],xr[s],y.slider),i&&d&&f.createElement(E,null,i),f.createElement(E,Object.assign({borderRadius:"50%",backgroundColor:"white"},jr[s],y.circle)),a&&!d&&f.createElement(E,null,a)),"right"===n&&r&&f.createElement(E,null,r))},kr=e=>{var{label:t,placeholder:r,value:a}=e,[i,n]=o.useState(null!=t?t:r),[l,s]=o.useState(!1),[c,d]=o.useState(a||""),[m,u]=o.useState(!1);return o.useMemo(()=>{n(m&&!c?null!=r?r:"":null!=t?t:r)},[c,m,t,r]),{hint:i,setHint:n,isHovered:l,setIsHovered:s,value:c,setValue:d,isFocused:m,setIsFocused:u}},Ir=["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"],Or=e=>{var{id:t,name:o,hint:r,error:i,value:n,label:l,shadow:s,helperText:c,size:d="sm",shape:m="default",variant:u="default",colorScheme:h="theme.primary",isHovered:g=!1,isFocused:p=!1,isEditable:b=!1,isReadOnly:v=!1,isDisabled:E=!1,isAutoFocus:x=!1,isMultiline:y=!1,maxRows:z=3,maxCols:C=30,onBlur:w=(()=>{}),onChange:k,onFocus:I,onChangeText:O,setHint:S=(()=>{}),setValue:_=(()=>{}),setIsFocused:M=(()=>{}),setIsHovered:H=(()=>{}),styles:T={box:{},text:{},label:{},helperText:{},field:{}}}=e,W=j(e,Ir),B=!(!p||!l),L=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:E?"color.trueGray.600":"color.blueGray.700",cursor:E?"not-allowed":"auto"},T.field),R=()=>H(!g),F=e=>{"string"==typeof e?(_(e),O&&O(e),k&&k(e)):(_(e.target.value),O&&O(e.target.value),k&&k(e.target.value))};return f.createElement(Uo,{helperText:c,error:i,styles:T},f.createElement(Qo,{label:l,size:d,error:i,shape:m,styles:T,shadow:s,variant:u,value:n,color:h,isHovered:g,isDisabled:E,isReadOnly:v,isFocused:p,isWithLabel:B,colorScheme:h,onMouseEnter:R,onMouseLeave:R},f.createElement(lr,null,B&&f.createElement(ir,Object.assign({htmlFor:t,color:h,error:i},T),l),f.createElement(a.Element,Object.assign({as:"textarea",id:t,name:o,rows:z,cols:C,value:n,readOnly:v,disabled:E,autoFocus:x,editable:b,placeholder:r,onBlur:e=>{w(e),M(!1)},onFocus:()=>{M(!0),I&&I()},multiline:y},L,W,{onChange:F,onChangeText:F})))))},Sr=e=>{var{label:t,placeholder:r,value:a}=e,[i,n]=o.useState(null!=t?t:r),[l,s]=o.useState(!1),[c,d]=o.useState(!1),[m,u]=o.useState(a);return o.useMemo(()=>{n(l&&!m?null!=r?r:"":null!=t?t:r)},[m,l,t,r]),{hint:i,setHint:n,isFocused:l,setIsFocused:s,isHovered:c,setIsHovered:d,setValue:u,value:m}},_r=["id","name","label","hint","value","onChange","left","right","helperText","placeholder","onChangeText","shadow","styles","size","shape","variant","colorScheme","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur","themeMode"],Mr=e=>f.createElement(a.Input,Object.assign({type:"text"},e)),Hr=e=>{var{id:t,name:o,label:r,hint:i,value:n,onChange:l,left:s,right:c,helperText:d,onChangeText:m,shadow:u={},styles:h={box:{},field:{},label:{},helperText:{},text:{}},size:g="md",shape:p="default",variant:b="default",colorScheme:v="theme.primary",error:E=!1,isFocused:x=!1,isHovered:y=!1,isDisabled:z=!1,isReadOnly:C=!1,isClearable:w=!0,isAutoFocus:k=!1,setHint:I=(()=>{}),setIsFocused:O=(()=>{}),setIsHovered:S=(()=>{}),setValue:_=(()=>{}),onClick:M=(()=>{}),onFocus:H,onBlur:T=(()=>{}),themeMode:W}=e,B=j(e,_r),{getColor:L,themeMode:R}=a.useTheme(),F=L("color.blueGray.700",W||R),V=!(!x||!r),P=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),D=()=>S(!y);return f.createElement(Uo,{helperText:d,error:E,styles:h},f.createElement(Qo,{label:r,size:g,error:E,shape:p,styles:h,shadow:u,variant:b,value:n,color:v,isHovered:y,isDisabled:z,isReadOnly:C,isFocused:x,isWithLabel:V,colorScheme:v,onMouseEnter:D,onMouseLeave:D},s,f.createElement(lr,null,V&&f.createElement(ir,Object.assign({htmlFor:t,color:v,error:E},h),r),f.createElement(Mr,Object.assign({id:t,name:o,readOnly:C,disabled:z,autoFocus:k,placeholder:i,onFocus:()=>{O(!0),H&&H()},onBlur:e=>{T&&T(e),O(!1)},autoComplete:"off"},P,B,{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}))),w&&n&&!C&&!z&&f.createElement($o,null,f.createElement(ot,{size:a.Typography.fontSizes[g],color:F,onClick:()=>{_(""),l&&(T({target:{name:o}}),m&&m(""),l&&l("")),"undefined"==typeof document&&m&&m("")}})),c))},Tr=e=>{var{defaultIsSelected:t=!1}=e,[o,r]=f.useState(!1),[a,i]=f.useState(t);return{isHovered:o,setIsHovered:r,isSelected:a,setIsSelected:i}},Wr={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}},Br={xs:6,sm:12,md:18,lg:24,xl:30,"2xl":36,"3xl":42,"4xl":48,"5xl":54,"6xl":60},Lr=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","colorScheme","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","styles","infoText","helperText"],Rr=e=>{var{id:t,icon:o,label:r,isChecked:i,onChange:n,onValueChange:l,shadow:s={},labelPosition:c="right",size:d="md",colorScheme:m="theme.primary",error:u=!1,isSelected:h=!1,isHovered:g=!1,isDisabled:p=!1,isReadOnly:b=!1,isIndeterminate:v=!1,defaultIsSelected:E=!1,setIsSelected:x=(()=>{}),setIsHovered:y=(()=>{}),styles:z={checkbox:{},label:{}},infoText:C}=e,w=j(e,Lr),I=()=>y(!g),O={container:Object.assign({gap:10,display:"flex",height:"fit-content",flexDirection:"column",width:"fit-content",color:u?"theme.error":p?"theme.disabled":"color.blueGray.700",cursor:p?"not-allowed":b?"default":"pointer"},z.label),checkbox:Object.assign({},p?{backgroundColor:"theme.disabled"}:(i||h)&&!v||v?{backgroundColor:m}:{borderWidth:2,borderColor:u?"theme.error":g?"color.gray.500":"color.gray.300",borderStyle:"solid"},{borderRadius:3},g?{filter:"brightness(0.9)"}:{},Wr[d],s,z.checkbox)};return f.createElement(rr,Object.assign({htmlFor:t,as:"div",onClick:()=>{b||p||(x&&x(!h),n&&n(!i),l&&l(!i))},onMouseEnter:I,onMouseLeave:I,size:a.Typography.fontSizes[d]},O.container,w),f.createElement(S,{gap:8},f.createElement(H,{gap:10,alignItems:"center"},"left"===c&&r&&f.createElement(k,Object.assign({size:d},null==z?void 0:z.label),r),f.createElement(B,Object.assign({},O.checkbox),v?f.createElement(st,{size:Br[d],color:"white"}):(i||h)&&(null!=o?o:f.createElement(Xt,{size:Br[d],color:"white"}))),"right"===c&&r&&f.createElement(k,Object.assign({size:d},null==z?void 0:z.label),r)),C&&f.createElement(k,Object.assign({marginLeft:"left"===c?0:27,color:"color.gray.400",size:"sm"},null==z?void 0:z.infoText),C)),u&&f.createElement(k,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},u))},Fr=[{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"}],Vr=e=>{var{placeholder:t}=e,[o,r]=f.useState(Fr),[a,i]=f.useState(null!=t?t:Fr[0].name),[n,l]=f.useState(!0),[s,c]=f.useState(!1),[d,m]=f.useState(!1);return{hide:n,setHide:l,newOptions:o,setNewOptions:r,isHovered:d,setIsHovered:m,isFocused:s,setIsFocused:c,value:a,setValue:i}},Pr={xs:8,sm:10,md:12,lg:14,xl:16},Dr=["size"],Ar=["size"],Gr=["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","themeMode"],Ur=e=>{var t=j(e,Dr);return f.createElement(a.Element,Object.assign({as:"ul"},t))},Nr=e=>f.createElement(a.Input,Object.assign({type:"country"},e)),Kr=e=>{var t=j(e,Ar);return f.createElement(a.Element,Object.assign({as:"li"},t))},qr=e=>{var{option:t,size:r="md",callback:i=(()=>{}),styles:n={text:{}}}=e,[l,s]=o.useState(!1),c=()=>s(!l);return f.createElement(Kr,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(),i(t)},fontSize:a.Typography.fontSizes[r],backgroundColor:l?"trueGray.100":"transparent"},n.text),t)},Zr=e=>{var{size:t,styles:o={dropDown:{}},options:r,callback:a=(()=>{})}=e,i=e=>a(e);return f.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"},o.dropDown),r.map(e=>f.createElement(qr,Object.assign({key:e.code,size:t,option:e.name,callback:i},o.text))))},Yr=e=>{var{id:t,name:o,label:r,value:i,placeholder:n,helperText:l,hide:s=!1,error:c=!1,isHovered:d=!1,isFocused:m=!1,isAutoFocus:u=!1,isDisabled:h=!1,isReadOnly:g=!1,shadow:p={},newOptions:b=[],size:v="md",variant:E="default",shape:x="default",colorScheme:y="theme.primary",onChange:z,onBlur:C=(()=>{}),setHide:w=(()=>{}),setNewOptions:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:O=(()=>{}),setValue:S=(()=>{}),styles:_={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}},themeMode:M}=e,H=j(e,Gr),{getColor:T,themeMode:W}=a.useTheme(),B=T("color.blueGray.700",M||W),L=()=>I(!d),R=!(!m||!r),F=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:a.Typography.fontSizes[v],backgroundColor:"transparent",color:h?"color.trueGray.600":"color.blueGray.700",cursor:h?"not-allowed":"auto"},_.field);return f.createElement(Uo,{helperText:l,error:c,styles:_,onClick:()=>{h||g||w(!s)}},f.createElement(Qo,{label:r,size:v,error:c,shape:x,styles:_,shadow:p,variant:E,value:i,color:y,isHovered:d,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:R,colorScheme:y,onMouseEnter:L,onMouseLeave:L},f.createElement(lr,null,R&&f.createElement(ir,Object.assign({htmlFor:t,color:y,error:c},_),r),f.createElement(Nr,Object.assign({id:t,name:o,placeholder:n,readOnly:g,disabled:h,autoFocus:u,onBlur:e=>{C(e),O(!1)},onFocus:()=>O(!0)},F,H,{value:i,onChange:e=>{var t=e.target.value,o=Fr.filter(e=>e.name.toLowerCase().startsWith(t.toLowerCase()));s&&w(!1),k(o),z&&z(t)}}))),f.createElement($o,null,f.createElement(Ze,s?{orientation:"down",size:Pr[v],color:B,style:_.icon}:{orientation:"up",size:Pr[v],color:B,style:_.icon}))),!s&&f.createElement(Zr,{size:v,styles:_,options:b,callback:e=>{w(!s),S(e),z&&z(e)}}))},Jr=()=>{var[e,t]=f.useState(!1),[o,r]=f.useState(!1),[a,i]=f.useState(u(new Date,"yyyy-MM-dd"));return{date:a,setDate:i,isHovered:e,setIsHovered:t,isFocused:o,setIsFocused:r}},Qr=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","colorScheme","styles","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],Xr=e=>f.createElement(a.Input,Object.assign({type:"date"},e)),$r=e=>{var{id:t,name:o,label:r,date:i,helperText:n,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:p=!1,isDisabled:b=!1,isReadOnly:v=!1,setDate:E=(()=>{}),setIsFocused:x=(()=>{}),setIsHovered:y=(()=>{}),onChange:z,onChangeText:C}=e,w=j(e,Qr),k=!(!p||!r),I=()=>y(!g),O=e=>{"string"==typeof e?(E(e),C&&C(e)):(E(e.target.value),z&&z(e.target.value))},S=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:a.Typography.fontSizes[s],backgroundColor:"transparent",color:b?"color.trueGray.600":"color.blueGray.700",cursor:b?"not-allowed":v?"auto":"pointer"},u.field);return f.createElement(Uo,{helperText:n,error:h,styles:u},f.createElement(Qo,{label:r,size:s,error:h,shape:d,styles:u,shadow:l,variant:c,value:i,color:m,isHovered:g,isDisabled:b,isReadOnly:v,isFocused:p,isWithLabel:k,colorScheme:m,onMouseEnter:I,onMouseLeave:I},f.createElement(lr,null,k&&f.createElement(ir,Object.assign({htmlFor:t,color:m,error:h},u),r),f.createElement(Xr,Object.assign({id:t,name:o,onFocus:()=>x(!0),disabled:b,readOnly:v},S,w,C&&{onChangeText:O},{onChange:O})))))},ea=e=>{var t=Sr(e),[r,a]=o.useState(!1);return Object.assign({isVisible:r,setIsVisible:a},e,t)},ta=["visibleIcon","hiddenIcon"],oa=["isVisible","setIsVisible"],ra=(e,t,r)=>{var[a,i]=o.useState(e),[n,l]=o.useState(t?{value:t,label:t}:e[0]),[s,c]=o.useState(0),[d,m]=o.useState(null!=r?r:""),[u,h]=o.useState(!1);return{filteredItems:a,setFilteredItems:i,selectedItem:n,setSelectedItem:l,highlightedIndex:s,setHighlightedIndex:c,searchQuery:d,setSearchQuery:m,isDropdownVisible:u,setIsDropdownVisible:h}},aa=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","styles","isDropdownVisible","setIsDropdownVisible"],ia=e=>{var{placeholder:t,items:r,showTick:a=!0,onSelect:i,searchEnabled:n=!0,left:l,right:s,label:c,filteredItems:d,setSelectedItem:m,selectedItem:u,highlightedIndex:h,setHighlightedIndex:g,searchQuery:p,setSearchQuery:b,setFilteredItems:v,styles:x,isDropdownVisible:y,setIsDropdownVisible:z}=e,C=j(e,aa);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&z(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),f.createElement(H,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},C),c&&f.createElement(k,{styles:null==x?void 0:x.label,htmlFor:C.id},c),f.createElement(E,{position:"relative"},f.createElement(H,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),f.createElement(H,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>z(!y)},null==x?void 0:x.labelContainer),l,f.createElement(k,Object.assign({weight:"medium",flexGrow:1},null==x?void 0:x.label),u.label)),s,y&&f.createElement(E,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),n&&f.createElement(Hr,{id:C.id,name:C.name,width:"100%",type:"search",value:p,onChange:e=>(e=>{if(b(e),""===e)v(r);else{var t=r.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()));v(t)}g(0)})(e),hint:t,isClearable:!1,left:f.createElement(Zt,{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&&f.createElement(E,{margin:0,padding:4},d.map((e,t)=>f.createElement(H,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:t===h?"color.gray.100":"transparent",onMouseEnter:()=>g(t),onClick:()=>(e=>{m(e),null==i||i(e),z(!1)})(e)},null==x?void 0:x.item),f.createElement(k,null,e.label),f.createElement(f.Fragment,null,e.icon&&e.icon,e.value===u.value&&a&&!e.icon&&f.createElement(Xt,{size:20})))))))))},na=["id","name","items","placeholder","searchPlaceholder"],la=["children","autoFocus","initFocus","onChange"],sa=o.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),ca=["name","type"],da=e=>{var{name:t,type:r}=e,a=j(e,ca),i=o.useContext(sa),{touched:n,errors:l,submitCount:s,values:c,setFieldTouched:d,setFieldValue:m}=h.useFormikContext(),u=e=>{"Enter"===e.key&&(e.preventDefault(),i.focusNextInput(t))},g=["text","password","email","digits"].includes(r),p=h.getIn(n,t)||s>0?h.getIn(l,t):void 0,b=h.getIn(c,t);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:b,error:p,onBlur:()=>{d(t,!0)},onKeyPress:u},g?{onChangeText:e=>{m(t,e),null==a.onChangeText||a.onChangeText(e)}}:{onChange:e=>{m(t,e),null==a.onChange||a.onChange(e)}},i.active?{handleKeyPress:u}:{})},ma=["value"],ua=["value"],ha=["visibleIcon","hiddenIcon"],ga=["isVisible","setIsVisible"],pa=["items","placeholder","searchPlaceholder"],ba=v.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,styles:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(t,o,r,a,i,n,l,s,c){return void 0===o&&(o=""),void 0===r&&(r=""),e({visible:!0,variant:t,title:o,subtitle:r,isClosable:a,styles:i,action:n,actionText:l,showIcon:s,timeout:c})},hide:()=>e({visible:!1})})),va=(e,t,o,r)=>{ba.getState().show(e,t,o,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)},fa=()=>{ba.getState().hide()},Ea={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"}}},ja=e=>{var t,r,{variant:a,hide:i,title:n,subtitle:l,theme:s,action:c,actionText:d,showIcon:m=!1,isClosable:u=!1,timeout:h=3e3,styles:g}=e;o.useEffect(()=>{if(h&&!u){var e=setTimeout(()=>{i()},h);return()=>{clearTimeout(e)}}},[]);var p=null!=s?s:Ea,b=!(!c||!d),v={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+p[a].container.border},j={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[a],x={info:f.createElement(ct,Object.assign({size:24,color:j},null==g?void 0:g.icon)),success:f.createElement(Vt,Object.assign({size:24,color:j},null==g?void 0:g.icon)),warning:f.createElement(pt,Object.assign({size:24,color:j},null==g?void 0:g.icon)),error:f.createElement(yt,Object.assign({size:24,color:j},null==g?void 0:g.icon))}[a],y=m&&x;return f.createElement(H,Object.assign({role:"messageContent",gap:16,width:400,flexWrap:"nowrap",position:"relative",alignItems:"center",padding:"14px 24px 14px 14px",color:""+p[a].content.color,backgroundColor:""+p[a].container.backgroundColor,onClick:u?()=>{}:()=>{i()}},v,null==g?void 0:g.container),y&&x,f.createElement(S,{gap:8,width:"100%"},f.createElement(k,Object.assign({size:"md",weight:"semiBold"},null==g?void 0:g.title),n),l&&f.createElement(k,Object.assign({size:"sm"},null==g?void 0:g.subtitle),l)),b&&f.createElement(k,Object.assign({marginRight:10,onClick:c,padding:"6px 10px",whiteSpace:"nowrap"},v,null==g?void 0:g.actionText),d),u&&f.createElement(E,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{i()}},null==g||null==(t=g.closingIcon)?void 0:t.container),f.createElement(ot,Object.assign({size:18,color:j},null==g||null==(r=g.closingIcon)?void 0:r.icon))))},xa=(e,t)=>{var o=document.createElement("video");o.preload="metadata",o.onloadedmetadata=()=>{o.currentTime=1},o.oncanplay=()=>{var e=document.createElement("canvas");e.width=o.videoWidth,e.height=o.videoHeight;var r=e.getContext("2d");if(r){r.drawImage(o,0,0,e.width,e.height);var a=e.toDataURL("image/jpeg");t(a)}URL.revokeObjectURL(o.src)},o.src=URL.createObjectURL(e)},ya=e=>{var{maxSize:t=104857600,onFileSelect:r,validateFile:a,thumbnail:i,onError:n=(e=>{va("error","Error",e)})}=e,l=o.useRef(null),s=o.useRef(null),[c,d]=o.useState(null),[m,u]=o.useState(null),[h,g]=o.useState(null),[p,b]=o.useState(i||null),v=o.useCallback(e=>{var o,i=null==(o=e.target.files)?void 0:o[0];if(u(null),!i)return n("No file selected"),void u("No file selected");if(i.size>t)return n("File exceeds "+Math.round(t/1048576)+"MB."),void u("File exceeds "+Math.round(t/1048576)+"MB.");if(a){var l=a(i);if(l)return n(l),void u(l)}g(URL.createObjectURL(i)),i.type.startsWith("video/")&&xa(i,b),r&&(d(i),r(i))},[t,r,a]);return o.useEffect(()=>()=>{h&&URL.revokeObjectURL(h),p&&URL.revokeObjectURL(p)},[h,p]),{previewUrl:h,thumbnailUrl:p,errorMessage:m,fileInputRef:l,videoRef:s,selectedFile:c,handleFileChange:v,handleClick:()=>{var e;return null==(e=l.current)?void 0:e.click()}}},za=v.create(e=>({modals:[],onHide:e=>e,onShow:(e,t)=>({name:e,props:t}),show:function(t,o,r){void 0===o&&(o={}),void 0===r&&(r={}),e(e=>Object.assign({},e,{modals:[...e.modals,{name:t,props:Object.assign({},o,{isVisible:!0}),overlayProps:r}]}))},hide:t=>{e(e=>t?Object.assign({},e,{modals:e.modals.filter(e=>e.name!==t)}):{modals:[]})},setOnHide:t=>{e(e=>Object.assign({},e,{onHide:t}))},setOnShow:t=>{e(e=>Object.assign({},e,{onShow:t}))}})),Ca=e=>{console.log("hideModal",e),za.getState().onHide(e),za.getState().hide("string"==typeof e?e:void 0)},wa={sharp:{borderRadius:0},rounded:{borderRadius:4}},ka={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center"},right:{justifyContent:"flex-end",alignItems:"center"},bottom:{justifyContent:"center",alignItems:"flex-end"},left:{alignItems:"center"}},Ia={xs:12,sm:16,md:20,lg:24,xl:28},Oa=["children","blur","isOpen","isClosePrevented","onClose","position"],Sa=["children","shadow","isFullScreen","shape"],_a=["children","buttonColor","iconSize","buttonPosition"],Ma=["children"],Ha=["children"],Ta=e=>{var{children:t,blur:o,isOpen:r=!1,isClosePrevented:a=!1,onClose:i=(()=>{}),position:n="center"}=e,l=j(e,Oa),s=()=>{a||i()};return f.createElement(B,{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:s,visibility:r?"visible":"hidden"},f.createElement(E,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:o?"blur("+o+"px)":void 0,onClick:s},ka[n],l),t))},Wa=e=>{var{children:t}=e;return f.createElement(f.Fragment,null,t)};Wa.Overlay=Ta,Wa.Container=e=>{var{children:t,shadow:o,isFullScreen:r=!1,shape:a="rounded"}=e,i=j(e,Sa),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 f.createElement(S,Object.assign({cursor:"default",backgroundColor:"white",width:r?"100%":600,height:r?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()}},o||n,wa[a],i),t)},Wa.Header=e=>{var{children:t,buttonColor:o="theme.primary",iconSize:r="md",buttonPosition:a="right"}=e,i=j(e,_a),n=f.createElement(Ro,{onClick:i.onClose?i.onClose:Ca,colorScheme:"transparent",icon:f.createElement(ot,{size:Ia[r],color:o}),padding:0,margin:0,filter:"none",width:0});return f.createElement(H,Object.assign({justifyContent:"none"===a?"center":"space-between",alignItems:"center",paddingVertical:15,paddingHorizontal:20},i),"left"===a&&n,t,"right"===a&&n)},Wa.Body=e=>{var{children:t}=e,o=j(e,Ma);return f.createElement(E,Object.assign({paddingVertical:15,paddingHorizontal:20},{borderBottomWidth:2,borderTopWidth:2,borderColor:"rgba(250, 250, 250, 1)",borderStyle:"solid"},o),t)},Wa.Footer=e=>{var{children:t}=e,o=j(e,Ha);return f.createElement(H,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:15,paddingHorizontal:20},o),t)},Wa.Layout=e=>{var{modals:t,onShow:r,onHide:a}=e,i=za(e=>e.modals);return r&&za.getState().setOnShow(r),a&&za.getState().setOnHide(a),0===i.length?null:f.createElement(o.Fragment,null,i.map((e,o)=>{var r=t[e.name];return r?f.createElement(Ta,Object.assign({key:o,isOpen:e.props.isVisible,onClose:()=>Ca(e.name),blur:5},e.overlayProps,{style:{zIndex:1e3+o}}),f.createElement(r,Object.assign({},e.props))):(console.error(e.name+" modal doesn't exist"),null)}))};var Ba={},La=f.createContext({styles:Ba,onRowClick:()=>{}}),Ra=e=>{var{children:t,styles:o=Ba,onRowClick:r}=e;return f.createElement(La.Provider,{value:{styles:o,onRowClick:r}},t)},Fa=()=>f.useContext(La),Va=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"table",borderCollapse:"collapse"},t.table,e))},Pa=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"thead",borderBottom:"0.5px solid #ddd",textAlign:"left",color:"color.gray.400"},t.thead,e))},Da=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"th",padding:"14px",whiteSpace:"nowrap",fontWeight:"500"},t.th,e))},Aa=e=>{var{styles:t,onRowClick:o}=Fa();return f.createElement(a.Element,Object.assign({as:"tr"},t.tr,{onClick:o},e))},Ga=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"td",padding:"14px",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"400":"300"},t.td,e))},Ua=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"tbody"},t.tbody,e))},Na=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"tfoot"},t.tfoot,e))},Ka=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"caption",margin:"10px 0",color:"color.gray.400"},t.caption,e))},qa=e=>{var{children:t,styles:o,onClick:r}=e;return f.createElement(Ra,{styles:o,onRowClick:r},t)};qa.Head=Pa,qa.HeadCell=Da,qa.Body=Ua,qa.Row=Aa,qa.Cell=Ga,qa.Footer=Na,qa.Caption=Ka,qa.Container=Va,qa.Template=e=>{var{data:t,columns:o,footer:r,caption:a}=e;return f.createElement(Va,{role:"Table"},a&&f.createElement(Ka,null,a),f.createElement(Pa,null,f.createElement(Aa,null,o.map(e=>f.createElement(Da,{key:e.field},e.title)))),f.createElement(Ua,null,t.map((e,t)=>f.createElement(Aa,{key:t},o.map((t,o)=>f.createElement(Ga,{key:t.field,isFirstColumn:0===o},e[t.field]))))),r&&f.createElement(Na,null,f.createElement(Aa,null,r.map((e,t)=>f.createElement(Ga,Object.assign({key:t},e.props),e.value)))))};var Za=e=>{var{tabs:t,styles:o,isActive:r,setIsActive:a,tabsState:i,setTabsState:n,renderTab:l,renderContent:s}=e,c=e=>e.value===i[0].value;return f.createElement(S,Object.assign({width:"100%",height:"100%"},null==o?void 0:o.container),f.createElement(H,Object.assign({},null==o?void 0:o.headerTabs),t.map((e,i)=>l?l(e,c(e),i):f.createElement(Ro,Object.assign({key:e.title,onClick:()=>{(e=>{var o=[...t],r=o.splice(e,1);o.unshift(r[0]),n(o),a(o[0])})(i)},variant:r.value===e.value?"filled":"ghost",shape:"pillShaped",cursor:"pointer",isAuto:!0,margin:10},null==o?void 0:o.tab,r.value===e.value?null==o?void 0:o.activeTab:{}),f.createElement(k,Object.assign({},null==o?void 0:o.title,r.value===e.value?null==o?void 0:o.activeText:{}),e.title)))),f.createElement(E,Object.assign({width:"100%",height:"100%"},null==o?void 0:o.content),i.map(s||((e,t)=>c(e)&&f.createElement(E,{key:t},e.content)))))},Ya=f.memo(e=>{var{tabs:t,styles:r}=e,{isActive:a,setIsActive:i,tabsState:n,setTabsState:l}=(e=>{var[t,r]=o.useState(e[0]),[a,i]=o.useState(e);return{isActive:t,setIsActive:r,tabsState:a,setTabsState:i}})(t);return f.createElement(Za,{tabs:t,styles:r,isActive:a,tabsState:n,setTabsState:l,setIsActive:i})}),Ja={sharp:0,rounded:4,pillShaped:24},Qa=["children","shape","colorScheme","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle"],Xa=e=>{var{children:t,shape:o="rounded",colorScheme:r="color.trueGray.400",variant:a="ghost",isHovered:i,setIsHovered:n,isDisabled:l,isToggle:s,setIsToggled:c,onToggle:d}=e,m=j(e,Qa),u=l?"theme.disabled":r,h=!(!s&&!i);return f.createElement(B,Object.assign({role:"Toggle",padding:"pillShaped"===o?"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:Ja[o],onClick:()=>{l||c(e=>{var t=!e;return d&&d(t),t})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:r},link:{borderWidth:1,borderStyle:"solid",borderColor:h?u:"transparent",textDecoration:"underline"},ghost:{}}[a],m),t)},$a=["children","shape","colorScheme","variant","isDisabled","isToggled","onToggle"],ei=e=>{var{children:t,shape:r,colorScheme:a,variant:i,isDisabled:n,isToggled:l=!1,onToggle:s}=e,c=j(e,$a),{isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h}=(e=>{var[t,r]=o.useState(!1),[a,i]=o.useState(e);return{isHovered:t,setIsHovered:r,isToggle:a,setIsToggled:i}})(l);return o.useEffect(()=>{h(l)},[l]),f.createElement(Xa,Object.assign({shape:r,colorScheme:a,variant:i,isDisabled:n,isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h,onToggle:s},c),t)},ti=e=>{var{items:t,onToggleChange:r,activeToggles:a,setActiveToggles:i,shape:n="rounded",variant:l="ghost",colorScheme:s="color.trueGray.400"}=e,c=o.useCallback((e,t)=>{i(o=>{var a;return a=t?o.includes(e)?o:[...o,e]:o.filter(t=>t!==e),null==r||r(a),a})},[r,i]);return f.createElement(H,{role:"ToggleGroup",display:"flex",gap:5},t.map(e=>f.createElement(ei,{role:"toggle-"+e.id,key:e.id,colorScheme:s,shape:n,variant:l,isToggled:a.includes(e.id)||e.isActive,onToggle:t=>c(e.id,t),isDisabled:e.isDisabled},e.value)))},oi=e=>{var{items:t,renderItem:o,containerProps:r,itemProps:i,draggedIndex:n,itemRefs:l,handleDragStart:s}=e;return f.createElement(a.View,Object.assign({overflow:"hidden",position:"relative"},r),t.map((e,t)=>f.createElement(a.View,Object.assign({key:t,ref:e=>l.current[t]=e,onMouseDown:e=>s(e,t),onTouchStart:e=>s(e,t),position:"relative",cursor:"grab",transition:"transform 0.2s",backgroundColor:n===t?"color.gray.100":"transparent"},i),o?o(e,t):e)))},ri=e=>{var{items:t,draggedIndex:r,itemRefs:a,handleDragStart:i}=(e=>{var{items:t,onChange:r}=e,[a,i]=o.useState(t),[n,l]=o.useState(null),[s,c]=o.useState(null),d=o.useRef({x:0,y:0}),m=o.useRef([]),u=o.useCallback((e,t)=>{e.preventDefault(),document.body.style.cursor="grabbing",d.current={x:"touches"in e?e.touches[0].clientX:e.clientX,y:"touches"in e?e.touches[0].clientY:e.clientY},c(t),l(a[t])},[a]),h=o.useCallback(e=>{if(null!==s){var t="touches"in e?e.touches[0].clientX:e.clientX,o="touches"in e?e.touches[0].clientY:e.clientY,n=m.current[s];if(n){n.style.transform="translate("+(t-d.current.x)+"px, "+(o-d.current.y)+"px)",n.style.zIndex="1000";var l=m.current.findIndex((e,t)=>{if(!e||t===s)return!1;var r=e.getBoundingClientRect();return o>=r.top&&o<=r.bottom});if(-1!==l&&l!==s){var u=[...a],[h]=u.splice(s,1);u.splice(l,0,h),i(u),c(l),null==r||r(u),d.current={x:t,y:o}}}}},[s,a,r]),g=o.useCallback(()=>{document.body.style.cursor="",m.current.forEach(e=>{e&&(e.style.transform="",e.style.zIndex="")}),c(null),l(null)},[s]);return o.useEffect(()=>(null!==s&&(window.addEventListener("mousemove",h),window.addEventListener("touchmove",h),window.addEventListener("mouseup",g),window.addEventListener("touchend",g)),()=>{window.removeEventListener("mousemove",h),window.removeEventListener("touchmove",h),window.removeEventListener("mouseup",g),window.removeEventListener("touchend",g)}),[s,h,g]),{items:a,draggedItem:n,draggedIndex:s,itemRefs:m,handleDragStart:u}})(e);return f.createElement(oi,Object.assign({},e,{items:t,draggedIndex:r,itemRefs:a,handleDragStart:i}))},ai=ri;e.Alert=e=>{var{icon:t,title:o,styles:r,description:a,variant:i}=e;return f.createElement(io,{icon:t,title:o,styles:r,description:a,variant:i})},e.ArrowIcon=eo,e.AspectRatio=e=>{var{ratio:t,children:o}=e,r=j(e,so);return f.createElement(lo,Object.assign({ratio:t},r),o)},e.Avatar=e=>{var{src:t,size:r,styles:a,fallback:i,onClick:n}=e,{imageError:l,setImageError:s}=(()=>{var[e,t]=o.useState(!1);return{imageError:e,setImageError:t}})();return f.createElement(mo,{src:t,size:r,styles:a,fallback:i,imageError:l,setImageError:s,onClick:n})},e.Badge=e=>{var{content:t,shape:o,colorScheme:r,position:a,variant:i,size:n,styles:l}=e;return f.createElement(po,{content:t,shape:o,colorScheme:r,position:a,variant:i,size:n,styles:l})},e.BatteryIcon=bt,e.BluetoothIcon=Gt,e.BoldArrowIcon=$t,e.BookmarkIcon=vt,e.Bottom=e=>f.createElement(a.View,Object.assign({marginTop:"auto"},e)),e.Button=Ro,e.CalendarIcon=oo,e.CameraIcon=At,e.Center=B,e.CenterBase=W,e.Checkbox=e=>{var t=Tr(e);return f.createElement(Rr,Object.assign({},t,e))},e.ChevronIcon=Ze,e.ClockIcon=Dt,e.CloseEyeIcon=Yt,e.CloseIcon=ot,e.CloudIcon=ft,e.ComboBox=e=>{var{id:t,name:o,items:r,placeholder:a,searchPlaceholder:i}=e,n=j(e,na),l=ra(r,a,i);return f.createElement(ia,Object.assign({id:t,name:o,items:r},l,n))},e.CopyIcon=Et,e.CountryPicker=e=>{var t=Vr(e);return f.createElement(Yr,Object.assign({},t,e))},e.DatePicker=e=>{var t=Jr();return f.createElement($r,Object.assign({},t,e))},e.DownloadIcon=zt,e.DragAndDrop=ai,e.DragAndDropComponent=ri,e.DragHandleIcon=Ye,e.DustBinIcon=jt,e.EditIcon=xt,e.ErrorIcon=yt,e.ExternalLinkIcon=Jt,e.FacebookIcon=it,e.FileIcon=Je,e.FileImage=e=>{var{path:t}=e,o=j(e,Vo);return f.createElement(a.Image,Object.assign({src:t},o))},e.FileSVG=e=>{var{src:t,color:o,themeMode:r}=e,i=j(e,Fo),{getColor:n,themeMode:l}=a.useTheme(),s=o?{fill:n(o,r||l),stroke:n(o,r||l)}:{};return f.createElement(B,Object.assign({},i),f.createElement(a.Image,Object.assign({},s,{content:'url("'+t+'")',width:"100%",height:"100%"})))},e.FilterIcon=St,e.FormikCheckbox=e=>{var t=da(e),{value:o}=t,r=j(t,ma);r.isChecked=o;var a=Tr(e);return f.createElement(Rr,Object.assign({},a,r))},e.FormikComboBox=e=>{var{items:t,placeholder:o,searchPlaceholder:r}=e,a=j(e,pa),i=da(a),n=ra(t,o,r);return f.createElement(ia,Object.assign({},n,i,{onSelect:e=>{i.onChange(e)}}))},e.FormikCountryPicker=e=>{var t=da(e),o=Vr(e);return f.createElement(Yr,Object.assign({},o,t))},e.FormikDatePicker=e=>{var t=da(e),o=Jr();return f.createElement($r,Object.assign({},o,t))},e.FormikForm=e=>{var{children:t,autoFocus:r=!1,initFocus:i,onChange:n=(()=>{})}=e,l=j(e,la),s=h.useFormikContext();o.useEffect(()=>{n(s.values)},[s.values]);var c=o.useRef({}),d=o.useRef([]),m=e=>{if(r){var t,o=d.current.indexOf(e)+1;o<d.current.length?null==(t=c.current[d.current[o]])||t.focus():s.onSubmit&&s.onSubmit(s.values)}},u={active:r,focusNextInput:m,setInputRef:(e,t)=>{c.current[e]=t,d.current.includes(e)||d.current.push(e)},handleSubmitEditing:m,getReturnKeyType:e=>d.current.indexOf(e)===d.current.length-1?"done":"next"};return o.useEffect(()=>{var e;if(r)if(i&&c.current[i])null==(e=c.current[i])||e.focus();else if(d.current[0]){var t;null==(t=c.current[d.current[0]])||t.focus()}},[r,i]),f.createElement(sa.Provider,{value:u},f.createElement(a.Form,Object.assign({},l),t))},e.FormikPassword=e=>{var{visibleIcon:t=f.createElement(Lt,{size:14}),hiddenIcon:o=f.createElement(Yt,{size:14})}=e,r=j(e,ha),i=da(r),n=ea(i),{isVisible:l,setIsVisible:s}=n,c=j(n,ga);return f.createElement(Hr,Object.assign({},c,{type:l?"text":"password",isClearable:!1,right:f.createElement(a.View,{onClick:()=>{r.isDisabled||s(!l)}},l?t:o)}))},e.FormikSelect=e=>{var t=da(e);t.selected=t.value;var o=Po(e);return f.createElement(fr,Object.assign({},o,t))},e.FormikSwitch=e=>{var t=da(e),o=Er(e);return f.createElement(wr,Object.assign({},o,t))},e.FormikTextArea=e=>{var t=da(e),o=kr(e);return f.createElement(Or,Object.assign({},o,t))},e.FormikTextField=e=>{var t=da(e),o=j(Sr(e),ua);return f.createElement(Hr,Object.assign({},o,t))},e.HeartIcon=ut,e.HomeIcon=_t,e.Horizontal=H,e.HorizontalBase=M,e.Icon=ro,e.ImageIcon=Xe,e.InfoIcon=ct,e.Inline=e=>f.createElement(a.View,Object.assign({display:"inline-flex",wordBreak:"break-word"},e)),e.InstagramIcon=rt,e.Left=e=>f.createElement(a.View,Object.assign({marginRight:"auto"},e)),e.LikeIcon=Ut,e.Link=Eo,e.LinkedinIcon=nt,e.Loader=To,e.LocationIcon=Mt,e.LockIcon=Ht,e.MenuIcon=Ct,e.MessageLayout=e=>{var{container:t,theme:o,position:r="topRight"}=e,{visible:a,title:i,variant:n,subtitle:l,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h}=ba(),g={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[r],p=()=>f.createElement(ja,{variant:n,subtitle:l,show:a,title:i,theme:o,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h,hide:()=>fa()}),b=t?f.cloneElement(t,{},p()):f.createElement(E,Object.assign({position:"absolute",zIndex:1e4},g),p());return a?b:null},e.MessageView=ja,e.MicrophoneIcon=Tt,e.MinusIcon=st,e.Modal=Wa,e.MoonIcon=Wt,e.NotificationIcon=Bt,e.OpenEyeIcon=Lt,e.PanelIcon=Ot,e.Password=e=>{var{visibleIcon:t=f.createElement(Lt,{size:14}),hiddenIcon:o=f.createElement(Yt,{size:14})}=e,r=j(e,ta),i=ea(r),{isVisible:n,setIsVisible:l}=i,s=j(i,oa);return f.createElement(Hr,Object.assign({},s,{type:n?"text":"password",isClearable:!1,right:f.createElement(a.View,{onClick:()=>{r.isDisabled||l(!n)}},n?t:o)}))},e.PauseIcon=mt,e.PlayIcon=dt,e.PlusIcon=Qt,e.PrintIcon=It,e.ProfileIcon=Rt,e.RefreshIcon=kt,e.Right=e=>f.createElement(a.View,Object.assign({marginLeft:"auto"},e)),e.SaveIcon=gt,e.SearchIcon=Zt,e.Select=e=>{var t=Po(e);return f.createElement(fr,Object.assign({},t,e))},e.SettingsIcon=Ft,e.ShareIcon=wt,e.SpinnerIcon=to,e.StarIcon=ht,e.SuccessIcon=Vt,e.Switch=e=>{var t=Er(e);return f.createElement(wr,Object.assign({},t,e))},e.Table=qa,e.Tabs=Ya,e.Text=k,e.TextArea=e=>{var t=kr(e);return f.createElement(Or,Object.assign({},t,e))},e.TextField=e=>{var t=Sr(e);return f.createElement(Hr,Object.assign({},t,e))},e.ThreadsIcon=lt,e.TickIcon=Xt,e.Toggle=ei,e.ToggleGroup=e=>{var{items:t,shape:r,colorScheme:a,variant:i,onToggleChange:n}=e,{activeToggles:l,setActiveToggles:s}=(()=>{var[e,t]=o.useState([]);return{activeToggles:e,setActiveToggles:t}})();return f.createElement(ti,{items:t,shape:r,colorScheme:a,variant:i,activeToggles:l,setActiveToggles:s,onToggleChange:n})},e.Top=e=>f.createElement(a.View,Object.assign({marginBottom:"auto"},e)),e.TwitchIcon=tt,e.TwitterIcon=$e,e.UnLikeIcon=Pt,e.UnlockIcon=Nt,e.UploadIcon=qt,e.Uploader=e=>{var{accept:t="*/*",isLoading:o=!1,progress:r=0,icon:i,text:n,maxSize:l,onFileSelect:s,validateFile:c,containerProps:d,errorMessageProps:m,progressProps:u,videoProps:h,imageProps:g,iconProps:p,textProps:b,renderError:v=(e=>{var{errorMessage:t,errorMessageProps:o}=e;return f.createElement(a.Text,Object.assign({color:"red",fontSize:12,marginTop:8},o),t)}),renderText:E=(e=>{var{text:t,textProps:o}=e;return f.createElement(a.Text,Object.assign({marginTop:8},o),t)}),renderFile:j=(e=>{var{selectedFile:t,textProps:o}=e;return f.createElement(B,{marginTop:8,gap:10,flexDirection:"column"},f.createElement(a.Text,Object.assign({maxLines:2},o),t.name),f.createElement(a.Text,Object.assign({},o),"(",Math.round(t.size/1024)," KB)"))}),renderVideo:x=(e=>{var{selectedFile:t,thumbnailUrl:o,videoRef:r,videoProps:i,imageProps:n}=e;return console.log("thumbnailUrl",o),f.createElement(a.View,{width:"100%",height:"100%",position:"relative"},f.createElement(a.View,Object.assign({as:"video",width:0,height:0,src:null==t?void 0:t.name,style:{objectFit:"cover"},ref:r},i)),f.createElement(a.Image,Object.assign({src:o,alt:"Video Thumbnail",width:"100%",height:"100%",objectFit:"cover"},n)))}),renderImage:y=(e=>{var{previewUrl:t,imageProps:o}=e;return f.createElement(a.Image,Object.assign({src:t,alt:"Preview",width:"100%",height:"100%",objectFit:"cover"},o))}),renderProgress:z=(e=>{var{progress:t,progressProps:o}=e;return f.createElement(a.Horizontal,Object.assign({gap:8,alignItems:"center"},o),f.createElement(a.View,{height:4,backgroundColor:"rgba(0,0,0,0.1)",width:"100%",borderRadius:2},f.createElement(a.View,{height:4,width:t+"%",borderRadius:2})),f.createElement(a.Text,{fontSize:12},t,"%"))})}=e,{previewUrl:C,thumbnailUrl:w,errorMessage:k,videoRef:I,fileInputRef:O,selectedFile:S,handleFileChange:_,handleClick:M}=ya({accept:t,maxSize:l,onFileSelect:s,validateFile:c}),H=C&&t.includes("video")?"video":C&&t.includes("image")?"image":"file";return f.createElement(B,Object.assign({onClick:M,cursor:"pointer",border:"1px solid rgba(0,0,0,0.1)",borderRadius:8,padding:16,flexDirection:"column",overflow:"hidden",position:"relative"},d),100==r&&"image"==H&&C&&y({previewUrl:C,imageProps:g}),100==r&&"video"==H&&w&&x({thumbnailUrl:w,videoRef:I,videoProps:h,iconProps:p}),100==r&&"file"==H&&C&&j({selectedFile:S,textProps:b}),r<100&&(i||f.createElement(qt,Object.assign({size:32},p))),!S&&n&&E({text:n,textProps:b}),o&&z({progress:r,progressProps:u}),v({errorMessage:k,errorMessageProps:m}),f.createElement(a.View,{as:"input",type:"file",ref:O,onChange:_,accept:t,style:{display:"none"}}))},e.Vertical=S,e.VerticalBase=O,e.VideoIcon=Qe,e.View=E,e.WarningIcon=pt,e.WifiIcon=Kt,e.XIcon=et,e.YoutubeIcon=at,e.generateThumbnail=xa,e.hideMessage=fa,e.hideModal=Ca,e.showMessage=va,e.showModal=function(e,t,o){void 0===t&&(t={}),void 0===o&&(o={}),za.getState().show(e,t,o),za.getState().onShow(e,t)},e.useMessageStore=ba,e.useModalStore=za,e.useUpload=ya,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(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("core-js/modules/web.url.js"),require("core-js/modules/web.url.to-json.js"),require("core-js/modules/web.url-search-params.js"),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","core-js/modules/web.url.js","core-js/modules/web.url.to-json.js","core-js/modules/web.url-search-params.js","zustand"],t):t((e=e||self)["@app-studio/web"]={},0,e.React,0,e.appStudio,0,0,0,e.reactRouterDom,0,0,0,e.format,e.formik,0,0,0,e.zustand)}(this,(function(e,t,o,r,a,i,n,l,s,c,d,m,h,u,g,b,p,v){"use strict";var f="default"in o?o.default:o;h=h&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h;var E=a.View;function j(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}var x={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}},y=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","weight","size"],z=e=>{var{children:t,isSub:o,isSup:r}=e;return f.createElement(f.Fragment,null,"string"==typeof t?f.createElement(f.Fragment,null,o&&f.createElement("sup",null,t),r&&f.createElement("sup",null,t),!o&&!r&&f.createElement(f.Fragment,null,t)):t)},C=e=>{var{text:t,maxLines:r=1}=e,a=o.useRef(null),[i,n]=o.useState(t.length);o.useEffect(()=>{var e=a.current;e&&(()=>{for(var o,a=getComputedStyle(e).lineHeight,i=("normal"!==a?parseFloat(a):20)*r,l=0,s=t.length;l<=s;)o=Math.floor((l+s)/2),e.innerText=t.substring(0,o)+"...",e.offsetHeight>i?s=o-1:l=o+1;n(s)})()},[t,r]);var l=t.length>i?t.substring(0,i)+"...":t;return f.createElement("div",{ref:a},l)},w=e=>{var{children:t,heading:o,maxLines:r,isItalic:i=!1,isUnderlined:n=!1,isSub:l=!1,isSup:s=!1,isStriked:c=!1,weight:d="normal",size:m="md"}=e,h=j(e,y);return f.createElement(a.Element,Object.assign({fontSize:a.Typography.fontSizes[m],lineHeight:a.Typography.lineHeights[m],fontStyle:i?"italic":"normal",fontWeight:a.Typography.fontWeights[d],textDecoration:c?"line-through":n?"underline":"none"},l||s?{display:"inline"}:{},o?x[o]:{},h),r&&"string"==typeof t?f.createElement(C,{text:t,maxLines:r}):f.createElement(z,Object.assign({isSub:l,isSup:s},h),t))},k=e=>f.createElement(w,Object.assign({},e)),I=["justifyContent","isReversed"],O=f.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:r=!1}=e,i=j(e,I);return f.createElement(a.View,Object.assign({display:"flex",justifyContent:o,flexDirection:r?"column-reverse":"column"},i,{ref:t}))});O.displayName="Vertical";var S=O,_=["justifyContent","isReversed"],M=f.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:r=!1}=e,i=j(e,_);return f.createElement(a.View,Object.assign({display:"flex",justifyContent:o,flexDirection:r?"row-reverse":"row"},i,{ref:t}))});M.displayName="Horizontal";var T=M,H=["justifyContent","isReversed"],W=f.forwardRef((e,t)=>{var o=j(e,H);return f.createElement(a.View,Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},o,{ref:t}))});W.displayName="Center";var B=W,L=["size","color","transform","orientation","children"],R=["size","color","filled","strokeWidth"],F=["size","color","filled","strokeWidth"],V=["size","color","filled","strokeWidth"],P=["size","color","filled","strokeWidth"],D=["size","color","filled","strokeWidth"],A=["size","color","filled","strokeWidth"],G=["size","color","filled","strokeWidth"],U=["size","color","filled","strokeWidth"],N=["size","color","filled","strokeWidth"],K=["size","color","filled","strokeWidth"],q=["size","color","filled","strokeWidth"],Z=["size","color","filled","strokeWidth"],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"],te=["size","color","filled","strokeWidth"],oe=["size","color","filled","strokeWidth"],re=["size","color","filled","strokeWidth"],ae=["size","color","filled","strokeWidth"],ie=["size","color","filled","strokeWidth"],ne=["size","color","filled","strokeWidth"],le=["size","color","filled","strokeWidth"],se=["size","color","filled","strokeWidth"],ce=["size","color","filled","strokeWidth"],de=["size","color","filled","strokeWidth"],me=["size","color","strokeWidth","filled"],he=["size","color","filled","strokeWidth"],ue=["size","color","strokeWidth","filled"],ge=["size","color","filled","strokeWidth"],be=["size","color","strokeWidth","filled"],pe=["size","color","filled","strokeWidth"],ve=["size","color","strokeWidth","filled"],fe=["size","color","filled","strokeWidth"],Ee=["size","color","filled","strokeWidth"],je=["size","color","filled","strokeWidth"],xe=["size","color","filled","strokeWidth"],ye=["size","color","filled","strokeWidth"],ze=["size","color","filled","strokeWidth"],Ce=["size","color","filled","strokeWidth"],we=["size","color","filled","strokeWidth"],ke=["size","color","filled","strokeWidth"],Ie=["size","color","filled","strokeWidth"],Oe=["size","color","filled","strokeWidth"],Se=["size","color","filled","strokeWidth"],_e=["size","color","strokeWidth","filled"],Me=["size","color","strokeWidth","filled"],Te=["size","color","filled","strokeWidth"],He=["size","color","filled","strokeWidth"],We=["size","color","filled","strokeWidth"],Be=["size","color","filled","strokeWidth"],Le=["size","color","filled","strokeWidth"],Re=["size","color","filled","strokeWidth"],Fe=["size","color","filled","strokeWidth"],Ve=["size","color","filled","strokeWidth"],Pe=["size","color","filled","strokeWidth"],De=["size","color","filled","strokeWidth"],Ae=["size","color","filled","strokeWidth"],Ge=["size","color","filled","strokeWidth"],Ue=["size","color","filled","strokeWidth"],Ne=["size","color","strokeWidth","filled"],Ke=e=>{var{size:t,color:o="black",transform:r,orientation:a="up",children:i}=e,n=j(e,L);return f.createElement(B,Object.assign({size:t,lineHeight:t,color:o,display:"flex",transform:r||("left"===a?"rotate(-90deg)":"right"===a?"rotate(90deg)":"up"===a?"rotate(0deg)":"down"===a?"rotate(180deg)":"none")},n),i)},qe=(e,t,o)=>({fill:e?t:"none",stroke:e?"none":t,strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"}),Ze=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,R);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.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"})))},Ye=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,F);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("g",null,f.createElement("circle",{cx:"9",cy:"6",r:"2"}),f.createElement("circle",{cx:"9",cy:"12",r:"2"}),f.createElement("circle",{cx:"9",cy:"18",r:"2"}),f.createElement("circle",{cx:"15",cy:"6",r:"2"}),f.createElement("circle",{cx:"15",cy:"12",r:"2"}),f.createElement("circle",{cx:"15",cy:"18",r:"2"}))))},Je=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,V);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polyline",{points:"14 2 14 8 20 8",fill:"none",stroke:o,strokeWidth:a})))},Qe=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,P);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",ry:"2",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polygon",{points:"10 8 16 12 10 16 10 8",fill:r?r?"white":o:"none",stroke:r?"none":o,strokeWidth:r?0:a})))},Xe=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,D);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"2",ry:"2",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:r?r?"white":o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polyline",{points:"21 15 16 10 5 21",fill:"none",stroke:r?"white":o,strokeWidth:a})))},$e=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,A);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M22.46 6.01c-.83.37-1.72.62-2.65.74a4.6 4.6 0 0 0 2.01-2.54 9.2 9.2 0 0 1-2.91 1.11 4.54 4.54 0 0 0-7.75 4.14A12.86 12.86 0 0 1 3.15 4.47a4.54 4.54 0 0 0 1.4 6.06 4.5 4.5 0 0 1-2.06-.57v.06a4.54 4.54 0 0 0 3.64 4.45 4.61 4.61 0 0 1-2.05.08 4.54 4.54 0 0 0 4.23 3.15 9.12 9.12 0 0 1-5.64 1.94c-.37 0-.74-.02-1.1-.07A12.86 12.86 0 0 0 8.21 21c8.38 0 12.96-6.94 12.96-12.96 0-.2 0-.4-.01-.6a9.28 9.28 0 0 0 2.3-2.37z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a})))},et=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,G);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",fill:r?o:"none",stroke:o,strokeWidth:a})))},tt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,U);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",fill:r?o:"none",stroke:o,strokeWidth:r?0:a}),f.createElement("path",{d:"M14 7h2v5h-2V7zm-4 0h2v5H10V7z",fill:r?o:"none",stroke:o,strokeWidth:r?0:a})))},ot=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,N);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"18",y1:"6",x2:"6",y2:"18"}),f.createElement("line",{stroke:o,x1:"6",y1:"6",x2:"18",y2:"18"})))},rt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,K);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),f.createElement("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),f.createElement("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})))},at=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,q);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M21.8 8.001A2.8 2.8 0 0 0 19 5.2C17.793 5 12 5 12 5s-5.793 0-7 0.2a2.8 2.8 0 0 0-2.8 2.8c-0.2 1.207-0.2 3-0.2 3s0 1.793 0.2 3a2.8 2.8 0 0 0 2.8 2.8c1.207 0.2 7 0.2 7 0.2s5.793 0 7-0.2a2.8 2.8 0 0 0 2.8-2.8c0.2-1.207 0.2-3 0.2-3s0-1.793-0.2-3z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:a}),f.createElement("polygon",{points:"10 8 10 14 14 10",fill:"white",stroke:"white",strokeWidth:a})))},it=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Z);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M22 2H2v20h10v-7h-2v-3h2V9.5a4 4 0 0 1 4-4h3v3h-3a1 1 0 0 0-1 1V12h4l-1 3h-3v7h6V2z",fill:r?o:"none",stroke:o,strokeWidth:r?0:a})))},nt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Y);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24"},qe(r,o,a)),f.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),f.createElement("rect",{x:"2",y:"9",width:"4",height:"12"}),f.createElement("circle",{cx:"4",cy:"4",r:"2"})))},lt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,J);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24"},qe(r,o,a)),f.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),f.createElement("path",{d:"M19 7.5c-1.333 -3 -3.667 -4.5 -7 -4.5c-5 0 -8 2.5 -8 9s3.5 9 8 9s7 -3 7\n -5s-1 -5 -7 -5c-2.5 0 -3 1.25 -3 2.5c0 1.5 1 2.5 2.5 2.5c2.5 0 3.5 -1.5 \n 3.5 -5s-2 -4 -3 -4s-1.833 .333 -2.5 1"})))},st=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Q);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"8",y1:"12",x2:"16",y2:"12"})))},ct=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,X);return f.createElement(Ke,Object.assign({size:t,color:o},i,{"aria-label":"Information"}),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},dt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,$);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M8 5v14l11-7z"})))},mt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ee);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M6 4h4v16H6V4zm8 0h4v16h-4V4z"})))},ht=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,te);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},ut=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,oe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},gt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,re);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),f.createElement("polyline",{points:"17 21 17 13 7 13 7 21"}),f.createElement("polyline",{points:"7 3 7 8 15 8"})))},bt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ae);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"}),f.createElement("line",{stroke:o,x1:"12",y1:"6",x2:"12",y2:"13"}),f.createElement("line",{stroke:o,x1:"12",y1:"15",x2:"12",y2:"15"})))},pt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ie);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},vt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ne);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},ft=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,le);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},Et=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,se);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),f.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))},jt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ce);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},xt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,de);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},yt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!0}=e,i=j(e,me);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("circle",{cx:"12",cy:"12",r:"10"}),f.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15",stroke:a?"white":o}),f.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15",stroke:a?"white":o})))},zt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,he);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},Ct=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,ue);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("line",{stroke:o,x1:"3",y1:"12",x2:"21",y2:"12"}),f.createElement("line",{stroke:o,x1:"3",y1:"6",x2:"21",y2:"6"}),f.createElement("line",{stroke:o,x1:"3",y1:"18",x2:"21",y2:"18"})))},wt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ge);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("circle",{cx:"18",cy:"5",r:"3"}),f.createElement("circle",{cx:"6",cy:"12",r:"3"}),f.createElement("circle",{cx:"18",cy:"19",r:"3"}),f.createElement("line",{stroke:o,x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),f.createElement("line",{stroke:o,x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})))},kt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,be);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("polyline",{points:"23 4 23 10 17 10"}),f.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.13-9.36L23 10"})))},It=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,pe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},f.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"})))},Ot=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,ve);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("line",{stroke:o,x1:"4",y1:"21",x2:"4",y2:"14"}),f.createElement("line",{stroke:o,x1:"4",y1:"10",x2:"4",y2:"3"}),f.createElement("line",{stroke:o,x1:"12",y1:"21",x2:"12",y2:"12"}),f.createElement("line",{stroke:o,x1:"12",y1:"8",x2:"12",y2:"3"}),f.createElement("line",{stroke:o,x1:"20",y1:"21",x2:"20",y2:"16"}),f.createElement("line",{stroke:o,x1:"20",y1:"12",x2:"20",y2:"3"}),f.createElement("line",{stroke:o,x1:"1",y1:"14",x2:"7",y2:"14"}),f.createElement("line",{stroke:o,x1:"9",y1:"8",x2:"15",y2:"8"}),f.createElement("line",{stroke:o,x1:"17",y1:"16",x2:"23",y2:"16"})))},St=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,fe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M3 4h18l-7 10v5l-4 2v-7L3 4z"})))},_t=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Ee);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},Mt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,je);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Tt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,xe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),f.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})))},Ht=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,ye);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M12 1a4 4 0 0 0-4 4v6a4 4 0 0 0 8 0V5a4 4 0 0 0-4-4z"}),f.createElement("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),f.createElement("line",{stroke:o,x1:"12",y1:"19",x2:"12",y2:"23"}),f.createElement("line",{stroke:o,x1:"8",y1:"23",x2:"16",y2:"23"})))},Wt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ze);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},Bt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ce);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),f.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})))},Lt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,we);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Rt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,ke);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{fill:r?o:"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"})," "))},Ft=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ie);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Vt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Oe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Pt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Se);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Dt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,_e);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("circle",{cx:"12",cy:"12",r:"10"}),f.createElement("polyline",{points:"12 6 12 12 16 14"})))},At=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,Me);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.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"}),f.createElement("circle",{cx:"12",cy:"13",r:"4"})))},Gt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Te);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Ut=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,He);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Nt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,We);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),f.createElement("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})))},Kt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Be);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},qt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Le);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"}),f.createElement("path",{d:"M9 15l3 -3l3 3"}),f.createElement("path",{d:"M12 12l0 9"})))},Zt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Re);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Yt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Fe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.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"})))},Jt=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Ve);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(!0,o,a)),f.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"})))},Qt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Pe);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"12",y1:"5",x2:"12",y2:"19"}),f.createElement("line",{stroke:o,x1:"5",y1:"12",x2:"19",y2:"12"})))},Xt=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,De);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},$t=e=>{var{size:t=24,color:o="currentColor",filled:r=!0,strokeWidth:a=1}=e,i=j(e,Ae);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},eo=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ge);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("line",{stroke:o,x1:"12",y1:"20",x2:"12",y2:"8"}),f.createElement("polyline",{points:"6 12 12 6 18 12"})))},to=e=>{var{size:t=24,color:o="currentColor",filled:r=!1,strokeWidth:a=1}=e,i=j(e,Ue);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(r,o,a)),f.createElement("circle",{cx:"12",cy:"12",r:"10",strokeOpacity:"0.25"}),f.createElement("path",{d:"M12 2a10 10 0 0 1 10 10",strokeOpacity:"1"})))},oo=e=>{var{size:t=24,color:o="currentColor",strokeWidth:r=1,filled:a=!1}=e,i=j(e,Ne);return f.createElement(Ke,Object.assign({size:t,color:o},i),f.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},qe(a,o,r)),f.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),f.createElement("line",{stroke:o,x1:"16",y1:"2",x2:"16",y2:"6"}),f.createElement("line",{stroke:o,x1:"8",y1:"2",x2:"8",y2:"6"}),f.createElement("line",{stroke:o,x1:"3",y1:"10",x2:"21",y2:"10"})))},ro={__proto__:null,ChevronIcon:Ze,DragHandleIcon:Ye,FileIcon:Je,VideoIcon:Qe,ImageIcon:Xe,TwitterIcon:$e,XIcon:et,TwitchIcon:tt,CloseIcon:ot,InstagramIcon:rt,YoutubeIcon:at,FacebookIcon:it,LinkedinIcon:nt,ThreadsIcon:lt,MinusIcon:st,InfoIcon:ct,PlayIcon:dt,PauseIcon:mt,HeartIcon:ht,StarIcon:ut,SaveIcon:gt,WarningIcon:bt,BatteryIcon:pt,BookmarkIcon:vt,CloudIcon:ft,CopyIcon:Et,DustBinIcon:jt,EditIcon:xt,ErrorIcon:yt,DownloadIcon:zt,MenuIcon:Ct,ShareIcon:wt,RefreshIcon:kt,PrintIcon:It,PanelIcon:Ot,FilterIcon:St,HomeIcon:_t,LocationIcon:Mt,LockIcon:Tt,MicrophoneIcon:Ht,MoonIcon:Wt,NotificationIcon:Bt,OpenEyeIcon:Lt,ProfileIcon:Rt,SettingsIcon:Ft,SuccessIcon:Vt,UnLikeIcon:Pt,ClockIcon:Dt,CameraIcon:At,BluetoothIcon:Gt,LikeIcon:Ut,UnlockIcon:Nt,WifiIcon:Kt,UploadIcon:qt,SearchIcon:Zt,CloseEyeIcon:Yt,ExternalLinkIcon:Jt,PlusIcon:Qt,TickIcon:Xt,BoldArrowIcon:$t,ArrowIcon:eo,SpinnerIcon:to,CalendarIcon:oo},ao={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"}}},io=e=>{var t,{icon:o,title:r,styles:a,description:i,variant:n="default"}=e;return f.createElement(T,Object.assign({gap:15,borderRadius:10,borderWidth:1,borderStyle:"solid",padding:16,flexWrap:"nowrap"},null==a?void 0:a.container),f.createElement(E,{alignSelf:"center"},o||f.createElement(bt,{size:24,color:null!=(t=null==a?void 0:a.icon.color)?t:ao[n].content.color})),f.createElement(S,{gap:10},f.createElement(k,Object.assign({fontSize:"16px",color:ao[n].content.color},null==a?void 0:a.title),r),f.createElement(k,Object.assign({fontSize:"14px",color:ao[n].content.color},null==a?void 0:a.description),i)))},no=["ratio","children"],lo=e=>{var{ratio:t=16/9,children:o}=e,r=j(e,no);return f.createElement(B,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/t*100+"%",borderRadius:8},r),f.createElement(E,{position:"absolute",top:0,right:0,bottom:0,left:0},o))},so=["ratio","children"],co={xs:24,sm:32,md:48,lg:64,xl:80},mo=e=>{var{src:t,size:o="md",fallback:r="IM",styles:i,imageError:n,setImageError:l,onClick:s=(()=>{})}=e,c=co[o],d=Object.assign({objectFit:"cover"},(null==i?void 0:i.image)||{});return f.createElement(B,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)",onClick:s},null==i?void 0:i.container),n?f.createElement(k,Object.assign({size:o},null==i?void 0:i.fallback),r):f.createElement(a.Image,{alt:"IM",src:t,style:d,width:c,height:c,onError:()=>l(!0)}))},ho={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"}},uo={sharp:0,rounded:4,pillShaped:24},go={"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"}},bo=e=>{var{content:t,position:o,shape:r="pillShaped",colorScheme:a="theme.primary",variant:i="filled",size:n="md",styles:l}=e,s=Object.assign({width:"fit-content",borderRadius:uo[r]},ho[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],o?go[o]:{},null==l?void 0:l.container);return f.createElement(B,Object.assign({role:"badge"},s),f.createElement(k,Object.assign({role:"badgeText",size:n},null==l?void 0:l.text),t))},po={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},vo=["children","to","iconSize","underline","isHovered","isExternal","styles","setIsHovered"],fo=e=>{var{children:t,to:o="/",iconSize:r="sm",underline:i="default",isHovered:n=!1,isExternal:l=!1,styles:c={icon:{},text:{}},setIsHovered:d=(()=>{})}=e,m=j(e,vo),h=()=>{"hover"===i&&d(!0)};return f.createElement(s.Link,{to:o,target:l?"_blank":"_self"},f.createElement(a.Element,Object.assign({onMouseEnter:h,onMouseLeave:h,textDecoration:n||"underline"===i?"underline !important":"none"},c.text,m),f.createElement(T,{gap:3,alignItems:"center",flexWrap:"nowrap"},t,l&&f.createElement(Jt,{size:po[r]}))))},Eo=e=>{var t=(()=>{var[e,t]=o.useState(!1);return{isHovered:e,setIsHovered:t}})();return f.createElement(fo,Object.assign({},t,e))},jo={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}},xo={sharp:0,rounded:4,pillShaped:24},yo={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}},zo={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},Co={fast:50,normal:100,slow:300},wo=["size","speed","color","themeMode"],ko=["size","speed","color","themeMode"],Io=["size","speed","color","themeMode"],Oo=["size","children","textColor","loaderColor","type","speed","textPosition"],So=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,l=j(e,wo),{getColor:s,themeMode:c}=a.useTheme(),d=s(i,n||c),m="number"==typeof t?t:zo[t],[h,u]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{u(e=>e+45)},Co[r]);return()=>clearInterval(e)},[r]),f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:m+"px",height:m+"px",viewBox:"0 0 24 24",fill:"none",stroke:d,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+h+"deg)"}},l),f.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),f.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),f.createElement("g",{id:"SVGRepo_iconCarrier"},f.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},_o=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,l=j(e,ko),{getColor:s,themeMode:c}=a.useTheme(),d=s(i,n||c),m="number"==typeof t?t:zo[t],[h,u]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{u(e=>e+45)},Co[r]);return()=>clearInterval(e)},[r]),f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:m+"px",height:m+"px",style:{transform:"rotate("+h+"deg)"}},l),f.createElement("circle",{cx:"10",cy:"25",r:"4",fill:d}),f.createElement("circle",{cx:"25",cy:"25",r:"4",fill:d}),f.createElement("circle",{cx:"40",cy:"25",r:"4",fill:d}))},Mo=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,l=j(e,Io),{getColor:s,themeMode:c}=a.useTheme(),d=s(i,n||c),m="number"==typeof t?t:zo[t],[h,u]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{u(e=>e+45)},Co[r]);return()=>clearInterval(e)},[r]),f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:m+"px",height:m+"px",style:{transform:"rotate("+h+"deg)"}},l),f.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:d,strokeWidth:"5",strokeDasharray:"1,10"}))},To=e=>{var{size:t,children:o,textColor:r,loaderColor:a,type:i="default",speed:n="normal",textPosition:l="right"}=e,s=j(e,Oo),c={size:t,speed:n,color:a},d={default:f.createElement(So,Object.assign({},c)),dotted:f.createElement(_o,Object.assign({},c)),quarter:f.createElement(Mo,Object.assign({},c))};return f.createElement(B,Object.assign({gap:10,flexDirection:"top"===l||"bottom"===l?"column":"row"},s),("left"===l||"top"===l)&&o&&f.createElement(E,{color:r},o),d[i],("right"===l||"bottom"===l)&&o&&f.createElement(E,{color:r},o))},Ho=e=>f.createElement(To,Object.assign({},e)),Wo=["icon","shadow","children","ariaLabel","to","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","colorScheme","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered","isExternal","themeMode","containerProps","linkProps"],Bo=require("contrast"),Lo=e=>{var t,{icon:o,shadow:r,children:i,ariaLabel:n,to:l,isAuto:s=!1,isFilled:c=!1,isIconRounded:d=!1,isLoading:m=!1,isDisabled:h=!1,size:u="md",variant:g="filled",iconPosition:b="left",colorScheme:p="theme.primary",shape:v="rounded",onClick:E=(()=>{}),loaderProps:x={},loaderPosition:y="left",effect:z="default",isHovered:C,setIsHovered:w=(()=>{}),isExternal:k=!1,themeMode:I,containerProps:O,linkProps:S}=e,_=j(e,Wo),{getColor:M,themeMode:H}=a.useTheme(),W=e=>w(e),B=!(h||m),L={disabled:!B},R=B?p:"theme.disabled",F=C&&"hover"===z,V=C&&"reverse"===z,P="light"==Bo(M(R,I||H)),D=jo[u],A={filled:{backgroundColor:V?"transparent":R,color:V?P?"white":R:P?R:"white",borderWidth:1,borderStyle:"solid",borderColor:V?R:"transparent"},outline:{backgroundColor:V?R:"transparent",borderWidth:1,borderStyle:"solid",borderColor:V?R:p,color:V?"white":R},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:V?R:"transparent",color:R,textDecoration:V?"none":"underline"},ghost:{backgroundColor:V?R:"transparent",color:V?"white":R,borderWidth:1,borderStyle:"solid",borderColor:V?R:"transparent"}}[g],G={width:!0===s?"fit-content":c?"100%":D.width},U=d?yo[u]:jo[u],N=f.createElement(T,{gap:10},m&&"left"===y&&f.createElement(Ho,Object.assign({},x)),o&&"left"===b&&!m&&f.createElement(a.View,Object.assign({},C?{animate:a.Animation.jackInTheBox({})}:{}),o),i,o&&"right"===b&&!m&&f.createElement(a.View,Object.assign({},C?{animate:a.Animation.jackInTheBox({})}:{}),o),m&&"right"===y&&f.createElement(Ho,Object.assign({},x)));return f.createElement(a.Element,Object.assign({gap:8,as:"button",border:"none",color:"color.white",display:"flex",alignItems:"center",justifyContent:"center","aria-label":n,backgroundColor:R,borderRadius:xo[v],onClick:null!=(t=_.onClick)?t:E,onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),cursor:B?"pointer":"default",filter:F?"brightness(0.85)":"brightness(1)"},F&&!_.isDisabled?{transition:"transform 0.3s ease",transform:"translateY(-5px)"}:{},L,D,A,G,_.padding||_.paddingHorizontal||_.paddingVertical||_.paddingLeft||_.paddingRight||_.paddingTop||_.paddingBottom?{}:U,r,_,O),"link"===g&&l?f.createElement(Eo,Object.assign({to:l,textDecorationColor:p,colorScheme:p,isExternal:k},S),N):N)},Ro=e=>{var{isHovered:t,setIsHovered:o}=(()=>{var[e,t]=f.useState(!1);return{isHovered:e,setIsHovered:t}})(),r=()=>o(!t);return f.createElement(Lo,Object.assign({isHovered:t,setIsHovered:o,onMouseEnter:r,onMouseLeave:r},e))},Fo=["src","color","themeMode"],Vo=["path"],Po=e=>{var{placeholder:t,isMulti:o,options:r}=e,a=t?o?[]:"":Array.isArray(r)&&r.length>0?r[0].value:"",[i,n]=f.useState(!0),[l,s]=f.useState(!1),[c,d]=f.useState(!1),[m,h]=f.useState(a),[u,g]=f.useState(0);return{value:m,setValue:h,hide:i,setHide:n,isHovered:l,setIsHovered:s,isFocused:c,setIsFocused:d,highlightedIndex:u,setHighlightedIndex:g}},Do=["children","styles"],Ao=e=>{var{children:t,styles:o={helperText:{}}}=e,r=j(e,Do);return f.createElement(k,Object.assign({size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.text.dark"},o.helperText,r),t)},Go=["children","helperText","error","styles"],Uo=e=>{var{children:t,helperText:o,error:r=!1,styles:a}=e,i=j(e,Go);return f.createElement(S,Object.assign({gap:5,position:"relative"},i),t,!r&&o&&f.createElement(Ao,Object.assign({},a),o),r&&f.createElement(k,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},r))},No={default:{borderRadius:0},sharp:{borderRadius:0},rounded:{borderRadius:4},pillShaped:{borderRadius:24}},Ko={xs:6,sm:8,md:10,lg:12,xl:14},qo={outline:{borderWidth:1},default:{borderWidth:0,borderBottomWidth:1},none:{border:"none",backgroundColor:"transparent"}},Zo={paddingTop:14,paddingBottom:0,paddingLeft:16,paddingRight:16},Yo={paddingTop:10,paddingBottom:4,paddingLeft:16,paddingRight:16},Jo=["label","shadow","children","value","size","shape","variant","error","isWithLabel","isFocused","isHovered","isDisabled","isReadOnly","colorScheme","styles"],Qo=e=>{var{shadow:t,children:o,size:r="md",shape:i="default",variant:n="default",error:l=!1,isWithLabel:s=!1,isFocused:c=!1,isHovered:d=!1,isDisabled:m=!1,isReadOnly:h=!1,colorScheme:u="theme.primary",styles:g={pickerBox:{}}}=e,b=j(e,Jo);return f.createElement(T,Object.assign({gap:10,width:"100%",display:"flex",flexWrap:"nowrap",borderStyle:"solid",alignItems:"center",borderColor:l?"error":!d&&!c||m?"midgray":u,backgroundColor:"color.white",transition:"padding 0.2s ease",justifyContent:"space-between",marginBottom:5,fontSize:a.Typography.fontSizes[r],cursor:m?"not-allowed":h?"auto":"pointer"},s?Zo:Yo,t,No[i],qo[n],g.box,b),o)},Xo=["children"],$o=e=>{var{children:t}=e,o=j(e,Xo);return f.createElement(B,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},o),t)},er={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}},tr=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],or=e=>{var{children:t,heading:o,isItalic:r=!1,isUnderlined:i=!1,isStriked:n=!1,weight:l="normal",size:s="sm"}=e,c=j(e,tr);return f.createElement(a.Element,Object.assign({as:"label",width:"100%",fontSize:s,fontStyle:r?"italic":"normal",fontWeight:a.Typography.fontWeights[l],textDecoration:n?"line-through":i?"underline":"none"},o?er[o]:{},c),t)},rr=e=>f.createElement(or,Object.assign({},e)),ar=["children","size","error","color","styles","helperText"],ir=e=>{var{children:t,size:o="md",error:r=!1,color:a="theme.primary",styles:i={label:{}}}=e,n=j(e,ar);return f.createElement(rr,Object.assign({top:6,zIndex:1e3,lineHeight:Ko[o],letterSpacing:.25,whiteSpace:"noWrap",position:"absolute",color:r?"error":a,fontSize:Ko[o]},i.label,n),t)},nr=["children"],lr=e=>{var{children:t}=e,o=j(e,nr);return f.createElement(S,Object.assign({width:"100%",maxWidth:"100%"},o),t)},sr={xs:8,sm:10,md:12,lg:14,xl:16},cr=["isHovered","setIsHovered","option","size","callback","style"],dr=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],mr=["option","size","removeOption"],hr=["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"],ur=e=>{var{isHovered:t,setIsHovered:o,option:r,size:i="md",callback:n=(()=>{}),style:l}=e,s=j(e,cr),c=()=>o(!t);return f.createElement(a.Element,Object.assign({as:"li",margin:0,paddingVertical:10,paddingHorizontal:12,listStyleType:"none",onMouseEnter:c,onMouseLeave:c,onClick:()=>(e=>n(e))(r.value),backgroundColor:t?"trueGray.100":"transparent"},s),f.createElement(k,Object.assign({fontSize:a.Typography.fontSizes[i]},l),r.label))},gr=e=>{var t,{size:o="md",styles:r={field:{},text:{}},value:i,isDisabled:n,placeholder:l,removeOption:s=(()=>{}),options:c}=e,d=Object.assign({margin:0,width:"95%",heigth:"100%",border:"none",paddingVertical:8,paddingHorizontal:0,fontSize:a.Typography.fontSizes[o],backgroundColor:"transparent",color:n?"color.trueGray.600":"color.blueGray.700",cursor:n?"not-allowed":"auto"},r.field,r.text),m=c.length>0&&c.find(e=>e.value===i);return f.createElement(k,Object.assign({},d),(""===i||Array.isArray(i)&&0===i.length)&&l?l:f.createElement(f.Fragment,null,"string"==typeof i?null!=(t=m&&m.label)?t:i:Array.isArray(i)&&i.length>0?f.createElement(T,{gap:6},i.map(e=>f.createElement(vr,{key:e,option:e,removeOption:s}))):f.createElement("span",null,i)))},br=e=>{var{id:t,name:o,value:r,onChange:i,isMulti:n=!1,isDisabled:l=!1,isReadOnly:s=!1,options:c=[]}=e,d=j(e,dr);return f.createElement(a.Element,Object.assign({id:t,name:o,as:"select",opacity:0,width:0,height:0,position:"absolute",value:r,disabled:l,readOnly:s,onChange:e=>{i&&i(e)},multiple:n},d),c.length>0&&c.map(e=>f.createElement("option",{key:e.value,value:e.value},e.label)))},pr=e=>{var{size:t,styles:o={dropDown:{}},options:r,callback:i=(()=>{}),highlightedIndex:n,setHighlightedIndex:l}=e,s=(()=>{var[e,t]=f.useState(!1);return{isHovered:e,setIsHovered:t}})(),c=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 f.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,o.dropDown),r.length>0&&r.map((e,r)=>f.createElement(ur,Object.assign({key:e.value,size:t,style:o.text,option:e,callback:c,backgroundColor:r===n?"color.gray.100":"transparent",onMouseEnter:()=>l(r)},s))))},vr=e=>{var{option:t,size:o="md",removeOption:r=(()=>{})}=e,i=j(e,mr);return f.createElement(T,Object.assign({gap:10,padding:6,borderRadius:4,alignItems:"center",fontSize:a.Typography.fontSizes[o],backgroundColor:"color.trueGray.300",onClick:e=>e.stopPropagation()},i),f.createElement(k,{size:o},t),f.createElement(ot,{role:"close-button",color:"inherit",size:sr[o],onClick:()=>r(t)}))},fr=e=>{var{id:t,name:r,label:a,value:i,placeholder:n,helperText:l,hide:s=!1,error:c=!1,isMulti:d=!1,isFocused:m=!1,isHovered:h=!1,isDisabled:u=!1,isReadOnly:g=!1,options:b=[],shadow:p={},size:v="md",colorScheme:E="theme.primary",shape:x="default",variant:y="default",styles:z={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:C=(()=>{}),setHide:w=(()=>{}),setValue:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:O=(()=>{}),setHighlightedIndex:S,highlightedIndex:_}=e,M=j(e,hr),T=!(!m||!a),H=()=>I(!h),W=o.useCallback(e=>{w(!s),d&&Array.isArray(i)?!i.includes(e)&&k([...i,e]):k(e),C&&C(e)},[s,d,i]);return f.createElement(Uo,{role:"SelectBox",helperText:l,error:c,styles:z,onClick:u||g?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),w(!s),O(!m)}},f.createElement(Qo,{label:a,size:v,error:c,shape:x,styles:z,shadow:p,variant:y,value:i,color:E,isHovered:h,isDisabled:u,isReadOnly:g,isFocused:m,isWithLabel:T,colorScheme:E,onMouseEnter:H,onMouseLeave:H},f.createElement(lr,null,T&&f.createElement(ir,Object.assign({htmlFor:t,color:E,error:c},z),a),f.createElement(br,Object.assign({id:t,name:r,options:b,onChange:C,value:i,isDisabled:u,isReadOnly:g,isMulti:d,onFocus:()=>O(!0)},M)),f.createElement(gr,{options:b,size:v,styles:z,value:i,isDisabled:u,placeholder:n,removeOption:e=>{if(Array.isArray(i)&&i.includes(e)){var t=i.filter(t=>t!==e);k(0===t.length?[]:t)}}})),f.createElement($o,null,!g&&!u&&f.createElement(f.Fragment,null,f.createElement(Ze,s?{color:"inherit",size:sr[v],style:z.icon,orientation:"down"}:{color:"inherit",orientation:"up",size:sr[v],style:z.icon})))),!s&&f.createElement(pr,{size:v,styles:z,options:b,callback:W,highlightedIndex:_,setHighlightedIndex:S}))},Er=e=>{var{isDisabled:t,isChecked:o}=e,[r,a]=f.useState(!1),[i,n]=f.useState(t?!t:o);return{isHovered:r,setIsHovered:a,on:i,setOn:n}},jr={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}},xr={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}},yr={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}},zr=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","colorScheme","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","styles"],Cr=e=>f.createElement(a.Input,Object.assign({type:"checkbox"},e)),wr=e=>{var{id:t,name:o,label:r,inActiveChild:a,activeChild:i,labelPosition:n="right",shadow:l={},size:s="sm",colorScheme:c="theme.primary",value:d=!1,isHovered:m=!1,isDisabled:h=!1,isReadOnly:u=!1,on:g,setOn:b,onChange:p,setValue:v=(()=>{}),setIsHovered:x=(()=>{}),styles:y={slider:{},circle:{},label:{}}}=e,z=j(e,zr),C=()=>x(!m),w={container:Object.assign({gap:10,display:"flex",height:"fit-content",width:"fit-content",cursor:h?"not-allowed":u?"default":"pointer"},y.label)};return f.createElement(rr,Object.assign({htmlFor:t,onMouseEnter:C,onMouseLeave:C},w.container,z),f.createElement(Cr,Object.assign({id:t,name:o,opacity:0,width:0,height:0,checked:d,onChange:e=>{u||(v(!d),b(!g),p&&p(e.target.checked))},disabled:h,readOnly:u},z)),"left"===n&&r&&f.createElement(E,null,r),f.createElement(E,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:h?"disabled":d?c:"lightgray",justifyContent:i?"space-between":d?"flex-end":"flex-start"},l,yr[s],xr[s],y.slider),i&&d&&f.createElement(E,null,i),f.createElement(E,Object.assign({borderRadius:"50%",backgroundColor:"white"},jr[s],y.circle)),a&&!d&&f.createElement(E,null,a)),"right"===n&&r&&f.createElement(E,null,r))},kr=e=>{var{label:t,placeholder:r,value:a}=e,[i,n]=o.useState(null!=t?t:r),[l,s]=o.useState(!1),[c,d]=o.useState(a||""),[m,h]=o.useState(!1);return o.useMemo(()=>{n(m&&!c?null!=r?r:"":null!=t?t:r)},[c,m,t,r]),{hint:i,setHint:n,isHovered:l,setIsHovered:s,value:c,setValue:d,isFocused:m,setIsFocused:h}},Ir=["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"],Or=e=>{var{id:t,name:o,hint:r,error:i,value:n,label:l,shadow:s,helperText:c,size:d="sm",shape:m="default",variant:h="default",colorScheme:u="theme.primary",isHovered:g=!1,isFocused:b=!1,isEditable:p=!1,isReadOnly:v=!1,isDisabled:E=!1,isAutoFocus:x=!1,isMultiline:y=!1,maxRows:z=3,maxCols:C=30,onBlur:w=(()=>{}),onChange:k,onFocus:I,onChangeText:O,setHint:S=(()=>{}),setValue:_=(()=>{}),setIsFocused:M=(()=>{}),setIsHovered:T=(()=>{}),styles:H={box:{},text:{},label:{},helperText:{},field:{}}}=e,W=j(e,Ir),B=!(!b||!l),L=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:E?"color.trueGray.600":"color.blueGray.700",cursor:E?"not-allowed":"auto"},H.field),R=()=>T(!g),F=e=>{"string"==typeof e?(_(e),O&&O(e),k&&k(e)):(_(e.target.value),O&&O(e.target.value),k&&k(e.target.value))};return f.createElement(Uo,{helperText:c,error:i,styles:H},f.createElement(Qo,{label:l,size:d,error:i,shape:m,styles:H,shadow:s,variant:h,value:n,color:u,isHovered:g,isDisabled:E,isReadOnly:v,isFocused:b,isWithLabel:B,colorScheme:u,onMouseEnter:R,onMouseLeave:R},f.createElement(lr,null,B&&f.createElement(ir,Object.assign({htmlFor:t,color:u,error:i},H),l),f.createElement(a.Element,Object.assign({as:"textarea",id:t,name:o,rows:z,cols:C,value:n,readOnly:v,disabled:E,autoFocus:x,editable:p,placeholder:r,onBlur:e=>{w(e),M(!1)},onFocus:()=>{M(!0),I&&I()},multiline:y},L,W,{onChange:F,onChangeText:F})))))},Sr=e=>{var{label:t,placeholder:r,value:a}=e,[i,n]=o.useState(null!=t?t:r),[l,s]=o.useState(!1),[c,d]=o.useState(!1),[m,h]=o.useState(a);return o.useMemo(()=>{n(l&&!m?null!=r?r:"":null!=t?t:r)},[m,l,t,r]),{hint:i,setHint:n,isFocused:l,setIsFocused:s,isHovered:c,setIsHovered:d,setValue:h,value:m}},_r=["id","name","label","hint","value","onChange","left","right","helperText","placeholder","onChangeText","shadow","styles","size","shape","variant","colorScheme","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur","themeMode"],Mr=e=>f.createElement(a.Input,Object.assign({type:"text"},e)),Tr=e=>{var{id:t,name:o,label:r,hint:i,value:n,onChange:l,left:s,right:c,helperText:d,onChangeText:m,shadow:h={},styles:u={box:{},field:{},label:{},helperText:{},text:{}},size:g="md",shape:b="default",variant:p="default",colorScheme:v="theme.primary",error:E=!1,isFocused:x=!1,isHovered:y=!1,isDisabled:z=!1,isReadOnly:C=!1,isClearable:w=!0,isAutoFocus:k=!1,setHint:I=(()=>{}),setIsFocused:O=(()=>{}),setIsHovered:S=(()=>{}),setValue:_=(()=>{}),onClick:M=(()=>{}),onFocus:T,onBlur:H=(()=>{}),themeMode:W}=e,B=j(e,_r),{getColor:L,themeMode:R}=a.useTheme(),F=L("color.blueGray.700",W||R),V=!(!x||!r),P=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"},u.field),D=()=>S(!y);return f.createElement(Uo,{helperText:d,error:E,styles:u},f.createElement(Qo,{label:r,size:g,error:E,shape:b,styles:u,shadow:h,variant:p,value:n,color:v,isHovered:y,isDisabled:z,isReadOnly:C,isFocused:x,isWithLabel:V,colorScheme:v,onMouseEnter:D,onMouseLeave:D},s,f.createElement(lr,null,V&&f.createElement(ir,Object.assign({htmlFor:t,color:v,error:E},u),r),f.createElement(Mr,Object.assign({id:t,name:o,readOnly:C,disabled:z,autoFocus:k,placeholder:i,onFocus:()=>{O(!0),T&&T()},onBlur:e=>{H&&H(e),O(!1)},autoComplete:"off"},P,B,{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}))),w&&n&&!C&&!z&&f.createElement($o,null,f.createElement(ot,{size:a.Typography.fontSizes[g],color:F,onClick:()=>{_(""),l&&(H({target:{name:o}}),m&&m(""),l&&l("")),"undefined"==typeof document&&m&&m("")}})),c))},Hr=e=>{var{defaultIsSelected:t=!1}=e,[o,r]=f.useState(!1),[a,i]=f.useState(t);return{isHovered:o,setIsHovered:r,isSelected:a,setIsSelected:i}},Wr={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}},Br={xs:6,sm:12,md:18,lg:24,xl:30,"2xl":36,"3xl":42,"4xl":48,"5xl":54,"6xl":60},Lr=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","colorScheme","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","styles","infoText","helperText"],Rr=e=>{var{id:t,icon:o,label:r,isChecked:i,onChange:n,onValueChange:l,shadow:s={},labelPosition:c="right",size:d="md",colorScheme:m="theme.primary",error:h=!1,isSelected:u=!1,isHovered:g=!1,isDisabled:b=!1,isReadOnly:p=!1,isIndeterminate:v=!1,defaultIsSelected:E=!1,setIsSelected:x=(()=>{}),setIsHovered:y=(()=>{}),styles:z={checkbox:{},label:{}},infoText:C}=e,w=j(e,Lr),I=()=>y(!g),O={container:Object.assign({gap:10,display:"flex",height:"fit-content",flexDirection:"column",width:"fit-content",color:h?"theme.error":b?"theme.disabled":"color.blueGray.700",cursor:b?"not-allowed":p?"default":"pointer"},z.label),checkbox:Object.assign({},b?{backgroundColor:"theme.disabled"}:(i||u)&&!v||v?{backgroundColor:m}:{borderWidth:2,borderColor:h?"theme.error":g?"color.gray.500":"color.gray.300",borderStyle:"solid"},{borderRadius:3},g?{filter:"brightness(0.9)"}:{},Wr[d],s,z.checkbox)};return f.createElement(rr,Object.assign({htmlFor:t,as:"div",onClick:()=>{p||b||(x&&x(!u),n&&n(!i),l&&l(!i))},onMouseEnter:I,onMouseLeave:I,size:a.Typography.fontSizes[d]},O.container,w),f.createElement(S,{gap:8},f.createElement(T,{gap:10,alignItems:"center"},"left"===c&&r&&f.createElement(k,Object.assign({size:d},null==z?void 0:z.label),r),f.createElement(B,Object.assign({},O.checkbox),v?f.createElement(st,{size:Br[d],color:"white"}):(i||u)&&(null!=o?o:f.createElement(Xt,{size:Br[d],color:"white"}))),"right"===c&&r&&f.createElement(k,Object.assign({size:d},null==z?void 0:z.label),r)),C&&f.createElement(k,Object.assign({marginLeft:"left"===c?0:27,color:"color.gray.400",size:"sm"},null==z?void 0:z.infoText),C)),h&&f.createElement(k,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},h))},Fr=[{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"}],Vr=e=>{var{placeholder:t}=e,[o,r]=f.useState(Fr),[a,i]=f.useState(null!=t?t:Fr[0].name),[n,l]=f.useState(!0),[s,c]=f.useState(!1),[d,m]=f.useState(!1);return{hide:n,setHide:l,newOptions:o,setNewOptions:r,isHovered:d,setIsHovered:m,isFocused:s,setIsFocused:c,value:a,setValue:i}},Pr={xs:8,sm:10,md:12,lg:14,xl:16},Dr=["size"],Ar=["size"],Gr=["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","themeMode"],Ur=e=>{var t=j(e,Dr);return f.createElement(a.Element,Object.assign({as:"ul"},t))},Nr=e=>f.createElement(a.Input,Object.assign({type:"country"},e)),Kr=e=>{var t=j(e,Ar);return f.createElement(a.Element,Object.assign({as:"li"},t))},qr=e=>{var{option:t,size:r="md",callback:i=(()=>{}),styles:n={text:{}}}=e,[l,s]=o.useState(!1),c=()=>s(!l);return f.createElement(Kr,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(),i(t)},fontSize:a.Typography.fontSizes[r],backgroundColor:l?"trueGray.100":"transparent"},n.text),t)},Zr=e=>{var{size:t,styles:o={dropDown:{}},options:r,callback:a=(()=>{})}=e,i=e=>a(e);return f.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"},o.dropDown),r.map(e=>f.createElement(qr,Object.assign({key:e.code,size:t,option:e.name,callback:i},o.text))))},Yr=e=>{var{id:t,name:o,label:r,value:i,placeholder:n,helperText:l,hide:s=!1,error:c=!1,isHovered:d=!1,isFocused:m=!1,isAutoFocus:h=!1,isDisabled:u=!1,isReadOnly:g=!1,shadow:b={},newOptions:p=[],size:v="md",variant:E="default",shape:x="default",colorScheme:y="theme.primary",onChange:z,onBlur:C=(()=>{}),setHide:w=(()=>{}),setNewOptions:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:O=(()=>{}),setValue:S=(()=>{}),styles:_={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}},themeMode:M}=e,T=j(e,Gr),{getColor:H,themeMode:W}=a.useTheme(),B=H("color.blueGray.700",M||W),L=()=>I(!d),R=!(!m||!r),F=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:a.Typography.fontSizes[v],backgroundColor:"transparent",color:u?"color.trueGray.600":"color.blueGray.700",cursor:u?"not-allowed":"auto"},_.field);return f.createElement(Uo,{helperText:l,error:c,styles:_,onClick:()=>{u||g||w(!s)}},f.createElement(Qo,{label:r,size:v,error:c,shape:x,styles:_,shadow:b,variant:E,value:i,color:y,isHovered:d,isDisabled:u,isReadOnly:g,isFocused:m,isWithLabel:R,colorScheme:y,onMouseEnter:L,onMouseLeave:L},f.createElement(lr,null,R&&f.createElement(ir,Object.assign({htmlFor:t,color:y,error:c},_),r),f.createElement(Nr,Object.assign({id:t,name:o,placeholder:n,readOnly:g,disabled:u,autoFocus:h,onBlur:e=>{C(e),O(!1)},onFocus:()=>O(!0)},F,T,{value:i,onChange:e=>{var t=e.target.value,o=Fr.filter(e=>e.name.toLowerCase().startsWith(t.toLowerCase()));s&&w(!1),k(o),z&&z(t)}}))),f.createElement($o,null,f.createElement(Ze,s?{orientation:"down",size:Pr[v],color:B,style:_.icon}:{orientation:"up",size:Pr[v],color:B,style:_.icon}))),!s&&f.createElement(Zr,{size:v,styles:_,options:p,callback:e=>{w(!s),S(e),z&&z(e)}}))},Jr=()=>{var[e,t]=f.useState(!1),[o,r]=f.useState(!1),[a,i]=f.useState(h(new Date,"yyyy-MM-dd"));return{date:a,setDate:i,isHovered:e,setIsHovered:t,isFocused:o,setIsFocused:r}},Qr=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","colorScheme","styles","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],Xr=e=>f.createElement(a.Input,Object.assign({type:"date"},e)),$r=e=>{var{id:t,name:o,label:r,date:i,helperText:n,shadow:l={},size:s="md",variant:c="default",shape:d="default",colorScheme:m="theme.primary",styles:h={box:{},label:{},helperText:{},text:{},field:{}},error:u=!1,isHovered:g=!1,isFocused:b=!1,isDisabled:p=!1,isReadOnly:v=!1,setDate:E=(()=>{}),setIsFocused:x=(()=>{}),setIsHovered:y=(()=>{}),onChange:z,onChangeText:C}=e,w=j(e,Qr),k=!(!b||!r),I=()=>y(!g),O=e=>{"string"==typeof e?(E(e),C&&C(e)):(E(e.target.value),z&&z(e.target.value))},S=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:a.Typography.fontSizes[s],backgroundColor:"transparent",color:p?"color.trueGray.600":"color.blueGray.700",cursor:p?"not-allowed":v?"auto":"pointer"},h.field);return f.createElement(Uo,{helperText:n,error:u,styles:h},f.createElement(Qo,{label:r,size:s,error:u,shape:d,styles:h,shadow:l,variant:c,value:i,color:m,isHovered:g,isDisabled:p,isReadOnly:v,isFocused:b,isWithLabel:k,colorScheme:m,onMouseEnter:I,onMouseLeave:I},f.createElement(lr,null,k&&f.createElement(ir,Object.assign({htmlFor:t,color:m,error:u},h),r),f.createElement(Xr,Object.assign({id:t,name:o,onFocus:()=>x(!0),disabled:p,readOnly:v},S,w,C&&{onChangeText:O},{onChange:O})))))},ea=e=>{var t=Sr(e),[r,a]=o.useState(!1);return Object.assign({isVisible:r,setIsVisible:a},e,t)},ta=["visibleIcon","hiddenIcon"],oa=["isVisible","setIsVisible"],ra=(e,t,r)=>{var[a,i]=o.useState(e),[n,l]=o.useState(t?{value:t,label:t}:e[0]),[s,c]=o.useState(0),[d,m]=o.useState(null!=r?r:""),[h,u]=o.useState(!1);return{filteredItems:a,setFilteredItems:i,selectedItem:n,setSelectedItem:l,highlightedIndex:s,setHighlightedIndex:c,searchQuery:d,setSearchQuery:m,isDropdownVisible:h,setIsDropdownVisible:u}},aa=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","styles","isDropdownVisible","setIsDropdownVisible"],ia=e=>{var{placeholder:t,items:r,showTick:a=!0,onSelect:i,searchEnabled:n=!0,left:l,right:s,label:c,filteredItems:d,setSelectedItem:m,selectedItem:h,highlightedIndex:u,setHighlightedIndex:g,searchQuery:b,setSearchQuery:p,setFilteredItems:v,styles:x,isDropdownVisible:y,setIsDropdownVisible:z}=e,C=j(e,aa);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&z(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),f.createElement(T,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},C),c&&f.createElement(k,{styles:null==x?void 0:x.label,htmlFor:C.id},c),f.createElement(E,{position:"relative"},f.createElement(T,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),f.createElement(T,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>z(!y)},null==x?void 0:x.labelContainer),l,f.createElement(k,Object.assign({weight:"medium",flexGrow:1},null==x?void 0:x.label),h.label)),s,y&&f.createElement(E,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),n&&f.createElement(Tr,{id:C.id,name:C.name,width:"100%",type:"search",value:b,onChange:e=>(e=>{if(p(e),""===e)v(r);else{var t=r.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()));v(t)}g(0)})(e),hint:t,isClearable:!1,left:f.createElement(Zt,{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&&f.createElement(E,{margin:0,padding:4},d.map((e,t)=>f.createElement(T,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:t===u?"color.gray.100":"transparent",onMouseEnter:()=>g(t),onClick:()=>(e=>{m(e),null==i||i(e),z(!1)})(e)},null==x?void 0:x.item),f.createElement(k,null,e.label),f.createElement(f.Fragment,null,e.icon&&e.icon,e.value===h.value&&a&&!e.icon&&f.createElement(Xt,{size:20})))))))))},na=["id","name","items","placeholder","searchPlaceholder"],la=["children","autoFocus","initFocus","onChange"],sa=o.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),ca=["name","type"],da=e=>{var{name:t,type:r}=e,a=j(e,ca),i=o.useContext(sa),{touched:n,errors:l,submitCount:s,values:c,setFieldTouched:d,setFieldValue:m}=u.useFormikContext(),h=e=>{"Enter"===e.key&&(e.preventDefault(),i.focusNextInput(t))},g=["text","password","email","digits"].includes(r),b=u.getIn(n,t)||s>0?u.getIn(l,t):void 0,p=u.getIn(c,t);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:p,error:b,onBlur:()=>{d(t,!0)},onKeyPress:h},g?{onChangeText:e=>{m(t,e),null==a.onChangeText||a.onChangeText(e)}}:{onChange:e=>{m(t,e),null==a.onChange||a.onChange(e)}},i.active?{handleKeyPress:h}:{})},ma=["value"],ha=["value"],ua=["visibleIcon","hiddenIcon"],ga=["isVisible","setIsVisible"],ba=["items","placeholder","searchPlaceholder"],pa=v.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,styles:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(t,o,r,a,i,n,l,s,c){return void 0===o&&(o=""),void 0===r&&(r=""),e({visible:!0,variant:t,title:o,subtitle:r,isClosable:a,styles:i,action:n,actionText:l,showIcon:s,timeout:c})},hide:()=>e({visible:!1})})),va=(e,t,o,r)=>{pa.getState().show(e,t,o,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)},fa=()=>{pa.getState().hide()},Ea={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"}}},ja=e=>{var t,r,{variant:a,hide:i,title:n,subtitle:l,theme:s,action:c,actionText:d,showIcon:m=!1,isClosable:h=!1,timeout:u=3e3,styles:g}=e;o.useEffect(()=>{if(u&&!h){var e=setTimeout(()=>{i()},u);return()=>{clearTimeout(e)}}},[]);var b=null!=s?s:Ea,p=!(!c||!d),v={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+b[a].container.border},j={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[a],x={info:f.createElement(ct,Object.assign({size:24,color:j},null==g?void 0:g.icon)),success:f.createElement(Vt,Object.assign({size:24,color:j},null==g?void 0:g.icon)),warning:f.createElement(bt,Object.assign({size:24,color:j},null==g?void 0:g.icon)),error:f.createElement(yt,Object.assign({size:24,color:j},null==g?void 0:g.icon))}[a],y=m&&x;return f.createElement(T,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:h?()=>{}:()=>{i()}},v,null==g?void 0:g.container),y&&x,f.createElement(S,{gap:8,width:"100%"},f.createElement(k,Object.assign({size:"md",weight:"semiBold"},null==g?void 0:g.title),n),l&&f.createElement(k,Object.assign({size:"sm"},null==g?void 0:g.subtitle),l)),p&&f.createElement(k,Object.assign({marginRight:10,onClick:c,padding:"6px 10px",whiteSpace:"nowrap"},v,null==g?void 0:g.actionText),d),h&&f.createElement(E,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{i()}},null==g||null==(t=g.closingIcon)?void 0:t.container),f.createElement(ot,Object.assign({size:18,color:j},null==g||null==(r=g.closingIcon)?void 0:r.icon))))},xa=(e,t)=>{var o=document.createElement("video");o.preload="metadata",o.onloadedmetadata=()=>{o.currentTime=1},o.oncanplay=()=>{var e=document.createElement("canvas");e.width=o.videoWidth,e.height=o.videoHeight;var r=e.getContext("2d");if(r){r.drawImage(o,0,0,e.width,e.height);var a=e.toDataURL("image/jpeg");t(a)}URL.revokeObjectURL(o.src)},o.src=URL.createObjectURL(e)},ya=e=>{var{maxSize:t=104857600,onFileSelect:r,validateFile:a,thumbnail:i,onError:n=(e=>{va("error","Error",e)})}=e,l=o.useRef(null),s=o.useRef(null),[c,d]=o.useState(null),[m,h]=o.useState(null),[u,g]=o.useState(null),[b,p]=o.useState(i||null),v=o.useCallback(e=>{var o,i=null==(o=e.target.files)?void 0:o[0];if(h(null),!i)return n("No file selected"),void h("No file selected");if(i.size>t)return n("File exceeds "+Math.round(t/1048576)+"MB."),void h("File exceeds "+Math.round(t/1048576)+"MB.");if(a){var l=a(i);if(l)return n(l),void h(l)}g(URL.createObjectURL(i)),i.type.startsWith("video/")&&xa(i,p),r&&(d(i),r(i))},[t,r,a]);return o.useEffect(()=>()=>{u&&URL.revokeObjectURL(u),b&&URL.revokeObjectURL(b)},[u,b]),{previewUrl:u,thumbnailUrl:b,errorMessage:m,fileInputRef:l,videoRef:s,selectedFile:c,handleFileChange:v,handleClick:()=>{var e;return null==(e=l.current)?void 0:e.click()}}},za=v.create(e=>({modals:[],onHide:e=>e,onShow:(e,t)=>({name:e,props:t}),show:function(t,o,r){void 0===o&&(o={}),void 0===r&&(r={}),e(e=>Object.assign({},e,{modals:[...e.modals,{name:t,props:Object.assign({},o,{isVisible:!0}),overlayProps:r}]}))},hide:t=>{e(e=>t?Object.assign({},e,{modals:e.modals.filter(e=>e.name!==t)}):{modals:[]})},setOnHide:t=>{e(e=>Object.assign({},e,{onHide:t}))},setOnShow:t=>{e(e=>Object.assign({},e,{onShow:t}))}})),Ca=e=>{console.log("hideModal",e),za.getState().onHide(e),za.getState().hide("string"==typeof e?e:void 0)},wa={sharp:{borderRadius:0},rounded:{borderRadius:4}},ka={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center"},right:{justifyContent:"flex-end",alignItems:"center"},bottom:{justifyContent:"center",alignItems:"flex-end"},left:{alignItems:"center"}},Ia={xs:12,sm:16,md:20,lg:24,xl:28},Oa=["children","blur","isOpen","isClosePrevented","onClose","position"],Sa=["children","shadow","isFullScreen","shape"],_a=["children","buttonColor","iconSize","buttonPosition"],Ma=["children"],Ta=["children"],Ha=e=>{var{children:t,blur:o,isOpen:r=!1,isClosePrevented:a=!1,onClose:i=(()=>{}),position:n="center"}=e,l=j(e,Oa),s=()=>{a||i()};return f.createElement(B,{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:s,visibility:r?"visible":"hidden"},f.createElement(E,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:o?"blur("+o+"px)":void 0,onClick:s},ka[n],l),t))},Wa=e=>{var{children:t}=e;return f.createElement(f.Fragment,null,t)};Wa.Overlay=Ha,Wa.Container=e=>{var{children:t,shadow:o,isFullScreen:r=!1,shape:a="rounded"}=e,i=j(e,Sa),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 f.createElement(S,Object.assign({cursor:"default",backgroundColor:"white",width:r?"100%":600,height:r?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()}},o||n,wa[a],i),t)},Wa.Header=e=>{var{children:t,buttonColor:o="theme.primary",iconSize:r="md",buttonPosition:a="right"}=e,i=j(e,_a),n=f.createElement(Ro,{onClick:i.onClose?i.onClose:Ca,colorScheme:"transparent",icon:f.createElement(ot,{size:Ia[r],color:o}),padding:0,margin:0,filter:"none",width:0});return f.createElement(T,Object.assign({justifyContent:"none"===a?"center":"space-between",alignItems:"center",paddingVertical:15,paddingHorizontal:20},i),"left"===a&&n,t,"right"===a&&n)},Wa.Body=e=>{var{children:t}=e,o=j(e,Ma);return f.createElement(E,Object.assign({paddingVertical:15,paddingHorizontal:20},{borderBottomWidth:2,borderTopWidth:2,borderColor:"rgba(250, 250, 250, 1)",borderStyle:"solid"},o),t)},Wa.Footer=e=>{var{children:t}=e,o=j(e,Ta);return f.createElement(T,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:15,paddingHorizontal:20},o),t)},Wa.Layout=e=>{var{modals:t,onShow:r,onHide:a}=e,i=za(e=>e.modals);return r&&za.getState().setOnShow(r),a&&za.getState().setOnHide(a),0===i.length?null:f.createElement(o.Fragment,null,i.map((e,o)=>{var r=t[e.name];return r?f.createElement(Ha,Object.assign({key:o,isOpen:e.props.isVisible,onClose:()=>Ca(e.name),blur:5},e.overlayProps,{style:{zIndex:1e3+o}}),f.createElement(r,Object.assign({},e.props))):(console.error(e.name+" modal doesn't exist"),null)}))};var Ba={},La=f.createContext({styles:Ba,onRowClick:()=>{}}),Ra=e=>{var{children:t,styles:o=Ba,onRowClick:r}=e;return f.createElement(La.Provider,{value:{styles:o,onRowClick:r}},t)},Fa=()=>f.useContext(La),Va=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"table",borderCollapse:"collapse"},t.table,e))},Pa=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"thead",borderBottom:"0.5px solid #ddd",textAlign:"left",color:"color.gray.400"},t.thead,e))},Da=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"th",padding:"14px",whiteSpace:"nowrap",fontWeight:"500"},t.th,e))},Aa=e=>{var{styles:t,onRowClick:o}=Fa();return f.createElement(a.Element,Object.assign({as:"tr"},t.tr,{onClick:o},e))},Ga=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"td",padding:"14px",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"400":"300"},t.td,e))},Ua=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"tbody"},t.tbody,e))},Na=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"tfoot"},t.tfoot,e))},Ka=e=>{var{styles:t}=Fa();return f.createElement(a.Element,Object.assign({as:"caption",margin:"10px 0",color:"color.gray.400"},t.caption,e))},qa=e=>{var{children:t,styles:o,onClick:r}=e;return f.createElement(Ra,{styles:o,onRowClick:r},t)};qa.Head=Pa,qa.HeadCell=Da,qa.Body=Ua,qa.Row=Aa,qa.Cell=Ga,qa.Footer=Na,qa.Caption=Ka,qa.Container=Va,qa.Template=e=>{var{data:t,columns:o,footer:r,caption:a}=e;return f.createElement(Va,{role:"Table"},a&&f.createElement(Ka,null,a),f.createElement(Pa,null,f.createElement(Aa,null,o.map(e=>f.createElement(Da,{key:e.field},e.title)))),f.createElement(Ua,null,t.map((e,t)=>f.createElement(Aa,{key:t},o.map((t,o)=>f.createElement(Ga,{key:t.field,isFirstColumn:0===o},e[t.field]))))),r&&f.createElement(Na,null,f.createElement(Aa,null,r.map((e,t)=>f.createElement(Ga,Object.assign({key:t},e.props),e.value)))))};var Za=e=>{var{tabs:t=[],activeTab:o,handleTabClick:r,styles:a={},renderTab:i,renderContent:n}=e;return o?f.createElement(S,Object.assign({width:"100%",height:"100%"},a.container),f.createElement(T,Object.assign({},a.headerTabs),t.map(e=>{var t=e.title===o.title,n=()=>r(e);return i?i(e,t,n):f.createElement(Ro,Object.assign({key:e.title,onClick:n,borderBottomLeftRadius:0,borderBottomRightRadius:0},a.tab,t?a.activeTab:{},{variant:t?"filled":"ghost",cursor:"pointer"}),e.icon,f.createElement(k,Object.assign({},a.title,t?a.activeText:{}),e.title))})),f.createElement(E,Object.assign({width:"100%",height:"100%"},a.content),n?n(o):o.content)):null},Ya=f.memo(e=>{var{tabs:t,styles:r,initialTabValue:a,onTabChange:i,renderTab:n,renderContent:l}=e,{activeTab:s,setActiveTab:c}=((e,t)=>{var r=()=>{if(e&&0!==e.length){if(void 0!==t){var o=e.find(e=>e.title===t);if(o)return o;console.warn('Tabs: initialTabValue "'+t+'" not found in tabs. Defaulting to the first tab.')}return e[0]}},[a,i]=o.useState(r);return o.useEffect(()=>{var o=r(),n=a&&e.some(e=>e.title===a.title);o&&(!n||void 0!==t&&(null==a?void 0:a.title)!==t)?i(o):!o&&a&&i(void 0)},[e,t]),{activeTab:a,setActiveTab:i}})(t,a);return f.createElement(Za,{tabs:t,styles:r,activeTab:s,handleTabClick:e=>{(null==s?void 0:s.title)!==e.title&&(c(e),i&&i(e))},renderTab:n,renderContent:l})}),Ja={sharp:0,rounded:4,pillShaped:24},Qa=["children","shape","colorScheme","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle"],Xa=e=>{var{children:t,shape:o="rounded",colorScheme:r="color.trueGray.400",variant:a="ghost",isHovered:i,setIsHovered:n,isDisabled:l,isToggle:s,setIsToggled:c,onToggle:d}=e,m=j(e,Qa),h=l?"theme.disabled":r,u=!(!s&&!i);return f.createElement(B,Object.assign({role:"Toggle",padding:"pillShaped"===o?"10px 12px":"8px",width:"fit-content",color:u?"color.white":h,backgroundColor:u?h:"transparent",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),cursor:l?"not-allowed":"pointer",borderRadius:Ja[o],onClick:()=>{l||c(e=>{var t=!e;return d&&d(t),t})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:r},link:{borderWidth:1,borderStyle:"solid",borderColor:u?h:"transparent",textDecoration:"underline"},ghost:{}}[a],m),t)},$a=["children","shape","colorScheme","variant","isDisabled","isToggled","onToggle"],ei=e=>{var{children:t,shape:r,colorScheme:a,variant:i,isDisabled:n,isToggled:l=!1,onToggle:s}=e,c=j(e,$a),{isHovered:d,setIsHovered:m,isToggle:h,setIsToggled:u}=(e=>{var[t,r]=o.useState(!1),[a,i]=o.useState(e);return{isHovered:t,setIsHovered:r,isToggle:a,setIsToggled:i}})(l);return o.useEffect(()=>{u(l)},[l]),f.createElement(Xa,Object.assign({shape:r,colorScheme:a,variant:i,isDisabled:n,isHovered:d,setIsHovered:m,isToggle:h,setIsToggled:u,onToggle:s},c),t)},ti=e=>{var{items:t,onToggleChange:r,activeToggles:a,setActiveToggles:i,shape:n="rounded",variant:l="ghost",colorScheme:s="color.trueGray.400"}=e,c=o.useCallback((e,t)=>{i(o=>{var a;return a=t?o.includes(e)?o:[...o,e]:o.filter(t=>t!==e),null==r||r(a),a})},[r,i]);return f.createElement(T,{role:"ToggleGroup",display:"flex",gap:5},t.map(e=>f.createElement(ei,{role:"toggle-"+e.id,key:e.id,colorScheme:s,shape:n,variant:l,isToggled:a.includes(e.id)||e.isActive,onToggle:t=>c(e.id,t),isDisabled:e.isDisabled},e.value)))},oi=e=>{var{items:t,renderItem:o,containerProps:r,itemProps:i,draggedIndex:n,itemRefs:l,handleDragStart:s}=e;return f.createElement(a.View,Object.assign({overflow:"hidden",position:"relative"},r),t.map((e,t)=>f.createElement(a.View,Object.assign({key:t,ref:e=>l.current[t]=e,onMouseDown:e=>s(e,t),onTouchStart:e=>s(e,t),position:"relative",cursor:"grab",transition:"transform 0.2s",backgroundColor:n===t?"color.gray.100":"transparent"},i),o?o(e,t):e)))},ri=e=>{var{items:t,draggedIndex:r,itemRefs:a,handleDragStart:i}=(e=>{var{items:t,onChange:r}=e,[a,i]=o.useState(t),[n,l]=o.useState(null),[s,c]=o.useState(null),d=o.useRef({x:0,y:0}),m=o.useRef([]),h=o.useCallback((e,t)=>{e.preventDefault(),document.body.style.cursor="grabbing",d.current={x:"touches"in e?e.touches[0].clientX:e.clientX,y:"touches"in e?e.touches[0].clientY:e.clientY},c(t),l(a[t])},[a]),u=o.useCallback(e=>{if(null!==s){var t="touches"in e?e.touches[0].clientX:e.clientX,o="touches"in e?e.touches[0].clientY:e.clientY,n=m.current[s];if(n){n.style.transform="translate("+(t-d.current.x)+"px, "+(o-d.current.y)+"px)",n.style.zIndex="1000";var l=m.current.findIndex((e,t)=>{if(!e||t===s)return!1;var r=e.getBoundingClientRect();return o>=r.top&&o<=r.bottom});if(-1!==l&&l!==s){var h=[...a],[u]=h.splice(s,1);h.splice(l,0,u),i(h),c(l),null==r||r(h),d.current={x:t,y:o}}}}},[s,a,r]),g=o.useCallback(()=>{document.body.style.cursor="",m.current.forEach(e=>{e&&(e.style.transform="",e.style.zIndex="")}),c(null),l(null)},[s]);return o.useEffect(()=>(null!==s&&(window.addEventListener("mousemove",u),window.addEventListener("touchmove",u),window.addEventListener("mouseup",g),window.addEventListener("touchend",g)),()=>{window.removeEventListener("mousemove",u),window.removeEventListener("touchmove",u),window.removeEventListener("mouseup",g),window.removeEventListener("touchend",g)}),[s,u,g]),{items:a,draggedItem:n,draggedIndex:s,itemRefs:m,handleDragStart:h}})(e);return f.createElement(oi,Object.assign({},e,{items:t,draggedIndex:r,itemRefs:a,handleDragStart:i}))},ai=ri;e.Alert=e=>{var{icon:t,title:o,styles:r,description:a,variant:i}=e;return f.createElement(io,{icon:t,title:o,styles:r,description:a,variant:i})},e.ArrowIcon=eo,e.AspectRatio=e=>{var{ratio:t,children:o}=e,r=j(e,so);return f.createElement(lo,Object.assign({ratio:t},r),o)},e.Avatar=e=>{var{src:t,size:r,styles:a,fallback:i,onClick:n}=e,{imageError:l,setImageError:s}=(()=>{var[e,t]=o.useState(!1);return{imageError:e,setImageError:t}})();return f.createElement(mo,{src:t,size:r,styles:a,fallback:i,imageError:l,setImageError:s,onClick:n})},e.Badge=e=>{var{content:t,shape:o,colorScheme:r,position:a,variant:i,size:n,styles:l}=e;return f.createElement(bo,{content:t,shape:o,colorScheme:r,position:a,variant:i,size:n,styles:l})},e.BatteryIcon=pt,e.BluetoothIcon=Gt,e.BoldArrowIcon=$t,e.BookmarkIcon=vt,e.Bottom=e=>f.createElement(a.View,Object.assign({marginTop:"auto"},e)),e.Button=Ro,e.CalendarIcon=oo,e.CameraIcon=At,e.Center=B,e.CenterBase=W,e.Checkbox=e=>{var t=Hr(e);return f.createElement(Rr,Object.assign({},t,e))},e.ChevronIcon=Ze,e.ClockIcon=Dt,e.CloseEyeIcon=Yt,e.CloseIcon=ot,e.CloudIcon=ft,e.ComboBox=e=>{var{id:t,name:o,items:r,placeholder:a,searchPlaceholder:i}=e,n=j(e,na),l=ra(r,a,i);return f.createElement(ia,Object.assign({id:t,name:o,items:r},l,n))},e.CopyIcon=Et,e.CountryPicker=e=>{var t=Vr(e);return f.createElement(Yr,Object.assign({},t,e))},e.DatePicker=e=>{var t=Jr();return f.createElement($r,Object.assign({},t,e))},e.DownloadIcon=zt,e.DragAndDrop=ai,e.DragAndDropComponent=ri,e.DragHandleIcon=Ye,e.DustBinIcon=jt,e.EditIcon=xt,e.ErrorIcon=yt,e.ExternalLinkIcon=Jt,e.FacebookIcon=it,e.FileIcon=Je,e.FileImage=e=>{var{path:t}=e,o=j(e,Vo);return f.createElement(a.Image,Object.assign({src:t},o))},e.FileSVG=e=>{var{src:t,color:o,themeMode:r}=e,i=j(e,Fo),{getColor:n,themeMode:l}=a.useTheme(),s=o?{fill:n(o,r||l),stroke:n(o,r||l)}:{};return f.createElement(B,Object.assign({},i),f.createElement(a.Image,Object.assign({},s,{content:'url("'+t+'")',width:"100%",height:"100%"})))},e.FilterIcon=St,e.FormikCheckbox=e=>{var t=da(e),{value:o}=t,r=j(t,ma);r.isChecked=o;var a=Hr(e);return f.createElement(Rr,Object.assign({},a,r))},e.FormikComboBox=e=>{var{items:t,placeholder:o,searchPlaceholder:r}=e,a=j(e,ba),i=da(a),n=ra(t,o,r);return f.createElement(ia,Object.assign({},n,i,{onSelect:e=>{i.onChange(e)}}))},e.FormikCountryPicker=e=>{var t=da(e),o=Vr(e);return f.createElement(Yr,Object.assign({},o,t))},e.FormikDatePicker=e=>{var t=da(e),o=Jr();return f.createElement($r,Object.assign({},o,t))},e.FormikForm=e=>{var{children:t,autoFocus:r=!1,initFocus:i,onChange:n=(()=>{})}=e,l=j(e,la),s=u.useFormikContext();o.useEffect(()=>{n(s.values)},[s.values]);var c=o.useRef({}),d=o.useRef([]),m=e=>{if(r){var t,o=d.current.indexOf(e)+1;o<d.current.length?null==(t=c.current[d.current[o]])||t.focus():s.onSubmit&&s.onSubmit(s.values)}},h={active:r,focusNextInput:m,setInputRef:(e,t)=>{c.current[e]=t,d.current.includes(e)||d.current.push(e)},handleSubmitEditing:m,getReturnKeyType:e=>d.current.indexOf(e)===d.current.length-1?"done":"next"};return o.useEffect(()=>{var e;if(r)if(i&&c.current[i])null==(e=c.current[i])||e.focus();else if(d.current[0]){var t;null==(t=c.current[d.current[0]])||t.focus()}},[r,i]),f.createElement(sa.Provider,{value:h},f.createElement(a.Form,Object.assign({},l),t))},e.FormikPassword=e=>{var{visibleIcon:t=f.createElement(Lt,{size:14}),hiddenIcon:o=f.createElement(Yt,{size:14})}=e,r=j(e,ua),i=da(r),n=ea(i),{isVisible:l,setIsVisible:s}=n,c=j(n,ga);return f.createElement(Tr,Object.assign({},c,{type:l?"text":"password",isClearable:!1,right:f.createElement(a.View,{onClick:()=>{r.isDisabled||s(!l)}},l?t:o)}))},e.FormikSelect=e=>{var t=da(e);t.selected=t.value;var o=Po(e);return f.createElement(fr,Object.assign({},o,t))},e.FormikSwitch=e=>{var t=da(e),o=Er(e);return f.createElement(wr,Object.assign({},o,t))},e.FormikTextArea=e=>{var t=da(e),o=kr(e);return f.createElement(Or,Object.assign({},o,t))},e.FormikTextField=e=>{var t=da(e),o=j(Sr(e),ha);return f.createElement(Tr,Object.assign({},o,t))},e.HeartIcon=ht,e.HomeIcon=_t,e.Horizontal=T,e.HorizontalBase=M,e.Icon=ro,e.ImageIcon=Xe,e.InfoIcon=ct,e.Inline=e=>f.createElement(a.View,Object.assign({display:"inline-flex",wordBreak:"break-word"},e)),e.InstagramIcon=rt,e.Left=e=>f.createElement(a.View,Object.assign({marginRight:"auto"},e)),e.LikeIcon=Ut,e.Link=Eo,e.LinkedinIcon=nt,e.Loader=Ho,e.LocationIcon=Mt,e.LockIcon=Tt,e.MenuIcon=Ct,e.MessageLayout=e=>{var{container:t,theme:o,position:r="topRight"}=e,{visible:a,title:i,variant:n,subtitle:l,isClosable:s,styles:c,action:d,actionText:m,showIcon:h,timeout:u}=pa(),g={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[r],b=()=>f.createElement(ja,{variant:n,subtitle:l,show:a,title:i,theme:o,isClosable:s,styles:c,action:d,actionText:m,showIcon:h,timeout:u,hide:()=>fa()}),p=t?f.cloneElement(t,{},b()):f.createElement(E,Object.assign({position:"absolute",zIndex:1e4},g),b());return a?p:null},e.MessageView=ja,e.MicrophoneIcon=Ht,e.MinusIcon=st,e.Modal=Wa,e.MoonIcon=Wt,e.NotificationIcon=Bt,e.OpenEyeIcon=Lt,e.PanelIcon=Ot,e.Password=e=>{var{visibleIcon:t=f.createElement(Lt,{size:14}),hiddenIcon:o=f.createElement(Yt,{size:14})}=e,r=j(e,ta),i=ea(r),{isVisible:n,setIsVisible:l}=i,s=j(i,oa);return f.createElement(Tr,Object.assign({},s,{type:n?"text":"password",isClearable:!1,right:f.createElement(a.View,{onClick:()=>{r.isDisabled||l(!n)}},n?t:o)}))},e.PauseIcon=mt,e.PlayIcon=dt,e.PlusIcon=Qt,e.PrintIcon=It,e.ProfileIcon=Rt,e.RefreshIcon=kt,e.Right=e=>f.createElement(a.View,Object.assign({marginLeft:"auto"},e)),e.SaveIcon=gt,e.SearchIcon=Zt,e.Select=e=>{var t=Po(e);return f.createElement(fr,Object.assign({},t,e))},e.SettingsIcon=Ft,e.ShareIcon=wt,e.SpinnerIcon=to,e.StarIcon=ut,e.SuccessIcon=Vt,e.Switch=e=>{var t=Er(e);return f.createElement(wr,Object.assign({},t,e))},e.Table=qa,e.Tabs=Ya,e.Text=k,e.TextArea=e=>{var t=kr(e);return f.createElement(Or,Object.assign({},t,e))},e.TextField=e=>{var t=Sr(e);return f.createElement(Tr,Object.assign({},t,e))},e.ThreadsIcon=lt,e.TickIcon=Xt,e.Toggle=ei,e.ToggleGroup=e=>{var{items:t,shape:r,colorScheme:a,variant:i,onToggleChange:n}=e,{activeToggles:l,setActiveToggles:s}=(()=>{var[e,t]=o.useState([]);return{activeToggles:e,setActiveToggles:t}})();return f.createElement(ti,{items:t,shape:r,colorScheme:a,variant:i,activeToggles:l,setActiveToggles:s,onToggleChange:n})},e.Top=e=>f.createElement(a.View,Object.assign({marginBottom:"auto"},e)),e.TwitchIcon=tt,e.TwitterIcon=$e,e.UnLikeIcon=Pt,e.UnlockIcon=Nt,e.UploadIcon=qt,e.Uploader=e=>{var{accept:t="*/*",isLoading:o=!1,progress:r=0,icon:i,text:n,maxSize:l,onFileSelect:s,validateFile:c,containerProps:d,errorMessageProps:m,progressProps:h,videoProps:u,imageProps:g,iconProps:b,textProps:p,renderError:v=(e=>{var{errorMessage:t,errorMessageProps:o}=e;return f.createElement(a.Text,Object.assign({color:"red",fontSize:12,marginTop:8},o),t)}),renderText:E=(e=>{var{text:t,textProps:o}=e;return f.createElement(a.Text,Object.assign({marginTop:8},o),t)}),renderFile:j=(e=>{var{selectedFile:t,textProps:o}=e;return f.createElement(B,{marginTop:8,gap:10,flexDirection:"column"},f.createElement(a.Text,Object.assign({maxLines:2},o),t.name),f.createElement(a.Text,Object.assign({},o),"(",Math.round(t.size/1024)," KB)"))}),renderVideo:x=(e=>{var{selectedFile:t,thumbnailUrl:o,videoRef:r,videoProps:i,imageProps:n}=e;return console.log("thumbnailUrl",o),f.createElement(a.View,{width:"100%",height:"100%",position:"relative"},f.createElement(a.View,Object.assign({as:"video",width:0,height:0,src:null==t?void 0:t.name,style:{objectFit:"cover"},ref:r},i)),f.createElement(a.Image,Object.assign({src:o,alt:"Video Thumbnail",width:"100%",height:"100%",objectFit:"cover"},n)))}),renderImage:y=(e=>{var{previewUrl:t,imageProps:o}=e;return f.createElement(a.Image,Object.assign({src:t,alt:"Preview",width:"100%",height:"100%",objectFit:"cover"},o))}),renderProgress:z=(e=>{var{progress:t,progressProps:o}=e;return f.createElement(a.Horizontal,Object.assign({gap:8,alignItems:"center"},o),f.createElement(a.View,{height:4,backgroundColor:"rgba(0,0,0,0.1)",width:"100%",borderRadius:2},f.createElement(a.View,{height:4,width:t+"%",borderRadius:2})),f.createElement(a.Text,{fontSize:12},t,"%"))})}=e,{previewUrl:C,thumbnailUrl:w,errorMessage:k,videoRef:I,fileInputRef:O,selectedFile:S,handleFileChange:_,handleClick:M}=ya({accept:t,maxSize:l,onFileSelect:s,validateFile:c}),T=C&&t.includes("video")?"video":C&&t.includes("image")?"image":"file";return f.createElement(B,Object.assign({onClick:M,cursor:"pointer",border:"1px solid rgba(0,0,0,0.1)",borderRadius:8,padding:16,flexDirection:"column",overflow:"hidden",position:"relative"},d),100==r&&"image"==T&&C&&y({previewUrl:C,imageProps:g}),100==r&&"video"==T&&w&&x({thumbnailUrl:w,videoRef:I,videoProps:u,iconProps:b}),100==r&&"file"==T&&C&&j({selectedFile:S,textProps:p}),r<100&&(i||f.createElement(qt,Object.assign({size:32},b))),!S&&n&&E({text:n,textProps:p}),o&&z({progress:r,progressProps:h}),v({errorMessage:k,errorMessageProps:m}),f.createElement(a.View,{as:"input",type:"file",ref:O,onChange:_,accept:t,style:{display:"none"}}))},e.Vertical=S,e.VerticalBase=O,e.VideoIcon=Qe,e.View=E,e.WarningIcon=bt,e.WifiIcon=Kt,e.XIcon=et,e.YoutubeIcon=at,e.generateThumbnail=xa,e.hideMessage=fa,e.hideModal=Ca,e.showMessage=va,e.showModal=function(e,t,o){void 0===t&&(t={}),void 0===o&&(o={}),za.getState().show(e,t,o),za.getState().onShow(e,t)},e.useMessageStore=pa,e.useModalStore=za,e.useUpload=ya,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=web.umd.production.min.js.map
|