@useloops/design-system 1.4.117 → 1.4.119

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 CHANGED
@@ -1,4 +1,4 @@
1
- import*as e from"react";import t,{forwardRef as r,useState as o,useEffect as n,createContext as i,useMemo as a,useContext as s,Fragment as l,useRef as c,useImperativeHandle as u,createElement as d,startTransition as p}from"react";import{useTheme as m,SvgIcon as f,Typography as h,Stack as g,Avatar as x,AvatarGroup as b,styled as y,CircularProgress as v,Button as C,Box as w,FormControlLabel as k,Checkbox as j,TextField as S,InputAdornment as M,FormGroup as O,alpha as $,Container as E,InputLabel as R,Radio as I,RadioGroup as T,Grid as F,Menu as L,MenuItem as A,IconButton as _,ButtonGroup as N,Link as P,ButtonBase as V,Divider as D,Chip as B,FormLabel as z,Autocomplete as H,Popper as W,autocompleteClasses as Z,Select as U,useMediaQuery as G,Slider as q,Rating as K,Paper as Y,Switch as X,Tooltip as J,LinearProgress as Q,linearProgressClasses as ee,createTheme as te,GlobalStyles as re,CssBaseline as oe}from"@mui/material";import{LockOutlined as ne,MenuRounded as ie,QueryBuilderRounded as ae,WarningAmberRounded as se,LightbulbOutlined as le,ErrorOutlineOutlined as ce,CheckCircleOutlineOutlined as ue,InfoOutlined as de,ExpandMore as pe,ArrowForward as me,Close as fe,PlayCircle as he,Check as ge,Remove as xe,Info as be,ErrorOutline as ye,ArrowDropUp as ve,ArrowDropDown as Ce,KeyboardArrowDown as we,CloseRounded as ke,DragHandle as je,FormatBold as Se,FormatItalic as Me}from"@mui/icons-material";import{mergeSx as Oe}from"merge-sx";import{ThemeContext as $e}from"@mui/styled-engine";import{NumericFormat as Ee}from"react-number-format";import{stringify as Re,rulesheet as Ie,middleware as Te,RULESET as Fe,combine as Le,match as Ae,serialize as _e,copy as Ne,replace as Pe,WEBKIT as Ve,MOZ as De,MS as Be,KEYFRAMES as ze,DECLARATION as He,compile as We,dealloc as Ze,alloc as Ue,hash as Ge,charat as qe,strlen as Ke,indexof as Ye,next as Xe,token as Je,from as Qe,peek as et,delimit as tt,slice as rt,position as ot,prefixer as nt}from"stylis";import{CacheProvider as it}from"@emotion/react";import{createPortal as at}from"react-dom";import{defaultDropAnimationSideEffects as st,DragOverlay as lt,useSensors as ct,useSensor as ut,KeyboardSensor as dt,DndContext as pt,MeasuringStrategy as mt,MouseSensor as ft,TouchSensor as ht}from"@dnd-kit/core";import{useSortable as gt,defaultAnimateLayoutChanges as xt,sortableKeyboardCoordinates as bt,arrayMove as yt,SortableContext as vt,horizontalListSortingStrategy as Ct,verticalListSortingStrategy as wt}from"@dnd-kit/sortable";import{CSS as kt}from"@dnd-kit/utilities";import{Placeholder as jt}from"@tiptap/extension-placeholder";import{StarterKit as St}from"@tiptap/starter-kit";import{RichTextEditor as Mt,MenuButtonBold as Ot,MenuButtonItalic as $t}from"mui-tiptap";import{Markdown as Et}from"tiptap-markdown";import{Controller as Rt,useForm as It}from"react-hook-form";import{isValidPhoneNumber as Tt}from"react-phone-number-input";import{zxcvbnOptions as Ft,zxcvbn as Lt}from"@zxcvbn-ts/core";import*as At from"@zxcvbn-ts/language-common";import*as _t from"@zxcvbn-ts/language-en";import{ErrorMessage as Nt}from"@hookform/error-message";import Pt from"stylis-plugin-rtl";function Vt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Dt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),r}var Bt,zt={exports:{}},Ht={};var Wt,Zt={};
1
+ import*as e from"react";import t,{forwardRef as r,useState as n,useEffect as o,createContext as i,useMemo as a,useContext as s,Fragment as l,useRef as c,useImperativeHandle as u,createElement as d,startTransition as p}from"react";import{useTheme as m,SvgIcon as f,Typography as h,Stack as g,Avatar as x,AvatarGroup as b,styled as y,CircularProgress as v,Button as C,Box as w,FormControlLabel as k,Checkbox as j,TextField as S,InputAdornment as M,FormGroup as O,alpha as $,Container as E,InputLabel as R,Radio as I,RadioGroup as T,Grid as F,Menu as L,MenuItem as A,IconButton as _,ButtonGroup as N,Link as P,ButtonBase as V,Divider as D,Chip as B,FormLabel as z,Autocomplete as H,Popper as W,autocompleteClasses as Z,Select as U,useMediaQuery as G,Slider as q,Rating as K,Paper as Y,Switch as X,Tooltip as J,LinearProgress as Q,linearProgressClasses as ee,createTheme as te,GlobalStyles as re,CssBaseline as ne}from"@mui/material";import{LockOutlined as oe,MenuRounded as ie,QueryBuilderRounded as ae,WarningAmberRounded as se,LightbulbOutlined as le,ErrorOutlineOutlined as ce,CheckCircleOutlineOutlined as ue,InfoOutlined as de,ExpandMore as pe,ArrowForward as me,Close as fe,PlayCircle as he,Check as ge,Remove as xe,Info as be,ErrorOutline as ye,ArrowDropUp as ve,ArrowDropDown as Ce,KeyboardArrowDown as we,CloseRounded as ke,DragHandle as je,FormatBold as Se,FormatItalic as Me}from"@mui/icons-material";import{mergeSx as Oe}from"merge-sx";import{ThemeContext as $e}from"@mui/styled-engine";import{NumericFormat as Ee}from"react-number-format";import{stringify as Re,rulesheet as Ie,middleware as Te,RULESET as Fe,combine as Le,match as Ae,serialize as _e,copy as Ne,replace as Pe,WEBKIT as Ve,MOZ as De,MS as Be,KEYFRAMES as ze,DECLARATION as He,compile as We,dealloc as Ze,alloc as Ue,hash as Ge,charat as qe,strlen as Ke,indexof as Ye,next as Xe,token as Je,from as Qe,peek as et,delimit as tt,slice as rt,position as nt,prefixer as ot}from"stylis";import{CacheProvider as it}from"@emotion/react";import{createPortal as at}from"react-dom";import{defaultDropAnimationSideEffects as st,DragOverlay as lt,useSensors as ct,useSensor as ut,KeyboardSensor as dt,DndContext as pt,MeasuringStrategy as mt,MouseSensor as ft,TouchSensor as ht}from"@dnd-kit/core";import{useSortable as gt,defaultAnimateLayoutChanges as xt,sortableKeyboardCoordinates as bt,arrayMove as yt,SortableContext as vt,horizontalListSortingStrategy as Ct,verticalListSortingStrategy as wt}from"@dnd-kit/sortable";import{CSS as kt}from"@dnd-kit/utilities";import{Placeholder as jt}from"@tiptap/extension-placeholder";import{StarterKit as St}from"@tiptap/starter-kit";import{RichTextEditor as Mt,MenuButtonBold as Ot,MenuButtonItalic as $t}from"mui-tiptap";import{Markdown as Et}from"tiptap-markdown";import{Controller as Rt,useForm as It}from"react-hook-form";import{isValidPhoneNumber as Tt}from"react-phone-number-input";import{zxcvbnOptions as Ft,zxcvbn as Lt}from"@zxcvbn-ts/core";import*as At from"@zxcvbn-ts/language-common";import*as _t from"@zxcvbn-ts/language-en";import{ErrorMessage as Nt}from"@hookform/error-message";import Pt from"stylis-plugin-rtl";function Vt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Dt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var Bt,zt={exports:{}},Ht={};var Wt,Zt={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.development.js
@@ -7,7 +7,7 @@ import*as e from"react";import t,{forwardRef as r,useState as o,useEffect as n,c
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */"production"===process.env.NODE_ENV?zt.exports=function(){if(Bt)return Ht;Bt=1;var e=t,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),n=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,o){var s,l={},c=null,u=null;for(s in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)n.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:r,type:e,key:c,ref:u,props:l,_owner:i.current}}return Ht.Fragment=o,Ht.jsx=s,Ht.jsxs=s,Ht}():zt.exports=(Wt||(Wt=1,"production"!==process.env.NODE_ENV&&function(){var e,r=t,o=Symbol.for("react.element"),n=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"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];!function(e,t,r){var o=x.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var n=r.map((function(e){return String(e)}));n.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,n)}("error",e,r)}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 n: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,r){var o=e.displayName;if(o)return o;var n=t.displayName||t.name||"";return""!==n?r+"("+n+")":r}(e,e.render,"ForwardRef");case m:var t=e.displayName||null;return null!==t?t:v(e.type)||"Memo";case f:var r=e,o=r._payload,h=r._init;try{return v(h(o))}catch(e){return null}}return null}e=Symbol.for("react.module.reference");var C,w,k,j,S,M,O,$=Object.assign,E=0;function R(){}R.__reactDisabledLog=!0;var I,T=x.ReactCurrentDispatcher;function F(e,t,r){if(void 0===I)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);I=o&&o[1]||""}return"\n"+I+e}var L,A=!1,_="function"==typeof WeakMap?WeakMap:Map;function N(e,t){if(!e||A)return"";var r,o=L.get(e);if(void 0!==o)return o;A=!0;var n,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,n=T.current,T.current=null,function(){if(0===E){C=console.log,w=console.info,k=console.warn,j=console.error,S=console.group,M=console.groupCollapsed,O=console.groupEnd;var e={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}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){r=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){r=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=r.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&&L.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{A=!1,T.current=n,function(){if(0==--E){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:C}),info:$({},e,{value:w}),warn:$({},e,{value:k}),error:$({},e,{value:j}),group:$({},e,{value:S}),groupCollapsed:$({},e,{value:M}),groupEnd:$({},e,{value:O})})}E<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?F(p):"";return"function"==typeof e&&L.set(e,m),m}function P(e,t,r){if(null==e)return"";if("function"==typeof e)return N(e,!(!(o=e.prototype)||!o.isReactComponent));var o;if("string"==typeof e)return F(e);switch(e){case d:return F("Suspense");case p:return F("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return N(e.render,!1);case m:return P(e.type,t,r);case f:var n=e,i=n._payload,a=n._init;try{return P(a(i),t,r)}catch(e){}}return""}L=new _;var V=Object.prototype.hasOwnProperty,D={},B=x.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,r=P(e.type,e._source,t?t.type:null);B.setExtraStackFrame(r)}else B.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function Z(e){return""+e}function U(e){if(function(e){try{return Z(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)),Z(e)}var G,q,K=x.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,r,n,i){var a,s={},l=null,c=null;for(a in void 0!==r&&(U(r),l=""+r),function(e){if(V.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(V.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&&K.current}(t)),t)V.call(t,a)&&!Y.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 r=function(){G||(G=!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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(s,d),c&&function(e,t){var r=function(){q||(q=!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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(s,d)}return function(e,t,r,n,i,a,s){var l={$$typeof:o,type:e,key:t,ref:r,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:n}),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,n,K.current,s)}var J,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,r=P(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(r)}else ee.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function oe(){if(Q.current){var e=v(Q.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var ne={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=oe();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!ne[r]){ne[r]=!0;var o="";e&&e._owner&&e._owner!==Q.current&&(o=" 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.',r,o),te(null)}}}function ae(e,t){if("object"==typeof e)if(W(e))for(var r=0;r<e.length;r++){var o=e[r];re(o)&&ie(o,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var n=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 n&&n!==e.entries)for(var i,a=n.call(e);!(i=a.next()).done;)re(i.value)&&ie(i.value,t)}}function se(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==u&&r.$$typeof!==m)return;t=r.propTypes}if(t){var o=v(r);!function(e,t,r,o,n){var i=Function.call.bind(V);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((o||"React class")+": "+r+" 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,o,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(z(n),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).",o||"React class",r,a,typeof s),z(null)),s instanceof Error&&!(s.message in D)&&(D[s.message]=!0,z(n),b("Failed %s type: %s",r,s.message),z(null))}}(t,e.props,"prop",o,e)}else void 0===r.PropTypes||J||(J=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v(r)||"Unknown"));"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(t,r,n,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===h||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===m||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!C){var w,k="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(k+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),k+=oe(),null===t?w="null":W(t)?w="array":void 0!==t&&t.$$typeof===o?(w="<"+(v(t.type)||"Unknown")+" />",k=" 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,k)}var j=X(t,r,n,x,y);if(null==j)return j;if(C){var S=r.children;if(void 0!==S)if(g)if(W(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(V.call(r,"key")){var O=v(t),$=Object.keys(r).filter((function(e){return"key"!==e})),E=$.length>0?"{key: someKey, "+$.join(": ..., ")+": ...}":"{key: someKey}";le[O+E]||(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} />',E,O,$.length>0?"{"+$.join(": ..., ")+": ...}":"{}",O),le[O+E]=!0)}return t===i?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var o=t[r];if("children"!==o&&"key"!==o){te(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),te(null);break}}null!==e.ref&&(te(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(j):se(j),j}var ue=function(e,t,r){return ce(e,t,r,!1)},de=function(e,t,r){return ce(e,t,r,!0)};Zt.Fragment=i,Zt.jsx=ue,Zt.jsxs=de}()),Zt);var Ut=zt.exports;const Gt={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},qt=0,Kt=4,Yt=8,Xt=16,Jt=24,Qt=32,er=40,tr=48,rr=Yt,or={none:qt,xs:Kt/rr,sm:Yt/rr,md:Xt/rr,lg:Qt/rr,xl:tr/rr,xxl:80/rr,xxxl:160/rr},nr={none:qt,xs:Kt/rr,sm:Yt/rr,md:Xt/rr,lg:Qt/rr,xl:tr/rr},ir={none:qt,xs:2/rr,sm:Kt/rr,md:Yt/rr,lg:Xt/rr,xl:Jt/rr,round:999},ar={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)"},sr={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))"},lr={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},cr={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},ur={xs:2*rr,sm:2*rr,md:2*rr,lg:2.5*rr,xl:3*rr},dr=({name:e,size:t,sx:r})=>{const o=m(),n=t||ur.xl,i=t||ur.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:Oe(r,{"&.MuiSvgIcon-root path":{fill:"light"===o.palette.mode?o.custom.palette.icon.primary:o.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:r,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:r,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:r,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:r,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:r,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:r,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:r,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:r,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:r,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(he,{style:{height:n,width:i},sx:r});case"close":return Ut.jsx(fe,{style:{height:n,width:i},sx:r});case"arrow-forward":return Ut.jsx(me,{style:{height:n,width:i},sx:r});case"expand-more":return Ut.jsx(pe,{style:{height:n,width:i},sx:r});case"info":return Ut.jsx(de,{style:{height:n,width:i},sx:r});case"check-circle":return Ut.jsx(ue,{style:{height:n,width:i},sx:r});case"error-outline":return Ut.jsx(ce,{style:{height:n,width:i},sx:r});case"lightbulb":return Ut.jsx(le,{style:{height:n,width:i},sx:r});case"warning-amber":return Ut.jsx(se,{style:{height:n,width:i},sx:r});case"access-time":return Ut.jsx(ae,{style:{height:n,width:i},sx:r});case"menu":return Ut.jsx(ie,{style:{height:n,width:i},sx:r});case"lock":return Ut.jsx(ne,{style:{height:n,width:i},sx:r});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"})]});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:r,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"})]})}},pr="#FFFFFF",mr="#F8F8F9",fr="#E8E7EB",hr="#D1CFD6",gr="#BAB7C2",xr="#A39FAD",br="#756F85",yr="#5E5770",vr="#190F33",Cr="#130B26",wr="#1C142F",kr="#2A223C",jr="#413A51",Sr="#585267",Mr="#6F697D",Or="#9D98A8",$r="#B4AFBE",Er="#F9F6FF",Rr={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},Ir={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},Tr={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},Fr={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},Lr={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},Ar={light:{0:pr,50:mr,100:fr,200:hr,300:gr,400:xr,500:"#8C8799",600:br,700:yr,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:vr,1100:"#0D081A"},dark:{0:Cr,50:wr,100:kr,200:jr,300:Sr,400:Mr,500:"#868092",600:Or,700:$r,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:Er,1100:"#FFFFFF"}},_r=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]}}),Nr=_r(Tr),Pr=_r(Fr),Vr=_r({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),Dr=_r({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),Br=_r({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),zr=_r(Lr),Hr={light:{surface:{sunken:mr,default:pr,raised:pr,overlay:pr,scrim:Rr[3],transparent:Rr[.01]},interaction:{none:Rr[0],hover:Rr[1],press:Rr[2],hoverOnDark:Rr[3],pressOnDark:Rr[4],disabled:Rr[2]},stroke:{default:hr,focus:Tr[500],disabled:fr},text:{primary:vr,secondary:br,placeholder:xr,disabled:gr,textLink:Tr[800],textLinkHover:Tr[900],primaryInverted:pr,secondaryInverted:xr,placeholderInverted:br,disabledInverted:yr,positive:Lr[800],negative:Fr[700],lockedWhite:pr},icon:{primary:vr,secondary:br,disabled:gr,primaryInverted:pr,secondaryInverted:xr,disabledInverted:yr,positive:Lr[800],negative:Fr[700],lockedWhite:pr},input:{default:pr,disabled:"#FFFFFF80"}},dark:{surface:{default:wr,sunken:Cr,raised:kr,overlay:jr,scrim:Ir[3],transparent:Ir[.01]},interaction:{none:Ir[0],hover:Ir[1],press:Ir[2],hoverOnDark:Ir[3],pressOnDark:Ir[4],disabled:Ir[2]},stroke:{default:jr,focus:Tr[500],disabled:kr},text:{primary:Er,secondary:$r,placeholder:Mr,disabled:Sr,textLink:Tr[100],textLinkHover:Tr[0],primaryInverted:Cr,secondaryInverted:Mr,placeholderInverted:Or,disabledInverted:$r,positive:Lr[300],negative:Fr[300],lockedWhite:pr},icon:{primary:Er,secondary:$r,disabled:Sr,primaryInverted:Cr,secondaryInverted:Mr,disabledInverted:$r,positive:Lr[300],negative:Fr[300],lockedWhite:pr},input:{default:kr,disabled:"#2A223C80"}}};var Wr;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(Wr||(Wr={}));const Zr={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:Wr.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:Wr.BOLD}},Ur={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:Wr.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:Wr.BOLD}},Gr={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},qr=e=>"bold"===e?Wr.BOLD:Wr.DEFAULT,Kr=({component:e,weight:t="default",variation:r,clamp:o=0,...n})=>Ut.jsx(h,{component:e,fontWeight:qr(t),variant:r,...n,sx:Oe(n.sx,o?{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:null)}),Yr=({logo:e,headerText:t,subText:r})=>{const o=m();return Ut.jsxs(g,{gap:o.spacing(o.custom.margin.md),alignItems:"center",mb:o.spacing(o.custom.margin.lg),children:[!1===e?null:e||Ut.jsx(dr,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),Ut.jsxs(g,{gap:o.spacing(o.custom.margin.md),children:[t&&Ut.jsx(Kr,{variation:"sm",component:"h1",align:"center",weight:"bold",children:t}),function(){if(r)return"string"==typeof r?Ut.jsx(Kr,{variation:"md",component:"p",align:"center",children:r}):r}()]})]})},Xr=({variation:e="lg",children:t,...r})=>{const{custom:o}=m();switch(e){case"sm":return Ut.jsx(x,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:32,width:32},...r,children:t});case"lg":return Ut.jsx(x,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:48,width:48},...r,children:t})}},Jr=({variation:e="primary",...t})=>{if("primary"===e)return Ut.jsx(b,{...t})},Qr=["xs","sm","md","lg","xl","xxl","xxxl"],eo=(e,t=16)=>{const r=1/t*e;return Math.round(1e3*r)/1e3},to=(e,t="xs")=>{const r=Qr.reduce(((r,o,n)=>{const i=Qr.indexOf(t)||0,a=Number((16*Math.pow(e,n-i)).toFixed(2));return r[o]=a,r}),{}),o={};for(const[e,t]of Object.entries(r))o[e]=eo(t)+"rem";return o},ro={lg:{headline:to(1.309,"xs"),body:to(1.125,"md")},sm:{headline:to(1.125,"xs"),body:to(1.1,"md")},button:to(1.125,"md")},oo=e=>{const t=Qr.map((t=>({props:{variant:t},style:{fontFamily:`${Gr.Serif}`,fontSize:ro[e].headline[t]}}))),r=Qr.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${Gr.SansSerif}`,fontSize:ro[e].body[t]}}))),o=Qr.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${Gr.SansSerif}`,fontSize:ro[e].body[t]}})));return[...t,...Qr.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${Gr.SansSerif}`,fontSize:ro[e].body[t]}}))),...r,...o]},no={xs:ro.button.xs,sm:ro.button.sm,md:ro.button.sm,lg:ro.button.md,xl:ro.button.lg},io=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),ao=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}`}}),so=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]}}),lo=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}}}),co={xs:3*rr,sm:3.5*rr,md:4*rr,lg:5*rr,xl:6*rr},uo={xs:.5*rr,sm:.5*rr,md:rr,lg:rr,xl:rr},po=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:ur[e],width:ur[e]}}}),mo=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:no[e],paddingLeft:uo[e],paddingRight:uo[e]}}),fo=e=>({height:co[e],paddingLeft:rr,paddingRight:rr}),ho=y(v)((()=>({color:"inherit",position:"absolute",padding:2}))),go=({sizing:e,...t})=>Ut.jsx(ho,{size:e?ur[e]:40,...t}),xo=y(C)((({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"}}))),bo=y((({children:e,loading:t,sizing:r,...o})=>Ut.jsxs(xo,{...o,sizing:r,loading:t,children:[t&&Ut.jsx(go,{sizing:r}),Ut.jsx(w,{...t?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:r})=>({color:e.custom.palette.text.primary,...r&&{...mo(r)},...r&&{...fo(r)},...r&&{...po(r)},"&: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&&{...io(e)},..."outlined"===t&&{...ao(e)},..."secondary"===t&&{...so(e)},..."primary"===t&&{...lo(e)}}))),yo=({sizing:e="lg",variation:t="primary",...r})=>Ut.jsx(bo,{variation:t,sizing:e,...r}),vo=({label:e,sx:t,...r})=>{const o=m();return Ut.jsx(k,{label:e||"",sx:Oe({ml:0,"&.Mui-disabled":{color:o.custom.palette.text.disabled},"&.Mui-error":{color:o.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:e?o.custom.margin.md:0,color:"inherit",fontSize:{xs:ro.sm.body.md,sm:ro.sm.body.md,md:ro.sm.body.md,lg:ro.lg.body.md,xl:ro.lg.body.md}}},t),...r})},Co=y(j)((({theme:e,sizing:t})=>({height:"default"===t?Jt:Qt,width:"default"===t?Jt: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?ur.sm:ur.xl,height:"default"===t?ur.sm:ur.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}}}))),wo=e=>Ut.jsx(Co,{checkedIcon:Ut.jsx(ge,{}),indeterminateIcon:Ut.jsx(xe,{}),...e}),ko=({internalChange:e,checkboxLabel:t,indeterminate:r,sizing:o="default",onChange:n,inputRef:i,value:a,...s})=>Ut.jsx(vo,{inputRef:i,label:t,checked:a,control:Ut.jsx(wo,{sizing:o,indeterminate:r}),onChange:(t,r)=>{n&&n(t,r),e&&e()},...s}),jo=y(S)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:ur.xl,height:ur.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:ro.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"}}}}}))),So=({startAdornment:e,endAdornment:t,placeholder:r,onChange:o,internalChange:n,inputRef:i,...a})=>Ut.jsx(jo,{placeholder:r,sx:{height:er,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:i,InputProps:{startAdornment:e?Ut.jsx(M,{position:"start",sx:{pl:1},children:e}):null,endAdornment:t?Ut.jsx(M,{position:"start",sx:{pr:1},children:t}):null},...a,onChange:e=>{o&&o(e),n&&n()}}),Mo=({sizing:e,options:t,other:r,internalChange:o,value:n,inputRef:i,onChange:a})=>{const s=r?.name||"other-option",l=`${s}-value-`,c=e=>`${l}${e}`,u=r?.enabled,d=n?.includes(s)&&u,p=n?.find((e=>e.includes(l)));if(!n)return Ut.jsx("div",{});const m=(e,i)=>{let c=n.includes(e)?n.filter((t=>t!==e)):i?[e]:[...new Set(n),e];if(i||(c=c.filter((e=>!t.find((t=>t?.exclusive&&e===t.value))))),r?.enabled){!n.includes(s)||e!==s||(c=c.filter((e=>!e.includes(l))))}a(c),o&&o()};return Ut.jsxs(Ut.Fragment,{children:[Ut.jsxs(O,{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,r)=>{const o=t.value;return Ut.jsx(vo,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>m(o,t.exclusive),checked:n.includes(o),control:Ut.jsx(wo,{sizing:e}),label:t.label},o)})):null,u&&Ut.jsx(vo,{inputRef:i,onChange:()=>m(s),label:r?.label||"Other",checked:n.includes(s),control:Ut.jsx(wo,{sizing:e})},s)]}),d&&Ut.jsx(w,{sx:{mt:1},children:Ut.jsx(So,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(l,""):"",placeholder:r?.placeholder,onChange:e=>{const t=n.find((e=>e.includes(l))),r=(t?n.map((t=>t.includes(l)?c(e.target.value):t)):[...n,c(e.target.value)]).filter((e=>e!==l));a(r),o&&o()},required:!0})})]})},Oo=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,$o=(e,t)=>{switch(t){case"tone1":default:return Oo(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)}},Eo=(e,t)=>{const r=$o(e,t.gradient),o=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return o?[o,r].join(","):[r].join(",")},Ro=({sx:e,children:t,texture:r="noise1",gradient:o="tone1",...n})=>{const i=m();return Ut.jsx(E,{maxWidth:!1,disableGutters:!0,sx:Oe({background:Eo(i,{texture:r,gradient:o}),height:"100%",p:[0,0,0]},!!e&&{...e}),...n,children:t})},Io=y(R)((({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}}))),To=e=>Ut.jsx(Io,{...e}),Fo=e=>{const{icon:t=null,state:r="default",disabled:o,showicon:n=!0}=e,i=m();return Ut.jsxs(w,{sx:{display:"inline-flex",alignItems:"center",color:o?i.custom.palette.text.disabled:(()=>{switch(r){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:ur.xs,height:ur.xs,color:"inherit"}},children:[(()=>{if(!n)return null;if(t)return t;switch(r){case"disabled":default:return Ut.jsx(w,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(be,{})});case"positive":return Ut.jsx(w,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(ge,{})});case"negative":return Ut.jsx(w,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(ye,{})})}})(),Ut.jsx(To,{...e,sx:{fontSize:{xs:ro.sm.body.sm,sm:ro.sm.body.sm,md:ro.sm.body.sm,lg:ro.lg.body.sm,xl:ro.lg.body.sm}}})]})},Lo=y(w)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Kt,height:Kt,top:`calc(100% + ${Kt}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Kt,height:Kt,top:`calc(100% + ${Kt}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Ao=({children:e,width:t})=>Ut.jsx(Lo,{sx:{width:t,minWidth:300},children:e}),_o=y(I)((({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?Jt:Qt,width:"default"===t?Jt:Qt,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&ur.sm,height:"default"===t&&ur.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}}}}))),No=e=>Ut.jsx(_o,{...e}),Po=y(No)((()=>({marginRight:0}))),Vo=y(w)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:Kt,width:`calc(100% - ${Qt}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Do=e=>Ut.jsx(Vo,{sx:{position:"relative"},children:Ut.jsx(Po,{...e})}),Bo=({disabled:e=!1,onChange:t,labelLeft:r,labelRight:o,internalChange:n,labelCenter:i})=>{const a=[...Array(7).keys()];return Ut.jsx(T,{children:Ut.jsxs(Ao,{children:[Ut.jsx(F,{container:!0,justifyContent:"space-between",children:a.map(((r,o)=>{const i=o+1!==a.length;return Ut.jsx(F,{item:!0,sm:i,children:Ut.jsx(Do,{disabled:e,value:r,onChange:(e,r)=>{t&&t(e,r),n&&n()},name:`radio-option-${r}`},r)},r)}))}),Ut.jsxs(F,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[Ut.jsx(F,{item:!0,sm:!0,sx:{textAlign:"left"},children:Ut.jsx(Fo,{disabled:e,showicon:!1,children:r})}),Ut.jsx(F,{item:!0,sm:!0,sx:{textAlign:"center"},children:Ut.jsx(Fo,{disabled:e,align:"center",showicon:!1,children:i})}),Ut.jsx(F,{item:!0,sm:!0,sx:{textAlign:"right"},children:Ut.jsx(Fo,{disabled:e,align:"right",showicon:!1,children:o})})]})]})})},zo=y(L)((({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)}}}}))),Ho=({open:e,anchorEl:t,handleClick:r,handleClose:o,items:n,...i})=>Ut.jsx(Ut.Fragment,{children:Ut.jsx(zo,{anchorEl:t,open:e,onClose:o,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...i,children:n?.map(((e,t)=>Ut.jsxs(A,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&Ut.jsx(w,{mr:1,children:e.icon}),e.label]},t)))})}),Wo=()=>{const[e,r]=t.useState(null);return{open:Boolean(e),handleClick:e=>{r(e.currentTarget)},handleClose:()=>{r(null)},anchorEl:e}};function Zo(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Uo=Object.freeze({__proto__:null,default:Zo}),Go="$$material";function qo(){return qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},qo.apply(null,arguments)}function Ko(e,t){if(null==e)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;r[o]=e[o]}return r}var Yo,Xo={exports:{}},Jo={exports:{}},Qo={};var en,tn,rn,on,nn,an,sn,ln,cn,un,dn,pn,mn,fn,hn={};
10
+ */"production"===process.env.NODE_ENV?zt.exports=function(){if(Bt)return Ht;Bt=1;var e=t,r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=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)o.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:r,type:e,key:c,ref:u,props:l,_owner:i.current}}return Ht.Fragment=n,Ht.jsx=s,Ht.jsxs=s,Ht}():zt.exports=(Wt||(Wt=1,"production"!==process.env.NODE_ENV&&function(){var e,r=t,n=Symbol.for("react.element"),o=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"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];!function(e,t,r){var n=x.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,r)}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 o: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,r){var n=e.displayName;if(n)return n;var o=t.displayName||t.name||"";return""!==o?r+"("+o+")":r}(e,e.render,"ForwardRef");case m:var t=e.displayName||null;return null!==t?t:v(e.type)||"Memo";case f:var r=e,n=r._payload,h=r._init;try{return v(h(n))}catch(e){return null}}return null}e=Symbol.for("react.module.reference");var C,w,k,j,S,M,O,$=Object.assign,E=0;function R(){}R.__reactDisabledLog=!0;var I,T=x.ReactCurrentDispatcher;function F(e,t,r){if(void 0===I)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);I=n&&n[1]||""}return"\n"+I+e}var L,A=!1,_="function"==typeof WeakMap?WeakMap:Map;function N(e,t){if(!e||A)return"";var r,n=L.get(e);if(void 0!==n)return n;A=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=T.current,T.current=null,function(){if(0===E){C=console.log,w=console.info,k=console.warn,j=console.error,S=console.group,M=console.groupCollapsed,O=console.groupEnd;var e={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}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){r=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){r=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=r.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&&L.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{A=!1,T.current=o,function(){if(0==--E){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:C}),info:$({},e,{value:w}),warn:$({},e,{value:k}),error:$({},e,{value:j}),group:$({},e,{value:S}),groupCollapsed:$({},e,{value:M}),groupEnd:$({},e,{value:O})})}E<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?F(p):"";return"function"==typeof e&&L.set(e,m),m}function P(e,t,r){if(null==e)return"";if("function"==typeof e)return N(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return F(e);switch(e){case d:return F("Suspense");case p:return F("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return N(e.render,!1);case m:return P(e.type,t,r);case f:var o=e,i=o._payload,a=o._init;try{return P(a(i),t,r)}catch(e){}}return""}L=new _;var V=Object.prototype.hasOwnProperty,D={},B=x.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,r=P(e.type,e._source,t?t.type:null);B.setExtraStackFrame(r)}else B.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function Z(e){return""+e}function U(e){if(function(e){try{return Z(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)),Z(e)}var G,q,K=x.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,r,o,i){var a,s={},l=null,c=null;for(a in void 0!==r&&(U(r),l=""+r),function(e){if(V.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(V.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&&K.current}(t)),t)V.call(t,a)&&!Y.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 r=function(){G||(G=!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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(s,d),c&&function(e,t){var r=function(){q||(q=!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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(s,d)}return function(e,t,r,o,i,a,s){var l={$$typeof:n,type:e,key:t,ref:r,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:o}),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,o,K.current,s)}var J,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,r=P(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(r)}else ee.setExtraStackFrame(null)}function re(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""}J=!1;var oe={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=ne();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!oe[r]){oe[r]=!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.',r,n),te(null)}}}function ae(e,t){if("object"==typeof e)if(W(e))for(var r=0;r<e.length;r++){var n=e[r];re(n)&&ie(n,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=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 o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)re(i.value)&&ie(i.value,t)}}function se(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==u&&r.$$typeof!==m)return;t=r.propTypes}if(t){var n=v(r);!function(e,t,r,n,o){var i=Function.call.bind(V);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")+": "+r+" 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,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(z(o),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",r,a,typeof s),z(null)),s instanceof Error&&!(s.message in D)&&(D[s.message]=!0,z(o),b("Failed %s type: %s",r,s.message),z(null))}}(t,e.props,"prop",n,e)}else void 0===r.PropTypes||J||(J=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v(r)||"Unknown"));"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(t,r,o,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===h||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===m||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!C){var w,k="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(k+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),k+=ne(),null===t?w="null":W(t)?w="array":void 0!==t&&t.$$typeof===n?(w="<"+(v(t.type)||"Unknown")+" />",k=" 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,k)}var j=X(t,r,o,x,y);if(null==j)return j;if(C){var S=r.children;if(void 0!==S)if(g)if(W(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(V.call(r,"key")){var O=v(t),$=Object.keys(r).filter((function(e){return"key"!==e})),E=$.length>0?"{key: someKey, "+$.join(": ..., ")+": ...}":"{key: someKey}";le[O+E]||(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} />',E,O,$.length>0?"{"+$.join(": ..., ")+": ...}":"{}",O),le[O+E]=!0)}return t===i?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];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))}(j):se(j),j}var ue=function(e,t,r){return ce(e,t,r,!1)},de=function(e,t,r){return ce(e,t,r,!0)};Zt.Fragment=i,Zt.jsx=ue,Zt.jsxs=de}()),Zt);var Ut=zt.exports;const Gt={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},qt=0,Kt=4,Yt=8,Xt=16,Jt=24,Qt=32,er=40,tr=48,rr=Yt,nr={none:qt,xs:Kt/rr,sm:Yt/rr,md:Xt/rr,lg:Qt/rr,xl:tr/rr,xxl:80/rr,xxxl:160/rr},or={none:qt,xs:Kt/rr,sm:Yt/rr,md:Xt/rr,lg:Qt/rr,xl:tr/rr},ir={none:qt,xs:2/rr,sm:Kt/rr,md:Yt/rr,lg:Xt/rr,xl:Jt/rr,round:999},ar={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)"},sr={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))"},lr={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},cr={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},ur={xs:2*rr,sm:2*rr,md:2*rr,lg:2.5*rr,xl:3*rr},dr=({name:e,size:t,sx:r})=>{const n=m(),o=t||ur.xl,i=t||ur.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:Oe(r,{"&.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:r,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:r,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:r,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:r,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:r,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:r,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:r,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:r,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:r,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(he,{style:{height:o,width:i},sx:r});case"close":return Ut.jsx(fe,{style:{height:o,width:i},sx:r});case"arrow-forward":return Ut.jsx(me,{style:{height:o,width:i},sx:r});case"expand-more":return Ut.jsx(pe,{style:{height:o,width:i},sx:r});case"info":return Ut.jsx(de,{style:{height:o,width:i},sx:r});case"check-circle":return Ut.jsx(ue,{style:{height:o,width:i},sx:r});case"error-outline":return Ut.jsx(ce,{style:{height:o,width:i},sx:r});case"lightbulb":return Ut.jsx(le,{style:{height:o,width:i},sx:r});case"warning-amber":return Ut.jsx(se,{style:{height:o,width:i},sx:r});case"access-time":return Ut.jsx(ae,{style:{height:o,width:i},sx:r});case"menu":return Ut.jsx(ie,{style:{height:o,width:i},sx:r});case"lock":return Ut.jsx(oe,{style:{height:o,width:i},sx:r});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"})]});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:r,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"})]})}},pr="#FFFFFF",mr="#F8F8F9",fr="#E8E7EB",hr="#D1CFD6",gr="#BAB7C2",xr="#A39FAD",br="#756F85",yr="#5E5770",vr="#190F33",Cr="#130B26",wr="#1C142F",kr="#2A223C",jr="#413A51",Sr="#585267",Mr="#6F697D",Or="#9D98A8",$r="#B4AFBE",Er="#F9F6FF",Rr={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},Ir={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},Tr={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},Fr={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},Lr={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},Ar={light:{0:pr,50:mr,100:fr,200:hr,300:gr,400:xr,500:"#8C8799",600:br,700:yr,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:vr,1100:"#0D081A"},dark:{0:Cr,50:wr,100:kr,200:jr,300:Sr,400:Mr,500:"#868092",600:Or,700:$r,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:Er,1100:"#FFFFFF"}},_r=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]}}),Nr=_r(Tr),Pr=_r(Fr),Vr=_r({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),Dr=_r({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),Br=_r({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),zr=_r(Lr),Hr={light:{surface:{sunken:mr,default:pr,raised:pr,overlay:pr,scrim:Rr[3],transparent:Rr[.01]},interaction:{none:Rr[0],hover:Rr[1],press:Rr[2],hoverOnDark:Rr[3],pressOnDark:Rr[4],disabled:Rr[2]},stroke:{default:hr,focus:Tr[500],disabled:fr},text:{primary:vr,secondary:br,placeholder:xr,disabled:gr,textLink:Tr[800],textLinkHover:Tr[900],primaryInverted:pr,secondaryInverted:xr,placeholderInverted:br,disabledInverted:yr,positive:Lr[800],negative:Fr[700],lockedWhite:pr},icon:{primary:vr,secondary:br,disabled:gr,primaryInverted:pr,secondaryInverted:xr,disabledInverted:yr,positive:Lr[800],negative:Fr[700],lockedWhite:pr},input:{default:pr,disabled:"#FFFFFF80"}},dark:{surface:{default:wr,sunken:Cr,raised:kr,overlay:jr,scrim:Ir[3],transparent:Ir[.01]},interaction:{none:Ir[0],hover:Ir[1],press:Ir[2],hoverOnDark:Ir[3],pressOnDark:Ir[4],disabled:Ir[2]},stroke:{default:jr,focus:Tr[500],disabled:kr},text:{primary:Er,secondary:$r,placeholder:Mr,disabled:Sr,textLink:Tr[100],textLinkHover:Tr[0],primaryInverted:Cr,secondaryInverted:Mr,placeholderInverted:Or,disabledInverted:$r,positive:Lr[300],negative:Fr[300],lockedWhite:pr},icon:{primary:Er,secondary:$r,disabled:Sr,primaryInverted:Cr,secondaryInverted:Mr,disabledInverted:$r,positive:Lr[300],negative:Fr[300],lockedWhite:pr},input:{default:kr,disabled:"#2A223C80"}}};var Wr;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(Wr||(Wr={}));const Zr={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:Wr.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:Wr.BOLD}},Ur={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:Wr.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:Wr.BOLD}},Gr={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},qr=e=>"bold"===e?Wr.BOLD:Wr.DEFAULT,Kr=({component:e,weight:t="default",variation:r,clamp:n=0,...o})=>Ut.jsx(h,{component:e,fontWeight:qr(t),variant:r,...o,sx:Oe(o.sx,n?{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:null)}),Yr=({logo:e,headerText:t,subText:r})=>{const n=m();return Ut.jsxs(g,{gap:n.spacing(n.custom.margin.md),alignItems:"center",mb:n.spacing(n.custom.margin.lg),children:[!1===e?null:e||Ut.jsx(dr,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),Ut.jsxs(g,{gap:n.spacing(n.custom.margin.md),children:[t&&Ut.jsx(Kr,{variation:"sm",component:"h1",align:"center",weight:"bold",children:t}),function(){if(r)return"string"==typeof r?Ut.jsx(Kr,{variation:"md",component:"p",align:"center",children:r}):r}()]})]})},Xr=({variation:e="lg",children:t,...r})=>{const{custom:n}=m();switch(e){case"sm":return Ut.jsx(x,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:32,width:32},...r,children:t});case"lg":return Ut.jsx(x,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:48,width:48},...r,children:t})}},Jr=({variation:e="primary",...t})=>{if("primary"===e)return Ut.jsx(b,{...t})},Qr=["xs","sm","md","lg","xl","xxl","xxxl"],en=(e,t=16)=>{const r=1/t*e;return Math.round(1e3*r)/1e3},tn=(e,t="xs")=>{const r=Qr.reduce(((r,n,o)=>{const i=Qr.indexOf(t)||0,a=Number((16*Math.pow(e,o-i)).toFixed(2));return r[n]=a,r}),{}),n={};for(const[e,t]of Object.entries(r))n[e]=en(t)+"rem";return n},rn={lg:{headline:tn(1.309,"xs"),body:tn(1.125,"md")},sm:{headline:tn(1.125,"xs"),body:tn(1.1,"md")},button:tn(1.125,"md")},nn=e=>{const t=Qr.map((t=>({props:{variant:t},style:{fontFamily:`${Gr.Serif}`,fontSize:rn[e].headline[t]}}))),r=Qr.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${Gr.SansSerif}`,fontSize:rn[e].body[t]}}))),n=Qr.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${Gr.SansSerif}`,fontSize:rn[e].body[t]}})));return[...t,...Qr.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${Gr.SansSerif}`,fontSize:rn[e].body[t]}}))),...r,...n]},on={xs:rn.button.xs,sm:rn.button.sm,md:rn.button.sm,lg:rn.button.md,xl:rn.button.lg},an=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),sn=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}`}}),ln=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]}}),cn=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}}}),un={xs:3*rr,sm:3.5*rr,md:4*rr,lg:5*rr,xl:6*rr},dn={xs:.5*rr,sm:.5*rr,md:rr,lg:rr,xl:rr},pn=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:ur[e],width:ur[e]}}}),mn=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:on[e],paddingLeft:dn[e],paddingRight:dn[e]}}),fn=e=>({height:un[e],paddingLeft:rr,paddingRight:rr}),hn=y(v)((()=>({color:"inherit",position:"absolute",padding:2}))),gn=({sizing:e,...t})=>Ut.jsx(hn,{size:e?ur[e]:40,...t}),xn=y(C)((({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"}}))),bn=y((({children:e,loading:t,sizing:r,...n})=>Ut.jsxs(xn,{...n,sizing:r,loading:t,children:[t&&Ut.jsx(gn,{sizing:r}),Ut.jsx(w,{...t?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:r})=>({color:e.custom.palette.text.primary,...r&&{...mn(r)},...r&&{...fn(r)},...r&&{...pn(r)},"&: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&&{...an(e)},..."outlined"===t&&{...sn(e)},..."secondary"===t&&{...ln(e)},..."primary"===t&&{...cn(e)}}))),yn=({sizing:e="lg",variation:t="primary",...r})=>Ut.jsx(bn,{variation:t,sizing:e,...r}),vn=({label:e,sx:t,...r})=>{const n=m();return Ut.jsx(k,{label:e||"",sx:Oe({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:rn.sm.body.md,sm:rn.sm.body.md,md:rn.sm.body.md,lg:rn.lg.body.md,xl:rn.lg.body.md}}},t),...r})},Cn=y(j)((({theme:e,sizing:t})=>({height:"default"===t?Jt:Qt,width:"default"===t?Jt: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?ur.sm:ur.xl,height:"default"===t?ur.sm:ur.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}}}))),wn=e=>Ut.jsx(Cn,{checkedIcon:Ut.jsx(ge,{}),indeterminateIcon:Ut.jsx(xe,{}),...e}),kn=({internalChange:e,checkboxLabel:t,indeterminate:r,sizing:n="default",onChange:o,inputRef:i,value:a,...s})=>Ut.jsx(vn,{inputRef:i,label:t,checked:a,control:Ut.jsx(wn,{sizing:n,indeterminate:r}),onChange:(t,r)=>{o&&o(t,r),e&&e()},...s}),jn=y(S)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:ur.xl,height:ur.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:rn.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"}}}}}))),Sn=({startAdornment:e,endAdornment:t,placeholder:r,onChange:n,internalChange:o,inputRef:i,...a})=>Ut.jsx(jn,{placeholder:r,sx:{height:er,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:i,InputProps:{startAdornment:e?Ut.jsx(M,{position:"start",sx:{pl:1},children:e}):null,endAdornment:t?Ut.jsx(M,{position:"start",sx:{pr:1},children:t}):null},...a,onChange:e=>{n&&n(e),o&&o()}}),Mn=({sizing:e,options:t,other:r,internalChange:n,value:o,inputRef:i,onChange:a})=>{const s=r?.name||"other-option",l=`${s}-value-`,c=e=>`${l}${e}`,u=r?.enabled,d=o?.includes(s)&&u,p=o?.find((e=>e.includes(l)));if(!o)return Ut.jsx("div",{});const m=(e,i)=>{let c=o.includes(e)?o.filter((t=>t!==e)):i?[e]:[...new Set(o),e];if(i||(c=c.filter((e=>!t.find((t=>t?.exclusive&&e===t.value))))),r?.enabled){!o.includes(s)||e!==s||(c=c.filter((e=>!e.includes(l))))}a(c),n&&n()};return Ut.jsxs(Ut.Fragment,{children:[Ut.jsxs(O,{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,r)=>{const n=t.value;return Ut.jsx(vn,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>m(n,t.exclusive),checked:o.includes(n),control:Ut.jsx(wn,{sizing:e}),label:t.label},n)})):null,u&&Ut.jsx(vn,{inputRef:i,onChange:()=>m(s),label:r?.label||"Other",checked:o.includes(s),control:Ut.jsx(wn,{sizing:e})},s)]}),d&&Ut.jsx(w,{sx:{mt:1},children:Ut.jsx(Sn,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(l,""):"",placeholder:r?.placeholder,onChange:e=>{const t=o.find((e=>e.includes(l))),r=(t?o.map((t=>t.includes(l)?c(e.target.value):t)):[...o,c(e.target.value)]).filter((e=>e!==l));a(r),n&&n()},required:!0})})]})},On=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,$n=(e,t)=>{switch(t){case"tone1":default:return On(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)}},En=(e,t)=>{const r=$n(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,r].join(","):[r].join(",")},Rn=({sx:e,children:t,texture:r="noise1",gradient:n="tone1",...o})=>{const i=m();return Ut.jsx(E,{maxWidth:!1,disableGutters:!0,sx:Oe({background:En(i,{texture:r,gradient:n}),height:"100%",p:[0,0,0]},!!e&&{...e}),...o,children:t})},In=({inputField:e,onChange:t,internalChange:r,transformValue:n,...o})=>{const i=e;return Ut.jsx(i,{onChange:e=>{t&&t(n?n(e):e),r&&r()},...o})},Tn=y(R)((({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}}))),Fn=e=>Ut.jsx(Tn,{...e}),Ln=e=>{const{icon:t=null,state:r="default",disabled:n,showicon:o=!0}=e,i=m();return Ut.jsxs(w,{sx:{display:"inline-flex",alignItems:"center",color:n?i.custom.palette.text.disabled:(()=>{switch(r){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:ur.xs,height:ur.xs,color:"inherit"}},children:[(()=>{if(!o)return null;if(t)return t;switch(r){case"disabled":default:return Ut.jsx(w,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(be,{})});case"positive":return Ut.jsx(w,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(ge,{})});case"negative":return Ut.jsx(w,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:Ut.jsx(ye,{})})}})(),Ut.jsx(Fn,{...e,sx:{fontSize:{xs:rn.sm.body.sm,sm:rn.sm.body.sm,md:rn.sm.body.sm,lg:rn.lg.body.sm,xl:rn.lg.body.sm}}})]})},An=y(w)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Kt,height:Kt,top:`calc(100% + ${Kt}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Kt,height:Kt,top:`calc(100% + ${Kt}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),_n=({children:e,width:t})=>Ut.jsx(An,{sx:{width:t,minWidth:300},children:e}),Nn=y(I)((({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?Jt:Qt,width:"default"===t?Jt:Qt,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&ur.sm,height:"default"===t&&ur.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}}}}))),Pn=e=>Ut.jsx(Nn,{...e}),Vn=y(Pn)((()=>({marginRight:0}))),Dn=y(w)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:Kt,width:`calc(100% - ${Qt}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Bn=e=>Ut.jsx(Dn,{sx:{position:"relative"},children:Ut.jsx(Vn,{...e})}),zn=({disabled:e=!1,onChange:t,labelLeft:r,labelRight:n,internalChange:o,labelCenter:i})=>{const a=[...Array(7).keys()];return Ut.jsx(T,{children:Ut.jsxs(_n,{children:[Ut.jsx(F,{container:!0,justifyContent:"space-between",children:a.map(((r,n)=>{const i=n+1!==a.length;return Ut.jsx(F,{item:!0,sm:i,children:Ut.jsx(Bn,{disabled:e,value:r,onChange:(e,r)=>{t&&t(e,r),o&&o()},name:`radio-option-${r}`},r)},r)}))}),Ut.jsxs(F,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[Ut.jsx(F,{item:!0,sm:!0,sx:{textAlign:"left"},children:Ut.jsx(Ln,{disabled:e,showicon:!1,children:r})}),Ut.jsx(F,{item:!0,sm:!0,sx:{textAlign:"center"},children:Ut.jsx(Ln,{disabled:e,align:"center",showicon:!1,children:i})}),Ut.jsx(F,{item:!0,sm:!0,sx:{textAlign:"right"},children:Ut.jsx(Ln,{disabled:e,align:"right",showicon:!1,children:n})})]})]})})},Hn=y(L)((({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)}}}}))),Wn=({open:e,anchorEl:t,handleClick:r,handleClose:n,items:o,...i})=>Ut.jsx(Ut.Fragment,{children:Ut.jsx(Hn,{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:o?.map(((e,t)=>Ut.jsxs(A,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&Ut.jsx(w,{mr:1,children:e.icon}),e.label]},t)))})}),Zn=()=>{const[e,r]=t.useState(null);return{open:Boolean(e),handleClick:e=>{r(e.currentTarget)},handleClose:()=>{r(null)},anchorEl:e}};function Un(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Gn=Object.freeze({__proto__:null,default:Un}),qn="$$material";function Kn(){return Kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kn.apply(null,arguments)}function Yn(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var Xn,Jn={exports:{}},Qn={exports:{}},eo={};var to,ro,no,oo,io,ao,so,lo,co,uo,po,mo,fo,ho,go={};
11
11
  /** @license React v16.13.1
12
12
  * react-is.development.js
13
13
  *
@@ -15,9 +15,9 @@ import*as e from"react";import t,{forwardRef as r,useState as o,useEffect as n,c
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */function gn(){return tn||(tn=1,"production"===process.env.NODE_ENV?Jo.exports=function(){if(Yo)return Qo;Yo=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=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,f=e?Symbol.for("react.lazy"):60116,h=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 o:case i:case n:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case f:case m:case a:return e;default:return p}}case r:return p}}}function v(e){return y(e)===c}return Qo.AsyncMode=l,Qo.ConcurrentMode=c,Qo.ContextConsumer=s,Qo.ContextProvider=a,Qo.Element=t,Qo.ForwardRef=u,Qo.Fragment=o,Qo.Lazy=f,Qo.Memo=m,Qo.Portal=r,Qo.Profiler=i,Qo.StrictMode=n,Qo.Suspense=d,Qo.isAsyncMode=function(e){return v(e)||y(e)===l},Qo.isConcurrentMode=v,Qo.isContextConsumer=function(e){return y(e)===s},Qo.isContextProvider=function(e){return y(e)===a},Qo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qo.isForwardRef=function(e){return y(e)===u},Qo.isFragment=function(e){return y(e)===o},Qo.isLazy=function(e){return y(e)===f},Qo.isMemo=function(e){return y(e)===m},Qo.isPortal=function(e){return y(e)===r},Qo.isProfiler=function(e){return y(e)===i},Qo.isStrictMode=function(e){return y(e)===n},Qo.isSuspense=function(e){return y(e)===d},Qo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===n||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===b||e.$$typeof===h)},Qo.typeOf=y,Qo}():Jo.exports=(en||(en=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=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,f=e?Symbol.for("react.lazy"):60116,h=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 h=e.type;switch(h){case l:case c:case o:case i:case n:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case u:case f:case m:case a:return g;default:return p}}case r:return p}}}var v=l,C=c,w=s,k=a,j=t,S=u,M=o,O=f,$=m,E=r,R=i,I=n,T=d,F=!1;function L(e){return y(e)===c}hn.AsyncMode=v,hn.ConcurrentMode=C,hn.ContextConsumer=w,hn.ContextProvider=k,hn.Element=j,hn.ForwardRef=S,hn.Fragment=M,hn.Lazy=O,hn.Memo=$,hn.Portal=E,hn.Profiler=R,hn.StrictMode=I,hn.Suspense=T,hn.isAsyncMode=function(e){return F||(F=!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.")),L(e)||y(e)===l},hn.isConcurrentMode=L,hn.isContextConsumer=function(e){return y(e)===s},hn.isContextProvider=function(e){return y(e)===a},hn.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},hn.isForwardRef=function(e){return y(e)===u},hn.isFragment=function(e){return y(e)===o},hn.isLazy=function(e){return y(e)===f},hn.isMemo=function(e){return y(e)===m},hn.isPortal=function(e){return y(e)===r},hn.isProfiler=function(e){return y(e)===i},hn.isStrictMode=function(e){return y(e)===n},hn.isSuspense=function(e){return y(e)===d},hn.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===n||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===b||e.$$typeof===h)},hn.typeOf=y}()),hn)),Jo.exports}
18
+ */function xo(){return ro||(ro=1,"production"===process.env.NODE_ENV?Qn.exports=function(){if(Xn)return eo;Xn=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=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,f=e?Symbol.for("react.lazy"):60116,h=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 o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case f:case m:case a:return e;default:return p}}case r:return p}}}function v(e){return y(e)===c}return eo.AsyncMode=l,eo.ConcurrentMode=c,eo.ContextConsumer=s,eo.ContextProvider=a,eo.Element=t,eo.ForwardRef=u,eo.Fragment=n,eo.Lazy=f,eo.Memo=m,eo.Portal=r,eo.Profiler=i,eo.StrictMode=o,eo.Suspense=d,eo.isAsyncMode=function(e){return v(e)||y(e)===l},eo.isConcurrentMode=v,eo.isContextConsumer=function(e){return y(e)===s},eo.isContextProvider=function(e){return y(e)===a},eo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},eo.isForwardRef=function(e){return y(e)===u},eo.isFragment=function(e){return y(e)===n},eo.isLazy=function(e){return y(e)===f},eo.isMemo=function(e){return y(e)===m},eo.isPortal=function(e){return y(e)===r},eo.isProfiler=function(e){return y(e)===i},eo.isStrictMode=function(e){return y(e)===o},eo.isSuspense=function(e){return y(e)===d},eo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===b||e.$$typeof===h)},eo.typeOf=y,eo}():Qn.exports=(to||(to=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=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,f=e?Symbol.for("react.lazy"):60116,h=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 h=e.type;switch(h){case l:case c:case n:case i:case o:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case u:case f:case m:case a:return g;default:return p}}case r:return p}}}var v=l,C=c,w=s,k=a,j=t,S=u,M=n,O=f,$=m,E=r,R=i,I=o,T=d,F=!1;function L(e){return y(e)===c}go.AsyncMode=v,go.ConcurrentMode=C,go.ContextConsumer=w,go.ContextProvider=k,go.Element=j,go.ForwardRef=S,go.Fragment=M,go.Lazy=O,go.Memo=$,go.Portal=E,go.Profiler=R,go.StrictMode=I,go.Suspense=T,go.isAsyncMode=function(e){return F||(F=!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.")),L(e)||y(e)===l},go.isConcurrentMode=L,go.isContextConsumer=function(e){return y(e)===s},go.isContextProvider=function(e){return y(e)===a},go.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},go.isForwardRef=function(e){return y(e)===u},go.isFragment=function(e){return y(e)===n},go.isLazy=function(e){return y(e)===f},go.isMemo=function(e){return y(e)===m},go.isPortal=function(e){return y(e)===r},go.isProfiler=function(e){return y(e)===i},go.isStrictMode=function(e){return y(e)===o},go.isSuspense=function(e){return y(e)===d},go.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===b||e.$$typeof===h)},go.typeOf=y}()),go)),Qn.exports}
19
19
  /*
20
20
  object-assign
21
21
  (c) Sindre Sorhus
22
22
  @license MIT
23
- */function xn(){if(on)return rn;on=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return rn=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={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,n){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)}(o),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++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},rn}function bn(){if(an)return nn;an=1;return nn="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function yn(){return ln?sn:(ln=1,sn=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var vn=gn();Xo.exports=function(){if(pn)return dn;pn=1;var e=gn(),t=xn(),r=bn(),o=yn(),n=function(){if(un)return cn;un=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=bn(),r={},o=yn();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function n(n,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in n)if(o(n,c)){var u;try{if("function"!=typeof n[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 n[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=n[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 r)){r[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return n.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},cn=n}(),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){}}),dn=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:f(a),arrayOf:function(e){return f((function(t,o,n,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[o];if(!Array.isArray(s))return new m("Invalid "+i+" `"+a+"` of type `"+b(s)+"` supplied to `"+n+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,n,i,a+"["+l+"]",r);if(c instanceof Error)return c}return null}))},element:f((function(e,t,r,o,n){var i=e[t];return s(i)?null:new m("Invalid "+o+" `"+n+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:f((function(t,r,o,n,i){var a=t[r];return e.isValidElementType(a)?null:new m("Invalid "+n+" `"+i+"` of type `"+b(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(t,r,o,n,i){if(!(t[r]instanceof e)){var a=e.name||u;return new m("Invalid "+n+" `"+i+"` of type `"+((s=t[r]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+o+"`, expected instance of `"+a+"`.")}var s;return null}))},node:f((function(e,t,r,o,n){return x(e[t])?null:new m("Invalid "+o+" `"+n+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[n],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(o(l,u)){var d=e(l,u,i,a,s+"."+u,r);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?f((function(t,r,o,n,i){for(var a=t[r],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 "+n+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, 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 n=e[t];if("function"!=typeof n)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+v(n)+" at index "+t+"."),a}return f((function(t,n,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,n,i,a,s,r);if(null==u)return null;u.data&&o(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 f((function(t,o,n,i,a){var s=t[o],l=b(s);if("object"!==l)return new m("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+n+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(n,i,a,c,y(u));var d=u(s,c,n,i,a+"."+c,r);if(d)return d}return null}))},exact:function(e){return f((function(n,i,a,s,l){var c=n[i],u=b(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},n[i],e);for(var p in d){var f=e[p];if(o(e,p)&&"function"!=typeof f)return g(a,s,l,p,y(f));if(!f)return new m("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(n[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(c,p,a,s,l+"."+p,r);if(h)return h}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 f(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function n(n,a,s,c,d,p,f){if(c=c||u,p=p||s,f!==r){if(l){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&o<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,o++)}}return null==a[s]?n?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=n.bind(null,!1);return a.isRequired=n.bind(null,!0),a}function h(e){return f((function(t,r,o,n,i,a){var s=t[r];return b(s)!==e?new m("Invalid "+n+" `"+i+"` of type `"+y(s)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,r,o,n){return new m((e||"React class")+": "+t+" type `"+r+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}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 r,o=t.call(e);if(t!==e.entries){for(;!(r=o.next()).done;)if(!x(r.value))return!1}else for(;!(r=o.next()).done;){var n=r.value;if(n&&!x(n[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=n,d.resetWarningCache=n.resetWarningCache,d.PropTypes=d,d},dn}()(vn.isElement,!0)}else Xo.exports=function(){if(fn)return mn;fn=1;var e=bn();function t(){}function r(){}return r.resetWarningCache=t,mn=function(){function o(t,r,o,n,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 n(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:n,element:o,elementType:o,instanceOf:n,node:o,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i}}()();var Cn=Vt(Xo.exports);function wn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function kn(t){if(e.isValidElement(t)||!wn(t))return t;const r={};return Object.keys(t).forEach((e=>{r[e]=kn(t[e])})),r}function jn(t,r,o={clone:!0}){const n=o.clone?qo({},t):t;return wn(t)&&wn(r)&&Object.keys(r).forEach((i=>{e.isValidElement(r[i])?n[i]=r[i]:wn(r[i])&&Object.prototype.hasOwnProperty.call(t,i)&&wn(t[i])?n[i]=jn(t[i],r[i],o):o.clone?n[i]=wn(r[i])?kn(r[i]):r[i]:n[i]=r[i]})),n}const Sn=["values","unit","step"];function Mn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5}=e,n=Ko(e,Sn),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>qo({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${r})`}function c(e,n){const i=a.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:n)-o/100}${r})`}return qo({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},n)}const On={borderRadius:4},$n="production"!==process.env.NODE_ENV?Cn.oneOfType([Cn.number,Cn.string,Cn.object,Cn.array]):{};function En(e,t){return t?jn(e,t,{clone:!1}):e}const Rn={xs:0,sm:600,md:900,lg:1200,xl:1536},In={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rn[e]}px)`};function Tn(e,t,r){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||In;return t.reduce(((o,n,i)=>(o[e.up(e.keys[i])]=r(t[i]),o)),{})}if("object"==typeof t){const e=o.breakpoints||In;return Object.keys(t).reduce(((o,n)=>{if(-1!==Object.keys(e.values||Rn).indexOf(n)){o[e.up(n)]=r(t[n],n)}else{const e=n;o[e]=t[e]}return o}),{})}return r(t)}function Fn(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Zo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ln(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function An(e,t,r,o=r){let n;return n="function"==typeof e?e(r):Array.isArray(e)?e[r]||o:Ln(e,r)||o,t&&(n=t(n,o,e)),n}function _n(e){const{prop:t,cssProperty:r=e.prop,themeKey:o,transform:n}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Ln(e.theme,o)||{};return Tn(e,i,(e=>{let o=An(a,n,e);return e===o&&"string"==typeof e&&(o=An(a,n,`${t}${"default"===e?"":Fn(e)}`,e)),!1===r?o:{[r]:o}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:$n}:{},i.filterProps=[t],i}const Nn={m:"margin",p:"padding"},Pn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Vn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dn=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Vn[e])return[e];e=Vn[e]}const[t,r]=e.split(""),o=Nn[t],n=Pn[r]||"";return Array.isArray(n)?n.map((e=>o+e)):[o+n]})),Bn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Hn=[...Bn,...zn];function Wn(e,t,r,o){var n;const i=null!=(n=Ln(e,t,!1))?n:r;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Zn(e){return Wn(e,"spacing",8,"spacing")}function Un(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function Gn(e,t,r,o){if(-1===t.indexOf(r))return null;const n=function(e,t){return r=>e.reduce(((e,o)=>(e[o]=Un(t,r),e)),{})}(Dn(r),o);return Tn(e,e[r],n)}function qn(e,t){const r=Zn(e.theme);return Object.keys(e).map((o=>Gn(e,t,o,r))).reduce(En,{})}function Kn(e){return qn(e,Bn)}function Yn(e){return qn(e,zn)}function Xn(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,o)=>t[o]?En(r,t[o](e)):r),{});return r.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function Jn(e){return"number"!=typeof e?e:`${e}px solid`}function Qn(e,t){return _n({prop:e,themeKey:"borders",transform:t})}Kn.propTypes="production"!==process.env.NODE_ENV?Bn.reduce(((e,t)=>(e[t]=$n,e)),{}):{},Kn.filterProps=Bn,Yn.propTypes="production"!==process.env.NODE_ENV?zn.reduce(((e,t)=>(e[t]=$n,e)),{}):{},Yn.filterProps=zn,"production"===process.env.NODE_ENV||Hn.reduce(((e,t)=>(e[t]=$n,e)),{});const ei=Qn("border",Jn),ti=Qn("borderTop",Jn),ri=Qn("borderRight",Jn),oi=Qn("borderBottom",Jn),ni=Qn("borderLeft",Jn),ii=Qn("borderColor"),ai=Qn("borderTopColor"),si=Qn("borderRightColor"),li=Qn("borderBottomColor"),ci=Qn("borderLeftColor"),ui=Qn("outline",Jn),di=Qn("outlineColor"),pi=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Wn(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:Un(t,e)});return Tn(e,e.borderRadius,r)}return null};pi.propTypes="production"!==process.env.NODE_ENV?{borderRadius:$n}:{},pi.filterProps=["borderRadius"],Xn(ei,ti,ri,oi,ni,ii,ai,si,li,ci,pi,ui,di);const mi=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Wn(e.theme,"spacing",8,"gap"),r=e=>({gap:Un(t,e)});return Tn(e,e.gap,r)}return null};mi.propTypes="production"!==process.env.NODE_ENV?{gap:$n}:{},mi.filterProps=["gap"];const fi=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Wn(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:Un(t,e)});return Tn(e,e.columnGap,r)}return null};fi.propTypes="production"!==process.env.NODE_ENV?{columnGap:$n}:{},fi.filterProps=["columnGap"];const hi=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Wn(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:Un(t,e)});return Tn(e,e.rowGap,r)}return null};hi.propTypes="production"!==process.env.NODE_ENV?{rowGap:$n}:{},hi.filterProps=["rowGap"];function gi(e,t){return"grey"===t?t:e}Xn(mi,fi,hi,_n({prop:"gridColumn"}),_n({prop:"gridRow"}),_n({prop:"gridAutoFlow"}),_n({prop:"gridAutoColumns"}),_n({prop:"gridAutoRows"}),_n({prop:"gridTemplateColumns"}),_n({prop:"gridTemplateRows"}),_n({prop:"gridTemplateAreas"}),_n({prop:"gridArea"}));function xi(e){return e<=1&&0!==e?100*e+"%":e}Xn(_n({prop:"color",themeKey:"palette",transform:gi}),_n({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gi}),_n({prop:"backgroundColor",themeKey:"palette",transform:gi}));const bi=_n({prop:"width",transform:xi}),yi=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,o;const n=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Rn[t];return n?"px"!==(null==(o=e.theme)||null==(o=o.breakpoints)?void 0:o.unit)?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:xi(t)}};return Tn(e,e.maxWidth,t)}return null};yi.filterProps=["maxWidth"];const vi=_n({prop:"minWidth",transform:xi}),Ci=_n({prop:"height",transform:xi}),wi=_n({prop:"maxHeight",transform:xi}),ki=_n({prop:"minHeight",transform:xi});_n({prop:"size",cssProperty:"width",transform:xi}),_n({prop:"size",cssProperty:"height",transform:xi});Xn(bi,yi,vi,Ci,wi,ki,_n({prop:"boxSizing"}));const ji={border:{themeKey:"borders",transform:Jn},borderTop:{themeKey:"borders",transform:Jn},borderRight:{themeKey:"borders",transform:Jn},borderBottom:{themeKey:"borders",transform:Jn},borderLeft:{themeKey:"borders",transform:Jn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Jn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:pi},color:{themeKey:"palette",transform:gi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gi},backgroundColor:{themeKey:"palette",transform:gi},p:{style:Yn},pt:{style:Yn},pr:{style:Yn},pb:{style:Yn},pl:{style:Yn},px:{style:Yn},py:{style:Yn},padding:{style:Yn},paddingTop:{style:Yn},paddingRight:{style:Yn},paddingBottom:{style:Yn},paddingLeft:{style:Yn},paddingX:{style:Yn},paddingY:{style:Yn},paddingInline:{style:Yn},paddingInlineStart:{style:Yn},paddingInlineEnd:{style:Yn},paddingBlock:{style:Yn},paddingBlockStart:{style:Yn},paddingBlockEnd:{style:Yn},m:{style:Kn},mt:{style:Kn},mr:{style:Kn},mb:{style:Kn},ml:{style:Kn},mx:{style:Kn},my:{style:Kn},margin:{style:Kn},marginTop:{style:Kn},marginRight:{style:Kn},marginBottom:{style:Kn},marginLeft:{style:Kn},marginX:{style:Kn},marginY:{style:Kn},marginInline:{style:Kn},marginInlineStart:{style:Kn},marginInlineEnd:{style:Kn},marginBlock:{style:Kn},marginBlockStart:{style:Kn},marginBlockEnd:{style:Kn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:mi},rowGap:{style:hi},columnGap:{style:fi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xi},maxWidth:{style:yi},minWidth:{transform:xi},height:{transform:xi},maxHeight:{transform:xi},minHeight:{transform:xi},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Si=function(){function e(e,t,r,o){const n={[e]:t,theme:r},i=o[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Ln(r,s)||{};if(c)return c(n);return Tn(n,t,(t=>{let r=An(u,l,t);return t===r&&"string"==typeof t&&(r=An(u,l,`${e}${"default"===t?"":Fn(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var o;const{sx:n,theme:i={}}=r||{};if(!n)return null;const a=null!=(o=i.unstable_sxConfig)?o:ji;function s(r){let o=r;if("function"==typeof r)o=r(i);else if("object"!=typeof r)return r;if(!o)return null;const n=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(n);let l=n;return Object.keys(o).forEach((r=>{const n=(s=o[r],c=i,"function"==typeof s?s(c):s);var s,c;if(null!=n)if("object"==typeof n)if(a[r])l=En(l,e(r,n,i,a));else{const e=Tn({theme:i},n,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,n)?l=En(l,e):l[r]=t({sx:n,theme:i})}else l=En(l,e(r,n,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(n)?n.map(s):s(n)}}();function Mi(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const o=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[o]:t}}return r.palette.mode===e?t:{}}Si.filterProps=["sx"];const Oi=["breakpoints","palette","spacing","shape"];function $i(e={},...t){const{breakpoints:r={},palette:o={},spacing:n,shape:i={}}=e,a=Ko(e,Oi),s=Mn(r),l=function(e=8){if(e.mui)return e;const t=Zn({spacing:e}),r=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" "));return r.mui=!0,r}(n);let c=jn({breakpoints:s,direction:"ltr",components:{},palette:qo({mode:"light"},o),spacing:l,shape:qo({},On,i)},a);return c.applyStyles=Mi,c=t.reduce(((e,t)=>jn(e,t)),c),c.unstable_sxConfig=qo({},ji,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Si({sx:e,theme:this})},c}function Ei(t=null){const r=e.useContext($e);return r&&(o=r,0!==Object.keys(o).length)?r:t;var o}const Ri=$i();const Ii=e=>e,Ti=(()=>{let e=Ii;return{configure(t){e=t},generate:t=>e(t),reset(){e=Ii}}})(),Fi={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Li(e,t,r="Mui"){const o=Fi[t];return o?`${r}-${o}`:`${Ti.generate(e)}-${t}`}function Ai(e,t){const r=qo({},t);return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))r[o]=qo({},e[o],r[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const n=e[o]||{},i=t[o];r[o]={},i&&Object.keys(i)?n&&Object.keys(n)?(r[o]=qo({},i),Object.keys(n).forEach((e=>{r[o][e]=Ai(n[e],i[e])}))):r[o]=i:r[o]=n}else void 0===r[o]&&(r[o]=e[o])})),r}function _i(e){const{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?Ai(t.components[r].defaultProps,o):o}const Ni="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function Pi(t,r,o,n,i){const[a,s]=e.useState((()=>i&&o?o(t).matches:n?n(t).matches:r));return Ni((()=>{let e=!0;if(!o)return;const r=o(t),n=()=>{e&&s(r.matches)};return n(),r.addListener(n),()=>{e=!1,r.removeListener(n)}}),[t,o]),a}const Vi=e.useSyncExternalStore;function Di(t,r,o,n,i){const a=e.useCallback((()=>r),[r]),s=e.useMemo((()=>{if(i&&o)return()=>o(t).matches;if(null!==n){const{matches:e}=n(t);return()=>e}return a}),[a,t,n,i,o]),[l,c]=e.useMemo((()=>{if(null===o)return[a,()=>()=>{}];const e=o(t);return[()=>e.matches,t=>(e.addListener(t),()=>{e.removeListener(t)})]}),[a,o,t]);return Vi(c,l,s)}var Bi=Object.freeze({__proto__:null,default:function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}});const zi="exact-prop: ​";function Hi(e){return"production"===process.env.NODE_ENV?e:qo({},e,{[zi]:t=>{const r=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return r.length>0?new Error(`The following props are not supported: ${r.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}const Wi=e.createContext(null);function Zi(){const t=e.useContext(Wi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t}"production"!==process.env.NODE_ENV&&(Wi.displayName="ThemeContext");var Ui="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Gi(t){const{children:r,theme:o}=t,n=Zi();"production"!==process.env.NODE_ENV&&null===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 i=e.useMemo((()=>{const e=null===n?o:function(e,t){if("function"==typeof t){const r=t(e);return"production"!==process.env.NODE_ENV&&(r||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join("\n"))),r}return qo({},e,t)}(n,o);return null!=e&&(e[Ui]=null!==n),e}),[o,n]);return Ut.jsx(Wi.Provider,{value:i,children:r})}"production"!==process.env.NODE_ENV&&(Gi.propTypes={children:Cn.node,theme:Cn.oneOfType([Cn.object,Cn.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Gi.propTypes=Hi(Gi.propTypes));const qi=["value"],Ki=e.createContext();function Yi(e){let{value:t}=e,r=Ko(e,qi);return Ut.jsx(Ki.Provider,qo({value:null==t||t},r))}"production"!==process.env.NODE_ENV&&(Yi.propTypes={children:Cn.node,value:Cn.bool});const Xi=e.createContext(void 0);function Ji({value:e,children:t}){return Ut.jsx(Xi.Provider,{value:e,children:t})}"production"!==process.env.NODE_ENV&&(Ji.propTypes={children:Cn.node,value:Cn.object});const Qi={};function ea(t,r,o,n=!1){return e.useMemo((()=>{const e=t&&r[t]||r;if("function"==typeof o){const i=o(e),a=t?qo({},r,{[t]:i}):i;return n?()=>a:a}return qo({},r,t?{[t]:o}:o)}),[t,r,o,n])}function ta(e){const{children:t,theme:r,themeId:o}=e,n=Ei(Qi),i=Zi()||Qi;"production"!==process.env.NODE_ENV&&(null===n&&"function"==typeof r||o&&n&&!n[o]&&"function"==typeof r)&&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=ea(o,n,r),s=ea(o,i,r,!0),l="rtl"===a.direction;return Ut.jsx(Gi,{theme:s,children:Ut.jsx($e.Provider,{value:a,children:Ut.jsx(Yi,{value:l,children:Ut.jsx(Ji,{value:null==a?void 0:a.components,children:t})})})})}function ra(e,t){return qo({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}"production"!==process.env.NODE_ENV&&(ta.propTypes={children:Cn.node,theme:Cn.oneOfType([Cn.func,Cn.object]).isRequired,themeId:Cn.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(ta.propTypes=Hi(ta.propTypes));var oa,na={},ia={exports:{}};(oa=ia).exports=function(e){return e&&e.__esModule?e:{default:e}},oa.exports.__esModule=!0,oa.exports.default=oa.exports;var aa=ia.exports,sa=Dt(Uo),la=Dt(Bi),ca=aa;Object.defineProperty(na,"__esModule",{value:!0}),na.alpha=wa,na.blend=function(e,t,r,o=1){const n=(e,t)=>Math.round((e**(1/o)*(1-r)+t**(1/o)*r)**o),i=xa(e),a=xa(t),s=[n(i.values[0],a.values[0]),n(i.values[1],a.values[1]),n(i.values[2],a.values[2])];return ya({type:"rgb",values:s})},na.colorChannel=void 0;var ua=na.darken=ka;na.decomposeColor=xa,na.emphasize=Sa;var da=na.getContrastRatio=function(e,t){const r=Ca(e),o=Ca(t);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)};na.getLuminance=Ca,na.hexToRgb=ga,na.hslToRgb=va;var pa=na.lighten=ja;na.private_safeAlpha=function(e,t,r){try{return wa(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},na.private_safeColorChannel=void 0,na.private_safeDarken=function(e,t,r){try{return ka(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},na.private_safeEmphasize=function(e,t,r){try{return Sa(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},na.private_safeLighten=function(e,t,r){try{return ja(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},na.recomposeColor=ya,na.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=xa(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var ma=ca(sa),fa=ca(la);function ha(e,t=0,r=1){return"production"!==process.env.NODE_ENV&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,fa.default)(e,t,r)}function ga(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function xa(e){if(e.type)return e;if("#"===e.charAt(0))return xa(ga(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,ma.default)(9,e));let o,n=e.substring(t+1,e.length-1);if("color"===r){if(n=n.split(" "),o=n.shift(),4===n.length&&"/"===n[3].charAt(0)&&(n[3]=n[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${o}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,ma.default)(10,o))}else n=n.split(",");return n=n.map((e=>parseFloat(e))),{type:r,values:n,colorSpace:o}}const ba=e=>{const t=xa(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};na.colorChannel=ba;function ya(e){const{type:t,colorSpace:r}=e;let{values:o}=e;return-1!==t.indexOf("rgb")?o=o.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),o=-1!==t.indexOf("color")?`${r} ${o.join(" ")}`:`${o.join(", ")}`,`${t}(${o})`}function va(e){e=xa(e);const{values:t}=e,r=t[0],o=t[1]/100,n=t[2]/100,i=o*Math.min(n,1-n),a=(e,t=(e+r/30)%12)=>n-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ya({type:s,values:l})}function Ca(e){let t="hsl"===(e=xa(e)).type||"hsla"===e.type?xa(va(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function wa(e,t){return e=xa(e),t=ha(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ya(e)}function ka(e,t){if(e=xa(e),t=ha(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ya(e)}function ja(e,t){if(e=xa(e),t=ha(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ya(e)}function Sa(e,t=.15){return Ca(e)>.5?ka(e,t):ja(e,t)}na.private_safeColorChannel=(e,t)=>{try{return ba(e)}catch(r){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};const Ma={black:"#000",white:"#fff"},Oa={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},$a="#f3e5f5",Ea="#ce93d8",Ra="#ba68c8",Ia="#ab47bc",Ta="#9c27b0",Fa="#7b1fa2",La="#e57373",Aa="#ef5350",_a="#f44336",Na="#d32f2f",Pa="#c62828",Va="#ffb74d",Da="#ffa726",Ba="#ff9800",za="#f57c00",Ha="#e65100",Wa="#e3f2fd",Za="#90caf9",Ua="#42a5f5",Ga="#1976d2",qa="#1565c0",Ka="#4fc3f7",Ya="#29b6f6",Xa="#03a9f4",Ja="#0288d1",Qa="#01579b",es="#81c784",ts="#66bb6a",rs="#4caf50",os="#388e3c",ns="#2e7d32",is="#1b5e20",as=["mode","contrastThreshold","tonalOffset"],ss={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ma.white,default:Ma.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ls={text:{primary:Ma.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ma.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function cs(e,t,r,o){const n=o.light||o,i=o.dark||1.5*o;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=pa(e.main,n):"dark"===t&&(e.dark=ua(e.main,i)))}function us(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2}=e,n=Ko(e,as),i=e.primary||function(e="light"){return"dark"===e?{main:Za,light:Wa,dark:Ua}:{main:Ga,light:Ua,dark:qa}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ea,light:$a,dark:Ia}:{main:Ta,light:Ra,dark:Fa}}(t),s=e.error||function(e="light"){return"dark"===e?{main:_a,light:La,dark:Na}:{main:Na,light:Aa,dark:Pa}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Ya,light:Ka,dark:Ja}:{main:Ja,light:Xa,dark:Qa}}(t),c=e.success||function(e="light"){return"dark"===e?{main:ts,light:es,dark:os}:{main:ns,light:rs,dark:is}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Da,light:Va,dark:za}:{main:"#ed6c02",light:Ba,dark:Ha}}(t);function d(e){const t=da(e,ls.text.primary)>=r?ls.text.primary:ss.text.primary;if("production"!==process.env.NODE_ENV){const r=da(e,t);r<3&&console.error([`MUI: The contrast ratio of ${r}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:r=500,lightShade:n=300,darkShade:i=700})=>{if(!(e=qo({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${r}\` property.`:Zo(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Zo(12,t?` (${t})`:"",JSON.stringify(e.main)));return cs(e,"light",n,o),cs(e,"dark",i,o),e.contrastText||(e.contrastText=d(e.main)),e},m={dark:ls,light:ss};"production"!==process.env.NODE_ENV&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return jn(qo({common:qo({},Ma),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:Oa,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:o},m[t]),n)}const ds=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const ps={textTransform:"uppercase"},ms='"Roboto", "Helvetica", "Arial", sans-serif';function fs(e,t){const r="function"==typeof t?t(e):t,{fontFamily:o=ms,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=r,p=Ko(r,ds);"production"!==process.env.NODE_ENV&&("number"!=typeof n&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=n/14,f=d||(e=>e/c*m+"rem"),h=(e,t,r,n,i)=>{return qo({fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:r},o===ms?{letterSpacing:(a=n/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},g={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,ps),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,ps),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return jn(qo({htmlFontSize:c,pxToRem:f,fontFamily:o,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function hs(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const gs=["none",hs(0,2,1,-1,0,1,1,0,0,1,3,0),hs(0,3,1,-2,0,2,2,0,0,1,5,0),hs(0,3,3,-2,0,3,4,0,0,1,8,0),hs(0,2,4,-1,0,4,5,0,0,1,10,0),hs(0,3,5,-1,0,5,8,0,0,1,14,0),hs(0,3,5,-1,0,6,10,0,0,1,18,0),hs(0,4,5,-2,0,7,10,1,0,2,16,1),hs(0,5,5,-3,0,8,10,1,0,3,14,2),hs(0,5,6,-3,0,9,12,1,0,3,16,2),hs(0,6,6,-3,0,10,14,1,0,4,18,3),hs(0,6,7,-4,0,11,15,1,0,4,20,3),hs(0,7,8,-4,0,12,17,2,0,5,22,4),hs(0,7,8,-4,0,13,19,2,0,5,24,4),hs(0,7,9,-4,0,14,21,2,0,5,26,4),hs(0,8,9,-5,0,15,22,2,0,6,28,5),hs(0,8,10,-5,0,16,24,2,0,6,30,5),hs(0,8,11,-5,0,17,26,2,0,6,32,5),hs(0,9,11,-5,0,18,28,2,0,7,34,6),hs(0,9,12,-6,0,19,29,2,0,7,36,6),hs(0,10,13,-6,0,20,31,3,0,8,38,7),hs(0,10,13,-6,0,21,33,3,0,8,40,7),hs(0,10,14,-6,0,22,35,3,0,8,42,7),hs(0,11,14,-7,0,23,36,3,0,9,44,8),hs(0,11,15,-7,0,24,38,3,0,9,46,8)],xs=["duration","easing","delay"],bs={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ys={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function vs(e){return`${Math.round(e)}ms`}function Cs(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function ws(e){const t=qo({},bs,e.easing),r=qo({},ys,e.duration);return qo({getAutoHeightDuration:Cs,create:(e=["all"],o={})=>{const{duration:n=r.standard,easing:i=t.easeInOut,delay:a=0}=o,s=Ko(o,xs);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,r=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),r(n)||t(n)||console.error(`MUI: Argument "duration" must be a number or a string but found ${n}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),r(a)||t(a)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof o&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof n?n:vs(n)} ${i} ${"string"==typeof a?a:vs(a)}`)).join(",")}},e,{easing:t,duration:r})}const ks={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},js=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Ss=function(e={},...t){const{mixins:r={},palette:o={},transitions:n={},typography:i={}}=e,a=Ko(e,js);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Zo(18));const s=us(o),l=$i(e);let c=jn(l,{mixins:ra(l.breakpoints,r),palette:s,shadows:gs.slice(),typography:fs(s,i),transitions:ws(n),zIndex:qo({},ks)});if(c=jn(c,a),c=t.reduce(((e,t)=>jn(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,r)=>{let o;for(o in t){const n=t[o];if(-1!==e.indexOf(o)&&Object.keys(n).length>0){if("production"!==process.env.NODE_ENV){const e=Li("",o);console.error([`MUI: The \`${r}\` component increases the CSS specificity of the \`${o}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:n}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[o]={}}}};Object.keys(c.components).forEach((e=>{const r=c.components[e].styleOverrides;r&&0===e.indexOf("Mui")&&t(r,e)}))}return c.unstable_sxConfig=qo({},ji,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Si({sx:e,theme:this})},c}();function Ms(){const t=function(e=Ri){return Ei(e)}(Ss);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t[Go]||t}const Os=["theme"];function $s(e){let{theme:t}=e,r=Ko(e,Os);const o=t[Go];return Ut.jsx(ta,qo({},r,{themeId:o?Go:void 0,theme:o||t}))}"production"!==process.env.NODE_ENV&&($s.propTypes={children:Cn.node,theme:Cn.oneOfType([Cn.object,Cn.func]).isRequired});const Es=()=>{const t=Ms();return[...t.breakpoints.keys].reduce(((r,o)=>{const n=function(t,r={}){const o=Ei(),n="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:i=!1,matchMedia:a=(n?window.matchMedia:null),ssrMatchMedia:s=null,noSsr:l=!1}=_i({name:"MuiUseMediaQuery",props:r,theme:o});"production"!==process.env.NODE_ENV&&"function"==typeof t&&null===o&&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(o):t;c=c.replace(/^@media( ?)/m,"");const u=(void 0!==Vi?Di:Pi)(c,i,a,s,l);return"production"!==process.env.NODE_ENV&&e.useDebugValue({query:c,match:u}),u}(t.breakpoints.up(o));return n?o:r}),null)??"sm"},Rs=({breakpoint:e})=>{const t=m(),r=Array.from({length:6},((e,t)=>t));return e||(e=Es()),Ut.jsxs(g,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[Ut.jsx(E,{sx:{background:t.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:Ut.jsx(w,{sx:{background:t.custom.palette.purple[300],display:"flex",flex:1},children:Ut.jsxs(F,{container:!0,spacing:2,children:[r.map((e=>Ut.jsx(F,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:Ut.jsx(w,{sx:{background:t.custom.palette.green[300],height:"100%"}})},`grid-1-${e}`))),r.map((e=>Ut.jsx(F,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:Ut.jsx(w,{sx:{background:t.custom.palette.green[300],height:"100%"}})},`grid-2-${e}`)))]})})}),!!e&&Ut.jsx(w,{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(Kr,{variation:"sm",component:"p",weight:"bold",children:e})})]})},Is=({children:e,...t})=>e,Ts=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),Fs=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}}}),Ls=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"}}),As=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"}}),_s=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Ns={xs:3*rr,sm:3.5*rr,md:4*rr,lg:5*rr,xl:6*rr},Ps=e=>({height:Ns[e],width:Ns[e]}),Vs={xs:2*rr,sm:2*rr,md:2*rr,lg:2.5*rr,xl:3*rr},Ds=e=>({height:Vs[e],width:Vs[e]}),Bs=y(_)((({theme:e,variation:t,shape:r="default",sizing:o})=>({boxSizing:"border-box",transition:"all 200ms ease",...r&&{..._s(r,e)},...o&&{...Ps(o)},"&.MuiIconButton-root":{..."default"===t&&{...Ts(e)},..."toggle"===t&&{...Fs(e)},..."outlined"===t&&{...Ls(e)},..."raised"===t&&{...As(e)},...r&&{..._s(r,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":{...o&&{...Ds(o)},position:"relative",zIndex:1}}))),zs=({icon:e,loading:t,sizing:r,...o})=>Ut.jsx(Bs,{...o,sizing:r,children:t?Ut.jsx(go,{sizing:r}):e}),Hs=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}}),Ws=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}}),Zs=y(N)((({theme:e,variation:t,orientation:r="horizontal",iconColor:o,sizing:n="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Ts(e)},..."toggle"===t&&{...Fs(e)},..."vertical"===r&&{...Hs(e)},..."horizontal"===r&&{...Ws(e)},...n&&{...Ps(n)}},"& .MuiSvgIcon-root":{...n&&{...Ds(n)},fill:o||"inherit"}}}))),Us=({ButtonGroupProps:e,children:t,...r})=>Ut.jsx(Zs,{...r,...e,children:t}),Gs=({sx:e,...t})=>Ut.jsx(To,{...t,sx:Oe({fontSize:{xs:ro.sm.body.md,sm:ro.sm.body.md,md:ro.sm.body.md,lg:ro.lg.body.md,xl:ro.lg.body.md}},!!e&&{...e})}),qs=y(w)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:Xt,borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${Xt}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:Xt,borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${Xt}px)`}}}}}))),Ks=({children:e,width:t})=>Ut.jsx(qs,{sx:{width:t},children:e}),Ys=y(Fo)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Xs=({disabled:e,children:t})=>Ut.jsx(Ys,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),Js=y(No)((()=>({marginRight:0}))),Qs=y(w)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:Kt,width:`calc(50% - ${Qt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:Kt,width:`calc(50% - ${Qt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),el=e=>Ut.jsx(Qs,{sx:{textAlign:"center",position:"relative"},children:Ut.jsx(Js,{...e})}),tl=({options:e=[],disabled:t=!1,sizing:r="lg",onChange:o,internalChange:n,value:i})=>{const a=m();function s(e){console.warn(e),o(e.value),n&&n()}return Ut.jsx(w,{children:Ut.jsx(Ks,{children:Ut.jsx(F,{container:!0,justifyContent:"space-between",children:e.map((e=>Ut.jsxs(F,{item:!0,sm:!0,onClick:()=>s(e),sx:{cursor:"pointer",textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{backgroundColor:a.custom.palette.interaction.hover}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{backgroundColor:a.custom.palette.input.default,borderColor:a.custom.palette.stroke.focus,boxShadow:a.custom.boxShadow.input.focus,"&:before":{backgroundColor:a.custom.palette.interaction.press},"&.Mui-checked":{backgroundColor:a.custom.palette.purple[500]}}}},children:[Ut.jsx(el,{sizing:r,disabled:t,onChange:t=>s(e),checked:i===e.value},e.value),Ut.jsx(w,{sx:{mt:or.xs,width:"100%"},children:Ut.jsx(Xs,{disabled:t,children:e.label})})]},e.value)))})})})},rl=y(P)((({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}}}))),ol=e=>e.target&&"_blank"===e.target?Ut.jsx(rl,{rel:"noopener",...e}):Ut.jsx(rl,{...e}),nl=()=>Ut.jsx(w,{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})}),il=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"})}),al=r(((t,r)=>{const{decimalSeparator:o,thousandSeparator:n,value:i,...a}=t,s=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=e.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(Ee,{...a,value:i??"",getInputRef:r,thousandSeparator:n??s,decimalSeparator:o??l})})),sl=({disabled:e=!1,InputProps:t,inputProps:r,placeholder:n,hideActionButtons:i=!1,max:a=1/0,min:s=-1/0,startAdornment:l,endAdornment:c,internalChange:u,numericFormatProps:d,onChange:p,step:f=1,value:h,...x})=>{const b=m(),[y,v]=o(h),C=y,w=e=>{v(e),p&&p(e),u&&u()},k=()=>{const e=(null==C||Number.isNaN(C)?0:C)+f;e>a||w(e)},j=()=>{const e=(null==C||Number.isNaN(C)?0:C)-f;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!==f?f:void 0,onKeyDown:e=>{"ArrowUp"===e.key?k():"ArrowDown"===e.key&&j()},onValueChange:({floatValue:e})=>{e!==C&&w(e)},value:C,...d};return Ut.jsx(jo,{placeholder:n,sx:{height:er,"& .MuiOutlinedInput-input":{pl:l?1:2,pr:l?1:2}},...x,value:C??"",disabled:e,InputProps:{...t,inputComponent:al,startAdornment:l?Ut.jsx(M,{position:"start",sx:{pl:1},children:l}):null,endAdornment:!i&&Ut.jsxs(g,{gap:b.custom.margin.sm,sx:{position:"absolute",top:0,right:0,height:"100%",alignItems:"center"},direction:"row",children:[c&&c,Ut.jsxs(g,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${b.custom.palette.stroke.default}`},children:[Ut.jsx(V,{onClick:()=>k(),sx:{flex:1,borderTopRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:Ut.jsx(ve,{fontSize:"inherit"})}),Ut.jsx(D,{}),Ut.jsx(V,{onClick:()=>j(),sx:{flex:1,borderBottomRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:Ut.jsx(Ce,{fontSize:"inherit"})})]})]})},inputProps:{...r,...S}})};const ll=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},cl=(e,t,r)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===r?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"===r?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===r?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},ul=y(B)((({theme:e,variation:t,weight:r})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...cl(e,t,r),"& .MuiChip-label":{fontSize:`${ro.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...ll(0,r)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...cl(e,t,r),...ll(0,r)}}))),dl=({body:e,maxWidth:t,...r})=>Ut.jsx(ul,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...r});var pl=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=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,r),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 r=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{r.insertRule(e,r.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 ml="undefined"!=typeof document,fl=function(e,t,r){for(var o=0,n=0;o=n,n=et(),38===o&&12===n&&(t[r]=1),!Je(n);)Xe();return rt(e,ot)},hl=function(e,t){return Ze(function(e,t){var r=-1,o=44;do{switch(Je(o)){case 0:38===o&&12===et()&&(t[r]=1),e[r]+=fl(ot-1,t,r);break;case 2:e[r]+=tt(o);break;case 4:if(44===o){e[++r]=58===et()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Qe(o)}}while(o=Xe());return e}(Ue(e),t))},gl=new WeakMap,xl=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,o=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||gl.get(r))&&!o){gl.set(e,!0);for(var n=[],i=hl(t,n),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=n[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},bl=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function yl(e,t){switch(Ge(e,t)){case 5103:return Ve+"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 Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+De+e+Be+e+e;case 6828:case 4268:return Ve+e+Be+e+e;case 6165:return Ve+e+Be+"flex-"+e+e;case 5187:return Ve+e+Pe(e,/(\w+).+(:[^]+)/,Ve+"box-$1$2"+Be+"flex-$1$2")+e;case 5443:return Ve+e+Be+"flex-item-"+Pe(e,/flex-|-self/,"")+e;case 4675:return Ve+e+Be+"flex-line-pack"+Pe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+Be+Pe(e,"shrink","negative")+e;case 5292:return Ve+e+Be+Pe(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+Pe(e,"-grow","")+Ve+e+Be+Pe(e,"grow","positive")+e;case 4554:return Ve+Pe(e,/([^-])(transform)/g,"$1"+Ve+"$2")+e;case 6187:return Pe(Pe(Pe(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return Pe(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return Pe(Pe(e,/(.+:)(flex-)?(.*)/,Ve+"box-pack:$3"+Be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return Pe(e,/(.+)-inline(.+)/,Ve+"$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(Ke(e)-1-t>6)switch(qe(e,t+1)){case 109:if(45!==qe(e,t+4))break;case 102:return Pe(e,/(.+:)(.+)-([^]+)/,"$1"+Ve+"$2-$3$1"+De+(108==qe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ye(e,"stretch")?yl(Pe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==qe(e,t+1))break;case 6444:switch(qe(e,Ke(e)-3-(~Ye(e,"!important")&&10))){case 107:return Pe(e,":",":"+Ve)+e;case 101:return Pe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(45===qe(e,14)?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+Be+"$2box$3")+e}break;case 5936:switch(qe(e,t+11)){case 114:return Ve+e+Be+Pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+Be+Pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+Be+Pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+Be+e+e}return e}var vl,Cl,wl=ml?void 0:(vl=function(){return e=function(){return{}},t=Object.create(null),function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]};var e,t},Cl=new WeakMap,function(e){if(Cl.has(e))return Cl.get(e);var t=vl(e);return Cl.set(e,t),t}),kl=[function(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case He:e.return=yl(e.value,e.length);break;case ze:return _e([Ne(e,{value:Pe(e.value,"@","@"+Ve)})],o);case Fe:if(e.length)return Le(e.props,(function(t){switch(Ae(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _e([Ne(e,{props:[Pe(t,/:(read-\w+)/,":"+De+"$1")]})],o);case"::placeholder":return _e([Ne(e,{props:[Pe(t,/:(plac\w+)/,":"+Ve+"input-$1")]}),Ne(e,{props:[Pe(t,/:(plac\w+)/,":"+De+"$1")]}),Ne(e,{props:[Pe(t,/:(plac\w+)/,Be+"input-$1")]})],o)}return""}))}}],jl=function(e){var t=e.key;if(ml&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,n,i=e.stylisPlugins||kl,a={},s=[];ml&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)})));var l=[xl,bl];if(wl){var c=[Re],u=Te(l.concat(i,c)),d=wl(i)(t),p=function(e,t){var r,o=t.name;return void 0===d[o]&&(d[o]=(r=e?e+"{"+t.styles+"}":t.styles,_e(We(r),u))),d[o]};n=function(e,t,r,o){var n=t.name,i=p(e,t);return void 0===g.compat?(o&&(g.inserted[n]=!0),i):o?void(g.inserted[n]=i):i}}else{var m,f=[Re,Ie((function(e){m.insert(e)}))],h=Te(l.concat(i,f));n=function(e,t,r,o){var n;m=r,n=e?e+"{"+t.styles+"}":t.styles,_e(We(n),h),o&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new pl({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:n};return g.sheet.hydrate(s),g};const Sl=y("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),Ml=e=>{const[t,r]=o(null),n=t?.contentWindow?.document?.body,i=jl({key:"css",container:t?.contentWindow?.document?.head,prepend:!0});return Ut.jsx(Sl,{ref:r,children:n&&at(Ut.jsx(it,{value:i,children:e.children}),n)})},Ol=()=>Ut.jsxs(g,{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"})})})]})]}),$l=({options:e,onChange:t,other:r,value:i,internalChange:a,...s})=>{const l=r?.enabled,c="other-option",u=`${c}-value-`,[d,p]=o(i),[m,f]=o(!1);n((()=>{!m&&d?.includes(u)?f(!0):m&&f(!1)}),[d]);return Ut.jsxs(Ut.Fragment,{children:[Ut.jsxs(T,{...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,r)=>{t&&t(r),p(r),a&&a()},children:[e?e.map(((e,t)=>Ut.jsx(vo,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:Ut.jsx(No,{})},t))):null,l&&Ut.jsx(vo,{label:r?.label||"Other",value:u,control:Ut.jsx(No,{checked:d?.includes(u)})},c)]}),m&&Ut.jsx(w,{sx:{mt:1},children:Ut.jsx(So,{fullWidth:!0,autoFocus:!0,placeholder:r?.placeholder,defaultValue:d?.replace(u,""),onChange:e=>{var r;t&&t((r=e.target.value,`${u}${r}`)),a&&a()},required:!0})})]})},El=({handleSelectAll:e,isIndeterminate:t,isAllSelected:r,sizing:i})=>{const[a,s]=o(!1),l=m();return n((()=>{r&&s(r)}),[r]),Ut.jsxs(g,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:t=>{const r=!a;s(r),e(t,r)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[Ut.jsx(z,{sx:{cursor:"pointer",fontSize:()=>i&&no[i]},children:"Select all"}),Ut.jsx(wo,{sizing:"default",indeterminate:t,checked:a})]})},Rl=r((({children:e,handleSelectAll:t,showSelectAll:r,value:o=[],selections:n,sizing:i,...a},s)=>{const l=Array.isArray(o)&&o.length===n.length,c=Array.isArray(o)&&o.length>0&&o.length<n.length;return Ut.jsxs("ul",{ref:s,...a,children:[r&&Ut.jsx(El,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),Il="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",Tl=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},Fl=(e,t)=>({"& .MuiTypography-root":{height:Tl(t),fontSize:no[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)}}),Ll=e=>({fontSize:`${ro.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(nr.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"}}),Al=(e,t)=>{switch(t){case"lg":return{height:Tl(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.lg,height:ur.lg,top:`calc(50% - ${ur.lg/2}px)`}};case"md":return{height:Tl(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.md,height:ur.md,top:`calc(50% - ${ur.md/2}px)`}};case"xs":return{height:Tl(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.xs,height:ur.xs,top:`calc(50% - ${ur.xs/2}px)`}};default:return{height:Tl("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.lg,height:ur.lg,top:`calc(50% - ${ur.lg/2}px)`}}}},_l=e=>({position:"relative",fontSize:`${ro.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:ur.xl,height:ur.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),Nl=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:Il}}}}),Pl=y(H)((({theme:e,sizing:t,value:r})=>({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:ur[t],height:ur[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*rr+"px":3*rr+"px"},paddingTop:0,paddingBottom:0,paddingLeft:r&&Array.isArray(r)&&r.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:no[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*rr+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*rr+"px":3*rr+"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)}`}}}))),Vl=y(B)((({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}}}))),Dl=y(S)((({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"}}))),Bl=y(W)((({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:Il,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${Z.listbox}`]:{overflowX:"hidden",[`& .${Z.option}`]:{fontSize:no[t],...t&&{height:"lg"===t?5*rr+"px":4*rr+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),zl=e=>Ut.jsx(Bl,{...e}),Hl=({selections:e,disableClearable:t=!1,disabled:n,internalChange:i,multiple:a=!0,onChange:s,placeholder:l="",renderListItem:c,sizing:u="lg",value:d=(a?[]:"")})=>{const[p,m]=o(e.filter((e=>d.includes(e?.value)))),f=(t,r)=>{if(s){const o=r?e.map((({value:e})=>e)):[];m(r?e:[]),s(t,o,"selectOption"),i&&i()}},h=e=>null!==e&&(!Array.isArray(e)||e.length>0);return Ut.jsx(Pl,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:Ut.jsx(we,{}),sizing:u,disabled:n,disableClearable:t,autoComplete:!0,multiple:a,renderInput:e=>Ut.jsx(Dl,{...e,placeholder:h(p)?void 0:l,sizing:u}),options:e,renderTags:(e,t)=>e.map(((e,r)=>{const{key:o,...n}=t({index:r});return Ut.jsx(Vl,{sizing:u,deleteIcon:Ut.jsx(ke,{fontSize:"small"}),label:e.label,...n},o)})),onChange:(e,t,r)=>{const o=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;m(t),s?.(e,o,r),i?.()},PopperComponent:e=>Ut.jsx(zl,{...e,sizing:u}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:r})=>{const{key:o,...n}=e;return Ut.jsxs("li",{...n,children:[Ut.jsx("span",{children:c?c(t.value,t.label):t.label}),Ut.jsx(ge,{sx:{visibility:r?"visible":"hidden",fontSize:"16px"}})]},o)},ListboxComponent:r(((t,r)=>Ut.jsx(Rl,{ref:r,...t,showSelectAll:a,handleSelectAll:f,value:p,selections:e,sizing:u}))),value:p})},Wl=y(A)((({theme:e})=>({...{..._l(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}}}))),Zl=({children:e,selected:t,...r})=>Ut.jsx(Wl,{...r,children:Ut.jsxs(w,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[Ut.jsx(w,{children:e}),t&&Ut.jsx(ge,{})]})}),Ul=y(U)((({theme:e,sizing:t})=>({...{...Ll(e)},...t&&{...Al(e,t)},...t&&{...Fl(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}}}))),Gl=({selections:e,autoComplete:t=!1,disabled:r=!1,disablePortal:o=!1,inputRef:n,internalChange:i,multi:a=!0,onChange:s,placeholder:l="",selectOptionProps:c,sizing:u="lg",sx:d,value:p=[],renderListItem:f,...h})=>{const g=m(),x=Es();return t?Ut.jsx(Hl,{selections:e,placeholder:l,disabled:r,sizing:u,onChange:(e,t)=>{s&&s(t||""),i&&i()},value:Array.isArray(p)?p??[]:p??"",internalChange:i,renderListItem:f,multiple:a}):Ut.jsxs(Ul,{sizing:u,inputRef:n,MenuProps:{disablePortal:o,sx:Nl,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:we,renderValue:t=>l&&!t?Ut.jsx(Kr,{component:"p",variation:"sm"===x||"md"===x?"sm":"lg",sx:{color:g.custom.palette.text.placeholder},children:l}):Ut.jsx(Kr,{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,...h,children:[""!==l.trim()&&Ut.jsx(Zl,{disabled:!0,value:"","aria-label":"placeholder",children:l},"placeholder"),e?.map((({value:e,label:t})=>Ut.jsx(Zl,{value:e,...c,children:f?f(e,t):t},e)))]})},ql=y(w)((({theme:e,disabled:t,fullWidth:r})=>({width:r?"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"}}}))),Kl=y(Gs)((({theme:e})=>({fontSize:ro.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Yl=({label:e="Placeholder",disabled:t,onChange:r,options:o,fullWidth:n})=>{const i=m(),a=o.map((e=>e.label)).indexOf(e);return Ut.jsx(ql,{disabled:t,fullWidth:n,children:Ut.jsxs(g,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[Ut.jsxs(w,{display:"flex",alignItems:"center",sx:{"& svg":{fill:i.custom.palette.icon.secondary}},children:[Ut.jsx(je,{sx:{width:ur.lg,height:ur.lg,mr:i.custom.padding.sm}}),Ut.jsx(Kl,{align:"left",disabled:t,children:e})]}),Ut.jsx(Gl,{name:"rank",sizing:"xs",selections:o.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:t,value:`${a}`,onChange:function(e){const t=a,n=Number(e.target.value),i=o;let s=1;const l=i.splice(t,s)[0];s=0,i.splice(n,s,l),r(i)},MenuProps:{anchorOrigin:{vertical:Qt,horizontal:"center"}}})]})})},Xl=i({attributes:{},listeners:void 0,ref(){}}),Jl=e=>xt({...e,wasDragging:!0});function Ql({children:e,top:t,bottom:r,id:o}){const{attributes:n,isDragging:i,listeners:s,setNodeRef:l,setActivatorNodeRef:c,transform:u,transition:d}=gt({id:o,animateLayoutChanges:Jl}),p=a((()=>({attributes:n,listeners:s,ref:c})),[n,s,c]),m={opacity:i?.4:void 0,transform:kt.Translate.toString(u),transition:d};return Ut.jsx(Xl.Provider,{value:p,children:Ut.jsxs(g,{className:"SortableItem",...n,sx:{position:"relative",...m,width:"100%"},ref:l,children:[t&&t,Ut.jsx(w,{...s,sx:{display:"flex",cursor:"grab"},children:e}),r&&r]})})}const ec={sideEffects:st({styles:{active:{opacity:"0.4"}}})};function tc({children:e}){return at(Ut.jsx(lt,{zIndex:999999,dropAnimation:ec,children:e}),document.body)}const rc=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class oc extends ft{static activators=[{eventName:"onMouseDown",handler:rc}]}class nc extends ht{static activators=[{eventName:"onTouchStart",handler:rc}]}function ic({items:e,onChange:t,renderItem:r,disabled:n,direction:i}){if(!e)return;const[s,c]=o(null),u=a((()=>e.find((e=>e?.id===s?.id))),[s,e]),d=m(),p=G(d.breakpoints.down("md")),f=ct(ut(oc,{activationConstraint:{distance:5}}),ut(nc,{activationConstraint:{delay:p?300:0,tolerance:8}}),ut(dt,{coordinateGetter:bt}));return Ut.jsxs(pt,{measuring:{droppable:{strategy:mt.Always}},sensors:f,onDragStart:({active:e})=>{c(e)},onDragEnd:({active:r,over:o})=>{if(o&&r.id!==o?.id){const n=e.findIndex((({id:e})=>e===r.id)),i=e.findIndex((({id:e})=>e===o.id));t(yt(e,n,i))}c(null)},onDragCancel:()=>{c(null)},children:[Ut.jsx(vt,{items:e,disabled:n,strategy:"horizontal"===i?Ct:wt,children:Ut.jsx(g,{sx:{..."horizontal"===i&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:e.map((e=>Ut.jsx(l,{children:r(e)},e.id)))})}),Ut.jsx(tc,{children:u?r(u,!0,!!s):null})]})}ic.Item=Ql,ic.DragHandle=function(){const{attributes:e,listeners:t,ref:r}=s(Xl);return Ut.jsx(w,{...e,...t,ref:r,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 ac=({labelTop:e,labelBottom:t,disabled:r,fullWidth:n=!1,options:i,onChange:a,value:s,internalChange:l})=>{const c=m(),[u,d]=o(s||i);function p(e){d(e),a(e.map((({id:e})=>e))),l&&l()}return Ut.jsxs(g,{gap:c.custom.margin.sm,textAlign:"center",sx:{width:n?"100%":"auto"},children:[e&&Ut.jsx(Gs,{disabled:r,sx:{color:c.custom.palette.text.secondary},children:e}),Ut.jsx(ic,{onChange:function(e){d(e),a(e.map((({id:e})=>e))),l&&l()},items:u,direction:"vertical",renderItem:({...e})=>Ut.jsx(Ql,{id:e.id,children:Ut.jsx(Yl,{onChange:p,...e,options:u,disabled:r,selections:e.selections,fullWidth:n})})}),t&&Ut.jsx(Gs,{disabled:r,sx:{color:c.custom.palette.text.secondary},children:t})]})},sc=y(Mt)((({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)}}}))),lc=({onChange:e,value:t,internalChange:r,minWidth:o=100,minHeight:n=100,maxHeight:i,placeholder:a})=>{const s=c(null),l=m();return Ut.jsx(sc,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:n,minWidth:o,maxHeight:i}},ref:s,onUpdate:({editor:t})=>{e&&e(t.storage.markdown.getMarkdown()),r&&r()},extensions:[St.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),jt.configure({placeholder:a}),Et],content:t,renderControls:()=>Ut.jsxs(g,{gap:l.custom.margin.xs,direction:"row",children:[Ut.jsx(Ot,{component:zs,icon:Ut.jsx(Se,{}),sizing:"md"}),Ut.jsx($t,{component:zs,icon:Ut.jsx(Me,{}),sizing:"md"})]})})},cc=e=>({"& .MuiSlider-thumb":{width:Jt,height:Jt,backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:Kt,height:Kt,backgroundColor:e.custom.palette.icon.primaryInverted}}}),uc=e=>Array.isArray(e),dc=(e,t)=>({height:Yt,padding:`${Yt}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${Qt}px)`,left:`-${Xt}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&&uc(t)?`-${Yt+1}px`:`-${Xt+1}px`,width:`calc(100% + ${Xt}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:Kt,width:Kt,borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),pc=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:Kt,minWidth:Qt,"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${ro.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),mc=y(q)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${Qt}px)`,marginLeft:Qt/2,...{...dc(e,t)},...{...cc(e)},...{...pc(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}}}}))),fc=[1,2,5,10],hc=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const r=(t-e)/9;if(r<=1)return 1;const o=Math.floor(Math.log10(r)),n=r/Math.pow(10,o);return i=n,(fc.find((e=>i<=e))??fc[fc.length-1])*Math.pow(10,o);var i},gc=({labelLeft:e,labelMiddle:t,labelRight:r,labelRightProps:o,labelLeftProps:n,disabled:i,onChange:a,internalChange:s,max:l,min:c,step:u,...d})=>{const p=u??hc(c,l),m=((e,t,r)=>{const o=[];for(let n=e;n<=t;n+=r)o.push({value:n,label:n===e||n===t||n+r<=t?n.toString():void 0});return o[o.length-1].value!==t&&o.push({value:t,label:t.toString()}),o})(c,l,p);return Ut.jsxs(w,{sx:{minWidth:300},children:[Ut.jsx(w,{height:24,children:Ut.jsx(mc,{valueLabelDisplay:i?"on":"auto",disabled:i,marks:m,step:p,max:l,min:c,onChangeCommitted:()=>{s&&s()},onChange:(e,t,r)=>{a&&a(e,t,r)},...d})}),Ut.jsxs(w,{sx:{display:"flex",justifyContent:"space-between",pt:nr.lg,gap:1},children:[e&&Ut.jsx(w,{sx:{flex:1},children:Ut.jsx(Fo,{disabled:i,showicon:!1,...n,children:e})}),t&&Ut.jsx(w,{sx:{flex:1,textAlign:"center"},children:Ut.jsx(Fo,{showicon:!1,disabled:i,children:t})}),r&&Ut.jsx(w,{sx:{flex:1,textAlign:"right"},children:Ut.jsx(Fo,{...o,showicon:!1,disabled:i,children:r})})]})]})},xc=y(K)((({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}}}}))),bc=({internalChange:e,onChange:t,...r})=>Ut.jsx(xc,{...r,onChange:(r,o)=>{t&&t(r,o),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"})})}),yc=e=>({boxShadow:e.custom.elevation.raised}),vc=e=>({boxShadow:e.custom.elevation.overlay}),Cc=(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}},wc=(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)}},kc=y(Y)((({theme:e,variation:t="default",borderradius:r})=>({boxShadow:"unset",borderRadius:wc(e,r),background:Cc(t,e),..."overlay"===t&&{...vc(e)},..."raised"===t&&{...yc(e)}}))),jc=y((e=>Ut.jsx(X,{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})}}))),Sc=y(jo)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:er,alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:ur.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),Mc=({startAdornment:e,endAdornment:t,onChange:r,internalChange:o,inputRef:n,...i})=>Ut.jsx(Sc,{multiline:!0,inputRef:n,InputProps:{startAdornment:e?Ut.jsx(M,{position:"start",children:e}):null,endAdornment:t?Ut.jsx(M,{position:"start",children:t}):null},onChange:e=>{r&&r(e),o&&o()},...i}),Oc=({typographyProps:e,text:t,sx:r})=>{const o=m();return Ut.jsx(w,{sx:Oe(r,{width:"100%",position:"relative",display:"flex",gap:4,my:o.spacing(o.custom.margin.md),"&:before":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:Ut.jsx(Kr,{align:"center",variation:"sm",component:"p",...e,children:t})})},$c=({buttons:e,message:t,status:r="neutral",variation:o="sm"})=>{const n=m();return Ut.jsx(g,{sx:{backgroundColor:n.custom.palette.surface.overlay,borderRadius:n.spacing(n.custom.radius.lg),boxShadow:n.custom.elevation.overlay,color:n.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:Ut.jsxs(w,{sx:{display:"flex",flex:1,flexDirection:"sm"===o?"row":"column",gap:2},children:[Ut.jsxs(w,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==r&&Ut.jsx(Ec,{status:r}),Ut.jsx(w,{sx:{display:"flex"},children:Ut.jsx(Kr,{variation:"md",component:"p",sx:{px:1,pt:.5},children:t})})]}),e&&Ut.jsx(w,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},Ec=({status:e})=>{const t=m();switch(e){case"neutral":return null;case"success":return Ut.jsx(Rc,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return Ut.jsx(Rc,{backgroundColor:t.custom.palette.yellow[500],name:"error-outline"});case"danger":return Ut.jsx(Rc,{backgroundColor:t.custom.palette.red[500],name:"warning-amber"});case"discover":return Ut.jsx(Rc,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},Rc=({backgroundColor:e,name:t})=>{const r=m();return Ut.jsx(w,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:Ut.jsx(w,{sx:{backgroundColor:e,borderRadius:r.custom.radius.round,color:r.custom.palette.white,display:"flex",p:.5},children:Ut.jsx(dr,{name:t,size:20})})})},Ic=({children:e,message:t,variation:r="primary"})=>{const o=m();if("primary"===r)return Ut.jsx(J,{componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:o.spacing(o.custom.radius.sm)}}}},title:t,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:Ut.jsx(w,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})};const Tc=(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}},Fc=(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}},Lc=y(Q)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${ee.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:Tc(t,e)}}))),Ac={translations:_t.translations,graphs:At.adjacencyGraphs,dictionary:{...At.dictionary,..._t.dictionary}};Ft.setOptions(Ac);const _c=({label:e="Strength",width:t=60,value:r,onChange:i})=>{const[a,s]=o(0),l=m();return n((()=>{s(Lt(r).score)}),[r]),n((()=>{i(a)}),[a]),Ut.jsxs(g,{direction:"row",gap:1,sx:{alignItems:"center"},children:[Ut.jsx(Kr,{variation:"sm",component:"p",children:e}),Ut.jsx(Lc,{variant:"determinate",value:0===a?6.6:25*a,score:a,sx:{width:t}}),Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:Fc(a,l)},children:["","Very weak","Weak","Strong","Excellent"][a]})]})},Nc=({helperText:e,inputName:t,errors:r,...o})=>{const n=Boolean(r&&r[t]);return n?Ut.jsx(Nt,{errors:r,name:t,render:({message:e})=>Ut.jsx(Fo,{showicon:!!e,state:"negative",children:e})}):e&&!n?Ut.jsx(Fo,{state:"default",...o,children:e}):null},Pc={textfield:So,numberfield:sl,textarea:Mc,select:Gl,checkbox:ko,checkboxGroup:Mo,slider:gc,starRating:bc,differential:Bo,likert:tl,radioGroup:$l,ranking:ac,richTextfield:lc},Vc=({name:e,fieldType:t,label:r,control:i,errors:a,labelProps:s,helperText:l,helpTextProps:c,validation:u,content:d,styleOverrides:p,defaultValue:f,onChange:h,watch:x,trigger:b,strengthIndicator:y,...v})=>{const{custom:C}=m(),w=void 0!==a&&Object.keys(a).length>0,[k,j]=o(0);return y&&n((()=>{k>0&&b(e)}),[k]),Ut.jsxs(g,{sx:p?.sxInputStack,gap:C.margin.sm,children:[r&&Ut.jsx(Gs,{...s,children:r}),"html"===t&&d?Ut.jsx(Is,{children:d}):Ut.jsxs(Ut.Fragment,{children:[Ut.jsx(Rt,{name:e,control:i,render:e=>function({field:{ref:e,...r}}){const o=Pc[t];return r.value||""===r.value||"false"===r.value?.toString()||0===parseInt(r.value)?Ut.jsx(o,{...v,...r,inputRef:e}):Ut.jsx("div",{})}({...e,field:{...e.field,value:e.field.value||f}}),rules:{...u,validate:e=>{if(u&&"phone"in u)return Tt(`+${x("extension")}${e}`)||u.phone.message;if(u&&"score"in u)return k<=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!=x(u.match.field)||u.match.message;case"gt":return e>x(u.match.field)||u.match.message;case"lt":return e<x(u.match.field)||u.match.message;default:return e===x(u.match.field)||u.match.message}}}}),y&&"password"===v?.type&&Ut.jsx(_c,{value:x(e),onChange:j})]}),Ut.jsxs(Ut.Fragment,{children:[Boolean(w)?Ut.jsx(Nc,{helperText:void 0,inputName:e,errors:a,showicon:!0}):null,Boolean(l)?Ut.jsx(Nc,{helperText:l,inputName:e,errors:void 0,...c}):null]})]})},Dc=e=>e.reduce(((e,t)=>({...e,[t?.name]:Bc(t,t?.defaultValue)})),{}),Bc=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:r}=e;return Array.isArray(t)?t:t||r}case"likert":case"radioGroup":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":return t||!1;case"ranking":{const{options:r}=e;return t?t.map((e=>r.find((({id:t})=>t===e)))):r}}},zc=r((({submitButton:e,secondaryButton:t,onFormSubmit:r,onFormChange:o,formConfig:i},s)=>{const{custom:l}=m(),{fields:c,reValidateMode:p,styleOverrides:f,autoComplete:h,formId:x,mode:b}=i,{reset:y,getValues:v,trigger:C,setValue:k,control:j,formState:{isValid:S,errors:M},setFocus:O,handleSubmit:$,watch:E}=It({mode:b||"onChange",reValidateMode:p,defaultValues:a((()=>Dc(c)),[]),shouldUnregister:!0});n((()=>{(function(e,t){const r=new Set(e),o=new Set(t);return e.every((e=>o.has(e)))&&t.every((e=>r.has(e)))})(c.map((({name:e})=>e)),Object.keys(v()))||c.forEach((e=>{"html"!==e.fieldType&&e.defaultValue&&k(e.name,Bc(e,e.defaultValue))}))}),[c]),n((()=>{y(Dc(c))}),[x]),u(s,(()=>({set(e,t){k(e,t)},resetForm(){y()},focus(e){O(e)},submit(){r&&$(r)()},values:()=>v(),valid:()=>S,errors:()=>M,async triggerFormValidation(){await C()}})));const R=()=>{o&&o(v())};return Ut.jsxs(w,{component:"form",autoComplete:h,noValidate:!0,sx:f?.sxForm,...r&&{onSubmit:$(r)},children:[Ut.jsx(g,{gap:l.margin.md,sx:f?.sxStack,children:c.map((({name:e,...t})=>d(Vc,{...o&&{internalChange:R},name:e,key:e,errors:M,control:j,watch:E,trigger:C,...t,defaultValue:Dc(c)[e]})))}),(t||e)&&Ut.jsxs(g,{direction:"row",sx:f?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[t&&t,e&&e]})]})})),Hc={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},Wc=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},Zc=(e,t,r)=>({maxLength:{value:r||255,message:`Maximum character limit of ${r||255}.`},...t&&{required:e?`Please enter ${Wc(e)} ${e}`:"This field is required"}}),Uc=Zc().maxLength.value,Gc=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"}}),qc=({children:e,headContent:t,sx:r,...o})=>{const n=m();return Ut.jsxs(kc,{sx:{mx:[n.spacing(n.custom.margin.md),0],width:1,maxWidth:[512]},...o,children:[t&&Ut.jsx(w,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:n.spacing(n.custom.margin.md),px:n.spacing(n.custom.margin.md)},children:t}),Ut.jsx(w,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:t?[n.spacing(n.custom.margin.md)]:[n.spacing(n.custom.padding.lg),n.spacing(n.custom.padding.xl)],px:[n.spacing(n.custom.padding.lg),n.spacing(n.custom.padding.xl)],pb:[n.spacing(n.custom.padding.lg),n.spacing(n.custom.padding.xl)]},children:e})]})},Kc=({body:e,currency:t,changeCurrencyEvent:r=()=>{},frequency:o,heading:n,setCurrency:i=()=>{},setFrequency:a=()=>{},togglePayAnnuallyEvent:s=()=>{}})=>{const l=m(),c=Es(),u=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return Ut.jsxs(w,{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(w,{sx:{alignItems:"center",display:"flex",gap:1},children:[Ut.jsx(jc,{defaultChecked:!0,onChange:()=>(s(),void a("monthly"===o?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==o,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"}}),Ut.jsxs(g,{sx:{alignItems:"flex-start",display:"flex"},children:[Ut.jsx(Kr,{variation:"sm"===c||"md"===c?"md":"xxl",component:"p",children:n}),Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:l.custom.palette.text.secondary},children:e})]})]}),Ut.jsx(Gl,{name:"currency",onChange:e=>{return t=e.target.value,r(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:er}}})]})};var Yc={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 Xc=({currencySymbol:e,data:t,starterPrice:r,starterRespondentPrice:o,teamPrice:n,teamRespondentPrice:i,plusPrice:a,plusRespondentPrice:s,scalePrice:l,scaleRespondentPrice:c,variation:u="default"})=>{const d=m();t||(t=Yc);const p=Object.values(t.headings).map((({heading:t,pricing:o})=>({heading:t,pricing:o.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",r).replace("{{teamPrice}}",n).replace("{{plusPrice}}",a).replace("{{scalePrice}}",l)}))),f=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",o||"").replace("{{teamRespondentPrice}}",i||"").replace("{{plusRespondentPrice}}",s||"").replace("{{scaleRespondentPrice}}",c||""),h=[...Object.values(t.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:f(e.starter),team:f(e.team),plus:f(e.plus),scale:f(e.scale)})))];return Ut.jsxs(g,{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(w,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[Ut.jsx(w,{sx:{width:160}}),p.map((({heading:e,pricing:t})=>Ut.jsxs(g,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[Ut.jsx(Kr,{variation:"platform"===u?"lg":"xxl",component:"p",weight:"bold",children:e}),Ut.jsx(Kr,{variation:"platform"===u?"sm":"md",component:"p",sx:{color:d.custom.palette.text.secondary},children:t})]},e)))]}),h.map((e=>Ut.jsxs(w,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:d.custom.palette.surface.sunken}},children:[Ut.jsx(w,{sx:{display:"flex",alignItems:"center",width:160},children:Ut.jsxs(w,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&Ut.jsx(Ic,{message:e.name.description,children:Ut.jsx(w,{sx:{alignItems:"center",color:d.custom.palette.icon.secondary,display:"flex"},children:Ut.jsx(dr,{name:"info",size:24})})}),Ut.jsx(Kr,{variation:"platform"===u?"md":"lg",component:"p",children:e.name.heading})]})}),Ut.jsx(Jc,{text:e.starter}),Ut.jsx(Jc,{text:e.team}),Ut.jsx(Jc,{text:e.plus}),Ut.jsx(Jc,{text:e.scale})]},e.key)))]})},Jc=({text:e})=>{const t=m(),r="{{tick}}"===e,o="{{dash}}"===e;return Ut.jsx(w,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:Ut.jsxs(w,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[r&&Ut.jsx(dr,{name:"check",size:24}),o&&Ut.jsx(dr,{name:"dash",size:24}),!r&&!o&&Ut.jsx(Kr,{variation:"lg",component:"p",sx:{color:t.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:Ut.jsx(Ut.Fragment,{children:e})})]})})},Qc=()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[r,i]=o(t);return n((()=>{if(e)return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r);function r(){p((()=>{i(t())}))}}),[]),r},eu=({amount:e,billingType:t,body:r,ctaEvent:i=()=>{},ctaLink:a="#",ctaTarget:s="_self",ctaText:l,ctaVariation:u="primary",currencySymbol:d,currentPlan:f,features:h=[],freeTrialLength:x,freeTrialText:b,frequency:y,heading:v,label:C,largestHeaderHeight:k=0,perMonth:j,setLargestHeaderHeight:S=()=>{},variation:M="default"})=>{const O=m(),$=Es(),{width:E}=Qc(),R=c(null),[I,T]=o("sm");return n((()=>{p((()=>{T($),$!==I&&S(0),R.current&&R.current.offsetHeight>k&&S(R.current.offsetHeight)}))}),[$,I,E]),Ut.jsxs(g,{sx:{display:"flex",flex:1,position:"relative"},children:[Ut.jsx(g,{sx:{alignItems:"center",backgroundColor:O.custom.palette.icon.primary,borderTopLeftRadius:O.spacing(O.custom.radius.lg),borderTopRightRadius:O.spacing(O.custom.radius.lg),boxShadow:O.custom.elevation.overlay,color:O.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(Kr,{variation:"md",component:"p",weight:"bold",sx:{color:O.custom.palette.white},children:C||"&nbsp;"})}),Ut.jsxs(g,{sx:{backgroundColor:O.custom.palette.surface.default,borderBottomLeftRadius:O.spacing(O.custom.radius.lg),borderBottomRightRadius:O.spacing(O.custom.radius.lg),borderTopLeftRadius:C?0:O.spacing(O.custom.radius.lg),borderTopRightRadius:C?0:O.spacing(O.custom.radius.lg),boxShadow:O.custom.elevation.overlay,display:"flex",flex:1},children:[Ut.jsxs(g,{sx:{display:"flex",gap:"sm"===$||"md"===$?1:2,textAlign:"center",minHeight:{sm:"none",md:k},px:2,py:{sm:2,lg:4}},ref:R,children:[Ut.jsx(Kr,{variation:"sm"===$?"xxl":"platform"===M?"md":"lg",component:"h2",weight:"bold",children:v}),Ut.jsx(Kr,{variation:"sm"===$?"md":"platform"===M?"md"===$?"sm":"md":"md"===$?"md":"lg",component:"p",sx:{color:O.custom.palette.text.secondary},children:r})]}),Ut.jsxs(g,{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(w,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[Ut.jsx(Kr,{variation:"md"===$?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:d}),Ut.jsx(Kr,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:e}),j&&Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:O.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:j})]}),x&&b&&Ut.jsxs(w,{sx:{alignItems:"center",backgroundColor:O.custom.palette.yellow[300],borderRadius:O.custom.radius.round,boxShadow:O.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[Ut.jsx(dr,{name:"gift",size:24}),Ut.jsxs(w,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[Ut.jsx(Kr,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:x}),Ut.jsx(Kr,{variation:"md",component:"p",sx:{lineHeight:1},children:b})]})]}),t&&Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:O.custom.palette.text.placeholder},children:t})]}),Ut.jsxs(g,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[Ut.jsx(w,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:Ut.jsx(ol,{href:a,title:l,target:s,onClick:()=>{v&&i(v)},sx:{"&:hover":{cursor:f?"default":"pointer"}},children:Ut.jsx(yo,{fullWidth:!0,variation:u,sizing:"lg",disabled:f,children:l})})}),h?.length&&Ut.jsx(g,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===M?4:6}},children:h.map(((e,t)=>Ut.jsxs(w,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[Ut.jsx(dr,{name:"positive",size:24}),Ut.jsx(Kr,{variation:"md",component:"p",children:e})]},`${v}-feature-${t}`)))})]})]})]})},tu=({body:e,ctaEvent:t=()=>{},ctaLink:r="",ctaTarget:o="_blank",ctaText:n,currencySymbol:i,heading:a,postText:s,preText:l,amount:c})=>{const u=m();return Ut.jsxs(w,{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(g,{sx:{flex:1,gap:2,justifyContent:"center"},children:[Ut.jsx(Kr,{variation:"md",component:"h2",sx:{fontWeight:500},children:a}),Ut.jsx(Kr,{variation:"md",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]}),Ut.jsxs(g,{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(w,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[Ut.jsx(Kr,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pr:.5},children:l}),Ut.jsxs(w,{sx:{alignItems:"flex-end",display:"flex"},children:[Ut.jsx(Kr,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:i}),Ut.jsx(Kr,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:c})]}),Ut.jsx(Kr,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pl:.1},children:s})]}),Ut.jsx(ol,{href:r,title:n,target:o,onClick:()=>{a&&t(a)},children:Ut.jsx(yo,{fullWidth:!0,variation:"outlined",sizing:"lg",children:n})})]})]})},ru=({heading:e,ticks:t})=>(m(),Ut.jsxs(g,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[Ut.jsx(Kr,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),Ut.jsx(w,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:t.map(((t,r)=>Ut.jsxs(w,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[Ut.jsx(dr,{name:"positive",size:32}),Ut.jsx(Kr,{variation:"xxl",component:"p",children:t})]},`tick-group-${e}-${r}`)))})]})),ou="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",nu=(e,t,r)=>te({direction:r,custom:{palette:{black:"#000000",white:"#ffffff",neutral:Ar[e],neutralAlpha:"light"===e?Rr:Ir,purple:Nr[e],red:Pr[e],peach:Vr[e],yellow:Dr[e],blue:Br[e],green:zr[e],icon:Hr[e].icon,interaction:Hr[e].interaction,stroke:Hr[e].stroke,surface:Hr[e].surface,text:Hr[e].text,input:Hr[e].input},margin:or,padding:nr,radius:ir,elevation:ar,elevationFilter:sr,boxShadow:lr,easing:cr,typography:ro[t]},palette:{mode:e,primary:{main:Tr[500]}},spacing:rr,shape:{borderRadius:rr,hotspot:{default:12,active:24}},breakpoints:{values:Gt},typography:{fontFamily:`"${Ur.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:oo(t),styleOverrides:{root:{color:Hr[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${Ar[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: '${Zr.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Zr.default.weight};\n src: url(${ou}${Zr.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Zr.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Zr.bold.weight};\n src: url(${ou}${Zr.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ur.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ur.default.weight};\n src: url(${ou}${Ur.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ur.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ur.bold.weight};\n src: url(${ou}${Ur.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${Gt.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${Gt.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:Ur.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*rr}px ${e.padding.md*rr}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"}})}}}}),iu=i(null),au=()=>Ut.jsx(re,{styles:{"strong, b":{fontWeight:500}}}),su=jl({key:"muirtl",stylisPlugins:[nt,Pt]}),lu=jl({key:"mui"}),cu=({mode:e="light",screenSize:t="lg",direction:r="ltr",children:i})=>{const a=((e="light",t="lg",r="ltr")=>{const{width:i}=Qc(),[a,s]=o(e),[l,c]=o(t),[u,d]=o(!1),[m,f]=o(nu(a,l,r)),[h,g]=o(nu("light"===a?"dark":"light",l,r)),[x,b]=o("");n((()=>{p((()=>{c(i&&i<Gt.lg?"sm":"lg")}))}),[i]),n((()=>{p((()=>{f(nu(a,l,r)),g(nu("light"===a?"dark":"light",l,r))}))}),[a,l]);const y=G(m.breakpoints.only("sm"),{noSsr:!0}),v=G(m.breakpoints.only("md"),{noSsr:!0}),C=G(m.breakpoints.between("lg","xl"),{noSsr:!0}),w=G(m.breakpoints.up("xl"),{noSsr:!0});return n((()=>{p((()=>{y&&b("sm"),v&&b("md"),C&&b("lg"),w&&b("xl")}))}),[y,v,C,w]),{breakpoint:x,darkTheme:h,gridOverlayVisible:u,mode:a,theme:m,toggleGridOverlay:()=>{p((()=>{d((e=>!e))}))},toggleMode:e=>{p((()=>{if(e)return s(e);s((e=>"light"===e?"dark":"light"))}))}}})(e,t,r);return n((()=>{"rtl"===r&&(document.dir="rtl")}),[]),Ut.jsx(iu.Provider,{value:a,children:Ut.jsx(it,{value:"rtl"===r?su:lu,children:Ut.jsxs($s,{theme:a.theme,children:[Ut.jsx(oe,{}),Ut.jsx(au,{}),i]})})})};export{Kc as AnnualController,qc as AuthContainerSurface,Yr as AuthFormHeader,Xr as Avatar,Jr as AvatarGroup,yo as Button,Mo as CheckBoxGroup,ko as Checkbox,Ro as ColorBackgroundContainer,Uc as DEFAULT_MAX_INPUT_LENGTH,Bo as Differential,Ho as DropdownMenu,vo as FormControlLabel,zc as FormGenerator,Rs as GridOverlay,Is as Html,dr as Icon,zs as IconButton,Us as IconButtonGroup,Gs as InputLabel,Fo as InputLabelHelp,tl as Likert,ol as Link,nl as Loader,il as Logo,sl as NumberField,dl as Pill,Xc as PlanFeatureTable,eu as PlanTierCard,tu as PlanTierCardScale,Ml as Portal,Ol as PoweredByWatermarkLogo,go as Progress,No as Radio,$l as RadioGroup,ac as Rank,lc as RichTextField,Gl as Select,gc as Slider,ic as SortableList,bc as StarRating,kc as Surface,jc as Switch,Mc as TextArea,Oc as TextBarDivider,So as TextField,cu as ThemeProvider,ru as TickGroup,$c as Toast,Ic as Tooltip,Kr as Typography,Eo as backgroundCreator,Wc as chooseArticle,Zc as defaultInputValidation,Hc as emailValidation,Gc as passwordValidation,Wo as useDropdownMenu};
23
+ */function bo(){if(oo)return no;oo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return no=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={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;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,o){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++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},no}function yo(){if(ao)return io;ao=1;return io="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function vo(){return lo?so:(lo=1,so=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Co=xo();Jn.exports=function(){if(mo)return po;mo=1;var e=xo(),t=bo(),r=yo(),n=vo(),o=function(){if(uo)return co;uo=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=yo(),r={},n=vo();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(n(o,c)){var u;try{if("function"!=typeof o[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 o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[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 r)){r[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},co=o}(),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){}}),po=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:f(a),arrayOf:function(e){return f((function(t,n,o,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+o+"` 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 `"+o+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,o,i,a+"["+l+"]",r);if(c instanceof Error)return c}return null}))},element:f((function(e,t,r,n,o){var i=e[t];return s(i)?null:new m("Invalid "+n+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:f((function(t,r,n,o,i){var a=t[r];return e.isValidElementType(a)?null:new m("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(t,r,n,o,i){if(!(t[r]instanceof e)){var a=e.name||u;return new m("Invalid "+o+" `"+i+"` of type `"+((s=t[r]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var s;return null}))},node:f((function(e,t,r,n,o){return x(e[t])?null:new m("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,o,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],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,r);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?f((function(t,r,n,o,i){for(var a=t[r],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 "+o+" `"+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 o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+v(o)+" at index "+t+"."),a}return f((function(t,o,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,i,a,s,r);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 f((function(t,n,o,i,a){var s=t[n],l=b(s);if("object"!==l)return new m("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(o,i,a,c,y(u));var d=u(s,c,o,i,a+"."+c,r);if(d)return d}return null}))},exact:function(e){return f((function(o,i,a,s,l){var c=o[i],u=b(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},o[i],e);for(var p in d){var f=e[p];if(n(e,p)&&"function"!=typeof f)return g(a,s,l,p,y(f));if(!f)return new m("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(c,p,a,s,l+"."+p,r);if(h)return h}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 f(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function o(o,a,s,c,d,p,f){if(c=c||u,p=p||s,f!==r){if(l){var h=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 h.name="Invariant Violation",h}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]?o?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=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function h(e){return f((function(t,r,n,o,i,a){var s=t[r];return b(s)!==e?new m("Invalid "+o+" `"+i+"` of type `"+y(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,r,n,o){return new m((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}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 r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!x(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!x(o[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=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},po}()(Co.isElement,!0)}else Jn.exports=function(){if(ho)return fo;ho=1;var e=yo();function t(){}function r(){}return r.resetWarningCache=t,fo=function(){function n(t,r,n,o,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 o(){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:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i}}()();var wo=Vt(Jn.exports);function ko(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function jo(t){if(e.isValidElement(t)||!ko(t))return t;const r={};return Object.keys(t).forEach((e=>{r[e]=jo(t[e])})),r}function So(t,r,n={clone:!0}){const o=n.clone?Kn({},t):t;return ko(t)&&ko(r)&&Object.keys(r).forEach((i=>{e.isValidElement(r[i])?o[i]=r[i]:ko(r[i])&&Object.prototype.hasOwnProperty.call(t,i)&&ko(t[i])?o[i]=So(t[i],r[i],n):n.clone?o[i]=ko(r[i])?jo(r[i]):r[i]:o[i]=r[i]})),o}const Mo=["values","unit","step"];function Oo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Yn(e,Mo),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Kn({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return Kn({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const $o={borderRadius:4},Eo="production"!==process.env.NODE_ENV?wo.oneOfType([wo.number,wo.string,wo.object,wo.array]):{};function Ro(e,t){return t?So(e,t,{clone:!1}):e}const Io={xs:0,sm:600,md:900,lg:1200,xl:1536},To={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Io[e]}px)`};function Fo(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||To;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||To;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Io).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Lo(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Un(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ao(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function _o(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Ao(e,r)||n,t&&(o=t(o,n,e)),o}function No(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Ao(e.theme,n)||{};return Fo(e,i,(e=>{let n=_o(a,o,e);return e===n&&"string"==typeof e&&(n=_o(a,o,`${t}${"default"===e?"":Lo(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:Eo}:{},i.filterProps=[t],i}const Po={m:"margin",p:"padding"},Vo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Do={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bo=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Do[e])return[e];e=Do[e]}const[t,r]=e.split(""),n=Po[t],o=Vo[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),zo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ho=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Wo=[...zo,...Ho];function Zo(e,t,r,n){var o;const i=null!=(o=Ao(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Uo(e){return Zo(e,"spacing",8,"spacing")}function Go(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function qo(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=Go(t,r),e)),{})}(Bo(r),n);return Fo(e,e[r],o)}function Ko(e,t){const r=Uo(e.theme);return Object.keys(e).map((n=>qo(e,t,n,r))).reduce(Ro,{})}function Yo(e){return Ko(e,zo)}function Xo(e){return Ko(e,Ho)}function Jo(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Ro(r,t[n](e)):r),{});return r.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function Qo(e){return"number"!=typeof e?e:`${e}px solid`}function ei(e,t){return No({prop:e,themeKey:"borders",transform:t})}Yo.propTypes="production"!==process.env.NODE_ENV?zo.reduce(((e,t)=>(e[t]=Eo,e)),{}):{},Yo.filterProps=zo,Xo.propTypes="production"!==process.env.NODE_ENV?Ho.reduce(((e,t)=>(e[t]=Eo,e)),{}):{},Xo.filterProps=Ho,"production"===process.env.NODE_ENV||Wo.reduce(((e,t)=>(e[t]=Eo,e)),{});const ti=ei("border",Qo),ri=ei("borderTop",Qo),ni=ei("borderRight",Qo),oi=ei("borderBottom",Qo),ii=ei("borderLeft",Qo),ai=ei("borderColor"),si=ei("borderTopColor"),li=ei("borderRightColor"),ci=ei("borderBottomColor"),ui=ei("borderLeftColor"),di=ei("outline",Qo),pi=ei("outlineColor"),mi=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Zo(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:Go(t,e)});return Fo(e,e.borderRadius,r)}return null};mi.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Eo}:{},mi.filterProps=["borderRadius"],Jo(ti,ri,ni,oi,ii,ai,si,li,ci,ui,mi,di,pi);const fi=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Zo(e.theme,"spacing",8,"gap"),r=e=>({gap:Go(t,e)});return Fo(e,e.gap,r)}return null};fi.propTypes="production"!==process.env.NODE_ENV?{gap:Eo}:{},fi.filterProps=["gap"];const hi=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Zo(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:Go(t,e)});return Fo(e,e.columnGap,r)}return null};hi.propTypes="production"!==process.env.NODE_ENV?{columnGap:Eo}:{},hi.filterProps=["columnGap"];const gi=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Zo(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:Go(t,e)});return Fo(e,e.rowGap,r)}return null};gi.propTypes="production"!==process.env.NODE_ENV?{rowGap:Eo}:{},gi.filterProps=["rowGap"];function xi(e,t){return"grey"===t?t:e}Jo(fi,hi,gi,No({prop:"gridColumn"}),No({prop:"gridRow"}),No({prop:"gridAutoFlow"}),No({prop:"gridAutoColumns"}),No({prop:"gridAutoRows"}),No({prop:"gridTemplateColumns"}),No({prop:"gridTemplateRows"}),No({prop:"gridTemplateAreas"}),No({prop:"gridArea"}));function bi(e){return e<=1&&0!==e?100*e+"%":e}Jo(No({prop:"color",themeKey:"palette",transform:xi}),No({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:xi}),No({prop:"backgroundColor",themeKey:"palette",transform:xi}));const yi=No({prop:"width",transform:bi}),vi=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Io[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:bi(t)}};return Fo(e,e.maxWidth,t)}return null};vi.filterProps=["maxWidth"];const Ci=No({prop:"minWidth",transform:bi}),wi=No({prop:"height",transform:bi}),ki=No({prop:"maxHeight",transform:bi}),ji=No({prop:"minHeight",transform:bi});No({prop:"size",cssProperty:"width",transform:bi}),No({prop:"size",cssProperty:"height",transform:bi});Jo(yi,vi,Ci,wi,ki,ji,No({prop:"boxSizing"}));const Si={border:{themeKey:"borders",transform:Qo},borderTop:{themeKey:"borders",transform:Qo},borderRight:{themeKey:"borders",transform:Qo},borderBottom:{themeKey:"borders",transform:Qo},borderLeft:{themeKey:"borders",transform:Qo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:mi},color:{themeKey:"palette",transform:xi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:xi},backgroundColor:{themeKey:"palette",transform:xi},p:{style:Xo},pt:{style:Xo},pr:{style:Xo},pb:{style:Xo},pl:{style:Xo},px:{style:Xo},py:{style:Xo},padding:{style:Xo},paddingTop:{style:Xo},paddingRight:{style:Xo},paddingBottom:{style:Xo},paddingLeft:{style:Xo},paddingX:{style:Xo},paddingY:{style:Xo},paddingInline:{style:Xo},paddingInlineStart:{style:Xo},paddingInlineEnd:{style:Xo},paddingBlock:{style:Xo},paddingBlockStart:{style:Xo},paddingBlockEnd:{style:Xo},m:{style:Yo},mt:{style:Yo},mr:{style:Yo},mb:{style:Yo},ml:{style:Yo},mx:{style:Yo},my:{style:Yo},margin:{style:Yo},marginTop:{style:Yo},marginRight:{style:Yo},marginBottom:{style:Yo},marginLeft:{style:Yo},marginX:{style:Yo},marginY:{style:Yo},marginInline:{style:Yo},marginInlineStart:{style:Yo},marginInlineEnd:{style:Yo},marginBlock:{style:Yo},marginBlockStart:{style:Yo},marginBlockEnd:{style:Yo},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fi},rowGap:{style:gi},columnGap:{style:hi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:bi},maxWidth:{style:vi},minWidth:{transform:bi},height:{transform:bi},maxHeight:{transform:bi},minHeight:{transform:bi},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Mi=function(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Ao(r,s)||{};if(c)return c(o);return Fo(o,t,(t=>{let r=_o(u,l,t);return t===r&&"string"==typeof t&&(r=_o(u,l,`${e}${"default"===t?"":Lo(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=null!=(n=i.unstable_sxConfig)?n:Si;function s(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],c=i,"function"==typeof s?s(c):s);var s,c;if(null!=o)if("object"==typeof o)if(a[r])l=Ro(l,e(r,o,i,a));else{const e=Fo({theme:i},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?l=Ro(l,e):l[r]=t({sx:o,theme:i})}else l=Ro(l,e(r,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}();function Oi(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}Mi.filterProps=["sx"];const $i=["breakpoints","palette","spacing","shape"];function Ei(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=Yn(e,$i),s=Oo(r),l=function(e=8){if(e.mui)return e;const t=Uo({spacing:e}),r=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" "));return r.mui=!0,r}(o);let c=So({breakpoints:s,direction:"ltr",components:{},palette:Kn({mode:"light"},n),spacing:l,shape:Kn({},$o,i)},a);return c.applyStyles=Oi,c=t.reduce(((e,t)=>So(e,t)),c),c.unstable_sxConfig=Kn({},Si,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Mi({sx:e,theme:this})},c}function Ri(t=null){const r=e.useContext($e);return r&&(n=r,0!==Object.keys(n).length)?r:t;var n}const Ii=Ei();const Ti=e=>e,Fi=(()=>{let e=Ti;return{configure(t){e=t},generate:t=>e(t),reset(){e=Ti}}})(),Li={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ai(e,t,r="Mui"){const n=Li[t];return n?`${r}-${n}`:`${Fi.generate(e)}-${t}`}function _i(e,t){const r=Kn({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=Kn({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=Kn({},i),Object.keys(o).forEach((e=>{r[n][e]=_i(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}function Ni(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?_i(t.components[r].defaultProps,n):n}const Pi="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function Vi(t,r,n,o,i){const[a,s]=e.useState((()=>i&&n?n(t).matches:o?o(t).matches:r));return Pi((()=>{let e=!0;if(!n)return;const r=n(t),o=()=>{e&&s(r.matches)};return o(),r.addListener(o),()=>{e=!1,r.removeListener(o)}}),[t,n]),a}const Di=e.useSyncExternalStore;function Bi(t,r,n,o,i){const a=e.useCallback((()=>r),[r]),s=e.useMemo((()=>{if(i&&n)return()=>n(t).matches;if(null!==o){const{matches:e}=o(t);return()=>e}return a}),[a,t,o,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 Di(c,l,s)}var zi=Object.freeze({__proto__:null,default:function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}});const Hi="exact-prop: ​";function Wi(e){return"production"===process.env.NODE_ENV?e:Kn({},e,{[Hi]:t=>{const r=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return r.length>0?new Error(`The following props are not supported: ${r.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}const Zi=e.createContext(null);function Ui(){const t=e.useContext(Zi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t}"production"!==process.env.NODE_ENV&&(Zi.displayName="ThemeContext");var Gi="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function qi(t){const{children:r,theme:n}=t,o=Ui();"production"!==process.env.NODE_ENV&&null===o&&"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===o?n:function(e,t){if("function"==typeof t){const r=t(e);return"production"!==process.env.NODE_ENV&&(r||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join("\n"))),r}return Kn({},e,t)}(o,n);return null!=e&&(e[Gi]=null!==o),e}),[n,o]);return Ut.jsx(Zi.Provider,{value:i,children:r})}"production"!==process.env.NODE_ENV&&(qi.propTypes={children:wo.node,theme:wo.oneOfType([wo.object,wo.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(qi.propTypes=Wi(qi.propTypes));const Ki=["value"],Yi=e.createContext();function Xi(e){let{value:t}=e,r=Yn(e,Ki);return Ut.jsx(Yi.Provider,Kn({value:null==t||t},r))}"production"!==process.env.NODE_ENV&&(Xi.propTypes={children:wo.node,value:wo.bool});const Ji=e.createContext(void 0);function Qi({value:e,children:t}){return Ut.jsx(Ji.Provider,{value:e,children:t})}"production"!==process.env.NODE_ENV&&(Qi.propTypes={children:wo.node,value:wo.object});const ea={};function ta(t,r,n,o=!1){return e.useMemo((()=>{const e=t&&r[t]||r;if("function"==typeof n){const i=n(e),a=t?Kn({},r,{[t]:i}):i;return o?()=>a:a}return Kn({},r,t?{[t]:n}:n)}),[t,r,n,o])}function ra(e){const{children:t,theme:r,themeId:n}=e,o=Ri(ea),i=Ui()||ea;"production"!==process.env.NODE_ENV&&(null===o&&"function"==typeof r||n&&o&&!o[n]&&"function"==typeof r)&&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=ta(n,o,r),s=ta(n,i,r,!0),l="rtl"===a.direction;return Ut.jsx(qi,{theme:s,children:Ut.jsx($e.Provider,{value:a,children:Ut.jsx(Xi,{value:l,children:Ut.jsx(Qi,{value:null==a?void 0:a.components,children:t})})})})}function na(e,t){return Kn({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}"production"!==process.env.NODE_ENV&&(ra.propTypes={children:wo.node,theme:wo.oneOfType([wo.func,wo.object]).isRequired,themeId:wo.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(ra.propTypes=Wi(ra.propTypes));var oa,ia={},aa={exports:{}};(oa=aa).exports=function(e){return e&&e.__esModule?e:{default:e}},oa.exports.__esModule=!0,oa.exports.default=oa.exports;var sa=aa.exports,la=Dt(Gn),ca=Dt(zi),ua=sa;Object.defineProperty(ia,"__esModule",{value:!0}),ia.alpha=ka,ia.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=ba(e),a=ba(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return va({type:"rgb",values:s})},ia.colorChannel=void 0;var da=ia.darken=ja;ia.decomposeColor=ba,ia.emphasize=Ma;var pa=ia.getContrastRatio=function(e,t){const r=wa(e),n=wa(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};ia.getLuminance=wa,ia.hexToRgb=xa,ia.hslToRgb=Ca;var ma=ia.lighten=Sa;ia.private_safeAlpha=function(e,t,r){try{return ka(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},ia.private_safeColorChannel=void 0,ia.private_safeDarken=function(e,t,r){try{return ja(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},ia.private_safeEmphasize=function(e,t,r){try{return Ma(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},ia.private_safeLighten=function(e,t,r){try{return Sa(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},ia.recomposeColor=va,ia.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=ba(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var fa=ua(la),ha=ua(ca);function ga(e,t=0,r=1){return"production"!==process.env.NODE_ENV&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,ha.default)(e,t,r)}function xa(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function ba(e){if(e.type)return e;if("#"===e.charAt(0))return ba(xa(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,fa.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,fa.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const ya=e=>{const t=ba(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};ia.colorChannel=ya;function va(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Ca(e){e=ba(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),va({type:s,values:l})}function wa(e){let t="hsl"===(e=ba(e)).type||"hsla"===e.type?ba(Ca(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ka(e,t){return e=ba(e),t=ga(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,va(e)}function ja(e,t){if(e=ba(e),t=ga(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return va(e)}function Sa(e,t){if(e=ba(e),t=ga(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return va(e)}function Ma(e,t=.15){return wa(e)>.5?ja(e,t):Sa(e,t)}ia.private_safeColorChannel=(e,t)=>{try{return ya(e)}catch(r){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};const Oa={black:"#000",white:"#fff"},$a={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Ea="#f3e5f5",Ra="#ce93d8",Ia="#ba68c8",Ta="#ab47bc",Fa="#9c27b0",La="#7b1fa2",Aa="#e57373",_a="#ef5350",Na="#f44336",Pa="#d32f2f",Va="#c62828",Da="#ffb74d",Ba="#ffa726",za="#ff9800",Ha="#f57c00",Wa="#e65100",Za="#e3f2fd",Ua="#90caf9",Ga="#42a5f5",qa="#1976d2",Ka="#1565c0",Ya="#4fc3f7",Xa="#29b6f6",Ja="#03a9f4",Qa="#0288d1",es="#01579b",ts="#81c784",rs="#66bb6a",ns="#4caf50",os="#388e3c",is="#2e7d32",as="#1b5e20",ss=["mode","contrastThreshold","tonalOffset"],ls={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Oa.white,default:Oa.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},cs={text:{primary:Oa.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Oa.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function us(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=ma(e.main,o):"dark"===t&&(e.dark=da(e.main,i)))}function ds(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Yn(e,ss),i=e.primary||function(e="light"){return"dark"===e?{main:Ua,light:Za,dark:Ga}:{main:qa,light:Ga,dark:Ka}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ra,light:Ea,dark:Ta}:{main:Fa,light:Ia,dark:La}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Na,light:Aa,dark:Pa}:{main:Pa,light:_a,dark:Va}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Xa,light:Ya,dark:Qa}:{main:Qa,light:Ja,dark:es}}(t),c=e.success||function(e="light"){return"dark"===e?{main:rs,light:ts,dark:os}:{main:is,light:ns,dark:as}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Ba,light:Da,dark:Ha}:{main:"#ed6c02",light:za,dark:Wa}}(t);function d(e){const t=pa(e,cs.text.primary)>=r?cs.text.primary:ls.text.primary;if("production"!==process.env.NODE_ENV){const r=pa(e,t);r<3&&console.error([`MUI: The contrast ratio of ${r}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=Kn({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${r}\` property.`:Un(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Un(12,t?` (${t})`:"",JSON.stringify(e.main)));return us(e,"light",o,n),us(e,"dark",i,n),e.contrastText||(e.contrastText=d(e.main)),e},m={dark:cs,light:ls};"production"!==process.env.NODE_ENV&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return So(Kn({common:Kn({},Oa),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:$a,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},m[t]),o)}const ps=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const ms={textTransform:"uppercase"},fs='"Roboto", "Helvetica", "Arial", sans-serif';function hs(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=fs,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=r,p=Yn(r,ps);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=o/14,f=d||(e=>e/c*m+"rem"),h=(e,t,r,o,i)=>{return Kn({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r},n===fs?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},g={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,ms),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,ms),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return So(Kn({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function gs(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const xs=["none",gs(0,2,1,-1,0,1,1,0,0,1,3,0),gs(0,3,1,-2,0,2,2,0,0,1,5,0),gs(0,3,3,-2,0,3,4,0,0,1,8,0),gs(0,2,4,-1,0,4,5,0,0,1,10,0),gs(0,3,5,-1,0,5,8,0,0,1,14,0),gs(0,3,5,-1,0,6,10,0,0,1,18,0),gs(0,4,5,-2,0,7,10,1,0,2,16,1),gs(0,5,5,-3,0,8,10,1,0,3,14,2),gs(0,5,6,-3,0,9,12,1,0,3,16,2),gs(0,6,6,-3,0,10,14,1,0,4,18,3),gs(0,6,7,-4,0,11,15,1,0,4,20,3),gs(0,7,8,-4,0,12,17,2,0,5,22,4),gs(0,7,8,-4,0,13,19,2,0,5,24,4),gs(0,7,9,-4,0,14,21,2,0,5,26,4),gs(0,8,9,-5,0,15,22,2,0,6,28,5),gs(0,8,10,-5,0,16,24,2,0,6,30,5),gs(0,8,11,-5,0,17,26,2,0,6,32,5),gs(0,9,11,-5,0,18,28,2,0,7,34,6),gs(0,9,12,-6,0,19,29,2,0,7,36,6),gs(0,10,13,-6,0,20,31,3,0,8,38,7),gs(0,10,13,-6,0,21,33,3,0,8,40,7),gs(0,10,14,-6,0,22,35,3,0,8,42,7),gs(0,11,14,-7,0,23,36,3,0,9,44,8),gs(0,11,15,-7,0,24,38,3,0,9,46,8)],bs=["duration","easing","delay"],ys={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},vs={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Cs(e){return`${Math.round(e)}ms`}function ws(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function ks(e){const t=Kn({},ys,e.easing),r=Kn({},vs,e.duration);return Kn({getAutoHeightDuration:ws,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n,s=Yn(n,bs);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,r=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),r(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),r(a)||t(a)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof n&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Cs(o)} ${i} ${"string"==typeof a?a:Cs(a)}`)).join(",")}},e,{easing:t,duration:r})}const js={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ss=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Ms=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Yn(e,Ss);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Un(18));const s=ds(n),l=Ei(e);let c=So(l,{mixins:na(l.breakpoints,r),palette:s,shadows:xs.slice(),typography:hs(s,i),transitions:ks(o),zIndex:Kn({},js)});if(c=So(c,a),c=t.reduce(((e,t)=>So(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,r)=>{let n;for(n in t){const o=t[n];if(-1!==e.indexOf(n)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=Ai("",n);console.error([`MUI: The \`${r}\` component increases the CSS specificity of the \`${n}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[n]={}}}};Object.keys(c.components).forEach((e=>{const r=c.components[e].styleOverrides;r&&0===e.indexOf("Mui")&&t(r,e)}))}return c.unstable_sxConfig=Kn({},Si,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Mi({sx:e,theme:this})},c}();function Os(){const t=function(e=Ii){return Ri(e)}(Ms);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t[qn]||t}const $s=["theme"];function Es(e){let{theme:t}=e,r=Yn(e,$s);const n=t[qn];return Ut.jsx(ra,Kn({},r,{themeId:n?qn:void 0,theme:n||t}))}"production"!==process.env.NODE_ENV&&(Es.propTypes={children:wo.node,theme:wo.oneOfType([wo.object,wo.func]).isRequired});const Rs=()=>{const t=Os();return[...t.breakpoints.keys].reduce(((r,n)=>{const o=function(t,r={}){const n=Ri(),o="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:i=!1,matchMedia:a=(o?window.matchMedia:null),ssrMatchMedia:s=null,noSsr:l=!1}=Ni({name:"MuiUseMediaQuery",props:r,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!==Di?Bi:Vi)(c,i,a,s,l);return"production"!==process.env.NODE_ENV&&e.useDebugValue({query:c,match:u}),u}(t.breakpoints.up(n));return o?n:r}),null)??"sm"},Is=({breakpoint:e})=>{const t=m(),r=Array.from({length:6},((e,t)=>t));return e||(e=Rs()),Ut.jsxs(g,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[Ut.jsx(E,{sx:{background:t.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:Ut.jsx(w,{sx:{background:t.custom.palette.purple[300],display:"flex",flex:1},children:Ut.jsxs(F,{container:!0,spacing:2,children:[r.map((e=>Ut.jsx(F,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:Ut.jsx(w,{sx:{background:t.custom.palette.green[300],height:"100%"}})},`grid-1-${e}`))),r.map((e=>Ut.jsx(F,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:Ut.jsx(w,{sx:{background:t.custom.palette.green[300],height:"100%"}})},`grid-2-${e}`)))]})})}),!!e&&Ut.jsx(w,{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(Kr,{variation:"sm",component:"p",weight:"bold",children:e})})]})},Ts=({children:e,...t})=>e,Fs=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),Ls=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}}}),As=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"}}),_s=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"}}),Ns=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Ps={xs:3*rr,sm:3.5*rr,md:4*rr,lg:5*rr,xl:6*rr},Vs=e=>({height:Ps[e],width:Ps[e]}),Ds={xs:2*rr,sm:2*rr,md:2*rr,lg:2.5*rr,xl:3*rr},Bs=e=>({height:Ds[e],width:Ds[e]}),zs=y(_)((({theme:e,variation:t,shape:r="default",sizing:n})=>({boxSizing:"border-box",transition:"all 200ms ease",...r&&{...Ns(r,e)},...n&&{...Vs(n)},"&.MuiIconButton-root":{..."default"===t&&{...Fs(e)},..."toggle"===t&&{...Ls(e)},..."outlined"===t&&{...As(e)},..."raised"===t&&{..._s(e)},...r&&{...Ns(r,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&&{...Bs(n)},position:"relative",zIndex:1}}))),Hs=({icon:e,loading:t,sizing:r,...n})=>Ut.jsx(zs,{...n,sizing:r,children:t?Ut.jsx(gn,{sizing:r}):e}),Ws=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}}),Zs=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}}),Us=y(N)((({theme:e,variation:t,orientation:r="horizontal",iconColor:n,sizing:o="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Fs(e)},..."toggle"===t&&{...Ls(e)},..."vertical"===r&&{...Ws(e)},..."horizontal"===r&&{...Zs(e)},...o&&{...Vs(o)}},"& .MuiSvgIcon-root":{...o&&{...Bs(o)},fill:n||"inherit"}}}))),Gs=({ButtonGroupProps:e,children:t,...r})=>Ut.jsx(Us,{...r,...e,children:t}),qs=({sx:e,...t})=>Ut.jsx(Fn,{...t,sx:Oe({fontSize:{xs:rn.sm.body.md,sm:rn.sm.body.md,md:rn.sm.body.md,lg:rn.lg.body.md,xl:rn.lg.body.md}},!!e&&{...e})}),Ks=y(w)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:Xt,borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${Xt}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:Xt,borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${Xt}px)`}}}}}))),Ys=({children:e,width:t})=>Ut.jsx(Ks,{sx:{width:t},children:e}),Xs=y(Ln)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Js=({disabled:e,children:t})=>Ut.jsx(Xs,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),Qs=y(Pn)((()=>({marginRight:0}))),el=y(w)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:Kt,width:`calc(50% - ${Qt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:Kt,width:`calc(50% - ${Qt/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),tl=e=>Ut.jsx(el,{sx:{textAlign:"center",position:"relative"},children:Ut.jsx(Qs,{...e})}),rl=({options:e=[],disabled:t=!1,sizing:r="lg",onChange:n,internalChange:o,value:i})=>{const a=m();function s(e){console.warn(e),n(e.value),o&&o()}return Ut.jsx(w,{children:Ut.jsx(Ys,{children:Ut.jsx(F,{container:!0,justifyContent:"space-between",children:e.map((e=>Ut.jsxs(F,{item:!0,sm:!0,onClick:()=>s(e),sx:{cursor:"pointer",textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{backgroundColor:a.custom.palette.interaction.hover}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{backgroundColor:a.custom.palette.input.default,borderColor:a.custom.palette.stroke.focus,boxShadow:a.custom.boxShadow.input.focus,"&:before":{backgroundColor:a.custom.palette.interaction.press},"&.Mui-checked":{backgroundColor:a.custom.palette.purple[500]}}}},children:[Ut.jsx(tl,{sizing:r,disabled:t,onChange:t=>s(e),checked:i===e.value},e.value),Ut.jsx(w,{sx:{mt:nr.xs,width:"100%"},children:Ut.jsx(Js,{disabled:t,children:e.label})})]},e.value)))})})})},nl=y(P)((({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}}}))),ol=e=>e.target&&"_blank"===e.target?Ut.jsx(nl,{rel:"noopener",...e}):Ut.jsx(nl,{...e}),il=()=>Ut.jsx(w,{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})}),al=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"})}),sl=r(((t,r)=>{const{decimalSeparator:n,thousandSeparator:o,value:i,...a}=t,s=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=e.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(Ee,{...a,value:i??"",getInputRef:r,thousandSeparator:o??s,decimalSeparator:n??l})})),ll=({disabled:e=!1,InputProps:t,inputProps:r,placeholder:o,hideActionButtons:i=!1,max:a=1/0,min:s=-1/0,startAdornment:l,endAdornment:c,internalChange:u,numericFormatProps:d,onChange:p,step:f=1,value:h,...x})=>{const b=m(),[y,v]=n(h),C=y,w=e=>{v(e),p&&p(e),u&&u()},k=()=>{const e=(null==C||Number.isNaN(C)?0:C)+f;e>a||w(e)},j=()=>{const e=(null==C||Number.isNaN(C)?0:C)-f;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!==f?f:void 0,onKeyDown:e=>{"ArrowUp"===e.key?k():"ArrowDown"===e.key&&j()},onValueChange:({floatValue:e})=>{e!==C&&w(e)},value:C,...d};return Ut.jsx(jn,{placeholder:o,sx:{height:er,"& .MuiOutlinedInput-input":{pl:l?1:2,pr:l?1:2}},...x,value:C??"",disabled:e,InputProps:{...t,inputComponent:sl,startAdornment:l?Ut.jsx(M,{position:"start",sx:{pl:1},children:l}):null,endAdornment:!i&&Ut.jsxs(g,{gap:b.custom.margin.sm,sx:{position:"absolute",top:0,right:0,height:"100%",alignItems:"center"},direction:"row",children:[c&&c,Ut.jsxs(g,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${b.custom.palette.stroke.default}`},children:[Ut.jsx(V,{onClick:()=>k(),sx:{flex:1,borderTopRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:Ut.jsx(ve,{fontSize:"inherit"})}),Ut.jsx(D,{}),Ut.jsx(V,{onClick:()=>j(),sx:{flex:1,borderBottomRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:Ut.jsx(Ce,{fontSize:"inherit"})})]})]})},inputProps:{...r,...S}})};const cl=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},ul=(e,t,r)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===r?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"===r?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===r?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},dl=y(B)((({theme:e,variation:t,weight:r})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...ul(e,t,r),"& .MuiChip-label":{fontSize:`${rn.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...cl(0,r)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...ul(e,t,r),...cl(0,r)}}))),pl=({body:e,maxWidth:t,...r})=>Ut.jsx(dl,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...r});var ml=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=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,r),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 r=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{r.insertRule(e,r.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 fl="undefined"!=typeof document,hl=function(e,t,r){for(var n=0,o=0;n=o,o=et(),38===n&&12===o&&(t[r]=1),!Je(o);)Xe();return rt(e,nt)},gl=function(e,t){return Ze(function(e,t){var r=-1,n=44;do{switch(Je(n)){case 0:38===n&&12===et()&&(t[r]=1),e[r]+=hl(nt-1,t,r);break;case 2:e[r]+=tt(n);break;case 4:if(44===n){e[++r]=58===et()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Qe(n)}}while(n=Xe());return e}(Ue(e),t))},xl=new WeakMap,bl=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||xl.get(r))&&!n){xl.set(e,!0);for(var o=[],i=gl(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},yl=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function vl(e,t){switch(Ge(e,t)){case 5103:return Ve+"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 Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+De+e+Be+e+e;case 6828:case 4268:return Ve+e+Be+e+e;case 6165:return Ve+e+Be+"flex-"+e+e;case 5187:return Ve+e+Pe(e,/(\w+).+(:[^]+)/,Ve+"box-$1$2"+Be+"flex-$1$2")+e;case 5443:return Ve+e+Be+"flex-item-"+Pe(e,/flex-|-self/,"")+e;case 4675:return Ve+e+Be+"flex-line-pack"+Pe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+Be+Pe(e,"shrink","negative")+e;case 5292:return Ve+e+Be+Pe(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+Pe(e,"-grow","")+Ve+e+Be+Pe(e,"grow","positive")+e;case 4554:return Ve+Pe(e,/([^-])(transform)/g,"$1"+Ve+"$2")+e;case 6187:return Pe(Pe(Pe(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return Pe(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return Pe(Pe(e,/(.+:)(flex-)?(.*)/,Ve+"box-pack:$3"+Be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return Pe(e,/(.+)-inline(.+)/,Ve+"$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(Ke(e)-1-t>6)switch(qe(e,t+1)){case 109:if(45!==qe(e,t+4))break;case 102:return Pe(e,/(.+:)(.+)-([^]+)/,"$1"+Ve+"$2-$3$1"+De+(108==qe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ye(e,"stretch")?vl(Pe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==qe(e,t+1))break;case 6444:switch(qe(e,Ke(e)-3-(~Ye(e,"!important")&&10))){case 107:return Pe(e,":",":"+Ve)+e;case 101:return Pe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(45===qe(e,14)?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+Be+"$2box$3")+e}break;case 5936:switch(qe(e,t+11)){case 114:return Ve+e+Be+Pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+Be+Pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+Be+Pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+Be+e+e}return e}var Cl,wl,kl=fl?void 0:(Cl=function(){return e=function(){return{}},t=Object.create(null),function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]};var e,t},wl=new WeakMap,function(e){if(wl.has(e))return wl.get(e);var t=Cl(e);return wl.set(e,t),t}),jl=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case He:e.return=vl(e.value,e.length);break;case ze:return _e([Ne(e,{value:Pe(e.value,"@","@"+Ve)})],n);case Fe:if(e.length)return Le(e.props,(function(t){switch(Ae(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _e([Ne(e,{props:[Pe(t,/:(read-\w+)/,":"+De+"$1")]})],n);case"::placeholder":return _e([Ne(e,{props:[Pe(t,/:(plac\w+)/,":"+Ve+"input-$1")]}),Ne(e,{props:[Pe(t,/:(plac\w+)/,":"+De+"$1")]}),Ne(e,{props:[Pe(t,/:(plac\w+)/,Be+"input-$1")]})],n)}return""}))}}],Sl=function(e){var t=e.key;if(fl&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||jl,a={},s=[];fl&&(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(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)})));var l=[bl,yl];if(kl){var c=[Re],u=Te(l.concat(i,c)),d=kl(i)(t),p=function(e,t){var r,n=t.name;return void 0===d[n]&&(d[n]=(r=e?e+"{"+t.styles+"}":t.styles,_e(We(r),u))),d[n]};o=function(e,t,r,n){var o=t.name,i=p(e,t);return void 0===g.compat?(n&&(g.inserted[o]=!0),i):n?void(g.inserted[o]=i):i}}else{var m,f=[Re,Ie((function(e){m.insert(e)}))],h=Te(l.concat(i,f));o=function(e,t,r,n){var o;m=r,o=e?e+"{"+t.styles+"}":t.styles,_e(We(o),h),n&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new ml({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return g.sheet.hydrate(s),g};const Ml=y("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),Ol=e=>{const[t,r]=n(null),o=t?.contentWindow?.document?.body,i=Sl({key:"css",container:t?.contentWindow?.document?.head,prepend:!0});return Ut.jsx(Ml,{ref:r,children:o&&at(Ut.jsx(it,{value:i,children:e.children}),o)})},$l=()=>Ut.jsxs(g,{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"})})})]})]}),El=({options:e,onChange:t,other:r,value:i,internalChange:a,...s})=>{const l=r?.enabled,c="other-option",u=`${c}-value-`,[d,p]=n(i),[m,f]=n(!1);o((()=>{!m&&d?.includes(u)?f(!0):m&&f(!1)}),[d]);return Ut.jsxs(Ut.Fragment,{children:[Ut.jsxs(T,{...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,r)=>{t&&t(r),p(r),a&&a()},children:[e?e.map(((e,t)=>Ut.jsx(vn,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:Ut.jsx(Pn,{})},t))):null,l&&Ut.jsx(vn,{label:r?.label||"Other",value:u,control:Ut.jsx(Pn,{checked:d?.includes(u)})},c)]}),m&&Ut.jsx(w,{sx:{mt:1},children:Ut.jsx(Sn,{fullWidth:!0,autoFocus:!0,placeholder:r?.placeholder,defaultValue:d?.replace(u,""),onChange:e=>{var r;t&&t((r=e.target.value,`${u}${r}`)),a&&a()},required:!0})})]})},Rl=({handleSelectAll:e,isIndeterminate:t,isAllSelected:r,sizing:i})=>{const[a,s]=n(!1),l=m();return o((()=>{r&&s(r)}),[r]),Ut.jsxs(g,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:t=>{const r=!a;s(r),e(t,r)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[Ut.jsx(z,{sx:{cursor:"pointer",fontSize:()=>i&&on[i]},children:"Select all"}),Ut.jsx(wn,{sizing:"default",indeterminate:t,checked:a})]})},Il=r((({children:e,handleSelectAll:t,showSelectAll:r,value:n=[],selections:o,sizing:i,...a},s)=>{const l=Array.isArray(n)&&n.length===o.length,c=Array.isArray(n)&&n.length>0&&n.length<o.length;return Ut.jsxs("ul",{ref:s,...a,children:[r&&Ut.jsx(Rl,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),Tl="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",Fl=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},Ll=(e,t)=>({"& .MuiTypography-root":{height:Fl(t),fontSize:on[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)}}),Al=e=>({fontSize:`${rn.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(or.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"}}),_l=(e,t)=>{switch(t){case"lg":return{height:Fl(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.lg,height:ur.lg,top:`calc(50% - ${ur.lg/2}px)`}};case"md":return{height:Fl(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.md,height:ur.md,top:`calc(50% - ${ur.md/2}px)`}};case"xs":return{height:Fl(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.xs,height:ur.xs,top:`calc(50% - ${ur.xs/2}px)`}};default:return{height:Fl("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ur.lg,height:ur.lg,top:`calc(50% - ${ur.lg/2}px)`}}}},Nl=e=>({position:"relative",fontSize:`${rn.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:ur.xl,height:ur.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),Pl=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:Tl}}}}),Vl=y(H)((({theme:e,sizing:t,value:r})=>({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:ur[t],height:ur[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*rr+"px":3*rr+"px"},paddingTop:0,paddingBottom:0,paddingLeft:r&&Array.isArray(r)&&r.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:on[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*rr+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*rr+"px":3*rr+"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)}`}}}))),Dl=y(B)((({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}}}))),Bl=y(S)((({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"}}))),zl=y(W)((({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:Tl,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${Z.listbox}`]:{overflowX:"hidden",[`& .${Z.option}`]:{fontSize:on[t],...t&&{height:"lg"===t?5*rr+"px":4*rr+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),Hl=e=>Ut.jsx(zl,{...e}),Wl=({selections:e,disableClearable:t=!1,disabled:o,internalChange:i,multiple:a=!0,onChange:s,placeholder:l="",renderListItem:c,sizing:u="lg",value:d=(a?[]:"")})=>{const[p,m]=n(e.filter((e=>d.includes(e?.value)))),f=(t,r)=>{if(s){const n=r?e.map((({value:e})=>e)):[];m(r?e:[]),s(t,n,"selectOption"),i&&i()}},h=e=>null!==e&&(!Array.isArray(e)||e.length>0);return Ut.jsx(Vl,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:Ut.jsx(we,{}),sizing:u,disabled:o,disableClearable:t,autoComplete:!0,multiple:a,renderInput:e=>Ut.jsx(Bl,{...e,placeholder:h(p)?void 0:l,sizing:u}),options:e,renderTags:(e,t)=>e.map(((e,r)=>{const{key:n,...o}=t({index:r});return Ut.jsx(Dl,{sizing:u,deleteIcon:Ut.jsx(ke,{fontSize:"small"}),label:e.label,...o},n)})),onChange:(e,t,r)=>{const n=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;m(t),s?.(e,n,r),i?.()},PopperComponent:e=>Ut.jsx(Hl,{...e,sizing:u}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:r})=>{const{key:n,...o}=e;return Ut.jsxs("li",{...o,children:[Ut.jsx("span",{children:c?c(t.value,t.label):t.label}),Ut.jsx(ge,{sx:{visibility:r?"visible":"hidden",fontSize:"16px"}})]},n)},ListboxComponent:r(((t,r)=>Ut.jsx(Il,{ref:r,...t,showSelectAll:a,handleSelectAll:f,value:p,selections:e,sizing:u}))),value:p})},Zl=y(A)((({theme:e})=>({...{...Nl(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}}}))),Ul=({children:e,selected:t,...r})=>Ut.jsx(Zl,{...r,children:Ut.jsxs(w,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[Ut.jsx(w,{children:e}),t&&Ut.jsx(ge,{})]})}),Gl=y(U)((({theme:e,sizing:t})=>({...{...Al(e)},...t&&{..._l(e,t)},...t&&{...Ll(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}}}))),ql=({selections:e,autoComplete:t=!1,disabled:r=!1,disablePortal:n=!1,inputRef:o,internalChange:i,multi:a=!0,onChange:s,placeholder:l="",selectOptionProps:c,sizing:u="lg",sx:d,value:p=[],renderListItem:f,...h})=>{const g=m(),x=Rs();return t?Ut.jsx(Wl,{selections:e,placeholder:l,disabled:r,sizing:u,onChange:(e,t)=>{s&&s(t||""),i&&i()},value:Array.isArray(p)?p??[]:p??"",internalChange:i,renderListItem:f,multiple:a}):Ut.jsxs(Gl,{sizing:u,inputRef:o,MenuProps:{disablePortal:n,sx:Pl,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:we,renderValue:t=>l&&!t?Ut.jsx(Kr,{component:"p",variation:"sm"===x||"md"===x?"sm":"lg",sx:{color:g.custom.palette.text.placeholder},children:l}):Ut.jsx(Kr,{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,...h,children:[""!==l.trim()&&Ut.jsx(Ul,{disabled:!0,value:"","aria-label":"placeholder",children:l},"placeholder"),e?.map((({value:e,label:t})=>Ut.jsx(Ul,{value:e,...c,children:f?f(e,t):t},e)))]})},Kl=y(w)((({theme:e,disabled:t,fullWidth:r})=>({width:r?"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"}}}))),Yl=y(qs)((({theme:e})=>({fontSize:rn.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Xl=({label:e="Placeholder",disabled:t,onChange:r,options:n,fullWidth:o})=>{const i=m(),a=n.map((e=>e.label)).indexOf(e);return Ut.jsx(Kl,{disabled:t,fullWidth:o,children:Ut.jsxs(g,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[Ut.jsxs(w,{display:"flex",alignItems:"center",sx:{"& svg":{fill:i.custom.palette.icon.secondary}},children:[Ut.jsx(je,{sx:{width:ur.lg,height:ur.lg,mr:i.custom.padding.sm}}),Ut.jsx(Yl,{align:"left",disabled:t,children:e})]}),Ut.jsx(ql,{name:"rank",sizing:"xs",selections:n.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:t,value:`${a}`,onChange:function(e){const t=a,o=Number(e.target.value),i=n;let s=1;const l=i.splice(t,s)[0];s=0,i.splice(o,s,l),r(i)},MenuProps:{anchorOrigin:{vertical:Qt,horizontal:"center"}}})]})})},Jl=i({attributes:{},listeners:void 0,ref(){}}),Ql=e=>xt({...e,wasDragging:!0});function ec({children:e,top:t,bottom:r,id:n}){const{attributes:o,isDragging:i,listeners:s,setNodeRef:l,setActivatorNodeRef:c,transform:u,transition:d}=gt({id:n,animateLayoutChanges:Ql}),p=a((()=>({attributes:o,listeners:s,ref:c})),[o,s,c]),m={opacity:i?.4:void 0,transform:kt.Translate.toString(u),transition:d};return Ut.jsx(Jl.Provider,{value:p,children:Ut.jsxs(g,{className:"SortableItem",...o,sx:{position:"relative",...m,width:"100%"},ref:l,children:[t&&t,Ut.jsx(w,{...s,sx:{display:"flex",cursor:"grab"},children:e}),r&&r]})})}const tc={sideEffects:st({styles:{active:{opacity:"0.4"}}})};function rc({children:e}){return at(Ut.jsx(lt,{zIndex:999999,dropAnimation:tc,children:e}),document.body)}const nc=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class oc extends ft{static activators=[{eventName:"onMouseDown",handler:nc}]}class ic extends ht{static activators=[{eventName:"onTouchStart",handler:nc}]}function ac({items:e,onChange:t,renderItem:r,disabled:o,direction:i}){if(!e)return;const[s,c]=n(null),u=a((()=>e.find((e=>e?.id===s?.id))),[s,e]),d=m(),p=G(d.breakpoints.down("md")),f=ct(ut(oc,{activationConstraint:{distance:5}}),ut(ic,{activationConstraint:{delay:p?300:0,tolerance:8}}),ut(dt,{coordinateGetter:bt}));return Ut.jsxs(pt,{measuring:{droppable:{strategy:mt.Always}},sensors:f,onDragStart:({active:e})=>{c(e)},onDragEnd:({active:r,over:n})=>{if(n&&r.id!==n?.id){const o=e.findIndex((({id:e})=>e===r.id)),i=e.findIndex((({id:e})=>e===n.id));t(yt(e,o,i))}c(null)},onDragCancel:()=>{c(null)},children:[Ut.jsx(vt,{items:e,disabled:o,strategy:"horizontal"===i?Ct:wt,children:Ut.jsx(g,{sx:{..."horizontal"===i&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:e.map((e=>Ut.jsx(l,{children:r(e)},e.id)))})}),Ut.jsx(rc,{children:u?r(u,!0,!!s):null})]})}ac.Item=ec,ac.DragHandle=function(){const{attributes:e,listeners:t,ref:r}=s(Jl);return Ut.jsx(w,{...e,...t,ref:r,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 sc=({labelTop:e,labelBottom:t,disabled:r,fullWidth:o=!1,options:i,onChange:a,value:s,internalChange:l})=>{const c=m(),[u,d]=n(s||i);function p(e){d(e),a(e.map((({id:e})=>e))),l&&l()}return Ut.jsxs(g,{gap:c.custom.margin.sm,textAlign:"center",sx:{width:o?"100%":"auto"},children:[e&&Ut.jsx(qs,{disabled:r,sx:{color:c.custom.palette.text.secondary},children:e}),Ut.jsx(ac,{onChange:function(e){d(e),a(e.map((({id:e})=>e))),l&&l()},items:u,direction:"vertical",renderItem:({...e})=>Ut.jsx(ec,{id:e.id,children:Ut.jsx(Xl,{onChange:p,...e,options:u,disabled:r,selections:e.selections,fullWidth:o})})}),t&&Ut.jsx(qs,{disabled:r,sx:{color:c.custom.palette.text.secondary},children:t})]})},lc=y(Mt)((({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)}}}))),cc=({onChange:e,value:t,internalChange:r,minWidth:n=100,minHeight:o=100,maxHeight:i,placeholder:a})=>{const s=c(null),l=m();return Ut.jsx(lc,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:o,minWidth:n,maxHeight:i}},ref:s,onUpdate:({editor:t})=>{e&&e(t.storage.markdown.getMarkdown()),r&&r()},extensions:[St.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),jt.configure({placeholder:a}),Et],content:t,renderControls:()=>Ut.jsxs(g,{gap:l.custom.margin.xs,direction:"row",children:[Ut.jsx(Ot,{component:Hs,icon:Ut.jsx(Se,{}),sizing:"md"}),Ut.jsx($t,{component:Hs,icon:Ut.jsx(Me,{}),sizing:"md"})]})})},uc=e=>({"& .MuiSlider-thumb":{width:Jt,height:Jt,backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:Kt,height:Kt,backgroundColor:e.custom.palette.icon.primaryInverted}}}),dc=e=>Array.isArray(e),pc=(e,t)=>({height:Yt,padding:`${Yt}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${Qt}px)`,left:`-${Xt}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&&dc(t)?`-${Yt+1}px`:`-${Xt+1}px`,width:`calc(100% + ${Xt}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:Kt,width:Kt,borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),mc=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:Kt,minWidth:Qt,"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${rn.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),fc=y(q)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${Qt}px)`,marginLeft:Qt/2,...{...pc(e,t)},...{...uc(e)},...{...mc(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}}}}))),hc=[1,2,5,10],gc=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const r=(t-e)/9;if(r<=1)return 1;const n=Math.floor(Math.log10(r)),o=r/Math.pow(10,n);return i=o,(hc.find((e=>i<=e))??hc[hc.length-1])*Math.pow(10,n);var i},xc=({labelLeft:e,labelMiddle:t,labelRight:r,labelRightProps:n,labelLeftProps:o,disabled:i,onChange:a,internalChange:s,max:l,min:c,step:u,...d})=>{const p=u??gc(c,l),m=((e,t,r)=>{const n=[];for(let o=e;o<=t;o+=r)n.push({value:o,label:o===e||o===t||o+r<=t?o.toString():void 0});return n[n.length-1].value!==t&&n.push({value:t,label:t.toString()}),n})(c,l,p);return Ut.jsxs(w,{sx:{minWidth:300},children:[Ut.jsx(w,{height:24,children:Ut.jsx(fc,{valueLabelDisplay:i?"on":"auto",disabled:i,marks:m,step:p,max:l,min:c,onChangeCommitted:()=>{s&&s()},onChange:(e,t,r)=>{a&&a(e,t,r)},...d})}),Ut.jsxs(w,{sx:{display:"flex",justifyContent:"space-between",pt:or.lg,gap:1},children:[e&&Ut.jsx(w,{sx:{flex:1},children:Ut.jsx(Ln,{disabled:i,showicon:!1,...o,children:e})}),t&&Ut.jsx(w,{sx:{flex:1,textAlign:"center"},children:Ut.jsx(Ln,{showicon:!1,disabled:i,children:t})}),r&&Ut.jsx(w,{sx:{flex:1,textAlign:"right"},children:Ut.jsx(Ln,{...n,showicon:!1,disabled:i,children:r})})]})]})},bc=y(K)((({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}}}}))),yc=({internalChange:e,onChange:t,...r})=>Ut.jsx(bc,{...r,onChange:(r,n)=>{t&&t(r,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"})})}),vc=e=>({boxShadow:e.custom.elevation.raised}),Cc=e=>({boxShadow:e.custom.elevation.overlay}),wc=(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)}},kc=(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}},jc=y(Y)((({theme:e,variation:t="default",borderradius:r})=>({boxShadow:"unset",borderRadius:wc(e,r),background:kc(t,e),..."overlay"===t&&{...Cc(e)},..."raised"===t&&{...vc(e)}}))),Sc=({children:e,variation:t="overlay",sx:r,...n})=>Ut.jsx(jc,{variation:t,...n,sx:Oe(r||{},{}),children:e}),Mc=y((e=>Ut.jsx(X,{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})}}))),Oc=y(jn)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:er,alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:ur.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),$c=({startAdornment:e,endAdornment:t,onChange:r,internalChange:n,inputRef:o,...i})=>Ut.jsx(Oc,{multiline:!0,inputRef:o,InputProps:{startAdornment:e?Ut.jsx(M,{position:"start",children:e}):null,endAdornment:t?Ut.jsx(M,{position:"start",children:t}):null},onChange:e=>{r&&r(e),n&&n()},...i}),Ec=({typographyProps:e,text:t,sx:r})=>{const n=m();return Ut.jsx(w,{sx:Oe(r,{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(Kr,{align:"center",variation:"sm",component:"p",...e,children:t})})},Rc=({buttons:e,message:t,status:r="neutral",variation:n="sm"})=>{const o=m();return Ut.jsx(g,{sx:{backgroundColor:o.custom.palette.surface.overlay,borderRadius:o.spacing(o.custom.radius.lg),boxShadow:o.custom.elevation.overlay,color:o.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:Ut.jsxs(w,{sx:{display:"flex",flex:1,flexDirection:"sm"===n?"row":"column",gap:2},children:[Ut.jsxs(w,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==r&&Ut.jsx(Ic,{status:r}),Ut.jsx(w,{sx:{display:"flex"},children:Ut.jsx(Kr,{variation:"md",component:"p",sx:{px:1,pt:.5},children:t})})]}),e&&Ut.jsx(w,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},Ic=({status:e})=>{const t=m();switch(e){case"neutral":return null;case"success":return Ut.jsx(Tc,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return Ut.jsx(Tc,{backgroundColor:t.custom.palette.yellow[500],name:"error-outline"});case"danger":return Ut.jsx(Tc,{backgroundColor:t.custom.palette.red[500],name:"warning-amber"});case"discover":return Ut.jsx(Tc,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},Tc=({backgroundColor:e,name:t})=>{const r=m();return Ut.jsx(w,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:Ut.jsx(w,{sx:{backgroundColor:e,borderRadius:r.custom.radius.round,color:r.custom.palette.white,display:"flex",p:.5},children:Ut.jsx(dr,{name:t,size:20})})})},Fc=({children:e,message:t,variation:r="primary"})=>{const n=m();if("primary"===r)return Ut.jsx(J,{componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:n.spacing(n.custom.radius.sm)}}}},title:t,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:Ut.jsx(w,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})};const Lc=(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}},Ac=(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}},_c=y(Q)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${ee.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:Lc(t,e)}}))),Nc={translations:_t.translations,graphs:At.adjacencyGraphs,dictionary:{...At.dictionary,..._t.dictionary}};Ft.setOptions(Nc);const Pc=({label:e="Strength",width:t=60,value:r,onChange:i})=>{const[a,s]=n(0),l=m();return o((()=>{s(Lt(r).score)}),[r]),o((()=>{i(a)}),[a]),Ut.jsxs(g,{direction:"row",gap:1,sx:{alignItems:"center"},children:[Ut.jsx(Kr,{variation:"sm",component:"p",children:e}),Ut.jsx(_c,{variant:"determinate",value:0===a?6.6:25*a,score:a,sx:{width:t}}),Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:Ac(a,l)},children:["","Very weak","Weak","Strong","Excellent"][a]})]})},Vc=({helperText:e,inputName:t,errors:r,...n})=>{const o=Boolean(r&&r[t]);return o?Ut.jsx(Nt,{errors:r,name:t,render:({message:e})=>Ut.jsx(Ln,{showicon:!!e,state:"negative",children:e})}):e&&!o?Ut.jsx(Ln,{state:"default",...n,children:e}):null},Dc={textfield:Sn,numberfield:ll,textarea:$c,select:ql,checkbox:kn,checkboxGroup:Mn,slider:xc,starRating:yc,differential:zn,likert:rl,radioGroup:El,ranking:sc,richTextfield:cc,customfield:In},Bc=({name:e,fieldType:t,label:r,control:i,errors:a,labelProps:s,helperText:l,helpTextProps:c,validation:u,content:d,styleOverrides:p,defaultValue:f,onChange:h,watch:x,trigger:b,strengthIndicator:y,...v})=>{const{custom:C}=m(),w=void 0!==a&&Object.keys(a).length>0,[k,j]=n(0);return y&&o((()=>{k>0&&b(e)}),[k]),Ut.jsxs(g,{sx:p?.sxInputStack,gap:C.margin.sm,children:[r&&Ut.jsx(qs,{...s,children:r}),"html"===t&&d?Ut.jsx(Ts,{children:d}):Ut.jsxs(Ut.Fragment,{children:[Ut.jsx(Rt,{name:e,control:i,render:e=>function({field:{ref:e,...r}}){const n=Dc[t];return r.value||""===r.value||"false"===r.value?.toString()||0===parseInt(r.value)?Ut.jsx(n,{...v,...r,inputRef:e}):Ut.jsx("div",{})}({...e,field:{...e.field,value:e.field.value||f}}),rules:{...u,validate:e=>{if(u&&"phone"in u)return Tt(`+${x("extension")}${e}`)||u.phone.message;if(u&&"score"in u)return k<=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!=x(u.match.field)||u.match.message;case"gt":return e>x(u.match.field)||u.match.message;case"lt":return e<x(u.match.field)||u.match.message;default:return e===x(u.match.field)||u.match.message}}}}),y&&"password"===v?.type&&Ut.jsx(Pc,{value:x(e),onChange:j})]}),Ut.jsxs(Ut.Fragment,{children:[Boolean(w)?Ut.jsx(Vc,{helperText:void 0,inputName:e,errors:a,showicon:!0}):null,Boolean(l)?Ut.jsx(Vc,{helperText:l,inputName:e,errors:void 0,...c}):null]})]})},zc=e=>e.reduce(((e,t)=>({...e,[t?.name]:Hc(t,t?.defaultValue)})),{}),Hc=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:r}=e;return Array.isArray(t)?t:t||r}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":return t||!1;case"ranking":{const{options:r}=e;return t?t.map((e=>r.find((({id:t})=>t===e)))):r}}},Wc=r((({submitButton:e,secondaryButton:t,onFormSubmit:r,onFormChange:n,formConfig:i},s)=>{const{custom:l}=m(),{fields:c,reValidateMode:p,styleOverrides:f,autoComplete:h,formId:x,mode:b}=i,{reset:y,getValues:v,trigger:C,setValue:k,control:j,formState:{isValid:S,errors:M},setFocus:O,handleSubmit:$,watch:E}=It({mode:b||"onChange",reValidateMode:p,defaultValues:a((()=>zc(c)),[]),shouldUnregister:!0});o((()=>{(function(e,t){const r=new Set(e),n=new Set(t);return e.every((e=>n.has(e)))&&t.every((e=>r.has(e)))})(c.map((({name:e})=>e)),Object.keys(v()))||c.forEach((e=>{"html"!==e.fieldType&&e.defaultValue&&k(e.name,Hc(e,e.defaultValue))}))}),[c]),o((()=>{y(zc(c))}),[x]),u(s,(()=>({set(e,t){k(e,t)},resetForm(){y()},focus(e){O(e)},submit(){r&&$(r)()},values:()=>v(),valid:()=>S,errors:()=>M,async triggerFormValidation(){await C()}})));const R=()=>{n&&n(v())};return Ut.jsxs(w,{component:"form",autoComplete:h,noValidate:!0,sx:f?.sxForm,...r&&{onSubmit:$(r)},children:[Ut.jsx(g,{gap:l.margin.md,sx:f?.sxStack,children:c.map((({name:e,...t})=>d(Bc,{...n&&{internalChange:R},name:e,key:e,errors:M,control:j,watch:E,trigger:C,...t,defaultValue:zc(c)[e]})))}),(t||e)&&Ut.jsxs(g,{direction:"row",sx:f?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[t&&t,e&&e]})]})})),Zc={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},Uc=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},Gc=(e,t,r)=>({maxLength:{value:r||255,message:`Maximum character limit of ${r||255}.`},...t&&{required:e?`Please enter ${Uc(e)} ${e}`:"This field is required"}}),qc=Gc().maxLength.value,Kc=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"}}),Yc=({children:e,headContent:t,sx:r,...n})=>{const o=m();return Ut.jsxs(Sc,{...n,sx:Oe(r,{mx:[o.spacing(o.custom.margin.md),0],width:1,maxWidth:[512]}),children:[t&&Ut.jsx(w,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:o.spacing(o.custom.margin.md),px:o.spacing(o.custom.margin.md)},children:t}),Ut.jsx(w,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:t?[o.spacing(o.custom.margin.md)]:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)],px:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)],pb:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)]},children:e})]})},Xc=({body:e,currency:t,changeCurrencyEvent:r=()=>{},frequency:n,heading:o,setCurrency:i=()=>{},setFrequency:a=()=>{},togglePayAnnuallyEvent:s=()=>{}})=>{const l=m(),c=Rs(),u=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return Ut.jsxs(w,{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(w,{sx:{alignItems:"center",display:"flex",gap:1},children:[Ut.jsx(Mc,{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(g,{sx:{alignItems:"flex-start",display:"flex"},children:[Ut.jsx(Kr,{variation:"sm"===c||"md"===c?"md":"xxl",component:"p",children:o}),Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:l.custom.palette.text.secondary},children:e})]})]}),Ut.jsx(ql,{name:"currency",onChange:e=>{return t=e.target.value,r(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:er}}})]})};var Jc={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 Qc=({currencySymbol:e,data:t,starterPrice:r,starterRespondentPrice:n,teamPrice:o,teamRespondentPrice:i,plusPrice:a,plusRespondentPrice:s,scalePrice:l,scaleRespondentPrice:c,variation:u="default"})=>{const d=m();t||(t=Jc);const p=Object.values(t.headings).map((({heading:t,pricing:n})=>({heading:t,pricing:n.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",r).replace("{{teamPrice}}",o).replace("{{plusPrice}}",a).replace("{{scalePrice}}",l)}))),f=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",n||"").replace("{{teamRespondentPrice}}",i||"").replace("{{plusRespondentPrice}}",s||"").replace("{{scaleRespondentPrice}}",c||""),h=[...Object.values(t.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:f(e.starter),team:f(e.team),plus:f(e.plus),scale:f(e.scale)})))];return Ut.jsxs(g,{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(w,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[Ut.jsx(w,{sx:{width:160}}),p.map((({heading:e,pricing:t})=>Ut.jsxs(g,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[Ut.jsx(Kr,{variation:"platform"===u?"lg":"xxl",component:"p",weight:"bold",children:e}),Ut.jsx(Kr,{variation:"platform"===u?"sm":"md",component:"p",sx:{color:d.custom.palette.text.secondary},children:t})]},e)))]}),h.map((e=>Ut.jsxs(w,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:d.custom.palette.surface.sunken}},children:[Ut.jsx(w,{sx:{display:"flex",alignItems:"center",width:160},children:Ut.jsxs(w,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&Ut.jsx(Fc,{message:e.name.description,children:Ut.jsx(w,{sx:{alignItems:"center",color:d.custom.palette.icon.secondary,display:"flex"},children:Ut.jsx(dr,{name:"info",size:24})})}),Ut.jsx(Kr,{variation:"platform"===u?"md":"lg",component:"p",children:e.name.heading})]})}),Ut.jsx(eu,{text:e.starter}),Ut.jsx(eu,{text:e.team}),Ut.jsx(eu,{text:e.plus}),Ut.jsx(eu,{text:e.scale})]},e.key)))]})},eu=({text:e})=>{const t=m(),r="{{tick}}"===e,n="{{dash}}"===e;return Ut.jsx(w,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:Ut.jsxs(w,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[r&&Ut.jsx(dr,{name:"check",size:24}),n&&Ut.jsx(dr,{name:"dash",size:24}),!r&&!n&&Ut.jsx(Kr,{variation:"lg",component:"p",sx:{color:t.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:Ut.jsx(Ut.Fragment,{children:e})})]})})},tu=()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[r,i]=n(t);return o((()=>{if(e)return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r);function r(){p((()=>{i(t())}))}}),[]),r},ru=({amount:e,billingType:t,body:r,ctaEvent:i=()=>{},ctaLink:a="#",ctaTarget:s="_self",ctaText:l,ctaVariation:u="primary",currencySymbol:d,currentPlan:f,features:h=[],freeTrialLength:x,freeTrialText:b,frequency:y,heading:v,label:C,largestHeaderHeight:k=0,perMonth:j,setLargestHeaderHeight:S=()=>{},variation:M="default"})=>{const O=m(),$=Rs(),{width:E}=tu(),R=c(null),[I,T]=n("sm");return o((()=>{p((()=>{T($),$!==I&&S(0),R.current&&R.current.offsetHeight>k&&S(R.current.offsetHeight)}))}),[$,I,E]),Ut.jsxs(g,{sx:{display:"flex",flex:1,position:"relative"},children:[Ut.jsx(g,{sx:{alignItems:"center",backgroundColor:O.custom.palette.icon.primary,borderTopLeftRadius:O.spacing(O.custom.radius.lg),borderTopRightRadius:O.spacing(O.custom.radius.lg),boxShadow:O.custom.elevation.overlay,color:O.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(Kr,{variation:"md",component:"p",weight:"bold",sx:{color:O.custom.palette.white},children:C||"&nbsp;"})}),Ut.jsxs(g,{sx:{backgroundColor:O.custom.palette.surface.default,borderBottomLeftRadius:O.spacing(O.custom.radius.lg),borderBottomRightRadius:O.spacing(O.custom.radius.lg),borderTopLeftRadius:C?0:O.spacing(O.custom.radius.lg),borderTopRightRadius:C?0:O.spacing(O.custom.radius.lg),boxShadow:O.custom.elevation.overlay,display:"flex",flex:1},children:[Ut.jsxs(g,{sx:{display:"flex",gap:"sm"===$||"md"===$?1:2,textAlign:"center",minHeight:{sm:"none",md:k},px:2,py:{sm:2,lg:4}},ref:R,children:[Ut.jsx(Kr,{variation:"sm"===$?"xxl":"platform"===M?"md":"lg",component:"h2",weight:"bold",children:v}),Ut.jsx(Kr,{variation:"sm"===$?"md":"platform"===M?"md"===$?"sm":"md":"md"===$?"md":"lg",component:"p",sx:{color:O.custom.palette.text.secondary},children:r})]}),Ut.jsxs(g,{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(w,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[Ut.jsx(Kr,{variation:"md"===$?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:d}),Ut.jsx(Kr,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:e}),j&&Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:O.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:j})]}),x&&b&&Ut.jsxs(w,{sx:{alignItems:"center",backgroundColor:O.custom.palette.yellow[300],borderRadius:O.custom.radius.round,boxShadow:O.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[Ut.jsx(dr,{name:"gift",size:24}),Ut.jsxs(w,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[Ut.jsx(Kr,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:x}),Ut.jsx(Kr,{variation:"md",component:"p",sx:{lineHeight:1},children:b})]})]}),t&&Ut.jsx(Kr,{variation:"sm",component:"p",sx:{color:O.custom.palette.text.placeholder},children:t})]}),Ut.jsxs(g,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[Ut.jsx(w,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:Ut.jsx(ol,{href:a,title:l,target:s,onClick:()=>{v&&i(v)},sx:{"&:hover":{cursor:f?"default":"pointer"}},children:Ut.jsx(yn,{fullWidth:!0,variation:u,sizing:"lg",disabled:f,children:l})})}),h?.length&&Ut.jsx(g,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===M?4:6}},children:h.map(((e,t)=>Ut.jsxs(w,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[Ut.jsx(dr,{name:"positive",size:24}),Ut.jsx(Kr,{variation:"md",component:"p",children:e})]},`${v}-feature-${t}`)))})]})]})]})},nu=({body:e,ctaEvent:t=()=>{},ctaLink:r="",ctaTarget:n="_blank",ctaText:o,currencySymbol:i,heading:a,postText:s,preText:l,amount:c})=>{const u=m();return Ut.jsxs(w,{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(g,{sx:{flex:1,gap:2,justifyContent:"center"},children:[Ut.jsx(Kr,{variation:"md",component:"h2",sx:{fontWeight:500},children:a}),Ut.jsx(Kr,{variation:"md",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]}),Ut.jsxs(g,{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(w,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[Ut.jsx(Kr,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pr:.5},children:l}),Ut.jsxs(w,{sx:{alignItems:"flex-end",display:"flex"},children:[Ut.jsx(Kr,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:i}),Ut.jsx(Kr,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:c})]}),Ut.jsx(Kr,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pl:.1},children:s})]}),Ut.jsx(ol,{href:r,title:o,target:n,onClick:()=>{a&&t(a)},children:Ut.jsx(yn,{fullWidth:!0,variation:"outlined",sizing:"lg",children:o})})]})]})},ou=({heading:e,ticks:t})=>(m(),Ut.jsxs(g,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[Ut.jsx(Kr,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),Ut.jsx(w,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:t.map(((t,r)=>Ut.jsxs(w,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[Ut.jsx(dr,{name:"positive",size:32}),Ut.jsx(Kr,{variation:"xxl",component:"p",children:t})]},`tick-group-${e}-${r}`)))})]})),iu="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",au=(e,t,r)=>te({direction:r,custom:{palette:{black:"#000000",white:"#ffffff",neutral:Ar[e],neutralAlpha:"light"===e?Rr:Ir,purple:Nr[e],red:Pr[e],peach:Vr[e],yellow:Dr[e],blue:Br[e],green:zr[e],icon:Hr[e].icon,interaction:Hr[e].interaction,stroke:Hr[e].stroke,surface:Hr[e].surface,text:Hr[e].text,input:Hr[e].input},margin:nr,padding:or,radius:ir,elevation:ar,elevationFilter:sr,boxShadow:lr,easing:cr,typography:rn[t]},palette:{mode:e,primary:{main:Tr[500]}},spacing:rr,shape:{borderRadius:rr,hotspot:{default:12,active:24}},breakpoints:{values:Gt},typography:{fontFamily:`"${Ur.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:nn(t),styleOverrides:{root:{color:Hr[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${Ar[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: '${Zr.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Zr.default.weight};\n src: url(${iu}${Zr.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Zr.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Zr.bold.weight};\n src: url(${iu}${Zr.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ur.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ur.default.weight};\n src: url(${iu}${Ur.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ur.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ur.bold.weight};\n src: url(${iu}${Ur.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${Gt.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${Gt.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:Ur.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*rr}px ${e.padding.md*rr}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"}})}}}}),su=i(null),lu=()=>Ut.jsx(re,{styles:{"strong, b":{fontWeight:500}}}),cu=Sl({key:"muirtl",stylisPlugins:[ot,Pt]}),uu=Sl({key:"mui"}),du=({mode:e="light",screenSize:t="lg",direction:r="ltr",children:i})=>{const a=((e="light",t="lg",r="ltr")=>{const{width:i}=tu(),[a,s]=n(e),[l,c]=n(t),[u,d]=n(!1),[m,f]=n(au(a,l,r)),[h,g]=n(au("light"===a?"dark":"light",l,r)),[x,b]=n("");o((()=>{p((()=>{c(i&&i<Gt.lg?"sm":"lg")}))}),[i]),o((()=>{p((()=>{f(au(a,l,r)),g(au("light"===a?"dark":"light",l,r))}))}),[a,l]);const y=G(m.breakpoints.only("sm"),{noSsr:!0}),v=G(m.breakpoints.only("md"),{noSsr:!0}),C=G(m.breakpoints.between("lg","xl"),{noSsr:!0}),w=G(m.breakpoints.up("xl"),{noSsr:!0});return o((()=>{p((()=>{y&&b("sm"),v&&b("md"),C&&b("lg"),w&&b("xl")}))}),[y,v,C,w]),{breakpoint:x,darkTheme:h,gridOverlayVisible:u,mode:a,theme:m,toggleGridOverlay:()=>{p((()=>{d((e=>!e))}))},toggleMode:e=>{p((()=>{if(e)return s(e);s((e=>"light"===e?"dark":"light"))}))}}})(e,t,r);return o((()=>{"rtl"===r&&(document.dir="rtl")}),[]),Ut.jsx(su.Provider,{value:a,children:Ut.jsx(it,{value:"rtl"===r?cu:uu,children:Ut.jsxs(Es,{theme:a.theme,children:[Ut.jsx(ne,{}),Ut.jsx(lu,{}),i]})})})};export{Xc as AnnualController,Yc as AuthContainerSurface,Yr as AuthFormHeader,Xr as Avatar,Jr as AvatarGroup,yn as Button,Mn as CheckBoxGroup,kn as Checkbox,Rn as ColorBackgroundContainer,In as CustomField,qc as DEFAULT_MAX_INPUT_LENGTH,zn as Differential,Wn as DropdownMenu,vn as FormControlLabel,Wc as FormGenerator,Is as GridOverlay,Ts as Html,dr as Icon,Hs as IconButton,Gs as IconButtonGroup,qs as InputLabel,Ln as InputLabelHelp,rl as Likert,ol as Link,il as Loader,al as Logo,ll as NumberField,pl as Pill,Qc as PlanFeatureTable,ru as PlanTierCard,nu as PlanTierCardScale,Ol as Portal,$l as PoweredByWatermarkLogo,gn as Progress,Pn as Radio,El as RadioGroup,sc as Rank,cc as RichTextField,ql as Select,xc as Slider,ac as SortableList,yc as StarRating,Sc as Surface,Mc as Switch,$c as TextArea,Ec as TextBarDivider,Sn as TextField,du as ThemeProvider,ou as TickGroup,Rc as Toast,Fc as Tooltip,Kr as Typography,En as backgroundCreator,Uc as chooseArticle,Gc as defaultInputValidation,Zc as emailValidation,Kc as passwordValidation,Zn as useDropdownMenu};