design-system-silkhaus 0.0.76 → 0.0.77
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 +0 -1
- package/dist/index.js +259 -259
- 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 Re=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(Re)for(var t of Re(s))ar.call(s,t)&&tr(e,t,s[t]);return e},Oe=(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&&Re)for(var a of Re(e))s.indexOf(a)<0&&ar.call(e,a)&&(t[a]=e[a]);return t};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=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(S);var ze={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 ht(){if(nr)return ce;nr=1;var e=S,s=Symbol.for("react.element"),t=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function
|
|
9
|
+
*/var nr;function ht(){if(nr)return ce;nr=1;var e=S,s=Symbol.for("react.element"),t=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(c,f,p){var g,b={},k=null,P=null;p!==void 0&&(k=""+p),f.key!==void 0&&(k=""+f.key),f.ref!==void 0&&(P=f.ref);for(g in f)a.call(f,g)&&!o.hasOwnProperty(g)&&(b[g]=f[g]);if(c&&c.defaultProps)for(g in f=c.defaultProps,f)b[g]===void 0&&(b[g]=f[g]);return{$$typeof:s,type:c,key:k,ref:P,props:b,_owner:n.current}}return ce.Fragment=t,ce.jsx=i,ce.jsxs=i,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 xt(){return or||(or=1,process.env.NODE_ENV!=="production"&&function(){var e=S,s=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),
|
|
18
|
-
`+Te+r}}var Ne=!1,ve;{var qr=typeof WeakMap=="function"?WeakMap:Map;ve=new qr}function Ve(r,
|
|
17
|
+
*/var or;function xt(){return or||(or=1,process.env.NODE_ENV!=="production"&&function(){var e=S,s=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=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"),k=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),z=Symbol.iterator,T="@@iterator";function F(r){if(r===null||typeof r!="object")return null;var d=z&&r[z]||r[T];return typeof d=="function"?d:null}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function _(r){{for(var d=arguments.length,u=new Array(d>1?d-1:0),m=1;m<d;m++)u[m-1]=arguments[m];ge("error",r,u)}}function ge(r,d,u){{var m=I.ReactDebugCurrentFrame,j=m.getStackAddendum();j!==""&&(d+="%s",u=u.concat([j]));var E=u.map(function(v){return String(v)});E.unshift("Warning: "+d),Function.prototype.apply.call(console[r],console,E)}}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===o||xe||r===n||r===p||r===g||he||r===P||ae||me||be||typeof r=="object"&&r!==null&&(r.$$typeof===k||r.$$typeof===b||r.$$typeof===i||r.$$typeof===c||r.$$typeof===f||r.$$typeof===Z||r.getModuleId!==void 0))}function oe(r,d,u){var m=r.displayName;if(m)return m;var j=d.displayName||d.name||"";return j!==""?u+"("+j+")":u}function R(r){return r.displayName||"Context"}function B(r){if(r==null)return null;if(typeof r.tag=="number"&&_("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 o:return"Profiler";case n:return"StrictMode";case p:return"Suspense";case g:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case c:var d=r;return R(d)+".Consumer";case i:var u=r;return R(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 k:{var j=r,E=j._payload,v=j._init;try{return B(v(E))}catch(x){return null}}}return null}var D=Object.assign,q=0,J,de,ee,G,le,Y,X;function Le(){}Le.__reactDisabledLog=!0;function Vr(){{if(q===0){J=console.log,de=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:de}),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&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Se=I.ReactCurrentDispatcher,Te;function ye(r,d,u){{if(Te===void 0)try{throw Error()}catch(j){var m=j.stack.trim().match(/\n( *(at )?)/);Te=m&&m[1]||""}return`
|
|
18
|
+
`+Te+r}}var Ne=!1,ve;{var qr=typeof WeakMap=="function"?WeakMap:Map;ve=new qr}function Ve(r,d){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 E;E=Se.current,Se.current=null,Vr();try{if(d){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
19
|
`),O=m.stack.split(`
|
|
20
20
|
`),N=x.length-1,A=O.length-1;N>=1&&A>=0&&x[N]!==O[A];)A--;for(;N>=1&&A>=0;N--,A--)if(x[N]!==O[A]){if(N!==1||A!==1)do if(N--,A--,A<0||x[N]!==O[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,Se.current=
|
|
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,Se.current=E,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,d,u){return Ve(r,!1)}function Yr(r){var d=r.prototype;return!!(d&&d.isReactComponent)}function we(r,d,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,d,u);case k:{var m=r,j=m._payload,E=m._init;try{return we(E(j),d,u)}catch(v){}}}return""}var je=Object.prototype.hasOwnProperty,We={},qe=I.ReactDebugCurrentFrame;function ke(r){if(r){var d=r._owner,u=we(r.type,r._source,d?d.type:null);qe.setExtraStackFrame(u)}else qe.setExtraStackFrame(null)}function Ur(r,d,u,m,j){{var E=Function.call.bind(je);for(var v in r)if(E(r,v)){var x=void 0;try{if(typeof r[v]!="function"){var O=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 O.name="Invariant Violation",O}x=r[v](d,v,m,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(N){x=N}x&&!(x instanceof Error)&&(ke(j),_("%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),ke(null)),x instanceof Error&&!(x.message in We)&&(We[x.message]=!0,ke(j),_("Failed %s type: %s",u,x.message),ke(null))}}}var Hr=Array.isArray;function Pe(r){return Hr(r)}function Jr(r){{var d=typeof Symbol=="function"&&Symbol.toStringTag,u=d&&r[Symbol.toStringTag]||r.constructor.name||"Object";return u}}function Xr(r){try{return Ge(r),!1}catch(d){return!0}}function Ge(r){return""+r}function Ye(r){if(Xr(r))return _("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 ie=I.ReactCurrentOwner,Kr={key:!0,ref:!0,__self:!0,__source:!0},Ue,He,Ae;Ae={};function Qr(r){if(je.call(r,"ref")){var d=Object.getOwnPropertyDescriptor(r,"ref").get;if(d&&d.isReactWarning)return!1}return r.ref!==void 0}function Zr(r){if(je.call(r,"key")){var d=Object.getOwnPropertyDescriptor(r,"key").get;if(d&&d.isReactWarning)return!1}return r.key!==void 0}function et(r,d){if(typeof r.ref=="string"&&ie.current&&d&&ie.current.stateNode!==d){var u=B(ie.current.type);Ae[u]||(_('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(ie.current.type),r.ref),Ae[u]=!0)}}function rt(r,d){{var u=function(){Ue||(Ue=!0,_("%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)",d))};u.isReactWarning=!0,Object.defineProperty(r,"key",{get:u,configurable:!0})}}function tt(r,d){{var u=function(){He||(He=!0,_("%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)",d))};u.isReactWarning=!0,Object.defineProperty(r,"ref",{get:u,configurable:!0})}}var st=function(r,d,u,m,j,E,v){var x={$$typeof:s,type:r,key:d,ref:u,props:v,_owner:E};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,d,u,m,j){{var E,v={},x=null,O=null;u!==void 0&&(Ye(u),x=""+u),Zr(d)&&(Ye(d.key),x=""+d.key),Qr(d)&&(O=d.ref,et(d,j));for(E in d)je.call(d,E)&&!Kr.hasOwnProperty(E)&&(v[E]=d[E]);if(r&&r.defaultProps){var N=r.defaultProps;for(E in N)v[E]===void 0&&(v[E]=N[E])}if(x||O){var A=typeof r=="function"?r.displayName||r.name||"Unknown":r;x&&rt(v,A),O&&tt(v,A)}return st(r,x,O,j,m,ie.current,v)}}var Fe=I.ReactCurrentOwner,Je=I.ReactDebugCurrentFrame;function re(r){if(r){var d=r._owner,u=we(r.type,r._source,d?d.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
|
-
Check the render method of \``+r+"`."}return""}}function nt(r){{if(r!==void 0){var
|
|
23
|
+
Check the render method of \``+r+"`."}return""}}function nt(r){{if(r!==void 0){var d=r.fileName.replace(/^.*[\\\/]/,""),u=r.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+
|
|
25
|
+
Check your code at `+d+":"+u+"."}return""}}var Ke={};function ot(r){{var d=Xe();if(!d){var u=typeof r=="string"?r:r.displayName||r.name;u&&(d=`
|
|
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!==Fe.current&&(m=" It was passed a child from "+D(r._owner.type)+"."),re(r),_('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=D(i);Ur(u,r.props,"prop",m,r)}else if(i.PropTypes!==void 0&&!Ie){Ie=!0;var j=D(i);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&_("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),_("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),_("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 O=nt(j);O?x+=O:x+=Xe();var N;r===null?N="null":Pe(r)?N="array":r!==void 0&&r.$$typeof===s?(N="<"+(D(r.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):N=typeof r,_("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 _("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"?ze.exports=ht():ze.exports=xt();var l=ze.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 n=e.length;for(s=0;s<n;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="",n=arguments.length;t<n;t++)(e=arguments[t])&&(s=xr(e))&&(a&&(a+=" "),a+=s);return a}const Be="-";function yt(e){const s=wt(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;function n(d){const c=d.split(Be);return c[0]===""&&c.length!==1&&c.shift(),yr(c,s)||vt(d)}function o(d,c){const f=t[d]||[];return c&&a[d]?[...f,...a[d]]:f}return{getClassGroupId:n,getConflictingClassGroupIds:o}}function yr(e,s){var d;if(e.length===0)return s.classGroupId;const t=e[0],a=s.nextPart.get(t),n=a?yr(e.slice(1),a):void 0;if(n)return n;if(s.validators.length===0)return;const o=e.join(Be);return(d=s.validators.find(({validator:c})=>c(o)))==null?void 0:d.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(([o,d])=>{De(d,a,o,s)}),a}function De(e,s,t,a){e.forEach(n=>{if(typeof n=="string"){const o=n===""?s:lr(s,n);o.classGroupId=t;return}if(typeof n=="function"){if(jt(n)){De(n(a),s,t,a);return}s.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([o,d])=>{De(d,lr(s,o),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 n=a.map(o=>typeof o=="string"?s+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([d,c])=>[s+d,c])):o);return[t,n]}):e}function kt(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,t=new Map,a=new Map;function n(o,d){t.set(o,d),s++,s>e&&(s=0,a=t,t=new Map)}return{get(o){let d=t.get(o);if(d!==void 0)return d;if((d=a.get(o))!==void 0)return n(o,d),d},set(o,d){t.has(o)?t.set(o,d):n(o,d)}}}const vr="!";function Ct(e){const s=e.separator,t=s.length===1,a=s[0],n=s.length;return function(d){const c=[];let f=0,p=0,g;for(let T=0;T<d.length;T++){let F=d[T];if(f===0){if(F===a&&(t||d.slice(T,T+n)===s)){c.push(d.slice(p,T)),p=T+n;continue}if(F==="/"){g=T;continue}}F==="["?f++:F==="]"&&f--}const b=c.length===0?d:d.substring(p),R=b.startsWith(vr),P=R?b.substring(1):b,z=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:R,baseClassName:P,maybePostfixModifierPosition:z}}}function _t(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 M({cache:kt(e.cacheSize),splitModifiers:Ct(e)},yt(e))}const St=/\s+/;function Tt(e,s){const{splitModifiers:t,getClassGroupId:a,getConflictingClassGroupIds:n}=s,o=new Set;return e.trim().split(St).map(d=>{const{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:g}=t(d);let b=a(g?p.substring(0,g):p),R=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:d};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:d};R=!1}const P=_t(c).join(":");return{isTailwindClass:!0,modifierId:f?P+vr:P,classGroupId:b,originalClassName:d,hasPostfixModifier:R}}).reverse().filter(d=>{if(!d.isTailwindClass)return!0;const{modifierId:c,classGroupId:f,hasPostfixModifier:p}=d,g=c+f;return o.has(g)?!1:(o.add(g),n(f,p).forEach(b=>o.add(c+b)),!0)}).reverse().map(d=>d.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,n,o=d;function d(f){const p=s.reduce((g,b)=>b(g),e());return t=Et(p),a=t.cache.get,n=t.cache.set,o=c,c(f)}function c(f){const p=a(f);if(p)return p;const g=Tt(f,t);return n(f,g),g}return function(){return o(Nt.apply(null,arguments))}}function E(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$/,Ot=/^(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 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 Bt(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)&&!Ot.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"),n=E("borderColor"),o=E("borderRadius"),d=E("borderSpacing"),c=E("borderWidth"),f=E("contrast"),p=E("grayscale"),g=E("hueRotate"),b=E("invert"),R=E("gap"),P=E("gradientColorStops"),z=E("gradientColorStopPositions"),T=E("inset"),F=E("margin"),I=E("opacity"),_=E("padding"),ge=E("saturate"),ae=E("scale"),me=E("sepia"),be=E("skew"),he=E("space"),xe=E("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",h,s],k=()=>[h,s],D=()=>["",W,U],B=()=>["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:D(),contrast:Y(),grayscale:G(),hueRotate:X(),invert:G(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Bt,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":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,h]},h]}],"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",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:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],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:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[W,h]}],"outline-w":[{outline:[W,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"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":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"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-bg-Background-accentEggplant-5 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"},_e=S.forwardRef((d,o)=>{var c=d,{color:e="primary",size:s="small",disabled:t=!1,className:a}=c,n=L(c,["color","size","disabled","className"]);return l.jsx("button",M({ref:o,disabled:t,className:w(y(dr[e],dr[s],a))},n))});_e.displayName="Button";const Ee=S.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 ds_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 ds_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 ds_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 ds_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 ds_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 ds_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=S.forwardRef((R,b)=>{var P=R,{color:e="primary",disabled:s=!1,textarea:t=!1,label:a,required:n=!1,caption:o,labelClass:d,InputDivClass:c,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",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",d,pr[e]),children:[a," ",n&&l.jsx(Ee,{})]}),l.jsx("textarea",M({disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds_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"))}),o]})]})}):l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-mb-space075",d,pr[e]),children:[a," ",n&&l.jsx(Ee,{})]}),l.jsx("input",M({ref:b,disabled:s,className:w(y(fr[e],p))},g)),o&&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"))}),o]})]})});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,_r=(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:n,defaultVariants:o}=s,d=Object.keys(n).map(p=>{const g=t==null?void 0:t[p],b=o==null?void 0:o[p];if(g===null)return null;const R=mr(g)||mr(b);return n[p][R]}),c=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,P=L(z,["class","className"]);return Object.entries(P).every(T=>{let[F,I]=T;return Array.isArray(I)?I.includes(M(M({},o),c)[F]):M(M({},o),c)[F]===I})?[...p,b,R]:p},[]);return br(e,d,f,t==null?void 0:t.class,t==null?void 0:t.className)},Kt=_r("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Er=Q.forwardRef((n,a)=>{var o=n,{className:e,cardType:s}=o,t=L(o,["className","cardType"]);return l.jsx("div",M({ref:a,className:w(y(Kt({cardType:s,className:e}),"ds-rounded"),e)},t))});Er.displayName="Card";const Sr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["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))});Sr.displayName="CardHeader";const Tr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-medium",e))},s))});Tr.displayName="Title";const Nr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["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 n=a,{className:e}=n,s=L(n,["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 n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300",e))},s))});Ar.displayName="Footer";const Qt=_r("ds-grid ds-zero:ds-grid-cols-4 ds-gap-x-8 ds-mobile:ds-grid-cols-4 ds-tablet:ds-grid-cols-6 ds-desktop:ds-grid-cols-12 ds-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((n,a)=>{var o=n,{className:e,children:s}=o,t=L(o,["className","children"]);return l.jsx("div",Oe(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 ds_xSmallBodyEmphasized ds-tablet:ds_SmallBodyEmphasized ds-desktop:ds_MediumCalloutEmphasized";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400 ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary ds_xSmallCalloutRegular ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break}return s},Ir=S.forwardRef(({className:e,items:s,isExpandedInMobile:t},a)=>{const[n,o]=S.useState(!1);return S.useEffect(()=>{t&&o(t)},[t]),l.jsxs("div",{className:w(y(e,"ds-w-full ds-flex ds-flex-col")),ref:a,children:[l.jsx("div",{children:s.length>0&&s.map((d,c)=>{var f;return l.jsx("div",{children:l.jsxs("div",{className:y(d.key_name!=="total_amount"&&"line-items",n===!0&&"show"),children:[d.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&&d.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[l.jsx("span",{className:y("ds-me-3",d.key_name!=="total_amount"&&hr(d.type),((f=d.display_name)==null?void 0:f.toLocaleLowerCase())==="vat"&&"ds-uppercase",d.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:d.display_name}),l.jsx("span",{className:y(!["total_amount"].includes(d.key_name)&&d.type!=="SLASHED"&&hr(d.type),d.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized",d.type==="SLASHED"&&"ds-line-through ds-font-normal ds-text-Text-secondary"),children:d.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${c}`)})}),l.jsx("div",{children:l.jsxs("span",{className:"ds-flex ds-mt-3 ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer ds_xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>o(!n),children:["See ",n?"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=S.forwardRef(({images:e})=>{const[s,t]=S.useState(0),a=()=>{t(o=>o===e.length-1?0:o+1)},n=()=>{t(o=>o===0?e.length-1:o-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:n,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((o,d)=>l.jsx("li",{"aria-description":o,className:w(y("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",d!==s&&"ds-bg-[rgba(255,255,255,0.5)]",d===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},d))})]})})});Mr.displayName="Image_Carousel";const Or=S.forwardRef(({title:e,content:s,expandIcon:t,collapseIcon:a,accordionClass:n,accordionHeaderClass:o,accordionTitleClass:d,accordionContentClass:c,isEnabled:f=!0,isExpanded:p=!0},g)=>{const[b,R]=S.useState(p),P=()=>{f&&R(!b)};return S.useEffect(()=>{f&&R(p)},[f,p]),l.jsxs("div",{className:w(y("silkhaus-accordion",n)),ref:g,children:[l.jsxs("div",{className:w(y("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",o,!f&&"ds-cursor-not-allowed",f&&"ds-cursor-pointer")),onClick:P,children:[l.jsx("div",{className:w(y(d)),children:e}),b?a||"-":t||"+"]}),b&&l.jsx("div",{className:w(y("silkhaus-accordion-content",c)),children:s})]})});Or.displayName="Accordion";function rs(...e){return w(y(e))}const zr=S.forwardRef(({checked:e=!1,onChange:s,disabled:t=!1,htmlId:a="wa"},n)=>l.jsxs("label",{className:rs("switch",t&&"disabled"),htmlFor:a,children:[l.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:n,disabled:t}),l.jsx("span",{className:"slider round",style:{opacity:t?.5:1,cursor:t?"not-allowed":"pointer"}})]}));zr.displayName="Switch";const Dr=S.forwardRef((e,s)=>{const o=e,{open:t,children:a}=o,n=L(o,["open","children"]);return l.jsx("div",Oe(M({ref:s,className:`dialog ${t?"open":""}`},n),{children:a}))});Dr.displayName="Dialog";const Br=S.forwardRef(({outerDivClassName:e="",banner:s="",title:t,description:a,primaryBtnText:n="Submit",showPrimaryBtn:o,secondaryBtnText:d="Cancel",showSecondaryBtn:c,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("ds_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",o&&c&&"ds-tablet:ds-justify-between ds-items-center",o&&!c&&"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:c&&l.jsx(_e,{color:"secondary",onClick:p,disabled:b,className:"ds_MediumBodyEmphasized",size:"large",children:d})}),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:o&&l.jsx(_e,{color:"primary",onClick:f,disabled:g,className:"ds_MediumBodyEmphasized",size:"large",children:n})})]})]})]})}));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=S.forwardRef(({progress:e,text:s="",borderColor:t="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:n="48px",strokeWidth:o=3,textClass:d=""},c)=>{const f=parseInt(n)/2-4,p=2*Math.PI*f,g=p-e*p;return l.jsxs("div",{ref:c,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":t,"--progress-color":a,width:n,height:n},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 ds_SmallCaption2Emphasized ds-text-nowrap",d)),children:s}),l.jsx("div",{className:"progress-ring",children:l.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,children:[l.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString()}),l.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $r=S.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:t=""},a)=>{var o,d;let n=0;for(let c=0;c<e.length;c++)(((o=e[c])==null?void 0:o.status)==="completed"||((d=e[c])==null?void 0:d.status)==="active")&&n++;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((c,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 ${c.status==="active"||c.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
28
|
-
`,children:c.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:`ds_MediumCaption2Emphasized ${c.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:c.number})}),l.jsx("div",{className:"ds-text-black ds-block ds_MediumCaption2Regular ds-mt-2 ds-absolute ds-text-nowrap ds-left-1/2 -ds-translate-x-1/2",children:c.title})]},f))]})}),l.jsx("div",{ref:a,className:w(y("ds-block ds-tablet:ds-hidden",t)),children:e.map((c,f)=>(c.status==="active"||c.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:n/e.length,text:`${f+1} / ${e.length}`}),l.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[l.jsx("span",{className:"ds_SmallCalloutEmphasized",children:`Step ${f+1}: ${c==null?void 0:c.mobileTitle}`}),l.jsx("span",{className:"ds_SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${c==null?void 0:c.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=S.forwardRef(({time:e,text:s="",outerDivClass:t=""},a)=>{const[n,o]=S.useState(e);S.useEffect(()=>{const f=setInterval(()=>{o(p=>p<=1?(clearInterval(f),0):p-1)},1e3);return()=>{clearInterval(f)}},[n]),S.useEffect(()=>{o(e)},[e]);const c=(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")}`})(n);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 ds_xSmallCalloutEmphasized ds-tablet:ds_MediumCalloutEmphasized",children:s}),l.jsx("div",{className:"ds-ms-1 ds_xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:ds_MediumCalloutEmphasized",children:c})]})});Lr.displayName="Timer";exports.Accordion=Or;exports.AlertDialog=
|
|
27
|
+
Check the top-level render call using <`+u+">.")}return d}}function Qe(r,d){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var u=ot(d);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),_('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,d){{if(typeof r!="object")return;if(Pe(r))for(var u=0;u<r.length;u++){var m=r[u];Me(m)&&Qe(m,d)}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 E=j.call(r),v;!(v=E.next()).done;)Me(v.value)&&Qe(v.value,d)}}}function dt(r){{var d=r.type;if(d==null||typeof d=="string")return;var u;if(typeof d=="function")u=d.propTypes;else if(typeof d=="object"&&(d.$$typeof===f||d.$$typeof===b))u=d.propTypes;else return;if(u){var m=B(d);Ur(u,r.props,"prop",m,r)}else if(d.PropTypes!==void 0&&!Ie){Ie=!0;var j=B(d);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof d.getDefaultProps=="function"&&!d.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(r){{for(var d=Object.keys(r.props),u=0;u<d.length;u++){var m=d[u];if(m!=="children"&&m!=="key"){re(r),_("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),_("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}function er(r,d,u,m,j,E){{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 O=nt(j);O?x+=O: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,_("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,d,u,j,E);if(A==null)return A;if(v){var $=d.children;if($!==void 0)if(m)if(Pe($)){for(var te=0;te<$.length;te++)Ze($[te],r);Object.freeze&&Object.freeze($)}else _("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):dt(A),A}}function it(r,d,u){return er(r,d,u,!0)}function ct(r,d,u){return er(r,d,u,!1)}var ut=ct,ft=it;ue.Fragment=a,ue.jsx=ut,ue.jsxs=ft}()),ue}process.env.NODE_ENV==="production"?ze.exports=ht():ze.exports=xt();var l=ze.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 n=e.length;for(s=0;s<n;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="",n=arguments.length;t<n;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 n(i){const c=i.split(De);return c[0]===""&&c.length!==1&&c.shift(),yr(c,s)||vt(i)}function o(i,c){const f=t[i]||[];return c&&a[i]?[...f,...a[i]]:f}return{getClassGroupId:n,getConflictingClassGroupIds:o}}function yr(e,s){var i;if(e.length===0)return s.classGroupId;const t=e[0],a=s.nextPart.get(t),n=a?yr(e.slice(1),a):void 0;if(n)return n;if(s.validators.length===0)return;const o=e.join(De);return(i=s.validators.find(({validator:c})=>c(o)))==null?void 0:i.classGroupId}const dr=/^\[(.+)\]$/;function vt(e){if(dr.test(e)){const s=dr.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 kt(Object.entries(e.classGroups),t).forEach(([o,i])=>{Be(i,a,o,s)}),a}function Be(e,s,t,a){e.forEach(n=>{if(typeof n=="string"){const o=n===""?s:lr(s,n);o.classGroupId=t;return}if(typeof n=="function"){if(jt(n)){Be(n(a),s,t,a);return}s.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([o,i])=>{Be(i,lr(s,o),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 kt(e,s){return s?e.map(([t,a])=>{const n=a.map(o=>typeof o=="string"?s+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,c])=>[s+i,c])):o);return[t,n]}):e}function Rt(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,t=new Map,a=new Map;function n(o,i){t.set(o,i),s++,s>e&&(s=0,a=t,t=new Map)}return{get(o){let i=t.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){t.has(o)?t.set(o,i):n(o,i)}}}const vr="!";function Et(e){const s=e.separator,t=s.length===1,a=s[0],n=s.length;return function(i){const c=[];let f=0,p=0,g;for(let T=0;T<i.length;T++){let F=i[T];if(f===0){if(F===a&&(t||i.slice(T,T+n)===s)){c.push(i.slice(p,T)),p=T+n;continue}if(F==="/"){g=T;continue}}F==="["?f++:F==="]"&&f--}const b=c.length===0?i:i.substring(p),k=b.startsWith(vr),P=k?b.substring(1):b,z=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:z}}}function _t(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 Ct(e){return M({cache:Rt(e.cacheSize),splitModifiers:Et(e)},yt(e))}const St=/\s+/;function Tt(e,s){const{splitModifiers:t,getClassGroupId:a,getConflictingClassGroupIds:n}=s,o=new Set;return e.trim().split(St).map(i=>{const{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:g}=t(i);let b=a(g?p.substring(0,g):p),k=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:i};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:i};k=!1}const P=_t(c).join(":");return{isTailwindClass:!0,modifierId:f?P+vr:P,classGroupId:b,originalClassName:i,hasPostfixModifier:k}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:c,classGroupId:f,hasPostfixModifier:p}=i,g=c+f;return o.has(g)?!1:(o.add(g),n(f,p).forEach(b=>o.add(c+b)),!0)}).reverse().map(i=>i.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,n,o=i;function i(f){const p=s.reduce((g,b)=>b(g),e());return t=Ct(p),a=t.cache.get,n=t.cache.set,o=c,c(f)}function c(f){const p=a(f);if(p)return p;const g=Tt(f,t);return n(f,g),g}return function(){return o(Nt.apply(null,arguments))}}function C(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$/,Ot=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zt=/^-?((\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 Ee(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,kr)}function Vt(e){return se(e,"position",kr)}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)&&!Ot.test(e)}function kr(){return!1}function Ut(e){return zt.test(e)}function Ht(e){return Bt.test(e)}function Jt(){const e=C("colors"),s=C("spacing"),t=C("blur"),a=C("brightness"),n=C("borderColor"),o=C("borderRadius"),i=C("borderSpacing"),c=C("borderWidth"),f=C("contrast"),p=C("grayscale"),g=C("hueRotate"),b=C("invert"),k=C("gap"),P=C("gradientColorStops"),z=C("gradientColorStopPositions"),T=C("inset"),F=C("margin"),I=C("opacity"),_=C("padding"),ge=C("saturate"),ae=C("scale"),me=C("sepia"),be=C("skew"),he=C("space"),xe=C("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",h,s],R=()=>[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"],de=()=>["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,Ee],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:R(),borderWidth:B(),contrast:Y(),grayscale:G(),hueRotate:X(),invert:G(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[Dt,U],inset:oe(),margin:oe(),opacity:Y(),padding:R(),saturate:Y(),scale:Y(),sepia:G(),skew:X(),space:R(),translate:R()},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:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"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:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],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",Ee]}],"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,Ee]}],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:R()}],"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:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"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":de()}],"bg-blend":[{"bg-blend":de()}],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":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["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":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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,Ee]}],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),ir={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-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",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"},_e=S.forwardRef((i,o)=>{var c=i,{color:e="primary",size:s="small",disabled:t=!1,className:a}=c,n=L(c,["color","size","disabled","className"]);return l.jsx("button",M({ref:o,disabled:t,className:w(y(ir[e],ir[s],a,""))},n))});_e.displayName="Button";const Ce=S.forwardRef(({className:e=""},s)=>{const a=w("ds-text-System-red ds-ms-[2px]",e);return l.jsx("span",{className:a,ref:s,children:"*"})});Ce.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 ds_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 disabled:ds-text-Text-secondary 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 ds_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 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 ds_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 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 ds_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 ds_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-secondary ds_MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-placeholder-Fills-quadrutery 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"},Rr=S.forwardRef((k,b)=>{var P=k,{color:e="primary",disabled:s=!1,textarea:t=!1,label:a,required:n=!1,caption:o,labelClass:i,InputDivClass:c,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",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",i,pr[e]),children:[a," ",n&&l.jsx(Ce,{})]}),l.jsx("textarea",M({disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds_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"))}),o]})]})}):l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-mb-space075",i,pr[e]),children:[a," ",n&&l.jsx(Ce,{})]}),l.jsx("input",M({ref:b,disabled:s,className:w(y(fr[e],p))},g)),o&&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"))}),o]})]})});Rr.displayName="Input";function Er(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=Er(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=Er(e))&&(a&&(a+=" "),a+=s);return a}const mr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,br=Xt,_r=(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:n,defaultVariants:o}=s,i=Object.keys(n).map(p=>{const g=t==null?void 0:t[p],b=o==null?void 0:o[p];if(g===null)return null;const k=mr(g)||mr(b);return n[p][k]}),c=t&&Object.entries(t).reduce((p,g)=>{let[b,k]=g;return k===void 0||(p[b]=k),p},{}),f=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let z=g,{class:b,className:k}=z,P=L(z,["class","className"]);return Object.entries(P).every(T=>{let[F,I]=T;return Array.isArray(I)?I.includes(M(M({},o),c)[F]):M(M({},o),c)[F]===I})?[...p,b,k]:p},[]);return br(e,i,f,t==null?void 0:t.class,t==null?void 0:t.className)},Kt=_r("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Cr=Q.forwardRef((n,a)=>{var o=n,{className:e,cardType:s}=o,t=L(o,["className","cardType"]);return l.jsx("div",M({ref:a,className:w(y(Kt({cardType:s,className:e}),"ds-rounded"),e)},t))});Cr.displayName="Card";const Sr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["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))});Sr.displayName="CardHeader";const Tr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-medium",e))},s))});Tr.displayName="Title";const Nr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["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 n=a,{className:e}=n,s=L(n,["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 n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300",e))},s))});Ar.displayName="Footer";const Qt=_r("ds-grid ds-zero:ds-grid-cols-4 ds-gap-x-8 ds-mobile:ds-grid-cols-4 ds-tablet:ds-grid-cols-6 ds-desktop:ds-grid-cols-12 ds-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((n,a)=>{var o=n,{className:e,children:s}=o,t=L(o,["className","children"]);return l.jsx("div",Oe(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 ds_xSmallBodyEmphasized ds-tablet:ds_SmallBodyEmphasized ds-desktop:ds_MediumCalloutEmphasized";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400 ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary ds_xSmallCalloutRegular ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break}return s},Ir=S.forwardRef(({className:e,items:s,isExpandedInMobile:t},a)=>{const[n,o]=S.useState(!1);return S.useEffect(()=>{t&&o(t)},[t]),l.jsxs("div",{className:w(y(e,"ds-w-full ds-flex ds-flex-col")),ref:a,children:[l.jsx("div",{children:s.length>0&&s.map((i,c)=>{var f;return l.jsx("div",{children:l.jsxs("div",{className:y(i.key_name!=="total_amount"&&"line-items",n===!0&&"show"),children:[i.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&&i.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[l.jsx("span",{className:y("ds-me-3",i.key_name!=="total_amount"&&hr(i.type),((f=i.display_name)==null?void 0:f.toLocaleLowerCase())==="vat"&&"ds-uppercase",i.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:i.display_name}),l.jsx("span",{className:y(!["total_amount"].includes(i.key_name)&&i.type!=="SLASHED"&&hr(i.type),i.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized",i.type==="SLASHED"&&"ds-line-through ds-font-normal ds-text-Text-secondary"),children:i.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${c}`)})}),l.jsx("div",{children:l.jsxs("span",{className:"ds-flex ds-mt-3 ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer ds_xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>o(!n),children:["See ",n?"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=S.forwardRef(({images:e})=>{const[s,t]=S.useState(0),a=()=>{t(o=>o===e.length-1?0:o+1)},n=()=>{t(o=>o===0?e.length-1:o-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:n,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((o,i)=>l.jsx("li",{"aria-description":o,className:w(y("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",i!==s&&"ds-bg-[rgba(255,255,255,0.5)]",i===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},i))})]})})});Mr.displayName="Image_Carousel";const Or=S.forwardRef(({title:e,content:s,expandIcon:t,collapseIcon:a,accordionClass:n,accordionHeaderClass:o,accordionTitleClass:i,accordionContentClass:c,isEnabled:f=!0,isExpanded:p=!0},g)=>{const[b,k]=S.useState(p),P=()=>{f&&k(!b)};return S.useEffect(()=>{f&&k(p)},[f,p]),l.jsxs("div",{className:w(y("silkhaus-accordion",n)),ref:g,children:[l.jsxs("div",{className:w(y("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",o,!f&&"ds-cursor-not-allowed",f&&"ds-cursor-pointer")),onClick:P,children:[l.jsx("div",{className:w(y(i)),children:e}),b?a||"-":t||"+"]}),b&&l.jsx("div",{className:w(y("silkhaus-accordion-content",c)),children:s})]})});Or.displayName="Accordion";function rs(...e){return w(y(e))}const zr=S.forwardRef(({checked:e=!1,onChange:s,disabled:t=!1,htmlId:a="wa"},n)=>l.jsxs("label",{className:rs("switch",t&&"disabled"),htmlFor:a,children:[l.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:n,disabled:t}),l.jsx("span",{className:"slider round",style:{opacity:t?.5:1,cursor:t?"not-allowed":"pointer"}})]}));zr.displayName="Switch";const Br=S.forwardRef((e,s)=>{const o=e,{open:t,children:a}=o,n=L(o,["open","children"]);return l.jsx("div",Oe(M({ref:s,className:`dialog ${t?"open":""}`},n),{children:a}))});Br.displayName="Dialog";const Dr=S.forwardRef(({outerDivClassName:e="",banner:s="",title:t,description:a,primaryBtnText:n="Submit",showPrimaryBtn:o,secondaryBtnText:i="Cancel",showSecondaryBtn:c,onPrimaryBtnClick:f,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:b=!1},k)=>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:k,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("ds_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",o&&c&&"ds-tablet:ds-justify-between ds-items-center",o&&!c&&"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:c&&l.jsx(_e,{color:"secondary",onClick:p,disabled:b,className:"ds_MediumBodyEmphasized",size:"large",children:i})}),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:o&&l.jsx(_e,{color:"primary",onClick:f,disabled:g,className:"ds_MediumBodyEmphasized",size:"large",children:n})})]})]})]})}));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=S.forwardRef(({progress:e,text:s="",borderColor:t="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:n="48px",strokeWidth:o=3,textClass:i=""},c)=>{const f=parseInt(n)/2-4,p=2*Math.PI*f,g=p-e*p;return l.jsxs("div",{ref:c,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":t,"--progress-color":a,width:n,height:n},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 ds_SmallCaption2Emphasized ds-text-nowrap",i)),children:s}),l.jsx("div",{className:"progress-ring",children:l.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,children:[l.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString()}),l.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $r=S.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:t=""},a)=>{var o,i;let n=0;for(let c=0;c<e.length;c++)(((o=e[c])==null?void 0:o.status)==="completed"||((i=e[c])==null?void 0:i.status)==="active")&&n++;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((c,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 ${c.status==="active"||c.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
28
|
+
`,children:c.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:`ds_MediumCaption2Emphasized ${c.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:c.number})}),l.jsx("div",{className:"ds-text-black ds-block ds_MediumCaption2Regular ds-mt-2 ds-absolute ds-text-nowrap ds-left-1/2 -ds-translate-x-1/2",children:c.title})]},f))]})}),l.jsx("div",{ref:a,className:w(y("ds-block ds-tablet:ds-hidden",t)),children:e.map((c,f)=>(c.status==="active"||c.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:n/e.length,text:`${f+1} / ${e.length}`}),l.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[l.jsx("span",{className:"ds_SmallCalloutEmphasized",children:`Step ${f+1}: ${c==null?void 0:c.mobileTitle}`}),l.jsx("span",{className:"ds_SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${c==null?void 0:c.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=S.forwardRef(({time:e,text:s="",outerDivClass:t=""},a)=>{const[n,o]=S.useState(e);S.useEffect(()=>{const f=setInterval(()=>{o(p=>p<=1?(clearInterval(f),0):p-1)},1e3);return()=>{clearInterval(f)}},[n]),S.useEffect(()=>{o(e)},[e]);const c=(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")}`})(n);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 ds_xSmallCalloutEmphasized ds-tablet:ds_MediumCalloutEmphasized",children:s}),l.jsx("div",{className:"ds-ms-1 ds_xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:ds_MediumCalloutEmphasized",children:c})]})});Lr.displayName="Timer";exports.Accordion=Or;exports.AlertDialog=Dr;exports.Asterisk=Ce;exports.BookingQuoteCard=Ir;exports.Button=_e;exports.Card=Cr;exports.CardContent=Pr;exports.CardDescription=Nr;exports.CardFooter=Ar;exports.CardHeader=Sr;exports.CardTitle=Tr;exports.Dialog=Br;exports.Grid=Fr;exports.ImageCarousel=Mr;exports.Input=Rr;exports.RoundedProgressBar=$e;exports.Stepper=$r;exports.Switch=zr;exports.Timer=Lr;
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,6 @@ export declare interface BookingQuoteCardProps extends React_2.HTMLAttributes<HT
|
|
|
52
52
|
|
|
53
53
|
export declare interface BookingQuoteLineItemType {
|
|
54
54
|
key_name: string;
|
|
55
|
-
aed_amount: number;
|
|
56
55
|
display_name: string;
|
|
57
56
|
currency_converted_amount: string;
|
|
58
57
|
type: string;
|