sodtrack-web-ui 0.62.0 → 0.63.1
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/accordion-form.js +2 -2
- package/dist/accordion-form.mjs +1 -1
- package/dist/accordion.js +2 -2
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog.js +2 -2
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert-message.js +2 -2
- package/dist/alert-message.mjs +1 -1
- package/dist/avatar.js +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/button.js +2 -2
- package/dist/button.mjs +1 -1
- package/dist/calendar.js +2 -2
- package/dist/calendar.mjs +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/checkbox.mjs +1 -1
- package/dist/chip-context.js +1 -1
- package/dist/chip-context.mjs +1 -1
- package/dist/chip-form-complementary.d.mts +3 -3
- package/dist/chip-form-complementary.d.ts +3 -3
- package/dist/chip-form-complementary.js +1 -1
- package/dist/chip-form-complementary.mjs +1 -1
- package/dist/chip-form.d.mts +3 -3
- package/dist/chip-form.d.ts +3 -3
- package/dist/chip-form.js +1 -1
- package/dist/chip-form.mjs +1 -1
- package/dist/chip-input.js +2 -2
- package/dist/chip-input.mjs +1 -1
- package/dist/chip-status-complementary.d.mts +1 -1
- package/dist/chip-status-complementary.d.ts +1 -1
- package/dist/chip-status-table.js +1 -1
- package/dist/chip-status-table.mjs +1 -1
- package/dist/{chunk-6IQFV2BQ.mjs → chunk-264CPSX6.mjs} +1 -1
- package/dist/{chunk-TVGC2HAY.mjs → chunk-27COGUWE.mjs} +1 -1
- package/dist/chunk-2ZWNPYHN.mjs +1 -0
- package/dist/chunk-35JUETHD.mjs +1 -0
- package/dist/{chunk-TLIQP6K7.mjs → chunk-3GULVCNF.mjs} +1 -1
- package/dist/chunk-5LNAXQBK.mjs +1 -0
- package/dist/chunk-5QTPATQV.mjs +1 -0
- package/dist/chunk-662BFQHD.mjs +1 -0
- package/dist/chunk-6UPBJM3U.mjs +1 -0
- package/dist/{chunk-T74WGWVK.mjs → chunk-6VO3THJJ.mjs} +1 -1
- package/dist/chunk-732T6GAF.mjs +1 -0
- package/dist/{chunk-LBI4WRGE.mjs → chunk-ATJ6VT32.mjs} +1 -1
- package/dist/chunk-ATQGUTXV.mjs +1 -0
- package/dist/chunk-BO6XI5BE.mjs +1 -0
- package/dist/{chunk-SVUSHVWV.mjs → chunk-CK3UXIJL.mjs} +1 -1
- package/dist/{chunk-UCMFW3WC.mjs → chunk-CQWMO3TO.mjs} +1 -1
- package/dist/chunk-DF2KMEIM.mjs +1 -0
- package/dist/chunk-DYCYUT6X.mjs +1 -0
- package/dist/{chunk-QHBCNAWO.mjs → chunk-EMZCLGIQ.mjs} +1 -1
- package/dist/chunk-FM27MFZO.mjs +1 -0
- package/dist/chunk-FT3VFPUZ.mjs +1 -0
- package/dist/chunk-FU4U752N.mjs +1 -0
- package/dist/{chunk-GZ2UJSIO.mjs → chunk-GK5RQ5PL.mjs} +1 -1
- package/dist/{chunk-FNEOZERE.mjs → chunk-H5CYN5Y6.mjs} +1 -1
- package/dist/chunk-HMEDZZ4J.mjs +1 -0
- package/dist/chunk-JCB42QTZ.mjs +1 -0
- package/dist/chunk-K2WL25TT.mjs +1 -0
- package/dist/{chunk-SRXC3HT5.mjs → chunk-KNIRIZT6.mjs} +1 -1
- package/dist/chunk-LVE67E3K.mjs +1 -0
- package/dist/chunk-NV2VZ3ZY.mjs +1 -0
- package/dist/{chunk-AYYHOGRU.mjs → chunk-OA4FUWKA.mjs} +1 -1
- package/dist/{chunk-6UUMEMR4.mjs → chunk-OE7TZOT6.mjs} +1 -1
- package/dist/{chunk-TYJGISLM.mjs → chunk-ORV22CHM.mjs} +1 -1
- package/dist/{chunk-HF2DUXOQ.mjs → chunk-RY6JTUPS.mjs} +1 -1
- package/dist/{chunk-BVHU5ZT3.mjs → chunk-SXEHG5TZ.mjs} +1 -1
- package/dist/chunk-SYWAT3BL.mjs +1 -0
- package/dist/{chunk-WGMDH4XX.mjs → chunk-T2IU5QUU.mjs} +1 -1
- package/dist/{chunk-PJ5ZUPVG.mjs → chunk-TTGZ5XCN.mjs} +1 -1
- package/dist/chunk-U7HYQ6AB.mjs +1 -0
- package/dist/{chunk-II3BRHAX.mjs → chunk-UKPP4YKH.mjs} +1 -1
- package/dist/chunk-UUBNCKUK.mjs +1 -0
- package/dist/{chunk-4ZDSU3A6.mjs → chunk-V52D52VZ.mjs} +1 -1
- package/dist/chunk-XAA5UPKD.mjs +1 -0
- package/dist/country-text-field.js +2 -2
- package/dist/country-text-field.mjs +1 -1
- package/dist/data-table.js +2 -2
- package/dist/data-table.mjs +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-picker.mjs +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dialog.mjs +1 -1
- package/dist/drawer-sticky.js +2 -2
- package/dist/drawer-sticky.mjs +1 -1
- package/dist/drawer.js +2 -2
- package/dist/drawer.mjs +1 -1
- package/dist/flag-select.js +2 -2
- package/dist/flag-select.mjs +1 -1
- package/dist/icon-button.js +1 -1
- package/dist/icon-button.mjs +1 -1
- package/dist/index.css +2 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/inter-cyrillic-ext-wght-normal-ASVAGXXE.woff2 +0 -0
- package/dist/inter-cyrillic-wght-normal-EWLSKVKN.woff2 +0 -0
- package/dist/inter-greek-ext-wght-normal-7GGTF7EK.woff2 +0 -0
- package/dist/inter-greek-wght-normal-N43DBLU2.woff2 +0 -0
- package/dist/inter-latin-ext-wght-normal-5SRY4DMZ.woff2 +0 -0
- package/dist/inter-latin-wght-normal-O25CN4JL.woff2 +0 -0
- package/dist/inter-vietnamese-wght-normal-CE5GGD3W.woff2 +0 -0
- package/dist/list-item-arrow.css +2 -1
- package/dist/list-item-arrow.js +2 -2
- package/dist/list-item-arrow.mjs +1 -1
- package/dist/list-item-button.css +2 -1
- package/dist/list-item-button.js +2 -2
- package/dist/list-item-button.mjs +1 -1
- package/dist/list-item-checkbox.css +2 -1
- package/dist/list-item-checkbox.js +2 -2
- package/dist/list-item-checkbox.mjs +1 -1
- package/dist/list-item.css +2 -1
- package/dist/list-item.js +1 -1
- package/dist/list-item.mjs +1 -1
- package/dist/plus-jakarta-sans-cyrillic-ext-wght-normal-3FNWYSHQ.woff2 +0 -0
- package/dist/plus-jakarta-sans-latin-ext-wght-normal-WWG75Y4U.woff2 +0 -0
- package/dist/plus-jakarta-sans-latin-wght-normal-S6EFCQOU.woff2 +0 -0
- package/dist/plus-jakarta-sans-vietnamese-wght-normal-NNXUV3SN.woff2 +0 -0
- package/dist/popover.js +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/popover_old.js +1 -1
- package/dist/popover_old.mjs +1 -1
- package/dist/radio.js +1 -1
- package/dist/radio.mjs +1 -1
- package/dist/rating.js +2 -2
- package/dist/rating.mjs +1 -1
- package/dist/scrollarea.js +1 -1
- package/dist/scrollarea.mjs +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/search-bar.mjs +1 -1
- package/dist/select.js +2 -2
- package/dist/select.mjs +1 -1
- package/dist/separator.js +1 -1
- package/dist/separator.mjs +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/skeleton.mjs +1 -1
- package/dist/snackbar.js +2 -2
- package/dist/snackbar.mjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tab.d.mts +1 -1
- package/dist/tab.d.ts +1 -1
- package/dist/tab.js +2 -2
- package/dist/tab.mjs +1 -1
- package/dist/table.js +2 -2
- package/dist/table.mjs +1 -1
- package/dist/text-field-helper-text.js +1 -1
- package/dist/text-field-helper-text.mjs +1 -1
- package/dist/text-field.js +2 -2
- package/dist/text-field.mjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/time-picker.js +2 -2
- package/dist/time-picker.mjs +1 -1
- package/dist/toast.js +2 -2
- package/dist/toast.mjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +7 -5
- package/dist/chunk-25737XH2.mjs +0 -1
- package/dist/chunk-276X5SQG.mjs +0 -1
- package/dist/chunk-2WINTZSS.mjs +0 -1
- package/dist/chunk-3AGNOMLI.mjs +0 -1
- package/dist/chunk-4DF3NXNT.mjs +0 -1
- package/dist/chunk-4XAUEW6X.mjs +0 -1
- package/dist/chunk-6656TD7P.mjs +0 -1
- package/dist/chunk-AYAULBBH.mjs +0 -1
- package/dist/chunk-CFQB4JDC.mjs +0 -1
- package/dist/chunk-CNP47PJM.mjs +0 -1
- package/dist/chunk-ERINQS7G.mjs +0 -1
- package/dist/chunk-JACMHBPD.mjs +0 -1
- package/dist/chunk-JCLNR7GH.mjs +0 -1
- package/dist/chunk-KXWTBSEK.mjs +0 -1
- package/dist/chunk-NVZAHHEB.mjs +0 -1
- package/dist/chunk-PHSLH445.mjs +0 -1
- package/dist/chunk-S2GM3UL6.mjs +0 -1
- package/dist/chunk-VEEYQFAH.mjs +0 -1
- package/dist/chunk-W4WYNCLN.mjs +0 -1
- package/dist/chunk-W75YWLLW.mjs +0 -1
- package/dist/chunk-WB5ZPQ7L.mjs +0 -1
- package/dist/chunk-WS2F7JWJ.mjs +0 -1
- package/dist/chunk-XW42AHZV.mjs +0 -1
package/dist/flag-select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var se=require('react'),We=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 se__default=/*#__PURE__*/_interopDefault(se);var We__namespace=/*#__PURE__*/_interopNamespace(We);function ne(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(a=0;a<d;a++)e[a]&&(t=ne(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function pe(){for(var e,a,t=0,o="",d=arguments.length;t<d;t++)(e=arguments[t])&&(a=ne(e))&&(o&&(o+=" "),o+=a);return o}var de="-",Ne=e=>{let a=Ze(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:s=>{let l=s.split(de);return l[0]===""&&l.length!==1&&l.shift(),xe(l,a)||Xe(s)},getConflictingClassGroupIds:(s,l)=>{let i=t[s]||[];return l&&o[s]?[...i,...o[s]]:i}}},xe=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),d=o?xe(e.slice(1),o):void 0;if(d)return d;if(a.validators.length===0)return;let u=e.join(de);return a.validators.find(({validator:s})=>s(u))?.classGroupId},me=/^\[(.+)\]$/,Xe=e=>{if(me.test(e)){let a=me.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Ze=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ke(Object.entries(e.classGroups),t).forEach(([u,s])=>{ue(s,o,u,a);}),o},ue=(e,a,t,o)=>{e.forEach(d=>{if(typeof d=="string"){let u=d===""?a:Le(a,d);u.classGroupId=t;return}if(typeof d=="function"){if(_e(d)){ue(d(o),a,t,o);return}a.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([u,s])=>{ue(s,Le(a,u),t,o);});});},Le=(e,a)=>{let t=e;return a.split(de).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},_e=e=>e.isThemeGetter,Ke=(e,a)=>a?e.map(([t,o])=>{let d=o.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([s,l])=>[a+s,l])):u);return [t,d]}):e,Je=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,d=(u,s)=>{t.set(u,s),a++,a>e&&(a=0,o=t,t=new Map);};return {get(u){let s=t.get(u);if(s!==void 0)return s;if((s=o.get(u))!==void 0)return d(u,s),s},set(u,s){t.has(u)?t.set(u,s):d(u,s);}}},Ie="!",Qe=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,d=a[0],u=a.length,s=l=>{let i=[],I=0,n=0,k;for(let c=0;c<l.length;c++){let w=l[c];if(I===0){if(w===d&&(o||l.slice(c,c+u)===a)){i.push(l.slice(n,c)),n=c+u;continue}if(w==="/"){k=c;continue}}w==="["?I++:w==="]"&&I--;}let C=i.length===0?l:l.substring(n),S=C.startsWith(Ie),b=S?C.substring(1):C,m=k&&k>n?k-n:void 0;return {modifiers:i,hasImportantModifier:S,baseClassName:b,maybePostfixModifierPosition:m}};return t?l=>t({className:l,parseClassName:s}):s},je=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},$e=e=>({cache:Je(e.cacheSize),parseClassName:Qe(e),...Ne(e)}),Ye=/\s+/,ea=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:d}=a,u=[],s=e.trim().split(Ye),l="";for(let i=s.length-1;i>=0;i-=1){let I=s[i],{modifiers:n,hasImportantModifier:k,baseClassName:C,maybePostfixModifierPosition:S}=t(I),b=!!S,m=o(b?C.substring(0,S):C);if(!m){if(!b){l=I+(l.length>0?" "+l:l);continue}if(m=o(C),!m){l=I+(l.length>0?" "+l:l);continue}b=false;}let c=je(n).join(":"),w=k?c+Ie:c,P=w+m;if(u.includes(P))continue;u.push(P);let M=d(m,b);for(let L=0;L<M.length;++L){let A=M[L];u.push(w+A);}l=I+(l.length>0?" "+l:l);}return l};function aa(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=Ce(a))&&(o&&(o+=" "),o+=t);return o}var Ce=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=Ce(e[o]))&&(t&&(t+=" "),t+=a);return t};function ta(e,...a){let t,o,d,u=s;function s(i){let I=a.reduce((n,k)=>k(n),e());return t=$e(I),o=t.cache.get,d=t.cache.set,u=l,l(i)}function l(i){let I=o(i);if(I)return I;let n=ea(i,t);return d(i,n),n}return function(){return u(aa.apply(null,arguments))}}var x=e=>{let a=t=>t[e]||[];return a.isThemeGetter=true,a},he=/^\[(?:([a-z-]+):)?(.+)\]$/i,oa=/^\d+\/\d+$/,la=new Set(["px","full","screen"]),ua=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,da=/\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$/,ra=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fa=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>G(e)||la.has(e)||oa.test(e),T=e=>V(e,"length",Ia),G=e=>!!e&&!Number.isNaN(Number(e)),le=e=>V(e,"number",G),W=e=>!!e&&Number.isInteger(Number(e)),ia=e=>e.endsWith("%")&&G(e.slice(0,-1)),f=e=>he.test(e),q=e=>ua.test(e),ca=new Set(["length","size","percentage"]),na=e=>V(e,ca,ge),pa=e=>V(e,"position",ge),ma=new Set(["image","url"]),La=e=>V(e,ma,ha),xa=e=>V(e,"",Ca),N=()=>true,V=(e,a,t)=>{let o=he.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):false},Ia=e=>da.test(e)&&!ra.test(e),ge=()=>false,Ca=e=>sa.test(e),ha=e=>fa.test(e);var ga=()=>{let e=x("colors"),a=x("spacing"),t=x("blur"),o=x("brightness"),d=x("borderColor"),u=x("borderRadius"),s=x("borderSpacing"),l=x("borderWidth"),i=x("contrast"),I=x("grayscale"),n=x("hueRotate"),k=x("invert"),C=x("gap"),S=x("gradientColorStops"),b=x("gradientColorStopPositions"),m=x("inset"),c=x("margin"),w=x("opacity"),P=x("padding"),M=x("saturate"),L=x("scale"),A=x("sepia"),B=x("skew"),v=x("space"),O=x("translate"),r=()=>["auto","contain","none"],h=()=>["auto","hidden","clip","visible","scroll"],y=()=>["auto",f,a],p=()=>[f,a],J=()=>["",R,T],Q=()=>["auto",G,f],fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],z=()=>["","0",f],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[G,f];return {cacheSize:500,separator:":",theme:{colors:[N],spacing:[R,T],blur:["none","",q,f],brightness:D(),borderColor:[e],borderRadius:["none","","full",q,f],borderSpacing:p(),borderWidth:J(),contrast:D(),grayscale:z(),hueRotate:D(),invert:z(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[ia,T],inset:y(),margin:y(),opacity:D(),padding:p(),saturate:D(),scale:D(),sepia:z(),skew:D(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",f]}],container:["container"],columns:[{columns:[q]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"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"],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:[...fe(),f]}],overflow:[{overflow:h()}],"overflow-x":[{"overflow-x":h()}],"overflow-y":[{"overflow-y":h()}],overscroll:[{overscroll:r()}],"overscroll-x":[{"overscroll-x":r()}],"overscroll-y":[{"overscroll-y":r()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,f]}],basis:[{basis:y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",f]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",W,f]}],"grid-cols":[{"grid-cols":[N]}],"col-start-end":[{col:["auto",{span:["full",W,f]},f]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[N]}],"row-start-end":[{row:["auto",{span:[W,f]},f]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",f]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",f]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[c]}],mx:[{mx:[c]}],my:[{my:[c]}],ms:[{ms:[c]}],me:[{me:[c]}],mt:[{mt:[c]}],mr:[{mr:[c]}],mb:[{mb:[c]}],ml:[{ml:[c]}],"space-x":[{"space-x":[v]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[v]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",f,a]}],"min-w":[{"min-w":[f,a,"min","max","fit"]}],"max-w":[{"max-w":[f,a,"none","full","min","max","fit","prose",{screen:[q]},q]}],h:[{h:[f,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[f,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[f,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[f,a,"auto","min","max","fit"]}],"font-size":[{text:["base",q,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[N]}],"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:["tighter","tight","normal","wide","wider","widest",f]}],"line-clamp":[{"line-clamp":["none",G,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,f]}],"list-image":[{"list-image":["none",f]}],"list-style-type":[{list:["none","disc","decimal",f]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,T]}],"underline-offset":[{"underline-offset":["auto",R,f]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",f]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",f]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fe(),pa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",na]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},La]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:j()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[R,f]}],"outline-w":[{outline:[R,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[R,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",q,xa]}],"shadow-color":[{shadow:[N]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",q,f]}],grayscale:[{grayscale:[I]}],"hue-rotate":[{"hue-rotate":[n]}],invert:[{invert:[k]}],saturate:[{saturate:[M]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[n]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",f]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",f]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",f]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[W,f]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[B]}],"skew-y":[{"skew-y":[B]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",f]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",f]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"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",f]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,T,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}};var Se=ta(ga);function g(...e){return Se(pe(e))}var we=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Sa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,t,o)=>o?o.toUpperCase():t.toLowerCase()),re=e=>{let a=Sa(e);return a.charAt(0).toUpperCase()+a.slice(1)},$=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim(),Pe=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var ke={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 Ae=se.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:d="",children:u,iconNode:s,...l},i)=>se.createElement("svg",{ref:i,...ke,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:$("lucide",d),...!u&&!Pe(l)&&{"aria-hidden":"true"},...l},[...s.map(([I,n])=>se.createElement(I,n)),...Array.isArray(u)?u:[u]]));var E=(e,a)=>{let t=se.forwardRef(({className:o,...d},u)=>se.createElement(Ae,{ref:u,iconNode:a,className:$(`lucide-${we(re(e))}`,`lucide-${e}`,o),...d}));return t.displayName=re(e),t};var ba=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],X=E("chevron-down",ba);var Aa=[["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"}]],H=E("circle-alert",Aa);var Fa=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Z=E("x",Fa);var Fe=Z;var Y=X;var Me=H;var Ma=({error:e,helperText:a,disabled:t})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:a&&jsxRuntime.jsx("span",{className:g("mx-4 mt-1 text-start text-xs leading-[130%] text-neutral-600",t&&"text-neutral-400",e&&"text-error-700"),children:a})}),ye=Ma;var De=se.forwardRef(({label:e,placeholder:a,error:t,selectMode:o=false,showClearButton:d=true,helperText:u,className:s,size:l="md",onClean:i,onChange:I,startIcon:n,endIcon:k,startComponent:C,fixedTopLabel:S,startText:b,disabled:m,required:c,...w},P)=>{let M=se.useId(),L=se.useRef(null),[A,B]=se.useState(false),v=!L.current?.value,O=se.useCallback(()=>{if(L.current&&!m){L.current.value="",B(false),i?.();let r={target:L.current,currentTarget:L.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")};I?.(r);}},[m,I,L.current]);return se.useEffect(()=>{L.current&&B(L.current.value.length>0);},[]),jsxRuntime.jsxs("div",{className:g("flex flex-col",s),children:[jsxRuntime.jsxs("div",{className:g("relative flex flex-col rounded-lg bg-neutral-50",l==="lg"&&"h-12",l==="md"&&"h-10",l==="sm"&&"h-8"),children:[jsxRuntime.jsx("input",{id:M,disabled:m,required:c,className:g("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/100 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-[2px] 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",t&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700",l==="lg"&&"text-base",l==="md"&&"text-sm",l==="sm"&&"text-sm",n?l==="lg"?"pl-[2.75rem]":"pl-[2.38rem]":C?"pl-[6.5rem]":"pl-4",b&&"pl-[1.94rem]",k?l==="lg"?"pr-[2.75rem]":"pr-[2.38rem]":"pr-4"),placeholder:a??"",ref:r=>{typeof P=="function"?P(r):P&&(P.current=r),L.current=r;},onChange:r=>{B(r.target.value.length>0),I?.(r);},...w}),C&&se__default.default.cloneElement(C,{className:g("absolute z-20 flex left-3 top-1/2 transform -translate-y-1/2 items-center rounded-full peer-disabled:text-neutral-400",t&&!A&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),n&&se__default.default.cloneElement(n,{size:18,className:g("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",t&&!A&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),b&&jsxRuntime.jsx("div",{className:"flex h-full items-center pl-3",children:jsxRuntime.jsx("p",{className:g("text-neutral-700",t&&"text-error-700"),children:b})}),e&&jsxRuntime.jsxs(reactLabel.Label,{htmlFor:M,className:g("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-[:placeholder-shown]:peer-[:not(:focus)]:peer-[:disabled]:bg-neutral-80",!t&&"peer-[:not(:focus)]:peer-[:not(:disabled)]:text-neutral-400 peer-[:not(:placeholder-shown)]:peer-[:not(:focus)]:peer-[:not(:disabled)]:text-neutral-900",A&&"peer-disabled:bg-neutral-80",l==="lg"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-3":l==="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",!v&&"text-xs",t&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",n?l==="lg"?"peer-placeholder-shown:ml-[2.75rem]":"peer-placeholder-shown:ml-[2.38rem]":C?"peer-placeholder-shown:ml-[6rem]":"ml-3",S&&"!-top-[0.375rem] z-20 ml-3 !text-xs !transition-none",b&&"peer-placeholder-shown:ml-[1.94rem]"),children:[c&&"*",e]}),(d&&(!v||A)||t)&&jsxRuntime.jsxs("div",{className:g("absolute z-10 hidden h-full items-center peer-focus:flex",t&&!m&&"flex",o||k?l==="lg"?"right-[2.81rem]":l==="md"?"right-[2.125rem]":"right-[1.875rem]":"right-4"),children:[t&&jsxRuntime.jsx(Me,{size:l==="sm"?14:18,className:"text-error-700"}),!t&&jsxRuntime.jsx(Fe,{onMouseDown:O,size:l==="sm"?14:18,className:"cursor-pointer text-neutral-900"})]}),k&&se__default.default.cloneElement(k,{size:l==="sm"?14:18,className:g("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",t&&!A&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),o&&jsxRuntime.jsx("div",{className:g("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(Y,{className:l==="lg"?"h-6 w-6":"h-4.5 w-4.5"})})]}),jsxRuntime.jsx(ye,{helperText:u,error:t,disabled:m})]})});var Re='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 ve='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 Te='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 qe='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 He='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 Ue='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 Oe='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 Ge='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 Ve='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 ze=56,te=6,Ka=[{id:0,code:"+56",name:"Chile",flag:Re,country:"CL"},{id:1,code:"+54",name:"Argentina",flag:ve,country:"AR"},{id:2,code:"+57",name:"Colombia",flag:Te,country:"CO"},{id:3,code:"+502",name:"Guatemala",flag:qe,country:"GT"},{id:4,code:"+52",name:"Mexico",flag:He,country:"MX"},{id:5,code:"+51",name:"Per\xFA",flag:Ue,country:"PE"},{id:6,code:"+55",name:"Brasil",flag:Oe,country:"BR"},{id:7,code:"+598",name:"Uruguay",flag:Ge,country:"UY"},{id:8,code:"+1",name:"Estados Unidos",flag:Ve,country:"US"}],wo=({options:e=Ka,noResults:a,selectedOption:t,onSelect:o,onChange:d,onClick:u,className:s,defaultCountry:l="CL",initialValue:i,size:I="md",...n})=>{let k=se.useId(),C=se.useRef(null),S=se.useRef(null),[b,m]=se.useState("bottom"),[c,w]=se.useState(),[P,M]=se.useState(-1),[L,A]=se.useState(t??null),[B,v]=se.useState(""),O=r=>{let h={target:{value:r.code+B}};d?.(h),C.current.style.display="none",S.current.value=r.code,A(r),o?.(r);};return se.useEffect(()=>{if(!S.current)return;let r=()=>{if(!S.current)return;let h=ze*(e.length<te?e.length:te)+16,y=S.current.getBoundingClientRect();w(y);let p=window.innerHeight-y.bottom>h,J=y.top>h;m(p?"bottom":J?"top":"bottom");};return r(),S.current.addEventListener("mousedown",r),window.addEventListener("scroll",r,true),window.addEventListener("resize",r),()=>{S.current?.removeEventListener("mousedown",r),window.removeEventListener("scroll",r,true),window.removeEventListener("resize",r);}},[S.current]),se.useEffect(()=>{function r(h){C.current&&!C.current.contains(h.target)&&(C.current.style.display="none",M(-1));}return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[C.current]),se.useEffect(()=>{if(l&&!i){let r=e.find(h=>h.country===l)??null;A(r);}},[l,i]),se.useEffect(()=>{if(i){let r=e.find(h=>i.includes(h.code))??null;A(r),v(i.replace(r?.code??"",""));}},[i]),jsxRuntime.jsx("div",{className:g("flex flex-col",s),children:jsxRuntime.jsxs("div",{className:g("relative flex flex-col"),children:[jsxRuntime.jsx(De,{ref:S,value:B,placeholder:n.placeholder??"",onChange:r=>{let h=r.target.value.replace(/\D/g,"");v(h);let y={target:{value:L?.code&&!h.includes(L.code)?L?.code+h:h}};d?.(y);},startComponent:jsxRuntime.jsxs("div",{className:"z-[100000] ml-3 flex h-2 w-[7.5rem] cursor-pointer items-center",onClick:()=>{n.disabled||(C.current.style.display="flex");},children:[jsxRuntime.jsx("img",{src:L?.flag,alt:L?.country,className:g("h-6 w-6 cursor-pointer",n.disabled&&"cursor-not-allowed text-neutral-400")}),jsxRuntime.jsx("span",{className:g("ml-1",n.disabled&&"cursor-not-allowed text-neutral-400"),children:L?.code}),jsxRuntime.jsx(Y,{className:g(I==="md"?"h-6 w-6":"h-4.5 w-4.5","cursor-pointer",n.disabled&&"cursor-not-allowed text-neutral-400")})]}),...n}),jsxRuntime.jsx(We__namespace.Root,{asChild:true,children:jsxRuntime.jsxs("ul",{ref:C,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:b==="bottom"?`${c.height+c.top+window.scrollY}px`:window.scrollY+c.top-(e.length<te?e.length:te)*ze-16}:void 0,children:[e.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:[se__default.default.cloneElement(a.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:a.message})]}),e.map((r,h)=>jsxRuntime.jsx("li",{onClick:()=>{O(r);},className:g("flex-shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",L?.code===r.code&&"bg-primary-200",P===h&&"bg-primary-200"),value:r.code,children:jsxRuntime.jsxs("div",{className:g("flex items-center space-x-3"),children:[jsxRuntime.jsx("img",{src:r.flag,alt:r.country,className:"h-6 w-6"}),jsxRuntime.jsx("p",{children:r.name}),jsxRuntime.jsx("p",{className:"text-primary-500",children:`(${r.code})`})]})},`select-option-${k}-${r.id??r.code}`))]})})]})})};/*! Bundled license information:
|
|
1
|
+
'use strict';var Pe=require('react'),ma=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 Pe__default=/*#__PURE__*/_interopDefault(Pe);var ma__namespace=/*#__PURE__*/_interopNamespace(ma);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 we="-",La=e=>{let o=Ia(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:s=>{let f=s.split(we);return f[0]===""&&f.length!==1&&f.shift(),He(f,o)||xa(s)},getConflictingClassGroupIds:(s,f)=>{let n=a[s]||[];return f&&t[s]?[...n,...t[s]]:n}}},He=(e,o)=>{if(e.length===0)return o.classGroupId;let a=e[0],t=o.nextPart.get(a),u=t?He(e.slice(1),t):void 0;if(u)return u;if(o.validators.length===0)return;let c=e.join(we);return o.validators.find(({validator:s})=>s(c))?.classGroupId},Re=/^\[(.+)\]$/,xa=e=>{if(Re.test(e)){let o=Re.exec(e)[1],a=o?.substring(0,o.indexOf(":"));if(a)return "arbitrary.."+a}},Ia=e=>{let{theme:o,classGroups:a}=e,t={nextPart:new Map,validators:[]};for(let u in a)he(a[u],t,u,o);return t},he=(e,o,a,t)=>{e.forEach(u=>{if(typeof u=="string"){let c=u===""?o:ve(o,u);c.classGroupId=a;return}if(typeof u=="function"){if(Ca(u)){he(u(t),o,a,t);return}o.validators.push({validator:u,classGroupId:a});return}Object.entries(u).forEach(([c,s])=>{he(s,ve(o,c),a,t);});});},ve=(e,o)=>{let a=e;return o.split(we).forEach(t=>{a.nextPart.has(t)||a.nextPart.set(t,{nextPart:new Map,validators:[]}),a=a.nextPart.get(t);}),a},Ca=e=>e.isThemeGetter,ha=e=>{if(e<1)return {get:()=>{},set:()=>{}};let o=0,a=new Map,t=new Map,u=(c,s)=>{a.set(c,s),o++,o>e&&(o=0,t=a,a=new Map);};return {get(c){let s=a.get(c);if(s!==void 0)return s;if((s=t.get(c))!==void 0)return u(c,s),s},set(c,s){a.has(c)?a.set(c,s):u(c,s);}}},ge="!",Se=":",ga=Se.length,Sa=e=>{let{prefix:o,experimentalParseClassName:a}=e,t=u=>{let c=[],s=0,f=0,n=0,I;for(let g=0;g<u.length;g++){let S=u[g];if(s===0&&f===0){if(S===Se){c.push(u.slice(n,g)),n=g+ga;continue}if(S==="/"){I=g;continue}}S==="["?s++:S==="]"?s--:S==="("?f++:S===")"&&f--;}let L=c.length===0?u:u.substring(n),F=wa(L),k=F!==L,b=I&&I>n?I-n:void 0;return {modifiers:c,hasImportantModifier:k,baseClassName:F,maybePostfixModifierPosition:b}};if(o){let u=o+Se,c=t;t=s=>s.startsWith(u)?c(s.substring(u.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:s,maybePostfixModifierPosition:void 0};}if(a){let u=t;t=c=>a({className:c,parseClassName:u});}return t},wa=e=>e.endsWith(ge)?e.substring(0,e.length-1):e.startsWith(ge)?e.substring(1):e,ka=e=>{let o=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,true]));return t=>{if(t.length<=1)return t;let u=[],c=[];return t.forEach(s=>{s[0]==="["||o[s]?(u.push(...c.sort(),s),c=[]):c.push(s);}),u.push(...c.sort()),u}},Pa=e=>({cache:ha(e.cacheSize),parseClassName:Sa(e),sortModifiers:ka(e),...La(e)}),ba=/\s+/,Aa=(e,o)=>{let{parseClassName:a,getClassGroupId:t,getConflictingClassGroupIds:u,sortModifiers:c}=o,s=[],f=e.trim().split(ba),n="";for(let I=f.length-1;I>=0;I-=1){let L=f[I],{isExternal:F,modifiers:k,hasImportantModifier:b,baseClassName:g,maybePostfixModifierPosition:S}=a(L);if(F){n=L+(n.length>0?" "+n:n);continue}let A=!!S,R=t(A?g.substring(0,S):g);if(!R){if(!A){n=L+(n.length>0?" "+n:n);continue}if(R=t(g),!R){n=L+(n.length>0?" "+n:n);continue}A=false;}let v=c(k).join(":"),H=b?v+ge:v,x=H+R;if(s.includes(x))continue;s.push(x);let M=u(R,A);for(let y=0;y<M.length;++y){let T=M[y];s.push(H+T);}n=L+(n.length>0?" "+n:n);}return n};function Ma(){let e=0,o,a,t="";for(;e<arguments.length;)(o=arguments[e++])&&(a=Ue(o))&&(t&&(t+=" "),t+=a);return t}var Ue=e=>{if(typeof e=="string")return e;let o,a="";for(let t=0;t<e.length;t++)e[t]&&(o=Ue(e[t]))&&(a&&(a+=" "),a+=o);return a};function Fa(e,...o){let a,t,u,c=s;function s(n){let I=o.reduce((L,F)=>F(L),e());return a=Pa(I),t=a.cache.get,u=a.cache.set,c=f,f(n)}function f(n){let I=t(n);if(I)return I;let L=Aa(n,a);return u(n,L),L}return function(){return c(Ma.apply(null,arguments))}}var w=e=>{let o=a=>a[e]||[];return o.isThemeGetter=true,o},Oe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ge=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ba=/^\d+\/\d+$/,ya=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Da=/\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$/,Ra=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,va=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ta=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>Ba.test(e),m=e=>!!e&&!Number.isNaN(Number(e)),V=e=>!!e&&Number.isInteger(Number(e)),Ie=e=>e.endsWith("%")&&m(e.slice(0,-1)),O=e=>ya.test(e),qa=()=>true,Ha=e=>Da.test(e)&&!Ra.test(e),Ve=()=>false,Ua=e=>va.test(e),Oa=e=>Ta.test(e),Ga=e=>!l(e)&&!r(e),Va=e=>K(e,We,Ve),l=e=>Oe.test(e),N=e=>K(e,Ne,Ha),Ce=e=>K(e,Xa,m),Te=e=>K(e,Ee,Ve),Ea=e=>K(e,ze,Oa),de=e=>K(e,Xe,Ua),r=e=>Ge.test(e),$=e=>J(e,Ne),za=e=>J(e,Za),qe=e=>J(e,Ee),Wa=e=>J(e,We),Na=e=>J(e,ze),se=e=>J(e,Xe,true),K=(e,o,a)=>{let t=Oe.exec(e);return t?t[1]?o(t[1]):a(t[2]):false},J=(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",Xa=e=>e==="number",Za=e=>e==="family-name",Xe=e=>e==="shadow";var _a=()=>{let e=w("color"),o=w("font"),a=w("text"),t=w("font-weight"),u=w("tracking"),c=w("leading"),s=w("breakpoint"),f=w("container"),n=w("spacing"),I=w("radius"),L=w("shadow"),F=w("inset-shadow"),k=w("text-shadow"),b=w("drop-shadow"),g=w("blur"),S=w("perspective"),A=w("aspect"),R=w("ease"),v=w("animate"),H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[...x(),r,l],y=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],p=()=>[r,l,n],d=()=>[_,"full","auto",...p()],h=()=>[V,"none","subgrid",r,l],G=()=>["auto",{span:["full",V,r,l]},V,r,l],X=()=>[V,"auto",r,l],te=()=>["auto","min","max","fr",r,l],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...p()],W=()=>[_,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...p()],i=()=>[e,r,l],be=()=>[...x(),qe,Te,{position:[r,l]}],Ae=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Me=()=>["auto","cover","contain",Wa,Va,{size:[r,l]}],Le=()=>[Ie,$,N],B=()=>["","none","full",I,r,l],D=()=>["",m,$,N],oe=()=>["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=()=>[m,Ie,qe,Te],Be=()=>["","none",g,r,l],le=()=>["none",m,r,l],re=()=>["none",m,r,l],xe=()=>[m,r,l],ue=()=>[_,"full",...p()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[O],breakpoint:[O],color:[qa],container:[O],"drop-shadow":[O],ease:["in","out","in-out"],font:[Ga],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[O],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[O],shadow:[O],spacing:["px",m],text:[O],"text-shadow":[O],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_,l,r,A]}],container:["container"],columns:[{columns:[m,l,r,f]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"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:M()}],overflow:[{overflow:y()}],"overflow-x":[{"overflow-x":y()}],"overflow-y":[{"overflow-y":y()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:d()}],"inset-x":[{"inset-x":d()}],"inset-y":[{"inset-y":d()}],start:[{start:d()}],end:[{end:d()}],top:[{top:d()}],right:[{right:d()}],bottom:[{bottom:d()}],left:[{left:d()}],visibility:["visible","invisible","collapse"],z:[{z:[V,"auto",r,l]}],basis:[{basis:[_,"full","auto",f,...p()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[m,_,"auto","initial","none",l]}],grow:[{grow:["",m,r,l]}],shrink:[{shrink:["",m,r,l]}],order:[{order:[V,"first","last","none",r,l]}],"grid-cols":[{"grid-cols":h()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":h()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":te()}],"auto-rows":[{"auto-rows":te()}],gap:[{gap:p()}],"gap-x":[{"gap-x":p()}],"gap-y":[{"gap-y":p()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...Z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:p()}],px:[{px:p()}],py:[{py:p()}],ps:[{ps:p()}],pe:[{pe:p()}],pt:[{pt:p()}],pr:[{pr:p()}],pb:[{pb:p()}],pl:[{pl:p()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":p()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":p()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[f,"screen",...W()]}],"min-w":[{"min-w":[f,"screen","none",...W()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[s]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",a,$,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,r,Ce]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ie,l]}],"font-family":[{font:[za,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":[m,"none",r,Ce]}],leading:[{leading:[c,...p()]}],"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:i()}],"text-color":[{text:i()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:[m,"from-font","auto",r,N]}],"text-decoration-color":[{decoration:i()}],"underline-offset":[{"underline-offset":[m,"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:p()}],"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"]},V,r,l],radial:["",r,l],conic:[V,r,l]},Na,Ea]}],"bg-color":[{bg:i()}],"gradient-from-pos":[{from:Le()}],"gradient-via-pos":[{via:Le()}],"gradient-to-pos":[{to:Le()}],"gradient-from":[{from:i()}],"gradient-via":[{via:i()}],"gradient-to":[{to:i()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":D()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...oe(),"hidden","none"]}],"divide-style":[{divide:[...oe(),"hidden","none"]}],"border-color":[{border:i()}],"border-color-x":[{"border-x":i()}],"border-color-y":[{"border-y":i()}],"border-color-s":[{"border-s":i()}],"border-color-e":[{"border-e":i()}],"border-color-t":[{"border-t":i()}],"border-color-r":[{"border-r":i()}],"border-color-b":[{"border-b":i()}],"border-color-l":[{"border-l":i()}],"divide-color":[{divide:i()}],"outline-style":[{outline:[...oe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[m,r,l]}],"outline-w":[{outline:["",m,$,N]}],"outline-color":[{outline:i()}],shadow:[{shadow:["","none",L,se,de]}],"shadow-color":[{shadow:i()}],"inset-shadow":[{"inset-shadow":["none",F,se,de]}],"inset-shadow-color":[{"inset-shadow":i()}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:i()}],"ring-offset-w":[{"ring-offset":[m,N]}],"ring-offset-color":[{"ring-offset":i()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{"inset-ring":i()}],"text-shadow":[{"text-shadow":["none",k,se,de]}],"text-shadow-color":[{"text-shadow":i()}],opacity:[{opacity:[m,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":[m]}],"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":i()}],"mask-image-linear-to-color":[{"mask-linear-to":i()}],"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":i()}],"mask-image-t-to-color":[{"mask-t-to":i()}],"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":i()}],"mask-image-r-to-color":[{"mask-r-to":i()}],"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":i()}],"mask-image-b-to-color":[{"mask-b-to":i()}],"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":i()}],"mask-image-l-to-color":[{"mask-l-to":i()}],"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":i()}],"mask-image-x-to-color":[{"mask-x-to":i()}],"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":i()}],"mask-image-y-to-color":[{"mask-y-to":i()}],"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":i()}],"mask-image-radial-to-color":[{"mask-radial-to":i()}],"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":x()}],"mask-image-conic-pos":[{"mask-conic":[m]}],"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":i()}],"mask-image-conic-to-color":[{"mask-conic-to":i()}],"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:[m,r,l]}],contrast:[{contrast:[m,r,l]}],"drop-shadow":[{"drop-shadow":["","none",b,se,de]}],"drop-shadow-color":[{"drop-shadow":i()}],grayscale:[{grayscale:["",m,r,l]}],"hue-rotate":[{"hue-rotate":[m,r,l]}],invert:[{invert:["",m,r,l]}],saturate:[{saturate:[m,r,l]}],sepia:[{sepia:["",m,r,l]}],"backdrop-filter":[{"backdrop-filter":["","none",r,l]}],"backdrop-blur":[{"backdrop-blur":Be()}],"backdrop-brightness":[{"backdrop-brightness":[m,r,l]}],"backdrop-contrast":[{"backdrop-contrast":[m,r,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",m,r,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m,r,l]}],"backdrop-invert":[{"backdrop-invert":["",m,r,l]}],"backdrop-opacity":[{"backdrop-opacity":[m,r,l]}],"backdrop-saturate":[{"backdrop-saturate":[m,r,l]}],"backdrop-sepia":[{"backdrop-sepia":["",m,r,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":p()}],"border-spacing-x":[{"border-spacing-x":p()}],"border-spacing-y":[{"border-spacing-y":p()}],"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:[m,"initial",r,l]}],ease:[{ease:["linear","initial",R,r,l]}],delay:[{delay:[m,r,l]}],animate:[{animate:["none",v,r,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,r,l]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:le()}],"rotate-x":[{"rotate-x":le()}],"rotate-y":[{"rotate-y":le()}],"rotate-z":[{"rotate-z":le()}],scale:[{scale:re()}],"scale-x":[{"scale-x":re()}],"scale-y":[{"scale-y":re()}],"scale-z":[{"scale-z":re()}],"scale-3d":["scale-3d"],skew:[{skew:xe()}],"skew-x":[{"skew-x":xe()}],"skew-y":[{"skew-y":xe()}],transform:[{transform:[r,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":["translate-none"],accent:[{accent:i()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:i()}],"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":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"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",...i()]}],"stroke-w":[{stroke:[m,$,N,Ce]}],stroke:[{stroke:["none",...i()]}],"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=Fa(_a);function C(...e){return Ze(De(e))}var _e=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ka=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,a,t)=>t?t.toUpperCase():a.toLowerCase()),ke=e=>{let o=Ka(e);return o.charAt(0).toUpperCase()+o.slice(1)},fe=(...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=Pe.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:t,className:u="",children:c,iconNode:s,...f},n)=>Pe.createElement("svg",{ref:n,...Je,width:o,height:o,stroke:e,strokeWidth:t?Number(a)*24/Number(o):a,className:fe("lucide",u),...!c&&!Ke(f)&&{"aria-hidden":"true"},...f},[...s.map(([I,L])=>Pe.createElement(I,L)),...Array.isArray(c)?c:[c]]));var Q=(e,o)=>{let a=Pe.forwardRef(({className:t,...u},c)=>Pe.createElement($e,{ref:c,iconNode:o,className:fe(`lucide-${_e(ke(e))}`,`lucide-${e}`,t),...u}));return a.displayName=ke(e),a};var Ya=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Y=Q("chevron-down",Ya);var ja=[["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"}]],E=Q("circle-alert",ja);var et=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],j=Q("x",et);var Ye=j;var ie=Y;var je=E;var at=({error:e,helperText:o,disabled:a})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:o&&jsxRuntime.jsx("span",{className:C("mx-4 mt-1 text-start text-xs leading-[130%] text-neutral-600",a&&"text-neutral-400",e&&"text-error-700"),children:o})}),aa=at;var ta=Pe.forwardRef(({label:e,placeholder:o,error:a,selectMode:t=false,showClearButton:u=true,helperText:c,className:s,size:f="md",onClean:n,onChange:I,startIcon:L,endIcon:F,startComponent:k,fixedTopLabel:b,startText:g,disabled:S,required:A,...R},v)=>{let H=Pe.useId(),x=Pe.useRef(null),[M,y]=Pe.useState(false),T=!x.current?.value,p=Pe.useCallback(()=>{if(x.current&&!S){x.current.value="",y(false),n?.();let d={target:x.current,currentTarget:x.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")};I?.(d);}},[S,I,x.current]);return Pe.useEffect(()=>{x.current&&y(x.current.value.length>0);},[]),jsxRuntime.jsxs("div",{className:C("flex flex-col",s),children:[jsxRuntime.jsxs("div",{className:C("relative flex flex-col rounded-lg bg-neutral-50",f==="lg"&&"h-12",f==="md"&&"h-10",f==="sm"&&"h-8"),children:[jsxRuntime.jsx("input",{id:H,disabled:S,required:A,className:C("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",f==="lg"&&"text-base",f==="md"&&"text-sm",f==="sm"&&"text-sm",L?f==="lg"?"pl-[2.75rem]":"pl-[2.38rem]":k?"pl-[6.5rem]":"pl-4",g&&"pl-[1.94rem]",F?f==="lg"?"pr-[2.75rem]":"pr-[2.38rem]":"pr-4"),placeholder:o??"",ref:d=>{typeof v=="function"?v(d):v&&(v.current=d),x.current=d;},onChange:d=>{y(d.target.value.length>0),I?.(d);},...R}),k&&Pe__default.default.cloneElement(k,{className:C("absolute z-20 flex left-3 top-1/2 transform -translate-y-1/2 items-center rounded-full peer-disabled:text-neutral-400",a&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),L&&Pe__default.default.cloneElement(L,{size:18,className:C("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&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),g&&jsxRuntime.jsx("div",{className:"flex h-full items-center pl-3",children:jsxRuntime.jsx("p",{className:C("text-neutral-700",a&&"text-error-700"),children:g})}),e&&jsxRuntime.jsxs(reactLabel.Label,{htmlFor:H,className:C("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",M&&"peer-disabled:bg-neutral-80",f==="lg"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-3":f==="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",!T&&"text-xs",a&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",L?f==="lg"?"peer-placeholder-shown:ml-[2.75rem]":"peer-placeholder-shown:ml-[2.38rem]":k?"peer-placeholder-shown:ml-[6rem]":"ml-3",b&&"-top-[0.375rem]! z-20 ml-3 text-xs! transition-none!",g&&"peer-placeholder-shown:ml-[1.94rem]"),children:[A&&"*",e]}),(u&&(!T||M)||a)&&jsxRuntime.jsxs("div",{className:C("absolute z-10 hidden h-full items-center peer-focus:flex",a&&!S&&"flex",t||F?f==="lg"?"right-[2.81rem]":f==="md"?"right-[2.125rem]":"right-[1.875rem]":"right-4"),children:[a&&jsxRuntime.jsx(je,{size:f==="sm"?14:18,className:"text-error-700"}),!a&&jsxRuntime.jsx(Ye,{onMouseDown:p,size:f==="sm"?14:18,className:"cursor-pointer text-neutral-900"})]}),F&&Pe__default.default.cloneElement(F,{size:f==="sm"?14:18,className:C("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&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),t&&jsxRuntime.jsx("div",{className:C("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(ie,{className:f==="lg"?"h-6 w-6":"h-4.5 w-4.5"})})]}),jsxRuntime.jsx(aa,{helperText:c,error:a,disabled:S})]})});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 pa=56,pe=6,St=[{id:0,code:"+56",name:"Chile",flag:oa,country:"CL"},{id:1,code:"+54",name:"Argentina",flag:la,country:"AR"},{id:2,code:"+57",name:"Colombia",flag:ra,country:"CO"},{id:3,code:"+502",name:"Guatemala",flag:ua,country:"GT"},{id:4,code:"+52",name:"Mexico",flag:da,country:"MX"},{id:5,code:"+51",name:"Per\xFA",flag:sa,country:"PE"},{id:6,code:"+55",name:"Brasil",flag:fa,country:"BR"},{id:7,code:"+598",name:"Uruguay",flag:ia,country:"UY"},{id:8,code:"+1",name:"Estados Unidos",flag:ca,country:"US"}],Jo=({options:e=St,noResults:o,selectedOption:a,onSelect:t,onChange:u,onClick:c,className:s,defaultCountry:f="CL",initialValue:n,size:I="md",...L})=>{let F=Pe.useId(),k=Pe.useRef(null),b=Pe.useRef(null),[g,S]=Pe.useState("bottom"),[A,R]=Pe.useState(),[v,H]=Pe.useState(-1),[x,M]=Pe.useState(a??null),[y,T]=Pe.useState(""),p=d=>{let h={target:{value:d.code+y}};u?.(h),k.current.style.display="none",b.current.value=d.code,M(d),t?.(d);};return Pe.useEffect(()=>{if(!b.current)return;let d=()=>{if(!b.current)return;let h=pa*(e.length<pe?e.length:pe)+16,G=b.current.getBoundingClientRect();R(G);let X=window.innerHeight-G.bottom>h,te=G.top>h;S(X?"bottom":te?"top":"bottom");};return d(),b.current.addEventListener("mousedown",d),window.addEventListener("scroll",d,true),window.addEventListener("resize",d),()=>{b.current?.removeEventListener("mousedown",d),window.removeEventListener("scroll",d,true),window.removeEventListener("resize",d);}},[b.current]),Pe.useEffect(()=>{function d(h){k.current&&!k.current.contains(h.target)&&(k.current.style.display="none",H(-1));}return document.addEventListener("mousedown",d),()=>{document.removeEventListener("mousedown",d);}},[k.current]),Pe.useEffect(()=>{if(f&&!n){let d=e.find(h=>h.country===f)??null;M(d);}},[f,n]),Pe.useEffect(()=>{if(n){let d=e.find(h=>n.includes(h.code))??null;M(d),T(n.replace(d?.code??"",""));}},[n]),jsxRuntime.jsx("div",{className:C("flex flex-col",s),children:jsxRuntime.jsxs("div",{className:C("relative flex flex-col"),children:[jsxRuntime.jsx(ta,{ref:b,value:y,placeholder:L.placeholder??"",onChange:d=>{let h=d.target.value.replace(/\D/g,"");T(h);let G={target:{value:x?.code&&!h.includes(x.code)?x?.code+h:h}};u?.(G);},startComponent:jsxRuntime.jsxs("div",{className:"z-100000 ml-3 flex h-2 w-[7.5rem] cursor-pointer items-center",onClick:()=>{L.disabled||(k.current.style.display="flex");},children:[jsxRuntime.jsx("img",{src:x?.flag,alt:x?.country,className:C("h-6 w-6 cursor-pointer",L.disabled&&"cursor-not-allowed text-neutral-400")}),jsxRuntime.jsx("span",{className:C("ml-1",L.disabled&&"cursor-not-allowed text-neutral-400"),children:x?.code}),jsxRuntime.jsx(ie,{className:C(I==="md"?"h-6 w-6":"h-4.5 w-4.5","cursor-pointer",L.disabled&&"cursor-not-allowed text-neutral-400")})]}),...L}),jsxRuntime.jsx(ma__namespace.Root,{asChild:true,children:jsxRuntime.jsxs("ul",{ref:k,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:A?{width:`${A.width}px`,left:A.left,top:g==="bottom"?`${A.height+A.top+window.scrollY}px`:window.scrollY+A.top-(e.length<pe?e.length:pe)*pa-16}:void 0,children:[e.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:[Pe__default.default.cloneElement(o.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:o.message})]}),e.map((d,h)=>jsxRuntime.jsx("li",{onClick:()=>{p(d);},className:C("shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",x?.code===d.code&&"bg-primary-200",v===h&&"bg-primary-200"),value:d.code,children:jsxRuntime.jsxs("div",{className:C("flex items-center space-x-3"),children:[jsxRuntime.jsx("img",{src:d.flag,alt:d.country,className:"h-6 w-6"}),jsxRuntime.jsx("p",{children:d.name}),jsxRuntime.jsx("p",{className:"text-primary-500",children:`(${d.code})`})]})},`select-option-${F}-${d.id??d.code}`))]})})]})})};/*! 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.FlagSelect=
|
|
17
|
+
*/exports.FlagSelect=Jo;
|
package/dist/flag-select.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as FlagSelect}from'./chunk-
|
|
1
|
+
export{a as FlagSelect}from'./chunk-OA4FUWKA.mjs';import'./chunk-E5G7444M.mjs';import'./chunk-JCB42QTZ.mjs';import'./chunk-CK3UXIJL.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-BO6XI5BE.mjs';
|
package/dist/icon-button.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function Z(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Z(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Q(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Z(e))&&(o&&(o+=" "),o+=r);return o}var F="-",le=e=>{let r=de(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:l=>{let s=l.split(F);return s[0]===""&&s.length!==1&&s.shift(),ee(s,r)||ce(l)},getConflictingClassGroupIds:(l,s)=>{let p=t[l]||[];return s&&o[l]?[...p,...o[l]]:p}}},ee=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ee(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(F);return r.validators.find(({validator:l})=>l(n))?.classGroupId},Y=/^\[(.+)\]$/,ce=e=>{if(Y.test(e)){let r=Y.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},de=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ue(Object.entries(e.classGroups),t).forEach(([n,l])=>{$(l,o,n,r);}),o},$=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:D(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(pe(a)){$(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,l])=>{$(l,D(r,n),t,o);});});},D=(e,r)=>{let t=e;return r.split(F).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},pe=e=>e.isThemeGetter,ue=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[r+l,s])):n);return [t,a]}):e,ge=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,l)=>{t.set(n,l),r++,r>e&&(r=0,o=t,t=new Map);};return {get(n){let l=t.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){t.has(n)?t.set(n,l):a(n,l);}}},re="!",be=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,l=s=>{let p=[],g=0,m=0,y;for(let u=0;u<s.length;u++){let f=s[u];if(g===0){if(f===a&&(o||s.slice(u,u+n)===r)){p.push(s.slice(m,u)),m=u+n;continue}if(f==="/"){y=u;continue}}f==="["?g++:f==="]"&&g--;}let x=p.length===0?s:s.substring(m),w=x.startsWith(re),v=w?x.substring(1):x,b=y&&y>m?y-m:void 0;return {modifiers:p,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:b}};return t?s=>t({className:s,parseClassName:l}):l},fe=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},me=e=>({cache:ge(e.cacheSize),parseClassName:be(e),...le(e)}),he=/\s+/,ye=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],l=e.trim().split(he),s="";for(let p=l.length-1;p>=0;p-=1){let g=l[p],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:w}=t(g),v=!!w,b=o(v?x.substring(0,w):x);if(!b){if(!v){s=g+(s.length>0?" "+s:s);continue}if(b=o(x),!b){s=g+(s.length>0?" "+s:s);continue}v=false;}let u=fe(m).join(":"),f=y?u+re:u,h=f+b;if(n.includes(h))continue;n.push(h);let N=a(b,v);for(let M=0;M<N.length;++M){let T=N[M];n.push(f+T);}s=g+(s.length>0?" "+s:s);}return s};function xe(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=te(r))&&(o&&(o+=" "),o+=t);return o}var te=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=te(e[o]))&&(t&&(t+=" "),t+=r);return t};function ve(e,...r){let t,o,a,n=l;function l(p){let g=r.reduce((m,y)=>y(m),e());return t=me(g),o=t.cache.get,a=t.cache.set,n=s,s(p)}function s(p){let g=o(p);if(g)return g;let m=ye(p,t);return a(p,m),m}return function(){return n(xe.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=true,r},oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,we=/^\d+\/\d+$/,ke=new Set(["px","full","screen"]),Ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ze=/\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$/,Se=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Me=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ae=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>A(e)||ke.has(e)||we.test(e),z=e=>P(e,"length",Be),A=e=>!!e&&!Number.isNaN(Number(e)),W=e=>P(e,"number",A),R=e=>!!e&&Number.isInteger(Number(e)),Pe=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>oe.test(e),S=e=>Ce.test(e),Ne=new Set(["length","size","percentage"]),Ie=e=>P(e,Ne,ne),Re=e=>P(e,"position",ne),Ge=new Set(["image","url"]),Te=e=>P(e,Ge,Ve),Le=e=>P(e,"",Ee),G=()=>true,P=(e,r,t)=>{let o=oe.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):false},Be=e=>ze.test(e)&&!Se.test(e),ne=()=>false,Ee=e=>Me.test(e),Ve=e=>Ae.test(e);var je=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),l=c("borderSpacing"),s=c("borderWidth"),p=c("contrast"),g=c("grayscale"),m=c("hueRotate"),y=c("invert"),x=c("gap"),w=c("gradientColorStops"),v=c("gradientColorStopPositions"),b=c("inset"),u=c("margin"),f=c("opacity"),h=c("padding"),N=c("saturate"),M=c("scale"),T=c("sepia"),H=c("skew"),U=c("space"),O=c("translate"),E=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",i,r],d=()=>[i,r],q=()=>["",C,z],L=()=>["auto",A,i],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",i],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[A,i];return {cacheSize:500,separator:":",theme:{colors:[G],spacing:[C,z],blur:["none","",S,i],brightness:k(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:d(),borderWidth:q(),contrast:k(),grayscale:I(),hueRotate:k(),invert:I(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Pe,z],inset:j(),margin:j(),opacity:k(),padding:d(),saturate:k(),scale:k(),sepia:I(),skew:k(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"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"],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:[...J(),i]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",..._()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",W]}],"font-family":[{font:[G]}],"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:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",A,W]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,z]}],"underline-offset":[{"underline-offset":["auto",C,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),Re]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ie]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Te]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:B()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[C,i]}],"outline-w":[{outline:[C,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Le]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[N]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[N]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[H]}],"skew-y":[{"skew-y":[H]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,z,W]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}};var se=ve(je);function ae(...e){return se(Q(e))}var De=["lg","md","sm","xs"],er=["contained","secondary","outlined","ghost","standard"],$e=tailwindVariants.tv({slots:{container:"flex items-center justify-center font-inter text-base font-semibold ring-inset transition-all",icon:""},variants:{variant:{contained:{},secondary:{},outlined:{},ghost:{},standard:{}},size:{lg:{container:"h-12 w-12 rounded-lg",icon:"h-6 w-6"},md:{container:"h-10 w-10 rounded-lg",icon:"h-6 w-6"},sm:{container:"h-8 w-8 rounded-lg",icon:"h-4.5 w-4.5"},xs:{container:"h-5.5 w-5.5 rounded",icon:"h-4.5 w-4.5"}},disabled:{true:{},false:{}}},compoundVariants:[{disabled:true,className:{container:"cursor-not-allowed text-neutral-400"}},{disabled:false,className:{container:"cursor-pointer"}},{disabled:false,variant:"contained",className:{container:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-primary-700 active:ring-0"}},{disabled:true,variant:"contained",className:{container:"bg-neutral-100 ring-0"}},{disabled:false,variant:"secondary",className:{container:"text-primary-500 ring-[1.5px] ring-inset ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-[1.5px] active:ring-primary-700"}},{disabled:true,variant:"secondary",className:{container:"ring-neutral-400 disabled:ring-[1.5px]"}},{disabled:false,variant:"outlined",className:{container:"text-neutral-900 ring-[1.5px] ring-neutral-900 hover:bg-transparent-primary-20 focus:ring-[3px] active:bg-transparent-primary-40"}},{disabled:true,variant:"outlined",className:{container:"text-neutral-400 ring-[1.5px] ring-neutral-400"}},{disabled:false,variant:"ghost",className:{container:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0"}},{disabled:true,variant:"ghost",className:{container:""}},{disabled:false,variant:"standard",className:{container:"text-neutral-900 hover:bg-transparent-primary-20 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:ring-0"}},{disabled:true,variant:"standard",className:{container:""}}],defaultVariants:{variant:"contained",size:"sm",disabled:false}}),rr=react.forwardRef(({className:e,variant:r,disabled:t,Icon:o,size:a,type:n="button",...l},s)=>{let{container:p,icon:g}=$e({variant:r,size:a,disabled:t});return jsxRuntime.jsx("button",{ref:s,disabled:t,className:ae(p(),e),type:n,...l,children:jsxRuntime.jsx(o,{className:g()})})});exports.IconButton=rr;exports.IconButtonSizes=De;exports.IconButtonVariants=er;
|
|
1
|
+
'use strict';var react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function fe(e){var n,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(n=0;n<i;n++)e[n]&&(o=fe(e[n]))&&(r&&(r+=" "),r+=o);}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function ge(){for(var e,n,o=0,r="",i=arguments.length;o<i;o++)(e=arguments[o])&&(n=fe(e))&&(r&&(r+=" "),r+=n);return r}var ne="-",Te=e=>{let n=Ee(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return {getClassGroupId:l=>{let u=l.split(ne);return u[0]===""&&u.length!==1&&u.shift(),we(u,n)||Le(l)},getConflictingClassGroupIds:(l,u)=>{let p=o[l]||[];return u&&r[l]?[...p,...r[l]]:p}}},we=(e,n)=>{if(e.length===0)return n.classGroupId;let o=e[0],r=n.nextPart.get(o),i=r?we(e.slice(1),r):void 0;if(i)return i;if(n.validators.length===0)return;let m=e.join(ne);return n.validators.find(({validator:l})=>l(m))?.classGroupId},be=/^\[(.+)\]$/,Le=e=>{if(be.test(e)){let n=be.exec(e)[1],o=n?.substring(0,n.indexOf(":"));if(o)return "arbitrary.."+o}},Ee=e=>{let{theme:n,classGroups:o}=e,r={nextPart:new Map,validators:[]};for(let i in o)oe(o[i],r,i,n);return r},oe=(e,n,o,r)=>{e.forEach(i=>{if(typeof i=="string"){let m=i===""?n:he(n,i);m.classGroupId=o;return}if(typeof i=="function"){if(Ve(i)){oe(i(r),n,o,r);return}n.validators.push({validator:i,classGroupId:o});return}Object.entries(i).forEach(([m,l])=>{oe(l,he(n,m),o,r);});});},he=(e,n)=>{let o=e;return n.split(ne).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r);}),o},Ve=e=>e.isThemeGetter,Be=e=>{if(e<1)return {get:()=>{},set:()=>{}};let n=0,o=new Map,r=new Map,i=(m,l)=>{o.set(m,l),n++,n>e&&(n=0,r=o,o=new Map);};return {get(m){let l=o.get(m);if(l!==void 0)return l;if((l=r.get(m))!==void 0)return i(m,l),l},set(m,l){o.has(m)?o.set(m,l):i(m,l);}}},te="!",se=":",_e=se.length,Fe=e=>{let{prefix:n,experimentalParseClassName:o}=e,r=i=>{let m=[],l=0,u=0,p=0,b;for(let w=0;w<i.length;w++){let k=i[w];if(l===0&&u===0){if(k===se){m.push(i.slice(p,w)),p=w+_e;continue}if(k==="/"){b=w;continue}}k==="["?l++:k==="]"?l--:k==="("?u++:k===")"&&u--;}let h=m.length===0?i:i.substring(p),S=je(h),_=S!==h,F=b&&b>p?b-p:void 0;return {modifiers:m,hasImportantModifier:_,baseClassName:S,maybePostfixModifierPosition:F}};if(n){let i=n+se,m=r;r=l=>l.startsWith(i)?m(l.substring(i.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:l,maybePostfixModifierPosition:void 0};}if(o){let i=r;r=m=>o({className:m,parseClassName:i});}return r},je=e=>e.endsWith(te)?e.substring(0,e.length-1):e.startsWith(te)?e.substring(1):e,Oe=e=>{let n=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,true]));return r=>{if(r.length<=1)return r;let i=[],m=[];return r.forEach(l=>{l[0]==="["||n[l]?(i.push(...m.sort(),l),m=[]):m.push(l);}),i.push(...m.sort()),i}},We=e=>({cache:Be(e.cacheSize),parseClassName:Fe(e),sortModifiers:Oe(e),...Te(e)}),$e=/\s+/,He=(e,n)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:m}=n,l=[],u=e.trim().split($e),p="";for(let b=u.length-1;b>=0;b-=1){let h=u[b],{isExternal:S,modifiers:_,hasImportantModifier:F,baseClassName:w,maybePostfixModifierPosition:k}=o(h);if(S){p=h+(p.length>0?" "+p:p);continue}let R=!!k,P=r(R?w.substring(0,k):w);if(!P){if(!R){p=h+(p.length>0?" "+p:p);continue}if(P=r(w),!P){p=h+(p.length>0?" "+p:p);continue}R=false;}let $=m(_).join(":"),j=F?$+te:$,N=j+P;if(l.includes(N))continue;l.push(N);let T=i(P,R);for(let A=0;A<T.length;++A){let O=T[A];l.push(j+O);}p=h+(p.length>0?" "+p:p);}return p};function Ue(){let e=0,n,o,r="";for(;e<arguments.length;)(n=arguments[e++])&&(o=ke(n))&&(r&&(r+=" "),r+=o);return r}var ke=e=>{if(typeof e=="string")return e;let n,o="";for(let r=0;r<e.length;r++)e[r]&&(n=ke(e[r]))&&(o&&(o+=" "),o+=n);return o};function qe(e,...n){let o,r,i,m=l;function l(p){let b=n.reduce((h,S)=>S(h),e());return o=We(b),r=o.cache.get,i=o.cache.set,m=u,u(p)}function u(p){let b=r(p);if(b)return b;let h=He(p,o);return i(p,h),h}return function(){return m(Ue.apply(null,arguments))}}var f=e=>{let n=o=>o[e]||[];return n.isThemeGetter=true,n},ve=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ze=/^\((?:(\w[\w-]*):)?(.+)\)$/i,De=/^\d+\/\d+$/,Je=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xe=/\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$/,Ke=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ye=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>De.test(e),d=e=>!!e&&!Number.isNaN(Number(e)),C=e=>!!e&&Number.isInteger(Number(e)),ee=e=>e.endsWith("%")&&d(e.slice(0,-1)),M=e=>Je.test(e),Ze=()=>true,er=e=>Xe.test(e)&&!Ke.test(e),Me=()=>false,rr=e=>Qe.test(e),or=e=>Ye.test(e),tr=e=>!t(e)&&!s(e),sr=e=>V(e,Pe,Me),t=e=>ve.test(e),G=e=>V(e,Ae,er),re=e=>V(e,cr,d),ye=e=>V(e,Se,Me),nr=e=>V(e,Ce,or),X=e=>V(e,Ie,rr),s=e=>ze.test(e),W=e=>B(e,Ae),ar=e=>B(e,dr),xe=e=>B(e,Se),ir=e=>B(e,Pe),lr=e=>B(e,Ce),K=e=>B(e,Ie,true),V=(e,n,o)=>{let r=ve.exec(e);return r?r[1]?n(r[1]):o(r[2]):false},B=(e,n,o=false)=>{let r=ze.exec(e);return r?r[1]?n(r[1]):o:false},Se=e=>e==="position"||e==="percentage",Ce=e=>e==="image"||e==="url",Pe=e=>e==="length"||e==="size"||e==="bg-size",Ae=e=>e==="length",cr=e=>e==="number",dr=e=>e==="family-name",Ie=e=>e==="shadow";var mr=()=>{let e=f("color"),n=f("font"),o=f("text"),r=f("font-weight"),i=f("tracking"),m=f("leading"),l=f("breakpoint"),u=f("container"),p=f("spacing"),b=f("radius"),h=f("shadow"),S=f("inset-shadow"),_=f("text-shadow"),F=f("drop-shadow"),w=f("blur"),k=f("perspective"),R=f("aspect"),P=f("ease"),$=f("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...N(),s,t],A=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto","contain","none"],c=()=>[s,t,p],v=()=>[E,"full","auto",...c()],ae=()=>[C,"none","subgrid",s,t],ie=()=>["auto",{span:["full",C,s,t]},C,s,t],H=()=>[C,"auto",s,t],le=()=>["auto","min","max","fr",s,t],Q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...c()],I=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...c()],a=()=>[e,s,t],ce=()=>[...N(),xe,ye,{position:[s,t]}],de=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",ir,sr,{size:[s,t]}],Y=()=>[ee,W,G],y=()=>["","none","full",b,s,t],x=()=>["",d,W,G],U=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],g=()=>[d,ee,xe,ye],ue=()=>["","none",w,s,t],q=()=>["none",d,s,t],D=()=>["none",d,s,t],Z=()=>[d,s,t],J=()=>[E,"full",...c()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[M],breakpoint:[M],color:[Ze],container:[M],"drop-shadow":[M],ease:["in","out","in-out"],font:[tr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[M],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[M],shadow:[M],spacing:["px",d],text:[M],"text-shadow":[M],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,t,s,R]}],container:["container"],columns:[{columns:[d,t,s,u]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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:T()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:v()}],"inset-x":[{"inset-x":v()}],"inset-y":[{"inset-y":v()}],start:[{start:v()}],end:[{end:v()}],top:[{top:v()}],right:[{right:v()}],bottom:[{bottom:v()}],left:[{left:v()}],visibility:["visible","invisible","collapse"],z:[{z:[C,"auto",s,t]}],basis:[{basis:[E,"full","auto",u,...c()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[d,E,"auto","initial","none",t]}],grow:[{grow:["",d,s,t]}],shrink:[{shrink:["",d,s,t]}],order:[{order:[C,"first","last","none",s,t]}],"grid-cols":[{"grid-cols":ae()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":ae()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:c()}],"gap-x":[{"gap-x":c()}],"gap-y":[{"gap-y":c()}],"justify-content":[{justify:[...Q(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...Q()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":Q()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:c()}],px:[{px:c()}],py:[{py:c()}],ps:[{ps:c()}],pe:[{pe:c()}],pt:[{pt:c()}],pr:[{pr:c()}],pb:[{pb:c()}],pl:[{pl:c()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":c()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":c()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[u,"screen",...I()]}],"min-w":[{"min-w":[u,"screen","none",...I()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",o,W,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,s,re]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ee,t]}],"font-family":[{font:[ar,t,n]}],"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:[i,s,t]}],"line-clamp":[{"line-clamp":[d,"none",s,re]}],leading:[{leading:[m,...c()]}],"list-image":[{"list-image":["none",s,t]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",s,t]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:a()}],"text-color":[{text:a()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:[d,"from-font","auto",s,G]}],"text-decoration-color":[{decoration:a()}],"underline-offset":[{"underline-offset":[d,"auto",s,t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:c()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s,t]}],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",s,t]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ce()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},C,s,t],radial:["",s,t],conic:[C,s,t]},lr,nr]}],"bg-color":[{bg:a()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:a()}],"gradient-via":[{via:a()}],"gradient-to":[{to:a()}],rounded:[{rounded:y()}],"rounded-s":[{"rounded-s":y()}],"rounded-e":[{"rounded-e":y()}],"rounded-t":[{"rounded-t":y()}],"rounded-r":[{"rounded-r":y()}],"rounded-b":[{"rounded-b":y()}],"rounded-l":[{"rounded-l":y()}],"rounded-ss":[{"rounded-ss":y()}],"rounded-se":[{"rounded-se":y()}],"rounded-ee":[{"rounded-ee":y()}],"rounded-es":[{"rounded-es":y()}],"rounded-tl":[{"rounded-tl":y()}],"rounded-tr":[{"rounded-tr":y()}],"rounded-br":[{"rounded-br":y()}],"rounded-bl":[{"rounded-bl":y()}],"border-w":[{border:x()}],"border-w-x":[{"border-x":x()}],"border-w-y":[{"border-y":x()}],"border-w-s":[{"border-s":x()}],"border-w-e":[{"border-e":x()}],"border-w-t":[{"border-t":x()}],"border-w-r":[{"border-r":x()}],"border-w-b":[{"border-b":x()}],"border-w-l":[{"border-l":x()}],"divide-x":[{"divide-x":x()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":x()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...U(),"hidden","none"]}],"divide-style":[{divide:[...U(),"hidden","none"]}],"border-color":[{border:a()}],"border-color-x":[{"border-x":a()}],"border-color-y":[{"border-y":a()}],"border-color-s":[{"border-s":a()}],"border-color-e":[{"border-e":a()}],"border-color-t":[{"border-t":a()}],"border-color-r":[{"border-r":a()}],"border-color-b":[{"border-b":a()}],"border-color-l":[{"border-l":a()}],"divide-color":[{divide:a()}],"outline-style":[{outline:[...U(),"none","hidden"]}],"outline-offset":[{"outline-offset":[d,s,t]}],"outline-w":[{outline:["",d,W,G]}],"outline-color":[{outline:a()}],shadow:[{shadow:["","none",h,K,X]}],"shadow-color":[{shadow:a()}],"inset-shadow":[{"inset-shadow":["none",S,K,X]}],"inset-shadow-color":[{"inset-shadow":a()}],"ring-w":[{ring:x()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:a()}],"ring-offset-w":[{"ring-offset":[d,G]}],"ring-offset-color":[{"ring-offset":a()}],"inset-ring-w":[{"inset-ring":x()}],"inset-ring-color":[{"inset-ring":a()}],"text-shadow":[{"text-shadow":["none",_,K,X]}],"text-shadow-color":[{"text-shadow":a()}],opacity:[{opacity:[d,s,t]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"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":[d]}],"mask-image-linear-from-pos":[{"mask-linear-from":g()}],"mask-image-linear-to-pos":[{"mask-linear-to":g()}],"mask-image-linear-from-color":[{"mask-linear-from":a()}],"mask-image-linear-to-color":[{"mask-linear-to":a()}],"mask-image-t-from-pos":[{"mask-t-from":g()}],"mask-image-t-to-pos":[{"mask-t-to":g()}],"mask-image-t-from-color":[{"mask-t-from":a()}],"mask-image-t-to-color":[{"mask-t-to":a()}],"mask-image-r-from-pos":[{"mask-r-from":g()}],"mask-image-r-to-pos":[{"mask-r-to":g()}],"mask-image-r-from-color":[{"mask-r-from":a()}],"mask-image-r-to-color":[{"mask-r-to":a()}],"mask-image-b-from-pos":[{"mask-b-from":g()}],"mask-image-b-to-pos":[{"mask-b-to":g()}],"mask-image-b-from-color":[{"mask-b-from":a()}],"mask-image-b-to-color":[{"mask-b-to":a()}],"mask-image-l-from-pos":[{"mask-l-from":g()}],"mask-image-l-to-pos":[{"mask-l-to":g()}],"mask-image-l-from-color":[{"mask-l-from":a()}],"mask-image-l-to-color":[{"mask-l-to":a()}],"mask-image-x-from-pos":[{"mask-x-from":g()}],"mask-image-x-to-pos":[{"mask-x-to":g()}],"mask-image-x-from-color":[{"mask-x-from":a()}],"mask-image-x-to-color":[{"mask-x-to":a()}],"mask-image-y-from-pos":[{"mask-y-from":g()}],"mask-image-y-to-pos":[{"mask-y-to":g()}],"mask-image-y-from-color":[{"mask-y-from":a()}],"mask-image-y-to-color":[{"mask-y-to":a()}],"mask-image-radial":[{"mask-radial":[s,t]}],"mask-image-radial-from-pos":[{"mask-radial-from":g()}],"mask-image-radial-to-pos":[{"mask-radial-to":g()}],"mask-image-radial-from-color":[{"mask-radial-from":a()}],"mask-image-radial-to-color":[{"mask-radial-to":a()}],"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":N()}],"mask-image-conic-pos":[{"mask-conic":[d]}],"mask-image-conic-from-pos":[{"mask-conic-from":g()}],"mask-image-conic-to-pos":[{"mask-conic-to":g()}],"mask-image-conic-from-color":[{"mask-conic-from":a()}],"mask-image-conic-to-color":[{"mask-conic-to":a()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ce()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",s,t]}],filter:[{filter:["","none",s,t]}],blur:[{blur:ue()}],brightness:[{brightness:[d,s,t]}],contrast:[{contrast:[d,s,t]}],"drop-shadow":[{"drop-shadow":["","none",F,K,X]}],"drop-shadow-color":[{"drop-shadow":a()}],grayscale:[{grayscale:["",d,s,t]}],"hue-rotate":[{"hue-rotate":[d,s,t]}],invert:[{invert:["",d,s,t]}],saturate:[{saturate:[d,s,t]}],sepia:[{sepia:["",d,s,t]}],"backdrop-filter":[{"backdrop-filter":["","none",s,t]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[d,s,t]}],"backdrop-contrast":[{"backdrop-contrast":[d,s,t]}],"backdrop-grayscale":[{"backdrop-grayscale":["",d,s,t]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d,s,t]}],"backdrop-invert":[{"backdrop-invert":["",d,s,t]}],"backdrop-opacity":[{"backdrop-opacity":[d,s,t]}],"backdrop-saturate":[{"backdrop-saturate":[d,s,t]}],"backdrop-sepia":[{"backdrop-sepia":["",d,s,t]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":c()}],"border-spacing-x":[{"border-spacing-x":c()}],"border-spacing-y":[{"border-spacing-y":c()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",s,t]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[d,"initial",s,t]}],ease:[{ease:["linear","initial",P,s,t]}],delay:[{delay:[d,s,t]}],animate:[{animate:["none",$,s,t]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,s,t]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:Z()}],"skew-x":[{"skew-x":Z()}],"skew-y":[{"skew-y":Z()}],transform:[{transform:[s,t,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:a()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:a()}],"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",s,t]}],"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":c()}],"scroll-mx":[{"scroll-mx":c()}],"scroll-my":[{"scroll-my":c()}],"scroll-ms":[{"scroll-ms":c()}],"scroll-me":[{"scroll-me":c()}],"scroll-mt":[{"scroll-mt":c()}],"scroll-mr":[{"scroll-mr":c()}],"scroll-mb":[{"scroll-mb":c()}],"scroll-ml":[{"scroll-ml":c()}],"scroll-p":[{"scroll-p":c()}],"scroll-px":[{"scroll-px":c()}],"scroll-py":[{"scroll-py":c()}],"scroll-ps":[{"scroll-ps":c()}],"scroll-pe":[{"scroll-pe":c()}],"scroll-pt":[{"scroll-pt":c()}],"scroll-pr":[{"scroll-pr":c()}],"scroll-pb":[{"scroll-pb":c()}],"scroll-pl":[{"scroll-pl":c()}],"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",s,t]}],fill:[{fill:["none",...a()]}],"stroke-w":[{stroke:[d,W,G,re]}],stroke:[{stroke:["none",...a()]}],"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 Ge=qe(mr);function Re(...e){return Ge(ge(e))}var Cr=["lg","md","sm","xs"],Pr=["contained","secondary","outlined","ghost","standard"],fr=tailwindVariants.tv({slots:{container:"flex items-center justify-center font-inter text-base font-semibold ring-inset transition-all",icon:""},variants:{variant:{contained:{},secondary:{},outlined:{},ghost:{},standard:{}},size:{lg:{container:"h-12 w-12 rounded-lg",icon:"h-6 w-6"},md:{container:"h-10 w-10 rounded-lg",icon:"h-6 w-6"},sm:{container:"h-8 w-8 rounded-lg",icon:"h-4.5 w-4.5"},xs:{container:"h-5.5 w-5.5 rounded-sm",icon:"h-4.5 w-4.5"}},disabled:{true:{},false:{}}},compoundVariants:[{disabled:true,className:{container:"cursor-not-allowed text-neutral-400"}},{disabled:false,className:{container:"cursor-pointer"}},{disabled:false,variant:"contained",className:{container:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-primary-700 active:ring-0"}},{disabled:true,variant:"contained",className:{container:"bg-neutral-100 ring-0"}},{disabled:false,variant:"secondary",className:{container:"text-primary-500 ring-[1.5px] ring-inset ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-[1.5px] active:ring-primary-700"}},{disabled:true,variant:"secondary",className:{container:"ring-neutral-400 disabled:ring-[1.5px]"}},{disabled:false,variant:"outlined",className:{container:"text-neutral-900 ring-[1.5px] ring-neutral-900 hover:bg-transparent-primary-20 focus:ring-[3px] active:bg-transparent-primary-40"}},{disabled:true,variant:"outlined",className:{container:"text-neutral-400 ring-[1.5px] ring-neutral-400"}},{disabled:false,variant:"ghost",className:{container:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0"}},{disabled:true,variant:"ghost",className:{container:""}},{disabled:false,variant:"standard",className:{container:"text-neutral-900 hover:bg-transparent-primary-20 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:ring-0"}},{disabled:true,variant:"standard",className:{container:""}}],defaultVariants:{variant:"contained",size:"sm",disabled:false}}),Ar=react.forwardRef(({className:e,variant:n,disabled:o,Icon:r,size:i,type:m="button",...l},u)=>{let{container:p,icon:b}=fr({variant:n,size:i,disabled:o});return jsxRuntime.jsx("button",{ref:u,disabled:o,className:Re(p(),e),type:m,...l,children:jsxRuntime.jsx(r,{className:b()})})});exports.IconButton=Ar;exports.IconButtonSizes=Cr;exports.IconButtonVariants=Pr;
|
package/dist/icon-button.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as IconButton,a as IconButtonSizes,b as IconButtonVariants}from'./chunk-
|
|
1
|
+
export{c as IconButton,a as IconButtonSizes,b as IconButtonVariants}from'./chunk-35JUETHD.mjs';import'./chunk-BO6XI5BE.mjs';
|