@useloops/design-system 1.4.132 → 1.4.134
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/esm/index.js +1 -23
- package/dist/index.js +1 -23
- package/package.json +10 -9
package/dist/esm/index.js
CHANGED
|
@@ -1,23 +1 @@
|
|
|
1
|
-
import*as e from"react";import t,{useRef as o,useEffect as n,useState as r,useCallback as i,forwardRef as a,createContext as s,useMemo as l,useContext as c,Fragment as u,useImperativeHandle as d,createElement as p,startTransition as m}from"react";import{useTheme as h,SvgIcon as f,Typography as g,Stack as x,Avatar as b,AvatarGroup as y,styled as v,CircularProgress as C,Button as w,Box as j,FormControlLabel as k,Checkbox as S,TextField as M,InputAdornment as L,FormGroup as E,alpha as $,Container as O,InputLabel as F,Radio as R,RadioGroup as I,Grid as A,Menu as T,MenuItem as V,IconButton as P,Tooltip as B,ButtonGroup as H,Link as _,Paper as z,ClickAwayListener as D,Popper as N,Fade as Z,ButtonBase as W,Divider as U,Chip as q,FormLabel as G,Autocomplete as Y,autocompleteClasses as X,Select as J,useMediaQuery as K,Slider as Q,Rating as ee,Switch as te,LinearProgress as oe,linearProgressClasses as ne,createTheme as re,GlobalStyles as ie,CssBaseline as ae}from"@mui/material";import{LockOutlined as se,MenuRounded as le,QueryBuilderRounded as ce,WarningAmberRounded as ue,LightbulbOutlined as de,ErrorOutlineOutlined as pe,CheckCircleOutlineOutlined as me,InfoOutlined as he,ExpandMore as fe,ArrowForward as ge,Close as xe,PlayCircle as be,Check as ye,Remove as ve,Info as Ce,ErrorOutline as we,ArrowDropUp as je,ArrowDropDown as ke,KeyboardArrowDown as Se,CloseRounded as Me,DragHandle as Le}from"@mui/icons-material";import{mergeSx as Ee}from"merge-sx";import{ThemeContext as $e}from"@mui/styled-engine";import{NumericFormat as Oe}from"react-number-format";import{stringify as Fe,rulesheet as Re,middleware as Ie,RULESET as Ae,combine as Te,match as Ve,serialize as Pe,copy as Be,replace as He,WEBKIT as _e,MOZ as ze,MS as De,KEYFRAMES as Ne,DECLARATION as Ze,compile as We,dealloc as Ue,alloc as qe,hash as Ge,charat as Ye,strlen as Xe,indexof as Je,next as Ke,token as Qe,from as et,peek as tt,delimit as ot,slice as nt,position as rt,prefixer as it}from"stylis";import{CacheProvider as at}from"@emotion/react";import{createPortal as st}from"react-dom";import{defaultDropAnimationSideEffects as lt,DragOverlay as ct,useSensors as ut,useSensor as dt,KeyboardSensor as pt,DndContext as mt,MeasuringStrategy as ht,MouseSensor as ft,TouchSensor as gt}from"@dnd-kit/core";import{useSortable as xt,defaultAnimateLayoutChanges as bt,sortableKeyboardCoordinates as yt,arrayMove as vt,SortableContext as Ct,horizontalListSortingStrategy as wt,verticalListSortingStrategy as jt}from"@dnd-kit/sortable";import{CSS as kt}from"@dnd-kit/utilities";import{Placeholder as St}from"@tiptap/extension-placeholder";import{StarterKit as Mt}from"@tiptap/starter-kit";import{RichTextEditor as Lt,MenuButtonBold as Et,MenuButtonItalic as $t}from"mui-tiptap";import{Markdown as Ot}from"tiptap-markdown";import{Controller as Ft,useForm as Rt}from"react-hook-form";import{isValidPhoneNumber as It}from"react-phone-number-input";import{zxcvbnOptions as At,zxcvbn as Tt}from"@zxcvbn-ts/core";import*as Vt from"@zxcvbn-ts/language-common";import*as Pt from"@zxcvbn-ts/language-en";import{ErrorMessage as Bt}from"@hookform/error-message";import Ht from"stylis-plugin-rtl";function _t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zt,Dt={exports:{}},Nt={};var Zt,Wt={};
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.development.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/"production"===process.env.NODE_ENV?Dt.exports=function(){if(zt)return Nt;zt=1;var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var s,l={},c=null,u=null;for(s in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)r.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:o,type:e,key:c,ref:u,props:l,_owner:i.current}}return Nt.Fragment=n,Nt.jsx=s,Nt.jsxs=s,Nt}():Dt.exports=(Zt||(Zt=1,"production"!==process.env.NODE_ENV&&function(){var e,o=t,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),g=Symbol.iterator,x=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];!function(e,t,o){var n=x.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var r=o.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,o)}function y(e){return e.displayName||"Context"}function v(e){if(null==e)return null;if("number"==typeof e.tag&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case r:return"Portal";case s:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return y(e)+".Consumer";case l:return y(e._context)+".Provider";case u:return function(e,t,o){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?o+"("+r+")":o}(e,e.render,"ForwardRef");case m:var t=e.displayName||null;return null!==t?t:v(e.type)||"Memo";case h:var o=e,n=o._payload,f=o._init;try{return v(f(n))}catch(e){return null}}return null}e=Symbol.for("react.module.reference");var C,w,j,k,S,M,L,E=Object.assign,$=0;function O(){}O.__reactDisabledLog=!0;var F,R=x.ReactCurrentDispatcher;function I(e,t,o){if(void 0===F)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);F=n&&n[1]||""}return"\n"+F+e}var A,T=!1,V="function"==typeof WeakMap?WeakMap:Map;function P(e,t){if(!e||T)return"";var o,n=A.get(e);if(void 0!==n)return n;T=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=R.current,R.current=null,function(){if(0===$){C=console.log,w=console.info,j=console.warn,k=console.error,S=console.group,M=console.groupCollapsed,L=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=o.stack.split("\n"),c=s.length-1,u=l.length-1;c>=1&&u>=0&&s[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(s[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||s[c]!==l[u]){var d="\n"+s[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&A.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{T=!1,R.current=r,function(){if(0==--$){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},e,{value:C}),info:E({},e,{value:w}),warn:E({},e,{value:j}),error:E({},e,{value:k}),group:E({},e,{value:S}),groupCollapsed:E({},e,{value:M}),groupEnd:E({},e,{value:L})})}$<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",m=p?I(p):"";return"function"==typeof e&&A.set(e,m),m}function B(e,t,o){if(null==e)return"";if("function"==typeof e)return P(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return I(e);switch(e){case d:return I("Suspense");case p:return I("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return P(e.render,!1);case m:return B(e.type,t,o);case h:var r=e,i=r._payload,a=r._init;try{return B(a(i),t,o)}catch(e){}}return""}A=new V;var H=Object.prototype.hasOwnProperty,_={},z=x.ReactDebugCurrentFrame;function D(e){if(e){var t=e._owner,o=B(e.type,e._source,t?t.type:null);z.setExtraStackFrame(o)}else z.setExtraStackFrame(null)}var N=Array.isArray;function Z(e){return N(e)}function W(e){return""+e}function U(e){if(function(e){try{return W(e),!1}catch(e){return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),W(e)}var q,G,Y=x.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function J(e,t,o,r,i){var a,s={},l=null,c=null;for(a in void 0!==o&&(U(o),l=""+o),function(e){if(H.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(U(t.key),l=""+t.key),function(e){if(H.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(c=t.ref,function(e){"string"==typeof e.ref&&Y.current}(t)),t)H.call(t,a)&&!X.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps){var u=e.defaultProps;for(a in u)void 0===s[a]&&(s[a]=u[a])}if(l||c){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var o=function(){q||(q=!0,b("%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)",t))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(s,d),c&&function(e,t){var o=function(){G||(G=!0,b("%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)",t))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(s,d)}return function(e,t,o,r,i,a,s){var l={$$typeof:n,type:e,key:t,ref:o,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,i,r,Y.current,s)}var K,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,o=B(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(o)}else ee.setExtraStackFrame(null)}function oe(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ne(){if(Q.current){var e=v(Q.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}K=!1;var re={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ne();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!re[o]){re[o]=!0;var n="";e&&e._owner&&e._owner!==Q.current&&(n=" It was passed a child from "+v(e._owner.type)+"."),te(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,n),te(null)}}}function ae(e,t){if("object"==typeof e)if(Z(e))for(var o=0;o<e.length;o++){var n=e[o];oe(n)&&ie(n,t)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=g&&e[g]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)oe(i.value)&&ie(i.value,t)}}function se(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==u&&o.$$typeof!==m)return;t=o.propTypes}if(t){var n=v(o);!function(e,t,o,n,r){var i=Function.call.bind(H);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((n||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,n,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(D(r),b("%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).",n||"React class",o,a,typeof s),D(null)),s instanceof Error&&!(s.message in _)&&(_[s.message]=!0,D(r),b("Failed %s type: %s",o,s.message),D(null))}}(t,e.props,"prop",n,e)}else void 0===o.PropTypes||K||(K=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v(o)||"Unknown"));"function"!=typeof o.getDefaultProps||o.getDefaultProps.isReactClassApproved||b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(t,o,r,g,x,y){var C=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===s||t===a||t===d||t===p||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===m||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!C){var w,j="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),j+=ne(),null===t?w="null":Z(t)?w="array":void 0!==t&&t.$$typeof===n?(w="<"+(v(t.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):w=typeof t,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,j)}var k=J(t,o,r,x,y);if(null==k)return k;if(C){var S=o.children;if(void 0!==S)if(g)if(Z(S)){for(var M=0;M<S.length;M++)ae(S[M],t);Object.freeze&&Object.freeze(S)}else b("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 ae(S,t)}if(H.call(o,"key")){var L=v(t),E=Object.keys(o).filter((function(e){return"key"!==e})),$=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";le[L+$]||(b('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',$,L,E.length>0?"{"+E.join(": ..., ")+": ...}":"{}",L),le[L+$]=!0)}return t===i?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var n=t[o];if("children"!==n&&"key"!==n){te(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),te(null);break}}null!==e.ref&&(te(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(k):se(k),k}var ue=function(e,t,o){return ce(e,t,o,!1)},de=function(e,t,o){return ce(e,t,o,!0)};Wt.Fragment=i,Wt.jsx=ue,Wt.jsxs=de}()),Wt);var Ut=Dt.exports;const qt={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},Gt=0,Yt=4,Xt=8,Jt=16,Kt=24,Qt=32,eo=40,to=48,oo=Xt,no={none:Gt,xs:Yt/oo,sm:Xt/oo,md:Jt/oo,lg:Qt/oo,xl:to/oo,xxl:80/oo,xxxl:160/oo},ro={none:Gt,xs:Yt/oo,sm:Xt/oo,md:Jt/oo,lg:Qt/oo,xl:to/oo},io={none:Gt,xs:2/oo,sm:Yt/oo,md:Xt/oo,lg:Jt/oo,xl:Kt/oo,round:999},ao={raised:"0px 0px 0px 1px rgba(255, 255, 255, 0.12), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 1px 2px 0px rgba(6, 4, 13, 0.16)",overlay:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 16px 24px 0px rgba(6, 4, 13, 0.08), 0px 4px 8px 0px rgba(6, 4, 13, 0.08)"},so={raised:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.12)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 1px 2px rgba(6, 4, 13, 0.16))",overlay:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 16px 24px rgba(6, 4, 13, 0.08)) drop-shadow(0px 4px 8px rgba(6, 4, 13, 0.08))"},lo={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},co={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},uo={xs:2*oo,sm:2*oo,md:2*oo,lg:2.5*oo,xl:3*oo},po=({name:e,size:t,sx:o})=>{const n=h(),r=t||uo.xl,i=t||uo.xl;switch(e){case"loopsOfficial":return Ut.jsx(f,{viewBox:"0 0 106 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:Ee(o,{"&.MuiSvgIcon-root path":{fill:"light"===n.palette.mode?n.custom.palette.icon.primary:n.custom.palette.icon.lockedWhite}}),children:Ut.jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M11.8076 25.5073C10.0999 24.3082 9.74198 23.9512 9.74198 21.312V0H0.290527V0.399695L0.306001 0.409234C2.04234 1.47961 2.83235 1.96661 2.83235 4.59497V21.312C2.83235 23.9512 2.47443 24.3082 0.76674 25.5073V25.9069H11.8076V25.5073ZM12.3202 17.8947C13.3939 24.0305 18.9477 27.1823 24.7775 26.151C30.6043 25.1167 34.7507 20.2258 33.6769 14.1053C32.6032 7.98474 27.0494 4.81464 21.2196 5.84897C15.3898 6.88329 11.2464 11.759 12.3202 17.8947ZM19.518 16.6163C18.4897 10.7155 18.9052 8.04577 21.5229 7.582C24.1405 7.11518 25.4509 9.47368 26.4791 15.3745C27.5074 21.2754 27.0949 23.9329 24.4742 24.4089C21.8535 24.8848 20.5462 22.5172 19.518 16.6163ZM47.572 26.151C41.7453 27.1823 36.1915 24.0305 35.1147 17.8947C34.0379 11.759 38.1843 6.88329 44.0141 5.84897C49.8439 4.81464 55.3947 7.98474 56.4715 14.1053C57.5482 20.2258 53.3988 25.1167 47.572 26.151ZM44.3174 7.582C41.6967 8.04577 41.2842 10.7155 42.3125 16.6163C43.3407 22.5172 44.648 24.8848 47.2687 24.418C49.8894 23.9512 50.3019 21.2845 49.2737 15.3837C48.2454 9.48284 46.9381 7.11518 44.3174 7.582ZM68.4727 31.5116C66.4862 30.3817 65.7713 29.9751 65.7713 27.405L65.7773 22.6117C66.8086 24.6896 68.8742 26.328 72.2896 26.328C77.4521 26.328 81.5439 22.4012 81.5439 15.6491C81.5439 8.77803 77.5553 5.70252 73.0054 5.70252C69.2716 5.70252 66.6873 7.81998 65.7773 10.7368L65.6166 6.10221H56.4836V6.4836L56.4855 6.48484C58.1918 7.60063 58.8647 8.04064 58.8647 10.6789V27.405C58.8647 30.0412 58.5098 30.4012 56.7991 31.6003V32H68.6285V31.6003L68.4727 31.5116ZM70.0996 23.8963C67.6761 23.8963 65.7713 21.1411 65.7713 17.9466V15.0999C65.7713 11.5454 67.479 8.86651 70.0996 8.86651C72.8386 8.86651 74.1884 11.3867 74.1884 15.6583C74.1884 21.2998 72.7992 23.8963 70.0996 23.8963ZM103.38 26.2487C104.665 26.2487 105.706 25.2009 105.706 23.9085C105.706 22.616 104.665 21.5683 103.38 21.5683C102.095 21.5683 101.053 22.616 101.053 23.9085C101.053 25.2009 102.095 26.2487 103.38 26.2487ZM92.7131 12.3899C90.0531 11.6005 88.5566 11.1564 88.5566 9.56827C88.5566 8.23799 89.7699 7.64913 91.1045 7.64913C93.6888 7.64913 95.712 9.12891 98.0566 12.5645H98.6117V5.69337H98.2143L96.4278 7.01145C96.3499 6.97924 96.2721 6.94694 96.1943 6.91464C94.7242 6.30433 93.2525 5.69337 91.0257 5.69337C86.7762 5.69337 83.4002 8.32952 83.4002 12.2441C83.4002 15.759 85.0715 17.7574 91.0681 19.3166C93.2945 19.8749 94.8414 20.2746 94.8414 21.9924C94.8414 23.5912 93.2945 24.3478 91.426 24.3478C88.5566 24.3478 86.4607 22.3921 83.7035 18.6758H83.0969L83.5155 26.267H83.9522L85.5386 24.6682C86.8095 25.3089 88.7963 26.3066 91.4564 26.3066C96.54 26.3066 100.077 23.4691 100.077 19.4752C100.077 15.3593 97.6198 13.8429 92.7667 12.4058L92.7131 12.3899Z",fill:"#190F33"})});case"google":return Ut.jsxs(f,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:o,children:[Ut.jsx("path",{d:"M19.3 10.2085C19.3 9.5585 19.2417 8.9335 19.1334 8.3335H10.5V11.8835H15.4334C15.2167 13.0252 14.5667 13.9918 13.5917 14.6418V16.9502H16.5667C18.3 15.3502 19.3 13.0002 19.3 10.2085Z",fill:"#4285F4"}),Ut.jsx("path",{d:"M10.5 19.1668C12.975 19.1668 15.05 18.3502 16.5667 16.9502L13.5917 14.6418C12.775 15.1918 11.7334 15.5252 10.5 15.5252C8.11671 15.5252 6.09171 13.9168 5.36671 11.7502H2.31671V14.1168C3.82504 17.1085 6.91671 19.1668 10.5 19.1668Z",fill:"#34A853"}),Ut.jsx("path",{d:"M5.36671 11.7418C5.18337 11.1918 5.07504 10.6085 5.07504 10.0002C5.07504 9.39183 5.18337 8.8085 5.36671 8.2585V5.89183H2.31671C1.69171 7.12516 1.33337 8.51683 1.33337 10.0002C1.33337 11.4835 1.69171 12.8752 2.31671 14.1085L4.69171 12.2585L5.36671 11.7418Z",fill:"#FBBC05"}),Ut.jsx("path",{d:"M10.5 4.4835C11.85 4.4835 13.05 4.95016 14.0084 5.85016L16.6334 3.22516C15.0417 1.74183 12.975 0.833496 10.5 0.833496C6.91671 0.833496 3.82504 2.89183 2.31671 5.89183L5.36671 8.2585C6.09171 6.09183 8.11671 4.4835 10.5 4.4835Z",fill:"#EA4335"})]});case"linkedin-color":return Ut.jsxs(f,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:o,children:[Ut.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.37041 19.1668H17.6297C18.7547 19.1668 19.6667 18.2548 19.6667 17.1298V2.87053C19.6667 1.74551 18.7547 0.833496 17.6297 0.833496H3.37041C2.24539 0.833496 1.33337 1.74551 1.33337 2.87053V17.1298C1.33337 18.2548 2.24539 19.1668 3.37041 19.1668Z",fill:"#007EBB"}),Ut.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1204 16.6205H14.3999V11.9868C14.3999 10.7164 13.9171 10.0064 12.9116 10.0064C11.8176 10.0064 11.2461 10.7452 11.2461 11.9868V16.6205H8.62427V7.79337H11.2461V8.98239C11.2461 8.98239 12.0344 7.52369 13.9076 7.52369C15.78 7.52369 17.1204 8.66704 17.1204 11.0317V16.6205ZM5.4964 6.63753C4.60334 6.63753 3.87967 5.90818 3.87967 5.00866C3.87967 4.10914 4.60334 3.37979 5.4964 3.37979C6.38946 3.37979 7.1127 4.10914 7.1127 5.00866C7.1127 5.90818 6.38946 6.63753 5.4964 6.63753ZM4.14259 16.6205H6.87651V7.79337H4.14259V16.6205Z",fill:"white"})]});case"positive":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",style:{height:t,width:t},sx:o,children:Ut.jsx("path",{d:"M7.25241 16.7949C6.47136 17.576 6.47136 18.8423 7.25241 19.6234L11.0236 23.3946C11.8047 24.1756 13.071 24.1756 13.8521 23.3946L25.1658 12.0809C25.9468 11.2998 25.9468 10.0335 25.1658 9.25246C24.3847 8.47141 23.1184 8.47141 22.3374 9.25246L12.4379 19.152L10.0808 16.7949C9.29979 16.0139 8.03346 16.0139 7.25241 16.7949Z",fill:"#48B244"})});case"negative":return Ut.jsx(f,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:o,children:Ut.jsx("path",{d:"M9.25241 9.25244C8.47136 10.0335 8.47136 11.2998 9.25241 12.0809L13.4951 16.3235L9.25241 20.5662C8.47136 21.3472 8.47136 22.6135 9.25241 23.3946C10.0335 24.1756 11.2998 24.1756 12.0808 23.3946L16.3235 19.1519L20.5661 23.3946C21.3472 24.1756 22.6135 24.1756 23.3945 23.3946C24.1756 22.6135 24.1756 21.3472 23.3945 20.5662L19.1519 16.3235L23.3945 12.0809C24.1756 11.2998 24.1756 10.0335 23.3945 9.25244C22.6135 8.47139 21.3472 8.4714 20.5661 9.25244L16.3235 13.4951L12.0808 9.25244C11.2998 8.47139 10.0335 8.47139 9.25241 9.25244Z",fill:"#FC5A4E"})});case"neutral":return Ut.jsx(f,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:o,children:Ut.jsx("path",{d:"M6 16C6 14.8954 6.89543 14 8 14L24 14C25.1046 14 26 14.8954 26 16C26 17.1046 25.1046 18 24 18H8C6.89543 18 6 17.1046 6 16Z",fill:"#8C8799"})});case"linkedin":return Ut.jsx(f,{style:{height:t,width:t},viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",sx:o,children:Ut.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.8889 30H5.11111C3.39289 30 2 28.6071 2 26.8889V5.11111C2 3.39289 3.39289 2 5.11111 2H26.8889C28.6071 2 30 3.39289 30 5.11111V26.8889C30 28.6071 28.6071 30 26.8889 30ZM21.9561 26.1109H26.1111V17.5753C26.1111 13.9637 24.0639 12.2175 21.2043 12.2175C18.3435 12.2175 17.1395 14.4454 17.1395 14.4454V12.6294H13.1352V26.1109H17.1395V19.0339C17.1395 17.1377 18.0123 16.0093 19.683 16.0093C21.2188 16.0093 21.9561 17.0936 21.9561 19.0339V26.1109ZM5.88889 8.3764C5.88889 9.75021 6.99413 10.8641 8.35808 10.8641C9.72202 10.8641 10.8266 9.75021 10.8266 8.3764C10.8266 7.00259 9.72202 5.88867 8.35808 5.88867C6.99413 5.88867 5.88889 7.00259 5.88889 8.3764ZM10.4659 26.1109H6.29043V12.6294H10.4659V26.1109Z"})});case"medium":return Ut.jsx(f,{viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:o,children:Ut.jsx("path",{d:"M9.89698 8.51543C14.2584 8.51543 17.7937 12.0754 17.7937 16.4666C17.7937 20.8578 14.2581 24.4175 9.89698 24.4175C5.53585 24.4175 2 20.8578 2 16.4666C2 12.0754 5.53558 8.51543 9.89698 8.51543ZM22.5079 8.98119C24.6886 8.98119 26.4564 12.3322 26.4564 16.4666H26.4566C26.4566 20.5999 24.6888 23.952 22.5082 23.952C20.3275 23.952 18.5597 20.5999 18.5597 16.4666C18.5597 12.3333 20.3272 8.98119 22.5079 8.98119ZM28.6113 9.76085C29.3781 9.76085 30 12.7631 30 16.4666C30 20.1691 29.3784 23.1723 28.6113 23.1723C27.8443 23.1723 27.2229 20.1699 27.2229 16.4666C27.2229 12.7633 27.8445 9.76085 28.6113 9.76085Z"})});case"navigation-arrow":return Ut.jsx(f,{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:o,children:Ut.jsx("path",{d:"M13.7929 8.46442L16.6083 11.2798L16.6213 11.2929L16.6235 11.2952C16.9631 11.6369 17.0053 12.1629 16.7494 12.5502C16.7128 12.6057 16.6701 12.6583 16.6213 12.7071L13.7929 15.5356C13.4025 15.9261 12.7692 15.9261 12.3788 15.5356C11.9882 15.145 11.9882 14.5119 12.3788 14.1213L13.5002 12.9999H8.0858C7.53352 12.9999 7.0858 12.5523 7.0858 11.9999C7.0858 11.4477 7.53352 10.9999 8.0858 10.9999H13.4999L12.3786 9.87872C11.9882 9.4881 11.9882 8.85504 12.3786 8.46442C12.7692 8.07391 13.4023 8.07391 13.7929 8.46442Z"})});case"unfold-more":return Ut.jsx(f,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:t,width:t},sx:o,children:Ut.jsx("path",{d:"M5.83 12.0001L9 8.83009L7.59 7.42009L3 12.0001L7.59 16.5901L9 15.1701L5.83 12.0001ZM18.17 12.0001L15 15.1701L16.41 16.5801L21 12.0001L16.41 7.41009L15 8.83009L18.17 12.0001Z",fill:"#190F33"})});case"play":return Ut.jsx(be,{style:{height:r,width:i},sx:o});case"close":return Ut.jsx(xe,{style:{height:r,width:i},sx:o});case"arrow-forward":return Ut.jsx(ge,{style:{height:r,width:i},sx:o});case"expand-more":return Ut.jsx(fe,{style:{height:r,width:i},sx:o});case"info":return Ut.jsx(he,{style:{height:r,width:i},sx:o});case"check-circle":return Ut.jsx(me,{style:{height:r,width:i},sx:o});case"error-outline":return Ut.jsx(pe,{style:{height:r,width:i},sx:o});case"lightbulb":return Ut.jsx(de,{style:{height:r,width:i},sx:o});case"warning-amber":return Ut.jsx(ue,{style:{height:r,width:i},sx:o});case"access-time":return Ut.jsx(ce,{style:{height:r,width:i},sx:o});case"menu":return Ut.jsx(le,{style:{height:r,width:i},sx:o});case"lock":return Ut.jsx(se,{style:{height:r,width:i},sx:o});case"check":return Ut.jsxs(f,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",style:{height:t,width:t},children:[Ut.jsx("rect",{width:"24",height:"24",y:".5",fill:"#48B244",rx:"12"}),Ut.jsx("path",{fill:"#fff",d:"M5.44 13.096a1.5 1.5 0 0 0 0 2.121l2.828 2.829a1.5 1.5 0 0 0 2.121 0l8.485-8.485a1.5 1.5 0 1 0-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 0 0-2.122 0Z"})]});case"dash":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:t,width:t},children:Ut.jsx("path",{fill:"#BAB7C2",d:"M4.5 12A1.5 1.5 0 0 1 6 10.5h12a1.5 1.5 0 0 1 0 3H6A1.5 1.5 0 0 1 4.5 12Z"})});case"gift":return Ut.jsxs(f,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:t,width:t},children:[Ut.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M20.5 8h-16a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1ZM12.5 8v13"}),Ut.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M19.5 12v7a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-7M8 8a2.5 2.5 0 1 1 0-5c.965-.017 1.91.451 2.713 1.343.802.892 1.425 2.166 1.787 3.657.362-1.49.985-2.765 1.787-3.657C15.09 3.451 16.035 2.983 17 3a2.5 2.5 0 0 1 0 5"})]});case"push-left":return Ut.jsxs(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:t,width:t},children:[Ut.jsx("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.334 1.334 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),Ut.jsx("path",{d:"M19.607 18.393 17.22 16l2.387-2.393-.94-.94L15.333 16l3.334 3.333.94-.94Z"})]});case"push-right":return Ut.jsxs(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:t,width:t},children:[Ut.jsx("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.333 1.333 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),Ut.jsx("path",{d:"M15.727 18.393 18.113 16l-2.386-2.393.94-.94L20 16l-3.333 3.333-.94-.94Z"})]});case"star":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:t,width:t},children:Ut.jsx("path",{d:"M19.6486 9.29459L14.8086 8.87459L12.9186 4.42459C12.5786 3.61459 11.4186 3.61459 11.0786 4.42459L9.18861 8.88459L4.35861 9.29459C3.47861 9.36459 3.11861 10.4646 3.78861 11.0446L7.45861 14.2246L6.35861 18.9446C6.15861 19.8046 7.08861 20.4846 7.84861 20.0246L11.9986 17.5246L16.1486 20.0346C16.9086 20.4946 17.8386 19.8146 17.6386 18.9546L16.5386 14.2246L20.2086 11.0446C20.8786 10.4646 20.5286 9.36459 19.6486 9.29459ZM11.9986 15.6546L8.23861 17.9246L9.23861 13.6446L5.91861 10.7646L10.2986 10.3846L11.9986 6.35459L13.7086 10.3946L18.0886 10.7746L14.7686 13.6546L15.7686 17.9346L11.9986 15.6546Z"})});case"open-in-new":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:t,width:t},children:Ut.jsx("path",{d:"M15 15.8333H5C4.54167 15.8333 4.16667 15.4583 4.16667 15V5C4.16667 4.54167 4.54167 4.16667 5 4.16667H9.16667C9.625 4.16667 10 3.79167 10 3.33333C10 2.875 9.625 2.5 9.16667 2.5H4.16667C3.24167 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.75 3.25 17.5 4.16667 17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V10.8333C17.5 10.375 17.125 10 16.6667 10C16.2083 10 15.8333 10.375 15.8333 10.8333V15C15.8333 15.4583 15.4583 15.8333 15 15.8333ZM11.6667 3.33333C11.6667 3.79167 12.0417 4.16667 12.5 4.16667H14.6583L7.05 11.775C6.725 12.1 6.725 12.625 7.05 12.95C7.375 13.275 7.9 13.275 8.225 12.95L15.8333 5.34167V7.5C15.8333 7.95833 16.2083 8.33333 16.6667 8.33333C17.125 8.33333 17.5 7.95833 17.5 7.5V3.33333C17.5 2.875 17.125 2.5 16.6667 2.5H12.5C12.0417 2.5 11.6667 2.875 11.6667 3.33333Z"})});case"notification":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:t,width:t},children:Ut.jsx("path",{d:"M8.34167 17.3C8.34167 18.2167 9.08333 18.9584 10 18.9584C10.9167 18.9584 11.6583 18.2167 11.6583 17.3H8.34167ZM10 4.79169C12.3 4.79169 14.1667 6.65835 14.1667 8.95835V14.7917H5.83333V8.95835C5.83333 6.65835 7.7 4.79169 10 4.79169ZM10 1.04169C9.30833 1.04169 8.75 1.60002 8.75 2.29169V3.26669C6.13333 3.83335 4.16667 6.16669 4.16667 8.95835V13.9584L2.5 15.625V16.4584H17.5V15.625L15.8333 13.9584V8.95835C15.8333 6.16669 13.8667 3.83335 11.25 3.26669V2.29169C11.25 1.60002 10.6917 1.04169 10 1.04169ZM9.16667 6.45835H10.8333V9.79169H9.16667V6.45835ZM9.16667 11.4584H10.8333V13.125H9.16667V11.4584Z"})});case"chevron-right":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:t,width:t},children:Ut.jsx("path",{d:"M9 6.71063C8.61 7.10063 8.61 7.73063 9 8.12063L12.88 12.0006L9 15.8806C8.61 16.2706 8.61 16.9006 9 17.2906C9.39 17.6806 10.02 17.6806 10.41 17.2906L15 12.7006C15.39 12.3106 15.39 11.6806 15 11.2906L10.41 6.70063C10.03 6.32063 9.39 6.32063 9 6.71063Z"})});case"check-thin":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:t,width:t},children:Ut.jsx("path",{d:"M8.79506 15.875L5.32506 12.405C4.93506 12.015 4.30506 12.015 3.91506 12.405C3.52506 12.795 3.52506 13.425 3.91506 13.815L8.09506 17.995C8.48506 18.385 9.11506 18.385 9.50506 17.995L20.0851 7.41502C20.4751 7.02502 20.4751 6.39502 20.0851 6.00502C19.6951 5.61502 19.0651 5.61502 18.6751 6.00502L8.79506 15.875Z"})});case"home":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:t,width:t},children:Ut.jsx("path",{d:"M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"})});case"folder":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:t,width:t},children:Ut.jsx("path",{d:"M9.17 6L11.17 8H20V18H4V6H9.17ZM10 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 6.9 21.1 6 20 6H12L10 4Z"})});case"help":return Ut.jsx(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:t,width:t},children:Ut.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z"})});case"logo-icon":return Ut.jsxs(f,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:t,width:t},children:[Ut.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),Ut.jsx("path",{d:"M14.375 12.5H21.875V13.4375C20 13.4375 20 15.3125 20 15.3125V25.625H22.8125C22.8125 25.625 24.6875 25.625 24.6875 22.8125H26.5625L25.625 27.5H14.375V25.625C16.25 25.625 16.25 23.75 16.25 23.75V15.3125C16.25 15.3125 16.25 13.4375 14.375 13.4375V12.5Z",fill:"white"})]});case"logo":return Ut.jsxs(f,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 97 40",style:{height:t,width:t},children:[Ut.jsx("rect",{width:"30",height:"30",x:"5",y:"5",fill:"#7F4CFF",rx:"15"}),Ut.jsx("path",{fill:"#fff",d:"M14.375 12.5h7.5v.938C20 13.438 20 15.312 20 15.312v10.313h2.813s1.875 0 1.875-2.813h1.875l-.938 4.688h-11.25v-1.875c1.875 0 1.875-1.875 1.875-1.875v-8.438s0-1.874-1.875-1.874V12.5Z"}),Ut.jsx("path",{fill:"#190F33",d:"M49.758 26.254c-.853-.6-1.032-.778-1.032-2.098V13.5H44v.2l.008.005c.868.535 1.263.778 1.263 2.092v8.359c0 1.32-.18 1.498-1.033 2.098v.2h5.52v-.2Z"}),Ut.jsx("path",{fill:"#190F33","fill-rule":"evenodd",d:"M50.015 22.447c.537 3.068 3.314 4.644 6.228 4.129 2.914-.518 4.987-2.963 4.45-6.023-.537-3.06-3.314-4.646-6.228-4.129-2.915.518-4.987 2.956-4.45 6.023Zm3.599-.639c-.514-2.95-.307-4.285 1.002-4.517 1.309-.233 1.964.946 2.478 3.896.514 2.95.308 4.28-1.002 4.517-1.31.238-1.964-.945-2.478-3.896ZM67.64 26.576c-2.913.515-5.69-1.06-6.228-4.129-.538-3.067 1.535-5.505 4.45-6.023 2.915-.517 5.69 1.068 6.228 4.129.539 3.06-1.536 5.505-4.45 6.023Zm-1.627-9.285c-1.31.232-1.516 1.567-1.002 4.517s1.168 4.134 2.478 3.901c1.31-.233 1.517-1.567 1.002-4.517-.514-2.95-1.167-4.134-2.478-3.901Z","clip-rule":"evenodd"}),Ut.jsx("path",{fill:"#190F33","fill-rule":"evenodd",d:"M78.091 29.256c-.993-.565-1.35-.768-1.35-2.053l.002-2.397c.516 1.039 1.549 1.858 3.257 1.858 2.58 0 4.627-1.963 4.627-5.34 0-3.435-1.995-4.973-4.27-4.973-1.867 0-3.159 1.059-3.614 2.517l-.08-2.317h-4.566v.191c.854.558 1.19.778 1.19 2.097v8.364c0 1.318-.177 1.498-1.033 2.097v.2h5.915v-.2l-.078-.044Zm.814-3.808c-1.212 0-2.165-1.378-2.165-2.975V21.05c0-1.777.854-3.117 2.165-3.117 1.369 0 2.044 1.26 2.044 3.396 0 2.82-.695 4.12-2.044 4.12Z","clip-rule":"evenodd"}),Ut.jsx("path",{fill:"#190F33",d:"M95.545 26.624c.642 0 1.163-.524 1.163-1.17 0-.646-.52-1.17-1.163-1.17s-1.164.524-1.164 1.17c0 .646.521 1.17 1.164 1.17ZM90.211 19.695c-1.33-.395-2.078-.617-2.078-1.41 0-.666.607-.96 1.274-.96 1.292 0 2.304.74 3.476 2.457h.278v-3.435h-.2l-.892.659-.117-.049c-.735-.305-1.471-.61-2.584-.61-2.125 0-3.813 1.318-3.813 3.275 0 1.758.835 2.757 3.834 3.536 1.113.28 1.886.48 1.886 1.338 0 .8-.773 1.178-1.707 1.178-1.435 0-2.483-.978-3.861-2.836h-.304l.21 3.796h.218l.793-.8c.636.32 1.629.82 2.959.82 2.542 0 4.31-1.42 4.31-3.416 0-2.058-1.228-2.817-3.655-3.535l-.027-.008Z"})]});default:return Ut.jsxs(f,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 33",style:{height:t,width:t},sx:o,children:[Ut.jsx("path",{fill:"#C8E8C7",d:"M0 16.426c0-8.836 7.163-16 16-16s16 7.164 16 16-7.163 16-16 16-16-7.163-16-16"}),Ut.jsx("path",{fill:"#48B244",d:"M7.252 17.221a2 2 0 0 0 0 2.828l3.772 3.772a2 2 0 0 0 2.828 0l11.314-11.314a2 2 0 0 0-2.829-2.828l-9.9 9.9-2.356-2.358a2 2 0 0 0-2.829 0"})]})}},mo="#FFFFFF",ho="#F8F8F9",fo="#E8E7EB",go="#D1CFD6",xo="#BAB7C2",bo="#A39FAD",yo="#756F85",vo="#5E5770",Co="#190F33",wo="#130B26",jo="#1C142F",ko="#2A223C",So="#413A51",Mo="#585267",Lo="#6F697D",Eo="#9D98A8",$o="#B4AFBE",Oo="#F9F6FF",Fo={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},Ro={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},Io={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},Ao={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},To={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},Vo={light:{0:mo,50:ho,100:fo,200:go,300:xo,400:bo,500:"#8C8799",600:yo,700:vo,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:Co,1100:"#0D081A"},dark:{0:wo,50:jo,100:ko,200:So,300:Mo,400:Lo,500:"#868092",600:Eo,700:$o,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:Oo,1100:"#FFFFFF"}},Po=e=>({light:{0:e[0],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],1e3:e[1e3]},dark:{0:e[1e3],100:e[900],200:e[800],300:e[700],400:e[600],500:e[500],600:e[400],700:e[300],800:e[200],900:e[100],1e3:e[0]}}),Bo=Po(Io),Ho=Po(Ao),_o=Po({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),zo=Po({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),Do=Po({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),No=Po(To),Zo={light:{surface:{sunken:ho,default:mo,raised:mo,overlay:mo,scrim:Fo[3],transparent:Fo[.01]},interaction:{none:Fo[0],hover:Fo[1],press:Fo[2],hoverOnDark:Fo[3],pressOnDark:Fo[4],disabled:Fo[2]},stroke:{default:go,focus:Io[500],disabled:fo},text:{primary:Co,secondary:yo,placeholder:bo,disabled:xo,textLink:Io[800],textLinkHover:Io[900],primaryInverted:mo,secondaryInverted:bo,placeholderInverted:yo,disabledInverted:vo,positive:To[800],negative:Ao[700],lockedWhite:mo},icon:{primary:Co,secondary:yo,disabled:xo,primaryInverted:mo,secondaryInverted:bo,disabledInverted:vo,positive:To[800],negative:Ao[700],lockedWhite:mo},input:{default:mo,disabled:"#FFFFFF80"}},dark:{surface:{default:jo,sunken:wo,raised:ko,overlay:So,scrim:Ro[3],transparent:Ro[.01]},interaction:{none:Ro[0],hover:Ro[1],press:Ro[2],hoverOnDark:Ro[3],pressOnDark:Ro[4],disabled:Ro[2]},stroke:{default:So,focus:Io[500],disabled:ko},text:{primary:Oo,secondary:$o,placeholder:Lo,disabled:Mo,textLink:Io[100],textLinkHover:Io[0],primaryInverted:wo,secondaryInverted:Lo,placeholderInverted:Eo,disabledInverted:$o,positive:To[300],negative:Ao[300],lockedWhite:mo},icon:{primary:Oo,secondary:$o,disabled:Mo,primaryInverted:wo,secondaryInverted:Lo,disabledInverted:$o,positive:To[300],negative:Ao[300],lockedWhite:mo},input:{default:ko,disabled:"#2A223C80"}}};var Wo;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(Wo||(Wo={}));const Uo={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:Wo.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:Wo.BOLD}},qo={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:Wo.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:Wo.BOLD}},Go={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},Yo=e=>"bold"===e?Wo.BOLD:Wo.DEFAULT,Xo=({component:e,weight:t="default",variation:o,clamp:n=0,...r})=>Ut.jsx(g,{component:e,fontWeight:Yo(t),variant:o,...r,sx:Ee(r.sx,n?{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:null)}),Jo=({logo:e,headerText:t,subText:o})=>{const n=h();return Ut.jsxs(x,{gap:n.spacing(n.custom.margin.md),alignItems:"center",mb:n.spacing(n.custom.margin.lg),children:[!1===e?null:e||Ut.jsx(po,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),Ut.jsxs(x,{gap:n.spacing(n.custom.margin.md),children:[t&&Ut.jsx(Xo,{variation:"sm",component:"h1",align:"center",weight:"bold",children:t}),function(){if(o)return"string"==typeof o?Ut.jsx(Xo,{variation:"md",component:"p",align:"center",children:o}):o}()]})]})},Ko=({variation:e="lg",children:t,...o})=>{const{custom:n}=h();switch(e){case"sm":return Ut.jsx(b,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:32,width:32},...o,children:t});case"lg":return Ut.jsx(b,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:48,width:48},...o,children:t})}},Qo=({variation:e="primary",...t})=>{if("primary"===e)return Ut.jsx(y,{...t})},en=["xs","sm","md","lg","xl","xxl","xxxl"],tn=(e,t=16)=>{const o=1/t*e;return Math.round(1e3*o)/1e3},on=(e,t="xs")=>{const o=en.reduce(((o,n,r)=>{const i=en.indexOf(t)||0,a=Number((16*Math.pow(e,r-i)).toFixed(2));return o[n]=a,o}),{}),n={};for(const[e,t]of Object.entries(o))n[e]=tn(t)+"rem";return n},nn={lg:{headline:on(1.309,"xs"),body:on(1.125,"md")},sm:{headline:on(1.125,"xs"),body:on(1.1,"md")},button:on(1.125,"md")},rn=e=>{const t=en.map((t=>({props:{variant:t},style:{fontFamily:`${Go.Serif}`,fontSize:nn[e].headline[t]}}))),o=en.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${Go.SansSerif}`,fontSize:nn[e].body[t]}}))),n=en.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${Go.SansSerif}`,fontSize:nn[e].body[t]}})));return[...t,...en.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${Go.SansSerif}`,fontSize:nn[e].body[t]}}))),...o,...n]},an={xs:nn.button.xs,sm:nn.button.sm,md:nn.button.sm,lg:nn.button.md,xl:nn.button.lg},sn=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),ln=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,"&:hover":{backgroundColor:e.custom.palette.surface.raised},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.surface.raised},"&:disabled":{border:`1px solid ${e.custom.palette.stroke.disabled}`}}),cn=e=>({backgroundColor:e.custom.palette.purple[0],"&:hover":{backgroundColor:e.custom.palette.purple[0]},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.purple[0]}}),un=e=>({backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&:hover":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:active":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.pressOnDark}}}),dn=(e,t)=>({"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},...t&&{backgroundColor:e.custom.palette.interaction.press,"&:hover":{backgroundColor:e.custom.palette.interaction.press},"&:focus":{backgroundColor:e.custom.palette.interaction.press},"&:active":{backgroundColor:e.custom.palette.interaction.press}}}),pn={xs:3*oo,sm:3.5*oo,md:4*oo,lg:5*oo,xl:6*oo},mn={xs:.5*oo,sm:.5*oo,md:oo,lg:oo,xl:oo},hn=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:uo[e],width:uo[e]}}}),fn=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:an[e],paddingLeft:mn[e],paddingRight:mn[e]}}),gn=e=>({height:pn[e],paddingLeft:oo,paddingRight:oo}),xn=v(C)((()=>({color:"inherit",position:"absolute",padding:2}))),bn=({sizing:e,...t})=>Ut.jsx(xn,{size:e?uo[e]:40,...t}),yn=v(w)((({theme:e,loading:t})=>({boxSizing:"border-box",position:"relative",overflow:"hidden",borderRadius:e.spacing(e.custom.radius.md),textTransform:"none",minWidth:52,"&::before":{content:'""',backgroundColor:"transparent",transition:"all 200ms ease",position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root, & .MuiButton-icon":{overflowWrap:"normal",position:"relative",zIndex:2},"& > .MuiButton-startIcon, & > .MuiButton-endIcon":{visibility:t?"hidden":"visible"}}))),vn=v((({children:e,loading:t,sizing:o,...n})=>Ut.jsxs(yn,{...n,sizing:o,loading:t,children:[t&&Ut.jsx(bn,{sizing:o}),Ut.jsx(j,{...t?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:o})=>({color:e.custom.palette.text.primary,...o&&{...fn(o)},...o&&{...gn(o)},...o&&{...hn(o)},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&:focus:before":{backgroundColor:e.custom.palette.interaction.hover},"&:active:before":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},..."subtle"===t&&{...sn(e)},..."outlined"===t&&{...ln(e)},..."secondary"===t&&{...cn(e)},..."primary"===t&&{...un(e)}}))),Cn=({sizing:e="lg",variation:t="primary",...o})=>Ut.jsx(vn,{variation:t,sizing:e,...o}),wn=({label:e,sx:t,...o})=>{const n=h();return Ut.jsx(k,{label:e||"",sx:Ee({ml:0,"&.Mui-disabled":{color:n.custom.palette.text.disabled},"&.Mui-error":{color:n.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:e?n.custom.margin.md:0,color:"inherit",fontSize:{xs:nn.sm.body.md,sm:nn.sm.body.md,md:nn.sm.body.md,lg:nn.lg.body.md,xl:nn.lg.body.md}}},t),...o})},jn=v(S)((({theme:e,sizing:t})=>({height:"default"===t?Kt:Qt,width:"default"===t?Kt:Qt,padding:0,flex:"none",borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.input.default,position:"relative",transition:e.custom.easing.input,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t?uo.sm:uo.xl,height:"default"===t?uo.sm:uo.xl},"&:before":{content:'""',position:"absolute",inset:0},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& svg":{fill:e.custom.palette.icon.disabled}}},"&.MuiCheckbox-indeterminate":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),kn=e=>Ut.jsx(jn,{checkedIcon:Ut.jsx(ye,{}),indeterminateIcon:Ut.jsx(ve,{}),...e}),Sn=({internalChange:e,checkboxLabel:t,indeterminate:o,sizing:n="default",onChange:r,inputRef:i,value:a,...s})=>Ut.jsx(wn,{inputRef:i,label:t,checked:a,control:Ut.jsx(kn,{sizing:n,indeterminate:o}),onChange:(t,o)=>{r&&r(t,o),e&&e()},...s}),Mn=v(M)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:uo.xl,height:uo.xl}},"& .MuiOutlinedInput-input":{padding:e.spacing(1),paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.primary,borderRadius:e.spacing(e.custom.radius.md),lineHeight:"140%",[e.breakpoints.down("md")]:{minWidth:"100%"},paddingLeft:0,paddingRight:0,fontSize:nn.sm.body.md,"&.Mui-focused":{"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{color:e.custom.palette.text.disabled,backgroundColor:e.custom.palette.input.disabled,"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}},"&:hover":{"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,"& fieldset":{backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default},"&.Mui-focused":{"& fieldset":{backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& fieldset":{backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}}}}))),Ln=({startAdornment:e,endAdornment:t,placeholder:o,onChange:n,internalChange:r,inputRef:i,...a})=>Ut.jsx(Mn,{placeholder:o,sx:{height:eo,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:i,InputProps:{startAdornment:e?Ut.jsx(L,{position:"start",sx:{pl:1},children:e}):null,endAdornment:t?Ut.jsx(L,{position:"start",sx:{pr:1},children:t}):null},...a,onChange:e=>{n&&n(e),r&&r()}}),En=({sizing:e,options:t,other:o,internalChange:n,value:r,inputRef:i,onChange:a})=>{const s=o?.name||"other-option",l=`${s}-value-`,c=e=>`${l}${e}`,u=o?.enabled,d=r?.includes(s)&&u,p=r?.find((e=>e.includes(l)));if(!r)return Ut.jsx("div",{});const m=(e,i)=>{let c=r.includes(e)?r.filter((t=>t!==e)):i?[e]:[...new Set(r),e];if(i||(c=c.filter((e=>!t.find((t=>t?.exclusive&&e===t.value))))),o?.enabled){!r.includes(s)||e!==s||(c=c.filter((e=>!e.includes(l))))}a(c),n&&n()};return Ut.jsxs(Ut.Fragment,{children:[Ut.jsxs(E,{sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiCheckbox-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},children:[t?t.map(((t,o)=>{const n=t.value;return Ut.jsx(wn,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>m(n,t.exclusive),checked:r.includes(n),control:Ut.jsx(kn,{sizing:e}),label:t.label},n)})):null,u&&Ut.jsx(wn,{inputRef:i,onChange:()=>m(s),label:o?.label||"Other",checked:r.includes(s),control:Ut.jsx(kn,{sizing:e})},s)]}),d&&Ut.jsx(j,{sx:{mt:1},children:Ut.jsx(Ln,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(l,""):"",placeholder:o?.placeholder,onChange:e=>{const t=r.find((e=>e.includes(l))),o=(t?r.map((t=>t.includes(l)?c(e.target.value):t)):[...r,c(e.target.value)]).filter((e=>e!==l));a(o),n&&n()},required:!0})})]})},$n=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,On=(e,t)=>{switch(t){case"tone1":default:return $n(e);case"tone2":return(e=>`linear-gradient(135deg, ${e.custom.palette.purple[0]} 0%, ${e.custom.palette.purple[100]} 100%)`)(e);case"tone3":return(e=>`linear-gradient(135deg, ${e.custom.palette.blue[400]} 0%, ${e.custom.palette.purple[600]} 100%)`)(e);case"tone4":return(e=>`radial-gradient(54.59% 50% at 0% 50.04%, ${$(e.custom.palette.blue[1e3],.2)} 0%, ${$(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},Fn=(e,t)=>{const o=On(e,t.gradient),n=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return n?[n,o].join(","):[o].join(",")},Rn=({sx:e,children:t,texture:o="noise1",gradient:n="tone1",...r})=>{const i=h();return Ut.jsx(O,{maxWidth:!1,disableGutters:!0,sx:Ee({background:Fn(i,{texture:o,gradient:n}),height:"100%",p:[0,0,0]},!!e&&{...e}),...r,children:t})},In=({inputField:e,onChange:t,internalChange:o,transformValue:n,...r})=>{const i=e;return Ut.jsx(i,{onChange:e=>{t&&t(n?n(e):e),o&&o()},...r})},An=v(F)((({theme:e,align:t})=>({fontWeight:400,lineHeight:"140%",whiteSpace:"normal",textAlign:t,color:"inherit","&.Mui-disabled":{color:e.custom.palette.text.disabled},"&.Mui-error":{color:e.custom.palette.text.negative}}))),Tn=e=>Ut.jsx(An,{...e}),Vn=e=>{const{icon:t=null,state:o="default",disabled:n,showicon:r=!0}=e,i=h();return Ut.jsxs(j,{sx:{display:"inline-flex",alignItems:"center",color:n?i.custom.palette.text.disabled:(()=>{switch(o){case"disabled":return i.custom.palette.text.disabled;case"positive":return i.custom.palette.text.positive;case"negative":return i.custom.palette.text.negative;default:return i.custom.palette.text.secondary}})(),"& svg":{marginRight:i.spacing(i.custom.margin.xs),width:uo.xs,height:uo.xs,color:"inherit"}},children:[(()=>{if(!r)return null;if(t)return t;switch(o){case"disabled":default:return Ut.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(Ce,{})});case"positive":return Ut.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(ye,{})});case"negative":return Ut.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(we,{})})}})(),Ut.jsx(Tn,{...e,sx:{fontSize:{xs:nn.sm.body.sm,sm:nn.sm.body.sm,md:nn.sm.body.sm,lg:nn.lg.body.sm,xl:nn.lg.body.sm}}})]})},Pn=v(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Yt,height:Yt,top:`calc(100% + ${Yt}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Yt,height:Yt,top:`calc(100% + ${Yt}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Bn=({children:e,width:t})=>Ut.jsx(Pn,{sx:{width:t,minWidth:300},children:e}),Hn=v(R)((({theme:e,sizing:t})=>({padding:0,backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,position:"relative",transition:e.custom.easing.input,flexShrink:0,height:"default"===t?Kt:Qt,width:"default"===t?Kt:Qt,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&uo.sm,height:"default"===t&&uo.sm},"&:before":{content:'""',position:"absolute",inset:0,borderRadius:e.custom.radius.round},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}}}}))),_n=e=>Ut.jsx(Hn,{...e}),zn=v(_n)((()=>({marginRight:0}))),Dn=v(j)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:Yt,width:`calc(100% - ${Qt}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Nn=e=>Ut.jsx(Dn,{sx:{position:"relative"},children:Ut.jsx(zn,{...e})}),Zn=({disabled:e=!1,onChange:t,labelLeft:o,labelRight:n,internalChange:r,labelCenter:i})=>{const a=[...Array(7).keys()];return Ut.jsx(I,{children:Ut.jsxs(Bn,{children:[Ut.jsx(A,{container:!0,justifyContent:"space-between",children:a.map(((o,n)=>{const i=n+1!==a.length;return Ut.jsx(A,{item:!0,sm:i,children:Ut.jsx(Nn,{disabled:e,value:o,onChange:(e,o)=>{t&&t(e,o),r&&r()},name:`radio-option-${o}`},o)},o)}))}),Ut.jsxs(A,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[Ut.jsx(A,{item:!0,sm:!0,sx:{textAlign:"left"},children:Ut.jsx(Vn,{disabled:e,showicon:!1,children:o})}),Ut.jsx(A,{item:!0,sm:!0,sx:{textAlign:"center"},children:Ut.jsx(Vn,{disabled:e,align:"center",showicon:!1,children:i})}),Ut.jsx(A,{item:!0,sm:!0,sx:{textAlign:"right"},children:Ut.jsx(Vn,{disabled:e,align:"right",showicon:!1,children:n})})]})]})})},Wn=v(T)((({theme:e})=>({"& .MuiPaper-root":{backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.sm),marginTop:e.spacing(1),minWidth:180,border:`1px solid ${e.custom.palette.stroke.default}`,boxShadow:"none","& .MuiMenu-list":{padding:`${e.spacing(e.custom.padding.xs)} 0`},"& .MuiMenuItem-root":{"& .MuiSvgIcon-root":{color:e.custom.palette.text.primary},"&:active":{backgroundColor:$(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),Un=({open:e,anchorEl:t,handleClick:o,handleClose:n,items:r,...i})=>Ut.jsx(Ut.Fragment,{children:Ut.jsx(Wn,{anchorEl:t,open:e,onClose:n,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...i,children:r?.map(((e,t)=>Ut.jsxs(V,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&Ut.jsx(j,{mr:1,children:e.icon}),e.label]},t)))})}),qn=()=>{const[e,o]=t.useState(null);return{open:Boolean(e),handleClick:e=>{o(e.currentTarget)},handleClose:()=>{o(null)},anchorEl:e}},Gn="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function Yn(){return Yn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Yn.apply(null,arguments)}function Xn(e,t){const o=Yn({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))o[n]=Yn({},e[n],o[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const r=e[n]||{},i=t[n];o[n]={},i&&Object.keys(i)?r&&Object.keys(r)?(o[n]=Yn({},i),Object.keys(r).forEach((e=>{o[n][e]=Xn(r[e],i[e])}))):o[n]=i:o[n]=r}else void 0===o[n]&&(o[n]=e[n])})),o}function Jn(e){const{theme:t,name:o,props:n}=e;return t&&t.components&&t.components[o]&&t.components[o].defaultProps?Xn(t.components[o].defaultProps,n):n}function Kn(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}var Qn,er={exports:{}},tr={exports:{}},or={};var nr,rr,ir,ar,sr,lr,cr,ur,dr,pr,mr,hr,fr,gr,xr={};
|
|
11
|
-
/** @license React v16.13.1
|
|
12
|
-
* react-is.development.js
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/function br(){return rr||(rr=1,"production"===process.env.NODE_ENV?tr.exports=function(){if(Qn)return or;Qn=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case n:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case o:return p}}}function v(e){return y(e)===c}return or.AsyncMode=l,or.ConcurrentMode=c,or.ContextConsumer=s,or.ContextProvider=a,or.Element=t,or.ForwardRef=u,or.Fragment=n,or.Lazy=h,or.Memo=m,or.Portal=o,or.Profiler=i,or.StrictMode=r,or.Suspense=d,or.isAsyncMode=function(e){return v(e)||y(e)===l},or.isConcurrentMode=v,or.isContextConsumer=function(e){return y(e)===s},or.isContextProvider=function(e){return y(e)===a},or.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},or.isForwardRef=function(e){return y(e)===u},or.isFragment=function(e){return y(e)===n},or.isLazy=function(e){return y(e)===h},or.isMemo=function(e){return y(e)===m},or.isPortal=function(e){return y(e)===o},or.isProfiler=function(e){return y(e)===i},or.isStrictMode=function(e){return y(e)===r},or.isSuspense=function(e){return y(e)===d},or.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===b||e.$$typeof===f)},or.typeOf=y,or}():tr.exports=(nr||(nr=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case n:case i:case r:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case h:case m:case a:return g;default:return p}}case o:return p}}}var v=l,C=c,w=s,j=a,k=t,S=u,M=n,L=h,E=m,$=o,O=i,F=r,R=d,I=!1;function A(e){return y(e)===c}xr.AsyncMode=v,xr.ConcurrentMode=C,xr.ContextConsumer=w,xr.ContextProvider=j,xr.Element=k,xr.ForwardRef=S,xr.Fragment=M,xr.Lazy=L,xr.Memo=E,xr.Portal=$,xr.Profiler=O,xr.StrictMode=F,xr.Suspense=R,xr.isAsyncMode=function(e){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(e)||y(e)===l},xr.isConcurrentMode=A,xr.isContextConsumer=function(e){return y(e)===s},xr.isContextProvider=function(e){return y(e)===a},xr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},xr.isForwardRef=function(e){return y(e)===u},xr.isFragment=function(e){return y(e)===n},xr.isLazy=function(e){return y(e)===h},xr.isMemo=function(e){return y(e)===m},xr.isPortal=function(e){return y(e)===o},xr.isProfiler=function(e){return y(e)===i},xr.isStrictMode=function(e){return y(e)===r},xr.isSuspense=function(e){return y(e)===d},xr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===b||e.$$typeof===f)},xr.typeOf=y}()),xr)),tr.exports}
|
|
19
|
-
/*
|
|
20
|
-
object-assign
|
|
21
|
-
(c) Sindre Sorhus
|
|
22
|
-
@license MIT
|
|
23
|
-
*/function yr(){if(ar)return ir;ar=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;return ir=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,r){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)o.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},ir}function vr(){if(lr)return sr;lr=1;return sr="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Cr(){return ur?cr:(ur=1,cr=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var wr=br();er.exports=function(){if(hr)return mr;hr=1;var e=br(),t=yr(),o=vr(),n=Cr(),r=function(){if(pr)return dr;pr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=vr(),o={},n=Cr();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(n(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in o)){o[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(o={})},dr=r}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),mr=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:h(a),arrayOf:function(e){return h((function(t,n,r,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new m("Invalid "+i+" `"+a+"` of type `"+b(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,a+"["+l+"]",o);if(c instanceof Error)return c}return null}))},element:h((function(e,t,o,n,r){var i=e[t];return s(i)?null:new m("Invalid "+n+" `"+r+"` of type `"+b(i)+"` supplied to `"+o+"`, expected a single ReactElement.")})),elementType:h((function(t,o,n,r,i){var a=t[o];return e.isValidElementType(a)?null:new m("Invalid "+r+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,o,n,r,i){if(!(t[o]instanceof e)){var a=e.name||u;return new m("Invalid "+r+" `"+i+"` of type `"+((s=t[o]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,o,n,r){return x(e[t])?null:new m("Invalid "+n+" `"+r+"` supplied to `"+o+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,r,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=b(l);if("object"!==c)return new m("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(n(l,u)){var d=e(l,u,i,a,s+"."+u,o);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,o,n,r,i){for(var a=t[o],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new m("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+v(r)+" at index "+t+"."),a}return h((function(t,r,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,s,o);if(null==u)return null;u.data&&n(u.data,"expectedType")&&l.push(u.data.expectedType)}return new m("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,n,r,i,a){var s=t[n],l=b(s);if("object"!==l)return new m("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,a,c,y(u));var d=u(s,c,r,i,a+"."+c,o);if(d)return d}return null}))},exact:function(e){return h((function(r,i,a,s,l){var c=r[i],u=b(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var h=e[p];if(n(e,p)&&"function"!=typeof h)return g(a,s,l,p,y(h));if(!h)return new m("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=h(c,p,a,s,l+"."+p,o);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function r(r,a,s,c,d,p,h){if(c=c||u,p=p||s,h!==o){if(l){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&n<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,n++)}}return null==a[s]?r?null===a[s]?new m("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,d,p)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function f(e){return h((function(t,o,n,r,i,a){var s=t[o];return b(s)!==e?new m("Invalid "+r+" `"+i+"` of type `"+y(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,o,n,r){return new m((e||"React class")+": "+t+" type `"+o+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var o,n=t.call(e);if(t!==e.entries){for(;!(o=n.next()).done;)if(!x(o.value))return!1}else for(;!(o=n.next()).done;){var r=o.value;if(r&&!x(r[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function v(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},mr}()(wr.isElement,!0)}else er.exports=function(){if(gr)return fr;gr=1;var e=vr();function t(){}function o(){}return o.resetWarningCache=t,fr=function(){function n(t,o,n,r,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return n}n.isRequired=n;var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:o,resetWarningCache:t};return i.PropTypes=i,i}}()();var jr=_t(er.exports);function kr(t=null){const o=e.useContext($e);return o&&(n=o,0!==Object.keys(n).length)?o:t;var n}function Sr(t,o,n,r,i){const[a,s]=e.useState((()=>i&&n?n(t).matches:r?r(t).matches:o));return Gn((()=>{let e=!0;if(!n)return;const o=n(t),r=()=>{e&&s(o.matches)};return r(),o.addListener(r),()=>{e=!1,o.removeListener(r)}}),[t,n]),a}const Mr=e.useSyncExternalStore;function Lr(t,o,n,r,i){const a=e.useCallback((()=>o),[o]),s=e.useMemo((()=>{if(i&&n)return()=>n(t).matches;if(null!==r){const{matches:e}=r(t);return()=>e}return a}),[a,t,r,i,n]),[l,c]=e.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const e=n(t);return[()=>e.matches,t=>(e.addListener(t),()=>{e.removeListener(t)})]}),[a,n,t]);return Mr(c,l,s)}const Er=()=>{const t=h();return[...t.breakpoints.keys].reduce(((o,n)=>{const r=function(t,o={}){const n=kr(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:i=!1,matchMedia:a=(r?window.matchMedia:null),ssrMatchMedia:s=null,noSsr:l=!1}=Jn({name:"MuiUseMediaQuery",props:o,theme:n});"production"!==process.env.NODE_ENV&&"function"==typeof t&&null===n&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join("\n"));let c="function"==typeof t?t(n):t;c=c.replace(/^@media( ?)/m,"");const u=(void 0!==Mr?Lr:Sr)(c,i,a,s,l);return"production"!==process.env.NODE_ENV&&e.useDebugValue({query:c,match:u}),u}(t.breakpoints.up(n));return r?n:o}),null)??"sm"},$r=({breakpoint:e})=>{const t=h(),o=Array.from({length:6},((e,t)=>t));return e||(e=Er()),Ut.jsxs(x,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[Ut.jsx(O,{sx:{background:t.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:Ut.jsx(j,{sx:{background:t.custom.palette.purple[300],display:"flex",flex:1},children:Ut.jsxs(A,{container:!0,spacing:2,children:[o.map((e=>Ut.jsx(A,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:Ut.jsx(j,{sx:{background:t.custom.palette.green[300],height:"100%"}})},`grid-1-${e}`))),o.map((e=>Ut.jsx(A,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:Ut.jsx(j,{sx:{background:t.custom.palette.green[300],height:"100%"}})},`grid-2-${e}`)))]})})}),!!e&&Ut.jsx(j,{sx:{backgroundColor:t.custom.palette.surface.default,borderRadius:t.spacing(t.custom.radius.md),bottom:16,filter:t.custom.elevationFilter.raised,display:"block",left:16,position:"fixed",px:2,py:1},children:Ut.jsx(Xo,{variation:"sm",component:"p",weight:"bold",children:e})})]})},Or=({children:e,...t})=>e,Fr=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),Rr=e=>({backgroundColor:e.custom.palette.purple[100],color:e.custom.palette.icon.primary,"& .MuiButtonBase-root":{":hover":{background:e.custom.palette.interaction.hoverOnDark},":active":{background:e.custom.palette.interaction.pressOnDark}}}),Ir=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,color:e.custom.palette.icon.primary,"&.MuiIconButton-root:disabled":{border:"none"}}),Ar=e=>({backgroundColor:e.custom.palette.surface.raised,boxShadow:e.custom.elevation.raised,color:e.custom.palette.icon.primary,"&:focus-visible:after":{boxShadow:e.custom.boxShadow.input.focus},"&.MuiIconButton-root:disabled":{boxShadow:"none"}}),Tr=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Vr={xs:3*oo,sm:3.5*oo,md:4*oo,lg:5*oo,xl:6*oo},Pr=e=>({height:Vr[e],width:Vr[e]}),Br={xs:2*oo,sm:2*oo,md:2*oo,lg:2.5*oo,xl:3*oo},Hr=e=>({height:Br[e],width:Br[e]}),_r=v(P)((({theme:e,variation:t,shape:o="default",sizing:n})=>({boxSizing:"border-box",transition:"all 200ms ease",...o&&{...Tr(o,e)},...n&&{...Pr(n)},"&.MuiIconButton-root":{..."default"===t&&{...Fr(e)},..."toggle"===t&&{...Rr(e)},..."outlined"===t&&{...Ir(e)},..."raised"===t&&{...Ar(e)},...o&&{...Tr(o,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...n&&{...Hr(n)},position:"relative",zIndex:1}}))),zr=({children:e,message:t,variation:o="primary",...n})=>{const r=h();if("primary"===o)return Ut.jsx(B,{...n,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:r.spacing(r.custom.radius.sm),filter:`drop-shadow(${r.custom.elevation.overlay})`}}}},title:t,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:Ut.jsx(j,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},Dr=({icon:e,loading:t,tooltipMessage:o,sizing:n,slotProps:r,...i})=>{const a=()=>Ut.jsx(_r,{...i,sizing:n,children:t?Ut.jsx(bn,{sizing:n}):e});return o?Ut.jsx(zr,{message:o,...r?.tooltip,children:a()}):a()},Nr=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderBottomLeftRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderTopLeftRadius:0}}),Zr=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopLeftRadius:0,borderBottomLeftRadius:0}}),Wr=v(H)((({theme:e,variation:t,orientation:o="horizontal",iconColor:n,sizing:r="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Fr(e)},..."toggle"===t&&{...Rr(e)},..."vertical"===o&&{...Nr(e)},..."horizontal"===o&&{...Zr(e)},...r&&{...Pr(r)}},"& .MuiSvgIcon-root":{...r&&{...Hr(r)},fill:n||"inherit"}}}))),Ur=({ButtonGroupProps:e,children:t,...o})=>Ut.jsx(Wr,{...o,...e,children:t}),qr=({sx:e,...t})=>Ut.jsx(Tn,{...t,sx:Ee({fontSize:{xs:nn.sm.body.md,sm:nn.sm.body.md,md:nn.sm.body.md,lg:nn.lg.body.md,xl:nn.lg.body.md}},!!e&&{...e})}),Gr=v(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:Jt,borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${Jt}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:Jt,borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${Jt}px)`}}}}}))),Yr=({children:e,width:t})=>Ut.jsx(Gr,{sx:{width:t},children:e}),Xr=v(Vn)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Jr=({disabled:e,children:t})=>Ut.jsx(Xr,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),Kr=v(_n)((()=>({marginRight:0}))),Qr=v(j)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:Yt,width:`calc(50% - ${Qt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:Yt,width:`calc(50% - ${Qt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),ei=e=>Ut.jsx(Qr,{sx:{textAlign:"center",position:"relative"},children:Ut.jsx(Kr,{...e})}),ti=({options:e=[],disabled:t=!1,sizing:o="lg",onChange:n,internalChange:r,value:i})=>{const a=h();function s(e){console.warn(e),n(e.value),r&&r()}return Ut.jsx(j,{children:Ut.jsx(Yr,{children:Ut.jsx(A,{container:!0,justifyContent:"space-between",children:e.map((e=>Ut.jsxs(A,{item:!0,sm:!0,onClick:()=>s(e),sx:{...!t&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!t&&{backgroundColor:a.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!t&&{backgroundColor:a.custom.palette.input.default,borderColor:a.custom.palette.stroke.focus,boxShadow:a.custom.boxShadow.input.focus},"&:before":{...!t&&{backgroundColor:a.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:a.custom.palette.purple[500]}}}},children:[Ut.jsx(ei,{sizing:o,disabled:t,onChange:t=>s(e),checked:i===e.value},e.value),Ut.jsx(j,{sx:{mt:no.xs,width:"100%"},children:Ut.jsx(Jr,{disabled:t,children:e.label})})]},e.value)))})})})},oi=v(_)((({theme:e,disabled:t})=>({"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,borderRadius:e.spacing(e.custom.radius.sm),outline:"none"},"&.MuiLink-root":{transition:"all 200ms ease",display:"inline",cursor:"pointer",color:t?e.custom.palette.text.lockedWhite:e.custom.palette.text.textLink,textDecorationColor:e.custom.palette.text.textLink,pointerEvents:t?"none":"auto","&:hover":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.textLinkHover,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.textLinkHover},"&:active":{color:e.custom.palette.text.textLinkHover,textDecorationColor:e.custom.palette.text.textLinkHover},"&:visited":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.textLink,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.textLink}}}))),ni=e=>e.target&&"_blank"===e.target?Ut.jsx(oi,{rel:"noopener",...e}):Ut.jsx(oi,{...e}),ri=()=>Ut.jsx(j,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:Ut.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),ii=e=>Ut.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:Ut.jsx("path",{d:"M8.72886 20.0975C7.43461 19.1995 7.16357 18.9302 7.16357 16.9549V0.988281H-0.000106812V1.28748L0.0165316 1.29764C1.3293 2.09875 1.92633 2.46309 1.92633 4.43011V16.9549C1.92633 18.9302 1.65553 19.1995 0.361043 20.0975V20.3965H8.72886V20.0975ZM14.5709 13.437C13.7868 9.01598 14.1045 7.0153 16.0905 6.66718C18.0767 6.31907 19.0631 8.09095 19.8472 12.512C20.6311 16.933 20.3137 18.9335 18.3275 19.2816C16.3415 19.6299 15.3548 17.8578 14.5709 13.437ZM9.11663 14.3934C9.93203 18.9911 14.141 21.3529 18.5575 20.5785C22.9743 19.8041 26.1169 16.1534 25.3015 11.5559C24.4861 6.95793 20.2773 4.5961 15.8605 5.3705C11.444 6.14467 8.30123 9.79541 9.11663 14.3934ZM33.3669 6.66718C31.381 7.0153 31.0633 9.01598 31.8474 13.437C32.6313 17.8578 33.618 19.6299 35.6039 19.2816C37.5901 18.9335 37.9076 16.933 37.1237 12.512C36.3396 8.09095 35.3531 6.31907 33.3669 6.66718ZM35.834 20.5785C31.4175 21.3529 27.2085 18.9911 26.3931 14.3934C25.5777 9.79541 28.7205 6.14467 33.137 5.3705C37.5538 4.5961 41.7625 6.95793 42.5779 11.5559C43.3933 16.1534 40.2508 19.8041 35.834 20.5785ZM52.9075 18.9002C51.0712 18.9002 49.6266 16.8353 49.6266 14.441V12.3162C49.6266 9.6524 50.9209 7.64737 52.9075 7.64737C54.9843 7.64737 56.0078 9.53285 56.0078 12.7351C56.0078 16.955 54.9542 18.9002 52.9075 18.9002ZM51.6733 24.5936C50.1696 23.7488 49.6266 23.4437 49.6266 21.5189V17.9125C50.4091 19.4689 51.9744 20.6958 54.5629 20.6958C58.476 20.6958 61.5762 17.763 61.5762 12.7052C61.5762 7.55754 58.5663 5.25308 55.1047 5.25308C52.2753 5.25308 50.3187 6.83937 49.6266 9.02405L49.5063 5.55228H42.5833V5.85171L42.5873 5.85427C43.8786 6.69033 44.3891 7.02081 44.3891 8.99411V21.5189C44.3891 23.4942 44.1183 23.7637 42.824 24.6613V24.9605H51.7937V24.6613L51.6733 24.5936ZM79.8954 18.9002C79.8954 19.8689 79.1055 20.6543 78.1313 20.6543C77.157 20.6543 76.3671 19.8689 76.3671 18.9002C76.3671 17.9315 77.157 17.1462 78.1313 17.1462C79.1055 17.1462 79.8954 17.9315 79.8954 18.9002ZM70.0692 10.2734C68.0387 9.67975 66.9044 9.34812 66.9044 8.15614C66.9044 7.16849 67.8074 6.71957 68.8309 6.71957C70.7874 6.71957 72.3224 7.827 74.0985 10.4007H74.5196V5.25306H74.2187L72.8642 6.24072C72.8031 6.21577 72.742 6.19075 72.681 6.16573C71.5696 5.71024 70.454 5.25306 68.7707 5.25306C65.55 5.25306 62.9916 7.22837 62.9916 10.1612C62.9916 12.795 64.2557 14.2912 68.8008 15.4585C70.4863 15.8775 71.6601 16.1767 71.6601 17.4636C71.6601 18.6608 70.4863 19.2293 69.0718 19.2293C66.9044 19.2293 65.3093 17.763 63.2021 14.9797H62.7509L63.0819 20.6661H63.413L64.6169 19.4688C65.5801 19.9477 67.0851 20.6958 69.1019 20.6958C72.9546 20.6958 75.6334 18.571 75.6334 15.5783C75.6334 12.4956 73.7672 11.3584 70.095 10.2809L70.0692 10.2734Z"})}),ai=v(j)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5)}))),si=v(j)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),li=v(Xo)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),ci=v(w)((({active:e,fullWidth:t,theme:o})=>({alignItems:"center",backgroundColor:e?o.custom.palette.interaction.press:"transparent",borderRadius:o.spacing(o.custom.radius.md),color:o.custom.palette.text.primary,display:"flex",gap:o.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:o.spacing(1),textTransform:"none",width:t?"100%":"auto","&:hover":{backgroundColor:o.custom.palette.interaction.hover,"& > div":{opacity:1}},"&:focus":{backgroundColor:o.custom.palette.interaction.hover},"&:active":{backgroundColor:o.custom.palette.interaction.press},"&:disabled":{backgroundColor:o.custom.palette.interaction.disabled,color:o.custom.palette.text.disabled}}))),ui=({active:e,label:t,href:o,icon:n,onClick:r,variation:i})=>"sm"===i?Ut.jsxs(ai,{onClick:r,children:[Ut.jsx(ci,{active:e,children:Ut.jsx(j,{display:"flex",alignItems:"center",gap:1,children:n&&Ut.jsx(po,{name:n,size:24})})}),Ut.jsx(li,{component:"p",variation:"sm",active:e,children:t})]}):Ut.jsxs(ci,{onClick:r,fullWidth:!0,active:e,children:[Ut.jsxs(j,{display:"flex",alignItems:"center",gap:1.5,children:[n&&Ut.jsx(po,{name:n,size:24}),Ut.jsx(Xo,{component:"p",variation:"lg",children:t})]}),o&&Ut.jsx(si,{children:Ut.jsx(po,{name:"open-in-new",size:20})})]});function di(t){if("undefined"==typeof window)return t;const o=e.useRef(null);return e.useLayoutEffect((()=>{o.current=t})),e.useCallback(((...e)=>{var t;null===(t=o.current)||void 0===t||t.call(o,...e)}),[])}const pi={};const mi={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},hi=e,fi="useId"in hi?()=>hi.useId():()=>{};function gi({parentPopupState:e,popupId:t=fi(),variant:a,disableAutoFocus:s}){const l=o(!0);n((()=>(l.current=!0,()=>{l.current=!1})),[]);const[c,u]=r(mi),d=i((e=>{l.current&&u(e)}),[]),p=i((e=>d((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),m=di((e=>(c.isOpen?g(e):h(e),c))),h=di((t=>{const o=t instanceof Element?void 0:t,n=t instanceof Element?t:(null==t?void 0:t.currentTarget)instanceof Element?t.currentTarget:void 0;if("touchstart"===(null==o?void 0:o.type))return void d((e=>({...e,_deferNextOpen:!0})));const r=null==o?void 0:o.clientX,i=null==o?void 0:o.clientY,s="number"==typeof r&&"number"==typeof i?{left:r,top:i}:void 0,l=r=>{var i,l;if(t||r.setAnchorElUsed||"dialog"===a||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",pi[i="missingEventOrAnchorEl"]||(pi[i]=!0,console.error("[material-ui-popup-state] WARNING",l))),e){if(!e.isOpen)return r;setTimeout((()=>e._setChildPopupState(C)))}const c={...r,isOpen:!0,anchorPosition:s,hovered:"mouseover"===(null==o?void 0:o.type)||r.hovered,focused:"focus"===(null==o?void 0:o.type)||r.focused,_openEventType:null==o?void 0:o.type};return r.setAnchorElUsed||(null!=o&&o.currentTarget?c.anchorEl=null==o?void 0:o.currentTarget:n&&(c.anchorEl=n)),c};d((e=>e._deferNextOpen?(setTimeout((()=>d(l)),0),{...e,_deferNextOpen:!1}):l(e)))})),f=t=>{const{_childPopupState:o}=t;return setTimeout((()=>{null==o||o.close(),null==e||e._setChildPopupState(null)})),{...t,isOpen:!1,hovered:!1,focused:!1}},g=di((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?d((e=>e._deferNextClose?(setTimeout((()=>d(f)),0),{...e,_deferNextClose:!1}):f(e))):d((e=>({...e,_deferNextClose:!0})))})),x=i(((e,t)=>{e?h(t):g(t)}),[]),b=di((e=>{const{relatedTarget:t}=e;d((e=>!e.hovered||t instanceof Element&&vi(t,C)?e:e.focused?{...e,hovered:!1}:f(e)))})),y=di((e=>{if(!e)return;const{relatedTarget:t}=e;d((e=>!e.focused||t instanceof Element&&vi(t,C)?e:e.hovered?{...e,focused:!1}:f(e)))})),v=i((e=>d((t=>({...t,_childPopupState:e})))),[]),C={...c,setAnchorEl:p,popupId:t??void 0,variant:a,open:h,close:g,toggle:m,setOpen:x,onBlur:y,onMouseLeave:b,disableAutoFocus:s??Boolean(c.hovered||c.focused),_setChildPopupState:v};return C}function xi({isOpen:e,popupId:t,variant:o}){return{..."popover"===o?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===o?{"aria-describedby":e?t:void 0}:void 0}}function bi(e){return{...xi(e),onClick:e.open,onTouchStart:e.open}}function yi({isOpen:e,anchorEl:t,anchorPosition:o,close:n,popupId:r,onMouseLeave:i,disableAutoFocus:a,_openEventType:s}){return{id:r,anchorEl:t,anchorPosition:o,anchorReference:"contextmenu"===s?"anchorPosition":"anchorEl",open:e,onClose:n,onMouseLeave:i,...a&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function vi(e,t){const{anchorEl:o,_childPopupState:n}=t;return Ci(o,e)||Ci(function(e,{popupId:t}){if(!t)return null;const o="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof o.getElementById?o.getElementById(t):null}(e,t),e)||null!=n&&vi(e,n)}function Ci(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const wi=e=>({boxShadow:e.custom.elevation.raised}),ji=e=>({boxShadow:e.custom.elevation.overlay}),ki=(e,t)=>{switch(t){case"xs":return e.spacing(e.custom.radius.xs);case"sm":return e.spacing(e.custom.radius.sm);case"md":return e.spacing(e.custom.radius.md);case"lg":return e.spacing(e.custom.radius.lg);default:return e.spacing(e.custom.radius.xl)}},Si=(e,t)=>{switch(e){case"sunken":return t.custom.palette.surface.sunken;case"raised":return t.custom.palette.surface.raised;case"overlay":return t.custom.palette.surface.overlay;default:return t.custom.palette.surface.default}},Mi=v(z)((({theme:e,variation:t="default",borderradius:o})=>({boxShadow:"unset",borderRadius:ki(e,o),background:Si(t,e),..."overlay"===t&&{...ji(e)},..."raised"===t&&{...wi(e)}}))),Li=({children:e,variation:t="overlay",sx:o,...n})=>Ut.jsx(Mi,{variation:t,...n,sx:Ee(o||{},{}),children:e}),Ei=({children:e,description:t,title:o})=>Ut.jsx(Li,{variation:"raised",borderradius:"md",sx:{maxWidth:200},children:Ut.jsxs(x,{sx:{gap:2,p:2},children:[Ut.jsxs(x,{sx:{gap:1},children:[Ut.jsx(Xo,{variation:"sm",component:"p",weight:"bold",children:o}),Ut.jsx(Xo,{variation:"sm",component:"p",children:t})]}),e]})}),$i=v(Li)((({notification:e,theme:t})=>({alignItems:"center",cursor:"pointer",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...e&&{"&:after":{background:t.custom.palette.red[500],borderRadius:t.custom.radius.round,content:'""',height:t.spacing(1),position:"absolute",right:t.spacing(.5),top:t.spacing(.5),width:t.spacing(1)}}}))),Oi=({notification:e,onClick:t})=>Ut.jsx($i,{variation:"overlay",borderradius:"md",notification:e,onClick:t,children:Ut.jsx(po,{name:"notification"})}),Fi=({children:e,description:t,title:o,variation:n})=>{if("sm"===n){const n=gi({variant:"popper"});return Ut.jsx(D,{onClickAway:()=>n.close(),children:Ut.jsxs(j,{sx:{position:"relative"},children:[Ut.jsx(j,{...bi(n),children:Ut.jsx(Oi,{notification:!0})}),Ut.jsx(N,{...yi(n),placement:"right-end",transition:!0,children:({TransitionProps:n})=>Ut.jsx(Z,{...n,timeout:350,children:Ut.jsx(j,{sx:{pl:1},children:Ut.jsx(Ei,{description:t,title:o,children:e})})})})]})})}return Ut.jsx(Ei,{description:t,title:o,children:e})},Ri=a(((e,o)=>{const{decimalSeparator:n,thousandSeparator:r,value:i,...a}=e,s=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return Ut.jsx(Oe,{...a,value:i??"",getInputRef:o,thousandSeparator:r??s,decimalSeparator:n??l})})),Ii=({disabled:e=!1,InputProps:t,inputProps:o,placeholder:n,hideActionButtons:i=!1,max:a=1/0,min:s=-1/0,startAdornment:l,endAdornment:c,internalChange:u,numericFormatProps:d,onChange:p,step:m=1,value:f,...g})=>{const b=h(),[y,v]=r(f),C=y,w=e=>{v(e),p&&p(e),u&&u()},j=()=>{const e=(null==C||Number.isNaN(C)?0:C)+m;e>a||w(e)},k=()=>{const e=(null==C||Number.isNaN(C)?0:C)-m;e<s||w(e)},S={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=s&&e<=a,max:a!==1/0?a:void 0,min:s!==-1/0?s:void 0,step:1!==m?m:void 0,onKeyDown:e=>{"ArrowUp"===e.key?j():"ArrowDown"===e.key&&k()},onValueChange:({floatValue:e})=>{e!==C&&w(e)},value:C,...d};return Ut.jsx(Mn,{placeholder:n,sx:{height:eo,"& .MuiOutlinedInput-input":{minWidth:Kt,pl:l?1:2,pr:l?1:2}},...g,value:C??"",disabled:e,InputProps:{...t,inputComponent:Ri,startAdornment:l?Ut.jsx(L,{position:"start",sx:{pl:1},children:l}):null,endAdornment:!i&&Ut.jsxs(x,{gap:b.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[c&&Ut.jsx(L,{position:"end",children:c}),Ut.jsxs(x,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${b.custom.palette.stroke.default}`},children:[Ut.jsx(W,{onClick:()=>j(),sx:{flex:1,borderTopRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:Ut.jsx(je,{fontSize:"inherit"})}),Ut.jsx(U,{}),Ut.jsx(W,{onClick:()=>k(),sx:{flex:1,borderBottomRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:Ut.jsx(ke,{fontSize:"inherit"})})]})]})},inputProps:{...o,...S}})};const Ai=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},Ti=(e,t,o)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===o?e.custom.palette.peach[1e3]:e.custom.palette.peach[800]};case"peachDark":return{background:e.custom.palette.peach[800],color:e.custom.palette.peach[0]};case"purple":return{background:e.custom.palette.purple[100],color:"heavy"===o?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===o?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},Vi=v(q)((({theme:e,variation:t,weight:o})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...Ti(e,t,o),"& .MuiChip-label":{fontSize:`${nn.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...Ai(0,o)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...Ti(e,t,o),...Ai(0,o)}}))),Pi=({body:e,maxWidth:t,...o})=>Ut.jsx(Vi,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...o});var Bi=function(){function e(e){var t=this;this._insertTag=function(e){var o;o=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,o),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{o.insertRule(e,o.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Hi="undefined"!=typeof document,_i=function(e,t,o){for(var n=0,r=0;n=r,r=tt(),38===n&&12===r&&(t[o]=1),!Qe(r);)Ke();return nt(e,rt)},zi=function(e,t){return Ue(function(e,t){var o=-1,n=44;do{switch(Qe(n)){case 0:38===n&&12===tt()&&(t[o]=1),e[o]+=_i(rt-1,t,o);break;case 2:e[o]+=ot(n);break;case 4:if(44===n){e[++o]=58===tt()?"&\f":"",t[o]=e[o].length;break}default:e[o]+=et(n)}}while(n=Ke());return e}(qe(e),t))},Di=new WeakMap,Ni=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;"rule"!==o.type;)if(!(o=o.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Di.get(o))&&!n){Di.set(e,!0);for(var r=[],i=zi(t,r),a=o.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Zi=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Wi(e,t){switch(Ge(e,t)){case 5103:return _e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _e+e+ze+e+De+e+e;case 6828:case 4268:return _e+e+De+e+e;case 6165:return _e+e+De+"flex-"+e+e;case 5187:return _e+e+He(e,/(\w+).+(:[^]+)/,_e+"box-$1$2"+De+"flex-$1$2")+e;case 5443:return _e+e+De+"flex-item-"+He(e,/flex-|-self/,"")+e;case 4675:return _e+e+De+"flex-line-pack"+He(e,/align-content|flex-|-self/,"")+e;case 5548:return _e+e+De+He(e,"shrink","negative")+e;case 5292:return _e+e+De+He(e,"basis","preferred-size")+e;case 6060:return _e+"box-"+He(e,"-grow","")+_e+e+De+He(e,"grow","positive")+e;case 4554:return _e+He(e,/([^-])(transform)/g,"$1"+_e+"$2")+e;case 6187:return He(He(He(e,/(zoom-|grab)/,_e+"$1"),/(image-set)/,_e+"$1"),e,"")+e;case 5495:case 3959:return He(e,/(image-set\([^]*)/,_e+"$1$`$1");case 4968:return He(He(e,/(.+:)(flex-)?(.*)/,_e+"box-pack:$3"+De+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_e+e+e;case 4095:case 3583:case 4068:case 2532:return He(e,/(.+)-inline(.+)/,_e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xe(e)-1-t>6)switch(Ye(e,t+1)){case 109:if(45!==Ye(e,t+4))break;case 102:return He(e,/(.+:)(.+)-([^]+)/,"$1"+_e+"$2-$3$1"+ze+(108==Ye(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Je(e,"stretch")?Wi(He(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ye(e,t+1))break;case 6444:switch(Ye(e,Xe(e)-3-(~Je(e,"!important")&&10))){case 107:return He(e,":",":"+_e)+e;case 101:return He(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_e+(45===Ye(e,14)?"inline-":"")+"box$3$1"+_e+"$2$3$1"+De+"$2box$3")+e}break;case 5936:switch(Ye(e,t+11)){case 114:return _e+e+De+He(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _e+e+De+He(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _e+e+De+He(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _e+e+De+e+e}return e}var Ui,qi,Gi=Hi?void 0:(Ui=function(){return e=function(){return{}},t=Object.create(null),function(o){return void 0===t[o]&&(t[o]=e(o)),t[o]};var e,t},qi=new WeakMap,function(e){if(qi.has(e))return qi.get(e);var t=Ui(e);return qi.set(e,t),t}),Yi=[function(e,t,o,n){if(e.length>-1&&!e.return)switch(e.type){case Ze:e.return=Wi(e.value,e.length);break;case Ne:return Pe([Be(e,{value:He(e.value,"@","@"+_e)})],n);case Ae:if(e.length)return Te(e.props,(function(t){switch(Ve(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pe([Be(e,{props:[He(t,/:(read-\w+)/,":"+ze+"$1")]})],n);case"::placeholder":return Pe([Be(e,{props:[He(t,/:(plac\w+)/,":"+_e+"input-$1")]}),Be(e,{props:[He(t,/:(plac\w+)/,":"+ze+"$1")]}),Be(e,{props:[He(t,/:(plac\w+)/,De+"input-$1")]})],n)}return""}))}}],Xi=function(e){var t=e.key;if(Hi&&"css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,r,i=e.stylisPlugins||Yi,a={},s=[];Hi&&(n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),o=1;o<t.length;o++)a[t[o]]=!0;s.push(e)})));var l=[Ni,Zi];if(Gi){var c=[Fe],u=Ie(l.concat(i,c)),d=Gi(i)(t),p=function(e,t){var o,n=t.name;return void 0===d[n]&&(d[n]=(o=e?e+"{"+t.styles+"}":t.styles,Pe(We(o),u))),d[n]};r=function(e,t,o,n){var r=t.name,i=p(e,t);return void 0===g.compat?(n&&(g.inserted[r]=!0),i):n?void(g.inserted[r]=i):i}}else{var m,h=[Fe,Re((function(e){m.insert(e)}))],f=Ie(l.concat(i,h));r=function(e,t,o,n){var r;m=o,r=e?e+"{"+t.styles+"}":t.styles,Pe(We(r),f),n&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new Bi({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return g.sheet.hydrate(s),g};const Ji=v("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),Ki=e=>{const[t,o]=r(null),n=t?.contentWindow?.document?.body,i=Xi({key:"css",container:t?.contentWindow?.document?.head,prepend:!0});return Ut.jsx(Ji,{ref:o,children:n&&st(Ut.jsx(at,{value:i,children:e.children}),n)})},Qi=()=>Ut.jsxs(x,{gap:.5,flexDirection:"row",children:[Ut.jsx(f,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Ut.jsx("path",{d:"M2.09034 4.64868H4.09536C5.65956 4.64868 6.41322 4.00878 6.41322 2.84274C6.41322 1.69092 5.65956 1.05102 4.09536 1.05102H2.09034V4.64868ZM2.09034 5.6583V9H0.86742V0.0413991H4.1238C6.34212 0.0413991 7.6077 1.09368 7.6077 2.84274C7.6077 4.60602 6.34212 5.6583 4.1238 5.6583H2.09034ZM9.27266 5.90004C9.27266 7.27938 9.96944 8.26056 11.2208 8.26056C12.4864 8.26056 13.1974 7.27938 13.1974 5.90004C13.1974 4.50648 12.4864 3.53952 11.2208 3.53952C9.96944 3.53952 9.27266 4.50648 9.27266 5.90004ZM14.4061 5.90004C14.4061 7.83396 13.0552 9.17064 11.2208 9.17064C9.40064 9.17064 8.06396 7.83396 8.06396 5.90004C8.06396 3.96612 9.40064 2.61522 11.2208 2.61522C13.0552 2.61522 14.4061 3.96612 14.4061 5.90004ZM19.9082 2.78586L21.2449 7.49268H21.3018L22.738 2.78586H23.8329L21.8564 9H20.7188L19.3963 4.36428H19.3394L18.0312 9H16.8936L14.9028 2.78586H16.083L17.5477 7.49268H17.6046L18.9128 2.78586H19.9082ZM29.4445 6.78168L30.4257 6.89544C30.1271 8.31744 29.0748 9.17064 27.5248 9.17064C25.6762 9.17064 24.3253 7.91928 24.3253 5.98536C24.3253 4.023 25.6762 2.61522 27.4679 2.61522C29.4445 2.61522 30.4541 4.023 30.4541 5.71518V6.17022H25.5056C25.5624 7.40736 26.4299 8.24634 27.539 8.24634C28.5771 8.24634 29.2028 7.74864 29.4445 6.78168ZM25.534 5.445H29.2454C29.217 4.43538 28.634 3.51108 27.4679 3.51108C26.3445 3.51108 25.662 4.40694 25.534 5.445ZM35.5059 2.89962L35.3921 3.96612C35.0509 3.78126 34.8091 3.71016 34.4252 3.71016C33.5293 3.71016 32.861 4.5207 32.861 5.71518V9H31.6807V2.78586H32.861V4.05144C33.0885 3.34044 33.7284 2.61522 34.6243 2.61522C35.0082 2.61522 35.2926 2.71476 35.5059 2.89962ZM40.9288 6.78168L41.91 6.89544C41.6114 8.31744 40.5591 9.17064 39.0091 9.17064C37.1605 9.17064 35.8096 7.91928 35.8096 5.98536C35.8096 4.023 37.1605 2.61522 38.9522 2.61522C40.9288 2.61522 41.9384 4.023 41.9384 5.71518V6.17022H36.9899C37.0468 7.40736 37.9142 8.24634 39.0233 8.24634C40.0614 8.24634 40.6871 7.74864 40.9288 6.78168ZM37.0183 5.445H40.7297C40.7013 4.43538 40.1183 3.51108 38.9522 3.51108C37.8289 3.51108 37.1463 4.40694 37.0183 5.445ZM47.8993 6.07068V5.71518C47.8993 4.36428 47.0461 3.56796 45.9227 3.56796C44.6998 3.56796 44.0172 4.47804 44.0172 5.90004C44.0172 7.32204 44.6998 8.23212 45.9227 8.23212C47.0461 8.23212 47.8993 7.4358 47.8993 6.07068ZM47.8851 9V7.70598C47.6007 8.47386 46.8186 9.17064 45.6525 9.17064C43.8039 9.17064 42.8085 7.73442 42.8085 5.90004C42.8085 4.06566 43.8039 2.61522 45.6525 2.61522C46.8186 2.61522 47.6007 3.32622 47.8851 4.0941V0.0413991H49.0653V9H47.8851ZM54.3847 5.71518V6.07068C54.3847 7.4358 55.2521 8.23212 56.3755 8.23212C57.5984 8.23212 58.2668 7.32204 58.2668 5.90004C58.2668 4.47804 57.5984 3.56796 56.3755 3.56796C55.2521 3.56796 54.3847 4.36428 54.3847 5.71518ZM54.3847 7.70598L54.1288 9H53.2329V0.0413991H54.4132V4.0941C54.6833 3.32622 55.4797 2.61522 56.6457 2.61522C58.4801 2.61522 59.4897 4.06566 59.4897 5.90004C59.4897 7.73442 58.4801 9.17064 56.6315 9.17064C55.4797 9.17064 54.6691 8.48808 54.3847 7.70598ZM62.6822 11.389H61.5304L62.54 8.98578L59.9235 2.78586H61.1607L63.1372 7.56378H63.1941L65.0996 2.78586H66.2656L62.6822 11.389Z",fill:"#473F5C"})}),Ut.jsxs(f,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Ut.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:Ut.jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M4.3189 9.56522C3.67851 9.11556 3.54429 8.98169 3.54429 7.99199V0H0V0.149886L0.00580287 0.153463C0.656931 0.554852 0.953183 0.737477 0.953183 1.72311V7.99199C0.953183 8.98169 0.818964 9.11556 0.17858 9.56522V9.7151H4.3189V9.56522ZM4.51113 6.71053C4.91378 9.01144 6.99646 10.1934 9.18264 9.80664C11.3677 9.41876 12.9226 7.58467 12.5199 5.28947C12.1173 2.99428 10.0346 1.80549 7.84841 2.19336C5.66223 2.58124 4.10847 4.40961 4.51113 6.71053ZM7.2103 6.23112C6.8247 4.01831 6.98053 3.01716 7.96215 2.84325C8.94377 2.66819 9.43515 3.55263 9.82074 5.76545C10.2063 7.97826 10.0516 8.97483 9.06889 9.15332C8.08613 9.33181 7.59589 8.44394 7.2103 6.23112ZM17.7306 9.80664C15.5455 10.1934 13.4629 9.01144 13.0591 6.71053C12.6553 4.40961 14.2102 2.58124 16.3963 2.19336C18.5825 1.80549 20.6641 2.99428 21.0678 5.28947C21.4716 7.58467 19.9156 9.41876 17.7306 9.80664ZM16.5101 2.84325C15.5273 3.01716 15.3726 4.01831 15.7582 6.23112C16.1438 8.44394 16.6341 9.33181 17.6168 9.15675C18.5996 8.98169 18.7543 7.98169 18.3687 5.76888C17.9831 3.55606 17.4928 2.66819 16.5101 2.84325ZM25.5683 11.8168C24.8234 11.3931 24.5553 11.2406 24.5553 10.2769L24.5575 8.4794C24.9443 9.25858 25.7189 9.873 26.9997 9.873C28.9356 9.873 30.47 8.40046 30.47 5.86842C30.47 3.29176 28.9743 2.13844 27.2681 2.13844C25.8679 2.13844 24.8988 2.93249 24.5575 4.02631L24.4973 2.28833H21.0724V2.43135L21.0731 2.43181C21.713 2.85024 21.9653 3.01524 21.9653 4.00458V10.2769C21.9653 11.2654 21.8322 11.4005 21.1907 11.8501V12H25.6267V11.8501L25.5683 11.8168ZM26.1784 8.9611C25.2696 8.9611 24.5553 7.92792 24.5553 6.72998V5.66247C24.5553 4.32952 25.1957 3.32494 26.1784 3.32494C27.2055 3.32494 27.7117 4.27002 27.7117 5.87185C27.7117 7.98741 27.1907 8.9611 26.1784 8.9611ZM38.6585 9.84325C39.1403 9.84325 39.5309 9.45034 39.5309 8.96567C39.5309 8.481 39.1403 8.0881 38.6585 8.0881C38.1767 8.0881 37.7861 8.481 37.7861 8.96567C37.7861 9.45034 38.1767 9.84325 38.6585 9.84325ZM34.6585 4.64621C33.661 4.35019 33.0998 4.18365 33.0998 3.5881C33.0998 3.08924 33.5548 2.86842 34.0552 2.86842C35.0244 2.86842 35.783 3.42334 36.6623 4.71167H36.8704V2.13501H36.7214L36.0515 2.62929C36.0223 2.61721 35.9931 2.6051 35.9639 2.59299C35.4126 2.36413 34.8607 2.13501 34.0257 2.13501C32.4321 2.13501 31.1661 3.12357 31.1661 4.59153C31.1661 5.90961 31.7929 6.65904 34.0416 7.24371C34.8765 7.45309 35.4566 7.60297 35.4566 8.24714C35.4566 8.84668 34.8765 9.13043 34.1758 9.13043C33.0998 9.13043 32.3138 8.39702 31.2799 7.00343H31.0524L31.2094 9.85011H31.3731L31.968 9.25057C32.4446 9.49085 33.1897 9.86499 34.1872 9.86499C36.0936 9.86499 37.4198 8.80091 37.4198 7.3032C37.4198 5.75973 36.4985 5.19107 34.6786 4.65217L34.6585 4.64621Z",fill:"#473F5C"})}),Ut.jsx("defs",{children:Ut.jsx("clipPath",{id:"clip0_900_1816",children:Ut.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),ea=({options:e,onChange:t,other:o,value:i,internalChange:a,...s})=>{const l=o?.enabled,c="other-option",u=`${c}-value-`,[d,p]=r(i),[m,h]=r(!1);n((()=>{!m&&d?.includes(u)?h(!0):m&&h(!1)}),[d]);return Ut.jsxs(Ut.Fragment,{children:[Ut.jsxs(I,{...s,value:d,sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiRadio-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},onChange:(e,o)=>{t&&t(o),p(o),a&&a()},children:[e?e.map(((e,t)=>Ut.jsx(wn,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:Ut.jsx(_n,{})},t))):null,l&&Ut.jsx(wn,{label:o?.label||"Other",value:u,control:Ut.jsx(_n,{checked:d?.includes(u)})},c)]}),m&&Ut.jsx(j,{sx:{mt:1},children:Ut.jsx(Ln,{fullWidth:!0,autoFocus:!0,placeholder:o?.placeholder,defaultValue:d?.replace(u,""),onChange:e=>{var o;t&&t((o=e.target.value,`${u}${o}`)),a&&a()},required:!0})})]})},ta=({handleSelectAll:e,isIndeterminate:t,isAllSelected:o,sizing:i})=>{const[a,s]=r(!1),l=h();return n((()=>{o&&s(o)}),[o]),Ut.jsxs(x,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:t=>{const o=!a;s(o),e(t,o)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[Ut.jsx(G,{sx:{cursor:"pointer",fontSize:()=>i&&an[i]},children:"Select all"}),Ut.jsx(kn,{sizing:"default",indeterminate:t,checked:a})]})},oa=a((({children:e,handleSelectAll:t,showSelectAll:o,value:n=[],selections:r,sizing:i,...a},s)=>{const l=Array.isArray(n)&&n.length===r.length,c=Array.isArray(n)&&n.length>0&&n.length<r.length;return Ut.jsxs("ul",{ref:s,...a,children:[o&&Ut.jsx(ta,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),na="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",ra=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},ia=(e,t)=>({"& .MuiTypography-root":{height:ra(t),fontSize:an[t],display:"flex",alignItems:"center",paddingLeft:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm),paddingRight:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm)}}),aa=e=>({fontSize:`${nn.sm.body.md}`,borderRadius:e.spacing(e.custom.radius.md),position:"relative",padding:e.spacing(e.custom.padding.sm),"& .MuiSelect-outlined":{padding:0},"& .MuiSelect-select.MuiInputBase-input":{paddingRight:e.spacing(ro.md)},"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",background:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.md),inset:0,zIndex:0},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-focused:before":{backgroundColor:e.custom.palette.interaction.press},"&.Mui-disabled:before":{backgroundColor:e.custom.palette.interaction.none},"& .MuiSelect-select":{position:"relative"}}),sa=(e,t)=>{switch(t){case"lg":return{height:ra(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:uo.lg,height:uo.lg,top:`calc(50% - ${uo.lg/2}px)`}};case"md":return{height:ra(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:uo.md,height:uo.md,top:`calc(50% - ${uo.md/2}px)`}};case"xs":return{height:ra(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:uo.xs,height:uo.xs,top:`calc(50% - ${uo.xs/2}px)`}};default:return{height:ra("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:uo.lg,height:uo.lg,top:`calc(50% - ${uo.lg/2}px)`}}}},la=e=>({position:"relative",fontSize:`${nn.sm.body.md}`,backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.text.primary,"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root":{position:"relative",zIndex:2,width:"100%","& .MuiSvgIcon-root":{marginRight:e.spacing(e.custom.margin.sm),width:uo.xl,height:uo.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),ca=e=>({"&.MuiModal-root.MuiPopover-root":{"&.MuiMenu-root":{borderRadius:e.spacing(e.custom.radius.sm),"& .MuiPaper-root":{border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:na}}}}),ua=v(Y)((({theme:e,sizing:t,value:o})=>({maxWidth:"100%",backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.md),border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiSvgIcon-root":{...t&&{width:uo[t],height:uo[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*oo+"px":3*oo+"px"},paddingTop:0,paddingBottom:0,paddingLeft:o&&Array.isArray(o)&&o.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:an[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*oo+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*oo+"px":3*oo+"px"},margin:0,"& .MuiSvgIcon-root":{height:"12px",width:"12px"}},"&.Mui-disabled":{backgroundColor:`${e.custom.palette.input.disabled}`,borderColor:`${e.custom.palette.stroke.disabled}`},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"& .MuiChip-root .MuiChip-label":{height:20,lineHeight:"20px",maxWidth:140,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`}}}))),da=v(q)((({theme:e,sizing:t})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.default,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`},"& .MuiChip-deleteIcon":{fill:e.custom.palette.icon.primary,borderRadius:e.custom.radius.round,margin:0,"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,fill:e.custom.palette.icon.disabled}}}))),pa=v(M)((({theme:e,sizing:t})=>({"& .MuiOutlinedInput-root":{padding:0,...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)}},"& .MuiInputBase-input":{padding:"0 14px"},"& .MuiOutlinedInput-notchedOutline":{border:"none"}}))),ma=v(N)((({theme:e,sizing:t})=>({"& .MuiPaper-root":{...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===t?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===t?e.spacing(e.custom.margin.sm):e.spacing(e.custom.margin.xs)} + ${e.spacing(e.custom.margin.xs)})`},border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:na,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${X.listbox}`]:{overflowX:"hidden",[`& .${X.option}`]:{fontSize:an[t],...t&&{height:"lg"===t?5*oo+"px":4*oo+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),ha=e=>Ut.jsx(ma,{...e}),fa=({selections:e,disableClearable:t=!1,disabled:o,internalChange:n,multiple:i=!0,onChange:s,placeholder:l="",renderListItem:c,sizing:u="lg",value:d=(i?[]:"")})=>{const[p,m]=r(e.filter((e=>d.includes(e?.value)))),h=(t,o)=>{if(s){const r=o?e.map((({value:e})=>e)):[];m(o?e:[]),s(t,r,"selectOption"),n&&n()}},f=e=>null!==e&&(!Array.isArray(e)||e.length>0);return Ut.jsx(ua,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:Ut.jsx(Se,{}),sizing:u,disabled:o,disableClearable:t,autoComplete:!0,multiple:i,renderInput:e=>Ut.jsx(pa,{...e,placeholder:f(p)?void 0:l,sizing:u}),options:e,renderTags:(e,t)=>e.map(((e,o)=>{const{key:n,...r}=t({index:o});return Ut.jsx(da,{sizing:u,deleteIcon:Ut.jsx(Me,{fontSize:"small"}),label:e.label,...r},n)})),onChange:(e,t,o)=>{const r=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;m(t),s?.(e,r,o),n?.()},PopperComponent:e=>Ut.jsx(ha,{...e,sizing:u}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:o})=>{const{key:n,...r}=e;return Ut.jsxs("li",{...r,children:[Ut.jsx("span",{children:c?c(t.value,t.label):t.label}),Ut.jsx(ye,{sx:{visibility:o?"visible":"hidden",fontSize:"16px"}})]},n)},ListboxComponent:a(((t,o)=>Ut.jsx(oa,{ref:o,...t,showSelectAll:i,handleSelectAll:h,value:p,selections:e,sizing:u}))),value:p})},ga=v(V)((({theme:e})=>({...{...la(e)},"&.Mui-focusVisible":{backgroundColor:e.custom.palette.interaction.none},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{backgroundColor:e.custom.palette.input.default}},"&.MuiButtonBase-root.MuiMenuItem-root.Mui-disabled":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.disabled,"&:before":{backgroundColor:e.custom.palette.interaction.disabled}},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:before":{backgroundColor:e.custom.palette.interaction.hover}}},"&:active":{"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),xa=({children:e,selected:t,...o})=>Ut.jsx(ga,{...o,children:Ut.jsxs(j,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[Ut.jsx(j,{children:e}),t&&Ut.jsx(ye,{})]})}),ba=v(J)((({theme:e,sizing:t})=>({...{...aa(e)},...t&&{...sa(e,t)},...t&&{...ia(e,t)},backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiOutlinedInput-notchedOutline":{border:e.custom.palette.stroke.default},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.custom.palette.stroke.default}},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& .MuiSvgIcon-root":{color:e.custom.palette.icon.disabled,transition:e.custom.easing.input}}}))),ya=({selections:e,autoComplete:t=!1,disabled:o=!1,disablePortal:n=!1,inputRef:r,internalChange:i,multi:a=!0,onChange:s,placeholder:l="",selectOptionProps:c,sizing:u="lg",sx:d,value:p=[],renderListItem:m,...f})=>{const g=h(),x=Er();return t?Ut.jsx(fa,{selections:e,placeholder:l,disabled:o,sizing:u,onChange:(e,t)=>{s&&s(t||""),i&&i()},value:Array.isArray(p)?p??[]:p??"",internalChange:i,renderListItem:m,multiple:a}):Ut.jsxs(ba,{sizing:u,inputRef:r,MenuProps:{disablePortal:n,sx:ca,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:Se,renderValue:t=>l&&!t?Ut.jsx(Xo,{component:"p",variation:"sm"===x||"md"===x?"sm":"lg",sx:{color:g.custom.palette.text.placeholder},children:l}):Ut.jsx(Xo,{component:"p",variation:"sm"===x||"md"===x?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{s&&s(e,t),i&&i()},sx:d,value:p,...f,children:[""!==l.trim()&&Ut.jsx(xa,{disabled:!0,value:"","aria-label":"placeholder",children:l},"placeholder"),e?.map((({value:e,label:t})=>Ut.jsx(xa,{value:e,...c,children:m?m(e,t):t},e)))]})},va=v(j)((({theme:e,disabled:t,fullWidth:o})=>({width:o?"100%":"auto",minWidth:240,backgroundColor:t?e.custom.palette.input.disabled:e.custom.palette.surface.raised,border:`1px solid ${t?e.custom.palette.stroke.disabled:e.custom.palette.stroke.default}`,borderRadius:e.spacing(e.custom.radius.lg),padding:e.spacing(e.custom.padding.md),position:"relative",zIndex:0,"&:after":{content:'""',backgroundColor:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.lg),position:"absolute",inset:0},"&:hover":{"&:after":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{"&:after":{backgroundColor:e.custom.palette.interaction.press}},"& svg":{fill:e.custom.palette.icon.primary},...t&&{background:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"&:after":{backgroundColor:e.custom.palette.interaction.none},"& .MuiBox-root > .MuiSvgIcon-root":{fill:"none"}}}))),Ca=v(qr)((({theme:e})=>({fontSize:nn.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),wa=({label:e="Placeholder",disabled:t,onChange:o,options:n,fullWidth:r})=>{const i=h(),a=n.map((e=>e.label)).indexOf(e);return Ut.jsx(va,{disabled:t,fullWidth:r,children:Ut.jsxs(x,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[Ut.jsxs(j,{display:"flex",alignItems:"center",sx:{"& svg":{fill:i.custom.palette.icon.secondary}},children:[Ut.jsx(Le,{sx:{width:uo.lg,height:uo.lg,mr:i.custom.padding.sm}}),Ut.jsx(Ca,{align:"left",disabled:t,children:e})]}),Ut.jsx(ya,{name:"rank",sizing:"xs",selections:n.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:t,value:`${a}`,onChange:function(e){const t=a,r=Number(e.target.value),i=n;let s=1;const l=i.splice(t,s)[0];s=0,i.splice(r,s,l),o(i)},MenuProps:{anchorOrigin:{vertical:Qt,horizontal:"center"}}})]})})},ja=s({attributes:{},listeners:void 0,ref(){}}),ka=e=>bt({...e,wasDragging:!0});function Sa({children:e,top:t,bottom:o,id:n}){const{attributes:r,isDragging:i,listeners:a,setNodeRef:s,setActivatorNodeRef:c,transform:u,transition:d}=xt({id:n,animateLayoutChanges:ka}),p=l((()=>({attributes:r,listeners:a,ref:c})),[r,a,c]),m={opacity:i?.4:void 0,transform:kt.Translate.toString(u),transition:d};return Ut.jsx(ja.Provider,{value:p,children:Ut.jsxs(x,{className:"SortableItem",...r,sx:{position:"relative",...m,width:"100%"},ref:s,children:[t&&t,Ut.jsx(j,{...a,sx:{display:"flex",cursor:"grab"},children:e}),o&&o]})})}const Ma={sideEffects:lt({styles:{active:{opacity:"0.4"}}})};function La({children:e}){return st(Ut.jsx(ct,{zIndex:999999,dropAnimation:Ma,children:e}),document.body)}const Ea=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class $a extends ft{static activators=[{eventName:"onMouseDown",handler:Ea}]}class Oa extends gt{static activators=[{eventName:"onTouchStart",handler:Ea}]}function Fa({items:e,onChange:t,renderItem:o,disabled:n,direction:i}){if(!e)return;const[a,s]=r(null),c=l((()=>e.find((e=>e?.id===a?.id))),[a,e]),d=h(),p=K(d.breakpoints.down("md")),m=ut(dt($a,{activationConstraint:{distance:5}}),dt(Oa,{activationConstraint:{delay:p?300:0,tolerance:8}}),dt(pt,{coordinateGetter:yt}));return Ut.jsxs(mt,{measuring:{droppable:{strategy:ht.Always}},sensors:m,onDragStart:({active:e})=>{s(e)},onDragEnd:({active:o,over:n})=>{if(n&&o.id!==n?.id){const r=e.findIndex((({id:e})=>e===o.id)),i=e.findIndex((({id:e})=>e===n.id));t(vt(e,r,i))}s(null)},onDragCancel:()=>{s(null)},children:[Ut.jsx(Ct,{items:e,disabled:n,strategy:"horizontal"===i?wt:jt,children:Ut.jsx(x,{sx:{..."horizontal"===i&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:e.map((e=>Ut.jsx(u,{children:o(e)},e.id)))})}),Ut.jsx(La,{children:c?o(c,!0,!!a):null})]})}Fa.Item=Sa,Fa.DragHandle=function(){const{attributes:e,listeners:t,ref:o}=c(ja);return Ut.jsx(j,{...e,...t,ref:o,children:Ut.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:Ut.jsx("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})};const Ra=({labelTop:e,labelBottom:t,disabled:o,fullWidth:n=!1,options:i,onChange:a,value:s,internalChange:l})=>{const c=h(),[u,d]=r(s||i);function p(e){d(e),a(e.map((({id:e})=>e))),l&&l()}return Ut.jsxs(x,{gap:c.custom.margin.sm,textAlign:"center",sx:{width:n?"100%":"auto"},children:[e&&Ut.jsx(qr,{disabled:o,sx:{color:c.custom.palette.text.secondary},children:e}),Ut.jsx(Fa,{onChange:function(e){d(e),a(e.map((({id:e})=>e))),l&&l()},items:u,direction:"vertical",renderItem:({...e})=>Ut.jsx(Sa,{id:e.id,children:Ut.jsx(wa,{onChange:p,...e,options:u,disabled:o,selections:e.selections,fullWidth:n})})}),t&&Ut.jsx(qr,{disabled:o,sx:{color:c.custom.palette.text.secondary},children:t})]})},Ia=v(Lt)((({theme:e})=>({"&.MuiTiptap-FieldContainer-root":{backgroundColor:e.custom.palette.input.default,"&:hover":{".MuiTiptap-FieldContainer-notchedOutline":{borderSize:1,backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default}}},"&.MuiTiptap-FieldContainer-focused":{".MuiTiptap-FieldContainer-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}!important`,boxShadow:e.custom.boxShadow.input.focus}},".MuiTiptap-RichTextField-menuBar":{padding:0,borderRadius:e.spacing(e.custom.radius.md),background:e.custom.palette.surface.default,margin:e.spacing(e.custom.margin.sm),border:`1px solid ${e.custom.palette.stroke.default}`,marginBottom:0,".MuiTiptap-RichTextField-content":{padding:e.spacing(e.custom.padding.xs)}}}))),Aa=({onChange:e,value:t,internalChange:n,minWidth:r=100,minHeight:i=100,maxHeight:a,placeholder:s,autoFocus:l})=>{const c=o(null),u=h();return Ut.jsx(Ia,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:i,minWidth:r,maxHeight:a}},ref:c,onUpdate:({editor:t})=>{e&&e(t.storage.markdown.getMarkdown()),n&&n()},extensions:[Mt.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),St.configure({placeholder:s}),Ot],content:t,renderControls:()=>Ut.jsxs(x,{gap:u.custom.margin.xs,direction:"row",children:[Ut.jsx(Et,{}),Ut.jsx($t,{})]})})},Ta=e=>({"& .MuiSlider-thumb":{width:Kt,height:Kt,backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:Yt,height:Yt,backgroundColor:e.custom.palette.icon.primaryInverted}}}),Va=e=>Array.isArray(e),Pa=(e,t)=>({height:Xt,padding:`${Xt}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${Qt}px)`,left:`-${Jt}px`,backgroundColor:e.custom.palette.icon.disabled,opacity:1},"& .MuiSlider-track":{position:"relative",border:"none",backgroundColor:e.custom.palette.purple[500],"&:before":{content:'""',position:"absolute",top:0,left:t&&Va(t)?`-${Xt+1}px`:`-${Jt+1}px`,width:`calc(100% + ${Jt}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:Yt,width:Yt,borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),Ba=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:Yt,minWidth:Qt,"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${nn.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),Ha=v(Q)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${Qt}px)`,marginLeft:Qt/2,...{...Pa(e,t)},...{...Ta(e)},...{...Ba(e)},"&.Mui-disabled":{"& .MuiSlider-rail, & .MuiSlider-track":{backgroundColor:e.custom.palette.icon.secondary},"& .MuiSlider-rail":{backgroundColor:e.custom.palette.icon.disabled},"& .MuiSlider-thumb":{backgroundColor:e.custom.palette.icon.disabled,"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.icon.disabled}}},"& .MuiSlider-markLabel":{color:e.custom.palette.text.secondary,"&.MuiSlider-markLabelActive":{color:e.custom.palette.text.secondary}}}}))),_a=[1,2,5,10],za=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const o=(t-e)/9;if(o<=1)return 1;const n=Math.floor(Math.log10(o)),r=o/Math.pow(10,n);return i=r,(_a.find((e=>i<=e))??_a[_a.length-1])*Math.pow(10,n);var i},Da=({labelLeft:e,labelMiddle:t,labelRight:o,labelRightProps:n,labelLeftProps:r,disabled:i,onChange:a,internalChange:s,max:l=5,min:c=1,step:u,value:d=c,...p})=>{const{sanitisedMin:m,sanitisedMax:h}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(c,l),f=((e,t,o)=>{const n=[];for(let r=e;r<=t;r+=o)n.push({value:r,label:r===e||r===t||r+o<=t?r.toString():void 0});return n[n.length-1].value!==t&&n.push({value:t,label:t.toString()}),n})(m,h,u??za(c,l));return Ut.jsxs(j,{sx:{minWidth:300},children:[Ut.jsx(j,{height:24,children:Ut.jsx(Ha,{valueLabelDisplay:i?"on":"auto",disabled:i,marks:f,step:u,max:h,min:m,onChangeCommitted:()=>{s&&s()},onChange:(e,t,o)=>{a&&a(e,t,o)},value:d,...p})}),Ut.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",pt:ro.lg,gap:1},children:[e&&Ut.jsx(j,{sx:{flex:1},children:Ut.jsx(Vn,{disabled:i,showicon:!1,...r,children:e})}),t&&Ut.jsx(j,{sx:{flex:1,textAlign:"center"},children:Ut.jsx(Vn,{showicon:!1,disabled:i,children:t})}),o&&Ut.jsx(j,{sx:{flex:1,textAlign:"right"},children:Ut.jsx(Vn,{...n,showicon:!1,disabled:i,children:o})})]})]})},Na=v(ee)((({theme:e})=>({"&.MuiRating-root":{"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.secondary},"& .MuiRating-iconFilled":{color:e.custom.palette.yellow[600]},".MuiRating-iconHover":{fontSize:"inherit",transform:"none"},"&.Mui-disabled":{opacity:1,color:e.custom.palette.icon.disabled,"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.disabled},"& .MuiRating-iconFilled":{color:e.custom.palette.icon.disabled}}}}))),Za=({internalChange:e,onChange:t,...o})=>Ut.jsx(Na,{...o,onChange:(o,n)=>{t&&t(o,n),e&&e()},icon:Ut.jsx(f,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Ut.jsx("path",{d:"M24.114 35.395L32.414 40.415C33.934 41.335 35.794 39.975 35.394 38.255L33.194 28.815L40.534 22.455C41.874 21.295 41.154 19.095 39.394 18.955L29.734 18.135L25.954 9.21499C25.274 7.59499 22.954 7.59499 22.274 9.21499L18.494 18.115L8.83396 18.935C7.07396 19.075 6.35396 21.275 7.69396 22.435L15.034 28.795L12.834 38.235C12.434 39.955 14.294 41.315 15.814 40.395L24.114 35.395Z"})}),emptyIcon:Ut.jsx(f,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Ut.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.1047 20.58L30.8559 27.7274L33.3274 38.3549L23.9992 32.713L14.6668 38.335L17.1388 27.7279L8.89132 20.5816L19.748 19.66L23.9966 9.63416L28.2463 19.6377L39.1047 20.58ZM12.7171 37.8892L14.9171 28.4492L7.57709 22.0892C6.23709 20.9292 6.95709 18.7292 8.71709 18.5892L18.3771 17.7692L22.1571 8.84916C22.8371 7.22916 25.1571 7.22916 25.8371 8.84916L29.6171 17.7492L39.2971 18.5892C41.0571 18.7292 41.7571 20.9292 40.4171 22.0892L33.0771 28.4492L35.2771 37.9092C35.6771 39.6292 33.8171 40.9892 32.2971 40.0692L23.9971 35.0492L15.6971 40.0492C14.1771 40.9692 12.3171 39.6092 12.7171 37.8892Z"})})}),Wa=v((e=>Ut.jsx(te,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e})))((({theme:e})=>({width:36,height:20,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:e.custom.palette.green[500],opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.custom.palette.neutral[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:"light"===e.palette.mode?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:16,height:16,boxShadow:"none",filter:"drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1))"},"& .MuiSwitch-track":{borderRadius:10,backgroundColor:e.custom.palette.neutral[100],opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}))),Ua=v(Mn)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:eo,alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:uo.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),qa=({startAdornment:e,endAdornment:t,onChange:o,internalChange:n,inputRef:r,...i})=>Ut.jsx(Ua,{multiline:!0,inputRef:r,InputProps:{startAdornment:e?Ut.jsx(L,{position:"start",children:e}):null,endAdornment:t?Ut.jsx(L,{position:"start",children:t}):null},onChange:e=>{o&&o(e),n&&n()},...i}),Ga=({typographyProps:e,text:t,sx:o})=>{const n=h();return Ut.jsx(j,{sx:Ee(o,{width:"100%",position:"relative",display:"flex",gap:4,my:n.spacing(n.custom.margin.md),"&:before":{content:'""',width:"100%",background:n.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:n.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:Ut.jsx(Xo,{align:"center",variation:"sm",component:"p",...e,children:t})})},Ya=({buttons:e,message:t,status:o="neutral",variation:n="sm"})=>{const r=h();return Ut.jsx(x,{sx:{backgroundColor:r.custom.palette.surface.overlay,borderRadius:r.spacing(r.custom.radius.lg),boxShadow:r.custom.elevation.overlay,color:r.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:Ut.jsxs(j,{sx:{display:"flex",flex:1,flexDirection:"sm"===n?"row":"column",gap:2},children:[Ut.jsxs(j,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==o&&Ut.jsx(Xa,{status:o}),Ut.jsx(j,{sx:{display:"flex"},children:Ut.jsx(Xo,{variation:"md",component:"p",sx:{px:1,pt:.5},children:t})})]}),e&&Ut.jsx(j,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},Xa=({status:e})=>{const t=h();switch(e){case"neutral":return null;case"success":return Ut.jsx(Ja,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return Ut.jsx(Ja,{backgroundColor:t.custom.palette.yellow[500],name:"error-outline"});case"danger":return Ut.jsx(Ja,{backgroundColor:t.custom.palette.red[500],name:"warning-amber"});case"discover":return Ut.jsx(Ja,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},Ja=({backgroundColor:e,name:t})=>{const o=h();return Ut.jsx(j,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:Ut.jsx(j,{sx:{backgroundColor:e,borderRadius:o.custom.radius.round,color:o.custom.palette.white,display:"flex",p:.5},children:Ut.jsx(po,{name:t,size:20})})})},Ka=v(w)((({active:e,theme:t})=>({maxWidth:"100%",padding:t.spacing(.5),textTransform:"none",width:"100%",...dn(t,e)}))),Qa=v(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),es=v(x)({alignItems:"flex-start",display:"flex",justifyContent:"center"}),ts=v(x)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),os=v(j)((({active:e,theme:t})=>({alignItems:"center",borderRadius:t.custom.radius.round,cursor:"pointer",display:"flex",justifyContent:"center",padding:t.spacing(.5),...dn(t,e)}))),ns=({active:e,avatar:t,email:o,name:n,variation:r})=>{const i=h();return"sm"===r?Ut.jsx(j,{sx:{display:"flex",justifyContent:"center"},children:Ut.jsx(os,{active:e,children:Ut.jsx(Ko,{src:t,variation:"sm"})})}):Ut.jsx(Ka,{active:e,children:Ut.jsxs(Qa,{sx:{flex:1},children:[Ut.jsxs(Qa,{children:[Ut.jsx(Ko,{src:t,variation:"sm"}),Ut.jsxs(es,{children:[Ut.jsx(Xo,{variation:"sm",component:"p",lineHeight:1.2,children:n}),Ut.jsx(Xo,{variation:"xs",component:"p",sx:{color:i.custom.palette.text.secondary},lineHeight:1.2,children:o})]})]}),Ut.jsx(ts,{children:Ut.jsx(po,{name:"chevron-right",size:24})})]})})},rs=v(w)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.75,1.5),textTransform:"none",width:"100%",...dn(t,e)}))),is=v(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),as=v(x)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),ss=({active:e,danger:t,hasChildren:o,selected:n,title:r})=>{const i=h();return Ut.jsx(rs,{active:e,children:Ut.jsxs(is,{sx:{flex:1},children:[Ut.jsx(is,{children:Ut.jsx(Xo,{variation:"md",component:"p",lineHeight:1.2,color:t?i.custom.palette.text.negative:i.custom.palette.text.primary,children:r})}),Ut.jsxs(as,{children:[o&&Ut.jsx(po,{name:"chevron-right",size:24}),n&&Ut.jsx(po,{name:"check-thin",size:24})]})]})})},ls=({button:e,children:t,state:o})=>Ut.jsx(D,{onClickAway:()=>o.close(),children:Ut.jsxs(j,{children:[Ut.jsx(j,{...bi(o),children:e}),Ut.jsx(N,{...yi(o),placement:"right-end",transition:!0,children:({TransitionProps:e})=>Ut.jsx(Z,{...e,timeout:350,children:Ut.jsx(j,{sx:{pl:1},children:t})})})]})}),cs=({avatar:e,email:t,menuItems:o,name:n,variation:r})=>{const i=gi({variant:"popper"});return Ut.jsx(ls,{state:i,button:Ut.jsx(ns,{active:i.isOpen,avatar:e,email:t,name:n,variation:r}),children:Ut.jsx(Li,{borderradius:"md",variation:"overlay",sx:{width:192},children:Ut.jsx(x,{sx:{p:1},children:o?.map(us)})})})},us=(e,t)=>{if(e.children?.length){const o=gi({variant:"popper"});return Ut.jsx(ls,{state:o,button:Ut.jsx(ss,{title:e.title,active:o.isOpen,hasChildren:!0,selected:e.selected}),children:Ut.jsx(Li,{borderradius:"md",variation:"overlay",sx:{width:192},children:Ut.jsx(x,{sx:{p:1},children:e.children.map(us)})})},t)}return Ut.jsx(ss,{title:e.title,selected:e.selected})};const ds=(e,t)=>{switch(e){case 1:return t.custom.palette.red[500];case 2:return t.custom.palette.yellow[500];case 3:case 4:return t.custom.palette.green[500];default:return t.custom.palette.icon.disabled}},ps=(e,t)=>{switch(e){case 1:return t.custom.palette.text.negative;case 2:return t.custom.palette.yellow[800];case 3:return t.custom.palette.green[800];case 4:return t.custom.palette.text.positive;default:return t.custom.palette.icon.disabled}},ms=v(oe)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${ne.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:ds(t,e)}}))),hs={translations:Pt.translations,graphs:Vt.adjacencyGraphs,dictionary:{...Vt.dictionary,...Pt.dictionary}};At.setOptions(hs);const fs=({label:e="Strength",width:t=60,value:o,onChange:i})=>{const[a,s]=r(0),l=h();return n((()=>{s(Tt(o).score)}),[o]),n((()=>{i(a)}),[a]),Ut.jsxs(x,{direction:"row",gap:1,sx:{alignItems:"center"},children:[Ut.jsx(Xo,{variation:"sm",component:"p",children:e}),Ut.jsx(ms,{variant:"determinate",value:0===a?6.6:25*a,score:a,sx:{width:t}}),Ut.jsx(Xo,{variation:"sm",component:"p",sx:{color:ps(a,l)},children:["","Very weak","Weak","Strong","Excellent"][a]})]})},gs=({helperText:e,inputName:t,errors:o,...n})=>{const r=Boolean(o&&o[t]);return r?Ut.jsx(Bt,{errors:o,name:t,render:({message:e})=>Ut.jsx(Vn,{showicon:!!e,state:"negative",children:e})}):e&&!r?Ut.jsx(Vn,{state:"default",...n,children:e}):null},xs={textfield:Ln,numberfield:Ii,textarea:qa,select:ya,checkbox:Sn,checkboxGroup:En,slider:Da,starRating:Za,differential:Zn,likert:ti,radioGroup:ea,ranking:Ra,richTextfield:Aa,customfield:In},bs=({name:e,fieldType:t,label:o,control:i,errors:a,labelProps:s,helperText:l,helpTextProps:c,validation:u,content:d,styleOverrides:p,defaultValue:m,onChange:f,watch:g,trigger:b,strengthIndicator:y,...v})=>{const{custom:C}=h(),w=void 0!==a&&Object.keys(a).length>0,[j,k]=r(0);return y&&n((()=>{j>0&&b(e)}),[j]),Ut.jsxs(x,{sx:p?.sxInputStack,gap:C.margin.sm,children:[o&&Ut.jsx(qr,{...s,children:o}),"html"===t&&d?Ut.jsx(Or,{children:d}):Ut.jsxs(Ut.Fragment,{children:[Ut.jsx(Ft,{name:e,control:i,render:e=>function({field:{ref:e,...o}}){const n=xs[t];return null!==o.value?Ut.jsx(n,{...v,...o,inputRef:e}):Ut.jsx("div",{})}({...e,field:{...e.field,value:e.field.value||m}}),rules:{...u,validate:e=>{if(u&&"phone"in u)return It(`+${g("extension")}${e}`)||u.phone.message;if(u&&"score"in u)return j<=u.score.value?u.score.message:void 0;if(u&&"white_space"in u)return!e.match(/^\s*$/g)||u.white_space.message;if(u&&"match"in u)switch(u.match?.comparison){case"not_eq":return e!=g(u.match.field)||u.match.message;case"gt":return e>g(u.match.field)||u.match.message;case"lt":return e<g(u.match.field)||u.match.message;default:return e===g(u.match.field)||u.match.message}}}}),y&&"password"===v?.type&&Ut.jsx(fs,{value:g(e),onChange:k})]}),Ut.jsxs(Ut.Fragment,{children:[Boolean(w)?Ut.jsx(gs,{helperText:void 0,inputName:e,errors:a,showicon:!0}):null,Boolean(l)?Ut.jsx(gs,{helperText:l,inputName:e,errors:void 0,...c}):null]})]})},ys=e=>e.reduce(((e,t)=>({...e,[t?.name]:vs(t,t?.defaultValue)})),{}),vs=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:o}=e;return Array.isArray(t)?t:t||o}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":return t||!1;case"ranking":{const{options:o}=e;return t?t.map((e=>o.find((({id:t})=>t===e)))):o}}},Cs=a((({submitButton:e,secondaryButton:t,onFormSubmit:o,onFormChange:r,formConfig:i},a)=>{const{custom:s}=h(),{fields:c,reValidateMode:u,styleOverrides:m,autoComplete:f,formId:g,mode:b}=i,{reset:y,getValues:v,trigger:C,setValue:w,control:k,formState:{isValid:S,errors:M},setFocus:L,handleSubmit:E,watch:$}=Rt({mode:b||"onChange",reValidateMode:u,defaultValues:l((()=>ys(c)),[]),shouldUnregister:!0});n((()=>{(function(e,t){const o=new Set(e),n=new Set(t);return e.every((e=>n.has(e)))&&t.every((e=>o.has(e)))})(c.map((({name:e})=>e)),Object.keys(v()))||c.forEach((e=>{"html"!==e.fieldType&&e.defaultValue&&w(e.name,vs(e,e.defaultValue))}))}),[c]),n((()=>{y(ys(c))}),[g]),d(a,(()=>({set(e,t){w(e,t)},resetForm(){y()},focus(e){L(e)},submit(){o&&E(o)()},values:()=>v(),valid:()=>S,errors:()=>M,async triggerFormValidation(){await C()}})));const O=()=>{r&&r(v())};return Ut.jsxs(j,{component:"form",autoComplete:f,noValidate:!0,sx:m?.sxForm,...o&&{onSubmit:E(o)},children:[Ut.jsx(x,{gap:s.margin.md,sx:m?.sxStack,children:c.map((({name:e,...t})=>p(bs,{...r&&{internalChange:O},name:e,key:e,errors:M,control:k,watch:$,trigger:C,...t,defaultValue:ys(c)[e]})))}),(t||e)&&Ut.jsxs(x,{direction:"row",sx:m?.sxButtons||{mt:s.margin.lg,gap:s.margin.sm,justifyContent:"flex-end"},children:[t&&t,e&&e]})]})})),ws={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},js=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},ks=(e,t,o)=>({maxLength:{value:o||255,message:`Maximum character limit of ${o||255}.`},...t&&{required:e?`Please enter ${js(e)} ${e}`:"This field is required"}}),Ss=ks().maxLength.value,Ms=e=>({minLength:{value:e||8,message:`Password must have at least ${e||8} characters`},equal:{value:"password",message:"You cannot choose 'password' as your password"}}),Ls=({children:e,headContent:t,sx:o,...n})=>{const r=h();return Ut.jsxs(Li,{...n,sx:Ee(o,{mx:[r.spacing(r.custom.margin.md),0],width:1,maxWidth:[512]}),children:[t&&Ut.jsx(j,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:r.spacing(r.custom.margin.md),px:r.spacing(r.custom.margin.md)},children:t}),Ut.jsx(j,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:t?[r.spacing(r.custom.margin.md)]:[r.spacing(r.custom.padding.lg),r.spacing(r.custom.padding.xl)],px:[r.spacing(r.custom.padding.lg),r.spacing(r.custom.padding.xl)],pb:[r.spacing(r.custom.padding.lg),r.spacing(r.custom.padding.xl)]},children:e})]})},Es=({body:e,currency:t,changeCurrencyEvent:o=()=>{},frequency:n,heading:r,setCurrency:i=()=>{},setFrequency:a=()=>{},togglePayAnnuallyEvent:s=()=>{}})=>{const l=h(),c=Er(),u=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return Ut.jsxs(j,{sx:{alignItems:"center",backgroundColor:l.custom.palette.surface.default,borderRadius:l.custom.radius.round,boxShadow:l.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:4},py:{sm:1,lg:2}},children:[Ut.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:1},children:[Ut.jsx(Wa,{defaultChecked:!0,onChange:()=>(s(),void a("monthly"===n?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==n,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"}}),Ut.jsxs(x,{sx:{alignItems:"flex-start",display:"flex"},children:[Ut.jsx(Xo,{variation:"sm"===c||"md"===c?"md":"xxl",component:"p",children:r}),Ut.jsx(Xo,{variation:"sm",component:"p",sx:{color:l.custom.palette.text.secondary},children:e})]})]}),Ut.jsx(ya,{name:"currency",onChange:e=>{return t=e.target.value,o(t),void i(t);var t},selections:u,value:u.find((e=>e.value===t))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:Qt,lg:eo}}})]})};var $s={headings:{"01-starter":{heading:"Starter",pricing:"{{currencySymbol}} {{starterPrice}} / month"},"02-team":{heading:"Team",pricing:"{{currencySymbol}} {{teamPrice}} / month"},"03-plus":{heading:"Plus",pricing:"{{currencySymbol}} {{plusPrice}} / month"},"04-scale":{heading:"Scale",pricing:"{{currencySymbol}} {{scalePrice}} / month"}},rows:{"01-seats":{heading:"Seats",description:"The number of users you can have on your account.",starter:"1",team:"10",plus:"50",scale:"100+"},"02-servicing":{heading:"Client servicing included",description:"Get direct communication with a Loops Customer Success Manager.",starter:"{{dash}}",team:"{{dash}}",plus:"Serviced lite",scale:"💪\nFully serviced"},"03-respondents":{heading:"Price per respondent",description:"The amount you pay to recruit and survey each respondent.",starter:"{{currencySymbol}}{{starterRespondentPrice}}",team:"{{currencySymbol}}{{teamRespondentPrice}}",plus:"{{currencySymbol}}{{plusRespondentPrice}}",scale:"{{currencySymbol}}{{scaleRespondentPrice}}"},"04-questions":{heading:"Question limit",description:"The maximum number of questions you can add to a test.",starter:"10",team:"15",plus:"20",scale:"25"},"05-ai":{heading:"AI-powered insights",description:"Use Loops AI to summarise the findings from your tests.",starter:"Basic",team:"✨\nAdvanced",plus:"✨\nAdvanced",scale:"✨\nAdvanced"},"06-demographics":{heading:"Demographic filters",description:"Reach your target audience using built-in demographic filters.",starter:"Basic",team:"🎯\nAdvanced",plus:"🎯\nAdvanced",scale:"🎯\nAdvanced"},"07-training":{heading:"Training",description:"Our team will onboard you and get you set up.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"08-invite":{heading:"Invite your own respondents",description:"Share your test with your own recruited audience.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"09-email":{heading:"Email capture",description:"Ability to collect respondent email addresses.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"10-beta":{heading:"Beta features",description:"Assess to our latest features as they become available.",starter:"{{dash}}",team:"{{dash}}",plus:"{{tick}}",scale:"{{tick}}"},"11-sso":{heading:"Single sign on (SSO)",description:"Enterprise level authentication using SAML (supports Okta and OneLogin).",starter:"{{dash}}",team:"{{dash}}",plus:"{{dash}}",scale:"{{tick}}"},"12-minimum":{heading:"Minimum term",description:"The minimum subscription period.",starter:"30 days",team:"6 months",plus:"6 months",scale:"12 months"}}};const Os=({currencySymbol:e,data:t,starterPrice:o,starterRespondentPrice:n,teamPrice:r,teamRespondentPrice:i,plusPrice:a,plusRespondentPrice:s,scalePrice:l,scaleRespondentPrice:c,variation:u="default"})=>{const d=h();t||(t=$s);const p=Object.values(t.headings).map((({heading:t,pricing:n})=>({heading:t,pricing:n.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",o).replace("{{teamPrice}}",r).replace("{{plusPrice}}",a).replace("{{scalePrice}}",l)}))),m=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",n||"").replace("{{teamRespondentPrice}}",i||"").replace("{{plusRespondentPrice}}",s||"").replace("{{scaleRespondentPrice}}",c||""),f=[...Object.values(t.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:m(e.starter),team:m(e.team),plus:m(e.plus),scale:m(e.scale)})))];return Ut.jsxs(x,{sx:{backgroundColor:d.custom.palette.surface.default,borderRadius:d.spacing(d.custom.radius.xl),boxShadow:d.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[Ut.jsxs(j,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[Ut.jsx(j,{sx:{width:160}}),p.map((({heading:e,pricing:t})=>Ut.jsxs(x,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[Ut.jsx(Xo,{variation:"platform"===u?"lg":"xxl",component:"p",weight:"bold",children:e}),Ut.jsx(Xo,{variation:"platform"===u?"sm":"md",component:"p",sx:{color:d.custom.palette.text.secondary},children:t})]},e)))]}),f.map((e=>Ut.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:d.custom.palette.surface.sunken}},children:[Ut.jsx(j,{sx:{display:"flex",alignItems:"center",width:160},children:Ut.jsxs(j,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&Ut.jsx(zr,{message:e.name.description,children:Ut.jsx(j,{sx:{alignItems:"center",color:d.custom.palette.icon.secondary,display:"flex"},children:Ut.jsx(po,{name:"info",size:24})})}),Ut.jsx(Xo,{variation:"platform"===u?"md":"lg",component:"p",children:e.name.heading})]})}),Ut.jsx(Fs,{text:e.starter}),Ut.jsx(Fs,{text:e.team}),Ut.jsx(Fs,{text:e.plus}),Ut.jsx(Fs,{text:e.scale})]},e.key)))]})},Fs=({text:e})=>{const t=h(),o="{{tick}}"===e,n="{{dash}}"===e;return Ut.jsx(j,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:Ut.jsxs(j,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[o&&Ut.jsx(po,{name:"check",size:24}),n&&Ut.jsx(po,{name:"dash",size:24}),!o&&!n&&Ut.jsx(Xo,{variation:"lg",component:"p",sx:{color:t.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:Ut.jsx(Ut.Fragment,{children:e})})]})})},Rs=()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[o,i]=r(t);return n((()=>{if(e)return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o);function o(){m((()=>{i(t())}))}}),[]),o},Is=({amount:e,billingType:t,body:i,ctaEvent:a=()=>{},ctaLink:s="#",ctaTarget:l="_self",ctaText:c,ctaVariation:u="primary",currencySymbol:d,currentPlan:p,features:f=[],freeTrialLength:g,freeTrialText:b,frequency:y,heading:v,label:C,largestHeaderHeight:w=0,perMonth:k,setLargestHeaderHeight:S=()=>{},variation:M="default"})=>{const L=h(),E=Er(),{width:$}=Rs(),O=o(null),[F,R]=r("sm");return n((()=>{m((()=>{R(E),E!==F&&S(0),O.current&&O.current.offsetHeight>w&&S(O.current.offsetHeight)}))}),[E,F,$]),Ut.jsxs(x,{sx:{display:"flex",flex:1,position:"relative"},children:[Ut.jsx(x,{sx:{alignItems:"center",backgroundColor:L.custom.palette.icon.primary,borderTopLeftRadius:L.spacing(L.custom.radius.lg),borderTopRightRadius:L.spacing(L.custom.radius.lg),boxShadow:L.custom.elevation.overlay,color:L.custom.palette.text.primaryInverted,justifyContent:"center",p:{sm:1,lg:2},textTransform:"uppercase",opacity:C?1:0,display:{sm:C?"flex":"none",md:"flex"}},children:Ut.jsx(Xo,{variation:"md",component:"p",weight:"bold",sx:{color:L.custom.palette.white},children:C||" "})}),Ut.jsxs(x,{sx:{backgroundColor:L.custom.palette.surface.default,borderBottomLeftRadius:L.spacing(L.custom.radius.lg),borderBottomRightRadius:L.spacing(L.custom.radius.lg),borderTopLeftRadius:C?0:L.spacing(L.custom.radius.lg),borderTopRightRadius:C?0:L.spacing(L.custom.radius.lg),boxShadow:L.custom.elevation.overlay,display:"flex",flex:1},children:[Ut.jsxs(x,{sx:{display:"flex",gap:"sm"===E||"md"===E?1:2,textAlign:"center",minHeight:{sm:"none",md:w},px:2,py:{sm:2,lg:4}},ref:O,children:[Ut.jsx(Xo,{variation:"sm"===E?"xxl":"platform"===M?"md":"lg",component:"h2",weight:"bold",children:v}),Ut.jsx(Xo,{variation:"sm"===E?"md":"platform"===M?"md"===E?"sm":"md":"md"===E?"md":"lg",component:"p",sx:{color:L.custom.palette.text.secondary},children:i})]}),Ut.jsxs(x,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===M?184:240,xl:"platform"===M?184:226},px:2,py:{sm:2,md:2,lg:"platform"===M?2:6}},children:[Ut.jsxs(j,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[Ut.jsx(Xo,{variation:"md"===E?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:d}),Ut.jsx(Xo,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:e}),k&&Ut.jsx(Xo,{variation:"sm",component:"p",sx:{color:L.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:k})]}),g&&b&&Ut.jsxs(j,{sx:{alignItems:"center",backgroundColor:L.custom.palette.yellow[300],borderRadius:L.custom.radius.round,boxShadow:L.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[Ut.jsx(po,{name:"gift",size:24}),Ut.jsxs(j,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[Ut.jsx(Xo,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:g}),Ut.jsx(Xo,{variation:"md",component:"p",sx:{lineHeight:1},children:b})]})]}),t&&Ut.jsx(Xo,{variation:"sm",component:"p",sx:{color:L.custom.palette.text.placeholder},children:t})]}),Ut.jsxs(x,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[Ut.jsx(j,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:Ut.jsx(ni,{href:s,title:c,target:l,onClick:()=>{v&&a(v)},sx:{"&:hover":{cursor:p?"default":"pointer"}},children:Ut.jsx(Cn,{fullWidth:!0,variation:u,sizing:"lg",disabled:p,children:c})})}),f?.length&&Ut.jsx(x,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===M?4:6}},children:f.map(((e,t)=>Ut.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[Ut.jsx(po,{name:"positive",size:24}),Ut.jsx(Xo,{variation:"md",component:"p",children:e})]},`${v}-feature-${t}`)))})]})]})]})},As=({body:e,ctaEvent:t=()=>{},ctaLink:o="",ctaTarget:n="_blank",ctaText:r,currencySymbol:i,heading:a,postText:s,preText:l,amount:c})=>{const u=h();return Ut.jsxs(j,{sx:{backgroundColor:u.custom.palette.purple[0],borderRadius:u.spacing(u.custom.radius.lg),display:"flex",flexDirection:{sm:"column",md:"row"},textAlign:{sm:"center",md:"left"},boxShadow:u.custom.elevation.overlay,flex:1,gap:{sm:4,md:2},p:{sm:2,lg:4}},children:[Ut.jsxs(x,{sx:{flex:1,gap:2,justifyContent:"center"},children:[Ut.jsx(Xo,{variation:"md",component:"h2",sx:{fontWeight:500},children:a}),Ut.jsx(Xo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]}),Ut.jsxs(x,{sx:{flex:1,gap:{sm:4,md:2},justifyContent:"center",maxWidth:{sm:"none",md:180,lg:320},p:{sm:0,md:2,lg:4}},children:[Ut.jsxs(j,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[Ut.jsx(Xo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pr:.5},children:l}),Ut.jsxs(j,{sx:{alignItems:"flex-end",display:"flex"},children:[Ut.jsx(Xo,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:i}),Ut.jsx(Xo,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:c})]}),Ut.jsx(Xo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pl:.1},children:s})]}),Ut.jsx(ni,{href:o,title:r,target:n,onClick:()=>{a&&t(a)},children:Ut.jsx(Cn,{fullWidth:!0,variation:"outlined",sizing:"lg",children:r})})]})]})},Ts=({heading:e,ticks:t})=>(h(),Ut.jsxs(x,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[Ut.jsx(Xo,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),Ut.jsx(j,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:t.map(((t,o)=>Ut.jsxs(j,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[Ut.jsx(po,{name:"positive",size:32}),Ut.jsx(Xo,{variation:"xxl",component:"p",children:t})]},`tick-group-${e}-${o}`)))})]})),Vs="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",Ps=(e,t,o)=>re({direction:o,custom:{palette:{black:"#000000",white:"#ffffff",neutral:Vo[e],neutralAlpha:"light"===e?Fo:Ro,purple:Bo[e],red:Ho[e],peach:_o[e],yellow:zo[e],blue:Do[e],green:No[e],icon:Zo[e].icon,interaction:Zo[e].interaction,stroke:Zo[e].stroke,surface:Zo[e].surface,text:Zo[e].text,input:Zo[e].input},margin:no,padding:ro,radius:io,elevation:ao,elevationFilter:so,boxShadow:lo,easing:co,typography:nn[t]},palette:{mode:e,primary:{main:Io[500]}},spacing:oo,shape:{borderRadius:oo,hotspot:{default:12,active:24}},breakpoints:{values:qt},typography:{fontFamily:`"${qo.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:rn(t),styleOverrides:{root:{color:Zo[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${Vo[e][0]};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${Uo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Uo.default.weight};\n src: url(${Vs}${Uo.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Uo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Uo.bold.weight};\n src: url(${Vs}${Uo.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${qo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${qo.default.weight};\n src: url(${Vs}${qo.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${qo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${qo.bold.weight};\n src: url(${Vs}${qo.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${qt.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${qt.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:qo.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*oo}px ${e.padding.md*oo}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:e}})=>({border:`1px solid ${e.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}}}});var Bs="$$material";const Hs="exact-prop: ";function _s(e){return"production"===process.env.NODE_ENV?e:Yn({},e,{[Hs]:t=>{const o=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return o.length>0?new Error(`The following props are not supported: ${o.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}const zs=e.createContext(null);function Ds(){const t=e.useContext(zs);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t}"production"!==process.env.NODE_ENV&&(zs.displayName="ThemeContext");var Ns="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Zs(t){const{children:o,theme:n}=t,r=Ds();"production"!==process.env.NODE_ENV&&null===r&&"function"==typeof n&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const i=e.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t){const o=t(e);return"production"!==process.env.NODE_ENV&&(o||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join("\n"))),o}return Yn({},e,t)}(r,n);return null!=e&&(e[Ns]=null!==r),e}),[n,r]);return Ut.jsx(zs.Provider,{value:i,children:o})}"production"!==process.env.NODE_ENV&&(Zs.propTypes={children:jr.node,theme:jr.oneOfType([jr.object,jr.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Zs.propTypes=_s(Zs.propTypes));const Ws=["value"],Us=e.createContext();function qs(e){let{value:t}=e,o=Kn(e,Ws);return Ut.jsx(Us.Provider,Yn({value:null==t||t},o))}"production"!==process.env.NODE_ENV&&(qs.propTypes={children:jr.node,value:jr.bool});const Gs=e.createContext(void 0);function Ys({value:e,children:t}){return Ut.jsx(Gs.Provider,{value:e,children:t})}"production"!==process.env.NODE_ENV&&(Ys.propTypes={children:jr.node,value:jr.object});const Xs={};function Js(t,o,n,r=!1){return e.useMemo((()=>{const e=t&&o[t]||o;if("function"==typeof n){const i=n(e),a=t?Yn({},o,{[t]:i}):i;return r?()=>a:a}return Yn({},o,t?{[t]:n}:n)}),[t,o,n,r])}function Ks(e){const{children:t,theme:o,themeId:n}=e,r=kr(Xs),i=Ds()||Xs;"production"!==process.env.NODE_ENV&&(null===r&&"function"==typeof o||n&&r&&!r[n]&&"function"==typeof o)&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const a=Js(n,r,o),s=Js(n,i,o,!0),l="rtl"===a.direction;return Ut.jsx(Zs,{theme:s,children:Ut.jsx($e.Provider,{value:a,children:Ut.jsx(qs,{value:l,children:Ut.jsx(Ys,{value:null==a?void 0:a.components,children:t})})})})}"production"!==process.env.NODE_ENV&&(Ks.propTypes={children:jr.node,theme:jr.oneOfType([jr.func,jr.object]).isRequired,themeId:jr.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Ks.propTypes=_s(Ks.propTypes));const Qs=["theme"];function el(e){let{theme:t}=e,o=Kn(e,Qs);const n=t[Bs];return Ut.jsx(Ks,Yn({},o,{themeId:n?Bs:void 0,theme:n||t}))}"production"!==process.env.NODE_ENV&&(el.propTypes={children:jr.node,theme:jr.oneOfType([jr.object,jr.func]).isRequired});const tl=s(null),ol=()=>Ut.jsx(ie,{styles:{"strong, b":{fontWeight:500}}}),nl=Xi({key:"muirtl",stylisPlugins:[it,Ht]}),rl=Xi({key:"mui"}),il=({mode:e="light",screenSize:t="lg",direction:o="ltr",children:i})=>{const a=((e="light",t="lg",o="ltr")=>{const{width:i}=Rs(),[a,s]=r(e),[l,c]=r(t),[u,d]=r(!1),[p,h]=r(Ps(a,l,o)),[f,g]=r(Ps("light"===a?"dark":"light",l,o)),[x,b]=r("");n((()=>{m((()=>{c(i&&i<qt.lg?"sm":"lg")}))}),[i]),n((()=>{m((()=>{h(Ps(a,l,o)),g(Ps("light"===a?"dark":"light",l,o))}))}),[a,l]);const y=K(p.breakpoints.only("sm"),{noSsr:!0}),v=K(p.breakpoints.only("md"),{noSsr:!0}),C=K(p.breakpoints.between("lg","xl"),{noSsr:!0}),w=K(p.breakpoints.up("xl"),{noSsr:!0});return n((()=>{m((()=>{y&&b("sm"),v&&b("md"),C&&b("lg"),w&&b("xl")}))}),[y,v,C,w]),{breakpoint:x,darkTheme:f,gridOverlayVisible:u,mode:a,theme:p,toggleGridOverlay:()=>{m((()=>{d((e=>!e))}))},toggleMode:e=>{m((()=>{if(e)return s(e);s((e=>"light"===e?"dark":"light"))}))}}})(e,t,o);return n((()=>{"rtl"===o&&(document.dir="rtl")}),[]),Ut.jsx(tl.Provider,{value:a,children:Ut.jsx(at,{value:"rtl"===o?nl:rl,children:Ut.jsxs(el,{theme:a.theme,children:[Ut.jsx(ae,{}),Ut.jsx(ol,{}),i]})})})};export{Es as AnnualController,Ls as AuthContainerSurface,Jo as AuthFormHeader,Ko as Avatar,Qo as AvatarGroup,Cn as Button,En as CheckBoxGroup,Sn as Checkbox,Rn as ColorBackgroundContainer,In as CustomField,Ss as DEFAULT_MAX_INPUT_LENGTH,Zn as Differential,Un as DropdownMenu,wn as FormControlLabel,Cs as FormGenerator,$r as GridOverlay,Or as Html,po as Icon,Dr as IconButton,Ur as IconButtonGroup,qr as InputLabel,Vn as InputLabelHelp,ti as Likert,ni as Link,ri as Loader,ii as Logo,ui as NavButton,Fi as Nudge,Ii as NumberField,Pi as Pill,Os as PlanFeatureTable,Is as PlanTierCard,As as PlanTierCardScale,Ki as Portal,Qi as PoweredByWatermarkLogo,bn as Progress,_n as Radio,ea as RadioGroup,Ra as Rank,Aa as RichTextField,ya as Select,Da as Slider,Fa as SortableList,Za as StarRating,Li as Surface,Wa as Switch,qa as TextArea,Ga as TextBarDivider,Ln as TextField,il as ThemeProvider,Ts as TickGroup,Ya as Toast,zr as Tooltip,Xo as Typography,cs as UserMenu,Fn as backgroundCreator,js as chooseArticle,ks as defaultInputValidation,ws as emailValidation,Ms as passwordValidation,qn as useDropdownMenu};
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as o}from"react/jsx-runtime";import{useTheme as i,SvgIcon as n,Typography as r,Stack as a,Avatar as l,AvatarGroup as s,styled as d,CircularProgress as c,Button as u,Box as p,FormControlLabel as m,Checkbox as h,TextField as g,InputAdornment as f,FormGroup as x,alpha as b,Container as C,InputLabel as v,Radio as w,RadioGroup as y,Grid as k,Menu as M,MenuItem as L,IconButton as S,Tooltip as F,ButtonGroup as I,Link as R,Paper as A,ClickAwayListener as H,Popper as B,Fade as V,ButtonBase as z,Divider as $,Chip as Z,FormLabel as E,Autocomplete as T,autocompleteClasses as O,Select as P,useMediaQuery as D,Slider as W,Rating as j,Switch as N,LinearProgress as _,linearProgressClasses as G,createTheme as U,GlobalStyles as q,CssBaseline as X}from"@mui/material";import{LockOutlined as Q,MenuRounded as Y,QueryBuilderRounded as K,WarningAmberRounded as J,LightbulbOutlined as ee,ErrorOutlineOutlined as te,CheckCircleOutlineOutlined as oe,InfoOutlined as ie,ExpandMore as ne,ArrowForward as re,Close as ae,PlayCircle as le,Check as se,Remove as de,Info as ce,ErrorOutline as ue,ArrowDropUp as pe,ArrowDropDown as me,KeyboardArrowDown as he,CloseRounded as ge,DragHandle as fe}from"@mui/icons-material";import{mergeSx as xe}from"merge-sx";import*as be from"react";import Ce,{useRef as ve,useEffect as we,useState as ye,useCallback as ke,forwardRef as Me,createContext as Le,useMemo as Se,useContext as Fe,Fragment as Ie,useImperativeHandle as Re,createElement as Ae,startTransition as He}from"react";import Be from"@mui/material/useMediaQuery";import{NumericFormat as Ve}from"react-number-format";import ze from"@emotion/cache";import{CacheProvider as $e}from"@emotion/react";import{createPortal as Ze}from"react-dom";import{defaultDropAnimationSideEffects as Ee,DragOverlay as Te,useSensors as Oe,useSensor as Pe,KeyboardSensor as De,DndContext as We,MeasuringStrategy as je,MouseSensor as Ne,TouchSensor as _e}from"@dnd-kit/core";import{useSortable as Ge,defaultAnimateLayoutChanges as Ue,sortableKeyboardCoordinates as qe,arrayMove as Xe,SortableContext as Qe,horizontalListSortingStrategy as Ye,verticalListSortingStrategy as Ke}from"@dnd-kit/sortable";import{CSS as Je}from"@dnd-kit/utilities";import{Placeholder as et}from"@tiptap/extension-placeholder";import{StarterKit as tt}from"@tiptap/starter-kit";import{RichTextEditor as ot,MenuButtonBold as it,MenuButtonItalic as nt}from"mui-tiptap";import{Markdown as rt}from"tiptap-markdown";import{Controller as at,useForm as lt}from"react-hook-form";import{isValidPhoneNumber as st}from"react-phone-number-input";import{zxcvbnOptions as dt,zxcvbn as ct}from"@zxcvbn-ts/core";import*as ut from"@zxcvbn-ts/language-common";import*as pt from"@zxcvbn-ts/language-en";import{ErrorMessage as mt}from"@hookform/error-message";import{ThemeProvider as ht}from"@mui/material/styles";import{prefixer as gt}from"stylis";import ft from"stylis-plugin-rtl";const xt={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},bt=0,Ct=4,vt=8,wt=16,yt=24,kt=32,Mt=40,Lt=48,St=vt,Ft={none:bt,xs:Ct/St,sm:vt/St,md:wt/St,lg:kt/St,xl:Lt/St,xxl:80/St,xxxl:160/St},It={none:bt,xs:Ct/St,sm:vt/St,md:wt/St,lg:kt/St,xl:Lt/St},Rt={none:bt,xs:2/St,sm:Ct/St,md:vt/St,lg:wt/St,xl:yt/St,round:999},At={raised:"0px 0px 0px 1px rgba(255, 255, 255, 0.12), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 1px 2px 0px rgba(6, 4, 13, 0.16)",overlay:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 16px 24px 0px rgba(6, 4, 13, 0.08), 0px 4px 8px 0px rgba(6, 4, 13, 0.08)"},Ht={raised:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.12)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 1px 2px rgba(6, 4, 13, 0.16))",overlay:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 16px 24px rgba(6, 4, 13, 0.08)) drop-shadow(0px 4px 8px rgba(6, 4, 13, 0.08))"},Bt={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},Vt={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},zt={xs:2*St,sm:2*St,md:2*St,lg:2.5*St,xl:3*St},$t=({name:o,size:r,sx:a})=>{const l=i(),s=r||zt.xl,d=r||zt.xl;switch(o){case"loopsOfficial":return t(n,{viewBox:"0 0 106 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:xe(a,{"&.MuiSvgIcon-root path":{fill:"light"===l.palette.mode?l.custom.palette.icon.primary:l.custom.palette.icon.lockedWhite}}),children:t("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M11.8076 25.5073C10.0999 24.3082 9.74198 23.9512 9.74198 21.312V0H0.290527V0.399695L0.306001 0.409234C2.04234 1.47961 2.83235 1.96661 2.83235 4.59497V21.312C2.83235 23.9512 2.47443 24.3082 0.76674 25.5073V25.9069H11.8076V25.5073ZM12.3202 17.8947C13.3939 24.0305 18.9477 27.1823 24.7775 26.151C30.6043 25.1167 34.7507 20.2258 33.6769 14.1053C32.6032 7.98474 27.0494 4.81464 21.2196 5.84897C15.3898 6.88329 11.2464 11.759 12.3202 17.8947ZM19.518 16.6163C18.4897 10.7155 18.9052 8.04577 21.5229 7.582C24.1405 7.11518 25.4509 9.47368 26.4791 15.3745C27.5074 21.2754 27.0949 23.9329 24.4742 24.4089C21.8535 24.8848 20.5462 22.5172 19.518 16.6163ZM47.572 26.151C41.7453 27.1823 36.1915 24.0305 35.1147 17.8947C34.0379 11.759 38.1843 6.88329 44.0141 5.84897C49.8439 4.81464 55.3947 7.98474 56.4715 14.1053C57.5482 20.2258 53.3988 25.1167 47.572 26.151ZM44.3174 7.582C41.6967 8.04577 41.2842 10.7155 42.3125 16.6163C43.3407 22.5172 44.648 24.8848 47.2687 24.418C49.8894 23.9512 50.3019 21.2845 49.2737 15.3837C48.2454 9.48284 46.9381 7.11518 44.3174 7.582ZM68.4727 31.5116C66.4862 30.3817 65.7713 29.9751 65.7713 27.405L65.7773 22.6117C66.8086 24.6896 68.8742 26.328 72.2896 26.328C77.4521 26.328 81.5439 22.4012 81.5439 15.6491C81.5439 8.77803 77.5553 5.70252 73.0054 5.70252C69.2716 5.70252 66.6873 7.81998 65.7773 10.7368L65.6166 6.10221H56.4836V6.4836L56.4855 6.48484C58.1918 7.60063 58.8647 8.04064 58.8647 10.6789V27.405C58.8647 30.0412 58.5098 30.4012 56.7991 31.6003V32H68.6285V31.6003L68.4727 31.5116ZM70.0996 23.8963C67.6761 23.8963 65.7713 21.1411 65.7713 17.9466V15.0999C65.7713 11.5454 67.479 8.86651 70.0996 8.86651C72.8386 8.86651 74.1884 11.3867 74.1884 15.6583C74.1884 21.2998 72.7992 23.8963 70.0996 23.8963ZM103.38 26.2487C104.665 26.2487 105.706 25.2009 105.706 23.9085C105.706 22.616 104.665 21.5683 103.38 21.5683C102.095 21.5683 101.053 22.616 101.053 23.9085C101.053 25.2009 102.095 26.2487 103.38 26.2487ZM92.7131 12.3899C90.0531 11.6005 88.5566 11.1564 88.5566 9.56827C88.5566 8.23799 89.7699 7.64913 91.1045 7.64913C93.6888 7.64913 95.712 9.12891 98.0566 12.5645H98.6117V5.69337H98.2143L96.4278 7.01145C96.3499 6.97924 96.2721 6.94694 96.1943 6.91464C94.7242 6.30433 93.2525 5.69337 91.0257 5.69337C86.7762 5.69337 83.4002 8.32952 83.4002 12.2441C83.4002 15.759 85.0715 17.7574 91.0681 19.3166C93.2945 19.8749 94.8414 20.2746 94.8414 21.9924C94.8414 23.5912 93.2945 24.3478 91.426 24.3478C88.5566 24.3478 86.4607 22.3921 83.7035 18.6758H83.0969L83.5155 26.267H83.9522L85.5386 24.6682C86.8095 25.3089 88.7963 26.3066 91.4564 26.3066C96.54 26.3066 100.077 23.4691 100.077 19.4752C100.077 15.3593 97.6198 13.8429 92.7667 12.4058L92.7131 12.3899Z",fill:"#190F33"})});case"google":return e(n,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:a,children:[t("path",{d:"M19.3 10.2085C19.3 9.5585 19.2417 8.9335 19.1334 8.3335H10.5V11.8835H15.4334C15.2167 13.0252 14.5667 13.9918 13.5917 14.6418V16.9502H16.5667C18.3 15.3502 19.3 13.0002 19.3 10.2085Z",fill:"#4285F4"}),t("path",{d:"M10.5 19.1668C12.975 19.1668 15.05 18.3502 16.5667 16.9502L13.5917 14.6418C12.775 15.1918 11.7334 15.5252 10.5 15.5252C8.11671 15.5252 6.09171 13.9168 5.36671 11.7502H2.31671V14.1168C3.82504 17.1085 6.91671 19.1668 10.5 19.1668Z",fill:"#34A853"}),t("path",{d:"M5.36671 11.7418C5.18337 11.1918 5.07504 10.6085 5.07504 10.0002C5.07504 9.39183 5.18337 8.8085 5.36671 8.2585V5.89183H2.31671C1.69171 7.12516 1.33337 8.51683 1.33337 10.0002C1.33337 11.4835 1.69171 12.8752 2.31671 14.1085L4.69171 12.2585L5.36671 11.7418Z",fill:"#FBBC05"}),t("path",{d:"M10.5 4.4835C11.85 4.4835 13.05 4.95016 14.0084 5.85016L16.6334 3.22516C15.0417 1.74183 12.975 0.833496 10.5 0.833496C6.91671 0.833496 3.82504 2.89183 2.31671 5.89183L5.36671 8.2585C6.09171 6.09183 8.11671 4.4835 10.5 4.4835Z",fill:"#EA4335"})]});case"linkedin-color":return e(n,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:a,children:[t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.37041 19.1668H17.6297C18.7547 19.1668 19.6667 18.2548 19.6667 17.1298V2.87053C19.6667 1.74551 18.7547 0.833496 17.6297 0.833496H3.37041C2.24539 0.833496 1.33337 1.74551 1.33337 2.87053V17.1298C1.33337 18.2548 2.24539 19.1668 3.37041 19.1668Z",fill:"#007EBB"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1204 16.6205H14.3999V11.9868C14.3999 10.7164 13.9171 10.0064 12.9116 10.0064C11.8176 10.0064 11.2461 10.7452 11.2461 11.9868V16.6205H8.62427V7.79337H11.2461V8.98239C11.2461 8.98239 12.0344 7.52369 13.9076 7.52369C15.78 7.52369 17.1204 8.66704 17.1204 11.0317V16.6205ZM5.4964 6.63753C4.60334 6.63753 3.87967 5.90818 3.87967 5.00866C3.87967 4.10914 4.60334 3.37979 5.4964 3.37979C6.38946 3.37979 7.1127 4.10914 7.1127 5.00866C7.1127 5.90818 6.38946 6.63753 5.4964 6.63753ZM4.14259 16.6205H6.87651V7.79337H4.14259V16.6205Z",fill:"white"})]});case"positive":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",style:{height:r,width:r},sx:a,children:t("path",{d:"M7.25241 16.7949C6.47136 17.576 6.47136 18.8423 7.25241 19.6234L11.0236 23.3946C11.8047 24.1756 13.071 24.1756 13.8521 23.3946L25.1658 12.0809C25.9468 11.2998 25.9468 10.0335 25.1658 9.25246C24.3847 8.47141 23.1184 8.47141 22.3374 9.25246L12.4379 19.152L10.0808 16.7949C9.29979 16.0139 8.03346 16.0139 7.25241 16.7949Z",fill:"#48B244"})});case"negative":return t(n,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:a,children:t("path",{d:"M9.25241 9.25244C8.47136 10.0335 8.47136 11.2998 9.25241 12.0809L13.4951 16.3235L9.25241 20.5662C8.47136 21.3472 8.47136 22.6135 9.25241 23.3946C10.0335 24.1756 11.2998 24.1756 12.0808 23.3946L16.3235 19.1519L20.5661 23.3946C21.3472 24.1756 22.6135 24.1756 23.3945 23.3946C24.1756 22.6135 24.1756 21.3472 23.3945 20.5662L19.1519 16.3235L23.3945 12.0809C24.1756 11.2998 24.1756 10.0335 23.3945 9.25244C22.6135 8.47139 21.3472 8.4714 20.5661 9.25244L16.3235 13.4951L12.0808 9.25244C11.2998 8.47139 10.0335 8.47139 9.25241 9.25244Z",fill:"#FC5A4E"})});case"neutral":return t(n,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:a,children:t("path",{d:"M6 16C6 14.8954 6.89543 14 8 14L24 14C25.1046 14 26 14.8954 26 16C26 17.1046 25.1046 18 24 18H8C6.89543 18 6 17.1046 6 16Z",fill:"#8C8799"})});case"linkedin":return t(n,{style:{height:r,width:r},viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",sx:a,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.8889 30H5.11111C3.39289 30 2 28.6071 2 26.8889V5.11111C2 3.39289 3.39289 2 5.11111 2H26.8889C28.6071 2 30 3.39289 30 5.11111V26.8889C30 28.6071 28.6071 30 26.8889 30ZM21.9561 26.1109H26.1111V17.5753C26.1111 13.9637 24.0639 12.2175 21.2043 12.2175C18.3435 12.2175 17.1395 14.4454 17.1395 14.4454V12.6294H13.1352V26.1109H17.1395V19.0339C17.1395 17.1377 18.0123 16.0093 19.683 16.0093C21.2188 16.0093 21.9561 17.0936 21.9561 19.0339V26.1109ZM5.88889 8.3764C5.88889 9.75021 6.99413 10.8641 8.35808 10.8641C9.72202 10.8641 10.8266 9.75021 10.8266 8.3764C10.8266 7.00259 9.72202 5.88867 8.35808 5.88867C6.99413 5.88867 5.88889 7.00259 5.88889 8.3764ZM10.4659 26.1109H6.29043V12.6294H10.4659V26.1109Z"})});case"medium":return t(n,{viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:a,children:t("path",{d:"M9.89698 8.51543C14.2584 8.51543 17.7937 12.0754 17.7937 16.4666C17.7937 20.8578 14.2581 24.4175 9.89698 24.4175C5.53585 24.4175 2 20.8578 2 16.4666C2 12.0754 5.53558 8.51543 9.89698 8.51543ZM22.5079 8.98119C24.6886 8.98119 26.4564 12.3322 26.4564 16.4666H26.4566C26.4566 20.5999 24.6888 23.952 22.5082 23.952C20.3275 23.952 18.5597 20.5999 18.5597 16.4666C18.5597 12.3333 20.3272 8.98119 22.5079 8.98119ZM28.6113 9.76085C29.3781 9.76085 30 12.7631 30 16.4666C30 20.1691 29.3784 23.1723 28.6113 23.1723C27.8443 23.1723 27.2229 20.1699 27.2229 16.4666C27.2229 12.7633 27.8445 9.76085 28.6113 9.76085Z"})});case"navigation-arrow":return t(n,{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:a,children:t("path",{d:"M13.7929 8.46442L16.6083 11.2798L16.6213 11.2929L16.6235 11.2952C16.9631 11.6369 17.0053 12.1629 16.7494 12.5502C16.7128 12.6057 16.6701 12.6583 16.6213 12.7071L13.7929 15.5356C13.4025 15.9261 12.7692 15.9261 12.3788 15.5356C11.9882 15.145 11.9882 14.5119 12.3788 14.1213L13.5002 12.9999H8.0858C7.53352 12.9999 7.0858 12.5523 7.0858 11.9999C7.0858 11.4477 7.53352 10.9999 8.0858 10.9999H13.4999L12.3786 9.87872C11.9882 9.4881 11.9882 8.85504 12.3786 8.46442C12.7692 8.07391 13.4023 8.07391 13.7929 8.46442Z"})});case"unfold-more":return t(n,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:r,width:r},sx:a,children:t("path",{d:"M5.83 12.0001L9 8.83009L7.59 7.42009L3 12.0001L7.59 16.5901L9 15.1701L5.83 12.0001ZM18.17 12.0001L15 15.1701L16.41 16.5801L21 12.0001L16.41 7.41009L15 8.83009L18.17 12.0001Z",fill:"#190F33"})});case"play":return t(le,{style:{height:s,width:d},sx:a});case"close":return t(ae,{style:{height:s,width:d},sx:a});case"arrow-forward":return t(re,{style:{height:s,width:d},sx:a});case"expand-more":return t(ne,{style:{height:s,width:d},sx:a});case"info":return t(ie,{style:{height:s,width:d},sx:a});case"check-circle":return t(oe,{style:{height:s,width:d},sx:a});case"error-outline":return t(te,{style:{height:s,width:d},sx:a});case"lightbulb":return t(ee,{style:{height:s,width:d},sx:a});case"warning-amber":return t(J,{style:{height:s,width:d},sx:a});case"access-time":return t(K,{style:{height:s,width:d},sx:a});case"menu":return t(Y,{style:{height:s,width:d},sx:a});case"lock":return t(Q,{style:{height:s,width:d},sx:a});case"check":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",style:{height:r,width:r},children:[t("rect",{width:"24",height:"24",y:".5",fill:"#48B244",rx:"12"}),t("path",{fill:"#fff",d:"M5.44 13.096a1.5 1.5 0 0 0 0 2.121l2.828 2.829a1.5 1.5 0 0 0 2.121 0l8.485-8.485a1.5 1.5 0 1 0-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 0 0-2.122 0Z"})]});case"dash":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:r,width:r},children:t("path",{fill:"#BAB7C2",d:"M4.5 12A1.5 1.5 0 0 1 6 10.5h12a1.5 1.5 0 0 1 0 3H6A1.5 1.5 0 0 1 4.5 12Z"})});case"gift":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:r,width:r},children:[t("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M20.5 8h-16a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1ZM12.5 8v13"}),t("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M19.5 12v7a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-7M8 8a2.5 2.5 0 1 1 0-5c.965-.017 1.91.451 2.713 1.343.802.892 1.425 2.166 1.787 3.657.362-1.49.985-2.765 1.787-3.657C15.09 3.451 16.035 2.983 17 3a2.5 2.5 0 0 1 0 5"})]});case"push-left":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:r,width:r},children:[t("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.334 1.334 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),t("path",{d:"M19.607 18.393 17.22 16l2.387-2.393-.94-.94L15.333 16l3.334 3.333.94-.94Z"})]});case"push-right":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:r,width:r},children:[t("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.333 1.333 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),t("path",{d:"M15.727 18.393 18.113 16l-2.386-2.393.94-.94L20 16l-3.333 3.333-.94-.94Z"})]});case"star":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:r,width:r},children:t("path",{d:"M19.6486 9.29459L14.8086 8.87459L12.9186 4.42459C12.5786 3.61459 11.4186 3.61459 11.0786 4.42459L9.18861 8.88459L4.35861 9.29459C3.47861 9.36459 3.11861 10.4646 3.78861 11.0446L7.45861 14.2246L6.35861 18.9446C6.15861 19.8046 7.08861 20.4846 7.84861 20.0246L11.9986 17.5246L16.1486 20.0346C16.9086 20.4946 17.8386 19.8146 17.6386 18.9546L16.5386 14.2246L20.2086 11.0446C20.8786 10.4646 20.5286 9.36459 19.6486 9.29459ZM11.9986 15.6546L8.23861 17.9246L9.23861 13.6446L5.91861 10.7646L10.2986 10.3846L11.9986 6.35459L13.7086 10.3946L18.0886 10.7746L14.7686 13.6546L15.7686 17.9346L11.9986 15.6546Z"})});case"open-in-new":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:r,width:r},children:t("path",{d:"M15 15.8333H5C4.54167 15.8333 4.16667 15.4583 4.16667 15V5C4.16667 4.54167 4.54167 4.16667 5 4.16667H9.16667C9.625 4.16667 10 3.79167 10 3.33333C10 2.875 9.625 2.5 9.16667 2.5H4.16667C3.24167 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.75 3.25 17.5 4.16667 17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V10.8333C17.5 10.375 17.125 10 16.6667 10C16.2083 10 15.8333 10.375 15.8333 10.8333V15C15.8333 15.4583 15.4583 15.8333 15 15.8333ZM11.6667 3.33333C11.6667 3.79167 12.0417 4.16667 12.5 4.16667H14.6583L7.05 11.775C6.725 12.1 6.725 12.625 7.05 12.95C7.375 13.275 7.9 13.275 8.225 12.95L15.8333 5.34167V7.5C15.8333 7.95833 16.2083 8.33333 16.6667 8.33333C17.125 8.33333 17.5 7.95833 17.5 7.5V3.33333C17.5 2.875 17.125 2.5 16.6667 2.5H12.5C12.0417 2.5 11.6667 2.875 11.6667 3.33333Z"})});case"notification":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:r,width:r},children:t("path",{d:"M8.34167 17.3C8.34167 18.2167 9.08333 18.9584 10 18.9584C10.9167 18.9584 11.6583 18.2167 11.6583 17.3H8.34167ZM10 4.79169C12.3 4.79169 14.1667 6.65835 14.1667 8.95835V14.7917H5.83333V8.95835C5.83333 6.65835 7.7 4.79169 10 4.79169ZM10 1.04169C9.30833 1.04169 8.75 1.60002 8.75 2.29169V3.26669C6.13333 3.83335 4.16667 6.16669 4.16667 8.95835V13.9584L2.5 15.625V16.4584H17.5V15.625L15.8333 13.9584V8.95835C15.8333 6.16669 13.8667 3.83335 11.25 3.26669V2.29169C11.25 1.60002 10.6917 1.04169 10 1.04169ZM9.16667 6.45835H10.8333V9.79169H9.16667V6.45835ZM9.16667 11.4584H10.8333V13.125H9.16667V11.4584Z"})});case"chevron-right":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:r,width:r},children:t("path",{d:"M9 6.71063C8.61 7.10063 8.61 7.73063 9 8.12063L12.88 12.0006L9 15.8806C8.61 16.2706 8.61 16.9006 9 17.2906C9.39 17.6806 10.02 17.6806 10.41 17.2906L15 12.7006C15.39 12.3106 15.39 11.6806 15 11.2906L10.41 6.70063C10.03 6.32063 9.39 6.32063 9 6.71063Z"})});case"check-thin":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:r,width:r},children:t("path",{d:"M8.79506 15.875L5.32506 12.405C4.93506 12.015 4.30506 12.015 3.91506 12.405C3.52506 12.795 3.52506 13.425 3.91506 13.815L8.09506 17.995C8.48506 18.385 9.11506 18.385 9.50506 17.995L20.0851 7.41502C20.4751 7.02502 20.4751 6.39502 20.0851 6.00502C19.6951 5.61502 19.0651 5.61502 18.6751 6.00502L8.79506 15.875Z"})});case"home":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:r,width:r},children:t("path",{d:"M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"})});case"folder":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:r,width:r},children:t("path",{d:"M9.17 6L11.17 8H20V18H4V6H9.17ZM10 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 6.9 21.1 6 20 6H12L10 4Z"})});case"help":return t(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:r,width:r},children:t("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z"})});case"logo-icon":return e(n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:r,width:r},children:[t("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),t("path",{d:"M14.375 12.5H21.875V13.4375C20 13.4375 20 15.3125 20 15.3125V25.625H22.8125C22.8125 25.625 24.6875 25.625 24.6875 22.8125H26.5625L25.625 27.5H14.375V25.625C16.25 25.625 16.25 23.75 16.25 23.75V15.3125C16.25 15.3125 16.25 13.4375 14.375 13.4375V12.5Z",fill:"white"})]});case"logo":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 97 40",style:{height:r,width:r},children:[t("rect",{width:"30",height:"30",x:"5",y:"5",fill:"#7F4CFF",rx:"15"}),t("path",{fill:"#fff",d:"M14.375 12.5h7.5v.938C20 13.438 20 15.312 20 15.312v10.313h2.813s1.875 0 1.875-2.813h1.875l-.938 4.688h-11.25v-1.875c1.875 0 1.875-1.875 1.875-1.875v-8.438s0-1.874-1.875-1.874V12.5Z"}),t("path",{fill:"#190F33",d:"M49.758 26.254c-.853-.6-1.032-.778-1.032-2.098V13.5H44v.2l.008.005c.868.535 1.263.778 1.263 2.092v8.359c0 1.32-.18 1.498-1.033 2.098v.2h5.52v-.2Z"}),t("path",{fill:"#190F33","fill-rule":"evenodd",d:"M50.015 22.447c.537 3.068 3.314 4.644 6.228 4.129 2.914-.518 4.987-2.963 4.45-6.023-.537-3.06-3.314-4.646-6.228-4.129-2.915.518-4.987 2.956-4.45 6.023Zm3.599-.639c-.514-2.95-.307-4.285 1.002-4.517 1.309-.233 1.964.946 2.478 3.896.514 2.95.308 4.28-1.002 4.517-1.31.238-1.964-.945-2.478-3.896ZM67.64 26.576c-2.913.515-5.69-1.06-6.228-4.129-.538-3.067 1.535-5.505 4.45-6.023 2.915-.517 5.69 1.068 6.228 4.129.539 3.06-1.536 5.505-4.45 6.023Zm-1.627-9.285c-1.31.232-1.516 1.567-1.002 4.517s1.168 4.134 2.478 3.901c1.31-.233 1.517-1.567 1.002-4.517-.514-2.95-1.167-4.134-2.478-3.901Z","clip-rule":"evenodd"}),t("path",{fill:"#190F33","fill-rule":"evenodd",d:"M78.091 29.256c-.993-.565-1.35-.768-1.35-2.053l.002-2.397c.516 1.039 1.549 1.858 3.257 1.858 2.58 0 4.627-1.963 4.627-5.34 0-3.435-1.995-4.973-4.27-4.973-1.867 0-3.159 1.059-3.614 2.517l-.08-2.317h-4.566v.191c.854.558 1.19.778 1.19 2.097v8.364c0 1.318-.177 1.498-1.033 2.097v.2h5.915v-.2l-.078-.044Zm.814-3.808c-1.212 0-2.165-1.378-2.165-2.975V21.05c0-1.777.854-3.117 2.165-3.117 1.369 0 2.044 1.26 2.044 3.396 0 2.82-.695 4.12-2.044 4.12Z","clip-rule":"evenodd"}),t("path",{fill:"#190F33",d:"M95.545 26.624c.642 0 1.163-.524 1.163-1.17 0-.646-.52-1.17-1.163-1.17s-1.164.524-1.164 1.17c0 .646.521 1.17 1.164 1.17ZM90.211 19.695c-1.33-.395-2.078-.617-2.078-1.41 0-.666.607-.96 1.274-.96 1.292 0 2.304.74 3.476 2.457h.278v-3.435h-.2l-.892.659-.117-.049c-.735-.305-1.471-.61-2.584-.61-2.125 0-3.813 1.318-3.813 3.275 0 1.758.835 2.757 3.834 3.536 1.113.28 1.886.48 1.886 1.338 0 .8-.773 1.178-1.707 1.178-1.435 0-2.483-.978-3.861-2.836h-.304l.21 3.796h.218l.793-.8c.636.32 1.629.82 2.959.82 2.542 0 4.31-1.42 4.31-3.416 0-2.058-1.228-2.817-3.655-3.535l-.027-.008Z"})]});default:return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 33",style:{height:r,width:r},sx:a,children:[t("path",{fill:"#C8E8C7",d:"M0 16.426c0-8.836 7.163-16 16-16s16 7.164 16 16-7.163 16-16 16-16-7.163-16-16"}),t("path",{fill:"#48B244",d:"M7.252 17.221a2 2 0 0 0 0 2.828l3.772 3.772a2 2 0 0 0 2.828 0l11.314-11.314a2 2 0 0 0-2.829-2.828l-9.9 9.9-2.356-2.358a2 2 0 0 0-2.829 0"})]})}},Zt="#FFFFFF",Et="#F8F8F9",Tt="#E8E7EB",Ot="#D1CFD6",Pt="#BAB7C2",Dt="#A39FAD",Wt="#756F85",jt="#5E5770",Nt="#190F33",_t="#130B26",Gt="#1C142F",Ut="#2A223C",qt="#413A51",Xt="#585267",Qt="#6F697D",Yt="#9D98A8",Kt="#B4AFBE",Jt="#F9F6FF",eo={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},to={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},oo={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},io={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},no={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},ro={light:{0:Zt,50:Et,100:Tt,200:Ot,300:Pt,400:Dt,500:"#8C8799",600:Wt,700:jt,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:Nt,1100:"#0D081A"},dark:{0:_t,50:Gt,100:Ut,200:qt,300:Xt,400:Qt,500:"#868092",600:Yt,700:Kt,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:Jt,1100:"#FFFFFF"}},ao=e=>({light:{0:e[0],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],1e3:e[1e3]},dark:{0:e[1e3],100:e[900],200:e[800],300:e[700],400:e[600],500:e[500],600:e[400],700:e[300],800:e[200],900:e[100],1e3:e[0]}}),lo=ao(oo),so=ao(io),co=ao({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),uo=ao({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),po=ao({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),mo=ao(no),ho={light:{surface:{sunken:Et,default:Zt,raised:Zt,overlay:Zt,scrim:eo[3],transparent:eo[.01]},interaction:{none:eo[0],hover:eo[1],press:eo[2],hoverOnDark:eo[3],pressOnDark:eo[4],disabled:eo[2]},stroke:{default:Ot,focus:oo[500],disabled:Tt},text:{primary:Nt,secondary:Wt,placeholder:Dt,disabled:Pt,textLink:oo[800],textLinkHover:oo[900],primaryInverted:Zt,secondaryInverted:Dt,placeholderInverted:Wt,disabledInverted:jt,positive:no[800],negative:io[700],lockedWhite:Zt},icon:{primary:Nt,secondary:Wt,disabled:Pt,primaryInverted:Zt,secondaryInverted:Dt,disabledInverted:jt,positive:no[800],negative:io[700],lockedWhite:Zt},input:{default:Zt,disabled:"#FFFFFF80"}},dark:{surface:{default:Gt,sunken:_t,raised:Ut,overlay:qt,scrim:to[3],transparent:to[.01]},interaction:{none:to[0],hover:to[1],press:to[2],hoverOnDark:to[3],pressOnDark:to[4],disabled:to[2]},stroke:{default:qt,focus:oo[500],disabled:Ut},text:{primary:Jt,secondary:Kt,placeholder:Qt,disabled:Xt,textLink:oo[100],textLinkHover:oo[0],primaryInverted:_t,secondaryInverted:Qt,placeholderInverted:Yt,disabledInverted:Kt,positive:no[300],negative:io[300],lockedWhite:Zt},icon:{primary:Jt,secondary:Kt,disabled:Xt,primaryInverted:_t,secondaryInverted:Qt,disabledInverted:Kt,positive:no[300],negative:io[300],lockedWhite:Zt},input:{default:Ut,disabled:"#2A223C80"}}};var go;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(go||(go={}));const fo={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:go.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:go.BOLD}},xo={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:go.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:go.BOLD}},bo={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},Co=e=>"bold"===e?go.BOLD:go.DEFAULT,vo=({component:e,weight:o="default",variation:i,clamp:n=0,...a})=>t(r,{component:e,fontWeight:Co(o),variant:i,...a,sx:xe(a.sx,n?{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:null)}),wo=({logo:o,headerText:n,subText:r})=>{const l=i();return e(a,{gap:l.spacing(l.custom.margin.md),alignItems:"center",mb:l.spacing(l.custom.margin.lg),children:[!1===o?null:o||t($t,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),e(a,{gap:l.spacing(l.custom.margin.md),children:[n&&t(vo,{variation:"sm",component:"h1",align:"center",weight:"bold",children:n}),function(){if(r)return"string"==typeof r?t(vo,{variation:"md",component:"p",align:"center",children:r}):r}()]})]})},yo=({variation:e="lg",children:o,...n})=>{const{custom:r}=i();switch(e){case"sm":return t(l,{sx:{border:`1px solid ${r.palette.stroke.default}`,height:32,width:32},...n,children:o});case"lg":return t(l,{sx:{border:`1px solid ${r.palette.stroke.default}`,height:48,width:48},...n,children:o})}},ko=({variation:e="primary",...o})=>{if("primary"===e)return t(s,{...o})},Mo=["xs","sm","md","lg","xl","xxl","xxxl"],Lo=(e,t=16)=>{const o=1/t*e;return Math.round(1e3*o)/1e3},So=(e,t="xs")=>{const o=Mo.reduce(((o,i,n)=>{const r=Mo.indexOf(t)||0,a=Number((16*Math.pow(e,n-r)).toFixed(2));return o[i]=a,o}),{}),i={};for(const[e,t]of Object.entries(o))i[e]=Lo(t)+"rem";return i},Fo={lg:{headline:So(1.309,"xs"),body:So(1.125,"md")},sm:{headline:So(1.125,"xs"),body:So(1.1,"md")},button:So(1.125,"md")},Io=e=>{const t=Mo.map((t=>({props:{variant:t},style:{fontFamily:`${bo.Serif}`,fontSize:Fo[e].headline[t]}}))),o=Mo.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${bo.SansSerif}`,fontSize:Fo[e].body[t]}}))),i=Mo.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${bo.SansSerif}`,fontSize:Fo[e].body[t]}})));return[...t,...Mo.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${bo.SansSerif}`,fontSize:Fo[e].body[t]}}))),...o,...i]},Ro={xs:Fo.button.xs,sm:Fo.button.sm,md:Fo.button.sm,lg:Fo.button.md,xl:Fo.button.lg},Ao=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Ho=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,"&:hover":{backgroundColor:e.custom.palette.surface.raised},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.surface.raised},"&:disabled":{border:`1px solid ${e.custom.palette.stroke.disabled}`}}),Bo=e=>({backgroundColor:e.custom.palette.purple[0],"&:hover":{backgroundColor:e.custom.palette.purple[0]},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.purple[0]}}),Vo=e=>({backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&:hover":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:active":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.pressOnDark}}}),zo=(e,t)=>({"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},...t&&{backgroundColor:e.custom.palette.interaction.press,"&:hover":{backgroundColor:e.custom.palette.interaction.press},"&:focus":{backgroundColor:e.custom.palette.interaction.press},"&:active":{backgroundColor:e.custom.palette.interaction.press}}}),$o={xs:3*St,sm:3.5*St,md:4*St,lg:5*St,xl:6*St},Zo={xs:.5*St,sm:.5*St,md:St,lg:St,xl:St},Eo=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:zt[e],width:zt[e]}}}),To=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:Ro[e],paddingLeft:Zo[e],paddingRight:Zo[e]}}),Oo=e=>({height:$o[e],paddingLeft:St,paddingRight:St}),Po=d(c)((()=>({color:"inherit",position:"absolute",padding:2}))),Do=({sizing:e,...o})=>t(Po,{size:e?zt[e]:40,...o}),Wo=d(u)((({theme:e,loading:t})=>({boxSizing:"border-box",position:"relative",overflow:"hidden",borderRadius:e.spacing(e.custom.radius.md),textTransform:"none",minWidth:52,"&::before":{content:'""',backgroundColor:"transparent",transition:"all 200ms ease",position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root, & .MuiButton-icon":{overflowWrap:"normal",position:"relative",zIndex:2},"& > .MuiButton-startIcon, & > .MuiButton-endIcon":{visibility:t?"hidden":"visible"}}))),jo=d((({children:o,loading:i,sizing:n,...r})=>e(Wo,{...r,sizing:n,loading:i,children:[i&&t(Do,{sizing:n}),t(p,{...i?{visibility:"hidden"}:void 0,children:o})]})))((({theme:e,variation:t,sizing:o})=>({color:e.custom.palette.text.primary,...o&&{...To(o)},...o&&{...Oo(o)},...o&&{...Eo(o)},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&:focus:before":{backgroundColor:e.custom.palette.interaction.hover},"&:active:before":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},..."subtle"===t&&{...Ao(e)},..."outlined"===t&&{...Ho(e)},..."secondary"===t&&{...Bo(e)},..."primary"===t&&{...Vo(e)}}))),No=({sizing:e="lg",variation:o="primary",...i})=>t(jo,{variation:o,sizing:e,...i}),_o=({label:e,sx:o,...n})=>{const r=i();return t(m,{label:e||"",sx:xe({ml:0,"&.Mui-disabled":{color:r.custom.palette.text.disabled},"&.Mui-error":{color:r.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:e?r.custom.margin.md:0,color:"inherit",fontSize:{xs:Fo.sm.body.md,sm:Fo.sm.body.md,md:Fo.sm.body.md,lg:Fo.lg.body.md,xl:Fo.lg.body.md}}},o),...n})},Go=d(h)((({theme:e,sizing:t})=>({height:"default"===t?yt:kt,width:"default"===t?yt:kt,padding:0,flex:"none",borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.input.default,position:"relative",transition:e.custom.easing.input,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t?zt.sm:zt.xl,height:"default"===t?zt.sm:zt.xl},"&:before":{content:'""',position:"absolute",inset:0},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& svg":{fill:e.custom.palette.icon.disabled}}},"&.MuiCheckbox-indeterminate":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),Uo=e=>t(Go,{checkedIcon:t(se,{}),indeterminateIcon:t(de,{}),...e}),qo=({internalChange:e,checkboxLabel:o,indeterminate:i,sizing:n="default",onChange:r,inputRef:a,value:l,...s})=>t(_o,{inputRef:a,label:o,checked:l,control:t(Uo,{sizing:n,indeterminate:i}),onChange:(t,o)=>{r&&r(t,o),e&&e()},...s}),Xo=d(g)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:zt.xl,height:zt.xl}},"& .MuiOutlinedInput-input":{padding:e.spacing(1),paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.primary,borderRadius:e.spacing(e.custom.radius.md),lineHeight:"140%",[e.breakpoints.down("md")]:{minWidth:"100%"},paddingLeft:0,paddingRight:0,fontSize:Fo.sm.body.md,"&.Mui-focused":{"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{color:e.custom.palette.text.disabled,backgroundColor:e.custom.palette.input.disabled,"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}},"&:hover":{"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,"& fieldset":{backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default},"&.Mui-focused":{"& fieldset":{backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& fieldset":{backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}}}}))),Qo=({startAdornment:e,endAdornment:o,placeholder:i,onChange:n,internalChange:r,inputRef:a,...l})=>t(Xo,{placeholder:i,sx:{height:Mt,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:a,InputProps:{startAdornment:e?t(f,{position:"start",sx:{pl:1},children:e}):null,endAdornment:o?t(f,{position:"start",sx:{pr:1},children:o}):null},...l,onChange:e=>{n&&n(e),r&&r()}}),Yo=({sizing:i,options:n,other:r,internalChange:a,value:l,inputRef:s,onChange:d})=>{const c=r?.name||"other-option",u=`${c}-value-`,m=e=>`${u}${e}`,h=r?.enabled,g=l?.includes(c)&&h,f=l?.find((e=>e.includes(u)));if(!l)return t("div",{});const b=(e,t)=>{let o=l.includes(e)?l.filter((t=>t!==e)):t?[e]:[...new Set(l),e];if(t||(o=o.filter((e=>!n.find((t=>t?.exclusive&&e===t.value))))),r?.enabled){!l.includes(c)||e!==c||(o=o.filter((e=>!e.includes(u))))}d(o),a&&a()};return e(o,{children:[e(x,{sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiCheckbox-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},children:[n?n.map(((e,o)=>{const n=e.value;return t(_o,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>b(n,e.exclusive),checked:l.includes(n),control:t(Uo,{sizing:i}),label:e.label},n)})):null,h&&t(_o,{inputRef:s,onChange:()=>b(c),label:r?.label||"Other",checked:l.includes(c),control:t(Uo,{sizing:i})},c)]}),g&&t(p,{sx:{mt:1},children:t(Qo,{fullWidth:!0,autoFocus:!0,defaultValue:f?f.replace(u,""):"",placeholder:r?.placeholder,onChange:e=>{const t=l.find((e=>e.includes(u))),o=(t?l.map((t=>t.includes(u)?m(e.target.value):t)):[...l,m(e.target.value)]).filter((e=>e!==u));d(o),a&&a()},required:!0})})]})},Ko=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,Jo=(e,t)=>{switch(t){case"tone1":default:return Ko(e);case"tone2":return(e=>`linear-gradient(135deg, ${e.custom.palette.purple[0]} 0%, ${e.custom.palette.purple[100]} 100%)`)(e);case"tone3":return(e=>`linear-gradient(135deg, ${e.custom.palette.blue[400]} 0%, ${e.custom.palette.purple[600]} 100%)`)(e);case"tone4":return(e=>`radial-gradient(54.59% 50% at 0% 50.04%, ${b(e.custom.palette.blue[1e3],.2)} 0%, ${b(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},ei=(e,t)=>{const o=Jo(e,t.gradient),i=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return i?[i,o].join(","):[o].join(",")},ti=({sx:e,children:o,texture:n="noise1",gradient:r="tone1",...a})=>{const l=i();return t(C,{maxWidth:!1,disableGutters:!0,sx:xe({background:ei(l,{texture:n,gradient:r}),height:"100%",p:[0,0,0]},!!e&&{...e}),...a,children:o})},oi=({inputField:e,onChange:o,internalChange:i,transformValue:n,...r})=>t(e,{onChange:e=>{o&&o(n?n(e):e),i&&i()},...r}),ii=d(v)((({theme:e,align:t})=>({fontWeight:400,lineHeight:"140%",whiteSpace:"normal",textAlign:t,color:"inherit","&.Mui-disabled":{color:e.custom.palette.text.disabled},"&.Mui-error":{color:e.custom.palette.text.negative}}))),ni=e=>t(ii,{...e}),ri=o=>{const{icon:n=null,state:r="default",disabled:a,showicon:l=!0}=o,s=i();return e(p,{sx:{display:"inline-flex",alignItems:"center",color:a?s.custom.palette.text.disabled:(()=>{switch(r){case"disabled":return s.custom.palette.text.disabled;case"positive":return s.custom.palette.text.positive;case"negative":return s.custom.palette.text.negative;default:return s.custom.palette.text.secondary}})(),"& svg":{marginRight:s.spacing(s.custom.margin.xs),width:zt.xs,height:zt.xs,color:"inherit"}},children:[(()=>{if(!l)return null;if(n)return n;switch(r){case"disabled":default:return t(p,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:t(ce,{})});case"positive":return t(p,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:t(se,{})});case"negative":return t(p,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:t(ue,{})})}})(),t(ni,{...o,sx:{fontSize:{xs:Fo.sm.body.sm,sm:Fo.sm.body.sm,md:Fo.sm.body.sm,lg:Fo.lg.body.sm,xl:Fo.lg.body.sm}}})]})},ai=d(p)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Ct,height:Ct,top:`calc(100% + ${Ct}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Ct,height:Ct,top:`calc(100% + ${Ct}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),li=({children:e,width:o})=>t(ai,{sx:{width:o,minWidth:300},children:e}),si=d(w)((({theme:e,sizing:t})=>({padding:0,backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,position:"relative",transition:e.custom.easing.input,flexShrink:0,height:"default"===t?yt:kt,width:"default"===t?yt:kt,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&zt.sm,height:"default"===t&&zt.sm},"&:before":{content:'""',position:"absolute",inset:0,borderRadius:e.custom.radius.round},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}}}}))),di=e=>t(si,{...e}),ci=d(di)((()=>({marginRight:0}))),ui=d(p)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:Ct,width:`calc(100% - ${kt}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),pi=e=>t(ui,{sx:{position:"relative"},children:t(ci,{...e})}),mi=({disabled:o=!1,onChange:i,labelLeft:n,labelRight:r,internalChange:a,labelCenter:l})=>{const s=[...Array(7).keys()];return t(y,{children:e(li,{children:[t(k,{container:!0,justifyContent:"space-between",children:s.map(((e,n)=>{const r=n+1!==s.length;return t(k,{item:!0,sm:r,children:t(pi,{disabled:o,value:e,onChange:(e,t)=>{i&&i(e,t),a&&a()},name:`radio-option-${e}`},e)},e)}))}),e(k,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[t(k,{item:!0,sm:!0,sx:{textAlign:"left"},children:t(ri,{disabled:o,showicon:!1,children:n})}),t(k,{item:!0,sm:!0,sx:{textAlign:"center"},children:t(ri,{disabled:o,align:"center",showicon:!1,children:l})}),t(k,{item:!0,sm:!0,sx:{textAlign:"right"},children:t(ri,{disabled:o,align:"right",showicon:!1,children:r})})]})]})})},hi=d(M)((({theme:e})=>({"& .MuiPaper-root":{backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.sm),marginTop:e.spacing(1),minWidth:180,border:`1px solid ${e.custom.palette.stroke.default}`,boxShadow:"none","& .MuiMenu-list":{padding:`${e.spacing(e.custom.padding.xs)} 0`},"& .MuiMenuItem-root":{"& .MuiSvgIcon-root":{color:e.custom.palette.text.primary},"&:active":{backgroundColor:b(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),gi=({open:i,anchorEl:n,handleClick:r,handleClose:a,items:l,...s})=>t(o,{children:t(hi,{anchorEl:n,open:i,onClose:a,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...s,children:l?.map(((o,i)=>e(L,{onClick:o.onClick,...o.menuItemProps,children:[o.icon&&t(p,{mr:1,children:o.icon}),o.label]},i)))})}),fi=()=>{const[e,t]=Ce.useState(null);return{open:Boolean(e),handleClick:e=>{t(e.currentTarget)},handleClose:()=>{t(null)},anchorEl:e}},xi=()=>{const e=i();return[...e.breakpoints.keys].reduce(((t,o)=>Be(e.breakpoints.up(o))?o:t),null)??"sm"},bi=({breakpoint:o})=>{const n=i(),r=Array.from({length:6},((e,t)=>t));return o||(o=xi()),e(a,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[t(C,{sx:{background:n.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:t(p,{sx:{background:n.custom.palette.purple[300],display:"flex",flex:1},children:e(k,{container:!0,spacing:2,children:[r.map((e=>t(k,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:t(p,{sx:{background:n.custom.palette.green[300],height:"100%"}})},`grid-1-${e}`))),r.map((e=>t(k,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:t(p,{sx:{background:n.custom.palette.green[300],height:"100%"}})},`grid-2-${e}`)))]})})}),!!o&&t(p,{sx:{backgroundColor:n.custom.palette.surface.default,borderRadius:n.spacing(n.custom.radius.md),bottom:16,filter:n.custom.elevationFilter.raised,display:"block",left:16,position:"fixed",px:2,py:1},children:t(vo,{variation:"sm",component:"p",weight:"bold",children:o})})]})},Ci=({children:e,...t})=>e,vi=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),wi=e=>({backgroundColor:e.custom.palette.purple[100],color:e.custom.palette.icon.primary,"& .MuiButtonBase-root":{":hover":{background:e.custom.palette.interaction.hoverOnDark},":active":{background:e.custom.palette.interaction.pressOnDark}}}),yi=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,color:e.custom.palette.icon.primary,"&.MuiIconButton-root:disabled":{border:"none"}}),ki=e=>({backgroundColor:e.custom.palette.surface.raised,boxShadow:e.custom.elevation.raised,color:e.custom.palette.icon.primary,"&:focus-visible:after":{boxShadow:e.custom.boxShadow.input.focus},"&.MuiIconButton-root:disabled":{boxShadow:"none"}}),Mi=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Li={xs:3*St,sm:3.5*St,md:4*St,lg:5*St,xl:6*St},Si=e=>({height:Li[e],width:Li[e]}),Fi={xs:2*St,sm:2*St,md:2*St,lg:2.5*St,xl:3*St},Ii=e=>({height:Fi[e],width:Fi[e]}),Ri=d(S)((({theme:e,variation:t,shape:o="default",sizing:i})=>({boxSizing:"border-box",transition:"all 200ms ease",...o&&{...Mi(o,e)},...i&&{...Si(i)},"&.MuiIconButton-root":{..."default"===t&&{...vi(e)},..."toggle"===t&&{...wi(e)},..."outlined"===t&&{...yi(e)},..."raised"===t&&{...ki(e)},...o&&{...Mi(o,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...i&&{...Ii(i)},position:"relative",zIndex:1}}))),Ai=({children:e,message:o,variation:n="primary",...r})=>{const a=i();if("primary"===n)return t(F,{...r,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:a.spacing(a.custom.radius.sm),filter:`drop-shadow(${a.custom.elevation.overlay})`}}}},title:o,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:t(p,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},Hi=({icon:e,loading:o,tooltipMessage:i,sizing:n,slotProps:r,...a})=>{const l=()=>t(Ri,{...a,sizing:n,children:o?t(Do,{sizing:n}):e});return i?t(Ai,{message:i,...r?.tooltip,children:l()}):l()},Bi=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderBottomLeftRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderTopLeftRadius:0}}),Vi=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopLeftRadius:0,borderBottomLeftRadius:0}}),zi=d(I)((({theme:e,variation:t,orientation:o="horizontal",iconColor:i,sizing:n="lg",groupRaised:r=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...r&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...vi(e)},..."toggle"===t&&{...wi(e)},..."vertical"===o&&{...Bi(e)},..."horizontal"===o&&{...Vi(e)},...n&&{...Si(n)}},"& .MuiSvgIcon-root":{...n&&{...Ii(n)},fill:i||"inherit"}}}))),$i=({ButtonGroupProps:e,children:o,...i})=>t(zi,{...i,...e,children:o}),Zi=({sx:e,...o})=>t(ni,{...o,sx:xe({fontSize:{xs:Fo.sm.body.md,sm:Fo.sm.body.md,md:Fo.sm.body.md,lg:Fo.lg.body.md,xl:Fo.lg.body.md}},!!e&&{...e})}),Ei=d(p)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:wt,borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${wt}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:wt,borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${wt}px)`}}}}}))),Ti=({children:e,width:o})=>t(Ei,{sx:{width:o},children:e}),Oi=d(ri)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Pi=({disabled:e,children:o})=>t(Oi,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:o}),Di=d(di)((()=>({marginRight:0}))),Wi=d(p)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:Ct,width:`calc(50% - ${kt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:Ct,width:`calc(50% - ${kt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),ji=e=>t(Wi,{sx:{textAlign:"center",position:"relative"},children:t(Di,{...e})}),Ni=({options:o=[],disabled:n=!1,sizing:r="lg",onChange:a,internalChange:l,value:s})=>{const d=i();function c(e){console.warn(e),a(e.value),l&&l()}return t(p,{children:t(Ti,{children:t(k,{container:!0,justifyContent:"space-between",children:o.map((o=>e(k,{item:!0,sm:!0,onClick:()=>c(o),sx:{...!n&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!n&&{backgroundColor:d.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!n&&{backgroundColor:d.custom.palette.input.default,borderColor:d.custom.palette.stroke.focus,boxShadow:d.custom.boxShadow.input.focus},"&:before":{...!n&&{backgroundColor:d.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:d.custom.palette.purple[500]}}}},children:[t(ji,{sizing:r,disabled:n,onChange:e=>c(o),checked:s===o.value},o.value),t(p,{sx:{mt:Ft.xs,width:"100%"},children:t(Pi,{disabled:n,children:o.label})})]},o.value)))})})})},_i=d(R)((({theme:e,disabled:t})=>({"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,borderRadius:e.spacing(e.custom.radius.sm),outline:"none"},"&.MuiLink-root":{transition:"all 200ms ease",display:"inline",cursor:"pointer",color:t?e.custom.palette.text.lockedWhite:e.custom.palette.text.textLink,textDecorationColor:e.custom.palette.text.textLink,pointerEvents:t?"none":"auto","&:hover":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.textLinkHover,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.textLinkHover},"&:active":{color:e.custom.palette.text.textLinkHover,textDecorationColor:e.custom.palette.text.textLinkHover},"&:visited":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.textLink,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.textLink}}}))),Gi=e=>e.target&&"_blank"===e.target?t(_i,{rel:"noopener",...e}):t(_i,{...e}),Ui=()=>t(p,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:t("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),qi=e=>t("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:t("path",{d:"M8.72886 20.0975C7.43461 19.1995 7.16357 18.9302 7.16357 16.9549V0.988281H-0.000106812V1.28748L0.0165316 1.29764C1.3293 2.09875 1.92633 2.46309 1.92633 4.43011V16.9549C1.92633 18.9302 1.65553 19.1995 0.361043 20.0975V20.3965H8.72886V20.0975ZM14.5709 13.437C13.7868 9.01598 14.1045 7.0153 16.0905 6.66718C18.0767 6.31907 19.0631 8.09095 19.8472 12.512C20.6311 16.933 20.3137 18.9335 18.3275 19.2816C16.3415 19.6299 15.3548 17.8578 14.5709 13.437ZM9.11663 14.3934C9.93203 18.9911 14.141 21.3529 18.5575 20.5785C22.9743 19.8041 26.1169 16.1534 25.3015 11.5559C24.4861 6.95793 20.2773 4.5961 15.8605 5.3705C11.444 6.14467 8.30123 9.79541 9.11663 14.3934ZM33.3669 6.66718C31.381 7.0153 31.0633 9.01598 31.8474 13.437C32.6313 17.8578 33.618 19.6299 35.6039 19.2816C37.5901 18.9335 37.9076 16.933 37.1237 12.512C36.3396 8.09095 35.3531 6.31907 33.3669 6.66718ZM35.834 20.5785C31.4175 21.3529 27.2085 18.9911 26.3931 14.3934C25.5777 9.79541 28.7205 6.14467 33.137 5.3705C37.5538 4.5961 41.7625 6.95793 42.5779 11.5559C43.3933 16.1534 40.2508 19.8041 35.834 20.5785ZM52.9075 18.9002C51.0712 18.9002 49.6266 16.8353 49.6266 14.441V12.3162C49.6266 9.6524 50.9209 7.64737 52.9075 7.64737C54.9843 7.64737 56.0078 9.53285 56.0078 12.7351C56.0078 16.955 54.9542 18.9002 52.9075 18.9002ZM51.6733 24.5936C50.1696 23.7488 49.6266 23.4437 49.6266 21.5189V17.9125C50.4091 19.4689 51.9744 20.6958 54.5629 20.6958C58.476 20.6958 61.5762 17.763 61.5762 12.7052C61.5762 7.55754 58.5663 5.25308 55.1047 5.25308C52.2753 5.25308 50.3187 6.83937 49.6266 9.02405L49.5063 5.55228H42.5833V5.85171L42.5873 5.85427C43.8786 6.69033 44.3891 7.02081 44.3891 8.99411V21.5189C44.3891 23.4942 44.1183 23.7637 42.824 24.6613V24.9605H51.7937V24.6613L51.6733 24.5936ZM79.8954 18.9002C79.8954 19.8689 79.1055 20.6543 78.1313 20.6543C77.157 20.6543 76.3671 19.8689 76.3671 18.9002C76.3671 17.9315 77.157 17.1462 78.1313 17.1462C79.1055 17.1462 79.8954 17.9315 79.8954 18.9002ZM70.0692 10.2734C68.0387 9.67975 66.9044 9.34812 66.9044 8.15614C66.9044 7.16849 67.8074 6.71957 68.8309 6.71957C70.7874 6.71957 72.3224 7.827 74.0985 10.4007H74.5196V5.25306H74.2187L72.8642 6.24072C72.8031 6.21577 72.742 6.19075 72.681 6.16573C71.5696 5.71024 70.454 5.25306 68.7707 5.25306C65.55 5.25306 62.9916 7.22837 62.9916 10.1612C62.9916 12.795 64.2557 14.2912 68.8008 15.4585C70.4863 15.8775 71.6601 16.1767 71.6601 17.4636C71.6601 18.6608 70.4863 19.2293 69.0718 19.2293C66.9044 19.2293 65.3093 17.763 63.2021 14.9797H62.7509L63.0819 20.6661H63.413L64.6169 19.4688C65.5801 19.9477 67.0851 20.6958 69.1019 20.6958C72.9546 20.6958 75.6334 18.571 75.6334 15.5783C75.6334 12.4956 73.7672 11.3584 70.095 10.2809L70.0692 10.2734Z"})}),Xi=d(p)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5)}))),Qi=d(p)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),Yi=d(vo)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),Ki=d(u)((({active:e,fullWidth:t,theme:o})=>({alignItems:"center",backgroundColor:e?o.custom.palette.interaction.press:"transparent",borderRadius:o.spacing(o.custom.radius.md),color:o.custom.palette.text.primary,display:"flex",gap:o.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:o.spacing(1),textTransform:"none",width:t?"100%":"auto","&:hover":{backgroundColor:o.custom.palette.interaction.hover,"& > div":{opacity:1}},"&:focus":{backgroundColor:o.custom.palette.interaction.hover},"&:active":{backgroundColor:o.custom.palette.interaction.press},"&:disabled":{backgroundColor:o.custom.palette.interaction.disabled,color:o.custom.palette.text.disabled}}))),Ji=({active:o,label:i,href:n,icon:r,onClick:a,variation:l})=>"sm"===l?e(Xi,{onClick:a,children:[t(Ki,{active:o,children:t(p,{display:"flex",alignItems:"center",gap:1,children:r&&t($t,{name:r,size:24})})}),t(Yi,{component:"p",variation:"sm",active:o,children:i})]}):e(Ki,{onClick:a,fullWidth:!0,active:o,children:[e(p,{display:"flex",alignItems:"center",gap:1.5,children:[r&&t($t,{name:r,size:24}),t(vo,{component:"p",variation:"lg",children:i})]}),n&&t(Qi,{children:t($t,{name:"open-in-new",size:20})})]});function en(e){if("undefined"==typeof window)return e;const t=be.useRef(null);return be.useLayoutEffect((()=>{t.current=e})),be.useCallback(((...e)=>{var o;null===(o=t.current)||void 0===o||o.call(t,...e)}),[])}const tn={};const on={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},nn=be,rn="useId"in nn?()=>nn.useId():()=>{};function an({parentPopupState:e,popupId:t=rn(),variant:o,disableAutoFocus:i}){const n=ve(!0);we((()=>(n.current=!0,()=>{n.current=!1})),[]);const[r,a]=ye(on),l=ke((e=>{n.current&&a(e)}),[]),s=ke((e=>l((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),d=en((e=>(r.isOpen?p(e):c(e),r))),c=en((t=>{const i=t instanceof Element?void 0:t,n=t instanceof Element?t:(null==t?void 0:t.currentTarget)instanceof Element?t.currentTarget:void 0;if("touchstart"===(null==i?void 0:i.type))return void l((e=>({...e,_deferNextOpen:!0})));const r=null==i?void 0:i.clientX,a=null==i?void 0:i.clientY,s="number"==typeof r&&"number"==typeof a?{left:r,top:a}:void 0,d=r=>{var a,l;if(t||r.setAnchorElUsed||"dialog"===o||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",tn[a="missingEventOrAnchorEl"]||(tn[a]=!0,console.error("[material-ui-popup-state] WARNING",l))),e){if(!e.isOpen)return r;setTimeout((()=>e._setChildPopupState(x)))}const d={...r,isOpen:!0,anchorPosition:s,hovered:"mouseover"===(null==i?void 0:i.type)||r.hovered,focused:"focus"===(null==i?void 0:i.type)||r.focused,_openEventType:null==i?void 0:i.type};return r.setAnchorElUsed||(null!=i&&i.currentTarget?d.anchorEl=null==i?void 0:i.currentTarget:n&&(d.anchorEl=n)),d};l((e=>e._deferNextOpen?(setTimeout((()=>l(d)),0),{...e,_deferNextOpen:!1}):d(e)))})),u=t=>{const{_childPopupState:o}=t;return setTimeout((()=>{null==o||o.close(),null==e||e._setChildPopupState(null)})),{...t,isOpen:!1,hovered:!1,focused:!1}},p=en((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?l((e=>e._deferNextClose?(setTimeout((()=>l(u)),0),{...e,_deferNextClose:!1}):u(e))):l((e=>({...e,_deferNextClose:!0})))})),m=ke(((e,t)=>{e?c(t):p(t)}),[]),h=en((e=>{const{relatedTarget:t}=e;l((e=>!e.hovered||t instanceof Element&&cn(t,x)?e:e.focused?{...e,hovered:!1}:u(e)))})),g=en((e=>{if(!e)return;const{relatedTarget:t}=e;l((e=>!e.focused||t instanceof Element&&cn(t,x)?e:e.hovered?{...e,focused:!1}:u(e)))})),f=ke((e=>l((t=>({...t,_childPopupState:e})))),[]),x={...r,setAnchorEl:s,popupId:t??void 0,variant:o,open:c,close:p,toggle:d,setOpen:m,onBlur:g,onMouseLeave:h,disableAutoFocus:i??Boolean(r.hovered||r.focused),_setChildPopupState:f};return x}function ln({isOpen:e,popupId:t,variant:o}){return{..."popover"===o?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===o?{"aria-describedby":e?t:void 0}:void 0}}function sn(e){return{...ln(e),onClick:e.open,onTouchStart:e.open}}function dn({isOpen:e,anchorEl:t,anchorPosition:o,close:i,popupId:n,onMouseLeave:r,disableAutoFocus:a,_openEventType:l}){return{id:n,anchorEl:t,anchorPosition:o,anchorReference:"contextmenu"===l?"anchorPosition":"anchorEl",open:e,onClose:i,onMouseLeave:r,...a&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function cn(e,t){const{anchorEl:o,_childPopupState:i}=t;return un(o,e)||un(function(e,{popupId:t}){if(!t)return null;const o="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof o.getElementById?o.getElementById(t):null}(e,t),e)||null!=i&&cn(e,i)}function un(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const pn=e=>({boxShadow:e.custom.elevation.raised}),mn=e=>({boxShadow:e.custom.elevation.overlay}),hn=(e,t)=>{switch(t){case"xs":return e.spacing(e.custom.radius.xs);case"sm":return e.spacing(e.custom.radius.sm);case"md":return e.spacing(e.custom.radius.md);case"lg":return e.spacing(e.custom.radius.lg);default:return e.spacing(e.custom.radius.xl)}},gn=(e,t)=>{switch(e){case"sunken":return t.custom.palette.surface.sunken;case"raised":return t.custom.palette.surface.raised;case"overlay":return t.custom.palette.surface.overlay;default:return t.custom.palette.surface.default}},fn=d(A)((({theme:e,variation:t="default",borderradius:o})=>({boxShadow:"unset",borderRadius:hn(e,o),background:gn(t,e),..."overlay"===t&&{...mn(e)},..."raised"===t&&{...pn(e)}}))),xn=({children:e,variation:o="overlay",sx:i,...n})=>t(fn,{variation:o,...n,sx:xe(i||{},{}),children:e}),bn=({children:o,description:i,title:n})=>t(xn,{variation:"raised",borderradius:"md",sx:{maxWidth:200},children:e(a,{sx:{gap:2,p:2},children:[e(a,{sx:{gap:1},children:[t(vo,{variation:"sm",component:"p",weight:"bold",children:n}),t(vo,{variation:"sm",component:"p",children:i})]}),o]})}),Cn=d(xn)((({notification:e,theme:t})=>({alignItems:"center",cursor:"pointer",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...e&&{"&:after":{background:t.custom.palette.red[500],borderRadius:t.custom.radius.round,content:'""',height:t.spacing(1),position:"absolute",right:t.spacing(.5),top:t.spacing(.5),width:t.spacing(1)}}}))),vn=({notification:e,onClick:o})=>t(Cn,{variation:"overlay",borderradius:"md",notification:e,onClick:o,children:t($t,{name:"notification"})}),wn=({children:o,description:i,title:n,variation:r})=>{if("sm"===r){const r=an({variant:"popper"});return t(H,{onClickAway:()=>r.close(),children:e(p,{sx:{position:"relative"},children:[t(p,{...sn(r),children:t(vn,{notification:!0})}),t(B,{...dn(r),placement:"right-end",transition:!0,children:({TransitionProps:e})=>t(V,{...e,timeout:350,children:t(p,{sx:{pl:1},children:t(bn,{description:i,title:n,children:o})})})})]})})}return t(bn,{description:i,title:n,children:o})},yn=Me(((e,o)=>{const{decimalSeparator:i,thousandSeparator:n,value:r,...a}=e,l=Ce.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),s=Ce.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return t(Ve,{...a,value:r??"",getInputRef:o,thousandSeparator:n??l,decimalSeparator:i??s})})),kn=({disabled:o=!1,InputProps:n,inputProps:r,placeholder:l,hideActionButtons:s=!1,max:d=1/0,min:c=-1/0,startAdornment:u,endAdornment:p,internalChange:m,numericFormatProps:h,onChange:g,step:x=1,value:b,...C})=>{const v=i(),[w,y]=ye(b),k=w,M=e=>{y(e),g&&g(e),m&&m()},L=()=>{const e=(null==k||Number.isNaN(k)?0:k)+x;e>d||M(e)},S=()=>{const e=(null==k||Number.isNaN(k)?0:k)-x;e<c||M(e)},F={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=c&&e<=d,max:d!==1/0?d:void 0,min:c!==-1/0?c:void 0,step:1!==x?x:void 0,onKeyDown:e=>{"ArrowUp"===e.key?L():"ArrowDown"===e.key&&S()},onValueChange:({floatValue:e})=>{e!==k&&M(e)},value:k,...h};return t(Xo,{placeholder:l,sx:{height:Mt,"& .MuiOutlinedInput-input":{minWidth:yt,pl:u?1:2,pr:u?1:2}},...C,value:k??"",disabled:o,InputProps:{...n,inputComponent:yn,startAdornment:u?t(f,{position:"start",sx:{pl:1},children:u}):null,endAdornment:!s&&e(a,{gap:v.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[p&&t(f,{position:"end",children:p}),e(a,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${v.custom.palette.stroke.default}`},children:[t(z,{onClick:()=>L(),sx:{flex:1,borderTopRightRadius:v.spacing(v.custom.radius.md),fontSize:12,"&:hover":{background:v.custom.palette.interaction.hover}},children:t(pe,{fontSize:"inherit"})}),t($,{}),t(z,{onClick:()=>S(),sx:{flex:1,borderBottomRightRadius:v.spacing(v.custom.radius.md),fontSize:12,"&:hover":{background:v.custom.palette.interaction.hover}},children:t(me,{fontSize:"inherit"})})]})]})},inputProps:{...r,...F}})};const Mn=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},Ln=(e,t,o)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===o?e.custom.palette.peach[1e3]:e.custom.palette.peach[800]};case"peachDark":return{background:e.custom.palette.peach[800],color:e.custom.palette.peach[0]};case"purple":return{background:e.custom.palette.purple[100],color:"heavy"===o?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===o?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},Sn=d(Z)((({theme:e,variation:t,weight:o})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...Ln(e,t,o),"& .MuiChip-label":{fontSize:`${Fo.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...Mn(0,o)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...Ln(e,t,o),...Mn(0,o)}}))),Fn=({body:e,maxWidth:o,...i})=>t(Sn,{label:e,sx:{...o&&{maxWidth:`${o}px`}},...i}),In=d("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),Rn=e=>{const[o,i]=ye(null),n=o?.contentWindow?.document?.body,r=ze({key:"css",container:o?.contentWindow?.document?.head,prepend:!0});return t(In,{ref:i,children:n&&Ze(t($e,{value:r,children:e.children}),n)})},An=()=>e(a,{gap:.5,flexDirection:"row",children:[t(n,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{d:"M2.09034 4.64868H4.09536C5.65956 4.64868 6.41322 4.00878 6.41322 2.84274C6.41322 1.69092 5.65956 1.05102 4.09536 1.05102H2.09034V4.64868ZM2.09034 5.6583V9H0.86742V0.0413991H4.1238C6.34212 0.0413991 7.6077 1.09368 7.6077 2.84274C7.6077 4.60602 6.34212 5.6583 4.1238 5.6583H2.09034ZM9.27266 5.90004C9.27266 7.27938 9.96944 8.26056 11.2208 8.26056C12.4864 8.26056 13.1974 7.27938 13.1974 5.90004C13.1974 4.50648 12.4864 3.53952 11.2208 3.53952C9.96944 3.53952 9.27266 4.50648 9.27266 5.90004ZM14.4061 5.90004C14.4061 7.83396 13.0552 9.17064 11.2208 9.17064C9.40064 9.17064 8.06396 7.83396 8.06396 5.90004C8.06396 3.96612 9.40064 2.61522 11.2208 2.61522C13.0552 2.61522 14.4061 3.96612 14.4061 5.90004ZM19.9082 2.78586L21.2449 7.49268H21.3018L22.738 2.78586H23.8329L21.8564 9H20.7188L19.3963 4.36428H19.3394L18.0312 9H16.8936L14.9028 2.78586H16.083L17.5477 7.49268H17.6046L18.9128 2.78586H19.9082ZM29.4445 6.78168L30.4257 6.89544C30.1271 8.31744 29.0748 9.17064 27.5248 9.17064C25.6762 9.17064 24.3253 7.91928 24.3253 5.98536C24.3253 4.023 25.6762 2.61522 27.4679 2.61522C29.4445 2.61522 30.4541 4.023 30.4541 5.71518V6.17022H25.5056C25.5624 7.40736 26.4299 8.24634 27.539 8.24634C28.5771 8.24634 29.2028 7.74864 29.4445 6.78168ZM25.534 5.445H29.2454C29.217 4.43538 28.634 3.51108 27.4679 3.51108C26.3445 3.51108 25.662 4.40694 25.534 5.445ZM35.5059 2.89962L35.3921 3.96612C35.0509 3.78126 34.8091 3.71016 34.4252 3.71016C33.5293 3.71016 32.861 4.5207 32.861 5.71518V9H31.6807V2.78586H32.861V4.05144C33.0885 3.34044 33.7284 2.61522 34.6243 2.61522C35.0082 2.61522 35.2926 2.71476 35.5059 2.89962ZM40.9288 6.78168L41.91 6.89544C41.6114 8.31744 40.5591 9.17064 39.0091 9.17064C37.1605 9.17064 35.8096 7.91928 35.8096 5.98536C35.8096 4.023 37.1605 2.61522 38.9522 2.61522C40.9288 2.61522 41.9384 4.023 41.9384 5.71518V6.17022H36.9899C37.0468 7.40736 37.9142 8.24634 39.0233 8.24634C40.0614 8.24634 40.6871 7.74864 40.9288 6.78168ZM37.0183 5.445H40.7297C40.7013 4.43538 40.1183 3.51108 38.9522 3.51108C37.8289 3.51108 37.1463 4.40694 37.0183 5.445ZM47.8993 6.07068V5.71518C47.8993 4.36428 47.0461 3.56796 45.9227 3.56796C44.6998 3.56796 44.0172 4.47804 44.0172 5.90004C44.0172 7.32204 44.6998 8.23212 45.9227 8.23212C47.0461 8.23212 47.8993 7.4358 47.8993 6.07068ZM47.8851 9V7.70598C47.6007 8.47386 46.8186 9.17064 45.6525 9.17064C43.8039 9.17064 42.8085 7.73442 42.8085 5.90004C42.8085 4.06566 43.8039 2.61522 45.6525 2.61522C46.8186 2.61522 47.6007 3.32622 47.8851 4.0941V0.0413991H49.0653V9H47.8851ZM54.3847 5.71518V6.07068C54.3847 7.4358 55.2521 8.23212 56.3755 8.23212C57.5984 8.23212 58.2668 7.32204 58.2668 5.90004C58.2668 4.47804 57.5984 3.56796 56.3755 3.56796C55.2521 3.56796 54.3847 4.36428 54.3847 5.71518ZM54.3847 7.70598L54.1288 9H53.2329V0.0413991H54.4132V4.0941C54.6833 3.32622 55.4797 2.61522 56.6457 2.61522C58.4801 2.61522 59.4897 4.06566 59.4897 5.90004C59.4897 7.73442 58.4801 9.17064 56.6315 9.17064C55.4797 9.17064 54.6691 8.48808 54.3847 7.70598ZM62.6822 11.389H61.5304L62.54 8.98578L59.9235 2.78586H61.1607L63.1372 7.56378H63.1941L65.0996 2.78586H66.2656L62.6822 11.389Z",fill:"#473F5C"})}),e(n,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:t("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M4.3189 9.56522C3.67851 9.11556 3.54429 8.98169 3.54429 7.99199V0H0V0.149886L0.00580287 0.153463C0.656931 0.554852 0.953183 0.737477 0.953183 1.72311V7.99199C0.953183 8.98169 0.818964 9.11556 0.17858 9.56522V9.7151H4.3189V9.56522ZM4.51113 6.71053C4.91378 9.01144 6.99646 10.1934 9.18264 9.80664C11.3677 9.41876 12.9226 7.58467 12.5199 5.28947C12.1173 2.99428 10.0346 1.80549 7.84841 2.19336C5.66223 2.58124 4.10847 4.40961 4.51113 6.71053ZM7.2103 6.23112C6.8247 4.01831 6.98053 3.01716 7.96215 2.84325C8.94377 2.66819 9.43515 3.55263 9.82074 5.76545C10.2063 7.97826 10.0516 8.97483 9.06889 9.15332C8.08613 9.33181 7.59589 8.44394 7.2103 6.23112ZM17.7306 9.80664C15.5455 10.1934 13.4629 9.01144 13.0591 6.71053C12.6553 4.40961 14.2102 2.58124 16.3963 2.19336C18.5825 1.80549 20.6641 2.99428 21.0678 5.28947C21.4716 7.58467 19.9156 9.41876 17.7306 9.80664ZM16.5101 2.84325C15.5273 3.01716 15.3726 4.01831 15.7582 6.23112C16.1438 8.44394 16.6341 9.33181 17.6168 9.15675C18.5996 8.98169 18.7543 7.98169 18.3687 5.76888C17.9831 3.55606 17.4928 2.66819 16.5101 2.84325ZM25.5683 11.8168C24.8234 11.3931 24.5553 11.2406 24.5553 10.2769L24.5575 8.4794C24.9443 9.25858 25.7189 9.873 26.9997 9.873C28.9356 9.873 30.47 8.40046 30.47 5.86842C30.47 3.29176 28.9743 2.13844 27.2681 2.13844C25.8679 2.13844 24.8988 2.93249 24.5575 4.02631L24.4973 2.28833H21.0724V2.43135L21.0731 2.43181C21.713 2.85024 21.9653 3.01524 21.9653 4.00458V10.2769C21.9653 11.2654 21.8322 11.4005 21.1907 11.8501V12H25.6267V11.8501L25.5683 11.8168ZM26.1784 8.9611C25.2696 8.9611 24.5553 7.92792 24.5553 6.72998V5.66247C24.5553 4.32952 25.1957 3.32494 26.1784 3.32494C27.2055 3.32494 27.7117 4.27002 27.7117 5.87185C27.7117 7.98741 27.1907 8.9611 26.1784 8.9611ZM38.6585 9.84325C39.1403 9.84325 39.5309 9.45034 39.5309 8.96567C39.5309 8.481 39.1403 8.0881 38.6585 8.0881C38.1767 8.0881 37.7861 8.481 37.7861 8.96567C37.7861 9.45034 38.1767 9.84325 38.6585 9.84325ZM34.6585 4.64621C33.661 4.35019 33.0998 4.18365 33.0998 3.5881C33.0998 3.08924 33.5548 2.86842 34.0552 2.86842C35.0244 2.86842 35.783 3.42334 36.6623 4.71167H36.8704V2.13501H36.7214L36.0515 2.62929C36.0223 2.61721 35.9931 2.6051 35.9639 2.59299C35.4126 2.36413 34.8607 2.13501 34.0257 2.13501C32.4321 2.13501 31.1661 3.12357 31.1661 4.59153C31.1661 5.90961 31.7929 6.65904 34.0416 7.24371C34.8765 7.45309 35.4566 7.60297 35.4566 8.24714C35.4566 8.84668 34.8765 9.13043 34.1758 9.13043C33.0998 9.13043 32.3138 8.39702 31.2799 7.00343H31.0524L31.2094 9.85011H31.3731L31.968 9.25057C32.4446 9.49085 33.1897 9.86499 34.1872 9.86499C36.0936 9.86499 37.4198 8.80091 37.4198 7.3032C37.4198 5.75973 36.4985 5.19107 34.6786 4.65217L34.6585 4.64621Z",fill:"#473F5C"})}),t("defs",{children:t("clipPath",{id:"clip0_900_1816",children:t("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),Hn=({options:i,onChange:n,other:r,value:a,internalChange:l,...s})=>{const d=r?.enabled,c="other-option",u=`${c}-value-`,[m,h]=ye(a),[g,f]=ye(!1);we((()=>{!g&&m?.includes(u)?f(!0):g&&f(!1)}),[m]);return e(o,{children:[e(y,{...s,value:m,sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiRadio-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},onChange:(e,t)=>{n&&n(t),h(t),l&&l()},children:[i?i.map(((e,o)=>t(_o,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:t(di,{})},o))):null,d&&t(_o,{label:r?.label||"Other",value:u,control:t(di,{checked:m?.includes(u)})},c)]}),g&&t(p,{sx:{mt:1},children:t(Qo,{fullWidth:!0,autoFocus:!0,placeholder:r?.placeholder,defaultValue:m?.replace(u,""),onChange:e=>{var t;n&&n((t=e.target.value,`${u}${t}`)),l&&l()},required:!0})})]})},Bn=({handleSelectAll:o,isIndeterminate:n,isAllSelected:r,sizing:l})=>{const[s,d]=ye(!1),c=i();return we((()=>{r&&d(r)}),[r]),e(a,{direction:"row",gap:c.spacing(c.custom.padding.sm),onClick:e=>{const t=!s;d(t),o(e,t)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[t(E,{sx:{cursor:"pointer",fontSize:()=>l&&Ro[l]},children:"Select all"}),t(Uo,{sizing:"default",indeterminate:n,checked:s})]})},Vn=Me((({children:o,handleSelectAll:i,showSelectAll:n,value:r=[],selections:a,sizing:l,...s},d)=>{const c=Array.isArray(r)&&r.length===a.length,u=Array.isArray(r)&&r.length>0&&r.length<a.length;return e("ul",{ref:d,...s,children:[n&&t(Bn,{handleSelectAll:i,isIndeterminate:u,isAllSelected:c,sizing:l}),o]})})),zn="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",$n=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},Zn=(e,t)=>({"& .MuiTypography-root":{height:$n(t),fontSize:Ro[t],display:"flex",alignItems:"center",paddingLeft:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm),paddingRight:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm)}}),En=e=>({fontSize:`${Fo.sm.body.md}`,borderRadius:e.spacing(e.custom.radius.md),position:"relative",padding:e.spacing(e.custom.padding.sm),"& .MuiSelect-outlined":{padding:0},"& .MuiSelect-select.MuiInputBase-input":{paddingRight:e.spacing(It.md)},"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",background:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.md),inset:0,zIndex:0},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-focused:before":{backgroundColor:e.custom.palette.interaction.press},"&.Mui-disabled:before":{backgroundColor:e.custom.palette.interaction.none},"& .MuiSelect-select":{position:"relative"}}),Tn=(e,t)=>{switch(t){case"lg":return{height:$n(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:zt.lg,height:zt.lg,top:`calc(50% - ${zt.lg/2}px)`}};case"md":return{height:$n(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:zt.md,height:zt.md,top:`calc(50% - ${zt.md/2}px)`}};case"xs":return{height:$n(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:zt.xs,height:zt.xs,top:`calc(50% - ${zt.xs/2}px)`}};default:return{height:$n("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:zt.lg,height:zt.lg,top:`calc(50% - ${zt.lg/2}px)`}}}},On=e=>({position:"relative",fontSize:`${Fo.sm.body.md}`,backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.text.primary,"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root":{position:"relative",zIndex:2,width:"100%","& .MuiSvgIcon-root":{marginRight:e.spacing(e.custom.margin.sm),width:zt.xl,height:zt.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),Pn=e=>({"&.MuiModal-root.MuiPopover-root":{"&.MuiMenu-root":{borderRadius:e.spacing(e.custom.radius.sm),"& .MuiPaper-root":{border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:zn}}}}),Dn=d(T)((({theme:e,sizing:t,value:o})=>({maxWidth:"100%",backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.md),border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiSvgIcon-root":{...t&&{width:zt[t],height:zt[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*St+"px":3*St+"px"},paddingTop:0,paddingBottom:0,paddingLeft:o&&Array.isArray(o)&&o.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:Ro[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*St+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*St+"px":3*St+"px"},margin:0,"& .MuiSvgIcon-root":{height:"12px",width:"12px"}},"&.Mui-disabled":{backgroundColor:`${e.custom.palette.input.disabled}`,borderColor:`${e.custom.palette.stroke.disabled}`},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"& .MuiChip-root .MuiChip-label":{height:20,lineHeight:"20px",maxWidth:140,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`}}}))),Wn=d(Z)((({theme:e,sizing:t})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.default,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`},"& .MuiChip-deleteIcon":{fill:e.custom.palette.icon.primary,borderRadius:e.custom.radius.round,margin:0,"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,fill:e.custom.palette.icon.disabled}}}))),jn=d(g)((({theme:e,sizing:t})=>({"& .MuiOutlinedInput-root":{padding:0,...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)}},"& .MuiInputBase-input":{padding:"0 14px"},"& .MuiOutlinedInput-notchedOutline":{border:"none"}}))),Nn=d(B)((({theme:e,sizing:t})=>({"& .MuiPaper-root":{...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===t?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===t?e.spacing(e.custom.margin.sm):e.spacing(e.custom.margin.xs)} + ${e.spacing(e.custom.margin.xs)})`},border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:zn,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${O.listbox}`]:{overflowX:"hidden",[`& .${O.option}`]:{fontSize:Ro[t],...t&&{height:"lg"===t?5*St+"px":4*St+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),_n=e=>t(Nn,{...e}),Gn=({selections:o,disableClearable:i=!1,disabled:n,internalChange:r,multiple:a=!0,onChange:l,placeholder:s="",renderListItem:d,sizing:c="lg",value:u=(a?[]:"")})=>{const[p,m]=ye(o.filter((e=>u.includes(e?.value)))),h=(e,t)=>{if(l){const i=t?o.map((({value:e})=>e)):[];m(t?o:[]),l(e,i,"selectOption"),r&&r()}},g=e=>null!==e&&(!Array.isArray(e)||e.length>0);return t(Dn,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:t(he,{}),sizing:c,disabled:n,disableClearable:i,autoComplete:!0,multiple:a,renderInput:e=>t(jn,{...e,placeholder:g(p)?void 0:s,sizing:c}),options:o,renderTags:(e,o)=>e.map(((e,i)=>{const{key:n,...r}=o({index:i});return t(Wn,{sizing:c,deleteIcon:t(ge,{fontSize:"small"}),label:e.label,...r},n)})),onChange:(e,t,o)=>{const i=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;m(t),l?.(e,i,o),r?.()},PopperComponent:e=>t(_n,{...e,sizing:c}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(o,i,{selected:n})=>{const{key:r,...a}=o;return e("li",{...a,children:[t("span",{children:d?d(i.value,i.label):i.label}),t(se,{sx:{visibility:n?"visible":"hidden",fontSize:"16px"}})]},r)},ListboxComponent:Me(((e,i)=>t(Vn,{ref:i,...e,showSelectAll:a,handleSelectAll:h,value:p,selections:o,sizing:c}))),value:p})},Un=d(L)((({theme:e})=>({...{...On(e)},"&.Mui-focusVisible":{backgroundColor:e.custom.palette.interaction.none},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{backgroundColor:e.custom.palette.input.default}},"&.MuiButtonBase-root.MuiMenuItem-root.Mui-disabled":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.disabled,"&:before":{backgroundColor:e.custom.palette.interaction.disabled}},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:before":{backgroundColor:e.custom.palette.interaction.hover}}},"&:active":{"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),qn=({children:o,selected:i,...n})=>t(Un,{...n,children:e(p,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[t(p,{children:o}),i&&t(se,{})]})}),Xn=d(P)((({theme:e,sizing:t})=>({...{...En(e)},...t&&{...Tn(e,t)},...t&&{...Zn(e,t)},backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiOutlinedInput-notchedOutline":{border:e.custom.palette.stroke.default},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.custom.palette.stroke.default}},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& .MuiSvgIcon-root":{color:e.custom.palette.icon.disabled,transition:e.custom.easing.input}}}))),Qn=({selections:o,autoComplete:n=!1,disabled:r=!1,disablePortal:a=!1,inputRef:l,internalChange:s,multi:d=!0,onChange:c,placeholder:u="",selectOptionProps:p,sizing:m="lg",sx:h,value:g=[],renderListItem:f,...x})=>{const b=i(),C=xi();return n?t(Gn,{selections:o,placeholder:u,disabled:r,sizing:m,onChange:(e,t)=>{c&&c(t||""),s&&s()},value:Array.isArray(g)?g??[]:g??"",internalChange:s,renderListItem:f,multiple:d}):e(Xn,{sizing:m,inputRef:l,MenuProps:{disablePortal:a,sx:Pn,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:he,renderValue:e=>t(vo,u&&!e?{component:"p",variation:"sm"===C||"md"===C?"sm":"lg",sx:{color:b.custom.palette.text.placeholder},children:u}:{component:"p",variation:"sm"===C||"md"===C?"sm":"lg",children:o?.find((({value:t})=>t===e))?.label}),onChange:(e,t)=>{c&&c(e,t),s&&s()},sx:h,value:g,...x,children:[""!==u.trim()&&t(qn,{disabled:!0,value:"","aria-label":"placeholder",children:u},"placeholder"),o?.map((({value:e,label:o})=>t(qn,{value:e,...p,children:f?f(e,o):o},e)))]})},Yn=d(p)((({theme:e,disabled:t,fullWidth:o})=>({width:o?"100%":"auto",minWidth:240,backgroundColor:t?e.custom.palette.input.disabled:e.custom.palette.surface.raised,border:`1px solid ${t?e.custom.palette.stroke.disabled:e.custom.palette.stroke.default}`,borderRadius:e.spacing(e.custom.radius.lg),padding:e.spacing(e.custom.padding.md),position:"relative",zIndex:0,"&:after":{content:'""',backgroundColor:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.lg),position:"absolute",inset:0},"&:hover":{"&:after":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{"&:after":{backgroundColor:e.custom.palette.interaction.press}},"& svg":{fill:e.custom.palette.icon.primary},...t&&{background:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"&:after":{backgroundColor:e.custom.palette.interaction.none},"& .MuiBox-root > .MuiSvgIcon-root":{fill:"none"}}}))),Kn=d(Zi)((({theme:e})=>({fontSize:Fo.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Jn=({label:o="Placeholder",disabled:n,onChange:r,options:l,fullWidth:s})=>{const d=i(),c=l.map((e=>e.label)).indexOf(o);return t(Yn,{disabled:n,fullWidth:s,children:e(a,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[e(p,{display:"flex",alignItems:"center",sx:{"& svg":{fill:d.custom.palette.icon.secondary}},children:[t(fe,{sx:{width:zt.lg,height:zt.lg,mr:d.custom.padding.sm}}),t(Kn,{align:"left",disabled:n,children:o})]}),t(Qn,{name:"rank",sizing:"xs",selections:l.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:n,value:`${c}`,onChange:function(e){const t=c,o=Number(e.target.value),i=l;let n=1;const a=i.splice(t,n)[0];n=0,i.splice(o,n,a),r(i)},MenuProps:{anchorOrigin:{vertical:kt,horizontal:"center"}}})]})})},er=Le({attributes:{},listeners:void 0,ref(){}}),tr=e=>Ue({...e,wasDragging:!0});function or({children:o,top:i,bottom:n,id:r}){const{attributes:l,isDragging:s,listeners:d,setNodeRef:c,setActivatorNodeRef:u,transform:m,transition:h}=Ge({id:r,animateLayoutChanges:tr}),g=Se((()=>({attributes:l,listeners:d,ref:u})),[l,d,u]),f={opacity:s?.4:void 0,transform:Je.Translate.toString(m),transition:h};return t(er.Provider,{value:g,children:e(a,{className:"SortableItem",...l,sx:{position:"relative",...f,width:"100%"},ref:c,children:[i&&i,t(p,{...d,sx:{display:"flex",cursor:"grab"},children:o}),n&&n]})})}const ir={sideEffects:Ee({styles:{active:{opacity:"0.4"}}})};function nr({children:e}){return Ze(t(Te,{zIndex:999999,dropAnimation:ir,children:e}),document.body)}const rr=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class ar extends Ne{static activators=[{eventName:"onMouseDown",handler:rr}]}class lr extends _e{static activators=[{eventName:"onTouchStart",handler:rr}]}function sr({items:o,onChange:n,renderItem:r,disabled:l,direction:s}){if(!o)return;const[d,c]=ye(null),u=Se((()=>o.find((e=>e?.id===d?.id))),[d,o]),p=i(),m=D(p.breakpoints.down("md")),h=Oe(Pe(ar,{activationConstraint:{distance:5}}),Pe(lr,{activationConstraint:{delay:m?300:0,tolerance:8}}),Pe(De,{coordinateGetter:qe}));return e(We,{measuring:{droppable:{strategy:je.Always}},sensors:h,onDragStart:({active:e})=>{c(e)},onDragEnd:({active:e,over:t})=>{if(t&&e.id!==t?.id){const i=o.findIndex((({id:t})=>t===e.id)),r=o.findIndex((({id:e})=>e===t.id));n(Xe(o,i,r))}c(null)},onDragCancel:()=>{c(null)},children:[t(Qe,{items:o,disabled:l,strategy:"horizontal"===s?Ye:Ke,children:t(a,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:o.map((e=>t(Ie,{children:r(e)},e.id)))})}),t(nr,{children:u?r(u,!0,!!d):null})]})}sr.Item=or,sr.DragHandle=function(){const{attributes:e,listeners:o,ref:i}=Fe(er);return t(p,{...e,...o,ref:i,children:t("svg",{viewBox:"0 0 20 20",width:"12",children:t("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})};const dr=({labelTop:o,labelBottom:n,disabled:r,fullWidth:l=!1,options:s,onChange:d,value:c,internalChange:u})=>{const p=i(),[m,h]=ye(c||s);function g(e){h(e),d(e.map((({id:e})=>e))),u&&u()}return e(a,{gap:p.custom.margin.sm,textAlign:"center",sx:{width:l?"100%":"auto"},children:[o&&t(Zi,{disabled:r,sx:{color:p.custom.palette.text.secondary},children:o}),t(sr,{onChange:function(e){h(e),d(e.map((({id:e})=>e))),u&&u()},items:m,direction:"vertical",renderItem:({...e})=>t(or,{id:e.id,children:t(Jn,{onChange:g,...e,options:m,disabled:r,selections:e.selections,fullWidth:l})})}),n&&t(Zi,{disabled:r,sx:{color:p.custom.palette.text.secondary},children:n})]})},cr=d(ot)((({theme:e})=>({"&.MuiTiptap-FieldContainer-root":{backgroundColor:e.custom.palette.input.default,"&:hover":{".MuiTiptap-FieldContainer-notchedOutline":{borderSize:1,backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default}}},"&.MuiTiptap-FieldContainer-focused":{".MuiTiptap-FieldContainer-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}!important`,boxShadow:e.custom.boxShadow.input.focus}},".MuiTiptap-RichTextField-menuBar":{padding:0,borderRadius:e.spacing(e.custom.radius.md),background:e.custom.palette.surface.default,margin:e.spacing(e.custom.margin.sm),border:`1px solid ${e.custom.palette.stroke.default}`,marginBottom:0,".MuiTiptap-RichTextField-content":{padding:e.spacing(e.custom.padding.xs)}}}))),ur=({onChange:o,value:n,internalChange:r,minWidth:l=100,minHeight:s=100,maxHeight:d,placeholder:c,autoFocus:u})=>{const p=ve(null),m=i();return t(cr,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:s,minWidth:l,maxHeight:d}},ref:p,onUpdate:({editor:e})=>{o&&o(e.storage.markdown.getMarkdown()),r&&r()},extensions:[tt.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),et.configure({placeholder:c}),rt],content:n,renderControls:()=>e(a,{gap:m.custom.margin.xs,direction:"row",children:[t(it,{}),t(nt,{})]})})},pr=e=>({"& .MuiSlider-thumb":{width:yt,height:yt,backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:Ct,height:Ct,backgroundColor:e.custom.palette.icon.primaryInverted}}}),mr=e=>Array.isArray(e),hr=(e,t)=>({height:vt,padding:`${vt}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${kt}px)`,left:`-${wt}px`,backgroundColor:e.custom.palette.icon.disabled,opacity:1},"& .MuiSlider-track":{position:"relative",border:"none",backgroundColor:e.custom.palette.purple[500],"&:before":{content:'""',position:"absolute",top:0,left:t&&mr(t)?`-${vt+1}px`:`-${wt+1}px`,width:`calc(100% + ${wt}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:Ct,width:Ct,borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),gr=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:Ct,minWidth:kt,"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${Fo.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),fr=d(W)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${kt}px)`,marginLeft:kt/2,...{...hr(e,t)},...{...pr(e)},...{...gr(e)},"&.Mui-disabled":{"& .MuiSlider-rail, & .MuiSlider-track":{backgroundColor:e.custom.palette.icon.secondary},"& .MuiSlider-rail":{backgroundColor:e.custom.palette.icon.disabled},"& .MuiSlider-thumb":{backgroundColor:e.custom.palette.icon.disabled,"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.icon.disabled}}},"& .MuiSlider-markLabel":{color:e.custom.palette.text.secondary,"&.MuiSlider-markLabelActive":{color:e.custom.palette.text.secondary}}}}))),xr=[1,2,5,10],br=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const o=(t-e)/9;if(o<=1)return 1;const i=Math.floor(Math.log10(o)),n=o/Math.pow(10,i);return r=n,(xr.find((e=>r<=e))??xr[xr.length-1])*Math.pow(10,i);var r},Cr=({labelLeft:o,labelMiddle:i,labelRight:n,labelRightProps:r,labelLeftProps:a,disabled:l,onChange:s,internalChange:d,max:c=5,min:u=1,step:m,value:h=u,...g})=>{const{sanitisedMin:f,sanitisedMax:x}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(u,c),b=((e,t,o)=>{const i=[];for(let n=e;n<=t;n+=o)i.push({value:n,label:n===e||n===t||n+o<=t?n.toString():void 0});return i[i.length-1].value!==t&&i.push({value:t,label:t.toString()}),i})(f,x,m??br(u,c));return e(p,{sx:{minWidth:300},children:[t(p,{height:24,children:t(fr,{valueLabelDisplay:l?"on":"auto",disabled:l,marks:b,step:m,max:x,min:f,onChangeCommitted:()=>{d&&d()},onChange:(e,t,o)=>{s&&s(e,t,o)},value:h,...g})}),e(p,{sx:{display:"flex",justifyContent:"space-between",pt:It.lg,gap:1},children:[o&&t(p,{sx:{flex:1},children:t(ri,{disabled:l,showicon:!1,...a,children:o})}),i&&t(p,{sx:{flex:1,textAlign:"center"},children:t(ri,{showicon:!1,disabled:l,children:i})}),n&&t(p,{sx:{flex:1,textAlign:"right"},children:t(ri,{...r,showicon:!1,disabled:l,children:n})})]})]})},vr=d(j)((({theme:e})=>({"&.MuiRating-root":{"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.secondary},"& .MuiRating-iconFilled":{color:e.custom.palette.yellow[600]},".MuiRating-iconHover":{fontSize:"inherit",transform:"none"},"&.Mui-disabled":{opacity:1,color:e.custom.palette.icon.disabled,"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.disabled},"& .MuiRating-iconFilled":{color:e.custom.palette.icon.disabled}}}}))),wr=({internalChange:e,onChange:o,...i})=>t(vr,{...i,onChange:(t,i)=>{o&&o(t,i),e&&e()},icon:t(n,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{d:"M24.114 35.395L32.414 40.415C33.934 41.335 35.794 39.975 35.394 38.255L33.194 28.815L40.534 22.455C41.874 21.295 41.154 19.095 39.394 18.955L29.734 18.135L25.954 9.21499C25.274 7.59499 22.954 7.59499 22.274 9.21499L18.494 18.115L8.83396 18.935C7.07396 19.075 6.35396 21.275 7.69396 22.435L15.034 28.795L12.834 38.235C12.434 39.955 14.294 41.315 15.814 40.395L24.114 35.395Z"})}),emptyIcon:t(n,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.1047 20.58L30.8559 27.7274L33.3274 38.3549L23.9992 32.713L14.6668 38.335L17.1388 27.7279L8.89132 20.5816L19.748 19.66L23.9966 9.63416L28.2463 19.6377L39.1047 20.58ZM12.7171 37.8892L14.9171 28.4492L7.57709 22.0892C6.23709 20.9292 6.95709 18.7292 8.71709 18.5892L18.3771 17.7692L22.1571 8.84916C22.8371 7.22916 25.1571 7.22916 25.8371 8.84916L29.6171 17.7492L39.2971 18.5892C41.0571 18.7292 41.7571 20.9292 40.4171 22.0892L33.0771 28.4492L35.2771 37.9092C35.6771 39.6292 33.8171 40.9892 32.2971 40.0692L23.9971 35.0492L15.6971 40.0492C14.1771 40.9692 12.3171 39.6092 12.7171 37.8892Z"})})}),yr=d((e=>t(N,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e})))((({theme:e})=>({width:36,height:20,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:e.custom.palette.green[500],opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.custom.palette.neutral[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:"light"===e.palette.mode?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:16,height:16,boxShadow:"none",filter:"drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1))"},"& .MuiSwitch-track":{borderRadius:10,backgroundColor:e.custom.palette.neutral[100],opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}))),kr=d(Xo)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:Mt,alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:zt.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),Mr=({startAdornment:e,endAdornment:o,onChange:i,internalChange:n,inputRef:r,...a})=>t(kr,{multiline:!0,inputRef:r,InputProps:{startAdornment:e?t(f,{position:"start",children:e}):null,endAdornment:o?t(f,{position:"start",children:o}):null},onChange:e=>{i&&i(e),n&&n()},...a}),Lr=({typographyProps:e,text:o,sx:n})=>{const r=i();return t(p,{sx:xe(n,{width:"100%",position:"relative",display:"flex",gap:4,my:r.spacing(r.custom.margin.md),"&:before":{content:'""',width:"100%",background:r.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:r.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:t(vo,{align:"center",variation:"sm",component:"p",...e,children:o})})},Sr=({buttons:o,message:n,status:r="neutral",variation:l="sm"})=>{const s=i();return t(a,{sx:{backgroundColor:s.custom.palette.surface.overlay,borderRadius:s.spacing(s.custom.radius.lg),boxShadow:s.custom.elevation.overlay,color:s.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:e(p,{sx:{display:"flex",flex:1,flexDirection:"sm"===l?"row":"column",gap:2},children:[e(p,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==r&&t(Fr,{status:r}),t(p,{sx:{display:"flex"},children:t(vo,{variation:"md",component:"p",sx:{px:1,pt:.5},children:n})})]}),o&&t(p,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:o})]})})},Fr=({status:e})=>{const o=i();switch(e){case"neutral":return null;case"success":return t(Ir,{backgroundColor:o.custom.palette.green[500],name:"check-circle"});case"warning":return t(Ir,{backgroundColor:o.custom.palette.yellow[500],name:"error-outline"});case"danger":return t(Ir,{backgroundColor:o.custom.palette.red[500],name:"warning-amber"});case"discover":return t(Ir,{backgroundColor:o.custom.palette.purple[500],name:"lightbulb"})}},Ir=({backgroundColor:e,name:o})=>{const n=i();return t(p,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:t(p,{sx:{backgroundColor:e,borderRadius:n.custom.radius.round,color:n.custom.palette.white,display:"flex",p:.5},children:t($t,{name:o,size:20})})})},Rr=d(u)((({active:e,theme:t})=>({maxWidth:"100%",padding:t.spacing(.5),textTransform:"none",width:"100%",...zo(t,e)}))),Ar=d(p)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Hr=d(a)({alignItems:"flex-start",display:"flex",justifyContent:"center"}),Br=d(a)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Vr=d(p)((({active:e,theme:t})=>({alignItems:"center",borderRadius:t.custom.radius.round,cursor:"pointer",display:"flex",justifyContent:"center",padding:t.spacing(.5),...zo(t,e)}))),zr=({active:o,avatar:n,email:r,name:a,variation:l})=>{const s=i();return"sm"===l?t(p,{sx:{display:"flex",justifyContent:"center"},children:t(Vr,{active:o,children:t(yo,{src:n,variation:"sm"})})}):t(Rr,{active:o,children:e(Ar,{sx:{flex:1},children:[e(Ar,{children:[t(yo,{src:n,variation:"sm"}),e(Hr,{children:[t(vo,{variation:"sm",component:"p",lineHeight:1.2,children:a}),t(vo,{variation:"xs",component:"p",sx:{color:s.custom.palette.text.secondary},lineHeight:1.2,children:r})]})]}),t(Br,{children:t($t,{name:"chevron-right",size:24})})]})})},$r=d(u)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.75,1.5),textTransform:"none",width:"100%",...zo(t,e)}))),Zr=d(p)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Er=d(a)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Tr=({active:o,danger:n,hasChildren:r,selected:a,title:l})=>{const s=i();return t($r,{active:o,children:e(Zr,{sx:{flex:1},children:[t(Zr,{children:t(vo,{variation:"md",component:"p",lineHeight:1.2,color:n?s.custom.palette.text.negative:s.custom.palette.text.primary,children:l})}),e(Er,{children:[r&&t($t,{name:"chevron-right",size:24}),a&&t($t,{name:"check-thin",size:24})]})]})})},Or=({button:o,children:i,state:n})=>t(H,{onClickAway:()=>n.close(),children:e(p,{children:[t(p,{...sn(n),children:o}),t(B,{...dn(n),placement:"right-end",transition:!0,children:({TransitionProps:e})=>t(V,{...e,timeout:350,children:t(p,{sx:{pl:1},children:i})})})]})}),Pr=({avatar:e,email:o,menuItems:i,name:n,variation:r})=>{const l=an({variant:"popper"});return t(Or,{state:l,button:t(zr,{active:l.isOpen,avatar:e,email:o,name:n,variation:r}),children:t(xn,{borderradius:"md",variation:"overlay",sx:{width:192},children:t(a,{sx:{p:1},children:i?.map(Dr)})})})},Dr=(e,o)=>{if(e.children?.length){const i=an({variant:"popper"});return t(Or,{state:i,button:t(Tr,{title:e.title,active:i.isOpen,hasChildren:!0,selected:e.selected}),children:t(xn,{borderradius:"md",variation:"overlay",sx:{width:192},children:t(a,{sx:{p:1},children:e.children.map(Dr)})})},o)}return t(Tr,{title:e.title,selected:e.selected})};const Wr=(e,t)=>{switch(e){case 1:return t.custom.palette.red[500];case 2:return t.custom.palette.yellow[500];case 3:case 4:return t.custom.palette.green[500];default:return t.custom.palette.icon.disabled}},jr=(e,t)=>{switch(e){case 1:return t.custom.palette.text.negative;case 2:return t.custom.palette.yellow[800];case 3:return t.custom.palette.green[800];case 4:return t.custom.palette.text.positive;default:return t.custom.palette.icon.disabled}},Nr=d(_)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${G.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:Wr(t,e)}}))),_r={translations:pt.translations,graphs:ut.adjacencyGraphs,dictionary:{...ut.dictionary,...pt.dictionary}};dt.setOptions(_r);const Gr=({label:o="Strength",width:n=60,value:r,onChange:l})=>{const[s,d]=ye(0),c=i();return we((()=>{d(ct(r).score)}),[r]),we((()=>{l(s)}),[s]),e(a,{direction:"row",gap:1,sx:{alignItems:"center"},children:[t(vo,{variation:"sm",component:"p",children:o}),t(Nr,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:n}}),t(vo,{variation:"sm",component:"p",sx:{color:jr(s,c)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},Ur=({helperText:e,inputName:o,errors:i,...n})=>{const r=Boolean(i&&i[o]);return r?t(mt,{errors:i,name:o,render:({message:e})=>t(ri,{showicon:!!e,state:"negative",children:e})}):e&&!r?t(ri,{state:"default",...n,children:e}):null},qr={textfield:Qo,numberfield:kn,textarea:Mr,select:Qn,checkbox:qo,checkboxGroup:Yo,slider:Cr,starRating:wr,differential:mi,likert:Ni,radioGroup:Hn,ranking:dr,richTextfield:ur,customfield:oi},Xr=({name:n,fieldType:r,label:l,control:s,errors:d,labelProps:c,helperText:u,helpTextProps:p,validation:m,content:h,styleOverrides:g,defaultValue:f,onChange:x,watch:b,trigger:C,strengthIndicator:v,...w})=>{const{custom:y}=i(),k=void 0!==d&&Object.keys(d).length>0,[M,L]=ye(0);return v&&we((()=>{M>0&&C(n)}),[M]),e(a,{sx:g?.sxInputStack,gap:y.margin.sm,children:[l&&t(Zi,{...c,children:l}),"html"===r&&h?t(Ci,{children:h}):e(o,{children:[t(at,{name:n,control:s,render:e=>function({field:{ref:e,...o}}){const i=qr[r];return null!==o.value?t(i,{...w,...o,inputRef:e}):t("div",{})}({...e,field:{...e.field,value:e.field.value||f}}),rules:{...m,validate:e=>{if(m&&"phone"in m)return st(`+${b("extension")}${e}`)||m.phone.message;if(m&&"score"in m)return M<=m.score.value?m.score.message:void 0;if(m&&"white_space"in m)return!e.match(/^\s*$/g)||m.white_space.message;if(m&&"match"in m)switch(m.match?.comparison){case"not_eq":return e!=b(m.match.field)||m.match.message;case"gt":return e>b(m.match.field)||m.match.message;case"lt":return e<b(m.match.field)||m.match.message;default:return e===b(m.match.field)||m.match.message}}}}),v&&"password"===w?.type&&t(Gr,{value:b(n),onChange:L})]}),e(o,{children:[Boolean(k)?t(Ur,{helperText:void 0,inputName:n,errors:d,showicon:!0}):null,Boolean(u)?t(Ur,{helperText:u,inputName:n,errors:void 0,...p}):null]})]})},Qr=e=>e.reduce(((e,t)=>({...e,[t?.name]:Yr(t,t?.defaultValue)})),{}),Yr=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:o}=e;return Array.isArray(t)?t:t||o}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":return t||!1;case"ranking":{const{options:o}=e;return t?t.map((e=>o.find((({id:t})=>t===e)))):o}}},Kr=Me((({submitButton:o,secondaryButton:n,onFormSubmit:r,onFormChange:l,formConfig:s},d)=>{const{custom:c}=i(),{fields:u,reValidateMode:m,styleOverrides:h,autoComplete:g,formId:f,mode:x}=s,{reset:b,getValues:C,trigger:v,setValue:w,control:y,formState:{isValid:k,errors:M},setFocus:L,handleSubmit:S,watch:F}=lt({mode:x||"onChange",reValidateMode:m,defaultValues:Se((()=>Qr(u)),[]),shouldUnregister:!0});we((()=>{(function(e,t){const o=new Set(e),i=new Set(t);return e.every((e=>i.has(e)))&&t.every((e=>o.has(e)))})(u.map((({name:e})=>e)),Object.keys(C()))||u.forEach((e=>{"html"!==e.fieldType&&e.defaultValue&&w(e.name,Yr(e,e.defaultValue))}))}),[u]),we((()=>{b(Qr(u))}),[f]),Re(d,(()=>({set(e,t){w(e,t)},resetForm(){b()},focus(e){L(e)},submit(){r&&S(r)()},values:()=>C(),valid:()=>k,errors:()=>M,async triggerFormValidation(){await v()}})));const I=()=>{l&&l(C())};return e(p,{component:"form",autoComplete:g,noValidate:!0,sx:h?.sxForm,...r&&{onSubmit:S(r)},children:[t(a,{gap:c.margin.md,sx:h?.sxStack,children:u.map((({name:e,...t})=>Ae(Xr,{...l&&{internalChange:I},name:e,key:e,errors:M,control:y,watch:F,trigger:v,...t,defaultValue:Qr(u)[e]})))}),(n||o)&&e(a,{direction:"row",sx:h?.sxButtons||{mt:c.margin.lg,gap:c.margin.sm,justifyContent:"flex-end"},children:[n&&n,o&&o]})]})})),Jr={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},ea=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},ta=(e,t,o)=>({maxLength:{value:o||255,message:`Maximum character limit of ${o||255}.`},...t&&{required:e?`Please enter ${ea(e)} ${e}`:"This field is required"}}),oa=ta().maxLength.value,ia=e=>({minLength:{value:e||8,message:`Password must have at least ${e||8} characters`},equal:{value:"password",message:"You cannot choose 'password' as your password"}}),na=({children:o,headContent:n,sx:r,...a})=>{const l=i();return e(xn,{...a,sx:xe(r,{mx:[l.spacing(l.custom.margin.md),0],width:1,maxWidth:[512]}),children:[n&&t(p,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:l.spacing(l.custom.margin.md),px:l.spacing(l.custom.margin.md)},children:n}),t(p,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:n?[l.spacing(l.custom.margin.md)]:[l.spacing(l.custom.padding.lg),l.spacing(l.custom.padding.xl)],px:[l.spacing(l.custom.padding.lg),l.spacing(l.custom.padding.xl)],pb:[l.spacing(l.custom.padding.lg),l.spacing(l.custom.padding.xl)]},children:o})]})},ra=({body:o,currency:n,changeCurrencyEvent:r=()=>{},frequency:l,heading:s,setCurrency:d=()=>{},setFrequency:c=()=>{},togglePayAnnuallyEvent:u=()=>{}})=>{const m=i(),h=xi(),g=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return e(p,{sx:{alignItems:"center",backgroundColor:m.custom.palette.surface.default,borderRadius:m.custom.radius.round,boxShadow:m.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:4},py:{sm:1,lg:2}},children:[e(p,{sx:{alignItems:"center",display:"flex",gap:1},children:[t(yr,{defaultChecked:!0,onChange:()=>(u(),void c("monthly"===l?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==l,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"}}),e(a,{sx:{alignItems:"flex-start",display:"flex"},children:[t(vo,{variation:"sm"===h||"md"===h?"md":"xxl",component:"p",children:s}),t(vo,{variation:"sm",component:"p",sx:{color:m.custom.palette.text.secondary},children:o})]})]}),t(Qn,{name:"currency",onChange:e=>{return t=e.target.value,r(t),void d(t);var t},selections:g,value:g.find((e=>e.value===n))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:kt,lg:Mt}}})]})};var aa={headings:{"01-starter":{heading:"Starter",pricing:"{{currencySymbol}} {{starterPrice}} / month"},"02-team":{heading:"Team",pricing:"{{currencySymbol}} {{teamPrice}} / month"},"03-plus":{heading:"Plus",pricing:"{{currencySymbol}} {{plusPrice}} / month"},"04-scale":{heading:"Scale",pricing:"{{currencySymbol}} {{scalePrice}} / month"}},rows:{"01-seats":{heading:"Seats",description:"The number of users you can have on your account.",starter:"1",team:"10",plus:"50",scale:"100+"},"02-servicing":{heading:"Client servicing included",description:"Get direct communication with a Loops Customer Success Manager.",starter:"{{dash}}",team:"{{dash}}",plus:"Serviced lite",scale:"💪\nFully serviced"},"03-respondents":{heading:"Price per respondent",description:"The amount you pay to recruit and survey each respondent.",starter:"{{currencySymbol}}{{starterRespondentPrice}}",team:"{{currencySymbol}}{{teamRespondentPrice}}",plus:"{{currencySymbol}}{{plusRespondentPrice}}",scale:"{{currencySymbol}}{{scaleRespondentPrice}}"},"04-questions":{heading:"Question limit",description:"The maximum number of questions you can add to a test.",starter:"10",team:"15",plus:"20",scale:"25"},"05-ai":{heading:"AI-powered insights",description:"Use Loops AI to summarise the findings from your tests.",starter:"Basic",team:"✨\nAdvanced",plus:"✨\nAdvanced",scale:"✨\nAdvanced"},"06-demographics":{heading:"Demographic filters",description:"Reach your target audience using built-in demographic filters.",starter:"Basic",team:"🎯\nAdvanced",plus:"🎯\nAdvanced",scale:"🎯\nAdvanced"},"07-training":{heading:"Training",description:"Our team will onboard you and get you set up.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"08-invite":{heading:"Invite your own respondents",description:"Share your test with your own recruited audience.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"09-email":{heading:"Email capture",description:"Ability to collect respondent email addresses.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"10-beta":{heading:"Beta features",description:"Assess to our latest features as they become available.",starter:"{{dash}}",team:"{{dash}}",plus:"{{tick}}",scale:"{{tick}}"},"11-sso":{heading:"Single sign on (SSO)",description:"Enterprise level authentication using SAML (supports Okta and OneLogin).",starter:"{{dash}}",team:"{{dash}}",plus:"{{dash}}",scale:"{{tick}}"},"12-minimum":{heading:"Minimum term",description:"The minimum subscription period.",starter:"30 days",team:"6 months",plus:"6 months",scale:"12 months"}}};const la=({currencySymbol:o,data:n,starterPrice:r,starterRespondentPrice:l,teamPrice:s,teamRespondentPrice:d,plusPrice:c,plusRespondentPrice:u,scalePrice:m,scaleRespondentPrice:h,variation:g="default"})=>{const f=i();n||(n=aa);const x=Object.values(n.headings).map((({heading:e,pricing:t})=>({heading:e,pricing:t.replace("{{currencySymbol}}",o).replace("{{starterPrice}}",r).replace("{{teamPrice}}",s).replace("{{plusPrice}}",c).replace("{{scalePrice}}",m)}))),b=e=>e.replace("{{currencySymbol}}",o).replace("{{starterRespondentPrice}}",l||"").replace("{{teamRespondentPrice}}",d||"").replace("{{plusRespondentPrice}}",u||"").replace("{{scaleRespondentPrice}}",h||""),C=[...Object.values(n.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:b(e.starter),team:b(e.team),plus:b(e.plus),scale:b(e.scale)})))];return e(a,{sx:{backgroundColor:f.custom.palette.surface.default,borderRadius:f.spacing(f.custom.radius.xl),boxShadow:f.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[e(p,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[t(p,{sx:{width:160}}),x.map((({heading:o,pricing:i})=>e(a,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[t(vo,{variation:"platform"===g?"lg":"xxl",component:"p",weight:"bold",children:o}),t(vo,{variation:"platform"===g?"sm":"md",component:"p",sx:{color:f.custom.palette.text.secondary},children:i})]},o)))]}),C.map((o=>e(p,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:f.custom.palette.surface.sunken}},children:[t(p,{sx:{display:"flex",alignItems:"center",width:160},children:e(p,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[o.name.description&&t(Ai,{message:o.name.description,children:t(p,{sx:{alignItems:"center",color:f.custom.palette.icon.secondary,display:"flex"},children:t($t,{name:"info",size:24})})}),t(vo,{variation:"platform"===g?"md":"lg",component:"p",children:o.name.heading})]})}),t(sa,{text:o.starter}),t(sa,{text:o.team}),t(sa,{text:o.plus}),t(sa,{text:o.scale})]},o.key)))]})},sa=({text:n})=>{const r=i(),a="{{tick}}"===n,l="{{dash}}"===n;return t(p,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:e(p,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[a&&t($t,{name:"check",size:24}),l&&t($t,{name:"dash",size:24}),!a&&!l&&t(vo,{variation:"lg",component:"p",sx:{color:r.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:t(o,{children:n})})]})})},da=()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[o,i]=ye(t);return we((()=>{if(e)return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o);function o(){He((()=>{i(t())}))}}),[]),o},ca=({amount:o,billingType:n,body:r,ctaEvent:l=()=>{},ctaLink:s="#",ctaTarget:d="_self",ctaText:c,ctaVariation:u="primary",currencySymbol:m,currentPlan:h,features:g=[],freeTrialLength:f,freeTrialText:x,frequency:b,heading:C,label:v,largestHeaderHeight:w=0,perMonth:y,setLargestHeaderHeight:k=()=>{},variation:M="default"})=>{const L=i(),S=xi(),{width:F}=da(),I=ve(null),[R,A]=ye("sm");return we((()=>{He((()=>{A(S),S!==R&&k(0),I.current&&I.current.offsetHeight>w&&k(I.current.offsetHeight)}))}),[S,R,F]),e(a,{sx:{display:"flex",flex:1,position:"relative"},children:[t(a,{sx:{alignItems:"center",backgroundColor:L.custom.palette.icon.primary,borderTopLeftRadius:L.spacing(L.custom.radius.lg),borderTopRightRadius:L.spacing(L.custom.radius.lg),boxShadow:L.custom.elevation.overlay,color:L.custom.palette.text.primaryInverted,justifyContent:"center",p:{sm:1,lg:2},textTransform:"uppercase",opacity:v?1:0,display:{sm:v?"flex":"none",md:"flex"}},children:t(vo,{variation:"md",component:"p",weight:"bold",sx:{color:L.custom.palette.white},children:v||" "})}),e(a,{sx:{backgroundColor:L.custom.palette.surface.default,borderBottomLeftRadius:L.spacing(L.custom.radius.lg),borderBottomRightRadius:L.spacing(L.custom.radius.lg),borderTopLeftRadius:v?0:L.spacing(L.custom.radius.lg),borderTopRightRadius:v?0:L.spacing(L.custom.radius.lg),boxShadow:L.custom.elevation.overlay,display:"flex",flex:1},children:[e(a,{sx:{display:"flex",gap:"sm"===S||"md"===S?1:2,textAlign:"center",minHeight:{sm:"none",md:w},px:2,py:{sm:2,lg:4}},ref:I,children:[t(vo,{variation:"sm"===S?"xxl":"platform"===M?"md":"lg",component:"h2",weight:"bold",children:C}),t(vo,{variation:"sm"===S?"md":"platform"===M?"md"===S?"sm":"md":"md"===S?"md":"lg",component:"p",sx:{color:L.custom.palette.text.secondary},children:r})]}),e(a,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===M?184:240,xl:"platform"===M?184:226},px:2,py:{sm:2,md:2,lg:"platform"===M?2:6}},children:[e(p,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[t(vo,{variation:"md"===S?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:m}),t(vo,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:o}),y&&t(vo,{variation:"sm",component:"p",sx:{color:L.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:y})]}),f&&x&&e(p,{sx:{alignItems:"center",backgroundColor:L.custom.palette.yellow[300],borderRadius:L.custom.radius.round,boxShadow:L.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[t($t,{name:"gift",size:24}),e(p,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[t(vo,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:f}),t(vo,{variation:"md",component:"p",sx:{lineHeight:1},children:x})]})]}),n&&t(vo,{variation:"sm",component:"p",sx:{color:L.custom.palette.text.placeholder},children:n})]}),e(a,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[t(p,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:t(Gi,{href:s,title:c,target:d,onClick:()=>{C&&l(C)},sx:{"&:hover":{cursor:h?"default":"pointer"}},children:t(No,{fullWidth:!0,variation:u,sizing:"lg",disabled:h,children:c})})}),g?.length&&t(a,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===M?4:6}},children:g.map(((o,i)=>e(p,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[t($t,{name:"positive",size:24}),t(vo,{variation:"md",component:"p",children:o})]},`${C}-feature-${i}`)))})]})]})]})},ua=({body:o,ctaEvent:n=()=>{},ctaLink:r="",ctaTarget:l="_blank",ctaText:s,currencySymbol:d,heading:c,postText:u,preText:m,amount:h})=>{const g=i();return e(p,{sx:{backgroundColor:g.custom.palette.purple[0],borderRadius:g.spacing(g.custom.radius.lg),display:"flex",flexDirection:{sm:"column",md:"row"},textAlign:{sm:"center",md:"left"},boxShadow:g.custom.elevation.overlay,flex:1,gap:{sm:4,md:2},p:{sm:2,lg:4}},children:[e(a,{sx:{flex:1,gap:2,justifyContent:"center"},children:[t(vo,{variation:"md",component:"h2",sx:{fontWeight:500},children:c}),t(vo,{variation:"md",component:"p",sx:{color:g.custom.palette.text.secondary},children:o})]}),e(a,{sx:{flex:1,gap:{sm:4,md:2},justifyContent:"center",maxWidth:{sm:"none",md:180,lg:320},p:{sm:0,md:2,lg:4}},children:[e(p,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[t(vo,{variation:"md",component:"p",sx:{color:g.custom.palette.text.placeholder,pr:.5},children:m}),e(p,{sx:{alignItems:"flex-end",display:"flex"},children:[t(vo,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:d}),t(vo,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:h})]}),t(vo,{variation:"md",component:"p",sx:{color:g.custom.palette.text.placeholder,pl:.1},children:u})]}),t(Gi,{href:r,title:s,target:l,onClick:()=>{c&&n(c)},children:t(No,{fullWidth:!0,variation:"outlined",sizing:"lg",children:s})})]})]})},pa=({heading:o,ticks:n})=>(i(),e(a,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[t(vo,{variation:"xl",component:"p",sx:{textAlign:"center"},children:o}),t(p,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:n.map(((i,n)=>e(p,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[t($t,{name:"positive",size:32}),t(vo,{variation:"xxl",component:"p",children:i})]},`tick-group-${o}-${n}`)))})]})),ma="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",ha=(e,t,o)=>U({direction:o,custom:{palette:{black:"#000000",white:"#ffffff",neutral:ro[e],neutralAlpha:"light"===e?eo:to,purple:lo[e],red:so[e],peach:co[e],yellow:uo[e],blue:po[e],green:mo[e],icon:ho[e].icon,interaction:ho[e].interaction,stroke:ho[e].stroke,surface:ho[e].surface,text:ho[e].text,input:ho[e].input},margin:Ft,padding:It,radius:Rt,elevation:At,elevationFilter:Ht,boxShadow:Bt,easing:Vt,typography:Fo[t]},palette:{mode:e,primary:{main:oo[500]}},spacing:St,shape:{borderRadius:St,hotspot:{default:12,active:24}},breakpoints:{values:xt},typography:{fontFamily:`"${xo.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:Io(t),styleOverrides:{root:{color:ho[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${ro[e][0]};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${fo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${fo.default.weight};\n src: url(${ma}${fo.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${fo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${fo.bold.weight};\n src: url(${ma}${fo.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${xo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${xo.default.weight};\n src: url(${ma}${xo.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${xo.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${xo.bold.weight};\n src: url(${ma}${xo.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${xt.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${xt.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:xo.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*St}px ${e.padding.md*St}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:e}})=>({border:`1px solid ${e.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}}}}),ga=Le(null),fa=()=>t(q,{styles:{"strong, b":{fontWeight:500}}}),xa=ze({key:"muirtl",stylisPlugins:[gt,ft]}),ba=ze({key:"mui"}),Ca=({mode:o="light",screenSize:i="lg",direction:n="ltr",children:r})=>{const a=((e="light",t="lg",o="ltr")=>{const{width:i}=da(),[n,r]=ye(e),[a,l]=ye(t),[s,d]=ye(!1),[c,u]=ye(ha(n,a,o)),[p,m]=ye(ha("light"===n?"dark":"light",a,o)),[h,g]=ye("");we((()=>{He((()=>{l(i&&i<xt.lg?"sm":"lg")}))}),[i]),we((()=>{He((()=>{u(ha(n,a,o)),m(ha("light"===n?"dark":"light",a,o))}))}),[n,a]);const f=D(c.breakpoints.only("sm"),{noSsr:!0}),x=D(c.breakpoints.only("md"),{noSsr:!0}),b=D(c.breakpoints.between("lg","xl"),{noSsr:!0}),C=D(c.breakpoints.up("xl"),{noSsr:!0});return we((()=>{He((()=>{f&&g("sm"),x&&g("md"),b&&g("lg"),C&&g("xl")}))}),[f,x,b,C]),{breakpoint:h,darkTheme:p,gridOverlayVisible:s,mode:n,theme:c,toggleGridOverlay:()=>{He((()=>{d((e=>!e))}))},toggleMode:e=>{He((()=>{if(e)return r(e);r((e=>"light"===e?"dark":"light"))}))}}})(o,i,n);return we((()=>{"rtl"===n&&(document.dir="rtl")}),[]),t(ga.Provider,{value:a,children:t($e,{value:"rtl"===n?xa:ba,children:e(ht,{theme:a.theme,children:[t(X,{}),t(fa,{}),r]})})})};export{ra as AnnualController,na as AuthContainerSurface,wo as AuthFormHeader,yo as Avatar,ko as AvatarGroup,No as Button,Yo as CheckBoxGroup,qo as Checkbox,ti as ColorBackgroundContainer,oi as CustomField,oa as DEFAULT_MAX_INPUT_LENGTH,mi as Differential,gi as DropdownMenu,_o as FormControlLabel,Kr as FormGenerator,bi as GridOverlay,Ci as Html,$t as Icon,Hi as IconButton,$i as IconButtonGroup,Zi as InputLabel,ri as InputLabelHelp,Ni as Likert,Gi as Link,Ui as Loader,qi as Logo,Ji as NavButton,wn as Nudge,kn as NumberField,Fn as Pill,la as PlanFeatureTable,ca as PlanTierCard,ua as PlanTierCardScale,Rn as Portal,An as PoweredByWatermarkLogo,Do as Progress,di as Radio,Hn as RadioGroup,dr as Rank,ur as RichTextField,Qn as Select,Cr as Slider,sr as SortableList,wr as StarRating,xn as Surface,yr as Switch,Mr as TextArea,Lr as TextBarDivider,Qo as TextField,Ca as ThemeProvider,pa as TickGroup,Sr as Toast,Ai as Tooltip,vo as Typography,Pr as UserMenu,ei as backgroundCreator,ea as chooseArticle,ta as defaultInputValidation,Jr as emailValidation,ia as passwordValidation,fi as useDropdownMenu};
|