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