design-system-silkhaus 0.0.49 → 0.0.50
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/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24,4 +24,4 @@ Check the top-level render call using <`+s+">.")}return a}}function Je(e,a){{if(
|
|
|
24
24
|
*
|
|
25
25
|
* This source code is licensed under the MIT license found in the
|
|
26
26
|
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/var nt;function ar(){if(nt)return ue;nt=1;var t=pe,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(u,g,b){var f,y={},C=null,O=null;b!==void 0&&(C=""+b),g.key!==void 0&&(C=""+g.key),g.ref!==void 0&&(O=g.ref);for(f in g)o.call(g,f)&&!l.hasOwnProperty(f)&&(y[f]=g[f]);if(u&&u.defaultProps)for(f in g=u.defaultProps,g)y[f]===void 0&&(y[f]=g[f]);return{$$typeof:n,type:u,key:C,ref:O,props:y,_owner:i.current}}return ue.Fragment=r,ue.jsx=c,ue.jsxs=c,ue}process.env.NODE_ENV==="production"?Ie.exports=ar():Ie.exports=or();var _=Ie.exports;function dt(t){var n,r,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=dt(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}function I(){for(var t,n,r=0,o="",i=arguments.length;r<i;r++)(t=arguments[r])&&(n=dt(t))&&(o&&(o+=" "),o+=n);return o}const Me="-";function ir(t){const n=lr(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=t;function i(c){const u=c.split(Me);return u[0]===""&&u.length!==1&&u.shift(),ft(u,n)||sr(c)}function l(c,u){const g=r[c]||[];return u&&o[c]?[...g,...o[c]]:g}return{getClassGroupId:i,getConflictingClassGroupIds:l}}function ft(t,n){var c;if(t.length===0)return n.classGroupId;const r=t[0],o=n.nextPart.get(r),i=o?ft(t.slice(1),o):void 0;if(i)return i;if(n.validators.length===0)return;const l=t.join(Me);return(c=n.validators.find(({validator:u})=>u(l)))==null?void 0:c.classGroupId}const ot=/^\[(.+)\]$/;function sr(t){if(ot.test(t)){const n=ot.exec(t)[1],r=n==null?void 0:n.substring(0,n.indexOf(":"));if(r)return"arbitrary.."+r}}function lr(t){const{theme:n,prefix:r}=t,o={nextPart:new Map,validators:[]};return ur(Object.entries(t.classGroups),r).forEach(([l,c])=>{Ne(c,o,l,n)}),o}function Ne(t,n,r,o){t.forEach(i=>{if(typeof i=="string"){const l=i===""?n:at(n,i);l.classGroupId=r;return}if(typeof i=="function"){if(cr(i)){Ne(i(o),n,r,o);return}n.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([l,c])=>{Ne(c,at(n,l),r,o)})})}function at(t,n){let r=t;return n.split(Me).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function cr(t){return t.isThemeGetter}function ur(t,n){return n?t.map(([r,o])=>{const i=o.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([c,u])=>[n+c,u])):l);return[r,i]}):t}function dr(t){if(t<1)return{get:()=>{},set:()=>{}};let n=0,r=new Map,o=new Map;function i(l,c){r.set(l,c),n++,n>t&&(n=0,o=r,r=new Map)}return{get(l){let c=r.get(l);if(c!==void 0)return c;if((c=o.get(l))!==void 0)return i(l,c),c},set(l,c){r.has(l)?r.set(l,c):i(l,c)}}}const pt="!";function fr(t){const n=t.separator,r=n.length===1,o=n[0],i=n.length;return function(c){const u=[];let g=0,b=0,f;for(let T=0;T<c.length;T++){let j=c[T];if(g===0){if(j===o&&(r||c.slice(T,T+i)===n)){u.push(c.slice(b,T)),b=T+i;continue}if(j==="/"){f=T;continue}}j==="["?g++:j==="]"&&g--}const y=u.length===0?c:c.substring(b),C=y.startsWith(pt),O=C?y.substring(1):y,N=f&&f>b?f-b:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:O,maybePostfixModifierPosition:N}}}function pr(t){if(t.length<=1)return t;const n=[];let r=[];return t.forEach(o=>{o[0]==="["?(n.push(...r.sort(),o),r=[]):r.push(o)}),n.push(...r.sort()),n}function gr(t){return A({cache:dr(t.cacheSize),splitModifiers:fr(t)},ir(t))}const br=/\s+/;function mr(t,n){const{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:i}=n,l=new Set;return t.trim().split(br).map(c=>{const{modifiers:u,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:f}=r(c);let y=o(f?b.substring(0,f):b),C=!!f;if(!y){if(!f)return{isTailwindClass:!1,originalClassName:c};if(y=o(b),!y)return{isTailwindClass:!1,originalClassName:c};C=!1}const O=pr(u).join(":");return{isTailwindClass:!0,modifierId:g?O+pt:O,classGroupId:y,originalClassName:c,hasPostfixModifier:C}}).reverse().filter(c=>{if(!c.isTailwindClass)return!0;const{modifierId:u,classGroupId:g,hasPostfixModifier:b}=c,f=u+g;return l.has(f)?!1:(l.add(f),i(g,b).forEach(y=>l.add(u+y)),!0)}).reverse().map(c=>c.originalClassName).join(" ")}function wr(){let t=0,n,r,o="";for(;t<arguments.length;)(n=arguments[t++])&&(r=gt(n))&&(o&&(o+=" "),o+=r);return o}function gt(t){if(typeof t=="string")return t;let n,r="";for(let o=0;o<t.length;o++)t[o]&&(n=gt(t[o]))&&(r&&(r+=" "),r+=n);return r}function yr(t,...n){let r,o,i,l=c;function c(g){const b=n.reduce((f,y)=>y(f),t());return r=gr(b),o=r.cache.get,i=r.cache.set,l=u,u(g)}function u(g){const b=o(g);if(b)return b;const f=mr(g,r);return i(g,f),f}return function(){return l(wr.apply(null,arguments))}}function E(t){const n=r=>r[t]||[];return n.isThemeGetter=!0,n}const bt=/^\[(?:([a-z-]+):)?(.+)\]$/i,vr=/^\d+\/\d+$/,hr=new Set(["px","full","screen"]),xr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\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$/,Er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Cr=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function $(t){return K(t)||hr.has(t)||vr.test(t)}function Y(t){return re(t,"length",Fr)}function K(t){return!!t&&!Number.isNaN(Number(t))}function Te(t){return re(t,"number",K)}function de(t){return!!t&&Number.isInteger(Number(t))}function kr(t){return t.endsWith("%")&&K(t.slice(0,-1))}function p(t){return bt.test(t)}function U(t){return xr.test(t)}const _r=new Set(["length","size","percentage"]);function Sr(t){return re(t,_r,mt)}function jr(t){return re(t,"position",mt)}const Pr=new Set(["image","url"]);function Ar(t){return re(t,Pr,Nr)}function Or(t){return re(t,"",Ir)}function fe(){return!0}function re(t,n,r){const o=bt.exec(t);return o?o[1]?typeof n=="string"?o[1]===n:n.has(o[1]):r(o[2]):!1}function Fr(t){return Rr.test(t)&&!Er.test(t)}function mt(){return!1}function Ir(t){return Cr.test(t)}function Nr(t){return Tr.test(t)}function Mr(){const t=E("colors"),n=E("spacing"),r=E("blur"),o=E("brightness"),i=E("borderColor"),l=E("borderRadius"),c=E("borderSpacing"),u=E("borderWidth"),g=E("contrast"),b=E("grayscale"),f=E("hueRotate"),y=E("invert"),C=E("gap"),O=E("gradientColorStops"),N=E("gradientColorStopPositions"),T=E("inset"),j=E("margin"),P=E("opacity"),R=E("padding"),ge=E("saturate"),ne=E("scale"),be=E("sepia"),me=E("skew"),we=E("space"),ye=E("translate"),Q=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",p,n],h=()=>[p,n],M=()=>["",$,Y],D=()=>["auto",K,p],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["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","plus-lighter"],Z=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",p],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>[K,Te],H=()=>[K,p];return{cacheSize:500,separator:":",theme:{colors:[fe],spacing:[$,Y],blur:["none","",U,p],brightness:q(),borderColor:[t],borderRadius:["none","","full",U,p],borderSpacing:h(),borderWidth:M(),contrast:q(),grayscale:G(),hueRotate:H(),invert:G(),gap:h(),gradientColorStops:[t],gradientColorStopPositions:[kr,Y],inset:ae(),margin:ae(),opacity:q(),padding:h(),saturate:q(),scale:q(),sepia:G(),skew:H(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"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:[...V(),p]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",de,p]}],basis:[{basis:ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",de,p]}],"grid-cols":[{"grid-cols":[fe]}],"col-start-end":[{col:["auto",{span:["full",de,p]},p]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[fe]}],"row-start-end":[{row:["auto",{span:[de,p]},p]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[j]}],mx:[{mx:[j]}],my:[{my:[j]}],ms:[{ms:[j]}],me:[{me:[j]}],mt:[{mt:[j]}],mr:[{mr:[j]}],mb:[{mb:[j]}],ml:[{ml:[j]}],"space-x":[{"space-x":[we]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,n]}],"min-w":[{"min-w":[p,n,"min","max","fit"]}],"max-w":[{"max-w":[p,n,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[p,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,n,"auto","min","max","fit"]}],"font-size":[{text:["base",U,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Te]}],"font-family":[{font:[fe]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",K,Te]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,Y]}],"underline-offset":[{"underline-offset":["auto",$,p]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),jr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Sr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ar]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[O]}],"gradient-via":[{via:[O]}],"gradient-to":[{to:[O]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:X()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[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:["",...X()]}],"outline-offset":[{"outline-offset":[$,p]}],"outline-w":[{outline:[$,Y]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[$,Y]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",U,Or]}],"shadow-color":[{shadow:[fe]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",U,p]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[be]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[be]}],"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:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ne]}],"scale-x":[{"scale-x":[ne]}],"scale-y":[{"scale-y":[ne]}],rotate:[{rotate:[de,p]}],"translate-x":[{"translate-x":[ye]}],"translate-y":[{"translate-y":[ye]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",t]}],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",p]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",p]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$,Y,Te]}],stroke:[{stroke:[t,"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-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"]}}}const L=yr(Mr),it={primary:"tw-bg-Background-accentEggplant-100 tw-text-Text-textPrimaryDark tw-rounded-sm hover:tw-text-Text-textPrimaryDark hover:tw-bg-Background-accentEggplant-highlight active:tw-bg-Background-accentEggplant-darkened focus:tw-bg-Background-accentEggplant-100 focus:tw-border focus:tw-border-white disabled:tw-bg-Background-accentEggplant-20",secondary:"tw-text-Text-secondary tw-rounded-sm tw-border tw-border-Fills-secondary hover:tw-text-black hover:tw-border hover:tw-border-Fills-black active:tw-text-black active:tw-border active:tw-border-Fills-black focus:tw-bg-Background-accentEggplant-5 focus:tw-text-accentEggplant-100 focus:tw-border focus:tw-border-Background-accentEggplant-100 disabled:tw-border disabled:tw-border-Fills-quadrutery disabled:tw-text-Text-tertiary",tertiary:"tw-text-Text-secondary tw-rounded-sm hover:tw-bg-Fills-quintiary active:tw-bg-Fills-quintiary focus:tw-bg-Fills-quadrutery disabled:tw-text-Fills-quadrutery disabled:tw-bg-Fills-quintiary",quaternary:"tw-text-accentEggplant-100 tw-rounded-sm hover:tw-bg-Background-accentEggplant-5 active:tw-bg-Background-accentEggplant-5 focus:tw-bg-Background-accentEggplant-100 focus:tw-text-Text-textPrimaryDark disabled:tw-text-Background-accentEggplant-20",small:"tw-py-space075 tw-px-space400",large:"tw-py-space150 tw-px-space400"},wt=pe.forwardRef((c,l)=>{var u=c,{color:t="primary",size:n="small",disabled:r=!1,className:o}=u,i=B(u,["color","size","disabled","className"]);return _.jsx("button",A({ref:l,disabled:r,className:L(I(it[t],it[n],o))},i))});wt.displayName="Button";const st={primary:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",primaryRounded:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px]",success:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",error:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-System-red tw-rounded-sm active:tw-text-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",errorRounded:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-System-red tw-rounded-sm active:tw-text-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px]"},yt=pe.forwardRef((g,u)=>{var b=g,{color:t="primary",disabled:n=!1,textarea:r=!1,label:o,caption:i,className:l}=b,c=B(b,["color","disabled","textarea","label","caption","className"]);return r?_.jsx("textarea",A({disabled:n,className:L(I(st[t],l))},c)):_.jsxs("div",{className:"tw-flex tw-flex-col tw-items-start tw-w-full",children:[o&&_.jsx("label",{className:"MediumSubheadRegular tw-mb-space075",children:o}),_.jsx("input",A({ref:u,disabled:n,className:L(I(st[t],l))},c)),i&&_.jsx("caption",{className:"MediumCaption1Regular tw-font-normal",children:i})]})});yt.displayName="Input";function vt(t){var n,r,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=vt(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function Dr(){for(var t,n,r=0,o="";r<arguments.length;)(t=arguments[r++])&&(n=vt(t))&&(o&&(o+=" "),o+=n);return o}const lt=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,ct=Dr,ht=(t,n)=>r=>{var o;if((n==null?void 0:n.variants)==null)return ct(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:l}=n,c=Object.keys(i).map(b=>{const f=r==null?void 0:r[b],y=l==null?void 0:l[b];if(f===null)return null;const C=lt(f)||lt(y);return i[b][C]}),u=r&&Object.entries(r).reduce((b,f)=>{let[y,C]=f;return C===void 0||(b[y]=C),b},{}),g=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((b,f)=>{let N=f,{class:y,className:C}=N,O=B(N,["class","className"]);return Object.entries(O).every(T=>{let[j,P]=T;return Array.isArray(P)?P.includes(A(A({},l),u)[j]):A(A({},l),u)[j]===P})?[...b,y,C]:b},[]);return ct(t,c,g,r==null?void 0:r.class,r==null?void 0:r.className)},zr=ht("tw-border tw-text-text-primary",{variants:{cardType:{default:"tw-shadow-none",shadowCard:"tw-shadow-card"}},defaultVariants:{cardType:"default"}}),xt=J.forwardRef((i,o)=>{var l=i,{className:t,cardType:n}=l,r=B(l,["className","cardType"]);return _.jsx("div",A({ref:o,className:L(I(zr({cardType:n,className:t}),"tw-rounded-[24px_24px_0px_24px]"),t)},r))});xt.displayName="Card";const Rt=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-flex tw-flex-col tw-pt-space300 tw-pb-space200 tw-px-space300",t))},n))});Rt.displayName="CardHeader";const Et=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-font-medium",t))},n))});Et.displayName="Title";const Ct=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-font-regular",t))},n))});Ct.displayName="Description";const Tt=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-pb-space300 tw-px-space300 ",t))},n))});Tt.displayName="Content";const kt=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-pb-space300 tw-px-space300",t))},n))});kt.displayName="Footer";const Br=ht("tw-grid zero:tw-grid-cols-4 tw-gap-x-8 mobile:tw-grid-cols-4 tablet:tw-grid-cols-6 desktop:tw-grid-cols-12 wide_desktop:tw-grid-cols-12 tw-w-full",{variants:{display:{grid:"tw-grid",inlineGrid:"tw-inline-grid"},gap:{gap0:"tw-gap0",gap100:"tw-gap-100",gap150:"tw-gap-150",gap200:"tw-gap-200",gap300:"tw-gap-300",gap400:"tw-gap-400",gap600:"tw-gap-600",gap800:"tw-gap-800",gap1000:"tw-gap-1000",gap1200:"tw-gap-1200",gap1600:"tw-gap-1600",gap2000:"tw-gap-2000"},gapX:{gap0:"tw-gap-x-0",gap100:"tw-gap-x-100",gap150:"tw-gap-x-150",gap200:"tw-gap-x-200",gap300:"tw-gap-x-300",gap400:"tw-gap-x-400",gap600:"tw-gap-x-600",gap800:"tw-gap-x-800",gap1000:"tw-gap-x-1000",gap1200:"tw-gap-x-1200",gap1600:"tw-gap-x-1600",gap2000:"tw-gap-x-2000"},gapY:{gap0:"tw-gap-y-0",gap100:"tw-gap-y-100",gap150:"tw-gap-y-150",gap200:"tw-gap-y-200",gap300:"tw-gap-y-300",gap400:"tw-gap-y-400",gap600:"tw-gap-y-600",gap800:"tw-gap-y-800",gap1000:"tw-gap-y-1000",gap1200:"tw-gap-y-1200",gap1600:"tw-gap-y-1600",gap2000:"tw-gap-y-2000"},justifyContent:{normal:"tw-justify-normal",start:"tw-justify-start",end:"tw-justify-end",center:"tw-justify-center",between:"tw-justify-between",around:"tw-justify-around",evenly:"tw-justify-evenly",stretch:"tw-justify-stretch"},justifyItems:{start:"tw-justify-items-start",end:"tw-justify-items-end",center:"tw-justify-items-center",stretch:"tw-justify-items-stretch"},alignContent:{normal:"tw-content-normal",center:"tw-content-center",start:"tw-content-start",end:"tw-content-end",between:"tw-content-between",around:"tw-content-around",evenly:"tw-content-evenly",baseline:"tw-content-baseline",stretch:"tw-content-stretch"},alignItems:{start:"tw-items-start",end:"tw-items-end",center:"tw-items-center",baseline:"tw-items-baseline",stretch:"tw-items-stretch"},placeContent:{center:"tw-place-content-center",start:"tw-place-content-start",end:"tw-place-content-end",between:"tw-place-content-between",around:"tw-place-content-around",evenly:"tw-place-content-evenly",baseline:"tw-place-content-baseline",stretch:"tw-place-content-stretch"},placeItems:{start:"tw-place-items-start",end:"tw-place-items-end",center:"tw-place-items-center",baseline:"tw-place-items-baseline",stretch:"tw-place-items-stretch"}}}),_t=J.forwardRef((i,o)=>{var l=i,{className:t,children:n}=l,r=B(l,["className","children"]);return _.jsx("div",tt(A({className:L(I(Br({display:r==null?void 0:r.display,gap:r==null?void 0:r.gap,gapX:r==null?void 0:r.gapX,gapY:r==null?void 0:r.gapY,justifyContent:r==null?void 0:r.justifyContent,justifyItems:r==null?void 0:r.justifyItems,alignContent:r==null?void 0:r.alignContent,alignItems:r==null?void 0:r.alignItems,placeContent:r==null?void 0:r.placeContent,placeItems:r==null?void 0:r.placeItems,className:t}))),ref:o},r),{children:n}))});_t.displayName="Grid";const ut=t=>{let n="";switch(t){case"STANDARD":case"STANDARD_LINE_SEPARATED":n="tw-font-medium tw-text-Text-primary";break;case"DISCOUNT":n="tw-font-normal tw-text-teal-400";break;case"FEE":case"TAX":n="tw-font-medium tw-text-Text-secondary";break}return n},St=J.forwardRef(({className:t,items:n},r)=>_.jsx(_.Fragment,{children:_.jsx("div",{className:L(I(t,"tw-w-full tw-flex tw-flex-col")),ref:r,children:n.length>0&&n.map((o,i)=>_.jsxs("div",{children:[o.type==="STANDARD_LINE_SEPARATED"&&_.jsx("hr",{className:"tw-mt-3 tw-mb-1"}),_.jsxs("div",{className:I("tw-flex tw-flex-row tw-justify-between",i>0&&"tw-mt-2",i!==n.length&&o.type==="STANDARD_LINE_SEPARATED"&&"tw-mb-1"),children:[_.jsx("span",{className:I("tw-text-xSmallCallout tablet:tw-text-mediumCallout tw-me-3",ut(o.type)),children:o.display_name}),_.jsx("span",{className:I("tw-text-xSmallCallout tablet:tw-text-mediumCallout",ut(o.type)),children:o.currency_converted_amount})]})]},`BookingQuoteLineItemType-${i}`))})}));St.displayName="Booking_Quote_Card";exports.BookingQuoteCard=St;exports.Button=wt;exports.Card=xt;exports.CardContent=Tt;exports.CardDescription=Ct;exports.CardFooter=kt;exports.CardHeader=Rt;exports.CardTitle=Et;exports.Grid=_t;exports.Input=yt;
|
|
27
|
+
*/var nt;function ar(){if(nt)return ue;nt=1;var t=pe,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(u,g,b){var f,y={},C=null,O=null;b!==void 0&&(C=""+b),g.key!==void 0&&(C=""+g.key),g.ref!==void 0&&(O=g.ref);for(f in g)o.call(g,f)&&!l.hasOwnProperty(f)&&(y[f]=g[f]);if(u&&u.defaultProps)for(f in g=u.defaultProps,g)y[f]===void 0&&(y[f]=g[f]);return{$$typeof:n,type:u,key:C,ref:O,props:y,_owner:i.current}}return ue.Fragment=r,ue.jsx=c,ue.jsxs=c,ue}process.env.NODE_ENV==="production"?Ie.exports=ar():Ie.exports=or();var _=Ie.exports;function dt(t){var n,r,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=dt(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}function I(){for(var t,n,r=0,o="",i=arguments.length;r<i;r++)(t=arguments[r])&&(n=dt(t))&&(o&&(o+=" "),o+=n);return o}const Me="-";function ir(t){const n=lr(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=t;function i(c){const u=c.split(Me);return u[0]===""&&u.length!==1&&u.shift(),ft(u,n)||sr(c)}function l(c,u){const g=r[c]||[];return u&&o[c]?[...g,...o[c]]:g}return{getClassGroupId:i,getConflictingClassGroupIds:l}}function ft(t,n){var c;if(t.length===0)return n.classGroupId;const r=t[0],o=n.nextPart.get(r),i=o?ft(t.slice(1),o):void 0;if(i)return i;if(n.validators.length===0)return;const l=t.join(Me);return(c=n.validators.find(({validator:u})=>u(l)))==null?void 0:c.classGroupId}const ot=/^\[(.+)\]$/;function sr(t){if(ot.test(t)){const n=ot.exec(t)[1],r=n==null?void 0:n.substring(0,n.indexOf(":"));if(r)return"arbitrary.."+r}}function lr(t){const{theme:n,prefix:r}=t,o={nextPart:new Map,validators:[]};return ur(Object.entries(t.classGroups),r).forEach(([l,c])=>{Ne(c,o,l,n)}),o}function Ne(t,n,r,o){t.forEach(i=>{if(typeof i=="string"){const l=i===""?n:at(n,i);l.classGroupId=r;return}if(typeof i=="function"){if(cr(i)){Ne(i(o),n,r,o);return}n.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([l,c])=>{Ne(c,at(n,l),r,o)})})}function at(t,n){let r=t;return n.split(Me).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function cr(t){return t.isThemeGetter}function ur(t,n){return n?t.map(([r,o])=>{const i=o.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([c,u])=>[n+c,u])):l);return[r,i]}):t}function dr(t){if(t<1)return{get:()=>{},set:()=>{}};let n=0,r=new Map,o=new Map;function i(l,c){r.set(l,c),n++,n>t&&(n=0,o=r,r=new Map)}return{get(l){let c=r.get(l);if(c!==void 0)return c;if((c=o.get(l))!==void 0)return i(l,c),c},set(l,c){r.has(l)?r.set(l,c):i(l,c)}}}const pt="!";function fr(t){const n=t.separator,r=n.length===1,o=n[0],i=n.length;return function(c){const u=[];let g=0,b=0,f;for(let T=0;T<c.length;T++){let j=c[T];if(g===0){if(j===o&&(r||c.slice(T,T+i)===n)){u.push(c.slice(b,T)),b=T+i;continue}if(j==="/"){f=T;continue}}j==="["?g++:j==="]"&&g--}const y=u.length===0?c:c.substring(b),C=y.startsWith(pt),O=C?y.substring(1):y,N=f&&f>b?f-b:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:O,maybePostfixModifierPosition:N}}}function pr(t){if(t.length<=1)return t;const n=[];let r=[];return t.forEach(o=>{o[0]==="["?(n.push(...r.sort(),o),r=[]):r.push(o)}),n.push(...r.sort()),n}function gr(t){return A({cache:dr(t.cacheSize),splitModifiers:fr(t)},ir(t))}const br=/\s+/;function mr(t,n){const{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:i}=n,l=new Set;return t.trim().split(br).map(c=>{const{modifiers:u,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:f}=r(c);let y=o(f?b.substring(0,f):b),C=!!f;if(!y){if(!f)return{isTailwindClass:!1,originalClassName:c};if(y=o(b),!y)return{isTailwindClass:!1,originalClassName:c};C=!1}const O=pr(u).join(":");return{isTailwindClass:!0,modifierId:g?O+pt:O,classGroupId:y,originalClassName:c,hasPostfixModifier:C}}).reverse().filter(c=>{if(!c.isTailwindClass)return!0;const{modifierId:u,classGroupId:g,hasPostfixModifier:b}=c,f=u+g;return l.has(f)?!1:(l.add(f),i(g,b).forEach(y=>l.add(u+y)),!0)}).reverse().map(c=>c.originalClassName).join(" ")}function wr(){let t=0,n,r,o="";for(;t<arguments.length;)(n=arguments[t++])&&(r=gt(n))&&(o&&(o+=" "),o+=r);return o}function gt(t){if(typeof t=="string")return t;let n,r="";for(let o=0;o<t.length;o++)t[o]&&(n=gt(t[o]))&&(r&&(r+=" "),r+=n);return r}function yr(t,...n){let r,o,i,l=c;function c(g){const b=n.reduce((f,y)=>y(f),t());return r=gr(b),o=r.cache.get,i=r.cache.set,l=u,u(g)}function u(g){const b=o(g);if(b)return b;const f=mr(g,r);return i(g,f),f}return function(){return l(wr.apply(null,arguments))}}function E(t){const n=r=>r[t]||[];return n.isThemeGetter=!0,n}const bt=/^\[(?:([a-z-]+):)?(.+)\]$/i,vr=/^\d+\/\d+$/,hr=new Set(["px","full","screen"]),xr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\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$/,Er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Cr=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function $(t){return K(t)||hr.has(t)||vr.test(t)}function Y(t){return re(t,"length",Fr)}function K(t){return!!t&&!Number.isNaN(Number(t))}function Te(t){return re(t,"number",K)}function de(t){return!!t&&Number.isInteger(Number(t))}function kr(t){return t.endsWith("%")&&K(t.slice(0,-1))}function p(t){return bt.test(t)}function U(t){return xr.test(t)}const _r=new Set(["length","size","percentage"]);function Sr(t){return re(t,_r,mt)}function jr(t){return re(t,"position",mt)}const Pr=new Set(["image","url"]);function Ar(t){return re(t,Pr,Nr)}function Or(t){return re(t,"",Ir)}function fe(){return!0}function re(t,n,r){const o=bt.exec(t);return o?o[1]?typeof n=="string"?o[1]===n:n.has(o[1]):r(o[2]):!1}function Fr(t){return Rr.test(t)&&!Er.test(t)}function mt(){return!1}function Ir(t){return Cr.test(t)}function Nr(t){return Tr.test(t)}function Mr(){const t=E("colors"),n=E("spacing"),r=E("blur"),o=E("brightness"),i=E("borderColor"),l=E("borderRadius"),c=E("borderSpacing"),u=E("borderWidth"),g=E("contrast"),b=E("grayscale"),f=E("hueRotate"),y=E("invert"),C=E("gap"),O=E("gradientColorStops"),N=E("gradientColorStopPositions"),T=E("inset"),j=E("margin"),P=E("opacity"),R=E("padding"),ge=E("saturate"),ne=E("scale"),be=E("sepia"),me=E("skew"),we=E("space"),ye=E("translate"),Q=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",p,n],h=()=>[p,n],M=()=>["",$,Y],D=()=>["auto",K,p],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["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","plus-lighter"],Z=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",p],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>[K,Te],H=()=>[K,p];return{cacheSize:500,separator:":",theme:{colors:[fe],spacing:[$,Y],blur:["none","",U,p],brightness:q(),borderColor:[t],borderRadius:["none","","full",U,p],borderSpacing:h(),borderWidth:M(),contrast:q(),grayscale:G(),hueRotate:H(),invert:G(),gap:h(),gradientColorStops:[t],gradientColorStopPositions:[kr,Y],inset:ae(),margin:ae(),opacity:q(),padding:h(),saturate:q(),scale:q(),sepia:G(),skew:H(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"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:[...V(),p]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",de,p]}],basis:[{basis:ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",de,p]}],"grid-cols":[{"grid-cols":[fe]}],"col-start-end":[{col:["auto",{span:["full",de,p]},p]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[fe]}],"row-start-end":[{row:["auto",{span:[de,p]},p]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[j]}],mx:[{mx:[j]}],my:[{my:[j]}],ms:[{ms:[j]}],me:[{me:[j]}],mt:[{mt:[j]}],mr:[{mr:[j]}],mb:[{mb:[j]}],ml:[{ml:[j]}],"space-x":[{"space-x":[we]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,n]}],"min-w":[{"min-w":[p,n,"min","max","fit"]}],"max-w":[{"max-w":[p,n,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[p,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,n,"auto","min","max","fit"]}],"font-size":[{text:["base",U,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Te]}],"font-family":[{font:[fe]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",K,Te]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,Y]}],"underline-offset":[{"underline-offset":["auto",$,p]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),jr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Sr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ar]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[O]}],"gradient-via":[{via:[O]}],"gradient-to":[{to:[O]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:X()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[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:["",...X()]}],"outline-offset":[{"outline-offset":[$,p]}],"outline-w":[{outline:[$,Y]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[$,Y]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",U,Or]}],"shadow-color":[{shadow:[fe]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",U,p]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[be]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[be]}],"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:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ne]}],"scale-x":[{"scale-x":[ne]}],"scale-y":[{"scale-y":[ne]}],rotate:[{rotate:[de,p]}],"translate-x":[{"translate-x":[ye]}],"translate-y":[{"translate-y":[ye]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",t]}],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",p]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",p]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$,Y,Te]}],stroke:[{stroke:[t,"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-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"]}}}const L=yr(Mr),it={primary:"tw-bg-Background-accentEggplant-100 tw-text-Text-textPrimaryDark tw-rounded-sm hover:tw-text-Text-textPrimaryDark hover:tw-bg-Background-accentEggplant-highlight active:tw-bg-Background-accentEggplant-darkened focus:tw-bg-Background-accentEggplant-100 focus:tw-border focus:tw-border-white disabled:tw-bg-Background-accentEggplant-20",secondary:"tw-text-Text-secondary tw-rounded-sm tw-border tw-border-Fills-secondary hover:tw-text-black hover:tw-border hover:tw-border-Fills-black active:tw-text-black active:tw-border active:tw-border-Fills-black focus:tw-bg-Background-accentEggplant-5 focus:tw-text-accentEggplant-100 focus:tw-border focus:tw-border-Background-accentEggplant-100 disabled:tw-border disabled:tw-border-Fills-quadrutery disabled:tw-text-Text-tertiary",tertiary:"tw-text-Text-secondary tw-rounded-sm hover:tw-bg-Fills-quintiary active:tw-bg-Fills-quintiary focus:tw-bg-Fills-quadrutery disabled:tw-text-Fills-quadrutery disabled:tw-bg-Fills-quintiary",quaternary:"tw-text-accentEggplant-100 tw-rounded-sm hover:tw-bg-Background-accentEggplant-5 active:tw-bg-Background-accentEggplant-5 focus:tw-bg-Background-accentEggplant-100 focus:tw-text-Text-textPrimaryDark disabled:tw-text-Background-accentEggplant-20",small:"tw-py-space075 tw-px-space400",large:"tw-py-space150 tw-px-space400"},wt=pe.forwardRef((c,l)=>{var u=c,{color:t="primary",size:n="small",disabled:r=!1,className:o}=u,i=B(u,["color","size","disabled","className"]);return _.jsx("button",A({ref:l,disabled:r,className:L(I(it[t],it[n],o))},i))});wt.displayName="Button";const st={primary:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",primaryRounded:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",success:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",error:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-System-red tw-rounded-sm active:tw-text-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",errorRounded:"tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-System-red tw-rounded-sm active:tw-text-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]"},yt=pe.forwardRef((g,u)=>{var b=g,{color:t="primary",disabled:n=!1,textarea:r=!1,label:o,caption:i,className:l}=b,c=B(b,["color","disabled","textarea","label","caption","className"]);return r?_.jsx("textarea",A({disabled:n,className:L(I(st[t],l))},c)):_.jsxs("div",{className:"tw-flex tw-flex-col tw-items-start tw-w-full",children:[o&&_.jsx("label",{className:"MediumSubheadRegular tw-mb-space075",children:o}),_.jsx("input",A({ref:u,disabled:n,className:L(I(st[t],l))},c)),i&&_.jsx("caption",{className:"MediumCaption1Regular tw-font-normal",children:i})]})});yt.displayName="Input";function vt(t){var n,r,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=vt(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function Dr(){for(var t,n,r=0,o="";r<arguments.length;)(t=arguments[r++])&&(n=vt(t))&&(o&&(o+=" "),o+=n);return o}const lt=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,ct=Dr,ht=(t,n)=>r=>{var o;if((n==null?void 0:n.variants)==null)return ct(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:l}=n,c=Object.keys(i).map(b=>{const f=r==null?void 0:r[b],y=l==null?void 0:l[b];if(f===null)return null;const C=lt(f)||lt(y);return i[b][C]}),u=r&&Object.entries(r).reduce((b,f)=>{let[y,C]=f;return C===void 0||(b[y]=C),b},{}),g=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((b,f)=>{let N=f,{class:y,className:C}=N,O=B(N,["class","className"]);return Object.entries(O).every(T=>{let[j,P]=T;return Array.isArray(P)?P.includes(A(A({},l),u)[j]):A(A({},l),u)[j]===P})?[...b,y,C]:b},[]);return ct(t,c,g,r==null?void 0:r.class,r==null?void 0:r.className)},zr=ht("tw-border tw-text-text-primary",{variants:{cardType:{default:"tw-shadow-none",shadowCard:"tw-shadow-card"}},defaultVariants:{cardType:"default"}}),xt=J.forwardRef((i,o)=>{var l=i,{className:t,cardType:n}=l,r=B(l,["className","cardType"]);return _.jsx("div",A({ref:o,className:L(I(zr({cardType:n,className:t}),"tw-rounded-[24px_24px_0px_24px]"),t)},r))});xt.displayName="Card";const Rt=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-flex tw-flex-col tw-pt-space300 tw-pb-space200 tw-px-space300",t))},n))});Rt.displayName="CardHeader";const Et=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-font-medium",t))},n))});Et.displayName="Title";const Ct=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-font-regular",t))},n))});Ct.displayName="Description";const Tt=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-pb-space300 tw-px-space300 ",t))},n))});Tt.displayName="Content";const kt=J.forwardRef((o,r)=>{var i=o,{className:t}=i,n=B(i,["className"]);return _.jsx("div",A({ref:r,className:L(I("tw-pb-space300 tw-px-space300",t))},n))});kt.displayName="Footer";const Br=ht("tw-grid zero:tw-grid-cols-4 tw-gap-x-8 mobile:tw-grid-cols-4 tablet:tw-grid-cols-6 desktop:tw-grid-cols-12 wide_desktop:tw-grid-cols-12 tw-w-full",{variants:{display:{grid:"tw-grid",inlineGrid:"tw-inline-grid"},gap:{gap0:"tw-gap0",gap100:"tw-gap-100",gap150:"tw-gap-150",gap200:"tw-gap-200",gap300:"tw-gap-300",gap400:"tw-gap-400",gap600:"tw-gap-600",gap800:"tw-gap-800",gap1000:"tw-gap-1000",gap1200:"tw-gap-1200",gap1600:"tw-gap-1600",gap2000:"tw-gap-2000"},gapX:{gap0:"tw-gap-x-0",gap100:"tw-gap-x-100",gap150:"tw-gap-x-150",gap200:"tw-gap-x-200",gap300:"tw-gap-x-300",gap400:"tw-gap-x-400",gap600:"tw-gap-x-600",gap800:"tw-gap-x-800",gap1000:"tw-gap-x-1000",gap1200:"tw-gap-x-1200",gap1600:"tw-gap-x-1600",gap2000:"tw-gap-x-2000"},gapY:{gap0:"tw-gap-y-0",gap100:"tw-gap-y-100",gap150:"tw-gap-y-150",gap200:"tw-gap-y-200",gap300:"tw-gap-y-300",gap400:"tw-gap-y-400",gap600:"tw-gap-y-600",gap800:"tw-gap-y-800",gap1000:"tw-gap-y-1000",gap1200:"tw-gap-y-1200",gap1600:"tw-gap-y-1600",gap2000:"tw-gap-y-2000"},justifyContent:{normal:"tw-justify-normal",start:"tw-justify-start",end:"tw-justify-end",center:"tw-justify-center",between:"tw-justify-between",around:"tw-justify-around",evenly:"tw-justify-evenly",stretch:"tw-justify-stretch"},justifyItems:{start:"tw-justify-items-start",end:"tw-justify-items-end",center:"tw-justify-items-center",stretch:"tw-justify-items-stretch"},alignContent:{normal:"tw-content-normal",center:"tw-content-center",start:"tw-content-start",end:"tw-content-end",between:"tw-content-between",around:"tw-content-around",evenly:"tw-content-evenly",baseline:"tw-content-baseline",stretch:"tw-content-stretch"},alignItems:{start:"tw-items-start",end:"tw-items-end",center:"tw-items-center",baseline:"tw-items-baseline",stretch:"tw-items-stretch"},placeContent:{center:"tw-place-content-center",start:"tw-place-content-start",end:"tw-place-content-end",between:"tw-place-content-between",around:"tw-place-content-around",evenly:"tw-place-content-evenly",baseline:"tw-place-content-baseline",stretch:"tw-place-content-stretch"},placeItems:{start:"tw-place-items-start",end:"tw-place-items-end",center:"tw-place-items-center",baseline:"tw-place-items-baseline",stretch:"tw-place-items-stretch"}}}),_t=J.forwardRef((i,o)=>{var l=i,{className:t,children:n}=l,r=B(l,["className","children"]);return _.jsx("div",tt(A({className:L(I(Br({display:r==null?void 0:r.display,gap:r==null?void 0:r.gap,gapX:r==null?void 0:r.gapX,gapY:r==null?void 0:r.gapY,justifyContent:r==null?void 0:r.justifyContent,justifyItems:r==null?void 0:r.justifyItems,alignContent:r==null?void 0:r.alignContent,alignItems:r==null?void 0:r.alignItems,placeContent:r==null?void 0:r.placeContent,placeItems:r==null?void 0:r.placeItems,className:t}))),ref:o},r),{children:n}))});_t.displayName="Grid";const ut=t=>{let n="";switch(t){case"STANDARD":case"STANDARD_LINE_SEPARATED":n="tw-font-medium tw-text-Text-primary";break;case"DISCOUNT":n="tw-font-normal tw-text-teal-400";break;case"FEE":case"TAX":n="tw-font-medium tw-text-Text-secondary";break}return n},St=J.forwardRef(({className:t,items:n},r)=>_.jsx(_.Fragment,{children:_.jsx("div",{className:L(I(t,"tw-w-full tw-flex tw-flex-col")),ref:r,children:n.length>0&&n.map((o,i)=>_.jsxs("div",{children:[o.type==="STANDARD_LINE_SEPARATED"&&_.jsx("hr",{className:"tw-mt-3 tw-mb-1"}),_.jsxs("div",{className:I("tw-flex tw-flex-row tw-justify-between",i>0&&"tw-mt-2",i!==n.length&&o.type==="STANDARD_LINE_SEPARATED"&&"tw-mb-1"),children:[_.jsx("span",{className:I("tw-text-xSmallCallout tablet:tw-text-mediumCallout tw-me-3",ut(o.type)),children:o.display_name}),_.jsx("span",{className:I("tw-text-xSmallCallout tablet:tw-text-mediumCallout",ut(o.type)),children:o.currency_converted_amount})]})]},`BookingQuoteLineItemType-${i}`))})}));St.displayName="Booking_Quote_Card";exports.BookingQuoteCard=St;exports.Button=wt;exports.Card=xt;exports.CardContent=Tt;exports.CardDescription=Ct;exports.CardFooter=kt;exports.CardHeader=Rt;exports.CardTitle=Et;exports.Grid=_t;exports.Input=yt;
|
package/dist/index.js
CHANGED
|
@@ -3009,10 +3009,10 @@ const L = /* @__PURE__ */ sr(Tr), it = {
|
|
|
3009
3009
|
kr.displayName = "Button";
|
|
3010
3010
|
const st = {
|
|
3011
3011
|
primary: "tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",
|
|
3012
|
-
primaryRounded: "tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px]",
|
|
3012
|
+
primaryRounded: "tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",
|
|
3013
3013
|
success: "tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-Fills-terciary tw-rounded-sm hover:tw-border-Fills-secondary active:tw-text-Text-primary active:tw-border-Text-primary focus:tw-border-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",
|
|
3014
3014
|
error: "tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-System-red tw-rounded-sm active:tw-text-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]",
|
|
3015
|
-
errorRounded: "tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-System-red tw-rounded-sm active:tw-text-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px]"
|
|
3015
|
+
errorRounded: "tw-bg-Text-textSecondaryPlusDark tw-placeholder-Fills-quadrutery tw-text-Text-primary MediumBodyRegular tw-border tw-border-System-red tw-rounded-sm active:tw-text-Text-primary focus:tw-outline-none tw-disabled:bg-Fills-quintiary tw-px-[12px] tw-pt-[8px] tw-pb-[7px]"
|
|
3016
3016
|
}, _r = Te.forwardRef(
|
|
3017
3017
|
(g, u) => {
|
|
3018
3018
|
var b = g, { color: t = "primary", disabled: n = !1, textarea: r = !1, label: o, caption: i, className: l } = b, c = B(b, ["color", "disabled", "textarea", "label", "caption", "className"]);
|
package/package.json
CHANGED