sodtrack-web-ui 0.65.0 → 0.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-6UPBJM3U.mjs → chunk-24SVNG3S.mjs} +1 -1
- package/dist/{chunk-264CPSX6.mjs → chunk-2E73JYPC.mjs} +1 -1
- package/dist/{chunk-UUBNCKUK.mjs → chunk-3ATABD4Z.mjs} +1 -1
- package/dist/{chunk-LUTLWXF4.mjs → chunk-3RIPZHAQ.mjs} +1 -1
- package/dist/{chunk-662BFQHD.mjs → chunk-3SEVJXC3.mjs} +1 -1
- package/dist/{chunk-732T6GAF.mjs → chunk-3UAY6HMS.mjs} +1 -1
- package/dist/{chunk-Q2AROFBG.mjs → chunk-4OBAYMWQ.mjs} +1 -1
- package/dist/{chunk-DYCYUT6X.mjs → chunk-4YFRFH7D.mjs} +1 -1
- package/dist/{chunk-R5JK63U2.mjs → chunk-5SL2VRZD.mjs} +1 -1
- package/dist/{chunk-V52D52VZ.mjs → chunk-74UPUNDK.mjs} +1 -1
- package/dist/{chunk-OA4FUWKA.mjs → chunk-DAG275SA.mjs} +1 -1
- package/dist/{chunk-BHGQACYA.mjs → chunk-EXCX7TZT.mjs} +1 -1
- package/dist/{chunk-3GULVCNF.mjs → chunk-FM5VRV4O.mjs} +1 -1
- package/dist/{chunk-HNX6NPBP.mjs → chunk-GWGMTVLB.mjs} +1 -1
- package/dist/{chunk-66CEW3Q6.mjs → chunk-I4P6XVOL.mjs} +1 -1
- package/dist/{chunk-K2WL25TT.mjs → chunk-IMGMRTZB.mjs} +1 -1
- package/dist/{chunk-FU4U752N.mjs → chunk-IVP3SQT6.mjs} +1 -1
- package/dist/{chunk-2ZWNPYHN.mjs → chunk-JBSMJKVP.mjs} +1 -1
- package/dist/{chunk-HMEDZZ4J.mjs → chunk-K6GFJXYC.mjs} +1 -1
- package/dist/{chunk-GK5RQ5PL.mjs → chunk-NDF7TEOD.mjs} +1 -1
- package/dist/{chunk-ORV22CHM.mjs → chunk-O7YNHF7W.mjs} +1 -1
- package/dist/chunk-ORLQCFPI.mjs +1 -0
- package/dist/chunk-TLOOUV4I.mjs +1 -0
- package/dist/chunk-VW4HZXAL.mjs +1 -0
- package/dist/{chunk-NV2VZ3ZY.mjs → chunk-WXEFOJ3H.mjs} +1 -1
- package/dist/{chunk-JCB42QTZ.mjs → chunk-YO6PTC37.mjs} +1 -1
- package/dist/chunk-Z5V7WUXE.mjs +34 -0
- package/dist/{chunk-FT3VFPUZ.mjs → chunk-ZLCAROOS.mjs} +1 -1
- package/dist/components/accordion-form.js +2 -2
- package/dist/components/accordion-form.mjs +1 -1
- package/dist/components/accordion.js +2 -2
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/alert-dialog.js +2 -2
- package/dist/components/alert-dialog.mjs +1 -1
- package/dist/components/alert-message.js +2 -2
- package/dist/components/alert-message.mjs +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/button.mjs +1 -1
- package/dist/components/calendar.mjs +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/checkbox.mjs +1 -1
- package/dist/components/chip-form-complementary.d.mts +3 -3
- package/dist/components/chip-form-complementary.d.ts +3 -3
- package/dist/components/chip-form.d.mts +3 -3
- package/dist/components/chip-form.d.ts +3 -3
- package/dist/components/chip-input.js +2 -2
- package/dist/components/chip-input.mjs +1 -1
- package/dist/components/chip-status-complementary.d.mts +1 -1
- package/dist/components/chip-status-complementary.d.ts +1 -1
- package/dist/components/country-text-field.js +2 -2
- package/dist/components/country-text-field.mjs +1 -1
- package/dist/components/data-table.js +2 -2
- package/dist/components/data-table.mjs +1 -1
- package/dist/components/date-picker.mjs +1 -1
- package/dist/components/dialog-new.d.mts +34 -0
- package/dist/components/dialog-new.d.ts +34 -0
- package/dist/components/dialog-new.js +16 -0
- package/dist/components/dialog-new.mjs +1 -0
- package/dist/components/dialog.js +2 -2
- package/dist/components/dialog.mjs +1 -1
- package/dist/components/drawer-sticky.js +2 -2
- package/dist/components/drawer-sticky.mjs +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/drawer.mjs +1 -1
- package/dist/components/expandable-card.d.mts +20 -0
- package/dist/components/expandable-card.d.ts +20 -0
- package/dist/components/expandable-card.js +17 -0
- package/dist/components/expandable-card.mjs +1 -0
- package/dist/components/flag-select.js +2 -2
- package/dist/components/flag-select.mjs +1 -1
- package/dist/components/icons.d.mts +3 -1
- package/dist/components/icons.d.ts +3 -1
- package/dist/components/icons.js +4 -2
- package/dist/components/icons.mjs +1 -1
- package/dist/components/index.d.mts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +4 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/list-item-arrow.js +2 -2
- package/dist/components/list-item-arrow.mjs +1 -1
- package/dist/components/list-item-button.js +2 -2
- package/dist/components/list-item-button.mjs +1 -1
- package/dist/components/list-item-checkbox.js +2 -2
- package/dist/components/list-item-checkbox.mjs +1 -1
- package/dist/components/list-item.mjs +1 -1
- package/dist/components/rating.js +2 -2
- package/dist/components/rating.mjs +1 -1
- package/dist/components/search-bar.js +2 -2
- package/dist/components/search-bar.mjs +1 -1
- package/dist/components/select.js +2 -2
- package/dist/components/select.mjs +1 -1
- package/dist/components/snackbar.js +2 -2
- package/dist/components/snackbar.mjs +1 -1
- package/dist/components/tab.d.mts +1 -1
- package/dist/components/tab.d.ts +1 -1
- package/dist/components/tab.js +2 -2
- package/dist/components/tab.mjs +1 -1
- package/dist/components/table.js +2 -2
- package/dist/components/table.mjs +1 -1
- package/dist/components/text-field.js +2 -2
- package/dist/components/text-field.mjs +1 -1
- package/dist/components/time-picker.mjs +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toast.mjs +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-QWBSZY37.mjs +0 -32
- package/dist/chunk-TTGZ5XCN.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function xe(e){var o,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(o=0;o<d;o++)e[o]&&(t=xe(e[o]))&&(a&&(a+=" "),a+=t);}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function Ce(){for(var e,o,t=0,a="",d=arguments.length;t<d;t++)(e=arguments[t])&&(o=xe(e))&&(a&&(a+=" "),a+=o);return a}var re="-",We=e=>{let o=Ne(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;return {getClassGroupId:f=>{let p=f.split(re);return p[0]===""&&p.length!==1&&p.shift(),ke(p,o)||Xe(f)},getConflictingClassGroupIds:(f,p)=>{let c=t[f]||[];return p&&a[f]?[...c,...a[f]]:c}}},ke=(e,o)=>{if(e.length===0)return o.classGroupId;let t=e[0],a=o.nextPart.get(t),d=a?ke(e.slice(1),a):void 0;if(d)return d;if(o.validators.length===0)return;let s=e.join(re);return o.validators.find(({validator:f})=>f(s))?.classGroupId},ge=/^\[(.+)\]$/,Xe=e=>{if(ge.test(e)){let o=ge.exec(e)[1],t=o?.substring(0,o.indexOf(":"));if(t)return "arbitrary.."+t}},Ne=e=>{let{theme:o,classGroups:t}=e,a={nextPart:new Map,validators:[]};for(let d in t)le(t[d],a,d,o);return a},le=(e,o,t,a)=>{e.forEach(d=>{if(typeof d=="string"){let s=d===""?o:he(o,d);s.classGroupId=t;return}if(typeof d=="function"){if(Ke(d)){le(d(a),o,t,a);return}o.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([s,f])=>{le(f,he(o,s),t,a);});});},he=(e,o)=>{let t=e;return o.split(re).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a);}),t},Ke=e=>e.isThemeGetter,Ze=e=>{if(e<1)return {get:()=>{},set:()=>{}};let o=0,t=new Map,a=new Map,d=(s,f)=>{t.set(s,f),o++,o>e&&(o=0,a=t,t=new Map);};return {get(s){let f=t.get(s);if(f!==void 0)return f;if((f=a.get(s))!==void 0)return d(s,f),f},set(s,f){t.has(s)?t.set(s,f):d(s,f);}}},ue="!",de=":",Je=de.length,Qe=e=>{let{prefix:o,experimentalParseClassName:t}=e,a=d=>{let s=[],f=0,p=0,c=0,m;for(let h=0;h<d.length;h++){let S=d[h];if(f===0&&p===0){if(S===de){s.push(d.slice(c,h)),c=h+Je;continue}if(S==="/"){m=h;continue}}S==="["?f++:S==="]"?f--:S==="("?p++:S===")"&&p--;}let L=s.length===0?d:d.substring(c),w=_e(L),B=w!==L,M=m&&m>c?m-c:void 0;return {modifiers:s,hasImportantModifier:B,baseClassName:w,maybePostfixModifierPosition:M}};if(o){let d=o+de,s=a;a=f=>f.startsWith(d)?s(f.substring(d.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:f,maybePostfixModifierPosition:void 0};}if(t){let d=a;a=s=>t({className:s,parseClassName:d});}return a},_e=e=>e.endsWith(ue)?e.substring(0,e.length-1):e.startsWith(ue)?e.substring(1):e,je=e=>{let o=Object.fromEntries(e.orderSensitiveModifiers.map(a=>[a,true]));return a=>{if(a.length<=1)return a;let d=[],s=[];return a.forEach(f=>{f[0]==="["||o[f]?(d.push(...s.sort(),f),s=[]):s.push(f);}),d.push(...s.sort()),d}},Ye=e=>({cache:Ze(e.cacheSize),parseClassName:Qe(e),sortModifiers:je(e),...We(e)}),$e=/\s+/,ea=(e,o)=>{let{parseClassName:t,getClassGroupId:a,getConflictingClassGroupIds:d,sortModifiers:s}=o,f=[],p=e.trim().split($e),c="";for(let m=p.length-1;m>=0;m-=1){let L=p[m],{isExternal:w,modifiers:B,hasImportantModifier:M,baseClassName:h,maybePostfixModifierPosition:S}=t(L);if(w){c=L+(c.length>0?" "+c:c);continue}let T=!!S,y=a(T?h.substring(0,S):h);if(!y){if(!T){c=L+(c.length>0?" "+c:c);continue}if(y=a(h),!y){c=L+(c.length>0?" "+c:c);continue}T=false;}let X=s(B).join(":"),z=M?X+ue:X,q=z+y;if(f.includes(q))continue;f.push(q);let v=d(y,T);for(let F=0;F<v.length;++F){let V=v[F];f.push(z+V);}c=L+(c.length>0?" "+c:c);}return c};function aa(){let e=0,o,t,a="";for(;e<arguments.length;)(o=arguments[e++])&&(t=Pe(o))&&(a&&(a+=" "),a+=t);return a}var Pe=e=>{if(typeof e=="string")return e;let o,t="";for(let a=0;a<e.length;a++)e[a]&&(o=Pe(e[a]))&&(t&&(t+=" "),t+=o);return t};function ta(e,...o){let t,a,d,s=f;function f(c){let m=o.reduce((L,w)=>w(L),e());return t=Ye(m),a=t.cache.get,d=t.cache.set,s=p,p(c)}function p(c){let m=a(c);if(m)return m;let L=ea(c,t);return d(c,L),L}return function(){return s(aa.apply(null,arguments))}}var I=e=>{let o=t=>t[e]||[];return o.isThemeGetter=true,o},be=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ae=/^\((?:(\w[\w-]*):)?(.+)\)$/i,oa=/^\d+\/\d+$/,la=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ua=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,da=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ra=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sa=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>oa.test(e),n=e=>!!e&&!Number.isNaN(Number(e)),A=e=>!!e&&Number.isInteger(Number(e)),te=e=>e.endsWith("%")&&n(e.slice(0,-1)),b=e=>la.test(e),fa=()=>true,ia=e=>ua.test(e)&&!da.test(e),Be=()=>false,ca=e=>ra.test(e),na=e=>sa.test(e),pa=e=>!l(e)&&!u(e),ma=e=>H(e,Fe,Be),l=e=>be.test(e),R=e=>H(e,De,ia),oe=e=>H(e,ga,n),Se=e=>H(e,Me,Be),La=e=>H(e,ye,na),_=e=>H(e,Re,ca),u=e=>Ae.test(e),E=e=>G(e,De),Ia=e=>G(e,ha),we=e=>G(e,Me),xa=e=>G(e,Fe),Ca=e=>G(e,ye),j=e=>G(e,Re,true),H=(e,o,t)=>{let a=be.exec(e);return a?a[1]?o(a[1]):t(a[2]):false},G=(e,o,t=false)=>{let a=Ae.exec(e);return a?a[1]?o(a[1]):t:false},Me=e=>e==="position"||e==="percentage",ye=e=>e==="image"||e==="url",Fe=e=>e==="length"||e==="size"||e==="bg-size",De=e=>e==="length",ga=e=>e==="number",ha=e=>e==="family-name",Re=e=>e==="shadow";var Sa=()=>{let e=I("color"),o=I("font"),t=I("text"),a=I("font-weight"),d=I("tracking"),s=I("leading"),f=I("breakpoint"),p=I("container"),c=I("spacing"),m=I("radius"),L=I("shadow"),w=I("inset-shadow"),B=I("text-shadow"),M=I("drop-shadow"),h=I("blur"),S=I("perspective"),T=I("aspect"),y=I("ease"),X=I("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],v=()=>[...q(),u,l],F=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],i=()=>[u,l,c],k=()=>[O,"full","auto",...i()],fe=()=>[A,"none","subgrid",u,l],ie=()=>["auto",{span:["full",A,u,l]},A,u,l],N=()=>[A,"auto",u,l],ce=()=>["auto","min","max","fr",u,l],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...i()],D=()=>[O,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...i()],r=()=>[e,u,l],ne=()=>[...q(),we,Se,{position:[u,l]}],pe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",xa,ma,{size:[u,l]}],ee=()=>[te,E,R],C=()=>["","none","full",m,u,l],g=()=>["",n,E,R],K=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[n,te,we,Se],Ie=()=>["","none",h,u,l],Z=()=>["none",n,u,l],J=()=>["none",n,u,l],ae=()=>[n,u,l],Q=()=>[O,"full",...i()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[b],breakpoint:[b],color:[fa],container:[b],"drop-shadow":[b],ease:["in","out","in-out"],font:[pa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[b],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[b],shadow:[b],spacing:["px",n],text:[b],"text-shadow":[b],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",O,l,u,T]}],container:["container"],columns:[{columns:[n,l,u,p]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[A,"auto",u,l]}],basis:[{basis:[O,"full","auto",p,...i()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[n,O,"auto","initial","none",l]}],grow:[{grow:["",n,u,l]}],shrink:[{shrink:["",n,u,l]}],order:[{order:[A,"first","last","none",u,l]}],"grid-cols":[{"grid-cols":fe()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":fe()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ce()}],"auto-rows":[{"auto-rows":ce()}],gap:[{gap:i()}],"gap-x":[{"gap-x":i()}],"gap-y":[{"gap-y":i()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:i()}],px:[{px:i()}],py:[{py:i()}],ps:[{ps:i()}],pe:[{pe:i()}],pt:[{pt:i()}],pr:[{pr:i()}],pb:[{pb:i()}],pl:[{pl:i()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":i()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":i()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],w:[{w:[p,"screen",...D()]}],"min-w":[{"min-w":[p,"screen","none",...D()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[f]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",t,E,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,u,oe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",te,l]}],"font-family":[{font:[Ia,l,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d,u,l]}],"line-clamp":[{"line-clamp":[n,"none",u,oe]}],leading:[{leading:[s,...i()]}],"list-image":[{"list-image":["none",u,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:r()}],"text-color":[{text:r()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[n,"from-font","auto",u,R]}],"text-decoration-color":[{decoration:r()}],"underline-offset":[{"underline-offset":[n,"auto",u,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:pe()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},A,u,l],radial:["",u,l],conic:[A,u,l]},Ca,La]}],"bg-color":[{bg:r()}],"gradient-from-pos":[{from:ee()}],"gradient-via-pos":[{via:ee()}],"gradient-to-pos":[{to:ee()}],"gradient-from":[{from:r()}],"gradient-via":[{via:r()}],"gradient-to":[{to:r()}],rounded:[{rounded:C()}],"rounded-s":[{"rounded-s":C()}],"rounded-e":[{"rounded-e":C()}],"rounded-t":[{"rounded-t":C()}],"rounded-r":[{"rounded-r":C()}],"rounded-b":[{"rounded-b":C()}],"rounded-l":[{"rounded-l":C()}],"rounded-ss":[{"rounded-ss":C()}],"rounded-se":[{"rounded-se":C()}],"rounded-ee":[{"rounded-ee":C()}],"rounded-es":[{"rounded-es":C()}],"rounded-tl":[{"rounded-tl":C()}],"rounded-tr":[{"rounded-tr":C()}],"rounded-br":[{"rounded-br":C()}],"rounded-bl":[{"rounded-bl":C()}],"border-w":[{border:g()}],"border-w-x":[{"border-x":g()}],"border-w-y":[{"border-y":g()}],"border-w-s":[{"border-s":g()}],"border-w-e":[{"border-e":g()}],"border-w-t":[{"border-t":g()}],"border-w-r":[{"border-r":g()}],"border-w-b":[{"border-b":g()}],"border-w-l":[{"border-l":g()}],"divide-x":[{"divide-x":g()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":g()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:r()}],"border-color-x":[{"border-x":r()}],"border-color-y":[{"border-y":r()}],"border-color-s":[{"border-s":r()}],"border-color-e":[{"border-e":r()}],"border-color-t":[{"border-t":r()}],"border-color-r":[{"border-r":r()}],"border-color-b":[{"border-b":r()}],"border-color-l":[{"border-l":r()}],"divide-color":[{divide:r()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[n,u,l]}],"outline-w":[{outline:["",n,E,R]}],"outline-color":[{outline:r()}],shadow:[{shadow:["","none",L,j,_]}],"shadow-color":[{shadow:r()}],"inset-shadow":[{"inset-shadow":["none",w,j,_]}],"inset-shadow-color":[{"inset-shadow":r()}],"ring-w":[{ring:g()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:r()}],"ring-offset-w":[{"ring-offset":[n,R]}],"ring-offset-color":[{"ring-offset":r()}],"inset-ring-w":[{"inset-ring":g()}],"inset-ring-color":[{"inset-ring":r()}],"text-shadow":[{"text-shadow":["none",B,j,_]}],"text-shadow-color":[{"text-shadow":r()}],opacity:[{opacity:[n,u,l]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[n]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":r()}],"mask-image-linear-to-color":[{"mask-linear-to":r()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":r()}],"mask-image-t-to-color":[{"mask-t-to":r()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":r()}],"mask-image-r-to-color":[{"mask-r-to":r()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":r()}],"mask-image-b-to-color":[{"mask-b-to":r()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":r()}],"mask-image-l-to-color":[{"mask-l-to":r()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":r()}],"mask-image-x-to-color":[{"mask-x-to":r()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":r()}],"mask-image-y-to-color":[{"mask-y-to":r()}],"mask-image-radial":[{"mask-radial":[u,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":r()}],"mask-image-radial-to-color":[{"mask-radial-to":r()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":q()}],"mask-image-conic-pos":[{"mask-conic":[n]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":r()}],"mask-image-conic-to-color":[{"mask-conic-to":r()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:pe()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u,l]}],filter:[{filter:["","none",u,l]}],blur:[{blur:Ie()}],brightness:[{brightness:[n,u,l]}],contrast:[{contrast:[n,u,l]}],"drop-shadow":[{"drop-shadow":["","none",M,j,_]}],"drop-shadow-color":[{"drop-shadow":r()}],grayscale:[{grayscale:["",n,u,l]}],"hue-rotate":[{"hue-rotate":[n,u,l]}],invert:[{invert:["",n,u,l]}],saturate:[{saturate:[n,u,l]}],sepia:[{sepia:["",n,u,l]}],"backdrop-filter":[{"backdrop-filter":["","none",u,l]}],"backdrop-blur":[{"backdrop-blur":Ie()}],"backdrop-brightness":[{"backdrop-brightness":[n,u,l]}],"backdrop-contrast":[{"backdrop-contrast":[n,u,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",n,u,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[n,u,l]}],"backdrop-invert":[{"backdrop-invert":["",n,u,l]}],"backdrop-opacity":[{"backdrop-opacity":[n,u,l]}],"backdrop-saturate":[{"backdrop-saturate":[n,u,l]}],"backdrop-sepia":[{"backdrop-sepia":["",n,u,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":i()}],"border-spacing-x":[{"border-spacing-x":i()}],"border-spacing-y":[{"border-spacing-y":i()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[n,"initial",u,l]}],ease:[{ease:["linear","initial",y,u,l]}],delay:[{delay:[n,u,l]}],animate:[{animate:["none",X,u,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,u,l]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[u,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Q()}],"translate-x":[{"translate-x":Q()}],"translate-y":[{"translate-y":Q()}],"translate-z":[{"translate-z":Q()}],"translate-none":["translate-none"],accent:[{accent:r()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:r()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u,l]}],fill:[{fill:["none",...r()]}],"stroke-w":[{stroke:[n,E,R,oe]}],stroke:[{stroke:["none",...r()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var Te=ta(Sa);function qe(...e){return Te(Ce(e))}var ve=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),wa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,t,a)=>a?a.toUpperCase():t.toLowerCase()),se=e=>{let o=wa(e);return o.charAt(0).toUpperCase()+o.slice(1)},Y=(...e)=>e.filter((o,t,a)=>!!o&&o.trim()!==""&&a.indexOf(o)===t).join(" ").trim(),Ue=e=>{for(let o in e)if(o.startsWith("aria-")||o==="role"||o==="title")return true};var Oe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Ge=react.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:t=2,absoluteStrokeWidth:a,className:d="",children:s,iconNode:f,...p},c)=>react.createElement("svg",{ref:c,...Oe,width:o,height:o,stroke:e,strokeWidth:a?Number(t)*24/Number(o):t,className:Y("lucide",d),...!s&&!Ue(p)&&{"aria-hidden":"true"},...p},[...f.map(([m,L])=>react.createElement(m,L)),...Array.isArray(s)?s:[s]]));var ze=(e,o)=>{let t=react.forwardRef(({className:a,...d},s)=>react.createElement(Ge,{ref:s,iconNode:o,className:Y(`lucide-${ve(se(e))}`,`lucide-${e}`,a),...d}));return t.displayName=se(e),t};var Aa=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],W=ze("x",Aa);var Ve=W;var St=["xs","sm","md"],wt=["standard","primary"],kt=["fill","outlined"],ya=tailwindVariants.tv({slots:{container:"flex cursor-default items-center rounded-3xl transition-all",startIcon:"",closeIcon:"cursor-pointer"},variants:{variant:{standard:{},primary:{}},type:{fill:{},outlined:{}},size:{md:{container:"min-h-8 gap-2.75 px-3",startIcon:"h-4.5 w-4.5",closeIcon:"h-4.5 w-4.5"},sm:{container:"min-h-6 gap-3.25 px-3 text-sm",startIcon:"h-3.5 w-3.5",closeIcon:"h-3.5 w-3.5"},xs:{container:"min-h-4 gap-4.5 px-2 text-xs",startIcon:"h-3.5 w-3.5",closeIcon:"h-3.5 w-3.5"}},disabled:{true:{},false:{}}},compoundVariants:[{disabled:true,className:{container:"cursor-not-allowed",closeIcon:"cursor-not-allowed"}},{disabled:false,variant:"standard",type:"fill",className:{container:"bg-neutral-100 text-neutral-700 hover:bg-neutral-200"}},{disabled:true,variant:"standard",type:"fill",className:{container:"bg-neutral-100 text-neutral-400"}},{disabled:false,variant:"primary",type:"fill",className:{container:"bg-primary-200 text-primary-800 hover:bg-primary-300"}},{disabled:false,variant:"standard",type:"outlined",className:{container:"text-neutral-700 ring-1 ring-inset ring-neutral-700 hover:bg-primary-100"}},{disabled:true,variant:"standard",type:"outlined",className:{container:"text-neutral-400 ring-1 ring-inset ring-neutral-400"}},{disabled:false,variant:"primary",type:"outlined",className:{container:"text-primary-500 ring-1 ring-inset ring-primary-500 hover:bg-primary-100"}}],defaultVariants:{disabled:false,size:"md"}}),Fa=react.forwardRef(({children:e,onClose:o,StartIcon:t,className:a,hasCloseIcon:d=true,disabled:s,variant:f,type:p,size:c,...m},L)=>{let{container:w,startIcon:B,closeIcon:M}=ya({variant:f,type:p,size:c,disabled:s});return jsxRuntime.jsxs("span",{ref:L,className:qe(w(),a),...m,children:[t&&jsxRuntime.jsx(t,{className:B()}),e,d&&jsxRuntime.jsx(Ve,{onClick:()=>!s&&o?.(),className:M()})]})});Fa.displayName="ChipInput";/*! Bundled license information:
|
|
1
|
+
'use strict';var react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function xe(e){var o,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(o=0;o<d;o++)e[o]&&(t=xe(e[o]))&&(a&&(a+=" "),a+=t);}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function Ce(){for(var e,o,t=0,a="",d=arguments.length;t<d;t++)(e=arguments[t])&&(o=xe(e))&&(a&&(a+=" "),a+=o);return a}var re="-",We=e=>{let o=Ne(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;return {getClassGroupId:f=>{let p=f.split(re);return p[0]===""&&p.length!==1&&p.shift(),ke(p,o)||Xe(f)},getConflictingClassGroupIds:(f,p)=>{let c=t[f]||[];return p&&a[f]?[...c,...a[f]]:c}}},ke=(e,o)=>{if(e.length===0)return o.classGroupId;let t=e[0],a=o.nextPart.get(t),d=a?ke(e.slice(1),a):void 0;if(d)return d;if(o.validators.length===0)return;let s=e.join(re);return o.validators.find(({validator:f})=>f(s))?.classGroupId},ge=/^\[(.+)\]$/,Xe=e=>{if(ge.test(e)){let o=ge.exec(e)[1],t=o?.substring(0,o.indexOf(":"));if(t)return "arbitrary.."+t}},Ne=e=>{let{theme:o,classGroups:t}=e,a={nextPart:new Map,validators:[]};for(let d in t)le(t[d],a,d,o);return a},le=(e,o,t,a)=>{e.forEach(d=>{if(typeof d=="string"){let s=d===""?o:he(o,d);s.classGroupId=t;return}if(typeof d=="function"){if(Ke(d)){le(d(a),o,t,a);return}o.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([s,f])=>{le(f,he(o,s),t,a);});});},he=(e,o)=>{let t=e;return o.split(re).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a);}),t},Ke=e=>e.isThemeGetter,Ze=e=>{if(e<1)return {get:()=>{},set:()=>{}};let o=0,t=new Map,a=new Map,d=(s,f)=>{t.set(s,f),o++,o>e&&(o=0,a=t,t=new Map);};return {get(s){let f=t.get(s);if(f!==void 0)return f;if((f=a.get(s))!==void 0)return d(s,f),f},set(s,f){t.has(s)?t.set(s,f):d(s,f);}}},ue="!",de=":",Je=de.length,Qe=e=>{let{prefix:o,experimentalParseClassName:t}=e,a=d=>{let s=[],f=0,p=0,c=0,m;for(let h=0;h<d.length;h++){let S=d[h];if(f===0&&p===0){if(S===de){s.push(d.slice(c,h)),c=h+Je;continue}if(S==="/"){m=h;continue}}S==="["?f++:S==="]"?f--:S==="("?p++:S===")"&&p--;}let L=s.length===0?d:d.substring(c),w=_e(L),B=w!==L,M=m&&m>c?m-c:void 0;return {modifiers:s,hasImportantModifier:B,baseClassName:w,maybePostfixModifierPosition:M}};if(o){let d=o+de,s=a;a=f=>f.startsWith(d)?s(f.substring(d.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:f,maybePostfixModifierPosition:void 0};}if(t){let d=a;a=s=>t({className:s,parseClassName:d});}return a},_e=e=>e.endsWith(ue)?e.substring(0,e.length-1):e.startsWith(ue)?e.substring(1):e,je=e=>{let o=Object.fromEntries(e.orderSensitiveModifiers.map(a=>[a,true]));return a=>{if(a.length<=1)return a;let d=[],s=[];return a.forEach(f=>{f[0]==="["||o[f]?(d.push(...s.sort(),f),s=[]):s.push(f);}),d.push(...s.sort()),d}},Ye=e=>({cache:Ze(e.cacheSize),parseClassName:Qe(e),sortModifiers:je(e),...We(e)}),$e=/\s+/,ea=(e,o)=>{let{parseClassName:t,getClassGroupId:a,getConflictingClassGroupIds:d,sortModifiers:s}=o,f=[],p=e.trim().split($e),c="";for(let m=p.length-1;m>=0;m-=1){let L=p[m],{isExternal:w,modifiers:B,hasImportantModifier:M,baseClassName:h,maybePostfixModifierPosition:S}=t(L);if(w){c=L+(c.length>0?" "+c:c);continue}let T=!!S,y=a(T?h.substring(0,S):h);if(!y){if(!T){c=L+(c.length>0?" "+c:c);continue}if(y=a(h),!y){c=L+(c.length>0?" "+c:c);continue}T=false;}let X=s(B).join(":"),z=M?X+ue:X,q=z+y;if(f.includes(q))continue;f.push(q);let v=d(y,T);for(let F=0;F<v.length;++F){let V=v[F];f.push(z+V);}c=L+(c.length>0?" "+c:c);}return c};function aa(){let e=0,o,t,a="";for(;e<arguments.length;)(o=arguments[e++])&&(t=Pe(o))&&(a&&(a+=" "),a+=t);return a}var Pe=e=>{if(typeof e=="string")return e;let o,t="";for(let a=0;a<e.length;a++)e[a]&&(o=Pe(e[a]))&&(t&&(t+=" "),t+=o);return t};function ta(e,...o){let t,a,d,s=f;function f(c){let m=o.reduce((L,w)=>w(L),e());return t=Ye(m),a=t.cache.get,d=t.cache.set,s=p,p(c)}function p(c){let m=a(c);if(m)return m;let L=ea(c,t);return d(c,L),L}return function(){return s(aa.apply(null,arguments))}}var I=e=>{let o=t=>t[e]||[];return o.isThemeGetter=true,o},be=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ae=/^\((?:(\w[\w-]*):)?(.+)\)$/i,oa=/^\d+\/\d+$/,la=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ua=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,da=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ra=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sa=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>oa.test(e),n=e=>!!e&&!Number.isNaN(Number(e)),A=e=>!!e&&Number.isInteger(Number(e)),te=e=>e.endsWith("%")&&n(e.slice(0,-1)),b=e=>la.test(e),fa=()=>true,ia=e=>ua.test(e)&&!da.test(e),Be=()=>false,ca=e=>ra.test(e),na=e=>sa.test(e),pa=e=>!l(e)&&!u(e),ma=e=>H(e,Fe,Be),l=e=>be.test(e),R=e=>H(e,De,ia),oe=e=>H(e,ga,n),Se=e=>H(e,Me,Be),La=e=>H(e,ye,na),_=e=>H(e,Re,ca),u=e=>Ae.test(e),E=e=>G(e,De),Ia=e=>G(e,ha),we=e=>G(e,Me),xa=e=>G(e,Fe),Ca=e=>G(e,ye),j=e=>G(e,Re,true),H=(e,o,t)=>{let a=be.exec(e);return a?a[1]?o(a[1]):t(a[2]):false},G=(e,o,t=false)=>{let a=Ae.exec(e);return a?a[1]?o(a[1]):t:false},Me=e=>e==="position"||e==="percentage",ye=e=>e==="image"||e==="url",Fe=e=>e==="length"||e==="size"||e==="bg-size",De=e=>e==="length",ga=e=>e==="number",ha=e=>e==="family-name",Re=e=>e==="shadow";var Sa=()=>{let e=I("color"),o=I("font"),t=I("text"),a=I("font-weight"),d=I("tracking"),s=I("leading"),f=I("breakpoint"),p=I("container"),c=I("spacing"),m=I("radius"),L=I("shadow"),w=I("inset-shadow"),B=I("text-shadow"),M=I("drop-shadow"),h=I("blur"),S=I("perspective"),T=I("aspect"),y=I("ease"),X=I("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],v=()=>[...q(),u,l],F=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],i=()=>[u,l,c],k=()=>[O,"full","auto",...i()],fe=()=>[A,"none","subgrid",u,l],ie=()=>["auto",{span:["full",A,u,l]},A,u,l],N=()=>[A,"auto",u,l],ce=()=>["auto","min","max","fr",u,l],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...i()],D=()=>[O,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...i()],r=()=>[e,u,l],ne=()=>[...q(),we,Se,{position:[u,l]}],pe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",xa,ma,{size:[u,l]}],ee=()=>[te,E,R],C=()=>["","none","full",m,u,l],g=()=>["",n,E,R],K=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[n,te,we,Se],Ie=()=>["","none",h,u,l],Z=()=>["none",n,u,l],J=()=>["none",n,u,l],ae=()=>[n,u,l],Q=()=>[O,"full",...i()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[b],breakpoint:[b],color:[fa],container:[b],"drop-shadow":[b],ease:["in","out","in-out"],font:[pa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[b],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[b],shadow:[b],spacing:["px",n],text:[b],"text-shadow":[b],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",O,l,u,T]}],container:["container"],columns:[{columns:[n,l,u,p]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[A,"auto",u,l]}],basis:[{basis:[O,"full","auto",p,...i()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[n,O,"auto","initial","none",l]}],grow:[{grow:["",n,u,l]}],shrink:[{shrink:["",n,u,l]}],order:[{order:[A,"first","last","none",u,l]}],"grid-cols":[{"grid-cols":fe()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":fe()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ce()}],"auto-rows":[{"auto-rows":ce()}],gap:[{gap:i()}],"gap-x":[{"gap-x":i()}],"gap-y":[{"gap-y":i()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:i()}],px:[{px:i()}],py:[{py:i()}],ps:[{ps:i()}],pe:[{pe:i()}],pt:[{pt:i()}],pr:[{pr:i()}],pb:[{pb:i()}],pl:[{pl:i()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":i()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":i()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],w:[{w:[p,"screen",...D()]}],"min-w":[{"min-w":[p,"screen","none",...D()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[f]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",t,E,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,u,oe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",te,l]}],"font-family":[{font:[Ia,l,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d,u,l]}],"line-clamp":[{"line-clamp":[n,"none",u,oe]}],leading:[{leading:[s,...i()]}],"list-image":[{"list-image":["none",u,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:r()}],"text-color":[{text:r()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[n,"from-font","auto",u,R]}],"text-decoration-color":[{decoration:r()}],"underline-offset":[{"underline-offset":[n,"auto",u,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:pe()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},A,u,l],radial:["",u,l],conic:[A,u,l]},Ca,La]}],"bg-color":[{bg:r()}],"gradient-from-pos":[{from:ee()}],"gradient-via-pos":[{via:ee()}],"gradient-to-pos":[{to:ee()}],"gradient-from":[{from:r()}],"gradient-via":[{via:r()}],"gradient-to":[{to:r()}],rounded:[{rounded:C()}],"rounded-s":[{"rounded-s":C()}],"rounded-e":[{"rounded-e":C()}],"rounded-t":[{"rounded-t":C()}],"rounded-r":[{"rounded-r":C()}],"rounded-b":[{"rounded-b":C()}],"rounded-l":[{"rounded-l":C()}],"rounded-ss":[{"rounded-ss":C()}],"rounded-se":[{"rounded-se":C()}],"rounded-ee":[{"rounded-ee":C()}],"rounded-es":[{"rounded-es":C()}],"rounded-tl":[{"rounded-tl":C()}],"rounded-tr":[{"rounded-tr":C()}],"rounded-br":[{"rounded-br":C()}],"rounded-bl":[{"rounded-bl":C()}],"border-w":[{border:g()}],"border-w-x":[{"border-x":g()}],"border-w-y":[{"border-y":g()}],"border-w-s":[{"border-s":g()}],"border-w-e":[{"border-e":g()}],"border-w-t":[{"border-t":g()}],"border-w-r":[{"border-r":g()}],"border-w-b":[{"border-b":g()}],"border-w-l":[{"border-l":g()}],"divide-x":[{"divide-x":g()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":g()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:r()}],"border-color-x":[{"border-x":r()}],"border-color-y":[{"border-y":r()}],"border-color-s":[{"border-s":r()}],"border-color-e":[{"border-e":r()}],"border-color-t":[{"border-t":r()}],"border-color-r":[{"border-r":r()}],"border-color-b":[{"border-b":r()}],"border-color-l":[{"border-l":r()}],"divide-color":[{divide:r()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[n,u,l]}],"outline-w":[{outline:["",n,E,R]}],"outline-color":[{outline:r()}],shadow:[{shadow:["","none",L,j,_]}],"shadow-color":[{shadow:r()}],"inset-shadow":[{"inset-shadow":["none",w,j,_]}],"inset-shadow-color":[{"inset-shadow":r()}],"ring-w":[{ring:g()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:r()}],"ring-offset-w":[{"ring-offset":[n,R]}],"ring-offset-color":[{"ring-offset":r()}],"inset-ring-w":[{"inset-ring":g()}],"inset-ring-color":[{"inset-ring":r()}],"text-shadow":[{"text-shadow":["none",B,j,_]}],"text-shadow-color":[{"text-shadow":r()}],opacity:[{opacity:[n,u,l]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[n]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":r()}],"mask-image-linear-to-color":[{"mask-linear-to":r()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":r()}],"mask-image-t-to-color":[{"mask-t-to":r()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":r()}],"mask-image-r-to-color":[{"mask-r-to":r()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":r()}],"mask-image-b-to-color":[{"mask-b-to":r()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":r()}],"mask-image-l-to-color":[{"mask-l-to":r()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":r()}],"mask-image-x-to-color":[{"mask-x-to":r()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":r()}],"mask-image-y-to-color":[{"mask-y-to":r()}],"mask-image-radial":[{"mask-radial":[u,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":r()}],"mask-image-radial-to-color":[{"mask-radial-to":r()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":q()}],"mask-image-conic-pos":[{"mask-conic":[n]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":r()}],"mask-image-conic-to-color":[{"mask-conic-to":r()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:pe()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u,l]}],filter:[{filter:["","none",u,l]}],blur:[{blur:Ie()}],brightness:[{brightness:[n,u,l]}],contrast:[{contrast:[n,u,l]}],"drop-shadow":[{"drop-shadow":["","none",M,j,_]}],"drop-shadow-color":[{"drop-shadow":r()}],grayscale:[{grayscale:["",n,u,l]}],"hue-rotate":[{"hue-rotate":[n,u,l]}],invert:[{invert:["",n,u,l]}],saturate:[{saturate:[n,u,l]}],sepia:[{sepia:["",n,u,l]}],"backdrop-filter":[{"backdrop-filter":["","none",u,l]}],"backdrop-blur":[{"backdrop-blur":Ie()}],"backdrop-brightness":[{"backdrop-brightness":[n,u,l]}],"backdrop-contrast":[{"backdrop-contrast":[n,u,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",n,u,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[n,u,l]}],"backdrop-invert":[{"backdrop-invert":["",n,u,l]}],"backdrop-opacity":[{"backdrop-opacity":[n,u,l]}],"backdrop-saturate":[{"backdrop-saturate":[n,u,l]}],"backdrop-sepia":[{"backdrop-sepia":["",n,u,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":i()}],"border-spacing-x":[{"border-spacing-x":i()}],"border-spacing-y":[{"border-spacing-y":i()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[n,"initial",u,l]}],ease:[{ease:["linear","initial",y,u,l]}],delay:[{delay:[n,u,l]}],animate:[{animate:["none",X,u,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,u,l]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[u,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Q()}],"translate-x":[{"translate-x":Q()}],"translate-y":[{"translate-y":Q()}],"translate-z":[{"translate-z":Q()}],"translate-none":["translate-none"],accent:[{accent:r()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:r()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u,l]}],fill:[{fill:["none",...r()]}],"stroke-w":[{stroke:[n,E,R,oe]}],stroke:[{stroke:["none",...r()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var Te=ta(Sa);function qe(...e){return Te(Ce(e))}var ve=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),wa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,t,a)=>a?a.toUpperCase():t.toLowerCase()),se=e=>{let o=wa(e);return o.charAt(0).toUpperCase()+o.slice(1)},Y=(...e)=>e.filter((o,t,a)=>!!o&&o.trim()!==""&&a.indexOf(o)===t).join(" ").trim(),Ue=e=>{for(let o in e)if(o.startsWith("aria-")||o==="role"||o==="title")return true};var Oe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Ge=react.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:t=2,absoluteStrokeWidth:a,className:d="",children:s,iconNode:f,...p},c)=>react.createElement("svg",{ref:c,...Oe,width:o,height:o,stroke:e,strokeWidth:a?Number(t)*24/Number(o):t,className:Y("lucide",d),...!s&&!Ue(p)&&{"aria-hidden":"true"},...p},[...f.map(([m,L])=>react.createElement(m,L)),...Array.isArray(s)?s:[s]]));var ze=(e,o)=>{let t=react.forwardRef(({className:a,...d},s)=>react.createElement(Ge,{ref:s,iconNode:o,className:Y(`lucide-${ve(se(e))}`,`lucide-${e}`,a),...d}));return t.displayName=se(e),t};var Aa=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],W=ze("x",Aa);var Ve=W;var kt=["xs","sm","md"],Pt=["standard","primary"],bt=["fill","outlined"],ya=tailwindVariants.tv({slots:{container:"flex cursor-default items-center rounded-3xl transition-all",startIcon:"",closeIcon:"cursor-pointer"},variants:{variant:{standard:{},primary:{}},type:{fill:{},outlined:{}},size:{md:{container:"min-h-8 gap-2.75 px-3",startIcon:"h-4.5 w-4.5",closeIcon:"h-4.5 w-4.5"},sm:{container:"min-h-6 gap-3.25 px-3 text-sm",startIcon:"h-3.5 w-3.5",closeIcon:"h-3.5 w-3.5"},xs:{container:"min-h-4 gap-4.5 px-2 text-xs",startIcon:"h-3.5 w-3.5",closeIcon:"h-3.5 w-3.5"}},disabled:{true:{},false:{}}},compoundVariants:[{disabled:true,className:{container:"cursor-not-allowed",closeIcon:"cursor-not-allowed"}},{disabled:false,variant:"standard",type:"fill",className:{container:"bg-neutral-100 text-neutral-700 hover:bg-neutral-200"}},{disabled:true,variant:"standard",type:"fill",className:{container:"bg-neutral-100 text-neutral-400"}},{disabled:false,variant:"primary",type:"fill",className:{container:"bg-primary-200 text-primary-800 hover:bg-primary-300"}},{disabled:false,variant:"standard",type:"outlined",className:{container:"text-neutral-700 ring-1 ring-inset ring-neutral-700 hover:bg-primary-100"}},{disabled:true,variant:"standard",type:"outlined",className:{container:"text-neutral-400 ring-1 ring-inset ring-neutral-400"}},{disabled:false,variant:"primary",type:"outlined",className:{container:"text-primary-500 ring-1 ring-inset ring-primary-500 hover:bg-primary-100"}}],defaultVariants:{disabled:false,size:"md"}}),Fa=react.forwardRef(({children:e,onClose:o,StartIcon:t,className:a,hasCloseIcon:d=true,disabled:s,variant:f,type:p,size:c,...m},L)=>{let{container:w,startIcon:B,closeIcon:M}=ya({variant:f,type:p,size:c,disabled:s});return jsxRuntime.jsxs("span",{ref:L,className:qe(w(),a),...m,children:[t&&jsxRuntime.jsx(t,{className:B()}),e,d&&jsxRuntime.jsx(Ve,{onClick:()=>!s&&o?.(),className:M()})]})});Fa.displayName="ChipInput";/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
@@ -12,4 +12,4 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
12
12
|
* This source code is licensed under the ISC license.
|
|
13
13
|
* See the LICENSE file in the root directory of this source tree.
|
|
14
14
|
*)
|
|
15
|
-
*/exports.ChipInput=Fa;exports.ChipInputSizes=
|
|
15
|
+
*/exports.ChipInput=Fa;exports.ChipInputSizes=kt;exports.ChipInputTypes=bt;exports.ChipInputVariants=Pt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as ChipInput,a as ChipInputSizes,c as ChipInputTypes,b as ChipInputVariants}from'../chunk-
|
|
1
|
+
export{d as ChipInput,a as ChipInputSizes,c as ChipInputTypes,b as ChipInputVariants}from'../chunk-NDF7TEOD.mjs';import'../chunk-Z5V7WUXE.mjs';import'../chunk-BO6XI5BE.mjs';
|
|
@@ -6,7 +6,7 @@ type ChipStatusComplementaryVariantType = (typeof ChipStatusComplementaryVariant
|
|
|
6
6
|
type ChipStatusComplementarySizeType = (typeof ChipStatusComplementarySizes)[number];
|
|
7
7
|
declare const chipStatusComplementary: (props?: ({
|
|
8
8
|
variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "sm" | "md" | "xs" | undefined;
|
|
10
10
|
} & ({
|
|
11
11
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
12
12
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@ type ChipStatusComplementaryVariantType = (typeof ChipStatusComplementaryVariant
|
|
|
6
6
|
type ChipStatusComplementarySizeType = (typeof ChipStatusComplementarySizes)[number];
|
|
7
7
|
declare const chipStatusComplementary: (props?: ({
|
|
8
8
|
variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "sm" | "md" | "xs" | undefined;
|
|
10
10
|
} & ({
|
|
11
11
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
12
12
|
[x: string]: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var ge=require('react'),La=require('@radix-ui/react-portal'),reactLabel=require('@radix-ui/react-label'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var ge__default=/*#__PURE__*/_interopDefault(ge);var La__namespace=/*#__PURE__*/_interopNamespace(La);function ye(e){var o,a,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(o=0;o<u;o++)e[o]&&(a=ye(e[o]))&&(t&&(t+=" "),t+=a);}else for(a in e)e[a]&&(t&&(t+=" "),t+=a);return t}function De(){for(var e,o,a=0,t="",u=arguments.length;a<u;a++)(e=arguments[a])&&(o=ye(e))&&(t&&(t+=" "),t+=o);return t}var Ce="-",Ia=e=>{let o=ha(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:f=>{let s=f.split(Ce);return s[0]===""&&s.length!==1&&s.shift(),Ue(s,o)||Ca(f)},getConflictingClassGroupIds:(f,s)=>{let i=a[f]||[];return s&&t[f]?[...i,...t[f]]:i}}},Ue=(e,o)=>{if(e.length===0)return o.classGroupId;let a=e[0],t=o.nextPart.get(a),u=t?Ue(e.slice(1),t):void 0;if(u)return u;if(o.validators.length===0)return;let d=e.join(Ce);return o.validators.find(({validator:f})=>f(d))?.classGroupId},Re=/^\[(.+)\]$/,Ca=e=>{if(Re.test(e)){let o=Re.exec(e)[1],a=o?.substring(0,o.indexOf(":"));if(a)return "arbitrary.."+a}},ha=e=>{let{theme:o,classGroups:a}=e,t={nextPart:new Map,validators:[]};for(let u in a)Le(a[u],t,u,o);return t},Le=(e,o,a,t)=>{e.forEach(u=>{if(typeof u=="string"){let d=u===""?o:ve(o,u);d.classGroupId=a;return}if(typeof u=="function"){if(ga(u)){Le(u(t),o,a,t);return}o.validators.push({validator:u,classGroupId:a});return}Object.entries(u).forEach(([d,f])=>{Le(f,ve(o,d),a,t);});});},ve=(e,o)=>{let a=e;return o.split(Ce).forEach(t=>{a.nextPart.has(t)||a.nextPart.set(t,{nextPart:new Map,validators:[]}),a=a.nextPart.get(t);}),a},ga=e=>e.isThemeGetter,Sa=e=>{if(e<1)return {get:()=>{},set:()=>{}};let o=0,a=new Map,t=new Map,u=(d,f)=>{a.set(d,f),o++,o>e&&(o=0,t=a,a=new Map);};return {get(d){let f=a.get(d);if(f!==void 0)return f;if((f=t.get(d))!==void 0)return u(d,f),f},set(d,f){a.has(d)?a.set(d,f):u(d,f);}}},xe="!",Ie=":",wa=Ie.length,ka=e=>{let{prefix:o,experimentalParseClassName:a}=e,t=u=>{let d=[],f=0,s=0,i=0,m;for(let h=0;h<u.length;h++){let g=u[h];if(f===0&&s===0){if(g===Ie){d.push(u.slice(i,h)),i=h+wa;continue}if(g==="/"){m=h;continue}}g==="["?f++:g==="]"?f--:g==="("?s++:g===")"&&s--;}let L=d.length===0?u:u.substring(i),C=Pa(L),y=C!==L,T=m&&m>i?m-i:void 0;return {modifiers:d,hasImportantModifier:y,baseClassName:C,maybePostfixModifierPosition:T}};if(o){let u=o+Ie,d=t;t=f=>f.startsWith(u)?d(f.substring(u.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:f,maybePostfixModifierPosition:void 0};}if(a){let u=t;t=d=>a({className:d,parseClassName:u});}return t},Pa=e=>e.endsWith(xe)?e.substring(0,e.length-1):e.startsWith(xe)?e.substring(1):e,ba=e=>{let o=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,true]));return t=>{if(t.length<=1)return t;let u=[],d=[];return t.forEach(f=>{f[0]==="["||o[f]?(u.push(...d.sort(),f),d=[]):d.push(f);}),u.push(...d.sort()),u}},Aa=e=>({cache:Sa(e.cacheSize),parseClassName:ka(e),sortModifiers:ba(e),...Ia(e)}),Ma=/\s+/,Fa=(e,o)=>{let{parseClassName:a,getClassGroupId:t,getConflictingClassGroupIds:u,sortModifiers:d}=o,f=[],s=e.trim().split(Ma),i="";for(let m=s.length-1;m>=0;m-=1){let L=s[m],{isExternal:C,modifiers:y,hasImportantModifier:T,baseClassName:h,maybePostfixModifierPosition:g}=a(L);if(C){i=L+(i.length>0?" "+i:i);continue}let D=!!g,x=t(D?h.substring(0,g):h);if(!x){if(!D){i=L+(i.length>0?" "+i:i);continue}if(x=t(h),!x){i=L+(i.length>0?" "+i:i);continue}D=false;}let b=d(y).join(":"),M=T?b+xe:b,w=M+x;if(f.includes(w))continue;f.push(w);let F=u(x,D);for(let R=0;R<F.length;++R){let H=F[R];f.push(M+H);}i=L+(i.length>0?" "+i:i);}return i};function Ba(){let e=0,o,a,t="";for(;e<arguments.length;)(o=arguments[e++])&&(a=He(o))&&(t&&(t+=" "),t+=a);return t}var He=e=>{if(typeof e=="string")return e;let o,a="";for(let t=0;t<e.length;t++)e[t]&&(o=He(e[t]))&&(a&&(a+=" "),a+=o);return a};function ya(e,...o){let a,t,u,d=f;function f(i){let m=o.reduce((L,C)=>C(L),e());return a=Aa(m),t=a.cache.get,u=a.cache.set,d=s,s(i)}function s(i){let m=t(i);if(m)return m;let L=Fa(i,a);return u(i,L),L}return function(){return d(Ba.apply(null,arguments))}}var S=e=>{let o=a=>a[e]||[];return o.isThemeGetter=true,o},Oe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ge=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Da=/^\d+\/\d+$/,Ra=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,va=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ta=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ua=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>Da.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),O=e=>!!e&&Number.isInteger(Number(e)),pe=e=>e.endsWith("%")&&p(e.slice(0,-1)),U=e=>Ra.test(e),Ha=()=>true,Oa=e=>va.test(e)&&!Ta.test(e),Ve=()=>false,Ga=e=>qa.test(e),Va=e=>Ua.test(e),Ea=e=>!l(e)&&!r(e),za=e=>X(e,We,Ve),l=e=>Oe.test(e),z=e=>X(e,Ne,Oa),me=e=>X(e,_a,p),Te=e=>X(e,Ee,Ve),Wa=e=>X(e,ze,Va),le=e=>X(e,Xe,Ga),r=e=>Ge.test(e),J=e=>Z(e,Ne),Na=e=>Z(e,Ka),qe=e=>Z(e,Ee),Xa=e=>Z(e,We),Za=e=>Z(e,ze),re=e=>Z(e,Xe,true),X=(e,o,a)=>{let t=Oe.exec(e);return t?t[1]?o(t[1]):a(t[2]):false},Z=(e,o,a=false)=>{let t=Ge.exec(e);return t?t[1]?o(t[1]):a:false},Ee=e=>e==="position"||e==="percentage",ze=e=>e==="image"||e==="url",We=e=>e==="length"||e==="size"||e==="bg-size",Ne=e=>e==="length",_a=e=>e==="number",Ka=e=>e==="family-name",Xe=e=>e==="shadow";var Ja=()=>{let e=S("color"),o=S("font"),a=S("text"),t=S("font-weight"),u=S("tracking"),d=S("leading"),f=S("breakpoint"),s=S("container"),i=S("spacing"),m=S("radius"),L=S("shadow"),C=S("inset-shadow"),y=S("text-shadow"),T=S("drop-shadow"),h=S("blur"),g=S("perspective"),D=S("aspect"),x=S("ease"),b=S("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...w(),r,l],R=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],n=()=>[r,l,i],k=()=>[N,"full","auto",...n()],we=()=>[O,"none","subgrid",r,l],ke=()=>["auto",{span:["full",O,r,l]},O,r,l],j=()=>[O,"auto",r,l],Pe=()=>["auto","min","max","fr",r,l],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],q=()=>["auto",...n()],E=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...n()],c=()=>[e,r,l],be=()=>[...w(),qe,Te,{position:[r,l]}],Ae=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Me=()=>["auto","cover","contain",Xa,za,{size:[r,l]}],ce=()=>[pe,J,z],A=()=>["","none","full",m,r,l],B=()=>["",p,J,z],ee=()=>["solid","dashed","dotted","double"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>[p,pe,qe,Te],Be=()=>["","none",h,r,l],ae=()=>["none",p,r,l],te=()=>["none",p,r,l],ne=()=>[p,r,l],oe=()=>[N,"full",...n()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[U],breakpoint:[U],color:[Ha],container:[U],"drop-shadow":[U],ease:["in","out","in-out"],font:[Ea],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[U],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[U],shadow:[U],spacing:["px",p],text:[U],"text-shadow":[U],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,l,r,D]}],container:["container"],columns:[{columns:[p,l,r,s]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",r,l]}],basis:[{basis:[N,"full","auto",s,...n()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,N,"auto","initial","none",l]}],grow:[{grow:["",p,r,l]}],shrink:[{shrink:["",p,r,l]}],order:[{order:[O,"first","last","none",r,l]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:ke()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:ke()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Pe()}],"auto-rows":[{"auto-rows":Pe()}],gap:[{gap:n()}],"gap-x":[{"gap-x":n()}],"gap-y":[{"gap-y":n()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:n()}],px:[{px:n()}],py:[{py:n()}],ps:[{ps:n()}],pe:[{pe:n()}],pt:[{pt:n()}],pr:[{pr:n()}],pb:[{pb:n()}],pl:[{pl:n()}],m:[{m:q()}],mx:[{mx:q()}],my:[{my:q()}],ms:[{ms:q()}],me:[{me:q()}],mt:[{mt:q()}],mr:[{mr:q()}],mb:[{mb:q()}],ml:[{ml:q()}],"space-x":[{"space-x":n()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":n()}],"space-y-reverse":["space-y-reverse"],size:[{size:E()}],w:[{w:[s,"screen",...E()]}],"min-w":[{"min-w":[s,"screen","none",...E()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[f]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",a,J,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,r,me]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pe,l]}],"font-family":[{font:[Na,l,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[u,r,l]}],"line-clamp":[{"line-clamp":[p,"none",r,me]}],leading:[{leading:[d,...n()]}],"list-image":[{"list-image":["none",r,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",r,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",r,z]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",r,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:n()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",r,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:be()}],"bg-repeat":[{bg:Ae()}],"bg-size":[{bg:Me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,r,l],radial:["",r,l],conic:[O,r,l]},Za,Wa]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:A()}],"rounded-s":[{"rounded-s":A()}],"rounded-e":[{"rounded-e":A()}],"rounded-t":[{"rounded-t":A()}],"rounded-r":[{"rounded-r":A()}],"rounded-b":[{"rounded-b":A()}],"rounded-l":[{"rounded-l":A()}],"rounded-ss":[{"rounded-ss":A()}],"rounded-se":[{"rounded-se":A()}],"rounded-ee":[{"rounded-ee":A()}],"rounded-es":[{"rounded-es":A()}],"rounded-tl":[{"rounded-tl":A()}],"rounded-tr":[{"rounded-tr":A()}],"rounded-br":[{"rounded-br":A()}],"rounded-bl":[{"rounded-bl":A()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ee(),"hidden","none"]}],"divide-style":[{divide:[...ee(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...ee(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,r,l]}],"outline-w":[{outline:["",p,J,z]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","none",L,re,le]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",C,re,le]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,z]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",y,re,le]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,r,l]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[r,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:be()}],"mask-repeat":[{mask:Ae()}],"mask-size":[{mask:Me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",r,l]}],filter:[{filter:["","none",r,l]}],blur:[{blur:Be()}],brightness:[{brightness:[p,r,l]}],contrast:[{contrast:[p,r,l]}],"drop-shadow":[{"drop-shadow":["","none",T,re,le]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,r,l]}],"hue-rotate":[{"hue-rotate":[p,r,l]}],invert:[{invert:["",p,r,l]}],saturate:[{saturate:[p,r,l]}],sepia:[{sepia:["",p,r,l]}],"backdrop-filter":[{"backdrop-filter":["","none",r,l]}],"backdrop-blur":[{"backdrop-blur":Be()}],"backdrop-brightness":[{"backdrop-brightness":[p,r,l]}],"backdrop-contrast":[{"backdrop-contrast":[p,r,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,r,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,r,l]}],"backdrop-invert":[{"backdrop-invert":["",p,r,l]}],"backdrop-opacity":[{"backdrop-opacity":[p,r,l]}],"backdrop-saturate":[{"backdrop-saturate":[p,r,l]}],"backdrop-sepia":[{"backdrop-sepia":["",p,r,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":n()}],"border-spacing-x":[{"border-spacing-x":n()}],"border-spacing-y":[{"border-spacing-y":n()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",r,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",r,l]}],ease:[{ease:["linear","initial",x,r,l]}],delay:[{delay:[p,r,l]}],animate:[{animate:["none",b,r,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,r,l]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:te()}],"scale-x":[{"scale-x":te()}],"scale-y":[{"scale-y":te()}],"scale-z":[{"scale-z":te()}],"scale-3d":["scale-3d"],skew:[{skew:ne()}],"skew-x":[{"skew-x":ne()}],"skew-y":[{"skew-y":ne()}],transform:[{transform:[r,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:oe()}],"translate-x":[{"translate-x":oe()}],"translate-y":[{"translate-y":oe()}],"translate-z":[{"translate-z":oe()}],"translate-none":["translate-none"],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",r,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":n()}],"scroll-mx":[{"scroll-mx":n()}],"scroll-my":[{"scroll-my":n()}],"scroll-ms":[{"scroll-ms":n()}],"scroll-me":[{"scroll-me":n()}],"scroll-mt":[{"scroll-mt":n()}],"scroll-mr":[{"scroll-mr":n()}],"scroll-mb":[{"scroll-mb":n()}],"scroll-ml":[{"scroll-ml":n()}],"scroll-p":[{"scroll-p":n()}],"scroll-px":[{"scroll-px":n()}],"scroll-py":[{"scroll-py":n()}],"scroll-ps":[{"scroll-ps":n()}],"scroll-pe":[{"scroll-pe":n()}],"scroll-pt":[{"scroll-pt":n()}],"scroll-pr":[{"scroll-pr":n()}],"scroll-pb":[{"scroll-pb":n()}],"scroll-pl":[{"scroll-pl":n()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",r,l]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,J,z,me]}],stroke:[{stroke:["none",...c()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var Ze=ya(Ja);function I(...e){return Ze(De(e))}var _e=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Qa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,a,t)=>t?t.toUpperCase():a.toLowerCase()),he=e=>{let o=Qa(e);return o.charAt(0).toUpperCase()+o.slice(1)},ue=(...e)=>e.filter((o,a,t)=>!!o&&o.trim()!==""&&t.indexOf(o)===a).join(" ").trim(),Ke=e=>{for(let o in e)if(o.startsWith("aria-")||o==="role"||o==="title")return true};var Je={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var $e=ge.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:t,className:u="",children:d,iconNode:f,...s},i)=>ge.createElement("svg",{ref:i,...Je,width:o,height:o,stroke:e,strokeWidth:t?Number(a)*24/Number(o):a,className:ue("lucide",u),...!d&&!Ke(s)&&{"aria-hidden":"true"},...s},[...f.map(([m,L])=>ge.createElement(m,L)),...Array.isArray(d)?d:[d]]));var _=(e,o)=>{let a=ge.forwardRef(({className:t,...u},d)=>ge.createElement($e,{ref:d,iconNode:o,className:ue(`lucide-${_e(he(e))}`,`lucide-${e}`,t),...u}));return a.displayName=he(e),a};var et=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Q=_("chevron-down",et);var at=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],G=_("circle-alert",at);var tt=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$=_("x",tt);var Ye=$;var de=Q;var je=G;var ot=({error:e,helperText:o,disabled:a})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:o&&jsxRuntime.jsx("span",{className:I("mx-4 mt-1 text-start text-xs leading-[130%] text-neutral-600",a&&"text-neutral-400",e&&"text-error-700"),children:o})}),aa=ot;var ta=ge.forwardRef(({label:e,placeholder:o,error:a,selectMode:t=false,showClearButton:u=true,helperText:d,className:f,size:s="md",onClean:i,onChange:m,startIcon:L,endIcon:C,startComponent:y,fixedTopLabel:T,startText:h,disabled:g,required:D,...x},b)=>{let M=ge.useId(),w=ge.useRef(null),[F,R]=ge.useState(false),H=!w.current?.value,n=ge.useCallback(()=>{if(w.current&&!g){w.current.value="",R(false),i?.();let k={target:w.current,currentTarget:w.current,type:"change",bubbles:true,cancelable:false,defaultPrevented:false,eventPhase:0,isTrusted:true,preventDefault:()=>{},stopPropagation:()=>{},persist:()=>{},isDefaultPrevented:()=>false,isPropagationStopped:()=>false,timeStamp:Date.now(),nativeEvent:new Event("change")};m?.(k);}},[g,m,w.current]);return ge.useEffect(()=>{w.current&&R(w.current.value.length>0);},[]),jsxRuntime.jsxs("div",{className:I("flex flex-col",f),children:[jsxRuntime.jsxs("div",{className:I("relative flex flex-col rounded-lg bg-neutral-50",s==="lg"&&"h-12",s==="md"&&"h-10",s==="sm"&&"h-8"),children:[jsxRuntime.jsx("input",{id:M,disabled:g,required:D,className:I("hover:caret-neutral-text-neutral-600 hover:ring-neutral-text-neutral-600 hover:text-neutral no-spinner peer absolute z-20 h-full w-full rounded-lg bg-neutral-50/0 text-left tracking-normal text-neutral-900 placeholder-neutral-500 caret-neutral-900 outline-0 ring-1 ring-inset ring-neutral-400 transition-all ease-linear focus:text-neutral-900 focus:placeholder-neutral-500 focus:placeholder-opacity-100 focus:caret-primary-800 focus:ring-2 focus:ring-primary-800 disabled:bg-neutral-80 disabled:text-neutral-400 disabled:ring-neutral-100 not-placeholder-shown:z-10",e&&"placeholder-neutral-500/0",a&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700",s==="lg"&&"text-base",s==="md"&&"text-sm",s==="sm"&&"text-sm",L?s==="lg"?"pl-[2.75rem]":"pl-[2.38rem]":y?"pl-[6.5rem]":"pl-4",h&&"pl-[1.94rem]",C?s==="lg"?"pr-[2.75rem]":"pr-[2.38rem]":"pr-4"),placeholder:o??"",ref:k=>{typeof b=="function"?b(k):b&&(b.current=k),w.current=k;},onChange:k=>{R(k.target.value.length>0),m?.(k);},...x}),y&&ge__default.default.cloneElement(y,{className:I("absolute z-20 flex left-3 top-1/2 transform -translate-y-1/2 items-center rounded-full peer-disabled:text-neutral-400",a&&!F&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),L&&ge__default.default.cloneElement(L,{size:18,className:I("absolute flex peer-focus:text-neutral-900 z-20 text-neutral-500 left-3 h-full items-center rounded-full peer-disabled:text-neutral-400",a&&!F&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),h&&jsxRuntime.jsx("div",{className:"flex h-full items-center pl-3",children:jsxRuntime.jsx("p",{className:I("text-neutral-700",a&&"text-error-700"),children:h})}),e&&jsxRuntime.jsxs(reactLabel.Label,{htmlFor:M,className:I("absolute -top-[0.5625rem] z-10 ml-3 bg-neutral-50 px-1 tracking-normal text-neutral-50 transition-all duration-75 ease-linear peer-hover:text-primary-800 peer-disabled:z-20 peer-disabled:text-neutral-400","peer-focus:-top-[0.5625rem] peer-focus:z-20 peer-focus:ml-3 peer-focus:text-xs peer-focus:text-primary-800 peer-disabled:peer-not-focus:peer-placeholder-shown:bg-neutral-80",!a&&"peer-not-disabled:peer-not-focus:text-neutral-400 peer-not-disabled:peer-not-focus:peer-not-placeholder-shown:text-neutral-900",F&&"peer-disabled:bg-neutral-80",s==="lg"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-3":s==="md"?"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-2.5":"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-1.5",!H&&"text-xs",a&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",L?s==="lg"?"peer-placeholder-shown:ml-[2.75rem]":"peer-placeholder-shown:ml-[2.38rem]":y?"peer-placeholder-shown:ml-[6rem]":"ml-3",T&&"-top-[0.375rem]! z-20 ml-3 text-xs! transition-none!",h&&"peer-placeholder-shown:ml-[1.94rem]"),children:[D&&"*",e]}),(u&&(!H||F)||a)&&jsxRuntime.jsxs("div",{className:I("absolute z-10 hidden h-full items-center peer-focus:flex",a&&!g&&"flex",t||C?s==="lg"?"right-[2.81rem]":s==="md"?"right-[2.125rem]":"right-[1.875rem]":"right-4"),children:[a&&jsxRuntime.jsx(je,{size:s==="sm"?14:18,className:"text-error-700"}),!a&&jsxRuntime.jsx(Ye,{onMouseDown:n,size:s==="sm"?14:18,className:"cursor-pointer text-neutral-900"})]}),C&&ge__default.default.cloneElement(C,{size:s==="sm"?14:18,className:I("absolute peer-focus:text-neutral-900 z-20 text-neutral-500 flex right-3 h-full items-center rounded-full peer-disabled:text-neutral-400",a&&!F&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),t&&jsxRuntime.jsx("div",{className:I("peer-hover:text-neutral absolute right-4 z-20 flex h-full items-center rounded-full transition-all ease-linear peer-focus:rotate-180 peer-focus:text-primary-900 peer-disabled:text-neutral-400"),children:jsxRuntime.jsx(de,{className:s==="lg"?"h-6 w-6":"h-4.5 w-4.5"})})]}),jsxRuntime.jsx(aa,{helperText:d,error:a,disabled:g})]})});var oa='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=chile" clip-path="url(%23clip0_1491_56906)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40 20.0015C40 31.0459 31.0459 40.0029 19.9985 40.0029C8.95123 40.0029 0 31.0459 0 20.0015C0 8.95705 20.0015 20.0015 20.0015 20.0015H40.0029H40Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0V20.0015H0Z" fill="%230052B4"/>%0A<path id="Vector_4" d="M11.9049 6.9569L13.1986 10.9427H17.3908L14.001 13.405L15.2947 17.3908L11.9049 14.9284L8.51515 17.3908L9.80885 13.405L6.41907 10.9427H10.6112L11.9049 6.9569Z" fill="%23F0F0F0"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56906">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var la='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=argentina" clip-path="url(%23clip0_1491_56925)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M20.0012 0C12.0704 0 5.21814 4.61371 1.98535 11.3061H38.017C34.7813 4.61371 27.9291 0 20.0012 0Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M20.0012 40C27.9291 40 34.7813 35.3863 38.017 28.694H1.98535C5.22105 35.3834 12.0704 40 20.0012 40Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M25.9786 20.0015L23.5366 21.1498L24.8361 23.5162L22.1848 23.0075L21.8475 25.6879L20.0015 23.7168L18.1525 25.6879L17.8152 23.0075L15.1639 23.5133L16.4634 21.1498L14.0214 20.0015L16.4634 18.8531L15.1639 16.4867L17.8152 16.9954L18.1525 14.315L19.9985 16.2861L21.8475 14.315L22.1848 16.9954L24.8361 16.4867L23.5366 18.8531L25.9786 20.0015Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56925">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ra='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=colombia" clip-path="url(%23clip0_1491_56936)">%0A<path id="Vector" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0C31.0488 0 40.0029 8.95414 40.0029 20.0015L20.0015 21.74L0 20.0015Z" fill="%23FFDA44"/>%0A<path id="Vector_2" d="M2.67752 29.9993C6.13417 35.9765 12.5968 40 20.0015 40C27.4061 40 33.8687 35.9794 37.3254 29.9993L20.0015 28.6939L2.67752 29.9993Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M37.3254 29.9993C39.029 27.0572 40.0029 23.6413 40.0029 19.9985H0C0 23.6413 0.973908 27.0572 2.67752 29.9993H37.3254Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56936">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ua='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="flags_sm" clip-path="url(%23clip0_2024_263)">%0A<path id="Vector" d="M12.0009 24C18.6275 24 24.0017 18.6275 24.0017 11.9991C24.0017 5.37074 18.6275 0 12.0009 0C5.37423 0 0 5.37248 0 12.0009C0 18.6293 5.37248 24.0017 12.0009 24.0017V24Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M24.0004 12.0009C24.0004 7.24417 21.2322 3.13283 17.2168 1.19141V22.8104C21.2305 20.869 24.0004 16.7577 24.0004 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M0 12.0009C0 16.7576 2.76822 20.8689 6.78363 22.8104V1.19135C2.76822 3.13102 0 7.24237 0 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M15.1358 14.0295L13.1072 12.0009L15.0381 10.07L14.9509 9.04953L14.398 8.49658L11.9996 10.895L9.60113 8.49658L9.04818 9.04953L8.96096 10.07L10.8919 12.0009L8.86328 14.0295L9.96918 15.1354L11.9978 13.1068L14.0264 15.1354L15.1323 14.0295H15.1358Z" fill="%23ACABB1"/>%0A<path id="Vector_5" d="M14.9527 9.04944L13.8468 10.1553C14.3195 10.628 14.6108 11.2787 14.6108 11.9991C14.6108 13.4399 13.4438 14.6086 12.0013 14.6086C10.5587 14.6086 9.3918 13.4416 9.3918 11.9991C9.3918 11.2787 9.6831 10.6263 10.1558 10.1553L9.04991 9.04944C8.29462 9.80473 7.82715 10.8478 7.82715 12.0008C7.82715 14.3068 9.69531 16.175 12.0013 16.175C14.3073 16.175 16.1754 14.3068 16.1754 12.0008C16.1754 10.8478 15.708 9.80473 14.9527 9.04944Z" fill="%236DA544"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_263">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var da='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=mexico" clip-path="url(%23clip0_1491_56915)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40.0004 20.0014C40.0004 12.0735 35.3838 5.2213 28.6943 1.9856V38.0173C35.3809 34.7816 40.0004 27.9293 40.0004 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 27.9294 4.61661 34.7816 11.3061 38.0173V1.98561C4.61661 5.2184 0 12.0706 0 20.0015Z" fill="%236DA544"/>%0A<path id="Vector_4" d="M14.7801 20.0015C14.7801 22.8825 17.1175 25.2199 19.9985 25.2199C22.8796 25.2199 25.2169 22.8825 25.2169 20.0015V18.263H14.7801V20.0015Z" fill="%236DA544"/>%0A<path id="Vector_5" d="M26.953 16.5216H21.7433C21.7433 15.5593 20.9612 14.7831 20.0019 14.7831C19.0425 14.7831 18.2605 15.5622 18.2605 16.5216H13.0508C13.0508 17.481 13.8881 18.2601 14.8474 18.2601H14.7835C14.7835 19.2195 15.5655 19.9986 16.5249 19.9986C16.5249 20.9579 17.2982 21.7371 18.2605 21.7371H21.7462C22.7085 21.7371 23.4818 20.9579 23.4818 19.9986C24.444 19.9986 25.2232 19.2195 25.2232 18.2601H25.1592C26.1215 18.2601 26.9559 17.481 26.9559 16.5216H26.953Z" fill="%23FF9811"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56915">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var sa='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=peru" clip-path="url(%23clip0_1491_56921)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M39.9996 20.0014C39.9996 11.402 34.569 4.07005 26.9521 1.24426V38.7586C34.569 35.9328 39.9996 28.6009 39.9996 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 28.6009 5.43063 35.9328 13.0475 38.7586V1.24428C5.43063 4.07006 0 11.402 0 20.0015Z" fill="%23D80027"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56921">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var fa='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=brasil" clip-path="url(%23clip0_1491_56900)">%0A<path id="Vector" d="M20.0015 40C31.0459 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%236DA544"/>%0A<path id="Vector_2" d="M20.001 7.82617L36.5226 20.0015L20.001 32.1768L3.47656 20.0015L19.9981 7.82617H20.001Z" fill="%23FFDA44"/>%0A<path id="Vector_3" d="M20.0018 26.9554C23.8451 26.9554 26.9587 23.8418 26.9587 19.9985C26.9587 16.1552 23.8451 13.0416 20.0018 13.0416C16.1585 13.0416 13.0449 16.1552 13.0449 19.9985C13.0449 23.8418 16.1585 26.9554 20.0018 26.9554Z" fill="%23F0F0F0"/>%0A<path id="Vector_4" d="M16.5219 19.5654C15.3125 19.5654 14.1438 19.7486 13.0449 20.0916C13.0943 23.8913 16.1876 26.9584 19.9989 26.9584C22.3566 26.9584 24.4382 25.7868 25.697 23.9931C23.5428 21.2981 20.2315 19.5683 16.5219 19.5683V19.5654Z" fill="%230052B4"/>%0A<path id="Vector_5" d="M26.8275 21.3329C26.9118 20.9027 26.9554 20.455 26.9554 20.0015C26.9554 16.1582 23.8418 13.0446 19.9985 13.0446C17.1321 13.0446 14.6697 14.7801 13.6056 17.2542C14.5476 17.0594 15.5215 16.9547 16.5186 16.9547C20.5596 16.9547 24.214 18.6351 26.8246 21.33L26.8275 21.3329Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56900">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ia='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2024_325)">%0A<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="%23F0F0F0"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M4.53015 21.3913H19.4698C20.565 20.5191 21.5042 19.4596 22.2387 18.2609H1.76129C2.49587 19.4596 3.43506 20.5191 4.53015 21.3913Z" fill="%23338AF3"/>%0A<path d="M12 0V2.60869H19.4699C17.42 0.976125 14.8242 0 12 0Z" fill="%23338AF3"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M0 12C0 13.0831 0.144375 14.1323 0.413391 15.1305H23.5867C23.8556 14.1323 24 13.0831 24 12H0Z" fill="%23338AF3"/>%0A<path d="M10.4348 7.02287L8.96922 7.71226L9.74965 9.13163L8.15824 8.82723L7.95658 10.4348L6.84818 9.25243L5.73968 10.4348L5.53807 8.82723L3.94666 9.13154L4.72704 7.71221L3.26154 7.02287L4.72708 6.33357L3.94666 4.91419L5.53802 5.2186L5.73972 3.61102L6.84818 4.7934L7.95663 3.61102L8.15824 5.2186L9.74969 4.91419L8.96927 6.33362L10.4348 7.02287Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_325">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ca='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_1770_12638)">%0A<path d="M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z" fill="%23F0F0F0"/>%0A<path d="M19.1305 20H40C40 18.1948 39.7594 16.4461 39.311 14.7826H19.1305V20Z" fill="%23D80027"/>%0A<path d="M19.1305 9.56523H37.0646C35.8403 7.56742 34.2749 5.80156 32.4497 4.34781H19.1305V9.56523Z" fill="%23D80027"/>%0A<path d="M20 40C24.707 40 29.0333 38.3731 32.4497 35.6522H7.55032C10.9667 38.3731 15.2931 40 20 40Z" fill="%23D80027"/>%0A<path d="M2.93548 30.4348H37.0645C38.0474 28.8309 38.8097 27.0778 39.311 25.2173H0.688995C1.19032 27.0778 1.95259 28.8309 2.93548 30.4348Z" fill="%23D80027"/>%0A<path d="M9.26437 3.12328H11.087L9.39164 4.35492L10.0392 6.34781L8.34398 5.11617L6.64875 6.34781L7.20813 4.62617C5.71547 5.86953 4.40719 7.32625 3.32906 8.94938H3.91305L2.83391 9.73336C2.66578 10.0138 2.50453 10.2987 2.35 10.5879L2.86531 12.1739L1.90391 11.4754C1.66492 11.9817 1.44633 12.4995 1.24984 13.028L1.81758 14.7755H3.91305L2.21773 16.0071L2.86531 18L1.17008 16.7684L0.154609 17.5062C0.0529687 18.3232 0 19.1554 0 20H20C20 8.95437 20 7.65219 20 0C16.0491 0 12.366 1.14609 9.26437 3.12328ZM10.0392 18L8.34398 16.7684L6.64875 18L7.29633 16.0071L5.60102 14.7755H7.69648L8.34398 12.7826L8.99148 14.7755H11.087L9.39164 16.0071L10.0392 18ZM9.39164 10.181L10.0392 12.1739L8.34398 10.9423L6.64875 12.1739L7.29633 10.181L5.60102 8.94938H7.69648L8.34398 6.95648L8.99148 8.94938H11.087L9.39164 10.181ZM17.2131 18L15.5179 16.7684L13.8227 18L14.4702 16.0071L12.7749 14.7755H14.8704L15.5179 12.7826L16.1654 14.7755H18.2609L16.5655 16.0071L17.2131 18ZM16.5655 10.181L17.2131 12.1739L15.5179 10.9423L13.8227 12.1739L14.4702 10.181L12.7749 8.94938H14.8704L15.5179 6.95648L16.1654 8.94938H18.2609L16.5655 10.181ZM16.5655 4.35492L17.2131 6.34781L15.5179 5.11617L13.8227 6.34781L14.4702 4.35492L12.7749 3.12328H14.8704L15.5179 1.13039L16.1654 3.12328H18.2609L16.5655 4.35492Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1770_12638">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var kt=(e,o)=>{let a=ge.useCallback(t=>{e.current&&!e.current.contains(t.target)&&o();},[]);ge.useEffect(()=>(document.addEventListener("pointerdown",a),()=>{document.removeEventListener("pointerdown",a);}),[]);},na=kt;var ma=56,fe=6,Ft=(m=>(m.CL="CL",m.AR="AR",m.CO="CO",m.GT="GT",m.MX="MX",m.PE="PE",m.BR="BR",m.UY="UY",m.US="US",m))(Ft||{}),xa=new Map([["CL",{name:"Chile",flag:oa}],["AR",{name:"Argentina",flag:la}],["CO",{name:"Colombia",flag:ra}],["GT",{name:"Guatemala",flag:ua}],["MX",{name:"Mexico",flag:da}],["PE",{name:"Per\xFA",flag:sa}],["BR",{name:"Brasil",flag:fa}],["UY",{name:"Uruguay",flag:ia}],["US",{name:"Estados Unidos",flag:ca}]]),K=Array.from(xa.entries()),ul=({noResults:e,selectedCountry:o,onSelect:a,className:t,size:u="md",...d})=>{let f=ge.useId(),s=ge.useRef(null),i=ge.useRef(null),[m,L]=ge.useState("bottom"),[C,y]=ge.useState(),[T,h]=ge.useState(-1),g=x=>{s.current.style.display="none",a?.(x);};ge.useEffect(()=>{if(!i.current)return;let x=()=>{if(!i.current)return;let b=ma*(K.length<fe?K.length:fe)+16,M=i.current.getBoundingClientRect();y(M);let w=window.innerHeight-M.bottom>b,F=M.top>b;L(w?"bottom":F?"top":"bottom");};return x(),i.current.addEventListener("mousedown",x),window.addEventListener("scroll",x,true),window.addEventListener("resize",x),()=>{i.current?.removeEventListener("mousedown",x),window.removeEventListener("scroll",x,true),window.removeEventListener("resize",x);}},[i.current]),na(s,()=>{s.current&&(s.current.style.display="none",h(-1));});let D=ge.useMemo(()=>xa.get(o),[o]);return jsxRuntime.jsx("div",{className:I("flex flex-col",t),children:jsxRuntime.jsxs("div",{className:I("relative flex flex-col"),children:[jsxRuntime.jsx(ta,{ref:i,startComponent:jsxRuntime.jsxs("div",{className:"z-100000 ml-3 flex h-2 w-[7.5rem] cursor-pointer items-center",onClick:()=>{d.disabled||(s.current.style.display="flex");},children:[jsxRuntime.jsx("img",{src:D?.flag,alt:D?.name,className:I("h-6 w-6 cursor-pointer",d.disabled&&"cursor-not-allowed text-neutral-400")}),jsxRuntime.jsx("span",{className:I("ml-1",d.disabled&&"cursor-not-allowed text-neutral-400"),children:o}),jsxRuntime.jsx(de,{className:I(u==="md"?"h-6 w-6":"h-4.5 w-4.5","cursor-pointer",d.disabled&&"cursor-not-allowed text-neutral-400")})]}),...d}),jsxRuntime.jsx(La__namespace.Root,{asChild:true,children:jsxRuntime.jsxs("ul",{ref:s,className:"elevation-8 pointer-events-auto absolute z-10000 my-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:C?{width:`${C.width}px`,left:C.left,top:m==="bottom"?`${C.height+C.top+window.scrollY}px`:window.scrollY+C.top-(K.length<fe?K.length:fe)*ma-16}:void 0,children:[K.length===0&&jsxRuntime.jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col items-center justify-center rounded-lg bg-neutral-50 px-8 py-6",children:[ge__default.default.cloneElement(e.icon,{className:"mb-2 h-8 w-8 text-neutral-300"}),jsxRuntime.jsx("p",{className:"text-center text-sm leading-[120%] text-neutral-500",children:e.message})]}),K.map(([x,b],M)=>jsxRuntime.jsx("li",{onClick:()=>{g(x);},className:I("shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",o===x&&"bg-primary-200",T===M&&"bg-primary-200"),children:jsxRuntime.jsxs("div",{className:I("flex items-center space-x-3"),children:[jsxRuntime.jsx("img",{src:b.flag,alt:b.name,className:"h-6 w-6"}),jsxRuntime.jsx("p",{children:b.name}),jsxRuntime.jsx("p",{className:"text-primary-500",children:`(${x})`})]})},`select-option-${f}-${x}`))]})})]})})};/*! Bundled license information:
|
|
1
|
+
'use strict';var ge=require('react'),La=require('@radix-ui/react-portal'),reactLabel=require('@radix-ui/react-label'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var ge__default=/*#__PURE__*/_interopDefault(ge);var La__namespace=/*#__PURE__*/_interopNamespace(La);function ye(e){var o,a,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(o=0;o<u;o++)e[o]&&(a=ye(e[o]))&&(t&&(t+=" "),t+=a);}else for(a in e)e[a]&&(t&&(t+=" "),t+=a);return t}function De(){for(var e,o,a=0,t="",u=arguments.length;a<u;a++)(e=arguments[a])&&(o=ye(e))&&(t&&(t+=" "),t+=o);return t}var Ce="-",Ia=e=>{let o=ha(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:f=>{let s=f.split(Ce);return s[0]===""&&s.length!==1&&s.shift(),Ue(s,o)||Ca(f)},getConflictingClassGroupIds:(f,s)=>{let i=a[f]||[];return s&&t[f]?[...i,...t[f]]:i}}},Ue=(e,o)=>{if(e.length===0)return o.classGroupId;let a=e[0],t=o.nextPart.get(a),u=t?Ue(e.slice(1),t):void 0;if(u)return u;if(o.validators.length===0)return;let d=e.join(Ce);return o.validators.find(({validator:f})=>f(d))?.classGroupId},Re=/^\[(.+)\]$/,Ca=e=>{if(Re.test(e)){let o=Re.exec(e)[1],a=o?.substring(0,o.indexOf(":"));if(a)return "arbitrary.."+a}},ha=e=>{let{theme:o,classGroups:a}=e,t={nextPart:new Map,validators:[]};for(let u in a)Le(a[u],t,u,o);return t},Le=(e,o,a,t)=>{e.forEach(u=>{if(typeof u=="string"){let d=u===""?o:ve(o,u);d.classGroupId=a;return}if(typeof u=="function"){if(ga(u)){Le(u(t),o,a,t);return}o.validators.push({validator:u,classGroupId:a});return}Object.entries(u).forEach(([d,f])=>{Le(f,ve(o,d),a,t);});});},ve=(e,o)=>{let a=e;return o.split(Ce).forEach(t=>{a.nextPart.has(t)||a.nextPart.set(t,{nextPart:new Map,validators:[]}),a=a.nextPart.get(t);}),a},ga=e=>e.isThemeGetter,Sa=e=>{if(e<1)return {get:()=>{},set:()=>{}};let o=0,a=new Map,t=new Map,u=(d,f)=>{a.set(d,f),o++,o>e&&(o=0,t=a,a=new Map);};return {get(d){let f=a.get(d);if(f!==void 0)return f;if((f=t.get(d))!==void 0)return u(d,f),f},set(d,f){a.has(d)?a.set(d,f):u(d,f);}}},xe="!",Ie=":",wa=Ie.length,ka=e=>{let{prefix:o,experimentalParseClassName:a}=e,t=u=>{let d=[],f=0,s=0,i=0,m;for(let h=0;h<u.length;h++){let g=u[h];if(f===0&&s===0){if(g===Ie){d.push(u.slice(i,h)),i=h+wa;continue}if(g==="/"){m=h;continue}}g==="["?f++:g==="]"?f--:g==="("?s++:g===")"&&s--;}let L=d.length===0?u:u.substring(i),C=Pa(L),y=C!==L,T=m&&m>i?m-i:void 0;return {modifiers:d,hasImportantModifier:y,baseClassName:C,maybePostfixModifierPosition:T}};if(o){let u=o+Ie,d=t;t=f=>f.startsWith(u)?d(f.substring(u.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:f,maybePostfixModifierPosition:void 0};}if(a){let u=t;t=d=>a({className:d,parseClassName:u});}return t},Pa=e=>e.endsWith(xe)?e.substring(0,e.length-1):e.startsWith(xe)?e.substring(1):e,ba=e=>{let o=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,true]));return t=>{if(t.length<=1)return t;let u=[],d=[];return t.forEach(f=>{f[0]==="["||o[f]?(u.push(...d.sort(),f),d=[]):d.push(f);}),u.push(...d.sort()),u}},Aa=e=>({cache:Sa(e.cacheSize),parseClassName:ka(e),sortModifiers:ba(e),...Ia(e)}),Ma=/\s+/,Fa=(e,o)=>{let{parseClassName:a,getClassGroupId:t,getConflictingClassGroupIds:u,sortModifiers:d}=o,f=[],s=e.trim().split(Ma),i="";for(let m=s.length-1;m>=0;m-=1){let L=s[m],{isExternal:C,modifiers:y,hasImportantModifier:T,baseClassName:h,maybePostfixModifierPosition:g}=a(L);if(C){i=L+(i.length>0?" "+i:i);continue}let D=!!g,x=t(D?h.substring(0,g):h);if(!x){if(!D){i=L+(i.length>0?" "+i:i);continue}if(x=t(h),!x){i=L+(i.length>0?" "+i:i);continue}D=false;}let b=d(y).join(":"),M=T?b+xe:b,w=M+x;if(f.includes(w))continue;f.push(w);let F=u(x,D);for(let R=0;R<F.length;++R){let H=F[R];f.push(M+H);}i=L+(i.length>0?" "+i:i);}return i};function Ba(){let e=0,o,a,t="";for(;e<arguments.length;)(o=arguments[e++])&&(a=He(o))&&(t&&(t+=" "),t+=a);return t}var He=e=>{if(typeof e=="string")return e;let o,a="";for(let t=0;t<e.length;t++)e[t]&&(o=He(e[t]))&&(a&&(a+=" "),a+=o);return a};function ya(e,...o){let a,t,u,d=f;function f(i){let m=o.reduce((L,C)=>C(L),e());return a=Aa(m),t=a.cache.get,u=a.cache.set,d=s,s(i)}function s(i){let m=t(i);if(m)return m;let L=Fa(i,a);return u(i,L),L}return function(){return d(Ba.apply(null,arguments))}}var S=e=>{let o=a=>a[e]||[];return o.isThemeGetter=true,o},Oe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ge=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Da=/^\d+\/\d+$/,Ra=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,va=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ta=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ua=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>Da.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),O=e=>!!e&&Number.isInteger(Number(e)),pe=e=>e.endsWith("%")&&p(e.slice(0,-1)),U=e=>Ra.test(e),Ha=()=>true,Oa=e=>va.test(e)&&!Ta.test(e),Ve=()=>false,Ga=e=>qa.test(e),Va=e=>Ua.test(e),Ea=e=>!l(e)&&!r(e),za=e=>X(e,We,Ve),l=e=>Oe.test(e),z=e=>X(e,Ne,Oa),me=e=>X(e,_a,p),Te=e=>X(e,Ee,Ve),Wa=e=>X(e,ze,Va),le=e=>X(e,Xe,Ga),r=e=>Ge.test(e),J=e=>Z(e,Ne),Na=e=>Z(e,Ka),qe=e=>Z(e,Ee),Xa=e=>Z(e,We),Za=e=>Z(e,ze),re=e=>Z(e,Xe,true),X=(e,o,a)=>{let t=Oe.exec(e);return t?t[1]?o(t[1]):a(t[2]):false},Z=(e,o,a=false)=>{let t=Ge.exec(e);return t?t[1]?o(t[1]):a:false},Ee=e=>e==="position"||e==="percentage",ze=e=>e==="image"||e==="url",We=e=>e==="length"||e==="size"||e==="bg-size",Ne=e=>e==="length",_a=e=>e==="number",Ka=e=>e==="family-name",Xe=e=>e==="shadow";var Ja=()=>{let e=S("color"),o=S("font"),a=S("text"),t=S("font-weight"),u=S("tracking"),d=S("leading"),f=S("breakpoint"),s=S("container"),i=S("spacing"),m=S("radius"),L=S("shadow"),C=S("inset-shadow"),y=S("text-shadow"),T=S("drop-shadow"),h=S("blur"),g=S("perspective"),D=S("aspect"),x=S("ease"),b=S("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...w(),r,l],R=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],n=()=>[r,l,i],k=()=>[N,"full","auto",...n()],we=()=>[O,"none","subgrid",r,l],ke=()=>["auto",{span:["full",O,r,l]},O,r,l],j=()=>[O,"auto",r,l],Pe=()=>["auto","min","max","fr",r,l],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],q=()=>["auto",...n()],E=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...n()],c=()=>[e,r,l],be=()=>[...w(),qe,Te,{position:[r,l]}],Ae=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Me=()=>["auto","cover","contain",Xa,za,{size:[r,l]}],ce=()=>[pe,J,z],A=()=>["","none","full",m,r,l],B=()=>["",p,J,z],ee=()=>["solid","dashed","dotted","double"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>[p,pe,qe,Te],Be=()=>["","none",h,r,l],ae=()=>["none",p,r,l],te=()=>["none",p,r,l],ne=()=>[p,r,l],oe=()=>[N,"full",...n()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[U],breakpoint:[U],color:[Ha],container:[U],"drop-shadow":[U],ease:["in","out","in-out"],font:[Ea],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[U],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[U],shadow:[U],spacing:["px",p],text:[U],"text-shadow":[U],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,l,r,D]}],container:["container"],columns:[{columns:[p,l,r,s]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",r,l]}],basis:[{basis:[N,"full","auto",s,...n()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,N,"auto","initial","none",l]}],grow:[{grow:["",p,r,l]}],shrink:[{shrink:["",p,r,l]}],order:[{order:[O,"first","last","none",r,l]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:ke()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:ke()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Pe()}],"auto-rows":[{"auto-rows":Pe()}],gap:[{gap:n()}],"gap-x":[{"gap-x":n()}],"gap-y":[{"gap-y":n()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:n()}],px:[{px:n()}],py:[{py:n()}],ps:[{ps:n()}],pe:[{pe:n()}],pt:[{pt:n()}],pr:[{pr:n()}],pb:[{pb:n()}],pl:[{pl:n()}],m:[{m:q()}],mx:[{mx:q()}],my:[{my:q()}],ms:[{ms:q()}],me:[{me:q()}],mt:[{mt:q()}],mr:[{mr:q()}],mb:[{mb:q()}],ml:[{ml:q()}],"space-x":[{"space-x":n()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":n()}],"space-y-reverse":["space-y-reverse"],size:[{size:E()}],w:[{w:[s,"screen",...E()]}],"min-w":[{"min-w":[s,"screen","none",...E()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[f]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",a,J,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,r,me]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pe,l]}],"font-family":[{font:[Na,l,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[u,r,l]}],"line-clamp":[{"line-clamp":[p,"none",r,me]}],leading:[{leading:[d,...n()]}],"list-image":[{"list-image":["none",r,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",r,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",r,z]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",r,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:n()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",r,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:be()}],"bg-repeat":[{bg:Ae()}],"bg-size":[{bg:Me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,r,l],radial:["",r,l],conic:[O,r,l]},Za,Wa]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:A()}],"rounded-s":[{"rounded-s":A()}],"rounded-e":[{"rounded-e":A()}],"rounded-t":[{"rounded-t":A()}],"rounded-r":[{"rounded-r":A()}],"rounded-b":[{"rounded-b":A()}],"rounded-l":[{"rounded-l":A()}],"rounded-ss":[{"rounded-ss":A()}],"rounded-se":[{"rounded-se":A()}],"rounded-ee":[{"rounded-ee":A()}],"rounded-es":[{"rounded-es":A()}],"rounded-tl":[{"rounded-tl":A()}],"rounded-tr":[{"rounded-tr":A()}],"rounded-br":[{"rounded-br":A()}],"rounded-bl":[{"rounded-bl":A()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ee(),"hidden","none"]}],"divide-style":[{divide:[...ee(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...ee(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,r,l]}],"outline-w":[{outline:["",p,J,z]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","none",L,re,le]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",C,re,le]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,z]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",y,re,le]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,r,l]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[r,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:be()}],"mask-repeat":[{mask:Ae()}],"mask-size":[{mask:Me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",r,l]}],filter:[{filter:["","none",r,l]}],blur:[{blur:Be()}],brightness:[{brightness:[p,r,l]}],contrast:[{contrast:[p,r,l]}],"drop-shadow":[{"drop-shadow":["","none",T,re,le]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,r,l]}],"hue-rotate":[{"hue-rotate":[p,r,l]}],invert:[{invert:["",p,r,l]}],saturate:[{saturate:[p,r,l]}],sepia:[{sepia:["",p,r,l]}],"backdrop-filter":[{"backdrop-filter":["","none",r,l]}],"backdrop-blur":[{"backdrop-blur":Be()}],"backdrop-brightness":[{"backdrop-brightness":[p,r,l]}],"backdrop-contrast":[{"backdrop-contrast":[p,r,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,r,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,r,l]}],"backdrop-invert":[{"backdrop-invert":["",p,r,l]}],"backdrop-opacity":[{"backdrop-opacity":[p,r,l]}],"backdrop-saturate":[{"backdrop-saturate":[p,r,l]}],"backdrop-sepia":[{"backdrop-sepia":["",p,r,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":n()}],"border-spacing-x":[{"border-spacing-x":n()}],"border-spacing-y":[{"border-spacing-y":n()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",r,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",r,l]}],ease:[{ease:["linear","initial",x,r,l]}],delay:[{delay:[p,r,l]}],animate:[{animate:["none",b,r,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,r,l]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:te()}],"scale-x":[{"scale-x":te()}],"scale-y":[{"scale-y":te()}],"scale-z":[{"scale-z":te()}],"scale-3d":["scale-3d"],skew:[{skew:ne()}],"skew-x":[{"skew-x":ne()}],"skew-y":[{"skew-y":ne()}],transform:[{transform:[r,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:oe()}],"translate-x":[{"translate-x":oe()}],"translate-y":[{"translate-y":oe()}],"translate-z":[{"translate-z":oe()}],"translate-none":["translate-none"],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",r,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":n()}],"scroll-mx":[{"scroll-mx":n()}],"scroll-my":[{"scroll-my":n()}],"scroll-ms":[{"scroll-ms":n()}],"scroll-me":[{"scroll-me":n()}],"scroll-mt":[{"scroll-mt":n()}],"scroll-mr":[{"scroll-mr":n()}],"scroll-mb":[{"scroll-mb":n()}],"scroll-ml":[{"scroll-ml":n()}],"scroll-p":[{"scroll-p":n()}],"scroll-px":[{"scroll-px":n()}],"scroll-py":[{"scroll-py":n()}],"scroll-ps":[{"scroll-ps":n()}],"scroll-pe":[{"scroll-pe":n()}],"scroll-pt":[{"scroll-pt":n()}],"scroll-pr":[{"scroll-pr":n()}],"scroll-pb":[{"scroll-pb":n()}],"scroll-pl":[{"scroll-pl":n()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",r,l]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,J,z,me]}],stroke:[{stroke:["none",...c()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var Ze=ya(Ja);function I(...e){return Ze(De(e))}var _e=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Qa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,a,t)=>t?t.toUpperCase():a.toLowerCase()),he=e=>{let o=Qa(e);return o.charAt(0).toUpperCase()+o.slice(1)},ue=(...e)=>e.filter((o,a,t)=>!!o&&o.trim()!==""&&t.indexOf(o)===a).join(" ").trim(),Ke=e=>{for(let o in e)if(o.startsWith("aria-")||o==="role"||o==="title")return true};var Je={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var $e=ge.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:t,className:u="",children:d,iconNode:f,...s},i)=>ge.createElement("svg",{ref:i,...Je,width:o,height:o,stroke:e,strokeWidth:t?Number(a)*24/Number(o):a,className:ue("lucide",u),...!d&&!Ke(s)&&{"aria-hidden":"true"},...s},[...f.map(([m,L])=>ge.createElement(m,L)),...Array.isArray(d)?d:[d]]));var _=(e,o)=>{let a=ge.forwardRef(({className:t,...u},d)=>ge.createElement($e,{ref:d,iconNode:o,className:ue(`lucide-${_e(he(e))}`,`lucide-${e}`,t),...u}));return a.displayName=he(e),a};var et=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Q=_("chevron-down",et);var at=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],G=_("circle-alert",at);var tt=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$=_("x",tt);var Ye=$;var de=Q;var je=G;var ot=({error:e,helperText:o,disabled:a})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:o&&jsxRuntime.jsx("span",{className:I("mx-4 mt-1 text-start text-xs leading-[130%] text-neutral-600",a&&"text-neutral-400",e&&"text-error-700"),children:o})}),aa=ot;var ta=ge.forwardRef(({label:e,placeholder:o,error:a,selectMode:t=false,showClearButton:u=true,helperText:d,className:f,size:s="md",onClean:i,onChange:m,startIcon:L,endIcon:C,startComponent:y,fixedTopLabel:T,startText:h,disabled:g,required:D,...x},b)=>{let M=ge.useId(),w=ge.useRef(null),[F,R]=ge.useState(false),H=!w.current?.value,n=ge.useCallback(()=>{if(w.current&&!g){w.current.value="",R(false),i?.();let k={target:w.current,currentTarget:w.current,type:"change",bubbles:true,cancelable:false,defaultPrevented:false,eventPhase:0,isTrusted:true,preventDefault:()=>{},stopPropagation:()=>{},persist:()=>{},isDefaultPrevented:()=>false,isPropagationStopped:()=>false,timeStamp:Date.now(),nativeEvent:new Event("change")};m?.(k);}},[g,m,w.current]);return ge.useEffect(()=>{w.current&&R(w.current.value.length>0);},[]),jsxRuntime.jsxs("div",{className:I("flex flex-col",f),children:[jsxRuntime.jsxs("div",{className:I("relative flex flex-col rounded-lg bg-neutral-50",s==="lg"&&"h-12",s==="md"&&"h-10",s==="sm"&&"h-8"),children:[jsxRuntime.jsx("input",{id:M,disabled:g,required:D,className:I("hover:caret-neutral-text-neutral-600 hover:ring-neutral-text-neutral-600 hover:text-neutral no-spinner peer absolute z-20 h-full w-full rounded-lg bg-neutral-50/0 text-left tracking-normal text-neutral-900 placeholder-neutral-500 caret-neutral-900 outline-0 ring-1 ring-inset ring-neutral-400 transition-all ease-linear focus:text-neutral-900 focus:placeholder-neutral-500 focus:placeholder-opacity-100 focus:caret-primary-800 focus:ring-2 focus:ring-primary-800 disabled:bg-neutral-80 disabled:text-neutral-400 disabled:ring-neutral-100 not-placeholder-shown:z-10",e&&"placeholder-neutral-500/0",a&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700",s==="lg"&&"text-base",s==="md"&&"text-sm",s==="sm"&&"text-sm",L?s==="lg"?"pl-[2.75rem]":"pl-[2.38rem]":y?"pl-[6.5rem]":"pl-4",h&&"pl-[1.94rem]",C?s==="lg"?"pr-[2.75rem]":"pr-[2.38rem]":"pr-4"),placeholder:o??"",ref:k=>{typeof b=="function"?b(k):b&&(b.current=k),w.current=k;},onChange:k=>{R(k.target.value.length>0),m?.(k);},...x}),y&&ge__default.default.cloneElement(y,{className:I("absolute z-20 flex left-3 top-1/2 transform -translate-y-1/2 items-center rounded-full peer-disabled:text-neutral-400",a&&!F&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),L&&ge__default.default.cloneElement(L,{size:18,className:I("absolute flex peer-focus:text-neutral-900 z-20 text-neutral-500 left-3 h-full items-center rounded-full peer-disabled:text-neutral-400",a&&!F&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),h&&jsxRuntime.jsx("div",{className:"flex h-full items-center pl-3",children:jsxRuntime.jsx("p",{className:I("text-neutral-700",a&&"text-error-700"),children:h})}),e&&jsxRuntime.jsxs(reactLabel.Label,{htmlFor:M,className:I("absolute -top-[0.5625rem] z-10 ml-3 bg-neutral-50 px-1 tracking-normal text-neutral-50 transition-all duration-75 ease-linear peer-hover:text-primary-800 peer-disabled:z-20 peer-disabled:text-neutral-400","peer-focus:-top-[0.5625rem] peer-focus:z-20 peer-focus:ml-3 peer-focus:text-xs peer-focus:text-primary-800 peer-disabled:peer-not-focus:peer-placeholder-shown:bg-neutral-80",!a&&"peer-not-disabled:peer-not-focus:text-neutral-400 peer-not-disabled:peer-not-focus:peer-not-placeholder-shown:text-neutral-900",F&&"peer-disabled:bg-neutral-80",s==="lg"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-3":s==="md"?"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-2.5":"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-1.5",!H&&"text-xs",a&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",L?s==="lg"?"peer-placeholder-shown:ml-[2.75rem]":"peer-placeholder-shown:ml-[2.38rem]":y?"peer-placeholder-shown:ml-[6rem]":"ml-3",T&&"-top-[0.375rem]! z-20 ml-3 text-xs! transition-none!",h&&"peer-placeholder-shown:ml-[1.94rem]"),children:[D&&"*",e]}),(u&&(!H||F)||a)&&jsxRuntime.jsxs("div",{className:I("absolute z-10 hidden h-full items-center peer-focus:flex",a&&!g&&"flex",t||C?s==="lg"?"right-[2.81rem]":s==="md"?"right-[2.125rem]":"right-[1.875rem]":"right-4"),children:[a&&jsxRuntime.jsx(je,{size:s==="sm"?14:18,className:"text-error-700"}),!a&&jsxRuntime.jsx(Ye,{onMouseDown:n,size:s==="sm"?14:18,className:"cursor-pointer text-neutral-900"})]}),C&&ge__default.default.cloneElement(C,{size:s==="sm"?14:18,className:I("absolute peer-focus:text-neutral-900 z-20 text-neutral-500 flex right-3 h-full items-center rounded-full peer-disabled:text-neutral-400",a&&!F&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),t&&jsxRuntime.jsx("div",{className:I("peer-hover:text-neutral absolute right-4 z-20 flex h-full items-center rounded-full transition-all ease-linear peer-focus:rotate-180 peer-focus:text-primary-900 peer-disabled:text-neutral-400"),children:jsxRuntime.jsx(de,{className:s==="lg"?"h-6 w-6":"h-4.5 w-4.5"})})]}),jsxRuntime.jsx(aa,{helperText:d,error:a,disabled:g})]})});var oa='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=chile" clip-path="url(%23clip0_1491_56906)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40 20.0015C40 31.0459 31.0459 40.0029 19.9985 40.0029C8.95123 40.0029 0 31.0459 0 20.0015C0 8.95705 20.0015 20.0015 20.0015 20.0015H40.0029H40Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0V20.0015H0Z" fill="%230052B4"/>%0A<path id="Vector_4" d="M11.9049 6.9569L13.1986 10.9427H17.3908L14.001 13.405L15.2947 17.3908L11.9049 14.9284L8.51515 17.3908L9.80885 13.405L6.41907 10.9427H10.6112L11.9049 6.9569Z" fill="%23F0F0F0"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56906">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var la='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=argentina" clip-path="url(%23clip0_1491_56925)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M20.0012 0C12.0704 0 5.21814 4.61371 1.98535 11.3061H38.017C34.7813 4.61371 27.9291 0 20.0012 0Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M20.0012 40C27.9291 40 34.7813 35.3863 38.017 28.694H1.98535C5.22105 35.3834 12.0704 40 20.0012 40Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M25.9786 20.0015L23.5366 21.1498L24.8361 23.5162L22.1848 23.0075L21.8475 25.6879L20.0015 23.7168L18.1525 25.6879L17.8152 23.0075L15.1639 23.5133L16.4634 21.1498L14.0214 20.0015L16.4634 18.8531L15.1639 16.4867L17.8152 16.9954L18.1525 14.315L19.9985 16.2861L21.8475 14.315L22.1848 16.9954L24.8361 16.4867L23.5366 18.8531L25.9786 20.0015Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56925">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ra='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=colombia" clip-path="url(%23clip0_1491_56936)">%0A<path id="Vector" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0C31.0488 0 40.0029 8.95414 40.0029 20.0015L20.0015 21.74L0 20.0015Z" fill="%23FFDA44"/>%0A<path id="Vector_2" d="M2.67752 29.9993C6.13417 35.9765 12.5968 40 20.0015 40C27.4061 40 33.8687 35.9794 37.3254 29.9993L20.0015 28.6939L2.67752 29.9993Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M37.3254 29.9993C39.029 27.0572 40.0029 23.6413 40.0029 19.9985H0C0 23.6413 0.973908 27.0572 2.67752 29.9993H37.3254Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56936">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ua='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="flags_sm" clip-path="url(%23clip0_2024_263)">%0A<path id="Vector" d="M12.0009 24C18.6275 24 24.0017 18.6275 24.0017 11.9991C24.0017 5.37074 18.6275 0 12.0009 0C5.37423 0 0 5.37248 0 12.0009C0 18.6293 5.37248 24.0017 12.0009 24.0017V24Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M24.0004 12.0009C24.0004 7.24417 21.2322 3.13283 17.2168 1.19141V22.8104C21.2305 20.869 24.0004 16.7577 24.0004 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M0 12.0009C0 16.7576 2.76822 20.8689 6.78363 22.8104V1.19135C2.76822 3.13102 0 7.24237 0 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M15.1358 14.0295L13.1072 12.0009L15.0381 10.07L14.9509 9.04953L14.398 8.49658L11.9996 10.895L9.60113 8.49658L9.04818 9.04953L8.96096 10.07L10.8919 12.0009L8.86328 14.0295L9.96918 15.1354L11.9978 13.1068L14.0264 15.1354L15.1323 14.0295H15.1358Z" fill="%23ACABB1"/>%0A<path id="Vector_5" d="M14.9527 9.04944L13.8468 10.1553C14.3195 10.628 14.6108 11.2787 14.6108 11.9991C14.6108 13.4399 13.4438 14.6086 12.0013 14.6086C10.5587 14.6086 9.3918 13.4416 9.3918 11.9991C9.3918 11.2787 9.6831 10.6263 10.1558 10.1553L9.04991 9.04944C8.29462 9.80473 7.82715 10.8478 7.82715 12.0008C7.82715 14.3068 9.69531 16.175 12.0013 16.175C14.3073 16.175 16.1754 14.3068 16.1754 12.0008C16.1754 10.8478 15.708 9.80473 14.9527 9.04944Z" fill="%236DA544"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_263">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var da='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=mexico" clip-path="url(%23clip0_1491_56915)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40.0004 20.0014C40.0004 12.0735 35.3838 5.2213 28.6943 1.9856V38.0173C35.3809 34.7816 40.0004 27.9293 40.0004 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 27.9294 4.61661 34.7816 11.3061 38.0173V1.98561C4.61661 5.2184 0 12.0706 0 20.0015Z" fill="%236DA544"/>%0A<path id="Vector_4" d="M14.7801 20.0015C14.7801 22.8825 17.1175 25.2199 19.9985 25.2199C22.8796 25.2199 25.2169 22.8825 25.2169 20.0015V18.263H14.7801V20.0015Z" fill="%236DA544"/>%0A<path id="Vector_5" d="M26.953 16.5216H21.7433C21.7433 15.5593 20.9612 14.7831 20.0019 14.7831C19.0425 14.7831 18.2605 15.5622 18.2605 16.5216H13.0508C13.0508 17.481 13.8881 18.2601 14.8474 18.2601H14.7835C14.7835 19.2195 15.5655 19.9986 16.5249 19.9986C16.5249 20.9579 17.2982 21.7371 18.2605 21.7371H21.7462C22.7085 21.7371 23.4818 20.9579 23.4818 19.9986C24.444 19.9986 25.2232 19.2195 25.2232 18.2601H25.1592C26.1215 18.2601 26.9559 17.481 26.9559 16.5216H26.953Z" fill="%23FF9811"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56915">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var sa='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=peru" clip-path="url(%23clip0_1491_56921)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M39.9996 20.0014C39.9996 11.402 34.569 4.07005 26.9521 1.24426V38.7586C34.569 35.9328 39.9996 28.6009 39.9996 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 28.6009 5.43063 35.9328 13.0475 38.7586V1.24428C5.43063 4.07006 0 11.402 0 20.0015Z" fill="%23D80027"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56921">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var fa='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=brasil" clip-path="url(%23clip0_1491_56900)">%0A<path id="Vector" d="M20.0015 40C31.0459 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%236DA544"/>%0A<path id="Vector_2" d="M20.001 7.82617L36.5226 20.0015L20.001 32.1768L3.47656 20.0015L19.9981 7.82617H20.001Z" fill="%23FFDA44"/>%0A<path id="Vector_3" d="M20.0018 26.9554C23.8451 26.9554 26.9587 23.8418 26.9587 19.9985C26.9587 16.1552 23.8451 13.0416 20.0018 13.0416C16.1585 13.0416 13.0449 16.1552 13.0449 19.9985C13.0449 23.8418 16.1585 26.9554 20.0018 26.9554Z" fill="%23F0F0F0"/>%0A<path id="Vector_4" d="M16.5219 19.5654C15.3125 19.5654 14.1438 19.7486 13.0449 20.0916C13.0943 23.8913 16.1876 26.9584 19.9989 26.9584C22.3566 26.9584 24.4382 25.7868 25.697 23.9931C23.5428 21.2981 20.2315 19.5683 16.5219 19.5683V19.5654Z" fill="%230052B4"/>%0A<path id="Vector_5" d="M26.8275 21.3329C26.9118 20.9027 26.9554 20.455 26.9554 20.0015C26.9554 16.1582 23.8418 13.0446 19.9985 13.0446C17.1321 13.0446 14.6697 14.7801 13.6056 17.2542C14.5476 17.0594 15.5215 16.9547 16.5186 16.9547C20.5596 16.9547 24.214 18.6351 26.8246 21.33L26.8275 21.3329Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56900">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ia='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2024_325)">%0A<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="%23F0F0F0"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M4.53015 21.3913H19.4698C20.565 20.5191 21.5042 19.4596 22.2387 18.2609H1.76129C2.49587 19.4596 3.43506 20.5191 4.53015 21.3913Z" fill="%23338AF3"/>%0A<path d="M12 0V2.60869H19.4699C17.42 0.976125 14.8242 0 12 0Z" fill="%23338AF3"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M0 12C0 13.0831 0.144375 14.1323 0.413391 15.1305H23.5867C23.8556 14.1323 24 13.0831 24 12H0Z" fill="%23338AF3"/>%0A<path d="M10.4348 7.02287L8.96922 7.71226L9.74965 9.13163L8.15824 8.82723L7.95658 10.4348L6.84818 9.25243L5.73968 10.4348L5.53807 8.82723L3.94666 9.13154L4.72704 7.71221L3.26154 7.02287L4.72708 6.33357L3.94666 4.91419L5.53802 5.2186L5.73972 3.61102L6.84818 4.7934L7.95663 3.61102L8.15824 5.2186L9.74969 4.91419L8.96927 6.33362L10.4348 7.02287Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_325">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ca='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_1770_12638)">%0A<path d="M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z" fill="%23F0F0F0"/>%0A<path d="M19.1305 20H40C40 18.1948 39.7594 16.4461 39.311 14.7826H19.1305V20Z" fill="%23D80027"/>%0A<path d="M19.1305 9.56523H37.0646C35.8403 7.56742 34.2749 5.80156 32.4497 4.34781H19.1305V9.56523Z" fill="%23D80027"/>%0A<path d="M20 40C24.707 40 29.0333 38.3731 32.4497 35.6522H7.55032C10.9667 38.3731 15.2931 40 20 40Z" fill="%23D80027"/>%0A<path d="M2.93548 30.4348H37.0645C38.0474 28.8309 38.8097 27.0778 39.311 25.2173H0.688995C1.19032 27.0778 1.95259 28.8309 2.93548 30.4348Z" fill="%23D80027"/>%0A<path d="M9.26437 3.12328H11.087L9.39164 4.35492L10.0392 6.34781L8.34398 5.11617L6.64875 6.34781L7.20813 4.62617C5.71547 5.86953 4.40719 7.32625 3.32906 8.94938H3.91305L2.83391 9.73336C2.66578 10.0138 2.50453 10.2987 2.35 10.5879L2.86531 12.1739L1.90391 11.4754C1.66492 11.9817 1.44633 12.4995 1.24984 13.028L1.81758 14.7755H3.91305L2.21773 16.0071L2.86531 18L1.17008 16.7684L0.154609 17.5062C0.0529687 18.3232 0 19.1554 0 20H20C20 8.95437 20 7.65219 20 0C16.0491 0 12.366 1.14609 9.26437 3.12328ZM10.0392 18L8.34398 16.7684L6.64875 18L7.29633 16.0071L5.60102 14.7755H7.69648L8.34398 12.7826L8.99148 14.7755H11.087L9.39164 16.0071L10.0392 18ZM9.39164 10.181L10.0392 12.1739L8.34398 10.9423L6.64875 12.1739L7.29633 10.181L5.60102 8.94938H7.69648L8.34398 6.95648L8.99148 8.94938H11.087L9.39164 10.181ZM17.2131 18L15.5179 16.7684L13.8227 18L14.4702 16.0071L12.7749 14.7755H14.8704L15.5179 12.7826L16.1654 14.7755H18.2609L16.5655 16.0071L17.2131 18ZM16.5655 10.181L17.2131 12.1739L15.5179 10.9423L13.8227 12.1739L14.4702 10.181L12.7749 8.94938H14.8704L15.5179 6.95648L16.1654 8.94938H18.2609L16.5655 10.181ZM16.5655 4.35492L17.2131 6.34781L15.5179 5.11617L13.8227 6.34781L14.4702 4.35492L12.7749 3.12328H14.8704L15.5179 1.13039L16.1654 3.12328H18.2609L16.5655 4.35492Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1770_12638">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var kt=(e,o)=>{let a=ge.useCallback(t=>{e.current&&!e.current.contains(t.target)&&o();},[]);ge.useEffect(()=>(document.addEventListener("pointerdown",a),()=>{document.removeEventListener("pointerdown",a);}),[]);},na=kt;var ma=56,fe=6,Ft=(m=>(m.CL="CL",m.AR="AR",m.CO="CO",m.GT="GT",m.MX="MX",m.PE="PE",m.BR="BR",m.UY="UY",m.US="US",m))(Ft||{}),xa=new Map([["CL",{name:"Chile",flag:oa}],["AR",{name:"Argentina",flag:la}],["CO",{name:"Colombia",flag:ra}],["GT",{name:"Guatemala",flag:ua}],["MX",{name:"Mexico",flag:da}],["PE",{name:"Per\xFA",flag:sa}],["BR",{name:"Brasil",flag:fa}],["UY",{name:"Uruguay",flag:ia}],["US",{name:"Estados Unidos",flag:ca}]]),K=Array.from(xa.entries()),sl=({noResults:e,selectedCountry:o,onSelect:a,className:t,size:u="md",...d})=>{let f=ge.useId(),s=ge.useRef(null),i=ge.useRef(null),[m,L]=ge.useState("bottom"),[C,y]=ge.useState(),[T,h]=ge.useState(-1),g=x=>{s.current.style.display="none",a?.(x);};ge.useEffect(()=>{if(!i.current)return;let x=()=>{if(!i.current)return;let b=ma*(K.length<fe?K.length:fe)+16,M=i.current.getBoundingClientRect();y(M);let w=window.innerHeight-M.bottom>b,F=M.top>b;L(w?"bottom":F?"top":"bottom");};return x(),i.current.addEventListener("mousedown",x),window.addEventListener("scroll",x,true),window.addEventListener("resize",x),()=>{i.current?.removeEventListener("mousedown",x),window.removeEventListener("scroll",x,true),window.removeEventListener("resize",x);}},[i.current]),na(s,()=>{s.current&&(s.current.style.display="none",h(-1));});let D=ge.useMemo(()=>xa.get(o),[o]);return jsxRuntime.jsx("div",{className:I("flex flex-col",t),children:jsxRuntime.jsxs("div",{className:I("relative flex flex-col"),children:[jsxRuntime.jsx(ta,{ref:i,startComponent:jsxRuntime.jsxs("div",{className:"z-100000 ml-3 flex h-2 w-[7.5rem] cursor-pointer items-center",onClick:()=>{d.disabled||(s.current.style.display="flex");},children:[jsxRuntime.jsx("img",{src:D?.flag,alt:D?.name,className:I("h-6 w-6 cursor-pointer",d.disabled&&"cursor-not-allowed text-neutral-400")}),jsxRuntime.jsx("span",{className:I("ml-1",d.disabled&&"cursor-not-allowed text-neutral-400"),children:o}),jsxRuntime.jsx(de,{className:I(u==="md"?"h-6 w-6":"h-4.5 w-4.5","cursor-pointer",d.disabled&&"cursor-not-allowed text-neutral-400")})]}),...d}),jsxRuntime.jsx(La__namespace.Root,{asChild:true,children:jsxRuntime.jsxs("ul",{ref:s,className:"elevation-8 pointer-events-auto absolute z-10000 my-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:C?{width:`${C.width}px`,left:C.left,top:m==="bottom"?`${C.height+C.top+window.scrollY}px`:window.scrollY+C.top-(K.length<fe?K.length:fe)*ma-16}:void 0,children:[K.length===0&&jsxRuntime.jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col items-center justify-center rounded-lg bg-neutral-50 px-8 py-6",children:[ge__default.default.cloneElement(e.icon,{className:"mb-2 h-8 w-8 text-neutral-300"}),jsxRuntime.jsx("p",{className:"text-center text-sm leading-[120%] text-neutral-500",children:e.message})]}),K.map(([x,b],M)=>jsxRuntime.jsx("li",{onClick:()=>{g(x);},className:I("shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",o===x&&"bg-primary-200",T===M&&"bg-primary-200"),children:jsxRuntime.jsxs("div",{className:I("flex items-center space-x-3"),children:[jsxRuntime.jsx("img",{src:b.flag,alt:b.name,className:"h-6 w-6"}),jsxRuntime.jsx("p",{children:b.name}),jsxRuntime.jsx("p",{className:"text-primary-500",children:`(${x})`})]})},`select-option-${f}-${x}`))]})})]})})};/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
@@ -14,4 +14,4 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
16
|
*)
|
|
17
|
-
*/exports.CountryEnum=Ft;exports.CountryTextField=
|
|
17
|
+
*/exports.CountryEnum=Ft;exports.CountryTextField=sl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as CountryEnum,b as CountryTextField}from'../chunk-
|
|
1
|
+
export{a as CountryEnum,b as CountryTextField}from'../chunk-WXEFOJ3H.mjs';import'../chunk-E5G7444M.mjs';import'../chunk-KTRSJBA4.mjs';import'../chunk-YO6PTC37.mjs';import'../chunk-CK3UXIJL.mjs';import'../chunk-Z5V7WUXE.mjs';import'../chunk-BO6XI5BE.mjs';
|