@useloops/design-system 1.4.172 → 1.4.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +4 -4
- package/dist/index.d.ts +211 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("@mui/material"),n=require("merge-sx"),o=require("react-lazy-load-image-component"),r=require("dayjs"),i=require("@mui/icons-material"),s=require("@mui/material/useMediaQuery"),a=require("@mui/lab"),l=require("@mui/material/styles"),c=require("@mui/material/utils"),u=require("react-hook-form"),d=require("react-phone-number-input"),p=require("react-number-format"),h=require("@dnd-kit/core"),m=require("@dnd-kit/sortable"),f=require("@dnd-kit/utilities"),g=require("react-dom"),x=require("@tiptap/extension-placeholder"),v=require("@tiptap/starter-kit"),y=require("mui-tiptap"),b=require("tiptap-markdown"),w=require("@zxcvbn-ts/core"),j=require("@zxcvbn-ts/language-common"),C=require("@zxcvbn-ts/language-en"),S=require("@hookform/error-message"),k=require("markdown-to-jsx"),M=require("stylis"),T=require("@emotion/react"),P=require("stylis-plugin-rtl");function
|
|
1
|
+
"use strict";var e=require("react"),t=require("@mui/material"),n=require("merge-sx"),o=require("react-lazy-load-image-component"),r=require("dayjs"),i=require("@mui/icons-material"),s=require("@mui/material/useMediaQuery"),a=require("@mui/lab"),l=require("@mui/material/styles"),c=require("@mui/material/utils"),u=require("react-hook-form"),d=require("react-phone-number-input"),p=require("react-number-format"),h=require("@dnd-kit/core"),m=require("@dnd-kit/sortable"),f=require("@dnd-kit/utilities"),g=require("react-dom"),x=require("@tiptap/extension-placeholder"),v=require("@tiptap/starter-kit"),y=require("mui-tiptap"),b=require("tiptap-markdown"),w=require("@zxcvbn-ts/core"),j=require("@zxcvbn-ts/language-common"),C=require("@zxcvbn-ts/language-en"),S=require("@hookform/error-message"),k=require("markdown-to-jsx"),M=require("stylis"),T=require("@emotion/react"),P=require("stylis-plugin-rtl");function B(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var A=B(e),z=B(j),E=B(C);const I={0:"#FFFFFF",50:"#F8F8F9",100:"#E8E7EB",200:"#D1CFD6",300:"#BAB7C2",400:"#A39FAD",500:"#8C8799",600:"#756F85",700:"#5E5770",800:"#473F5C",900:"#302747",950:"#251B3D",1e3:"#190F33",1100:"#0D081A"},R={0:"#130B26",50:"#1C142F",100:"#2A223C",200:"#413A51",300:"#585267",400:"#6F697D",500:"#868092",600:"#9D98A8",700:"#B4AFBE",800:"#CBC7D4",900:"#E2DEE9",1e3:"#F9F6FF",950:"#EDEAF4",1100:"#FFFFFF"},V={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},F={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},L={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},D={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},O={0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"},$={0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"},H={0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"},W={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},N={light:{0:I[0],50:I[50],100:I[100],200:I[200],300:I[300],400:I[400],500:I[500],600:I[600],700:I[700],800:I[800],900:I[900],950:I[950],1e3:I[1e3],1100:I[1100]},dark:{0:R[0],50:R[50],100:R[100],200:R[200],300:R[300],400:R[400],500:R[500],600:R[600],700:R[700],800:R[800],900:R[900],950:R[950],1e3:R[1e3],1100:R[1100]}},_=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]}}),U=_(L),G=_(D),q=_(O),K=_($),Z=_(H),Y=_(W),X={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},J={0:0,25:2,50:4,100:8,150:12,200:16,300:24,350:28,400:32,500:40,600:48,800:64,1e3:80,2e3:160},Q=J[100],ee={none:J[0],xs:J[50]/Q,sm:J[100]/Q,md:J[200]/Q,lg:J[400]/Q,xl:J[600]/Q,xxl:J[1e3]/Q,xxxl:J[2e3]/Q},te={none:J[0],xs:J[50]/Q,sm:J[100]/Q,md:J[200]/Q,lg:J[400]/Q,xl:J[600]/Q},ne={none:J[0],xs:J[25]/Q,sm:J[50]/Q,md:J[100]/Q,lg:J[200]/Q,xl:J[300]/Q,round:999},oe={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)"},re={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))"},ie={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},se={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},ae={light:{surface:{sunken:I[50],default:I[0],raised:I[0],overlay:I[0],scrim:V[3],transparent:V[.01]},interaction:{none:V[0],hover:V[1],press:V[2],hoverOnDark:V[3],pressOnDark:V[4],disabled:V[2]},stroke:{default:I[200],focus:L[500],disabled:I[100]},text:{primary:I[1e3],secondary:I[600],placeholder:I[400],disabled:I[300],link:L[800],linkHover:L[900],primaryInverted:I[0],secondaryInverted:I[400],placeholderInverted:I[600],disabledInverted:I[700],positive:W[800],negative:D[700],lockedWhite:I[0]},icon:{primary:I[1e3],secondary:I[600],disabled:I[300],primaryInverted:I[0],secondaryInverted:I[400],disabledInverted:I[700],positive:W[800],negative:D[700],lockedWhite:I[0],link:L[800],linkHover:L[900]},input:{default:I[0],disabled:"#FFFFFF80"}},dark:{surface:{default:R[50],sunken:R[0],raised:R[100],overlay:R[200],scrim:F[3],transparent:F[.01]},interaction:{none:F[0],hover:F[1],press:F[2],hoverOnDark:F[3],pressOnDark:F[4],disabled:F[2]},stroke:{default:R[200],focus:L[500],disabled:R[100]},text:{primary:R[1e3],secondary:R[700],placeholder:R[400],disabled:R[300],link:L[100],linkHover:L[0],primaryInverted:R[0],secondaryInverted:R[400],placeholderInverted:R[600],disabledInverted:R[700],positive:W[300],negative:D[300],lockedWhite:I[0]},icon:{primary:R[1e3],secondary:R[700],disabled:R[300],primaryInverted:R[0],secondaryInverted:R[400],disabledInverted:R[700],positive:W[300],negative:D[300],lockedWhite:I[0],link:L[100],linkHover:L[0]},input:{default:R[100],disabled:"#2A223C80"}}};var le;exports.FontWeight=void 0,(le=exports.FontWeight||(exports.FontWeight={}))[le.DEFAULT=400]="DEFAULT",le[le.BOLD=500]="BOLD";const ce={Domaine:{name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:exports.FontWeight.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:exports.FontWeight.BOLD}},FoundersGrotesk:{name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:exports.FontWeight.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:exports.FontWeight.BOLD}},FontStack:{Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'}};function ue(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var de,pe={exports:{}},he={};var me,fe={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.development.js
|
|
@@ -7,7 +7,7 @@
|
|
|
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?pe.exports=function(){if(de)return he;de=1;var t=e,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=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,o){var a,l={},c=null,u=null;for(a in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)r.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:n,type:e,key:c,ref:u,props:l,_owner:i.current}}return he.Fragment=o,he.jsx=a,he.jsxs=a,he}():pe.exports=(me||(me=1,"production"!==process.env.NODE_ENV&&function(){var t,n=e,o=Symbol.for("react.element"),r=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"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),g=Symbol.iterator,x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];!function(e,t,n){var o=x.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var r=n.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,n)}function y(e){return e.displayName||"Context"}function b(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case r:return"Portal";case a:return"Profiler";case s:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return y(e)+".Consumer";case l:return y(e._context)+".Provider";case u:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:b(e.type)||"Memo";case m:var n=e,o=n._payload,f=n._init;try{return b(f(o))}catch(e){return null}}return null}t=Symbol.for("react.module.reference");var w,j,C,S,k,M,T,P=Object.assign,A=0;function B(){}B.__reactDisabledLog=!0;var E,z=x.ReactCurrentDispatcher;function I(e,t,n){if(void 0===E)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);E=o&&o[1]||""}return"\n"+E+e}var R,V=!1,F="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||V)return"";var n,o=R.get(e);if(void 0!==o)return o;V=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=z.current,z.current=null,function(){if(0===A){w=console.log,j=console.info,C=console.warn,S=console.error,k=console.group,M=console.groupCollapsed,T=console.groupEnd;var e={configurable:!0,enumerable:!0,value:B,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}();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){n=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){n=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=n.stack.split("\n"),c=a.length-1,u=l.length-1;c>=1&&u>=0&&a[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(a[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||a[c]!==l[u]){var d="\n"+a[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&R.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{V=!1,z.current=r,function(){if(0==--A){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:w}),info:P({},e,{value:j}),warn:P({},e,{value:C}),error:P({},e,{value:S}),group:P({},e,{value:k}),groupCollapsed:P({},e,{value:M}),groupEnd:P({},e,{value:T})})}A<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?I(p):"";return"function"==typeof e&&R.set(e,h),h}function D(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(o=e.prototype)||!o.isReactComponent));var o;if("string"==typeof e)return I(e);switch(e){case d:return I("Suspense");case p:return I("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return L(e.render,!1);case h:return D(e.type,t,n);case m:var r=e,i=r._payload,s=r._init;try{return D(s(i),t,n)}catch(e){}}return""}R=new F;var O=Object.prototype.hasOwnProperty,$={},H=x.ReactDebugCurrentFrame;function W(e){if(e){var t=e._owner,n=D(e.type,e._source,t?t.type:null);H.setExtraStackFrame(n)}else H.setExtraStackFrame(null)}var N=Array.isArray;function _(e){return N(e)}function U(e){return""+e}function G(e){if(function(e){try{return U(e),!1}catch(e){return!0}}(e))return v("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)),U(e)}var K,q,Z=x.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,n,r,i){var s,a={},l=null,c=null;for(s in void 0!==n&&(G(n),l=""+n),function(e){if(O.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(G(t.key),l=""+t.key),function(e){if(O.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&&Z.current}(t)),t)O.call(t,s)&&!Y.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)void 0===a[s]&&(a[s]=u[s])}if(l||c){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){K||(K=!0,v("%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))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(a,d),c&&function(e,t){var n=function(){q||(q=!0,v("%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))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(a,d)}return function(e,t,n,r,i,s,a){var l={$$typeof:o,type:e,key:t,ref:n,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:r}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,i,r,Z.current,a)}var J,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=D(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(n)}else ee.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function oe(){if(Q.current){var e=b(Q.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var re={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=oe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!re[n]){re[n]=!0;var o="";e&&e._owner&&e._owner!==Q.current&&(o=" It was passed a child from "+b(e._owner.type)+"."),te(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),te(null)}}}function se(e,t){if("object"==typeof e)if(_(e))for(var n=0;n<e.length;n++){var o=e[n];ne(o)&&ie(o,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=g&&e[g]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,s=r.call(e);!(i=s.next()).done;)ne(i.value)&&ie(i.value,t)}}function ae(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==h)return;t=n.propTypes}if(t){var o=b(n);!function(e,t,n,o,r){var i=Function.call.bind(O);for(var s in e)if(i(e,s)){var a=void 0;try{if("function"!=typeof e[s]){var l=Error((o||"React class")+": "+n+" 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,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}!a||a instanceof Error||(W(r),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,s,typeof a),W(null)),a instanceof Error&&!(a.message in $)&&($[a.message]=!0,W(r),v("Failed %s type: %s",n,a.message),W(null))}}(t,e.props,"prop",o,e)}else void 0===n.PropTypes||J||(J=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(e,n,r,g,x,y){var w=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===s||e===d||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===t||void 0!==e.getModuleId)}(e);if(!w){var j,C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),C+=oe(),null===e?j="null":_(e)?j="array":void 0!==e&&e.$$typeof===o?(j="<"+(b(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):j=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,C)}var S=X(e,n,r,x,y);if(null==S)return S;if(w){var k=n.children;if(void 0!==k)if(g)if(_(k)){for(var M=0;M<k.length;M++)se(k[M],e);Object.freeze&&Object.freeze(k)}else v("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 se(k,e)}if(O.call(n,"key")){var T=b(e),P=Object.keys(n).filter((function(e){return"key"!==e})),A=P.length>0?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}";le[T+A]||(v('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} />',A,T,P.length>0?"{"+P.join(": ..., ")+": ...}":"{}",T),le[T+A]=!0)}return e===i?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var o=t[n];if("children"!==o&&"key"!==o){te(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),te(null);break}}null!==e.ref&&(te(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(S):ae(S),S}var ue=function(e,t,n){return ce(e,t,n,!1)},de=function(e,t,n){return ce(e,t,n,!0)};fe.Fragment=i,fe.jsx=ue,fe.jsxs=de}()),fe);var ge=pe.exports;const xe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),ve=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M8.75 3c.207 0 .375.168.375.375a3 3 0 003 3 .375.375 0 010 .75 3 3 0 00-3 3 .375.375 0 01-.75 0 3 3 0 00-3-3 .375.375 0 110-.75 3 3 0 003-3c0-.207.168-.375.375-.375zM15.875 7.875a.375.375 0 00-.75 0c0 2.9-2.35 5.25-5.25 5.25a.375.375 0 000 .75c2.9 0 5.25 2.35 5.25 5.25a.375.375 0 00.75 0c0-2.9 2.35-5.25 5.25-5.25a.375.375 0 000-.75 5.25 5.25 0 01-5.25-5.25zM6.125 13.875a.375.375 0 00-.75 0 3 3 0 01-3 3 .375.375 0 000 .75 3 3 0 013 3 .375.375 0 00.75 0 3 3 0 013-3 .375.375 0 000-.75 3 3 0 01-3-3z",fill:"currentColor"})}),ye=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 00-1.41 0l-6.59 6.59a.996.996 0 000 1.41l6.59 6.59a.996.996 0 101.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1z",fill:"currentColor"})}),be=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 000-1.41l-6.58-6.6a.996.996 0 10-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),we=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M16 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 015 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H9.5v9.5a2.5 2.5 0 005 0V5c0-2.21-1.79-4-4-4s-4 1.79-4 4v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6H16z",fill:"currentColor"})}),je=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 002.121-2.121l-3.182-3.182 3.182-3.182a1.5 1.5 0 00-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#FC5A4E"})}),Ce=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#FC5A4E"}),ge.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 102.12-2.121l-3.181-3.182 3.182-3.182a1.5 1.5 0 10-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Se=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#BAB7C2"})}),ke=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),ge.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#fff"})]}),Me=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.541 8.541 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002c-.001 0-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.54 5.54 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10v.001L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 110 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#BAB7C2"})}),Te=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.54 8.54 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002s-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.551 5.551 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 010 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#fff"})]}),Pe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#48B244"})}),Ae=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#48B244"}),ge.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Be=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("rect",{width:24,height:24,rx:12,fill:"#7F4CFF"}),ge.jsx("path",{d:"M7.5 6h6v.75c-1.5 0-1.5 1.5-1.5 1.5v8.25h2.25s1.5 0 1.5-2.25h1.5L16.5 18h-9v-1.5C9 16.5 9 15 9 15V8.25s0-1.5-1.5-1.5V6z",fill:"#fff"})]}),Ee=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 80 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("g",{clipPath:"url(#prefix__clip0_2261_1952)",children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.638 19.13c-1.281-.899-1.55-1.167-1.55-3.146V0H0v.3l.012.007c1.302.803 1.894 1.168 1.894 3.14v12.537c0 1.98-.268 2.247-1.549 3.146v.3h8.28v-.3zm.384-5.709c.806 4.602 4.97 6.966 9.343 6.192 4.37-.776 7.48-4.444 6.675-9.034-.805-4.59-4.97-6.968-9.343-6.192-4.373.775-7.48 4.432-6.675 9.034zm5.399-.959c-.772-4.425-.46-6.428 1.503-6.776 1.963-.35 2.946 1.42 3.718 5.845.77 4.425.461 6.419-1.504 6.776-1.966.357-2.946-1.42-3.717-5.845zm21.04 7.151c-4.37.774-8.535-1.59-9.343-6.192-.807-4.602 2.302-8.259 6.675-9.034 4.372-.776 8.535 1.602 9.343 6.192.807 4.59-2.305 8.258-6.675 9.034zm-2.44-13.927c-1.966.348-2.276 2.35-1.505 6.776.772 4.426 1.752 6.202 3.718 5.852 1.965-.35 2.274-2.35 1.503-6.776-.77-4.426-1.751-6.202-3.717-5.852zm18.116 17.948c-1.49-.848-2.026-1.153-2.026-3.08l.004-3.595c.774 1.558 2.323 2.787 4.884 2.787 3.872 0 6.941-2.945 6.941-8.01 0-5.152-2.991-7.46-6.404-7.46-2.8 0-4.738 1.589-5.42 3.777l-.121-3.476h-6.85v.286h.001c1.28.837 1.785 1.167 1.785 3.146v12.545c0 1.977-.267 2.247-1.55 3.146v.3h8.873v-.3l-.117-.066zm1.22-5.712c-1.818 0-3.246-2.066-3.246-4.462v-2.135c0-2.666 1.28-4.675 3.246-4.675 2.054 0 3.066 1.89 3.066 5.094 0 4.23-1.041 6.178-3.066 6.178zm24.96 1.764a1.75 1.75 0 001.745-1.755 1.75 1.75 0 00-1.745-1.755 1.75 1.75 0 00-1.745 1.755c0 .97.781 1.755 1.745 1.755zm-8-10.394C67.322 8.7 66.2 8.367 66.2 7.176c0-.998.91-1.44 1.91-1.44 1.939 0 3.456 1.11 5.215 3.687h.416V4.27h-.298l-1.34.989-.175-.073c-1.103-.458-2.206-.916-3.877-.916-3.187 0-5.719 1.977-5.719 4.913 0 2.636 1.254 4.135 5.751 5.304 1.67.42 2.83.719 2.83 2.007 0 1.2-1.16 1.767-2.561 1.767-2.152 0-3.724-1.467-5.792-4.254h-.455l.314 5.693h.327l1.19-1.199c.953.48 2.443 1.229 4.438 1.229 3.813 0 6.466-2.128 6.466-5.124 0-3.087-1.843-4.224-5.483-5.302l-.04-.012z",fill:"currentColor"})}),ge.jsx("defs",{children:ge.jsx("clipPath",{id:"prefix__clip0_2261_1952",children:ge.jsx("path",{fill:"#fff",d:"M0 0h79.064v24H0z"})})})]}),ze=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm4.3 14.3a.996.996 0 01-1.41 0L12 13.41 9.11 16.3a.996.996 0 11-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 119.11 7.7L12 10.59l2.89-2.89a.996.996 0 111.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41z",fill:"currentColor"})}),Ie=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 4h16v12H5.17L4 17.17V4zm0-2c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm2 10h8v2H6v-2zm0-3h12v2H6V9zm0-3h12v2H6V6z",fill:"currentColor"})}),Re=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M8.795 15.875l-3.47-3.47a.996.996 0 10-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 10-1.41-1.41l-9.88 9.87z",fill:"currentColor"})}),Ve=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8-1.41-1.42z",fill:"currentColor"})}),Fe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.875 9l-3.88 3.88L8.115 9a.996.996 0 10-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 000-1.41c-.39-.38-1.03-.39-1.42 0z",fill:"currentColor"})}),Le=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15 6.705a.996.996 0 00-1.41 0L9 11.295a.996.996 0 000 1.41l4.59 4.59a.996.996 0 101.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41z",fill:"currentColor"})}),De=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M9 6.71a.996.996 0 000 1.41L12.88 12 9 15.88a.996.996 0 101.41 1.41L15 12.7a.996.996 0 000-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01z",fill:"currentColor"})}),Oe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.295 9l-4.59 4.59A.996.996 0 108.115 15l3.89-3.88 3.88 3.88a.996.996 0 101.41-1.41L12.705 9a.996.996 0 00-1.41 0z",fill:"currentColor"})}),$e=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18.3 5.71a.996.996 0 00-1.41 0L12 10.59 7.11 5.7A.996.996 0 105.7 7.11L10.59 12 5.7 16.89a.996.996 0 101.41 1.41L12 13.41l4.89 4.89a.996.996 0 101.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z",fill:"currentColor"})}),He=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM17 14H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),We=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 10.5c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1zM14.79 4.5H13v-2c0-.55-.45-1-1-1s-1 .45-1 1v2H9.21a.5.5 0 00-.36.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79c.32-.31.1-.85-.35-.85zM9.21 19.5H11v2c0 .55.45 1 1 1s1-.45 1-1v-2h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0l-2.79 2.79a.5.5 0 00.36.85zM5 14.5h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Ne=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M22 6a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 6a1 1 0 00-1-1H3a1 1 0 000 2h2a1 1 0 001-1z",fill:"currentColor"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 9a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"}),ge.jsx("path",{d:"M2 12a1 1 0 011-1h10a1 1 0 110 2H3a1 1 0 01-1-1zM18 12a1 1 0 011-1h2a1 1 0 110 2h-2a1 1 0 01-1-1z",fill:"currentColor"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 15a3 3 0 100-6 3 3 0 000 6zm0-2a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}),ge.jsx("path",{d:"M22 18a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 18a1 1 0 00-1-1H3a1 1 0 100 2h2a1 1 0 001-1z",fill:"currentColor"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 21a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"})]}),_e=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M16.5 1h-12c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4h-11c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16h-11V7h11v14z",fill:"currentColor"})}),Ue=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19 5v2h-4V5h4zM9 5v6H5V5h4zm10 8v6h-4v-6h4zM9 17v2H5v-2h4zM21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z",fill:"currentColor"})}),Ge=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M16 9v10H8V9h8zm-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z",fill:"currentColor"})}),Ke=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z",fill:"currentColor"})}),qe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M6.44 14.52l2.24-.1c.1 1.62 1.08 2.54 2.42 2.82v-3.52l-1.04-.2c-1.94-.34-3.28-1.44-3.28-3.52 0-2.24 1.64-3.68 4.32-3.82V4.54h1.34v1.68c2.7.28 4.2 1.92 4.24 4.44l-2.2.08c-.06-1.38-.84-2.28-2.04-2.58v3.5l.88.16c2.44.44 3.62 1.56 3.62 3.6 0 2.36-1.92 3.68-4.5 3.8v1.8H11.1v-1.84c-2.76-.28-4.66-1.9-4.66-4.66zm6.08-.56h-.08v3.34c1.3-.1 2.12-.68 2.12-1.72 0-.96-.7-1.38-2.04-1.62zm-3.4-4.14c0 .98.74 1.34 1.9 1.56l.08.02V8.06c-1.28.1-1.98.7-1.98 1.76z",fill:"currentColor"})}),Ze=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19 9H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM5 15h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Ye=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36zm17.71-10.42a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",fill:"currentColor"})}),Xe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z",fill:"currentColor"})}),Je=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm1-3h-2v-2h2v2z",fill:"currentColor"})}),Qe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.3 14.66v-1.32h1.1c-.02-.2-.02-.42-.02-.64v-.56H5.3v-1.32h1.24C7.1 7.92 9 6.16 11.86 6.16c3.18 0 4.94 2.3 5.08 5.32l-2.3.1c-.1-1.8-1-3.28-2.78-3.28-1.54 0-2.44.92-2.82 2.52h3.36l-.2 1.32H8.88c-.02.18-.02.38-.02.56 0 .22 0 .44.02.64h3.14l-.2 1.32H9.06c.38 1.56 1.28 2.44 2.8 2.44 1.78 0 2.66-1.3 2.78-3.28l2.3.1c-.12 3.08-1.98 5.32-5.08 5.32-2.82 0-4.72-1.72-5.3-4.58H5.3z",fill:"currentColor"})}),et=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5 20h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zM5 2h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm8 7h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0L8.85 8.15a.5.5 0 00.36.85H11v6H9.21c-.45 0-.67.54-.35.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79a.5.5 0 00-.35-.85H13V9z",fill:"currentColor"})}),tt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6a9.75 9.75 0 00-9 6 9.75 9.75 0 0018 0 9.75 9.75 0 00-9-6zm-6.535-.014a11.75 11.75 0 0117.41 5.318 2 2 0 01-.012 1.425 11.75 11.75 0 01-21.738-.033 2 2 0 01.013-1.425 11.75 11.75 0 014.327-5.285zM12 10a2 2 0 100 4 2 2 0 000-4zm-4 2a4 4 0 118 0 4 4 0 01-8 0z",fill:"currentColor"})}),nt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.293 1.293a1 1 0 011.414 0l20 20a1 1 0 01-1.414 1.414l-3.978-3.978a11.75 11.75 0 01-16.19-6.033 2 2 0 01.013-1.425 11.75 11.75 0 013.804-4.915l-3.65-3.649a1 1 0 010-1.414zm5.08 6.495A9.75 9.75 0 003 12a9.75 9.75 0 0012.81 5.225l-1.778-1.78a4 4 0 01-5.478-5.477l-2.18-2.18zm3.695 3.694a2 2 0 002.45 2.45l-2.45-2.45zm6.868-4.141a9.744 9.744 0 00-6.085-1.272 1 1 0 11-.236-1.986 11.744 11.744 0 0112.26 7.22 2 2 0 01-.012 1.425c-.402.974-.933 1.89-1.579 2.722a1 1 0 01-1.58-1.226A9.745 9.745 0 0021 11.999a9.744 9.744 0 00-4.064-4.658z",fill:"currentColor"})}),ot=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),rt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 15c-.55 0-1 .45-1 1v3c0 1.1.9 2 2 2h3c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1zm1-9c0-.55.45-1 1-1h2c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.1 0-2 .9-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6zm14-3h-3c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1 .45 1 1v2c0 .55.45 1 1 1s1-.45 1-1V5c0-1.1-.9-2-2-2zm0 15c0 .55-.45 1-1 1h-2c-.55 0-1 .45-1 1s.45 1 1 1h3c1.1 0 2-.9 2-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v2zm-7-9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"})}),it=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M9.17 6l2 2H20v10H4V6h5.17zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z",fill:"currentColor"})}),st=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.338 7A3.5 3.5 0 017.49 2c1.32-.02 2.522.626 3.465 1.674.394.438.743.944 1.044 1.503a7.712 7.712 0 011.044-1.503C13.987 2.626 15.19 1.98 16.509 2a3.5 3.5 0 013.153 5H20a2 2 0 012 2v2a2 2 0 01-2 2v6a3 3 0 01-3 3H7a3 3 0 01-3-3v-6a2 2 0 01-2-2V9a2 2 0 012-2h.338zm3.18-3c.606-.01 1.291.279 1.951 1.012.452.502.856 1.177 1.173 1.988H7.495A1.5 1.5 0 017.5 4h.017zm-.026 5H11v2H4V9h3.492zm9.003 0H20v2h-7V9h3.495zm.01-2a1.5 1.5 0 00-.005-3h-.017c-.607-.01-1.292.279-1.952 1.012-.453.502-.856 1.177-1.173 1.988h3.148zM6 19v-6h5v7H7a1 1 0 01-1-1zm11 1h-4v-7h5v6a1 1 0 01-1 1z",fill:"currentColor"})}),at=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",fill:"currentColor"})}),lt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM5 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM13 5v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2zM15 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2z",fill:"currentColor"})}),ct=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-4h2v2h-2v-2zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47z",fill:"currentColor"})}),ut=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 6.19l5 4.5v7.81h-2v-6H9v6H7v-7.81l5-4.5zm0-2.69l-10 9h3v8h6v-6h2v6h6v-8h3l-10-9z",fill:"currentColor"})}),dt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M10 20.5v-6h4v6h5v-8h3l-10-9-10 9h3v8h5z",fill:"currentColor"})}),pt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M12 17c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"}),ge.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",fill:"currentColor"})]}),ht=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"})}),mt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z",fill:"currentColor"})}),ft=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1z",fill:"currentColor"})}),gt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 8.5h-1v-2c0-2.76-2.24-5-5-5s-5 2.24-5 5v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-10c0-1.1-.9-2-2-2zm-9-2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9v-2zm9 14H6v-10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z",fill:"currentColor"})}),xt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"})}),vt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M3 18h13v-2H3v2zm0-5h10v-2H3v2zm0-7v2h13V6H3zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5L21 15.59z",fill:"currentColor"})}),yt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),bt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),wt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),ge.jsx("path",{d:"M17.41 15.59L13.83 12l3.58-3.59L16 7l-5 5 5 5 1.41-1.41z",fill:"currentColor"})]}),jt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),ge.jsx("path",{d:"M11.59 15.59L15.17 12l-3.58-3.59L13 7l5 5-5 5-1.41-1.41z",fill:"currentColor"})]}),Ct=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"})}),St=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M10.01 20.76c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zM12 5.75c2.76 0 5 2.24 5 5v7H7v-7c0-2.76 2.24-5 5-5zm0-4.5c-.83 0-1.5.67-1.5 1.5v1.17C7.36 4.6 5 7.4 5 10.75v6l-2 2v1h18v-1l-2-2v-6c0-3.35-2.36-6.15-5.5-6.83V2.75c0-.83-.67-1.5-1.5-1.5zm-1 6.5h2v4h-2v-4zm0 6h2v2h-2v-2z",fill:"currentColor"})}),kt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1zM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 101.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1z",fill:"currentColor"})}),Mt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M17.5 20.5h-14v-14h9v-2h-9c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2v9zm-7.79-3.17l-1.96-2.36L5 18.5h11l-3.54-4.71-2.75 3.54zM19.5 4.5v-3h-2v3h-3c.01.01 0 2 0 2h3v2.99c.01.01 2 0 2 0V6.5h3v-2h-3z",fill:"currentColor"})}),Tt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.5 14.67V9.33c0-.79.88-1.27 1.54-.84l4.15 2.67a1 1 0 010 1.68l-4.15 2.67c-.66.43-1.54-.05-1.54-.84z",fill:"currentColor"})}),Pt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 00-2-2zm-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1zm-5.52-5.13l-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74z",fill:"currentColor"})}),At=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M10.791 10.1c0 .72.18 1.32.4 1.9h2.76v1.46h-2.16c.16.48.26 1 .26 1.6 0 .44-.04.86-.12 1.24.66.42 1.34.76 2.16.76 1.18 0 1.6-.62 1.6-2l1.8.1c.18 2.76-.98 4.08-2.96 4.08-1.42 0-2.48-.6-3.32-1.26-.58.78-1.44 1.26-2.54 1.26-1.34 0-2.34-.82-2.34-2.22 0-1.28.98-2.14 2.36-2.14.44 0 .86.1 1.24.26-.04-.66-.24-1.18-.48-1.68h-2.2V12h1.42c-.26-.56-.46-1.16-.46-1.96 0-2.34 1.7-3.88 4.24-3.88 2.84 0 4.44 1.7 4.44 4.42l-2.14.1c-.04-1.64-.82-2.54-2.14-2.54-1.26 0-1.82.82-1.82 1.96zm-2.08 7.68c.54 0 .88-.36 1.08-.98-.38-.3-.74-.5-1.1-.5-.5 0-.8.26-.8.76 0 .44.36.72.82.72z",fill:"currentColor"})}),Bt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),Et=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z",fill:"currentColor"})}),zt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M3.671 20.4l17.45-7.48a1 1 0 000-1.84L3.671 3.6a.993.993 0 00-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z",fill:"currentColor"})}),It=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.432 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 00-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65a.488.488 0 00-.49-.42h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.566.566 0 00-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 00.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.35-2.48-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74 0-.2.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.35 2.48 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12.002 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z",fill:"currentColor"})}),Rt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),ge.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),ge.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09 0-.73.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12c0 1.78.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),ge.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),Vt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 23h17.112A2.444 2.444 0 0023 20.556V3.444A2.444 2.444 0 0020.556 1H3.444A2.444 2.444 0 001 3.444v17.112A2.444 2.444 0 003.444 23z",fill:"#007EBB"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.944 19.944H16.68v-5.56c0-1.524-.58-2.377-1.786-2.377-1.313 0-1.999.887-1.999 2.377v5.56H9.75V9.352h3.146v1.427s.946-1.75 3.194-1.75c2.247 0 3.855 1.371 3.855 4.209v6.706zM5.996 7.964a1.947 1.947 0 01-1.94-1.954c0-1.08.868-1.954 1.94-1.954 1.071 0 1.94.875 1.94 1.954 0 1.08-.869 1.955-1.94 1.955zM4.37 19.945h3.28V9.352h-3.28v10.592z",fill:"#fff"})]}),Ft=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.167 22.5H3.833A2.333 2.333 0 011.5 20.167V3.833A2.333 2.333 0 013.833 1.5h16.334A2.333 2.333 0 0122.5 3.833v16.334a2.333 2.333 0 01-2.333 2.333zm-3.7-2.917h3.116v-6.402c0-2.708-1.535-4.018-3.68-4.018-2.145 0-3.048 1.671-3.048 1.671V9.472H9.85v10.111h3.004v-5.307c0-1.423.654-2.269 1.907-2.269 1.152 0 1.705.813 1.705 2.268v5.308zm-12.05-13.3c0 1.03.829 1.865 1.852 1.865A1.858 1.858 0 008.12 6.282c0-1.03-.828-1.865-1.851-1.865a1.859 1.859 0 00-1.852 1.865zm3.432 13.3H4.718V9.473h3.131v10.11z",fill:"currentColor"})}),Lt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M7.423 6.387c3.27 0 5.922 2.67 5.922 5.963s-2.651 5.963-5.922 5.963S1.5 15.643 1.5 12.35s2.652-5.963 5.923-5.963zm9.458.349c1.635 0 2.961 2.513 2.961 5.614 0 3.1-1.325 5.614-2.96 5.614-1.636 0-2.962-2.514-2.962-5.614s1.325-5.614 2.96-5.614zm4.578.585c.575 0 1.041 2.251 1.041 5.029 0 2.777-.466 5.03-1.041 5.03-.576 0-1.042-2.253-1.042-5.03s.466-5.03 1.041-5.03z",fill:"currentColor"})}),Dt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.994 4.523s-6.508 0-8.142.424A2.69 2.69 0 002.013 6.8c-.424 1.634-.424 5.016-.424 5.016s0 3.396.424 5.003a2.65 2.65 0 001.84 1.84c1.646.437 8.14.437 8.14.437s6.521 0 8.155-.425a2.588 2.588 0 001.826-1.839c.437-1.62.437-5.003.437-5.003s.013-3.395-.437-5.029a2.57 2.57 0 00-1.826-1.826c-1.634-.45-8.154-.45-8.154-.45zM9.923 8.69l5.415 3.125-5.415 3.113V8.69z",fill:"currentColor"})}),Ot=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),$t=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 17.52l4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5z",fill:"currentColor"})}),Ht=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36v-9.3l1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),Wt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M13 7.5h5v2h-5v-2zm0 7h5v2h-5v-2zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z",fill:"currentColor"})}),Nt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M21 9h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 2 7.59 8.59C7.22 8.95 7 9.45 7 10v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2zm0 4l-3 7H9V10l4.34-4.34L12.23 11H21v2zM1 10h4v12H1V10z",fill:"currentColor"})}),_t=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z",fill:"currentColor"})}),Ut=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm3.3 14.71L11 12.41V7h2v4.59l3.71 3.71-1.42 1.41z",fill:"currentColor"})}),Gt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.83 12L9 8.83 7.59 7.42 3 12l4.59 4.59L9 15.17 5.83 12zm12.34 0L15 15.17l1.41 1.41L21 12l-4.59-4.59L15 8.83 18.17 12z",fill:"currentColor"})}),Kt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z",fill:"currentColor"})}),qt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.35 10.04A7.49 7.49 0 0012 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 000 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13h-3z",fill:"currentColor"})}),Zt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 4.494l7.53 13.01H4.47L12 4.494zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2v-2z",fill:"currentColor"})}),Yt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M20 6.5h-4v-2c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19.5c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2v-11c0-1.11-.89-2-2-2zm-6 0h-4v-2h4v2z",fill:"currentColor"})}),Xt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.97 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.78 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-7c-.28 0-.5.22-.5.5v1.5h-1.5c-.28 0-.5.22-.5.5s.22.5.5.5h1.5v1.5c0 .28.22.5.5.5s.5-.22.5-.5v-1.5h1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1.5v-1.5c0-.28-.22-.5-.5-.5z",fill:"currentColor"})}),Jt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.972 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm-2-5h4c.28 0 .5.22.5.5s-.22.5-.5.5h-4c-.28 0-.5-.22-.5-.5s.22-.5.5-.5z",fill:"currentColor"})}),Qt={xs:2*Q,sm:2*Q,md:2*Q,lg:2.5*Q,xl:3*Q},en=({color:e,name:t,size:o,sx:r,...i})=>{const s=o||Qt.xl,a=o||Qt.xl,l={sx:n.mergeSx({color:e,height:s,width:a},r),...i};switch(t){case"brand-wordmark":return ge.jsx(Ee,{...l});case"brand-logomark":return ge.jsx(Be,{...l});case"menu":return ge.jsx(xt,{...l});case"menu-open":return ge.jsx(vt,{...l});case"chevron-up":return ge.jsx(Oe,{...l});case"chevron-down":return ge.jsx(Fe,{...l});case"chevron-left":return ge.jsx(Le,{...l});case"chevron-right":return ge.jsx(De,{...l});case"arrow-left":return ge.jsx(ye,{...l});case"arrow-right":return ge.jsx(be,{...l});case"search":return ge.jsx(Et,{...l});case"close":return ge.jsx($e,{...l});case"more-horizontal":return ge.jsx(yt,{...l});case"more-vertical":return ge.jsx(bt,{...l});case"home":return ge.jsx(ut,{...l});case"home-filled":return ge.jsx(dt,{...l});case"settings":return ge.jsx(It,{...l});case"controls":return ge.jsx(Ne,{...l});case"help":return ge.jsx(ct,{...l});case"filter-list":return ge.jsx(ot,{...l});case"open-in-new":return ge.jsx(kt,{...l});case"nav-toggle":return ge.jsx(Ct,{...l});case"nav-collapse":return ge.jsx(wt,{...l});case"nav-expand":return ge.jsx(jt,{...l});case"play-circle":return ge.jsx(Tt,{...l});case"play-video":return ge.jsx(Pt,{...l});case"email":return ge.jsx(Xe,{...l});case"document":return ge.jsx(Ke,{...l});case"folder":return ge.jsx(it,{...l});case"attach-file":return ge.jsx(we,{...l});case"photo-add":return ge.jsx(Mt,{...l});case"upload":return ge.jsx(Kt,{...l});case"upload-cloud":return ge.jsx(qt,{...l});case"time":return ge.jsx(_t,{...l});case"time-filled":return ge.jsx(Ut,{...l});case"zoom-in":return ge.jsx(Xt,{...l});case"zoom-out":return ge.jsx(Jt,{...l});case"add":return ge.jsx(xe,{...l});case"remove":return ge.jsx(Bt,{...l});case"test":return ge.jsx(Wt,{...l});case"dashboard":return ge.jsx(Ue,{...l});case"list-view":return ge.jsx(ft,{...l});case"grid-view":return ge.jsx(at,{...l});case"grid-view-filled":return ge.jsx(lt,{...l});case"eye":return ge.jsx(tt,{...l});case"eye-off":return ge.jsx(nt,{...l});case"notification":return ge.jsx(St,{...l});case"pound":return ge.jsx(At,{...l});case"euro":return ge.jsx(Qe,{...l});case"dollar":return ge.jsx(qe,{...l});case"send":return ge.jsx(zt,{...l});case"comment":return ge.jsx(He,{...l});case"chat":return ge.jsx(Ie,{...l});case"error":return ge.jsx(Je,{...l});case"warning":return ge.jsx(Zt,{...l});case"lightbulb":return ge.jsx(mt,{...l});case"check-circle":return ge.jsx(Ve,{...l});case"thumb-up":return ge.jsx(Nt,{...l});case"info":return ge.jsx(pt,{...l});case"info-filled":return ge.jsx(ht,{...l});case"cancel":return ge.jsx(ze,{...l});case"compress":return ge.jsx(We,{...l});case"expand":return ge.jsx(et,{...l});case"unfold":return ge.jsx(Gt,{...l});case"drag-handle":return ge.jsx(Ze,{...l});case"focus":return ge.jsx(rt,{...l});case"lock":return ge.jsx(gt,{...l});case"copy":return ge.jsx(_e,{...l});case"edit":return ge.jsx(Ye,{...l});case"delete":return ge.jsx(Ge,{...l});case"check":return ge.jsx(Re,{...l});case"star":return ge.jsx(Ot,{...l});case"star-half":return ge.jsx(Ht,{...l});case"star-filled":return ge.jsx($t,{...l});case"ai":return ge.jsx(ve,{...l});case"work":return ge.jsx(Yt,{...l});case"gift":return ge.jsx(st,{...l});case"social-medium-single-colour":return ge.jsx(Lt,{...l});case"social-linkedin-single-colour":return ge.jsx(Ft,{...l});case"social-youtube-single-colour":return ge.jsx(Dt,{...l});case"social-linkedin-full-colour":return ge.jsx(Vt,{...l});case"social-google-full-colour":return ge.jsx(Rt,{...l});case"badge-tick":return ge.jsx(Pe,{...l});case"badge-tick-in-circle":return ge.jsx(Ae,{...l});case"badge-cross":return ge.jsx(je,{...l});case"badge-cross-in-circle":return ge.jsx(Ce,{...l});case"badge-hyphen":return ge.jsx(Se,{...l});case"badge-hyphen-in-circle":return ge.jsx(ke,{...l});case"badge-question":return ge.jsx(Me,{...l});case"badge-question-in-circle":return ge.jsx(Te,{...l});default:return ge.jsx(ge.Fragment,{})}},tn=e=>({boxShadow:e.custom.elevation.raised}),nn=e=>({boxShadow:e.custom.elevation.overlay}),on=(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)}},rn=(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}},sn=t.styled(t.Paper)((({theme:e,variation:t="default",borderradius:n})=>({boxShadow:"unset",borderRadius:on(e,n),background:rn(t,e),..."overlay"===t&&{...nn(e)},..."raised"===t&&{...tn(e)}}))),an=({children:e,variation:t="overlay",sx:o,...r})=>ge.jsx(sn,{variation:t,...r,sx:n.mergeSx(o||{},{}),children:e}),ln=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.link,textDecorationColor:e.custom.palette.text.link,pointerEvents:t?"none":"auto","&:hover":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover},"&:active":{color:e.custom.palette.text.linkHover,textDecorationColor:e.custom.palette.text.linkHover},"&:visited":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.link,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.link}}}))),cn=e=>e.target&&"_blank"===e.target?ge.jsx(ln,{rel:"noopener",...e}):ge.jsx(ln,{...e}),un=e=>"bold"===e?exports.FontWeight.BOLD:exports.FontWeight.DEFAULT,dn=({component:e,weight:o="default",variation:r,clamp:i=0,type:s="default",...a})=>ge.jsx(t.Typography,{component:e,fontWeight:un(o),variant:r,...a,sx:n.mergeSx(a.sx,!!i&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:i},"button"===s&&{lineHeight:1.2})}),pn=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)}))),hn=t.styled(cn)((({theme:e})=>({[`&.${t.linkClasses.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}}))),mn=t.styled(dn)((({theme:e})=>({color:e.custom.palette.text.secondary}))),fn=t.styled(dn)((({theme:e})=>({color:e.custom.palette.text.secondary}))),gn=({links:t})=>ge.jsx(pn,{children:t?.map(((n,o)=>ge.jsxs(e.Fragment,{children:[n.href?ge.jsx(hn,{underline:"hover",href:n.href,children:ge.jsx(mn,{variation:"sm",component:"p",children:n.label})},n.label):ge.jsx(mn,{variation:"sm",component:"p",children:n.label}),ge.jsx(fn,{variation:"sm",component:"p",children:o+1<t?.length?"/":""})]},n.label)))}),xn=t.styled(t.CircularProgress)((()=>({color:"inherit",position:"absolute",padding:2}))),vn=({sizing:e,...t})=>ge.jsx(xn,{size:e?Qt[e]:40,...t}),yn=({children:e,message:n,variation:o="primary",...r})=>{const i=t.useTheme();if("primary"===o)return ge.jsx(t.Tooltip,{...r,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:i.spacing(i.custom.radius.sm),filter:`drop-shadow(${i.custom.elevation.overlay})`}}}},title:n,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:ge.jsx(t.Box,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},bn=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),wn=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}}}),jn=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"}}),Cn=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"}}),Sn=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),kn={xs:3*Q,sm:3.5*Q,md:4*Q,lg:5*Q,xl:6*Q},Mn=e=>({height:kn[e],width:kn[e]}),Tn={xs:2*Q,sm:2*Q,md:2*Q,lg:2.5*Q,xl:3*Q},Pn=e=>({height:Tn[e],width:Tn[e]}),An=t.styled(t.IconButton)((({theme:e,variation:t,shape:n="default",sizing:o})=>({boxSizing:"border-box",transition:"all 200ms ease",...n&&{...Sn(n,e)},...o&&{...Mn(o)},"&.MuiIconButton-root":{..."default"===t&&{...bn(e)},..."toggle"===t&&{...wn(e)},..."outlined"===t&&{...jn(e)},..."raised"===t&&{...Cn(e)},...n&&{...Sn(n,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...o&&{...Pn(o)},position:"relative",zIndex:1}}))),Bn=({icon:e,loading:t,tooltipMessage:n,sizing:o,slotProps:r,...i})=>{const s=()=>ge.jsx(An,{...i,sizing:o,children:t?ge.jsx(vn,{sizing:o}):e});return n?ge.jsx(yn,{message:n,...r?.tooltip,children:s()}):s()},En=t.styled(t.Box)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),zn=t.styled(t.Box)((({theme:e})=>({borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,width:"100%"}))),In=t.styled(t.Box)((({theme:e})=>({display:"flex",justifyContent:"flex-end",padding:e.spacing(1)}))),Rn=t.styled(t.Box)((({theme:e})=>({backgroundColor:e.custom.palette.surface.sunken,borderRadius:e.spacing(e.custom.radius.lg),color:"red",display:"flex",gap:e.spacing(.5),justifyContent:"flex-end",padding:e.spacing(1)}))),Vn=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),Fn=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],Ln=(e,t=16)=>{const n=1/t*e;return Math.round(1e3*n)/1e3},Dn=(e,t="xs")=>{const n=Fn.reduce(((n,o,r)=>{const i=Fn.indexOf(t)||0,s=Number((16*Math.pow(e,r-i)).toFixed(2));return n[o]=s,n}),{}),o={};for(const[e,t]of Object.entries(n))o[e]=Ln(t)+"rem";return o},On={lg:{headline:Dn(1.309,"xs"),body:Dn(1.125,"md")},sm:{headline:Dn(1.125,"xs"),body:Dn(1.1,"md")},button:Dn(1.125,"md")},$n=e=>{const t=Fn.map((t=>({props:{variant:t},style:{fontFamily:`${ce.FontStack.Serif}`,fontSize:On[e].headline[t]}}))),n=Fn.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${ce.FontStack.SansSerif}`,fontSize:On[e].body[t]}}))),o=Fn.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${ce.FontStack.SansSerif}`,fontSize:On[e].body[t]}})));return[...t,...Fn.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${ce.FontStack.SansSerif}`,fontSize:On[e].body[t]}}))),...n,...o]},Hn={xxs:On.button.xxs,xs:On.button.xs,sm:On.button.sm,md:On.button.sm,lg:On.button.md,xl:On.button.lg,xxl:On.button.xl,xxxl:On.button.xxl},Wn=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Nn=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}`}}),_n=e=>({backgroundColor:e.custom.palette.purple[0],"&:hover":{backgroundColor:e.custom.palette.purple[0]},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.purple[0]}}),Un=e=>({backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&:hover":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:active":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.pressOnDark}}}),Gn=(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}},...Wn(e)}),Kn={xs:3*Q,sm:3.5*Q,md:4*Q,lg:5*Q,xl:6*Q,xxl:7*Q,xxxl:8*Q},qn={xs:.5*Q,sm:.5*Q,md:Q,lg:Q,xl:Q,xxl:Q,xxxl:Q},Zn=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:Qt[e],width:Qt[e]}}}),Yn=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:Hn[e],paddingLeft:qn[e],paddingRight:qn[e]}}),Xn=e=>({height:Kn[e],paddingLeft:Q,paddingRight:Q}),Jn=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"}}))),Qn=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}))),eo=t.styled(t.Box)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),to=t.styled(dn)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),no=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},oo=t.styled(t.Button)((({active:e,fullWidth:n,sizing:o,theme:r})=>({...Gn(r,e),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:n?"space-between":"center",minWidth:0,padding:no(o,r),textTransform:"none",width:n?"100%":"auto","&:hover":{...Gn(r,e)["&:hover"],[`.${t.boxClasses.root}`]:{opacity:1}},"&:focus":{...Gn(r,e)["&:focus"],[`.${t.boxClasses.root}`]:{opacity:1}}}))),ro=({active:o,fullWidth:r=!0,danger:i,href:s,icon:a,label:l,navigationSizing:c,onClick:u,sizing:d="lg"})=>{const p=t.useTheme(),h=e.useRef(null);return ge.jsxs(Qn,{onClick:u,children:[ge.jsxs(oo,{active:!s&&o,sizing:d,fullWidth:r,children:[ge.jsxs(t.Box,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:h,children:[a&&ge.jsx(en,{name:a,size:24}),"lg"===c&&ge.jsx(t.Slide,{in:!0,direction:"right",container:h.current,children:ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(t.Fade,{in:!0,style:{transitionDelay:"100ms"},children:ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(dn,{component:"p",variation:"sm"===d?"xs":"md",type:"button",clamp:1,sx:n.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})})})]}),"lg"===c&&s&&ge.jsx(eo,{children:ge.jsx(en,{name:"open-in-new",size:20})})]}),"sm"===c&&ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:ge.jsx(t.Box,{children:ge.jsx(to,{active:o,component:"p",type:"button",variation:"xs",sx:n.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})]})};function io(e){if("undefined"==typeof window)return e;const t=B.useRef(null);return B.useLayoutEffect((()=>{t.current=e})),B.useCallback(((...e)=>{var n;null===(n=t.current)||void 0===n||n.call(t,...e)}),[])}const so={};const ao={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},lo=B,co="useId"in lo?()=>lo.useId():()=>{};function uo({parentPopupState:t,popupId:n=co(),variant:o,disableAutoFocus:r}){const i=e.useRef(!0);e.useEffect((()=>(i.current=!0,()=>{i.current=!1})),[]);const[s,a]=e.useState(ao),l=e.useCallback((e=>{i.current&&a(e)}),[]),c=e.useCallback((e=>l((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),u=io((e=>(s.isOpen?h(e):d(e),s))),d=io((e=>{const n=e instanceof Element?void 0:e,r=e instanceof Element?e:(null==e?void 0:e.currentTarget)instanceof Element?e.currentTarget:void 0;if("touchstart"===(null==n?void 0:n.type))return void l((e=>({...e,_deferNextOpen:!0})));const i=null==n?void 0:n.clientX,s=null==n?void 0:n.clientY,a="number"==typeof i&&"number"==typeof s?{left:i,top:s}:void 0,c=i=>{var s,l;if(e||i.setAnchorElUsed||"dialog"===o||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",so[s="missingEventOrAnchorEl"]||(so[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),t){if(!t.isOpen)return i;setTimeout((()=>t._setChildPopupState(v)))}const c={...i,isOpen:!0,anchorPosition:a,hovered:"mouseover"===(null==n?void 0:n.type)||i.hovered,focused:"focus"===(null==n?void 0:n.type)||i.focused,_openEventType:null==n?void 0:n.type};return i.setAnchorElUsed||(null!=n&&n.currentTarget?c.anchorEl=null==n?void 0:n.currentTarget:r&&(c.anchorEl=r)),c};l((e=>e._deferNextOpen?(setTimeout((()=>l(c)),0),{...e,_deferNextOpen:!1}):c(e)))})),p=e=>{const{_childPopupState:n}=e;return setTimeout((()=>{null==n||n.close(),null==t||t._setChildPopupState(null)})),{...e,isOpen:!1,hovered:!1,focused:!1}},h=io((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})))})),m=e.useCallback(((e,t)=>{e?d(t):h(t)}),[]),f=io((e=>{const{relatedTarget:t}=e;l((e=>!e.hovered||t instanceof Element&&mo(t,v)?e:e.focused?{...e,hovered:!1}:p(e)))})),g=io((e=>{if(!e)return;const{relatedTarget:t}=e;l((e=>!e.focused||t instanceof Element&&mo(t,v)?e:e.hovered?{...e,focused:!1}:p(e)))})),x=e.useCallback((e=>l((t=>({...t,_childPopupState:e})))),[]),v={...s,setAnchorEl:c,popupId:n??void 0,variant:o,open:d,close:h,toggle:u,setOpen:m,onBlur:g,onMouseLeave:f,disableAutoFocus:r??Boolean(s.hovered||s.focused),_setChildPopupState:x};return v}function po({isOpen:e,popupId:t,variant:n}){return{..."popover"===n?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===n?{"aria-describedby":e?t:void 0}:void 0}}function ho({isOpen:e,anchorEl:t,popupId:n,onMouseLeave:o}){return{id:n,anchorEl:t,open:e,onMouseLeave:o}}function mo(e,t){const{anchorEl:n,_childPopupState:o}=t;return fo(n,e)||fo(function(e,{popupId:t}){if(!t)return null;const n="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof n.getElementById?n.getElementById(t):null}(e,t),e)||null!=o&&mo(e,o)}function fo(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const go={trigger:function(e){return{...po(e),onClick:e.open,onTouchStart:e.open}},contextMenu:function(e){return{...po(e),onContextMenu:t=>{t.preventDefault(),e.open(t)}}},toggle:function(e){return{...po(e),onClick:e.toggle,onTouchStart:e.toggle}},hover:function(e){const{open:t,onMouseLeave:n}=e;return{...po(e),onTouchStart:t,onMouseOver:t,onMouseLeave:n}},focus:function(e){const{open:t,onBlur:n}=e;return{...po(e),onFocus:t,onBlur:n}},doubleClick:function({isOpen:e,open:t,popupId:n,variant:o}){return{["popover"===o?"aria-controls":"aria-describedby"]:e?n:null,"aria-haspopup":"popover"===o||void 0,onDoubleClick:t}}},xo=({bindOn:o=["toggle"],trigger:r,children:i,...s})=>{const a=uo({variant:"popper"}),l={transition:!0,...s.popperProps},c={...s.clickAwayListenerProps,onClickAway:e=>{s.clickAwayListenerProps?.onClickAway?s.clickAwayListenerProps.onClickAway(e,a):a.close()}},u={timeout:350,...s.transitionFadeProps},{sx:d,...p}={variation:"overlay",borderradius:"md",...s.surfaceProps},h=e.useMemo((()=>o.reduce(((e,t)=>({...e,...go[t](a)})),{})),[o]);return ge.jsxs(ge.Fragment,{children:[ge.jsx(t.Box,{...h,children:r(a)}),ge.jsx(t.Popper,{...ho(a),...l,children:({TransitionProps:e})=>ge.jsx(t.ClickAwayListener,{...c,children:ge.jsx(t.Fade,{...e,...u,children:ge.jsx(t.Box,{children:ge.jsx(an,{sx:n.mergeSx({p:2},d),...p,children:i})})})})})]})},vo=({children:e,description:n,title:o})=>ge.jsxs(t.Stack,{sx:{gap:2,p:1},children:[ge.jsxs(t.Stack,{sx:{gap:1},children:[ge.jsx(dn,{variation:"sm",component:"p",weight:"bold",children:o}),ge.jsx(dn,{variation:"sm",component:"p",children:n})]}),e]}),yo=t.styled(Bn)((({theme:e})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...Gn(e)}))),bo=t.styled(t.Box)((({theme:e})=>({background:e.custom.palette.red[500],borderRadius:e.custom.radius.round,height:e.spacing(1),position:"absolute",right:e.spacing(.5),top:e.spacing(.5),width:e.spacing(1)}))),wo=({notification:e,onClick:n})=>ge.jsxs(t.Box,{sx:{position:"relative"},children:[ge.jsx(yo,{icon:ge.jsx(en,{name:"notification"}),variation:"raised",onClick:n}),e&&ge.jsx(t.Fade,{in:!0,style:{transitionDelay:"200ms"},children:ge.jsx(t.Box,{children:ge.jsx(bo,{})})})]}),jo=({children:e,description:n,title:o,navigationSizing:r})=>"sm"===r?ge.jsx(xo,{popperProps:{placement:"right-end"},surfaceProps:{variation:"raised",sx:{maxWidth:200,p:1,ml:1}},bindOn:["trigger"],trigger:()=>ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:ge.jsx(t.Box,{children:ge.jsx(wo,{notification:!0})})}),children:ge.jsx(vo,{description:n,title:o,children:e})}):ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(an,{variation:"raised",borderradius:"md",sx:{maxWidth:200,minHeight:40,width:"100%",p:1},children:ge.jsx(vo,{description:n,title:o,children:e})})})}),Co=({sizing:e="lg",children:n,...o})=>{const{custom:r}=t.useTheme();switch(e){case"sm":return ge.jsx(t.Avatar,{sx:{border:`1px solid ${r.palette.stroke.default}`,height:32,width:32},...o,children:n});case"lg":return ge.jsx(t.Avatar,{sx:{border:`1px solid ${r.palette.stroke.default}`,height:48,width:48},...o,children:n})}},So=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),ko=t.styled(t.Stack)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),Mo=t.styled(t.Stack)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),To=t.styled(t.Button)((({active:e,navigationSizing:t,theme:n})=>({...Gn(n,e),textTransform:"none",borderRadius:n.spacing("lg"===t?n.custom.radius.md:n.custom.radius.round),justifyContent:"flex-start",minWidth:0,padding:n.spacing(.5),width:"100%",overflow:"hidden"}))),Po=({active:n,avatar:o,email:r,name:i,navigationSizing:s,withMenu:a})=>{const l=t.useTheme(),c=e.useRef(null);return ge.jsx(To,{active:n,navigationSizing:s,children:ge.jsxs(So,{ref:c,children:[ge.jsx(Co,{src:o,sizing:"sm"}),ge.jsx(t.Fade,{in:!0,children:ge.jsxs(So,{children:[ge.jsxs(ko,{withMenu:a,children:[ge.jsx(dn,{variation:"sm",component:"p",type:"button",noWrap:!0,children:i}),ge.jsx(dn,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:l.custom.palette.text.secondary},children:r})]}),a&&ge.jsx(Mo,{children:ge.jsx(en,{name:"chevron-right",size:24})})]})})]})})},Ao=t.styled(t.Button)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.5,1),textTransform:"none",width:"100%",...Gn(t,e)}))),Bo=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Eo=t.styled(t.Stack)((({theme:e})=>({height:24,width:24,alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),zo=({active:e,danger:o,hasChildren:r,label:i,selected:s,onClick:a})=>{const l=t.useTheme();return ge.jsx(Ao,{active:e,onClick:a,children:ge.jsxs(Bo,{sx:{flex:1},children:[ge.jsx(Bo,{children:ge.jsx(dn,{component:"p",sx:n.mergeSx(o&&{color:l.custom.palette.text.negative}),type:"button",variation:"md",children:i})}),ge.jsxs(Eo,{children:[r&&ge.jsx(en,{name:"chevron-right",size:24}),s&&ge.jsx(en,{name:"check",size:24})]})]})})},Io=({avatar:e,email:t,menuItems:n,name:o,navigationSizing:r})=>ge.jsx(xo,{popperProps:{placement:"right-end"},surfaceProps:{sx:{ml:1,p:1,width:192}},bindOn:["trigger"],trigger:i=>ge.jsx(Po,{active:i.isOpen,avatar:e,email:t,name:o,navigationSizing:r,withMenu:!!n?.length}),children:ge.jsx(ge.Fragment,{children:n?.map(Ro)})}),Ro=(e,t)=>e.children?.length?ge.jsx(xo,{popperProps:{placement:"right-end"},surfaceProps:{sx:{p:1,width:192}},bindOn:["trigger","hover"],trigger:t=>ge.jsx(zo,{label:e.label,active:t.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger,onClick:e.onClick}),children:ge.jsx(ge.Fragment,{children:e?.children?.map(Ro)})},`${e.label}-${t}`):ge.jsx(zo,{label:e.label,selected:e.selected,danger:e.danger,onClick:e.onClick},`${e.label}-${t}`),Vo=()=>ge.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[ge.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),ge.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"})]}),Fo=()=>{const e=t.useTheme();return ge.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 53 19",style:{height:19,width:53},sx:{"&.MuiSvgIcon-root path":{fill:"light"===e.palette.mode?e.custom.palette.icon.primary:e.custom.palette.icon.lockedWhite}},children:[ge.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"}),ge.jsx("path",{fillRule:"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",clipRule:"evenodd"}),ge.jsx("path",{fillRule:"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",clipRule:"evenodd"}),ge.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"})]})},Lo=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)}))),Do=({isMobile:e,logoLink:n="/",navigationSizing:o,toggleMenuOnClick:r})=>ge.jsxs(Lo,{navigationSizing:o,children:[ge.jsx(t.Box,{sx:{display:"flex",width:"100%"},children:ge.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[ge.jsx(cn,{href:n,children:ge.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:.5,pr:"lg"===o?.5:0},children:[ge.jsx(Vo,{}),"lg"===o&&ge.jsx(t.Fade,{in:!0,children:ge.jsx(t.Box,{sx:{display:"flex",alignItems:"flex-end"},children:ge.jsx(Fo,{})})})]})}),"lg"===o&&ge.jsx(t.Fade,{in:"lg"===o,children:ge.jsx(t.Box,{children:ge.jsx(Bn,{onClick:r,sizing:"lg",icon:e?ge.jsx(en,{name:"close",size:20}):ge.jsx(en,{name:"nav-toggle",size:20})})})})]})}),"sm"===o&&ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:ge.jsx(t.Box,{sx:{alignItems:"center",display:"flex",justifyContent:"flex-start",width:"100%"},children:ge.jsx(Bn,{onClick:r,sizing:"lg",icon:e?ge.jsx(en,{name:"close",size:20}):ge.jsx(en,{name:"nav-toggle",size:20})})})})]}),Oo=t.styled(t.Stack)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),$o=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),Ho=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),Wo=t.styled(t.Box)({"& .lazy-load-image-background.blur":{filter:"blur(15px)"},"& .lazy-load-image-background.blur.lazy-load-image-loaded":{filter:"blur(0)",transition:"filter .3s"},"& .lazy-load-image-background.blur > img":{opacity:"0"},"& .lazy-load-image-background.blur.lazy-load-image-loaded > img":{opacity:"1",transition:"opacity .3s"}}),No=({children:n,src:r,alt:i,width:s,height:a,...l})=>{const[c,u]=e.useState(!1);return ge.jsxs(ge.Fragment,{children:[ge.jsx(t.Fade,{in:!c,unmountOnExit:!0,children:ge.jsx(t.Box,{sx:{width:s,height:a,position:"absolute",inset:0},children:ge.jsx(t.Skeleton,{variant:"rectangular",width:s,height:"100%"})})}),ge.jsx(Wo,{children:ge.jsx(o.LazyLoadImage,{onLoad:()=>u(!0),alt:i,height:a,src:r,width:s,threshold:500,effect:"blur",wrapperProps:{style:{transitionDelay:"200ms"}},...l})})]})},_o=t.styled(t.Box)((({theme:e})=>({width:2,height:2,borderRadius:"50%",backgroundColor:e.custom.palette.icon.disabled,marginLeft:e.spacing(e.custom.margin.sm),marginRight:e.spacing(e.custom.margin.sm)}))),Uo=(e,n)=>ge.jsxs(t.Box,{display:"flex",gap:1,children:[ge.jsx(dn,{variation:"sm",component:"p",weight:"bold",children:e||0}),ge.jsx(dn,{variation:"sm",component:"p",color:"text.secondary",children:n})]}),Go=({loops:e,tests:n,drafts:o})=>ge.jsxs(t.Box,{display:"flex",alignItems:"center",children:[Uo(e,"Loops"),ge.jsx(_o,{}),Uo(n,"Tests"),ge.jsx(_o,{}),Uo(o,"Drafts")]}),Ko=t.styled(t.Box)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`0.5px solid ${e.custom.palette.stroke.focus}`,backgroundColor:e.custom.palette.purple[0],padding:`${e.spacing(e.custom.padding.xs)} ${e.spacing(e.custom.padding.sm)}`,"& p":{color:e.custom.palette.purple[1e3]}}))),qo=({sx:e,body:t})=>ge.jsx(Ko,{"data-id":"pill-container",sx:n.mergeSx(e,{position:"absolute",zIndex:1}),children:ge.jsx(dn,{variation:"xxs",component:"p",weight:"bold",children:t})}),Zo=({title:e,maxLines:t})=>ge.jsx(dn,{variation:"md",component:"p",weight:"bold",sx:{overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":`${t}`,"-webkit-box-orient":"vertical"},children:e}),Yo=({updatedDate:e,format:t=!1,noWrap:n})=>ge.jsxs(dn,{variation:"sm",component:"p",color:"text.secondary",noWrap:n,children:["Edited on ",t?r(e).format("DD MMM YYYY"):e]}),Xo=({title:e,loopCount:n,testCount:o,draftCount:r,updatedAt:i,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:u})=>{const d=t.useTheme();return ge.jsx(t.Box,{sx:{width:"100%",transition:"all 0.3s ease","&:hover":{'*[data-id="image-container"]':{boxShadow:d.custom.elevation.raised}}},children:ge.jsxs(t.CardActionArea,{onClick:u,sx:{"& .MuiCardActionArea-focusHighlight":{backgroundColor:d.palette.background.paper}},children:[c?ge.jsx(t.Skeleton,{sx:{width:"100%",height:150,transform:"none"},animation:"pulse"}):ge.jsxs(t.Box,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:d.custom.radius.md},children:[l&&ge.jsx(qo,{body:"Demo",sx:{bottom:8,left:8}}),ge.jsx(No,{src:a,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),ge.jsx(t.CardContent,{sx:{py:d.spacing(d.custom.padding.xs),px:0},children:ge.jsxs(t.Stack,{gap:d.spacing(d.custom.margin.xs),children:[c?ge.jsx(t.Skeleton,{width:"100%",height:20}):ge.jsxs(t.Stack,{direction:"row",justifyContent:"space-between",alignItems:"start",children:[ge.jsx(Zo,{title:e,maxLines:2}),ge.jsx(t.Box,{children:s})]}),c?ge.jsx(t.Skeleton,{width:"100%",height:20}):ge.jsx(Go,{loops:n,tests:o,drafts:r}),c?ge.jsx(t.Skeleton,{width:"60%",height:20}):ge.jsx(Yo,{updatedDate:i,format:!0})]})})]})})},Jo=({title:e,loopCount:n,testCount:o,draftCount:r,updatedAt:i,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:u})=>{const d=t.useTheme();return ge.jsx(t.Box,{sx:{minWidth:280,width:"auto",borderBottom:`1px solid ${d.custom.palette.stroke.default}`,transition:"all 0.3s ease"},children:ge.jsx(t.CardActionArea,{onClick:u,sx:{p:d.spacing(d.custom.padding.xs)},children:ge.jsxs(t.Box,{sx:{display:"flex",gap:d.spacing(d.custom.margin.sm),alignItems:"center"},children:[c?ge.jsx(t.Skeleton,{variant:"rounded",width:108,height:72}):ge.jsxs(t.Box,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",width:108,height:72,position:"relative",borderRadius:d.custom.radius.md},children:[l&&ge.jsx(qo,{sx:{top:4,right:4},body:"Demo"}),ge.jsx(No,{src:a,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),ge.jsx(t.CardContent,{sx:{overflow:"hidden",p:0,pl:d.spacing(d.custom.padding.sm),minWidth:67,display:"flex",flex:1,"&:last-child":{pb:0}},children:ge.jsxs(t.Stack,{gap:d.spacing(d.custom.margin.xs),width:"100%",children:[c?ge.jsx(t.Skeleton,{variant:"text",width:"50%"}):ge.jsx(Zo,{title:e,maxLines:1}),ge.jsxs(t.Stack,{direction:"row",gap:d.spacing(d.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[c?ge.jsx(t.Skeleton,{variant:"text",width:"50%"}):ge.jsx(Go,{loops:n,tests:o,drafts:r}),c?ge.jsx(t.Skeleton,{variant:"text",width:130}):ge.jsx(Yo,{updatedDate:i,format:!0,noWrap:!0})]})]})}),s&&s]})})})},Qo=t.styled(t.Box)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),er=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),tr=t.styled(dn)((({theme:e})=>({color:e.custom.palette.text.secondary}))),nr=()=>{const e=t.useTheme();return[...e.breakpoints.keys].reduce(((t,n)=>s(e.breakpoints.up(n))?n:t),null)??"sm"},or=t.styled(t.LinearProgress)((({theme:e})=>({[`&.${t.linearProgressClasses.root}`]:{backgroundColor:e.custom.palette.neutral[200],borderRadius:e.custom.radius.round,[`& .${t.linearProgressClasses.bar}`]:{backgroundColor:e.custom.palette.green[500],borderRadius:`0 ${e.custom.radius.round}px ${e.custom.radius.round}px 0`}}}))),rr=e=>{const{variation:t,...n}=e;return ge.jsx(or,{variant:t,...n})},ir=t.styled(t.Box)((({theme:e})=>({display:"flex",flexWrap:"wrap",gap:e.spacing(e.custom.padding.md),alignItems:"center",alignContent:"start",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),sr=t.styled(t.Box)((({theme:e})=>({display:"flex",flexDirection:"column",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),ar=t.styled(dn)((({theme:e})=>({flexBasis:"100%",color:e.palette.text.secondary})));function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},lr.apply(null,arguments)}var cr,ur={exports:{}},dr={exports:{}},pr={};var hr,mr,fr,gr,xr,vr,yr,br,wr,jr,Cr,Sr,kr,Mr,Tr={};
|
|
10
|
+
*/"production"===process.env.NODE_ENV?pe.exports=function(){if(de)return he;de=1;var t=e,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=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,o){var a,l={},c=null,u=null;for(a in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)r.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:n,type:e,key:c,ref:u,props:l,_owner:i.current}}return he.Fragment=o,he.jsx=a,he.jsxs=a,he}():pe.exports=(me||(me=1,"production"!==process.env.NODE_ENV&&function(){var t,n=e,o=Symbol.for("react.element"),r=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"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),g=Symbol.iterator,x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];!function(e,t,n){var o=x.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var r=n.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,n)}function y(e){return e.displayName||"Context"}function b(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case r:return"Portal";case a:return"Profiler";case s:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return y(e)+".Consumer";case l:return y(e._context)+".Provider";case u:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:b(e.type)||"Memo";case m:var n=e,o=n._payload,f=n._init;try{return b(f(o))}catch(e){return null}}return null}t=Symbol.for("react.module.reference");var w,j,C,S,k,M,T,P=Object.assign,B=0;function A(){}A.__reactDisabledLog=!0;var z,E=x.ReactCurrentDispatcher;function I(e,t,n){if(void 0===z)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);z=o&&o[1]||""}return"\n"+z+e}var R,V=!1,F="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||V)return"";var n,o=R.get(e);if(void 0!==o)return o;V=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=E.current,E.current=null,function(){if(0===B){w=console.log,j=console.info,C=console.warn,S=console.error,k=console.group,M=console.groupCollapsed,T=console.groupEnd;var e={configurable:!0,enumerable:!0,value:A,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}B++}();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){n=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){n=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=n.stack.split("\n"),c=a.length-1,u=l.length-1;c>=1&&u>=0&&a[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(a[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||a[c]!==l[u]){var d="\n"+a[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&R.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{V=!1,E.current=r,function(){if(0==--B){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:w}),info:P({},e,{value:j}),warn:P({},e,{value:C}),error:P({},e,{value:S}),group:P({},e,{value:k}),groupCollapsed:P({},e,{value:M}),groupEnd:P({},e,{value:T})})}B<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?I(p):"";return"function"==typeof e&&R.set(e,h),h}function D(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(o=e.prototype)||!o.isReactComponent));var o;if("string"==typeof e)return I(e);switch(e){case d:return I("Suspense");case p:return I("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return L(e.render,!1);case h:return D(e.type,t,n);case m:var r=e,i=r._payload,s=r._init;try{return D(s(i),t,n)}catch(e){}}return""}R=new F;var O=Object.prototype.hasOwnProperty,$={},H=x.ReactDebugCurrentFrame;function W(e){if(e){var t=e._owner,n=D(e.type,e._source,t?t.type:null);H.setExtraStackFrame(n)}else H.setExtraStackFrame(null)}var N=Array.isArray;function _(e){return N(e)}function U(e){return""+e}function G(e){if(function(e){try{return U(e),!1}catch(e){return!0}}(e))return v("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)),U(e)}var q,K,Z=x.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,n,r,i){var s,a={},l=null,c=null;for(s in void 0!==n&&(G(n),l=""+n),function(e){if(O.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(G(t.key),l=""+t.key),function(e){if(O.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&&Z.current}(t)),t)O.call(t,s)&&!Y.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)void 0===a[s]&&(a[s]=u[s])}if(l||c){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){q||(q=!0,v("%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))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(a,d),c&&function(e,t){var n=function(){K||(K=!0,v("%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))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(a,d)}return function(e,t,n,r,i,s,a){var l={$$typeof:o,type:e,key:t,ref:n,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:r}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,i,r,Z.current,a)}var J,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=D(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(n)}else ee.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function oe(){if(Q.current){var e=b(Q.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var re={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=oe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!re[n]){re[n]=!0;var o="";e&&e._owner&&e._owner!==Q.current&&(o=" It was passed a child from "+b(e._owner.type)+"."),te(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),te(null)}}}function se(e,t){if("object"==typeof e)if(_(e))for(var n=0;n<e.length;n++){var o=e[n];ne(o)&&ie(o,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=g&&e[g]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,s=r.call(e);!(i=s.next()).done;)ne(i.value)&&ie(i.value,t)}}function ae(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==h)return;t=n.propTypes}if(t){var o=b(n);!function(e,t,n,o,r){var i=Function.call.bind(O);for(var s in e)if(i(e,s)){var a=void 0;try{if("function"!=typeof e[s]){var l=Error((o||"React class")+": "+n+" 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,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}!a||a instanceof Error||(W(r),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,s,typeof a),W(null)),a instanceof Error&&!(a.message in $)&&($[a.message]=!0,W(r),v("Failed %s type: %s",n,a.message),W(null))}}(t,e.props,"prop",o,e)}else void 0===n.PropTypes||J||(J=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(e,n,r,g,x,y){var w=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===s||e===d||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===t||void 0!==e.getModuleId)}(e);if(!w){var j,C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),C+=oe(),null===e?j="null":_(e)?j="array":void 0!==e&&e.$$typeof===o?(j="<"+(b(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):j=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,C)}var S=X(e,n,r,x,y);if(null==S)return S;if(w){var k=n.children;if(void 0!==k)if(g)if(_(k)){for(var M=0;M<k.length;M++)se(k[M],e);Object.freeze&&Object.freeze(k)}else v("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 se(k,e)}if(O.call(n,"key")){var T=b(e),P=Object.keys(n).filter((function(e){return"key"!==e})),B=P.length>0?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}";le[T+B]||(v('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} />',B,T,P.length>0?"{"+P.join(": ..., ")+": ...}":"{}",T),le[T+B]=!0)}return e===i?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var o=t[n];if("children"!==o&&"key"!==o){te(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),te(null);break}}null!==e.ref&&(te(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(S):ae(S),S}var ue=function(e,t,n){return ce(e,t,n,!1)},de=function(e,t,n){return ce(e,t,n,!0)};fe.Fragment=i,fe.jsx=ue,fe.jsxs=de}()),fe);var ge=pe.exports;const xe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),ve=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M8.75 3c.207 0 .375.168.375.375a3 3 0 003 3 .375.375 0 010 .75 3 3 0 00-3 3 .375.375 0 01-.75 0 3 3 0 00-3-3 .375.375 0 110-.75 3 3 0 003-3c0-.207.168-.375.375-.375zM15.875 7.875a.375.375 0 00-.75 0c0 2.9-2.35 5.25-5.25 5.25a.375.375 0 000 .75c2.9 0 5.25 2.35 5.25 5.25a.375.375 0 00.75 0c0-2.9 2.35-5.25 5.25-5.25a.375.375 0 000-.75 5.25 5.25 0 01-5.25-5.25zM6.125 13.875a.375.375 0 00-.75 0 3 3 0 01-3 3 .375.375 0 000 .75 3 3 0 013 3 .375.375 0 00.75 0 3 3 0 013-3 .375.375 0 000-.75 3 3 0 01-3-3z",fill:"currentColor"})}),ye=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 00-1.41 0l-6.59 6.59a.996.996 0 000 1.41l6.59 6.59a.996.996 0 101.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1z",fill:"currentColor"})}),be=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 000-1.41l-6.58-6.6a.996.996 0 10-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),we=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M16 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 015 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H9.5v9.5a2.5 2.5 0 005 0V5c0-2.21-1.79-4-4-4s-4 1.79-4 4v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6H16z",fill:"currentColor"})}),je=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 002.121-2.121l-3.182-3.182 3.182-3.182a1.5 1.5 0 00-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#FC5A4E"})}),Ce=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#FC5A4E"}),ge.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 102.12-2.121l-3.181-3.182 3.182-3.182a1.5 1.5 0 10-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Se=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#BAB7C2"})}),ke=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),ge.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#fff"})]}),Me=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.541 8.541 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002c-.001 0-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.54 5.54 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10v.001L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 110 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#BAB7C2"})}),Te=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.54 8.54 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002s-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.551 5.551 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 010 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#fff"})]}),Pe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#48B244"})}),Be=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#48B244"}),ge.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Ae=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("rect",{width:24,height:24,rx:12,fill:"#7F4CFF"}),ge.jsx("path",{d:"M7.5 6h6v.75c-1.5 0-1.5 1.5-1.5 1.5v8.25h2.25s1.5 0 1.5-2.25h1.5L16.5 18h-9v-1.5C9 16.5 9 15 9 15V8.25s0-1.5-1.5-1.5V6z",fill:"#fff"})]}),ze=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 80 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("g",{clipPath:"url(#prefix__clip0_2261_1952)",children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.638 19.13c-1.281-.899-1.55-1.167-1.55-3.146V0H0v.3l.012.007c1.302.803 1.894 1.168 1.894 3.14v12.537c0 1.98-.268 2.247-1.549 3.146v.3h8.28v-.3zm.384-5.709c.806 4.602 4.97 6.966 9.343 6.192 4.37-.776 7.48-4.444 6.675-9.034-.805-4.59-4.97-6.968-9.343-6.192-4.373.775-7.48 4.432-6.675 9.034zm5.399-.959c-.772-4.425-.46-6.428 1.503-6.776 1.963-.35 2.946 1.42 3.718 5.845.77 4.425.461 6.419-1.504 6.776-1.966.357-2.946-1.42-3.717-5.845zm21.04 7.151c-4.37.774-8.535-1.59-9.343-6.192-.807-4.602 2.302-8.259 6.675-9.034 4.372-.776 8.535 1.602 9.343 6.192.807 4.59-2.305 8.258-6.675 9.034zm-2.44-13.927c-1.966.348-2.276 2.35-1.505 6.776.772 4.426 1.752 6.202 3.718 5.852 1.965-.35 2.274-2.35 1.503-6.776-.77-4.426-1.751-6.202-3.717-5.852zm18.116 17.948c-1.49-.848-2.026-1.153-2.026-3.08l.004-3.595c.774 1.558 2.323 2.787 4.884 2.787 3.872 0 6.941-2.945 6.941-8.01 0-5.152-2.991-7.46-6.404-7.46-2.8 0-4.738 1.589-5.42 3.777l-.121-3.476h-6.85v.286h.001c1.28.837 1.785 1.167 1.785 3.146v12.545c0 1.977-.267 2.247-1.55 3.146v.3h8.873v-.3l-.117-.066zm1.22-5.712c-1.818 0-3.246-2.066-3.246-4.462v-2.135c0-2.666 1.28-4.675 3.246-4.675 2.054 0 3.066 1.89 3.066 5.094 0 4.23-1.041 6.178-3.066 6.178zm24.96 1.764a1.75 1.75 0 001.745-1.755 1.75 1.75 0 00-1.745-1.755 1.75 1.75 0 00-1.745 1.755c0 .97.781 1.755 1.745 1.755zm-8-10.394C67.322 8.7 66.2 8.367 66.2 7.176c0-.998.91-1.44 1.91-1.44 1.939 0 3.456 1.11 5.215 3.687h.416V4.27h-.298l-1.34.989-.175-.073c-1.103-.458-2.206-.916-3.877-.916-3.187 0-5.719 1.977-5.719 4.913 0 2.636 1.254 4.135 5.751 5.304 1.67.42 2.83.719 2.83 2.007 0 1.2-1.16 1.767-2.561 1.767-2.152 0-3.724-1.467-5.792-4.254h-.455l.314 5.693h.327l1.19-1.199c.953.48 2.443 1.229 4.438 1.229 3.813 0 6.466-2.128 6.466-5.124 0-3.087-1.843-4.224-5.483-5.302l-.04-.012z",fill:"currentColor"})}),ge.jsx("defs",{children:ge.jsx("clipPath",{id:"prefix__clip0_2261_1952",children:ge.jsx("path",{fill:"#fff",d:"M0 0h79.064v24H0z"})})})]}),Ee=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm4.3 14.3a.996.996 0 01-1.41 0L12 13.41 9.11 16.3a.996.996 0 11-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 119.11 7.7L12 10.59l2.89-2.89a.996.996 0 111.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41z",fill:"currentColor"})}),Ie=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 4h16v12H5.17L4 17.17V4zm0-2c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm2 10h8v2H6v-2zm0-3h12v2H6V9zm0-3h12v2H6V6z",fill:"currentColor"})}),Re=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M8.795 15.875l-3.47-3.47a.996.996 0 10-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 10-1.41-1.41l-9.88 9.87z",fill:"currentColor"})}),Ve=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8-1.41-1.42z",fill:"currentColor"})}),Fe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.875 9l-3.88 3.88L8.115 9a.996.996 0 10-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 000-1.41c-.39-.38-1.03-.39-1.42 0z",fill:"currentColor"})}),Le=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15 6.705a.996.996 0 00-1.41 0L9 11.295a.996.996 0 000 1.41l4.59 4.59a.996.996 0 101.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41z",fill:"currentColor"})}),De=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M9 6.71a.996.996 0 000 1.41L12.88 12 9 15.88a.996.996 0 101.41 1.41L15 12.7a.996.996 0 000-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01z",fill:"currentColor"})}),Oe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.295 9l-4.59 4.59A.996.996 0 108.115 15l3.89-3.88 3.88 3.88a.996.996 0 101.41-1.41L12.705 9a.996.996 0 00-1.41 0z",fill:"currentColor"})}),$e=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18.3 5.71a.996.996 0 00-1.41 0L12 10.59 7.11 5.7A.996.996 0 105.7 7.11L10.59 12 5.7 16.89a.996.996 0 101.41 1.41L12 13.41l4.89 4.89a.996.996 0 101.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z",fill:"currentColor"})}),He=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM17 14H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),We=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 10.5c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1zM14.79 4.5H13v-2c0-.55-.45-1-1-1s-1 .45-1 1v2H9.21a.5.5 0 00-.36.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79c.32-.31.1-.85-.35-.85zM9.21 19.5H11v2c0 .55.45 1 1 1s1-.45 1-1v-2h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0l-2.79 2.79a.5.5 0 00.36.85zM5 14.5h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Ne=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M22 6a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 6a1 1 0 00-1-1H3a1 1 0 000 2h2a1 1 0 001-1z",fill:"currentColor"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 9a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"}),ge.jsx("path",{d:"M2 12a1 1 0 011-1h10a1 1 0 110 2H3a1 1 0 01-1-1zM18 12a1 1 0 011-1h2a1 1 0 110 2h-2a1 1 0 01-1-1z",fill:"currentColor"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 15a3 3 0 100-6 3 3 0 000 6zm0-2a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}),ge.jsx("path",{d:"M22 18a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 18a1 1 0 00-1-1H3a1 1 0 100 2h2a1 1 0 001-1z",fill:"currentColor"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 21a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"})]}),_e=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M16.5 1h-12c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4h-11c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16h-11V7h11v14z",fill:"currentColor"})}),Ue=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19 5v2h-4V5h4zM9 5v6H5V5h4zm10 8v6h-4v-6h4zM9 17v2H5v-2h4zM21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z",fill:"currentColor"})}),Ge=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M16 9v10H8V9h8zm-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z",fill:"currentColor"})}),qe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z",fill:"currentColor"})}),Ke=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M6.44 14.52l2.24-.1c.1 1.62 1.08 2.54 2.42 2.82v-3.52l-1.04-.2c-1.94-.34-3.28-1.44-3.28-3.52 0-2.24 1.64-3.68 4.32-3.82V4.54h1.34v1.68c2.7.28 4.2 1.92 4.24 4.44l-2.2.08c-.06-1.38-.84-2.28-2.04-2.58v3.5l.88.16c2.44.44 3.62 1.56 3.62 3.6 0 2.36-1.92 3.68-4.5 3.8v1.8H11.1v-1.84c-2.76-.28-4.66-1.9-4.66-4.66zm6.08-.56h-.08v3.34c1.3-.1 2.12-.68 2.12-1.72 0-.96-.7-1.38-2.04-1.62zm-3.4-4.14c0 .98.74 1.34 1.9 1.56l.08.02V8.06c-1.28.1-1.98.7-1.98 1.76z",fill:"currentColor"})}),Ze=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19 9H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM5 15h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Ye=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36zm17.71-10.42a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",fill:"currentColor"})}),Xe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z",fill:"currentColor"})}),Je=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm1-3h-2v-2h2v2z",fill:"currentColor"})}),Qe=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.3 14.66v-1.32h1.1c-.02-.2-.02-.42-.02-.64v-.56H5.3v-1.32h1.24C7.1 7.92 9 6.16 11.86 6.16c3.18 0 4.94 2.3 5.08 5.32l-2.3.1c-.1-1.8-1-3.28-2.78-3.28-1.54 0-2.44.92-2.82 2.52h3.36l-.2 1.32H8.88c-.02.18-.02.38-.02.56 0 .22 0 .44.02.64h3.14l-.2 1.32H9.06c.38 1.56 1.28 2.44 2.8 2.44 1.78 0 2.66-1.3 2.78-3.28l2.3.1c-.12 3.08-1.98 5.32-5.08 5.32-2.82 0-4.72-1.72-5.3-4.58H5.3z",fill:"currentColor"})}),et=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5 20h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zM5 2h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm8 7h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0L8.85 8.15a.5.5 0 00.36.85H11v6H9.21c-.45 0-.67.54-.35.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79a.5.5 0 00-.35-.85H13V9z",fill:"currentColor"})}),tt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6a9.75 9.75 0 00-9 6 9.75 9.75 0 0018 0 9.75 9.75 0 00-9-6zm-6.535-.014a11.75 11.75 0 0117.41 5.318 2 2 0 01-.012 1.425 11.75 11.75 0 01-21.738-.033 2 2 0 01.013-1.425 11.75 11.75 0 014.327-5.285zM12 10a2 2 0 100 4 2 2 0 000-4zm-4 2a4 4 0 118 0 4 4 0 01-8 0z",fill:"currentColor"})}),nt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.293 1.293a1 1 0 011.414 0l20 20a1 1 0 01-1.414 1.414l-3.978-3.978a11.75 11.75 0 01-16.19-6.033 2 2 0 01.013-1.425 11.75 11.75 0 013.804-4.915l-3.65-3.649a1 1 0 010-1.414zm5.08 6.495A9.75 9.75 0 003 12a9.75 9.75 0 0012.81 5.225l-1.778-1.78a4 4 0 01-5.478-5.477l-2.18-2.18zm3.695 3.694a2 2 0 002.45 2.45l-2.45-2.45zm6.868-4.141a9.744 9.744 0 00-6.085-1.272 1 1 0 11-.236-1.986 11.744 11.744 0 0112.26 7.22 2 2 0 01-.012 1.425c-.402.974-.933 1.89-1.579 2.722a1 1 0 01-1.58-1.226A9.745 9.745 0 0021 11.999a9.744 9.744 0 00-4.064-4.658z",fill:"currentColor"})}),ot=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),rt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 15c-.55 0-1 .45-1 1v3c0 1.1.9 2 2 2h3c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1zm1-9c0-.55.45-1 1-1h2c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.1 0-2 .9-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6zm14-3h-3c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1 .45 1 1v2c0 .55.45 1 1 1s1-.45 1-1V5c0-1.1-.9-2-2-2zm0 15c0 .55-.45 1-1 1h-2c-.55 0-1 .45-1 1s.45 1 1 1h3c1.1 0 2-.9 2-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v2zm-7-9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"})}),it=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M9.17 6l2 2H20v10H4V6h5.17zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z",fill:"currentColor"})}),st=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.338 7A3.5 3.5 0 017.49 2c1.32-.02 2.522.626 3.465 1.674.394.438.743.944 1.044 1.503a7.712 7.712 0 011.044-1.503C13.987 2.626 15.19 1.98 16.509 2a3.5 3.5 0 013.153 5H20a2 2 0 012 2v2a2 2 0 01-2 2v6a3 3 0 01-3 3H7a3 3 0 01-3-3v-6a2 2 0 01-2-2V9a2 2 0 012-2h.338zm3.18-3c.606-.01 1.291.279 1.951 1.012.452.502.856 1.177 1.173 1.988H7.495A1.5 1.5 0 017.5 4h.017zm-.026 5H11v2H4V9h3.492zm9.003 0H20v2h-7V9h3.495zm.01-2a1.5 1.5 0 00-.005-3h-.017c-.607-.01-1.292.279-1.952 1.012-.453.502-.856 1.177-1.173 1.988h3.148zM6 19v-6h5v7H7a1 1 0 01-1-1zm11 1h-4v-7h5v6a1 1 0 01-1 1z",fill:"currentColor"})}),at=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",fill:"currentColor"})}),lt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM5 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM13 5v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2zM15 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2z",fill:"currentColor"})}),ct=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-4h2v2h-2v-2zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47z",fill:"currentColor"})}),ut=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 6.19l5 4.5v7.81h-2v-6H9v6H7v-7.81l5-4.5zm0-2.69l-10 9h3v8h6v-6h2v6h6v-8h3l-10-9z",fill:"currentColor"})}),dt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M10 20.5v-6h4v6h5v-8h3l-10-9-10 9h3v8h5z",fill:"currentColor"})}),pt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M12 17c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"}),ge.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",fill:"currentColor"})]}),ht=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"})}),mt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z",fill:"currentColor"})}),ft=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1z",fill:"currentColor"})}),gt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 8.5h-1v-2c0-2.76-2.24-5-5-5s-5 2.24-5 5v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-10c0-1.1-.9-2-2-2zm-9-2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9v-2zm9 14H6v-10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z",fill:"currentColor"})}),xt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"})}),vt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M3 18h13v-2H3v2zm0-5h10v-2H3v2zm0-7v2h13V6H3zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5L21 15.59z",fill:"currentColor"})}),yt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),bt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),wt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),ge.jsx("path",{d:"M17.41 15.59L13.83 12l3.58-3.59L16 7l-5 5 5 5 1.41-1.41z",fill:"currentColor"})]}),jt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),ge.jsx("path",{d:"M11.59 15.59L15.17 12l-3.58-3.59L13 7l5 5-5 5-1.41-1.41z",fill:"currentColor"})]}),Ct=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"})}),St=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M10.01 20.76c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zM12 5.75c2.76 0 5 2.24 5 5v7H7v-7c0-2.76 2.24-5 5-5zm0-4.5c-.83 0-1.5.67-1.5 1.5v1.17C7.36 4.6 5 7.4 5 10.75v6l-2 2v1h18v-1l-2-2v-6c0-3.35-2.36-6.15-5.5-6.83V2.75c0-.83-.67-1.5-1.5-1.5zm-1 6.5h2v4h-2v-4zm0 6h2v2h-2v-2z",fill:"currentColor"})}),kt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1zM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 101.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1z",fill:"currentColor"})}),Mt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M17.5 20.5h-14v-14h9v-2h-9c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2v9zm-7.79-3.17l-1.96-2.36L5 18.5h11l-3.54-4.71-2.75 3.54zM19.5 4.5v-3h-2v3h-3c.01.01 0 2 0 2h3v2.99c.01.01 2 0 2 0V6.5h3v-2h-3z",fill:"currentColor"})}),Tt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.5 14.67V9.33c0-.79.88-1.27 1.54-.84l4.15 2.67a1 1 0 010 1.68l-4.15 2.67c-.66.43-1.54-.05-1.54-.84z",fill:"currentColor"})}),Pt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 00-2-2zm-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1zm-5.52-5.13l-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74z",fill:"currentColor"})}),Bt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M10.791 10.1c0 .72.18 1.32.4 1.9h2.76v1.46h-2.16c.16.48.26 1 .26 1.6 0 .44-.04.86-.12 1.24.66.42 1.34.76 2.16.76 1.18 0 1.6-.62 1.6-2l1.8.1c.18 2.76-.98 4.08-2.96 4.08-1.42 0-2.48-.6-3.32-1.26-.58.78-1.44 1.26-2.54 1.26-1.34 0-2.34-.82-2.34-2.22 0-1.28.98-2.14 2.36-2.14.44 0 .86.1 1.24.26-.04-.66-.24-1.18-.48-1.68h-2.2V12h1.42c-.26-.56-.46-1.16-.46-1.96 0-2.34 1.7-3.88 4.24-3.88 2.84 0 4.44 1.7 4.44 4.42l-2.14.1c-.04-1.64-.82-2.54-2.14-2.54-1.26 0-1.82.82-1.82 1.96zm-2.08 7.68c.54 0 .88-.36 1.08-.98-.38-.3-.74-.5-1.1-.5-.5 0-.8.26-.8.76 0 .44.36.72.82.72z",fill:"currentColor"})}),At=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),zt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z",fill:"currentColor"})}),Et=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M3.671 20.4l17.45-7.48a1 1 0 000-1.84L3.671 3.6a.993.993 0 00-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z",fill:"currentColor"})}),It=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.432 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 00-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65a.488.488 0 00-.49-.42h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.566.566 0 00-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 00.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.35-2.48-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74 0-.2.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.35 2.48 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12.002 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z",fill:"currentColor"})}),Rt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),ge.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),ge.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09 0-.73.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12c0 1.78.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),ge.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),Vt=e=>ge.jsxs(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 23h17.112A2.444 2.444 0 0023 20.556V3.444A2.444 2.444 0 0020.556 1H3.444A2.444 2.444 0 001 3.444v17.112A2.444 2.444 0 003.444 23z",fill:"#007EBB"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.944 19.944H16.68v-5.56c0-1.524-.58-2.377-1.786-2.377-1.313 0-1.999.887-1.999 2.377v5.56H9.75V9.352h3.146v1.427s.946-1.75 3.194-1.75c2.247 0 3.855 1.371 3.855 4.209v6.706zM5.996 7.964a1.947 1.947 0 01-1.94-1.954c0-1.08.868-1.954 1.94-1.954 1.071 0 1.94.875 1.94 1.954 0 1.08-.869 1.955-1.94 1.955zM4.37 19.945h3.28V9.352h-3.28v10.592z",fill:"#fff"})]}),Ft=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.167 22.5H3.833A2.333 2.333 0 011.5 20.167V3.833A2.333 2.333 0 013.833 1.5h16.334A2.333 2.333 0 0122.5 3.833v16.334a2.333 2.333 0 01-2.333 2.333zm-3.7-2.917h3.116v-6.402c0-2.708-1.535-4.018-3.68-4.018-2.145 0-3.048 1.671-3.048 1.671V9.472H9.85v10.111h3.004v-5.307c0-1.423.654-2.269 1.907-2.269 1.152 0 1.705.813 1.705 2.268v5.308zm-12.05-13.3c0 1.03.829 1.865 1.852 1.865A1.858 1.858 0 008.12 6.282c0-1.03-.828-1.865-1.851-1.865a1.859 1.859 0 00-1.852 1.865zm3.432 13.3H4.718V9.473h3.131v10.11z",fill:"currentColor"})}),Lt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M7.423 6.387c3.27 0 5.922 2.67 5.922 5.963s-2.651 5.963-5.922 5.963S1.5 15.643 1.5 12.35s2.652-5.963 5.923-5.963zm9.458.349c1.635 0 2.961 2.513 2.961 5.614 0 3.1-1.325 5.614-2.96 5.614-1.636 0-2.962-2.514-2.962-5.614s1.325-5.614 2.96-5.614zm4.578.585c.575 0 1.041 2.251 1.041 5.029 0 2.777-.466 5.03-1.041 5.03-.576 0-1.042-2.253-1.042-5.03s.466-5.03 1.041-5.03z",fill:"currentColor"})}),Dt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.994 4.523s-6.508 0-8.142.424A2.69 2.69 0 002.013 6.8c-.424 1.634-.424 5.016-.424 5.016s0 3.396.424 5.003a2.65 2.65 0 001.84 1.84c1.646.437 8.14.437 8.14.437s6.521 0 8.155-.425a2.588 2.588 0 001.826-1.839c.437-1.62.437-5.003.437-5.003s.013-3.395-.437-5.029a2.57 2.57 0 00-1.826-1.826c-1.634-.45-8.154-.45-8.154-.45zM9.923 8.69l5.415 3.125-5.415 3.113V8.69z",fill:"currentColor"})}),Ot=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),$t=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 17.52l4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5z",fill:"currentColor"})}),Ht=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36v-9.3l1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),Wt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M13 7.5h5v2h-5v-2zm0 7h5v2h-5v-2zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z",fill:"currentColor"})}),Nt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M21 9h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 2 7.59 8.59C7.22 8.95 7 9.45 7 10v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2zm0 4l-3 7H9V10l4.34-4.34L12.23 11H21v2zM1 10h4v12H1V10z",fill:"currentColor"})}),_t=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z",fill:"currentColor"})}),Ut=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm3.3 14.71L11 12.41V7h2v4.59l3.71 3.71-1.42 1.41z",fill:"currentColor"})}),Gt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M5.83 12L9 8.83 7.59 7.42 3 12l4.59 4.59L9 15.17 5.83 12zm12.34 0L15 15.17l1.41 1.41L21 12l-4.59-4.59L15 8.83 18.17 12z",fill:"currentColor"})}),qt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z",fill:"currentColor"})}),Kt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M19.35 10.04A7.49 7.49 0 0012 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 000 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13h-3z",fill:"currentColor"})}),Zt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M12 4.494l7.53 13.01H4.47L12 4.494zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2v-2z",fill:"currentColor"})}),Yt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M20 6.5h-4v-2c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19.5c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2v-11c0-1.11-.89-2-2-2zm-6 0h-4v-2h4v2z",fill:"currentColor"})}),Xt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.97 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.78 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-7c-.28 0-.5.22-.5.5v1.5h-1.5c-.28 0-.5.22-.5.5s.22.5.5.5h1.5v1.5c0 .28.22.5.5.5s.5-.22.5-.5v-1.5h1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1.5v-1.5c0-.28-.22-.5-.5-.5z",fill:"currentColor"})}),Jt=e=>ge.jsx(t.SvgIcon,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ge.jsx("path",{d:"M15.972 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm-2-5h4c.28 0 .5.22.5.5s-.22.5-.5.5h-4c-.28 0-.5-.22-.5-.5s.22-.5.5-.5z",fill:"currentColor"})}),Qt={xs:2*Q,sm:2*Q,md:2*Q,lg:2.5*Q,xl:3*Q},en=({color:e,name:t,size:o,sx:r,...i})=>{const s=o||Qt.xl,a=o||Qt.xl,l={sx:n.mergeSx({color:e,height:s,width:a},r),...i};switch(t){case"brand-wordmark":return ge.jsx(ze,{...l});case"brand-logomark":return ge.jsx(Ae,{...l});case"menu":return ge.jsx(xt,{...l});case"menu-open":return ge.jsx(vt,{...l});case"chevron-up":return ge.jsx(Oe,{...l});case"chevron-down":return ge.jsx(Fe,{...l});case"chevron-left":return ge.jsx(Le,{...l});case"chevron-right":return ge.jsx(De,{...l});case"arrow-left":return ge.jsx(ye,{...l});case"arrow-right":return ge.jsx(be,{...l});case"search":return ge.jsx(zt,{...l});case"close":return ge.jsx($e,{...l});case"more-horizontal":return ge.jsx(yt,{...l});case"more-vertical":return ge.jsx(bt,{...l});case"home":return ge.jsx(ut,{...l});case"home-filled":return ge.jsx(dt,{...l});case"settings":return ge.jsx(It,{...l});case"controls":return ge.jsx(Ne,{...l});case"help":return ge.jsx(ct,{...l});case"filter-list":return ge.jsx(ot,{...l});case"open-in-new":return ge.jsx(kt,{...l});case"nav-toggle":return ge.jsx(Ct,{...l});case"nav-collapse":return ge.jsx(wt,{...l});case"nav-expand":return ge.jsx(jt,{...l});case"play-circle":return ge.jsx(Tt,{...l});case"play-video":return ge.jsx(Pt,{...l});case"email":return ge.jsx(Xe,{...l});case"document":return ge.jsx(qe,{...l});case"folder":return ge.jsx(it,{...l});case"attach-file":return ge.jsx(we,{...l});case"photo-add":return ge.jsx(Mt,{...l});case"upload":return ge.jsx(qt,{...l});case"upload-cloud":return ge.jsx(Kt,{...l});case"time":return ge.jsx(_t,{...l});case"time-filled":return ge.jsx(Ut,{...l});case"zoom-in":return ge.jsx(Xt,{...l});case"zoom-out":return ge.jsx(Jt,{...l});case"add":return ge.jsx(xe,{...l});case"remove":return ge.jsx(At,{...l});case"test":return ge.jsx(Wt,{...l});case"dashboard":return ge.jsx(Ue,{...l});case"list-view":return ge.jsx(ft,{...l});case"grid-view":return ge.jsx(at,{...l});case"grid-view-filled":return ge.jsx(lt,{...l});case"eye":return ge.jsx(tt,{...l});case"eye-off":return ge.jsx(nt,{...l});case"notification":return ge.jsx(St,{...l});case"pound":return ge.jsx(Bt,{...l});case"euro":return ge.jsx(Qe,{...l});case"dollar":return ge.jsx(Ke,{...l});case"send":return ge.jsx(Et,{...l});case"comment":return ge.jsx(He,{...l});case"chat":return ge.jsx(Ie,{...l});case"error":return ge.jsx(Je,{...l});case"warning":return ge.jsx(Zt,{...l});case"lightbulb":return ge.jsx(mt,{...l});case"check-circle":return ge.jsx(Ve,{...l});case"thumb-up":return ge.jsx(Nt,{...l});case"info":return ge.jsx(pt,{...l});case"info-filled":return ge.jsx(ht,{...l});case"cancel":return ge.jsx(Ee,{...l});case"compress":return ge.jsx(We,{...l});case"expand":return ge.jsx(et,{...l});case"unfold":return ge.jsx(Gt,{...l});case"drag-handle":return ge.jsx(Ze,{...l});case"focus":return ge.jsx(rt,{...l});case"lock":return ge.jsx(gt,{...l});case"copy":return ge.jsx(_e,{...l});case"edit":return ge.jsx(Ye,{...l});case"delete":return ge.jsx(Ge,{...l});case"check":return ge.jsx(Re,{...l});case"star":return ge.jsx(Ot,{...l});case"star-half":return ge.jsx(Ht,{...l});case"star-filled":return ge.jsx($t,{...l});case"ai":return ge.jsx(ve,{...l});case"work":return ge.jsx(Yt,{...l});case"gift":return ge.jsx(st,{...l});case"social-medium-single-colour":return ge.jsx(Lt,{...l});case"social-linkedin-single-colour":return ge.jsx(Ft,{...l});case"social-youtube-single-colour":return ge.jsx(Dt,{...l});case"social-linkedin-full-colour":return ge.jsx(Vt,{...l});case"social-google-full-colour":return ge.jsx(Rt,{...l});case"badge-tick":return ge.jsx(Pe,{...l});case"badge-tick-in-circle":return ge.jsx(Be,{...l});case"badge-cross":return ge.jsx(je,{...l});case"badge-cross-in-circle":return ge.jsx(Ce,{...l});case"badge-hyphen":return ge.jsx(Se,{...l});case"badge-hyphen-in-circle":return ge.jsx(ke,{...l});case"badge-question":return ge.jsx(Me,{...l});case"badge-question-in-circle":return ge.jsx(Te,{...l});default:return ge.jsx(ge.Fragment,{})}},tn=e=>({boxShadow:e.custom.elevation.raised}),nn=e=>({boxShadow:e.custom.elevation.overlay}),on=(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)}},rn=(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}},sn=t.styled(t.Paper)((({theme:e,variation:t="default",borderradius:n})=>({boxShadow:"unset",borderRadius:on(e,n),background:rn(t,e),..."overlay"===t&&{...nn(e)},..."raised"===t&&{...tn(e)}}))),an=({children:e,variation:t="overlay",sx:o,...r})=>ge.jsx(sn,{variation:t,...r,sx:n.mergeSx(o||{},{}),children:e}),ln=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.link,textDecorationColor:e.custom.palette.text.link,pointerEvents:t?"none":"auto","&:hover":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover},"&:active":{color:e.custom.palette.text.linkHover,textDecorationColor:e.custom.palette.text.linkHover},"&:visited":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.link,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.link}}}))),cn=e=>e.target&&"_blank"===e.target?ge.jsx(ln,{rel:"noopener",...e}):ge.jsx(ln,{...e}),un=e=>"bold"===e?exports.FontWeight.BOLD:exports.FontWeight.DEFAULT,dn=({component:e,weight:o="default",variation:r,clamp:i=0,type:s="default",...a})=>ge.jsx(t.Typography,{component:e,fontWeight:un(o),variant:r,...a,sx:n.mergeSx(a.sx,!!i&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:i},"button"===s&&{lineHeight:1.2})}),pn=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)}))),hn=t.styled(cn)((({theme:e})=>({[`&.${t.linkClasses.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}}))),mn=t.styled(dn)((({theme:e})=>({color:e.custom.palette.text.secondary}))),fn=t.styled(dn)((({theme:e})=>({color:e.custom.palette.text.secondary}))),gn=({links:t})=>ge.jsx(pn,{children:t?.map(((n,o)=>ge.jsxs(e.Fragment,{children:[n.href?ge.jsx(hn,{underline:"hover",href:n.href,children:ge.jsx(mn,{variation:"sm",component:"p",children:n.label})},n.label):ge.jsx(mn,{variation:"sm",component:"p",children:n.label}),ge.jsx(fn,{variation:"sm",component:"p",children:o+1<t?.length?"/":""})]},n.label)))}),xn=t.styled(t.CircularProgress)((()=>({color:"inherit",position:"absolute",padding:2}))),vn=({sizing:e,...t})=>ge.jsx(xn,{size:e?Qt[e]:40,...t}),yn=({children:e,message:n,variation:o="primary",...r})=>{const i=t.useTheme();if("primary"===o)return ge.jsx(t.Tooltip,{...r,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:i.spacing(i.custom.radius.sm),filter:`drop-shadow(${i.custom.elevation.overlay})`}}}},title:n,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:ge.jsx(t.Box,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},bn=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),wn=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}}}),jn=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"}}),Cn=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"}}),Sn=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),kn={xs:3*Q,sm:3.5*Q,md:4*Q,lg:5*Q,xl:6*Q},Mn=e=>({height:kn[e],width:kn[e]}),Tn={xs:2*Q,sm:2*Q,md:2*Q,lg:2.5*Q,xl:3*Q},Pn=e=>({height:Tn[e],width:Tn[e]}),Bn=t.styled(t.IconButton)((({theme:e,variation:t,shape:n="default",sizing:o})=>({boxSizing:"border-box",transition:"all 200ms ease",...n&&{...Sn(n,e)},...o&&{...Mn(o)},"&.MuiIconButton-root":{..."default"===t&&{...bn(e)},..."toggle"===t&&{...wn(e)},..."outlined"===t&&{...jn(e)},..."raised"===t&&{...Cn(e)},...n&&{...Sn(n,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...o&&{...Pn(o)},position:"relative",zIndex:1}}))),An=({icon:e,loading:t,tooltipMessage:n,sizing:o,slotProps:r,...i})=>{const s=()=>ge.jsx(Bn,{...i,sizing:o,children:t?ge.jsx(vn,{sizing:o}):e});return n?ge.jsx(yn,{message:n,...r?.tooltip,children:s()}):s()},zn=t.styled(t.Box)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),En=t.styled(t.Box)((({theme:e})=>({borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,width:"100%"}))),In=t.styled(t.Box)((({theme:e})=>({display:"flex",justifyContent:"flex-end",padding:e.spacing(1)}))),Rn=t.styled(t.Box)((({theme:e})=>({backgroundColor:e.custom.palette.surface.sunken,borderRadius:e.spacing(e.custom.radius.lg),color:"red",display:"flex",gap:e.spacing(.5),justifyContent:"flex-end",padding:e.spacing(1)}))),Vn=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),Fn=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],Ln=(e,t=16)=>{const n=1/t*e;return Math.round(1e3*n)/1e3},Dn=(e,t="xs")=>{const n=Fn.reduce(((n,o,r)=>{const i=Fn.indexOf(t)||0,s=Number((16*Math.pow(e,r-i)).toFixed(2));return n[o]=s,n}),{}),o={};for(const[e,t]of Object.entries(n))o[e]=Ln(t)+"rem";return o},On={lg:{headline:Dn(1.309,"xs"),body:Dn(1.125,"md")},sm:{headline:Dn(1.125,"xs"),body:Dn(1.1,"md")},button:Dn(1.125,"md")},$n=e=>{const t=Fn.map((t=>({props:{variant:t},style:{fontFamily:`${ce.FontStack.Serif}`,fontSize:On[e].headline[t]}}))),n=Fn.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${ce.FontStack.SansSerif}`,fontSize:On[e].body[t]}}))),o=Fn.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${ce.FontStack.SansSerif}`,fontSize:On[e].body[t]}})));return[...t,...Fn.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${ce.FontStack.SansSerif}`,fontSize:On[e].body[t]}}))),...n,...o]},Hn={xxs:On.button.xxs,xs:On.button.xs,sm:On.button.sm,md:On.button.sm,lg:On.button.md,xl:On.button.lg,xxl:On.button.xl,xxxl:On.button.xxl},Wn=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Nn=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}`}}),_n=e=>({backgroundColor:e.custom.palette.purple[0],"&:hover":{backgroundColor:e.custom.palette.purple[0]},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.purple[0]}}),Un=e=>({backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&:hover":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:active":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.pressOnDark}}}),Gn=(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}},...Wn(e)}),qn={xs:3*Q,sm:3.5*Q,md:4*Q,lg:5*Q,xl:6*Q,xxl:7*Q,xxxl:8*Q},Kn={xs:.5*Q,sm:.5*Q,md:Q,lg:Q,xl:Q,xxl:Q,xxxl:Q},Zn=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:Qt[e],width:Qt[e]}}}),Yn=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:Hn[e],paddingLeft:Kn[e],paddingRight:Kn[e]}}),Xn=e=>({height:qn[e],paddingLeft:Q,paddingRight:Q}),Jn=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"}}))),Qn=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}))),eo=t.styled(t.Box)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),to=t.styled(dn)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),no=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},oo=t.styled(t.Button)((({active:e,fullWidth:n,sizing:o,theme:r})=>({...Gn(r,e),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:n?"space-between":"center",minWidth:0,padding:no(o,r),textTransform:"none",width:n?"100%":"auto","&:hover":{...Gn(r,e)["&:hover"],[`.${t.boxClasses.root}`]:{opacity:1}},"&:focus":{...Gn(r,e)["&:focus"],[`.${t.boxClasses.root}`]:{opacity:1}}}))),ro=({active:o,fullWidth:r=!0,danger:i,href:s,icon:a,label:l,navigationSizing:c,onClick:u,sizing:d="lg"})=>{const p=t.useTheme(),h=e.useRef(null);return ge.jsxs(Qn,{onClick:u,children:[ge.jsxs(oo,{active:!s&&o,sizing:d,fullWidth:r,children:[ge.jsxs(t.Box,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:h,children:[a&&ge.jsx(en,{name:a,size:24}),"lg"===c&&ge.jsx(t.Slide,{in:!0,direction:"right",container:h.current,children:ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(t.Fade,{in:!0,style:{transitionDelay:"100ms"},children:ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(dn,{component:"p",variation:"sm"===d?"xs":"md",type:"button",clamp:1,sx:n.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})})})]}),"lg"===c&&s&&ge.jsx(eo,{children:ge.jsx(en,{name:"open-in-new",size:20})})]}),"sm"===c&&ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:ge.jsx(t.Box,{children:ge.jsx(to,{active:o,component:"p",type:"button",variation:"xs",sx:n.mergeSx(i&&{color:p.custom.palette.text.negative}),children:l})})})]})};function io(e){if("undefined"==typeof window)return e;const t=A.useRef(null);return A.useLayoutEffect((()=>{t.current=e})),A.useCallback(((...e)=>{var n;null===(n=t.current)||void 0===n||n.call(t,...e)}),[])}const so={};const ao={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},lo=A,co="useId"in lo?()=>lo.useId():()=>{};function uo({parentPopupState:t,popupId:n=co(),variant:o,disableAutoFocus:r}){const i=e.useRef(!0);e.useEffect((()=>(i.current=!0,()=>{i.current=!1})),[]);const[s,a]=e.useState(ao),l=e.useCallback((e=>{i.current&&a(e)}),[]),c=e.useCallback((e=>l((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),u=io((e=>(s.isOpen?h(e):d(e),s))),d=io((e=>{const n=e instanceof Element?void 0:e,r=e instanceof Element?e:(null==e?void 0:e.currentTarget)instanceof Element?e.currentTarget:void 0;if("touchstart"===(null==n?void 0:n.type))return void l((e=>({...e,_deferNextOpen:!0})));const i=null==n?void 0:n.clientX,s=null==n?void 0:n.clientY,a="number"==typeof i&&"number"==typeof s?{left:i,top:s}:void 0,c=i=>{var s,l;if(e||i.setAnchorElUsed||"dialog"===o||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",so[s="missingEventOrAnchorEl"]||(so[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),t){if(!t.isOpen)return i;setTimeout((()=>t._setChildPopupState(v)))}const c={...i,isOpen:!0,anchorPosition:a,hovered:"mouseover"===(null==n?void 0:n.type)||i.hovered,focused:"focus"===(null==n?void 0:n.type)||i.focused,_openEventType:null==n?void 0:n.type};return i.setAnchorElUsed||(null!=n&&n.currentTarget?c.anchorEl=null==n?void 0:n.currentTarget:r&&(c.anchorEl=r)),c};l((e=>e._deferNextOpen?(setTimeout((()=>l(c)),0),{...e,_deferNextOpen:!1}):c(e)))})),p=e=>{const{_childPopupState:n}=e;return setTimeout((()=>{null==n||n.close(),null==t||t._setChildPopupState(null)})),{...e,isOpen:!1,hovered:!1,focused:!1}},h=io((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})))})),m=e.useCallback(((e,t)=>{e?d(t):h(t)}),[]),f=io((e=>{const{relatedTarget:t}=e;l((e=>!e.hovered||t instanceof Element&&mo(t,v)?e:e.focused?{...e,hovered:!1}:p(e)))})),g=io((e=>{if(!e)return;const{relatedTarget:t}=e;l((e=>!e.focused||t instanceof Element&&mo(t,v)?e:e.hovered?{...e,focused:!1}:p(e)))})),x=e.useCallback((e=>l((t=>({...t,_childPopupState:e})))),[]),v={...s,setAnchorEl:c,popupId:n??void 0,variant:o,open:d,close:h,toggle:u,setOpen:m,onBlur:g,onMouseLeave:f,disableAutoFocus:r??Boolean(s.hovered||s.focused),_setChildPopupState:x};return v}function po({isOpen:e,popupId:t,variant:n}){return{..."popover"===n?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===n?{"aria-describedby":e?t:void 0}:void 0}}function ho({isOpen:e,anchorEl:t,popupId:n,onMouseLeave:o}){return{id:n,anchorEl:t,open:e,onMouseLeave:o}}function mo(e,t){const{anchorEl:n,_childPopupState:o}=t;return fo(n,e)||fo(function(e,{popupId:t}){if(!t)return null;const n="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof n.getElementById?n.getElementById(t):null}(e,t),e)||null!=o&&mo(e,o)}function fo(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const go={trigger:function(e){return{...po(e),onClick:e.open,onTouchStart:e.open}},contextMenu:function(e){return{...po(e),onContextMenu:t=>{t.preventDefault(),e.open(t)}}},toggle:function(e){return{...po(e),onClick:e.toggle,onTouchStart:e.toggle}},hover:function(e){const{open:t,onMouseLeave:n}=e;return{...po(e),onTouchStart:t,onMouseOver:t,onMouseLeave:n}},focus:function(e){const{open:t,onBlur:n}=e;return{...po(e),onFocus:t,onBlur:n}},doubleClick:function({isOpen:e,open:t,popupId:n,variant:o}){return{["popover"===o?"aria-controls":"aria-describedby"]:e?n:null,"aria-haspopup":"popover"===o||void 0,onDoubleClick:t}}},xo=({bindOn:o=["toggle"],trigger:r,children:i,...s})=>{const a=uo({variant:"popper"}),l={transition:!0,...s.popperProps},c={...s.clickAwayListenerProps,onClickAway:e=>{s.clickAwayListenerProps?.onClickAway?s.clickAwayListenerProps.onClickAway(e,a):a.close()}},u={timeout:350,...s.transitionFadeProps},{sx:d,...p}={variation:"overlay",borderradius:"md",...s.surfaceProps},h=e.useMemo((()=>o.reduce(((e,t)=>({...e,...go[t](a)})),{})),[o]);return ge.jsxs(ge.Fragment,{children:[ge.jsx(t.Box,{...h,children:r(a)}),ge.jsx(t.Popper,{...ho(a),...l,children:({TransitionProps:e})=>ge.jsx(t.ClickAwayListener,{...c,children:ge.jsx(t.Fade,{...e,...u,children:ge.jsx(t.Box,{children:ge.jsx(an,{sx:n.mergeSx({p:2},d),...p,children:i})})})})})]})},vo=({children:e,description:n,title:o})=>ge.jsxs(t.Stack,{sx:{gap:2,p:1},children:[ge.jsxs(t.Stack,{sx:{gap:1},children:[ge.jsx(dn,{variation:"sm",component:"p",weight:"bold",children:o}),ge.jsx(dn,{variation:"sm",component:"p",children:n})]}),e]}),yo=t.styled(An)((({theme:e})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...Gn(e)}))),bo=t.styled(t.Box)((({theme:e})=>({background:e.custom.palette.red[500],borderRadius:e.custom.radius.round,height:e.spacing(1),position:"absolute",right:e.spacing(.5),top:e.spacing(.5),width:e.spacing(1)}))),wo=({notification:e,onClick:n})=>ge.jsxs(t.Box,{sx:{position:"relative"},children:[ge.jsx(yo,{icon:ge.jsx(en,{name:"notification"}),variation:"raised",onClick:n}),e&&ge.jsx(t.Fade,{in:!0,style:{transitionDelay:"200ms"},children:ge.jsx(t.Box,{children:ge.jsx(bo,{})})})]}),jo=({children:e,description:n,title:o,navigationSizing:r})=>"sm"===r?ge.jsx(xo,{popperProps:{placement:"right-end"},surfaceProps:{variation:"raised",sx:{maxWidth:200,p:1,ml:1}},bindOn:["trigger"],trigger:()=>ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:ge.jsx(t.Box,{children:ge.jsx(wo,{notification:!0})})}),children:ge.jsx(vo,{description:n,title:o,children:e})}):ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(an,{variation:"raised",borderradius:"md",sx:{maxWidth:200,minHeight:40,width:"100%",p:1},children:ge.jsx(vo,{description:n,title:o,children:e})})})}),Co=({sizing:e="lg",children:n,...o})=>{const{custom:r}=t.useTheme();switch(e){case"sm":return ge.jsx(t.Avatar,{sx:{border:`1px solid ${r.palette.stroke.default}`,height:32,width:32},...o,children:n});case"lg":return ge.jsx(t.Avatar,{sx:{border:`1px solid ${r.palette.stroke.default}`,height:48,width:48},...o,children:n})}},So=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),ko=t.styled(t.Stack)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),Mo=t.styled(t.Stack)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),To=t.styled(t.Button)((({active:e,navigationSizing:t,theme:n})=>({...Gn(n,e),textTransform:"none",borderRadius:n.spacing("lg"===t?n.custom.radius.md:n.custom.radius.round),justifyContent:"flex-start",minWidth:0,padding:n.spacing(.5),width:"100%",overflow:"hidden"}))),Po=({active:n,avatar:o,email:r,name:i,navigationSizing:s,withMenu:a})=>{const l=t.useTheme(),c=e.useRef(null);return ge.jsx(To,{active:n,navigationSizing:s,children:ge.jsxs(So,{ref:c,children:[ge.jsx(Co,{src:o,sizing:"sm"}),ge.jsx(t.Fade,{in:!0,children:ge.jsxs(So,{children:[ge.jsxs(ko,{withMenu:a,children:[ge.jsx(dn,{variation:"sm",component:"p",type:"button",noWrap:!0,children:i}),ge.jsx(dn,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:l.custom.palette.text.secondary},children:r})]}),a&&ge.jsx(Mo,{children:ge.jsx(en,{name:"chevron-right",size:24})})]})})]})})},Bo=t.styled(t.Button)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.5,1),textTransform:"none",width:"100%",...Gn(t,e)}))),Ao=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),zo=t.styled(t.Stack)((({theme:e})=>({height:24,width:24,alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Eo=({active:e,danger:o,hasChildren:r,label:i,selected:s,onClick:a})=>{const l=t.useTheme();return ge.jsx(Bo,{active:e,onClick:a,children:ge.jsxs(Ao,{sx:{flex:1},children:[ge.jsx(Ao,{children:ge.jsx(dn,{component:"p",sx:n.mergeSx(o&&{color:l.custom.palette.text.negative}),type:"button",variation:"md",children:i})}),ge.jsxs(zo,{children:[r&&ge.jsx(en,{name:"chevron-right",size:24}),s&&ge.jsx(en,{name:"check",size:24})]})]})})},Io=({avatar:e,email:t,menuItems:n,name:o,navigationSizing:r})=>ge.jsx(xo,{popperProps:{placement:"right-end"},surfaceProps:{sx:{ml:1,p:1,width:192}},bindOn:["trigger"],trigger:i=>ge.jsx(Po,{active:i.isOpen,avatar:e,email:t,name:o,navigationSizing:r,withMenu:!!n?.length}),children:ge.jsx(ge.Fragment,{children:n?.map(Ro)})}),Ro=(e,t)=>e.children?.length?ge.jsx(xo,{popperProps:{placement:"right-end"},surfaceProps:{sx:{p:1,width:192}},bindOn:["trigger","hover"],trigger:t=>ge.jsx(Eo,{label:e.label,active:t.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger,onClick:e.onClick}),children:ge.jsx(ge.Fragment,{children:e?.children?.map(Ro)})},`${e.label}-${t}`):ge.jsx(Eo,{label:e.label,selected:e.selected,danger:e.danger,onClick:e.onClick},`${e.label}-${t}`),Vo=()=>ge.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[ge.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),ge.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"})]}),Fo=()=>{const e=t.useTheme();return ge.jsxs(t.SvgIcon,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 53 19",style:{height:19,width:53},sx:{"&.MuiSvgIcon-root path":{fill:"light"===e.palette.mode?e.custom.palette.icon.primary:e.custom.palette.icon.lockedWhite}},children:[ge.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"}),ge.jsx("path",{fillRule:"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",clipRule:"evenodd"}),ge.jsx("path",{fillRule:"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",clipRule:"evenodd"}),ge.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"})]})},Lo=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)}))),Do=({isMobile:e,logoLink:n="/",navigationSizing:o,toggleMenuOnClick:r})=>ge.jsxs(Lo,{navigationSizing:o,children:[ge.jsx(t.Box,{sx:{display:"flex",width:"100%"},children:ge.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[ge.jsx(cn,{href:n,children:ge.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:.5,pr:"lg"===o?.5:0},children:[ge.jsx(Vo,{}),"lg"===o&&ge.jsx(t.Fade,{in:!0,children:ge.jsx(t.Box,{sx:{display:"flex",alignItems:"flex-end"},children:ge.jsx(Fo,{})})})]})}),"lg"===o&&ge.jsx(t.Fade,{in:"lg"===o,children:ge.jsx(t.Box,{children:ge.jsx(An,{onClick:r,sizing:"lg",icon:e?ge.jsx(en,{name:"close",size:20}):ge.jsx(en,{name:"nav-toggle",size:20})})})})]})}),"sm"===o&&ge.jsx(t.Grow,{in:!0,style:{transformOrigin:"0 100%"},children:ge.jsx(t.Box,{sx:{alignItems:"center",display:"flex",justifyContent:"flex-start",width:"100%"},children:ge.jsx(An,{onClick:r,sizing:"lg",icon:e?ge.jsx(en,{name:"close",size:20}):ge.jsx(en,{name:"nav-toggle",size:20})})})})]}),Oo=t.styled(t.Stack)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),$o=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),Ho=t.styled(t.Box)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),Wo=t.styled(t.Box)({"& .lazy-load-image-background.blur":{filter:"blur(15px)"},"& .lazy-load-image-background.blur.lazy-load-image-loaded":{filter:"blur(0)",transition:"filter .3s"},"& .lazy-load-image-background.blur > img":{opacity:"0"},"& .lazy-load-image-background.blur.lazy-load-image-loaded > img":{opacity:"1",transition:"opacity .3s"}}),No=({children:n,src:r,alt:i,width:s,height:a,...l})=>{const[c,u]=e.useState(!1);return ge.jsxs(ge.Fragment,{children:[ge.jsx(t.Fade,{in:!c,unmountOnExit:!0,children:ge.jsx(t.Box,{sx:{width:s,height:a,position:"absolute",inset:0},children:ge.jsx(t.Skeleton,{variant:"rectangular",width:s,height:"100%"})})}),ge.jsx(Wo,{children:ge.jsx(o.LazyLoadImage,{onLoad:()=>u(!0),alt:i,height:a,src:r,width:s,threshold:500,effect:"blur",wrapperProps:{style:{transitionDelay:"200ms"}},...l})})]})},_o=t.styled(t.Box)((({theme:e})=>({width:2,height:2,borderRadius:"50%",backgroundColor:e.custom.palette.icon.disabled,marginLeft:e.spacing(e.custom.margin.sm),marginRight:e.spacing(e.custom.margin.sm)}))),Uo=(e,n)=>ge.jsxs(t.Box,{display:"flex",gap:1,children:[ge.jsx(dn,{variation:"sm",component:"p",weight:"bold",children:e||0}),ge.jsx(dn,{variation:"sm",component:"p",color:"text.secondary",children:n})]}),Go=({loops:e,tests:n,drafts:o})=>ge.jsxs(t.Box,{display:"flex",alignItems:"center",children:[Uo(e,"Loops"),ge.jsx(_o,{}),Uo(n,"Tests"),ge.jsx(_o,{}),Uo(o,"Drafts")]}),qo=t.styled(t.Box)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`0.5px solid ${e.custom.palette.stroke.focus}`,backgroundColor:e.custom.palette.purple[0],padding:`${e.spacing(e.custom.padding.xs)} ${e.spacing(e.custom.padding.sm)}`,"& p":{color:e.custom.palette.purple[1e3]}}))),Ko=({sx:e,body:t})=>ge.jsx(qo,{"data-id":"pill-container",sx:n.mergeSx(e,{position:"absolute",zIndex:1}),children:ge.jsx(dn,{variation:"xxs",component:"p",weight:"bold",children:t})}),Zo=({title:e,maxLines:t})=>ge.jsx(dn,{variation:"md",component:"p",weight:"bold",sx:{overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":`${t}`,"-webkit-box-orient":"vertical"},children:e}),Yo=({updatedDate:e,format:t=!1,noWrap:n})=>ge.jsxs(dn,{variation:"sm",component:"p",color:"text.secondary",noWrap:n,children:["Edited on ",t?r(e).format("DD MMM YYYY"):e]}),Xo=({title:e,loopCount:n,testCount:o,draftCount:r,updatedAt:i,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:u})=>{const d=t.useTheme();return ge.jsx(t.Box,{sx:{width:"100%",transition:"all 0.3s ease","&:hover":{'*[data-id="image-container"]':{boxShadow:d.custom.elevation.raised}}},children:ge.jsxs(t.CardActionArea,{onClick:u,sx:{"& .MuiCardActionArea-focusHighlight":{backgroundColor:d.palette.background.paper}},children:[c?ge.jsx(t.Skeleton,{sx:{width:"100%",height:150,transform:"none"},animation:"pulse"}):ge.jsxs(t.Box,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:d.custom.radius.md},children:[l&&ge.jsx(Ko,{body:"Demo",sx:{bottom:8,left:8}}),ge.jsx(No,{src:a,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),ge.jsx(t.CardContent,{sx:{py:d.spacing(d.custom.padding.xs),px:0},children:ge.jsxs(t.Stack,{gap:d.spacing(d.custom.margin.xs),children:[c?ge.jsx(t.Skeleton,{width:"100%",height:20}):ge.jsxs(t.Stack,{direction:"row",justifyContent:"space-between",alignItems:"start",children:[ge.jsx(Zo,{title:e,maxLines:2}),ge.jsx(t.Box,{children:s})]}),c?ge.jsx(t.Skeleton,{width:"100%",height:20}):ge.jsx(Go,{loops:n,tests:o,drafts:r}),c?ge.jsx(t.Skeleton,{width:"60%",height:20}):ge.jsx(Yo,{updatedDate:i,format:!0})]})})]})})},Jo=({title:e,loopCount:n,testCount:o,draftCount:r,updatedAt:i,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:u})=>{const d=t.useTheme();return ge.jsx(t.Box,{sx:{minWidth:280,width:"auto",borderBottom:`1px solid ${d.custom.palette.stroke.default}`,transition:"all 0.3s ease"},children:ge.jsx(t.CardActionArea,{onClick:u,sx:{p:d.spacing(d.custom.padding.xs)},children:ge.jsxs(t.Box,{sx:{display:"flex",gap:d.spacing(d.custom.margin.sm),alignItems:"center"},children:[c?ge.jsx(t.Skeleton,{variant:"rounded",width:108,height:72}):ge.jsxs(t.Box,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",width:108,height:72,position:"relative",borderRadius:d.custom.radius.md},children:[l&&ge.jsx(Ko,{sx:{top:4,right:4},body:"Demo"}),ge.jsx(No,{src:a,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),ge.jsx(t.CardContent,{sx:{overflow:"hidden",p:0,pl:d.spacing(d.custom.padding.sm),minWidth:67,display:"flex",flex:1,"&:last-child":{pb:0}},children:ge.jsxs(t.Stack,{gap:d.spacing(d.custom.margin.xs),width:"100%",children:[c?ge.jsx(t.Skeleton,{variant:"text",width:"50%"}):ge.jsx(Zo,{title:e,maxLines:1}),ge.jsxs(t.Stack,{direction:"row",gap:d.spacing(d.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[c?ge.jsx(t.Skeleton,{variant:"text",width:"50%"}):ge.jsx(Go,{loops:n,tests:o,drafts:r}),c?ge.jsx(t.Skeleton,{variant:"text",width:130}):ge.jsx(Yo,{updatedDate:i,format:!0,noWrap:!0})]})]})}),s&&s]})})})},Qo=t.styled(t.Box)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),er=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),tr=t.styled(dn)((({theme:e})=>({color:e.custom.palette.text.secondary}))),nr=()=>{const e=t.useTheme();return[...e.breakpoints.keys].reduce(((t,n)=>s(e.breakpoints.up(n))?n:t),null)??"sm"},or=t.styled(t.LinearProgress)((({theme:e})=>({[`&.${t.linearProgressClasses.root}`]:{backgroundColor:e.custom.palette.neutral[200],borderRadius:e.custom.radius.round,[`& .${t.linearProgressClasses.bar}`]:{backgroundColor:e.custom.palette.green[500],borderRadius:`0 ${e.custom.radius.round}px ${e.custom.radius.round}px 0`}}}))),rr=e=>{const{variation:t,...n}=e;return ge.jsx(or,{variant:t,...n})},ir=t.styled(t.Box)((({theme:e})=>({display:"flex",flexWrap:"wrap",gap:e.spacing(e.custom.padding.md),alignItems:"center",alignContent:"start",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),sr=t.styled(t.Box)((({theme:e})=>({display:"flex",flexDirection:"column",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),ar=t.styled(dn)((({theme:e})=>({flexBasis:"100%",color:e.palette.text.secondary})));function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},lr.apply(null,arguments)}var cr,ur={exports:{}},dr={exports:{}},pr={};var hr,mr,fr,gr,xr,vr,yr,br,wr,jr,Cr,Sr,kr,Mr,Tr={};
|
|
11
11
|
/** @license React v16.13.1
|
|
12
12
|
* react-is.development.js
|
|
13
13
|
*
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/function Pr(){return mr||(mr=1,"production"===process.env.NODE_ENV?dr.exports=function(){if(cr)return pr;cr=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case m:case h:case s:return e;default:return p}}case n:return p}}}function b(e){return y(e)===c}return pr.AsyncMode=l,pr.ConcurrentMode=c,pr.ContextConsumer=a,pr.ContextProvider=s,pr.Element=t,pr.ForwardRef=u,pr.Fragment=o,pr.Lazy=m,pr.Memo=h,pr.Portal=n,pr.Profiler=i,pr.StrictMode=r,pr.Suspense=d,pr.isAsyncMode=function(e){return b(e)||y(e)===l},pr.isConcurrentMode=b,pr.isContextConsumer=function(e){return y(e)===a},pr.isContextProvider=function(e){return y(e)===s},pr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},pr.isForwardRef=function(e){return y(e)===u},pr.isFragment=function(e){return y(e)===o},pr.isLazy=function(e){return y(e)===m},pr.isMemo=function(e){return y(e)===h},pr.isPortal=function(e){return y(e)===n},pr.isProfiler=function(e){return y(e)===i},pr.isStrictMode=function(e){return y(e)===r},pr.isSuspense=function(e){return y(e)===d},pr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},pr.typeOf=y,pr}():dr.exports=(hr||(hr=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case o:case i:case r:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case m:case h:case s:return g;default:return p}}case n:return p}}}var b=l,w=c,j=a,C=s,S=t,k=u,M=o,T=m,P=h,
|
|
18
|
+
*/function Pr(){return mr||(mr=1,"production"===process.env.NODE_ENV?dr.exports=function(){if(cr)return pr;cr=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case m:case h:case s:return e;default:return p}}case n:return p}}}function b(e){return y(e)===c}return pr.AsyncMode=l,pr.ConcurrentMode=c,pr.ContextConsumer=a,pr.ContextProvider=s,pr.Element=t,pr.ForwardRef=u,pr.Fragment=o,pr.Lazy=m,pr.Memo=h,pr.Portal=n,pr.Profiler=i,pr.StrictMode=r,pr.Suspense=d,pr.isAsyncMode=function(e){return b(e)||y(e)===l},pr.isConcurrentMode=b,pr.isContextConsumer=function(e){return y(e)===a},pr.isContextProvider=function(e){return y(e)===s},pr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},pr.isForwardRef=function(e){return y(e)===u},pr.isFragment=function(e){return y(e)===o},pr.isLazy=function(e){return y(e)===m},pr.isMemo=function(e){return y(e)===h},pr.isPortal=function(e){return y(e)===n},pr.isProfiler=function(e){return y(e)===i},pr.isStrictMode=function(e){return y(e)===r},pr.isSuspense=function(e){return y(e)===d},pr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},pr.typeOf=y,pr}():dr.exports=(hr||(hr=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case o:case i:case r:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case m:case h:case s:return g;default:return p}}case n:return p}}}var b=l,w=c,j=a,C=s,S=t,k=u,M=o,T=m,P=h,B=n,A=i,z=r,E=d,I=!1;function R(e){return y(e)===c}Tr.AsyncMode=b,Tr.ConcurrentMode=w,Tr.ContextConsumer=j,Tr.ContextProvider=C,Tr.Element=S,Tr.ForwardRef=k,Tr.Fragment=M,Tr.Lazy=T,Tr.Memo=P,Tr.Portal=B,Tr.Profiler=A,Tr.StrictMode=z,Tr.Suspense=E,Tr.isAsyncMode=function(e){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||y(e)===l},Tr.isConcurrentMode=R,Tr.isContextConsumer=function(e){return y(e)===a},Tr.isContextProvider=function(e){return y(e)===s},Tr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Tr.isForwardRef=function(e){return y(e)===u},Tr.isFragment=function(e){return y(e)===o},Tr.isLazy=function(e){return y(e)===m},Tr.isMemo=function(e){return y(e)===h},Tr.isPortal=function(e){return y(e)===n},Tr.isProfiler=function(e){return y(e)===i},Tr.isStrictMode=function(e){return y(e)===r},Tr.isSuspense=function(e){return y(e)===d},Tr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},Tr.typeOf=y}()),Tr)),dr.exports}
|
|
19
19
|
/*
|
|
20
20
|
object-assign
|
|
21
21
|
(c) Sindre Sorhus
|
|
22
22
|
@license MIT
|
|
23
|
-
*/function Ar(){if(gr)return fr;gr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return fr=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(a[c]=i[c]);if(e){s=e(i);for(var u=0;u<s.length;u++)n.call(i,s[u])&&(a[s[u]]=i[s[u]])}}return a},fr}function Br(){if(vr)return xr;vr=1;return xr="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Er(){return br?yr:(br=1,yr=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var zr=Pr();ur.exports=function(){if(Sr)return Cr;Sr=1;var e=Pr(),t=Ar(),n=Br(),o=Er(),r=function(){if(jr)return wr;jr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Br(),n={},o=Er();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,a,s,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},wr=r}(),i=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Cr=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(s),arrayOf:function(e){return m((function(t,o,r,i,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[o];if(!Array.isArray(a))return new h("Invalid "+i+" `"+s+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,r,i,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,o,r){var i=e[t];return a(i)?null:new h("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,o,r,i){var s=t[n];return e.isValidElementType(s)?null:new h("Invalid "+r+" `"+i+"` of type `"+v(s)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,o,r,i){if(!(t[n]instanceof e)){var s=e.name||u;return new h("Invalid "+r+" `"+i+"` of type `"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `"+o+"`, expected instance of `"+s+"`.")}var a;return null}))},node:m((function(e,t,n,o,r){return x(e[t])?null:new h("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,r,i,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,s,a+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,o,r,i){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new h("Invalid "+r+" `"+i+"` of value `"+String(s)+"` supplied to `"+o+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(r)+" at index "+t+"."),s}return m((function(t,r,i,s,a){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,s,a,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,o,r,i,s){var a=t[o],l=v(a);if("object"!==l)return new h("Invalid "+i+" `"+s+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,s,c,y(u));var d=u(a,c,r,i,s+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(r,i,s,a,l){var c=r[i],u=v(c);if("object"!==u)return new h("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var m=e[p];if(o(e,p)&&"function"!=typeof m)return g(s,a,l,p,y(m));if(!m)return new h("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,p,s,a,l+"."+p,n);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,s,a,c,d,p,m){if(c=c||u,p=p||a,m!==n){if(l){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,o++)}}return null==s[a]?r?null===s[a]?new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,d,p)}var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function f(e){return m((function(t,n,o,r,i,s){var a=t[n];return v(a)!==e?new h("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,o,r){return new h((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!x(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!x(r[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},Cr}()(zr.isElement,!0)}else ur.exports=function(){if(Mr)return kr;Mr=1;var e=Br();function t(){}function n(){}return n.resetWarningCache=t,kr=function(){function o(t,n,o,r,i,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var Ir=ue(ur.exports);function Rr(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Rr(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Vr(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Rr(e))&&(o&&(o+=" "),o+=t);return o}const Fr=e=>e,Lr=(()=>{let e=Fr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Fr}}})(),Dr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Or(e,t,n="Mui"){const o=Dr[t];return o?`${n}-${o}`:`${Lr.generate(e)}-${t}`}const $r=B.createContext({});function Hr(e){return Or("MuiTimeline",e)}function Wr(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${c.capitalize(e)}`}"production"!==process.env.NODE_ENV&&($r.displayName="TimelineContext"),function(e,t,n="Mui"){const o={};t.forEach((t=>{o[t]=Or(e,t,n)}))}("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const Nr=["position","className"],_r=e=>{const{position:t,classes:n}=e;return function(e,t,n){const o={};return Object.keys(e).forEach((r=>{o[r]=e[r].reduce(((e,o)=>{if(o){const r=t(o);""!==r&&e.push(r),n&&n[o]&&e.push(n[o])}return e}),[]).join(" ")})),o}({root:["root",t&&Wr(t)]},Hr,n)},Ur=l.styled("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[Wr(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),Gr=B.forwardRef((function(e,t){const n=l.useThemeProps({props:e,name:"MuiTimeline"}),{position:o="right",className:r}=n,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(n,Nr),s=lr({},n,{position:o}),a=_r(s),c=B.useMemo((()=>({position:o})),[o]);return ge.jsx($r.Provider,{value:c,children:ge.jsx(Ur,lr({className:Vr(a.root,r),ownerState:s,ref:t},i))})}));"production"!==process.env.NODE_ENV&&(Gr.propTypes={children:Ir.node,classes:Ir.object,className:Ir.string,position:Ir.oneOf(["alternate-reverse","alternate","left","right"]),sx:Ir.oneOfType([Ir.arrayOf(Ir.oneOfType([Ir.func,Ir.object,Ir.bool])),Ir.func,Ir.object])});const Kr=e.createContext({});const qr=e.createContext(null),Zr=e.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});const Yr="undefined"!=typeof window,Xr=Yr?e.useLayoutEffect:e.useEffect,Jr=e=>e;let Qr=Jr,ei=Jr;"production"!==process.env.NODE_ENV&&(Qr=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},ei=(e,t)=>{if(!e)throw new Error(t)});const ti=!1;const ni=["read","resolveKeyframes","update","preRender","render","postRender"];function oi(e,t){let n=!1,o=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=ni.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,o=!1,r=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){i.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,r=!1,s=!1)=>{const a=s&&o?t:n;return r&&i.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{s=e,o?r=!0:(o=!0,[t,n]=[n,t],t.forEach(a),t.clear(),o=!1,r&&(r=!1,l.process(e)))}};return l}(i),e)),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:p}=s,h=()=>{const i=performance.now();n=!1,r.delta=o?1e3/60:Math.max(Math.min(i-r.timestamp,40),1),r.timestamp=i,r.isProcessing=!0,a.process(r),l.process(r),c.process(r),u.process(r),d.process(r),p.process(r),r.isProcessing=!1,n&&t&&(o=!1,e(h))};return{schedule:ni.reduce(((t,i)=>{const a=s[i];return t[i]=(t,i=!1,s=!1)=>(n||(n=!0,o=!0,r.isProcessing||e(h)),a.schedule(t,i,s)),t}),{}),cancel:e=>{for(let t=0;t<ni.length;t++)s[ni[t]].cancel(e)},state:r,steps:s}}const{schedule:ri,cancel:ii,state:si,steps:ai}=oi("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Jr,!0),li=e.createContext({strict:!1}),ci={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ui={};for(const e in ci)ui[e]={isEnabled:t=>ci[e].some((e=>!!t[e]))};const di=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function pi(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||di.has(e)}let hi=e=>!pi(e);try{(mi=require("@emotion/is-prop-valid").default)&&(hi=e=>e.startsWith("on")?!pi(e):mi(e))}catch(e){}var mi;const fi=new Set;function gi(e,t,n){e||fi.has(t)||(console.warn(t),fi.add(t))}function xi(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>("production"!==process.env.NODE_ENV&&gi(!1,"motion() is deprecated. Use motion.create() instead."),e(...t))),{get:(n,o)=>"create"===o?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const vi=e.createContext({});function yi(e){return"string"==typeof e||Array.isArray(e)}function bi(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const wi=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ji=["initial",...wi];function Ci(e){return bi(e.animate)||ji.some((t=>yi(e[t])))}function Si(e){return Boolean(Ci(e)||e.variants)}function ki(t){const{initial:n,animate:o}=function(e,t){if(Ci(e)){const{initial:t,animate:n}=e;return{initial:!1===t||yi(t)?t:void 0,animate:yi(n)?n:void 0}}return!1!==e.inherit?t:{}}(t,e.useContext(vi));return e.useMemo((()=>({initial:n,animate:o})),[Mi(n),Mi(o)])}function Mi(e){return Array.isArray(e)?e.join(" "):e}const Ti=Symbol.for("motionComponentSymbol");function Pi(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ai(t,n,o){return e.useCallback((e=>{e&&t.onMount&&t.onMount(e),n&&(e?n.mount(e):n.unmount()),o&&("function"==typeof o?o(e):Pi(o)&&(o.current=e))}),[n])}const Bi=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ei="data-"+Bi("framerAppearId"),{schedule:zi,cancel:Ii}=oi(queueMicrotask,!1),Ri=e.createContext({});function Vi(t,n,o,r,i){var s,a;const{visualElement:l}=e.useContext(vi),c=e.useContext(li),u=e.useContext(qr),d=e.useContext(Zr).reducedMotion,p=e.useRef(null);r=r||c.renderer,!p.current&&r&&(p.current=r(t,{visualState:n,parent:l,props:o,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:d}));const h=p.current,m=e.useContext(Ri);!h||h.projection||!i||"html"!==h.type&&"svg"!==h.type||function(e,t,n,o){const{layoutId:r,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Fi(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:Boolean(s)||a&&Pi(a),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:o,layoutScroll:l,layoutRoot:c})}(p.current,o,i,m);const f=e.useRef(!1);e.useInsertionEffect((()=>{h&&f.current&&h.update(o,u)}));const g=o[Ei],x=e.useRef(Boolean(g)&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,g))&&(null===(a=window.MotionHasOptimisedAnimation)||void 0===a?void 0:a.call(window,g)));return Xr((()=>{h&&(f.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),zi.render(h.render),x.current&&h.animationState&&h.animationState.animateChanges())})),e.useEffect((()=>{h&&(!x.current&&h.animationState&&h.animationState.animateChanges(),x.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,g)})),x.current=!1))})),h}function Fi(e){if(e)return!1!==e.options.allowProjection?e.projection:Fi(e.parent)}function Li({preloadedFeatures:t,createVisualElement:n,useRender:o,useVisualState:r,Component:i}){var s,a;function l(s,a){let l;const c={...e.useContext(Zr),...s,layoutId:Di(s)},{isStatic:u}=c,d=ki(s),p=r(s,u);if(!u&&Yr){!function(t,n){const o=e.useContext(li).strict;if("production"!==process.env.NODE_ENV&&n&&o){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Qr(!1,e):ei(!1,e)}}(c,t);const o=function(e){const{drag:t,layout:n}=ui;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}(c);l=o.MeasureLayout,d.visualElement=Vi(i,p,c,n,o.ProjectionNode)}return ge.jsxs(vi.Provider,{value:d,children:[l&&d.visualElement?ge.jsx(l,{visualElement:d.visualElement,...c}):null,o(i,s,Ai(p,d.visualElement,a),p,u,d.visualElement)]})}t&&function(e){for(const t in e)ui[t]={...ui[t],...e[t]}}(t),l.displayName=`motion.${"string"==typeof i?i:`create(${null!==(a=null!==(s=i.displayName)&&void 0!==s?s:i.name)&&void 0!==a?a:""})`}`;const c=e.forwardRef(l);return c[Ti]=i,c}function Di({layoutId:t}){const n=e.useContext(Kr).id;return n&&void 0!==t?n+"-"+t:t}const Oi=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function $i(e){return"string"==typeof e&&!e.includes("-")&&!!(Oi.indexOf(e)>-1||/[A-Z]/u.test(e))}function Hi(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function Wi(e,t,n,o){if("function"==typeof t){const[r,i]=Hi(o);t=t(void 0!==n?n:e.custom,r,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[r,i]=Hi(o);t=t(void 0!==n?n:e.custom,r,i)}return t}const Ni=e=>Array.isArray(e),_i=e=>Boolean(e&&e.getVelocity);function Ui(e){const t=_i(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Gi=t=>(n,o)=>{const r=e.useContext(vi),i=e.useContext(qr),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},o,r,i){const s={latestValues:Ki(o,r,i,e),renderState:t()};return n&&(s.onMount=e=>n({props:o,current:e,...s}),s.onUpdate=e=>n(e)),s}(t,n,r,i);return o?s():function(t){const n=e.useRef(null);return null===n.current&&(n.current=t()),n.current}(s)};function Ki(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=Ui(i[e]);let{initial:s,animate:a}=e;const l=Ci(e),c=Si(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!bi(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const o=Wi(e,t[n]);if(o){const{transitionEnd:e,transition:t,...n}=o;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const t in e)r[t]=e[t]}}}return r}const qi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Zi=new Set(qi),Yi=e=>t=>"string"==typeof t&&t.startsWith(e),Xi=Yi("--"),Ji=Yi("var(--"),Qi=e=>!!Ji(e)&&es.test(e.split("/*")[0].trim()),es=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ts=(e,t)=>t&&"number"==typeof e?t.transform(e):e,ns=(e,t,n)=>n>t?t:n<e?e:n,os={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},rs={...os,transform:e=>ns(0,1,e)},is={...os,default:1},ss=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),as=ss("deg"),ls=ss("%"),cs=ss("px"),us=ss("vh"),ds=ss("vw"),ps={...ls,parse:e=>ls.parse(e)/100,transform:e=>ls.transform(100*e)},hs={borderWidth:cs,borderTopWidth:cs,borderRightWidth:cs,borderBottomWidth:cs,borderLeftWidth:cs,borderRadius:cs,radius:cs,borderTopLeftRadius:cs,borderTopRightRadius:cs,borderBottomRightRadius:cs,borderBottomLeftRadius:cs,width:cs,maxWidth:cs,height:cs,maxHeight:cs,top:cs,right:cs,bottom:cs,left:cs,padding:cs,paddingTop:cs,paddingRight:cs,paddingBottom:cs,paddingLeft:cs,margin:cs,marginTop:cs,marginRight:cs,marginBottom:cs,marginLeft:cs,backgroundPositionX:cs,backgroundPositionY:cs},ms={rotate:as,rotateX:as,rotateY:as,rotateZ:as,scale:is,scaleX:is,scaleY:is,scaleZ:is,skew:as,skewX:as,skewY:as,distance:cs,translateX:cs,translateY:cs,translateZ:cs,x:cs,y:cs,z:cs,perspective:cs,transformPerspective:cs,opacity:rs,originX:ps,originY:ps,originZ:cs},fs={...os,transform:Math.round},gs={...hs,...ms,zIndex:fs,size:cs,fillOpacity:rs,strokeOpacity:rs,numOctaves:fs},xs={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},vs=qi.length;function ys(e,t,n){const{style:o,vars:r,transformOrigin:i}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(Zi.has(e))s=!0;else if(Xi(e))r[e]=n;else{const t=ts(n,gs[e]);e.startsWith("origin")?(a=!0,i[e]=t):o[e]=t}}if(t.transform||(s||n?o.transform=function(e,t,n){let o="",r=!0;for(let i=0;i<vs;i++){const s=qi[i],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const e=ts(a,gs[s]);l||(r=!1,o+=`${xs[s]||s}(${e}) `),n&&(t[s]=e)}}return o=o.trim(),n?o=n(t,r?"":o):r&&(o="none"),o}(t,e.transform,n):o.transform&&(o.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;o.transformOrigin=`${e} ${t} ${n}`}}const bs={offset:"stroke-dashoffset",array:"stroke-dasharray"},ws={offset:"strokeDashoffset",array:"strokeDasharray"};function js(e,t,n){return"string"==typeof e?e:cs.transform(t+n*e)}function Cs(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d){if(ys(e,c,d),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==r||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${js(t,e.x,e.width)} ${js(n,e.y,e.height)}`}(m,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==o&&(p.scale=o),void 0!==s&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?bs:ws;e[i.offset]=cs.transform(-o);const s=cs.transform(t),a=cs.transform(n);e[i.array]=`${s} ${a}`}(p,s,a,l,!1)}const Ss=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ks=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Ms=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ts(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const Ps=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function As(e,t,n,o){Ts(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(Ps.has(n)?n:Bi(n),t.attrs[n])}const Bs={};function Es(e,{layout:t,layoutId:n}){return Zi.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Bs[e]||"opacity"===e)}function zs(e,t,n){var o;const{style:r}=e,i={};for(const s in r)(_i(r[s])||t.style&&_i(t.style[s])||Es(s,e)||void 0!==(null===(o=null==n?void 0:n.getValue(s))||void 0===o?void 0:o.liveStyle))&&(i[s]=r[s]);return i}function Is(e,t,n){const o=zs(e,t,n);for(const n in e)if(_i(e[n])||_i(t[n])){o[-1!==qi.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return o}const Rs=["x","y","width","height","cx","cy","r"],Vs={useVisualState:Gi({scrapeMotionValuesFromProps:Is,createRenderState:ks,onUpdate:({props:e,prevProps:t,current:n,renderState:o,latestValues:r})=>{if(!n)return;let i=!!e.drag;if(!i)for(const e in r)if(Zi.has(e)){i=!0;break}if(!i)return;let s=!t;if(t)for(let n=0;n<Rs.length;n++){const o=Rs[n];e[o]!==t[o]&&(s=!0)}s&&ri.read((()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,o),ri.render((()=>{Cs(o,r,Ms(n.tagName),e.transformTemplate),As(n,o)}))}))}})},Fs={useVisualState:Gi({scrapeMotionValuesFromProps:zs,createRenderState:Ss})};function Ls(e,t,n){for(const o in t)_i(t[o])||Es(o,n)||(e[o]=t[o])}function Ds(t,n){const o={};return Ls(o,t.style||{},t),Object.assign(o,function({transformTemplate:t},n){return e.useMemo((()=>{const e={style:{},transform:{},transformOrigin:{},vars:{}};return ys(e,n,t),Object.assign({},e.vars,e.style)}),[n])}(t,n)),o}function Os(e,t){const n={},o=Ds(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}function $s(t,n,o,r){const i=e.useMemo((()=>{const e={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Cs(e,n,Ms(r),t.transformTemplate),{...e.attrs,style:{...e.style}}}),[n]);if(t.style){const e={};Ls(e,t.style,t),i.style={...e,...i.style}}return i}function Hs(t=!1){return(n,o,r,{latestValues:i},s)=>{const a=($i(n)?$s:Os)(o,i,s,n),l=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(hi(r)||!0===n&&pi(r)||!t&&!pi(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(o,"string"==typeof n,t),c=n!==e.Fragment?{...l,...a,ref:r}:{},{children:u}=o,d=e.useMemo((()=>_i(u)?u.get():u),[u]);return e.createElement(n,{...c,children:d})}}function Ws(e,t){return function(n,{forwardMotionProps:o}={forwardMotionProps:!1}){return Li({...$i(n)?Vs:Fs,preloadedFeatures:e,useRender:Hs(o),createVisualElement:t,Component:n})}}function Ns(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function _s(e,t,n){const o=e.getProps();return Wi(o,t,void 0!==n?n:o.custom,e)}function Us(e,t){return e?e[t]||e.default||e:void 0}const Gs=new Set(["width","height","top","left","right","bottom",...qi]);let Ks;function qs(){Ks=void 0}const Zs={now:()=>(void 0===Ks&&Zs.set(si.isProcessing||ti?si.timestamp:performance.now()),Ks),set:e=>{Ks=e,queueMicrotask(qs)}};function Ys(e,t){-1===e.indexOf(t)&&e.push(t)}function Xs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Js{constructor(){this.subscriptions=[]}add(e){return Ys(this.subscriptions,e),()=>Xs(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Qs(e,t){return t?e*(1e3/t):0}class ea{constructor(e,t={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Zs.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Zs.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&gi(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Js);const n=this.events[e].add(t);return"change"===e?()=>{n(),ri.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Zs.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Qs(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ta(e,t){return new ea(e,t)}function na(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ta(n))}function oa(e,t){const n=e.getValue("willChange");if(o=n,Boolean(_i(o)&&o.add))return n.add(t);var o}function ra(e){return e.props[Ei]}function ia(e){let t;return()=>(void 0===t&&(t=e()),t)}const sa=ia((()=>void 0!==window.ScrollTimeline));class aa{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>sa()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class la extends aa{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}const ca=e=>1e3*e,ua=e=>e/1e3;function da(e){return"function"==typeof e}function pa(e,t){e.timeline=t,e.onfinish=null}const ha=e=>Array.isArray(e)&&"number"==typeof e[0],ma={linearEasing:void 0};function fa(e,t){const n=ia(e);return()=>{var e;return null!==(e=ma[t])&&void 0!==e?e:n()}}const ga=fa((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),xa=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},va=(e,t,n=10)=>{let o="";const r=Math.max(Math.round(t/n),2);for(let t=0;t<r;t++)o+=e(xa(0,r-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`};function ya(e){return Boolean("function"==typeof e&&ga()||!e||"string"==typeof e&&(e in wa||ga())||ha(e)||Array.isArray(e)&&e.every(ya))}const ba=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,wa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ba([0,.65,.55,1]),circOut:ba([.55,0,1,.45]),backIn:ba([.31,.01,.66,-.59]),backOut:ba([.33,1.53,.69,.99])};function ja(e,t){return e?"function"==typeof e&&ga()?va(e,t):ha(e)?ba(e):Array.isArray(e)?e.map((e=>ja(e,t)||wa.easeOut)):wa[e]:void 0}const Ca=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Sa(e,t,n,o){if(e===t&&n===o)return Jr;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=Ca(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Ca(r(e),t,o)}const ka=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ma=e=>t=>1-e(1-t),Ta=Sa(.33,1.53,.69,.99),Pa=Ma(Ta),Aa=ka(Pa),Ba=e=>(e*=2)<1?.5*Pa(e):.5*(2-Math.pow(2,-10*(e-1))),Ea=e=>1-Math.sin(Math.acos(e)),za=Ma(Ea),Ia=ka(Ea),Ra=e=>/^0[^.\s]+$/u.test(e);const Va=e=>Math.round(1e5*e)/1e5,Fa=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const La=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Da=(e,t)=>n=>Boolean("string"==typeof n&&La.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),Oa=(e,t,n)=>o=>{if("string"!=typeof o)return o;const[r,i,s,a]=o.match(Fa);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},$a={...os,transform:e=>Math.round((e=>ns(0,255,e))(e))},Ha={test:Da("rgb","red"),parse:Oa("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+$a.transform(e)+", "+$a.transform(t)+", "+$a.transform(n)+", "+Va(rs.transform(o))+")"};const Wa={test:Da("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:Ha.transform},Na={test:Da("hsl","hue"),parse:Oa("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ls.transform(Va(t))+", "+ls.transform(Va(n))+", "+Va(rs.transform(o))+")"},_a={test:e=>Ha.test(e)||Wa.test(e)||Na.test(e),parse:e=>Ha.test(e)?Ha.parse(e):Na.test(e)?Na.parse(e):Wa.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Ha.transform(e):Na.transform(e)},Ua=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const Ga="number",Ka="color",qa=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Za(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},r=[];let i=0;const s=t.replace(qa,(e=>(_a.test(e)?(o.color.push(i),r.push(Ka),n.push(_a.parse(e))):e.startsWith("var(")?(o.var.push(i),r.push("var"),n.push(e)):(o.number.push(i),r.push(Ga),n.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:n,split:s,indexes:o,types:r}}function Ya(e){return Za(e).values}function Xa(e){const{split:t,types:n}=Za(e),o=t.length;return e=>{let r="";for(let i=0;i<o;i++)if(r+=t[i],void 0!==e[i]){const t=n[i];r+=t===Ga?Va(e[i]):t===Ka?_a.transform(e[i]):e[i]}return r}}const Ja=e=>"number"==typeof e?0:e;const Qa={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(Fa))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Ua))||void 0===n?void 0:n.length)||0)>0},parse:Ya,createTransformer:Xa,getAnimatableNone:function(e){const t=Ya(e);return Xa(e)(t.map(Ja))}},el=new Set(["brightness","contrast","saturate","opacity"]);function tl(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(Fa)||[];if(!o)return e;const r=n.replace(o,"");let i=el.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const nl=/\b([a-z-]*)\(.*?\)/gu,ol={...Qa,getAnimatableNone:e=>{const t=e.match(nl);return t?t.map(tl).join(" "):e}},rl={...gs,color:_a,backgroundColor:_a,outlineColor:_a,fill:_a,stroke:_a,borderColor:_a,borderTopColor:_a,borderRightColor:_a,borderBottomColor:_a,borderLeftColor:_a,filter:ol,WebkitFilter:ol},il=e=>rl[e];function sl(e,t){let n=il(e);return n!==ol&&(n=Qa),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const al=new Set(["auto","none","0"]);const ll=e=>e===os||e===cs,cl=(e,t)=>parseFloat(e.split(", ")[t]),ul=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/u);if(r)return cl(r[1],t);{const t=o.match(/^matrix\((.+)\)$/u);return t?cl(t[1],e):0}},dl=new Set(["x","y","z"]),pl=qi.filter((e=>!dl.has(e)));const hl={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ul(4,13),y:ul(5,14)};hl.translateX=hl.x,hl.translateY=hl.y;const ml=new Set;let fl=!1,gl=!1;function xl(){if(gl){const e=Array.from(ml).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return pl.forEach((n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var o;null===(o=e.getValue(t))||void 0===o||o.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}gl=!1,fl=!1,ml.forEach((e=>e.complete())),ml.clear()}function vl(){ml.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(gl=!0)}))}class yl{constructor(e,t,n,o,r,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=o,this.element=r,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ml.add(this),fl||(fl=!0,ri.read(vl),ri.resolveKeyframes(xl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:o}=this;for(let r=0;r<e.length;r++)if(null===e[r])if(0===r){const r=null==o?void 0:o.get(),i=e[e.length-1];if(void 0!==r)e[0]=r;else if(n&&t){const o=n.readValue(t,i);null!=o&&(e[0]=o)}void 0===e[0]&&(e[0]=i),o&&void 0===r&&o.set(e[0])}else e[r]=e[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ml.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ml.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const bl=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),wl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jl(e,t,n=1){ei(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=wl.exec(e);if(!t)return[,];const[,n,o,r]=t;return[`--${null!=n?n:o}`,r]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);if(i){const e=i.trim();return bl(e)?parseFloat(e):e}return Qi(r)?jl(r,t,n+1):r}const Cl=e=>t=>t.test(e),Sl=[os,cs,ls,as,ds,us,{test:e=>"auto"===e,parse:e=>e}],kl=e=>Sl.find(Cl(e));class Ml extends yl{constructor(e,t,n,o,r){super(e,t,n,o,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let o=e[n];if("string"==typeof o&&(o=o.trim(),Qi(o))){const r=jl(o,t.current);void 0!==r&&(e[n]=r),n===e.length-1&&(this.finalKeyframe=o)}}if(this.resolveNoneKeyframes(),!Gs.has(n)||2!==e.length)return;const[o,r]=e,i=kl(o),s=kl(r);if(i!==s)if(ll(i)&&ll(s))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(o=e[t])?0===o:null===o||"none"===o||"0"===o||Ra(o))&&n.push(t);var o;n.length&&function(e,t,n){let o,r=0;for(;r<e.length&&!o;){const t=e[r];"string"==typeof t&&!al.has(t)&&Za(t).values.length&&(o=e[r]),r++}if(o&&n)for(const r of t)e[r]=sl(n,o)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=hl[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const o=t[t.length-1];void 0!==o&&e.getValue(n,o).jump(o,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const i=o.length-1,s=o[i];o[i]=hl[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}const Tl=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Qa.test(e)&&"0"!==e||e.startsWith("url(")));function Pl(e,t,n,o){const r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],s=Tl(r,t),a=Tl(i,t);return Qr(s===a,`You are trying to animate ${t} from "${r}" to "${i}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${i} via the \`style\` property.`),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||da(n))&&o)}const Al=e=>null!==e;function Bl(e,{repeat:t,repeatType:n="loop"},o){const r=e.filter(Al),i=t&&"loop"!==n&&t%2==1?0:r.length-1;return i&&void 0!==o?o:r[i]}class El{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:o=0,repeatDelay:r=0,repeatType:i="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Zs.now(),this.options={autoplay:e,delay:t,type:n,repeat:o,repeatDelay:r,repeatType:i,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(vl(),xl()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=Zs.now(),this.hasAttemptedResolve=!0;const{name:n,type:o,velocity:r,delay:i,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Pl(e,n,o,r)){if(!i)return a&&a(Bl(e,this.options,t)),s&&s(),void this.resolveFinishedPromise();this.options.duration=0}const c=this.initPlayback(e,t);!1!==c&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}const zl=2e4;function Il(e){let t=0;let n=e.next(t);for(;!n.done&&t<zl;)t+=50,n=e.next(t);return t>=zl?1/0:t}const Rl=(e,t,n)=>e+(t-e)*n;function Vl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fl(e,t){return n=>n>0?t:e}const Ll=(e,t,n)=>{const o=e*e,r=n*(t*t-o)+o;return r<0?0:Math.sqrt(r)},Dl=[Wa,Ha,Na];function Ol(e){const t=(n=e,Dl.find((e=>e.test(n))));var n;if(Qr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let o=t.parse(e);return t===Na&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=Vl(a,o,e+1/3),i=Vl(a,o,e),s=Vl(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}(o)),o}const $l=(e,t)=>{const n=Ol(e),o=Ol(t);if(!n||!o)return Fl(e,t);const r={...n};return e=>(r.red=Ll(n.red,o.red,e),r.green=Ll(n.green,o.green,e),r.blue=Ll(n.blue,o.blue,e),r.alpha=Rl(n.alpha,o.alpha,e),Ha.transform(r))},Hl=(e,t)=>n=>t(e(n)),Wl=(...e)=>e.reduce(Hl),Nl=new Set(["none","hidden"]);function _l(e,t){return n=>Rl(e,t,n)}function Ul(e){return"number"==typeof e?_l:"string"==typeof e?Qi(e)?Fl:_a.test(e)?$l:ql:Array.isArray(e)?Gl:"object"==typeof e?_a.test(e)?$l:Kl:Fl}function Gl(e,t){const n=[...e],o=n.length,r=e.map(((e,n)=>Ul(e)(e,t[n])));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}}function Kl(e,t){const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=Ul(e[r])(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}}const ql=(e,t)=>{const n=Qa.createTransformer(t),o=Za(e),r=Za(t);return o.indexes.var.length===r.indexes.var.length&&o.indexes.color.length===r.indexes.color.length&&o.indexes.number.length>=r.indexes.number.length?Nl.has(e)&&!r.values.length||Nl.has(t)&&!o.values.length?function(e,t){return Nl.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Wl(Gl(function(e,t){var n;const o=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],a=e.indexes[s][r[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;o[i]=l,r[s]++}return o}(o,r),r.values),n):(Qr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Fl(e,t))};function Zl(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Rl(e,t,n);return Ul(e)(e,t)}function Yl(e,t,n){const o=Math.max(t-5,0);return Qs(n-e(o),t-o)}const Xl=100,Jl=10,Ql=1,ec=0,tc=800,nc=.3,oc=.3,rc={granular:.01,default:2},ic={granular:.005,default:.5},sc=.01,ac=10,lc=.05,cc=1;function uc({duration:e=tc,bounce:t=nc,velocity:n=ec,mass:o=Ql}){let r,i;Qr(e<=ca(ac),"Spring duration must be 10 seconds or less");let s=1-t;s=ns(lc,cc,s),e=ns(sc,ac,ua(e)),s<1?(r=t=>{const o=t*s,r=o*e;return.001-(o-n)/pc(t,s)*Math.exp(-r)},i=t=>{const o=t*s*e,i=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=pc(Math.pow(t,2),s);return(.001-r(t)>0?-1:1)*((i-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<dc;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=ca(e),isNaN(a))return{stiffness:Xl,damping:Jl,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const dc=12;function pc(e,t){return e*Math.sqrt(1-t*t)}const hc=["duration","bounce"],mc=["stiffness","damping","mass"];function fc(e,t){return t.some((t=>void 0!==e[t]))}function gc(e=oc,t=nc){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:r}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:d,velocity:p,isResolvedFromDuration:h}=function(e){let t={velocity:ec,stiffness:Xl,damping:Jl,mass:Ql,isResolvedFromDuration:!1,...e};if(!fc(e,mc)&&fc(e,hc))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(1.2*n),r=o*o,i=2*ns(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:Ql,stiffness:r,damping:i}}else{const n=uc(e);t={...t,...n,mass:Ql},t.isResolvedFromDuration=!0}return t}({...n,velocity:-ua(n.velocity||0)}),m=p||0,f=c/(2*Math.sqrt(l*u)),g=s-i,x=ua(Math.sqrt(l/u)),v=Math.abs(g)<5;let y;if(o||(o=v?rc.granular:rc.default),r||(r=v?ic.granular:ic.default),f<1){const e=pc(x,f);y=t=>{const n=Math.exp(-f*x*t);return s-n*((m+f*x*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===f)y=e=>s-Math.exp(-x*e)*(g+(m+x*g)*e);else{const e=x*Math.sqrt(f*f-1);y=t=>{const n=Math.exp(-f*x*t),o=Math.min(e*t,300);return s-n*((m+f*x*g)*Math.sinh(o)+e*g*Math.cosh(o))/e}}const b={calculatedDuration:h&&d||null,next:e=>{const t=y(e);if(h)a.done=e>=d;else{let n=0;f<1&&(n=0===e?ca(m):Yl(y,e,t));const i=Math.abs(n)<=o,l=Math.abs(s-t)<=r;a.done=i&&l}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(Il(b),zl),t=va((t=>b.next(e*t).value),e,30);return e+"ms "+t}};return b}function xc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const x=e=>-m*Math.exp(-e/o),v=e=>g+x(e),y=e=>{const t=x(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let b,w;const j=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(b=e,w=gc({keyframes:[p.value,h(p.value)],velocity:Yl(v,e,p.value),damping:r,stiffness:i,restDelta:c,restSpeed:u}))};return j(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==b||(t=!0,y(e),j(e)),void 0!==b&&e>=b?w.next(e-b):(!t&&y(e),p)}}}const vc=Sa(.42,0,1,1),yc=Sa(0,0,.58,1),bc=Sa(.42,0,.58,1),wc={linear:Jr,easeIn:vc,easeInOut:bc,easeOut:yc,circIn:Ea,circInOut:Ia,circOut:za,backIn:Pa,backInOut:Aa,backOut:Ta,anticipate:Ba},jc=e=>{if(ha(e)){ei(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return Sa(t,n,o,r)}return"string"==typeof e?(ei(void 0!==wc[e],`Invalid easing type '${e}'`),wc[e]):e};function Cc(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(ei(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const o=[],r=n||Zl,i=e.length-1;for(let n=0;n<i;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Jr:t;i=Wl(e,i)}o.push(i)}return o}(t,o,r),l=a.length,c=n=>{if(s&&n<e[0])return t[0];let o=0;if(l>1)for(;o<e.length-2&&!(n<e[o+1]);o++);const r=xa(e[o],e[o+1],n);return a[o](r)};return n?t=>c(ns(e[0],e[i-1],t)):c}function Sc(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=xa(0,t,o);e.push(Rl(n,1,r))}}(t,e.length-1),t}function kc(e,t){return e.map((()=>t||bc)).splice(0,e.length-1)}function Mc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(jc):jc(o),i={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:Sc(t),e),a=Cc(s,t,{ease:Array.isArray(r)?r:kc(t,r)});return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}const Tc=e=>{const t=({timestamp:t})=>e(t);return{start:()=>ri.update(t,!0),stop:()=>ii(t),now:()=>si.isProcessing?si.timestamp:Zs.now()}},Pc={decay:xc,inertia:xc,tween:Mc,keyframes:Mc,spring:gc},Ac=e=>e/100;class Bc extends El{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:o,keyframes:r}=this.options,i=(null==o?void 0:o.KeyframeResolver)||yl;this.resolver=new i(r,((e,t)=>this.onKeyframesResolved(e,t)),t,n,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:r,velocity:i=0}=this.options,s=da(t)?t:Pc[t]||Mc;let a,l;s!==Mc&&"number"!=typeof e[0]&&("production"!==process.env.NODE_ENV&&ei(2===e.length,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=Wl(Ac,Zl(e[0],e[1])),e=[0,100]);const c=s({...this.options,keyframes:e});"mirror"===r&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===c.calculatedDuration&&(c.calculatedDuration=Il(c));const{calculatedDuration:u}=c,d=u+o;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(n+1)-o}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:o,generator:r,mirroredGenerator:i,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return r.next(0);const{delay:d,repeat:p,repeatType:h,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),x=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let v=this.currentTime,y=r;if(p){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,p+1);Boolean(t%2)&&("reverse"===h?(n=1-n,m&&(n-=m/u)):"mirror"===h&&(y=i)),v=ns(0,1,n)*u}const b=x?{done:!1,value:a[0]}:y.next(v);s&&(b.value=s(b.value));let{done:w}=b;x||null===l||(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return j&&void 0!==o&&(b.value=Bl(a,this.options,o)),f&&f(b.value),j&&this.finish(),b}get duration(){const{resolved:e}=this;return e?ua(e.calculatedDuration):0}get time(){return ua(this.currentTime)}set time(e){e=ca(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=ua(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Tc,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const o=this.driver.now();null!==this.holdTime?this.startTime=o-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=o):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Ec=new Set(["opacity","clipPath","filter","transform"]);function zc(e,t,n,{delay:o=0,duration:r=300,repeat:i=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=ja(a,r);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}const Ic=ia((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const Rc={anticipate:Ba,backInOut:Aa,circInOut:Ia};class Vc extends El{constructor(e){super(e);const{name:t,motionValue:n,element:o,keyframes:r}=this.options;this.resolver=new Ml(r,((e,t)=>this.onKeyframesResolved(e,t)),t,n,o),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:o,ease:r,type:i,motionValue:s,name:a,startTime:l}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof r&&ga()&&r in Rc&&(r=Rc[r]),function(e){return da(e.type)||"spring"===e.type||!ya(e.ease)}(this.options)){const{onComplete:t,onUpdate:s,motionValue:a,element:l,...c}=this.options,u=function(e,t){const n=new Bc({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:e[0]};const r=[];let i=0;for(;!o.done&&i<2e4;)o=n.sample(i),r.push(o.value),i+=10;return{times:void 0,keyframes:r,duration:i-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,o=u.times,r=u.ease,i="keyframes"}const c=zc(s.owner.current,a,e,{...this.options,duration:n,times:o,ease:r});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(pa(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;s.set(Bl(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:o,type:i,ease:r,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return ua(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return ua(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=ca(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return Jr;const{animation:n}=t;pa(n,e)}else this.pendingTimeline=e;return Jr}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:o,type:r,ease:i,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,element:l,...c}=this.options,u=new Bc({...c,keyframes:n,duration:o,type:r,ease:i,times:s,isGenerator:!0}),d=ca(this.time);e.setWithVelocity(u.sample(d-10).value,u.sample(d).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:r,damping:i,type:s}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return Ic()&&n&&Ec.has(n)&&!a&&!l&&!o&&"mirror"!==r&&0!==i&&"inertia"!==s}}const Fc={type:"spring",stiffness:500,damping:25,restSpeed:10},Lc={type:"keyframes",duration:.8},Dc={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Oc=(e,{keyframes:t})=>t.length>2?Lc:Zi.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Fc:Dc;const $c=(e,t,n,o={},r,i)=>s=>{const a=Us(o,e)||{},l=a.delay||o.delay||0;let{elapsed:c=0}=o;c-=ca(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:r};(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...Oc(e,u)}),u.duration&&(u.duration=ca(u.duration)),u.repeatDelay&&(u.repeatDelay=ca(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(d=!0)),d&&!i&&void 0!==t.get()){const e=Bl(u.keyframes,a);if(void 0!==e)return ri.update((()=>{u.onUpdate(e),u.onComplete()})),new la([])}return!i&&Vc.supports(u)?new Vc(u):new Bc(u)};function Hc({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function Wc(e,t,{delay:n=0,transitionOverride:o,type:r}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;o&&(s=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in l){const o=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),r=l[t];if(void 0===r||u&&Hc(u,t))continue;const a={delay:n,...Us(s||{},t)};let d=!1;if(window.MotionHandoffAnimation){const n=ra(e);if(n){const e=window.MotionHandoffAnimation(n,t,ri);null!==e&&(a.startTime=e,d=!0)}}oa(e,t),o.start($c(t,o,r,e.shouldReduceMotion&&Gs.has(t)?{type:!1}:a,e,d));const p=o.animation;p&&c.push(p)}return a&&Promise.all(c).then((()=>{ri.update((()=>{a&&function(e,t){const n=_s(e,t);let{transitionEnd:o={},transition:r={},...i}=n||{};i={...i,...o};for(const t in i)na(e,t,(s=i[t],Ni(s)?s[s.length-1]||0:s));var s}(e,a)}))})),c}function Nc(e,t,n={}){var o;const r=_s(e,t,"exit"===n.type?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Wc(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,o=0,r=1,i){const s=[],a=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(_c).forEach(((e,o)=>{e.notify("AnimationStart",t),s.push(Nc(e,t,{...i,delay:n+l(o)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,r+o,s,a,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(n.delay)])}function _c(e,t){return e.sortNodePosition(t)}const Uc=ji.length;function Gc(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Gc(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Uc;n++){const o=ji[n],r=e.props[o];(yi(r)||!1===r)&&(t[o]=r)}return t}const Kc=[...wi].reverse(),qc=wi.length;function Zc(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map((t=>Nc(e,t,n)));o=Promise.all(r)}else if("string"==typeof t)o=Nc(e,t,n);else{const r="function"==typeof t?_s(e,t,n.custom):t;o=Promise.all(Wc(e,r,n))}return o.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}function Yc(e){let t=Zc(e),n=Qc(),o=!0;const r=t=>(n,o)=>{var r;const i=_s(e,o,"exit"===t?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);if(i){const{transition:e,transitionEnd:t,...o}=i;n={...n,...o,...t}}return n};function i(i){const{props:s}=e,a=Gc(e.parent)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;t<qc;t++){const p=Kc[t],h=n[p],m=void 0!==s[p]?s[p]:a[p],f=yi(m),g=p===i?h.isActive:null;!1===g&&(d=t);let x=m===a[p]&&m!==s[p]&&f;if(x&&o&&e.manuallyAnimateOnMount&&(x=!1),h.protectedKeys={...u},!h.isActive&&null===g||!m&&!h.prevProp||bi(m)||"boolean"==typeof m)continue;const v=Xc(h.prevProp,m);let y=v||p===i&&h.isActive&&!x&&f||t>d&&f,b=!1;const w=Array.isArray(m)?m:[m];let j=w.reduce(r(p),{});!1===g&&(j={});const{prevResolvedValues:C={}}=h,S={...C,...j},k=t=>{y=!0,c.has(t)&&(b=!0,c.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in S){const t=j[e],n=C[e];if(u.hasOwnProperty(e))continue;let o=!1;o=Ni(t)&&Ni(n)?!Ns(t,n):t!==n,o?null!=t?k(e):c.add(e):void 0!==t&&c.has(e)?k(e):h.protectedKeys[e]=!0}h.prevProp=m,h.prevResolvedValues=j,h.isActive&&(u={...u,...j}),o&&e.blockInitialAnimation&&(y=!1);y&&(!(x&&v)||b)&&l.push(...w.map((e=>({animation:e,options:{type:p}}))))}if(c.size){const t={};c.forEach((n=>{const o=e.getBaseTarget(n),r=e.getValue(n);r&&(r.liveStyle=!0),t[n]=null!=o?o:null})),l.push({animation:t})}let p=Boolean(l.length);return!o||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),o=!1,p?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,o){var r;if(n[t].isActive===o)return Promise.resolve();null===(r=e.variantChildren)||void 0===r||r.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)})),n[t].isActive=o;const s=i(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Qc(),o=!0}}}function Xc(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Ns(t,e)}function Jc(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Qc(){return{animate:Jc(!0),whileInView:Jc(),whileHover:Jc(),whileTap:Jc(),whileDrag:Jc(),whileFocus:Jc(),exit:Jc()}}class eu{constructor(e){this.isMounted=!1,this.node=e}update(){}}let tu=0;const nu={animation:{Feature:class extends eu{constructor(e){super(e),e.animationState||(e.animationState=Yc(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();bi(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends eu{constructor(){super(...arguments),this.id=tu++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const o=this.node.animationState.setActive("exit",!e);t&&!e&&o.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},ou={x:!1,y:!1};function ru(){return ou.x||ou.y}const iu=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function su(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function au(e){return{point:{x:e.pageX,y:e.pageY}}}function lu(e,t,n,o){return su(e,t,(e=>t=>iu(t)&&e(t,au(t)))(n),o)}const cu=(e,t)=>Math.abs(e-t);class uu{constructor(e,t,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=hu(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=cu(e.x,t.x),o=cu(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=si;this.history.push({...o,timestamp:r});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=du(t,this.transformPagePoint),ri.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:o,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=hu("pointercancel"===e.type?this.lastMoveEventInfo:du(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),o&&o(e,i)},!iu(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=n,this.contextWindow=o||window;const i=du(au(e),this.transformPagePoint),{point:s}=i,{timestamp:a}=si;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,hu(i,this.history)),this.removeListeners=Wl(lu(this.contextWindow,"pointermove",this.handlePointerMove),lu(this.contextWindow,"pointerup",this.handlePointerUp),lu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ii(this.updatePoint)}}function du(e,t){return t?{point:t(e.point)}:e}function pu(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hu({point:e},t){return{point:e,delta:pu(e,fu(t)),offset:pu(e,mu(t)),velocity:gu(t,.1)}}function mu(e){return e[0]}function fu(e){return e[e.length-1]}function gu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=fu(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>ca(t)));)n--;if(!o)return{x:0,y:0};const i=ua(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function xu(e){return e.max-e.min}function vu(e,t,n,o=.5){e.origin=o,e.originPoint=Rl(t.min,t.max,e.origin),e.scale=xu(n)/xu(t),e.translate=Rl(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function yu(e,t,n,o){vu(e.x,t.x,n.x,o?o.originX:void 0),vu(e.y,t.y,n.y,o?o.originY:void 0)}function bu(e,t,n){e.min=n.min+t.min,e.max=e.min+xu(t)}function wu(e,t,n){e.min=t.min-n.min,e.max=e.min+xu(t)}function ju(e,t,n){wu(e.x,t.x,n.x),wu(e.y,t.y,n.y)}function Cu(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Su(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const ku=.35;function Mu(e,t,n){return{min:Tu(e,t),max:Tu(e,n)}}function Tu(e,t){return"number"==typeof e?e:e[t]||0}const Pu=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Au(e){return[e("x"),e("y")]}function Bu({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Eu(e){return void 0===e||1===e}function zu({scale:e,scaleX:t,scaleY:n}){return!Eu(e)||!Eu(t)||!Eu(n)}function Iu(e){return zu(e)||Ru(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ru(e){return Vu(e.x)||Vu(e.y)}function Vu(e){return e&&"0%"!==e}function Fu(e,t,n){return n+t*(e-n)}function Lu(e,t,n,o,r){return void 0!==r&&(e=Fu(e,r,o)),Fu(e,n,o)+t}function Du(e,t=0,n=1,o,r){e.min=Lu(e.min,t,n,o,r),e.max=Lu(e.max,t,n,o,r)}function Ou(e,{x:t,y:n}){Du(e.x,t.translate,t.scale,t.originPoint),Du(e.y,n.translate,n.scale,n.originPoint)}const $u=.999999999999,Hu=1.0000000000001;function Wu(e,t){e.min=e.min+t,e.max=e.max+t}function Nu(e,t,n,o,r=.5){Du(e,t,n,Rl(e.min,e.max,r),o)}function _u(e,t){Nu(e.x,t.x,t.scaleX,t.scale,t.originX),Nu(e.y,t.y,t.scaleY,t.scale,t.originY)}function Uu(e,t){return Bu(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const Gu=({current:e})=>e?e.ownerDocument.defaultView:null,Ku=new WeakMap;class qu{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:o}=this.getProps();this.panSession=new uu(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(au(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(i=n)||"y"===i?ou[i]?null:(ou[i]=!0,()=>{ou[i]=!1}):ou.x||ou.y?null:(ou.x=ou.y=!0,()=>{ou.x=ou.y=!1}),!this.openDragLock))return;var i;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Au((e=>{let t=this.getAxisMotionValue(e).get()||0;if(ls.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=xu(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),r&&ri.postRender((()=>r(e,t))),oa(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(o&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Au((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,contextWindow:Gu(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&ri.postRender((()=>r(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:o}=this.getProps();if(!n||!Zu(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?Rl(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?Rl(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,r=this.constraints;t&&Pi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!o)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:Cu(e.x,n,r),y:Cu(e.y,t,o)}}(o.layoutBox,t),this.elastic=function(e=ku){return!1===e?e=0:!0===e&&(e=ku),{x:Mu(e,"left","right"),y:Mu(e,"top","bottom")}}(n),r!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Au((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Pi(e))return!1;const n=e.current;ei(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=Uu(e,n),{scroll:r}=t;return r&&(Wu(o.x,r.offset.x),Wu(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Su(e.x,t.x),y:Su(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Bu(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Au((s=>{if(!Zu(s,t,this.currentDirection))return;let l=a[s]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return oa(this.visualElement,e),n.start($c(e,n,0,t,this.visualElement,!1))}stopAnimation(){Au((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){Au((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Au((t=>{const{drag:n}=this.getProps();if(!Zu(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-Rl(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Pi(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Au((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();o[e]=function(e,t){let n=.5;const o=xu(e),r=xu(t);return r>o?n=xa(t.min,t.max-o,e.min):o>r&&(n=xa(e.min,e.max-r,t.min)),ns(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Au((t=>{if(!Zu(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(Rl(r,i,o[t]))}))}addListeners(){if(!this.visualElement.current)return;Ku.set(this.visualElement,this);const e=lu(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();Pi(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),ri.read(t);const r=su(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Au((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=ku,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function Zu(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Yu=e=>(t,n)=>{e&&ri.postRender((()=>e(t,n)))};const Xu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ju(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Qu={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!cs.test(e))return e;e=parseFloat(e)}return`${Ju(e,t.target.x)}% ${Ju(e,t.target.y)}%`}},ed={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=Qa.parse(e);if(r.length>5)return o;const i=Qa.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=Rl(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),i(r)}};class td extends e.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;!function(e){for(const t in e)Bs[t]=e[t],Xi(t)&&(Bs[t].isCSSVariable=!0)}(od),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",(()=>{this.safeToRemove()})),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Xu.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||ri.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),zi.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nd(t){const[n,o]=function(t=!0){const n=e.useContext(qr);if(null===n)return[!0,null];const{isPresent:o,onExitComplete:r,register:i}=n,s=e.useId();e.useEffect((()=>{t&&i(s)}),[t]);const a=e.useCallback((()=>t&&r&&r(s)),[s,r,t]);return!o&&r?[!1,a]:[!0]}(),r=e.useContext(Kr);return ge.jsx(td,{...t,layoutGroup:r,switchLayoutGroup:e.useContext(Ri),isPresent:n,safeToRemove:o})}const od={borderRadius:{...Qu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Qu,borderTopRightRadius:Qu,borderBottomLeftRadius:Qu,borderBottomRightRadius:Qu,boxShadow:ed};const rd=(e,t)=>e.depth-t.depth;class id{constructor(){this.children=[],this.isDirty=!1}add(e){Ys(this.children,e),this.isDirty=!0}remove(e){Xs(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rd),this.isDirty=!1,this.children.forEach(e)}}const sd=["TopLeft","TopRight","BottomLeft","BottomRight"],ad=sd.length,ld=e=>"string"==typeof e?parseFloat(e):e,cd=e=>"number"==typeof e||cs.test(e);function ud(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const dd=hd(0,.5,za),pd=hd(.5,.95,Jr);function hd(e,t,n){return o=>o<e?0:o>t?1:n(xa(e,t,o))}function md(e,t){e.min=t.min,e.max=t.max}function fd(e,t){md(e.x,t.x),md(e.y,t.y)}function gd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function xd(e,t,n,o,r){return e=Fu(e-=t,1/n,o),void 0!==r&&(e=Fu(e,1/r,o)),e}function vd(e,t,[n,o,r],i,s){!function(e,t=0,n=1,o=.5,r,i=e,s=e){ls.test(t)&&(t=parseFloat(t),t=Rl(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Rl(i.min,i.max,o);e===i&&(a-=t),e.min=xd(e.min,t,n,a,r),e.max=xd(e.max,t,n,a,r)}(e,t[n],t[o],t[r],t.scale,i,s)}const yd=["x","scaleX","originX"],bd=["y","scaleY","originY"];function wd(e,t,n,o){vd(e.x,t,yd,n?n.x:void 0,o?o.x:void 0),vd(e.y,t,bd,n?n.y:void 0,o?o.y:void 0)}function jd(e){return 0===e.translate&&1===e.scale}function Cd(e){return jd(e.x)&&jd(e.y)}function Sd(e,t){return e.min===t.min&&e.max===t.max}function kd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Md(e,t){return kd(e.x,t.x)&&kd(e.y,t.y)}function Td(e){return xu(e.x)/xu(e.y)}function Pd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Ad{constructor(){this.members=[]}add(e){Ys(this.members,e),e.scheduleRender()}remove(e){if(Xs(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Bd={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ed="undefined"!=typeof window&&void 0!==window.MotionDebug,zd=["","X","Y","Z"],Id={visibility:"hidden"};let Rd=0;function Vd(e,t,n,o){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),o&&(o[e]=0))}function Fd(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ra(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ri,!(t||o))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&Fd(o)}function Ld({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Rd++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Ed&&(Bd.totalNodes=Bd.resolvedTargetDeltas=Bd.recalculatedProjection=0),this.nodes.forEach($d),this.nodes.forEach(Kd),this.nodes.forEach(qd),this.nodes.forEach(Hd),Ed&&window.MotionDebug.record(Bd)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new id)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Js),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=Zs.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(ii(o),e(i-t))};return ri.read(o,!0),()=>ii(o)}(o,250),Xu.hasAnimatedSinceResize&&(Xu.hasAnimatedSinceResize=!1,this.nodes.forEach(Gd))}))}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||ep,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Md(this.targetLayout,o),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Us(r,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Gd(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ii(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zd),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Fd(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Nd);this.isUpdating||this.nodes.forEach(_d),this.isUpdating=!1,this.nodes.forEach(Ud),this.nodes.forEach(Dd),this.nodes.forEach(Od),this.clearAllSnapshots();const e=Zs.now();si.delta=ns(0,1e3/60,e-si.timestamp),si.timestamp=e,si.isProcessing=!0,ai.update.process(si),ai.preRender.process(si),ai.render.process(si),si.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zi.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Wd),this.sharedNodes.forEach(Yd)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ri.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ri.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||xu(this.snapshot.measuredBox.x)||xu(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=o(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Cd(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||Iu(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),op((o=n).x),op(o.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(ip))){const{scroll:e}=this.root;e&&(Wu(n.x,e.offset.x),Wu(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(fd(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const o=this.path[t],{scroll:r,options:i}=o;o!==this.root&&r&&i.layoutScroll&&(r.wasRoot&&fd(n,e),Wu(n.x,r.offset.x),Wu(n.y,r.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};fd(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&_u(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),Iu(o.latestValues)&&_u(n,o.latestValues)}return Iu(this.latestValues)&&_u(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};fd(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Iu(n.latestValues))continue;zu(n.latestValues)&&n.updateSnapshot();const o={x:{min:0,max:0},y:{min:0,max:0}};fd(o,n.measurePageBox()),wd(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return Iu(this.latestValues)&&wd(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==si.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=si.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ju(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),fd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,bu(s.x,a.x,l.x),bu(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):fd(this.target,this.layout.layoutBox),Ou(this.target,this.targetDelta)):fd(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ju(this.relativeTargetOrigin,this.target,e.target),fd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ed&&Bd.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!zu(this.parent.latestValues)&&!Ru(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===si.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;fd(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let a=0;a<r;a++){i=n[a],s=i.projectionDelta;const{visualElement:r}=i.options;r&&r.props.style&&"contents"===r.props.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&_u(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Ou(e,s)),o&&Iu(i.latestValues)&&_u(e,i.latestValues))}t.x<Hu&&t.x>$u&&(t.x=1),t.y<Hu&&t.y>$u&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(gd(this.prevProjectionDelta.x,this.projectionDelta.x),gd(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),yu(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&Pd(this.projectionDelta.x,this.prevProjectionDelta.x)&&Pd(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Ed&&Bd.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Qd));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,p,h,m,f,g;Xd(i.x,e.x,n),Xd(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ju(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,m=this.relativeTargetOrigin,f=s,g=n,Jd(h.x,m.x,f.x,g),Jd(h.y,m.y,f.y,g),d&&(l=this.relativeTarget,p=d,Sd(l.x,p.x)&&Sd(l.y,p.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),fd(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=Rl(0,void 0!==n.opacity?n.opacity:1,dd(o)),e.opacityExit=Rl(void 0!==t.opacity?t.opacity:1,0,pd(o))):i&&(e.opacity=Rl(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<ad;r++){const i=`border${sd[r]}Radius`;let s=ud(t,i),a=ud(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||cd(s)===cd(a)?(e[i]=Math.max(Rl(ld(s),ld(a),o),0),(ls.test(a)||ls.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=Rl(t.rotate||0,n.rotate||0,o))}(r,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ii(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ri.update((()=>{Xu.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=_i(e)?e:ta(e);return o.start($c("",o,t,n)),o.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&rp(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=xu(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=xu(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}fd(t,n),_u(t,r),yu(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ad);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const o={};n.z&&Vd("z",e,o,this.animationValues);for(let t=0;t<zd.length;t++)Vd(`rotate${zd[t]}`,e,o,this.animationValues),Vd(`skew${zd[t]}`,e,o,this.animationValues);e.render();for(const t in o)e.setStaticValue(t,o[t]),this.animationValues&&(this.animationValues[t]=o[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Id;const o={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Ui(null==e?void 0:e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Ui(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Iu(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=function(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((r||i||s)&&(o=`translate3d(${r}px, ${i}px, ${s}px) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:r,rotateY:i,skewX:s,skewY:a}=n;e&&(o=`perspective(${e}px) ${o}`),t&&(o+=`rotate(${t}deg) `),r&&(o+=`rotateX(${r}deg) `),i&&(o+=`rotateY(${i}deg) `),s&&(o+=`skewX(${s}deg) `),a&&(o+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(o+=`scale(${a}, ${l})`),o||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),r&&(o.transform=r(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:o.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Bs){if(void 0===s[e])continue;const{correct:t,applyTo:n,isCSSVariable:r}=Bs[e],a="none"===o.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=a}else r?this.options.visualElement.renderState.vars[e]=a:o[e]=a}return this.options.layoutId&&(o.pointerEvents=i===this?Ui(null==e?void 0:e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Nd),this.root.sharedNodes.clear()}}}function Dd(e){e.updateLayout()}function Od(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?Au((e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=xu(o);o.min=t[e].min,o.max=o.min+r})):rp(r,n.layoutBox,t)&&Au((o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=xu(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)}));const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};yu(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?yu(a,e.applyTransform(o,!0),n.measuredBox):yu(a,t,n.layoutBox);const l=!Cd(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};ju(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};ju(a,t,i.layoutBox),Md(s,a)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function $d(e){Ed&&Bd.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Hd(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Wd(e){e.clearSnapshot()}function Nd(e){e.clearMeasurements()}function _d(e){e.isLayoutDirty=!1}function Ud(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Gd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Kd(e){e.resolveTargetDelta()}function qd(e){e.calcProjection()}function Zd(e){e.resetSkewAndRotation()}function Yd(e){e.removeLeadSnapshot()}function Xd(e,t,n){e.translate=Rl(t.translate,0,n),e.scale=Rl(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Jd(e,t,n,o){e.min=Rl(t.min,n.min,o),e.max=Rl(t.max,n.max,o)}function Qd(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ep={duration:.45,ease:[.4,0,.1,1]},tp=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),np=tp("applewebkit/")&&!tp("chrome/")?Math.round:Jr;function op(e){e.min=np(e.min),e.max=np(e.max)}function rp(e,t,n){return"position"===e||"preserve-aspect"===e&&(o=Td(t),r=Td(n),i=.2,!(Math.abs(o-r)<=i));var o,r,i}function ip(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const sp=Ld({attachResizeListener:(e,t)=>su(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ap={current:void 0},lp=Ld({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ap.current){const e=new sp({});e.mount(window),e.setOptions({layoutScroll:!0}),ap.current=e}return ap.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),cp={pan:{Feature:class extends eu{constructor(){super(...arguments),this.removePointerDownListener=Jr}onPointerDown(e){this.session=new uu(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Gu(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Yu(e),onStart:Yu(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&ri.postRender((()=>o(e,t)))}}}mount(){this.removePointerDownListener=lu(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends eu{constructor(e){super(e),this.removeGroupControls=Jr,this.removeListeners=Jr,this.controls=new qu(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Jr}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:lp,MeasureLayout:nd}};function up(e,t){const n=function(e){if(e instanceof Element)return[e];if("string"==typeof e){const t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),o=new AbortController;return[n,{passive:!0,...t,signal:o.signal},()=>o.abort()]}function dp(e){return!("touch"===e.pointerType||ru())}function pp(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover","Start"===n);const r=o["onHover"+n];r&&ri.postRender((()=>r(t,au(t))))}const hp=(e,t)=>!!t&&(e===t||hp(e,t.parentElement)),mp=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const fp=new WeakSet;function gp(e){return t=>{"Enter"===t.key&&e(t)}}function xp(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function vp(e){return iu(e)&&!ru()}function yp(e,t,n={}){const[o,r,i]=up(e,n),s=e=>{const o=e.currentTarget;if(!vp(e)||fp.has(o))return;fp.add(o);const i=t(o,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),vp(e)&&fp.has(o)&&(fp.delete(o),"function"==typeof i&&i(e,{success:t}))},a=e=>{s(e,n.useGlobalTarget||hp(o,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return o.forEach((e=>{(function(e){return mp.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,r),e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const o=gp((()=>{if(fp.has(n))return;xp(n,"down");const e=gp((()=>{xp(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>xp(n,"cancel")),t)}));n.addEventListener("keydown",o,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",o)),t)})(e,r)),r)})),i}function bp(e,t,n){const{props:o}=e;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap","Start"===n);const r=o["onTap"+("End"===n?"":n)];r&&ri.postRender((()=>r(t,au(t))))}const wp=new WeakMap,jp=new WeakMap,Cp=e=>{const t=wp.get(e.target);t&&t(e)},Sp=e=>{e.forEach(Cp)};function kp(e,t,n){const o=function({root:e,...t}){const n=e||document;jp.has(n)||jp.set(n,{});const o=jp.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(Sp,{root:e,...t})),o[r]}(t);return wp.set(e,n),o.observe(e),()=>{wp.delete(e),o.unobserve(e)}}const Mp={some:0,all:1};const Tp={inView:{Feature:class extends eu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:Mp[o]};return kp(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends eu{mount(){const{current:e}=this.node;e&&(this.unmount=yp(e,((e,t)=>(bp(this.node,t,"Start"),(e,{success:t})=>bp(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends eu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Wl(su(this.node.current,"focus",(()=>this.onFocus())),su(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends eu{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[o,r,i]=up(e,n),s=e=>{if(!dp(e))return;const{target:n}=e,o=t(n,e);if("function"!=typeof o||!n)return;const i=e=>{dp(e)&&(o(e),n.removeEventListener("pointerleave",i))};n.addEventListener("pointerleave",i,r)};return o.forEach((e=>{e.addEventListener("pointerenter",s,r)})),i}(e,((e,t)=>(pp(this.node,t,"Start"),e=>pp(this.node,e,"End")))))}unmount(){}}}},Pp={layout:{ProjectionNode:lp,MeasureLayout:nd}},Ap={current:null},Bp={current:!1};const Ep=[...Sl,_a,Qa],zp=new WeakMap;const Ip=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Rp{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:r,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=yl,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=Zs.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,ri.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=i;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=Boolean(r),this.isControllingVariants=Ci(t),this.isVariantNode=Si(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==a[e]&&_i(t)&&t.set(a[e],!1)}}mount(e){this.current=e,zp.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),Bp.current||function(){if(Bp.current=!0,Yr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ap.current=e.matches;e.addListener(t),t()}else Ap.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ap.current),"production"!==process.env.NODE_ENV&&gi(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){zp.delete(this.current),this.projection&&this.projection.unmount(),ii(this.notifyUpdate),ii(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=Zi.has(e),o=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&ri.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),r=t.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{o(),r(),i&&i(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ui){const t=ui[e];if(!t)continue;const{isEnabled:n,Feature:o}=t;if(!this.features[e]&&o&&n(this.props)&&(this.features[e]=new o(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ip.length;t++){const n=Ip[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){for(const o in t){const r=t[o],i=n[o];if(_i(r))e.addValue(o,r),"development"===process.env.NODE_ENV&&gi("12.0.6"===r.version,`Attempting to mix Motion versions ${r.version} with 12.0.6 may not work as expected.`);else if(_i(i))e.addValue(o,ta(r,{owner:e}));else if(i!==r)if(e.hasValue(o)){const t=e.getValue(o);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{const t=e.getStaticValue(o);e.addValue(o,ta(void 0!==t?t:r,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=ta(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let o=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=o&&("string"==typeof o&&(bl(o)||Ra(o))?o=parseFloat(o):(r=o,!Ep.find(Cl(r))&&Qa.test(t)&&(o=sl(e,t))),this.setBaseTarget(e,_i(o)?o.get():o)),_i(o)?o.get():o}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let o;if("string"==typeof n||"object"==typeof n){const r=Wi(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);r&&(o=r[e])}if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||_i(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Js),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Vp extends Rp{constructor(){super(...arguments),this.KeyframeResolver=Ml}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_i(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class Fp extends Vp{constructor(){super(...arguments),this.type="html",this.renderInstance=Ts}readValueFromInstance(e,t){if(Zi.has(t)){const e=il(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(Xi(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Uu(e,t)}build(e,t,n){ys(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return zs(e,t,n)}}class Lp extends Vp{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pu}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Zi.has(t)){const e=il(t);return e&&e.default||0}return t=Ps.has(t)?t:Bi(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Is(e,t,n)}build(e,t,n){Cs(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,o){As(e,t,0,o)}mount(e){this.isSVGTag=Ms(e.tagName),super.mount(e)}}const Dp=(t,n)=>$i(t)?new Lp(n):new Fp(n,{allowProjection:t!==e.Fragment}),Op=xi(Ws({...nu,...Tp,...cp,...Pp},Dp)),$p=t.styled((({children:e,loading:n,sizing:o,...r})=>ge.jsxs(Jn,{...r,sizing:o,loading:n,children:[n&&ge.jsx(vn,{sizing:o}),ge.jsx(t.Box,{...n?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:n})=>({color:e.custom.palette.text.primary,...n&&{...Yn(n)},...n&&{...Xn(n)},...n&&{...Zn(n)},"&: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&&{...Wn(e)},..."outlined"===t&&{...Nn(e)},..."secondary"===t&&{..._n(e)},..."primary"===t&&{...Un(e)}}))),Hp=({sizing:e="lg",variation:t="primary",...n})=>ge.jsx($p,{variation:t,sizing:e,...n}),Wp=t.styled(a.TimelineDot)((({theme:e,completed:t})=>({width:"24px",height:"24px",backgroundColor:e.custom.palette.surface.raised,boxShadow:"none",border:"none",padding:0,margin:"4px 0",...!t&&{border:`2px dashed ${e.custom.palette.icon.disabled}`}}))),Np=t.styled(t.Box)((({theme:e})=>({display:"flex",flexDirection:"column",padding:`0 0 ${e.spacing(e.custom.padding.md)} ${e.spacing(e.custom.padding.sm)}`}))),_p=e=>({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.spacing(e.custom.padding.sm),marginTop:e.spacing(e.custom.margin.xs)}),Up=t.styled(cn)((({theme:e})=>({[`&.${t.linkClasses.root}`]:{..._p(e),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.link},"&:hover":{"> .MuiTypography-root:first-child":{textDecoration:"underline"},"& .MuiSvgIcon-root":{color:e.custom.palette.icon.linkHover}}}}))),Gp=t.styled(t.Box)((({theme:e})=>({[`&.${t.boxClasses.root}`]:{..._p(e),"& .MuiTypography-root":{color:"inherit"}}}))),Kp=t.styled(dn)((()=>({color:"inherit",fontWeight:500,fontSize:Hn.lg}))),qp=t.styled(dn)((({theme:e})=>({fontWeight:400,textDecoration:"none",color:e.custom.palette.text.secondary,flexBasis:"100%"}))),Zp=({children:e,complete:t,url:n})=>t?ge.jsx(Gp,{children:e}):ge.jsx(Up,{underline:"none",href:n,target:"_self",children:e}),Yp=({complete:e,title:t,description:n,url:o})=>ge.jsx(Np,{children:ge.jsxs(Zp,{complete:e,url:o,children:[ge.jsx(Kp,{component:"p",variation:"lg",children:t}),!e&&ge.jsx(en,{name:"arrow-right",size:16}),!e&&n&&ge.jsx(qp,{variation:"lg",component:"p",children:n})]})}),Xp=({item:e,showConnector:t})=>{const{complete:n,title:o,description:r,url:i}=e;return ge.jsxs(a.TimelineItem,{children:[ge.jsxs(a.TimelineSeparator,{children:[ge.jsx(Wp,{completed:n,children:n?ge.jsx(en,{name:"badge-tick-in-circle",size:24}):void 0}),t&&ge.jsx(a.TimelineConnector,{sx:{backgroundColor:e=>e.custom.palette.icon.disabled}})]}),e&&ge.jsx(a.TimelineContent,{component:()=>ge.jsx(Yp,{complete:n,title:o,description:r,url:i})})]})},Jp=({expanded:n,onToggleExpanded:o,items:r})=>{const i=r.find((e=>!e.complete)),s=e.useMemo((()=>n?r:[i]),[n]),l=e.useRef(null),[c,u]=e.useState("auto");return e.useEffect((()=>{if(!l.current)return;const e=l.current.scrollHeight+1.5*Q;u(e)}),[n,r]),ge.jsx(Op.div,{initial:!1,animate:{height:c},transition:{duration:.4,ease:[.645,.045,.355,1]},style:{overflow:"hidden",paddingBottom:1.5*Q},children:ge.jsx("div",{ref:l,children:ge.jsxs(Gr,{sx:{paddingLeft:e=>e.spacing(e.custom.padding.xs),[`& .${a.timelineItemClasses.root}`]:{minHeight:0,":before":{flex:0,padding:0}}},children:[s.map(((e,t)=>{const n=t<s.length-1;return e&&e?.title===i?.title?ge.jsx(Xp,{item:e,showConnector:s.length>1?n:!!i?.description},e.title):e&&ge.jsx(Xp,{item:e,showConnector:n},e.title)})),!n&&ge.jsx(t.Box,{sx:{marginTop:e=>e.spacing(e.custom.margin.md),alignSelf:"center"},children:ge.jsx(Hp,{endIcon:ge.jsx(en,{name:"chevron-down",size:16}),sizing:"xs",variation:"outlined",onClick:o,children:"Show more"})})]})})})},Qp=({completed:e,total:t})=>ge.jsx(dn,{component:"p",variation:"lg",sx:{fontWeight:500},children:`${e} of ${t} tasks completed`}),eh=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},th=(e,t,n)=>({maxLength:{value:n||255,message:`Maximum character limit of ${n||255}.`},...t&&{required:e?`Please enter ${eh(e)} ${e}`:"This field is required"}}),nh=th().maxLength.value,oh=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,rh=(e,n)=>{switch(n){case"tone1":default:return oh(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)}},ih=(e,t)=>{const n=rh(e,t.gradient),o=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return o?[o,n].join(","):[n].join(",")},sh=({label:e,sx:o,...r})=>{const i=t.useTheme(),s=e?i.custom.margin.md:0;return ge.jsx(t.FormControlLabel,{label:e||"",sx:n.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:On.sm.body.md,sm:On.sm.body.md,md:On.sm.body.md,lg:On.lg.body.md,xl:On.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:s}}},o),...r})},ah=t.styled(t.Checkbox)((({theme:e,sizing:t})=>({height:"default"===t?J[300]:J[400],width:"default"===t?J[300]:J[400],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?Qt.sm:Qt.xl,height:"default"===t?Qt.sm:Qt.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}}}))),lh=e=>ge.jsx(ah,{checkedIcon:ge.jsx(i.Check,{}),indeterminateIcon:ge.jsx(i.Remove,{}),...e}),ch=({internalChange:e,checkboxLabel:n,indeterminate:o,sizing:r="default",onChange:i,inputRef:s,value:a,...l})=>void 0===a?ge.jsx(t.Box,{}):ge.jsx(sh,{inputRef:s,label:n,checked:a,control:ge.jsx(lh,{sizing:r,indeterminate:o}),onChange:(t,n)=>{i&&i(t,n),e&&e()},...l}),uh=t.styled(t.TextField)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:Qt.xl,height:Qt.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:On.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"}}}}}))),dh=({startAdornment:e,endAdornment:n,placeholder:o,onChange:r,internalChange:i,inputRef:s,...a})=>ge.jsx(uh,{placeholder:o,sx:{height:J[500],"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:s,InputProps:{startAdornment:e?ge.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:e}):null,endAdornment:n?ge.jsx(t.InputAdornment,{position:"start",sx:{pr:1},children:n}):null},...a,onChange:e=>{r&&r(e),i&&i()}}),ph=({sizing:e,options:n,other:o,internalChange:r,value:i,inputRef:s,onChange:a})=>{const l=o?.name||"other-option",c=`${l}-value-`,u=e=>`${c}${e}`,d=o?.enabled,p=i?.includes(l)&&d,h=i?.find((e=>e.includes(c)));if(!i)return ge.jsx("div",{});const m=(e,t)=>{let s=i.includes(e)?i.filter((t=>t!==e)):t?[e]:[...new Set(i),e];if(t||(s=s.filter((e=>!n.find((t=>t?.exclusive&&e===t.value))))),o?.enabled){!i.includes(l)||e!==l||(s=s.filter((e=>!e.includes(c))))}a(s),r&&r()};return ge.jsxs(ge.Fragment,{children:[ge.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:[n?n.map(((t,n)=>{const o=t.value;return ge.jsx(sh,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"},"& .MuiTypography-root":{mt:"default"!==e?.5:0}},onChange:()=>m(o,t.exclusive),checked:i.includes(o),control:ge.jsx(lh,{sizing:e}),label:t.label},o)})):null,d&&ge.jsx(sh,{inputRef:s,onChange:()=>m(l),label:o?.label||"Other",checked:i.includes(l),control:ge.jsx(lh,{sizing:e})},l)]}),p&&ge.jsx(t.Box,{sx:{mt:1},children:ge.jsx(dh,{fullWidth:!0,autoFocus:!0,defaultValue:h?h.replace(c,""):"",placeholder:o?.placeholder,onChange:e=>{const t=i.find((e=>e.includes(c))),n=(t?i.map((t=>t.includes(c)?u(e.target.value):t)):[...i,u(e.target.value)]).filter((e=>e!==c));a(n),r&&r()},required:!0})})]})},hh=({inputField:e,onChange:t,internalChange:n,transformValue:o,...r})=>{const i=e;return ge.jsx(i,{onChange:e=>{t&&t(o?o(e):e),n&&n()},...r})},mh=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}}))),fh=e=>ge.jsx(mh,{...e}),gh=e=>{const{icon:n=null,state:o="default",disabled:r,showicon:s=!0}=e,a=t.useTheme();return ge.jsxs(t.Box,{sx:{display:"inline-flex",alignItems:"center",color:r?a.custom.palette.text.disabled:(()=>{switch(o){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:Qt.xs,height:Qt.xs,color:"inherit"}},children:[(()=>{if(!s)return null;if(n)return n;switch(o){case"disabled":default:return ge.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:ge.jsx(i.Info,{})});case"positive":return ge.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:ge.jsx(i.Check,{})});case"negative":return ge.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:ge.jsx(i.ErrorOutline,{})})}})(),ge.jsx(fh,{...e,sx:{fontSize:{xs:On.sm.body.sm,sm:On.sm.body.sm,md:On.sm.body.sm,lg:On.lg.body.sm,xl:On.lg.body.sm}}})]})},xh=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:J[50],height:J[50],top:`calc(100% + ${J[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:J[50],height:J[50],top:`calc(100% + ${J[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),vh=({children:e,width:t})=>ge.jsx(xh,{sx:{width:t,minWidth:300},children:e}),yh=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?J[300]:J[400],width:"default"===t?J[300]:J[400],"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&Qt.sm,height:"default"===t&&Qt.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}}}}))),bh=e=>ge.jsx(yh,{...e}),wh=t.styled(bh)((()=>({marginRight:0}))),jh=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:J[50],width:`calc(100% - ${J[400]}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Ch=e=>ge.jsx(jh,{sx:{position:"relative"},children:ge.jsx(wh,{...e})}),Sh=({disabled:e=!1,onChange:n,labelLeft:o,labelRight:r,internalChange:i,labelCenter:s})=>{const a=[...Array(7).keys()];return ge.jsx(t.RadioGroup,{children:ge.jsxs(vh,{children:[ge.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:a.map(((o,r)=>{const s=r+1!==a.length;return ge.jsx(t.Grid,{item:!0,sm:s,children:ge.jsx(Ch,{disabled:e,value:o,onChange:(e,t)=>{n&&n(e,t),i&&i()},name:`radio-option-${o}`},o)},o)}))}),ge.jsxs(t.Grid,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[ge.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"left"},children:ge.jsx(gh,{disabled:e,showicon:!1,children:o})}),ge.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"center"},children:ge.jsx(gh,{disabled:e,align:"center",showicon:!1,children:s})}),ge.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"right"},children:ge.jsx(gh,{disabled:e,align:"right",showicon:!1,children:r})})]})]})})},kh=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)}}}}))),Mh=({children:e,...t})=>e,Th=({sx:e,...t})=>ge.jsx(fh,{...t,sx:n.mergeSx({fontSize:{xs:On.sm.body.md,sm:On.sm.body.md,md:On.sm.body.md,lg:On.lg.body.md,xl:On.lg.body.md}},!!e&&{...e})}),Ph=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:J[200],borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${J[200]}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:J[200],borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${J[200]}px)`}}}}}))),Ah=({children:e,width:t})=>ge.jsx(Ph,{sx:{width:t},children:e}),Bh=t.styled(gh)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Eh=({disabled:e,children:t})=>ge.jsx(Bh,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),zh=t.styled(bh)((()=>({marginRight:0}))),Ih=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:J[50],width:`calc(50% - ${J[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:J[50],width:`calc(50% - ${J[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Rh=e=>ge.jsx(Ih,{sx:{textAlign:"center",position:"relative"},children:ge.jsx(zh,{...e})}),Vh=({options:e=[],disabled:n=!1,sizing:o="lg",onChange:r,internalChange:i,value:s})=>{const a=t.useTheme();function l(e){console.warn(e),r(e.value),i&&i()}return ge.jsx(t.Box,{children:ge.jsx(Ah,{children:ge.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:e.map((e=>ge.jsxs(t.Grid,{item:!0,sm:!0,onClick:()=>l(e),sx:{...!n&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!n&&{backgroundColor:a.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!n&&{backgroundColor:a.custom.palette.input.default,borderColor:a.custom.palette.stroke.focus,boxShadow:a.custom.boxShadow.input.focus},"&:before":{...!n&&{backgroundColor:a.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:a.custom.palette.purple[500]}}}},children:[ge.jsx(Rh,{sizing:o,disabled:n,onChange:t=>l(e),checked:s===e.value},e.value),ge.jsx(t.Box,{sx:{mt:ee.xs,width:"100%"},children:ge.jsx(Eh,{disabled:n,children:e.label})})]},e.value)))})})})},Fh=e.forwardRef(((t,n)=>{const{decimalSeparator:o,thousandSeparator:r,value:i,...s}=t,a=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return ge.jsx(p.NumericFormat,{...s,value:i??"",getInputRef:n,thousandSeparator:r??a,decimalSeparator:o??l})})),Lh=({disabled:n=!1,InputProps:o,inputProps:r,placeholder:s,hideActionButtons:a=!1,max:l=1/0,min:c=-1/0,startAdornment:u,endAdornment:d,internalChange:p,numericFormatProps:h,onChange:m,step:f=1,value:g,...x})=>{const v=t.useTheme(),[y,b]=e.useState(g),w=y,j=e=>{b(e),m&&m(e),p&&p()},C=()=>{const e=(null==w||Number.isNaN(w)?0:w)+f;e>l||j(e)},S=()=>{const e=(null==w||Number.isNaN(w)?0:w)-f;e<c||j(e)},k={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!==f?f:void 0,onKeyDown:e=>{"ArrowUp"===e.key?C():"ArrowDown"===e.key&&S()},onValueChange:({floatValue:e})=>{e!==w&&j(e)},value:w,...h};return ge.jsx(uh,{placeholder:s,sx:{height:J[500],"& .MuiOutlinedInput-input":{minWidth:J[300],pl:u?1:2,pr:u?1:2}},...x,value:w??"",disabled:n,InputProps:{...o,inputComponent:Fh,startAdornment:u?ge.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:u}):null,endAdornment:!a&&ge.jsxs(t.Stack,{gap:v.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[d&&ge.jsx(t.InputAdornment,{position:"end",children:d}),ge.jsxs(t.Stack,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${v.custom.palette.stroke.default}`},children:[ge.jsx(t.ButtonBase,{onClick:()=>C(),sx:{flex:1,borderTopRightRadius:v.spacing(v.custom.radius.md),fontSize:12,"&:hover":{background:v.custom.palette.interaction.hover}},children:ge.jsx(i.ArrowDropUp,{fontSize:"inherit"})}),ge.jsx(t.Divider,{}),ge.jsx(t.ButtonBase,{onClick:()=>S(),sx:{flex:1,borderBottomRightRadius:v.spacing(v.custom.radius.md),fontSize:12,"&:hover":{background:v.custom.palette.interaction.hover}},children:ge.jsx(i.ArrowDropDown,{fontSize:"inherit"})})]})]})},inputProps:{inputType:"number",...r,...k}})};const Dh=({options:n,onChange:o,other:r,value:i,internalChange:s,...a})=>{const l=r?.enabled,c="other-option",u=`${c}-value-`,[d,p]=e.useState(i),[h,m]=e.useState(!1),f=e.useRef(null);e.useEffect((()=>{!h&&d?.includes(u)?m(!0):h&&m(!1)}),[d]);return e.useEffect((()=>{f.current&&Array.from(f.current.getElementsByTagName("label")).forEach((e=>{if(e.clientHeight>4*Q){const t=e.querySelector(".MuiTypography-root");t&&(t.style.marginTop=Q/2+"px")}}))}),[f.current]),ge.jsxs(ge.Fragment,{children:[ge.jsxs(t.RadioGroup,{...a,value:d,ref:f,sx:{"& .MuiRadio-root":{alignSelf:"baseline"},"& .MuiTypography-root":{alignSelf:"center"},display:"flex",alignSelf:"baseline",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)=>{o&&o(t),p(t),s&&s()},children:[n?n.map(((e,t)=>ge.jsx(sh,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:ge.jsx(bh,{})},t))):null,l&&ge.jsx(sh,{label:r?.label||"Other",value:u,control:ge.jsx(bh,{checked:d?.includes(u)})},c)]}),h&&ge.jsx(t.Box,{sx:{mt:1},children:ge.jsx(dh,{fullWidth:!0,autoFocus:!0,placeholder:r?.placeholder,defaultValue:d?.replace(u,""),onChange:e=>{var t;o&&o((t=e.target.value,`${u}${t}`)),s&&s()},required:!0})})]})},Oh=({handleSelectAll:n,isIndeterminate:o,isAllSelected:r,sizing:i})=>{const[s,a]=e.useState(!1),l=t.useTheme();return e.useEffect((()=>{r&&a(r)}),[r]),ge.jsxs(t.Stack,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:e=>{const t=!s;a(t),n(e,t)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[ge.jsx(t.FormLabel,{sx:{cursor:"pointer",fontSize:()=>i&&Hn[i]},children:"Select all"}),ge.jsx(lh,{sizing:"default",indeterminate:o,checked:s})]})},$h=e.forwardRef((({children:e,handleSelectAll:t,showSelectAll:n,value:o=[],selections:r,sizing:i,...s},a)=>{const l=Array.isArray(o)&&o.length===r.length,c=Array.isArray(o)&&o.length>0&&o.length<r.length;return ge.jsxs("ul",{ref:a,...s,children:[n&&ge.jsx(Oh,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),Hh="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",Wh=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},Nh=(e,t)=>({"& .MuiTypography-root":{height:Wh(t),fontSize:Hn[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)}}),_h=e=>({fontSize:`${On.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(te.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"}}),Uh=(e,t)=>{switch(t){case"lg":return{height:Wh(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.lg,height:Qt.lg,top:`calc(50% - ${Qt.lg/2}px)`}};case"md":return{height:Wh(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.md,height:Qt.md,top:`calc(50% - ${Qt.md/2}px)`}};case"xs":return{height:Wh(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.xs,height:Qt.xs,top:`calc(50% - ${Qt.xs/2}px)`}};default:return{height:Wh("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.lg,height:Qt.lg,top:`calc(50% - ${Qt.lg/2}px)`}}}},Gh=e=>({position:"relative",fontSize:`${On.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:Qt.xl,height:Qt.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),Kh=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:Hh}}}}),qh=t.styled(t.Autocomplete)((({theme:e,sizing:t,value:n})=>({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:Qt[t],height:Qt[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*Q+"px":3*Q+"px"},paddingTop:0,paddingBottom:0,paddingLeft:n&&Array.isArray(n)&&n.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:Hn[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*Q+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*Q+"px":3*Q+"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)}`}}}))),Zh=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}}}))),Yh=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"}}))),Xh=t.styled(t.Popper)((({theme:e,sizing:n})=>({"& .MuiPaper-root":{...n&&{margin:"lg"===n?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===n?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===n?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:Hh,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${t.autocompleteClasses.listbox}`]:{overflowX:"hidden",[`& .${t.autocompleteClasses.option}`]:{fontSize:Hn[n],...n&&{height:"lg"===n?5*Q+"px":4*Q+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),Jh=e=>ge.jsx(Xh,{...e}),Qh=({selections:t,disableClearable:n=!1,disabled:o,internalChange:r,multiple:s=!0,onChange:a,placeholder:l="",renderListItem:c,sizing:u="lg",value:d=(s?[]:"")})=>{const[p,h]=e.useState(t.filter((e=>d.includes(e?.value)))),m=(e,n)=>{if(a){const o=n?t.map((({value:e})=>e)):[];h(n?t:[]),a(e,o,"selectOption"),r&&r()}},f=e=>null!==e&&(!Array.isArray(e)||e.length>0);return ge.jsx(qh,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:ge.jsx(i.KeyboardArrowDown,{}),sizing:u,disabled:o,disableClearable:n,autoComplete:!0,multiple:s,renderInput:e=>ge.jsx(Yh,{...e,placeholder:f(p)?void 0:l,sizing:u}),options:t,renderTags:(e,t)=>e.map(((e,n)=>{const{key:o,...r}=t({index:n});return ge.jsx(Zh,{sizing:u,deleteIcon:ge.jsx(i.CloseRounded,{fontSize:"small"}),label:e.label,...r},o)})),onChange:(e,t,n)=>{const o=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;h(t),a?.(e,o,n),r?.()},PopperComponent:e=>ge.jsx(Jh,{...e,sizing:u}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:n})=>{const{key:o,...r}=e;return ge.jsxs("li",{...r,children:[ge.jsx("span",{children:c?c(t.value,t.label):t.label}),ge.jsx(i.Check,{sx:{visibility:n?"visible":"hidden",fontSize:"16px"}})]},o)},ListboxComponent:e.forwardRef(((e,n)=>ge.jsx($h,{ref:n,...e,showSelectAll:s,handleSelectAll:m,value:p,selections:t,sizing:u}))),value:p})},em=t.styled(t.MenuItem)((({theme:e})=>({...{...Gh(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}}}))),tm=({children:e,selected:n,...o})=>ge.jsx(em,{...o,children:ge.jsxs(t.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[ge.jsx(t.Box,{children:e}),n&&ge.jsx(i.Check,{})]})}),nm=t.styled(t.Select)((({theme:e,sizing:t})=>({...{..._h(e)},...t&&{...Uh(e,t)},...t&&{...Nh(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}}}))),om=({selections:e,autoComplete:n=!1,disabled:o=!1,disablePortal:r=!1,inputRef:s,internalChange:a,multi:l=!0,onChange:c,placeholder:u="",selectOptionProps:d,sizing:p="lg",sx:h,value:m=[],renderListItem:f,...g})=>{const x=t.useTheme(),v=nr();return n?ge.jsx(Qh,{selections:e,placeholder:u,disabled:o,sizing:p,onChange:(e,t)=>{c&&c(t||""),a&&a()},value:Array.isArray(m)?m??[]:m??"",internalChange:a,renderListItem:f,multiple:l}):ge.jsxs(nm,{sizing:p,inputRef:s,MenuProps:{disablePortal:r,sx:Kh,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:i.KeyboardArrowDown,renderValue:t=>u&&!t?ge.jsx(dn,{component:"p",variation:"sm"===v||"md"===v?"sm":"lg",sx:{color:x.custom.palette.text.placeholder},children:u}):ge.jsx(dn,{component:"p",variation:"sm"===v||"md"===v?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{c&&c(e,t),a&&a()},sx:h,value:m,...g,children:[""!==u.trim()&&ge.jsx(tm,{disabled:!0,value:"","aria-label":"placeholder",children:u},"placeholder"),e?.map((({value:e,label:t})=>ge.jsx(tm,{value:e,...d,children:f?f(e,t):t},e)))]})},rm=t.styled(t.Box)((({theme:e,disabled:t,fullWidth:n})=>({width:n?"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"}}}))),im=t.styled(Th)((({theme:e})=>({fontSize:On.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),sm=({label:e="Placeholder",disabled:n,onChange:o,options:r,fullWidth:s})=>{const a=t.useTheme(),l=r.map((e=>e.label)).indexOf(e);return ge.jsx(rm,{disabled:n,fullWidth:s,children:ge.jsxs(t.Stack,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[ge.jsxs(t.Box,{display:"flex",alignItems:"center",sx:{"& svg":{fill:a.custom.palette.icon.secondary}},children:[ge.jsx(i.DragHandle,{sx:{width:Qt.lg,height:Qt.lg,mr:a.custom.padding.sm}}),ge.jsx(im,{align:"left",disabled:n,children:e})]}),ge.jsx(om,{name:"rank",sizing:"xs",selections:r.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:n,value:`${l}`,onChange:function(e){const t=l,n=Number(e.target.value),i=r;let s=1;const a=i.splice(t,s)[0];s=0,i.splice(n,s,a),o(i)},MenuProps:{anchorOrigin:{vertical:J[400],horizontal:"center"}}})]})})},am=e.createContext({attributes:{},listeners:void 0,ref(){}}),lm=e=>m.defaultAnimateLayoutChanges({...e,wasDragging:!0});function cm({children:n,top:o,bottom:r,id:i}){const{attributes:s,isDragging:a,listeners:l,setNodeRef:c,setActivatorNodeRef:u,transform:d,transition:p}=m.useSortable({id:i,animateLayoutChanges:lm}),h=e.useMemo((()=>({attributes:s,listeners:l,ref:u})),[s,l,u]),g={opacity:a?.4:void 0,transform:f.CSS.Translate.toString(d),transition:p};return ge.jsx(am.Provider,{value:h,children:ge.jsxs(t.Stack,{className:"SortableItem",...s,sx:{position:"relative",...g,width:"100%"},ref:c,children:[o&&o,ge.jsx(t.Box,{...l,sx:{display:"flex",cursor:"grab"},children:n}),r&&r]})})}const um={sideEffects:h.defaultDropAnimationSideEffects({styles:{active:{opacity:"0.4"}}})};function dm({children:e}){return g.createPortal(ge.jsx(h.DragOverlay,{zIndex:999999,dropAnimation:um,children:e}),document.body)}const pm=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class hm extends h.MouseSensor{static activators=[{eventName:"onMouseDown",handler:pm}]}class mm extends h.TouchSensor{static activators=[{eventName:"onTouchStart",handler:pm}]}function fm({items:n,onChange:o,renderItem:r,disabled:i,direction:s}){if(!n)return;const[a,l]=e.useState(null),c=e.useMemo((()=>n.find((e=>e?.id===a?.id))),[a,n]),u=t.useTheme(),d=t.useMediaQuery(u.breakpoints.down("md")),p=h.useSensors(h.useSensor(hm,{activationConstraint:{distance:5}}),h.useSensor(mm,{activationConstraint:{delay:d?300:0,tolerance:8}}),h.useSensor(h.KeyboardSensor,{coordinateGetter:m.sortableKeyboardCoordinates}));return ge.jsxs(h.DndContext,{measuring:{droppable:{strategy:h.MeasuringStrategy.Always}},sensors:p,onDragStart:({active:e})=>{l(e)},onDragEnd:({active:e,over:t})=>{if(t&&e.id!==t?.id){const r=n.findIndex((({id:t})=>t===e.id)),i=n.findIndex((({id:e})=>e===t.id));o(m.arrayMove(n,r,i))}l(null)},onDragCancel:()=>{l(null)},children:[ge.jsx(m.SortableContext,{items:n,disabled:i,strategy:"horizontal"===s?m.horizontalListSortingStrategy:m.verticalListSortingStrategy,children:ge.jsx(t.Stack,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:n.map((t=>ge.jsx(e.Fragment,{children:r(t)},t.id)))})}),ge.jsx(dm,{children:c?r(c,!0,!!a):null})]})}fm.Item=cm,fm.DragHandle=function(){const{attributes:n,listeners:o,ref:r}=e.useContext(am);return ge.jsx(t.Box,{...n,...o,ref:r,children:ge.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:ge.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 gm=({labelTop:n,labelBottom:o,disabled:r,fullWidth:i=!1,options:s,onChange:a,value:l,internalChange:c})=>{const u=t.useTheme(),[d,p]=e.useState(l||s);function h(e){p(e),a(e.map((({id:e})=>e))),c&&c()}return ge.jsxs(t.Stack,{gap:u.custom.margin.sm,textAlign:"center",sx:{width:i?"100%":"auto"},children:[n&&ge.jsx(Th,{disabled:r,sx:{color:u.custom.palette.text.secondary},children:n}),ge.jsx(fm,{onChange:function(e){p(e),a(e.map((({id:e})=>e))),c&&c()},items:d,direction:"vertical",renderItem:({...e})=>ge.jsx(cm,{id:e.id,children:ge.jsx(sm,{onChange:h,...e,options:d,disabled:r,selections:e.selections,fullWidth:i})})}),o&&ge.jsx(Th,{disabled:r,sx:{color:u.custom.palette.text.secondary},children:o})]})},xm=t.styled(y.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)}}}))),vm=({onChange:n,value:o,internalChange:r,minWidth:i=100,minHeight:s=100,maxHeight:a,placeholder:l})=>{const c=e.useRef(null),u=t.useTheme();return ge.jsx(xm,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:s,minWidth:i,maxHeight:a}},ref:c,onUpdate:({editor:e})=>{n&&n(e.getHTML()),r&&r()},extensions:[v.StarterKit.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),x.Placeholder.configure({placeholder:l}),b.Markdown],content:o,renderControls:()=>ge.jsxs(t.Stack,{gap:u.custom.margin.xs,direction:"row",children:[ge.jsx(y.MenuButtonBold,{}),ge.jsx(y.MenuButtonItalic,{})]})})},ym=e=>({"& .MuiSlider-thumb":{width:J[300],height:J[300],backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:J[50],height:J[50],backgroundColor:e.custom.palette.icon.primaryInverted}}}),bm=e=>Array.isArray(e),wm=(e,t)=>({height:J[100],padding:`${J[100]}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${J[400]}px)`,left:`-${J[200]}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&&bm(t)?`-${J[100]+1}px`:`-${J[200]+1}px`,width:`calc(100% + ${J[200]}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:J[50],width:J[50],borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),jm=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:J[50],minWidth:J[400],"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${On.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),Cm=t.styled(t.Slider)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${J[400]}px)`,marginLeft:J[400]/2,...{...wm(e,t)},...{...ym(e)},...{...jm(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}}}}))),Sm=[1,2,5,10],km=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const n=(t-e)/9;if(n<=1)return 1;const o=Math.floor(Math.log10(n)),r=n/Math.pow(10,o);return i=r,(Sm.find((e=>i<=e))??Sm[Sm.length-1])*Math.pow(10,o);var i},Mm=({labelLeft:e,labelMiddle:n,labelRight:o,labelRightProps:r,labelLeftProps:i,disabled:s,onChange:a,internalChange:l,max:c=5,min:u=1,step:d,value:p=u,...h})=>{const{sanitisedMin:m,sanitisedMax:f}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(u,c),g=((e,t,n)=>{const o=[];for(let r=e;r<=t;r+=n)o.push({value:r,label:r===e||r===t||r+n<=t?r.toString():void 0});return o[o.length-1].value!==t&&o.push({value:t,label:t.toString()}),o})(m,f,d??km(u,c));return ge.jsxs(t.Box,{sx:{minWidth:300},children:[ge.jsx(t.Box,{height:24,children:ge.jsx(Cm,{valueLabelDisplay:s?"on":"auto",disabled:s,marks:g,step:d,max:f,min:m,onChangeCommitted:()=>{l&&l()},onChange:(e,t,n)=>{a&&a(e,t,n)},value:p,...h})}),ge.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",pt:te.lg,gap:1},children:[e&&ge.jsx(t.Box,{sx:{flex:1},children:ge.jsx(gh,{disabled:s,showicon:!1,...i,children:e})}),n&&ge.jsx(t.Box,{sx:{flex:1,textAlign:"center"},children:ge.jsx(gh,{showicon:!1,disabled:s,children:n})}),o&&ge.jsx(t.Box,{sx:{flex:1,textAlign:"right"},children:ge.jsx(gh,{...r,showicon:!1,disabled:s,children:o})})]})]})},Tm=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}}}}))),Pm=({internalChange:e,onChange:n,...o})=>ge.jsx(Tm,{...o,onChange:(t,o)=>{n&&n(t,o),e&&e()},icon:ge.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ge.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:ge.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ge.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"})})}),Am=t.styled((e=>ge.jsx(t.Switch,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e})))((({theme:e,sizing:t})=>({width:"lg"===t?54:36,height:"lg"===t?30:20,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:"lg"===t?3:2,transitionDuration:"300ms","&.Mui-checked":{transform:`translateX(${"lg"===t?24:16}px)`,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:"lg"===t?24:16,height:"lg"===t?24:16,boxSizing:"border-box",boxShadow:"none",backdropFilter:"blur(0)",filter:"drop-shadow(0 0 0 rgba(255, 255, 255, 0.52))",outline:("lg"===t?2:1)+"px solid rgba(255, 255, 255, 0.12)"},"& .MuiSwitch-track":{borderRadius:("lg"===t?30:20)/2,backgroundColor:e.custom.palette.neutral[100],opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}))),Bm=({sizing:e="sm",sx:t,inputRef:o,value:r,label:i,labelPlacement:s="start",fullWidth:a,onChange:l,internalChange:c,...u})=>ge.jsx(sh,{inputRef:o,checked:r,label:i,labelPlacement:s,control:ge.jsx(Am,{sizing:e}),onChange:(e,t)=>{l&&l(e,t),c&&c()},sx:n.mergeSx(a?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},t),...u}),Em=t.styled(uh)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:J[500],alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:Qt.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),zm=({startAdornment:e,endAdornment:n,onChange:o,internalChange:r,inputRef:i,...s})=>ge.jsx(Em,{multiline:!0,inputRef:i,InputProps:{startAdornment:e?ge.jsx(t.InputAdornment,{position:"start",children:e}):null,endAdornment:n?ge.jsx(t.InputAdornment,{position:"start",children:n}):null},...s,onChange:e=>{o&&o(e),r&&r()}}),Im=(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}},Rm=(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}},Vm=t.styled(t.LinearProgress)((({theme:e,score:n})=>({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:Im(n,e)}}))),Fm={translations:z.translations,graphs:E.adjacencyGraphs,dictionary:{...E.dictionary,...z.dictionary}};w.zxcvbnOptions.setOptions(Fm);const Lm=({label:n="Strength",width:o=60,value:r,onChange:i})=>{const[s,a]=e.useState(0),l=t.useTheme();return e.useEffect((()=>{a(w.zxcvbn(r).score)}),[r]),e.useEffect((()=>{i(s)}),[s]),ge.jsxs(t.Stack,{direction:"row",gap:1,sx:{alignItems:"center"},children:[ge.jsx(dn,{variation:"sm",component:"p",children:n}),ge.jsx(Vm,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:o}}),ge.jsx(dn,{variation:"sm",component:"p",sx:{color:Rm(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},Dm=({helperText:e,inputName:t,errors:n,...o})=>{const r=Boolean(n&&n[t]);return r?ge.jsx(S.ErrorMessage,{errors:n,name:t,render:({message:e})=>ge.jsx(gh,{showicon:!!e,state:"negative",children:e})}):e&&!r?ge.jsx(gh,{state:"default",...o,children:e}):null},Om={textfield:dh,numberfield:Lh,textarea:zm,select:om,checkbox:ch,checkboxGroup:ph,switch:Bm,slider:Mm,starRating:Pm,differential:Sh,likert:Vh,radioGroup:Dh,ranking:gm,richTextfield:vm,customfield:hh},$m=({name:o,fieldType:r,label:i,control:s,errors:a,labelProps:l,helperText:c,helpTextProps:p,validation:h,content:m,styleOverrides:f,defaultValue:g,onChange:x,watch:v,trigger:y,strengthIndicator:b,...w})=>{const{custom:j}=t.useTheme(),C=void 0!==a&&Object.keys(a).length>0,[S,k]=e.useState(0);return b&&e.useEffect((()=>{S>0&&y(o)}),[S]),h?.match?.field&&e.useEffect((()=>{h?.match?.field&&y(h?.match?.field)}),[v(o)]),ge.jsxs(t.Stack,{sx:n.mergeSx(f?.sxInputStack,w?.hidden&&{display:"none!important"}),gap:j.margin.sm,children:["switch"!==r?i&&ge.jsx(Th,{...l,children:i}):null,"html"===r&&m?ge.jsx(Mh,{children:m}):ge.jsxs(ge.Fragment,{children:[ge.jsx(u.Controller,{name:o,control:s,render:e=>function({field:{ref:e,...t}}){const n=Om[r];return ge.jsx(n,{...w,...t,inputRef:e,..."switch"===r?{label:i}:{}})}(e),rules:{...h,validate:e=>{if(h&&"phone"in h)return d.isValidPhoneNumber(`+${v("extension")}${e}`)||h.phone.message;if(h&&"score"in h)return S<=h.score.value?h.score.message:void 0;if(h&&"white_space"in h)return!e.match(/^\s*$/g)||h.white_space.message;if(h&&"match"in h&&h?.match?.field)switch(h?.match?.comparison){case"not_eq":return e!=v(h.match.field)||h.match.message;case"gt":return e>v(h.match.field)||h.match.message;case"lt":return e<v(h.match.field)||h.match.message;default:return e===v(h.match.field)||h.match.message}}}}),b&&"password"===w?.type&&ge.jsx(Lm,{value:v(o),onChange:k})]}),ge.jsxs(ge.Fragment,{children:[Boolean(C)?ge.jsx(Dm,{helperText:void 0,inputName:o,errors:a,showicon:!0}):null,Boolean(c)?ge.jsx(Dm,{helperText:c,inputName:o,errors:void 0,...p}):null]})]})},Hm=e=>e.reduce(((e,t)=>({...e,[t?.name]:Wm(t,t?.defaultValue)})),{}),Wm=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:n}=e;return Array.isArray(t)?t:t||n}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":case"switch":return t||!1;case"ranking":{const{options:n}=e;return t?t.map((e=>n.find((({id:t})=>t===e)))):n}}},Nm=e.forwardRef((({submitButton:n,secondaryButton:o,onFormSubmit:r,onFormChange:i,formConfig:s},a)=>{const{custom:l}=t.useTheme(),{fields:c,reValidateMode:d,styleOverrides:p,autoComplete:h,formId:m,mode:f}=s,g=(t=>{const n=e.useRef();return e.useEffect((()=>{n.current=t}),[t]),n.current})(c),{reset:x,getValues:v,trigger:y,setValue:b,control:w,formState:{isValid:j,errors:C},setFocus:S,handleSubmit:k,watch:M}=u.useForm({mode:f||"onChange",reValidateMode:d,defaultValues:e.useMemo((()=>Hm(c)),[]),shouldUnregister:!0});e.useEffect((()=>{if(void 0!==g){const e=g.filter((({fieldType:e})=>"html"!==e)).map((({name:e})=>e));c.filter((({name:t,fieldType:n})=>!e.includes(t)&&"html"!==n)).forEach((e=>{b(e.name,Wm(e,e.defaultValue))}))}}),[c]),e.useEffect((()=>{x(Hm(c))}),[m]),e.useImperativeHandle(a,(()=>({set(e,t){b(e,t)},resetForm(){x()},focus(e){S(e)},submit(){r&&k(r)()},values:()=>v(),valid:()=>j,errors:()=>C,async triggerFormValidation(){await y()}})));const T=()=>{i&&i(v())};return ge.jsxs(t.Box,{component:"form",autoComplete:h,noValidate:!0,sx:p?.sxForm,...r&&{onSubmit:k(r)},children:[ge.jsx(t.Stack,{gap:l.margin.md,sx:p?.sxStack,children:c.map((({name:t,...n})=>e.createElement($m,{...i&&{internalChange:T},name:t,key:t,errors:C,control:w,watch:M,trigger:y,...n})))}),(o||n)&&ge.jsxs(t.Stack,{direction:"row",sx:p?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[o&&o,n&&n]})]})})),_m=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:e.zIndex.tooltip}))),Um=t.styled(t.Container)((({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"}))),Gm=t.styled(t.Box)((({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1}))),Km=t.styled(t.Box)((({theme:e})=>({background:e.custom.palette.green[300],height:"100%"}))),qm=t.styled(t.Box)((({theme:e})=>({backgroundColor:e.custom.palette.surface.default,borderRadius:e.spacing(e.custom.radius.md),bottom:16,boxShadow:e.custom.elevation.overlay,display:"block",left:16,padding:e.spacing(1,2),position:"fixed"}))),Zm=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}}),Ym=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}}),Xm=t.styled(t.ButtonGroup)((({theme:e,variation:t,orientation:n="horizontal",iconColor:o,sizing:r="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...bn(e)},..."toggle"===t&&{...wn(e)},..."vertical"===n&&{...Zm(e)},..."horizontal"===n&&{...Ym(e)},...r&&{...Mn(r)}},"& .MuiSvgIcon-root":{...r&&{...Pn(r)},fill:o||"inherit"}}}))),Jm=t.styled(Hp)((({theme:e})=>({background:`linear-gradient(-18deg, ${e.custom.palette.purple[600]} 0%, ${e.custom.palette.blue[400]} 100%)`,color:e.custom.palette.white,padding:e.spacing(1),minWidth:0}))),Qm={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},ef=t.styled("div")((()=>({whiteSpace:"pre"}))),tf=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},nf=(e,t,n)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===n?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"===n?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===n?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},of=t.styled(t.Chip)((({theme:e,variation:t,weight:n})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...nf(e,t,n),"& .MuiChip-label":{fontSize:`${On.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...tf(0,n)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...nf(e,t,n),...tf(0,n)}})));var rf=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=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,n),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 n=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{n.insertRule(e,n.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 sf="undefined"!=typeof document,af=function(e,t,n){for(var o=0,r=0;o=r,r=M.peek(),38===o&&12===r&&(t[n]=1),!M.token(r);)M.next();return M.slice(e,M.position)},lf=function(e,t){return M.dealloc(function(e,t){var n=-1,o=44;do{switch(M.token(o)){case 0:38===o&&12===M.peek()&&(t[n]=1),e[n]+=af(M.position-1,t,n);break;case 2:e[n]+=M.delimit(o);break;case 4:if(44===o){e[++n]=58===M.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=M.from(o)}}while(o=M.next());return e}(M.alloc(e),t))},cf=new WeakMap,uf=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||cf.get(n))&&!o){cf.set(e,!0);for(var r=[],i=lf(t,r),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},df=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function pf(e,t){switch(M.hash(e,t)){case 5103:return M.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 M.WEBKIT+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M.WEBKIT+e+M.MOZ+e+M.MS+e+e;case 6828:case 4268:return M.WEBKIT+e+M.MS+e+e;case 6165:return M.WEBKIT+e+M.MS+"flex-"+e+e;case 5187:return M.WEBKIT+e+M.replace(e,/(\w+).+(:[^]+)/,M.WEBKIT+"box-$1$2"+M.MS+"flex-$1$2")+e;case 5443:return M.WEBKIT+e+M.MS+"flex-item-"+M.replace(e,/flex-|-self/,"")+e;case 4675:return M.WEBKIT+e+M.MS+"flex-line-pack"+M.replace(e,/align-content|flex-|-self/,"")+e;case 5548:return M.WEBKIT+e+M.MS+M.replace(e,"shrink","negative")+e;case 5292:return M.WEBKIT+e+M.MS+M.replace(e,"basis","preferred-size")+e;case 6060:return M.WEBKIT+"box-"+M.replace(e,"-grow","")+M.WEBKIT+e+M.MS+M.replace(e,"grow","positive")+e;case 4554:return M.WEBKIT+M.replace(e,/([^-])(transform)/g,"$1"+M.WEBKIT+"$2")+e;case 6187:return M.replace(M.replace(M.replace(e,/(zoom-|grab)/,M.WEBKIT+"$1"),/(image-set)/,M.WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return M.replace(e,/(image-set\([^]*)/,M.WEBKIT+"$1$`$1");case 4968:return M.replace(M.replace(e,/(.+:)(flex-)?(.*)/,M.WEBKIT+"box-pack:$3"+M.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M.WEBKIT+e+e;case 4095:case 3583:case 4068:case 2532:return M.replace(e,/(.+)-inline(.+)/,M.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(M.strlen(e)-1-t>6)switch(M.charat(e,t+1)){case 109:if(45!==M.charat(e,t+4))break;case 102:return M.replace(e,/(.+:)(.+)-([^]+)/,"$1"+M.WEBKIT+"$2-$3$1"+M.MOZ+(108==M.charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M.indexof(e,"stretch")?pf(M.replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==M.charat(e,t+1))break;case 6444:switch(M.charat(e,M.strlen(e)-3-(~M.indexof(e,"!important")&&10))){case 107:return M.replace(e,":",":"+M.WEBKIT)+e;case 101:return M.replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M.WEBKIT+(45===M.charat(e,14)?"inline-":"")+"box$3$1"+M.WEBKIT+"$2$3$1"+M.MS+"$2box$3")+e}break;case 5936:switch(M.charat(e,t+11)){case 114:return M.WEBKIT+e+M.MS+M.replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M.WEBKIT+e+M.MS+M.replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M.WEBKIT+e+M.MS+M.replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M.WEBKIT+e+M.MS+e+e}return e}var hf,mf,ff=sf?void 0:(hf=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},mf=new WeakMap,function(e){if(mf.has(e))return mf.get(e);var t=hf(e);return mf.set(e,t),t}),gf=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case M.DECLARATION:e.return=pf(e.value,e.length);break;case M.KEYFRAMES:return M.serialize([M.copy(e,{value:M.replace(e.value,"@","@"+M.WEBKIT)})],o);case M.RULESET:if(e.length)return M.combine(e.props,(function(t){switch(M.match(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return M.serialize([M.copy(e,{props:[M.replace(t,/:(read-\w+)/,":"+M.MOZ+"$1")]})],o);case"::placeholder":return M.serialize([M.copy(e,{props:[M.replace(t,/:(plac\w+)/,":"+M.WEBKIT+"input-$1")]}),M.copy(e,{props:[M.replace(t,/:(plac\w+)/,":"+M.MOZ+"$1")]}),M.copy(e,{props:[M.replace(t,/:(plac\w+)/,M.MS+"input-$1")]})],o)}return""}))}}],xf=function(e){var t=e.key;if(sf&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,r,i=e.stylisPlugins||gf,s={},a=[];sf&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)})));var l=[uf,df];if(ff){var c=[M.stringify],u=M.middleware(l.concat(i,c)),d=ff(i)(t),p=function(e,t){var n=t.name;return void 0===d[n]&&(d[n]=function(e){return M.serialize(M.compile(e),u)}(e?e+"{"+t.styles+"}":t.styles)),d[n]};r=function(e,t,n,o){var r=t.name,i=p(e,t);return void 0===g.compat?(o&&(g.inserted[r]=!0),i):o?void(g.inserted[r]=i):i}}else{var h,m=[M.stringify,M.rulesheet((function(e){h.insert(e)}))],f=M.middleware(l.concat(i,m));r=function(e,t,n,o){h=n,function(e){M.serialize(M.compile(e),f)}(e?e+"{"+t.styles+"}":t.styles),o&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new rf({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return g.sheet.hydrate(a),g};const vf=t.styled("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),yf=({status:e})=>{const n=t.useTheme();switch(e){case"neutral":return null;case"success":return ge.jsx(bf,{backgroundColor:n.custom.palette.green[500],name:"check-circle"});case"warning":return ge.jsx(bf,{backgroundColor:n.custom.palette.yellow[500],name:"error"});case"danger":return ge.jsx(bf,{backgroundColor:n.custom.palette.red[500],name:"warning"});case"discover":return ge.jsx(bf,{backgroundColor:n.custom.palette.purple[500],name:"lightbulb"})}},bf=({backgroundColor:e,name:n})=>{const o=t.useTheme();return ge.jsx(t.Box,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:ge.jsx(t.Box,{sx:{backgroundColor:e,borderRadius:o.custom.radius.round,color:o.custom.palette.white,display:"flex",p:.5},children:ge.jsx(en,{name:n,size:20})})})},wf="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",jf=()=>ge.jsx(t.GlobalStyles,{styles:{"strong, b":{fontWeight:500}}}),Cf=e.createContext(null),Sf=(n="light",o="lg",r="ltr")=>{const{width:i}=(()=>{const t="object"==typeof window;function n(){return{width:t?window.innerWidth:void 0,height:t?window.innerHeight:void 0}}const[o,r]=e.useState(n);return e.useEffect((()=>{if(t)return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o);function o(){e.startTransition((()=>{r(n())}))}}),[]),o})(),[s,a]=e.useState(n),[l,c]=e.useState(o),[u,d]=e.useState(r),[p,h]=e.useState(!1),[m,f]=e.useState("");e.useEffect((()=>{document.documentElement.setAttribute("dir",u)}),[u]);e.useEffect((()=>{e.startTransition((()=>{c(i&&i<X.lg?"sm":"lg")}))}),[i]),e.useEffect((()=>{e.startTransition((()=>{d(r)}))}),[r]),e.useEffect((()=>{e.startTransition((()=>{a(n)}))}),[n]);const g=e.useMemo((()=>((e,n,o)=>t.createTheme({direction:o,custom:{palette:{black:"#000000",white:"#ffffff",neutral:N[e],neutralAlpha:"light"===e?V:F,purple:U[e],red:G[e],peach:K[e],yellow:q[e],blue:Z[e],green:Y[e],icon:ae[e].icon,interaction:ae[e].interaction,stroke:ae[e].stroke,surface:ae[e].surface,text:ae[e].text,input:ae[e].input},margin:ee,padding:te,radius:ne,elevation:oe,elevationFilter:re,boxShadow:ie,easing:se,typography:On[n]},palette:{mode:e,primary:{main:L[500]}},spacing:Q,shape:{borderRadius:Q,hotspot:{default:12,active:24}},breakpoints:{values:X},typography:{fontFamily:`"${ce.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:$n(n),styleOverrides:{root:{color:ae[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${N[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: '${ce.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.Domaine.default.weight};\n src: url(${wf}${ce.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ce.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.Domaine.bold.weight};\n src: url(${wf}${ce.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ce.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.FoundersGrotesk.default.weight};\n src: url(${wf}${ce.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ce.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.FoundersGrotesk.bold.weight};\n src: url(${wf}${ce.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${X.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${X.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:ce.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*Q}px ${e.padding.md*Q}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,u)),[s,u,l]),x=t.useMediaQuery(g.breakpoints.only("sm"),{noSsr:!0}),v=t.useMediaQuery(g.breakpoints.only("md"),{noSsr:!0}),y=t.useMediaQuery(g.breakpoints.between("lg","xl"),{noSsr:!0}),b=t.useMediaQuery(g.breakpoints.up("xl"),{noSsr:!0});return e.useEffect((()=>{e.startTransition((()=>{x&&f("sm"),v&&f("md"),y&&f("lg"),b&&f("xl")}))}),[x,v,y,b]),{breakpoint:m,gridOverlayVisible:p,mode:s,theme:g,toggleGridOverlay:()=>{e.startTransition((()=>{h((e=>!e))}))},toggleMode:t=>{e.startTransition((()=>{if(t)return a(t);a((e=>"light"===e?"dark":"light"))}))}}},kf=xf({key:"muirtl",stylisPlugins:[M.prefixer,P]}),Mf=xf({key:"mui"});exports.AuthContainerSurface=({children:e,headContent:o,sx:r,...i})=>{const s=t.useTheme();return ge.jsxs(an,{...i,sx:n.mergeSx(r,{mx:[s.spacing(s.custom.margin.md),0],width:1,maxWidth:[512]}),children:[o&&ge.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}),ge.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:n,subText:o})=>{const r=t.useTheme();return ge.jsxs(t.Stack,{gap:r.spacing(r.custom.margin.md),alignItems:"center",mb:r.spacing(r.custom.margin.lg),children:[!1===e?null:e||ge.jsx(en,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),ge.jsxs(t.Stack,{gap:r.spacing(r.custom.margin.md),children:[n&&ge.jsx(dn,{variation:"sm",component:"h1",align:"center",weight:"bold",children:n}),function(){if(o)return"string"==typeof o?ge.jsx(dn,{variation:"md",component:"p",align:"center",children:o}):o}()]})]})},exports.Avatar=Co,exports.AvatarGroup=({variation:e="primary",...n})=>{if("primary"===e)return ge.jsx(t.AvatarGroup,{...n})},exports.Breadcrumb=gn,exports.Button=Hp,exports.Checkbox=ch,exports.CheckboxGroup=ph,exports.ColorBackgroundContainer=({sx:e,children:o,texture:r="noise1",gradient:i="tone1",...s})=>{const a=t.useTheme();return ge.jsx(t.Container,{maxWidth:!1,disableGutters:!0,sx:n.mergeSx({background:ih(a,{texture:r,gradient:i}),height:"100%",p:[0,0,0]},!!e&&{...e}),...s,children:o})},exports.CustomField=hh,exports.DEFAULT_MAX_INPUT_LENGTH=nh,exports.Differential=Sh,exports.DropdownMenu=({open:e,anchorEl:n,handleClick:o,handleClose:r,items:i,...s})=>ge.jsx(ge.Fragment,{children:ge.jsx(kh,{anchorEl:n,open:e,onClose:r,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...s,children:i?.map(((e,n)=>ge.jsxs(t.MenuItem,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&ge.jsx(t.Box,{mr:1,children:e.icon}),e.label]},n)))})}),exports.FormControlLabel=sh,exports.FormGenerator=Nm,exports.GridOverlay=({breakpoint:e})=>{const n=Array.from({length:6},((e,t)=>t));return e||(e=nr()),ge.jsxs(_m,{children:[ge.jsx(Um,{children:ge.jsx(Gm,{children:ge.jsxs(t.Unstable_Grid2,{container:!0,spacing:2,sx:{flex:1},children:[n.map((e=>ge.jsx(t.Unstable_Grid2,{sm:!0,sx:{display:{sm:"none",md:"block"}},children:ge.jsx(Km,{})},`grid-1-${e}`))),n.map((e=>ge.jsx(t.Unstable_Grid2,{sm:!0,sx:{display:{sm:"block"}},children:ge.jsx(Km,{})},`grid-2-${e}`)))]})})}),!!e&&ge.jsx(qm,{children:ge.jsx(dn,{variation:"md",component:"p",weight:"bold",children:e})})]})},exports.Header=({backHref:e,title:n,breadcrumbLinks:o,buttons:r,controlBar:i})=>ge.jsxs(ge.Fragment,{children:[ge.jsx(En,{sx:{justifyContent:"space-between"},children:ge.jsx(t.Container,{children:ge.jsx(t.Unstable_Grid2,{container:!0,spacing:2,children:ge.jsx(t.Unstable_Grid2,{sm:!0,children:ge.jsxs(Vn,{sx:{justifyContent:"space-between",py:1},children:[ge.jsxs(Vn,{children:[e&&ge.jsx(Bn,{sizing:"lg",icon:ge.jsx(en,{name:"arrow-left",size:20})}),ge.jsxs(Vn,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[n&&ge.jsx(dn,{variation:"lg",component:"p",weight:"bold",children:n}),o&&ge.jsx(gn,{links:o})]})]}),r&&ge.jsx(Vn,{children:r})]})})})})}),i&&ge.jsx(zn,{children:ge.jsx(t.Container,{children:ge.jsx(t.Unstable_Grid2,{container:!0,spacing:2,children:ge.jsx(t.Unstable_Grid2,{sm:!0,children:ge.jsx(In,{children:ge.jsx(Rn,{children:i})})})})})})]}),exports.Html=Mh,exports.Icon=en,exports.IconButton=Bn,exports.IconButtonGroup=({ButtonGroupProps:e,children:t,...n})=>ge.jsx(Xm,{...n,...e,children:t}),exports.Image=No,exports.InputFieldBase=uh,exports.InputLabel=Th,exports.InputLabelHelp=gh,exports.Likert=Vh,exports.Link=cn,exports.Loader=()=>ge.jsx(t.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:ge.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),exports.Logo=e=>ge.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:ge.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.LoopsAiButton=()=>ge.jsx(Jm,{variation:"primary",sizing:"md",startIcon:ge.jsx(en,{name:"ai"}),children:"Loops AI"}),exports.Markdown=e=>{const{children:t}=e,n=t&&t.replaceAll(/\s/g," ").replaceAll(/<p><\/p>/g,"<br />");return ge.jsx(k,{options:{overrides:{p:{component:dn,props:Qm},strong:{component:dn,props:{...Qm,weight:"bold"}},em:{component:dn,props:{...Qm,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:ef,forceBlock:!0,forceWrapper:!0},children:n})},exports.MenuButton=ro,exports.Navigation=({logoLink:e,isMobile:n,nudgeProps:o,primaryMenuItemProps:r,secondaryMenuItemProps:i,sizing:s="lg",tertiaryMenuItemProps:a,toggleMenuOnClick:l=()=>{},userMenuProps:c})=>{const u=t.useTheme();return ge.jsxs(Oo,{navigationSizing:s,children:[ge.jsx(Do,{logoLink:e,navigationSizing:s,toggleMenuOnClick:l,isMobile:n}),ge.jsx($o,{children:ge.jsxs(t.Stack,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[r?.length>0&&ge.jsx(t.Stack,{sx:{gap:"lg"===s?.5:2,width:"100%"},children:r.map(((e,t)=>ge.jsx(ro,{navigationSizing:s,...e},`primary-menu-item-${t}`)))}),ge.jsxs(t.Stack,{sx:{gap:2},children:[o?.title&&ge.jsx(jo,{navigationSizing:s,...o}),i?.length>0&&i.map(((e,t)=>ge.jsx(ro,{navigationSizing:s,...e,label:"Help center"===e.label&&"sm"===s?"Help":e.label},`secondary-menu-item-${t}`))),ge.jsx(t.Divider,{sx:{color:u.custom.palette.stroke.default}}),ge.jsx(Io,{navigationSizing:s,...c}),a?.length>0&&ge.jsx(Ho,{children:a.map(((e,t)=>ge.jsx(ro,{navigationSizing:s,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},exports.Nudge=jo,exports.NumberField=Lh,exports.OnboardingCard=({cardTitle:n,cardSubtitle:o,welcomeImageUrl:r,welcomeImageAltDescription:s,items:a=[]})=>{const[l,c]=e.useState(!0),u=nr(),d=()=>c(!l),p=a.length,h=a.filter((e=>e.complete)).length,m=h/p*100;return ge.jsxs(an,{variation:"raised",borderradius:"lg",sx:{display:"flex",flexDirection:"xl"===u?"row":"column",gap:e=>e.spacing(e.custom.margin.lg),padding:e=>e.spacing(e.custom.padding.lg)},children:[ge.jsxs(ir,{children:[ge.jsx(t.Box,{component:"img",src:r,alt:s,width:"72px",height:"72px"}),ge.jsx(dn,{component:"h1",variation:"md",fontWeight:500,children:n}),ge.jsx(ar,{component:"p",variation:"lg",children:o})]}),ge.jsxs(sr,{children:[ge.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",alignItems:"start",width:"100%",height:"36px",paddingBottom:e=>e.spacing(e.custom.padding.sm)},children:[ge.jsx(Qp,{completed:h,total:p}),l&&ge.jsx(Bn,{sizing:"sm",variation:"outlined",icon:ge.jsx(i.ExpandLess,{}),onClick:d})]}),ge.jsx(rr,{variation:"determinate",value:m}),ge.jsx(Jp,{expanded:l,onToggleExpanded:d,items:a})]})]})},exports.Pill=({body:e,maxWidth:t,...n})=>ge.jsx(of,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...n}),exports.Popper=xo,exports.Portal=t=>{const[n,o]=e.useState(null),r=n?.contentWindow?.document?.body,i=xf({key:"css",container:n?.contentWindow?.document?.head,prepend:!0});return ge.jsx(vf,{ref:o,children:r&&g.createPortal(ge.jsx(T.CacheProvider,{value:i,children:t.children}),r)})},exports.PoweredByWatermarkLogo=()=>ge.jsxs(t.Stack,{gap:.5,flexDirection:"row",children:[ge.jsx(t.SvgIcon,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ge.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"})}),ge.jsxs(t.SvgIcon,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ge.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:ge.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"})}),ge.jsx("defs",{children:ge.jsx("clipPath",{id:"clip0_900_1816",children:ge.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),exports.Progress=vn,exports.ProgressBar=rr,exports.ProjectItem=e=>"list"===e.viewType?ge.jsx(Jo,{...e}):ge.jsx(Xo,{...e}),exports.Radio=bh,exports.RadioGroup=Dh,exports.Rank=gm,exports.RichTextField=vm,exports.SectionHeader=({buttons:e,subtitle:n,title:o})=>ge.jsx(ge.Fragment,{children:ge.jsx(Qo,{sx:{justifyContent:"space-between"},children:ge.jsx(t.Container,{children:ge.jsx(t.Unstable_Grid2,{container:!0,spacing:2,children:ge.jsx(t.Unstable_Grid2,{sm:!0,children:ge.jsxs(er,{sx:{justifyContent:"space-between",py:1},children:[ge.jsx(er,{children:ge.jsxs(er,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[o&&ge.jsx(dn,{variation:"sm",component:"h2",weight:"bold",children:o}),n&&ge.jsx(tr,{variation:"sm",component:"p",children:n})]})}),e&&ge.jsx(er,{children:e})]})})})})})}),exports.Select=om,exports.Slider=Mm,exports.SortableList=fm,exports.StarRating=Pm,exports.Surface=an,exports.Switch=Bm,exports.TextBarDivider=({typographyProps:e,text:o,sx:r})=>{const i=t.useTheme();return ge.jsx(t.Box,{sx:n.mergeSx(r,{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:ge.jsx(dn,{align:"center",variation:"sm",component:"p",...e,children:o})})},exports.TextField=dh,exports.Textarea=zm,exports.ThemeProvider=({mode:e="light",screenSize:n="lg",direction:o="ltr",children:r})=>{const i=Sf(e,n,o);return ge.jsx(Cf.Provider,{value:i,children:ge.jsx(T.CacheProvider,{value:"rtl"===o?kf:Mf,children:ge.jsxs(l.ThemeProvider,{theme:i.theme,children:[ge.jsx(t.CssBaseline,{}),ge.jsx(jf,{}),r]})})})},exports.Toast=({buttons:e,message:n,status:o="neutral",variation:r="sm"})=>{const i=t.useTheme();return ge.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:ge.jsxs(t.Box,{sx:{display:"flex",flex:1,flexDirection:"sm"===r?"row":"column",gap:2},children:[ge.jsxs(t.Box,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==o&&ge.jsx(yf,{status:o}),ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(dn,{variation:"md",component:"p",sx:{px:1,pt:.5},children:n})})]}),e&&ge.jsx(t.Box,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},exports.Tooltip=yn,exports.Typography=dn,exports.UserMenu=Io,exports.backgroundCreator=ih,exports.base=Q,exports.blue=H,exports.blueRamp=Z,exports.boxShadow=ie,exports.breakpoints=X,exports.chooseArticle=eh,exports.darkNeutral=R,exports.darkNeutralAlpha=F,exports.defaultInputValidation=th,exports.easing=se,exports.elevation=oe,exports.elevationFilter=re,exports.emailValidation={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},exports.fonts=ce,exports.generateRamp=_,exports.green=W,exports.greenRamp=Y,exports.iconSizeMap=Qt,exports.margin=ee,exports.neutral=I,exports.neutralAlpha=V,exports.neutralRamp=N,exports.padding=te,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.peach=O,exports.peachRamp=K,exports.purple=L,exports.purpleRamp=U,exports.radius=ne,exports.red=D,exports.redRamp=G,exports.semantic=ae,exports.space=J,exports.useDropdownMenu=()=>{const[t,n]=e.useState(null);return{open:Boolean(t),handleClick:e=>{n(e.currentTarget)},handleClose:()=>{n(null)},anchorEl:t}},exports.yellow=$,exports.yellowRamp=q;
|
|
23
|
+
*/function Br(){if(gr)return fr;gr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return fr=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(a[c]=i[c]);if(e){s=e(i);for(var u=0;u<s.length;u++)n.call(i,s[u])&&(a[s[u]]=i[s[u]])}}return a},fr}function Ar(){if(vr)return xr;vr=1;return xr="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function zr(){return br?yr:(br=1,yr=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Er=Pr();ur.exports=function(){if(Sr)return Cr;Sr=1;var e=Pr(),t=Br(),n=Ar(),o=zr(),r=function(){if(jr)return wr;jr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Ar(),n={},o=zr();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,a,s,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},wr=r}(),i=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Cr=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(s),arrayOf:function(e){return m((function(t,o,r,i,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[o];if(!Array.isArray(a))return new h("Invalid "+i+" `"+s+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,r,i,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,o,r){var i=e[t];return a(i)?null:new h("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,o,r,i){var s=t[n];return e.isValidElementType(s)?null:new h("Invalid "+r+" `"+i+"` of type `"+v(s)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,o,r,i){if(!(t[n]instanceof e)){var s=e.name||u;return new h("Invalid "+r+" `"+i+"` of type `"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `"+o+"`, expected instance of `"+s+"`.")}var a;return null}))},node:m((function(e,t,n,o,r){return x(e[t])?null:new h("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,r,i,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,s,a+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,o,r,i){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new h("Invalid "+r+" `"+i+"` of value `"+String(s)+"` supplied to `"+o+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(r)+" at index "+t+"."),s}return m((function(t,r,i,s,a){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,s,a,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,o,r,i,s){var a=t[o],l=v(a);if("object"!==l)return new h("Invalid "+i+" `"+s+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,s,c,y(u));var d=u(a,c,r,i,s+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(r,i,s,a,l){var c=r[i],u=v(c);if("object"!==u)return new h("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var m=e[p];if(o(e,p)&&"function"!=typeof m)return g(s,a,l,p,y(m));if(!m)return new h("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,p,s,a,l+"."+p,n);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,s,a,c,d,p,m){if(c=c||u,p=p||a,m!==n){if(l){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,o++)}}return null==s[a]?r?null===s[a]?new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,d,p)}var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function f(e){return m((function(t,n,o,r,i,s){var a=t[n];return v(a)!==e?new h("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,o,r){return new h((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!x(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!x(r[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},Cr}()(Er.isElement,!0)}else ur.exports=function(){if(Mr)return kr;Mr=1;var e=Ar();function t(){}function n(){}return n.resetWarningCache=t,kr=function(){function o(t,n,o,r,i,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var Ir=ue(ur.exports);function Rr(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Rr(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Vr(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Rr(e))&&(o&&(o+=" "),o+=t);return o}const Fr=e=>e,Lr=(()=>{let e=Fr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Fr}}})(),Dr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Or(e,t,n="Mui"){const o=Dr[t];return o?`${n}-${o}`:`${Lr.generate(e)}-${t}`}const $r=A.createContext({});function Hr(e){return Or("MuiTimeline",e)}function Wr(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${c.capitalize(e)}`}"production"!==process.env.NODE_ENV&&($r.displayName="TimelineContext"),function(e,t,n="Mui"){const o={};t.forEach((t=>{o[t]=Or(e,t,n)}))}("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const Nr=["position","className"],_r=e=>{const{position:t,classes:n}=e;return function(e,t,n){const o={};return Object.keys(e).forEach((r=>{o[r]=e[r].reduce(((e,o)=>{if(o){const r=t(o);""!==r&&e.push(r),n&&n[o]&&e.push(n[o])}return e}),[]).join(" ")})),o}({root:["root",t&&Wr(t)]},Hr,n)},Ur=l.styled("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[Wr(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),Gr=A.forwardRef((function(e,t){const n=l.useThemeProps({props:e,name:"MuiTimeline"}),{position:o="right",className:r}=n,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(n,Nr),s=lr({},n,{position:o}),a=_r(s),c=A.useMemo((()=>({position:o})),[o]);return ge.jsx($r.Provider,{value:c,children:ge.jsx(Ur,lr({className:Vr(a.root,r),ownerState:s,ref:t},i))})}));"production"!==process.env.NODE_ENV&&(Gr.propTypes={children:Ir.node,classes:Ir.object,className:Ir.string,position:Ir.oneOf(["alternate-reverse","alternate","left","right"]),sx:Ir.oneOfType([Ir.arrayOf(Ir.oneOfType([Ir.func,Ir.object,Ir.bool])),Ir.func,Ir.object])});const qr=e.createContext({});const Kr=e.createContext(null),Zr=e.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});const Yr="undefined"!=typeof window,Xr=Yr?e.useLayoutEffect:e.useEffect,Jr=e=>e;let Qr=Jr,ei=Jr;"production"!==process.env.NODE_ENV&&(Qr=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},ei=(e,t)=>{if(!e)throw new Error(t)});const ti=!1;const ni=["read","resolveKeyframes","update","preRender","render","postRender"];function oi(e,t){let n=!1,o=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=ni.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,o=!1,r=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){i.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,r=!1,s=!1)=>{const a=s&&o?t:n;return r&&i.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{s=e,o?r=!0:(o=!0,[t,n]=[n,t],t.forEach(a),t.clear(),o=!1,r&&(r=!1,l.process(e)))}};return l}(i),e)),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:p}=s,h=()=>{const i=performance.now();n=!1,r.delta=o?1e3/60:Math.max(Math.min(i-r.timestamp,40),1),r.timestamp=i,r.isProcessing=!0,a.process(r),l.process(r),c.process(r),u.process(r),d.process(r),p.process(r),r.isProcessing=!1,n&&t&&(o=!1,e(h))};return{schedule:ni.reduce(((t,i)=>{const a=s[i];return t[i]=(t,i=!1,s=!1)=>(n||(n=!0,o=!0,r.isProcessing||e(h)),a.schedule(t,i,s)),t}),{}),cancel:e=>{for(let t=0;t<ni.length;t++)s[ni[t]].cancel(e)},state:r,steps:s}}const{schedule:ri,cancel:ii,state:si,steps:ai}=oi("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Jr,!0),li=e.createContext({strict:!1}),ci={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ui={};for(const e in ci)ui[e]={isEnabled:t=>ci[e].some((e=>!!t[e]))};const di=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function pi(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||di.has(e)}let hi=e=>!pi(e);try{(mi=require("@emotion/is-prop-valid").default)&&(hi=e=>e.startsWith("on")?!pi(e):mi(e))}catch(e){}var mi;const fi=new Set;function gi(e,t,n){e||fi.has(t)||(console.warn(t),fi.add(t))}function xi(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>("production"!==process.env.NODE_ENV&&gi(!1,"motion() is deprecated. Use motion.create() instead."),e(...t))),{get:(n,o)=>"create"===o?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const vi=e.createContext({});function yi(e){return"string"==typeof e||Array.isArray(e)}function bi(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const wi=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ji=["initial",...wi];function Ci(e){return bi(e.animate)||ji.some((t=>yi(e[t])))}function Si(e){return Boolean(Ci(e)||e.variants)}function ki(t){const{initial:n,animate:o}=function(e,t){if(Ci(e)){const{initial:t,animate:n}=e;return{initial:!1===t||yi(t)?t:void 0,animate:yi(n)?n:void 0}}return!1!==e.inherit?t:{}}(t,e.useContext(vi));return e.useMemo((()=>({initial:n,animate:o})),[Mi(n),Mi(o)])}function Mi(e){return Array.isArray(e)?e.join(" "):e}const Ti=Symbol.for("motionComponentSymbol");function Pi(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Bi(t,n,o){return e.useCallback((e=>{e&&t.onMount&&t.onMount(e),n&&(e?n.mount(e):n.unmount()),o&&("function"==typeof o?o(e):Pi(o)&&(o.current=e))}),[n])}const Ai=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),zi="data-"+Ai("framerAppearId"),{schedule:Ei,cancel:Ii}=oi(queueMicrotask,!1),Ri=e.createContext({});function Vi(t,n,o,r,i){var s,a;const{visualElement:l}=e.useContext(vi),c=e.useContext(li),u=e.useContext(Kr),d=e.useContext(Zr).reducedMotion,p=e.useRef(null);r=r||c.renderer,!p.current&&r&&(p.current=r(t,{visualState:n,parent:l,props:o,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:d}));const h=p.current,m=e.useContext(Ri);!h||h.projection||!i||"html"!==h.type&&"svg"!==h.type||function(e,t,n,o){const{layoutId:r,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Fi(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:Boolean(s)||a&&Pi(a),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:o,layoutScroll:l,layoutRoot:c})}(p.current,o,i,m);const f=e.useRef(!1);e.useInsertionEffect((()=>{h&&f.current&&h.update(o,u)}));const g=o[zi],x=e.useRef(Boolean(g)&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,g))&&(null===(a=window.MotionHasOptimisedAnimation)||void 0===a?void 0:a.call(window,g)));return Xr((()=>{h&&(f.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),Ei.render(h.render),x.current&&h.animationState&&h.animationState.animateChanges())})),e.useEffect((()=>{h&&(!x.current&&h.animationState&&h.animationState.animateChanges(),x.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,g)})),x.current=!1))})),h}function Fi(e){if(e)return!1!==e.options.allowProjection?e.projection:Fi(e.parent)}function Li({preloadedFeatures:t,createVisualElement:n,useRender:o,useVisualState:r,Component:i}){var s,a;function l(s,a){let l;const c={...e.useContext(Zr),...s,layoutId:Di(s)},{isStatic:u}=c,d=ki(s),p=r(s,u);if(!u&&Yr){!function(t,n){const o=e.useContext(li).strict;if("production"!==process.env.NODE_ENV&&n&&o){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Qr(!1,e):ei(!1,e)}}(c,t);const o=function(e){const{drag:t,layout:n}=ui;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}(c);l=o.MeasureLayout,d.visualElement=Vi(i,p,c,n,o.ProjectionNode)}return ge.jsxs(vi.Provider,{value:d,children:[l&&d.visualElement?ge.jsx(l,{visualElement:d.visualElement,...c}):null,o(i,s,Bi(p,d.visualElement,a),p,u,d.visualElement)]})}t&&function(e){for(const t in e)ui[t]={...ui[t],...e[t]}}(t),l.displayName=`motion.${"string"==typeof i?i:`create(${null!==(a=null!==(s=i.displayName)&&void 0!==s?s:i.name)&&void 0!==a?a:""})`}`;const c=e.forwardRef(l);return c[Ti]=i,c}function Di({layoutId:t}){const n=e.useContext(qr).id;return n&&void 0!==t?n+"-"+t:t}const Oi=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function $i(e){return"string"==typeof e&&!e.includes("-")&&!!(Oi.indexOf(e)>-1||/[A-Z]/u.test(e))}function Hi(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function Wi(e,t,n,o){if("function"==typeof t){const[r,i]=Hi(o);t=t(void 0!==n?n:e.custom,r,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[r,i]=Hi(o);t=t(void 0!==n?n:e.custom,r,i)}return t}const Ni=e=>Array.isArray(e),_i=e=>Boolean(e&&e.getVelocity);function Ui(e){const t=_i(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Gi=t=>(n,o)=>{const r=e.useContext(vi),i=e.useContext(Kr),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},o,r,i){const s={latestValues:qi(o,r,i,e),renderState:t()};return n&&(s.onMount=e=>n({props:o,current:e,...s}),s.onUpdate=e=>n(e)),s}(t,n,r,i);return o?s():function(t){const n=e.useRef(null);return null===n.current&&(n.current=t()),n.current}(s)};function qi(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=Ui(i[e]);let{initial:s,animate:a}=e;const l=Ci(e),c=Si(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!bi(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const o=Wi(e,t[n]);if(o){const{transitionEnd:e,transition:t,...n}=o;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const t in e)r[t]=e[t]}}}return r}const Ki=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Zi=new Set(Ki),Yi=e=>t=>"string"==typeof t&&t.startsWith(e),Xi=Yi("--"),Ji=Yi("var(--"),Qi=e=>!!Ji(e)&&es.test(e.split("/*")[0].trim()),es=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ts=(e,t)=>t&&"number"==typeof e?t.transform(e):e,ns=(e,t,n)=>n>t?t:n<e?e:n,os={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},rs={...os,transform:e=>ns(0,1,e)},is={...os,default:1},ss=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),as=ss("deg"),ls=ss("%"),cs=ss("px"),us=ss("vh"),ds=ss("vw"),ps={...ls,parse:e=>ls.parse(e)/100,transform:e=>ls.transform(100*e)},hs={borderWidth:cs,borderTopWidth:cs,borderRightWidth:cs,borderBottomWidth:cs,borderLeftWidth:cs,borderRadius:cs,radius:cs,borderTopLeftRadius:cs,borderTopRightRadius:cs,borderBottomRightRadius:cs,borderBottomLeftRadius:cs,width:cs,maxWidth:cs,height:cs,maxHeight:cs,top:cs,right:cs,bottom:cs,left:cs,padding:cs,paddingTop:cs,paddingRight:cs,paddingBottom:cs,paddingLeft:cs,margin:cs,marginTop:cs,marginRight:cs,marginBottom:cs,marginLeft:cs,backgroundPositionX:cs,backgroundPositionY:cs},ms={rotate:as,rotateX:as,rotateY:as,rotateZ:as,scale:is,scaleX:is,scaleY:is,scaleZ:is,skew:as,skewX:as,skewY:as,distance:cs,translateX:cs,translateY:cs,translateZ:cs,x:cs,y:cs,z:cs,perspective:cs,transformPerspective:cs,opacity:rs,originX:ps,originY:ps,originZ:cs},fs={...os,transform:Math.round},gs={...hs,...ms,zIndex:fs,size:cs,fillOpacity:rs,strokeOpacity:rs,numOctaves:fs},xs={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},vs=Ki.length;function ys(e,t,n){const{style:o,vars:r,transformOrigin:i}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(Zi.has(e))s=!0;else if(Xi(e))r[e]=n;else{const t=ts(n,gs[e]);e.startsWith("origin")?(a=!0,i[e]=t):o[e]=t}}if(t.transform||(s||n?o.transform=function(e,t,n){let o="",r=!0;for(let i=0;i<vs;i++){const s=Ki[i],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const e=ts(a,gs[s]);l||(r=!1,o+=`${xs[s]||s}(${e}) `),n&&(t[s]=e)}}return o=o.trim(),n?o=n(t,r?"":o):r&&(o="none"),o}(t,e.transform,n):o.transform&&(o.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;o.transformOrigin=`${e} ${t} ${n}`}}const bs={offset:"stroke-dashoffset",array:"stroke-dasharray"},ws={offset:"strokeDashoffset",array:"strokeDasharray"};function js(e,t,n){return"string"==typeof e?e:cs.transform(t+n*e)}function Cs(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d){if(ys(e,c,d),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==r||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${js(t,e.x,e.width)} ${js(n,e.y,e.height)}`}(m,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==o&&(p.scale=o),void 0!==s&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?bs:ws;e[i.offset]=cs.transform(-o);const s=cs.transform(t),a=cs.transform(n);e[i.array]=`${s} ${a}`}(p,s,a,l,!1)}const Ss=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ks=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Ms=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ts(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const Ps=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Bs(e,t,n,o){Ts(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(Ps.has(n)?n:Ai(n),t.attrs[n])}const As={};function zs(e,{layout:t,layoutId:n}){return Zi.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!As[e]||"opacity"===e)}function Es(e,t,n){var o;const{style:r}=e,i={};for(const s in r)(_i(r[s])||t.style&&_i(t.style[s])||zs(s,e)||void 0!==(null===(o=null==n?void 0:n.getValue(s))||void 0===o?void 0:o.liveStyle))&&(i[s]=r[s]);return i}function Is(e,t,n){const o=Es(e,t,n);for(const n in e)if(_i(e[n])||_i(t[n])){o[-1!==Ki.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return o}const Rs=["x","y","width","height","cx","cy","r"],Vs={useVisualState:Gi({scrapeMotionValuesFromProps:Is,createRenderState:ks,onUpdate:({props:e,prevProps:t,current:n,renderState:o,latestValues:r})=>{if(!n)return;let i=!!e.drag;if(!i)for(const e in r)if(Zi.has(e)){i=!0;break}if(!i)return;let s=!t;if(t)for(let n=0;n<Rs.length;n++){const o=Rs[n];e[o]!==t[o]&&(s=!0)}s&&ri.read((()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,o),ri.render((()=>{Cs(o,r,Ms(n.tagName),e.transformTemplate),Bs(n,o)}))}))}})},Fs={useVisualState:Gi({scrapeMotionValuesFromProps:Es,createRenderState:Ss})};function Ls(e,t,n){for(const o in t)_i(t[o])||zs(o,n)||(e[o]=t[o])}function Ds(t,n){const o={};return Ls(o,t.style||{},t),Object.assign(o,function({transformTemplate:t},n){return e.useMemo((()=>{const e={style:{},transform:{},transformOrigin:{},vars:{}};return ys(e,n,t),Object.assign({},e.vars,e.style)}),[n])}(t,n)),o}function Os(e,t){const n={},o=Ds(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}function $s(t,n,o,r){const i=e.useMemo((()=>{const e={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Cs(e,n,Ms(r),t.transformTemplate),{...e.attrs,style:{...e.style}}}),[n]);if(t.style){const e={};Ls(e,t.style,t),i.style={...e,...i.style}}return i}function Hs(t=!1){return(n,o,r,{latestValues:i},s)=>{const a=($i(n)?$s:Os)(o,i,s,n),l=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(hi(r)||!0===n&&pi(r)||!t&&!pi(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(o,"string"==typeof n,t),c=n!==e.Fragment?{...l,...a,ref:r}:{},{children:u}=o,d=e.useMemo((()=>_i(u)?u.get():u),[u]);return e.createElement(n,{...c,children:d})}}function Ws(e,t){return function(n,{forwardMotionProps:o}={forwardMotionProps:!1}){return Li({...$i(n)?Vs:Fs,preloadedFeatures:e,useRender:Hs(o),createVisualElement:t,Component:n})}}function Ns(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function _s(e,t,n){const o=e.getProps();return Wi(o,t,void 0!==n?n:o.custom,e)}function Us(e,t){return e?e[t]||e.default||e:void 0}const Gs=new Set(["width","height","top","left","right","bottom",...Ki]);let qs;function Ks(){qs=void 0}const Zs={now:()=>(void 0===qs&&Zs.set(si.isProcessing||ti?si.timestamp:performance.now()),qs),set:e=>{qs=e,queueMicrotask(Ks)}};function Ys(e,t){-1===e.indexOf(t)&&e.push(t)}function Xs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Js{constructor(){this.subscriptions=[]}add(e){return Ys(this.subscriptions,e),()=>Xs(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Qs(e,t){return t?e*(1e3/t):0}class ea{constructor(e,t={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Zs.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Zs.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&gi(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Js);const n=this.events[e].add(t);return"change"===e?()=>{n(),ri.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Zs.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Qs(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ta(e,t){return new ea(e,t)}function na(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ta(n))}function oa(e,t){const n=e.getValue("willChange");if(o=n,Boolean(_i(o)&&o.add))return n.add(t);var o}function ra(e){return e.props[zi]}function ia(e){let t;return()=>(void 0===t&&(t=e()),t)}const sa=ia((()=>void 0!==window.ScrollTimeline));class aa{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>sa()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class la extends aa{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}const ca=e=>1e3*e,ua=e=>e/1e3;function da(e){return"function"==typeof e}function pa(e,t){e.timeline=t,e.onfinish=null}const ha=e=>Array.isArray(e)&&"number"==typeof e[0],ma={linearEasing:void 0};function fa(e,t){const n=ia(e);return()=>{var e;return null!==(e=ma[t])&&void 0!==e?e:n()}}const ga=fa((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),xa=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},va=(e,t,n=10)=>{let o="";const r=Math.max(Math.round(t/n),2);for(let t=0;t<r;t++)o+=e(xa(0,r-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`};function ya(e){return Boolean("function"==typeof e&&ga()||!e||"string"==typeof e&&(e in wa||ga())||ha(e)||Array.isArray(e)&&e.every(ya))}const ba=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,wa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ba([0,.65,.55,1]),circOut:ba([.55,0,1,.45]),backIn:ba([.31,.01,.66,-.59]),backOut:ba([.33,1.53,.69,.99])};function ja(e,t){return e?"function"==typeof e&&ga()?va(e,t):ha(e)?ba(e):Array.isArray(e)?e.map((e=>ja(e,t)||wa.easeOut)):wa[e]:void 0}const Ca=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Sa(e,t,n,o){if(e===t&&n===o)return Jr;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=Ca(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Ca(r(e),t,o)}const ka=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ma=e=>t=>1-e(1-t),Ta=Sa(.33,1.53,.69,.99),Pa=Ma(Ta),Ba=ka(Pa),Aa=e=>(e*=2)<1?.5*Pa(e):.5*(2-Math.pow(2,-10*(e-1))),za=e=>1-Math.sin(Math.acos(e)),Ea=Ma(za),Ia=ka(za),Ra=e=>/^0[^.\s]+$/u.test(e);const Va=e=>Math.round(1e5*e)/1e5,Fa=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const La=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Da=(e,t)=>n=>Boolean("string"==typeof n&&La.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),Oa=(e,t,n)=>o=>{if("string"!=typeof o)return o;const[r,i,s,a]=o.match(Fa);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},$a={...os,transform:e=>Math.round((e=>ns(0,255,e))(e))},Ha={test:Da("rgb","red"),parse:Oa("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+$a.transform(e)+", "+$a.transform(t)+", "+$a.transform(n)+", "+Va(rs.transform(o))+")"};const Wa={test:Da("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:Ha.transform},Na={test:Da("hsl","hue"),parse:Oa("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ls.transform(Va(t))+", "+ls.transform(Va(n))+", "+Va(rs.transform(o))+")"},_a={test:e=>Ha.test(e)||Wa.test(e)||Na.test(e),parse:e=>Ha.test(e)?Ha.parse(e):Na.test(e)?Na.parse(e):Wa.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Ha.transform(e):Na.transform(e)},Ua=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const Ga="number",qa="color",Ka=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Za(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},r=[];let i=0;const s=t.replace(Ka,(e=>(_a.test(e)?(o.color.push(i),r.push(qa),n.push(_a.parse(e))):e.startsWith("var(")?(o.var.push(i),r.push("var"),n.push(e)):(o.number.push(i),r.push(Ga),n.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:n,split:s,indexes:o,types:r}}function Ya(e){return Za(e).values}function Xa(e){const{split:t,types:n}=Za(e),o=t.length;return e=>{let r="";for(let i=0;i<o;i++)if(r+=t[i],void 0!==e[i]){const t=n[i];r+=t===Ga?Va(e[i]):t===qa?_a.transform(e[i]):e[i]}return r}}const Ja=e=>"number"==typeof e?0:e;const Qa={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(Fa))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Ua))||void 0===n?void 0:n.length)||0)>0},parse:Ya,createTransformer:Xa,getAnimatableNone:function(e){const t=Ya(e);return Xa(e)(t.map(Ja))}},el=new Set(["brightness","contrast","saturate","opacity"]);function tl(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(Fa)||[];if(!o)return e;const r=n.replace(o,"");let i=el.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const nl=/\b([a-z-]*)\(.*?\)/gu,ol={...Qa,getAnimatableNone:e=>{const t=e.match(nl);return t?t.map(tl).join(" "):e}},rl={...gs,color:_a,backgroundColor:_a,outlineColor:_a,fill:_a,stroke:_a,borderColor:_a,borderTopColor:_a,borderRightColor:_a,borderBottomColor:_a,borderLeftColor:_a,filter:ol,WebkitFilter:ol},il=e=>rl[e];function sl(e,t){let n=il(e);return n!==ol&&(n=Qa),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const al=new Set(["auto","none","0"]);const ll=e=>e===os||e===cs,cl=(e,t)=>parseFloat(e.split(", ")[t]),ul=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/u);if(r)return cl(r[1],t);{const t=o.match(/^matrix\((.+)\)$/u);return t?cl(t[1],e):0}},dl=new Set(["x","y","z"]),pl=Ki.filter((e=>!dl.has(e)));const hl={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ul(4,13),y:ul(5,14)};hl.translateX=hl.x,hl.translateY=hl.y;const ml=new Set;let fl=!1,gl=!1;function xl(){if(gl){const e=Array.from(ml).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return pl.forEach((n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var o;null===(o=e.getValue(t))||void 0===o||o.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}gl=!1,fl=!1,ml.forEach((e=>e.complete())),ml.clear()}function vl(){ml.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(gl=!0)}))}class yl{constructor(e,t,n,o,r,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=o,this.element=r,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ml.add(this),fl||(fl=!0,ri.read(vl),ri.resolveKeyframes(xl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:o}=this;for(let r=0;r<e.length;r++)if(null===e[r])if(0===r){const r=null==o?void 0:o.get(),i=e[e.length-1];if(void 0!==r)e[0]=r;else if(n&&t){const o=n.readValue(t,i);null!=o&&(e[0]=o)}void 0===e[0]&&(e[0]=i),o&&void 0===r&&o.set(e[0])}else e[r]=e[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ml.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ml.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const bl=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),wl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jl(e,t,n=1){ei(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=wl.exec(e);if(!t)return[,];const[,n,o,r]=t;return[`--${null!=n?n:o}`,r]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);if(i){const e=i.trim();return bl(e)?parseFloat(e):e}return Qi(r)?jl(r,t,n+1):r}const Cl=e=>t=>t.test(e),Sl=[os,cs,ls,as,ds,us,{test:e=>"auto"===e,parse:e=>e}],kl=e=>Sl.find(Cl(e));class Ml extends yl{constructor(e,t,n,o,r){super(e,t,n,o,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let o=e[n];if("string"==typeof o&&(o=o.trim(),Qi(o))){const r=jl(o,t.current);void 0!==r&&(e[n]=r),n===e.length-1&&(this.finalKeyframe=o)}}if(this.resolveNoneKeyframes(),!Gs.has(n)||2!==e.length)return;const[o,r]=e,i=kl(o),s=kl(r);if(i!==s)if(ll(i)&&ll(s))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(o=e[t])?0===o:null===o||"none"===o||"0"===o||Ra(o))&&n.push(t);var o;n.length&&function(e,t,n){let o,r=0;for(;r<e.length&&!o;){const t=e[r];"string"==typeof t&&!al.has(t)&&Za(t).values.length&&(o=e[r]),r++}if(o&&n)for(const r of t)e[r]=sl(n,o)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=hl[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const o=t[t.length-1];void 0!==o&&e.getValue(n,o).jump(o,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const i=o.length-1,s=o[i];o[i]=hl[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}const Tl=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Qa.test(e)&&"0"!==e||e.startsWith("url(")));function Pl(e,t,n,o){const r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],s=Tl(r,t),a=Tl(i,t);return Qr(s===a,`You are trying to animate ${t} from "${r}" to "${i}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${i} via the \`style\` property.`),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||da(n))&&o)}const Bl=e=>null!==e;function Al(e,{repeat:t,repeatType:n="loop"},o){const r=e.filter(Bl),i=t&&"loop"!==n&&t%2==1?0:r.length-1;return i&&void 0!==o?o:r[i]}class zl{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:o=0,repeatDelay:r=0,repeatType:i="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Zs.now(),this.options={autoplay:e,delay:t,type:n,repeat:o,repeatDelay:r,repeatType:i,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(vl(),xl()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=Zs.now(),this.hasAttemptedResolve=!0;const{name:n,type:o,velocity:r,delay:i,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Pl(e,n,o,r)){if(!i)return a&&a(Al(e,this.options,t)),s&&s(),void this.resolveFinishedPromise();this.options.duration=0}const c=this.initPlayback(e,t);!1!==c&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}const El=2e4;function Il(e){let t=0;let n=e.next(t);for(;!n.done&&t<El;)t+=50,n=e.next(t);return t>=El?1/0:t}const Rl=(e,t,n)=>e+(t-e)*n;function Vl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fl(e,t){return n=>n>0?t:e}const Ll=(e,t,n)=>{const o=e*e,r=n*(t*t-o)+o;return r<0?0:Math.sqrt(r)},Dl=[Wa,Ha,Na];function Ol(e){const t=(n=e,Dl.find((e=>e.test(n))));var n;if(Qr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let o=t.parse(e);return t===Na&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=Vl(a,o,e+1/3),i=Vl(a,o,e),s=Vl(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}(o)),o}const $l=(e,t)=>{const n=Ol(e),o=Ol(t);if(!n||!o)return Fl(e,t);const r={...n};return e=>(r.red=Ll(n.red,o.red,e),r.green=Ll(n.green,o.green,e),r.blue=Ll(n.blue,o.blue,e),r.alpha=Rl(n.alpha,o.alpha,e),Ha.transform(r))},Hl=(e,t)=>n=>t(e(n)),Wl=(...e)=>e.reduce(Hl),Nl=new Set(["none","hidden"]);function _l(e,t){return n=>Rl(e,t,n)}function Ul(e){return"number"==typeof e?_l:"string"==typeof e?Qi(e)?Fl:_a.test(e)?$l:Kl:Array.isArray(e)?Gl:"object"==typeof e?_a.test(e)?$l:ql:Fl}function Gl(e,t){const n=[...e],o=n.length,r=e.map(((e,n)=>Ul(e)(e,t[n])));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}}function ql(e,t){const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=Ul(e[r])(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}}const Kl=(e,t)=>{const n=Qa.createTransformer(t),o=Za(e),r=Za(t);return o.indexes.var.length===r.indexes.var.length&&o.indexes.color.length===r.indexes.color.length&&o.indexes.number.length>=r.indexes.number.length?Nl.has(e)&&!r.values.length||Nl.has(t)&&!o.values.length?function(e,t){return Nl.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Wl(Gl(function(e,t){var n;const o=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],a=e.indexes[s][r[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;o[i]=l,r[s]++}return o}(o,r),r.values),n):(Qr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Fl(e,t))};function Zl(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Rl(e,t,n);return Ul(e)(e,t)}function Yl(e,t,n){const o=Math.max(t-5,0);return Qs(n-e(o),t-o)}const Xl=100,Jl=10,Ql=1,ec=0,tc=800,nc=.3,oc=.3,rc={granular:.01,default:2},ic={granular:.005,default:.5},sc=.01,ac=10,lc=.05,cc=1;function uc({duration:e=tc,bounce:t=nc,velocity:n=ec,mass:o=Ql}){let r,i;Qr(e<=ca(ac),"Spring duration must be 10 seconds or less");let s=1-t;s=ns(lc,cc,s),e=ns(sc,ac,ua(e)),s<1?(r=t=>{const o=t*s,r=o*e;return.001-(o-n)/pc(t,s)*Math.exp(-r)},i=t=>{const o=t*s*e,i=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=pc(Math.pow(t,2),s);return(.001-r(t)>0?-1:1)*((i-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<dc;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=ca(e),isNaN(a))return{stiffness:Xl,damping:Jl,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const dc=12;function pc(e,t){return e*Math.sqrt(1-t*t)}const hc=["duration","bounce"],mc=["stiffness","damping","mass"];function fc(e,t){return t.some((t=>void 0!==e[t]))}function gc(e=oc,t=nc){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:r}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:d,velocity:p,isResolvedFromDuration:h}=function(e){let t={velocity:ec,stiffness:Xl,damping:Jl,mass:Ql,isResolvedFromDuration:!1,...e};if(!fc(e,mc)&&fc(e,hc))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(1.2*n),r=o*o,i=2*ns(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:Ql,stiffness:r,damping:i}}else{const n=uc(e);t={...t,...n,mass:Ql},t.isResolvedFromDuration=!0}return t}({...n,velocity:-ua(n.velocity||0)}),m=p||0,f=c/(2*Math.sqrt(l*u)),g=s-i,x=ua(Math.sqrt(l/u)),v=Math.abs(g)<5;let y;if(o||(o=v?rc.granular:rc.default),r||(r=v?ic.granular:ic.default),f<1){const e=pc(x,f);y=t=>{const n=Math.exp(-f*x*t);return s-n*((m+f*x*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===f)y=e=>s-Math.exp(-x*e)*(g+(m+x*g)*e);else{const e=x*Math.sqrt(f*f-1);y=t=>{const n=Math.exp(-f*x*t),o=Math.min(e*t,300);return s-n*((m+f*x*g)*Math.sinh(o)+e*g*Math.cosh(o))/e}}const b={calculatedDuration:h&&d||null,next:e=>{const t=y(e);if(h)a.done=e>=d;else{let n=0;f<1&&(n=0===e?ca(m):Yl(y,e,t));const i=Math.abs(n)<=o,l=Math.abs(s-t)<=r;a.done=i&&l}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(Il(b),El),t=va((t=>b.next(e*t).value),e,30);return e+"ms "+t}};return b}function xc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const x=e=>-m*Math.exp(-e/o),v=e=>g+x(e),y=e=>{const t=x(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let b,w;const j=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(b=e,w=gc({keyframes:[p.value,h(p.value)],velocity:Yl(v,e,p.value),damping:r,stiffness:i,restDelta:c,restSpeed:u}))};return j(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==b||(t=!0,y(e),j(e)),void 0!==b&&e>=b?w.next(e-b):(!t&&y(e),p)}}}const vc=Sa(.42,0,1,1),yc=Sa(0,0,.58,1),bc=Sa(.42,0,.58,1),wc={linear:Jr,easeIn:vc,easeInOut:bc,easeOut:yc,circIn:za,circInOut:Ia,circOut:Ea,backIn:Pa,backInOut:Ba,backOut:Ta,anticipate:Aa},jc=e=>{if(ha(e)){ei(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return Sa(t,n,o,r)}return"string"==typeof e?(ei(void 0!==wc[e],`Invalid easing type '${e}'`),wc[e]):e};function Cc(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(ei(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const o=[],r=n||Zl,i=e.length-1;for(let n=0;n<i;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Jr:t;i=Wl(e,i)}o.push(i)}return o}(t,o,r),l=a.length,c=n=>{if(s&&n<e[0])return t[0];let o=0;if(l>1)for(;o<e.length-2&&!(n<e[o+1]);o++);const r=xa(e[o],e[o+1],n);return a[o](r)};return n?t=>c(ns(e[0],e[i-1],t)):c}function Sc(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=xa(0,t,o);e.push(Rl(n,1,r))}}(t,e.length-1),t}function kc(e,t){return e.map((()=>t||bc)).splice(0,e.length-1)}function Mc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(jc):jc(o),i={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:Sc(t),e),a=Cc(s,t,{ease:Array.isArray(r)?r:kc(t,r)});return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}const Tc=e=>{const t=({timestamp:t})=>e(t);return{start:()=>ri.update(t,!0),stop:()=>ii(t),now:()=>si.isProcessing?si.timestamp:Zs.now()}},Pc={decay:xc,inertia:xc,tween:Mc,keyframes:Mc,spring:gc},Bc=e=>e/100;class Ac extends zl{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:o,keyframes:r}=this.options,i=(null==o?void 0:o.KeyframeResolver)||yl;this.resolver=new i(r,((e,t)=>this.onKeyframesResolved(e,t)),t,n,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:r,velocity:i=0}=this.options,s=da(t)?t:Pc[t]||Mc;let a,l;s!==Mc&&"number"!=typeof e[0]&&("production"!==process.env.NODE_ENV&&ei(2===e.length,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=Wl(Bc,Zl(e[0],e[1])),e=[0,100]);const c=s({...this.options,keyframes:e});"mirror"===r&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===c.calculatedDuration&&(c.calculatedDuration=Il(c));const{calculatedDuration:u}=c,d=u+o;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(n+1)-o}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:o,generator:r,mirroredGenerator:i,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return r.next(0);const{delay:d,repeat:p,repeatType:h,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),x=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let v=this.currentTime,y=r;if(p){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,p+1);Boolean(t%2)&&("reverse"===h?(n=1-n,m&&(n-=m/u)):"mirror"===h&&(y=i)),v=ns(0,1,n)*u}const b=x?{done:!1,value:a[0]}:y.next(v);s&&(b.value=s(b.value));let{done:w}=b;x||null===l||(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return j&&void 0!==o&&(b.value=Al(a,this.options,o)),f&&f(b.value),j&&this.finish(),b}get duration(){const{resolved:e}=this;return e?ua(e.calculatedDuration):0}get time(){return ua(this.currentTime)}set time(e){e=ca(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=ua(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Tc,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const o=this.driver.now();null!==this.holdTime?this.startTime=o-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=o):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const zc=new Set(["opacity","clipPath","filter","transform"]);function Ec(e,t,n,{delay:o=0,duration:r=300,repeat:i=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=ja(a,r);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}const Ic=ia((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const Rc={anticipate:Aa,backInOut:Ba,circInOut:Ia};class Vc extends zl{constructor(e){super(e);const{name:t,motionValue:n,element:o,keyframes:r}=this.options;this.resolver=new Ml(r,((e,t)=>this.onKeyframesResolved(e,t)),t,n,o),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:o,ease:r,type:i,motionValue:s,name:a,startTime:l}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof r&&ga()&&r in Rc&&(r=Rc[r]),function(e){return da(e.type)||"spring"===e.type||!ya(e.ease)}(this.options)){const{onComplete:t,onUpdate:s,motionValue:a,element:l,...c}=this.options,u=function(e,t){const n=new Ac({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:e[0]};const r=[];let i=0;for(;!o.done&&i<2e4;)o=n.sample(i),r.push(o.value),i+=10;return{times:void 0,keyframes:r,duration:i-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,o=u.times,r=u.ease,i="keyframes"}const c=Ec(s.owner.current,a,e,{...this.options,duration:n,times:o,ease:r});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(pa(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;s.set(Al(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:o,type:i,ease:r,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return ua(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return ua(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=ca(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return Jr;const{animation:n}=t;pa(n,e)}else this.pendingTimeline=e;return Jr}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:o,type:r,ease:i,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,element:l,...c}=this.options,u=new Ac({...c,keyframes:n,duration:o,type:r,ease:i,times:s,isGenerator:!0}),d=ca(this.time);e.setWithVelocity(u.sample(d-10).value,u.sample(d).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:r,damping:i,type:s}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return Ic()&&n&&zc.has(n)&&!a&&!l&&!o&&"mirror"!==r&&0!==i&&"inertia"!==s}}const Fc={type:"spring",stiffness:500,damping:25,restSpeed:10},Lc={type:"keyframes",duration:.8},Dc={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Oc=(e,{keyframes:t})=>t.length>2?Lc:Zi.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Fc:Dc;const $c=(e,t,n,o={},r,i)=>s=>{const a=Us(o,e)||{},l=a.delay||o.delay||0;let{elapsed:c=0}=o;c-=ca(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:r};(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...Oc(e,u)}),u.duration&&(u.duration=ca(u.duration)),u.repeatDelay&&(u.repeatDelay=ca(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(d=!0)),d&&!i&&void 0!==t.get()){const e=Al(u.keyframes,a);if(void 0!==e)return ri.update((()=>{u.onUpdate(e),u.onComplete()})),new la([])}return!i&&Vc.supports(u)?new Vc(u):new Ac(u)};function Hc({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function Wc(e,t,{delay:n=0,transitionOverride:o,type:r}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;o&&(s=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in l){const o=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),r=l[t];if(void 0===r||u&&Hc(u,t))continue;const a={delay:n,...Us(s||{},t)};let d=!1;if(window.MotionHandoffAnimation){const n=ra(e);if(n){const e=window.MotionHandoffAnimation(n,t,ri);null!==e&&(a.startTime=e,d=!0)}}oa(e,t),o.start($c(t,o,r,e.shouldReduceMotion&&Gs.has(t)?{type:!1}:a,e,d));const p=o.animation;p&&c.push(p)}return a&&Promise.all(c).then((()=>{ri.update((()=>{a&&function(e,t){const n=_s(e,t);let{transitionEnd:o={},transition:r={},...i}=n||{};i={...i,...o};for(const t in i)na(e,t,(s=i[t],Ni(s)?s[s.length-1]||0:s));var s}(e,a)}))})),c}function Nc(e,t,n={}){var o;const r=_s(e,t,"exit"===n.type?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Wc(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,o=0,r=1,i){const s=[],a=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(_c).forEach(((e,o)=>{e.notify("AnimationStart",t),s.push(Nc(e,t,{...i,delay:n+l(o)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,r+o,s,a,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(n.delay)])}function _c(e,t){return e.sortNodePosition(t)}const Uc=ji.length;function Gc(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Gc(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Uc;n++){const o=ji[n],r=e.props[o];(yi(r)||!1===r)&&(t[o]=r)}return t}const qc=[...wi].reverse(),Kc=wi.length;function Zc(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map((t=>Nc(e,t,n)));o=Promise.all(r)}else if("string"==typeof t)o=Nc(e,t,n);else{const r="function"==typeof t?_s(e,t,n.custom):t;o=Promise.all(Wc(e,r,n))}return o.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}function Yc(e){let t=Zc(e),n=Qc(),o=!0;const r=t=>(n,o)=>{var r;const i=_s(e,o,"exit"===t?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);if(i){const{transition:e,transitionEnd:t,...o}=i;n={...n,...o,...t}}return n};function i(i){const{props:s}=e,a=Gc(e.parent)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;t<Kc;t++){const p=qc[t],h=n[p],m=void 0!==s[p]?s[p]:a[p],f=yi(m),g=p===i?h.isActive:null;!1===g&&(d=t);let x=m===a[p]&&m!==s[p]&&f;if(x&&o&&e.manuallyAnimateOnMount&&(x=!1),h.protectedKeys={...u},!h.isActive&&null===g||!m&&!h.prevProp||bi(m)||"boolean"==typeof m)continue;const v=Xc(h.prevProp,m);let y=v||p===i&&h.isActive&&!x&&f||t>d&&f,b=!1;const w=Array.isArray(m)?m:[m];let j=w.reduce(r(p),{});!1===g&&(j={});const{prevResolvedValues:C={}}=h,S={...C,...j},k=t=>{y=!0,c.has(t)&&(b=!0,c.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in S){const t=j[e],n=C[e];if(u.hasOwnProperty(e))continue;let o=!1;o=Ni(t)&&Ni(n)?!Ns(t,n):t!==n,o?null!=t?k(e):c.add(e):void 0!==t&&c.has(e)?k(e):h.protectedKeys[e]=!0}h.prevProp=m,h.prevResolvedValues=j,h.isActive&&(u={...u,...j}),o&&e.blockInitialAnimation&&(y=!1);y&&(!(x&&v)||b)&&l.push(...w.map((e=>({animation:e,options:{type:p}}))))}if(c.size){const t={};c.forEach((n=>{const o=e.getBaseTarget(n),r=e.getValue(n);r&&(r.liveStyle=!0),t[n]=null!=o?o:null})),l.push({animation:t})}let p=Boolean(l.length);return!o||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),o=!1,p?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,o){var r;if(n[t].isActive===o)return Promise.resolve();null===(r=e.variantChildren)||void 0===r||r.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)})),n[t].isActive=o;const s=i(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Qc(),o=!0}}}function Xc(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Ns(t,e)}function Jc(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Qc(){return{animate:Jc(!0),whileInView:Jc(),whileHover:Jc(),whileTap:Jc(),whileDrag:Jc(),whileFocus:Jc(),exit:Jc()}}class eu{constructor(e){this.isMounted=!1,this.node=e}update(){}}let tu=0;const nu={animation:{Feature:class extends eu{constructor(e){super(e),e.animationState||(e.animationState=Yc(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();bi(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends eu{constructor(){super(...arguments),this.id=tu++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const o=this.node.animationState.setActive("exit",!e);t&&!e&&o.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},ou={x:!1,y:!1};function ru(){return ou.x||ou.y}const iu=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function su(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function au(e){return{point:{x:e.pageX,y:e.pageY}}}function lu(e,t,n,o){return su(e,t,(e=>t=>iu(t)&&e(t,au(t)))(n),o)}const cu=(e,t)=>Math.abs(e-t);class uu{constructor(e,t,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=hu(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=cu(e.x,t.x),o=cu(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=si;this.history.push({...o,timestamp:r});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=du(t,this.transformPagePoint),ri.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:o,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=hu("pointercancel"===e.type?this.lastMoveEventInfo:du(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),o&&o(e,i)},!iu(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=n,this.contextWindow=o||window;const i=du(au(e),this.transformPagePoint),{point:s}=i,{timestamp:a}=si;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,hu(i,this.history)),this.removeListeners=Wl(lu(this.contextWindow,"pointermove",this.handlePointerMove),lu(this.contextWindow,"pointerup",this.handlePointerUp),lu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ii(this.updatePoint)}}function du(e,t){return t?{point:t(e.point)}:e}function pu(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hu({point:e},t){return{point:e,delta:pu(e,fu(t)),offset:pu(e,mu(t)),velocity:gu(t,.1)}}function mu(e){return e[0]}function fu(e){return e[e.length-1]}function gu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=fu(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>ca(t)));)n--;if(!o)return{x:0,y:0};const i=ua(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function xu(e){return e.max-e.min}function vu(e,t,n,o=.5){e.origin=o,e.originPoint=Rl(t.min,t.max,e.origin),e.scale=xu(n)/xu(t),e.translate=Rl(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function yu(e,t,n,o){vu(e.x,t.x,n.x,o?o.originX:void 0),vu(e.y,t.y,n.y,o?o.originY:void 0)}function bu(e,t,n){e.min=n.min+t.min,e.max=e.min+xu(t)}function wu(e,t,n){e.min=t.min-n.min,e.max=e.min+xu(t)}function ju(e,t,n){wu(e.x,t.x,n.x),wu(e.y,t.y,n.y)}function Cu(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Su(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const ku=.35;function Mu(e,t,n){return{min:Tu(e,t),max:Tu(e,n)}}function Tu(e,t){return"number"==typeof e?e:e[t]||0}const Pu=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Bu(e){return[e("x"),e("y")]}function Au({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function zu(e){return void 0===e||1===e}function Eu({scale:e,scaleX:t,scaleY:n}){return!zu(e)||!zu(t)||!zu(n)}function Iu(e){return Eu(e)||Ru(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ru(e){return Vu(e.x)||Vu(e.y)}function Vu(e){return e&&"0%"!==e}function Fu(e,t,n){return n+t*(e-n)}function Lu(e,t,n,o,r){return void 0!==r&&(e=Fu(e,r,o)),Fu(e,n,o)+t}function Du(e,t=0,n=1,o,r){e.min=Lu(e.min,t,n,o,r),e.max=Lu(e.max,t,n,o,r)}function Ou(e,{x:t,y:n}){Du(e.x,t.translate,t.scale,t.originPoint),Du(e.y,n.translate,n.scale,n.originPoint)}const $u=.999999999999,Hu=1.0000000000001;function Wu(e,t){e.min=e.min+t,e.max=e.max+t}function Nu(e,t,n,o,r=.5){Du(e,t,n,Rl(e.min,e.max,r),o)}function _u(e,t){Nu(e.x,t.x,t.scaleX,t.scale,t.originX),Nu(e.y,t.y,t.scaleY,t.scale,t.originY)}function Uu(e,t){return Au(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const Gu=({current:e})=>e?e.ownerDocument.defaultView:null,qu=new WeakMap;class Ku{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:o}=this.getProps();this.panSession=new uu(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(au(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(i=n)||"y"===i?ou[i]?null:(ou[i]=!0,()=>{ou[i]=!1}):ou.x||ou.y?null:(ou.x=ou.y=!0,()=>{ou.x=ou.y=!1}),!this.openDragLock))return;var i;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Bu((e=>{let t=this.getAxisMotionValue(e).get()||0;if(ls.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=xu(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),r&&ri.postRender((()=>r(e,t))),oa(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(o&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Bu((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,contextWindow:Gu(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&ri.postRender((()=>r(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:o}=this.getProps();if(!n||!Zu(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?Rl(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?Rl(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,r=this.constraints;t&&Pi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!o)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:Cu(e.x,n,r),y:Cu(e.y,t,o)}}(o.layoutBox,t),this.elastic=function(e=ku){return!1===e?e=0:!0===e&&(e=ku),{x:Mu(e,"left","right"),y:Mu(e,"top","bottom")}}(n),r!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Bu((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Pi(e))return!1;const n=e.current;ei(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=Uu(e,n),{scroll:r}=t;return r&&(Wu(o.x,r.offset.x),Wu(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Su(e.x,t.x),y:Su(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Au(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Bu((s=>{if(!Zu(s,t,this.currentDirection))return;let l=a[s]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return oa(this.visualElement,e),n.start($c(e,n,0,t,this.visualElement,!1))}stopAnimation(){Bu((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){Bu((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Bu((t=>{const{drag:n}=this.getProps();if(!Zu(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-Rl(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Pi(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Bu((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();o[e]=function(e,t){let n=.5;const o=xu(e),r=xu(t);return r>o?n=xa(t.min,t.max-o,e.min):o>r&&(n=xa(e.min,e.max-r,t.min)),ns(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Bu((t=>{if(!Zu(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(Rl(r,i,o[t]))}))}addListeners(){if(!this.visualElement.current)return;qu.set(this.visualElement,this);const e=lu(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();Pi(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),ri.read(t);const r=su(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Bu((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=ku,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function Zu(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Yu=e=>(t,n)=>{e&&ri.postRender((()=>e(t,n)))};const Xu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ju(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Qu={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!cs.test(e))return e;e=parseFloat(e)}return`${Ju(e,t.target.x)}% ${Ju(e,t.target.y)}%`}},ed={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=Qa.parse(e);if(r.length>5)return o;const i=Qa.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=Rl(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),i(r)}};class td extends e.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;!function(e){for(const t in e)As[t]=e[t],Xi(t)&&(As[t].isCSSVariable=!0)}(od),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",(()=>{this.safeToRemove()})),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Xu.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||ri.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Ei.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nd(t){const[n,o]=function(t=!0){const n=e.useContext(Kr);if(null===n)return[!0,null];const{isPresent:o,onExitComplete:r,register:i}=n,s=e.useId();e.useEffect((()=>{t&&i(s)}),[t]);const a=e.useCallback((()=>t&&r&&r(s)),[s,r,t]);return!o&&r?[!1,a]:[!0]}(),r=e.useContext(qr);return ge.jsx(td,{...t,layoutGroup:r,switchLayoutGroup:e.useContext(Ri),isPresent:n,safeToRemove:o})}const od={borderRadius:{...Qu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Qu,borderTopRightRadius:Qu,borderBottomLeftRadius:Qu,borderBottomRightRadius:Qu,boxShadow:ed};const rd=(e,t)=>e.depth-t.depth;class id{constructor(){this.children=[],this.isDirty=!1}add(e){Ys(this.children,e),this.isDirty=!0}remove(e){Xs(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rd),this.isDirty=!1,this.children.forEach(e)}}const sd=["TopLeft","TopRight","BottomLeft","BottomRight"],ad=sd.length,ld=e=>"string"==typeof e?parseFloat(e):e,cd=e=>"number"==typeof e||cs.test(e);function ud(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const dd=hd(0,.5,Ea),pd=hd(.5,.95,Jr);function hd(e,t,n){return o=>o<e?0:o>t?1:n(xa(e,t,o))}function md(e,t){e.min=t.min,e.max=t.max}function fd(e,t){md(e.x,t.x),md(e.y,t.y)}function gd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function xd(e,t,n,o,r){return e=Fu(e-=t,1/n,o),void 0!==r&&(e=Fu(e,1/r,o)),e}function vd(e,t,[n,o,r],i,s){!function(e,t=0,n=1,o=.5,r,i=e,s=e){ls.test(t)&&(t=parseFloat(t),t=Rl(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Rl(i.min,i.max,o);e===i&&(a-=t),e.min=xd(e.min,t,n,a,r),e.max=xd(e.max,t,n,a,r)}(e,t[n],t[o],t[r],t.scale,i,s)}const yd=["x","scaleX","originX"],bd=["y","scaleY","originY"];function wd(e,t,n,o){vd(e.x,t,yd,n?n.x:void 0,o?o.x:void 0),vd(e.y,t,bd,n?n.y:void 0,o?o.y:void 0)}function jd(e){return 0===e.translate&&1===e.scale}function Cd(e){return jd(e.x)&&jd(e.y)}function Sd(e,t){return e.min===t.min&&e.max===t.max}function kd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Md(e,t){return kd(e.x,t.x)&&kd(e.y,t.y)}function Td(e){return xu(e.x)/xu(e.y)}function Pd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Bd{constructor(){this.members=[]}add(e){Ys(this.members,e),e.scheduleRender()}remove(e){if(Xs(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Ad={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},zd="undefined"!=typeof window&&void 0!==window.MotionDebug,Ed=["","X","Y","Z"],Id={visibility:"hidden"};let Rd=0;function Vd(e,t,n,o){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),o&&(o[e]=0))}function Fd(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ra(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ri,!(t||o))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&Fd(o)}function Ld({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Rd++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,zd&&(Ad.totalNodes=Ad.resolvedTargetDeltas=Ad.recalculatedProjection=0),this.nodes.forEach($d),this.nodes.forEach(qd),this.nodes.forEach(Kd),this.nodes.forEach(Hd),zd&&window.MotionDebug.record(Ad)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new id)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Js),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=Zs.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(ii(o),e(i-t))};return ri.read(o,!0),()=>ii(o)}(o,250),Xu.hasAnimatedSinceResize&&(Xu.hasAnimatedSinceResize=!1,this.nodes.forEach(Gd))}))}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||ep,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Md(this.targetLayout,o),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Us(r,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Gd(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ii(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zd),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Fd(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Nd);this.isUpdating||this.nodes.forEach(_d),this.isUpdating=!1,this.nodes.forEach(Ud),this.nodes.forEach(Dd),this.nodes.forEach(Od),this.clearAllSnapshots();const e=Zs.now();si.delta=ns(0,1e3/60,e-si.timestamp),si.timestamp=e,si.isProcessing=!0,ai.update.process(si),ai.preRender.process(si),ai.render.process(si),si.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ei.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Wd),this.sharedNodes.forEach(Yd)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ri.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ri.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||xu(this.snapshot.measuredBox.x)||xu(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=o(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Cd(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||Iu(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),op((o=n).x),op(o.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(ip))){const{scroll:e}=this.root;e&&(Wu(n.x,e.offset.x),Wu(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(fd(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const o=this.path[t],{scroll:r,options:i}=o;o!==this.root&&r&&i.layoutScroll&&(r.wasRoot&&fd(n,e),Wu(n.x,r.offset.x),Wu(n.y,r.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};fd(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&_u(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),Iu(o.latestValues)&&_u(n,o.latestValues)}return Iu(this.latestValues)&&_u(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};fd(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Iu(n.latestValues))continue;Eu(n.latestValues)&&n.updateSnapshot();const o={x:{min:0,max:0},y:{min:0,max:0}};fd(o,n.measurePageBox()),wd(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return Iu(this.latestValues)&&wd(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==si.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=si.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ju(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),fd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,bu(s.x,a.x,l.x),bu(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):fd(this.target,this.layout.layoutBox),Ou(this.target,this.targetDelta)):fd(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ju(this.relativeTargetOrigin,this.target,e.target),fd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}zd&&Ad.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Eu(this.parent.latestValues)&&!Ru(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===si.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;fd(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let a=0;a<r;a++){i=n[a],s=i.projectionDelta;const{visualElement:r}=i.options;r&&r.props.style&&"contents"===r.props.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&_u(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Ou(e,s)),o&&Iu(i.latestValues)&&_u(e,i.latestValues))}t.x<Hu&&t.x>$u&&(t.x=1),t.y<Hu&&t.y>$u&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(gd(this.prevProjectionDelta.x,this.projectionDelta.x),gd(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),yu(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&Pd(this.projectionDelta.x,this.prevProjectionDelta.x)&&Pd(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),zd&&Ad.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Qd));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,p,h,m,f,g;Xd(i.x,e.x,n),Xd(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ju(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,m=this.relativeTargetOrigin,f=s,g=n,Jd(h.x,m.x,f.x,g),Jd(h.y,m.y,f.y,g),d&&(l=this.relativeTarget,p=d,Sd(l.x,p.x)&&Sd(l.y,p.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),fd(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=Rl(0,void 0!==n.opacity?n.opacity:1,dd(o)),e.opacityExit=Rl(void 0!==t.opacity?t.opacity:1,0,pd(o))):i&&(e.opacity=Rl(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<ad;r++){const i=`border${sd[r]}Radius`;let s=ud(t,i),a=ud(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||cd(s)===cd(a)?(e[i]=Math.max(Rl(ld(s),ld(a),o),0),(ls.test(a)||ls.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=Rl(t.rotate||0,n.rotate||0,o))}(r,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ii(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ri.update((()=>{Xu.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=_i(e)?e:ta(e);return o.start($c("",o,t,n)),o.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&rp(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=xu(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=xu(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}fd(t,n),_u(t,r),yu(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Bd);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const o={};n.z&&Vd("z",e,o,this.animationValues);for(let t=0;t<Ed.length;t++)Vd(`rotate${Ed[t]}`,e,o,this.animationValues),Vd(`skew${Ed[t]}`,e,o,this.animationValues);e.render();for(const t in o)e.setStaticValue(t,o[t]),this.animationValues&&(this.animationValues[t]=o[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Id;const o={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Ui(null==e?void 0:e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Ui(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Iu(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=function(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((r||i||s)&&(o=`translate3d(${r}px, ${i}px, ${s}px) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:r,rotateY:i,skewX:s,skewY:a}=n;e&&(o=`perspective(${e}px) ${o}`),t&&(o+=`rotate(${t}deg) `),r&&(o+=`rotateX(${r}deg) `),i&&(o+=`rotateY(${i}deg) `),s&&(o+=`skewX(${s}deg) `),a&&(o+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(o+=`scale(${a}, ${l})`),o||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),r&&(o.transform=r(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:o.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in As){if(void 0===s[e])continue;const{correct:t,applyTo:n,isCSSVariable:r}=As[e],a="none"===o.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=a}else r?this.options.visualElement.renderState.vars[e]=a:o[e]=a}return this.options.layoutId&&(o.pointerEvents=i===this?Ui(null==e?void 0:e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Nd),this.root.sharedNodes.clear()}}}function Dd(e){e.updateLayout()}function Od(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?Bu((e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=xu(o);o.min=t[e].min,o.max=o.min+r})):rp(r,n.layoutBox,t)&&Bu((o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=xu(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)}));const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};yu(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?yu(a,e.applyTransform(o,!0),n.measuredBox):yu(a,t,n.layoutBox);const l=!Cd(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};ju(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};ju(a,t,i.layoutBox),Md(s,a)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function $d(e){zd&&Ad.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Hd(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Wd(e){e.clearSnapshot()}function Nd(e){e.clearMeasurements()}function _d(e){e.isLayoutDirty=!1}function Ud(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Gd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function qd(e){e.resolveTargetDelta()}function Kd(e){e.calcProjection()}function Zd(e){e.resetSkewAndRotation()}function Yd(e){e.removeLeadSnapshot()}function Xd(e,t,n){e.translate=Rl(t.translate,0,n),e.scale=Rl(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Jd(e,t,n,o){e.min=Rl(t.min,n.min,o),e.max=Rl(t.max,n.max,o)}function Qd(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ep={duration:.45,ease:[.4,0,.1,1]},tp=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),np=tp("applewebkit/")&&!tp("chrome/")?Math.round:Jr;function op(e){e.min=np(e.min),e.max=np(e.max)}function rp(e,t,n){return"position"===e||"preserve-aspect"===e&&(o=Td(t),r=Td(n),i=.2,!(Math.abs(o-r)<=i));var o,r,i}function ip(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const sp=Ld({attachResizeListener:(e,t)=>su(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ap={current:void 0},lp=Ld({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ap.current){const e=new sp({});e.mount(window),e.setOptions({layoutScroll:!0}),ap.current=e}return ap.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),cp={pan:{Feature:class extends eu{constructor(){super(...arguments),this.removePointerDownListener=Jr}onPointerDown(e){this.session=new uu(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Gu(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Yu(e),onStart:Yu(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&ri.postRender((()=>o(e,t)))}}}mount(){this.removePointerDownListener=lu(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends eu{constructor(e){super(e),this.removeGroupControls=Jr,this.removeListeners=Jr,this.controls=new Ku(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Jr}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:lp,MeasureLayout:nd}};function up(e,t){const n=function(e){if(e instanceof Element)return[e];if("string"==typeof e){const t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),o=new AbortController;return[n,{passive:!0,...t,signal:o.signal},()=>o.abort()]}function dp(e){return!("touch"===e.pointerType||ru())}function pp(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover","Start"===n);const r=o["onHover"+n];r&&ri.postRender((()=>r(t,au(t))))}const hp=(e,t)=>!!t&&(e===t||hp(e,t.parentElement)),mp=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const fp=new WeakSet;function gp(e){return t=>{"Enter"===t.key&&e(t)}}function xp(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function vp(e){return iu(e)&&!ru()}function yp(e,t,n={}){const[o,r,i]=up(e,n),s=e=>{const o=e.currentTarget;if(!vp(e)||fp.has(o))return;fp.add(o);const i=t(o,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),vp(e)&&fp.has(o)&&(fp.delete(o),"function"==typeof i&&i(e,{success:t}))},a=e=>{s(e,n.useGlobalTarget||hp(o,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return o.forEach((e=>{(function(e){return mp.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,r),e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const o=gp((()=>{if(fp.has(n))return;xp(n,"down");const e=gp((()=>{xp(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>xp(n,"cancel")),t)}));n.addEventListener("keydown",o,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",o)),t)})(e,r)),r)})),i}function bp(e,t,n){const{props:o}=e;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap","Start"===n);const r=o["onTap"+("End"===n?"":n)];r&&ri.postRender((()=>r(t,au(t))))}const wp=new WeakMap,jp=new WeakMap,Cp=e=>{const t=wp.get(e.target);t&&t(e)},Sp=e=>{e.forEach(Cp)};function kp(e,t,n){const o=function({root:e,...t}){const n=e||document;jp.has(n)||jp.set(n,{});const o=jp.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(Sp,{root:e,...t})),o[r]}(t);return wp.set(e,n),o.observe(e),()=>{wp.delete(e),o.unobserve(e)}}const Mp={some:0,all:1};const Tp={inView:{Feature:class extends eu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:Mp[o]};return kp(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends eu{mount(){const{current:e}=this.node;e&&(this.unmount=yp(e,((e,t)=>(bp(this.node,t,"Start"),(e,{success:t})=>bp(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends eu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Wl(su(this.node.current,"focus",(()=>this.onFocus())),su(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends eu{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[o,r,i]=up(e,n),s=e=>{if(!dp(e))return;const{target:n}=e,o=t(n,e);if("function"!=typeof o||!n)return;const i=e=>{dp(e)&&(o(e),n.removeEventListener("pointerleave",i))};n.addEventListener("pointerleave",i,r)};return o.forEach((e=>{e.addEventListener("pointerenter",s,r)})),i}(e,((e,t)=>(pp(this.node,t,"Start"),e=>pp(this.node,e,"End")))))}unmount(){}}}},Pp={layout:{ProjectionNode:lp,MeasureLayout:nd}},Bp={current:null},Ap={current:!1};const zp=[...Sl,_a,Qa],Ep=new WeakMap;const Ip=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Rp{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:r,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=yl,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=Zs.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,ri.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=i;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=Boolean(r),this.isControllingVariants=Ci(t),this.isVariantNode=Si(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==a[e]&&_i(t)&&t.set(a[e],!1)}}mount(e){this.current=e,Ep.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),Ap.current||function(){if(Ap.current=!0,Yr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Bp.current=e.matches;e.addListener(t),t()}else Bp.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Bp.current),"production"!==process.env.NODE_ENV&&gi(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ep.delete(this.current),this.projection&&this.projection.unmount(),ii(this.notifyUpdate),ii(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=Zi.has(e),o=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&ri.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),r=t.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{o(),r(),i&&i(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ui){const t=ui[e];if(!t)continue;const{isEnabled:n,Feature:o}=t;if(!this.features[e]&&o&&n(this.props)&&(this.features[e]=new o(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ip.length;t++){const n=Ip[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){for(const o in t){const r=t[o],i=n[o];if(_i(r))e.addValue(o,r),"development"===process.env.NODE_ENV&&gi("12.0.6"===r.version,`Attempting to mix Motion versions ${r.version} with 12.0.6 may not work as expected.`);else if(_i(i))e.addValue(o,ta(r,{owner:e}));else if(i!==r)if(e.hasValue(o)){const t=e.getValue(o);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{const t=e.getStaticValue(o);e.addValue(o,ta(void 0!==t?t:r,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=ta(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let o=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=o&&("string"==typeof o&&(bl(o)||Ra(o))?o=parseFloat(o):(r=o,!zp.find(Cl(r))&&Qa.test(t)&&(o=sl(e,t))),this.setBaseTarget(e,_i(o)?o.get():o)),_i(o)?o.get():o}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let o;if("string"==typeof n||"object"==typeof n){const r=Wi(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);r&&(o=r[e])}if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||_i(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Js),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Vp extends Rp{constructor(){super(...arguments),this.KeyframeResolver=Ml}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_i(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class Fp extends Vp{constructor(){super(...arguments),this.type="html",this.renderInstance=Ts}readValueFromInstance(e,t){if(Zi.has(t)){const e=il(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(Xi(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Uu(e,t)}build(e,t,n){ys(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Es(e,t,n)}}class Lp extends Vp{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pu}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Zi.has(t)){const e=il(t);return e&&e.default||0}return t=Ps.has(t)?t:Ai(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Is(e,t,n)}build(e,t,n){Cs(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,o){Bs(e,t,0,o)}mount(e){this.isSVGTag=Ms(e.tagName),super.mount(e)}}const Dp=(t,n)=>$i(t)?new Lp(n):new Fp(n,{allowProjection:t!==e.Fragment}),Op=xi(Ws({...nu,...Tp,...cp,...Pp},Dp)),$p=t.styled((({children:e,loading:n,sizing:o,...r})=>ge.jsxs(Jn,{...r,sizing:o,loading:n,children:[n&&ge.jsx(vn,{sizing:o}),ge.jsx(t.Box,{...n?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:n})=>({color:e.custom.palette.text.primary,...n&&{...Yn(n)},...n&&{...Xn(n)},...n&&{...Zn(n)},"&: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&&{...Wn(e)},..."outlined"===t&&{...Nn(e)},..."secondary"===t&&{..._n(e)},..."primary"===t&&{...Un(e)}}))),Hp=({sizing:e="lg",variation:t="primary",...n})=>ge.jsx($p,{variation:t,sizing:e,...n}),Wp=t.styled(a.TimelineDot)((({theme:e,completed:t})=>({width:"24px",height:"24px",backgroundColor:e.custom.palette.surface.raised,boxShadow:"none",border:"none",padding:0,margin:"4px 0",...!t&&{border:`2px dashed ${e.custom.palette.icon.disabled}`}}))),Np=t.styled(t.Box)((({theme:e})=>({display:"flex",flexDirection:"column",padding:`0 0 ${e.spacing(e.custom.padding.md)} ${e.spacing(e.custom.padding.sm)}`}))),_p=e=>({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.spacing(e.custom.padding.sm),marginTop:e.spacing(e.custom.margin.xs)}),Up=t.styled(cn)((({theme:e})=>({[`&.${t.linkClasses.root}`]:{..._p(e),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.link},"&:hover":{"> .MuiTypography-root:first-child":{textDecoration:"underline"},"& .MuiSvgIcon-root":{color:e.custom.palette.icon.linkHover}}}}))),Gp=t.styled(t.Box)((({theme:e})=>({[`&.${t.boxClasses.root}`]:{..._p(e),"& .MuiTypography-root":{color:"inherit"}}}))),qp=t.styled(dn)((()=>({color:"inherit",fontWeight:500,fontSize:Hn.lg}))),Kp=t.styled(dn)((({theme:e})=>({fontWeight:400,textDecoration:"none",color:e.custom.palette.text.secondary,flexBasis:"100%"}))),Zp=({children:e,complete:t,url:n})=>t?ge.jsx(Gp,{children:e}):ge.jsx(Up,{underline:"none",href:n,target:"_self",children:e}),Yp=({complete:e,title:t,description:n,url:o})=>ge.jsx(Np,{children:ge.jsxs(Zp,{complete:e,url:o,children:[ge.jsx(qp,{component:"p",variation:"lg",children:t}),!e&&ge.jsx(en,{name:"arrow-right",size:16}),!e&&n&&ge.jsx(Kp,{variation:"lg",component:"p",children:n})]})}),Xp=({item:e,showConnector:t})=>{const{complete:n,title:o,description:r,url:i}=e;return ge.jsxs(a.TimelineItem,{children:[ge.jsxs(a.TimelineSeparator,{children:[ge.jsx(Wp,{completed:n,children:n?ge.jsx(en,{name:"badge-tick-in-circle",size:24}):void 0}),t&&ge.jsx(a.TimelineConnector,{sx:{backgroundColor:e=>e.custom.palette.icon.disabled}})]}),e&&ge.jsx(a.TimelineContent,{component:()=>ge.jsx(Yp,{complete:n,title:o,description:r,url:i})})]})},Jp=({expanded:n,onToggleExpanded:o,items:r})=>{const i=r.find((e=>!e.complete)),s=e.useMemo((()=>n?r:[i]),[n]),l=e.useRef(null),[c,u]=e.useState("auto");return e.useEffect((()=>{if(!l.current)return;const e=l.current.scrollHeight+1.5*Q;u(e)}),[n,r]),ge.jsx(Op.div,{initial:!1,animate:{height:c},transition:{duration:.4,ease:[.645,.045,.355,1]},style:{overflow:"hidden",paddingBottom:1.5*Q},children:ge.jsx("div",{ref:l,children:ge.jsxs(Gr,{sx:{paddingLeft:e=>e.spacing(e.custom.padding.xs),[`& .${a.timelineItemClasses.root}`]:{minHeight:0,":before":{flex:0,padding:0}}},children:[s.map(((e,t)=>{const n=t<s.length-1;return e&&e?.title===i?.title?ge.jsx(Xp,{item:e,showConnector:s.length>1?n:!!i?.description},e.title):e&&ge.jsx(Xp,{item:e,showConnector:n},e.title)})),!n&&ge.jsx(t.Box,{sx:{marginTop:e=>e.spacing(e.custom.margin.md),alignSelf:"center"},children:ge.jsx(Hp,{endIcon:ge.jsx(en,{name:"chevron-down",size:16}),sizing:"xs",variation:"outlined",onClick:o,children:"Show more"})})]})})})},Qp=({completed:e,total:t})=>ge.jsx(dn,{component:"p",variation:"lg",sx:{fontWeight:500},children:`${e} of ${t} tasks completed`}),eh=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},th=(e,t,n)=>({maxLength:{value:n||255,message:`Maximum character limit of ${n||255}.`},...t&&{required:e?`Please enter ${eh(e)} ${e}`:"This field is required"}}),nh=th().maxLength.value,oh=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,rh=(e,n)=>{switch(n){case"tone1":default:return oh(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)}},ih=(e,t)=>{const n=rh(e,t.gradient),o=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return o?[o,n].join(","):[n].join(",")},sh=({label:e,sx:o,...r})=>{const i=t.useTheme(),s=e?i.custom.margin.md:0;return ge.jsx(t.FormControlLabel,{label:e||"",sx:n.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:On.sm.body.md,sm:On.sm.body.md,md:On.sm.body.md,lg:On.lg.body.md,xl:On.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:s}}},o),...r})},ah=t.styled(t.Checkbox)((({theme:e,sizing:t})=>({height:"default"===t?J[300]:J[400],width:"default"===t?J[300]:J[400],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?Qt.sm:Qt.xl,height:"default"===t?Qt.sm:Qt.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}}}))),lh=e=>ge.jsx(ah,{checkedIcon:ge.jsx(i.Check,{}),indeterminateIcon:ge.jsx(i.Remove,{}),...e}),ch=({internalChange:e,checkboxLabel:n,indeterminate:o,sizing:r="default",onChange:i,inputRef:s,value:a,...l})=>void 0===a?ge.jsx(t.Box,{}):ge.jsx(sh,{inputRef:s,label:n,checked:a,control:ge.jsx(lh,{sizing:r,indeterminate:o}),onChange:(t,n)=>{i&&i(t,n),e&&e()},...l}),uh=t.styled(t.TextField)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:Qt.xl,height:Qt.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:On.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"}}}}}))),dh=({startAdornment:e,endAdornment:n,placeholder:o,onChange:r,internalChange:i,inputRef:s,...a})=>ge.jsx(uh,{placeholder:o,sx:{height:J[500],"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:s,InputProps:{startAdornment:e?ge.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:e}):null,endAdornment:n?ge.jsx(t.InputAdornment,{position:"start",sx:{pr:1},children:n}):null},...a,onChange:e=>{r&&r(e),i&&i()}}),ph=({sizing:e,options:n,other:o,internalChange:r,value:i,inputRef:s,onChange:a})=>{const l=o?.name||"other-option",c=`${l}-value-`,u=e=>`${c}${e}`,d=o?.enabled,p=i?.includes(l)&&d,h=i?.find((e=>e.includes(c)));if(!i)return ge.jsx("div",{});const m=(e,t)=>{let s=i.includes(e)?i.filter((t=>t!==e)):t?[e]:[...new Set(i),e];if(t||(s=s.filter((e=>!n.find((t=>t?.exclusive&&e===t.value))))),o?.enabled){!i.includes(l)||e!==l||(s=s.filter((e=>!e.includes(c))))}a(s),r&&r()};return ge.jsxs(ge.Fragment,{children:[ge.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:[n?n.map(((t,n)=>{const o=t.value;return ge.jsx(sh,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"},"& .MuiTypography-root":{mt:"default"!==e?.5:0}},onChange:()=>m(o,t.exclusive),checked:i.includes(o),control:ge.jsx(lh,{sizing:e}),label:t.label},o)})):null,d&&ge.jsx(sh,{inputRef:s,onChange:()=>m(l),label:o?.label||"Other",checked:i.includes(l),control:ge.jsx(lh,{sizing:e})},l)]}),p&&ge.jsx(t.Box,{sx:{mt:1},children:ge.jsx(dh,{fullWidth:!0,autoFocus:!0,defaultValue:h?h.replace(c,""):"",placeholder:o?.placeholder,onChange:e=>{const t=i.find((e=>e.includes(c))),n=(t?i.map((t=>t.includes(c)?u(e.target.value):t)):[...i,u(e.target.value)]).filter((e=>e!==c));a(n),r&&r()},required:!0})})]})},hh=({inputField:e,onChange:t,internalChange:n,transformValue:o,...r})=>{const i=e;return ge.jsx(i,{onChange:e=>{t&&t(o?o(e):e),n&&n()},...r})},mh=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}}))),fh=e=>ge.jsx(mh,{...e}),gh=e=>{const{icon:n=null,state:o="default",disabled:r,showicon:s=!0}=e,a=t.useTheme();return ge.jsxs(t.Box,{sx:{display:"inline-flex",alignItems:"center",color:r?a.custom.palette.text.disabled:(()=>{switch(o){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:Qt.xs,height:Qt.xs,color:"inherit"}},children:[(()=>{if(!s)return null;if(n)return n;switch(o){case"disabled":default:return ge.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:ge.jsx(i.Info,{})});case"positive":return ge.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:ge.jsx(i.Check,{})});case"negative":return ge.jsx(t.Box,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:ge.jsx(i.ErrorOutline,{})})}})(),ge.jsx(fh,{...e,sx:{fontSize:{xs:On.sm.body.sm,sm:On.sm.body.sm,md:On.sm.body.sm,lg:On.lg.body.sm,xl:On.lg.body.sm}}})]})},xh=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:J[50],height:J[50],top:`calc(100% + ${J[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:J[50],height:J[50],top:`calc(100% + ${J[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),vh=({children:e,width:t})=>ge.jsx(xh,{sx:{width:t,minWidth:300},children:e}),yh=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?J[300]:J[400],width:"default"===t?J[300]:J[400],"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&Qt.sm,height:"default"===t&&Qt.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}}}}))),bh=e=>ge.jsx(yh,{...e}),wh=t.styled(bh)((()=>({marginRight:0}))),jh=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:J[50],width:`calc(100% - ${J[400]}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Ch=e=>ge.jsx(jh,{sx:{position:"relative"},children:ge.jsx(wh,{...e})}),Sh=({disabled:e=!1,onChange:n,labelLeft:o,labelRight:r,internalChange:i,labelCenter:s})=>{const a=[...Array(7).keys()];return ge.jsx(t.RadioGroup,{children:ge.jsxs(vh,{children:[ge.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:a.map(((o,r)=>{const s=r+1!==a.length;return ge.jsx(t.Grid,{item:!0,sm:s,children:ge.jsx(Ch,{disabled:e,value:o,onChange:(e,t)=>{n&&n(e,t),i&&i()},name:`radio-option-${o}`},o)},o)}))}),ge.jsxs(t.Grid,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[ge.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"left"},children:ge.jsx(gh,{disabled:e,showicon:!1,children:o})}),ge.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"center"},children:ge.jsx(gh,{disabled:e,align:"center",showicon:!1,children:s})}),ge.jsx(t.Grid,{item:!0,sm:!0,sx:{textAlign:"right"},children:ge.jsx(gh,{disabled:e,align:"right",showicon:!1,children:r})})]})]})})},kh=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)}}}}))),Mh=t=>{const n=e.useRef();return e.useEffect((()=>{n.current=t}),[t]),n.current},Th=({children:e,...t})=>e,Ph=({sx:e,...t})=>ge.jsx(fh,{...t,sx:n.mergeSx({fontSize:{xs:On.sm.body.md,sm:On.sm.body.md,md:On.sm.body.md,lg:On.lg.body.md,xl:On.lg.body.md}},!!e&&{...e})}),Bh=t.styled(t.Box)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:J[200],borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${J[200]}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:J[200],borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${J[200]}px)`}}}}}))),Ah=({children:e,width:t})=>ge.jsx(Bh,{sx:{width:t},children:e}),zh=t.styled(gh)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Eh=({disabled:e,children:t})=>ge.jsx(zh,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),Ih=t.styled(bh)((()=>({marginRight:0}))),Rh=t.styled(t.Box)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:J[50],width:`calc(50% - ${J[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:J[50],width:`calc(50% - ${J[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Vh=e=>ge.jsx(Rh,{sx:{textAlign:"center",position:"relative"},children:ge.jsx(Ih,{...e})}),Fh=({options:e=[],disabled:n=!1,sizing:o="lg",onChange:r,internalChange:i,value:s})=>{const a=t.useTheme();function l(e){console.warn(e),r(e.value),i&&i()}return ge.jsx(t.Box,{children:ge.jsx(Ah,{children:ge.jsx(t.Grid,{container:!0,justifyContent:"space-between",children:e.map((e=>ge.jsxs(t.Grid,{item:!0,sm:!0,onClick:()=>l(e),sx:{...!n&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!n&&{backgroundColor:a.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!n&&{backgroundColor:a.custom.palette.input.default,borderColor:a.custom.palette.stroke.focus,boxShadow:a.custom.boxShadow.input.focus},"&:before":{...!n&&{backgroundColor:a.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:a.custom.palette.purple[500]}}}},children:[ge.jsx(Vh,{sizing:o,disabled:n,onChange:t=>l(e),checked:s===e.value},e.value),ge.jsx(t.Box,{sx:{mt:ee.xs,width:"100%"},children:ge.jsx(Eh,{disabled:n,children:e.label})})]},e.value)))})})})},Lh=e.forwardRef(((t,n)=>{const{decimalSeparator:o,thousandSeparator:r,value:i,...s}=t,a=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=e.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return ge.jsx(p.NumericFormat,{...s,value:i??"",getInputRef:n,thousandSeparator:r??a,decimalSeparator:o??l})})),Dh=({disabled:n=!1,InputProps:o,inputProps:r,placeholder:s,hideActionButtons:a=!1,max:l=1/0,min:c=-1/0,startAdornment:u,endAdornment:d,internalChange:p,numericFormatProps:h,onChange:m,step:f=1,value:g,...x})=>{const v=t.useTheme(),[y,b]=e.useState(g),w=y,j=e=>{b(e),m&&m(e),p&&p()},C=()=>{const e=(null==w||Number.isNaN(w)?0:w)+f;e>l||j(e)},S=()=>{const e=(null==w||Number.isNaN(w)?0:w)-f;e<c||j(e)},k={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!==f?f:void 0,onKeyDown:e=>{"ArrowUp"===e.key?C():"ArrowDown"===e.key&&S()},onValueChange:({floatValue:e})=>{e!==w&&j(e)},value:w,...h};return ge.jsx(uh,{placeholder:s,sx:{height:J[500],"& .MuiOutlinedInput-input":{minWidth:J[300],pl:u?1:2,pr:u?1:2}},...x,value:w??"",disabled:n,InputProps:{...o,inputComponent:Lh,startAdornment:u?ge.jsx(t.InputAdornment,{position:"start",sx:{pl:1},children:u}):null,endAdornment:!a&&ge.jsxs(t.Stack,{gap:v.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[d&&ge.jsx(t.InputAdornment,{position:"end",children:d}),ge.jsxs(t.Stack,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${v.custom.palette.stroke.default}`},children:[ge.jsx(t.ButtonBase,{onClick:()=>C(),sx:{flex:1,borderTopRightRadius:v.spacing(v.custom.radius.md),fontSize:12,"&:hover":{background:v.custom.palette.interaction.hover}},children:ge.jsx(i.ArrowDropUp,{fontSize:"inherit"})}),ge.jsx(t.Divider,{}),ge.jsx(t.ButtonBase,{onClick:()=>S(),sx:{flex:1,borderBottomRightRadius:v.spacing(v.custom.radius.md),fontSize:12,"&:hover":{background:v.custom.palette.interaction.hover}},children:ge.jsx(i.ArrowDropDown,{fontSize:"inherit"})})]})]})},inputProps:{inputType:"number",...r,...k}})};const Oh=({options:n,onChange:o,other:r,value:i,internalChange:s,...a})=>{const l=r?.enabled,c="other-option",u=`${c}-value-`,[d,p]=e.useState(i),[h,m]=e.useState(!1),f=e.useRef(null);e.useEffect((()=>{!h&&d?.includes(u)?m(!0):h&&m(!1)}),[d]);return e.useEffect((()=>{f.current&&Array.from(f.current.getElementsByTagName("label")).forEach((e=>{if(e.clientHeight>4*Q){const t=e.querySelector(".MuiTypography-root");t&&(t.style.marginTop=Q/2+"px")}}))}),[f.current]),ge.jsxs(ge.Fragment,{children:[ge.jsxs(t.RadioGroup,{...a,value:d,ref:f,sx:{"& .MuiRadio-root":{alignSelf:"baseline"},"& .MuiTypography-root":{alignSelf:"center"},display:"flex",alignSelf:"baseline",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)=>{o&&o(t),p(t),s&&s()},children:[n?n.map(((e,t)=>ge.jsx(sh,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:ge.jsx(bh,{})},t))):null,l&&ge.jsx(sh,{label:r?.label||"Other",value:u,control:ge.jsx(bh,{checked:d?.includes(u)})},c)]}),h&&ge.jsx(t.Box,{sx:{mt:1},children:ge.jsx(dh,{fullWidth:!0,autoFocus:!0,placeholder:r?.placeholder,defaultValue:d?.replace(u,""),onChange:e=>{var t;o&&o((t=e.target.value,`${u}${t}`)),s&&s()},required:!0})})]})},$h=({handleSelectAll:n,isIndeterminate:o,isAllSelected:r,sizing:i})=>{const[s,a]=e.useState(!1),l=t.useTheme();return e.useEffect((()=>{r&&a(r)}),[r]),ge.jsxs(t.Stack,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:e=>{const t=!s;a(t),n(e,t)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[ge.jsx(t.FormLabel,{sx:{cursor:"pointer",fontSize:()=>i&&Hn[i]},children:"Select all"}),ge.jsx(lh,{sizing:"default",indeterminate:o,checked:s})]})},Hh=e.forwardRef((({children:e,handleSelectAll:t,showSelectAll:n,value:o=[],selections:r,sizing:i,...s},a)=>{const l=Array.isArray(o)&&o.length===r.length,c=Array.isArray(o)&&o.length>0&&o.length<r.length;return ge.jsxs("ul",{ref:a,...s,children:[n&&ge.jsx($h,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),Wh="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",Nh=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},_h=(e,t)=>({"& .MuiTypography-root":{height:Nh(t),fontSize:Hn[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)}}),Uh=e=>({fontSize:`${On.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(te.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"}}),Gh=(e,t)=>{switch(t){case"lg":return{height:Nh(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.lg,height:Qt.lg,top:`calc(50% - ${Qt.lg/2}px)`}};case"md":return{height:Nh(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.md,height:Qt.md,top:`calc(50% - ${Qt.md/2}px)`}};case"xs":return{height:Nh(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.xs,height:Qt.xs,top:`calc(50% - ${Qt.xs/2}px)`}};default:return{height:Nh("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:Qt.lg,height:Qt.lg,top:`calc(50% - ${Qt.lg/2}px)`}}}},qh=e=>({position:"relative",fontSize:`${On.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:Qt.xl,height:Qt.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),Kh=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:Wh}}}}),Zh=t.styled(t.Autocomplete)((({theme:e,sizing:t,value:n})=>({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:Qt[t],height:Qt[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*Q+"px":3*Q+"px"},paddingTop:0,paddingBottom:0,paddingLeft:n&&Array.isArray(n)&&n.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:Hn[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*Q+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*Q+"px":3*Q+"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)}`}}}))),Yh=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}}}))),Xh=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"}}))),Jh=t.styled(t.Popper)((({theme:e,sizing:n})=>({"& .MuiPaper-root":{...n&&{margin:"lg"===n?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===n?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===n?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:Wh,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${t.autocompleteClasses.listbox}`]:{overflowX:"hidden",[`& .${t.autocompleteClasses.option}`]:{fontSize:Hn[n],...n&&{height:"lg"===n?5*Q+"px":4*Q+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),Qh=e=>ge.jsx(Jh,{...e}),em=({selections:t,disableClearable:n=!1,disabled:o,internalChange:r,multiple:s=!0,onChange:a,placeholder:l="",renderListItem:c,sizing:u="lg",value:d=(s?[]:"")})=>{const[p,h]=e.useState(t.filter((e=>d.includes(e?.value)))),m=(e,n)=>{if(a){const o=n?t.map((({value:e})=>e)):[];h(n?t:[]),a(e,o,"selectOption"),r&&r()}},f=e=>null!==e&&(!Array.isArray(e)||e.length>0);return ge.jsx(Zh,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:ge.jsx(i.KeyboardArrowDown,{}),sizing:u,disabled:o,disableClearable:n,autoComplete:!0,multiple:s,renderInput:e=>ge.jsx(Xh,{...e,placeholder:f(p)?void 0:l,sizing:u}),options:t,renderTags:(e,t)=>e.map(((e,n)=>{const{key:o,...r}=t({index:n});return ge.jsx(Yh,{sizing:u,deleteIcon:ge.jsx(i.CloseRounded,{fontSize:"small"}),label:e.label,...r},o)})),onChange:(e,t,n)=>{const o=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;h(t),a?.(e,o,n),r?.()},PopperComponent:e=>ge.jsx(Qh,{...e,sizing:u}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:n})=>{const{key:o,...r}=e;return ge.jsxs("li",{...r,children:[ge.jsx("span",{children:c?c(t.value,t.label):t.label}),ge.jsx(i.Check,{sx:{visibility:n?"visible":"hidden",fontSize:"16px"}})]},o)},ListboxComponent:e.forwardRef(((e,n)=>ge.jsx(Hh,{ref:n,...e,showSelectAll:s,handleSelectAll:m,value:p,selections:t,sizing:u}))),value:p})},tm=t.styled(t.MenuItem)((({theme:e})=>({...{...qh(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}}}))),nm=({children:e,selected:n,...o})=>ge.jsx(tm,{...o,children:ge.jsxs(t.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[ge.jsx(t.Box,{children:e}),n&&ge.jsx(i.Check,{})]})}),om=t.styled(t.Select)((({theme:e,sizing:t})=>({...{...Uh(e)},...t&&{...Gh(e,t)},...t&&{..._h(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}}}))),rm=({selections:e,autoComplete:n=!1,disabled:o=!1,disablePortal:r=!1,inputRef:s,internalChange:a,multi:l=!0,onChange:c,placeholder:u="",selectOptionProps:d,sizing:p="lg",sx:h,value:m=[],renderListItem:f,...g})=>{const x=t.useTheme(),v=nr();return n?ge.jsx(em,{selections:e,placeholder:u,disabled:o,sizing:p,onChange:(e,t)=>{c&&c(t||""),a&&a()},value:Array.isArray(m)?m??[]:m??"",internalChange:a,renderListItem:f,multiple:l}):ge.jsxs(om,{sizing:p,inputRef:s,MenuProps:{disablePortal:r,sx:Kh,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:i.KeyboardArrowDown,renderValue:t=>u&&!t?ge.jsx(dn,{component:"p",variation:"sm"===v||"md"===v?"sm":"lg",sx:{color:x.custom.palette.text.placeholder},children:u}):ge.jsx(dn,{component:"p",variation:"sm"===v||"md"===v?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{c&&c(e,t),a&&a()},sx:h,value:m,...g,children:[""!==u.trim()&&ge.jsx(nm,{disabled:!0,value:"","aria-label":"placeholder",children:u},"placeholder"),e?.map((({value:e,label:t})=>ge.jsx(nm,{value:e,...d,children:f?f(e,t):t},e)))]})},im=t.styled(t.Box)((({theme:e,disabled:t,fullWidth:n})=>({width:n?"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"}}}))),sm=t.styled(Ph)((({theme:e})=>({fontSize:On.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),am=({label:e="Placeholder",disabled:n,onChange:o,options:r,fullWidth:s})=>{const a=t.useTheme(),l=r.map((e=>e.label)).indexOf(e);return ge.jsx(im,{disabled:n,fullWidth:s,children:ge.jsxs(t.Stack,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[ge.jsxs(t.Box,{display:"flex",alignItems:"center",sx:{"& svg":{fill:a.custom.palette.icon.secondary}},children:[ge.jsx(i.DragHandle,{sx:{width:Qt.lg,height:Qt.lg,mr:a.custom.padding.sm}}),ge.jsx(sm,{align:"left",disabled:n,children:e})]}),ge.jsx(rm,{name:"rank",sizing:"xs",selections:r.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:n,value:`${l}`,onChange:function(e){const t=l,n=Number(e.target.value),i=r;let s=1;const a=i.splice(t,s)[0];s=0,i.splice(n,s,a),o(i)},MenuProps:{anchorOrigin:{vertical:J[400],horizontal:"center"}}})]})})},lm=e.createContext({attributes:{},listeners:void 0,ref(){}}),cm=e=>m.defaultAnimateLayoutChanges({...e,wasDragging:!0});function um({children:n,top:o,bottom:r,id:i}){const{attributes:s,isDragging:a,listeners:l,setNodeRef:c,setActivatorNodeRef:u,transform:d,transition:p}=m.useSortable({id:i,animateLayoutChanges:cm}),h=e.useMemo((()=>({attributes:s,listeners:l,ref:u})),[s,l,u]),g={opacity:a?.4:void 0,transform:f.CSS.Translate.toString(d),transition:p};return ge.jsx(lm.Provider,{value:h,children:ge.jsxs(t.Stack,{className:"SortableItem",...s,sx:{position:"relative",...g,width:"100%"},ref:c,children:[o&&o,ge.jsx(t.Box,{...l,sx:{display:"flex",cursor:"grab"},children:n}),r&&r]})})}const dm={sideEffects:h.defaultDropAnimationSideEffects({styles:{active:{opacity:"0.4"}}})};function pm({children:e}){return g.createPortal(ge.jsx(h.DragOverlay,{zIndex:999999,dropAnimation:dm,children:e}),document.body)}const hm=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class mm extends h.MouseSensor{static activators=[{eventName:"onMouseDown",handler:hm}]}class fm extends h.TouchSensor{static activators=[{eventName:"onTouchStart",handler:hm}]}function gm({items:n,onChange:o,renderItem:r,disabled:i,direction:s}){if(!n)return;const[a,l]=e.useState(null),c=e.useMemo((()=>n.find((e=>e?.id===a?.id))),[a,n]),u=t.useTheme(),d=t.useMediaQuery(u.breakpoints.down("md")),p=h.useSensors(h.useSensor(mm,{activationConstraint:{distance:5}}),h.useSensor(fm,{activationConstraint:{delay:d?300:0,tolerance:8}}),h.useSensor(h.KeyboardSensor,{coordinateGetter:m.sortableKeyboardCoordinates}));return ge.jsxs(h.DndContext,{measuring:{droppable:{strategy:h.MeasuringStrategy.Always}},sensors:p,onDragStart:({active:e})=>{l(e)},onDragEnd:({active:e,over:t})=>{if(t&&e.id!==t?.id){const r=n.findIndex((({id:t})=>t===e.id)),i=n.findIndex((({id:e})=>e===t.id));o(m.arrayMove(n,r,i))}l(null)},onDragCancel:()=>{l(null)},children:[ge.jsx(m.SortableContext,{items:n,disabled:i,strategy:"horizontal"===s?m.horizontalListSortingStrategy:m.verticalListSortingStrategy,children:ge.jsx(t.Stack,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:n.map((t=>ge.jsx(e.Fragment,{children:r(t)},t.id)))})}),ge.jsx(pm,{children:c?r(c,!0,!!a):null})]})}gm.Item=um,gm.DragHandle=function(){const{attributes:n,listeners:o,ref:r}=e.useContext(lm);return ge.jsx(t.Box,{...n,...o,ref:r,children:ge.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:ge.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 xm=({labelTop:n,labelBottom:o,disabled:r,fullWidth:i=!1,options:s,onChange:a,value:l,internalChange:c})=>{const u=t.useTheme(),[d,p]=e.useState(l||s);function h(e){p(e),a(e.map((({id:e})=>e))),c&&c()}return ge.jsxs(t.Stack,{gap:u.custom.margin.sm,textAlign:"center",sx:{width:i?"100%":"auto"},children:[n&&ge.jsx(Ph,{disabled:r,sx:{color:u.custom.palette.text.secondary},children:n}),ge.jsx(gm,{onChange:function(e){p(e),a(e.map((({id:e})=>e))),c&&c()},items:d,direction:"vertical",renderItem:({...e})=>ge.jsx(um,{id:e.id,children:ge.jsx(am,{onChange:h,...e,options:d,disabled:r,selections:e.selections,fullWidth:i})})}),o&&ge.jsx(Ph,{disabled:r,sx:{color:u.custom.palette.text.secondary},children:o})]})},vm=t.styled(y.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)}}}))),ym=({onChange:n,value:o,internalChange:r,minWidth:i=100,minHeight:s=100,maxHeight:a,placeholder:l})=>{const c=e.useRef(null),u=t.useTheme();return ge.jsx(vm,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:s,minWidth:i,maxHeight:a}},ref:c,onUpdate:({editor:e})=>{n&&n(e.getHTML()),r&&r()},extensions:[v.StarterKit.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),x.Placeholder.configure({placeholder:l}),b.Markdown],content:o,renderControls:()=>ge.jsxs(t.Stack,{gap:u.custom.margin.xs,direction:"row",children:[ge.jsx(y.MenuButtonBold,{}),ge.jsx(y.MenuButtonItalic,{})]})})},bm=e=>({"& .MuiSlider-thumb":{width:J[300],height:J[300],backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:J[50],height:J[50],backgroundColor:e.custom.palette.icon.primaryInverted}}}),wm=e=>Array.isArray(e),jm=(e,t)=>({height:J[100],padding:`${J[100]}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${J[400]}px)`,left:`-${J[200]}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&&wm(t)?`-${J[100]+1}px`:`-${J[200]+1}px`,width:`calc(100% + ${J[200]}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:J[50],width:J[50],borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),Cm=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:J[50],minWidth:J[400],"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${On.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),Sm=t.styled(t.Slider)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${J[400]}px)`,marginLeft:J[400]/2,...{...jm(e,t)},...{...bm(e)},...{...Cm(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}}}}))),km=[1,2,5,10],Mm=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const n=(t-e)/9;if(n<=1)return 1;const o=Math.floor(Math.log10(n)),r=n/Math.pow(10,o);return i=r,(km.find((e=>i<=e))??km[km.length-1])*Math.pow(10,o);var i},Tm=({labelLeft:e,labelMiddle:n,labelRight:o,labelRightProps:r,labelLeftProps:i,disabled:s,onChange:a,internalChange:l,max:c=5,min:u=1,step:d,value:p=u,...h})=>{const{sanitisedMin:m,sanitisedMax:f}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(u,c),g=((e,t,n)=>{const o=[];for(let r=e;r<=t;r+=n)o.push({value:r,label:r===e||r===t||r+n<=t?r.toString():void 0});return o[o.length-1].value!==t&&o.push({value:t,label:t.toString()}),o})(m,f,d??Mm(u,c));return ge.jsxs(t.Box,{sx:{minWidth:300},children:[ge.jsx(t.Box,{height:24,children:ge.jsx(Sm,{valueLabelDisplay:s?"on":"auto",disabled:s,marks:g,step:d,max:f,min:m,onChangeCommitted:()=>{l&&l()},onChange:(e,t,n)=>{a&&a(e,t,n)},value:p,...h})}),ge.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",pt:te.lg,gap:1},children:[e&&ge.jsx(t.Box,{sx:{flex:1},children:ge.jsx(gh,{disabled:s,showicon:!1,...i,children:e})}),n&&ge.jsx(t.Box,{sx:{flex:1,textAlign:"center"},children:ge.jsx(gh,{showicon:!1,disabled:s,children:n})}),o&&ge.jsx(t.Box,{sx:{flex:1,textAlign:"right"},children:ge.jsx(gh,{...r,showicon:!1,disabled:s,children:o})})]})]})},Pm=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}}}}))),Bm=({internalChange:e,onChange:n,...o})=>ge.jsx(Pm,{...o,onChange:(t,o)=>{n&&n(t,o),e&&e()},icon:ge.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ge.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:ge.jsx(t.SvgIcon,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ge.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"})})}),Am=t.styled((e=>ge.jsx(t.Switch,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e})))((({theme:e,sizing:t})=>({width:"lg"===t?54:36,height:"lg"===t?30:20,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:"lg"===t?3:2,transitionDuration:"300ms","&.Mui-checked":{transform:`translateX(${"lg"===t?24:16}px)`,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:"lg"===t?24:16,height:"lg"===t?24:16,boxSizing:"border-box",boxShadow:"none",backdropFilter:"blur(0)",filter:"drop-shadow(0 0 0 rgba(255, 255, 255, 0.52))",outline:("lg"===t?2:1)+"px solid rgba(255, 255, 255, 0.12)"},"& .MuiSwitch-track":{borderRadius:("lg"===t?30:20)/2,backgroundColor:e.custom.palette.neutral[100],opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}))),zm=({sizing:e="sm",sx:t,inputRef:o,value:r,label:i,labelPlacement:s="start",fullWidth:a,onChange:l,internalChange:c,...u})=>ge.jsx(sh,{inputRef:o,checked:r,label:i,labelPlacement:s,control:ge.jsx(Am,{sizing:e}),onChange:(e,t)=>{l&&l(e,t),c&&c()},sx:n.mergeSx(a?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},t),...u}),Em=t.styled(uh)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:J[500],alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:Qt.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),Im=({startAdornment:e,endAdornment:n,onChange:o,internalChange:r,inputRef:i,...s})=>ge.jsx(Em,{multiline:!0,inputRef:i,InputProps:{startAdornment:e?ge.jsx(t.InputAdornment,{position:"start",children:e}):null,endAdornment:n?ge.jsx(t.InputAdornment,{position:"start",children:n}):null},...s,onChange:e=>{o&&o(e),r&&r()}}),Rm=(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}},Vm=(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}},Fm=t.styled(t.LinearProgress)((({theme:e,score:n})=>({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:Rm(n,e)}}))),Lm={translations:E.translations,graphs:z.adjacencyGraphs,dictionary:{...z.dictionary,...E.dictionary}};w.zxcvbnOptions.setOptions(Lm);const Dm=({label:n="Strength",width:o=60,value:r,onChange:i})=>{const[s,a]=e.useState(0),l=t.useTheme();return e.useEffect((()=>{a(w.zxcvbn(r).score)}),[r]),e.useEffect((()=>{i(s)}),[s]),ge.jsxs(t.Stack,{direction:"row",gap:1,sx:{alignItems:"center"},children:[ge.jsx(dn,{variation:"sm",component:"p",children:n}),ge.jsx(Fm,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:o}}),ge.jsx(dn,{variation:"sm",component:"p",sx:{color:Vm(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},Om=({helperText:e,inputName:t,errors:n,...o})=>{const r=Boolean(n&&n[t]);return r?ge.jsx(S.ErrorMessage,{errors:n,name:t,render:({message:e})=>ge.jsx(gh,{showicon:!!e,state:"negative",children:e})}):e&&!r?ge.jsx(gh,{state:"default",...o,children:e}):null},$m={textfield:dh,numberfield:Dh,textarea:Im,select:rm,checkbox:ch,checkboxGroup:ph,switch:zm,slider:Tm,starRating:Bm,differential:Sh,likert:Fh,radioGroup:Oh,ranking:xm,richTextfield:ym,customfield:hh},Hm=({name:o,fieldType:r,label:i,control:s,errors:a,labelProps:l,helperText:c,helpTextProps:p,validation:h,content:m,styleOverrides:f,defaultValue:g,onChange:x,watch:v,trigger:y,strengthIndicator:b,...w})=>{const{custom:j}=t.useTheme(),C=void 0!==a&&Object.keys(a).length>0,[S,k]=e.useState(0);return b&&e.useEffect((()=>{S>0&&y(o)}),[S]),h?.match?.field&&e.useEffect((()=>{h?.match?.field&&y(h?.match?.field)}),[v(o)]),ge.jsxs(t.Stack,{sx:n.mergeSx(f?.sxInputStack,w?.hidden&&{display:"none!important"}),gap:j.margin.sm,children:["switch"!==r?i&&ge.jsx(Ph,{...l,children:i}):null,"html"===r&&m?ge.jsx(Th,{children:m}):ge.jsxs(ge.Fragment,{children:[ge.jsx(u.Controller,{name:o,control:s,render:e=>function({field:{ref:e,...t}}){const n=$m[r];return ge.jsx(n,{...w,...t,inputRef:e,..."switch"===r?{label:i}:{}})}(e),rules:{...h,validate:e=>{if(h&&"phone"in h)return d.isValidPhoneNumber(`+${v("extension")}${e}`)||h.phone.message;if(h&&"score"in h)return S<=h.score.value?h.score.message:void 0;if(h&&"white_space"in h)return!e.match(/^\s*$/g)||h.white_space.message;if(h&&"match"in h&&h?.match?.field)switch(h?.match?.comparison){case"not_eq":return e!=v(h.match.field)||h.match.message;case"gt":return e>v(h.match.field)||h.match.message;case"lt":return e<v(h.match.field)||h.match.message;default:return e===v(h.match.field)||h.match.message}}}}),b&&"password"===w?.type&&ge.jsx(Dm,{value:v(o),onChange:k})]}),ge.jsxs(ge.Fragment,{children:[Boolean(C)?ge.jsx(Om,{helperText:void 0,inputName:o,errors:a,showicon:!0}):null,Boolean(c)?ge.jsx(Om,{helperText:c,inputName:o,errors:void 0,...p}):null]})]})},Wm=e=>e.reduce(((e,t)=>({...e,[t?.name]:Nm(t,t?.defaultValue)})),{}),Nm=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:n}=e;return Array.isArray(t)?t:t||n}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":case"switch":return t||!1;case"ranking":{const{options:n}=e;return t?t.map((e=>n.find((({id:t})=>t===e)))):n}}},_m=e.forwardRef((({submitButton:n,secondaryButton:o,onFormSubmit:r,onFormChange:i,formConfig:s},a)=>{const{custom:l}=t.useTheme(),{fields:c,reValidateMode:d,styleOverrides:p,autoComplete:h,formId:m,mode:f}=s,g=Mh(c),{reset:x,getValues:v,trigger:y,setValue:b,control:w,formState:{isValid:j,errors:C},setFocus:S,handleSubmit:k,watch:M}=u.useForm({mode:f||"onChange",reValidateMode:d,defaultValues:e.useMemo((()=>Wm(c)),[]),shouldUnregister:!0});e.useEffect((()=>{if(void 0!==g){const e=g.filter((({fieldType:e})=>"html"!==e)).map((({name:e})=>e));c.filter((({name:t,fieldType:n})=>!e.includes(t)&&"html"!==n)).forEach((e=>{b(e.name,Nm(e,e.defaultValue))}))}}),[c]),e.useEffect((()=>{x(Wm(c))}),[m]),e.useImperativeHandle(a,(()=>({set(e,t){b(e,t)},resetForm(){x()},focus(e){S(e)},submit(){r&&k(r)()},values:()=>v(),valid:()=>j,errors:()=>C,async triggerFormValidation(){await y()}})));const T=()=>{i&&i(v())};return ge.jsxs(t.Box,{component:"form",autoComplete:h,noValidate:!0,sx:p?.sxForm,...r&&{onSubmit:k(r)},children:[ge.jsx(t.Stack,{gap:l.margin.md,sx:p?.sxStack,children:c.map((({name:t,...n})=>e.createElement(Hm,{...i&&{internalChange:T},name:t,key:t,errors:C,control:w,watch:M,trigger:y,...n})))}),(o||n)&&ge.jsxs(t.Stack,{direction:"row",sx:p?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[o&&o,n&&n]})]})})),Um=t.styled(t.Box)((({theme:e})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:e.zIndex.tooltip}))),Gm=t.styled(t.Container)((({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"}))),qm=t.styled(t.Box)((({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1}))),Km=t.styled(t.Box)((({theme:e})=>({background:e.custom.palette.green[300],height:"100%"}))),Zm=t.styled(t.Box)((({theme:e})=>({backgroundColor:e.custom.palette.surface.default,borderRadius:e.spacing(e.custom.radius.md),bottom:16,boxShadow:e.custom.elevation.overlay,display:"block",left:16,padding:e.spacing(1,2),position:"fixed"}))),Ym=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}}),Xm=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}}),Jm=t.styled(t.ButtonGroup)((({theme:e,variation:t,orientation:n="horizontal",iconColor:o,sizing:r="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...bn(e)},..."toggle"===t&&{...wn(e)},..."vertical"===n&&{...Ym(e)},..."horizontal"===n&&{...Xm(e)},...r&&{...Mn(r)}},"& .MuiSvgIcon-root":{...r&&{...Pn(r)},fill:o||"inherit"}}}))),Qm=t.styled(Hp)((({theme:e})=>({background:`linear-gradient(-18deg, ${e.custom.palette.purple[600]} 0%, ${e.custom.palette.blue[400]} 100%)`,color:e.custom.palette.white,padding:e.spacing(1),minWidth:0}))),ef={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},tf=t.styled("div")((()=>({whiteSpace:"pre"}))),nf=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},of=(e,t,n)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===n?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"===n?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===n?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},rf=t.styled(t.Chip)((({theme:e,variation:t,weight:n})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...of(e,t,n),"& .MuiChip-label":{fontSize:`${On.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...nf(0,n)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...of(e,t,n),...nf(0,n)}})));var sf=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=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,n),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 n=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{n.insertRule(e,n.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 af="undefined"!=typeof document,lf=function(e,t,n){for(var o=0,r=0;o=r,r=M.peek(),38===o&&12===r&&(t[n]=1),!M.token(r);)M.next();return M.slice(e,M.position)},cf=function(e,t){return M.dealloc(function(e,t){var n=-1,o=44;do{switch(M.token(o)){case 0:38===o&&12===M.peek()&&(t[n]=1),e[n]+=lf(M.position-1,t,n);break;case 2:e[n]+=M.delimit(o);break;case 4:if(44===o){e[++n]=58===M.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=M.from(o)}}while(o=M.next());return e}(M.alloc(e),t))},uf=new WeakMap,df=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||uf.get(n))&&!o){uf.set(e,!0);for(var r=[],i=cf(t,r),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},pf=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function hf(e,t){switch(M.hash(e,t)){case 5103:return M.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 M.WEBKIT+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M.WEBKIT+e+M.MOZ+e+M.MS+e+e;case 6828:case 4268:return M.WEBKIT+e+M.MS+e+e;case 6165:return M.WEBKIT+e+M.MS+"flex-"+e+e;case 5187:return M.WEBKIT+e+M.replace(e,/(\w+).+(:[^]+)/,M.WEBKIT+"box-$1$2"+M.MS+"flex-$1$2")+e;case 5443:return M.WEBKIT+e+M.MS+"flex-item-"+M.replace(e,/flex-|-self/,"")+e;case 4675:return M.WEBKIT+e+M.MS+"flex-line-pack"+M.replace(e,/align-content|flex-|-self/,"")+e;case 5548:return M.WEBKIT+e+M.MS+M.replace(e,"shrink","negative")+e;case 5292:return M.WEBKIT+e+M.MS+M.replace(e,"basis","preferred-size")+e;case 6060:return M.WEBKIT+"box-"+M.replace(e,"-grow","")+M.WEBKIT+e+M.MS+M.replace(e,"grow","positive")+e;case 4554:return M.WEBKIT+M.replace(e,/([^-])(transform)/g,"$1"+M.WEBKIT+"$2")+e;case 6187:return M.replace(M.replace(M.replace(e,/(zoom-|grab)/,M.WEBKIT+"$1"),/(image-set)/,M.WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return M.replace(e,/(image-set\([^]*)/,M.WEBKIT+"$1$`$1");case 4968:return M.replace(M.replace(e,/(.+:)(flex-)?(.*)/,M.WEBKIT+"box-pack:$3"+M.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M.WEBKIT+e+e;case 4095:case 3583:case 4068:case 2532:return M.replace(e,/(.+)-inline(.+)/,M.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(M.strlen(e)-1-t>6)switch(M.charat(e,t+1)){case 109:if(45!==M.charat(e,t+4))break;case 102:return M.replace(e,/(.+:)(.+)-([^]+)/,"$1"+M.WEBKIT+"$2-$3$1"+M.MOZ+(108==M.charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M.indexof(e,"stretch")?hf(M.replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==M.charat(e,t+1))break;case 6444:switch(M.charat(e,M.strlen(e)-3-(~M.indexof(e,"!important")&&10))){case 107:return M.replace(e,":",":"+M.WEBKIT)+e;case 101:return M.replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M.WEBKIT+(45===M.charat(e,14)?"inline-":"")+"box$3$1"+M.WEBKIT+"$2$3$1"+M.MS+"$2box$3")+e}break;case 5936:switch(M.charat(e,t+11)){case 114:return M.WEBKIT+e+M.MS+M.replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M.WEBKIT+e+M.MS+M.replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M.WEBKIT+e+M.MS+M.replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M.WEBKIT+e+M.MS+e+e}return e}var mf,ff,gf=af?void 0:(mf=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},ff=new WeakMap,function(e){if(ff.has(e))return ff.get(e);var t=mf(e);return ff.set(e,t),t}),xf=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case M.DECLARATION:e.return=hf(e.value,e.length);break;case M.KEYFRAMES:return M.serialize([M.copy(e,{value:M.replace(e.value,"@","@"+M.WEBKIT)})],o);case M.RULESET:if(e.length)return M.combine(e.props,(function(t){switch(M.match(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return M.serialize([M.copy(e,{props:[M.replace(t,/:(read-\w+)/,":"+M.MOZ+"$1")]})],o);case"::placeholder":return M.serialize([M.copy(e,{props:[M.replace(t,/:(plac\w+)/,":"+M.WEBKIT+"input-$1")]}),M.copy(e,{props:[M.replace(t,/:(plac\w+)/,":"+M.MOZ+"$1")]}),M.copy(e,{props:[M.replace(t,/:(plac\w+)/,M.MS+"input-$1")]})],o)}return""}))}}],vf=function(e){var t=e.key;if(af&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,r,i=e.stylisPlugins||xf,s={},a=[];af&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)})));var l=[df,pf];if(gf){var c=[M.stringify],u=M.middleware(l.concat(i,c)),d=gf(i)(t),p=function(e,t){var n=t.name;return void 0===d[n]&&(d[n]=function(e){return M.serialize(M.compile(e),u)}(e?e+"{"+t.styles+"}":t.styles)),d[n]};r=function(e,t,n,o){var r=t.name,i=p(e,t);return void 0===g.compat?(o&&(g.inserted[r]=!0),i):o?void(g.inserted[r]=i):i}}else{var h,m=[M.stringify,M.rulesheet((function(e){h.insert(e)}))],f=M.middleware(l.concat(i,m));r=function(e,t,n,o){h=n,function(e){M.serialize(M.compile(e),f)}(e?e+"{"+t.styles+"}":t.styles),o&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new sf({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return g.sheet.hydrate(a),g};const yf=t.styled("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),bf=({status:e})=>{const n=t.useTheme();switch(e){case"neutral":return null;case"success":return ge.jsx(wf,{backgroundColor:n.custom.palette.green[500],name:"check-circle"});case"warning":return ge.jsx(wf,{backgroundColor:n.custom.palette.yellow[500],name:"error"});case"danger":return ge.jsx(wf,{backgroundColor:n.custom.palette.red[500],name:"warning"});case"discover":return ge.jsx(wf,{backgroundColor:n.custom.palette.purple[500],name:"lightbulb"})}},wf=({backgroundColor:e,name:n})=>{const o=t.useTheme();return ge.jsx(t.Box,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:ge.jsx(t.Box,{sx:{backgroundColor:e,borderRadius:o.custom.radius.round,color:o.custom.palette.white,display:"flex",p:.5},children:ge.jsx(en,{name:n,size:20})})})};var jf={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 Cf=({text:e})=>{const n=t.useTheme(),o="{{tick}}"===e,r="{{dash}}"===e;return ge.jsx(t.Box,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:ge.jsxs(t.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[o&&ge.jsx(en,{name:"badge-tick-in-circle",size:24}),r&&ge.jsx(en,{name:"badge-hyphen",size:24}),!o&&!r&&ge.jsx(dn,{variation:"lg",component:"p",sx:{color:n.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:ge.jsx(ge.Fragment,{children:e})})]})})},Sf=()=>{const t="object"==typeof window;function n(){return{width:t?window.innerWidth:void 0,height:t?window.innerHeight:void 0}}const[o,r]=e.useState(n);return e.useEffect((()=>{if(t)return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o);function o(){e.startTransition((()=>{r(n())}))}}),[]),o};const kf="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",Mf=()=>ge.jsx(t.GlobalStyles,{styles:{"strong, b":{fontWeight:500}}}),Tf=e.createContext(null),Pf=(n="light",o="lg",r="ltr")=>{const{width:i}=Sf(),[s,a]=e.useState(n),[l,c]=e.useState(o),[u,d]=e.useState(r),[p,h]=e.useState(!1),[m,f]=e.useState("");e.useEffect((()=>{document.documentElement.setAttribute("dir",u)}),[u]);e.useEffect((()=>{e.startTransition((()=>{c(i&&i<X.lg?"sm":"lg")}))}),[i]),e.useEffect((()=>{e.startTransition((()=>{d(r)}))}),[r]),e.useEffect((()=>{e.startTransition((()=>{a(n)}))}),[n]);const g=e.useMemo((()=>((e,n,o)=>t.createTheme({direction:o,custom:{palette:{black:"#000000",white:"#ffffff",neutral:N[e],neutralAlpha:"light"===e?V:F,purple:U[e],red:G[e],peach:q[e],yellow:K[e],blue:Z[e],green:Y[e],icon:ae[e].icon,interaction:ae[e].interaction,stroke:ae[e].stroke,surface:ae[e].surface,text:ae[e].text,input:ae[e].input},margin:ee,padding:te,radius:ne,elevation:oe,elevationFilter:re,boxShadow:ie,easing:se,typography:On[n]},palette:{mode:e,primary:{main:L[500]}},spacing:Q,shape:{borderRadius:Q,hotspot:{default:12,active:24}},breakpoints:{values:X},typography:{fontFamily:`"${ce.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:$n(n),styleOverrides:{root:{color:ae[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${N[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: '${ce.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.Domaine.default.weight};\n src: url(${kf}${ce.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ce.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.Domaine.bold.weight};\n src: url(${kf}${ce.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ce.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.FoundersGrotesk.default.weight};\n src: url(${kf}${ce.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ce.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ce.FoundersGrotesk.bold.weight};\n src: url(${kf}${ce.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${X.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${X.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:ce.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*Q}px ${e.padding.md*Q}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,u)),[s,u,l]),x=t.useMediaQuery(g.breakpoints.only("sm"),{noSsr:!0}),v=t.useMediaQuery(g.breakpoints.only("md"),{noSsr:!0}),y=t.useMediaQuery(g.breakpoints.between("lg","xl"),{noSsr:!0}),b=t.useMediaQuery(g.breakpoints.up("xl"),{noSsr:!0});return e.useEffect((()=>{e.startTransition((()=>{x&&f("sm"),v&&f("md"),y&&f("lg"),b&&f("xl")}))}),[x,v,y,b]),{breakpoint:m,gridOverlayVisible:p,mode:s,theme:g,toggleGridOverlay:()=>{e.startTransition((()=>{h((e=>!e))}))},toggleMode:t=>{e.startTransition((()=>{if(t)return a(t);a((e=>"light"===e?"dark":"light"))}))}}},Bf=vf({key:"muirtl",stylisPlugins:[M.prefixer,P]}),Af=vf({key:"mui"});exports.AnnualController=({body:e,currency:n,changeCurrencyEvent:o=()=>{},frequency:r,heading:i,setCurrency:s=()=>{},setFrequency:a=()=>{},togglePayAnnuallyEvent:l=()=>{},sizing:c="lg",selections:u=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}]})=>{const d=t.useTheme(),p=nr();return ge.jsxs(t.Box,{sx:{alignItems:"center",backgroundColor:d.custom.palette.surface.default,borderRadius:d.custom.radius.round,boxShadow:d.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:"sm"===c?2:4},py:{sm:1,lg:2}},children:[ge.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:1},children:[ge.jsx(t.Box,{sx:{pr:2},children:ge.jsx(zm,{defaultChecked:!0,onChange:()=>(l(),void a("monthly"===r?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==r,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"},sizing:c})}),ge.jsxs(t.Stack,{sx:{alignItems:"flex-start",display:"flex"},children:[ge.jsx(dn,{variation:"sm"===p||"md"===p||"sm"===c?"md":"xxl",component:"p",children:i}),ge.jsx(dn,{variation:"sm",component:"p",sx:{color:d.custom.palette.text.secondary},children:e})]})]}),ge.jsx(rm,{name:"currency",onChange:e=>{return t=e.target.value,o(t),void s(t);var t},selections:u,value:u.find((e=>e.value===n))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:J[400],lg:J[500]}}})]})},exports.AuthContainerSurface=({children:e,headContent:o,sx:r,...i})=>{const s=t.useTheme();return ge.jsxs(an,{...i,sx:n.mergeSx(r,{mx:[s.spacing(s.custom.margin.md),0],width:1,maxWidth:[512]}),children:[o&&ge.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}),ge.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:n,subText:o})=>{const r=t.useTheme();return ge.jsxs(t.Stack,{gap:r.spacing(r.custom.margin.md),alignItems:"center",mb:r.spacing(r.custom.margin.lg),children:[!1===e?null:e||ge.jsx(en,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),ge.jsxs(t.Stack,{gap:r.spacing(r.custom.margin.md),children:[n&&ge.jsx(dn,{variation:"sm",component:"h1",align:"center",weight:"bold",children:n}),function(){if(o)return"string"==typeof o?ge.jsx(dn,{variation:"md",component:"p",align:"center",children:o}):o}()]})]})},exports.Avatar=Co,exports.AvatarGroup=({variation:e="primary",...n})=>{if("primary"===e)return ge.jsx(t.AvatarGroup,{...n})},exports.Breadcrumb=gn,exports.Button=Hp,exports.Checkbox=ch,exports.CheckboxGroup=ph,exports.ColorBackgroundContainer=({sx:e,children:o,texture:r="noise1",gradient:i="tone1",...s})=>{const a=t.useTheme();return ge.jsx(t.Container,{maxWidth:!1,disableGutters:!0,sx:n.mergeSx({background:ih(a,{texture:r,gradient:i}),height:"100%",p:[0,0,0]},!!e&&{...e}),...s,children:o})},exports.CustomField=hh,exports.DEFAULT_MAX_INPUT_LENGTH=nh,exports.Differential=Sh,exports.DropdownMenu=({open:e,anchorEl:n,handleClick:o,handleClose:r,items:i,...s})=>ge.jsx(ge.Fragment,{children:ge.jsx(kh,{anchorEl:n,open:e,onClose:r,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...s,children:i?.map(((e,n)=>ge.jsxs(t.MenuItem,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&ge.jsx(t.Box,{mr:1,children:e.icon}),e.label]},n)))})}),exports.FormControlLabel=sh,exports.FormGenerator=_m,exports.GridOverlay=({breakpoint:e})=>{const n=Array.from({length:6},((e,t)=>t));return e||(e=nr()),ge.jsxs(Um,{children:[ge.jsx(Gm,{children:ge.jsx(qm,{children:ge.jsxs(t.Unstable_Grid2,{container:!0,spacing:2,sx:{flex:1},children:[n.map((e=>ge.jsx(t.Unstable_Grid2,{sm:!0,sx:{display:{sm:"none",md:"block"}},children:ge.jsx(Km,{})},`grid-1-${e}`))),n.map((e=>ge.jsx(t.Unstable_Grid2,{sm:!0,sx:{display:{sm:"block"}},children:ge.jsx(Km,{})},`grid-2-${e}`)))]})})}),!!e&&ge.jsx(Zm,{children:ge.jsx(dn,{variation:"md",component:"p",weight:"bold",children:e})})]})},exports.Header=({backHref:e,title:n,breadcrumbLinks:o,buttons:r,controlBar:i})=>ge.jsxs(ge.Fragment,{children:[ge.jsx(zn,{sx:{justifyContent:"space-between"},children:ge.jsx(t.Container,{children:ge.jsx(t.Unstable_Grid2,{container:!0,spacing:2,children:ge.jsx(t.Unstable_Grid2,{sm:!0,children:ge.jsxs(Vn,{sx:{justifyContent:"space-between",py:1},children:[ge.jsxs(Vn,{children:[e&&ge.jsx(An,{sizing:"lg",icon:ge.jsx(en,{name:"arrow-left",size:20})}),ge.jsxs(Vn,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[n&&ge.jsx(dn,{variation:"lg",component:"p",weight:"bold",children:n}),o&&ge.jsx(gn,{links:o})]})]}),r&&ge.jsx(Vn,{children:r})]})})})})}),i&&ge.jsx(En,{children:ge.jsx(t.Container,{children:ge.jsx(t.Unstable_Grid2,{container:!0,spacing:2,children:ge.jsx(t.Unstable_Grid2,{sm:!0,children:ge.jsx(In,{children:ge.jsx(Rn,{children:i})})})})})})]}),exports.Html=Th,exports.Icon=en,exports.IconButton=An,exports.IconButtonGroup=({ButtonGroupProps:e,children:t,...n})=>ge.jsx(Jm,{...n,...e,children:t}),exports.Image=No,exports.InputFieldBase=uh,exports.InputLabel=Ph,exports.InputLabelHelp=gh,exports.Likert=Fh,exports.Link=cn,exports.Loader=()=>ge.jsx(t.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:ge.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),exports.Logo=e=>ge.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:ge.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.LoopsAiButton=()=>ge.jsx(Qm,{variation:"primary",sizing:"md",startIcon:ge.jsx(en,{name:"ai"}),children:"Loops AI"}),exports.Markdown=e=>{const{children:t}=e,n=t&&t.replaceAll(/\s/g," ").replaceAll(/<p><\/p>/g,"<br />");return ge.jsx(k,{options:{overrides:{p:{component:dn,props:ef},strong:{component:dn,props:{...ef,weight:"bold"}},em:{component:dn,props:{...ef,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:tf,forceBlock:!0,forceWrapper:!0},children:n})},exports.MenuButton=ro,exports.Navigation=({logoLink:e,isMobile:n,nudgeProps:o,primaryMenuItemProps:r,secondaryMenuItemProps:i,sizing:s="lg",tertiaryMenuItemProps:a,toggleMenuOnClick:l=()=>{},userMenuProps:c})=>{const u=t.useTheme();return ge.jsxs(Oo,{navigationSizing:s,children:[ge.jsx(Do,{logoLink:e,navigationSizing:s,toggleMenuOnClick:l,isMobile:n}),ge.jsx($o,{children:ge.jsxs(t.Stack,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[r?.length>0&&ge.jsx(t.Stack,{sx:{gap:"lg"===s?.5:2,width:"100%"},children:r.map(((e,t)=>ge.jsx(ro,{navigationSizing:s,...e},`primary-menu-item-${t}`)))}),ge.jsxs(t.Stack,{sx:{gap:2},children:[o?.title&&ge.jsx(jo,{navigationSizing:s,...o}),i?.length>0&&i.map(((e,t)=>ge.jsx(ro,{navigationSizing:s,...e,label:"Help center"===e.label&&"sm"===s?"Help":e.label},`secondary-menu-item-${t}`))),ge.jsx(t.Divider,{sx:{color:u.custom.palette.stroke.default}}),ge.jsx(Io,{navigationSizing:s,...c}),a?.length>0&&ge.jsx(Ho,{children:a.map(((e,t)=>ge.jsx(ro,{navigationSizing:s,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},exports.Nudge=jo,exports.NumberField=Dh,exports.OnboardingCard=({cardTitle:n,cardSubtitle:o,welcomeImageUrl:r,welcomeImageAltDescription:s,items:a=[]})=>{const[l,c]=e.useState(!0),u=nr(),d=()=>c(!l),p=a.length,h=a.filter((e=>e.complete)).length,m=h/p*100;return ge.jsxs(an,{variation:"raised",borderradius:"lg",sx:{display:"flex",flexDirection:"xl"===u?"row":"column",gap:e=>e.spacing(e.custom.margin.lg),padding:e=>e.spacing(e.custom.padding.lg)},children:[ge.jsxs(ir,{children:[ge.jsx(t.Box,{component:"img",src:r,alt:s,width:"72px",height:"72px"}),ge.jsx(dn,{component:"h1",variation:"md",fontWeight:500,children:n}),ge.jsx(ar,{component:"p",variation:"lg",children:o})]}),ge.jsxs(sr,{children:[ge.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",alignItems:"start",width:"100%",height:"36px",paddingBottom:e=>e.spacing(e.custom.padding.sm)},children:[ge.jsx(Qp,{completed:h,total:p}),l&&ge.jsx(An,{sizing:"sm",variation:"outlined",icon:ge.jsx(i.ExpandLess,{}),onClick:d})]}),ge.jsx(rr,{variation:"determinate",value:m}),ge.jsx(Jp,{expanded:l,onToggleExpanded:d,items:a})]})]})},exports.Pill=({body:e,maxWidth:t,...n})=>ge.jsx(rf,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...n}),exports.PlanFeatureTable=({currencySymbol:e,data:n,starterPrice:o,starterRespondentPrice:r,teamPrice:i,teamRespondentPrice:s,plusPrice:a,plusRespondentPrice:l,scalePrice:c,scaleRespondentPrice:u,variation:d="default"})=>{const p=t.useTheme();n||(n=jf);const h=Object.values(n.headings).map((({heading:t,pricing:n})=>({heading:t,pricing:n.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",o).replace("{{teamPrice}}",i).replace("{{plusPrice}}",a).replace("{{scalePrice}}",c)}))),m=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",r||"").replace("{{teamRespondentPrice}}",s||"").replace("{{plusRespondentPrice}}",l||"").replace("{{scaleRespondentPrice}}",u||""),f=[...Object.values(n.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:m(e.starter),team:m(e.team),plus:m(e.plus),scale:m(e.scale)})))];return ge.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:[ge.jsxs(t.Box,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[ge.jsx(t.Box,{sx:{width:160}}),h.map((({heading:e,pricing:n})=>ge.jsxs(t.Stack,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[ge.jsx(dn,{variation:"platform"===d?"lg":"xxl",component:"p",weight:"bold",children:e}),ge.jsx(dn,{variation:"platform"===d?"sm":"md",component:"p",sx:{color:p.custom.palette.text.secondary},children:n})]},e)))]}),f.map((e=>ge.jsxs(t.Box,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:p.custom.palette.surface.sunken}},children:[ge.jsx(t.Box,{sx:{display:"flex",alignItems:"center",width:160},children:ge.jsxs(t.Box,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&ge.jsx(yn,{message:e.name.description,children:ge.jsx(t.Box,{sx:{alignItems:"center",color:p.custom.palette.icon.secondary,display:"flex"},children:ge.jsx(en,{name:"info",size:24})})}),ge.jsx(dn,{variation:"platform"===d?"md":"lg",component:"p",children:e.name.heading})]})}),ge.jsx(Cf,{text:e.starter}),ge.jsx(Cf,{text:e.team}),ge.jsx(Cf,{text:e.plus}),ge.jsx(Cf,{text:e.scale})]},e.key)))]})},exports.PlanTierCard=({amount:n,billingType:o,body:r,ctaEvent:i=()=>{},ctaLink:s="#",ctaTarget:a="_self",ctaText:l,ctaVariation:c="primary",currencySymbol:u,currentPlan:d,features:p=[],freeTrialLength:h,freeTrialText:m,frequency:f,heading:g,label:x,largestHeaderHeight:v=0,perMonth:y,setLargestHeaderHeight:b=()=>{},variation:w="default"})=>{const j=t.useTheme(),C=nr(),{width:S}=Sf(),k=e.useRef(null),[M,T]=e.useState("sm");return e.useEffect((()=>{e.startTransition((()=>{T(C),C!==M&&b(0),k.current&&k.current.offsetHeight>v&&b(k.current.offsetHeight)}))}),[C,M,S]),ge.jsxs(t.Stack,{sx:{display:"flex",flex:1,position:"relative"},children:[ge.jsx(t.Stack,{sx:{alignItems:"center",backgroundColor:j.custom.palette.icon.primary,borderTopLeftRadius:j.spacing(j.custom.radius.lg),borderTopRightRadius:j.spacing(j.custom.radius.lg),boxShadow:j.custom.elevation.overlay,color:j.custom.palette.text.primaryInverted,justifyContent:"center",p:{sm:1,lg:2},textTransform:"uppercase",opacity:x?1:0,display:{sm:x?"flex":"none",md:"flex"}},children:ge.jsx(dn,{variation:"md",component:"p",weight:"bold",sx:{color:j.custom.palette.white},children:x||" "})}),ge.jsxs(t.Stack,{sx:{backgroundColor:j.custom.palette.surface.default,borderBottomLeftRadius:j.spacing(j.custom.radius.lg),borderBottomRightRadius:j.spacing(j.custom.radius.lg),borderTopLeftRadius:x?0:j.spacing(j.custom.radius.lg),borderTopRightRadius:x?0:j.spacing(j.custom.radius.lg),boxShadow:j.custom.elevation.overlay,display:"flex",flex:1},children:[ge.jsxs(t.Stack,{sx:{display:"flex",gap:"sm"===C||"md"===C?1:2,textAlign:"center",minHeight:{sm:"none",md:v},px:2,py:{sm:2,lg:4}},ref:k,children:[ge.jsx(dn,{variation:"sm"===C?"xxl":"platform"===w?"md":"lg",component:"h2",weight:"bold",children:g}),ge.jsx(dn,{variation:"sm"===C?"md":"platform"===w?"md"===C?"sm":"md":"md"===C?"md":"lg",component:"p",sx:{color:j.custom.palette.text.secondary},children:r})]}),ge.jsxs(t.Stack,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===w?184:240,xl:"platform"===w?184:226},px:2,py:{sm:2,md:2,lg:"platform"===w?2:6}},children:[ge.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[ge.jsx(dn,{variation:"md"===C?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:u}),ge.jsx(dn,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:n}),y&&ge.jsx(dn,{variation:"sm",component:"p",sx:{color:j.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:y})]}),h&&m&&ge.jsxs(t.Box,{sx:{alignItems:"center",backgroundColor:j.custom.palette.yellow[300],borderRadius:j.custom.radius.round,boxShadow:j.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[ge.jsx(en,{name:"gift",size:24}),ge.jsxs(t.Box,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[ge.jsx(dn,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:h}),ge.jsx(dn,{variation:"md",component:"p",sx:{lineHeight:1},children:m})]})]}),o&&ge.jsx(dn,{variation:"sm",component:"p",sx:{color:j.custom.palette.text.placeholder},children:o})]}),ge.jsxs(t.Stack,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[ge.jsx(t.Box,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:ge.jsx(cn,{href:s,title:l,target:a,onClick:()=>{g&&i(g)},sx:{"&:hover":{cursor:d?"default":"pointer"}},children:ge.jsx(Hp,{fullWidth:!0,variation:c,sizing:"lg",disabled:d,children:l})})}),p?.length&&ge.jsx(t.Stack,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===w?4:6}},children:p.map(((e,n)=>ge.jsxs(t.Box,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[ge.jsx(en,{name:"badge-tick",size:24}),ge.jsx(dn,{variation:"md",component:"p",children:e})]},`${g}-feature-${n}`)))})]})]})]})},exports.PlanTierCardScale=({body:e,ctaEvent:n=()=>{},ctaLink:o="",ctaTarget:r="_blank",ctaText:i,currencySymbol:s,heading:a,postText:l,preText:c,amount:u})=>{const d=t.useTheme();return ge.jsxs(t.Box,{sx:{backgroundColor:d.custom.palette.purple[0],borderRadius:d.spacing(d.custom.radius.lg),display:"flex",flexDirection:{sm:"column",md:"row"},textAlign:{sm:"center",md:"left"},boxShadow:d.custom.elevation.overlay,flex:1,gap:{sm:4,md:2},p:{sm:2,lg:4}},children:[ge.jsxs(t.Stack,{sx:{flex:1,gap:2,justifyContent:"center"},children:[ge.jsx(dn,{variation:"md",component:"h2",sx:{fontWeight:500},children:a}),ge.jsx(dn,{variation:"md",component:"p",sx:{color:d.custom.palette.text.secondary},children:e})]}),ge.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:[ge.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[ge.jsx(dn,{variation:"md",component:"p",sx:{color:d.custom.palette.text.placeholder,pr:.5},children:c}),ge.jsxs(t.Box,{sx:{alignItems:"flex-end",display:"flex"},children:[ge.jsx(dn,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:s}),ge.jsx(dn,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:u})]}),ge.jsx(dn,{variation:"md",component:"p",sx:{color:d.custom.palette.text.placeholder,pl:.1},children:l})]}),ge.jsx(cn,{href:o,title:i,target:r,onClick:()=>{a&&n(a)},children:ge.jsx(Hp,{fullWidth:!0,variation:"outlined",sizing:"lg",children:i})})]})]})},exports.Popper=xo,exports.Portal=t=>{const[n,o]=e.useState(null),r=n?.contentWindow?.document?.body,i=vf({key:"css",container:n?.contentWindow?.document?.head,prepend:!0});return ge.jsx(yf,{ref:o,children:r&&g.createPortal(ge.jsx(T.CacheProvider,{value:i,children:t.children}),r)})},exports.PoweredByWatermarkLogo=()=>ge.jsxs(t.Stack,{gap:.5,flexDirection:"row",children:[ge.jsx(t.SvgIcon,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ge.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"})}),ge.jsxs(t.SvgIcon,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ge.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:ge.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"})}),ge.jsx("defs",{children:ge.jsx("clipPath",{id:"clip0_900_1816",children:ge.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),exports.Progress=vn,exports.ProgressBar=rr,exports.ProjectItem=e=>"list"===e.viewType?ge.jsx(Jo,{...e}):ge.jsx(Xo,{...e}),exports.Radio=bh,exports.RadioGroup=Oh,exports.Rank=xm,exports.RichTextField=ym,exports.SectionHeader=({buttons:e,subtitle:n,title:o})=>ge.jsx(ge.Fragment,{children:ge.jsx(Qo,{sx:{justifyContent:"space-between"},children:ge.jsx(t.Container,{children:ge.jsx(t.Unstable_Grid2,{container:!0,spacing:2,children:ge.jsx(t.Unstable_Grid2,{sm:!0,children:ge.jsxs(er,{sx:{justifyContent:"space-between",py:1},children:[ge.jsx(er,{children:ge.jsxs(er,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[o&&ge.jsx(dn,{variation:"sm",component:"h2",weight:"bold",children:o}),n&&ge.jsx(tr,{variation:"sm",component:"p",children:n})]})}),e&&ge.jsx(er,{children:e})]})})})})})}),exports.Select=rm,exports.Slider=Tm,exports.SortableList=gm,exports.StarRating=Bm,exports.Surface=an,exports.Switch=zm,exports.TextBarDivider=({typographyProps:e,text:o,sx:r})=>{const i=t.useTheme();return ge.jsx(t.Box,{sx:n.mergeSx(r,{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:ge.jsx(dn,{align:"center",variation:"sm",component:"p",...e,children:o})})},exports.TextField=dh,exports.Textarea=Im,exports.ThemeProvider=({mode:e="light",screenSize:n="lg",direction:o="ltr",children:r})=>{const i=Pf(e,n,o);return ge.jsx(Tf.Provider,{value:i,children:ge.jsx(T.CacheProvider,{value:"rtl"===o?Bf:Af,children:ge.jsxs(l.ThemeProvider,{theme:i.theme,children:[ge.jsx(t.CssBaseline,{}),ge.jsx(Mf,{}),r]})})})},exports.TickGroup=({heading:e,ticks:n})=>ge.jsxs(t.Stack,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[ge.jsx(dn,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),ge.jsx(t.Box,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:n.map(((n,o)=>ge.jsxs(t.Box,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[ge.jsx(en,{name:"badge-tick",size:32}),ge.jsx(dn,{variation:"xxl",component:"p",children:n})]},`tick-group-${e}-${o}`)))})]}),exports.Toast=({buttons:e,message:n,status:o="neutral",variation:r="sm"})=>{const i=t.useTheme();return ge.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:ge.jsxs(t.Box,{sx:{display:"flex",flex:1,flexDirection:"sm"===r?"row":"column",gap:2},children:[ge.jsxs(t.Box,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==o&&ge.jsx(bf,{status:o}),ge.jsx(t.Box,{sx:{display:"flex"},children:ge.jsx(dn,{variation:"md",component:"p",sx:{px:1,pt:.5},children:n})})]}),e&&ge.jsx(t.Box,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},exports.Tooltip=yn,exports.Typography=dn,exports.UserMenu=Io,exports.backgroundCreator=ih,exports.base=Q,exports.blue=H,exports.blueRamp=Z,exports.boxShadow=ie,exports.breakpoints=X,exports.chooseArticle=eh,exports.compareArrayMembers=function(e,t){const n=new Set(e),o=new Set(t);return e.every((e=>o.has(e)))&&t.every((e=>n.has(e)))},exports.darkNeutral=R,exports.darkNeutralAlpha=F,exports.defaultInputValidation=th,exports.easing=se,exports.elevation=oe,exports.elevationFilter=re,exports.emailValidation={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},exports.fonts=ce,exports.generateRamp=_,exports.green=W,exports.greenRamp=Y,exports.iconSizeMap=Qt,exports.margin=ee,exports.neutral=I,exports.neutralAlpha=V,exports.neutralRamp=N,exports.padding=te,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.peach=O,exports.peachRamp=q,exports.purple=L,exports.purpleRamp=U,exports.radius=ne,exports.red=D,exports.redRamp=G,exports.semantic=ae,exports.space=J,exports.useBreakpoint=nr,exports.useDropdownMenu=()=>{const[t,n]=e.useState(null);return{open:Boolean(t),handleClick:e=>{n(e.currentTarget)},handleClose:()=>{n(null)},anchorEl:t}},exports.usePrevious=Mh,exports.useScreenSize=Sf,exports.yellow=$,exports.yellowRamp=K;
|