design-system-silkhaus 0.0.69 → 0.0.71
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 +9 -9
- package/dist/index.d.ts +2 -2
- package/dist/index.js +465 -446
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var pt=Object.defineProperty,gt=Object.defineProperties;var mt=Object.getOwnPropertyDescriptors;var
|
|
1
|
+
"use strict";var pt=Object.defineProperty,gt=Object.defineProperties;var mt=Object.getOwnPropertyDescriptors;var ke=Object.getOwnPropertySymbols;var sr=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;var tr=(e,s,t)=>s in e?pt(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t,M=(e,s)=>{for(var t in s||(s={}))sr.call(s,t)&&tr(e,t,s[t]);if(ke)for(var t of ke(s))ar.call(s,t)&&tr(e,t,s[t]);return e},ze=(e,s)=>gt(e,mt(s));var L=(e,s)=>{var t={};for(var a in e)sr.call(e,a)&&s.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&ke)for(var a of ke(e))s.indexOf(a)<0&&ar.call(e,a)&&(t[a]=e[a]);return t};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react");function bt(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return s.default=e,Object.freeze(s)}const Q=bt(_);var Oe={exports:{}},ce={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var nr;function
|
|
9
|
+
*/var nr;function ht(){if(nr)return ce;nr=1;var e=_,s=Symbol.for("react.element"),t=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n={key:!0,ref:!0,__self:!0,__source:!0};function c(d,f,p){var g,b={},R=null,P=null;p!==void 0&&(R=""+p),f.key!==void 0&&(R=""+f.key),f.ref!==void 0&&(P=f.ref);for(g in f)a.call(f,g)&&!n.hasOwnProperty(g)&&(b[g]=f[g]);if(d&&d.defaultProps)for(g in f=d.defaultProps,f)b[g]===void 0&&(b[g]=f[g]);return{$$typeof:s,type:d,key:R,ref:P,props:b,_owner:o.current}}return ce.Fragment=t,ce.jsx=c,ce.jsxs=c,ce}var ue={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var or;function
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),N=
|
|
21
|
-
`+
|
|
17
|
+
*/var or;function xt(){return or||(or=1,process.env.NODE_ENV!=="production"&&function(){var e=_,s=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),O=Symbol.iterator,T="@@iterator";function F(r){if(r===null||typeof r!="object")return null;var i=O&&r[O]||r[T];return typeof i=="function"?i:null}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(r){{for(var i=arguments.length,u=new Array(i>1?i-1:0),m=1;m<i;m++)u[m-1]=arguments[m];ge("error",r,u)}}function ge(r,i,u){{var m=I.ReactDebugCurrentFrame,j=m.getStackAddendum();j!==""&&(i+="%s",u=u.concat([j]));var C=u.map(function(v){return String(v)});C.unshift("Warning: "+i),Function.prototype.apply.call(console[r],console,C)}}var ae=!1,me=!1,be=!1,he=!1,xe=!1,Z;Z=Symbol.for("react.module.reference");function ne(r){return!!(typeof r=="string"||typeof r=="function"||r===a||r===n||xe||r===o||r===p||r===g||he||r===P||ae||me||be||typeof r=="object"&&r!==null&&(r.$$typeof===R||r.$$typeof===b||r.$$typeof===c||r.$$typeof===d||r.$$typeof===f||r.$$typeof===Z||r.getModuleId!==void 0))}function oe(r,i,u){var m=r.displayName;if(m)return m;var j=i.displayName||i.name||"";return j!==""?u+"("+j+")":u}function k(r){return r.displayName||"Context"}function B(r){if(r==null)return null;if(typeof r.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case a:return"Fragment";case t:return"Portal";case n:return"Profiler";case o:return"StrictMode";case p:return"Suspense";case g:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case d:var i=r;return k(i)+".Consumer";case c:var u=r;return k(u._context)+".Provider";case f:return oe(r,r.render,"ForwardRef");case b:var m=r.displayName||null;return m!==null?m:B(r.type)||"Memo";case R:{var j=r,C=j._payload,v=j._init;try{return B(v(C))}catch(x){return null}}}return null}var D=Object.assign,q=0,J,ie,ee,G,le,Y,X;function Le(){}Le.__reactDisabledLog=!0;function Vr(){{if(q===0){J=console.log,ie=console.info,ee=console.warn,G=console.error,le=console.group,Y=console.groupCollapsed,X=console.groupEnd;var r={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}q++}}function Wr(){{if(q--,q===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},r,{value:J}),info:D({},r,{value:ie}),warn:D({},r,{value:ee}),error:D({},r,{value:G}),group:D({},r,{value:le}),groupCollapsed:D({},r,{value:Y}),groupEnd:D({},r,{value:X})})}q<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=I.ReactCurrentDispatcher,_e;function ye(r,i,u){{if(_e===void 0)try{throw Error()}catch(j){var m=j.stack.trim().match(/\n( *(at )?)/);_e=m&&m[1]||""}return`
|
|
18
|
+
`+_e+r}}var Ne=!1,ve;{var qr=typeof WeakMap=="function"?WeakMap:Map;ve=new qr}function Ve(r,i){if(!r||Ne)return"";{var u=ve.get(r);if(u!==void 0)return u}var m;Ne=!0;var j=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var C;C=Te.current,Te.current=null,Vr();try{if(i){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(V){m=V}Reflect.construct(r,[],v)}else{try{v.call()}catch(V){m=V}r.call(v.prototype)}}else{try{throw Error()}catch(V){m=V}r()}}catch(V){if(V&&m&&typeof V.stack=="string"){for(var x=V.stack.split(`
|
|
19
|
+
`),z=m.stack.split(`
|
|
20
|
+
`),N=x.length-1,A=z.length-1;N>=1&&A>=0&&x[N]!==z[A];)A--;for(;N>=1&&A>=0;N--,A--)if(x[N]!==z[A]){if(N!==1||A!==1)do if(N--,A--,A<0||x[N]!==z[A]){var $=`
|
|
21
|
+
`+x[N].replace(" at new "," at ");return r.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",r.displayName)),typeof r=="function"&&ve.set(r,$),$}while(N>=1&&A>=0);break}}}finally{Ne=!1,Te.current=C,Wr(),Error.prepareStackTrace=j}var te=r?r.displayName||r.name:"",rr=te?ye(te):"";return typeof r=="function"&&ve.set(r,rr),rr}function Gr(r,i,u){return Ve(r,!1)}function Yr(r){var i=r.prototype;return!!(i&&i.isReactComponent)}function we(r,i,u){if(r==null)return"";if(typeof r=="function")return Ve(r,Yr(r));if(typeof r=="string")return ye(r);switch(r){case p:return ye("Suspense");case g:return ye("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case f:return Gr(r.render);case b:return we(r.type,i,u);case R:{var m=r,j=m._payload,C=m._init;try{return we(C(j),i,u)}catch(v){}}}return""}var je=Object.prototype.hasOwnProperty,We={},qe=I.ReactDebugCurrentFrame;function Re(r){if(r){var i=r._owner,u=we(r.type,r._source,i?i.type:null);qe.setExtraStackFrame(u)}else qe.setExtraStackFrame(null)}function Ur(r,i,u,m,j){{var C=Function.call.bind(je);for(var v in r)if(C(r,v)){var x=void 0;try{if(typeof r[v]!="function"){var z=Error((m||"React class")+": "+u+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}x=r[v](i,v,m,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(N){x=N}x&&!(x instanceof Error)&&(Re(j),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",u,v,typeof x),Re(null)),x instanceof Error&&!(x.message in We)&&(We[x.message]=!0,Re(j),E("Failed %s type: %s",u,x.message),Re(null))}}}var Hr=Array.isArray;function Pe(r){return Hr(r)}function Jr(r){{var i=typeof Symbol=="function"&&Symbol.toStringTag,u=i&&r[Symbol.toStringTag]||r.constructor.name||"Object";return u}}function Xr(r){try{return Ge(r),!1}catch(i){return!0}}function Ge(r){return""+r}function Ye(r){if(Xr(r))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Jr(r)),Ge(r)}var de=I.ReactCurrentOwner,Kr={key:!0,ref:!0,__self:!0,__source:!0},Ue,He,Ae;Ae={};function Qr(r){if(je.call(r,"ref")){var i=Object.getOwnPropertyDescriptor(r,"ref").get;if(i&&i.isReactWarning)return!1}return r.ref!==void 0}function Zr(r){if(je.call(r,"key")){var i=Object.getOwnPropertyDescriptor(r,"key").get;if(i&&i.isReactWarning)return!1}return r.key!==void 0}function et(r,i){if(typeof r.ref=="string"&&de.current&&i&&de.current.stateNode!==i){var u=B(de.current.type);Ae[u]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',B(de.current.type),r.ref),Ae[u]=!0)}}function rt(r,i){{var u=function(){Ue||(Ue=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};u.isReactWarning=!0,Object.defineProperty(r,"key",{get:u,configurable:!0})}}function tt(r,i){{var u=function(){He||(He=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};u.isReactWarning=!0,Object.defineProperty(r,"ref",{get:u,configurable:!0})}}var st=function(r,i,u,m,j,C,v){var x={$$typeof:s,type:r,key:i,ref:u,props:v,_owner:C};return x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(x,"_self",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.defineProperty(x,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x};function at(r,i,u,m,j){{var C,v={},x=null,z=null;u!==void 0&&(Ye(u),x=""+u),Zr(i)&&(Ye(i.key),x=""+i.key),Qr(i)&&(z=i.ref,et(i,j));for(C in i)je.call(i,C)&&!Kr.hasOwnProperty(C)&&(v[C]=i[C]);if(r&&r.defaultProps){var N=r.defaultProps;for(C in N)v[C]===void 0&&(v[C]=N[C])}if(x||z){var A=typeof r=="function"?r.displayName||r.name||"Unknown":r;x&&rt(v,A),z&&tt(v,A)}return st(r,x,z,j,m,de.current,v)}}var Fe=I.ReactCurrentOwner,Je=I.ReactDebugCurrentFrame;function re(r){if(r){var i=r._owner,u=we(r.type,r._source,i?i.type:null);Je.setExtraStackFrame(u)}else Je.setExtraStackFrame(null)}var Ie;Ie=!1;function Me(r){return typeof r=="object"&&r!==null&&r.$$typeof===s}function Xe(){{if(Fe.current){var r=B(Fe.current.type);if(r)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+r+"`."}return""}}function nt(r){{if(r!==void 0){var i=r.fileName.replace(/^.*[\\\/]/,""),u=r.lineNumber;return`
|
|
24
24
|
|
|
25
25
|
Check your code at `+i+":"+u+"."}return""}}var Ke={};function ot(r){{var i=Xe();if(!i){var u=typeof r=="string"?r:r.displayName||r.name;u&&(i=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+u+">.")}return i}}function Qe(r,i){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var u=ot(i);if(Ke[u])return;Ke[u]=!0;var m="";r&&r._owner&&r._owner!==Ie.current&&(m=" It was passed a child from "+D(r._owner.type)+"."),re(r),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,m),re(null)}}function Ze(r,i){{if(typeof r!="object")return;if(Pe(r))for(var u=0;u<r.length;u++){var m=r[u];Oe(m)&&Qe(m,i)}else if(Oe(r))r._store&&(r._store.validated=!0);else if(r){var j=I(r);if(typeof j=="function"&&j!==r.entries)for(var k=j.call(r),y;!(y=k.next()).done;)Oe(y.value)&&Qe(y.value,i)}}}function it(r){{var i=r.type;if(i==null||typeof i=="string")return;var u;if(typeof i=="function")u=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===f||i.$$typeof===b))u=i.propTypes;else return;if(u){var m=D(i);Ur(u,r.props,"prop",m,r)}else if(i.PropTypes!==void 0&&!Fe){Fe=!0;var j=D(i);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(r){{for(var i=Object.keys(r.props),u=0;u<i.length;u++){var m=i[u];if(m!=="children"&&m!=="key"){re(r),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),re(null);break}}r.ref!==null&&(re(r),T("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}function er(r,i,u,m,j,k){{var y=ne(r);if(!y){var h="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var M=nt(j);M?h+=M:h+=Xe();var N;r===null?N="null":Pe(r)?N="array":r!==void 0&&r.$$typeof===s?(N="<"+(D(r.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):N=typeof r,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,h)}var P=at(r,i,u,j,k);if(P==null)return P;if(y){var $=i.children;if($!==void 0)if(m)if(Pe($)){for(var te=0;te<$.length;te++)Ze($[te],r);Object.freeze&&Object.freeze($)}else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ze($,r)}return r===a?lt(P):it(P),P}}function dt(r,i,u){return er(r,i,u,!0)}function ct(r,i,u){return er(r,i,u,!1)}var ut=ct,ft=dt;ue.Fragment=a,ue.jsx=ut,ue.jsxs=ft}()),ue}process.env.NODE_ENV==="production"?ze.exports=xt():ze.exports=ht();var l=ze.exports;function hr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(s=0;s<o;s++)e[s]&&(t=hr(e[s]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function v(){for(var e,s,t=0,a="",o=arguments.length;t<o;t++)(e=arguments[t])&&(s=hr(e))&&(a&&(a+=" "),a+=s);return a}const Be="-";function vt(e){const s=wt(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;function o(c){const d=c.split(Be);return d[0]===""&&d.length!==1&&d.shift(),vr(d,s)||yt(c)}function n(c,d){const f=t[c]||[];return d&&a[c]?[...f,...a[c]]:f}return{getClassGroupId:o,getConflictingClassGroupIds:n}}function vr(e,s){var c;if(e.length===0)return s.classGroupId;const t=e[0],a=s.nextPart.get(t),o=a?vr(e.slice(1),a):void 0;if(o)return o;if(s.validators.length===0)return;const n=e.join(Be);return(c=s.validators.find(({validator:d})=>d(n)))==null?void 0:c.classGroupId}const ir=/^\[(.+)\]$/;function yt(e){if(ir.test(e)){const s=ir.exec(e)[1],t=s==null?void 0:s.substring(0,s.indexOf(":"));if(t)return"arbitrary.."+t}}function wt(e){const{theme:s,prefix:t}=e,a={nextPart:new Map,validators:[]};return Rt(Object.entries(e.classGroups),t).forEach(([n,c])=>{De(c,a,n,s)}),a}function De(e,s,t,a){e.forEach(o=>{if(typeof o=="string"){const n=o===""?s:lr(s,o);n.classGroupId=t;return}if(typeof o=="function"){if(jt(o)){De(o(a),s,t,a);return}s.validators.push({validator:o,classGroupId:t});return}Object.entries(o).forEach(([n,c])=>{De(c,lr(s,n),t,a)})})}function lr(e,s){let t=e;return s.split(Be).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t}function jt(e){return e.isThemeGetter}function Rt(e,s){return s?e.map(([t,a])=>{const o=a.map(n=>typeof n=="string"?s+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([c,d])=>[s+c,d])):n);return[t,o]}):e}function Ct(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,t=new Map,a=new Map;function o(n,c){t.set(n,c),s++,s>e&&(s=0,a=t,t=new Map)}return{get(n){let c=t.get(n);if(c!==void 0)return c;if((c=a.get(n))!==void 0)return o(n,c),c},set(n,c){t.has(n)?t.set(n,c):o(n,c)}}}const yr="!";function kt(e){const s=e.separator,t=s.length===1,a=s[0],o=s.length;return function(c){const d=[];let f=0,p=0,g;for(let S=0;S<c.length;S++){let I=c[S];if(f===0){if(I===a&&(t||c.slice(S,S+o)===s)){d.push(c.slice(p,S)),p=S+o;continue}if(I==="/"){g=S;continue}}I==="["?f++:I==="]"&&f--}const b=d.length===0?c:c.substring(p),R=b.startsWith(yr),_=R?b.substring(1):b,z=g&&g>p?g-p:void 0;return{modifiers:d,hasImportantModifier:R,baseClassName:_,maybePostfixModifierPosition:z}}}function Tt(e){if(e.length<=1)return e;const s=[];let t=[];return e.forEach(a=>{a[0]==="["?(s.push(...t.sort(),a),t=[]):t.push(a)}),s.push(...t.sort()),s}function Et(e){return O({cache:Ct(e.cacheSize),splitModifiers:kt(e)},vt(e))}const St=/\s+/;function Nt(e,s){const{splitModifiers:t,getClassGroupId:a,getConflictingClassGroupIds:o}=s,n=new Set;return e.trim().split(St).map(c=>{const{modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:g}=t(c);let b=a(g?p.substring(0,g):p),R=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:c};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:c};R=!1}const _=Tt(d).join(":");return{isTailwindClass:!0,modifierId:f?_+yr:_,classGroupId:b,originalClassName:c,hasPostfixModifier:R}}).reverse().filter(c=>{if(!c.isTailwindClass)return!0;const{modifierId:d,classGroupId:f,hasPostfixModifier:p}=c,g=d+f;return n.has(g)?!1:(n.add(g),o(f,p).forEach(b=>n.add(d+b)),!0)}).reverse().map(c=>c.originalClassName).join(" ")}function _t(){let e=0,s,t,a="";for(;e<arguments.length;)(s=arguments[e++])&&(t=wr(s))&&(a&&(a+=" "),a+=t);return a}function wr(e){if(typeof e=="string")return e;let s,t="";for(let a=0;a<e.length;a++)e[a]&&(s=wr(e[a]))&&(t&&(t+=" "),t+=s);return t}function Pt(e,...s){let t,a,o,n=c;function c(f){const p=s.reduce((g,b)=>b(g),e());return t=Et(p),a=t.cache.get,o=t.cache.set,n=d,d(f)}function d(f){const p=a(f);if(p)return p;const g=Nt(f,t);return o(f,g),g}return function(){return n(_t.apply(null,arguments))}}function E(e){const s=t=>t[e]||[];return s.isThemeGetter=!0,s}const jr=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,It=new Set(["px","full","screen"]),Ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ot=/\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$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function W(e){return Q(e)||It.has(e)||At.test(e)}function H(e){return se(e,"length",Yt)}function Q(e){return!!e&&!Number.isNaN(Number(e))}function ke(e){return se(e,"number",Q)}function fe(e){return!!e&&Number.isInteger(Number(e))}function Bt(e){return e.endsWith("%")&&Q(e.slice(0,-1))}function x(e){return jr.test(e)}function J(e){return Ft.test(e)}const $t=new Set(["length","size","percentage"]);function Lt(e){return se(e,$t,Rr)}function Vt(e){return se(e,"position",Rr)}const Wt=new Set(["image","url"]);function qt(e){return se(e,Wt,Ht)}function Gt(e){return se(e,"",Ut)}function pe(){return!0}function se(e,s,t){const a=jr.exec(e);return a?a[1]?typeof s=="string"?a[1]===s:s.has(a[1]):t(a[2]):!1}function Yt(e){return Ot.test(e)&&!Mt.test(e)}function Rr(){return!1}function Ut(e){return zt.test(e)}function Ht(e){return Dt.test(e)}function Jt(){const e=E("colors"),s=E("spacing"),t=E("blur"),a=E("brightness"),o=E("borderColor"),n=E("borderRadius"),c=E("borderSpacing"),d=E("borderWidth"),f=E("contrast"),p=E("grayscale"),g=E("hueRotate"),b=E("invert"),R=E("gap"),_=E("gradientColorStops"),z=E("gradientColorStopPositions"),S=E("inset"),I=E("margin"),F=E("opacity"),T=E("padding"),ge=E("saturate"),ae=E("scale"),me=E("sepia"),be=E("skew"),xe=E("space"),he=E("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",x,s],C=()=>[x,s],D=()=>["",W,H],B=()=>["auto",Q,x],G=()=>["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"],ee=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",x],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Q,ke],K=()=>[Q,x];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[W,H],blur:["none","",J,x],brightness:U(),borderColor:[e],borderRadius:["none","","full",J,x],borderSpacing:C(),borderWidth:D(),contrast:U(),grayscale:Y(),hueRotate:K(),invert:Y(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Bt,H],inset:oe(),margin:oe(),opacity:U(),padding:C(),saturate:U(),scale:U(),sepia:Y(),skew:K(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",x]}],container:["container"],columns:[{columns:[J]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"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:[...G(),x]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,x]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",x]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",fe,x]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,x]},x]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,x]},x]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",x]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",x]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[I]}],mx:[{mx:[I]}],my:[{my:[I]}],ms:[{ms:[I]}],me:[{me:[I]}],mt:[{mt:[I]}],mr:[{mr:[I]}],mb:[{mb:[I]}],ml:[{ml:[I]}],"space-x":[{"space-x":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",x,s]}],"min-w":[{"min-w":[x,s,"min","max","fit"]}],"max-w":[{"max-w":[x,s,"none","full","min","max","fit","prose",{screen:[J]},J]}],h:[{h:[x,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[x,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[x,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[x,s,"auto","min","max","fit"]}],"font-size":[{text:["base",J,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ke]}],"font-family":[{font:[pe]}],"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",x]}],"line-clamp":[{"line-clamp":["none",Q,ke]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,x]}],"list-image":[{"list-image":["none",x]}],"list-style-type":[{list:["none","disc","decimal",x]}],"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:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,H]}],"underline-offset":[{"underline-offset":["auto",W,x]}],"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:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",x]}],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",x]}],"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:[...G(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[_]}],"gradient-via":[{via:[_]}],"gradient-to":[{to:[_]}],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:[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]}],"border-opacity":[{"border-opacity":[F]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[F]}],"divide-style":[{divide:X()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[W,x]}],"outline-w":[{outline:[W,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[F]}],"ring-offset-w":[{"ring-offset":[W,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",J,Gt]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[F]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",J,x]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[me]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[F]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[me]}],"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",x]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",x]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",x]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ae]}],"scale-x":[{"scale-x":[ae]}],"scale-y":[{"scale-y":[ae]}],rotate:[{rotate:[fe,x]}],"translate-x":[{"translate-x":[he]}],"translate-y":[{"translate-y":[he]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",x]}],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",x]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],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",x]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,H,ke]}],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-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 w=Pt(Jt),dr={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Text-secondary ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-black hover:ds-border hover:ds-border-Fills-black active:ds-text-black active:ds-border active:ds-border-Fills-black focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-quadrutery disabled:ds-text-Text-tertiary",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-space075 ds-px-space400",large:"ds-py-space150 ds-px-space400"},Te=A.forwardRef((c,n)=>{var d=c,{color:e="primary",size:s="small",disabled:t=!1,className:a}=d,o=L(d,["color","size","disabled","className"]);return l.jsx("button",O({ref:n,disabled:t,className:w(v(dr[e],dr[s],a))},o))});Te.displayName="Button";const Ee=A.forwardRef(({className:e=""},s)=>{const a=w("ds-text-System-red ds-ms-[2px]",e);return l.jsx("span",{className:a,ref:s,children:"*"})});Ee.displayName="Asteric";const cr="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%23FF453A'/%3e%3cpath%20d='M4.452%207.978h1.821a.316.316%200%201%200%200-.631h-.555V5.069c0-.242-.12-.403-.349-.403h-.841a.316.316%200%201%200%200%20.631h.479v2.05h-.555a.316.316%200%201%200%200%20.631zm.743-4.055c.326%200%20.582-.26.582-.587a.582.582%200%201%200-1.164%200c0%20.327.26.587.582.587z'%20fill='%23FF453A'/%3e%3c/svg%3e",ur="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%2328CD41'/%3e%3cpath%20d='M5.242%207.713a.42.42%200%200%200%20.363-.21L7.65%204.283c.05-.09.108-.188.108-.286%200-.202-.18-.332-.367-.332-.112%200-.224.072-.31.202l-1.857%202.98-.881-1.14c-.108-.144-.206-.18-.332-.18a.347.347%200%200%200-.344.354c0%20.099.04.193.103.278l1.092%201.342c.112.148.233.21.38.21z'%20fill='%2328CD41'/%3e%3c/svg%3e",fr={primary:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",primaryRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",success:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",error:"ds-bg-System-red ds-bg-opacity-[0.1] ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",errorRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",disabled:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-text-Text-primary active:ds-border-Fills-quintiary focus:ds-border-Fills-quintiary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]"},pr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},gr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-flex ds-flex-row ds-items-center ds-justify-start ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},Cr=A.forwardRef((R,b)=>{var _=R,{color:e="primary",disabled:s=!1,textarea:t=!1,label:a,required:o=!1,caption:n,labelClass:c,InputDivClass:d,captionClass:f,className:p}=_,g=L(_,["color","disabled","textarea","label","required","caption","labelClass","InputDivClass","captionClass","className"]);return t?l.jsx(l.Fragment,{children:l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",d),children:[a&&l.jsxs("label",{className:w("MediumSubheadRegular ds-mb-space075",c,pr[e]),children:[a," ",o&&l.jsx(Ee,{})]}),l.jsx("textarea",O({disabled:s,className:w(v(fr[e],p))},g)),n&&l.jsxs("caption",{className:w(v("MediumCaption1Regular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(v("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(v("ds-me-1"))}),n]})]})}):l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",d),children:[a&&l.jsxs("label",{className:w("MediumSubheadRegular ds-mb-space075",c,pr[e]),children:[a," ",o&&l.jsx(Ee,{})]}),l.jsx("input",O({ref:b,disabled:s,className:w(v(fr[e],p))},g)),n&&l.jsxs("caption",{className:w(v("MediumCaption1Regular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(v("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(v("ds-me-1"))}),n]})]})});Cr.displayName="Input";function kr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e))for(s=0;s<e.length;s++)e[s]&&(t=kr(e[s]))&&(a&&(a+=" "),a+=t);else for(s in e)e[s]&&(a&&(a+=" "),a+=s);return a}function Xt(){for(var e,s,t=0,a="";t<arguments.length;)(e=arguments[t++])&&(s=kr(e))&&(a&&(a+=" "),a+=s);return a}const mr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,br=Xt,Tr=(e,s)=>t=>{var a;if((s==null?void 0:s.variants)==null)return br(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:o,defaultVariants:n}=s,c=Object.keys(o).map(p=>{const g=t==null?void 0:t[p],b=n==null?void 0:n[p];if(g===null)return null;const R=mr(g)||mr(b);return o[p][R]}),d=t&&Object.entries(t).reduce((p,g)=>{let[b,R]=g;return R===void 0||(p[b]=R),p},{}),f=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let z=g,{class:b,className:R}=z,_=L(z,["class","className"]);return Object.entries(_).every(S=>{let[I,F]=S;return Array.isArray(F)?F.includes(O(O({},n),d)[I]):O(O({},n),d)[I]===F})?[...p,b,R]:p},[]);return br(e,c,f,t==null?void 0:t.class,t==null?void 0:t.className)},Kt=Tr("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Er=q.forwardRef((o,a)=>{var n=o,{className:e,cardType:s}=n,t=L(n,["className","cardType"]);return l.jsx("div",O({ref:a,className:w(v(Kt({cardType:s,className:e}),"ds-rounded"),e)},t))});Er.displayName="Card";const Sr=q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",O({ref:t,className:w(v("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});Sr.displayName="CardHeader";const Nr=q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",O({ref:t,className:w(v("ds-font-medium",e))},s))});Nr.displayName="Title";const _r=q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",O({ref:t,className:w(v("ds-font-regular",e))},s))});_r.displayName="Description";const Pr=q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",O({ref:t,className:w(v("ds-pb-space300 ds-px-space300 ",e))},s))});Pr.displayName="Content";const Ar=q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",O({ref:t,className:w(v("ds-pb-space300 ds-px-space300",e))},s))});Ar.displayName="Footer";const Qt=Tr("ds-grid zero:ds-grid-cols-4 ds-gap-x-8 mobile:ds-grid-cols-4 tablet:ds-grid-cols-6 desktop:ds-grid-cols-12 wide_desktop:ds-grid-cols-12 ds-w-full",{variants:{display:{grid:"ds-grid",inlineGrid:"ds-inline-grid"},gap:{gap0:"ds-gap0",gap100:"ds-gap-100",gap150:"ds-gap-150",gap200:"ds-gap-200",gap300:"ds-gap-300",gap400:"ds-gap-400",gap600:"ds-gap-600",gap800:"ds-gap-800",gap1000:"ds-gap-1000",gap1200:"ds-gap-1200",gap1600:"ds-gap-1600",gap2000:"ds-gap-2000"},gapX:{gap0:"ds-gap-x-0",gap100:"ds-gap-x-100",gap150:"ds-gap-x-150",gap200:"ds-gap-x-200",gap300:"ds-gap-x-300",gap400:"ds-gap-x-400",gap600:"ds-gap-x-600",gap800:"ds-gap-x-800",gap1000:"ds-gap-x-1000",gap1200:"ds-gap-x-1200",gap1600:"ds-gap-x-1600",gap2000:"ds-gap-x-2000"},gapY:{gap0:"ds-gap-y-0",gap100:"ds-gap-y-100",gap150:"ds-gap-y-150",gap200:"ds-gap-y-200",gap300:"ds-gap-y-300",gap400:"ds-gap-y-400",gap600:"ds-gap-y-600",gap800:"ds-gap-y-800",gap1000:"ds-gap-y-1000",gap1200:"ds-gap-y-1200",gap1600:"ds-gap-y-1600",gap2000:"ds-gap-y-2000"},justifyContent:{normal:"ds-justify-normal",start:"ds-justify-start",end:"ds-justify-end",center:"ds-justify-center",between:"ds-justify-between",around:"ds-justify-around",evenly:"ds-justify-evenly",stretch:"ds-justify-stretch"},justifyItems:{start:"ds-justify-items-start",end:"ds-justify-items-end",center:"ds-justify-items-center",stretch:"ds-justify-items-stretch"},alignContent:{normal:"ds-content-normal",center:"ds-content-center",start:"ds-content-start",end:"ds-content-end",between:"ds-content-between",around:"ds-content-around",evenly:"ds-content-evenly",baseline:"ds-content-baseline",stretch:"ds-content-stretch"},alignItems:{start:"ds-items-start",end:"ds-items-end",center:"ds-items-center",baseline:"ds-items-baseline",stretch:"ds-items-stretch"},placeContent:{center:"ds-place-content-center",start:"ds-place-content-start",end:"ds-place-content-end",between:"ds-place-content-between",around:"ds-place-content-around",evenly:"ds-place-content-evenly",baseline:"ds-place-content-baseline",stretch:"ds-place-content-stretch"},placeItems:{start:"ds-place-items-start",end:"ds-place-items-end",center:"ds-place-items-center",baseline:"ds-place-items-baseline",stretch:"ds-place-items-stretch"}}}),Ir=q.forwardRef((o,a)=>{var n=o,{className:e,children:s}=n,t=L(n,["className","children"]);return l.jsx("div",Me(O({className:w(v(Qt({display:t==null?void 0:t.display,gap:t==null?void 0:t.gap,gapX:t==null?void 0:t.gapX,gapY:t==null?void 0:t.gapY,justifyContent:t==null?void 0:t.justifyContent,justifyItems:t==null?void 0:t.justifyItems,alignContent:t==null?void 0:t.alignContent,alignItems:t==null?void 0:t.alignItems,placeContent:t==null?void 0:t.placeContent,placeItems:t==null?void 0:t.placeItems,className:e}))),ref:a},t),{children:s}))});Ir.displayName="Grid";const xr=e=>{let s="";switch(e){case"STANDARD":case"STANDARD_LINE_SEPARATED":s="ds-font-semibold ds-text-Text-primary";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary";break}return s},Fr=q.forwardRef(({className:e,items:s},t)=>{const[a,o]=q.useState(!1);return l.jsx(l.Fragment,{children:l.jsxs("div",{className:w(v(e,"ds-w-full ds-flex ds-flex-col")),ref:t,children:[l.jsx("div",{children:s.length>0&&s.map((n,c)=>{var d;return l.jsx(l.Fragment,{children:l.jsxs("div",{className:v(n.key_name!=="total_amount"&&"line-items",a===!0&&"show"),children:[n.type==="STANDARD_LINE_SEPARATED"&&l.jsx("hr",{className:"ds-mt-3 ds-mb-1"}),l.jsxs("div",{className:v("ds-flex ds-flex-row ds-justify-between",c>0&&"ds-mt-2",c!==s.length&&n.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[l.jsx("span",{className:v("ds-text-xSmallCallout tablet:ds-text-mediumCallout ds-me-3",xr(n.type),((d=n.display_name)==null?void 0:d.toLocaleLowerCase())==="vat"&&"ds-uppercase"),children:n.display_name}),l.jsx("span",{className:v("ds-text-xSmallCallout tablet:ds-text-mediumCallout",xr(n.type)),children:n.currency_converted_amount})]})]},`BookingQuoteLineItemType-${c}`)})})}),l.jsx("div",{children:l.jsxs("span",{className:"ds-flex ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>o(!a),children:["See ",a?"less":"details"]})})]})})});Fr.displayName="Booking_Quote_Card";const Zt="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23cr9x6s95oa)'%3e%3cpath%20d='M4.222%206.738c0%20.13.05.246.152.345l4.302%204.057a.475.475%200%200%200%20.353.141c.282%200%20.5-.204.5-.476a.483.483%200%200%200-.147-.34l-3.95-3.727%203.95-3.727a.493.493%200%200%200%20.146-.34c0-.273-.217-.477-.499-.477a.492.492%200%200%200-.353.136L4.374%206.392a.455.455%200%200%200-.152.346z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='cr9x6s95oa'%3e%3cpath%20fill='%23fff'%20transform='translate(.333%20.05)'%20d='M0%200h13.333v12.864H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",es="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.084%206.738a.46.46%200%200%200-.158-.346L5.63%202.33a.514.514%200%200%200-.358-.136.477.477%200%200%200-.353.817l3.95%203.727-3.95%203.727a.477.477%200%200%200%20.353.817c.14%200%20.26-.048.358-.142l4.296-4.057a.47.47%200%200%200%20.158-.345z'%20fill='%23fff'/%3e%3c/svg%3e",Or=A.forwardRef(({images:e})=>{const[s,t]=A.useState(0),a=()=>{t(n=>n===e.length-1?0:n+1)},o=()=>{t(n=>n===0?e.length-1:n-1)};return l.jsx(l.Fragment,{children:l.jsxs("div",{className:"ds-relative ds-rounded-[4px] ds-w-full",children:[e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-left-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:o,children:l.jsx("img",{src:Zt,alt:"prev"})}),l.jsx("div",{className:"picture ds-w-full ds-rounded-[4px]",style:{backgroundImage:`url(${e[s]})`}}),e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-right-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:a,children:l.jsx("img",{src:es,alt:"next"})}),e.length>1&&l.jsx("ul",{className:"ds-absolute ds-flex ds-flex-row ds-bottom-1 ds-left-1/2 -ds-translate-x-1/2 ds-z-10",children:e.map((n,c)=>l.jsx("li",{"aria-description":n,className:w(v("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",c!==s&&"ds-bg-[rgba(255,255,255,0.5)]",c===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},c))})]})})});Or.displayName="Image_Carousel";const Mr=A.forwardRef(({title:e,content:s,expandIcon:t,collapseIcon:a,accordionClass:o,accordionHeaderClass:n,accordionTitleClass:c,accordionContentClass:d,isEnabled:f=!0,isExpanded:p=!0},g)=>{const[b,R]=A.useState(p),_=()=>{f&&R(!b)};return A.useEffect(()=>{f&&R(p)},[f,p]),l.jsxs("div",{className:w(v("silkhaus-accordion",o)),ref:g,children:[l.jsxs("div",{className:w(v("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",n,!f&&"ds-cursor-not-allowed",f&&"ds-cursor-pointer")),onClick:_,children:[l.jsx("div",{className:w(v(c)),children:e}),b?a||"-":t||"+"]}),b&&l.jsx("div",{className:w(v("silkhaus-accordion-content",d)),children:s})]})});Mr.displayName="Accordion";function rs(...e){return w(v(e))}const zr=A.forwardRef(({checked:e=!1,onChange:s,disabled:t=!1,htmlId:a="wa"},o)=>l.jsxs("label",{className:rs("switch",t&&"disabled"),htmlFor:a,children:[l.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:o,disabled:t}),l.jsx("span",{className:"slider round",style:{opacity:t?.5:1,cursor:t?"not-allowed":"pointer"}})]}));zr.displayName="Switch";const Dr=A.forwardRef((e,s)=>{const n=e,{open:t,children:a}=n,o=L(n,["open","children"]);return l.jsx("div",Me(O({ref:s,className:`dialog ${t?"open":""}`},o),{children:a}))});Dr.displayName="Dialog";const Br=A.forwardRef(({outerDivClassName:e="",banner:s="",title:t,description:a,primaryBtnText:o="Submit",showPrimaryBtn:n,secondaryBtnText:c="Cancel",showSecondaryBtn:d,onPrimaryBtnClick:f,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:b=!1},R)=>l.jsx("div",{className:w(e),children:l.jsxs("div",{className:w(v("ds-bg-white ds-w-full ds-wide_ds-desktop:ds-w-[528px] ds-desktop:ds-w-[528px] ds-tablet:ds-w-[528px] ds-border ds-rounded",s&&"ds-p-6")),ref:R,children:[s&&l.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),l.jsxs("div",{className:v(!s&&"ds-p-6 ds-border-t-4 ds-rounded-s ds-rounded-e ds-border-Background-accentEggplant-100"),children:[l.jsxs("div",{children:[l.jsx("h2",{className:v("ds-text-mediumTitle1Emphasized ds-text-black ds-mb-0 ds-pb-4 ds-font-semibold",s&&"ds-border-t-2 ds-border-Background-accentEggplant-100 ds-pt-4"),children:t}),a&&l.jsx("span",{className:"ds-text-black ds-text-mediumBody1Regular",children:a})]}),l.jsxs("div",{className:v("ds-flex ds-flex-col ds-pt-4 ds-tablet:ds-grid ds-tablet:ds-grid-flow-row ds-tablet:ds-grid-cols-2 ds-tablet:ds-gap-x-4 ds-tablet:ds-flex-row",n&&d&&"ds-tablet:ds-justify-between ds-items-center",n&&!d&&"ds-tablet:ds-justify-end ds-items-center"),children:[l.jsx("div",{className:"ds-tablet:ds-mt-0 ds-mt-4 ds-w-full ds-tablet:ds-w-auto ds-flex ds-flex-col ds-order-2 ds-tablet:ds-order-1",children:d&&l.jsx(Te,{color:"secondary",onClick:p,disabled:b,size:"large",children:c})}),l.jsx("div",{className:"ds-w-full ds-flex ds-flex-col ds-tablet:ds-w-auto ds-order-1 ds-tablet:ds-order-2",children:n&&l.jsx(Te,{color:"primary",onClick:f,disabled:g,size:"large",children:o})})]})]})]})}));Br.displayName="AlertDialog";const ts="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23jy0s9xho2a)'%3e%3cpath%20d='M6.647%2012.969a.925.925%200%200%200%20.82-.431l5.586-8.641c.14-.215.196-.405.196-.586%200-.475-.345-.811-.827-.811-.338%200-.54.116-.745.437l-5.054%208.009-2.589-3.28c-.193-.247-.4-.353-.692-.353-.492%200-.842.348-.842.825%200%20.207.071.404.247.614l3.088%203.81c.226.276.478.407.812.407z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='jy0s9xho2a'%3e%3cpath%20fill='%23fff'%20transform='translate(.667%20.667)'%20d='M0%200h14.667v14.667H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$e=A.forwardRef(({progress:e,text:s="",borderColor:t="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:o="48px",strokeWidth:n=3,textClass:c=""},d)=>{const f=parseInt(o)/2-4,p=2*Math.PI*f,g=p-e*p;return l.jsxs("div",{ref:d,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":t,"--progress-color":a,width:o,height:o},children:[l.jsx("span",{className:w(v("ds-absolute ds-top-1/2 ds-left-1/2 -ds-translate-x-1/2 -ds-translate-y-1/2 SmallCaption2Emphasized ds-text-nowrap",c)),children:s}),l.jsx("div",{className:"progress-ring",children:l.jsxs("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,children:[l.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:n,fill:"transparent",r:f.toString(),cx:(parseInt(o)/2).toString(),cy:(parseInt(o)/2).toString()}),l.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:n,fill:"transparent",r:f.toString(),cx:(parseInt(o)/2).toString(),cy:(parseInt(o)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $r=A.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:t=""},a)=>{var n,c;let o=0;for(let d=0;d<e.length;d++)(((n=e[d])==null?void 0:n.status)==="completed"||((c=e[d])==null?void 0:c.status)==="active")&&o++;return l.jsxs(l.Fragment,{children:[l.jsx("div",{ref:a,className:w(v("ds-hidden ds-tablet:ds-block ds-relative ds-h-[72px]",s)),children:l.jsxs("div",{className:"ds-relative ds-w-full ds-flex ds-items-center ds-flex-row ds-justify-between",children:[l.jsx("div",{className:"ds-absolute ds-left-0 ds-top-2/4 ds-h-0.5 ds-w-full -translate-y-2/4 ds-bg-Fills-quintiary"}),e.map((d,f)=>l.jsxs("div",{className:"ds-relative",children:[l.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ds-w-[22px] ds-h-[22px] ds-rounded ds-border ds-border-Background-accentEggplant-100 ${d.status==="active"||d.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
28
|
-
`,children:d.status==="completed"?l.jsx("span",{className:"ds-text-white ds-flex ds-justify-center ds-items-center",children:l.jsx("img",{src:ts,alt:"check-icon"})}):l.jsx("span",{className:`MediumCaption2Emphasized ${d.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:d.number})}),l.jsx("div",{className:"ds-text-black MediumCaption2Regular ds-mt-2 ds-absolute ds-text-nowrap ds-left-1/2 -ds-translate-x-1/2",children:d.title})]},f))]})}),l.jsx("div",{ref:a,className:w(
|
|
27
|
+
Check the top-level render call using <`+u+">.")}return i}}function Qe(r,i){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var u=ot(i);if(Ke[u])return;Ke[u]=!0;var m="";r&&r._owner&&r._owner!==Fe.current&&(m=" It was passed a child from "+B(r._owner.type)+"."),re(r),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,m),re(null)}}function Ze(r,i){{if(typeof r!="object")return;if(Pe(r))for(var u=0;u<r.length;u++){var m=r[u];Me(m)&&Qe(m,i)}else if(Me(r))r._store&&(r._store.validated=!0);else if(r){var j=F(r);if(typeof j=="function"&&j!==r.entries)for(var C=j.call(r),v;!(v=C.next()).done;)Me(v.value)&&Qe(v.value,i)}}}function it(r){{var i=r.type;if(i==null||typeof i=="string")return;var u;if(typeof i=="function")u=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===f||i.$$typeof===b))u=i.propTypes;else return;if(u){var m=B(i);Ur(u,r.props,"prop",m,r)}else if(i.PropTypes!==void 0&&!Ie){Ie=!0;var j=B(i);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(r){{for(var i=Object.keys(r.props),u=0;u<i.length;u++){var m=i[u];if(m!=="children"&&m!=="key"){re(r),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),re(null);break}}r.ref!==null&&(re(r),E("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}function er(r,i,u,m,j,C){{var v=ne(r);if(!v){var x="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var z=nt(j);z?x+=z:x+=Xe();var N;r===null?N="null":Pe(r)?N="array":r!==void 0&&r.$$typeof===s?(N="<"+(B(r.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):N=typeof r,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,x)}var A=at(r,i,u,j,C);if(A==null)return A;if(v){var $=i.children;if($!==void 0)if(m)if(Pe($)){for(var te=0;te<$.length;te++)Ze($[te],r);Object.freeze&&Object.freeze($)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ze($,r)}return r===a?lt(A):it(A),A}}function dt(r,i,u){return er(r,i,u,!0)}function ct(r,i,u){return er(r,i,u,!1)}var ut=ct,ft=dt;ue.Fragment=a,ue.jsx=ut,ue.jsxs=ft}()),ue}process.env.NODE_ENV==="production"?Oe.exports=ht():Oe.exports=xt();var l=Oe.exports;function xr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(s=0;s<o;s++)e[s]&&(t=xr(e[s]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function y(){for(var e,s,t=0,a="",o=arguments.length;t<o;t++)(e=arguments[t])&&(s=xr(e))&&(a&&(a+=" "),a+=s);return a}const De="-";function yt(e){const s=wt(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;function o(c){const d=c.split(De);return d[0]===""&&d.length!==1&&d.shift(),yr(d,s)||vt(c)}function n(c,d){const f=t[c]||[];return d&&a[c]?[...f,...a[c]]:f}return{getClassGroupId:o,getConflictingClassGroupIds:n}}function yr(e,s){var c;if(e.length===0)return s.classGroupId;const t=e[0],a=s.nextPart.get(t),o=a?yr(e.slice(1),a):void 0;if(o)return o;if(s.validators.length===0)return;const n=e.join(De);return(c=s.validators.find(({validator:d})=>d(n)))==null?void 0:c.classGroupId}const ir=/^\[(.+)\]$/;function vt(e){if(ir.test(e)){const s=ir.exec(e)[1],t=s==null?void 0:s.substring(0,s.indexOf(":"));if(t)return"arbitrary.."+t}}function wt(e){const{theme:s,prefix:t}=e,a={nextPart:new Map,validators:[]};return Rt(Object.entries(e.classGroups),t).forEach(([n,c])=>{Be(c,a,n,s)}),a}function Be(e,s,t,a){e.forEach(o=>{if(typeof o=="string"){const n=o===""?s:lr(s,o);n.classGroupId=t;return}if(typeof o=="function"){if(jt(o)){Be(o(a),s,t,a);return}s.validators.push({validator:o,classGroupId:t});return}Object.entries(o).forEach(([n,c])=>{Be(c,lr(s,n),t,a)})})}function lr(e,s){let t=e;return s.split(De).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t}function jt(e){return e.isThemeGetter}function Rt(e,s){return s?e.map(([t,a])=>{const o=a.map(n=>typeof n=="string"?s+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([c,d])=>[s+c,d])):n);return[t,o]}):e}function kt(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,t=new Map,a=new Map;function o(n,c){t.set(n,c),s++,s>e&&(s=0,a=t,t=new Map)}return{get(n){let c=t.get(n);if(c!==void 0)return c;if((c=a.get(n))!==void 0)return o(n,c),c},set(n,c){t.has(n)?t.set(n,c):o(n,c)}}}const vr="!";function Ct(e){const s=e.separator,t=s.length===1,a=s[0],o=s.length;return function(c){const d=[];let f=0,p=0,g;for(let T=0;T<c.length;T++){let F=c[T];if(f===0){if(F===a&&(t||c.slice(T,T+o)===s)){d.push(c.slice(p,T)),p=T+o;continue}if(F==="/"){g=T;continue}}F==="["?f++:F==="]"&&f--}const b=d.length===0?c:c.substring(p),R=b.startsWith(vr),P=R?b.substring(1):b,O=g&&g>p?g-p:void 0;return{modifiers:d,hasImportantModifier:R,baseClassName:P,maybePostfixModifierPosition:O}}}function Et(e){if(e.length<=1)return e;const s=[];let t=[];return e.forEach(a=>{a[0]==="["?(s.push(...t.sort(),a),t=[]):t.push(a)}),s.push(...t.sort()),s}function St(e){return M({cache:kt(e.cacheSize),splitModifiers:Ct(e)},yt(e))}const Tt=/\s+/;function _t(e,s){const{splitModifiers:t,getClassGroupId:a,getConflictingClassGroupIds:o}=s,n=new Set;return e.trim().split(Tt).map(c=>{const{modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:g}=t(c);let b=a(g?p.substring(0,g):p),R=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:c};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:c};R=!1}const P=Et(d).join(":");return{isTailwindClass:!0,modifierId:f?P+vr:P,classGroupId:b,originalClassName:c,hasPostfixModifier:R}}).reverse().filter(c=>{if(!c.isTailwindClass)return!0;const{modifierId:d,classGroupId:f,hasPostfixModifier:p}=c,g=d+f;return n.has(g)?!1:(n.add(g),o(f,p).forEach(b=>n.add(d+b)),!0)}).reverse().map(c=>c.originalClassName).join(" ")}function Nt(){let e=0,s,t,a="";for(;e<arguments.length;)(s=arguments[e++])&&(t=wr(s))&&(a&&(a+=" "),a+=t);return a}function wr(e){if(typeof e=="string")return e;let s,t="";for(let a=0;a<e.length;a++)e[a]&&(s=wr(e[a]))&&(t&&(t+=" "),t+=s);return t}function Pt(e,...s){let t,a,o,n=c;function c(f){const p=s.reduce((g,b)=>b(g),e());return t=St(p),a=t.cache.get,o=t.cache.set,n=d,d(f)}function d(f){const p=a(f);if(p)return p;const g=_t(f,t);return o(f,g),g}return function(){return n(Nt.apply(null,arguments))}}function S(e){const s=t=>t[e]||[];return s.isThemeGetter=!0,s}const jr=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Ft=new Set(["px","full","screen"]),It=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mt=/\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$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ot=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function W(e){return K(e)||Ft.has(e)||At.test(e)}function U(e){return se(e,"length",Yt)}function K(e){return!!e&&!Number.isNaN(Number(e))}function Ce(e){return se(e,"number",K)}function fe(e){return!!e&&Number.isInteger(Number(e))}function Dt(e){return e.endsWith("%")&&K(e.slice(0,-1))}function h(e){return jr.test(e)}function H(e){return It.test(e)}const $t=new Set(["length","size","percentage"]);function Lt(e){return se(e,$t,Rr)}function Vt(e){return se(e,"position",Rr)}const Wt=new Set(["image","url"]);function qt(e){return se(e,Wt,Ht)}function Gt(e){return se(e,"",Ut)}function pe(){return!0}function se(e,s,t){const a=jr.exec(e);return a?a[1]?typeof s=="string"?a[1]===s:s.has(a[1]):t(a[2]):!1}function Yt(e){return Mt.test(e)&&!zt.test(e)}function Rr(){return!1}function Ut(e){return Ot.test(e)}function Ht(e){return Bt.test(e)}function Jt(){const e=S("colors"),s=S("spacing"),t=S("blur"),a=S("brightness"),o=S("borderColor"),n=S("borderRadius"),c=S("borderSpacing"),d=S("borderWidth"),f=S("contrast"),p=S("grayscale"),g=S("hueRotate"),b=S("invert"),R=S("gap"),P=S("gradientColorStops"),O=S("gradientColorStopPositions"),T=S("inset"),F=S("margin"),I=S("opacity"),E=S("padding"),ge=S("saturate"),ae=S("scale"),me=S("sepia"),be=S("skew"),he=S("space"),xe=S("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",h,s],k=()=>[h,s],B=()=>["",W,U],D=()=>["auto",K,h],q=()=>["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","plus-lighter"],ee=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",h],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[K,Ce],X=()=>[K,h];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[W,U],blur:["none","",H,h],brightness:Y(),borderColor:[e],borderRadius:["none","","full",H,h],borderSpacing:k(),borderWidth:B(),contrast:Y(),grayscale:G(),hueRotate:X(),invert:G(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Dt,U],inset:oe(),margin:oe(),opacity:Y(),padding:k(),saturate:Y(),scale:Y(),sepia:G(),skew:X(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"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:[...q(),h]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],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",fe,h]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",fe,h]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,h]},h]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,h]},h]}],"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",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[F]}],mx:[{mx:[F]}],my:[{my:[F]}],ms:[{ms:[F]}],me:[{me:[F]}],mt:[{mt:[F]}],mr:[{mr:[F]}],mb:[{mb:[F]}],ml:[{ml:[F]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,s]}],"min-w":[{"min-w":[h,s,"min","max","fit"]}],"max-w":[{"max-w":[h,s,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[h,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,s,"auto","min","max","fit"]}],"font-size":[{text:["base",H,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ce]}],"font-family":[{font:[pe]}],"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",h]}],"line-clamp":[{"line-clamp":["none",K,Ce]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,U]}],"underline-offset":[{"underline-offset":["auto",W,h]}],"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:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],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",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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:[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]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:J()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[W,h]}],"outline-w":[{outline:[W,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[W,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,Gt]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",H,h]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[me]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[me]}],"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",h]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ae]}],"scale-x":[{"scale-x":[ae]}],"scale-y":[{"scale-y":[ae]}],rotate:[{rotate:[fe,h]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],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",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,U,Ce]}],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-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 w=Pt(Jt),dr={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Text-secondary ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-black hover:ds-border hover:ds-border-Fills-black active:ds-text-black active:ds-border active:ds-border-Fills-black focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-quadrutery disabled:ds-text-Text-tertiary",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-space075 ds-px-space400",large:"ds-py-space150 ds-px-space400"},Ee=_.forwardRef((c,n)=>{var d=c,{color:e="primary",size:s="small",disabled:t=!1,className:a}=d,o=L(d,["color","size","disabled","className"]);return l.jsx("button",M({ref:n,disabled:t,className:w(y(dr[e],dr[s],a))},o))});Ee.displayName="Button";const Se=_.forwardRef(({className:e=""},s)=>{const a=w("ds-text-System-red ds-ms-[2px]",e);return l.jsx("span",{className:a,ref:s,children:"*"})});Se.displayName="Asteric";const cr="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%23FF453A'/%3e%3cpath%20d='M4.452%207.978h1.821a.316.316%200%201%200%200-.631h-.555V5.069c0-.242-.12-.403-.349-.403h-.841a.316.316%200%201%200%200%20.631h.479v2.05h-.555a.316.316%200%201%200%200%20.631zm.743-4.055c.326%200%20.582-.26.582-.587a.582.582%200%201%200-1.164%200c0%20.327.26.587.582.587z'%20fill='%23FF453A'/%3e%3c/svg%3e",ur="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%2328CD41'/%3e%3cpath%20d='M5.242%207.713a.42.42%200%200%200%20.363-.21L7.65%204.283c.05-.09.108-.188.108-.286%200-.202-.18-.332-.367-.332-.112%200-.224.072-.31.202l-1.857%202.98-.881-1.14c-.108-.144-.206-.18-.332-.18a.347.347%200%200%200-.344.354c0%20.099.04.193.103.278l1.092%201.342c.112.148.233.21.38.21z'%20fill='%2328CD41'/%3e%3c/svg%3e",fr={primary:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",primaryRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",success:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",error:"ds-bg-System-red ds-bg-opacity-[0.1] ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",errorRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",disabled:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-text-Text-primary active:ds-border-Fills-quintiary focus:ds-border-Fills-quintiary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]"},pr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},gr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-flex ds-flex-row ds-items-center ds-justify-start ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},kr=_.forwardRef((R,b)=>{var P=R,{color:e="primary",disabled:s=!1,textarea:t=!1,label:a,required:o=!1,caption:n,labelClass:c,InputDivClass:d,captionClass:f,className:p}=P,g=L(P,["color","disabled","textarea","label","required","caption","labelClass","InputDivClass","captionClass","className"]);return t?l.jsx(l.Fragment,{children:l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",d),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",c,pr[e]),children:[a," ",o&&l.jsx(Se,{})]}),l.jsx("textarea",M({disabled:s,className:w(y(fr[e],p))},g)),n&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:SmallSubheadRegular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),n]})]})}):l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",d),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:SmallSubheadRegular ds-mb-space075",c,pr[e]),children:[a," ",o&&l.jsx(Se,{})]}),l.jsx("input",M({ref:b,disabled:s,className:w(y(fr[e],p))},g)),n&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds-text-mediumCaption1Regular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),n]})]})});kr.displayName="Input";function Cr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e))for(s=0;s<e.length;s++)e[s]&&(t=Cr(e[s]))&&(a&&(a+=" "),a+=t);else for(s in e)e[s]&&(a&&(a+=" "),a+=s);return a}function Xt(){for(var e,s,t=0,a="";t<arguments.length;)(e=arguments[t++])&&(s=Cr(e))&&(a&&(a+=" "),a+=s);return a}const mr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,br=Xt,Er=(e,s)=>t=>{var a;if((s==null?void 0:s.variants)==null)return br(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:o,defaultVariants:n}=s,c=Object.keys(o).map(p=>{const g=t==null?void 0:t[p],b=n==null?void 0:n[p];if(g===null)return null;const R=mr(g)||mr(b);return o[p][R]}),d=t&&Object.entries(t).reduce((p,g)=>{let[b,R]=g;return R===void 0||(p[b]=R),p},{}),f=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let O=g,{class:b,className:R}=O,P=L(O,["class","className"]);return Object.entries(P).every(T=>{let[F,I]=T;return Array.isArray(I)?I.includes(M(M({},n),d)[F]):M(M({},n),d)[F]===I})?[...p,b,R]:p},[]);return br(e,c,f,t==null?void 0:t.class,t==null?void 0:t.className)},Kt=Er("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Sr=Q.forwardRef((o,a)=>{var n=o,{className:e,cardType:s}=n,t=L(n,["className","cardType"]);return l.jsx("div",M({ref:a,className:w(y(Kt({cardType:s,className:e}),"ds-rounded"),e)},t))});Sr.displayName="Card";const Tr=Q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});Tr.displayName="CardHeader";const _r=Q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-medium",e))},s))});_r.displayName="Title";const Nr=Q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-regular",e))},s))});Nr.displayName="Description";const Pr=Q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300 ",e))},s))});Pr.displayName="Content";const Ar=Q.forwardRef((a,t)=>{var o=a,{className:e}=o,s=L(o,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300",e))},s))});Ar.displayName="Footer";const Qt=Er("ds-grid zero:ds-grid-cols-4 ds-gap-x-8 mobile:ds-grid-cols-4 tablet:ds-grid-cols-6 desktop:ds-grid-cols-12 wide_desktop:ds-grid-cols-12 ds-w-full",{variants:{display:{grid:"ds-grid",inlineGrid:"ds-inline-grid"},gap:{gap0:"ds-gap0",gap100:"ds-gap-100",gap150:"ds-gap-150",gap200:"ds-gap-200",gap300:"ds-gap-300",gap400:"ds-gap-400",gap600:"ds-gap-600",gap800:"ds-gap-800",gap1000:"ds-gap-1000",gap1200:"ds-gap-1200",gap1600:"ds-gap-1600",gap2000:"ds-gap-2000"},gapX:{gap0:"ds-gap-x-0",gap100:"ds-gap-x-100",gap150:"ds-gap-x-150",gap200:"ds-gap-x-200",gap300:"ds-gap-x-300",gap400:"ds-gap-x-400",gap600:"ds-gap-x-600",gap800:"ds-gap-x-800",gap1000:"ds-gap-x-1000",gap1200:"ds-gap-x-1200",gap1600:"ds-gap-x-1600",gap2000:"ds-gap-x-2000"},gapY:{gap0:"ds-gap-y-0",gap100:"ds-gap-y-100",gap150:"ds-gap-y-150",gap200:"ds-gap-y-200",gap300:"ds-gap-y-300",gap400:"ds-gap-y-400",gap600:"ds-gap-y-600",gap800:"ds-gap-y-800",gap1000:"ds-gap-y-1000",gap1200:"ds-gap-y-1200",gap1600:"ds-gap-y-1600",gap2000:"ds-gap-y-2000"},justifyContent:{normal:"ds-justify-normal",start:"ds-justify-start",end:"ds-justify-end",center:"ds-justify-center",between:"ds-justify-between",around:"ds-justify-around",evenly:"ds-justify-evenly",stretch:"ds-justify-stretch"},justifyItems:{start:"ds-justify-items-start",end:"ds-justify-items-end",center:"ds-justify-items-center",stretch:"ds-justify-items-stretch"},alignContent:{normal:"ds-content-normal",center:"ds-content-center",start:"ds-content-start",end:"ds-content-end",between:"ds-content-between",around:"ds-content-around",evenly:"ds-content-evenly",baseline:"ds-content-baseline",stretch:"ds-content-stretch"},alignItems:{start:"ds-items-start",end:"ds-items-end",center:"ds-items-center",baseline:"ds-items-baseline",stretch:"ds-items-stretch"},placeContent:{center:"ds-place-content-center",start:"ds-place-content-start",end:"ds-place-content-end",between:"ds-place-content-between",around:"ds-place-content-around",evenly:"ds-place-content-evenly",baseline:"ds-place-content-baseline",stretch:"ds-place-content-stretch"},placeItems:{start:"ds-place-items-start",end:"ds-place-items-end",center:"ds-place-items-center",baseline:"ds-place-items-baseline",stretch:"ds-place-items-stretch"}}}),Fr=Q.forwardRef((o,a)=>{var n=o,{className:e,children:s}=n,t=L(n,["className","children"]);return l.jsx("div",ze(M({className:w(y(Qt({display:t==null?void 0:t.display,gap:t==null?void 0:t.gap,gapX:t==null?void 0:t.gapX,gapY:t==null?void 0:t.gapY,justifyContent:t==null?void 0:t.justifyContent,justifyItems:t==null?void 0:t.justifyItems,alignContent:t==null?void 0:t.alignContent,alignItems:t==null?void 0:t.alignItems,placeContent:t==null?void 0:t.placeContent,placeItems:t==null?void 0:t.placeItems,className:e}))),ref:a},t),{children:s}))});Fr.displayName="Grid";const hr=e=>{let s="";switch(e){case"STANDARD":case"STANDARD_LINE_SEPARATED":s="ds-font-semibold ds-text-Text-primary xSmallBodyEmphasized ds-tablet:SmallBodyEmphasized ds-desktop:MediumCalloutEmphasized";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400 xSmallBodyEmphasized ds-tablet:SmallCalloutRegular ds-desktop:MediumCalloutRegular";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary xSmallBodyEmphasized ds-tablet:SmallCalloutRegular ds-desktop:MediumCalloutRegular";break}return s},Ir=_.forwardRef(({className:e,items:s},t)=>{const[a,o]=_.useState(!1);return l.jsxs("div",{className:w(y(e,"ds-w-full ds-flex ds-flex-col")),ref:t,children:[l.jsx("div",{children:s.length>0&&s.map((n,c)=>{var d;return l.jsx("div",{children:l.jsxs("div",{className:y(n.key_name!=="total_amount"&&"line-items",a===!0&&"show"),children:[n.type==="STANDARD_LINE_SEPARATED"&&l.jsx("hr",{className:"ds-mt-3 ds-mb-1"}),l.jsxs("div",{className:y("ds-flex ds-flex-row ds-justify-between",c>0&&"ds-mt-2",c!==s.length&&n.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[l.jsx("span",{className:y("ds-me-3",n.key_name!=="total_amount"&&hr(n.type),((d=n.display_name)==null?void 0:d.toLocaleLowerCase())==="vat"&&"ds-uppercase",n.key_name==="total_amount"&&"xSmallBodyEmphasized ds-tablet:SmallCalloutEmphasized ds-desktop:MediumBodyEmphasized"),children:n.display_name}),l.jsx("span",{className:y(n.key_name!=="total_amount"&&hr(n.type),n.key_name==="total_amount"&&"xSmallBodyEmphasized ds-tablet:SmallCalloutEmphasized ds-desktop:MediumBodyEmphasized"),children:n.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${c}`)})}),l.jsx("div",{children:l.jsxs("span",{className:"ds-flex ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>o(!a),children:["See ",a?"less":"details"]})})]})});Ir.displayName="Booking_Quote_Card";const Zt="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23cr9x6s95oa)'%3e%3cpath%20d='M4.222%206.738c0%20.13.05.246.152.345l4.302%204.057a.475.475%200%200%200%20.353.141c.282%200%20.5-.204.5-.476a.483.483%200%200%200-.147-.34l-3.95-3.727%203.95-3.727a.493.493%200%200%200%20.146-.34c0-.273-.217-.477-.499-.477a.492.492%200%200%200-.353.136L4.374%206.392a.455.455%200%200%200-.152.346z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='cr9x6s95oa'%3e%3cpath%20fill='%23fff'%20transform='translate(.333%20.05)'%20d='M0%200h13.333v12.864H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",es="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.084%206.738a.46.46%200%200%200-.158-.346L5.63%202.33a.514.514%200%200%200-.358-.136.477.477%200%200%200-.353.817l3.95%203.727-3.95%203.727a.477.477%200%200%200%20.353.817c.14%200%20.26-.048.358-.142l4.296-4.057a.47.47%200%200%200%20.158-.345z'%20fill='%23fff'/%3e%3c/svg%3e",Mr=_.forwardRef(({images:e})=>{const[s,t]=_.useState(0),a=()=>{t(n=>n===e.length-1?0:n+1)},o=()=>{t(n=>n===0?e.length-1:n-1)};return l.jsx(l.Fragment,{children:l.jsxs("div",{className:"ds-relative ds-rounded-[4px] ds-w-full",children:[e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-left-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:o,children:l.jsx("img",{src:Zt,alt:"prev"})}),l.jsx("div",{className:"picture ds-w-full ds-rounded-[4px]",style:{backgroundImage:`url(${e[s]})`}}),e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-right-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:a,children:l.jsx("img",{src:es,alt:"next"})}),e.length>1&&l.jsx("ul",{className:"ds-absolute ds-flex ds-flex-row ds-bottom-1 ds-left-1/2 -ds-translate-x-1/2 ds-z-10",children:e.map((n,c)=>l.jsx("li",{"aria-description":n,className:w(y("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",c!==s&&"ds-bg-[rgba(255,255,255,0.5)]",c===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},c))})]})})});Mr.displayName="Image_Carousel";const zr=_.forwardRef(({title:e,content:s,expandIcon:t,collapseIcon:a,accordionClass:o,accordionHeaderClass:n,accordionTitleClass:c,accordionContentClass:d,isEnabled:f=!0,isExpanded:p=!0},g)=>{const[b,R]=_.useState(p),P=()=>{f&&R(!b)};return _.useEffect(()=>{f&&R(p)},[f,p]),l.jsxs("div",{className:w(y("silkhaus-accordion",o)),ref:g,children:[l.jsxs("div",{className:w(y("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",n,!f&&"ds-cursor-not-allowed",f&&"ds-cursor-pointer")),onClick:P,children:[l.jsx("div",{className:w(y(c)),children:e}),b?a||"-":t||"+"]}),b&&l.jsx("div",{className:w(y("silkhaus-accordion-content",d)),children:s})]})});zr.displayName="Accordion";function rs(...e){return w(y(e))}const Or=_.forwardRef(({checked:e=!1,onChange:s,disabled:t=!1,htmlId:a="wa"},o)=>l.jsxs("label",{className:rs("switch",t&&"disabled"),htmlFor:a,children:[l.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:o,disabled:t}),l.jsx("span",{className:"slider round",style:{opacity:t?.5:1,cursor:t?"not-allowed":"pointer"}})]}));Or.displayName="Switch";const Br=_.forwardRef((e,s)=>{const n=e,{open:t,children:a}=n,o=L(n,["open","children"]);return l.jsx("div",ze(M({ref:s,className:`dialog ${t?"open":""}`},o),{children:a}))});Br.displayName="Dialog";const Dr=_.forwardRef(({outerDivClassName:e="",banner:s="",title:t,description:a,primaryBtnText:o="Submit",showPrimaryBtn:n,secondaryBtnText:c="Cancel",showSecondaryBtn:d,onPrimaryBtnClick:f,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:b=!1},R)=>l.jsx("div",{className:w(e),children:l.jsxs("div",{className:w(y("ds-bg-white ds-w-full ds-wide_ds-desktop:ds-w-[528px] ds-desktop:ds-w-[528px] ds-tablet:ds-w-[528px] ds-border ds-rounded",s&&"ds-p-6")),ref:R,children:[s&&l.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),l.jsxs("div",{className:y(!s&&"ds-p-6 ds-border-t-4 ds-rounded-s ds-rounded-e ds-border-Background-accentEggplant-100"),children:[l.jsxs("div",{children:[l.jsx("h2",{className:y("MediumTitle1Emphasized ds-text-black ds-mb-0 ds-pb-4",s&&"ds-border-t-2 ds-border-Background-accentEggplant-100 ds-pt-4"),children:t}),a&&l.jsx("span",{className:"ds-text-black MediumBodyRegular",children:a})]}),l.jsxs("div",{className:y("ds-flex ds-flex-col ds-pt-4 ds-tablet:ds-grid ds-tablet:ds-grid-flow-row ds-tablet:ds-grid-cols-2 ds-tablet:ds-gap-x-4 ds-tablet:ds-flex-row",n&&d&&"ds-tablet:ds-justify-between ds-items-center",n&&!d&&"ds-tablet:ds-justify-end ds-items-center"),children:[l.jsx("div",{className:"ds-tablet:ds-mt-0 ds-mt-4 ds-w-full ds-tablet:ds-w-auto ds-flex ds-flex-col ds-order-2 ds-tablet:ds-order-1",children:d&&l.jsx(Ee,{color:"secondary",onClick:p,disabled:b,className:"MediumBodyEmphasized",size:"large",children:c})}),l.jsx("div",{className:"ds-w-full ds-flex ds-flex-col ds-tablet:ds-w-auto ds-order-1 ds-tablet:ds-order-2",children:n&&l.jsx(Ee,{color:"primary",onClick:f,disabled:g,className:"MediumBodyEmphasized",size:"large",children:o})})]})]})]})}));Dr.displayName="AlertDialog";const ts="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23jy0s9xho2a)'%3e%3cpath%20d='M6.647%2012.969a.925.925%200%200%200%20.82-.431l5.586-8.641c.14-.215.196-.405.196-.586%200-.475-.345-.811-.827-.811-.338%200-.54.116-.745.437l-5.054%208.009-2.589-3.28c-.193-.247-.4-.353-.692-.353-.492%200-.842.348-.842.825%200%20.207.071.404.247.614l3.088%203.81c.226.276.478.407.812.407z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='jy0s9xho2a'%3e%3cpath%20fill='%23fff'%20transform='translate(.667%20.667)'%20d='M0%200h14.667v14.667H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$e=_.forwardRef(({progress:e,text:s="",borderColor:t="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:o="48px",strokeWidth:n=3,textClass:c=""},d)=>{const f=parseInt(o)/2-4,p=2*Math.PI*f,g=p-e*p;return l.jsxs("div",{ref:d,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":t,"--progress-color":a,width:o,height:o},children:[l.jsx("span",{className:w(y("ds-absolute ds-top-1/2 ds-left-1/2 -ds-translate-x-1/2 -ds-translate-y-1/2 SmallCaption2Emphasized ds-text-nowrap",c)),children:s}),l.jsx("div",{className:"progress-ring",children:l.jsxs("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,children:[l.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:n,fill:"transparent",r:f.toString(),cx:(parseInt(o)/2).toString(),cy:(parseInt(o)/2).toString()}),l.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:n,fill:"transparent",r:f.toString(),cx:(parseInt(o)/2).toString(),cy:(parseInt(o)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $r=_.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:t=""},a)=>{var n,c;let o=0;for(let d=0;d<e.length;d++)(((n=e[d])==null?void 0:n.status)==="completed"||((c=e[d])==null?void 0:c.status)==="active")&&o++;return l.jsxs(l.Fragment,{children:[l.jsx("div",{ref:a,className:w(y("ds-hidden ds-tablet:ds-block ds-relative ds-h-[72px]",s)),children:l.jsxs("div",{className:"ds-relative ds-w-full ds-flex ds-items-center ds-flex-row ds-justify-between",children:[l.jsx("div",{className:"ds-absolute ds-left-0 ds-top-2/4 ds-h-0.5 ds-w-full -translate-y-2/4 ds-bg-Fills-quintiary"}),e.map((d,f)=>l.jsxs("div",{className:"ds-relative",children:[l.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ds-w-[22px] ds-h-[22px] ds-rounded ds-border ds-border-Background-accentEggplant-100 ${d.status==="active"||d.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
28
|
+
`,children:d.status==="completed"?l.jsx("span",{className:"ds-text-white ds-flex ds-justify-center ds-items-center",children:l.jsx("img",{src:ts,alt:"check-icon"})}):l.jsx("span",{className:`MediumCaption2Emphasized ${d.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:d.number})}),l.jsx("div",{className:"ds-text-black MediumCaption2Regular ds-mt-2 ds-absolute ds-text-nowrap ds-left-1/2 -ds-translate-x-1/2",children:d.title})]},f))]})}),l.jsx("div",{ref:a,className:w(y("ds-block ds-tablet:ds-hidden",t)),children:e.map((d,f)=>(d.status==="active"||d.status==="completed"&&f+1==e.length)&&l.jsxs("div",{className:"ds-flex ds-flex-row ds-justify-between ds-items-center",children:[l.jsx($e,{progress:o/e.length,text:`${f+1} of ${e.length}`}),l.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[l.jsx("span",{className:"SmallCalloutEmphasized",children:`Step ${f+1}: ${d==null?void 0:d.mobileTitle}`}),l.jsx("span",{className:"SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${d==null?void 0:d.mobileNextTitle}`})]})]},`mobile-stepper-${f}`))})]})});$r.displayName="Stepper";const ss="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23rma6vptgva)'%20fill='%23000'%20fill-opacity='.85'%3e%3cpath%20d='M5.727%2010.882h4.265a.563.563%200%200%200%20.572-.572V4.804a.562.562%200%200%200-.572-.564.555.555%200%200%200-.564.564v4.943h-3.7a.557.557%200%200%200-.573.563c0%20.327.245.572.572.572z'/%3e%3cpath%20d='M10%2018.333c4.559%200%208.333-3.782%208.333-8.333%200-4.559-3.782-8.333-8.341-8.333-4.55%200-8.325%203.774-8.325%208.333%200%204.55%203.782%208.333%208.333%208.333zm0-1.389A6.91%206.91%200%200%201%203.064%2010a6.904%206.904%200%200%201%206.928-6.944A6.925%206.925%200%200%201%2016.945%2010%206.918%206.918%200%200%201%2010%2016.944z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='rma6vptgva'%3e%3cpath%20fill='%23fff'%20d='M0%200h20v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Lr=_.forwardRef(({time:e,text:s="",outerDivClass:t=""},a)=>{const[o,n]=_.useState(e);_.useEffect(()=>{const f=setInterval(()=>{n(p=>p<=1?(clearInterval(f),0):p-1)},1e3);return()=>{clearInterval(f)}},[o]),_.useEffect(()=>{n(e)},[e]);const d=(f=>{const p=Math.floor(f/3600),g=Math.floor(f%3600/60),b=f%60;return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(b).padStart(2,"0")}`})(o);return l.jsxs("div",{ref:a,className:w(y("ds-flex ds-flex-row ds-justify-start ds-items-center",t)),children:[l.jsx("img",{src:ss,alt:"clock",className:"ds-w-5 ds-h-5"}),l.jsx("div",{className:"ds-ms-[18px] ds-tablet:ds-ms-2 xSmallCalloutEmphasized ds-tablet:MediumCalloutEmphasized",children:s}),l.jsx("div",{className:"ds-ms-1 xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:MediumCalloutEmphasized",children:d})]})});Lr.displayName="Timer";exports.Accordion=zr;exports.AlertDialog=Dr;exports.Asterisk=Se;exports.BookingQuoteCard=Ir;exports.Button=Ee;exports.Card=Sr;exports.CardContent=Pr;exports.CardDescription=Nr;exports.CardFooter=Ar;exports.CardHeader=Tr;exports.CardTitle=_r;exports.Dialog=Br;exports.Grid=Fr;exports.ImageCarousel=Mr;exports.Input=kr;exports.RoundedProgressBar=$e;exports.Stepper=$r;exports.Switch=Or;exports.Timer=Lr;
|
package/dist/index.d.ts
CHANGED
|
@@ -43,9 +43,9 @@ declare interface AsteriskProps {
|
|
|
43
43
|
className?: string;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export declare const BookingQuoteCard:
|
|
46
|
+
export declare const BookingQuoteCard: React_2.ForwardRefExoticComponent<BookingQuoteCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
47
47
|
|
|
48
|
-
export declare interface BookingQuoteCardProps extends
|
|
48
|
+
export declare interface BookingQuoteCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
49
49
|
items: BookingQuoteLineItemType[];
|
|
50
50
|
}
|
|
51
51
|
|