@useloops/design-system 1.4.157 → 1.4.159

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7,4 +7,4 @@
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?F.exports=function(){if(M)return R;M=1;var t=e,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,r){var a,l={},c=null,d=null;for(a in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)n.call(t,a)&&!s.hasOwnProperty(a)&&(l[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===l[a]&&(l[a]=t[a]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:i.current}}return R.Fragment=r,R.jsx=a,R.jsxs=a,R}():F.exports=(T||(T=1,"production"!==process.env.NODE_ENV&&function(){var t,o=e,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),g=Symbol.iterator,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];!function(e,t,o){var r=f.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",o=o.concat([r]));var n=o.map((function(e){return String(e)}));n.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,n)}("error",e,o)}function v(e){return e.displayName||"Context"}function C(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 a:return"Profiler";case s:return"StrictMode";case u:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return v(e)+".Consumer";case l:return v(e._context)+".Provider";case d:return function(e,t,o){var r=e.displayName;if(r)return r;var n=t.displayName||t.name||"";return""!==n?o+"("+n+")":o}(e,e.render,"ForwardRef");case m:var t=e.displayName||null;return null!==t?t:C(e.type)||"Memo";case h:var o=e,r=o._payload,x=o._init;try{return C(x(r))}catch(e){return null}}return null}t=Symbol.for("react.module.reference");var y,w,j,k,S,M,L,B=Object.assign,I=0;function F(){}F.__reactDisabledLog=!0;var R,T=f.ReactCurrentDispatcher;function E(e,t,o){if(void 0===R)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return"\n"+R+e}var $,z=!1,O="function"==typeof WeakMap?WeakMap:Map;function H(e,t){if(!e||z)return"";var o,r=$.get(e);if(void 0!==r)return r;z=!0;var n,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,n=T.current,T.current=null,function(){if(0===I){y=console.log,w=console.info,j=console.warn,k=console.error,S=console.group,M=console.groupCollapsed,L=console.groupEnd;var e={configurable:!0,enumerable:!0,value:F,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}I++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){o=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){o=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=o.stack.split("\n"),c=a.length-1,d=l.length-1;c>=1&&d>=0&&a[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(a[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||a[c]!==l[d]){var u="\n"+a[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&$.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{z=!1,T.current=n,function(){if(0==--I){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:B({},e,{value:y}),info:B({},e,{value:w}),warn:B({},e,{value:j}),error:B({},e,{value:k}),group:B({},e,{value:S}),groupCollapsed:B({},e,{value:M}),groupEnd:B({},e,{value:L})})}I<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?E(p):"";return"function"==typeof e&&$.set(e,m),m}function P(e,t,o){if(null==e)return"";if("function"==typeof e)return H(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return E(e);switch(e){case u:return E("Suspense");case p:return E("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case d:return H(e.render,!1);case m:return P(e.type,t,o);case h:var n=e,i=n._payload,s=n._init;try{return P(s(i),t,o)}catch(e){}}return""}$=new O;var V=Object.prototype.hasOwnProperty,D={},W=f.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,o=P(e.type,e._source,t?t.type:null);W.setExtraStackFrame(o)}else W.setExtraStackFrame(null)}var _=Array.isArray;function N(e){return _(e)}function G(e){return""+e}function q(e){if(function(e){try{return G(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)),G(e)}var K,U,Y=f.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function Q(e,t,o,n,i){var s,a={},l=null,c=null;for(s in void 0!==o&&(q(o),l=""+o),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)&&(q(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&&Y.current}(t)),t)V.call(t,s)&&!X.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps){var d=e.defaultProps;for(s in d)void 0===a[s]&&(a[s]=d[s])}if(l||c){var u="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var o=function(){K||(K=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(a,u),c&&function(e,t){var o=function(){U||(U=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(a,u)}return function(e,t,o,n,i,s,a){var l={$$typeof:r,type:e,key:t,ref:o,props:a,_owner:s,_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,Y.current,a)}var J,ee=f.ReactCurrentOwner,te=f.ReactDebugCurrentFrame;function oe(e){if(e){var t=e._owner,o=P(e.type,e._source,t?t.type:null);te.setExtraStackFrame(o)}else te.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}function ne(){if(ee.current){var e=C(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var ie={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ne();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ie[o]){ie[o]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+C(e._owner.type)+"."),oe(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,r),oe(null)}}}function ae(e,t){if("object"==typeof e)if(N(e))for(var o=0;o<e.length;o++){var r=e[o];re(r)&&se(r,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,s=n.call(e);!(i=s.next()).done;)re(i.value)&&se(i.value,t)}}function le(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==d&&o.$$typeof!==m)return;t=o.propTypes}if(t){var r=C(o);!function(e,t,o,r,n){var i=Function.call.bind(V);for(var s in e)if(i(e,s)){var a=void 0;try{if("function"!=typeof e[s]){var l=Error((r||"React class")+": "+o+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}a=e[s](t,s,r,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}!a||a 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).",r||"React class",o,s,typeof a),Z(null)),a instanceof Error&&!(a.message in D)&&(D[a.message]=!0,Z(n),b("Failed %s type: %s",o,a.message),Z(null))}}(t,e.props,"prop",r,e)}else void 0===o.PropTypes||J||(J=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",C(o)||"Unknown"));"function"!=typeof o.getDefaultProps||o.getDefaultProps.isReactClassApproved||b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ce={};function de(e,o,n,g,f,v){var y=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===s||e===u||e===p||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===t||void 0!==e.getModuleId)}(e);if(!y){var w,j="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),j+=ne(),null===e?w="null":N(e)?w="array":void 0!==e&&e.$$typeof===r?(w="<"+(C(e.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):w=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,j)}var k=Q(e,o,n,f,v);if(null==k)return k;if(y){var S=o.children;if(void 0!==S)if(g)if(N(S)){for(var M=0;M<S.length;M++)ae(S[M],e);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,e)}if(V.call(o,"key")){var L=C(e),B=Object.keys(o).filter((function(e){return"key"!==e})),I=B.length>0?"{key: someKey, "+B.join(": ..., ")+": ...}":"{key: someKey}";ce[L+I]||(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} />',I,L,B.length>0?"{"+B.join(": ..., ")+": ...}":"{}",L),ce[L+I]=!0)}return e===i?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var r=t[o];if("children"!==r&&"key"!==r){oe(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),oe(null);break}}null!==e.ref&&(oe(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}(k):le(k),k}var ue=function(e,t,o){return de(e,t,o,!1)},pe=function(e,t,o){return de(e,t,o,!0)};A.Fragment=i,A.jsx=ue,A.jsxs=pe}()),A);var E=F.exports;const $={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},z=0,O=4,H=8,P=16,V=24,D=32,W=40,Z=48,_=H,N={none:z,xs:O/_,sm:H/_,md:P/_,lg:D/_,xl:Z/_,xxl:80/_,xxxl:160/_},G={none:z,xs:O/_,sm:H/_,md:P/_,lg:D/_,xl:Z/_},q={none:z,xs:2/_,sm:O/_,md:H/_,lg:P/_,xl:V/_,round:999},K={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)"},U={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))"},Y={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},X={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},Q={xs:2*_,sm:2*_,md:2*_,lg:2.5*_,xl:3*_},J=({name:e,size:n,sx:i})=>{const s=t.useTheme(),a=n||Q.xl,l=n||Q.xl;switch(e){case"loopsOfficial":return E.jsx(t.SvgIcon,{viewBox:"0 0 106 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:r.mergeSx(i,{"&.MuiSvgIcon-root path":{fill:"light"===s.palette.mode?s.custom.palette.icon.primary:s.custom.palette.icon.lockedWhite}}),children:E.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 E.jsxs(t.SvgIcon,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:[E.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"}),E.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"}),E.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"}),E.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 E.jsxs(t.SvgIcon,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:[E.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"}),E.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 E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{style:{height:n,width:n},viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(o.PlayCircle,{style:{height:a,width:l},sx:i});case"close":return E.jsx(o.Close,{style:{height:a,width:l},sx:i});case"arrow-forward":return E.jsx(o.ArrowForward,{style:{height:a,width:l},sx:i});case"expand-more":return E.jsx(o.ExpandMore,{style:{height:a,width:l},sx:i});case"info":return E.jsx(o.InfoOutlined,{style:{height:a,width:l},sx:i});case"check-circle":return E.jsx(o.CheckCircleOutlineOutlined,{style:{height:a,width:l},sx:i});case"error-outline":return E.jsx(o.ErrorOutlineOutlined,{style:{height:a,width:l},sx:i});case"lightbulb":return E.jsx(o.LightbulbOutlined,{style:{height:a,width:l},sx:i});case"warning-amber":return E.jsx(o.WarningAmberRounded,{style:{height:a,width:l},sx:i});case"access-time":return E.jsx(o.QueryBuilderRounded,{style:{height:a,width:l},sx:i});case"menu":return E.jsx(o.MenuRounded,{style:{height:a,width:l},sx:i});case"lock":return E.jsx(o.LockOutlined,{style:{height:a,width:l},sx:i});case"check":return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",style:{height:n,width:n},children:[E.jsx("rect",{width:"24",height:"24",y:".5",fill:"#48B244",rx:"12"}),E.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 E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.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 E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:n,width:n},children:[E.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"}),E.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M19.5 12v7a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-7M8 8a2.5 2.5 0 1 1 0-5c.965-.017 1.91.451 2.713 1.343.802.892 1.425 2.166 1.787 3.657.362-1.49.985-2.765 1.787-3.657C15.09 3.451 16.035 2.983 17 3a2.5 2.5 0 0 1 0 5"})]});case"push-left":return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:n,width:n},children:[E.jsx("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.334 1.334 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),E.jsx("path",{d:"M19.607 18.393 17.22 16l2.387-2.393-.94-.94L15.333 16l3.334 3.333.94-.94Z"})]});case"push-right":return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:n,width:n},children:[E.jsx("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.333 1.333 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),E.jsx("path",{d:"M15.727 18.393 18.113 16l-2.386-2.393.94-.94L20 16l-3.333 3.333-.94-.94Z"})]});case"star":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M19.6486 9.29459L14.8086 8.87459L12.9186 4.42459C12.5786 3.61459 11.4186 3.61459 11.0786 4.42459L9.18861 8.88459L4.35861 9.29459C3.47861 9.36459 3.11861 10.4646 3.78861 11.0446L7.45861 14.2246L6.35861 18.9446C6.15861 19.8046 7.08861 20.4846 7.84861 20.0246L11.9986 17.5246L16.1486 20.0346C16.9086 20.4946 17.8386 19.8146 17.6386 18.9546L16.5386 14.2246L20.2086 11.0446C20.8786 10.4646 20.5286 9.36459 19.6486 9.29459ZM11.9986 15.6546L8.23861 17.9246L9.23861 13.6446L5.91861 10.7646L10.2986 10.3846L11.9986 6.35459L13.7086 10.3946L18.0886 10.7746L14.7686 13.6546L15.7686 17.9346L11.9986 15.6546Z"})});case"open-in-new":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:n,width:n},children:E.jsx("path",{d:"M15 15.8333H5C4.54167 15.8333 4.16667 15.4583 4.16667 15V5C4.16667 4.54167 4.54167 4.16667 5 4.16667H9.16667C9.625 4.16667 10 3.79167 10 3.33333C10 2.875 9.625 2.5 9.16667 2.5H4.16667C3.24167 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.75 3.25 17.5 4.16667 17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V10.8333C17.5 10.375 17.125 10 16.6667 10C16.2083 10 15.8333 10.375 15.8333 10.8333V15C15.8333 15.4583 15.4583 15.8333 15 15.8333ZM11.6667 3.33333C11.6667 3.79167 12.0417 4.16667 12.5 4.16667H14.6583L7.05 11.775C6.725 12.1 6.725 12.625 7.05 12.95C7.375 13.275 7.9 13.275 8.225 12.95L15.8333 5.34167V7.5C15.8333 7.95833 16.2083 8.33333 16.6667 8.33333C17.125 8.33333 17.5 7.95833 17.5 7.5V3.33333C17.5 2.875 17.125 2.5 16.6667 2.5H12.5C12.0417 2.5 11.6667 2.875 11.6667 3.33333Z"})});case"notification":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:n,width:n},children:E.jsx("path",{d:"M8.34167 17.3C8.34167 18.2167 9.08333 18.9584 10 18.9584C10.9167 18.9584 11.6583 18.2167 11.6583 17.3H8.34167ZM10 4.79169C12.3 4.79169 14.1667 6.65835 14.1667 8.95835V14.7917H5.83333V8.95835C5.83333 6.65835 7.7 4.79169 10 4.79169ZM10 1.04169C9.30833 1.04169 8.75 1.60002 8.75 2.29169V3.26669C6.13333 3.83335 4.16667 6.16669 4.16667 8.95835V13.9584L2.5 15.625V16.4584H17.5V15.625L15.8333 13.9584V8.95835C15.8333 6.16669 13.8667 3.83335 11.25 3.26669V2.29169C11.25 1.60002 10.6917 1.04169 10 1.04169ZM9.16667 6.45835H10.8333V9.79169H9.16667V6.45835ZM9.16667 11.4584H10.8333V13.125H9.16667V11.4584Z"})});case"chevron-right":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M9 6.71063C8.61 7.10063 8.61 7.73063 9 8.12063L12.88 12.0006L9 15.8806C8.61 16.2706 8.61 16.9006 9 17.2906C9.39 17.6806 10.02 17.6806 10.41 17.2906L15 12.7006C15.39 12.3106 15.39 11.6806 15 11.2906L10.41 6.70063C10.03 6.32063 9.39 6.32063 9 6.71063Z"})});case"check-thin":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M8.79506 15.875L5.32506 12.405C4.93506 12.015 4.30506 12.015 3.91506 12.405C3.52506 12.795 3.52506 13.425 3.91506 13.815L8.09506 17.995C8.48506 18.385 9.11506 18.385 9.50506 17.995L20.0851 7.41502C20.4751 7.02502 20.4751 6.39502 20.0851 6.00502C19.6951 5.61502 19.0651 5.61502 18.6751 6.00502L8.79506 15.875Z"})});case"home":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"})});case"folder":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M9.17 6L11.17 8H20V18H4V6H9.17ZM10 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 6.9 21.1 6 20 6H12L10 4Z"})});case"help":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z"})});case"settings":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M19.4322 12.98C19.4722 12.66 19.5022 12.34 19.5022 12C19.5022 11.66 19.4722 11.34 19.4322 11.02L21.5422 9.37C21.7322 9.22 21.7822 8.95 21.6622 8.73L19.6622 5.27C19.5722 5.11 19.4022 5.02 19.2222 5.02C19.1622 5.02 19.1022 5.03 19.0522 5.05L16.5622 6.05C16.0422 5.65 15.4822 5.32 14.8722 5.07L14.4922 2.42C14.4622 2.18 14.2522 2 14.0022 2H10.0022C9.75216 2 9.54216 2.18 9.51216 2.42L9.13216 5.07C8.52216 5.32 7.96216 5.66 7.44216 6.05L4.95216 5.05C4.89216 5.03 4.83216 5.02 4.77216 5.02C4.60216 5.02 4.43216 5.11 4.34216 5.27L2.34216 8.73C2.21216 8.95 2.27216 9.22 2.46216 9.37L4.57216 11.02C4.53216 11.34 4.50216 11.67 4.50216 12C4.50216 12.33 4.53216 12.66 4.57216 12.98L2.46216 14.63C2.27216 14.78 2.22216 15.05 2.34216 15.27L4.34216 18.73C4.43216 18.89 4.60216 18.98 4.78216 18.98C4.84216 18.98 4.90216 18.97 4.95216 18.95L7.44216 17.95C7.96216 18.35 8.52216 18.68 9.13216 18.93L9.51216 21.58C9.54216 21.82 9.75216 22 10.0022 22H14.0022C14.2522 22 14.4622 21.82 14.4922 21.58L14.8722 18.93C15.4822 18.68 16.0422 18.34 16.5622 17.95L19.0522 18.95C19.1122 18.97 19.1722 18.98 19.2322 18.98C19.4022 18.98 19.5722 18.89 19.6622 18.73L21.6622 15.27C21.7822 15.05 21.7322 14.78 21.5422 14.63L19.4322 12.98ZM17.4522 11.27C17.4922 11.58 17.5022 11.79 17.5022 12C17.5022 12.21 17.4822 12.43 17.4522 12.73L17.3122 13.86L18.2022 14.56L19.2822 15.4L18.5822 16.61L17.3122 16.1L16.2722 15.68L15.3722 16.36C14.9422 16.68 14.5322 16.92 14.1222 17.09L13.0622 17.52L12.9022 18.65L12.7022 20H11.3022L10.9522 17.52L9.89216 17.09C9.46216 16.91 9.06216 16.68 8.66216 16.38L7.75216 15.68L6.69216 16.11L5.42216 16.62L4.72216 15.41L5.80216 14.57L6.69216 13.87L6.55216 12.74C6.52216 12.43 6.50216 12.2 6.50216 12C6.50216 11.8 6.52216 11.57 6.55216 11.27L6.69216 10.14L5.80216 9.44L4.72216 8.6L5.42216 7.39L6.69216 7.9L7.73216 8.32L8.63216 7.64C9.06216 7.32 9.47216 7.08 9.88216 6.91L10.9422 6.48L11.1022 5.35L11.3022 4H12.6922L13.0422 6.48L14.1022 6.91C14.5322 7.09 14.9322 7.32 15.3322 7.62L16.2422 8.32L17.3022 7.89L18.5722 7.38L19.2722 8.59L18.2022 9.44L17.3122 10.14L17.4522 11.27ZM12.0022 8C9.79216 8 8.00216 9.79 8.00216 12C8.00216 14.21 9.79216 16 12.0022 16C14.2122 16 16.0022 14.21 16.0022 12C16.0022 9.79 14.2122 8 12.0022 8ZM12.0022 14C10.9022 14 10.0022 13.1 10.0022 12C10.0022 10.9 10.9022 10 12.0022 10C13.1022 10 14.0022 10.9 14.0022 12C14.0022 13.1 13.1022 14 12.0022 14Z"})});default:return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 33",style:{height:n,width:n},sx:i,children:[E.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"}),E.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"})]})}},ee="#FFFFFF",te="#F8F8F9",oe="#E8E7EB",re="#D1CFD6",ne="#BAB7C2",ie="#A39FAD",se="#756F85",ae="#5E5770",le="#190F33",ce="#130B26",de="#1C142F",ue="#2A223C",pe="#413A51",me="#585267",he="#6F697D",xe="#9D98A8",ge="#B4AFBE",fe="#F9F6FF",be={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},ve={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},Ce={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},ye={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},we={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},je={light:{0:ee,50:te,100:oe,200:re,300:ne,400:ie,500:"#8C8799",600:se,700:ae,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:le,1100:"#0D081A"},dark:{0:ce,50:de,100:ue,200:pe,300:me,400:he,500:"#868092",600:xe,700:ge,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:fe,1100:"#FFFFFF"}},ke=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]}}),Se=ke(Ce),Me=ke(ye),Le=ke({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),Be=ke({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),Ie=ke({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),Fe=ke(we),Re={light:{surface:{sunken:te,default:ee,raised:ee,overlay:ee,scrim:be[3],transparent:be[.01]},interaction:{none:be[0],hover:be[1],press:be[2],hoverOnDark:be[3],pressOnDark:be[4],disabled:be[2]},stroke:{default:re,focus:Ce[500],disabled:oe},text:{primary:le,secondary:se,placeholder:ie,disabled:ne,textLink:Ce[800],textLinkHover:Ce[900],primaryInverted:ee,secondaryInverted:ie,placeholderInverted:se,disabledInverted:ae,positive:we[800],negative:ye[700],lockedWhite:ee},icon:{primary:le,secondary:se,disabled:ne,primaryInverted:ee,secondaryInverted:ie,disabledInverted:ae,positive:we[800],negative:ye[700],lockedWhite:ee},input:{default:ee,disabled:"#FFFFFF80"}},dark:{surface:{default:de,sunken:ce,raised:ue,overlay:pe,scrim:ve[3],transparent:ve[.01]},interaction:{none:ve[0],hover:ve[1],press:ve[2],hoverOnDark:ve[3],pressOnDark:ve[4],disabled:ve[2]},stroke:{default:pe,focus:Ce[500],disabled:ue},text:{primary:fe,secondary:ge,placeholder:he,disabled:me,textLink:Ce[100],textLinkHover:Ce[0],primaryInverted:ce,secondaryInverted:he,placeholderInverted:xe,disabledInverted:ge,positive:we[300],negative:ye[300],lockedWhite:ee},icon:{primary:fe,secondary:ge,disabled:me,primaryInverted:ce,secondaryInverted:he,disabledInverted:ge,positive:we[300],negative:ye[300],lockedWhite:ee},input:{default:ue,disabled:"#2A223C80"}}};var Te;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(Te||(Te={}));const Ae={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:Te.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:Te.BOLD}},Ee={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:Te.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:Te.BOLD}},$e={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},ze=e=>"bold"===e?Te.BOLD:Te.DEFAULT,Oe=({component:e,weight:o="default",variation:n,clamp:i=0,type:s="default",...a})=>E.jsx(t.Typography,{component:e,fontWeight:ze(o),variant:n,...a,sx:r.mergeSx(a.sx,!!i&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:i},"button"===s&&{lineHeight:1.2})}),He=({sizing:e="lg",children:o,...r})=>{const{custom:n}=t.useTheme();switch(e){case"sm":return E.jsx(t.Avatar,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:32,width:32},...r,children:o});case"lg":return E.jsx(t.Avatar,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:48,width:48},...r,children:o})}},Pe=["xs","sm","md","lg","xl","xxl","xxxl"],Ve=(e,t=16)=>{const o=1/t*e;return Math.round(1e3*o)/1e3},De=(e,t="xs")=>{const o=Pe.reduce(((o,r,n)=>{const i=Pe.indexOf(t)||0,s=Number((16*Math.pow(e,n-i)).toFixed(2));return o[r]=s,o}),{}),r={};for(const[e,t]of Object.entries(o))r[e]=Ve(t)+"rem";return r},We={lg:{headline:De(1.309,"xs"),body:De(1.125,"md")},sm:{headline:De(1.125,"xs"),body:De(1.1,"md")},button:De(1.125,"md")},Ze=e=>{const t=Pe.map((t=>({props:{variant:t},style:{fontFamily:`${$e.Serif}`,fontSize:We[e].headline[t]}}))),o=Pe.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${$e.SansSerif}`,fontSize:We[e].body[t]}}))),r=Pe.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${$e.SansSerif}`,fontSize:We[e].body[t]}})));return[...t,...Pe.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${$e.SansSerif}`,fontSize:We[e].body[t]}}))),...o,...r]},_e={xs:We.button.xs,sm:We.button.sm,md:We.button.sm,lg:We.button.md,xl:We.button.lg,xxl:We.button.xl,xxxl:We.button.xxl},Ne=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Ge=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}`}}),qe=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]}}),Ke=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}}}),Ue=(e,t)=>({cursor:"pointer","&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},...t&&{backgroundColor:e.custom.palette.interaction.press,"&:hover":{backgroundColor:e.custom.palette.interaction.press},"&:focus":{backgroundColor:e.custom.palette.interaction.press},"&:active":{backgroundColor:e.custom.palette.interaction.press}}}),Ye={xs:3*_,sm:3.5*_,md:4*_,lg:5*_,xl:6*_,xxl:7*_,xxxl:8*_},Xe={xs:.5*_,sm:.5*_,md:_,lg:_,xl:_,xxl:_,xxxl:_},Qe=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:Q[e],width:Q[e]}}}),Je=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:_e[e],paddingLeft:Xe[e],paddingRight:Xe[e]}}),et=e=>({height:Ye[e],paddingLeft:_,paddingRight:_}),tt=t.styled(t.CircularProgress)((()=>({color:"inherit",position:"absolute",padding:2}))),ot=({sizing:e,...t})=>E.jsx(tt,{size:e?Q[e]:40,...t}),rt=t.styled(t.Button)((({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"}}))),nt=t.styled((({children:e,loading:o,sizing:r,...n})=>E.jsxs(rt,{...n,sizing:r,loading:o,children:[o&&E.jsx(ot,{sizing:r}),E.jsx(t.Box,{...o?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:o})=>({color:e.custom.palette.text.primary,...o&&{...Je(o)},...o&&{...et(o)},...o&&{...Qe(o)},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&:focus:before":{backgroundColor:e.custom.palette.interaction.hover},"&:active:before":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},..."subtle"===t&&{...Ne(e)},..."outlined"===t&&{...Ge(e)},..."secondary"===t&&{...qe(e)},..."primary"===t&&{...Ke(e)}}))),it=({sizing:e="lg",variation:t="primary",...o})=>E.jsx(nt,{variation:t,sizing:e,...o}),st=({label:e,sx:o,...n})=>{const i=t.useTheme(),s=e?i.custom.margin.md:0;return E.jsx(t.FormControlLabel,{label:e||"",sx:r.mergeSx({ml:0,"&.Mui-disabled":{color:i.custom.palette.text.disabled},"&.Mui-error":{color:i.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:s,color:"inherit",fontSize:{xs:We.sm.body.md,sm:We.sm.body.md,md:We.sm.body.md,lg:We.lg.body.md,xl:We.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:s}}},o),...n})},at=t.styled(t.Checkbox)((({theme:e,sizing:t})=>({height:"default"===t?V:D,width:"default"===t?V:D,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?Q.sm:Q.xl,height:"default"===t?Q.sm:Q.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}}}))),lt=e=>E.jsx(at,{checkedIcon:E.jsx(o.Check,{}),indeterminateIcon:E.jsx(o.Remove,{}),...e}),ct=({internalChange:e,checkboxLabel:t,indeterminate:o,sizing:r="default",onChange:n,inputRef:i,value:s,...a})=>E.jsx(st,{inputRef:i,label:t,checked:s,control:E.jsx(lt,{sizing:r,indeterminate:o}),onChange:(t,o)=>{n&&n(t,o),e&&e()},...a}),dt=t.styled(t.TextField)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:Q.xl,height:Q.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:We.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"}}}}}))),ut=({startAdornment:e,endAdornment:o,placeholder:r,onChange:n,internalChange:i,inputRef:s,...a})=>E.jsx(dt,{placeholder:r,sx:{height:W,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:s,InputProps:{startAdornment:e?E.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:e}):null,endAdornment:o?E.jsx(t.InputAdornment,{position:"start",sx:{pr:1},children:o}):null},...a,onChange:e=>{n&&n(e),i&&i()}}),pt=({sizing:e,options:o,other:r,internalChange:n,value:i,inputRef:s,onChange:a})=>{const l=r?.name||"other-option",c=`${l}-value-`,d=e=>`${c}${e}`,u=r?.enabled,p=i?.includes(l)&&u,m=i?.find((e=>e.includes(c)));if(!i)return E.jsx("div",{});const h=(e,t)=>{let s=i.includes(e)?i.filter((t=>t!==e)):t?[e]:[...new Set(i),e];if(t||(s=s.filter((e=>!o.find((t=>t?.exclusive&&e===t.value))))),r?.enabled){!i.includes(l)||e!==l||(s=s.filter((e=>!e.includes(c))))}a(s),n&&n()};return E.jsxs(E.Fragment,{children:[E.jsxs(t.FormGroup,{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:[o?o.map(((t,o)=>{const r=t.value;return E.jsx(st,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>h(r,t.exclusive),checked:i.includes(r),control:E.jsx(lt,{sizing:e}),label:t.label},r)})):null,u&&E.jsx(st,{inputRef:s,onChange:()=>h(l),label:r?.label||"Other",checked:i.includes(l),control:E.jsx(lt,{sizing:e})},l)]}),p&&E.jsx(t.Box,{sx:{mt:1},children:E.jsx(ut,{fullWidth:!0,autoFocus:!0,defaultValue:m?m.replace(c,""):"",placeholder:r?.placeholder,onChange:e=>{const t=i.find((e=>e.includes(c))),o=(t?i.map((t=>t.includes(c)?d(e.target.value):t)):[...i,d(e.target.value)]).filter((e=>e!==c));a(o),n&&n()},required:!0})})]})},mt=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,ht=(e,o)=>{switch(o){case"tone1":default:return mt(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%, ${t.alpha(e.custom.palette.blue[1e3],.2)} 0%, ${t.alpha(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},xt=(e,t)=>{const o=ht(e,t.gradient),r=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return r?[r,o].join(","):[o].join(",")},gt=({inputField:e,onChange:t,internalChange:o,transformValue:r,...n})=>{const i=e;return E.jsx(i,{onChange:e=>{t&&t(r?r(e):e),o&&o()},...n})},ft=t.styled(t.InputLabel)((({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}}))),bt=e=>E.jsx(ft,{...e}),vt=e=>{const{icon:r=null,state:n="default",disabled:i,showicon:s=!0}=e,a=t.useTheme();return E.jsxs(t.Box,{sx:{display:"inline-flex",alignItems:"center",color:i?a.custom.palette.text.disabled:(()=>{switch(n){case"disabled":return a.custom.palette.text.disabled;case"positive":return a.custom.palette.text.positive;case"negative":return a.custom.palette.text.negative;default:return a.custom.palette.text.secondary}})(),"& svg":{marginRight:a.spacing(a.custom.margin.xs),width:Q.xs,height:Q.xs,color:"inherit"}},children:[(()=>{if(!s)return null;if(r)return r;switch(n){case"disabled":default:return E.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:E.jsx(o.Info,{})});case"positive":return E.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:E.jsx(o.Check,{})});case"negative":return E.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:E.jsx(o.ErrorOutline,{})})}})(),E.jsx(bt,{...e,sx:{fontSize:{xs:We.sm.body.sm,sm:We.sm.body.sm,md:We.sm.body.sm,lg:We.lg.body.sm,xl:We.lg.body.sm}}})]})},Ct=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:O,height:O,top:`calc(100% + ${O}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:O,height:O,top:`calc(100% + ${O}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),yt=({children:e,width:t})=>E.jsx(Ct,{sx:{width:t,minWidth:300},children:e}),wt=t.styled(t.Radio)((({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?V:D,width:"default"===t?V:D,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&Q.sm,height:"default"===t&&Q.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}}}}))),jt=e=>E.jsx(wt,{...e}),kt=t.styled(jt)((()=>({marginRight:0}))),St=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:O,width:`calc(100% - ${D}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Mt=e=>E.jsx(St,{sx:{position:"relative"},children:E.jsx(kt,{...e})}),Lt=({disabled:e=!1,onChange:o,labelLeft:r,labelRight:n,internalChange:i,labelCenter:s})=>{const a=[...Array(7).keys()];return E.jsx(t.RadioGroup,{children:E.jsxs(yt,{children:[E.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:a.map(((r,n)=>{const s=n+1!==a.length;return E.jsx(t.Grid,{item:!0,sm:s,children:E.jsx(Mt,{disabled:e,value:r,onChange:(e,t)=>{o&&o(e,t),i&&i()},name:`radio-option-${r}`},r)},r)}))}),E.jsxs(t.Grid,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[E.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"left"},children:E.jsx(vt,{disabled:e,showicon:!1,children:r})}),E.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"center"},children:E.jsx(vt,{disabled:e,align:"center",showicon:!1,children:s})}),E.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"right"},children:E.jsx(vt,{disabled:e,align:"right",showicon:!1,children:n})})]})]})})},Bt=t.styled(t.Menu)((({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:t.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),It=()=>{const e=t.useTheme();return[...e.breakpoints.keys].reduce(((t,o)=>n(e.breakpoints.up(o))?o:t),null)??"sm"},Ft=({children:e,...t})=>e,Rt=({children:e,message:o,variation:r="primary",...n})=>{const i=t.useTheme();if("primary"===r)return E.jsx(t.Tooltip,{...n,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:i.spacing(i.custom.radius.sm),filter:`drop-shadow(${i.custom.elevation.overlay})`}}}},title:o,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:E.jsx(t.Box,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},Tt=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),At=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}}}),Et=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"}}),$t=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"}}),zt=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Ot={xs:3*_,sm:3.5*_,md:4*_,lg:5*_,xl:6*_},Ht=e=>({height:Ot[e],width:Ot[e]}),Pt={xs:2*_,sm:2*_,md:2*_,lg:2.5*_,xl:3*_},Vt=e=>({height:Pt[e],width:Pt[e]}),Dt=t.styled(t.IconButton)((({theme:e,variation:t,shape:o="default",sizing:r})=>({boxSizing:"border-box",transition:"all 200ms ease",...o&&{...zt(o,e)},...r&&{...Ht(r)},"&.MuiIconButton-root":{..."default"===t&&{...Tt(e)},..."toggle"===t&&{...At(e)},..."outlined"===t&&{...Et(e)},..."raised"===t&&{...$t(e)},...o&&{...zt(o,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...r&&{...Vt(r)},position:"relative",zIndex:1}}))),Wt=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}}),Zt=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}}),_t=t.styled(t.ButtonGroup)((({theme:e,variation:t,orientation:o="horizontal",iconColor:r,sizing:n="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Tt(e)},..."toggle"===t&&{...At(e)},..."vertical"===o&&{...Wt(e)},..."horizontal"===o&&{...Zt(e)},...n&&{...Ht(n)}},"& .MuiSvgIcon-root":{...n&&{...Vt(n)},fill:r||"inherit"}}}))),Nt=({sx:e,...t})=>E.jsx(bt,{...t,sx:r.mergeSx({fontSize:{xs:We.sm.body.md,sm:We.sm.body.md,md:We.sm.body.md,lg:We.lg.body.md,xl:We.lg.body.md}},!!e&&{...e})}),Gt=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:P,borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${P}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:P,borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${P}px)`}}}}}))),qt=({children:e,width:t})=>E.jsx(Gt,{sx:{width:t},children:e}),Kt=t.styled(vt)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Ut=({disabled:e,children:t})=>E.jsx(Kt,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),Yt=t.styled(jt)((()=>({marginRight:0}))),Xt=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:O,width:`calc(50% - ${D/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:O,width:`calc(50% - ${D/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Qt=e=>E.jsx(Xt,{sx:{textAlign:"center",position:"relative"},children:E.jsx(Yt,{...e})}),Jt=({options:e=[],disabled:o=!1,sizing:r="lg",onChange:n,internalChange:i,value:s})=>{const a=t.useTheme();function l(e){console.warn(e),n(e.value),i&&i()}return E.jsx(t.Box,{children:E.jsx(qt,{children:E.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:e.map((e=>E.jsxs(t.Grid,{item:!0,sm:!0,onClick:()=>l(e),sx:{...!o&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!o&&{backgroundColor:a.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!o&&{backgroundColor:a.custom.palette.input.default,borderColor:a.custom.palette.stroke.focus,boxShadow:a.custom.boxShadow.input.focus},"&:before":{...!o&&{backgroundColor:a.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:a.custom.palette.purple[500]}}}},children:[E.jsx(Qt,{sizing:r,disabled:o,onChange:t=>l(e),checked:s===e.value},e.value),E.jsx(t.Box,{sx:{mt:N.xs,width:"100%"},children:E.jsx(Ut,{disabled:o,children:e.label})})]},e.value)))})})})},eo=t.styled(t.Link)((({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}}}))),to=e=>e.target&&"_blank"===e.target?E.jsx(eo,{rel:"noopener",...e}):E.jsx(eo,{...e}),oo={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},ro=t.styled("div")((()=>({whiteSpace:"pre"}))),no=t.styled(t.Box)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5),justifyContent:"center",transition:e.custom.easing.input}))),io=t.styled(t.Box)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),so=t.styled(Oe)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),ao=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},lo=t.styled(t.Button)((({active:e,fullWidth:t,sizing:o,theme:r})=>({alignItems:"center",backgroundColor:e?r.custom.palette.interaction.press:"transparent",borderRadius:r.spacing(r.custom.radius.md),color:r.custom.palette.text.primary,display:"flex",gap:r.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:ao(o,r),textTransform:"none",width:t?"100%":"auto","&:hover":{backgroundColor:r.custom.palette.interaction.hover,"& > div":{opacity:1}},"&:focus":{backgroundColor:r.custom.palette.interaction.hover},"&:active":{backgroundColor:r.custom.palette.interaction.press},"&:disabled":{backgroundColor:r.custom.palette.interaction.disabled,color:r.custom.palette.text.disabled}}))),co=({active:o,fullWidth:n=!0,danger:i,href:s,icon:a,label:l,navigationSizing:c,onClick:d,sizing:u="lg"})=>{const p=t.useTheme(),m=e.useRef(null);return E.jsxs(no,{onClick:d,children:[E.jsxs(lo,{active:o,sizing:u,fullWidth:n,children:[E.jsxs(t.Box,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:m,children:[a&&E.jsx(J,{name:a,size:24}),"lg"===c&&E.jsx(t.Slide,{in:!0,direction:"right",container:m.current,children:E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(t.Fade,{in:!0,style:{transitionDelay:"100ms"},children:E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(Oe,{component:"p",variation:"sm"===u?"xs":"md",type:"button",clamp:1,sx:r.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})})})]}),"lg"===c&&s&&E.jsx(io,{children:E.jsx(J,{name:"open-in-new",size:20})})]}),"sm"===c&&E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:E.jsx(t.Box,{children:E.jsx(so,{active:o,component:"p",type:"button",variation:"xs",sx:r.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})]})};function uo(e){if("undefined"==typeof window)return e;const t=L.useRef(null);return L.useLayoutEffect((()=>{t.current=e})),L.useCallback(((...e)=>{var o;null===(o=t.current)||void 0===o||o.call(t,...e)}),[])}const po={};const mo={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},ho=L,xo="useId"in ho?()=>ho.useId():()=>{};function go({parentPopupState:t,popupId:o=xo(),variant:r,disableAutoFocus:n}){const i=e.useRef(!0);e.useEffect((()=>(i.current=!0,()=>{i.current=!1})),[]);const[s,a]=e.useState(mo),l=e.useCallback((e=>{i.current&&a(e)}),[]),c=e.useCallback((e=>l((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),d=uo((e=>(s.isOpen?m(e):u(e),s))),u=uo((e=>{const o=e instanceof Element?void 0:e,n=e instanceof Element?e:(null==e?void 0:e.currentTarget)instanceof Element?e.currentTarget:void 0;if("touchstart"===(null==o?void 0:o.type))return void l((e=>({...e,_deferNextOpen:!0})));const i=null==o?void 0:o.clientX,s=null==o?void 0:o.clientY,a="number"==typeof i&&"number"==typeof s?{left:i,top:s}:void 0,c=i=>{var s,l;if(e||i.setAnchorElUsed||"dialog"===r||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",po[s="missingEventOrAnchorEl"]||(po[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),t){if(!t.isOpen)return i;setTimeout((()=>t._setChildPopupState(b)))}const c={...i,isOpen:!0,anchorPosition:a,hovered:"mouseover"===(null==o?void 0:o.type)||i.hovered,focused:"focus"===(null==o?void 0:o.type)||i.focused,_openEventType:null==o?void 0:o.type};return i.setAnchorElUsed||(null!=o&&o.currentTarget?c.anchorEl=null==o?void 0:o.currentTarget:n&&(c.anchorEl=n)),c};l((e=>e._deferNextOpen?(setTimeout((()=>l(c)),0),{...e,_deferNextOpen:!1}):c(e)))})),p=e=>{const{_childPopupState:o}=e;return setTimeout((()=>{null==o||o.close(),null==t||t._setChildPopupState(null)})),{...e,isOpen:!1,hovered:!1,focused:!1}},m=uo((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?l((e=>e._deferNextClose?(setTimeout((()=>l(p)),0),{...e,_deferNextClose:!1}):p(e))):l((e=>({...e,_deferNextClose:!0})))})),h=e.useCallback(((e,t)=>{e?u(t):m(t)}),[]),x=uo((e=>{const{relatedTarget:t}=e;l((e=>!e.hovered||t instanceof Element&&yo(t,b)?e:e.focused?{...e,hovered:!1}:p(e)))})),g=uo((e=>{if(!e)return;const{relatedTarget:t}=e;l((e=>!e.focused||t instanceof Element&&yo(t,b)?e:e.hovered?{...e,focused:!1}:p(e)))})),f=e.useCallback((e=>l((t=>({...t,_childPopupState:e})))),[]),b={...s,setAnchorEl:c,popupId:o??void 0,variant:r,open:u,close:m,toggle:d,setOpen:h,onBlur:g,onMouseLeave:x,disableAutoFocus:n??Boolean(s.hovered||s.focused),_setChildPopupState:f};return b}function fo({isOpen:e,popupId:t,variant:o}){return{..."popover"===o?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===o?{"aria-describedby":e?t:void 0}:void 0}}function bo(e){return{...fo(e),onClick:e.open,onTouchStart:e.open}}function vo(e){const{open:t,onMouseLeave:o}=e;return{...fo(e),onTouchStart:t,onMouseOver:t,onMouseLeave:o}}function Co({isOpen:e,anchorEl:t,anchorPosition:o,close:r,popupId:n,onMouseLeave:i,disableAutoFocus:s,_openEventType:a}){return{id:n,anchorEl:t,anchorPosition:o,anchorReference:"contextmenu"===a?"anchorPosition":"anchorEl",open:e,onClose:r,onMouseLeave:i,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function yo(e,t){const{anchorEl:o,_childPopupState:r}=t;return wo(o,e)||wo(function(e,{popupId:t}){if(!t)return null;const o="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof o.getElementById?o.getElementById(t):null}(e,t),e)||null!=r&&yo(e,r)}function wo(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const jo=e=>({boxShadow:e.custom.elevation.raised}),ko=e=>({boxShadow:e.custom.elevation.overlay}),So=(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)}},Mo=(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}},Lo=t.styled(t.Paper)((({theme:e,variation:t="default",borderradius:o})=>({boxShadow:"unset",borderRadius:So(e,o),background:Mo(t,e),..."overlay"===t&&{...ko(e)},..."raised"===t&&{...jo(e)}}))),Bo=({children:e,variation:t="overlay",sx:o,...n})=>E.jsx(Lo,{variation:t,...n,sx:r.mergeSx(o||{},{}),children:e}),Io=({children:e,description:o,title:r})=>E.jsx(Bo,{variation:"raised",borderradius:"md",sx:{maxWidth:200},children:E.jsxs(t.Stack,{sx:{gap:2,p:2},children:[E.jsxs(t.Stack,{sx:{gap:1},children:[E.jsx(Oe,{variation:"sm",component:"p",weight:"bold",children:r}),E.jsx(Oe,{variation:"sm",component:"p",children:o})]}),e]})}),Fo=t.styled(Bo)((({notification:e,theme:t})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...Ue(t),...e&&{"&:after":{background:t.custom.palette.red[500],borderRadius:t.custom.radius.round,content:'""',height:t.spacing(1),position:"absolute",right:t.spacing(.5),top:t.spacing(.5),width:t.spacing(1)}}}))),Ro=({notification:e,onClick:t})=>E.jsx(Fo,{variation:"overlay",borderradius:"md",notification:e,onClick:t,children:E.jsx(J,{name:"notification"})}),To=({children:e,description:o,title:r,navigationSizing:n})=>{if("sm"===n){const n=go({variant:"popper"});return E.jsx(t.ClickAwayListener,{onClickAway:()=>n.close(),children:E.jsxs(t.Box,{sx:{position:"relative"},children:[E.jsx(t.Box,{...bo(n),children:E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:E.jsx(t.Box,{children:E.jsx(Ro,{notification:!0})})})}),E.jsx(t.Popper,{...Co(n),placement:"right-end",transition:!0,children:({TransitionProps:n})=>E.jsx(t.Fade,{...n,timeout:350,children:E.jsx(t.Box,{sx:{pl:1},children:E.jsx(Io,{description:o,title:r,children:e})})})})]})})}return E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(Io,{description:o,title:r,children:e})})})},Ao=e.forwardRef(((t,o)=>{const{decimalSeparator:r,thousandSeparator:n,value:i,...a}=t,l=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),c=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return E.jsx(s.NumericFormat,{...a,value:i??"",getInputRef:o,thousandSeparator:n??l,decimalSeparator:r??c})})),Eo=({disabled:r=!1,InputProps:n,inputProps:i,placeholder:s,hideActionButtons:a=!1,max:l=1/0,min:c=-1/0,startAdornment:d,endAdornment:u,internalChange:p,numericFormatProps:m,onChange:h,step:x=1,value:g,...f})=>{const b=t.useTheme(),[v,C]=e.useState(g),y=v,w=e=>{C(e),h&&h(e),p&&p()},j=()=>{const e=(null==y||Number.isNaN(y)?0:y)+x;e>l||w(e)},k=()=>{const e=(null==y||Number.isNaN(y)?0:y)-x;e<c||w(e)},S={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=c&&e<=l,max:l!==1/0?l:void 0,min:c!==-1/0?c:void 0,step:1!==x?x:void 0,onKeyDown:e=>{"ArrowUp"===e.key?j():"ArrowDown"===e.key&&k()},onValueChange:({floatValue:e})=>{e!==y&&w(e)},value:y,...m};return E.jsx(dt,{placeholder:s,sx:{height:W,"& .MuiOutlinedInput-input":{minWidth:V,pl:d?1:2,pr:d?1:2}},...f,value:y??"",disabled:r,InputProps:{...n,inputComponent:Ao,startAdornment:d?E.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:d}):null,endAdornment:!a&&E.jsxs(t.Stack,{gap:b.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[u&&E.jsx(t.InputAdornment,{position:"end",children:u}),E.jsxs(t.Stack,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${b.custom.palette.stroke.default}`},children:[E.jsx(t.ButtonBase,{onClick:()=>j(),sx:{flex:1,borderTopRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:E.jsx(o.ArrowDropUp,{fontSize:"inherit"})}),E.jsx(t.Divider,{}),E.jsx(t.ButtonBase,{onClick:()=>k(),sx:{flex:1,borderBottomRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:E.jsx(o.ArrowDropDown,{fontSize:"inherit"})})]})]})},inputProps:{...i,...S}})};const $o=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},zo=(e,t,o)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===o?e.custom.palette.peach[1e3]:e.custom.palette.peach[800]};case"peachDark":return{background:e.custom.palette.peach[800],color:e.custom.palette.peach[0]};case"purple":return{background:e.custom.palette.purple[100],color:"heavy"===o?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===o?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},Oo=t.styled(t.Chip)((({theme:e,variation:t,weight:o})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...zo(e,t,o),"& .MuiChip-label":{fontSize:`${We.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...$o(0,o)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...zo(e,t,o),...$o(0,o)}})));var Ho=function(){function e(e){var t=this;this._insertTag=function(e){var o;o=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,o),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{o.insertRule(e,o.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Po="undefined"!=typeof document,Vo=function(e,t,o){for(var r=0,n=0;r=n,n=a.peek(),38===r&&12===n&&(t[o]=1),!a.token(n);)a.next();return a.slice(e,a.position)},Do=function(e,t){return a.dealloc(function(e,t){var o=-1,r=44;do{switch(a.token(r)){case 0:38===r&&12===a.peek()&&(t[o]=1),e[o]+=Vo(a.position-1,t,o);break;case 2:e[o]+=a.delimit(r);break;case 4:if(44===r){e[++o]=58===a.peek()?"&\f":"",t[o]=e[o].length;break}default:e[o]+=a.from(r)}}while(r=a.next());return e}(a.alloc(e),t))},Wo=new WeakMap,Zo=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,o=e.parent,r=e.column===o.column&&e.line===o.line;"rule"!==o.type;)if(!(o=o.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Wo.get(o))&&!r){Wo.set(e,!0);for(var n=[],i=Do(t,n),s=o.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=n[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},_o=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function No(e,t){switch(a.hash(e,t)){case 5103:return a.WEBKIT+"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 a.WEBKIT+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a.WEBKIT+e+a.MOZ+e+a.MS+e+e;case 6828:case 4268:return a.WEBKIT+e+a.MS+e+e;case 6165:return a.WEBKIT+e+a.MS+"flex-"+e+e;case 5187:return a.WEBKIT+e+a.replace(e,/(\w+).+(:[^]+)/,a.WEBKIT+"box-$1$2"+a.MS+"flex-$1$2")+e;case 5443:return a.WEBKIT+e+a.MS+"flex-item-"+a.replace(e,/flex-|-self/,"")+e;case 4675:return a.WEBKIT+e+a.MS+"flex-line-pack"+a.replace(e,/align-content|flex-|-self/,"")+e;case 5548:return a.WEBKIT+e+a.MS+a.replace(e,"shrink","negative")+e;case 5292:return a.WEBKIT+e+a.MS+a.replace(e,"basis","preferred-size")+e;case 6060:return a.WEBKIT+"box-"+a.replace(e,"-grow","")+a.WEBKIT+e+a.MS+a.replace(e,"grow","positive")+e;case 4554:return a.WEBKIT+a.replace(e,/([^-])(transform)/g,"$1"+a.WEBKIT+"$2")+e;case 6187:return a.replace(a.replace(a.replace(e,/(zoom-|grab)/,a.WEBKIT+"$1"),/(image-set)/,a.WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return a.replace(e,/(image-set\([^]*)/,a.WEBKIT+"$1$`$1");case 4968:return a.replace(a.replace(e,/(.+:)(flex-)?(.*)/,a.WEBKIT+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.WEBKIT+e+e;case 4095:case 3583:case 4068:case 2532:return a.replace(e,/(.+)-inline(.+)/,a.WEBKIT+"$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(a.strlen(e)-1-t>6)switch(a.charat(e,t+1)){case 109:if(45!==a.charat(e,t+4))break;case 102:return a.replace(e,/(.+:)(.+)-([^]+)/,"$1"+a.WEBKIT+"$2-$3$1"+a.MOZ+(108==a.charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~a.indexof(e,"stretch")?No(a.replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==a.charat(e,t+1))break;case 6444:switch(a.charat(e,a.strlen(e)-3-(~a.indexof(e,"!important")&&10))){case 107:return a.replace(e,":",":"+a.WEBKIT)+e;case 101:return a.replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.WEBKIT+(45===a.charat(e,14)?"inline-":"")+"box$3$1"+a.WEBKIT+"$2$3$1"+a.MS+"$2box$3")+e}break;case 5936:switch(a.charat(e,t+11)){case 114:return a.WEBKIT+e+a.MS+a.replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a.WEBKIT+e+a.MS+a.replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a.WEBKIT+e+a.MS+a.replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a.WEBKIT+e+a.MS+e+e}return e}var Go,qo,Ko=Po?void 0:(Go=function(){return e=function(){return{}},t=Object.create(null),function(o){return void 0===t[o]&&(t[o]=e(o)),t[o]};var e,t},qo=new WeakMap,function(e){if(qo.has(e))return qo.get(e);var t=Go(e);return qo.set(e,t),t}),Uo=[function(e,t,o,r){if(e.length>-1&&!e.return)switch(e.type){case a.DECLARATION:e.return=No(e.value,e.length);break;case a.KEYFRAMES:return a.serialize([a.copy(e,{value:a.replace(e.value,"@","@"+a.WEBKIT)})],r);case a.RULESET:if(e.length)return a.combine(e.props,(function(t){switch(a.match(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return a.serialize([a.copy(e,{props:[a.replace(t,/:(read-\w+)/,":"+a.MOZ+"$1")]})],r);case"::placeholder":return a.serialize([a.copy(e,{props:[a.replace(t,/:(plac\w+)/,":"+a.WEBKIT+"input-$1")]}),a.copy(e,{props:[a.replace(t,/:(plac\w+)/,":"+a.MOZ+"$1")]}),a.copy(e,{props:[a.replace(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""}))}}],Yo=function(e){var t=e.key;if(Po&&"css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,n,i=e.stylisPlugins||Uo,s={},l=[];Po&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),o=1;o<t.length;o++)s[t[o]]=!0;l.push(e)})));var c=[Zo,_o];if(Ko){var d=[a.stringify],u=a.middleware(c.concat(i,d)),p=Ko(i)(t),m=function(e,t){var o=t.name;return void 0===p[o]&&(p[o]=function(e){return a.serialize(a.compile(e),u)}(e?e+"{"+t.styles+"}":t.styles)),p[o]};n=function(e,t,o,r){var n=t.name,i=m(e,t);return void 0===f.compat?(r&&(f.inserted[n]=!0),i):r?void(f.inserted[n]=i):i}}else{var h,x=[a.stringify,a.rulesheet((function(e){h.insert(e)}))],g=a.middleware(c.concat(i,x));n=function(e,t,o,r){h=o,function(e){a.serialize(a.compile(e),g)}(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)}}var f={key:t,sheet:new Ho({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:n};return f.sheet.hydrate(l),f};const Xo=t.styled("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),Qo=({options:o,onChange:r,other:n,value:i,internalChange:s,...a})=>{const l=n?.enabled,c="other-option",d=`${c}-value-`,[u,p]=e.useState(i),[m,h]=e.useState(!1);e.useEffect((()=>{!m&&u?.includes(d)?h(!0):m&&h(!1)}),[u]);return E.jsxs(E.Fragment,{children:[E.jsxs(t.RadioGroup,{...a,value:u,sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiRadio-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},onChange:(e,t)=>{r&&r(t),p(t),s&&s()},children:[o?o.map(((e,t)=>E.jsx(st,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:E.jsx(jt,{})},t))):null,l&&E.jsx(st,{label:n?.label||"Other",value:d,control:E.jsx(jt,{checked:u?.includes(d)})},c)]}),m&&E.jsx(t.Box,{sx:{mt:1},children:E.jsx(ut,{fullWidth:!0,autoFocus:!0,placeholder:n?.placeholder,defaultValue:u?.replace(d,""),onChange:e=>{var t;r&&r((t=e.target.value,`${d}${t}`)),s&&s()},required:!0})})]})},Jo=({handleSelectAll:o,isIndeterminate:r,isAllSelected:n,sizing:i})=>{const[s,a]=e.useState(!1),l=t.useTheme();return e.useEffect((()=>{n&&a(n)}),[n]),E.jsxs(t.Stack,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:e=>{const t=!s;a(t),o(e,t)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[E.jsx(t.FormLabel,{sx:{cursor:"pointer",fontSize:()=>i&&_e[i]},children:"Select all"}),E.jsx(lt,{sizing:"default",indeterminate:r,checked:s})]})},er=e.forwardRef((({children:e,handleSelectAll:t,showSelectAll:o,value:r=[],selections:n,sizing:i,...s},a)=>{const l=Array.isArray(r)&&r.length===n.length,c=Array.isArray(r)&&r.length>0&&r.length<n.length;return E.jsxs("ul",{ref:a,...s,children:[o&&E.jsx(Jo,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),tr="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",or=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},rr=(e,t)=>({"& .MuiTypography-root":{height:or(t),fontSize:_e[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)}}),nr=e=>({fontSize:`${We.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(G.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"}}),ir=(e,t)=>{switch(t){case"lg":return{height:or(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.lg,height:Q.lg,top:`calc(50% - ${Q.lg/2}px)`}};case"md":return{height:or(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.md,height:Q.md,top:`calc(50% - ${Q.md/2}px)`}};case"xs":return{height:or(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.xs,height:Q.xs,top:`calc(50% - ${Q.xs/2}px)`}};default:return{height:or("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.lg,height:Q.lg,top:`calc(50% - ${Q.lg/2}px)`}}}},sr=e=>({position:"relative",fontSize:`${We.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:Q.xl,height:Q.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),ar=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:tr}}}}),lr=t.styled(t.Autocomplete)((({theme:e,sizing:t,value:o})=>({maxWidth:"100%",backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.md),border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiSvgIcon-root":{...t&&{width:Q[t],height:Q[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*_+"px":3*_+"px"},paddingTop:0,paddingBottom:0,paddingLeft:o&&Array.isArray(o)&&o.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:_e[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*_+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*_+"px":3*_+"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)}`}}}))),cr=t.styled(t.Chip)((({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}}}))),dr=t.styled(t.TextField)((({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"}}))),ur=t.styled(t.Popper)((({theme:e,sizing:o})=>({"& .MuiPaper-root":{...o&&{margin:"lg"===o?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===o?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===o?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:tr,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${t.autocompleteClasses.listbox}`]:{overflowX:"hidden",[`& .${t.autocompleteClasses.option}`]:{fontSize:_e[o],...o&&{height:"lg"===o?5*_+"px":4*_+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),pr=e=>E.jsx(ur,{...e}),mr=({selections:t,disableClearable:r=!1,disabled:n,internalChange:i,multiple:s=!0,onChange:a,placeholder:l="",renderListItem:c,sizing:d="lg",value:u=(s?[]:"")})=>{const[p,m]=e.useState(t.filter((e=>u.includes(e?.value)))),h=(e,o)=>{if(a){const r=o?t.map((({value:e})=>e)):[];m(o?t:[]),a(e,r,"selectOption"),i&&i()}},x=e=>null!==e&&(!Array.isArray(e)||e.length>0);return E.jsx(lr,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:E.jsx(o.KeyboardArrowDown,{}),sizing:d,disabled:n,disableClearable:r,autoComplete:!0,multiple:s,renderInput:e=>E.jsx(dr,{...e,placeholder:x(p)?void 0:l,sizing:d}),options:t,renderTags:(e,t)=>e.map(((e,r)=>{const{key:n,...i}=t({index:r});return E.jsx(cr,{sizing:d,deleteIcon:E.jsx(o.CloseRounded,{fontSize:"small"}),label:e.label,...i},n)})),onChange:(e,t,o)=>{const r=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;m(t),a?.(e,r,o),i?.()},PopperComponent:e=>E.jsx(pr,{...e,sizing:d}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:r})=>{const{key:n,...i}=e;return E.jsxs("li",{...i,children:[E.jsx("span",{children:c?c(t.value,t.label):t.label}),E.jsx(o.Check,{sx:{visibility:r?"visible":"hidden",fontSize:"16px"}})]},n)},ListboxComponent:e.forwardRef(((e,o)=>E.jsx(er,{ref:o,...e,showSelectAll:s,handleSelectAll:h,value:p,selections:t,sizing:d}))),value:p})},hr=t.styled(t.MenuItem)((({theme:e})=>({...{...sr(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}}}))),xr=({children:e,selected:r,...n})=>E.jsx(hr,{...n,children:E.jsxs(t.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[E.jsx(t.Box,{children:e}),r&&E.jsx(o.Check,{})]})}),gr=t.styled(t.Select)((({theme:e,sizing:t})=>({...{...nr(e)},...t&&{...ir(e,t)},...t&&{...rr(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}}}))),fr=({selections:e,autoComplete:r=!1,disabled:n=!1,disablePortal:i=!1,inputRef:s,internalChange:a,multi:l=!0,onChange:c,placeholder:d="",selectOptionProps:u,sizing:p="lg",sx:m,value:h=[],renderListItem:x,...g})=>{const f=t.useTheme(),b=It();return r?E.jsx(mr,{selections:e,placeholder:d,disabled:n,sizing:p,onChange:(e,t)=>{c&&c(t||""),a&&a()},value:Array.isArray(h)?h??[]:h??"",internalChange:a,renderListItem:x,multiple:l}):E.jsxs(gr,{sizing:p,inputRef:s,MenuProps:{disablePortal:i,sx:ar,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:o.KeyboardArrowDown,renderValue:t=>d&&!t?E.jsx(Oe,{component:"p",variation:"sm"===b||"md"===b?"sm":"lg",sx:{color:f.custom.palette.text.placeholder},children:d}):E.jsx(Oe,{component:"p",variation:"sm"===b||"md"===b?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{c&&c(e,t),a&&a()},sx:m,value:h,...g,children:[""!==d.trim()&&E.jsx(xr,{disabled:!0,value:"","aria-label":"placeholder",children:d},"placeholder"),e?.map((({value:e,label:t})=>E.jsx(xr,{value:e,...u,children:x?x(e,t):t},e)))]})},br=t.styled(t.Box)((({theme:e,disabled:t,fullWidth:o})=>({width:o?"100%":"auto",minWidth:240,backgroundColor:t?e.custom.palette.input.disabled:e.custom.palette.surface.raised,border:`1px solid ${t?e.custom.palette.stroke.disabled:e.custom.palette.stroke.default}`,borderRadius:e.spacing(e.custom.radius.lg),padding:e.spacing(e.custom.padding.md),position:"relative",zIndex:0,"&:after":{content:'""',backgroundColor:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.lg),position:"absolute",inset:0},"&:hover":{"&:after":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{"&:after":{backgroundColor:e.custom.palette.interaction.press}},"& svg":{fill:e.custom.palette.icon.primary},...t&&{background:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"&:after":{backgroundColor:e.custom.palette.interaction.none},"& .MuiBox-root > .MuiSvgIcon-root":{fill:"none"}}}))),vr=t.styled(Nt)((({theme:e})=>({fontSize:We.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Cr=({label:e="Placeholder",disabled:r,onChange:n,options:i,fullWidth:s})=>{const a=t.useTheme(),l=i.map((e=>e.label)).indexOf(e);return E.jsx(br,{disabled:r,fullWidth:s,children:E.jsxs(t.Stack,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[E.jsxs(t.Box,{display:"flex",alignItems:"center",sx:{"& svg":{fill:a.custom.palette.icon.secondary}},children:[E.jsx(o.DragHandle,{sx:{width:Q.lg,height:Q.lg,mr:a.custom.padding.sm}}),E.jsx(vr,{align:"left",disabled:r,children:e})]}),E.jsx(fr,{name:"rank",sizing:"xs",selections:i.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:r,value:`${l}`,onChange:function(e){const t=l,o=Number(e.target.value),r=i;let s=1;const a=r.splice(t,s)[0];s=0,r.splice(o,s,a),n(r)},MenuProps:{anchorOrigin:{vertical:D,horizontal:"center"}}})]})})},yr=e.createContext({attributes:{},listeners:void 0,ref(){}}),wr=e=>u.defaultAnimateLayoutChanges({...e,wasDragging:!0});function jr({children:o,top:r,bottom:n,id:i}){const{attributes:s,isDragging:a,listeners:l,setNodeRef:c,setActivatorNodeRef:d,transform:m,transition:h}=u.useSortable({id:i,animateLayoutChanges:wr}),x=e.useMemo((()=>({attributes:s,listeners:l,ref:d})),[s,l,d]),g={opacity:a?.4:void 0,transform:p.CSS.Translate.toString(m),transition:h};return E.jsx(yr.Provider,{value:x,children:E.jsxs(t.Stack,{className:"SortableItem",...s,sx:{position:"relative",...g,width:"100%"},ref:c,children:[r&&r,E.jsx(t.Box,{...l,sx:{display:"flex",cursor:"grab"},children:o}),n&&n]})})}const kr={sideEffects:d.defaultDropAnimationSideEffects({styles:{active:{opacity:"0.4"}}})};function Sr({children:e}){return c.createPortal(E.jsx(d.DragOverlay,{zIndex:999999,dropAnimation:kr,children:e}),document.body)}const Mr=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class Lr extends d.MouseSensor{static activators=[{eventName:"onMouseDown",handler:Mr}]}class Br extends d.TouchSensor{static activators=[{eventName:"onTouchStart",handler:Mr}]}function Ir({items:o,onChange:r,renderItem:n,disabled:i,direction:s}){if(!o)return;const[a,l]=e.useState(null),c=e.useMemo((()=>o.find((e=>e?.id===a?.id))),[a,o]),p=t.useTheme(),m=t.useMediaQuery(p.breakpoints.down("md")),h=d.useSensors(d.useSensor(Lr,{activationConstraint:{distance:5}}),d.useSensor(Br,{activationConstraint:{delay:m?300:0,tolerance:8}}),d.useSensor(d.KeyboardSensor,{coordinateGetter:u.sortableKeyboardCoordinates}));return E.jsxs(d.DndContext,{measuring:{droppable:{strategy:d.MeasuringStrategy.Always}},sensors:h,onDragStart:({active:e})=>{l(e)},onDragEnd:({active:e,over:t})=>{if(t&&e.id!==t?.id){const n=o.findIndex((({id:t})=>t===e.id)),i=o.findIndex((({id:e})=>e===t.id));r(u.arrayMove(o,n,i))}l(null)},onDragCancel:()=>{l(null)},children:[E.jsx(u.SortableContext,{items:o,disabled:i,strategy:"horizontal"===s?u.horizontalListSortingStrategy:u.verticalListSortingStrategy,children:E.jsx(t.Stack,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:o.map((t=>E.jsx(e.Fragment,{children:n(t)},t.id)))})}),E.jsx(Sr,{children:c?n(c,!0,!!a):null})]})}Ir.Item=jr,Ir.DragHandle=function(){const{attributes:o,listeners:r,ref:n}=e.useContext(yr);return E.jsx(t.Box,{...o,...r,ref:n,children:E.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:E.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 Fr=({labelTop:o,labelBottom:r,disabled:n,fullWidth:i=!1,options:s,onChange:a,value:l,internalChange:c})=>{const d=t.useTheme(),[u,p]=e.useState(l||s);function m(e){p(e),a(e.map((({id:e})=>e))),c&&c()}return E.jsxs(t.Stack,{gap:d.custom.margin.sm,textAlign:"center",sx:{width:i?"100%":"auto"},children:[o&&E.jsx(Nt,{disabled:n,sx:{color:d.custom.palette.text.secondary},children:o}),E.jsx(Ir,{onChange:function(e){p(e),a(e.map((({id:e})=>e))),c&&c()},items:u,direction:"vertical",renderItem:({...e})=>E.jsx(jr,{id:e.id,children:E.jsx(Cr,{onChange:m,...e,options:u,disabled:n,selections:e.selections,fullWidth:i})})}),r&&E.jsx(Nt,{disabled:n,sx:{color:d.custom.palette.text.secondary},children:r})]})},Rr=t.styled(x.RichTextEditor)((({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)}}}))),Tr=({onChange:o,value:r,internalChange:n,minWidth:i=100,minHeight:s=100,maxHeight:a,placeholder:l})=>{const c=e.useRef(null),d=t.useTheme();return E.jsx(Rr,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:s,minWidth:i,maxHeight:a}},ref:c,onUpdate:({editor:e})=>{o&&o(e.getHTML()),n&&n()},extensions:[h.StarterKit.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),m.Placeholder.configure({placeholder:l}),g.Markdown],content:r,renderControls:()=>E.jsxs(t.Stack,{gap:d.custom.margin.xs,direction:"row",children:[E.jsx(x.MenuButtonBold,{}),E.jsx(x.MenuButtonItalic,{})]})})},Ar=e=>({"& .MuiSlider-thumb":{width:V,height:V,backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:O,height:O,backgroundColor:e.custom.palette.icon.primaryInverted}}}),Er=e=>Array.isArray(e),$r=(e,t)=>({height:H,padding:`${H}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${D}px)`,left:`-${P}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&&Er(t)?`-${H+1}px`:`-${P+1}px`,width:`calc(100% + ${P}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:O,width:O,borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),zr=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:O,minWidth:D,"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${We.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),Or=t.styled(t.Slider)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${D}px)`,marginLeft:D/2,...{...$r(e,t)},...{...Ar(e)},...{...zr(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}}}}))),Hr=[1,2,5,10],Pr=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const o=(t-e)/9;if(o<=1)return 1;const r=Math.floor(Math.log10(o)),n=o/Math.pow(10,r);return i=n,(Hr.find((e=>i<=e))??Hr[Hr.length-1])*Math.pow(10,r);var i},Vr=({labelLeft:e,labelMiddle:o,labelRight:r,labelRightProps:n,labelLeftProps:i,disabled:s,onChange:a,internalChange:l,max:c=5,min:d=1,step:u,value:p=d,...m})=>{const{sanitisedMin:h,sanitisedMax:x}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(d,c),g=((e,t,o)=>{const r=[];for(let n=e;n<=t;n+=o)r.push({value:n,label:n===e||n===t||n+o<=t?n.toString():void 0});return r[r.length-1].value!==t&&r.push({value:t,label:t.toString()}),r})(h,x,u??Pr(d,c));return E.jsxs(t.Box,{sx:{minWidth:300},children:[E.jsx(t.Box,{height:24,children:E.jsx(Or,{valueLabelDisplay:s?"on":"auto",disabled:s,marks:g,step:u,max:x,min:h,onChangeCommitted:()=>{l&&l()},onChange:(e,t,o)=>{a&&a(e,t,o)},value:p,...m})}),E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",pt:G.lg,gap:1},children:[e&&E.jsx(t.Box,{sx:{flex:1},children:E.jsx(vt,{disabled:s,showicon:!1,...i,children:e})}),o&&E.jsx(t.Box,{sx:{flex:1,textAlign:"center"},children:E.jsx(vt,{showicon:!1,disabled:s,children:o})}),r&&E.jsx(t.Box,{sx:{flex:1,textAlign:"right"},children:E.jsx(vt,{...n,showicon:!1,disabled:s,children:r})})]})]})},Dr=t.styled(t.Rating)((({theme:e})=>({"&.MuiRating-root":{"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.secondary},"& .MuiRating-iconFilled":{color:e.custom.palette.yellow[600]},".MuiRating-iconHover":{fontSize:"inherit",transform:"none"},"&.Mui-disabled":{opacity:1,color:e.custom.palette.icon.disabled,"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.disabled},"& .MuiRating-iconFilled":{color:e.custom.palette.icon.disabled}}}}))),Wr=({internalChange:e,onChange:o,...r})=>E.jsx(Dr,{...r,onChange:(t,r)=>{o&&o(t,r),e&&e()},icon:E.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:E.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:E.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:E.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"})})}),Zr=t.styled((e=>E.jsx(t.Switch,{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":{width:16,height:16,boxSizing:"border-box",boxShadow:"none",backdropFilter:"blur(0)",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})}}))),_r=({sx:e,inputRef:t,value:o,label:n,labelPlacement:i="start",fullWidth:s,onChange:a,internalChange:l,...c})=>E.jsx(st,{inputRef:t,checked:o,label:n,labelPlacement:i,control:E.jsx(Zr,{}),onChange:(e,t)=>{a&&a(e,t),l&&l()},sx:r.mergeSx(s?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},e),...c}),Nr=t.styled(dt)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:W,alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:Q.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),Gr=({startAdornment:e,endAdornment:o,onChange:r,internalChange:n,inputRef:i,...s})=>E.jsx(Nr,{multiline:!0,inputRef:i,InputProps:{startAdornment:e?E.jsx(t.InputAdornment,{position:"start",children:e}):null,endAdornment:o?E.jsx(t.InputAdornment,{position:"start",children:o}):null},onChange:e=>{r&&r(e),n&&n()},...s}),qr=({status:e})=>{const o=t.useTheme();switch(e){case"neutral":return null;case"success":return E.jsx(Kr,{backgroundColor:o.custom.palette.green[500],name:"check-circle"});case"warning":return E.jsx(Kr,{backgroundColor:o.custom.palette.yellow[500],name:"error-outline"});case"danger":return E.jsx(Kr,{backgroundColor:o.custom.palette.red[500],name:"warning-amber"});case"discover":return E.jsx(Kr,{backgroundColor:o.custom.palette.purple[500],name:"lightbulb"})}},Kr=({backgroundColor:e,name:o})=>{const r=t.useTheme();return E.jsx(t.Box,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:E.jsx(t.Box,{sx:{backgroundColor:e,borderRadius:r.custom.radius.round,color:r.custom.palette.white,display:"flex",p:.5},children:E.jsx(J,{name:o,size:20})})})},Ur=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Yr=t.styled(t.Stack)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),Xr=t.styled(t.Stack)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Qr=t.styled(t.Box)((({active:e,navigationSizing:t,theme:o})=>({alignItems:"center",borderRadius:o.spacing("lg"===t?o.custom.radius.md:o.custom.radius.round),display:"flex",justifyContent:"flex-start",padding:o.spacing(.5),overflow:"hidden",...Ue(o,e)}))),Jr=({active:o,avatar:r,email:n,name:i,navigationSizing:s,withMenu:a})=>{const l=t.useTheme(),c=e.useRef(null);return E.jsx(Qr,{active:o,navigationSizing:s,children:E.jsxs(Ur,{ref:c,children:[E.jsx(He,{src:r,sizing:"sm"}),E.jsx(t.Fade,{in:!0,children:E.jsxs(Ur,{children:[E.jsxs(Yr,{withMenu:a,children:[E.jsx(Oe,{variation:"sm",component:"p",type:"button",noWrap:!0,children:i}),E.jsx(Oe,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:l.custom.palette.text.secondary},children:n})]}),a&&E.jsx(Xr,{children:E.jsx(J,{name:"chevron-right",size:24})})]})})]})})},en=t.styled(t.Button)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.75,1.5),textTransform:"none",width:"100%",...Ue(t,e)}))),tn=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),on=t.styled(t.Stack)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),rn=({active:e,danger:o,hasChildren:n,label:i,selected:s})=>{const a=t.useTheme();return E.jsx(en,{active:e,children:E.jsxs(tn,{sx:{flex:1},children:[E.jsx(tn,{children:E.jsx(Oe,{component:"p",sx:r.mergeSx(o&&{color:a.custom.palette.text.negative}),type:"button",variation:"md",children:i})}),E.jsxs(on,{children:[n&&E.jsx(J,{name:"chevron-right",size:24}),s&&E.jsx(J,{name:"check-thin",size:24})]})]})})},nn=({button:e,children:o,hover:r,state:n})=>E.jsx(t.ClickAwayListener,{onClickAway:()=>n.close(),children:E.jsxs(t.Box,{children:[E.jsx(t.Box,{...r&&{...vo(n)},...bo(n),children:e}),E.jsx(t.Popper,{...Co(n),placement:"right-end",transition:!0,children:({TransitionProps:e})=>E.jsx(t.Fade,{...e,timeout:350,children:E.jsx(t.Box,{sx:{pl:1},children:o})})})]})}),sn=({avatar:e,email:o,menuItems:r,name:n,navigationSizing:i})=>{const s=go({variant:"popper"});return E.jsx(nn,{state:s,button:E.jsx(Jr,{active:s.isOpen,avatar:e,email:o,name:n,navigationSizing:i,withMenu:!!r?.length}),children:!!r?.length&&E.jsx(Bo,{borderradius:"md",variation:"overlay",sx:{width:192},children:E.jsx(t.Stack,{sx:{p:1},children:r?.map(an)})})})},an=(e,o)=>{if(e.children?.length){const r=go({variant:"popper"});return E.jsx(nn,{state:r,hover:!0,button:E.jsx(rn,{label:e.label,active:r.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger}),children:E.jsx(Bo,{borderradius:"md",variation:"overlay",sx:{width:192},children:E.jsx(t.Stack,{sx:{p:1},children:e.children.map(an)})})},o)}return E.jsx(rn,{label:e.label,selected:e.selected,danger:e.danger})};const ln=(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}},cn=(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}},dn=t.styled(t.LinearProgress)((({theme:e,score:o})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${t.linearProgressClasses.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:ln(o,e)}}))),un={translations:I.translations,graphs:B.adjacencyGraphs,dictionary:{...B.dictionary,...I.dictionary}};v.zxcvbnOptions.setOptions(un);const pn=({label:o="Strength",width:r=60,value:n,onChange:i})=>{const[s,a]=e.useState(0),l=t.useTheme();return e.useEffect((()=>{a(v.zxcvbn(n).score)}),[n]),e.useEffect((()=>{i(s)}),[s]),E.jsxs(t.Stack,{direction:"row",gap:1,sx:{alignItems:"center"},children:[E.jsx(Oe,{variation:"sm",component:"p",children:o}),E.jsx(dn,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:r}}),E.jsx(Oe,{variation:"sm",component:"p",sx:{color:cn(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},mn=({helperText:e,inputName:t,errors:o,...r})=>{const n=Boolean(o&&o[t]);return n?E.jsx(w.ErrorMessage,{errors:o,name:t,render:({message:e})=>E.jsx(vt,{showicon:!!e,state:"negative",children:e})}):e&&!n?E.jsx(vt,{state:"default",...r,children:e}):null},hn={textfield:ut,numberfield:Eo,textarea:Gr,select:fr,checkbox:ct,checkboxGroup:pt,switch:_r,slider:Vr,starRating:Wr,differential:Lt,likert:Jt,radioGroup:Qo,ranking:Fr,richTextfield:Tr,customfield:gt},xn=({name:o,fieldType:r,label:n,control:i,errors:s,labelProps:a,helperText:l,helpTextProps:c,validation:d,content:u,styleOverrides:p,defaultValue:m,onChange:h,watch:x,trigger:g,strengthIndicator:v,...C})=>{const{custom:y}=t.useTheme(),w=void 0!==s&&Object.keys(s).length>0,[j,k]=e.useState(0);return v&&e.useEffect((()=>{j>0&&g(o)}),[j]),E.jsxs(t.Stack,{sx:p?.sxInputStack,gap:y.margin.sm,children:["switch"!==r?n&&E.jsx(Nt,{...a,children:n}):null,"html"===r&&u?E.jsx(Ft,{children:u}):E.jsxs(E.Fragment,{children:[E.jsx(f.Controller,{name:o,control:i,render:e=>function({field:{ref:e,...t}}){const o=hn[r];return null!==t.value?E.jsx(o,{...C,...t,inputRef:e,..."switch"===r?{label:n}:{}}):E.jsx("div",{})}({...e,field:{...e.field,value:e.field.value||m}}),rules:{...d,validate:e=>{if(d&&"phone"in d)return b.isValidPhoneNumber(`+${x("extension")}${e}`)||d.phone.message;if(d&&"score"in d)return j<=d.score.value?d.score.message:void 0;if(d&&"white_space"in d)return!e.match(/^\s*$/g)||d.white_space.message;if(d&&"match"in d)switch(d.match?.comparison){case"not_eq":return e!=x(d.match.field)||d.match.message;case"gt":return e>x(d.match.field)||d.match.message;case"lt":return e<x(d.match.field)||d.match.message;default:return e===x(d.match.field)||d.match.message}}}}),v&&"password"===C?.type&&E.jsx(pn,{value:x(o),onChange:k})]}),E.jsxs(E.Fragment,{children:[Boolean(w)?E.jsx(mn,{helperText:void 0,inputName:o,errors:s,showicon:!0}):null,Boolean(l)?E.jsx(mn,{helperText:l,inputName:o,errors:void 0,...c}):null]})]})},gn=e=>e.reduce(((e,t)=>({...e,[t?.name]:fn(t,t?.defaultValue)})),{}),fn=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:o}=e;return Array.isArray(t)?t:t||o}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":case"switch":return t||!1;case"ranking":{const{options:o}=e;return t?t.map((e=>o.find((({id:t})=>t===e)))):o}}},bn=e.forwardRef((({submitButton:o,secondaryButton:r,onFormSubmit:n,onFormChange:i,formConfig:s},a)=>{const{custom:l}=t.useTheme(),{fields:c,reValidateMode:d,styleOverrides:u,autoComplete:p,formId:m,mode:h}=s,{reset:x,getValues:g,trigger:b,setValue:v,control:C,formState:{isValid:y,errors:w},setFocus:j,handleSubmit:k,watch:S}=f.useForm({mode:h||"onChange",reValidateMode:d,defaultValues:e.useMemo((()=>gn(c)),[]),shouldUnregister:!0});e.useEffect((()=>{(function(e,t){const o=new Set(e),r=new Set(t);return e.every((e=>r.has(e)))&&t.every((e=>o.has(e)))})(c.map((({name:e})=>e)),Object.keys(g()))||c.forEach((e=>{"html"!==e.fieldType&&e.defaultValue&&v(e.name,fn(e,e.defaultValue))}))}),[c]),e.useEffect((()=>{x(gn(c))}),[m]),e.useImperativeHandle(a,(()=>({set(e,t){v(e,t)},resetForm(){x()},focus(e){j(e)},submit(){n&&k(n)()},values:()=>g(),valid:()=>y,errors:()=>w,async triggerFormValidation(){await b()}})));const M=()=>{i&&i(g())};return E.jsxs(t.Box,{component:"form",autoComplete:p,noValidate:!0,sx:u?.sxForm,...n&&{onSubmit:k(n)},children:[E.jsx(t.Stack,{gap:l.margin.md,sx:u?.sxStack,children:c.map((({name:t,...o})=>e.createElement(xn,{...i&&{internalChange:M},name:t,key:t,errors:w,control:C,watch:S,trigger:b,...o,defaultValue:gn(c)[t]})))}),(r||o)&&E.jsxs(t.Stack,{direction:"row",sx:u?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[r&&r,o&&o]})]})})),vn=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},Cn=(e,t,o)=>({maxLength:{value:o||255,message:`Maximum character limit of ${o||255}.`},...t&&{required:e?`Please enter ${vn(e)} ${e}`:"This field is required"}}),yn=Cn().maxLength.value;var wn={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 jn=({text:e})=>{const o=t.useTheme(),r="{{tick}}"===e,n="{{dash}}"===e;return E.jsx(t.Box,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[r&&E.jsx(J,{name:"check",size:24}),n&&E.jsx(J,{name:"dash",size:24}),!r&&!n&&E.jsx(Oe,{variation:"lg",component:"p",sx:{color:o.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:E.jsx(E.Fragment,{children:e})})]})})},kn=()=>{const t="object"==typeof window;function o(){return{width:t?window.innerWidth:void 0,height:t?window.innerHeight:void 0}}const[r,n]=e.useState(o);return e.useEffect((()=>{if(t)return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r);function r(){e.startTransition((()=>{n(o())}))}}),[]),r},Sn=()=>E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[E.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),E.jsx("path",{d:"M14.375 12.5H21.875V13.4375C20 13.4375 20 15.3125 20 15.3125V25.625H22.8125C22.8125 25.625 24.6875 25.625 24.6875 22.8125H26.5625L25.625 27.5H14.375V25.625C16.25 25.625 16.25 23.75 16.25 23.75V15.3125C16.25 15.3125 16.25 13.4375 14.375 13.4375V12.5Z",fill:"white"})]}),Mn=()=>E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 53 19",style:{height:19,width:53},children:[E.jsx("path",{d:"M5.759 15.754c-.854-.6-1.033-.778-1.033-2.098V3H0v.2l.008.005c.868.535 1.263.778 1.263 2.092v8.359c0 1.32-.179 1.498-1.033 2.098v.2h5.52v-.2Z"}),E.jsx("path",{"fill-rule":"evenodd",d:"M6.015 11.947c.537 3.068 3.314 4.644 6.229 4.128 2.913-.517 4.986-2.962 4.45-6.022-.537-3.06-3.314-4.646-6.23-4.129-2.914.518-4.986 2.955-4.449 6.023Zm3.599-.639c-.514-2.95-.306-4.285 1.002-4.517 1.31-.234 1.964.946 2.479 3.896.514 2.95.307 4.28-1.003 4.517-1.31.238-1.964-.946-2.478-3.896ZM23.64 16.075c-2.913.516-5.69-1.06-6.228-4.128-.538-3.068 1.535-5.505 4.45-6.023 2.915-.517 5.69 1.068 6.229 4.128.538 3.06-1.537 5.506-4.45 6.023Zm-1.626-9.284c-1.31.232-1.517 1.567-1.003 4.517s1.168 4.134 2.478 3.9c1.31-.232 1.517-1.566 1.003-4.516s-1.168-4.135-2.478-3.901Z","clip-rule":"evenodd"}),E.jsx("path",{"fill-rule":"evenodd",d:"M34.091 18.756c-.993-.565-1.35-.769-1.35-2.054l.003-2.396c.515 1.039 1.548 1.858 3.256 1.858 2.581 0 4.627-1.964 4.627-5.34 0-3.435-1.995-4.973-4.27-4.973-1.866 0-3.158 1.059-3.613 2.517l-.08-2.317h-4.567v.191c.854.558 1.19.778 1.19 2.097v8.363c0 1.318-.177 1.498-1.033 2.098v.2h5.915v-.2l-.078-.044Zm.814-3.808c-1.212 0-2.165-1.378-2.165-2.975V10.55c0-1.777.854-3.117 2.165-3.117 1.37 0 2.044 1.26 2.044 3.396 0 2.82-.694 4.119-2.044 4.119Z","clip-rule":"evenodd"}),E.jsx("path",{d:"M51.545 16.124c.642 0 1.163-.524 1.163-1.17 0-.646-.52-1.17-1.163-1.17s-1.163.524-1.163 1.17c0 .646.52 1.17 1.163 1.17ZM46.212 9.195c-1.33-.395-2.079-.617-2.079-1.411 0-.665.607-.96 1.274-.96 1.292 0 2.304.74 3.476 2.458h.278V5.847h-.199l-.893.659-.117-.049c-.735-.305-1.47-.61-2.584-.61-2.125 0-3.813 1.318-3.813 3.275 0 1.757.836 2.757 3.834 3.536 1.113.28 1.887.48 1.887 1.338 0 .8-.774 1.178-1.708 1.178-1.435 0-2.483-.978-3.861-2.836h-.304l.21 3.795h.218l.793-.799c.636.32 1.63.82 2.96.82 2.54 0 4.31-1.42 4.31-3.416 0-2.058-1.23-2.817-3.656-3.535l-.026-.008Z"})]}),Ln=t.styled(t.Box)((({navigationSizing:e,theme:t})=>({alignItems:"center",backgroundColor:t.custom.palette.surface.sunken,display:"flex",flexDirection:"sm"===e?"column":"row",justifyContent:"space-between",padding:t.spacing(1.5,2,2)}))),Bn=t.styled(t.Box)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.md),display:"flex",justifyContent:"center",...Ue(e)}))),In=({isMobile:e,navigationSizing:o,onClick:r})=>E.jsxs(Ln,{navigationSizing:o,children:[E.jsxs(t.Box,{sx:{display:"flex",width:"100%"},children:[E.jsx(Sn,{}),E.jsx(t.Fade,{in:"lg"===o,style:{transitionDelay:"sm"===o?"0ms":"100ms"},children:E.jsx(t.Box,{sx:{alignItems:"center",display:"flex",gap:.5,width:"100%"},children:E.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[E.jsx(Mn,{}),E.jsx(Bn,{onClick:r,children:e?E.jsx(J,{name:"close",size:20}):E.jsx(J,{name:"push-left",size:32})})]})})})]}),"sm"===o&&E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:E.jsx(t.Box,{sx:{alignItems:"center",display:"flex"},children:E.jsx(Bn,{onClick:r,children:e?E.jsx(J,{name:"close",size:20}):E.jsx(J,{name:"push-right",size:32})})})})]}),Fn=t.styled(t.Stack)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),Rn=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),Tn=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),An="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",En=()=>E.jsx(t.GlobalStyles,{styles:{"strong, b":{fontWeight:500}}}),$n=e.createContext(null),zn=(o="light",r="lg",n="ltr")=>{const{width:i}=kn(),[s,a]=e.useState(o),[l,c]=e.useState(r),[d,u]=e.useState(n),[p,m]=e.useState(!1),[h,x]=e.useState("");e.useEffect((()=>{document.documentElement.setAttribute("dir",d)}),[d]);e.useEffect((()=>{e.startTransition((()=>{c(i&&i<$.lg?"sm":"lg")}))}),[i]),e.useEffect((()=>{e.startTransition((()=>{u(n)}))}),[n]),e.useEffect((()=>{e.startTransition((()=>{a(o)}))}),[o]);const g=e.useMemo((()=>((e,o,r)=>t.createTheme({direction:r,custom:{palette:{black:"#000000",white:"#ffffff",neutral:je[e],neutralAlpha:"light"===e?be:ve,purple:Se[e],red:Me[e],peach:Le[e],yellow:Be[e],blue:Ie[e],green:Fe[e],icon:Re[e].icon,interaction:Re[e].interaction,stroke:Re[e].stroke,surface:Re[e].surface,text:Re[e].text,input:Re[e].input},margin:N,padding:G,radius:q,elevation:K,elevationFilter:U,boxShadow:Y,easing:X,typography:We[o]},palette:{mode:e,primary:{main:Ce[500]}},spacing:_,shape:{borderRadius:_,hotspot:{default:12,active:24}},breakpoints:{values:$},typography:{fontFamily:`"${Ee.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:Ze(o),styleOverrides:{root:{color:Re[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${je[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: '${Ae.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ae.default.weight};\n src: url(${An}${Ae.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ae.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ae.bold.weight};\n src: url(${An}${Ae.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ee.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ee.default.weight};\n src: url(${An}${Ee.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ee.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ee.bold.weight};\n src: url(${An}${Ee.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${$.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${$.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:Ee.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*_}px ${e.padding.md*_}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"}})}}}}))(s,l,d)),[s,d,l]),f=t.useMediaQuery(g.breakpoints.only("sm"),{noSsr:!0}),b=t.useMediaQuery(g.breakpoints.only("md"),{noSsr:!0}),v=t.useMediaQuery(g.breakpoints.between("lg","xl"),{noSsr:!0}),C=t.useMediaQuery(g.breakpoints.up("xl"),{noSsr:!0});return e.useEffect((()=>{e.startTransition((()=>{f&&x("sm"),b&&x("md"),v&&x("lg"),C&&x("xl")}))}),[f,b,v,C]),{breakpoint:h,gridOverlayVisible:p,mode:s,theme:g,toggleGridOverlay:()=>{e.startTransition((()=>{m((e=>!e))}))},toggleMode:t=>{e.startTransition((()=>{if(t)return a(t);a((e=>"light"===e?"dark":"light"))}))}}},On=Yo({key:"muirtl",stylisPlugins:[a.prefixer,k]}),Hn=Yo({key:"mui"});exports.AnnualController=({body:e,currency:o,changeCurrencyEvent:r=()=>{},frequency:n,heading:i,setCurrency:s=()=>{},setFrequency:a=()=>{},togglePayAnnuallyEvent:l=()=>{}})=>{const c=t.useTheme(),d=It(),u=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return E.jsxs(t.Box,{sx:{alignItems:"center",backgroundColor:c.custom.palette.surface.default,borderRadius:c.custom.radius.round,boxShadow:c.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:4},py:{sm:1,lg:2}},children:[E.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:1},children:[E.jsx(_r,{defaultChecked:!0,onChange:()=>(l(),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"}}),E.jsxs(t.Stack,{sx:{alignItems:"flex-start",display:"flex"},children:[E.jsx(Oe,{variation:"sm"===d||"md"===d?"md":"xxl",component:"p",children:i}),E.jsx(Oe,{variation:"sm",component:"p",sx:{color:c.custom.palette.text.secondary},children:e})]})]}),E.jsx(fr,{name:"currency",onChange:e=>{return t=e.target.value,r(t),void s(t);var t},selections:u,value:u.find((e=>e.value===o))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:D,lg:W}}})]})},exports.AuthContainerSurface=({children:e,headContent:o,sx:n,...i})=>{const s=t.useTheme();return E.jsxs(Bo,{...i,sx:r.mergeSx(n,{mx:[s.spacing(s.custom.margin.md),0],width:1,maxWidth:[512]}),children:[o&&E.jsx(t.Box,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:s.spacing(s.custom.margin.md),px:s.spacing(s.custom.margin.md)},children:o}),E.jsx(t.Box,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:o?[s.spacing(s.custom.margin.md)]:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],px:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],pb:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)]},children:e})]})},exports.AuthFormHeader=({logo:e,headerText:o,subText:r})=>{const n=t.useTheme();return E.jsxs(t.Stack,{gap:n.spacing(n.custom.margin.md),alignItems:"center",mb:n.spacing(n.custom.margin.lg),children:[!1===e?null:e||E.jsx(J,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),E.jsxs(t.Stack,{gap:n.spacing(n.custom.margin.md),children:[o&&E.jsx(Oe,{variation:"sm",component:"h1",align:"center",weight:"bold",children:o}),function(){if(r)return"string"==typeof r?E.jsx(Oe,{variation:"md",component:"p",align:"center",children:r}):r}()]})]})},exports.Avatar=He,exports.AvatarGroup=({variation:e="primary",...o})=>{if("primary"===e)return E.jsx(t.AvatarGroup,{...o})},exports.Button=it,exports.CheckBoxGroup=pt,exports.Checkbox=ct,exports.ColorBackgroundContainer=({sx:e,children:o,texture:n="noise1",gradient:i="tone1",...s})=>{const a=t.useTheme();return E.jsx(t.Container,{maxWidth:!1,disableGutters:!0,sx:r.mergeSx({background:xt(a,{texture:n,gradient:i}),height:"100%",p:[0,0,0]},!!e&&{...e}),...s,children:o})},exports.CustomField=gt,exports.DEFAULT_MAX_INPUT_LENGTH=yn,exports.Differential=Lt,exports.DropdownMenu=({open:e,anchorEl:o,handleClick:r,handleClose:n,items:i,...s})=>E.jsx(E.Fragment,{children:E.jsx(Bt,{anchorEl:o,open:e,onClose:n,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...s,children:i?.map(((e,o)=>E.jsxs(t.MenuItem,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&E.jsx(t.Box,{mr:1,children:e.icon}),e.label]},o)))})}),exports.FormControlLabel=st,exports.FormGenerator=bn,exports.GridOverlay=({breakpoint:e})=>{const o=t.useTheme(),r=Array.from({length:6},((e,t)=>t));return e||(e=It()),E.jsxs(t.Stack,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[E.jsx(t.Container,{sx:{background:o.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:E.jsx(t.Box,{sx:{background:o.custom.palette.purple[300],display:"flex",flex:1},children:E.jsxs(t.Grid,{container:!0,spacing:2,children:[r.map((e=>E.jsx(t.Grid,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:E.jsx(t.Box,{sx:{background:o.custom.palette.green[300],height:"100%"}})},`grid-1-${e}`))),r.map((e=>E.jsx(t.Grid,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:E.jsx(t.Box,{sx:{background:o.custom.palette.green[300],height:"100%"}})},`grid-2-${e}`)))]})})}),!!e&&E.jsx(t.Box,{sx:{backgroundColor:o.custom.palette.surface.default,borderRadius:o.spacing(o.custom.radius.md),bottom:16,filter:o.custom.elevationFilter.raised,display:"block",left:16,position:"fixed",px:2,py:1},children:E.jsx(Oe,{variation:"sm",component:"p",weight:"bold",children:e})})]})},exports.Html=Ft,exports.Icon=J,exports.IconButton=({icon:e,loading:t,tooltipMessage:o,sizing:r,slotProps:n,...i})=>{const s=()=>E.jsx(Dt,{...i,sizing:r,children:t?E.jsx(ot,{sizing:r}):e});return o?E.jsx(Rt,{message:o,...n?.tooltip,children:s()}):s()},exports.IconButtonGroup=({ButtonGroupProps:e,children:t,...o})=>E.jsx(_t,{...o,...e,children:t}),exports.InputFieldBase=dt,exports.InputLabel=Nt,exports.InputLabelHelp=vt,exports.Likert=Jt,exports.Link=to,exports.Loader=()=>E.jsx(t.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:E.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),exports.Logo=e=>E.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:E.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"})}),exports.Markdown=e=>{const{children:t}=e,o=t&&t.replaceAll(/\s/g,"&nbsp;").replaceAll(/<p><\/p>/g,"<br />");return E.jsx(i,{options:{overrides:{p:{component:Oe,props:oo},strong:{component:Oe,props:{...oo,weight:"bold"}},em:{component:Oe,props:{...oo,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:ro,forceBlock:!0,forceWrapper:!0},children:o})},exports.MenuButton=co,exports.Navigation=({isMobile:e,nudgeProps:o,primaryMenuItemProps:r,secondaryMenuItemProps:n,sizing:i="lg",tertiaryMenuItemProps:s,toggleSizing:a,userMenuProps:l})=>{const c=t.useTheme();return E.jsxs(Fn,{navigationSizing:i,children:[E.jsx(In,{navigationSizing:i,onClick:a,isMobile:e}),E.jsx(Rn,{children:E.jsxs(t.Stack,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[r?.length>0&&E.jsx(t.Stack,{sx:{gap:"lg"===i?.5:2,width:"100%"},children:r.map(((e,t)=>E.jsx(co,{navigationSizing:i,...e},`primary-menu-item-${t}`)))}),E.jsxs(t.Stack,{sx:{gap:2},children:[E.jsx(To,{navigationSizing:i,...o}),n?.map(((e,t)=>E.jsx(co,{navigationSizing:i,...e,label:"Help center"===e.label&&"sm"===i?"Help":e.label},`secondary-menu-item-${t}`))),E.jsx(t.Divider,{sx:{color:c.custom.palette.stroke.default}}),E.jsx(sn,{navigationSizing:i,...l}),s?.length>0&&E.jsx(Tn,{children:s.map(((e,t)=>E.jsx(co,{navigationSizing:i,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},exports.Nudge=To,exports.NumberField=Eo,exports.Pill=({body:e,maxWidth:t,...o})=>E.jsx(Oo,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...o}),exports.PlanFeatureTable=({currencySymbol:e,data:o,starterPrice:r,starterRespondentPrice:n,teamPrice:i,teamRespondentPrice:s,plusPrice:a,plusRespondentPrice:l,scalePrice:c,scaleRespondentPrice:d,variation:u="default"})=>{const p=t.useTheme();o||(o=wn);const m=Object.values(o.headings).map((({heading:t,pricing:o})=>({heading:t,pricing:o.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",r).replace("{{teamPrice}}",i).replace("{{plusPrice}}",a).replace("{{scalePrice}}",c)}))),h=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",n||"").replace("{{teamRespondentPrice}}",s||"").replace("{{plusRespondentPrice}}",l||"").replace("{{scaleRespondentPrice}}",d||""),x=[...Object.values(o.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:h(e.starter),team:h(e.team),plus:h(e.plus),scale:h(e.scale)})))];return E.jsxs(t.Stack,{sx:{backgroundColor:p.custom.palette.surface.default,borderRadius:p.spacing(p.custom.radius.xl),boxShadow:p.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[E.jsxs(t.Box,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[E.jsx(t.Box,{sx:{width:160}}),m.map((({heading:e,pricing:o})=>E.jsxs(t.Stack,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[E.jsx(Oe,{variation:"platform"===u?"lg":"xxl",component:"p",weight:"bold",children:e}),E.jsx(Oe,{variation:"platform"===u?"sm":"md",component:"p",sx:{color:p.custom.palette.text.secondary},children:o})]},e)))]}),x.map((e=>E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:p.custom.palette.surface.sunken}},children:[E.jsx(t.Box,{sx:{display:"flex",alignItems:"center",width:160},children:E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&E.jsx(Rt,{message:e.name.description,children:E.jsx(t.Box,{sx:{alignItems:"center",color:p.custom.palette.icon.secondary,display:"flex"},children:E.jsx(J,{name:"info",size:24})})}),E.jsx(Oe,{variation:"platform"===u?"md":"lg",component:"p",children:e.name.heading})]})}),E.jsx(jn,{text:e.starter}),E.jsx(jn,{text:e.team}),E.jsx(jn,{text:e.plus}),E.jsx(jn,{text:e.scale})]},e.key)))]})},exports.PlanTierCard=({amount:o,billingType:r,body:n,ctaEvent:i=()=>{},ctaLink:s="#",ctaTarget:a="_self",ctaText:l,ctaVariation:c="primary",currencySymbol:d,currentPlan:u,features:p=[],freeTrialLength:m,freeTrialText:h,frequency:x,heading:g,label:f,largestHeaderHeight:b=0,perMonth:v,setLargestHeaderHeight:C=()=>{},variation:y="default"})=>{const w=t.useTheme(),j=It(),{width:k}=kn(),S=e.useRef(null),[M,L]=e.useState("sm");return e.useEffect((()=>{e.startTransition((()=>{L(j),j!==M&&C(0),S.current&&S.current.offsetHeight>b&&C(S.current.offsetHeight)}))}),[j,M,k]),E.jsxs(t.Stack,{sx:{display:"flex",flex:1,position:"relative"},children:[E.jsx(t.Stack,{sx:{alignItems:"center",backgroundColor:w.custom.palette.icon.primary,borderTopLeftRadius:w.spacing(w.custom.radius.lg),borderTopRightRadius:w.spacing(w.custom.radius.lg),boxShadow:w.custom.elevation.overlay,color:w.custom.palette.text.primaryInverted,justifyContent:"center",p:{sm:1,lg:2},textTransform:"uppercase",opacity:f?1:0,display:{sm:f?"flex":"none",md:"flex"}},children:E.jsx(Oe,{variation:"md",component:"p",weight:"bold",sx:{color:w.custom.palette.white},children:f||"&nbsp;"})}),E.jsxs(t.Stack,{sx:{backgroundColor:w.custom.palette.surface.default,borderBottomLeftRadius:w.spacing(w.custom.radius.lg),borderBottomRightRadius:w.spacing(w.custom.radius.lg),borderTopLeftRadius:f?0:w.spacing(w.custom.radius.lg),borderTopRightRadius:f?0:w.spacing(w.custom.radius.lg),boxShadow:w.custom.elevation.overlay,display:"flex",flex:1},children:[E.jsxs(t.Stack,{sx:{display:"flex",gap:"sm"===j||"md"===j?1:2,textAlign:"center",minHeight:{sm:"none",md:b},px:2,py:{sm:2,lg:4}},ref:S,children:[E.jsx(Oe,{variation:"sm"===j?"xxl":"platform"===y?"md":"lg",component:"h2",weight:"bold",children:g}),E.jsx(Oe,{variation:"sm"===j?"md":"platform"===y?"md"===j?"sm":"md":"md"===j?"md":"lg",component:"p",sx:{color:w.custom.palette.text.secondary},children:n})]}),E.jsxs(t.Stack,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===y?184:240,xl:"platform"===y?184:226},px:2,py:{sm:2,md:2,lg:"platform"===y?2:6}},children:[E.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[E.jsx(Oe,{variation:"md"===j?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:d}),E.jsx(Oe,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:o}),v&&E.jsx(Oe,{variation:"sm",component:"p",sx:{color:w.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:v})]}),m&&h&&E.jsxs(t.Box,{sx:{alignItems:"center",backgroundColor:w.custom.palette.yellow[300],borderRadius:w.custom.radius.round,boxShadow:w.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[E.jsx(J,{name:"gift",size:24}),E.jsxs(t.Box,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[E.jsx(Oe,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:m}),E.jsx(Oe,{variation:"md",component:"p",sx:{lineHeight:1},children:h})]})]}),r&&E.jsx(Oe,{variation:"sm",component:"p",sx:{color:w.custom.palette.text.placeholder},children:r})]}),E.jsxs(t.Stack,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[E.jsx(t.Box,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:E.jsx(to,{href:s,title:l,target:a,onClick:()=>{g&&i(g)},sx:{"&:hover":{cursor:u?"default":"pointer"}},children:E.jsx(it,{fullWidth:!0,variation:c,sizing:"lg",disabled:u,children:l})})}),p?.length&&E.jsx(t.Stack,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===y?4:6}},children:p.map(((e,o)=>E.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[E.jsx(J,{name:"positive",size:24}),E.jsx(Oe,{variation:"md",component:"p",children:e})]},`${g}-feature-${o}`)))})]})]})]})},exports.PlanTierCardScale=({body:e,ctaEvent:o=()=>{},ctaLink:r="",ctaTarget:n="_blank",ctaText:i,currencySymbol:s,heading:a,postText:l,preText:c,amount:d})=>{const u=t.useTheme();return E.jsxs(t.Box,{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:[E.jsxs(t.Stack,{sx:{flex:1,gap:2,justifyContent:"center"},children:[E.jsx(Oe,{variation:"md",component:"h2",sx:{fontWeight:500},children:a}),E.jsx(Oe,{variation:"md",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]}),E.jsxs(t.Stack,{sx:{flex:1,gap:{sm:4,md:2},justifyContent:"center",maxWidth:{sm:"none",md:180,lg:320},p:{sm:0,md:2,lg:4}},children:[E.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[E.jsx(Oe,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pr:.5},children:c}),E.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex"},children:[E.jsx(Oe,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:s}),E.jsx(Oe,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:d})]}),E.jsx(Oe,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pl:.1},children:l})]}),E.jsx(to,{href:r,title:i,target:n,onClick:()=>{a&&o(a)},children:E.jsx(it,{fullWidth:!0,variation:"outlined",sizing:"lg",children:i})})]})]})},exports.Portal=t=>{const[o,r]=e.useState(null),n=o?.contentWindow?.document?.body,i=Yo({key:"css",container:o?.contentWindow?.document?.head,prepend:!0});return E.jsx(Xo,{ref:r,children:n&&c.createPortal(E.jsx(l.CacheProvider,{value:i,children:t.children}),n)})},exports.PoweredByWatermarkLogo=()=>E.jsxs(t.Stack,{gap:.5,flexDirection:"row",children:[E.jsx(t.SvgIcon,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:E.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"})}),E.jsxs(t.SvgIcon,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[E.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:E.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"})}),E.jsx("defs",{children:E.jsx("clipPath",{id:"clip0_900_1816",children:E.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),exports.Progress=ot,exports.Radio=jt,exports.RadioGroup=Qo,exports.Rank=Fr,exports.RichTextField=Tr,exports.Select=fr,exports.Slider=Vr,exports.SortableList=Ir,exports.StarRating=Wr,exports.Surface=Bo,exports.Switch=_r,exports.TextArea=Gr,exports.TextBarDivider=({typographyProps:e,text:o,sx:n})=>{const i=t.useTheme();return E.jsx(t.Box,{sx:r.mergeSx(n,{width:"100%",position:"relative",display:"flex",gap:4,my:i.spacing(i.custom.margin.md),"&:before":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:E.jsx(Oe,{align:"center",variation:"sm",component:"p",...e,children:o})})},exports.TextField=ut,exports.ThemeProvider=({mode:e="light",screenSize:o="lg",direction:r="ltr",children:n})=>{const i=zn(e,o,r);return E.jsx($n.Provider,{value:i,children:E.jsx(l.CacheProvider,{value:"rtl"===r?On:Hn,children:E.jsxs(j.ThemeProvider,{theme:i.theme,children:[E.jsx(t.CssBaseline,{}),E.jsx(En,{}),n]})})})},exports.TickGroup=({heading:e,ticks:o})=>(t.useTheme(),E.jsxs(t.Stack,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[E.jsx(Oe,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),E.jsx(t.Box,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:o.map(((o,r)=>E.jsxs(t.Box,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[E.jsx(J,{name:"positive",size:32}),E.jsx(Oe,{variation:"xxl",component:"p",children:o})]},`tick-group-${e}-${r}`)))})]})),exports.Toast=({buttons:e,message:o,status:r="neutral",variation:n="sm"})=>{const i=t.useTheme();return E.jsx(t.Stack,{sx:{backgroundColor:i.custom.palette.surface.overlay,borderRadius:i.spacing(i.custom.radius.lg),boxShadow:i.custom.elevation.overlay,color:i.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:E.jsxs(t.Box,{sx:{display:"flex",flex:1,flexDirection:"sm"===n?"row":"column",gap:2},children:[E.jsxs(t.Box,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==r&&E.jsx(qr,{status:r}),E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(Oe,{variation:"md",component:"p",sx:{px:1,pt:.5},children:o})})]}),e&&E.jsx(t.Box,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},exports.Tooltip=Rt,exports.Typography=Oe,exports.UserMenu=sn,exports.backgroundCreator=xt,exports.chooseArticle=vn,exports.defaultInputValidation=Cn,exports.emailValidation={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},exports.passwordValidation=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"}}),exports.useDropdownMenu=()=>{const[t,o]=e.useState(null);return{open:Boolean(t),handleClick:e=>{o(e.currentTarget)},handleClose:()=>{o(null)},anchorEl:t}};
10
+ */"production"===process.env.NODE_ENV?F.exports=function(){if(M)return R;M=1;var t=e,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,r){var a,l={},c=null,d=null;for(a in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)n.call(t,a)&&!s.hasOwnProperty(a)&&(l[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===l[a]&&(l[a]=t[a]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:i.current}}return R.Fragment=r,R.jsx=a,R.jsxs=a,R}():F.exports=(T||(T=1,"production"!==process.env.NODE_ENV&&function(){var t,o=e,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),g=Symbol.iterator,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];!function(e,t,o){var r=f.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",o=o.concat([r]));var n=o.map((function(e){return String(e)}));n.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,n)}("error",e,o)}function v(e){return e.displayName||"Context"}function C(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 a:return"Profiler";case s:return"StrictMode";case u:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return v(e)+".Consumer";case l:return v(e._context)+".Provider";case d:return function(e,t,o){var r=e.displayName;if(r)return r;var n=t.displayName||t.name||"";return""!==n?o+"("+n+")":o}(e,e.render,"ForwardRef");case m:var t=e.displayName||null;return null!==t?t:C(e.type)||"Memo";case h:var o=e,r=o._payload,x=o._init;try{return C(x(r))}catch(e){return null}}return null}t=Symbol.for("react.module.reference");var y,w,j,k,S,M,L,B=Object.assign,I=0;function F(){}F.__reactDisabledLog=!0;var R,T=f.ReactCurrentDispatcher;function E(e,t,o){if(void 0===R)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return"\n"+R+e}var $,O=!1,z="function"==typeof WeakMap?WeakMap:Map;function H(e,t){if(!e||O)return"";var o,r=$.get(e);if(void 0!==r)return r;O=!0;var n,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,n=T.current,T.current=null,function(){if(0===I){y=console.log,w=console.info,j=console.warn,k=console.error,S=console.group,M=console.groupCollapsed,L=console.groupEnd;var e={configurable:!0,enumerable:!0,value:F,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}I++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){o=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){o=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=o.stack.split("\n"),c=a.length-1,d=l.length-1;c>=1&&d>=0&&a[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(a[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||a[c]!==l[d]){var u="\n"+a[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&$.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{O=!1,T.current=n,function(){if(0==--I){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:B({},e,{value:y}),info:B({},e,{value:w}),warn:B({},e,{value:j}),error:B({},e,{value:k}),group:B({},e,{value:S}),groupCollapsed:B({},e,{value:M}),groupEnd:B({},e,{value:L})})}I<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?E(p):"";return"function"==typeof e&&$.set(e,m),m}function P(e,t,o){if(null==e)return"";if("function"==typeof e)return H(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return E(e);switch(e){case u:return E("Suspense");case p:return E("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case d:return H(e.render,!1);case m:return P(e.type,t,o);case h:var n=e,i=n._payload,s=n._init;try{return P(s(i),t,o)}catch(e){}}return""}$=new z;var V=Object.prototype.hasOwnProperty,D={},W=f.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,o=P(e.type,e._source,t?t.type:null);W.setExtraStackFrame(o)}else W.setExtraStackFrame(null)}var _=Array.isArray;function N(e){return _(e)}function G(e){return""+e}function q(e){if(function(e){try{return G(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)),G(e)}var K,U,Y=f.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function Q(e,t,o,n,i){var s,a={},l=null,c=null;for(s in void 0!==o&&(q(o),l=""+o),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)&&(q(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&&Y.current}(t)),t)V.call(t,s)&&!X.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps){var d=e.defaultProps;for(s in d)void 0===a[s]&&(a[s]=d[s])}if(l||c){var u="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var o=function(){K||(K=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(a,u),c&&function(e,t){var o=function(){U||(U=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(a,u)}return function(e,t,o,n,i,s,a){var l={$$typeof:r,type:e,key:t,ref:o,props:a,_owner:s,_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,Y.current,a)}var J,ee=f.ReactCurrentOwner,te=f.ReactDebugCurrentFrame;function oe(e){if(e){var t=e._owner,o=P(e.type,e._source,t?t.type:null);te.setExtraStackFrame(o)}else te.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}function ne(){if(ee.current){var e=C(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var ie={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ne();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ie[o]){ie[o]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+C(e._owner.type)+"."),oe(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,r),oe(null)}}}function ae(e,t){if("object"==typeof e)if(N(e))for(var o=0;o<e.length;o++){var r=e[o];re(r)&&se(r,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,s=n.call(e);!(i=s.next()).done;)re(i.value)&&se(i.value,t)}}function le(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==d&&o.$$typeof!==m)return;t=o.propTypes}if(t){var r=C(o);!function(e,t,o,r,n){var i=Function.call.bind(V);for(var s in e)if(i(e,s)){var a=void 0;try{if("function"!=typeof e[s]){var l=Error((r||"React class")+": "+o+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}a=e[s](t,s,r,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}!a||a 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).",r||"React class",o,s,typeof a),Z(null)),a instanceof Error&&!(a.message in D)&&(D[a.message]=!0,Z(n),b("Failed %s type: %s",o,a.message),Z(null))}}(t,e.props,"prop",r,e)}else void 0===o.PropTypes||J||(J=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",C(o)||"Unknown"));"function"!=typeof o.getDefaultProps||o.getDefaultProps.isReactClassApproved||b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ce={};function de(e,o,n,g,f,v){var y=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===s||e===u||e===p||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===t||void 0!==e.getModuleId)}(e);if(!y){var w,j="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),j+=ne(),null===e?w="null":N(e)?w="array":void 0!==e&&e.$$typeof===r?(w="<"+(C(e.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):w=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,j)}var k=Q(e,o,n,f,v);if(null==k)return k;if(y){var S=o.children;if(void 0!==S)if(g)if(N(S)){for(var M=0;M<S.length;M++)ae(S[M],e);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,e)}if(V.call(o,"key")){var L=C(e),B=Object.keys(o).filter((function(e){return"key"!==e})),I=B.length>0?"{key: someKey, "+B.join(": ..., ")+": ...}":"{key: someKey}";ce[L+I]||(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} />',I,L,B.length>0?"{"+B.join(": ..., ")+": ...}":"{}",L),ce[L+I]=!0)}return e===i?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var r=t[o];if("children"!==r&&"key"!==r){oe(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),oe(null);break}}null!==e.ref&&(oe(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}(k):le(k),k}var ue=function(e,t,o){return de(e,t,o,!1)},pe=function(e,t,o){return de(e,t,o,!0)};A.Fragment=i,A.jsx=ue,A.jsxs=pe}()),A);var E=F.exports;const $={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},O=0,z=4,H=8,P=16,V=24,D=32,W=40,Z=48,_=H,N={none:O,xs:z/_,sm:H/_,md:P/_,lg:D/_,xl:Z/_,xxl:80/_,xxxl:160/_},G={none:O,xs:z/_,sm:H/_,md:P/_,lg:D/_,xl:Z/_},q={none:O,xs:2/_,sm:z/_,md:H/_,lg:P/_,xl:V/_,round:999},K={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)"},U={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))"},Y={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},X={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},Q={xs:2*_,sm:2*_,md:2*_,lg:2.5*_,xl:3*_},J=({name:e,size:n,sx:i})=>{const s=t.useTheme(),a=n||Q.xl,l=n||Q.xl;switch(e){case"loopsOfficial":return E.jsx(t.SvgIcon,{viewBox:"0 0 106 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:r.mergeSx(i,{"&.MuiSvgIcon-root path":{fill:"light"===s.palette.mode?s.custom.palette.icon.primary:s.custom.palette.icon.lockedWhite}}),children:E.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 E.jsxs(t.SvgIcon,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:[E.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"}),E.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"}),E.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"}),E.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 E.jsxs(t.SvgIcon,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:[E.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"}),E.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 E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{style:{height:n,width:n},viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:n,width:n},sx:i,children:E.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 E.jsx(o.PlayCircle,{style:{height:a,width:l},sx:i});case"close":return E.jsx(o.Close,{style:{height:a,width:l},sx:i});case"arrow-forward":return E.jsx(o.ArrowForward,{style:{height:a,width:l},sx:i});case"expand-more":return E.jsx(o.ExpandMore,{style:{height:a,width:l},sx:i});case"info":return E.jsx(o.InfoOutlined,{style:{height:a,width:l},sx:i});case"check-circle":return E.jsx(o.CheckCircleOutlineOutlined,{style:{height:a,width:l},sx:i});case"error-outline":return E.jsx(o.ErrorOutlineOutlined,{style:{height:a,width:l},sx:i});case"lightbulb":return E.jsx(o.LightbulbOutlined,{style:{height:a,width:l},sx:i});case"warning-amber":return E.jsx(o.WarningAmberRounded,{style:{height:a,width:l},sx:i});case"access-time":return E.jsx(o.QueryBuilderRounded,{style:{height:a,width:l},sx:i});case"menu":return E.jsx(o.MenuRounded,{style:{height:a,width:l},sx:i});case"lock":return E.jsx(o.LockOutlined,{style:{height:a,width:l},sx:i});case"check":return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",style:{height:n,width:n},children:[E.jsx("rect",{width:"24",height:"24",y:".5",fill:"#48B244",rx:"12"}),E.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 E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.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 E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:n,width:n},children:[E.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"}),E.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M19.5 12v7a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-7M8 8a2.5 2.5 0 1 1 0-5c.965-.017 1.91.451 2.713 1.343.802.892 1.425 2.166 1.787 3.657.362-1.49.985-2.765 1.787-3.657C15.09 3.451 16.035 2.983 17 3a2.5 2.5 0 0 1 0 5"})]});case"push-left":return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:n,width:n},children:[E.jsx("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.334 1.334 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),E.jsx("path",{d:"M19.607 18.393 17.22 16l2.387-2.393-.94-.94L15.333 16l3.334 3.333.94-.94Z"})]});case"push-right":return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",style:{height:n,width:n},children:[E.jsx("path",{"fill-rule":"evenodd",d:"M9.333 10.667c0-.737.597-1.334 1.334-1.334h10.666c.737 0 1.334.597 1.334 1.334v10.666c0 .737-.597 1.334-1.334 1.334H10.667a1.333 1.333 0 0 1-1.334-1.334V10.667Zm4.667 0h7.333v10.666H14V10.667Zm-1.333 0h-2v10.666h2V10.667Z","clip-rule":"evenodd"}),E.jsx("path",{d:"M15.727 18.393 18.113 16l-2.386-2.393.94-.94L20 16l-3.333 3.333-.94-.94Z"})]});case"star":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M19.6486 9.29459L14.8086 8.87459L12.9186 4.42459C12.5786 3.61459 11.4186 3.61459 11.0786 4.42459L9.18861 8.88459L4.35861 9.29459C3.47861 9.36459 3.11861 10.4646 3.78861 11.0446L7.45861 14.2246L6.35861 18.9446C6.15861 19.8046 7.08861 20.4846 7.84861 20.0246L11.9986 17.5246L16.1486 20.0346C16.9086 20.4946 17.8386 19.8146 17.6386 18.9546L16.5386 14.2246L20.2086 11.0446C20.8786 10.4646 20.5286 9.36459 19.6486 9.29459ZM11.9986 15.6546L8.23861 17.9246L9.23861 13.6446L5.91861 10.7646L10.2986 10.3846L11.9986 6.35459L13.7086 10.3946L18.0886 10.7746L14.7686 13.6546L15.7686 17.9346L11.9986 15.6546Z"})});case"open-in-new":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:n,width:n},children:E.jsx("path",{d:"M15 15.8333H5C4.54167 15.8333 4.16667 15.4583 4.16667 15V5C4.16667 4.54167 4.54167 4.16667 5 4.16667H9.16667C9.625 4.16667 10 3.79167 10 3.33333C10 2.875 9.625 2.5 9.16667 2.5H4.16667C3.24167 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.75 3.25 17.5 4.16667 17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V10.8333C17.5 10.375 17.125 10 16.6667 10C16.2083 10 15.8333 10.375 15.8333 10.8333V15C15.8333 15.4583 15.4583 15.8333 15 15.8333ZM11.6667 3.33333C11.6667 3.79167 12.0417 4.16667 12.5 4.16667H14.6583L7.05 11.775C6.725 12.1 6.725 12.625 7.05 12.95C7.375 13.275 7.9 13.275 8.225 12.95L15.8333 5.34167V7.5C15.8333 7.95833 16.2083 8.33333 16.6667 8.33333C17.125 8.33333 17.5 7.95833 17.5 7.5V3.33333C17.5 2.875 17.125 2.5 16.6667 2.5H12.5C12.0417 2.5 11.6667 2.875 11.6667 3.33333Z"})});case"notification":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",style:{height:n,width:n},children:E.jsx("path",{d:"M8.34167 17.3C8.34167 18.2167 9.08333 18.9584 10 18.9584C10.9167 18.9584 11.6583 18.2167 11.6583 17.3H8.34167ZM10 4.79169C12.3 4.79169 14.1667 6.65835 14.1667 8.95835V14.7917H5.83333V8.95835C5.83333 6.65835 7.7 4.79169 10 4.79169ZM10 1.04169C9.30833 1.04169 8.75 1.60002 8.75 2.29169V3.26669C6.13333 3.83335 4.16667 6.16669 4.16667 8.95835V13.9584L2.5 15.625V16.4584H17.5V15.625L15.8333 13.9584V8.95835C15.8333 6.16669 13.8667 3.83335 11.25 3.26669V2.29169C11.25 1.60002 10.6917 1.04169 10 1.04169ZM9.16667 6.45835H10.8333V9.79169H9.16667V6.45835ZM9.16667 11.4584H10.8333V13.125H9.16667V11.4584Z"})});case"chevron-right":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M9 6.71063C8.61 7.10063 8.61 7.73063 9 8.12063L12.88 12.0006L9 15.8806C8.61 16.2706 8.61 16.9006 9 17.2906C9.39 17.6806 10.02 17.6806 10.41 17.2906L15 12.7006C15.39 12.3106 15.39 11.6806 15 11.2906L10.41 6.70063C10.03 6.32063 9.39 6.32063 9 6.71063Z"})});case"check-thin":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M8.79506 15.875L5.32506 12.405C4.93506 12.015 4.30506 12.015 3.91506 12.405C3.52506 12.795 3.52506 13.425 3.91506 13.815L8.09506 17.995C8.48506 18.385 9.11506 18.385 9.50506 17.995L20.0851 7.41502C20.4751 7.02502 20.4751 6.39502 20.0851 6.00502C19.6951 5.61502 19.0651 5.61502 18.6751 6.00502L8.79506 15.875Z"})});case"home":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"})});case"folder":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M9.17 6L11.17 8H20V18H4V6H9.17ZM10 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 6.9 21.1 6 20 6H12L10 4Z"})});case"help":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z"})});case"settings":return E.jsx(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",style:{height:n,width:n},children:E.jsx("path",{d:"M19.4322 12.98C19.4722 12.66 19.5022 12.34 19.5022 12C19.5022 11.66 19.4722 11.34 19.4322 11.02L21.5422 9.37C21.7322 9.22 21.7822 8.95 21.6622 8.73L19.6622 5.27C19.5722 5.11 19.4022 5.02 19.2222 5.02C19.1622 5.02 19.1022 5.03 19.0522 5.05L16.5622 6.05C16.0422 5.65 15.4822 5.32 14.8722 5.07L14.4922 2.42C14.4622 2.18 14.2522 2 14.0022 2H10.0022C9.75216 2 9.54216 2.18 9.51216 2.42L9.13216 5.07C8.52216 5.32 7.96216 5.66 7.44216 6.05L4.95216 5.05C4.89216 5.03 4.83216 5.02 4.77216 5.02C4.60216 5.02 4.43216 5.11 4.34216 5.27L2.34216 8.73C2.21216 8.95 2.27216 9.22 2.46216 9.37L4.57216 11.02C4.53216 11.34 4.50216 11.67 4.50216 12C4.50216 12.33 4.53216 12.66 4.57216 12.98L2.46216 14.63C2.27216 14.78 2.22216 15.05 2.34216 15.27L4.34216 18.73C4.43216 18.89 4.60216 18.98 4.78216 18.98C4.84216 18.98 4.90216 18.97 4.95216 18.95L7.44216 17.95C7.96216 18.35 8.52216 18.68 9.13216 18.93L9.51216 21.58C9.54216 21.82 9.75216 22 10.0022 22H14.0022C14.2522 22 14.4622 21.82 14.4922 21.58L14.8722 18.93C15.4822 18.68 16.0422 18.34 16.5622 17.95L19.0522 18.95C19.1122 18.97 19.1722 18.98 19.2322 18.98C19.4022 18.98 19.5722 18.89 19.6622 18.73L21.6622 15.27C21.7822 15.05 21.7322 14.78 21.5422 14.63L19.4322 12.98ZM17.4522 11.27C17.4922 11.58 17.5022 11.79 17.5022 12C17.5022 12.21 17.4822 12.43 17.4522 12.73L17.3122 13.86L18.2022 14.56L19.2822 15.4L18.5822 16.61L17.3122 16.1L16.2722 15.68L15.3722 16.36C14.9422 16.68 14.5322 16.92 14.1222 17.09L13.0622 17.52L12.9022 18.65L12.7022 20H11.3022L10.9522 17.52L9.89216 17.09C9.46216 16.91 9.06216 16.68 8.66216 16.38L7.75216 15.68L6.69216 16.11L5.42216 16.62L4.72216 15.41L5.80216 14.57L6.69216 13.87L6.55216 12.74C6.52216 12.43 6.50216 12.2 6.50216 12C6.50216 11.8 6.52216 11.57 6.55216 11.27L6.69216 10.14L5.80216 9.44L4.72216 8.6L5.42216 7.39L6.69216 7.9L7.73216 8.32L8.63216 7.64C9.06216 7.32 9.47216 7.08 9.88216 6.91L10.9422 6.48L11.1022 5.35L11.3022 4H12.6922L13.0422 6.48L14.1022 6.91C14.5322 7.09 14.9322 7.32 15.3322 7.62L16.2422 8.32L17.3022 7.89L18.5722 7.38L19.2722 8.59L18.2022 9.44L17.3122 10.14L17.4522 11.27ZM12.0022 8C9.79216 8 8.00216 9.79 8.00216 12C8.00216 14.21 9.79216 16 12.0022 16C14.2122 16 16.0022 14.21 16.0022 12C16.0022 9.79 14.2122 8 12.0022 8ZM12.0022 14C10.9022 14 10.0022 13.1 10.0022 12C10.0022 10.9 10.9022 10 12.0022 10C13.1022 10 14.0022 10.9 14.0022 12C14.0022 13.1 13.1022 14 12.0022 14Z"})});default:return E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 33",style:{height:n,width:n},sx:i,children:[E.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"}),E.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"})]})}},ee="#FFFFFF",te="#F8F8F9",oe="#E8E7EB",re="#D1CFD6",ne="#BAB7C2",ie="#A39FAD",se="#756F85",ae="#5E5770",le="#190F33",ce="#130B26",de="#1C142F",ue="#2A223C",pe="#413A51",me="#585267",he="#6F697D",xe="#9D98A8",ge="#B4AFBE",fe="#F9F6FF",be={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},ve={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},Ce={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},ye={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},we={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},je={light:{0:ee,50:te,100:oe,200:re,300:ne,400:ie,500:"#8C8799",600:se,700:ae,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:le,1100:"#0D081A"},dark:{0:ce,50:de,100:ue,200:pe,300:me,400:he,500:"#868092",600:xe,700:ge,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:fe,1100:"#FFFFFF"}},ke=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]}}),Se=ke(Ce),Me=ke(ye),Le=ke({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),Be=ke({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),Ie=ke({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),Fe=ke(we),Re={light:{surface:{sunken:te,default:ee,raised:ee,overlay:ee,scrim:be[3],transparent:be[.01]},interaction:{none:be[0],hover:be[1],press:be[2],hoverOnDark:be[3],pressOnDark:be[4],disabled:be[2]},stroke:{default:re,focus:Ce[500],disabled:oe},text:{primary:le,secondary:se,placeholder:ie,disabled:ne,textLink:Ce[800],textLinkHover:Ce[900],primaryInverted:ee,secondaryInverted:ie,placeholderInverted:se,disabledInverted:ae,positive:we[800],negative:ye[700],lockedWhite:ee},icon:{primary:le,secondary:se,disabled:ne,primaryInverted:ee,secondaryInverted:ie,disabledInverted:ae,positive:we[800],negative:ye[700],lockedWhite:ee},input:{default:ee,disabled:"#FFFFFF80"}},dark:{surface:{default:de,sunken:ce,raised:ue,overlay:pe,scrim:ve[3],transparent:ve[.01]},interaction:{none:ve[0],hover:ve[1],press:ve[2],hoverOnDark:ve[3],pressOnDark:ve[4],disabled:ve[2]},stroke:{default:pe,focus:Ce[500],disabled:ue},text:{primary:fe,secondary:ge,placeholder:he,disabled:me,textLink:Ce[100],textLinkHover:Ce[0],primaryInverted:ce,secondaryInverted:he,placeholderInverted:xe,disabledInverted:ge,positive:we[300],negative:ye[300],lockedWhite:ee},icon:{primary:fe,secondary:ge,disabled:me,primaryInverted:ce,secondaryInverted:he,disabledInverted:ge,positive:we[300],negative:ye[300],lockedWhite:ee},input:{default:ue,disabled:"#2A223C80"}}};var Te;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(Te||(Te={}));const Ae={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:Te.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:Te.BOLD}},Ee={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:Te.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:Te.BOLD}},$e={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},Oe=e=>"bold"===e?Te.BOLD:Te.DEFAULT,ze=({component:e,weight:o="default",variation:n,clamp:i=0,type:s="default",...a})=>E.jsx(t.Typography,{component:e,fontWeight:Oe(o),variant:n,...a,sx:r.mergeSx(a.sx,!!i&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:i},"button"===s&&{lineHeight:1.2})}),He=({sizing:e="lg",children:o,...r})=>{const{custom:n}=t.useTheme();switch(e){case"sm":return E.jsx(t.Avatar,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:32,width:32},...r,children:o});case"lg":return E.jsx(t.Avatar,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:48,width:48},...r,children:o})}},Pe=["xs","sm","md","lg","xl","xxl","xxxl"],Ve=(e,t=16)=>{const o=1/t*e;return Math.round(1e3*o)/1e3},De=(e,t="xs")=>{const o=Pe.reduce(((o,r,n)=>{const i=Pe.indexOf(t)||0,s=Number((16*Math.pow(e,n-i)).toFixed(2));return o[r]=s,o}),{}),r={};for(const[e,t]of Object.entries(o))r[e]=Ve(t)+"rem";return r},We={lg:{headline:De(1.309,"xs"),body:De(1.125,"md")},sm:{headline:De(1.125,"xs"),body:De(1.1,"md")},button:De(1.125,"md")},Ze=e=>{const t=Pe.map((t=>({props:{variant:t},style:{fontFamily:`${$e.Serif}`,fontSize:We[e].headline[t]}}))),o=Pe.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${$e.SansSerif}`,fontSize:We[e].body[t]}}))),r=Pe.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${$e.SansSerif}`,fontSize:We[e].body[t]}})));return[...t,...Pe.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${$e.SansSerif}`,fontSize:We[e].body[t]}}))),...o,...r]},_e={xs:We.button.xs,sm:We.button.sm,md:We.button.sm,lg:We.button.md,xl:We.button.lg,xxl:We.button.xl,xxxl:We.button.xxl},Ne=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Ge=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}`}}),qe=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]}}),Ke=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}}}),Ue=(e,t)=>({cursor:"pointer","&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},...t&&{backgroundColor:e.custom.palette.interaction.press,"&:hover":{backgroundColor:e.custom.palette.interaction.press},"&:focus":{backgroundColor:e.custom.palette.interaction.press},"&:active":{backgroundColor:e.custom.palette.interaction.press}}}),Ye={xs:3*_,sm:3.5*_,md:4*_,lg:5*_,xl:6*_,xxl:7*_,xxxl:8*_},Xe={xs:.5*_,sm:.5*_,md:_,lg:_,xl:_,xxl:_,xxxl:_},Qe=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:Q[e],width:Q[e]}}}),Je=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:_e[e],paddingLeft:Xe[e],paddingRight:Xe[e]}}),et=e=>({height:Ye[e],paddingLeft:_,paddingRight:_}),tt=t.styled(t.CircularProgress)((()=>({color:"inherit",position:"absolute",padding:2}))),ot=({sizing:e,...t})=>E.jsx(tt,{size:e?Q[e]:40,...t}),rt=t.styled(t.Button)((({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"}}))),nt=t.styled((({children:e,loading:o,sizing:r,...n})=>E.jsxs(rt,{...n,sizing:r,loading:o,children:[o&&E.jsx(ot,{sizing:r}),E.jsx(t.Box,{...o?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:o})=>({color:e.custom.palette.text.primary,...o&&{...Je(o)},...o&&{...et(o)},...o&&{...Qe(o)},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&:focus:before":{backgroundColor:e.custom.palette.interaction.hover},"&:active:before":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},..."subtle"===t&&{...Ne(e)},..."outlined"===t&&{...Ge(e)},..."secondary"===t&&{...qe(e)},..."primary"===t&&{...Ke(e)}}))),it=({sizing:e="lg",variation:t="primary",...o})=>E.jsx(nt,{variation:t,sizing:e,...o}),st=({label:e,sx:o,...n})=>{const i=t.useTheme(),s=e?i.custom.margin.md:0;return E.jsx(t.FormControlLabel,{label:e||"",sx:r.mergeSx({ml:0,"&.Mui-disabled":{color:i.custom.palette.text.disabled},"&.Mui-error":{color:i.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:s,color:"inherit",fontSize:{xs:We.sm.body.md,sm:We.sm.body.md,md:We.sm.body.md,lg:We.lg.body.md,xl:We.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:s}}},o),...n})},at=t.styled(t.Checkbox)((({theme:e,sizing:t})=>({height:"default"===t?V:D,width:"default"===t?V:D,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?Q.sm:Q.xl,height:"default"===t?Q.sm:Q.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}}}))),lt=e=>E.jsx(at,{checkedIcon:E.jsx(o.Check,{}),indeterminateIcon:E.jsx(o.Remove,{}),...e}),ct=({internalChange:e,checkboxLabel:t,indeterminate:o,sizing:r="default",onChange:n,inputRef:i,value:s,...a})=>E.jsx(st,{inputRef:i,label:t,checked:s,control:E.jsx(lt,{sizing:r,indeterminate:o}),onChange:(t,o)=>{n&&n(t,o),e&&e()},...a}),dt=t.styled(t.TextField)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:Q.xl,height:Q.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:We.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"}}}}}))),ut=({startAdornment:e,endAdornment:o,placeholder:r,onChange:n,internalChange:i,inputRef:s,...a})=>E.jsx(dt,{placeholder:r,sx:{height:W,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:s,InputProps:{startAdornment:e?E.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:e}):null,endAdornment:o?E.jsx(t.InputAdornment,{position:"start",sx:{pr:1},children:o}):null},...a,onChange:e=>{n&&n(e),i&&i()}}),pt=({sizing:e,options:o,other:r,internalChange:n,value:i,inputRef:s,onChange:a})=>{const l=r?.name||"other-option",c=`${l}-value-`,d=e=>`${c}${e}`,u=r?.enabled,p=i?.includes(l)&&u,m=i?.find((e=>e.includes(c)));if(!i)return E.jsx("div",{});const h=(e,t)=>{let s=i.includes(e)?i.filter((t=>t!==e)):t?[e]:[...new Set(i),e];if(t||(s=s.filter((e=>!o.find((t=>t?.exclusive&&e===t.value))))),r?.enabled){!i.includes(l)||e!==l||(s=s.filter((e=>!e.includes(c))))}a(s),n&&n()};return E.jsxs(E.Fragment,{children:[E.jsxs(t.FormGroup,{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:[o?o.map(((t,o)=>{const r=t.value;return E.jsx(st,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>h(r,t.exclusive),checked:i.includes(r),control:E.jsx(lt,{sizing:e}),label:t.label},r)})):null,u&&E.jsx(st,{inputRef:s,onChange:()=>h(l),label:r?.label||"Other",checked:i.includes(l),control:E.jsx(lt,{sizing:e})},l)]}),p&&E.jsx(t.Box,{sx:{mt:1},children:E.jsx(ut,{fullWidth:!0,autoFocus:!0,defaultValue:m?m.replace(c,""):"",placeholder:r?.placeholder,onChange:e=>{const t=i.find((e=>e.includes(c))),o=(t?i.map((t=>t.includes(c)?d(e.target.value):t)):[...i,d(e.target.value)]).filter((e=>e!==c));a(o),n&&n()},required:!0})})]})},mt=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,ht=(e,o)=>{switch(o){case"tone1":default:return mt(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%, ${t.alpha(e.custom.palette.blue[1e3],.2)} 0%, ${t.alpha(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},xt=(e,t)=>{const o=ht(e,t.gradient),r=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return r?[r,o].join(","):[o].join(",")},gt=({inputField:e,onChange:t,internalChange:o,transformValue:r,...n})=>{const i=e;return E.jsx(i,{onChange:e=>{t&&t(r?r(e):e),o&&o()},...n})},ft=t.styled(t.InputLabel)((({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}}))),bt=e=>E.jsx(ft,{...e}),vt=e=>{const{icon:r=null,state:n="default",disabled:i,showicon:s=!0}=e,a=t.useTheme();return E.jsxs(t.Box,{sx:{display:"inline-flex",alignItems:"center",color:i?a.custom.palette.text.disabled:(()=>{switch(n){case"disabled":return a.custom.palette.text.disabled;case"positive":return a.custom.palette.text.positive;case"negative":return a.custom.palette.text.negative;default:return a.custom.palette.text.secondary}})(),"& svg":{marginRight:a.spacing(a.custom.margin.xs),width:Q.xs,height:Q.xs,color:"inherit"}},children:[(()=>{if(!s)return null;if(r)return r;switch(n){case"disabled":default:return E.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:E.jsx(o.Info,{})});case"positive":return E.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:E.jsx(o.Check,{})});case"negative":return E.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:E.jsx(o.ErrorOutline,{})})}})(),E.jsx(bt,{...e,sx:{fontSize:{xs:We.sm.body.sm,sm:We.sm.body.sm,md:We.sm.body.sm,lg:We.lg.body.sm,xl:We.lg.body.sm}}})]})},Ct=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:z,height:z,top:`calc(100% + ${z}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:z,height:z,top:`calc(100% + ${z}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),yt=({children:e,width:t})=>E.jsx(Ct,{sx:{width:t,minWidth:300},children:e}),wt=t.styled(t.Radio)((({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?V:D,width:"default"===t?V:D,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&Q.sm,height:"default"===t&&Q.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}}}}))),jt=e=>E.jsx(wt,{...e}),kt=t.styled(jt)((()=>({marginRight:0}))),St=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:z,width:`calc(100% - ${D}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Mt=e=>E.jsx(St,{sx:{position:"relative"},children:E.jsx(kt,{...e})}),Lt=({disabled:e=!1,onChange:o,labelLeft:r,labelRight:n,internalChange:i,labelCenter:s})=>{const a=[...Array(7).keys()];return E.jsx(t.RadioGroup,{children:E.jsxs(yt,{children:[E.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:a.map(((r,n)=>{const s=n+1!==a.length;return E.jsx(t.Grid,{item:!0,sm:s,children:E.jsx(Mt,{disabled:e,value:r,onChange:(e,t)=>{o&&o(e,t),i&&i()},name:`radio-option-${r}`},r)},r)}))}),E.jsxs(t.Grid,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[E.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"left"},children:E.jsx(vt,{disabled:e,showicon:!1,children:r})}),E.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"center"},children:E.jsx(vt,{disabled:e,align:"center",showicon:!1,children:s})}),E.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"right"},children:E.jsx(vt,{disabled:e,align:"right",showicon:!1,children:n})})]})]})})},Bt=t.styled(t.Menu)((({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:t.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),It=()=>{const e=t.useTheme();return[...e.breakpoints.keys].reduce(((t,o)=>n(e.breakpoints.up(o))?o:t),null)??"sm"},Ft=({children:e,...t})=>e,Rt=({children:e,message:o,variation:r="primary",...n})=>{const i=t.useTheme();if("primary"===r)return E.jsx(t.Tooltip,{...n,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:i.spacing(i.custom.radius.sm),filter:`drop-shadow(${i.custom.elevation.overlay})`}}}},title:o,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:E.jsx(t.Box,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},Tt=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),At=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}}}),Et=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"}}),$t=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"}}),Ot=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),zt={xs:3*_,sm:3.5*_,md:4*_,lg:5*_,xl:6*_},Ht=e=>({height:zt[e],width:zt[e]}),Pt={xs:2*_,sm:2*_,md:2*_,lg:2.5*_,xl:3*_},Vt=e=>({height:Pt[e],width:Pt[e]}),Dt=t.styled(t.IconButton)((({theme:e,variation:t,shape:o="default",sizing:r})=>({boxSizing:"border-box",transition:"all 200ms ease",...o&&{...Ot(o,e)},...r&&{...Ht(r)},"&.MuiIconButton-root":{..."default"===t&&{...Tt(e)},..."toggle"===t&&{...At(e)},..."outlined"===t&&{...Et(e)},..."raised"===t&&{...$t(e)},...o&&{...Ot(o,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...r&&{...Vt(r)},position:"relative",zIndex:1}}))),Wt=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}}),Zt=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}}),_t=t.styled(t.ButtonGroup)((({theme:e,variation:t,orientation:o="horizontal",iconColor:r,sizing:n="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Tt(e)},..."toggle"===t&&{...At(e)},..."vertical"===o&&{...Wt(e)},..."horizontal"===o&&{...Zt(e)},...n&&{...Ht(n)}},"& .MuiSvgIcon-root":{...n&&{...Vt(n)},fill:r||"inherit"}}}))),Nt=({sx:e,...t})=>E.jsx(bt,{...t,sx:r.mergeSx({fontSize:{xs:We.sm.body.md,sm:We.sm.body.md,md:We.sm.body.md,lg:We.lg.body.md,xl:We.lg.body.md}},!!e&&{...e})}),Gt=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:P,borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${P}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:P,borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${P}px)`}}}}}))),qt=({children:e,width:t})=>E.jsx(Gt,{sx:{width:t},children:e}),Kt=t.styled(vt)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Ut=({disabled:e,children:t})=>E.jsx(Kt,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),Yt=t.styled(jt)((()=>({marginRight:0}))),Xt=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:z,width:`calc(50% - ${D/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:z,width:`calc(50% - ${D/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Qt=e=>E.jsx(Xt,{sx:{textAlign:"center",position:"relative"},children:E.jsx(Yt,{...e})}),Jt=({options:e=[],disabled:o=!1,sizing:r="lg",onChange:n,internalChange:i,value:s})=>{const a=t.useTheme();function l(e){console.warn(e),n(e.value),i&&i()}return E.jsx(t.Box,{children:E.jsx(qt,{children:E.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:e.map((e=>E.jsxs(t.Grid,{item:!0,sm:!0,onClick:()=>l(e),sx:{...!o&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!o&&{backgroundColor:a.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!o&&{backgroundColor:a.custom.palette.input.default,borderColor:a.custom.palette.stroke.focus,boxShadow:a.custom.boxShadow.input.focus},"&:before":{...!o&&{backgroundColor:a.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:a.custom.palette.purple[500]}}}},children:[E.jsx(Qt,{sizing:r,disabled:o,onChange:t=>l(e),checked:s===e.value},e.value),E.jsx(t.Box,{sx:{mt:N.xs,width:"100%"},children:E.jsx(Ut,{disabled:o,children:e.label})})]},e.value)))})})})},eo=t.styled(t.Link)((({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}}}))),to=e=>e.target&&"_blank"===e.target?E.jsx(eo,{rel:"noopener",...e}):E.jsx(eo,{...e}),oo={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},ro=t.styled("div")((()=>({whiteSpace:"pre"}))),no=t.styled(t.Box)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5),justifyContent:"center",transition:e.custom.easing.input}))),io=t.styled(t.Box)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),so=t.styled(ze)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),ao=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},lo=t.styled(t.Button)((({active:e,fullWidth:t,sizing:o,theme:r})=>({alignItems:"center",backgroundColor:e?r.custom.palette.interaction.press:"transparent",borderRadius:r.spacing(r.custom.radius.md),color:r.custom.palette.text.primary,display:"flex",gap:r.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:ao(o,r),textTransform:"none",width:t?"100%":"auto","&:hover":{backgroundColor:r.custom.palette.interaction.hover,"& > div":{opacity:1}},"&:focus":{backgroundColor:r.custom.palette.interaction.hover},"&:active":{backgroundColor:r.custom.palette.interaction.press},"&:disabled":{backgroundColor:r.custom.palette.interaction.disabled,color:r.custom.palette.text.disabled}}))),co=({active:o,fullWidth:n=!0,danger:i,href:s,icon:a,label:l,navigationSizing:c,onClick:d,sizing:u="lg"})=>{const p=t.useTheme(),m=e.useRef(null);return E.jsxs(no,{onClick:d,children:[E.jsxs(lo,{active:o,sizing:u,fullWidth:n,children:[E.jsxs(t.Box,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:m,children:[a&&E.jsx(J,{name:a,size:24}),"lg"===c&&E.jsx(t.Slide,{in:!0,direction:"right",container:m.current,children:E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(t.Fade,{in:!0,style:{transitionDelay:"100ms"},children:E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(ze,{component:"p",variation:"sm"===u?"xs":"md",type:"button",clamp:1,sx:r.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})})})]}),"lg"===c&&s&&E.jsx(io,{children:E.jsx(J,{name:"open-in-new",size:20})})]}),"sm"===c&&E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:E.jsx(t.Box,{children:E.jsx(so,{active:o,component:"p",type:"button",variation:"xs",sx:r.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})]})};function uo(e){if("undefined"==typeof window)return e;const t=L.useRef(null);return L.useLayoutEffect((()=>{t.current=e})),L.useCallback(((...e)=>{var o;null===(o=t.current)||void 0===o||o.call(t,...e)}),[])}const po={};const mo={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},ho=L,xo="useId"in ho?()=>ho.useId():()=>{};function go({parentPopupState:t,popupId:o=xo(),variant:r,disableAutoFocus:n}){const i=e.useRef(!0);e.useEffect((()=>(i.current=!0,()=>{i.current=!1})),[]);const[s,a]=e.useState(mo),l=e.useCallback((e=>{i.current&&a(e)}),[]),c=e.useCallback((e=>l((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),d=uo((e=>(s.isOpen?m(e):u(e),s))),u=uo((e=>{const o=e instanceof Element?void 0:e,n=e instanceof Element?e:(null==e?void 0:e.currentTarget)instanceof Element?e.currentTarget:void 0;if("touchstart"===(null==o?void 0:o.type))return void l((e=>({...e,_deferNextOpen:!0})));const i=null==o?void 0:o.clientX,s=null==o?void 0:o.clientY,a="number"==typeof i&&"number"==typeof s?{left:i,top:s}:void 0,c=i=>{var s,l;if(e||i.setAnchorElUsed||"dialog"===r||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",po[s="missingEventOrAnchorEl"]||(po[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),t){if(!t.isOpen)return i;setTimeout((()=>t._setChildPopupState(b)))}const c={...i,isOpen:!0,anchorPosition:a,hovered:"mouseover"===(null==o?void 0:o.type)||i.hovered,focused:"focus"===(null==o?void 0:o.type)||i.focused,_openEventType:null==o?void 0:o.type};return i.setAnchorElUsed||(null!=o&&o.currentTarget?c.anchorEl=null==o?void 0:o.currentTarget:n&&(c.anchorEl=n)),c};l((e=>e._deferNextOpen?(setTimeout((()=>l(c)),0),{...e,_deferNextOpen:!1}):c(e)))})),p=e=>{const{_childPopupState:o}=e;return setTimeout((()=>{null==o||o.close(),null==t||t._setChildPopupState(null)})),{...e,isOpen:!1,hovered:!1,focused:!1}},m=uo((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?l((e=>e._deferNextClose?(setTimeout((()=>l(p)),0),{...e,_deferNextClose:!1}):p(e))):l((e=>({...e,_deferNextClose:!0})))})),h=e.useCallback(((e,t)=>{e?u(t):m(t)}),[]),x=uo((e=>{const{relatedTarget:t}=e;l((e=>!e.hovered||t instanceof Element&&wo(t,b)?e:e.focused?{...e,hovered:!1}:p(e)))})),g=uo((e=>{if(!e)return;const{relatedTarget:t}=e;l((e=>!e.focused||t instanceof Element&&wo(t,b)?e:e.hovered?{...e,focused:!1}:p(e)))})),f=e.useCallback((e=>l((t=>({...t,_childPopupState:e})))),[]),b={...s,setAnchorEl:c,popupId:o??void 0,variant:r,open:u,close:m,toggle:d,setOpen:h,onBlur:g,onMouseLeave:x,disableAutoFocus:n??Boolean(s.hovered||s.focused),_setChildPopupState:f};return b}function fo({isOpen:e,popupId:t,variant:o}){return{..."popover"===o?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===o?{"aria-describedby":e?t:void 0}:void 0}}function bo(e){return{...fo(e),onClick:e.open,onTouchStart:e.open}}function vo(e){const{open:t,onMouseLeave:o}=e;return{...fo(e),onTouchStart:t,onMouseOver:t,onMouseLeave:o}}function Co({isOpen:e,anchorEl:t,anchorPosition:o,close:r,popupId:n,onMouseLeave:i,disableAutoFocus:s,_openEventType:a}){return{id:n,anchorEl:t,anchorPosition:o,anchorReference:"contextmenu"===a?"anchorPosition":"anchorEl",open:e,onClose:r,onMouseLeave:i,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function yo({isOpen:e,anchorEl:t,popupId:o,onMouseLeave:r}){return{id:o,anchorEl:t,open:e,onMouseLeave:r}}function wo(e,t){const{anchorEl:o,_childPopupState:r}=t;return jo(o,e)||jo(function(e,{popupId:t}){if(!t)return null;const o="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof o.getElementById?o.getElementById(t):null}(e,t),e)||null!=r&&wo(e,r)}function jo(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const ko=e=>({boxShadow:e.custom.elevation.raised}),So=e=>({boxShadow:e.custom.elevation.overlay}),Mo=(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)}},Lo=(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}},Bo=t.styled(t.Paper)((({theme:e,variation:t="default",borderradius:o})=>({boxShadow:"unset",borderRadius:Mo(e,o),background:Lo(t,e),..."overlay"===t&&{...So(e)},..."raised"===t&&{...ko(e)}}))),Io=({children:e,variation:t="overlay",sx:o,...n})=>E.jsx(Bo,{variation:t,...n,sx:r.mergeSx(o||{},{}),children:e}),Fo=({children:e,description:o,title:r})=>E.jsx(Io,{variation:"raised",borderradius:"md",sx:{maxWidth:200},children:E.jsxs(t.Stack,{sx:{gap:2,p:2},children:[E.jsxs(t.Stack,{sx:{gap:1},children:[E.jsx(ze,{variation:"sm",component:"p",weight:"bold",children:r}),E.jsx(ze,{variation:"sm",component:"p",children:o})]}),e]})}),Ro=t.styled(Io)((({notification:e,theme:t})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...Ue(t),...e&&{"&:after":{background:t.custom.palette.red[500],borderRadius:t.custom.radius.round,content:'""',height:t.spacing(1),position:"absolute",right:t.spacing(.5),top:t.spacing(.5),width:t.spacing(1)}}}))),To=({notification:e,onClick:t})=>E.jsx(Ro,{variation:"overlay",borderradius:"md",notification:e,onClick:t,children:E.jsx(J,{name:"notification"})}),Ao=({children:e,description:o,title:r,navigationSizing:n})=>{if("sm"===n){const n=go({variant:"popper"});return E.jsx(t.ClickAwayListener,{onClickAway:()=>n.close(),children:E.jsxs(t.Box,{sx:{position:"relative"},children:[E.jsx(t.Box,{...bo(n),children:E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:E.jsx(t.Box,{children:E.jsx(To,{notification:!0})})})}),E.jsx(t.Popper,{...Co(n),placement:"right-end",transition:!0,children:({TransitionProps:n})=>E.jsx(t.Fade,{...n,timeout:350,children:E.jsx(t.Box,{sx:{pl:1},children:E.jsx(Fo,{description:o,title:r,children:e})})})})]})})}return E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(Fo,{description:o,title:r,children:e})})})},Eo=e.forwardRef(((t,o)=>{const{decimalSeparator:r,thousandSeparator:n,value:i,...a}=t,l=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),c=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return E.jsx(s.NumericFormat,{...a,value:i??"",getInputRef:o,thousandSeparator:n??l,decimalSeparator:r??c})})),$o=({disabled:r=!1,InputProps:n,inputProps:i,placeholder:s,hideActionButtons:a=!1,max:l=1/0,min:c=-1/0,startAdornment:d,endAdornment:u,internalChange:p,numericFormatProps:m,onChange:h,step:x=1,value:g,...f})=>{const b=t.useTheme(),[v,C]=e.useState(g),y=v,w=e=>{C(e),h&&h(e),p&&p()},j=()=>{const e=(null==y||Number.isNaN(y)?0:y)+x;e>l||w(e)},k=()=>{const e=(null==y||Number.isNaN(y)?0:y)-x;e<c||w(e)},S={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=c&&e<=l,max:l!==1/0?l:void 0,min:c!==-1/0?c:void 0,step:1!==x?x:void 0,onKeyDown:e=>{"ArrowUp"===e.key?j():"ArrowDown"===e.key&&k()},onValueChange:({floatValue:e})=>{e!==y&&w(e)},value:y,...m};return E.jsx(dt,{placeholder:s,sx:{height:W,"& .MuiOutlinedInput-input":{minWidth:V,pl:d?1:2,pr:d?1:2}},...f,value:y??"",disabled:r,InputProps:{...n,inputComponent:Eo,startAdornment:d?E.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:d}):null,endAdornment:!a&&E.jsxs(t.Stack,{gap:b.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[u&&E.jsx(t.InputAdornment,{position:"end",children:u}),E.jsxs(t.Stack,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${b.custom.palette.stroke.default}`},children:[E.jsx(t.ButtonBase,{onClick:()=>j(),sx:{flex:1,borderTopRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:E.jsx(o.ArrowDropUp,{fontSize:"inherit"})}),E.jsx(t.Divider,{}),E.jsx(t.ButtonBase,{onClick:()=>k(),sx:{flex:1,borderBottomRightRadius:b.spacing(b.custom.radius.md),fontSize:12,"&:hover":{background:b.custom.palette.interaction.hover}},children:E.jsx(o.ArrowDropDown,{fontSize:"inherit"})})]})]})},inputProps:{...i,...S}})};const Oo=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},zo=(e,t,o)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===o?e.custom.palette.peach[1e3]:e.custom.palette.peach[800]};case"peachDark":return{background:e.custom.palette.peach[800],color:e.custom.palette.peach[0]};case"purple":return{background:e.custom.palette.purple[100],color:"heavy"===o?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===o?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},Ho=t.styled(t.Chip)((({theme:e,variation:t,weight:o})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...zo(e,t,o),"& .MuiChip-label":{fontSize:`${We.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...Oo(0,o)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...zo(e,t,o),...Oo(0,o)}}))),Po={trigger:bo,contextMenu:function(e){return{...fo(e),onContextMenu:t=>{t.preventDefault(),e.open(t)}}},toggle:function(e){return{...fo(e),onClick:e.toggle,onTouchStart:e.toggle}},hover:vo,focus:function(e){const{open:t,onBlur:o}=e;return{...fo(e),onFocus:t,onBlur:o}},doubleClick:function({isOpen:e,open:t,popupId:o,variant:r}){return{["popover"===r?"aria-controls":"aria-describedby"]:e?o:null,"aria-haspopup":"popover"===r||void 0,onDoubleClick:t}}};var Vo=function(){function e(e){var t=this;this._insertTag=function(e){var o;o=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,o),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{o.insertRule(e,o.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Do="undefined"!=typeof document,Wo=function(e,t,o){for(var r=0,n=0;r=n,n=a.peek(),38===r&&12===n&&(t[o]=1),!a.token(n);)a.next();return a.slice(e,a.position)},Zo=function(e,t){return a.dealloc(function(e,t){var o=-1,r=44;do{switch(a.token(r)){case 0:38===r&&12===a.peek()&&(t[o]=1),e[o]+=Wo(a.position-1,t,o);break;case 2:e[o]+=a.delimit(r);break;case 4:if(44===r){e[++o]=58===a.peek()?"&\f":"",t[o]=e[o].length;break}default:e[o]+=a.from(r)}}while(r=a.next());return e}(a.alloc(e),t))},_o=new WeakMap,No=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,o=e.parent,r=e.column===o.column&&e.line===o.line;"rule"!==o.type;)if(!(o=o.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||_o.get(o))&&!r){_o.set(e,!0);for(var n=[],i=Zo(t,n),s=o.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=n[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},Go=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function qo(e,t){switch(a.hash(e,t)){case 5103:return a.WEBKIT+"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 a.WEBKIT+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a.WEBKIT+e+a.MOZ+e+a.MS+e+e;case 6828:case 4268:return a.WEBKIT+e+a.MS+e+e;case 6165:return a.WEBKIT+e+a.MS+"flex-"+e+e;case 5187:return a.WEBKIT+e+a.replace(e,/(\w+).+(:[^]+)/,a.WEBKIT+"box-$1$2"+a.MS+"flex-$1$2")+e;case 5443:return a.WEBKIT+e+a.MS+"flex-item-"+a.replace(e,/flex-|-self/,"")+e;case 4675:return a.WEBKIT+e+a.MS+"flex-line-pack"+a.replace(e,/align-content|flex-|-self/,"")+e;case 5548:return a.WEBKIT+e+a.MS+a.replace(e,"shrink","negative")+e;case 5292:return a.WEBKIT+e+a.MS+a.replace(e,"basis","preferred-size")+e;case 6060:return a.WEBKIT+"box-"+a.replace(e,"-grow","")+a.WEBKIT+e+a.MS+a.replace(e,"grow","positive")+e;case 4554:return a.WEBKIT+a.replace(e,/([^-])(transform)/g,"$1"+a.WEBKIT+"$2")+e;case 6187:return a.replace(a.replace(a.replace(e,/(zoom-|grab)/,a.WEBKIT+"$1"),/(image-set)/,a.WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return a.replace(e,/(image-set\([^]*)/,a.WEBKIT+"$1$`$1");case 4968:return a.replace(a.replace(e,/(.+:)(flex-)?(.*)/,a.WEBKIT+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.WEBKIT+e+e;case 4095:case 3583:case 4068:case 2532:return a.replace(e,/(.+)-inline(.+)/,a.WEBKIT+"$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(a.strlen(e)-1-t>6)switch(a.charat(e,t+1)){case 109:if(45!==a.charat(e,t+4))break;case 102:return a.replace(e,/(.+:)(.+)-([^]+)/,"$1"+a.WEBKIT+"$2-$3$1"+a.MOZ+(108==a.charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~a.indexof(e,"stretch")?qo(a.replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==a.charat(e,t+1))break;case 6444:switch(a.charat(e,a.strlen(e)-3-(~a.indexof(e,"!important")&&10))){case 107:return a.replace(e,":",":"+a.WEBKIT)+e;case 101:return a.replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.WEBKIT+(45===a.charat(e,14)?"inline-":"")+"box$3$1"+a.WEBKIT+"$2$3$1"+a.MS+"$2box$3")+e}break;case 5936:switch(a.charat(e,t+11)){case 114:return a.WEBKIT+e+a.MS+a.replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a.WEBKIT+e+a.MS+a.replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a.WEBKIT+e+a.MS+a.replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a.WEBKIT+e+a.MS+e+e}return e}var Ko,Uo,Yo=Do?void 0:(Ko=function(){return e=function(){return{}},t=Object.create(null),function(o){return void 0===t[o]&&(t[o]=e(o)),t[o]};var e,t},Uo=new WeakMap,function(e){if(Uo.has(e))return Uo.get(e);var t=Ko(e);return Uo.set(e,t),t}),Xo=[function(e,t,o,r){if(e.length>-1&&!e.return)switch(e.type){case a.DECLARATION:e.return=qo(e.value,e.length);break;case a.KEYFRAMES:return a.serialize([a.copy(e,{value:a.replace(e.value,"@","@"+a.WEBKIT)})],r);case a.RULESET:if(e.length)return a.combine(e.props,(function(t){switch(a.match(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return a.serialize([a.copy(e,{props:[a.replace(t,/:(read-\w+)/,":"+a.MOZ+"$1")]})],r);case"::placeholder":return a.serialize([a.copy(e,{props:[a.replace(t,/:(plac\w+)/,":"+a.WEBKIT+"input-$1")]}),a.copy(e,{props:[a.replace(t,/:(plac\w+)/,":"+a.MOZ+"$1")]}),a.copy(e,{props:[a.replace(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""}))}}],Qo=function(e){var t=e.key;if(Do&&"css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,n,i=e.stylisPlugins||Xo,s={},l=[];Do&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),o=1;o<t.length;o++)s[t[o]]=!0;l.push(e)})));var c=[No,Go];if(Yo){var d=[a.stringify],u=a.middleware(c.concat(i,d)),p=Yo(i)(t),m=function(e,t){var o=t.name;return void 0===p[o]&&(p[o]=function(e){return a.serialize(a.compile(e),u)}(e?e+"{"+t.styles+"}":t.styles)),p[o]};n=function(e,t,o,r){var n=t.name,i=m(e,t);return void 0===f.compat?(r&&(f.inserted[n]=!0),i):r?void(f.inserted[n]=i):i}}else{var h,x=[a.stringify,a.rulesheet((function(e){h.insert(e)}))],g=a.middleware(c.concat(i,x));n=function(e,t,o,r){h=o,function(e){a.serialize(a.compile(e),g)}(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)}}var f={key:t,sheet:new Vo({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:n};return f.sheet.hydrate(l),f};const Jo=t.styled("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),er=({options:o,onChange:r,other:n,value:i,internalChange:s,...a})=>{const l=n?.enabled,c="other-option",d=`${c}-value-`,[u,p]=e.useState(i),[m,h]=e.useState(!1);e.useEffect((()=>{!m&&u?.includes(d)?h(!0):m&&h(!1)}),[u]);return E.jsxs(E.Fragment,{children:[E.jsxs(t.RadioGroup,{...a,value:u,sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiRadio-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},onChange:(e,t)=>{r&&r(t),p(t),s&&s()},children:[o?o.map(((e,t)=>E.jsx(st,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:E.jsx(jt,{})},t))):null,l&&E.jsx(st,{label:n?.label||"Other",value:d,control:E.jsx(jt,{checked:u?.includes(d)})},c)]}),m&&E.jsx(t.Box,{sx:{mt:1},children:E.jsx(ut,{fullWidth:!0,autoFocus:!0,placeholder:n?.placeholder,defaultValue:u?.replace(d,""),onChange:e=>{var t;r&&r((t=e.target.value,`${d}${t}`)),s&&s()},required:!0})})]})},tr=({handleSelectAll:o,isIndeterminate:r,isAllSelected:n,sizing:i})=>{const[s,a]=e.useState(!1),l=t.useTheme();return e.useEffect((()=>{n&&a(n)}),[n]),E.jsxs(t.Stack,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:e=>{const t=!s;a(t),o(e,t)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[E.jsx(t.FormLabel,{sx:{cursor:"pointer",fontSize:()=>i&&_e[i]},children:"Select all"}),E.jsx(lt,{sizing:"default",indeterminate:r,checked:s})]})},or=e.forwardRef((({children:e,handleSelectAll:t,showSelectAll:o,value:r=[],selections:n,sizing:i,...s},a)=>{const l=Array.isArray(r)&&r.length===n.length,c=Array.isArray(r)&&r.length>0&&r.length<n.length;return E.jsxs("ul",{ref:a,...s,children:[o&&E.jsx(tr,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),rr="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",nr=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},ir=(e,t)=>({"& .MuiTypography-root":{height:nr(t),fontSize:_e[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)}}),sr=e=>({fontSize:`${We.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(G.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"}}),ar=(e,t)=>{switch(t){case"lg":return{height:nr(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.lg,height:Q.lg,top:`calc(50% - ${Q.lg/2}px)`}};case"md":return{height:nr(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.md,height:Q.md,top:`calc(50% - ${Q.md/2}px)`}};case"xs":return{height:nr(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.xs,height:Q.xs,top:`calc(50% - ${Q.xs/2}px)`}};default:return{height:nr("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Q.lg,height:Q.lg,top:`calc(50% - ${Q.lg/2}px)`}}}},lr=e=>({position:"relative",fontSize:`${We.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:Q.xl,height:Q.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),cr=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:rr}}}}),dr=t.styled(t.Autocomplete)((({theme:e,sizing:t,value:o})=>({maxWidth:"100%",backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.md),border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiSvgIcon-root":{...t&&{width:Q[t],height:Q[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*_+"px":3*_+"px"},paddingTop:0,paddingBottom:0,paddingLeft:o&&Array.isArray(o)&&o.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:_e[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*_+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*_+"px":3*_+"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)}`}}}))),ur=t.styled(t.Chip)((({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}}}))),pr=t.styled(t.TextField)((({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"}}))),mr=t.styled(t.Popper)((({theme:e,sizing:o})=>({"& .MuiPaper-root":{...o&&{margin:"lg"===o?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===o?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===o?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:rr,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${t.autocompleteClasses.listbox}`]:{overflowX:"hidden",[`& .${t.autocompleteClasses.option}`]:{fontSize:_e[o],...o&&{height:"lg"===o?5*_+"px":4*_+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),hr=e=>E.jsx(mr,{...e}),xr=({selections:t,disableClearable:r=!1,disabled:n,internalChange:i,multiple:s=!0,onChange:a,placeholder:l="",renderListItem:c,sizing:d="lg",value:u=(s?[]:"")})=>{const[p,m]=e.useState(t.filter((e=>u.includes(e?.value)))),h=(e,o)=>{if(a){const r=o?t.map((({value:e})=>e)):[];m(o?t:[]),a(e,r,"selectOption"),i&&i()}},x=e=>null!==e&&(!Array.isArray(e)||e.length>0);return E.jsx(dr,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:E.jsx(o.KeyboardArrowDown,{}),sizing:d,disabled:n,disableClearable:r,autoComplete:!0,multiple:s,renderInput:e=>E.jsx(pr,{...e,placeholder:x(p)?void 0:l,sizing:d}),options:t,renderTags:(e,t)=>e.map(((e,r)=>{const{key:n,...i}=t({index:r});return E.jsx(ur,{sizing:d,deleteIcon:E.jsx(o.CloseRounded,{fontSize:"small"}),label:e.label,...i},n)})),onChange:(e,t,o)=>{const r=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;m(t),a?.(e,r,o),i?.()},PopperComponent:e=>E.jsx(hr,{...e,sizing:d}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:r})=>{const{key:n,...i}=e;return E.jsxs("li",{...i,children:[E.jsx("span",{children:c?c(t.value,t.label):t.label}),E.jsx(o.Check,{sx:{visibility:r?"visible":"hidden",fontSize:"16px"}})]},n)},ListboxComponent:e.forwardRef(((e,o)=>E.jsx(or,{ref:o,...e,showSelectAll:s,handleSelectAll:h,value:p,selections:t,sizing:d}))),value:p})},gr=t.styled(t.MenuItem)((({theme:e})=>({...{...lr(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}}}))),fr=({children:e,selected:r,...n})=>E.jsx(gr,{...n,children:E.jsxs(t.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[E.jsx(t.Box,{children:e}),r&&E.jsx(o.Check,{})]})}),br=t.styled(t.Select)((({theme:e,sizing:t})=>({...{...sr(e)},...t&&{...ar(e,t)},...t&&{...ir(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}}}))),vr=({selections:e,autoComplete:r=!1,disabled:n=!1,disablePortal:i=!1,inputRef:s,internalChange:a,multi:l=!0,onChange:c,placeholder:d="",selectOptionProps:u,sizing:p="lg",sx:m,value:h=[],renderListItem:x,...g})=>{const f=t.useTheme(),b=It();return r?E.jsx(xr,{selections:e,placeholder:d,disabled:n,sizing:p,onChange:(e,t)=>{c&&c(t||""),a&&a()},value:Array.isArray(h)?h??[]:h??"",internalChange:a,renderListItem:x,multiple:l}):E.jsxs(br,{sizing:p,inputRef:s,MenuProps:{disablePortal:i,sx:cr,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:o.KeyboardArrowDown,renderValue:t=>d&&!t?E.jsx(ze,{component:"p",variation:"sm"===b||"md"===b?"sm":"lg",sx:{color:f.custom.palette.text.placeholder},children:d}):E.jsx(ze,{component:"p",variation:"sm"===b||"md"===b?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{c&&c(e,t),a&&a()},sx:m,value:h,...g,children:[""!==d.trim()&&E.jsx(fr,{disabled:!0,value:"","aria-label":"placeholder",children:d},"placeholder"),e?.map((({value:e,label:t})=>E.jsx(fr,{value:e,...u,children:x?x(e,t):t},e)))]})},Cr=t.styled(t.Box)((({theme:e,disabled:t,fullWidth:o})=>({width:o?"100%":"auto",minWidth:240,backgroundColor:t?e.custom.palette.input.disabled:e.custom.palette.surface.raised,border:`1px solid ${t?e.custom.palette.stroke.disabled:e.custom.palette.stroke.default}`,borderRadius:e.spacing(e.custom.radius.lg),padding:e.spacing(e.custom.padding.md),position:"relative",zIndex:0,"&:after":{content:'""',backgroundColor:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.lg),position:"absolute",inset:0},"&:hover":{"&:after":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{"&:after":{backgroundColor:e.custom.palette.interaction.press}},"& svg":{fill:e.custom.palette.icon.primary},...t&&{background:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"&:after":{backgroundColor:e.custom.palette.interaction.none},"& .MuiBox-root > .MuiSvgIcon-root":{fill:"none"}}}))),yr=t.styled(Nt)((({theme:e})=>({fontSize:We.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),wr=({label:e="Placeholder",disabled:r,onChange:n,options:i,fullWidth:s})=>{const a=t.useTheme(),l=i.map((e=>e.label)).indexOf(e);return E.jsx(Cr,{disabled:r,fullWidth:s,children:E.jsxs(t.Stack,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[E.jsxs(t.Box,{display:"flex",alignItems:"center",sx:{"& svg":{fill:a.custom.palette.icon.secondary}},children:[E.jsx(o.DragHandle,{sx:{width:Q.lg,height:Q.lg,mr:a.custom.padding.sm}}),E.jsx(yr,{align:"left",disabled:r,children:e})]}),E.jsx(vr,{name:"rank",sizing:"xs",selections:i.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:r,value:`${l}`,onChange:function(e){const t=l,o=Number(e.target.value),r=i;let s=1;const a=r.splice(t,s)[0];s=0,r.splice(o,s,a),n(r)},MenuProps:{anchorOrigin:{vertical:D,horizontal:"center"}}})]})})},jr=e.createContext({attributes:{},listeners:void 0,ref(){}}),kr=e=>u.defaultAnimateLayoutChanges({...e,wasDragging:!0});function Sr({children:o,top:r,bottom:n,id:i}){const{attributes:s,isDragging:a,listeners:l,setNodeRef:c,setActivatorNodeRef:d,transform:m,transition:h}=u.useSortable({id:i,animateLayoutChanges:kr}),x=e.useMemo((()=>({attributes:s,listeners:l,ref:d})),[s,l,d]),g={opacity:a?.4:void 0,transform:p.CSS.Translate.toString(m),transition:h};return E.jsx(jr.Provider,{value:x,children:E.jsxs(t.Stack,{className:"SortableItem",...s,sx:{position:"relative",...g,width:"100%"},ref:c,children:[r&&r,E.jsx(t.Box,{...l,sx:{display:"flex",cursor:"grab"},children:o}),n&&n]})})}const Mr={sideEffects:d.defaultDropAnimationSideEffects({styles:{active:{opacity:"0.4"}}})};function Lr({children:e}){return c.createPortal(E.jsx(d.DragOverlay,{zIndex:999999,dropAnimation:Mr,children:e}),document.body)}const Br=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class Ir extends d.MouseSensor{static activators=[{eventName:"onMouseDown",handler:Br}]}class Fr extends d.TouchSensor{static activators=[{eventName:"onTouchStart",handler:Br}]}function Rr({items:o,onChange:r,renderItem:n,disabled:i,direction:s}){if(!o)return;const[a,l]=e.useState(null),c=e.useMemo((()=>o.find((e=>e?.id===a?.id))),[a,o]),p=t.useTheme(),m=t.useMediaQuery(p.breakpoints.down("md")),h=d.useSensors(d.useSensor(Ir,{activationConstraint:{distance:5}}),d.useSensor(Fr,{activationConstraint:{delay:m?300:0,tolerance:8}}),d.useSensor(d.KeyboardSensor,{coordinateGetter:u.sortableKeyboardCoordinates}));return E.jsxs(d.DndContext,{measuring:{droppable:{strategy:d.MeasuringStrategy.Always}},sensors:h,onDragStart:({active:e})=>{l(e)},onDragEnd:({active:e,over:t})=>{if(t&&e.id!==t?.id){const n=o.findIndex((({id:t})=>t===e.id)),i=o.findIndex((({id:e})=>e===t.id));r(u.arrayMove(o,n,i))}l(null)},onDragCancel:()=>{l(null)},children:[E.jsx(u.SortableContext,{items:o,disabled:i,strategy:"horizontal"===s?u.horizontalListSortingStrategy:u.verticalListSortingStrategy,children:E.jsx(t.Stack,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:o.map((t=>E.jsx(e.Fragment,{children:n(t)},t.id)))})}),E.jsx(Lr,{children:c?n(c,!0,!!a):null})]})}Rr.Item=Sr,Rr.DragHandle=function(){const{attributes:o,listeners:r,ref:n}=e.useContext(jr);return E.jsx(t.Box,{...o,...r,ref:n,children:E.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:E.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 Tr=({labelTop:o,labelBottom:r,disabled:n,fullWidth:i=!1,options:s,onChange:a,value:l,internalChange:c})=>{const d=t.useTheme(),[u,p]=e.useState(l||s);function m(e){p(e),a(e.map((({id:e})=>e))),c&&c()}return E.jsxs(t.Stack,{gap:d.custom.margin.sm,textAlign:"center",sx:{width:i?"100%":"auto"},children:[o&&E.jsx(Nt,{disabled:n,sx:{color:d.custom.palette.text.secondary},children:o}),E.jsx(Rr,{onChange:function(e){p(e),a(e.map((({id:e})=>e))),c&&c()},items:u,direction:"vertical",renderItem:({...e})=>E.jsx(Sr,{id:e.id,children:E.jsx(wr,{onChange:m,...e,options:u,disabled:n,selections:e.selections,fullWidth:i})})}),r&&E.jsx(Nt,{disabled:n,sx:{color:d.custom.palette.text.secondary},children:r})]})},Ar=t.styled(x.RichTextEditor)((({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)}}}))),Er=({onChange:o,value:r,internalChange:n,minWidth:i=100,minHeight:s=100,maxHeight:a,placeholder:l})=>{const c=e.useRef(null),d=t.useTheme();return E.jsx(Ar,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:s,minWidth:i,maxHeight:a}},ref:c,onUpdate:({editor:e})=>{o&&o(e.getHTML()),n&&n()},extensions:[h.StarterKit.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),m.Placeholder.configure({placeholder:l}),g.Markdown],content:r,renderControls:()=>E.jsxs(t.Stack,{gap:d.custom.margin.xs,direction:"row",children:[E.jsx(x.MenuButtonBold,{}),E.jsx(x.MenuButtonItalic,{})]})})},$r=e=>({"& .MuiSlider-thumb":{width:V,height:V,backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:z,height:z,backgroundColor:e.custom.palette.icon.primaryInverted}}}),Or=e=>Array.isArray(e),zr=(e,t)=>({height:H,padding:`${H}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${D}px)`,left:`-${P}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&&Or(t)?`-${H+1}px`:`-${P+1}px`,width:`calc(100% + ${P}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:z,width:z,borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),Hr=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:z,minWidth:D,"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${We.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),Pr=t.styled(t.Slider)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${D}px)`,marginLeft:D/2,...{...zr(e,t)},...{...$r(e)},...{...Hr(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}}}}))),Vr=[1,2,5,10],Dr=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const o=(t-e)/9;if(o<=1)return 1;const r=Math.floor(Math.log10(o)),n=o/Math.pow(10,r);return i=n,(Vr.find((e=>i<=e))??Vr[Vr.length-1])*Math.pow(10,r);var i},Wr=({labelLeft:e,labelMiddle:o,labelRight:r,labelRightProps:n,labelLeftProps:i,disabled:s,onChange:a,internalChange:l,max:c=5,min:d=1,step:u,value:p=d,...m})=>{const{sanitisedMin:h,sanitisedMax:x}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(d,c),g=((e,t,o)=>{const r=[];for(let n=e;n<=t;n+=o)r.push({value:n,label:n===e||n===t||n+o<=t?n.toString():void 0});return r[r.length-1].value!==t&&r.push({value:t,label:t.toString()}),r})(h,x,u??Dr(d,c));return E.jsxs(t.Box,{sx:{minWidth:300},children:[E.jsx(t.Box,{height:24,children:E.jsx(Pr,{valueLabelDisplay:s?"on":"auto",disabled:s,marks:g,step:u,max:x,min:h,onChangeCommitted:()=>{l&&l()},onChange:(e,t,o)=>{a&&a(e,t,o)},value:p,...m})}),E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",pt:G.lg,gap:1},children:[e&&E.jsx(t.Box,{sx:{flex:1},children:E.jsx(vt,{disabled:s,showicon:!1,...i,children:e})}),o&&E.jsx(t.Box,{sx:{flex:1,textAlign:"center"},children:E.jsx(vt,{showicon:!1,disabled:s,children:o})}),r&&E.jsx(t.Box,{sx:{flex:1,textAlign:"right"},children:E.jsx(vt,{...n,showicon:!1,disabled:s,children:r})})]})]})},Zr=t.styled(t.Rating)((({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}}}}))),_r=({internalChange:e,onChange:o,...r})=>E.jsx(Zr,{...r,onChange:(t,r)=>{o&&o(t,r),e&&e()},icon:E.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:E.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:E.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:E.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"})})}),Nr=t.styled((e=>E.jsx(t.Switch,{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":{width:16,height:16,boxSizing:"border-box",boxShadow:"none",backdropFilter:"blur(0)",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})}}))),Gr=({sx:e,inputRef:t,value:o,label:n,labelPlacement:i="start",fullWidth:s,onChange:a,internalChange:l,...c})=>E.jsx(st,{inputRef:t,checked:o,label:n,labelPlacement:i,control:E.jsx(Nr,{}),onChange:(e,t)=>{a&&a(e,t),l&&l()},sx:r.mergeSx(s?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},e),...c}),qr=t.styled(dt)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:W,alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:Q.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),Kr=({startAdornment:e,endAdornment:o,onChange:r,internalChange:n,inputRef:i,...s})=>E.jsx(qr,{multiline:!0,inputRef:i,InputProps:{startAdornment:e?E.jsx(t.InputAdornment,{position:"start",children:e}):null,endAdornment:o?E.jsx(t.InputAdornment,{position:"start",children:o}):null},onChange:e=>{r&&r(e),n&&n()},...s}),Ur=({status:e})=>{const o=t.useTheme();switch(e){case"neutral":return null;case"success":return E.jsx(Yr,{backgroundColor:o.custom.palette.green[500],name:"check-circle"});case"warning":return E.jsx(Yr,{backgroundColor:o.custom.palette.yellow[500],name:"error-outline"});case"danger":return E.jsx(Yr,{backgroundColor:o.custom.palette.red[500],name:"warning-amber"});case"discover":return E.jsx(Yr,{backgroundColor:o.custom.palette.purple[500],name:"lightbulb"})}},Yr=({backgroundColor:e,name:o})=>{const r=t.useTheme();return E.jsx(t.Box,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:E.jsx(t.Box,{sx:{backgroundColor:e,borderRadius:r.custom.radius.round,color:r.custom.palette.white,display:"flex",p:.5},children:E.jsx(J,{name:o,size:20})})})},Xr=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Qr=t.styled(t.Stack)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),Jr=t.styled(t.Stack)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),en=t.styled(t.Box)((({active:e,navigationSizing:t,theme:o})=>({alignItems:"center",borderRadius:o.spacing("lg"===t?o.custom.radius.md:o.custom.radius.round),display:"flex",justifyContent:"flex-start",padding:o.spacing(.5),overflow:"hidden",...Ue(o,e)}))),tn=({active:o,avatar:r,email:n,name:i,navigationSizing:s,withMenu:a})=>{const l=t.useTheme(),c=e.useRef(null);return E.jsx(en,{active:o,navigationSizing:s,children:E.jsxs(Xr,{ref:c,children:[E.jsx(He,{src:r,sizing:"sm"}),E.jsx(t.Fade,{in:!0,children:E.jsxs(Xr,{children:[E.jsxs(Qr,{withMenu:a,children:[E.jsx(ze,{variation:"sm",component:"p",type:"button",noWrap:!0,children:i}),E.jsx(ze,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:l.custom.palette.text.secondary},children:n})]}),a&&E.jsx(Jr,{children:E.jsx(J,{name:"chevron-right",size:24})})]})})]})})},on=t.styled(t.Button)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.75,1.5),textTransform:"none",width:"100%",...Ue(t,e)}))),rn=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),nn=t.styled(t.Stack)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),sn=({active:e,danger:o,hasChildren:n,label:i,selected:s})=>{const a=t.useTheme();return E.jsx(on,{active:e,children:E.jsxs(rn,{sx:{flex:1},children:[E.jsx(rn,{children:E.jsx(ze,{component:"p",sx:r.mergeSx(o&&{color:a.custom.palette.text.negative}),type:"button",variation:"md",children:i})}),E.jsxs(nn,{children:[n&&E.jsx(J,{name:"chevron-right",size:24}),s&&E.jsx(J,{name:"check-thin",size:24})]})]})})},an=({button:e,children:o,hover:r,state:n})=>E.jsx(t.ClickAwayListener,{onClickAway:()=>n.close(),children:E.jsxs(t.Box,{children:[E.jsx(t.Box,{...r&&{...vo(n)},...bo(n),children:e}),E.jsx(t.Popper,{...Co(n),placement:"right-end",transition:!0,children:({TransitionProps:e})=>E.jsx(t.Fade,{...e,timeout:350,children:E.jsx(t.Box,{sx:{pl:1},children:o})})})]})}),ln=({avatar:e,email:o,menuItems:r,name:n,navigationSizing:i})=>{const s=go({variant:"popper"});return E.jsx(an,{state:s,button:E.jsx(tn,{active:s.isOpen,avatar:e,email:o,name:n,navigationSizing:i,withMenu:!!r?.length}),children:!!r?.length&&E.jsx(Io,{borderradius:"md",variation:"overlay",sx:{width:192},children:E.jsx(t.Stack,{sx:{p:1},children:r?.map(cn)})})})},cn=(e,o)=>{if(e.children?.length){const r=go({variant:"popper"});return E.jsx(an,{state:r,hover:!0,button:E.jsx(sn,{label:e.label,active:r.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger}),children:E.jsx(Io,{borderradius:"md",variation:"overlay",sx:{width:192},children:E.jsx(t.Stack,{sx:{p:1},children:e.children.map(cn)})})},o)}return E.jsx(sn,{label:e.label,selected:e.selected,danger:e.danger})};const dn=(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}},un=(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}},pn=t.styled(t.LinearProgress)((({theme:e,score:o})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${t.linearProgressClasses.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:dn(o,e)}}))),mn={translations:I.translations,graphs:B.adjacencyGraphs,dictionary:{...B.dictionary,...I.dictionary}};v.zxcvbnOptions.setOptions(mn);const hn=({label:o="Strength",width:r=60,value:n,onChange:i})=>{const[s,a]=e.useState(0),l=t.useTheme();return e.useEffect((()=>{a(v.zxcvbn(n).score)}),[n]),e.useEffect((()=>{i(s)}),[s]),E.jsxs(t.Stack,{direction:"row",gap:1,sx:{alignItems:"center"},children:[E.jsx(ze,{variation:"sm",component:"p",children:o}),E.jsx(pn,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:r}}),E.jsx(ze,{variation:"sm",component:"p",sx:{color:un(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},xn=({helperText:e,inputName:t,errors:o,...r})=>{const n=Boolean(o&&o[t]);return n?E.jsx(w.ErrorMessage,{errors:o,name:t,render:({message:e})=>E.jsx(vt,{showicon:!!e,state:"negative",children:e})}):e&&!n?E.jsx(vt,{state:"default",...r,children:e}):null},gn={textfield:ut,numberfield:$o,textarea:Kr,select:vr,checkbox:ct,checkboxGroup:pt,switch:Gr,slider:Wr,starRating:_r,differential:Lt,likert:Jt,radioGroup:er,ranking:Tr,richTextfield:Er,customfield:gt},fn=({name:o,fieldType:r,label:n,control:i,errors:s,labelProps:a,helperText:l,helpTextProps:c,validation:d,content:u,styleOverrides:p,defaultValue:m,onChange:h,watch:x,trigger:g,strengthIndicator:v,...C})=>{const{custom:y}=t.useTheme(),w=void 0!==s&&Object.keys(s).length>0,[j,k]=e.useState(0);return v&&e.useEffect((()=>{j>0&&g(o)}),[j]),E.jsxs(t.Stack,{sx:p?.sxInputStack,gap:y.margin.sm,children:["switch"!==r?n&&E.jsx(Nt,{...a,children:n}):null,"html"===r&&u?E.jsx(Ft,{children:u}):E.jsxs(E.Fragment,{children:[E.jsx(f.Controller,{name:o,control:i,render:e=>function({field:{ref:e,...t}}){const o=gn[r];return null!==t.value?E.jsx(o,{...C,...t,inputRef:e,..."switch"===r?{label:n}:{}}):E.jsx("div",{})}({...e,field:{...e.field,value:e.field.value||m}}),rules:{...d,validate:e=>{if(d&&"phone"in d)return b.isValidPhoneNumber(`+${x("extension")}${e}`)||d.phone.message;if(d&&"score"in d)return j<=d.score.value?d.score.message:void 0;if(d&&"white_space"in d)return!e.match(/^\s*$/g)||d.white_space.message;if(d&&"match"in d)switch(d.match?.comparison){case"not_eq":return e!=x(d.match.field)||d.match.message;case"gt":return e>x(d.match.field)||d.match.message;case"lt":return e<x(d.match.field)||d.match.message;default:return e===x(d.match.field)||d.match.message}}}}),v&&"password"===C?.type&&E.jsx(hn,{value:x(o),onChange:k})]}),E.jsxs(E.Fragment,{children:[Boolean(w)?E.jsx(xn,{helperText:void 0,inputName:o,errors:s,showicon:!0}):null,Boolean(l)?E.jsx(xn,{helperText:l,inputName:o,errors:void 0,...c}):null]})]})},bn=e=>e.reduce(((e,t)=>({...e,[t?.name]:vn(t,t?.defaultValue)})),{}),vn=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:o}=e;return Array.isArray(t)?t:t||o}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":case"switch":return t||!1;case"ranking":{const{options:o}=e;return t?t.map((e=>o.find((({id:t})=>t===e)))):o}}},Cn=e.forwardRef((({submitButton:o,secondaryButton:r,onFormSubmit:n,onFormChange:i,formConfig:s},a)=>{const{custom:l}=t.useTheme(),{fields:c,reValidateMode:d,styleOverrides:u,autoComplete:p,formId:m,mode:h}=s,{reset:x,getValues:g,trigger:b,setValue:v,control:C,formState:{isValid:y,errors:w},setFocus:j,handleSubmit:k,watch:S}=f.useForm({mode:h||"onChange",reValidateMode:d,defaultValues:e.useMemo((()=>bn(c)),[]),shouldUnregister:!0});e.useEffect((()=>{(function(e,t){const o=new Set(e),r=new Set(t);return e.every((e=>r.has(e)))&&t.every((e=>o.has(e)))})(c.map((({name:e})=>e)),Object.keys(g()))||c.forEach((e=>{"html"!==e.fieldType&&e.defaultValue&&v(e.name,vn(e,e.defaultValue))}))}),[c]),e.useEffect((()=>{x(bn(c))}),[m]),e.useImperativeHandle(a,(()=>({set(e,t){v(e,t)},resetForm(){x()},focus(e){j(e)},submit(){n&&k(n)()},values:()=>g(),valid:()=>y,errors:()=>w,async triggerFormValidation(){await b()}})));const M=()=>{i&&i(g())};return E.jsxs(t.Box,{component:"form",autoComplete:p,noValidate:!0,sx:u?.sxForm,...n&&{onSubmit:k(n)},children:[E.jsx(t.Stack,{gap:l.margin.md,sx:u?.sxStack,children:c.map((({name:t,...o})=>e.createElement(fn,{...i&&{internalChange:M},name:t,key:t,errors:w,control:C,watch:S,trigger:b,...o,defaultValue:bn(c)[t]})))}),(r||o)&&E.jsxs(t.Stack,{direction:"row",sx:u?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[r&&r,o&&o]})]})})),yn=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},wn=(e,t,o)=>({maxLength:{value:o||255,message:`Maximum character limit of ${o||255}.`},...t&&{required:e?`Please enter ${yn(e)} ${e}`:"This field is required"}}),jn=wn().maxLength.value;var kn={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 Sn=({text:e})=>{const o=t.useTheme(),r="{{tick}}"===e,n="{{dash}}"===e;return E.jsx(t.Box,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[r&&E.jsx(J,{name:"check",size:24}),n&&E.jsx(J,{name:"dash",size:24}),!r&&!n&&E.jsx(ze,{variation:"lg",component:"p",sx:{color:o.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:E.jsx(E.Fragment,{children:e})})]})})},Mn=()=>{const t="object"==typeof window;function o(){return{width:t?window.innerWidth:void 0,height:t?window.innerHeight:void 0}}const[r,n]=e.useState(o);return e.useEffect((()=>{if(t)return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r);function r(){e.startTransition((()=>{n(o())}))}}),[]),r},Ln=()=>E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[E.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),E.jsx("path",{d:"M14.375 12.5H21.875V13.4375C20 13.4375 20 15.3125 20 15.3125V25.625H22.8125C22.8125 25.625 24.6875 25.625 24.6875 22.8125H26.5625L25.625 27.5H14.375V25.625C16.25 25.625 16.25 23.75 16.25 23.75V15.3125C16.25 15.3125 16.25 13.4375 14.375 13.4375V12.5Z",fill:"white"})]}),Bn=()=>E.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 53 19",style:{height:19,width:53},children:[E.jsx("path",{d:"M5.759 15.754c-.854-.6-1.033-.778-1.033-2.098V3H0v.2l.008.005c.868.535 1.263.778 1.263 2.092v8.359c0 1.32-.179 1.498-1.033 2.098v.2h5.52v-.2Z"}),E.jsx("path",{"fill-rule":"evenodd",d:"M6.015 11.947c.537 3.068 3.314 4.644 6.229 4.128 2.913-.517 4.986-2.962 4.45-6.022-.537-3.06-3.314-4.646-6.23-4.129-2.914.518-4.986 2.955-4.449 6.023Zm3.599-.639c-.514-2.95-.306-4.285 1.002-4.517 1.31-.234 1.964.946 2.479 3.896.514 2.95.307 4.28-1.003 4.517-1.31.238-1.964-.946-2.478-3.896ZM23.64 16.075c-2.913.516-5.69-1.06-6.228-4.128-.538-3.068 1.535-5.505 4.45-6.023 2.915-.517 5.69 1.068 6.229 4.128.538 3.06-1.537 5.506-4.45 6.023Zm-1.626-9.284c-1.31.232-1.517 1.567-1.003 4.517s1.168 4.134 2.478 3.9c1.31-.232 1.517-1.566 1.003-4.516s-1.168-4.135-2.478-3.901Z","clip-rule":"evenodd"}),E.jsx("path",{"fill-rule":"evenodd",d:"M34.091 18.756c-.993-.565-1.35-.769-1.35-2.054l.003-2.396c.515 1.039 1.548 1.858 3.256 1.858 2.581 0 4.627-1.964 4.627-5.34 0-3.435-1.995-4.973-4.27-4.973-1.866 0-3.158 1.059-3.613 2.517l-.08-2.317h-4.567v.191c.854.558 1.19.778 1.19 2.097v8.363c0 1.318-.177 1.498-1.033 2.098v.2h5.915v-.2l-.078-.044Zm.814-3.808c-1.212 0-2.165-1.378-2.165-2.975V10.55c0-1.777.854-3.117 2.165-3.117 1.37 0 2.044 1.26 2.044 3.396 0 2.82-.694 4.119-2.044 4.119Z","clip-rule":"evenodd"}),E.jsx("path",{d:"M51.545 16.124c.642 0 1.163-.524 1.163-1.17 0-.646-.52-1.17-1.163-1.17s-1.163.524-1.163 1.17c0 .646.52 1.17 1.163 1.17ZM46.212 9.195c-1.33-.395-2.079-.617-2.079-1.411 0-.665.607-.96 1.274-.96 1.292 0 2.304.74 3.476 2.458h.278V5.847h-.199l-.893.659-.117-.049c-.735-.305-1.47-.61-2.584-.61-2.125 0-3.813 1.318-3.813 3.275 0 1.757.836 2.757 3.834 3.536 1.113.28 1.887.48 1.887 1.338 0 .8-.774 1.178-1.708 1.178-1.435 0-2.483-.978-3.861-2.836h-.304l.21 3.795h.218l.793-.799c.636.32 1.63.82 2.96.82 2.54 0 4.31-1.42 4.31-3.416 0-2.058-1.23-2.817-3.656-3.535l-.026-.008Z"})]}),In=t.styled(t.Box)((({navigationSizing:e,theme:t})=>({alignItems:"center",backgroundColor:t.custom.palette.surface.sunken,display:"flex",flexDirection:"sm"===e?"column":"row",justifyContent:"space-between",padding:t.spacing(1.5,2,2)}))),Fn=t.styled(t.Box)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.md),display:"flex",justifyContent:"center",...Ue(e)}))),Rn=({isMobile:e,navigationSizing:o,onClick:r})=>E.jsxs(In,{navigationSizing:o,children:[E.jsxs(t.Box,{sx:{display:"flex",width:"100%"},children:[E.jsx(Ln,{}),E.jsx(t.Fade,{in:"lg"===o,style:{transitionDelay:"sm"===o?"0ms":"100ms"},children:E.jsx(t.Box,{sx:{alignItems:"center",display:"flex",gap:.5,width:"100%"},children:E.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[E.jsx(Bn,{}),E.jsx(Fn,{onClick:r,children:e?E.jsx(J,{name:"close",size:20}):E.jsx(J,{name:"push-left",size:32})})]})})})]}),"sm"===o&&E.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:E.jsx(t.Box,{sx:{alignItems:"center",display:"flex"},children:E.jsx(Fn,{onClick:r,children:e?E.jsx(J,{name:"close",size:20}):E.jsx(J,{name:"push-right",size:32})})})})]}),Tn=t.styled(t.Stack)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),An=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),En=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),$n="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",On=()=>E.jsx(t.GlobalStyles,{styles:{"strong, b":{fontWeight:500}}}),zn=e.createContext(null),Hn=(o="light",r="lg",n="ltr")=>{const{width:i}=Mn(),[s,a]=e.useState(o),[l,c]=e.useState(r),[d,u]=e.useState(n),[p,m]=e.useState(!1),[h,x]=e.useState("");e.useEffect((()=>{document.documentElement.setAttribute("dir",d)}),[d]);e.useEffect((()=>{e.startTransition((()=>{c(i&&i<$.lg?"sm":"lg")}))}),[i]),e.useEffect((()=>{e.startTransition((()=>{u(n)}))}),[n]),e.useEffect((()=>{e.startTransition((()=>{a(o)}))}),[o]);const g=e.useMemo((()=>((e,o,r)=>t.createTheme({direction:r,custom:{palette:{black:"#000000",white:"#ffffff",neutral:je[e],neutralAlpha:"light"===e?be:ve,purple:Se[e],red:Me[e],peach:Le[e],yellow:Be[e],blue:Ie[e],green:Fe[e],icon:Re[e].icon,interaction:Re[e].interaction,stroke:Re[e].stroke,surface:Re[e].surface,text:Re[e].text,input:Re[e].input},margin:N,padding:G,radius:q,elevation:K,elevationFilter:U,boxShadow:Y,easing:X,typography:We[o]},palette:{mode:e,primary:{main:Ce[500]}},spacing:_,shape:{borderRadius:_,hotspot:{default:12,active:24}},breakpoints:{values:$},typography:{fontFamily:`"${Ee.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:Ze(o),styleOverrides:{root:{color:Re[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${je[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: '${Ae.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ae.default.weight};\n src: url(${$n}${Ae.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ae.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ae.bold.weight};\n src: url(${$n}${Ae.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ee.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ee.default.weight};\n src: url(${$n}${Ee.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Ee.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Ee.bold.weight};\n src: url(${$n}${Ee.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${$.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${$.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:Ee.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*_}px ${e.padding.md*_}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"}})}}}}))(s,l,d)),[s,d,l]),f=t.useMediaQuery(g.breakpoints.only("sm"),{noSsr:!0}),b=t.useMediaQuery(g.breakpoints.only("md"),{noSsr:!0}),v=t.useMediaQuery(g.breakpoints.between("lg","xl"),{noSsr:!0}),C=t.useMediaQuery(g.breakpoints.up("xl"),{noSsr:!0});return e.useEffect((()=>{e.startTransition((()=>{f&&x("sm"),b&&x("md"),v&&x("lg"),C&&x("xl")}))}),[f,b,v,C]),{breakpoint:h,gridOverlayVisible:p,mode:s,theme:g,toggleGridOverlay:()=>{e.startTransition((()=>{m((e=>!e))}))},toggleMode:t=>{e.startTransition((()=>{if(t)return a(t);a((e=>"light"===e?"dark":"light"))}))}}},Pn=Qo({key:"muirtl",stylisPlugins:[a.prefixer,k]}),Vn=Qo({key:"mui"});exports.AnnualController=({body:e,currency:o,changeCurrencyEvent:r=()=>{},frequency:n,heading:i,setCurrency:s=()=>{},setFrequency:a=()=>{},togglePayAnnuallyEvent:l=()=>{}})=>{const c=t.useTheme(),d=It(),u=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return E.jsxs(t.Box,{sx:{alignItems:"center",backgroundColor:c.custom.palette.surface.default,borderRadius:c.custom.radius.round,boxShadow:c.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:4},py:{sm:1,lg:2}},children:[E.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:1},children:[E.jsx(Gr,{defaultChecked:!0,onChange:()=>(l(),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"}}),E.jsxs(t.Stack,{sx:{alignItems:"flex-start",display:"flex"},children:[E.jsx(ze,{variation:"sm"===d||"md"===d?"md":"xxl",component:"p",children:i}),E.jsx(ze,{variation:"sm",component:"p",sx:{color:c.custom.palette.text.secondary},children:e})]})]}),E.jsx(vr,{name:"currency",onChange:e=>{return t=e.target.value,r(t),void s(t);var t},selections:u,value:u.find((e=>e.value===o))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:D,lg:W}}})]})},exports.AuthContainerSurface=({children:e,headContent:o,sx:n,...i})=>{const s=t.useTheme();return E.jsxs(Io,{...i,sx:r.mergeSx(n,{mx:[s.spacing(s.custom.margin.md),0],width:1,maxWidth:[512]}),children:[o&&E.jsx(t.Box,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:s.spacing(s.custom.margin.md),px:s.spacing(s.custom.margin.md)},children:o}),E.jsx(t.Box,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:o?[s.spacing(s.custom.margin.md)]:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],px:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],pb:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)]},children:e})]})},exports.AuthFormHeader=({logo:e,headerText:o,subText:r})=>{const n=t.useTheme();return E.jsxs(t.Stack,{gap:n.spacing(n.custom.margin.md),alignItems:"center",mb:n.spacing(n.custom.margin.lg),children:[!1===e?null:e||E.jsx(J,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),E.jsxs(t.Stack,{gap:n.spacing(n.custom.margin.md),children:[o&&E.jsx(ze,{variation:"sm",component:"h1",align:"center",weight:"bold",children:o}),function(){if(r)return"string"==typeof r?E.jsx(ze,{variation:"md",component:"p",align:"center",children:r}):r}()]})]})},exports.Avatar=He,exports.AvatarGroup=({variation:e="primary",...o})=>{if("primary"===e)return E.jsx(t.AvatarGroup,{...o})},exports.Button=it,exports.CheckBoxGroup=pt,exports.Checkbox=ct,exports.ColorBackgroundContainer=({sx:e,children:o,texture:n="noise1",gradient:i="tone1",...s})=>{const a=t.useTheme();return E.jsx(t.Container,{maxWidth:!1,disableGutters:!0,sx:r.mergeSx({background:xt(a,{texture:n,gradient:i}),height:"100%",p:[0,0,0]},!!e&&{...e}),...s,children:o})},exports.CustomField=gt,exports.DEFAULT_MAX_INPUT_LENGTH=jn,exports.Differential=Lt,exports.DropdownMenu=({open:e,anchorEl:o,handleClick:r,handleClose:n,items:i,...s})=>E.jsx(E.Fragment,{children:E.jsx(Bt,{anchorEl:o,open:e,onClose:n,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...s,children:i?.map(((e,o)=>E.jsxs(t.MenuItem,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&E.jsx(t.Box,{mr:1,children:e.icon}),e.label]},o)))})}),exports.FormControlLabel=st,exports.FormGenerator=Cn,exports.GridOverlay=({breakpoint:e})=>{const o=t.useTheme(),r=Array.from({length:6},((e,t)=>t));return e||(e=It()),E.jsxs(t.Stack,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[E.jsx(t.Container,{sx:{background:o.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:E.jsx(t.Box,{sx:{background:o.custom.palette.purple[300],display:"flex",flex:1},children:E.jsxs(t.Grid,{container:!0,spacing:2,children:[r.map((e=>E.jsx(t.Grid,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:E.jsx(t.Box,{sx:{background:o.custom.palette.green[300],height:"100%"}})},`grid-1-${e}`))),r.map((e=>E.jsx(t.Grid,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:E.jsx(t.Box,{sx:{background:o.custom.palette.green[300],height:"100%"}})},`grid-2-${e}`)))]})})}),!!e&&E.jsx(t.Box,{sx:{backgroundColor:o.custom.palette.surface.default,borderRadius:o.spacing(o.custom.radius.md),bottom:16,filter:o.custom.elevationFilter.raised,display:"block",left:16,position:"fixed",px:2,py:1},children:E.jsx(ze,{variation:"sm",component:"p",weight:"bold",children:e})})]})},exports.Html=Ft,exports.Icon=J,exports.IconButton=({icon:e,loading:t,tooltipMessage:o,sizing:r,slotProps:n,...i})=>{const s=()=>E.jsx(Dt,{...i,sizing:r,children:t?E.jsx(ot,{sizing:r}):e});return o?E.jsx(Rt,{message:o,...n?.tooltip,children:s()}):s()},exports.IconButtonGroup=({ButtonGroupProps:e,children:t,...o})=>E.jsx(_t,{...o,...e,children:t}),exports.InputFieldBase=dt,exports.InputLabel=Nt,exports.InputLabelHelp=vt,exports.Likert=Jt,exports.Link=to,exports.Loader=()=>E.jsx(t.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:E.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),exports.Logo=e=>E.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:E.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"})}),exports.Markdown=e=>{const{children:t}=e,o=t&&t.replaceAll(/\s/g,"&nbsp;").replaceAll(/<p><\/p>/g,"<br />");return E.jsx(i,{options:{overrides:{p:{component:ze,props:oo},strong:{component:ze,props:{...oo,weight:"bold"}},em:{component:ze,props:{...oo,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:ro,forceBlock:!0,forceWrapper:!0},children:o})},exports.MenuButton=co,exports.Navigation=({isMobile:e,nudgeProps:o,primaryMenuItemProps:r,secondaryMenuItemProps:n,sizing:i="lg",tertiaryMenuItemProps:s,toggleSizing:a,userMenuProps:l})=>{const c=t.useTheme();return E.jsxs(Tn,{navigationSizing:i,children:[E.jsx(Rn,{navigationSizing:i,onClick:a,isMobile:e}),E.jsx(An,{children:E.jsxs(t.Stack,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[r?.length>0&&E.jsx(t.Stack,{sx:{gap:"lg"===i?.5:2,width:"100%"},children:r.map(((e,t)=>E.jsx(co,{navigationSizing:i,...e},`primary-menu-item-${t}`)))}),E.jsxs(t.Stack,{sx:{gap:2},children:[E.jsx(Ao,{navigationSizing:i,...o}),n?.map(((e,t)=>E.jsx(co,{navigationSizing:i,...e,label:"Help center"===e.label&&"sm"===i?"Help":e.label},`secondary-menu-item-${t}`))),E.jsx(t.Divider,{sx:{color:c.custom.palette.stroke.default}}),E.jsx(ln,{navigationSizing:i,...l}),s?.length>0&&E.jsx(En,{children:s.map(((e,t)=>E.jsx(co,{navigationSizing:i,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},exports.Nudge=Ao,exports.NumberField=$o,exports.Pill=({body:e,maxWidth:t,...o})=>E.jsx(Ho,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...o}),exports.PlanFeatureTable=({currencySymbol:e,data:o,starterPrice:r,starterRespondentPrice:n,teamPrice:i,teamRespondentPrice:s,plusPrice:a,plusRespondentPrice:l,scalePrice:c,scaleRespondentPrice:d,variation:u="default"})=>{const p=t.useTheme();o||(o=kn);const m=Object.values(o.headings).map((({heading:t,pricing:o})=>({heading:t,pricing:o.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",r).replace("{{teamPrice}}",i).replace("{{plusPrice}}",a).replace("{{scalePrice}}",c)}))),h=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",n||"").replace("{{teamRespondentPrice}}",s||"").replace("{{plusRespondentPrice}}",l||"").replace("{{scaleRespondentPrice}}",d||""),x=[...Object.values(o.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:h(e.starter),team:h(e.team),plus:h(e.plus),scale:h(e.scale)})))];return E.jsxs(t.Stack,{sx:{backgroundColor:p.custom.palette.surface.default,borderRadius:p.spacing(p.custom.radius.xl),boxShadow:p.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[E.jsxs(t.Box,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[E.jsx(t.Box,{sx:{width:160}}),m.map((({heading:e,pricing:o})=>E.jsxs(t.Stack,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[E.jsx(ze,{variation:"platform"===u?"lg":"xxl",component:"p",weight:"bold",children:e}),E.jsx(ze,{variation:"platform"===u?"sm":"md",component:"p",sx:{color:p.custom.palette.text.secondary},children:o})]},e)))]}),x.map((e=>E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:p.custom.palette.surface.sunken}},children:[E.jsx(t.Box,{sx:{display:"flex",alignItems:"center",width:160},children:E.jsxs(t.Box,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&E.jsx(Rt,{message:e.name.description,children:E.jsx(t.Box,{sx:{alignItems:"center",color:p.custom.palette.icon.secondary,display:"flex"},children:E.jsx(J,{name:"info",size:24})})}),E.jsx(ze,{variation:"platform"===u?"md":"lg",component:"p",children:e.name.heading})]})}),E.jsx(Sn,{text:e.starter}),E.jsx(Sn,{text:e.team}),E.jsx(Sn,{text:e.plus}),E.jsx(Sn,{text:e.scale})]},e.key)))]})},exports.PlanTierCard=({amount:o,billingType:r,body:n,ctaEvent:i=()=>{},ctaLink:s="#",ctaTarget:a="_self",ctaText:l,ctaVariation:c="primary",currencySymbol:d,currentPlan:u,features:p=[],freeTrialLength:m,freeTrialText:h,frequency:x,heading:g,label:f,largestHeaderHeight:b=0,perMonth:v,setLargestHeaderHeight:C=()=>{},variation:y="default"})=>{const w=t.useTheme(),j=It(),{width:k}=Mn(),S=e.useRef(null),[M,L]=e.useState("sm");return e.useEffect((()=>{e.startTransition((()=>{L(j),j!==M&&C(0),S.current&&S.current.offsetHeight>b&&C(S.current.offsetHeight)}))}),[j,M,k]),E.jsxs(t.Stack,{sx:{display:"flex",flex:1,position:"relative"},children:[E.jsx(t.Stack,{sx:{alignItems:"center",backgroundColor:w.custom.palette.icon.primary,borderTopLeftRadius:w.spacing(w.custom.radius.lg),borderTopRightRadius:w.spacing(w.custom.radius.lg),boxShadow:w.custom.elevation.overlay,color:w.custom.palette.text.primaryInverted,justifyContent:"center",p:{sm:1,lg:2},textTransform:"uppercase",opacity:f?1:0,display:{sm:f?"flex":"none",md:"flex"}},children:E.jsx(ze,{variation:"md",component:"p",weight:"bold",sx:{color:w.custom.palette.white},children:f||"&nbsp;"})}),E.jsxs(t.Stack,{sx:{backgroundColor:w.custom.palette.surface.default,borderBottomLeftRadius:w.spacing(w.custom.radius.lg),borderBottomRightRadius:w.spacing(w.custom.radius.lg),borderTopLeftRadius:f?0:w.spacing(w.custom.radius.lg),borderTopRightRadius:f?0:w.spacing(w.custom.radius.lg),boxShadow:w.custom.elevation.overlay,display:"flex",flex:1},children:[E.jsxs(t.Stack,{sx:{display:"flex",gap:"sm"===j||"md"===j?1:2,textAlign:"center",minHeight:{sm:"none",md:b},px:2,py:{sm:2,lg:4}},ref:S,children:[E.jsx(ze,{variation:"sm"===j?"xxl":"platform"===y?"md":"lg",component:"h2",weight:"bold",children:g}),E.jsx(ze,{variation:"sm"===j?"md":"platform"===y?"md"===j?"sm":"md":"md"===j?"md":"lg",component:"p",sx:{color:w.custom.palette.text.secondary},children:n})]}),E.jsxs(t.Stack,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===y?184:240,xl:"platform"===y?184:226},px:2,py:{sm:2,md:2,lg:"platform"===y?2:6}},children:[E.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[E.jsx(ze,{variation:"md"===j?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:d}),E.jsx(ze,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:o}),v&&E.jsx(ze,{variation:"sm",component:"p",sx:{color:w.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:v})]}),m&&h&&E.jsxs(t.Box,{sx:{alignItems:"center",backgroundColor:w.custom.palette.yellow[300],borderRadius:w.custom.radius.round,boxShadow:w.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[E.jsx(J,{name:"gift",size:24}),E.jsxs(t.Box,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[E.jsx(ze,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:m}),E.jsx(ze,{variation:"md",component:"p",sx:{lineHeight:1},children:h})]})]}),r&&E.jsx(ze,{variation:"sm",component:"p",sx:{color:w.custom.palette.text.placeholder},children:r})]}),E.jsxs(t.Stack,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[E.jsx(t.Box,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:E.jsx(to,{href:s,title:l,target:a,onClick:()=>{g&&i(g)},sx:{"&:hover":{cursor:u?"default":"pointer"}},children:E.jsx(it,{fullWidth:!0,variation:c,sizing:"lg",disabled:u,children:l})})}),p?.length&&E.jsx(t.Stack,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===y?4:6}},children:p.map(((e,o)=>E.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[E.jsx(J,{name:"positive",size:24}),E.jsx(ze,{variation:"md",component:"p",children:e})]},`${g}-feature-${o}`)))})]})]})]})},exports.PlanTierCardScale=({body:e,ctaEvent:o=()=>{},ctaLink:r="",ctaTarget:n="_blank",ctaText:i,currencySymbol:s,heading:a,postText:l,preText:c,amount:d})=>{const u=t.useTheme();return E.jsxs(t.Box,{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:[E.jsxs(t.Stack,{sx:{flex:1,gap:2,justifyContent:"center"},children:[E.jsx(ze,{variation:"md",component:"h2",sx:{fontWeight:500},children:a}),E.jsx(ze,{variation:"md",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]}),E.jsxs(t.Stack,{sx:{flex:1,gap:{sm:4,md:2},justifyContent:"center",maxWidth:{sm:"none",md:180,lg:320},p:{sm:0,md:2,lg:4}},children:[E.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[E.jsx(ze,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pr:.5},children:c}),E.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex"},children:[E.jsx(ze,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:s}),E.jsx(ze,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:d})]}),E.jsx(ze,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pl:.1},children:l})]}),E.jsx(to,{href:r,title:i,target:n,onClick:()=>{a&&o(a)},children:E.jsx(it,{fullWidth:!0,variation:"outlined",sizing:"lg",children:i})})]})]})},exports.Popper=({bindOn:o=["toggle"],trigger:n,children:i,...s})=>{const a=go({variant:"popper"}),l={transition:!0,...s.popperProps},c={timeout:350,...s.transitionFadeProps},{sx:d,...u}={variation:"overlay",borderradius:"md",...s.surfaceProps},p=e.useMemo((()=>o.reduce(((e,t)=>({...e,...Po[t](a)})),{})),[o]);return E.jsx(t.ClickAwayListener,{onClickAway:()=>a.close(),children:E.jsxs(E.Fragment,{children:[E.jsx(t.Box,{...p,children:n}),E.jsx(t.Popper,{...yo(a),...l,children:({TransitionProps:e})=>E.jsx(t.Fade,{...e,...c,children:E.jsx(t.Box,{children:E.jsx(Io,{sx:r.mergeSx({p:2},d),...u,children:i})})})})]})})},exports.Portal=t=>{const[o,r]=e.useState(null),n=o?.contentWindow?.document?.body,i=Qo({key:"css",container:o?.contentWindow?.document?.head,prepend:!0});return E.jsx(Jo,{ref:r,children:n&&c.createPortal(E.jsx(l.CacheProvider,{value:i,children:t.children}),n)})},exports.PoweredByWatermarkLogo=()=>E.jsxs(t.Stack,{gap:.5,flexDirection:"row",children:[E.jsx(t.SvgIcon,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:E.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"})}),E.jsxs(t.SvgIcon,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[E.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:E.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"})}),E.jsx("defs",{children:E.jsx("clipPath",{id:"clip0_900_1816",children:E.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),exports.Progress=ot,exports.Radio=jt,exports.RadioGroup=er,exports.Rank=Tr,exports.RichTextField=Er,exports.Select=vr,exports.Slider=Wr,exports.SortableList=Rr,exports.StarRating=_r,exports.Surface=Io,exports.Switch=Gr,exports.TextArea=Kr,exports.TextBarDivider=({typographyProps:e,text:o,sx:n})=>{const i=t.useTheme();return E.jsx(t.Box,{sx:r.mergeSx(n,{width:"100%",position:"relative",display:"flex",gap:4,my:i.spacing(i.custom.margin.md),"&:before":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:E.jsx(ze,{align:"center",variation:"sm",component:"p",...e,children:o})})},exports.TextField=ut,exports.ThemeProvider=({mode:e="light",screenSize:o="lg",direction:r="ltr",children:n})=>{const i=Hn(e,o,r);return E.jsx(zn.Provider,{value:i,children:E.jsx(l.CacheProvider,{value:"rtl"===r?Pn:Vn,children:E.jsxs(j.ThemeProvider,{theme:i.theme,children:[E.jsx(t.CssBaseline,{}),E.jsx(On,{}),n]})})})},exports.TickGroup=({heading:e,ticks:o})=>(t.useTheme(),E.jsxs(t.Stack,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[E.jsx(ze,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),E.jsx(t.Box,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:o.map(((o,r)=>E.jsxs(t.Box,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[E.jsx(J,{name:"positive",size:32}),E.jsx(ze,{variation:"xxl",component:"p",children:o})]},`tick-group-${e}-${r}`)))})]})),exports.Toast=({buttons:e,message:o,status:r="neutral",variation:n="sm"})=>{const i=t.useTheme();return E.jsx(t.Stack,{sx:{backgroundColor:i.custom.palette.surface.overlay,borderRadius:i.spacing(i.custom.radius.lg),boxShadow:i.custom.elevation.overlay,color:i.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:E.jsxs(t.Box,{sx:{display:"flex",flex:1,flexDirection:"sm"===n?"row":"column",gap:2},children:[E.jsxs(t.Box,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==r&&E.jsx(Ur,{status:r}),E.jsx(t.Box,{sx:{display:"flex"},children:E.jsx(ze,{variation:"md",component:"p",sx:{px:1,pt:.5},children:o})})]}),e&&E.jsx(t.Box,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},exports.Tooltip=Rt,exports.Typography=ze,exports.UserMenu=ln,exports.backgroundCreator=xt,exports.chooseArticle=yn,exports.defaultInputValidation=wn,exports.emailValidation={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},exports.passwordValidation=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"}}),exports.useDropdownMenu=()=>{const[t,o]=e.useState(null);return{open:Boolean(t),handleClick:e=>{o(e.currentTarget)},handleClose:()=>{o(null)},anchorEl:t}};