@useloops/design-system 1.4.170 → 1.4.172
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 +15 -2
- package/dist/index.d.ts +35 -8
- package/dist/index.js +15 -2
- package/package.json +3 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import t,{Fragment as
|
|
1
|
+
import*as e from"react";import t,{Fragment as n,useRef as o,useEffect as i,useState as r,useCallback as s,useMemo as a,createContext as l,useContext as c,useId as u,useLayoutEffect as d,useInsertionEffect as p,forwardRef as h,createElement as m,Component as f,useImperativeHandle as g,startTransition as x}from"react";import{SvgIcon as v,styled as y,Paper as b,useTheme as w,Box as j,Link as C,Typography as k,linkClasses as S,CircularProgress as M,Tooltip as T,IconButton as P,Container as A,Unstable_Grid2 as z,Button as E,boxClasses as R,Slide as V,Fade as F,Grow as B,Popper as L,ClickAwayListener as D,Stack as O,Avatar as $,Divider as I,Skeleton as H,CardActionArea as N,CardContent as _,LinearProgress as W,linearProgressClasses as U,alpha as Z,AvatarGroup as Y,FormControlLabel as G,Checkbox as q,TextField as K,InputAdornment as X,FormGroup as J,InputLabel as Q,Radio as ee,RadioGroup as te,Grid as ne,Menu as oe,MenuItem as ie,ButtonBase as re,FormLabel as se,Autocomplete as ae,Chip as le,autocompleteClasses as ce,Select as ue,useMediaQuery as de,Slider as pe,Rating as he,Switch as me,ButtonGroup as fe,createTheme as ge,GlobalStyles as xe,CssBaseline as ve}from"@mui/material";import{mergeSx as ye}from"merge-sx";import{LazyLoadImage as be}from"react-lazy-load-image-component";import we from"dayjs";import{ExpandLess as je,Check as Ce,Remove as ke,Info as Se,ErrorOutline as Me,ArrowDropUp as Te,ArrowDropDown as Pe,KeyboardArrowDown as Ae,CloseRounded as ze,DragHandle as Ee}from"@mui/icons-material";import Re from"@mui/material/useMediaQuery";import{TimelineDot as Ve,timelineItemClasses as Fe,TimelineItem as Be,TimelineSeparator as Le,TimelineConnector as De,TimelineContent as Oe}from"@mui/lab";import{styled as $e,useThemeProps as Ie,ThemeProvider as He}from"@mui/material/styles";import{capitalize as Ne}from"@mui/material/utils";import{Controller as _e,useForm as We}from"react-hook-form";import{isValidPhoneNumber as Ue}from"react-phone-number-input";import{NumericFormat as Ze}from"react-number-format";import{defaultDropAnimationSideEffects as Ye,DragOverlay as Ge,useSensors as qe,useSensor as Ke,KeyboardSensor as Xe,DndContext as Je,MeasuringStrategy as Qe,MouseSensor as et,TouchSensor as tt}from"@dnd-kit/core";import{useSortable as nt,defaultAnimateLayoutChanges as ot,sortableKeyboardCoordinates as it,arrayMove as rt,SortableContext as st,horizontalListSortingStrategy as at,verticalListSortingStrategy as lt}from"@dnd-kit/sortable";import{CSS as ct}from"@dnd-kit/utilities";import{createPortal as ut}from"react-dom";import{Placeholder as dt}from"@tiptap/extension-placeholder";import{StarterKit as pt}from"@tiptap/starter-kit";import{RichTextEditor as ht,MenuButtonBold as mt,MenuButtonItalic as ft}from"mui-tiptap";import{Markdown as gt}from"tiptap-markdown";import{zxcvbnOptions as xt,zxcvbn as vt}from"@zxcvbn-ts/core";import*as yt from"@zxcvbn-ts/language-common";import*as bt from"@zxcvbn-ts/language-en";import{ErrorMessage as wt}from"@hookform/error-message";import jt from"markdown-to-jsx";import{stringify as Ct,rulesheet as kt,middleware as St,RULESET as Mt,combine as Tt,match as Pt,serialize as At,copy as zt,replace as Et,WEBKIT as Rt,MOZ as Vt,MS as Ft,KEYFRAMES as Bt,DECLARATION as Lt,compile as Dt,dealloc as Ot,alloc as $t,hash as It,charat as Ht,strlen as Nt,indexof as _t,next as Wt,token as Ut,from as Zt,peek as Yt,delimit as Gt,slice as qt,position as Kt,prefixer as Xt}from"stylis";import{CacheProvider as Jt}from"@emotion/react";import Qt from"stylis-plugin-rtl";const en={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"},tn={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"},nn={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},on={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},rn={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},sn={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},an={0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"},ln={0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"},cn={0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"},un={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},dn={light:{0:en[0],50:en[50],100:en[100],200:en[200],300:en[300],400:en[400],500:en[500],600:en[600],700:en[700],800:en[800],900:en[900],950:en[950],1e3:en[1e3],1100:en[1100]},dark:{0:tn[0],50:tn[50],100:tn[100],200:tn[200],300:tn[300],400:tn[400],500:tn[500],600:tn[600],700:tn[700],800:tn[800],900:tn[900],950:tn[950],1e3:tn[1e3],1100:tn[1100]}},pn=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]}}),hn=pn(rn),mn=pn(sn),fn=pn(an),gn=pn(ln),xn=pn(cn),vn=pn(un),yn={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},bn={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},wn=bn[100],jn={none:bn[0],xs:bn[50]/wn,sm:bn[100]/wn,md:bn[200]/wn,lg:bn[400]/wn,xl:bn[600]/wn,xxl:bn[1e3]/wn,xxxl:bn[2e3]/wn},Cn={none:bn[0],xs:bn[50]/wn,sm:bn[100]/wn,md:bn[200]/wn,lg:bn[400]/wn,xl:bn[600]/wn},kn={none:bn[0],xs:bn[25]/wn,sm:bn[50]/wn,md:bn[100]/wn,lg:bn[200]/wn,xl:bn[300]/wn,round:999},Sn={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)"},Mn={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))"},Tn={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},Pn={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},An={light:{surface:{sunken:en[50],default:en[0],raised:en[0],overlay:en[0],scrim:nn[3],transparent:nn[.01]},interaction:{none:nn[0],hover:nn[1],press:nn[2],hoverOnDark:nn[3],pressOnDark:nn[4],disabled:nn[2]},stroke:{default:en[200],focus:rn[500],disabled:en[100]},text:{primary:en[1e3],secondary:en[600],placeholder:en[400],disabled:en[300],link:rn[800],linkHover:rn[900],primaryInverted:en[0],secondaryInverted:en[400],placeholderInverted:en[600],disabledInverted:en[700],positive:un[800],negative:sn[700],lockedWhite:en[0]},icon:{primary:en[1e3],secondary:en[600],disabled:en[300],primaryInverted:en[0],secondaryInverted:en[400],disabledInverted:en[700],positive:un[800],negative:sn[700],lockedWhite:en[0],link:rn[800],linkHover:rn[900]},input:{default:en[0],disabled:"#FFFFFF80"}},dark:{surface:{default:tn[50],sunken:tn[0],raised:tn[100],overlay:tn[200],scrim:on[3],transparent:on[.01]},interaction:{none:on[0],hover:on[1],press:on[2],hoverOnDark:on[3],pressOnDark:on[4],disabled:on[2]},stroke:{default:tn[200],focus:rn[500],disabled:tn[100]},text:{primary:tn[1e3],secondary:tn[700],placeholder:tn[400],disabled:tn[300],link:rn[100],linkHover:rn[0],primaryInverted:tn[0],secondaryInverted:tn[400],placeholderInverted:tn[600],disabledInverted:tn[700],positive:un[300],negative:sn[300],lockedWhite:en[0]},icon:{primary:tn[1e3],secondary:tn[700],disabled:tn[300],primaryInverted:tn[0],secondaryInverted:tn[400],disabledInverted:tn[700],positive:un[300],negative:sn[300],lockedWhite:en[0],link:rn[100],linkHover:rn[0]},input:{default:tn[100],disabled:"#2A223C80"}}};var zn;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(zn||(zn={}));const En={Domaine:{name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:zn.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:zn.BOLD}},FoundersGrotesk:{name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:zn.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:zn.BOLD}},FontStack:{Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'}};function Rn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vn,Fn={exports:{}},Bn={};var Ln,Dn={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.development.js
|
|
@@ -7,4 +7,17 @@ import*as e from"react";import t,{Fragment as o,useRef as n,useEffect as r,useSt
|
|
|
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?bo.exports=function(){if(vo)return wo;vo=1;var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,n){var a,l={},c=null,d=null;for(a in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=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:o,type:e,key:c,ref:d,props:l,_owner:i.current}}return wo.Fragment=n,wo.jsx=a,wo.jsxs=a,wo}():bo.exports=(jo||(jo=1,"production"!==process.env.NODE_ENV&&function(){var e,o=t,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),g=Symbol.iterator,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];!function(e,t,o){var n=f.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var r=o.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,o)}function b(e){return e.displayName||"Context"}function w(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 u:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return b(e)+".Consumer";case l:return b(e._context)+".Provider";case d:return function(e,t,o){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?o+"("+r+")":o}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case m:var o=e,n=o._payload,x=o._init;try{return w(x(n))}catch(e){return null}}return null}e=Symbol.for("react.module.reference");var j,C,y,k,M,z,S,F=Object.assign,B=0;function L(){}L.__reactDisabledLog=!0;var R,H=f.ReactCurrentDispatcher;function A(e,t,o){if(void 0===R)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);R=n&&n[1]||""}return"\n"+R+e}var $,I=!1,V="function"==typeof WeakMap?WeakMap:Map;function O(e,t){if(!e||I)return"";var o,n=$.get(e);if(void 0!==n)return n;I=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=H.current,H.current=null,function(){if(0===B){j=console.log,C=console.info,y=console.warn,k=console.error,M=console.group,z=console.groupCollapsed,S=console.groupEnd;var e={configurable:!0,enumerable:!0,value:L,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){o=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){o=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=o.stack.split("\n"),c=a.length-1,d=l.length-1;c>=1&&d>=0&&a[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(a[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||a[c]!==l[d]){var u="\n"+a[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&$.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{I=!1,H.current=r,function(){if(0==--B){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},e,{value:j}),info:F({},e,{value:C}),warn:F({},e,{value:y}),error:F({},e,{value:k}),group:F({},e,{value:M}),groupCollapsed:F({},e,{value:z}),groupEnd:F({},e,{value:S})})}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?A(p):"";return"function"==typeof e&&$.set(e,h),h}function E(e,t,o){if(null==e)return"";if("function"==typeof e)return O(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return A(e);switch(e){case u:return A("Suspense");case p:return A("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case d:return O(e.render,!1);case h:return E(e.type,t,o);case m:var r=e,i=r._payload,s=r._init;try{return E(s(i),t,o)}catch(e){}}return""}$=new V;var D=Object.prototype.hasOwnProperty,T={},P=f.ReactDebugCurrentFrame;function _(e){if(e){var t=e._owner,o=E(e.type,e._source,t?t.type:null);P.setExtraStackFrame(o)}else P.setExtraStackFrame(null)}var W=Array.isArray;function N(e){return W(e)}function Z(e){return""+e}function G(e){if(function(e){try{return Z(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)),Z(e)}var U,q,Y=f.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function K(e,t,o,r,i){var s,a={},l=null,c=null;for(s in void 0!==o&&(G(o),l=""+o),function(e){if(D.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(D.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(c=t.ref,function(e){"string"==typeof e.ref&&Y.current}(t)),t)D.call(t,s)&&!X.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps){var d=e.defaultProps;for(s in d)void 0===a[s]&&(a[s]=d[s])}if(l||c){var u="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var o=function(){U||(U=!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))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(a,u),c&&function(e,t){var o=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))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(a,u)}return function(e,t,o,r,i,s,a){var l={$$typeof:n,type:e,key:t,ref:o,props:a,_owner:s,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,i,r,Y.current,a)}var J,Q=f.ReactCurrentOwner,ee=f.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,o=E(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(o)}else ee.setExtraStackFrame(null)}function oe(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ne(){if(Q.current){var e=w(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 o=function(e){var t=ne();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!re[o]){re[o]=!0;var n="";e&&e._owner&&e._owner!==Q.current&&(n=" It was passed a child from "+w(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.',o,n),te(null)}}}function se(e,t){if("object"==typeof e)if(N(e))for(var o=0;o<e.length;o++){var n=e[o];oe(n)&&ie(n,t)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=g&&e[g]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,s=r.call(e);!(i=s.next()).done;)oe(i.value)&&ie(i.value,t)}}function ae(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==d&&o.$$typeof!==h)return;t=o.propTypes}if(t){var n=w(o);!function(e,t,o,n,r){var i=Function.call.bind(D);for(var s in e)if(i(e,s)){var a=void 0;try{if("function"!=typeof e[s]){var l=Error((n||"React class")+": "+o+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}a=e[s](t,s,n,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}!a||a instanceof Error||(_(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).",n||"React class",o,s,typeof a),_(null)),a instanceof Error&&!(a.message in T)&&(T[a.message]=!0,_(r),v("Failed %s type: %s",o,a.message),_(null))}}(t,e.props,"prop",n,e)}else void 0===o.PropTypes||J||(J=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(o)||"Unknown"));"function"!=typeof o.getDefaultProps||o.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(t,o,r,g,f,b){var j=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===a||t===s||t===u||t===p||t===x||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===h||t.$$typeof===l||t.$$typeof===c||t.$$typeof===d||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!j){var C,y="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),y+=ne(),null===t?C="null":N(t)?C="array":void 0!==t&&t.$$typeof===n?(C="<"+(w(t.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):C=typeof t,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,y)}var k=K(t,o,r,f,b);if(null==k)return k;if(j){var M=o.children;if(void 0!==M)if(g)if(N(M)){for(var z=0;z<M.length;z++)se(M[z],t);Object.freeze&&Object.freeze(M)}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(M,t)}if(D.call(o,"key")){var S=w(t),F=Object.keys(o).filter((function(e){return"key"!==e})),B=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";le[S+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,S,F.length>0?"{"+F.join(": ..., ")+": ...}":"{}",S),le[S+B]=!0)}return t===i?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var n=t[o];if("children"!==n&&"key"!==n){te(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),te(null);break}}null!==e.ref&&(te(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(k):ae(k),k}var de=function(e,t,o){return ce(e,t,o,!1)},ue=function(e,t,o){return ce(e,t,o,!0)};Co.Fragment=i,Co.jsx=de,Co.jsxs=ue}()),Co);var yo=bo.exports;const ko=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Mo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),zo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),So=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Fo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Bo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Lo=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"})]}),Ro=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Ho=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"})]}),Ao=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),$o=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"})]}),Io=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Vo=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"})]}),Oo=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.jsx("rect",{width:24,height:24,rx:12,fill:"#7F4CFF"}),yo.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"})]}),Eo=e=>yo.jsxs(m,{viewBox:"0 0 80 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.jsx("g",{clipPath:"url(#prefix__clip0_2261_1952)",children:yo.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"})}),yo.jsx("defs",{children:yo.jsx("clipPath",{id:"prefix__clip0_2261_1952",children:yo.jsx("path",{fill:"#fff",d:"M0 0h79.064v24H0z"})})})]}),Do=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),To=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Po=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),_o=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Wo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),No=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Zo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Go=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Uo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),qo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Yo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Xo=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"}),yo.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"}),yo.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"}),yo.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"}),yo.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"})]}),Ko=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Jo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.jsx("path",{d:"M19 5v2h-4V5h4zM9 5v6H5V5h4zm10 8v6h-4v-6h4zM9 17v2H5v-2h4zM21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z",fill:"currentColor"})}),Qo=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),en=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),tn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),on=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),nn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),rn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),sn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),an=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),ln=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),cn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),dn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),un=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),pn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),hn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),mn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),xn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.jsx("path",{d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",fill:"currentColor"})}),gn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),fn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),vn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),bn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.jsx("path",{d:"M10 20.5v-6h4v6h5v-8h3l-10-9-10 9h3v8h5z",fill:"currentColor"})}),wn=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"})]}),jn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Cn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),yn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),kn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Mn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),zn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Sn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Fn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Bn=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.jsx("path",{d:"M17.41 15.59L13.83 12l3.58-3.59L16 7l-5 5 5 5 1.41-1.41z",fill:"currentColor"})]}),Ln=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.jsx("path",{d:"M11.59 15.59L15.17 12l-3.58-3.59L13 7l5 5-5 5-1.41-1.41z",fill:"currentColor"})]}),Rn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Hn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),An=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),$n=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),In=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Vn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),On=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),En=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Dn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Tn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Pn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),_n=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"}),yo.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"}),yo.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"})]}),Wn=e=>yo.jsxs(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[yo.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"}),yo.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"})]}),Nn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Zn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Gn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Un=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),qn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Yn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Xn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Kn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Jn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),Qn=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),er=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),tr=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),or=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),nr=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),rr=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),ir=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),sr=e=>yo.jsx(m,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:yo.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"})}),ar={xs:2*so,sm:2*so,md:2*so,lg:2.5*so,xl:3*so},lr=({color:e,name:t,size:o,sx:n,...r})=>{const i={sx:xe({color:e,height:o||ar.xl,width:o||ar.xl},n),...r};switch(t){case"brand-wordmark":return yo.jsx(Eo,{...i});case"brand-logomark":return yo.jsx(Oo,{...i});case"menu":return yo.jsx(Mn,{...i});case"menu-open":return yo.jsx(zn,{...i});case"chevron-up":return yo.jsx(Go,{...i});case"chevron-down":return yo.jsx(Wo,{...i});case"chevron-left":return yo.jsx(No,{...i});case"chevron-right":return yo.jsx(Zo,{...i});case"arrow-left":return yo.jsx(zo,{...i});case"arrow-right":return yo.jsx(So,{...i});case"search":return yo.jsx(Dn,{...i});case"close":return yo.jsx(Uo,{...i});case"more-horizontal":return yo.jsx(Sn,{...i});case"more-vertical":return yo.jsx(Fn,{...i});case"home":return yo.jsx(vn,{...i});case"home-filled":return yo.jsx(bn,{...i});case"settings":return yo.jsx(Pn,{...i});case"controls":return yo.jsx(Xo,{...i});case"help":return yo.jsx(fn,{...i});case"filter-list":return yo.jsx(un,{...i});case"open-in-new":return yo.jsx(An,{...i});case"nav-toggle":return yo.jsx(Rn,{...i});case"nav-collapse":return yo.jsx(Bn,{...i});case"nav-expand":return yo.jsx(Ln,{...i});case"play-circle":return yo.jsx(In,{...i});case"play-video":return yo.jsx(Vn,{...i});case"email":return yo.jsx(rn,{...i});case"document":return yo.jsx(en,{...i});case"folder":return yo.jsx(hn,{...i});case"attach-file":return yo.jsx(Fo,{...i});case"photo-add":return yo.jsx($n,{...i});case"upload":return yo.jsx(tr,{...i});case"upload-cloud":return yo.jsx(or,{...i});case"time":return yo.jsx(Jn,{...i});case"time-filled":return yo.jsx(Qn,{...i});case"zoom-in":return yo.jsx(ir,{...i});case"zoom-out":return yo.jsx(sr,{...i});case"add":return yo.jsx(ko,{...i});case"remove":return yo.jsx(En,{...i});case"test":return yo.jsx(Xn,{...i});case"dashboard":return yo.jsx(Jo,{...i});case"list-view":return yo.jsx(yn,{...i});case"grid-view":return yo.jsx(xn,{...i});case"grid-view-filled":return yo.jsx(gn,{...i});case"eye":return yo.jsx(cn,{...i});case"eye-off":return yo.jsx(dn,{...i});case"notification":return yo.jsx(Hn,{...i});case"pound":return yo.jsx(On,{...i});case"euro":return yo.jsx(an,{...i});case"dollar":return yo.jsx(tn,{...i});case"send":return yo.jsx(Tn,{...i});case"comment":return yo.jsx(qo,{...i});case"chat":return yo.jsx(To,{...i});case"error":return yo.jsx(sn,{...i});case"warning":return yo.jsx(nr,{...i});case"lightbulb":return yo.jsx(Cn,{...i});case"check-circle":return yo.jsx(_o,{...i});case"thumb-up":return yo.jsx(Kn,{...i});case"info":return yo.jsx(wn,{...i});case"info-filled":return yo.jsx(jn,{...i});case"cancel":return yo.jsx(Do,{...i});case"compress":return yo.jsx(Yo,{...i});case"expand":return yo.jsx(ln,{...i});case"unfold":return yo.jsx(er,{...i});case"drag-handle":return yo.jsx(on,{...i});case"focus":return yo.jsx(pn,{...i});case"lock":return yo.jsx(kn,{...i});case"copy":return yo.jsx(Ko,{...i});case"edit":return yo.jsx(nn,{...i});case"delete":return yo.jsx(Qo,{...i});case"check":return yo.jsx(Po,{...i});case"star":return yo.jsx(Un,{...i});case"star-half":return yo.jsx(Yn,{...i});case"star-filled":return yo.jsx(qn,{...i});case"ai":return yo.jsx(Mo,{...i});case"work":return yo.jsx(rr,{...i});case"gift":return yo.jsx(mn,{...i});case"social-medium-single-colour":return yo.jsx(Zn,{...i});case"social-linkedin-single-colour":return yo.jsx(Nn,{...i});case"social-youtube-single-colour":return yo.jsx(Gn,{...i});case"social-linkedin-full-colour":return yo.jsx(Wn,{...i});case"social-google-full-colour":return yo.jsx(_n,{...i});case"badge-tick":return yo.jsx(Io,{...i});case"badge-tick-in-circle":return yo.jsx(Vo,{...i});case"badge-cross":return yo.jsx(Bo,{...i});case"badge-cross-in-circle":return yo.jsx(Lo,{...i});case"badge-hyphen":return yo.jsx(Ro,{...i});case"badge-hyphen-in-circle":return yo.jsx(Ho,{...i});case"badge-question":return yo.jsx(Ao,{...i});case"badge-question-in-circle":return yo.jsx($o,{...i});default:return yo.jsx(yo.Fragment,{})}},cr=e=>({boxShadow:e.custom.elevation.raised}),dr=e=>({boxShadow:e.custom.elevation.overlay}),ur=(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)}},pr=(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}},hr=x(g)((({theme:e,variation:t="default",borderradius:o})=>({boxShadow:"unset",borderRadius:ur(e,o),background:pr(t,e),..."overlay"===t&&{...dr(e)},..."raised"===t&&{...cr(e)}}))),mr=({children:e,variation:t="overlay",sx:o,...n})=>yo.jsx(hr,{variation:t,...n,sx:xe(o||{},{}),children:e}),xr=({children:e,headContent:t,sx:o,...n})=>{const r=f();return yo.jsxs(mr,{...n,sx:xe(o,{mx:[r.spacing(r.custom.margin.md),0],width:1,maxWidth:[512]}),children:[t&&yo.jsx(v,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:r.spacing(r.custom.margin.md),px:r.spacing(r.custom.margin.md)},children:t}),yo.jsx(v,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:t?[r.spacing(r.custom.margin.md)]:[r.spacing(r.custom.padding.lg),r.spacing(r.custom.padding.xl)],px:[r.spacing(r.custom.padding.lg),r.spacing(r.custom.padding.xl)],pb:[r.spacing(r.custom.padding.lg),r.spacing(r.custom.padding.xl)]},children:e})]})},gr=x(b)((({theme:e,disabled:t})=>({"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,borderRadius:e.spacing(e.custom.radius.sm),outline:"none"},"&.MuiLink-root":{transition:"all 200ms ease",display:"inline",cursor:"pointer",color:t?e.custom.palette.text.lockedWhite:e.custom.palette.text.textLink,textDecorationColor:e.custom.palette.text.textLink,pointerEvents:t?"none":"auto","&:hover":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.textLinkHover,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.textLinkHover},"&:active":{color:e.custom.palette.text.textLinkHover,textDecorationColor:e.custom.palette.text.textLinkHover},"&:visited":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.textLink,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.textLink}}}))),fr=e=>e.target&&"_blank"===e.target?yo.jsx(gr,{rel:"noopener",...e}):yo.jsx(gr,{...e}),vr=e=>"bold"===e?go.BOLD:go.DEFAULT,br=({component:e,weight:t="default",variation:o,clamp:n=0,type:r="default",...i})=>yo.jsx(w,{component:e,fontWeight:vr(t),variant:o,...i,sx:xe(i.sx,!!n&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:n},"button"===r&&{lineHeight:1.2})}),wr=x(v)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)}))),jr=x(fr)((({theme:e})=>({[`&.${j.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}}))),Cr=x(br)((({theme:e})=>({color:e.custom.palette.text.secondary}))),yr=x(br)((({theme:e})=>({color:e.custom.palette.text.secondary}))),kr=({links:e})=>yo.jsx(wr,{children:e?.map(((t,n)=>yo.jsxs(o,{children:[t.href?yo.jsx(jr,{underline:"hover",href:t.href,children:yo.jsx(Cr,{variation:"sm",component:"p",children:t.label})},t.label):yo.jsx(Cr,{variation:"sm",component:"p",children:t.label}),yo.jsx(yr,{variation:"sm",component:"p",children:n+1<e?.length?"/":""})]},t.label)))}),Mr=x(C)((()=>({color:"inherit",position:"absolute",padding:2}))),zr=({sizing:e,...t})=>yo.jsx(Mr,{size:e?ar[e]:40,...t}),Sr=({children:e,message:t,variation:o="primary",...n})=>{const r=f();if("primary"===o)return yo.jsx(y,{...n,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:r.spacing(r.custom.radius.sm),filter:`drop-shadow(${r.custom.elevation.overlay})`}}}},title:t,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:yo.jsx(v,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},Fr=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),Br=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}}}),Lr=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"}}),Rr=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"}}),Hr=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Ar={xs:3*so,sm:3.5*so,md:4*so,lg:5*so,xl:6*so},$r=e=>({height:Ar[e],width:Ar[e]}),Ir={xs:2*so,sm:2*so,md:2*so,lg:2.5*so,xl:3*so},Vr=e=>({height:Ir[e],width:Ir[e]}),Or=x(k)((({theme:e,variation:t,shape:o="default",sizing:n})=>({boxSizing:"border-box",transition:"all 200ms ease",...o&&{...Hr(o,e)},...n&&{...$r(n)},"&.MuiIconButton-root":{..."default"===t&&{...Fr(e)},..."toggle"===t&&{...Br(e)},..."outlined"===t&&{...Lr(e)},..."raised"===t&&{...Rr(e)},...o&&{...Hr(o,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...n&&{...Vr(n)},position:"relative",zIndex:1}}))),Er=({icon:e,loading:t,tooltipMessage:o,sizing:n,slotProps:r,...i})=>{const s=()=>yo.jsx(Or,{...i,sizing:n,children:t?yo.jsx(zr,{sizing:n}):e});return o?yo.jsx(Sr,{message:o,...r?.tooltip,children:s()}):s()},Dr=x(v)((({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}))),Tr=x(v)((({theme:e})=>({borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,width:"100%"}))),Pr=x(v)((({theme:e})=>({display:"flex",justifyContent:"flex-end",padding:e.spacing(1)}))),_r=x(v)((({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)}))),Wr=x(v)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),Nr=({backHref:e,title:t,breadcrumbLinks:o,buttons:n,controlBar:r})=>yo.jsxs(yo.Fragment,{children:[yo.jsx(Dr,{sx:{justifyContent:"space-between"},children:yo.jsx(M,{children:yo.jsx(z,{container:!0,spacing:2,children:yo.jsx(z,{sm:!0,children:yo.jsxs(Wr,{sx:{justifyContent:"space-between",py:1},children:[yo.jsxs(Wr,{children:[e&&yo.jsx(Er,{sizing:"lg",icon:yo.jsx(lr,{name:"arrow-left",size:20})}),yo.jsxs(Wr,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[t&&yo.jsx(br,{variation:"lg",component:"p",weight:"bold",children:t}),o&&yo.jsx(kr,{links:o})]})]}),n&&yo.jsx(Wr,{children:n})]})})})})}),r&&yo.jsx(Tr,{children:yo.jsx(M,{children:yo.jsx(z,{container:!0,spacing:2,children:yo.jsx(z,{sm:!0,children:yo.jsx(Pr,{children:yo.jsx(_r,{children:r})})})})})})]}),Zr=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],Gr=(e,t=16)=>{const o=1/t*e;return Math.round(1e3*o)/1e3},Ur=(e,t="xs")=>{const o=Zr.reduce(((o,n,r)=>{const i=Zr.indexOf(t)||0,s=Number((16*Math.pow(e,r-i)).toFixed(2));return o[n]=s,o}),{}),n={};for(const[e,t]of Object.entries(o))n[e]=Gr(t)+"rem";return n},qr={lg:{headline:Ur(1.309,"xs"),body:Ur(1.125,"md")},sm:{headline:Ur(1.125,"xs"),body:Ur(1.1,"md")},button:Ur(1.125,"md")},Yr=e=>{const t=Zr.map((t=>({props:{variant:t},style:{fontFamily:`${fo.FontStack.Serif}`,fontSize:qr[e].headline[t]}}))),o=Zr.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${fo.FontStack.SansSerif}`,fontSize:qr[e].body[t]}}))),n=Zr.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${fo.FontStack.SansSerif}`,fontSize:qr[e].body[t]}})));return[...t,...Zr.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${fo.FontStack.SansSerif}`,fontSize:qr[e].body[t]}}))),...o,...n]},Xr={xxs:qr.button.xxs,xs:qr.button.xs,sm:qr.button.sm,md:qr.button.sm,lg:qr.button.md,xl:qr.button.lg,xxl:qr.button.xl,xxxl:qr.button.xxl},Kr=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Jr=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}`}}),Qr=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]}}),ei=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}}}),ti=(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}},...Kr(e)}),oi={xs:3*so,sm:3.5*so,md:4*so,lg:5*so,xl:6*so,xxl:7*so,xxxl:8*so},ni={xs:.5*so,sm:.5*so,md:so,lg:so,xl:so,xxl:so,xxxl:so},ri=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:ar[e],width:ar[e]}}}),ii=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:Xr[e],paddingLeft:ni[e],paddingRight:ni[e]}}),si=e=>({height:oi[e],paddingLeft:so,paddingRight:so}),ai=x(S)((({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"}}))),li=x(v)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5),justifyContent:"center",transition:e.custom.easing.input}))),ci=x(v)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),di=x(br)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),ui=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},pi=x(S)((({active:e,fullWidth:t,sizing:o,theme:n})=>({...ti(n,e),alignItems:"center",backgroundColor:e?n.custom.palette.interaction.press:"transparent",borderRadius:n.spacing(n.custom.radius.md),color:n.custom.palette.text.primary,display:"flex",gap:n.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:ui(o,n),textTransform:"none",width:t?"100%":"auto","&:hover":{...ti(n,e)["&:hover"],[`.${F.root}`]:{opacity:1}},"&:focus":{...ti(n,e)["&:focus"],[`.${F.root}`]:{opacity:1}}}))),hi=({active:e,fullWidth:t=!0,danger:o,href:r,icon:i,label:s,navigationSizing:a,onClick:l,sizing:c="lg"})=>{const d=f(),u=n(null);return yo.jsxs(li,{onClick:l,children:[yo.jsxs(pi,{active:!r&&e,sizing:c,fullWidth:t,children:[yo.jsxs(v,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:u,children:[i&&yo.jsx(lr,{name:i,size:24}),"lg"===a&&yo.jsx(B,{in:!0,direction:"right",container:u.current,children:yo.jsx(v,{sx:{display:"flex"},children:yo.jsx(L,{in:!0,style:{transitionDelay:"100ms"},children:yo.jsx(v,{sx:{display:"flex"},children:yo.jsx(br,{component:"p",variation:"sm"===c?"xs":"md",type:"button",clamp:1,sx:xe(o&&{color:d.custom.palette.text.negative}),children:s})})})})})]}),"lg"===a&&r&&yo.jsx(ci,{children:yo.jsx(lr,{name:"open-in-new",size:20})})]}),"sm"===a&&yo.jsx(R,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:yo.jsx(v,{children:yo.jsx(di,{active:e,component:"p",type:"button",variation:"xs",sx:xe(o&&{color:d.custom.palette.text.negative}),children:s})})})]})};function mi(t){if("undefined"==typeof window)return t;const o=e.useRef(null);return e.useLayoutEffect((()=>{o.current=t})),e.useCallback(((...e)=>{var t;null===(t=o.current)||void 0===t||t.call(o,...e)}),[])}const xi={};const gi={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},fi=e,vi="useId"in fi?()=>fi.useId():()=>{};function bi({parentPopupState:e,popupId:t=vi(),variant:o,disableAutoFocus:a}){const l=n(!0);r((()=>(l.current=!0,()=>{l.current=!1})),[]);const[c,d]=i(gi),u=s((e=>{l.current&&d(e)}),[]),p=s((e=>u((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),h=mi((e=>(c.isOpen?g(e):m(e),c))),m=mi((t=>{const n=t instanceof Element?void 0:t,r=t instanceof Element?t:(null==t?void 0:t.currentTarget)instanceof Element?t.currentTarget:void 0;if("touchstart"===(null==n?void 0:n.type))return void u((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,l=i=>{var s,l;if(t||i.setAnchorElUsed||"dialog"===o||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",xi[s="missingEventOrAnchorEl"]||(xi[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),e){if(!e.isOpen)return i;setTimeout((()=>e._setChildPopupState(j)))}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};u((e=>e._deferNextOpen?(setTimeout((()=>u(l)),0),{...e,_deferNextOpen:!1}):l(e)))})),x=t=>{const{_childPopupState:o}=t;return setTimeout((()=>{null==o||o.close(),null==e||e._setChildPopupState(null)})),{...t,isOpen:!1,hovered:!1,focused:!1}},g=mi((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?u((e=>e._deferNextClose?(setTimeout((()=>u(x)),0),{...e,_deferNextClose:!1}):x(e))):u((e=>({...e,_deferNextClose:!0})))})),f=s(((e,t)=>{e?m(t):g(t)}),[]),v=mi((e=>{const{relatedTarget:t}=e;u((e=>!e.hovered||t instanceof Element&&Ci(t,j)?e:e.focused?{...e,hovered:!1}:x(e)))})),b=mi((e=>{if(!e)return;const{relatedTarget:t}=e;u((e=>!e.focused||t instanceof Element&&Ci(t,j)?e:e.hovered?{...e,focused:!1}:x(e)))})),w=s((e=>u((t=>({...t,_childPopupState:e})))),[]),j={...c,setAnchorEl:p,popupId:t??void 0,variant:o,open:m,close:g,toggle:h,setOpen:f,onBlur:b,onMouseLeave:v,disableAutoFocus:a??Boolean(c.hovered||c.focused),_setChildPopupState:w};return j}function wi({isOpen:e,popupId:t,variant:o}){return{..."popover"===o?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===o?{"aria-describedby":e?t:void 0}:void 0}}function ji({isOpen:e,anchorEl:t,popupId:o,onMouseLeave:n}){return{id:o,anchorEl:t,open:e,onMouseLeave:n}}function Ci(e,t){const{anchorEl:o,_childPopupState:n}=t;return yi(o,e)||yi(function(e,{popupId:t}){if(!t)return null;const o="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof o.getElementById?o.getElementById(t):null}(e,t),e)||null!=n&&Ci(e,n)}function yi(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const ki={trigger:function(e){return{...wi(e),onClick:e.open,onTouchStart:e.open}},contextMenu:function(e){return{...wi(e),onContextMenu:t=>{t.preventDefault(),e.open(t)}}},toggle:function(e){return{...wi(e),onClick:e.toggle,onTouchStart:e.toggle}},hover:function(e){const{open:t,onMouseLeave:o}=e;return{...wi(e),onTouchStart:t,onMouseOver:t,onMouseLeave:o}},focus:function(e){const{open:t,onBlur:o}=e;return{...wi(e),onFocus:t,onBlur:o}},doubleClick:function({isOpen:e,open:t,popupId:o,variant:n}){return{["popover"===n?"aria-controls":"aria-describedby"]:e?o:null,"aria-haspopup":"popover"===n||void 0,onDoubleClick:t}}},Mi=({bindOn:e=["toggle"],trigger:t,children:o,...n})=>{const r=bi({variant:"popper"}),i={transition:!0,...n.popperProps},s={...n.clickAwayListenerProps,onClickAway:e=>{n.clickAwayListenerProps?.onClickAway?n.clickAwayListenerProps.onClickAway(e,r):r.close()}},l={timeout:350,...n.transitionFadeProps},{sx:c,...d}={variation:"overlay",borderradius:"md",...n.surfaceProps},u=a((()=>e.reduce(((e,t)=>({...e,...ki[t](r)})),{})),[e]);return yo.jsxs(yo.Fragment,{children:[yo.jsx(v,{...u,children:t(r)}),yo.jsx(H,{...ji(r),...i,children:({TransitionProps:e})=>yo.jsx(A,{...s,children:yo.jsx(L,{...e,...l,children:yo.jsx(v,{children:yo.jsx(mr,{sx:xe({p:2},c),...d,children:o})})})})})]})},zi=({children:e,description:t,title:o})=>yo.jsxs($,{sx:{gap:2,p:1},children:[yo.jsxs($,{sx:{gap:1},children:[yo.jsx(br,{variation:"sm",component:"p",weight:"bold",children:o}),yo.jsx(br,{variation:"sm",component:"p",children:t})]}),e]}),Si=x(Er)((({theme:e})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...ti(e)}))),Fi=x(v)((({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)}))),Bi=({notification:e,onClick:t})=>yo.jsxs(v,{sx:{position:"relative"},children:[yo.jsx(Si,{icon:yo.jsx(lr,{name:"notification"}),variation:"raised",onClick:t}),e&&yo.jsx(L,{in:!0,style:{transitionDelay:"200ms"},children:yo.jsx(v,{children:yo.jsx(Fi,{})})})]}),Li=({children:e,description:t,title:o,navigationSizing:n})=>"sm"===n?yo.jsx(Mi,{popperProps:{placement:"right-end"},surfaceProps:{variation:"raised",sx:{maxWidth:200,p:1,ml:1}},bindOn:["trigger"],trigger:()=>yo.jsx(R,{in:!0,style:{transformOrigin:"0 100%"},children:yo.jsx(v,{children:yo.jsx(Bi,{notification:!0})})}),children:yo.jsx(zi,{description:t,title:o,children:e})}):yo.jsx(R,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:yo.jsx(v,{sx:{display:"flex"},children:yo.jsx(mr,{variation:"raised",borderradius:"md",sx:{maxWidth:200,minHeight:40,width:"100%",p:1},children:yo.jsx(zi,{description:t,title:o,children:e})})})}),Ri=({sizing:e="lg",children:t,...o})=>{const{custom:n}=f();switch(e){case"sm":return yo.jsx(I,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:32,width:32},...o,children:t});case"lg":return yo.jsx(I,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:48,width:48},...o,children:t})}},Hi=x(v)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Ai=x($)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),$i=x($)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Ii=x(S)((({active:e,navigationSizing:t,theme:o})=>({...ti(o,e),textTransform:"none",borderRadius:o.spacing("lg"===t?o.custom.radius.md:o.custom.radius.round),justifyContent:"flex-start",minWidth:0,padding:o.spacing(.5),width:"100%",overflow:"hidden"}))),Vi=({active:e,avatar:t,email:o,name:r,navigationSizing:i,withMenu:s})=>{const a=f(),l=n(null);return yo.jsx(Ii,{active:e,navigationSizing:i,children:yo.jsxs(Hi,{ref:l,children:[yo.jsx(Ri,{src:t,sizing:"sm"}),yo.jsx(L,{in:!0,children:yo.jsxs(Hi,{children:[yo.jsxs(Ai,{withMenu:s,children:[yo.jsx(br,{variation:"sm",component:"p",type:"button",noWrap:!0,children:r}),yo.jsx(br,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:a.custom.palette.text.secondary},children:o})]}),s&&yo.jsx($i,{children:yo.jsx(lr,{name:"chevron-right",size:24})})]})})]})})},Oi=x(S)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.5,1),textTransform:"none",width:"100%",...ti(t,e)}))),Ei=x(v)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Di=x($)((({theme:e})=>({height:24,width:24,alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Ti=({active:e,danger:t,hasChildren:o,label:n,selected:r,onClick:i})=>{const s=f();return yo.jsx(Oi,{active:e,onClick:i,children:yo.jsxs(Ei,{sx:{flex:1},children:[yo.jsx(Ei,{children:yo.jsx(br,{component:"p",sx:xe(t&&{color:s.custom.palette.text.negative}),type:"button",variation:"md",children:n})}),yo.jsxs(Di,{children:[o&&yo.jsx(lr,{name:"chevron-right",size:24}),r&&yo.jsx(lr,{name:"check",size:24})]})]})})},Pi=({avatar:e,email:t,menuItems:o,name:n,navigationSizing:r})=>yo.jsx(Mi,{popperProps:{placement:"right-end"},surfaceProps:{sx:{ml:1,p:1,width:192}},bindOn:["trigger"],trigger:i=>yo.jsx(Vi,{active:i.isOpen,avatar:e,email:t,name:n,navigationSizing:r,withMenu:!!o?.length}),children:yo.jsx(yo.Fragment,{children:o?.map(_i)})}),_i=(e,t)=>e.children?.length?yo.jsx(Mi,{popperProps:{placement:"right-end"},surfaceProps:{sx:{p:1,width:192}},bindOn:["trigger","hover"],trigger:t=>yo.jsx(Ti,{label:e.label,active:t.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger,onClick:e.onClick}),children:yo.jsx(yo.Fragment,{children:e?.children?.map(_i)})},`${e.label}-${t}`):yo.jsx(Ti,{label:e.label,selected:e.selected,danger:e.danger,onClick:e.onClick},`${e.label}-${t}`),Wi=()=>yo.jsxs(m,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[yo.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),yo.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"})]}),Ni=()=>{const e=f();return yo.jsxs(m,{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:[yo.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"}),yo.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"}),yo.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"}),yo.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"})]})},Zi=x(v)((({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)}))),Gi=({isMobile:e,logoLink:t="/",navigationSizing:o,toggleMenuOnClick:n})=>yo.jsxs(Zi,{navigationSizing:o,children:[yo.jsx(v,{sx:{display:"flex",width:"100%"},children:yo.jsxs(v,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[yo.jsx(fr,{href:t,children:yo.jsxs(v,{sx:{alignItems:"center",display:"flex",gap:.5,pr:"lg"===o?.5:0},children:[yo.jsx(Wi,{}),"lg"===o&&yo.jsx(L,{in:!0,children:yo.jsx(v,{sx:{display:"flex",alignItems:"flex-end"},children:yo.jsx(Ni,{})})})]})}),"lg"===o&&yo.jsx(L,{in:"lg"===o,children:yo.jsx(v,{children:yo.jsx(Er,{onClick:n,sizing:"lg",icon:e?yo.jsx(lr,{name:"close",size:20}):yo.jsx(lr,{name:"nav-toggle",size:20})})})})]})}),"sm"===o&&yo.jsx(R,{in:!0,style:{transformOrigin:"0 100%"},children:yo.jsx(v,{sx:{alignItems:"center",display:"flex",justifyContent:"flex-start",width:"100%"},children:yo.jsx(Er,{onClick:n,sizing:"lg",icon:e?yo.jsx(lr,{name:"close",size:20}):yo.jsx(lr,{name:"nav-toggle",size:20})})})})]}),Ui=x($)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),qi=x(v)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),Yi=x(v)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),Xi=({logoLink:e,isMobile:t,nudgeProps:o,primaryMenuItemProps:n,secondaryMenuItemProps:r,sizing:i="lg",tertiaryMenuItemProps:s,toggleMenuOnClick:a=()=>{},userMenuProps:l})=>{const c=f();return yo.jsxs(Ui,{navigationSizing:i,children:[yo.jsx(Gi,{logoLink:e,navigationSizing:i,toggleMenuOnClick:a,isMobile:t}),yo.jsx(qi,{children:yo.jsxs($,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[n?.length>0&&yo.jsx($,{sx:{gap:"lg"===i?.5:2,width:"100%"},children:n.map(((e,t)=>yo.jsx(hi,{navigationSizing:i,...e},`primary-menu-item-${t}`)))}),yo.jsxs($,{sx:{gap:2},children:[o?.title&&yo.jsx(Li,{navigationSizing:i,...o}),r?.length>0&&r.map(((e,t)=>yo.jsx(hi,{navigationSizing:i,...e,label:"Help center"===e.label&&"sm"===i?"Help":e.label},`secondary-menu-item-${t}`))),yo.jsx(V,{sx:{color:c.custom.palette.stroke.default}}),yo.jsx(Pi,{navigationSizing:i,...l}),s?.length>0&&yo.jsx(Yi,{children:s.map(((e,t)=>yo.jsx(hi,{navigationSizing:i,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},Ki=x(v)({"& .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"}}),Ji=({children:e,src:t,alt:o,width:n,height:r,...s})=>{const[a,l]=i(!1);return yo.jsxs(yo.Fragment,{children:[yo.jsx(L,{in:!a,unmountOnExit:!0,children:yo.jsx(v,{sx:{width:n,height:r,position:"absolute",inset:0},children:yo.jsx(O,{variant:"rectangular",width:n,height:"100%"})})}),yo.jsx(Ki,{children:yo.jsx(ge,{onLoad:()=>l(!0),alt:o,height:r,src:t,width:n,threshold:500,effect:"blur",wrapperProps:{style:{transitionDelay:"200ms"}},...s})})]})},Qi=x(v)((({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)}))),es=(e,t)=>yo.jsxs(v,{display:"flex",gap:1,children:[yo.jsx(br,{variation:"sm",component:"p",weight:"bold",children:e||0}),yo.jsx(br,{variation:"sm",component:"p",color:"text.secondary",children:t})]}),ts=({loops:e,tests:t,drafts:o})=>yo.jsxs(v,{display:"flex",alignItems:"center",children:[es(e,"Loops"),yo.jsx(Qi,{}),es(t,"Tests"),yo.jsx(Qi,{}),es(o,"Drafts")]}),os=x(v)((({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]}}))),ns=({sx:e,body:t})=>yo.jsx(os,{"data-id":"pill-container",sx:xe(e,{position:"absolute",zIndex:1}),children:yo.jsx(br,{variation:"xxs",component:"p",weight:"bold",children:t})}),rs=({title:e,maxLines:t})=>yo.jsx(br,{variation:"md",component:"p",weight:"bold",sx:{overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":`${t}`,"-webkit-box-orient":"vertical"},children:e}),is=({updatedDate:e,format:t=!1,noWrap:o})=>yo.jsxs(br,{variation:"sm",component:"p",color:"text.secondary",noWrap:o,children:["Edited on ",t?fe(e).format("DD MMM YYYY"):e]}),ss=({title:e,loopCount:t,testCount:o,draftCount:n,updatedAt:r,moreActions:i,thumbnail:s,isDemo:a,loading:l})=>{const c=f();return yo.jsx(v,{sx:{width:"100%",transition:"all 0.3s ease","&:hover":{'*[data-id="image-container"]':{boxShadow:c.custom.elevation.raised}}},children:yo.jsxs(E,{sx:{"& .MuiCardActionArea-focusHighlight":{backgroundColor:c.palette.background.paper}},children:[l?yo.jsx(O,{sx:{width:"100%",height:150,transform:"none"},animation:"pulse"}):yo.jsxs(v,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:c.custom.radius.md},children:[a&&yo.jsx(ns,{body:"Demo",sx:{bottom:8,left:8}}),yo.jsx(Ji,{src:s,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),yo.jsx(D,{sx:{py:c.spacing(c.custom.padding.xs),px:0},children:yo.jsxs($,{gap:c.spacing(c.custom.margin.xs),children:[l?yo.jsx(O,{width:"100%",height:20}):yo.jsxs($,{direction:"row",justifyContent:"space-between",alignItems:"start",children:[yo.jsx(rs,{title:e,maxLines:2}),yo.jsx(v,{children:i})]}),l?yo.jsx(O,{width:"100%",height:20}):yo.jsx(ts,{loops:t,tests:o,drafts:n}),l?yo.jsx(O,{width:"60%",height:20}):yo.jsx(is,{updatedDate:r,format:!0})]})})]})})},as=({title:e,loopCount:t,testCount:o,draftCount:n,updatedAt:r,moreActions:i,thumbnail:s,isDemo:a,loading:l})=>{const c=f();return yo.jsx(v,{sx:{minWidth:280,width:"auto",borderBottom:`1px solid ${c.custom.palette.stroke.default}`,transition:"all 0.3s ease"},children:yo.jsx(E,{sx:{p:c.spacing(c.custom.padding.xs)},children:yo.jsxs(v,{sx:{display:"flex",gap:c.spacing(c.custom.margin.sm),alignItems:"center"},children:[l?yo.jsx(O,{variant:"rounded",width:108,height:72}):yo.jsxs(v,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",width:108,height:72,position:"relative",borderRadius:c.custom.radius.md},children:[a&&yo.jsx(ns,{sx:{top:4,right:4},body:"Demo"}),yo.jsx(Ji,{src:s,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),yo.jsx(D,{sx:{overflow:"hidden",p:0,pl:c.spacing(c.custom.padding.sm),minWidth:67,display:"flex",flex:1,"&:last-child":{pb:0}},children:yo.jsxs($,{gap:c.spacing(c.custom.margin.xs),width:"100%",children:[l?yo.jsx(O,{variant:"text",width:"50%"}):yo.jsx(rs,{title:e,maxLines:1}),yo.jsxs($,{direction:"row",gap:c.spacing(c.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[l?yo.jsx(O,{variant:"text",width:"50%"}):yo.jsx(ts,{loops:t,tests:o,drafts:n}),l?yo.jsx(O,{variant:"text",width:130}):yo.jsx(is,{updatedDate:r,format:!0,noWrap:!0})]})]})}),i&&i]})})})},ls=e=>"list"===e.viewType?yo.jsx(as,{...e}):yo.jsx(ss,{...e}),cs=x(v)((({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}))),ds=x(v)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),us=x(br)((({theme:e})=>({color:e.custom.palette.text.secondary}))),ps=({buttons:e,subtitle:t,title:o})=>yo.jsx(yo.Fragment,{children:yo.jsx(cs,{sx:{justifyContent:"space-between"},children:yo.jsx(M,{children:yo.jsx(z,{container:!0,spacing:2,children:yo.jsx(z,{sm:!0,children:yo.jsxs(ds,{sx:{justifyContent:"space-between",py:1},children:[yo.jsx(ds,{children:yo.jsxs(ds,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[o&&yo.jsx(br,{variation:"sm",component:"h2",weight:"bold",children:o}),t&&yo.jsx(us,{variation:"sm",component:"p",children:t})]})}),e&&yo.jsx(ds,{children:e})]})})})})})}),hs={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},ms=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},xs=(e,t,o)=>({maxLength:{value:o||255,message:`Maximum character limit of ${o||255}.`},...t&&{required:e?`Please enter ${ms(e)} ${e}`:"This field is required"}}),gs=xs().maxLength.value,fs=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"}}),vs=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,bs=(e,t)=>{switch(t){case"tone1":default:return vs(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(e.custom.palette.blue[1e3],.2)} 0%, ${T(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},ws=(e,t)=>{const o=bs(e,t.gradient),n=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return n?[n,o].join(","):[o].join(",")},js=({logo:e,headerText:t,subText:o})=>{const n=f();return yo.jsxs($,{gap:n.spacing(n.custom.margin.md),alignItems:"center",mb:n.spacing(n.custom.margin.lg),children:[!1===e?null:e||yo.jsx(lr,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),yo.jsxs($,{gap:n.spacing(n.custom.margin.md),children:[t&&yo.jsx(br,{variation:"sm",component:"h1",align:"center",weight:"bold",children:t}),function(){if(o)return"string"==typeof o?yo.jsx(br,{variation:"md",component:"p",align:"center",children:o}):o}()]})]})},Cs=({variation:e="primary",...t})=>{if("primary"===e)return yo.jsx(P,{...t})},ys=x((({children:e,loading:t,sizing:o,...n})=>yo.jsxs(ai,{...n,sizing:o,loading:t,children:[t&&yo.jsx(zr,{sizing:o}),yo.jsx(v,{...t?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:o})=>({color:e.custom.palette.text.primary,...o&&{...ii(o)},...o&&{...si(o)},...o&&{...ri(o)},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&:focus:before":{backgroundColor:e.custom.palette.interaction.hover},"&:active:before":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},..."subtle"===t&&{...Kr(e)},..."outlined"===t&&{...Jr(e)},..."secondary"===t&&{...Qr(e)},..."primary"===t&&{...ei(e)}}))),ks=({sizing:e="lg",variation:t="primary",...o})=>yo.jsx(ys,{variation:t,sizing:e,...o}),Ms=({label:e,sx:t,...o})=>{const n=f(),r=e?n.custom.margin.md:0;return yo.jsx(_,{label:e||"",sx:xe({ml:0,"&.Mui-disabled":{color:n.custom.palette.text.disabled},"&.Mui-error":{color:n.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:r,color:"inherit",fontSize:{xs:qr.sm.body.md,sm:qr.sm.body.md,md:qr.sm.body.md,lg:qr.lg.body.md,xl:qr.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:r}}},t),...o})},zs=x(W)((({theme:e,sizing:t})=>({height:"default"===t?io[300]:io[400],width:"default"===t?io[300]:io[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?ar.sm:ar.xl,height:"default"===t?ar.sm:ar.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}}}))),Ss=e=>yo.jsx(zs,{checkedIcon:yo.jsx(ve,{}),indeterminateIcon:yo.jsx(be,{}),...e}),Fs=({internalChange:e,checkboxLabel:t,indeterminate:o,sizing:n="default",onChange:r,inputRef:i,value:s,...a})=>void 0===s?yo.jsx(v,{}):yo.jsx(Ms,{inputRef:i,label:t,checked:s,control:yo.jsx(Ss,{sizing:n,indeterminate:o}),onChange:(t,o)=>{r&&r(t,o),e&&e()},...a}),Bs=x(N)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:ar.xl,height:ar.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:qr.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"}}}}}))),Ls=({startAdornment:e,endAdornment:t,placeholder:o,onChange:n,internalChange:r,inputRef:i,...s})=>yo.jsx(Bs,{placeholder:o,sx:{height:io[500],"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:i,InputProps:{startAdornment:e?yo.jsx(Z,{position:"start",sx:{pl:1},children:e}):null,endAdornment:t?yo.jsx(Z,{position:"start",sx:{pr:1},children:t}):null},...s,onChange:e=>{n&&n(e),r&&r()}}),Rs=({sizing:e,options:t,other:o,internalChange:n,value:r,inputRef:i,onChange:s})=>{const a=o?.name||"other-option",l=`${a}-value-`,c=e=>`${l}${e}`,d=o?.enabled,u=r?.includes(a)&&d,p=r?.find((e=>e.includes(l)));if(!r)return yo.jsx("div",{});const h=(e,i)=>{let c=r.includes(e)?r.filter((t=>t!==e)):i?[e]:[...new Set(r),e];if(i||(c=c.filter((e=>!t.find((t=>t?.exclusive&&e===t.value))))),o?.enabled){!r.includes(a)||e!==a||(c=c.filter((e=>!e.includes(l))))}s(c),n&&n()};return yo.jsxs(yo.Fragment,{children:[yo.jsxs(G,{sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiCheckbox-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},children:[t?t.map(((t,o)=>{const n=t.value;return yo.jsx(Ms,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"},"& .MuiTypography-root":{mt:"default"!==e?.5:0}},onChange:()=>h(n,t.exclusive),checked:r.includes(n),control:yo.jsx(Ss,{sizing:e}),label:t.label},n)})):null,d&&yo.jsx(Ms,{inputRef:i,onChange:()=>h(a),label:o?.label||"Other",checked:r.includes(a),control:yo.jsx(Ss,{sizing:e})},a)]}),u&&yo.jsx(v,{sx:{mt:1},children:yo.jsx(Ls,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(l,""):"",placeholder:o?.placeholder,onChange:e=>{const t=r.find((e=>e.includes(l))),o=(t?r.map((t=>t.includes(l)?c(e.target.value):t)):[...r,c(e.target.value)]).filter((e=>e!==l));s(o),n&&n()},required:!0})})]})},Hs=({sx:e,children:t,texture:o="noise1",gradient:n="tone1",...r})=>{const i=f();return yo.jsx(M,{maxWidth:!1,disableGutters:!0,sx:xe({background:ws(i,{texture:o,gradient:n}),height:"100%",p:[0,0,0]},!!e&&{...e}),...r,children:t})},As=({inputField:e,onChange:t,internalChange:o,transformValue:n,...r})=>{const i=e;return yo.jsx(i,{onChange:e=>{t&&t(n?n(e):e),o&&o()},...r})},$s=x(U)((({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}}))),Is=e=>yo.jsx($s,{...e}),Vs=e=>{const{icon:t=null,state:o="default",disabled:n,showicon:r=!0}=e,i=f();return yo.jsxs(v,{sx:{display:"inline-flex",alignItems:"center",color:n?i.custom.palette.text.disabled:(()=>{switch(o){case"disabled":return i.custom.palette.text.disabled;case"positive":return i.custom.palette.text.positive;case"negative":return i.custom.palette.text.negative;default:return i.custom.palette.text.secondary}})(),"& svg":{marginRight:i.spacing(i.custom.margin.xs),width:ar.xs,height:ar.xs,color:"inherit"}},children:[(()=>{if(!r)return null;if(t)return t;switch(o){case"disabled":default:return yo.jsx(v,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:yo.jsx(we,{})});case"positive":return yo.jsx(v,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:yo.jsx(ve,{})});case"negative":return yo.jsx(v,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:yo.jsx(je,{})})}})(),yo.jsx(Is,{...e,sx:{fontSize:{xs:qr.sm.body.sm,sm:qr.sm.body.sm,md:qr.sm.body.sm,lg:qr.lg.body.sm,xl:qr.lg.body.sm}}})]})},Os=x(v)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:io[50],height:io[50],top:`calc(100% + ${io[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:io[50],height:io[50],top:`calc(100% + ${io[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Es=({children:e,width:t})=>yo.jsx(Os,{sx:{width:t,minWidth:300},children:e}),Ds=x(q)((({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?io[300]:io[400],width:"default"===t?io[300]:io[400],"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&ar.sm,height:"default"===t&&ar.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}}}}))),Ts=e=>yo.jsx(Ds,{...e}),Ps=x(Ts)((()=>({marginRight:0}))),_s=x(v)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:io[50],width:`calc(100% - ${io[400]}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Ws=e=>yo.jsx(_s,{sx:{position:"relative"},children:yo.jsx(Ps,{...e})}),Ns=({disabled:e=!1,onChange:t,labelLeft:o,labelRight:n,internalChange:r,labelCenter:i})=>{const s=[...Array(7).keys()];return yo.jsx(Y,{children:yo.jsxs(Es,{children:[yo.jsx(X,{container:!0,justifyContent:"space-between",children:s.map(((o,n)=>{const i=n+1!==s.length;return yo.jsx(X,{item:!0,sm:i,children:yo.jsx(Ws,{disabled:e,value:o,onChange:(e,o)=>{t&&t(e,o),r&&r()},name:`radio-option-${o}`},o)},o)}))}),yo.jsxs(X,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[yo.jsx(X,{item:!0,sm:!0,sx:{textAlign:"left"},children:yo.jsx(Vs,{disabled:e,showicon:!1,children:o})}),yo.jsx(X,{item:!0,sm:!0,sx:{textAlign:"center"},children:yo.jsx(Vs,{disabled:e,align:"center",showicon:!1,children:i})}),yo.jsx(X,{item:!0,sm:!0,sx:{textAlign:"right"},children:yo.jsx(Vs,{disabled:e,align:"right",showicon:!1,children:n})})]})]})})},Zs=x(K)((({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(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),Gs=({open:e,anchorEl:t,handleClick:o,handleClose:n,items:r,...i})=>yo.jsx(yo.Fragment,{children:yo.jsx(Zs,{anchorEl:t,open:e,onClose:n,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...i,children:r?.map(((e,t)=>yo.jsxs(J,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&yo.jsx(v,{mr:1,children:e.icon}),e.label]},t)))})}),Us=()=>{const[e,o]=t.useState(null);return{open:Boolean(e),handleClick:e=>{o(e.currentTarget)},handleClose:()=>{o(null)},anchorEl:e}},qs=({children:e,...t})=>e,Ys=({sx:e,...t})=>yo.jsx(Is,{...t,sx:xe({fontSize:{xs:qr.sm.body.md,sm:qr.sm.body.md,md:qr.sm.body.md,lg:qr.lg.body.md,xl:qr.lg.body.md}},!!e&&{...e})}),Xs=x(v)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:io[200],borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${io[200]}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:io[200],borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${io[200]}px)`}}}}}))),Ks=({children:e,width:t})=>yo.jsx(Xs,{sx:{width:t},children:e}),Js=x(Vs)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),Qs=({disabled:e,children:t})=>yo.jsx(Js,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),ea=x(Ts)((()=>({marginRight:0}))),ta=x(v)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:io[50],width:`calc(50% - ${io[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:io[50],width:`calc(50% - ${io[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),oa=e=>yo.jsx(ta,{sx:{textAlign:"center",position:"relative"},children:yo.jsx(ea,{...e})}),na=({options:e=[],disabled:t=!1,sizing:o="lg",onChange:n,internalChange:r,value:i})=>{const s=f();function a(e){console.warn(e),n(e.value),r&&r()}return yo.jsx(v,{children:yo.jsx(Ks,{children:yo.jsx(X,{container:!0,justifyContent:"space-between",children:e.map((e=>yo.jsxs(X,{item:!0,sm:!0,onClick:()=>a(e),sx:{...!t&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!t&&{backgroundColor:s.custom.palette.input.default,borderColor:s.custom.palette.stroke.focus,boxShadow:s.custom.boxShadow.input.focus},"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:s.custom.palette.purple[500]}}}},children:[yo.jsx(oa,{sizing:o,disabled:t,onChange:t=>a(e),checked:i===e.value},e.value),yo.jsx(v,{sx:{mt:ao.xs,width:"100%"},children:yo.jsx(Qs,{disabled:t,children:e.label})})]},e.value)))})})})},ra=l(((e,o)=>{const{decimalSeparator:n,thousandSeparator:r,value:i,...s}=e,a=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return yo.jsx(Le,{...s,value:i??"",getInputRef:o,thousandSeparator:r??a,decimalSeparator:n??l})})),ia=({disabled:e=!1,InputProps:t,inputProps:o,placeholder:n,hideActionButtons:r=!1,max:s=1/0,min:a=-1/0,startAdornment:l,endAdornment:c,internalChange:d,numericFormatProps:u,onChange:p,step:h=1,value:m,...x})=>{const g=f(),[v,b]=i(m),w=v,j=e=>{b(e),p&&p(e),d&&d()},C=()=>{const e=(null==w||Number.isNaN(w)?0:w)+h;e>s||j(e)},y=()=>{const e=(null==w||Number.isNaN(w)?0:w)-h;e<a||j(e)},k={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=a&&e<=s,max:s!==1/0?s:void 0,min:a!==-1/0?a:void 0,step:1!==h?h:void 0,onKeyDown:e=>{"ArrowUp"===e.key?C():"ArrowDown"===e.key&&y()},onValueChange:({floatValue:e})=>{e!==w&&j(e)},value:w,...u};return yo.jsx(Bs,{placeholder:n,sx:{height:io[500],"& .MuiOutlinedInput-input":{minWidth:io[300],pl:l?1:2,pr:l?1:2}},...x,value:w??"",disabled:e,InputProps:{...t,inputComponent:ra,startAdornment:l?yo.jsx(Z,{position:"start",sx:{pl:1},children:l}):null,endAdornment:!r&&yo.jsxs($,{gap:g.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[c&&yo.jsx(Z,{position:"end",children:c}),yo.jsxs($,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${g.custom.palette.stroke.default}`},children:[yo.jsx(Q,{onClick:()=>C(),sx:{flex:1,borderTopRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:yo.jsx(Ce,{fontSize:"inherit"})}),yo.jsx(V,{}),yo.jsx(Q,{onClick:()=>y(),sx:{flex:1,borderBottomRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:yo.jsx(ye,{fontSize:"inherit"})})]})]})},inputProps:{inputType:"number",...o,...k}})};const sa=({options:e,onChange:t,other:o,value:s,internalChange:a,...l})=>{const c=o?.enabled,d="other-option",u=`${d}-value-`,[p,h]=i(s),[m,x]=i(!1),g=n(null);r((()=>{!m&&p?.includes(u)?x(!0):m&&x(!1)}),[p]);return r((()=>{g.current&&Array.from(g.current.getElementsByTagName("label")).forEach((e=>{if(e.clientHeight>4*so){const t=e.querySelector(".MuiTypography-root");t&&(t.style.marginTop=so/2+"px")}}))}),[g.current]),yo.jsxs(yo.Fragment,{children:[yo.jsxs(Y,{...l,value:p,ref:g,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,o)=>{t&&t(o),h(o),a&&a()},children:[e?e.map(((e,t)=>yo.jsx(Ms,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:yo.jsx(Ts,{})},t))):null,c&&yo.jsx(Ms,{label:o?.label||"Other",value:u,control:yo.jsx(Ts,{checked:p?.includes(u)})},d)]}),m&&yo.jsx(v,{sx:{mt:1},children:yo.jsx(Ls,{fullWidth:!0,autoFocus:!0,placeholder:o?.placeholder,defaultValue:p?.replace(u,""),onChange:e=>{var o;t&&t((o=e.target.value,`${u}${o}`)),a&&a()},required:!0})})]})},aa=()=>{const e=f();return[...e.breakpoints.keys].reduce(((t,o)=>Re(e.breakpoints.up(o))?o:t),null)??"sm"},la=({handleSelectAll:e,isIndeterminate:t,isAllSelected:o,sizing:n})=>{const[s,a]=i(!1),l=f();return r((()=>{o&&a(o)}),[o]),yo.jsxs($,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:t=>{const o=!s;a(o),e(t,o)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[yo.jsx(ee,{sx:{cursor:"pointer",fontSize:()=>n&&Xr[n]},children:"Select all"}),yo.jsx(Ss,{sizing:"default",indeterminate:t,checked:s})]})},ca=l((({children:e,handleSelectAll:t,showSelectAll:o,value:n=[],selections:r,sizing:i,...s},a)=>{const l=Array.isArray(n)&&n.length===r.length,c=Array.isArray(n)&&n.length>0&&n.length<r.length;return yo.jsxs("ul",{ref:a,...s,children:[o&&yo.jsx(la,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:i}),e]})})),da="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",ua=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},pa=(e,t)=>({"& .MuiTypography-root":{height:ua(t),fontSize:Xr[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)}}),ha=e=>({fontSize:`${qr.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(lo.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"}}),ma=(e,t)=>{switch(t){case"lg":return{height:ua(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ar.lg,height:ar.lg,top:`calc(50% - ${ar.lg/2}px)`}};case"md":return{height:ua(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ar.md,height:ar.md,top:`calc(50% - ${ar.md/2}px)`}};case"xs":return{height:ua(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ar.xs,height:ar.xs,top:`calc(50% - ${ar.xs/2}px)`}};default:return{height:ua("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ar.lg,height:ar.lg,top:`calc(50% - ${ar.lg/2}px)`}}}},xa=e=>({position:"relative",fontSize:`${qr.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:ar.xl,height:ar.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),ga=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:da}}}}),fa=x(te)((({theme:e,sizing:t,value:o})=>({maxWidth:"100%",backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.md),border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiSvgIcon-root":{...t&&{width:ar[t],height:ar[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*so+"px":3*so+"px"},paddingTop:0,paddingBottom:0,paddingLeft:o&&Array.isArray(o)&&o.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:Xr[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*so+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*so+"px":3*so+"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)}`}}}))),va=x(oe)((({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}}}))),ba=x(N)((({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"}}))),wa=x(H)((({theme:e,sizing:t})=>({"& .MuiPaper-root":{...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===t?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===t?e.spacing(e.custom.margin.sm):e.spacing(e.custom.margin.xs)} + ${e.spacing(e.custom.margin.xs)})`},border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:da,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${ne.listbox}`]:{overflowX:"hidden",[`& .${ne.option}`]:{fontSize:Xr[t],...t&&{height:"lg"===t?5*so+"px":4*so+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),ja=e=>yo.jsx(wa,{...e}),Ca=({selections:e,disableClearable:t=!1,disabled:o,internalChange:n,multiple:r=!0,onChange:s,placeholder:a="",renderListItem:c,sizing:d="lg",value:u=(r?[]:"")})=>{const[p,h]=i(e.filter((e=>u.includes(e?.value)))),m=(t,o)=>{if(s){const r=o?e.map((({value:e})=>e)):[];h(o?e:[]),s(t,r,"selectOption"),n&&n()}},x=e=>null!==e&&(!Array.isArray(e)||e.length>0);return yo.jsx(fa,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:yo.jsx(ke,{}),sizing:d,disabled:o,disableClearable:t,autoComplete:!0,multiple:r,renderInput:e=>yo.jsx(ba,{...e,placeholder:x(p)?void 0:a,sizing:d}),options:e,renderTags:(e,t)=>e.map(((e,o)=>{const{key:n,...r}=t({index:o});return yo.jsx(va,{sizing:d,deleteIcon:yo.jsx(Me,{fontSize:"small"}),label:e.label,...r},n)})),onChange:(e,t,o)=>{const r=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;h(t),s?.(e,r,o),n?.()},PopperComponent:e=>yo.jsx(ja,{...e,sizing:d}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:o})=>{const{key:n,...r}=e;return yo.jsxs("li",{...r,children:[yo.jsx("span",{children:c?c(t.value,t.label):t.label}),yo.jsx(ve,{sx:{visibility:o?"visible":"hidden",fontSize:"16px"}})]},n)},ListboxComponent:l(((t,o)=>yo.jsx(ca,{ref:o,...t,showSelectAll:r,handleSelectAll:m,value:p,selections:e,sizing:d}))),value:p})},ya=x(J)((({theme:e})=>({...{...xa(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}}}))),ka=({children:e,selected:t,...o})=>yo.jsx(ya,{...o,children:yo.jsxs(v,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[yo.jsx(v,{children:e}),t&&yo.jsx(ve,{})]})}),Ma=x(re)((({theme:e,sizing:t})=>({...{...ha(e)},...t&&{...ma(e,t)},...t&&{...pa(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}}}))),za=({selections:e,autoComplete:t=!1,disabled:o=!1,disablePortal:n=!1,inputRef:r,internalChange:i,multi:s=!0,onChange:a,placeholder:l="",selectOptionProps:c,sizing:d="lg",sx:u,value:p=[],renderListItem:h,...m})=>{const x=f(),g=aa();return t?yo.jsx(Ca,{selections:e,placeholder:l,disabled:o,sizing:d,onChange:(e,t)=>{a&&a(t||""),i&&i()},value:Array.isArray(p)?p??[]:p??"",internalChange:i,renderListItem:h,multiple:s}):yo.jsxs(Ma,{sizing:d,inputRef:r,MenuProps:{disablePortal:n,sx:ga,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:ke,renderValue:t=>l&&!t?yo.jsx(br,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",sx:{color:x.custom.palette.text.placeholder},children:l}):yo.jsx(br,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{a&&a(e,t),i&&i()},sx:u,value:p,...m,children:[""!==l.trim()&&yo.jsx(ka,{disabled:!0,value:"","aria-label":"placeholder",children:l},"placeholder"),e?.map((({value:e,label:t})=>yo.jsx(ka,{value:e,...c,children:h?h(e,t):t},e)))]})},Sa=x(v)((({theme:e,disabled:t,fullWidth:o})=>({width:o?"100%":"auto",minWidth:240,backgroundColor:t?e.custom.palette.input.disabled:e.custom.palette.surface.raised,border:`1px solid ${t?e.custom.palette.stroke.disabled:e.custom.palette.stroke.default}`,borderRadius:e.spacing(e.custom.radius.lg),padding:e.spacing(e.custom.padding.md),position:"relative",zIndex:0,"&:after":{content:'""',backgroundColor:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.lg),position:"absolute",inset:0},"&:hover":{"&:after":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{"&:after":{backgroundColor:e.custom.palette.interaction.press}},"& svg":{fill:e.custom.palette.icon.primary},...t&&{background:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"&:after":{backgroundColor:e.custom.palette.interaction.none},"& .MuiBox-root > .MuiSvgIcon-root":{fill:"none"}}}))),Fa=x(Ys)((({theme:e})=>({fontSize:qr.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Ba=({label:e="Placeholder",disabled:t,onChange:o,options:n,fullWidth:r})=>{const i=f(),s=n.map((e=>e.label)).indexOf(e);return yo.jsx(Sa,{disabled:t,fullWidth:r,children:yo.jsxs($,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[yo.jsxs(v,{display:"flex",alignItems:"center",sx:{"& svg":{fill:i.custom.palette.icon.secondary}},children:[yo.jsx(ze,{sx:{width:ar.lg,height:ar.lg,mr:i.custom.padding.sm}}),yo.jsx(Fa,{align:"left",disabled:t,children:e})]}),yo.jsx(za,{name:"rank",sizing:"xs",selections:n.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:t,value:`${s}`,onChange:function(e){const t=s,r=Number(e.target.value),i=n;let a=1;const l=i.splice(t,a)[0];a=0,i.splice(r,a,l),o(i)},MenuProps:{anchorOrigin:{vertical:io[400],horizontal:"center"}}})]})})},La=c({attributes:{},listeners:void 0,ref(){}}),Ra=e=>_e({...e,wasDragging:!0});function Ha({children:e,top:t,bottom:o,id:n}){const{attributes:r,isDragging:i,listeners:s,setNodeRef:l,setActivatorNodeRef:c,transform:d,transition:u}=Pe({id:n,animateLayoutChanges:Ra}),p=a((()=>({attributes:r,listeners:s,ref:c})),[r,s,c]),h={opacity:i?.4:void 0,transform:qe.Translate.toString(d),transition:u};return yo.jsx(La.Provider,{value:p,children:yo.jsxs($,{className:"SortableItem",...r,sx:{position:"relative",...h,width:"100%"},ref:l,children:[t&&t,yo.jsx(v,{...s,sx:{display:"flex",cursor:"grab"},children:e}),o&&o]})})}const Aa={sideEffects:He({styles:{active:{opacity:"0.4"}}})};function $a({children:e}){return Ye(yo.jsx(Ae,{zIndex:999999,dropAnimation:Aa,children:e}),document.body)}const Ia=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class Va extends De{static activators=[{eventName:"onMouseDown",handler:Ia}]}class Oa extends Te{static activators=[{eventName:"onTouchStart",handler:Ia}]}function Ea({items:e,onChange:t,renderItem:n,disabled:r,direction:s}){if(!e)return;const[l,c]=i(null),d=a((()=>e.find((e=>e?.id===l?.id))),[l,e]),u=f(),p=ie(u.breakpoints.down("md")),h=$e(Ie(Va,{activationConstraint:{distance:5}}),Ie(Oa,{activationConstraint:{delay:p?300:0,tolerance:8}}),Ie(Ve,{coordinateGetter:We}));return yo.jsxs(Oe,{measuring:{droppable:{strategy:Ee.Always}},sensors:h,onDragStart:({active:e})=>{c(e)},onDragEnd:({active:o,over:n})=>{if(n&&o.id!==n?.id){const r=e.findIndex((({id:e})=>e===o.id)),i=e.findIndex((({id:e})=>e===n.id));t(Ne(e,r,i))}c(null)},onDragCancel:()=>{c(null)},children:[yo.jsx(Ze,{items:e,disabled:r,strategy:"horizontal"===s?Ge:Ue,children:yo.jsx($,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:e.map((e=>yo.jsx(o,{children:n(e)},e.id)))})}),yo.jsx($a,{children:d?n(d,!0,!!l):null})]})}Ea.Item=Ha,Ea.DragHandle=function(){const{attributes:e,listeners:t,ref:o}=d(La);return yo.jsx(v,{...e,...t,ref:o,children:yo.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:yo.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 Da=({labelTop:e,labelBottom:t,disabled:o,fullWidth:n=!1,options:r,onChange:s,value:a,internalChange:l})=>{const c=f(),[d,u]=i(a||r);function p(e){u(e),s(e.map((({id:e})=>e))),l&&l()}return yo.jsxs($,{gap:c.custom.margin.sm,textAlign:"center",sx:{width:n?"100%":"auto"},children:[e&&yo.jsx(Ys,{disabled:o,sx:{color:c.custom.palette.text.secondary},children:e}),yo.jsx(Ea,{onChange:function(e){u(e),s(e.map((({id:e})=>e))),l&&l()},items:d,direction:"vertical",renderItem:({...e})=>yo.jsx(Ha,{id:e.id,children:yo.jsx(Ba,{onChange:p,...e,options:d,disabled:o,selections:e.selections,fullWidth:n})})}),t&&yo.jsx(Ys,{disabled:o,sx:{color:c.custom.palette.text.secondary},children:t})]})},Ta=x(Je)((({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)}}}))),Pa=({onChange:e,value:t,internalChange:o,minWidth:r=100,minHeight:i=100,maxHeight:s,placeholder:a})=>{const l=n(null),c=f();return yo.jsx(Ta,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:i,minWidth:r,maxHeight:s}},ref:l,onUpdate:({editor:t})=>{e&&e(t.getHTML()),o&&o()},extensions:[Ke.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),Xe.configure({placeholder:a}),tt],content:t,renderControls:()=>yo.jsxs($,{gap:c.custom.margin.xs,direction:"row",children:[yo.jsx(Qe,{}),yo.jsx(et,{})]})})},_a=e=>({"& .MuiSlider-thumb":{width:io[300],height:io[300],backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:io[50],height:io[50],backgroundColor:e.custom.palette.icon.primaryInverted}}}),Wa=e=>Array.isArray(e),Na=(e,t)=>({height:io[100],padding:`${io[100]}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${io[400]}px)`,left:`-${io[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&&Wa(t)?`-${io[100]+1}px`:`-${io[200]+1}px`,width:`calc(100% + ${io[200]}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:io[50],width:io[50],borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),Za=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:io[50],minWidth:io[400],"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${qr.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),Ga=x(se)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${io[400]}px)`,marginLeft:io[400]/2,...{...Na(e,t)},...{..._a(e)},...{...Za(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}}}}))),Ua=[1,2,5,10],qa=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const o=(t-e)/9;if(o<=1)return 1;const n=Math.floor(Math.log10(o)),r=o/Math.pow(10,n);return i=r,(Ua.find((e=>i<=e))??Ua[Ua.length-1])*Math.pow(10,n);var i},Ya=({labelLeft:e,labelMiddle:t,labelRight:o,labelRightProps:n,labelLeftProps:r,disabled:i,onChange:s,internalChange:a,max:l=5,min:c=1,step:d,value:u=c,...p})=>{const{sanitisedMin:h,sanitisedMax:m}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(c,l),x=((e,t,o)=>{const n=[];for(let r=e;r<=t;r+=o)n.push({value:r,label:r===e||r===t||r+o<=t?r.toString():void 0});return n[n.length-1].value!==t&&n.push({value:t,label:t.toString()}),n})(h,m,d??qa(c,l));return yo.jsxs(v,{sx:{minWidth:300},children:[yo.jsx(v,{height:24,children:yo.jsx(Ga,{valueLabelDisplay:i?"on":"auto",disabled:i,marks:x,step:d,max:m,min:h,onChangeCommitted:()=>{a&&a()},onChange:(e,t,o)=>{s&&s(e,t,o)},value:u,...p})}),yo.jsxs(v,{sx:{display:"flex",justifyContent:"space-between",pt:lo.lg,gap:1},children:[e&&yo.jsx(v,{sx:{flex:1},children:yo.jsx(Vs,{disabled:i,showicon:!1,...r,children:e})}),t&&yo.jsx(v,{sx:{flex:1,textAlign:"center"},children:yo.jsx(Vs,{showicon:!1,disabled:i,children:t})}),o&&yo.jsx(v,{sx:{flex:1,textAlign:"right"},children:yo.jsx(Vs,{...n,showicon:!1,disabled:i,children:o})})]})]})},Xa=x(ae)((({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}}}}))),Ka=({internalChange:e,onChange:t,...o})=>yo.jsx(Xa,{...o,onChange:(o,n)=>{t&&t(o,n),e&&e()},icon:yo.jsx(m,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:yo.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:yo.jsx(m,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:yo.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"})})}),Ja=x((e=>yo.jsx(le,{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})}}))),Qa=({sizing:e="sm",sx:t,inputRef:o,value:n,label:r,labelPlacement:i="start",fullWidth:s,onChange:a,internalChange:l,...c})=>yo.jsx(Ms,{inputRef:o,checked:n,label:r,labelPlacement:i,control:yo.jsx(Ja,{sizing:e}),onChange:(e,t)=>{a&&a(e,t),l&&l()},sx:xe(s?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},t),...c}),el=x(Bs)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:io[500],alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:ar.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),tl=({startAdornment:e,endAdornment:t,onChange:o,internalChange:n,inputRef:r,...i})=>yo.jsx(el,{multiline:!0,inputRef:r,InputProps:{startAdornment:e?yo.jsx(Z,{position:"start",children:e}):null,endAdornment:t?yo.jsx(Z,{position:"start",children:t}):null},...i,onChange:e=>{o&&o(e),n&&n()}}),ol=(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}},nl=(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}},rl=x(ce)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${de.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:ol(t,e)}}))),il={translations:it.translations,graphs:rt.adjacencyGraphs,dictionary:{...rt.dictionary,...it.dictionary}};ot.setOptions(il);const sl=({label:e="Strength",width:t=60,value:o,onChange:n})=>{const[s,a]=i(0),l=f();return r((()=>{a(nt(o).score)}),[o]),r((()=>{n(s)}),[s]),yo.jsxs($,{direction:"row",gap:1,sx:{alignItems:"center"},children:[yo.jsx(br,{variation:"sm",component:"p",children:e}),yo.jsx(rl,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:t}}),yo.jsx(br,{variation:"sm",component:"p",sx:{color:nl(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},al=({helperText:e,inputName:t,errors:o,...n})=>{const r=Boolean(o&&o[t]);return r?yo.jsx(st,{errors:o,name:t,render:({message:e})=>yo.jsx(Vs,{showicon:!!e,state:"negative",children:e})}):e&&!r?yo.jsx(Vs,{state:"default",...n,children:e}):null},ll={textfield:Ls,numberfield:ia,textarea:tl,select:za,checkbox:Fs,checkboxGroup:Rs,switch:Qa,slider:Ya,starRating:Ka,differential:Ns,likert:na,radioGroup:sa,ranking:Da,richTextfield:Pa,customfield:As},cl=({name:e,fieldType:t,label:o,control:n,errors:s,labelProps:a,helperText:l,helpTextProps:c,validation:d,content:u,styleOverrides:p,defaultValue:h,onChange:m,watch:x,trigger:g,strengthIndicator:v,...b})=>{const{custom:w}=f(),j=void 0!==s&&Object.keys(s).length>0,[C,y]=i(0);return v&&r((()=>{C>0&&g(e)}),[C]),d?.match?.field&&r((()=>{d?.match?.field&&g(d?.match?.field)}),[x(e)]),yo.jsxs($,{sx:xe(p?.sxInputStack,b?.hidden&&{display:"none!important"}),gap:w.margin.sm,children:["switch"!==t?o&&yo.jsx(Ys,{...a,children:o}):null,"html"===t&&u?yo.jsx(qs,{children:u}):yo.jsxs(yo.Fragment,{children:[yo.jsx(Se,{name:e,control:n,render:e=>function({field:{ref:e,...n}}){const r=ll[t];return yo.jsx(r,{...b,...n,inputRef:e,..."switch"===t?{label:o}:{}})}(e),rules:{...d,validate:e=>{if(d&&"phone"in d)return Be(`+${x("extension")}${e}`)||d.phone.message;if(d&&"score"in d)return C<=d.score.value?d.score.message:void 0;if(d&&"white_space"in d)return!e.match(/^\s*$/g)||d.white_space.message;if(d&&"match"in d&&d?.match?.field)switch(d?.match?.comparison){case"not_eq":return e!=x(d.match.field)||d.match.message;case"gt":return e>x(d.match.field)||d.match.message;case"lt":return e<x(d.match.field)||d.match.message;default:return e===x(d.match.field)||d.match.message}}}}),v&&"password"===b?.type&&yo.jsx(sl,{value:x(e),onChange:y})]}),yo.jsxs(yo.Fragment,{children:[Boolean(j)?yo.jsx(al,{helperText:void 0,inputName:e,errors:s,showicon:!0}):null,Boolean(l)?yo.jsx(al,{helperText:l,inputName:e,errors:void 0,...c}):null]})]})},dl=e=>e.reduce(((e,t)=>({...e,[t?.name]:ul(t,t?.defaultValue)})),{}),ul=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:o}=e;return Array.isArray(t)?t:t||o}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":case"switch":return t||!1;case"ranking":{const{options:o}=e;return t?t.map((e=>o.find((({id:t})=>t===e)))):o}}},pl=l((({submitButton:e,secondaryButton:t,onFormSubmit:o,onFormChange:i,formConfig:s},l)=>{const{custom:c}=f(),{fields:d,reValidateMode:h,styleOverrides:m,autoComplete:x,formId:g,mode:b}=s,w=(e=>{const t=n();return r((()=>{t.current=e}),[e]),t.current})(d),{reset:j,getValues:C,trigger:y,setValue:k,control:M,formState:{isValid:z,errors:S},setFocus:F,handleSubmit:B,watch:L}=Fe({mode:b||"onChange",reValidateMode:h,defaultValues:a((()=>dl(d)),[]),shouldUnregister:!0});r((()=>{if(void 0!==w){const e=w.filter((({fieldType:e})=>"html"!==e)).map((({name:e})=>e));d.filter((({name:t,fieldType:o})=>!e.includes(t)&&"html"!==o)).forEach((e=>{k(e.name,ul(e,e.defaultValue))}))}}),[d]),r((()=>{j(dl(d))}),[g]),u(l,(()=>({set(e,t){k(e,t)},resetForm(){j()},focus(e){F(e)},submit(){o&&B(o)()},values:()=>C(),valid:()=>z,errors:()=>S,async triggerFormValidation(){await y()}})));const R=()=>{i&&i(C())};return yo.jsxs(v,{component:"form",autoComplete:x,noValidate:!0,sx:m?.sxForm,...o&&{onSubmit:B(o)},children:[yo.jsx($,{gap:c.margin.md,sx:m?.sxStack,children:d.map((({name:e,...t})=>p(cl,{...i&&{internalChange:R},name:e,key:e,errors:S,control:M,watch:L,trigger:y,...t})))}),(t||e)&&yo.jsxs($,{direction:"row",sx:m?.sxButtons||{mt:c.margin.lg,gap:c.margin.sm,justifyContent:"flex-end"},children:[t&&t,e&&e]})]})})),hl=x(v)((({theme:e})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:e.zIndex.tooltip}))),ml=x(M)((({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"}))),xl=x(v)((({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1}))),gl=x(v)((({theme:e})=>({background:e.custom.palette.green[300],height:"100%"}))),fl=x(v)((({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"}))),vl=({breakpoint:e})=>{const t=Array.from({length:6},((e,t)=>t));return e||(e=aa()),yo.jsxs(hl,{children:[yo.jsx(ml,{children:yo.jsx(xl,{children:yo.jsxs(z,{container:!0,spacing:2,sx:{flex:1},children:[t.map((e=>yo.jsx(z,{sm:!0,sx:{display:{sm:"none",md:"block"}},children:yo.jsx(gl,{})},`grid-1-${e}`))),t.map((e=>yo.jsx(z,{sm:!0,sx:{display:{sm:"block"}},children:yo.jsx(gl,{})},`grid-2-${e}`)))]})})}),!!e&&yo.jsx(fl,{children:yo.jsx(br,{variation:"md",component:"p",weight:"bold",children:e})})]})},bl=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}}),wl=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}}),jl=x(ue)((({theme:e,variation:t,orientation:o="horizontal",iconColor:n,sizing:r="lg",groupRaised:i=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...i&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Fr(e)},..."toggle"===t&&{...Br(e)},..."vertical"===o&&{...bl(e)},..."horizontal"===o&&{...wl(e)},...r&&{...$r(r)}},"& .MuiSvgIcon-root":{...r&&{...Vr(r)},fill:n||"inherit"}}}))),Cl=({ButtonGroupProps:e,children:t,...o})=>yo.jsx(jl,{...o,...e,children:t}),yl=()=>yo.jsx(v,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:yo.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),kl=e=>yo.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:yo.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"})}),Ml=x(ks)((({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}))),zl=()=>yo.jsx(Ml,{variation:"primary",sizing:"md",startIcon:yo.jsx(lr,{name:"ai"}),children:"Loops AI"}),Sl={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},Fl=x("div")((()=>({whiteSpace:"pre"}))),Bl=e=>{const{children:t}=e,o=t&&t.replaceAll(/\s/g," ").replaceAll(/<p><\/p>/g,"<br />");return yo.jsx(at,{options:{overrides:{p:{component:br,props:Sl},strong:{component:br,props:{...Sl,weight:"bold"}},em:{component:br,props:{...Sl,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:Fl,forceBlock:!0,forceWrapper:!0},children:o})},Ll=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},Rl=(e,t,o)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===o?e.custom.palette.peach[1e3]:e.custom.palette.peach[800]};case"peachDark":return{background:e.custom.palette.peach[800],color:e.custom.palette.peach[0]};case"purple":return{background:e.custom.palette.purple[100],color:"heavy"===o?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===o?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},Hl=x(oe)((({theme:e,variation:t,weight:o})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...Rl(e,t,o),"& .MuiChip-label":{fontSize:`${qr.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...Ll(0,o)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...Rl(e,t,o),...Ll(0,o)}}))),Al=({body:e,maxWidth:t,...o})=>yo.jsx(Hl,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...o});var $l=function(){function e(e){var t=this;this._insertTag=function(e){var o;o=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,o),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{o.insertRule(e,o.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Il="undefined"!=typeof document,Vl=function(e,t,o){for(var n=0,r=0;n=r,r=Ht(),38===n&&12===r&&(t[o]=1),!Lt(r);)Bt();return $t(e,It)},Ol=function(e,t){return yt(function(e,t){var o=-1,n=44;do{switch(Lt(n)){case 0:38===n&&12===Ht()&&(t[o]=1),e[o]+=Vl(It-1,t,o);break;case 2:e[o]+=At(n);break;case 4:if(44===n){e[++o]=58===Ht()?"&\f":"",t[o]=e[o].length;break}default:e[o]+=Rt(n)}}while(n=Bt());return e}(kt(e),t))},El=new WeakMap,Dl=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;"rule"!==o.type;)if(!(o=o.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||El.get(o))&&!n){El.set(e,!0);for(var r=[],i=Ol(t,r),s=o.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]}}},Tl=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Pl(e,t){switch(Mt(e,t)){case 5103:return ft+"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 ft+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ft+e+vt+e+bt+e+e;case 6828:case 4268:return ft+e+bt+e+e;case 6165:return ft+e+bt+"flex-"+e+e;case 5187:return ft+e+gt(e,/(\w+).+(:[^]+)/,ft+"box-$1$2"+bt+"flex-$1$2")+e;case 5443:return ft+e+bt+"flex-item-"+gt(e,/flex-|-self/,"")+e;case 4675:return ft+e+bt+"flex-line-pack"+gt(e,/align-content|flex-|-self/,"")+e;case 5548:return ft+e+bt+gt(e,"shrink","negative")+e;case 5292:return ft+e+bt+gt(e,"basis","preferred-size")+e;case 6060:return ft+"box-"+gt(e,"-grow","")+ft+e+bt+gt(e,"grow","positive")+e;case 4554:return ft+gt(e,/([^-])(transform)/g,"$1"+ft+"$2")+e;case 6187:return gt(gt(gt(e,/(zoom-|grab)/,ft+"$1"),/(image-set)/,ft+"$1"),e,"")+e;case 5495:case 3959:return gt(e,/(image-set\([^]*)/,ft+"$1$`$1");case 4968:return gt(gt(e,/(.+:)(flex-)?(.*)/,ft+"box-pack:$3"+bt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ft+e+e;case 4095:case 3583:case 4068:case 2532:return gt(e,/(.+)-inline(.+)/,ft+"$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(St(e)-1-t>6)switch(zt(e,t+1)){case 109:if(45!==zt(e,t+4))break;case 102:return gt(e,/(.+:)(.+)-([^]+)/,"$1"+ft+"$2-$3$1"+vt+(108==zt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ft(e,"stretch")?Pl(gt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==zt(e,t+1))break;case 6444:switch(zt(e,St(e)-3-(~Ft(e,"!important")&&10))){case 107:return gt(e,":",":"+ft)+e;case 101:return gt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ft+(45===zt(e,14)?"inline-":"")+"box$3$1"+ft+"$2$3$1"+bt+"$2box$3")+e}break;case 5936:switch(zt(e,t+11)){case 114:return ft+e+bt+gt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ft+e+bt+gt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ft+e+bt+gt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ft+e+bt+e+e}return e}var _l,Wl,Nl=Il?void 0:(_l=function(){return e=function(){return{}},t=Object.create(null),function(o){return void 0===t[o]&&(t[o]=e(o)),t[o]};var e,t},Wl=new WeakMap,function(e){if(Wl.has(e))return Wl.get(e);var t=_l(e);return Wl.set(e,t),t}),Zl=[function(e,t,o,n){if(e.length>-1&&!e.return)switch(e.type){case jt:e.return=Pl(e.value,e.length);break;case wt:return mt([xt(e,{value:gt(e.value,"@","@"+ft)})],n);case ut:if(e.length)return pt(e.props,(function(t){switch(ht(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return mt([xt(e,{props:[gt(t,/:(read-\w+)/,":"+vt+"$1")]})],n);case"::placeholder":return mt([xt(e,{props:[gt(t,/:(plac\w+)/,":"+ft+"input-$1")]}),xt(e,{props:[gt(t,/:(plac\w+)/,":"+vt+"$1")]}),xt(e,{props:[gt(t,/:(plac\w+)/,bt+"input-$1")]})],n)}return""}))}}],Gl=function(e){var t=e.key;if(Il&&"css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,r,i=e.stylisPlugins||Zl,s={},a=[];Il&&(n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),o=1;o<t.length;o++)s[t[o]]=!0;a.push(e)})));var l=[Dl,Tl];if(Nl){var c=[lt],d=dt(l.concat(i,c)),u=Nl(i)(t),p=function(e,t){var o,n=t.name;return void 0===u[n]&&(u[n]=(o=e?e+"{"+t.styles+"}":t.styles,mt(Ct(o),d))),u[n]};r=function(e,t,o,n){var r=t.name,i=p(e,t);return void 0===g.compat?(n&&(g.inserted[r]=!0),i):n?void(g.inserted[r]=i):i}}else{var h,m=[lt,ct((function(e){h.insert(e)}))],x=dt(l.concat(i,m));r=function(e,t,o,n){var r;h=o,r=e?e+"{"+t.styles+"}":t.styles,mt(Ct(r),x),n&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new $l({key:t,container:n,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 Ul=x("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),ql=e=>{const[t,o]=i(null),n=t?.contentWindow?.document?.body,r=Gl({key:"css",container:t?.contentWindow?.document?.head,prepend:!0});return yo.jsx(Ul,{ref:o,children:n&&Ye(yo.jsx(Ot,{value:r,children:e.children}),n)})},Yl=()=>yo.jsxs($,{gap:.5,flexDirection:"row",children:[yo.jsx(m,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:yo.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"})}),yo.jsxs(m,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[yo.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:yo.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"})}),yo.jsx("defs",{children:yo.jsx("clipPath",{id:"clip0_900_1816",children:yo.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),Xl=({typographyProps:e,text:t,sx:o})=>{const n=f();return yo.jsx(v,{sx:xe(o,{width:"100%",position:"relative",display:"flex",gap:4,my:n.spacing(n.custom.margin.md),"&:before":{content:'""',width:"100%",background:n.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:n.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:yo.jsx(br,{align:"center",variation:"sm",component:"p",...e,children:t})})},Kl=({buttons:e,message:t,status:o="neutral",variation:n="sm"})=>{const r=f();return yo.jsx($,{sx:{backgroundColor:r.custom.palette.surface.overlay,borderRadius:r.spacing(r.custom.radius.lg),boxShadow:r.custom.elevation.overlay,color:r.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:yo.jsxs(v,{sx:{display:"flex",flex:1,flexDirection:"sm"===n?"row":"column",gap:2},children:[yo.jsxs(v,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==o&&yo.jsx(Jl,{status:o}),yo.jsx(v,{sx:{display:"flex"},children:yo.jsx(br,{variation:"md",component:"p",sx:{px:1,pt:.5},children:t})})]}),e&&yo.jsx(v,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},Jl=({status:e})=>{const t=f();switch(e){case"neutral":return null;case"success":return yo.jsx(Ql,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return yo.jsx(Ql,{backgroundColor:t.custom.palette.yellow[500],name:"error"});case"danger":return yo.jsx(Ql,{backgroundColor:t.custom.palette.red[500],name:"warning"});case"discover":return yo.jsx(Ql,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},Ql=({backgroundColor:e,name:t})=>{const o=f();return yo.jsx(v,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:yo.jsx(v,{sx:{backgroundColor:e,borderRadius:o.custom.radius.round,color:o.custom.palette.white,display:"flex",p:.5},children:yo.jsx(lr,{name:t,size:20})})})},ec="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",tc=()=>yo.jsx(he,{styles:{"strong, b":{fontWeight:500}}}),oc=c(null),nc=(e="light",t="lg",o="ltr")=>{const{width:n}=(()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[o,n]=i(t);return r((()=>{if(e)return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o);function o(){h((()=>{n(t())}))}}),[]),o})(),[s,l]=i(e),[c,d]=i(t),[u,p]=i(o),[m,x]=i(!1),[g,f]=i("");r((()=>{document.documentElement.setAttribute("dir",u)}),[u]);r((()=>{h((()=>{d(n&&n<ro.lg?"sm":"lg")}))}),[n]),r((()=>{h((()=>{p(o)}))}),[o]),r((()=>{h((()=>{l(e)}))}),[e]);const v=a((()=>((e,t,o)=>pe({direction:o,custom:{palette:{black:"#000000",white:"#ffffff",neutral:Xt[e],neutralAlpha:"light"===e?_t:Wt,purple:Jt[e],red:Qt[e],peach:eo[e],yellow:to[e],blue:oo[e],green:no[e],icon:xo[e].icon,interaction:xo[e].interaction,stroke:xo[e].stroke,surface:xo[e].surface,text:xo[e].text,input:xo[e].input},margin:ao,padding:lo,radius:co,elevation:uo,elevationFilter:po,boxShadow:ho,easing:mo,typography:qr[t]},palette:{mode:e,primary:{main:Nt[500]}},spacing:so,shape:{borderRadius:so,hotspot:{default:12,active:24}},breakpoints:{values:ro},typography:{fontFamily:`"${fo.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:Yr(t),styleOverrides:{root:{color:xo[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${Xt[e][0]};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${fo.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${fo.Domaine.default.weight};\n src: url(${ec}${fo.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${fo.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${fo.Domaine.bold.weight};\n src: url(${ec}${fo.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${fo.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${fo.FoundersGrotesk.default.weight};\n src: url(${ec}${fo.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${fo.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${fo.FoundersGrotesk.bold.weight};\n src: url(${ec}${fo.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${ro.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${ro.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:fo.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*so}px ${e.padding.md*so}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,c,u)),[s,u,c]),b=ie(v.breakpoints.only("sm"),{noSsr:!0}),w=ie(v.breakpoints.only("md"),{noSsr:!0}),j=ie(v.breakpoints.between("lg","xl"),{noSsr:!0}),C=ie(v.breakpoints.up("xl"),{noSsr:!0});return r((()=>{h((()=>{b&&f("sm"),w&&f("md"),j&&f("lg"),C&&f("xl")}))}),[b,w,j,C]),{breakpoint:g,gridOverlayVisible:m,mode:s,theme:v,toggleGridOverlay:()=>{h((()=>{x((e=>!e))}))},toggleMode:e=>{h((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}},rc=Gl({key:"muirtl",stylisPlugins:[Vt,Dt]}),ic=Gl({key:"mui"}),sc=({mode:e="light",screenSize:t="lg",direction:o="ltr",children:n})=>{const r=nc(e,t,o);return yo.jsx(oc.Provider,{value:r,children:yo.jsx(Ot,{value:"rtl"===o?rc:ic,children:yo.jsxs(Et,{theme:r.theme,children:[yo.jsx(me,{}),yo.jsx(tc,{}),n]})})})};export{xr as AuthContainerSurface,js as AuthFormHeader,Ri as Avatar,Cs as AvatarGroup,kr as Breadcrumb,ks as Button,Fs as Checkbox,Rs as CheckboxGroup,Hs as ColorBackgroundContainer,As as CustomField,gs as DEFAULT_MAX_INPUT_LENGTH,Ns as Differential,Gs as DropdownMenu,go as FontWeight,Ms as FormControlLabel,pl as FormGenerator,vl as GridOverlay,Nr as Header,qs as Html,lr as Icon,Er as IconButton,Cl as IconButtonGroup,Ji as Image,Bs as InputFieldBase,Ys as InputLabel,Vs as InputLabelHelp,na as Likert,fr as Link,yl as Loader,kl as Logo,zl as LoopsAiButton,Bl as Markdown,hi as MenuButton,Xi as Navigation,Li as Nudge,ia as NumberField,Al as Pill,Mi as Popper,ql as Portal,Yl as PoweredByWatermarkLogo,zr as Progress,ls as ProjectItem,Ts as Radio,sa as RadioGroup,Da as Rank,Pa as RichTextField,ps as SectionHeader,za as Select,Ya as Slider,Ea as SortableList,Ka as StarRating,mr as Surface,Qa as Switch,Xl as TextBarDivider,Ls as TextField,tl as Textarea,sc as ThemeProvider,Kl as Toast,Sr as Tooltip,br as Typography,Pi as UserMenu,ws as backgroundCreator,so as base,qt as blue,oo as blueRamp,ho as boxShadow,ro as breakpoints,ms as chooseArticle,Pt as darkNeutral,Wt as darkNeutralAlpha,xs as defaultInputValidation,mo as easing,uo as elevation,po as elevationFilter,hs as emailValidation,fo as fonts,Kt as generateRamp,Yt as green,no as greenRamp,ar as iconSizeMap,ao as margin,Tt as neutral,_t as neutralAlpha,Xt as neutralRamp,lo as padding,fs as passwordValidation,Gt as peach,eo as peachRamp,Nt as purple,Jt as purpleRamp,co as radius,Zt as red,Qt as redRamp,xo as semantic,io as space,Us as useDropdownMenu,Ut as yellow,to as yellowRamp};
|
|
10
|
+
*/"production"===process.env.NODE_ENV?Fn.exports=function(){if(Vn)return Bn;Vn=1;var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,r=e.__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)i.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:r.current}}return Bn.Fragment=o,Bn.jsx=a,Bn.jsxs=a,Bn}():Fn.exports=(Ln||(Ln=1,"production"!==process.env.NODE_ENV&&function(){var e,n=t,o=Symbol.for("react.element"),i=Symbol.for("react.portal"),r=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 i=n.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("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 r:return"Fragment";case i: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 i=t.displayName||t.name||"";return""!==i?n+"("+i+")":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}e=Symbol.for("react.module.reference");var w,j,C,k,S,M,T,P=Object.assign,A=0;function z(){}z.__reactDisabledLog=!0;var E,R=x.ReactCurrentDispatcher;function V(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 F,B=!1,L="function"==typeof WeakMap?WeakMap:Map;function D(e,t){if(!e||B)return"";var n,o=F.get(e);if(void 0!==o)return o;B=!0;var i,r=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=R.current,R.current=null,function(){if(0===A){w=console.log,j=console.info,C=console.warn,k=console.error,S=console.group,M=console.groupCollapsed,T=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,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&&F.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{B=!1,R.current=i,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:k}),group:P({},e,{value:S}),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=r}var p=e?e.displayName||e.name:"",h=p?V(p):"";return"function"==typeof e&&F.set(e,h),h}function O(e,t,n){if(null==e)return"";if("function"==typeof e)return D(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return V(e);switch(e){case d:return V("Suspense");case p:return V("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return D(e.render,!1);case h:return O(e.type,t,n);case m:var o=e,i=o._payload,r=o._init;try{return O(r(i),t,n)}catch(e){}}return""}F=new L;var $=Object.prototype.hasOwnProperty,I={},H=x.ReactDebugCurrentFrame;function N(e){if(e){var t=e._owner,n=O(e.type,e._source,t?t.type:null);H.setExtraStackFrame(n)}else H.setExtraStackFrame(null)}var _=Array.isArray;function W(e){return _(e)}function U(e){return""+e}function Z(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 Y,G,q=x.ReactCurrentOwner,K={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,n,i,r){var s,a={},l=null,c=null;for(s in void 0!==n&&(Z(n),l=""+n),function(e){if($.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Z(t.key),l=""+t.key),function(e){if($.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&&q.current}(t)),t)$.call(t,s)&&!K.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(){Y||(Y=!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(){G||(G=!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,i,r,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:i}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,r,i,q.current,a)}var J,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=O(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 ie={};function re(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(!ie[n]){ie[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(W(e))for(var n=0;n<e.length;n++){var o=e[n];ne(o)&&re(o,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var i=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 i&&i!==e.entries)for(var r,s=i.call(e);!(r=s.next()).done;)ne(r.value)&&re(r.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,i){var r=Function.call.bind($);for(var s in e)if(r(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||(N(i),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),N(null)),a instanceof Error&&!(a.message in I)&&(I[a.message]=!0,N(i),v("Failed %s type: %s",n,a.message),N(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(t,n,i,g,x,y){var w=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===s||t===d||t===p||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===h||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!w){var j,C="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).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===t?j="null":W(t)?j="array":void 0!==t&&t.$$typeof===o?(j="<"+(b(t.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):j=typeof t,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 k=X(t,n,i,x,y);if(null==k)return k;if(w){var S=n.children;if(void 0!==S)if(g)if(W(S)){for(var M=0;M<S.length;M++)se(S[M],t);Object.freeze&&Object.freeze(S)}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(S,t)}if($.call(n,"key")){var T=b(t),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 t===r?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))}(k):ae(k),k}var ue=function(e,t,n){return ce(e,t,n,!1)},de=function(e,t,n){return ce(e,t,n,!0)};Dn.Fragment=r,Dn.jsx=ue,Dn.jsxs=de}()),Dn);var On=Fn.exports;const $n=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),In=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Hn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Nn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),_n=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Wn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Un=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"})]}),Zn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Yn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"})]}),Gn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),qn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"})]}),Kn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Xn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"})]}),Jn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("rect",{width:24,height:24,rx:12,fill:"#7F4CFF"}),On.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"})]}),Qn=e=>On.jsxs(v,{viewBox:"0 0 80 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("g",{clipPath:"url(#prefix__clip0_2261_1952)",children:On.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"})}),On.jsx("defs",{children:On.jsx("clipPath",{id:"prefix__clip0_2261_1952",children:On.jsx("path",{fill:"#fff",d:"M0 0h79.064v24H0z"})})})]}),eo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),to=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),no=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),oo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),io=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ro=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),so=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ao=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),lo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),co=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),uo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),po=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"}),On.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"}),On.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"}),On.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"}),On.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"})]}),ho=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),mo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19 5v2h-4V5h4zM9 5v6H5V5h4zm10 8v6h-4v-6h4zM9 17v2H5v-2h4zM21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z",fill:"currentColor"})}),fo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),go=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),xo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),vo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),yo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),bo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),wo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),jo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Co=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ko=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),So=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Mo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),To=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Po=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Ao=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),zo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",fill:"currentColor"})}),Eo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Ro=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Vo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Fo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M10 20.5v-6h4v6h5v-8h3l-10-9-10 9h3v8h5z",fill:"currentColor"})}),Bo=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"})]}),Lo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Do=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Oo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),$o=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Io=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Ho=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),No=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),_o=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Wo=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.jsx("path",{d:"M17.41 15.59L13.83 12l3.58-3.59L16 7l-5 5 5 5 1.41-1.41z",fill:"currentColor"})]}),Uo=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.jsx("path",{d:"M11.59 15.59L15.17 12l-3.58-3.59L13 7l5 5-5 5-1.41-1.41z",fill:"currentColor"})]}),Zo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Yo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Go=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),qo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Ko=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Xo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Jo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),Qo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ei=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ti=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ni=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),oi=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"}),On.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"}),On.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"})]}),ii=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.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"}),On.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"})]}),ri=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),si=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ai=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),li=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ci=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ui=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),di=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),pi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),hi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),mi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),fi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),gi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),xi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),vi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),yi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),bi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),wi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.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"})}),ji={xs:2*wn,sm:2*wn,md:2*wn,lg:2.5*wn,xl:3*wn},Ci=({color:e,name:t,size:n,sx:o,...i})=>{const r={sx:ye({color:e,height:n||ji.xl,width:n||ji.xl},o),...i};switch(t){case"brand-wordmark":return On.jsx(Qn,{...r});case"brand-logomark":return On.jsx(Jn,{...r});case"menu":return On.jsx(Io,{...r});case"menu-open":return On.jsx(Ho,{...r});case"chevron-up":return On.jsx(ao,{...r});case"chevron-down":return On.jsx(io,{...r});case"chevron-left":return On.jsx(ro,{...r});case"chevron-right":return On.jsx(so,{...r});case"arrow-left":return On.jsx(Hn,{...r});case"arrow-right":return On.jsx(Nn,{...r});case"search":return On.jsx(ei,{...r});case"close":return On.jsx(lo,{...r});case"more-horizontal":return On.jsx(No,{...r});case"more-vertical":return On.jsx(_o,{...r});case"home":return On.jsx(Vo,{...r});case"home-filled":return On.jsx(Fo,{...r});case"settings":return On.jsx(ni,{...r});case"controls":return On.jsx(po,{...r});case"help":return On.jsx(Ro,{...r});case"filter-list":return On.jsx(Mo,{...r});case"open-in-new":return On.jsx(Go,{...r});case"nav-toggle":return On.jsx(Zo,{...r});case"nav-collapse":return On.jsx(Wo,{...r});case"nav-expand":return On.jsx(Uo,{...r});case"play-circle":return On.jsx(Ko,{...r});case"play-video":return On.jsx(Xo,{...r});case"email":return On.jsx(bo,{...r});case"document":return On.jsx(go,{...r});case"folder":return On.jsx(Po,{...r});case"attach-file":return On.jsx(_n,{...r});case"photo-add":return On.jsx(qo,{...r});case"upload":return On.jsx(gi,{...r});case"upload-cloud":return On.jsx(xi,{...r});case"time":return On.jsx(hi,{...r});case"time-filled":return On.jsx(mi,{...r});case"zoom-in":return On.jsx(bi,{...r});case"zoom-out":return On.jsx(wi,{...r});case"add":return On.jsx($n,{...r});case"remove":return On.jsx(Qo,{...r});case"test":return On.jsx(di,{...r});case"dashboard":return On.jsx(mo,{...r});case"list-view":return On.jsx(Oo,{...r});case"grid-view":return On.jsx(zo,{...r});case"grid-view-filled":return On.jsx(Eo,{...r});case"eye":return On.jsx(ko,{...r});case"eye-off":return On.jsx(So,{...r});case"notification":return On.jsx(Yo,{...r});case"pound":return On.jsx(Jo,{...r});case"euro":return On.jsx(jo,{...r});case"dollar":return On.jsx(xo,{...r});case"send":return On.jsx(ti,{...r});case"comment":return On.jsx(co,{...r});case"chat":return On.jsx(to,{...r});case"error":return On.jsx(wo,{...r});case"warning":return On.jsx(vi,{...r});case"lightbulb":return On.jsx(Do,{...r});case"check-circle":return On.jsx(oo,{...r});case"thumb-up":return On.jsx(pi,{...r});case"info":return On.jsx(Bo,{...r});case"info-filled":return On.jsx(Lo,{...r});case"cancel":return On.jsx(eo,{...r});case"compress":return On.jsx(uo,{...r});case"expand":return On.jsx(Co,{...r});case"unfold":return On.jsx(fi,{...r});case"drag-handle":return On.jsx(vo,{...r});case"focus":return On.jsx(To,{...r});case"lock":return On.jsx($o,{...r});case"copy":return On.jsx(ho,{...r});case"edit":return On.jsx(yo,{...r});case"delete":return On.jsx(fo,{...r});case"check":return On.jsx(no,{...r});case"star":return On.jsx(li,{...r});case"star-half":return On.jsx(ui,{...r});case"star-filled":return On.jsx(ci,{...r});case"ai":return On.jsx(In,{...r});case"work":return On.jsx(yi,{...r});case"gift":return On.jsx(Ao,{...r});case"social-medium-single-colour":return On.jsx(si,{...r});case"social-linkedin-single-colour":return On.jsx(ri,{...r});case"social-youtube-single-colour":return On.jsx(ai,{...r});case"social-linkedin-full-colour":return On.jsx(ii,{...r});case"social-google-full-colour":return On.jsx(oi,{...r});case"badge-tick":return On.jsx(Kn,{...r});case"badge-tick-in-circle":return On.jsx(Xn,{...r});case"badge-cross":return On.jsx(Wn,{...r});case"badge-cross-in-circle":return On.jsx(Un,{...r});case"badge-hyphen":return On.jsx(Zn,{...r});case"badge-hyphen-in-circle":return On.jsx(Yn,{...r});case"badge-question":return On.jsx(Gn,{...r});case"badge-question-in-circle":return On.jsx(qn,{...r});default:return On.jsx(On.Fragment,{})}},ki=e=>({boxShadow:e.custom.elevation.raised}),Si=e=>({boxShadow:e.custom.elevation.overlay}),Mi=(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)}},Ti=(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}},Pi=y(b)((({theme:e,variation:t="default",borderradius:n})=>({boxShadow:"unset",borderRadius:Mi(e,n),background:Ti(t,e),..."overlay"===t&&{...Si(e)},..."raised"===t&&{...ki(e)}}))),Ai=({children:e,variation:t="overlay",sx:n,...o})=>On.jsx(Pi,{variation:t,...o,sx:ye(n||{},{}),children:e}),zi=({children:e,headContent:t,sx:n,...o})=>{const i=w();return On.jsxs(Ai,{...o,sx:ye(n,{mx:[i.spacing(i.custom.margin.md),0],width:1,maxWidth:[512]}),children:[t&&On.jsx(j,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:i.spacing(i.custom.margin.md),px:i.spacing(i.custom.margin.md)},children:t}),On.jsx(j,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:t?[i.spacing(i.custom.margin.md)]:[i.spacing(i.custom.padding.lg),i.spacing(i.custom.padding.xl)],px:[i.spacing(i.custom.padding.lg),i.spacing(i.custom.padding.xl)],pb:[i.spacing(i.custom.padding.lg),i.spacing(i.custom.padding.xl)]},children:e})]})},Ei=y(C)((({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}}}))),Ri=e=>e.target&&"_blank"===e.target?On.jsx(Ei,{rel:"noopener",...e}):On.jsx(Ei,{...e}),Vi=e=>"bold"===e?zn.BOLD:zn.DEFAULT,Fi=({component:e,weight:t="default",variation:n,clamp:o=0,type:i="default",...r})=>On.jsx(k,{component:e,fontWeight:Vi(t),variant:n,...r,sx:ye(r.sx,!!o&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:o},"button"===i&&{lineHeight:1.2})}),Bi=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)}))),Li=y(Ri)((({theme:e})=>({[`&.${S.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}}))),Di=y(Fi)((({theme:e})=>({color:e.custom.palette.text.secondary}))),Oi=y(Fi)((({theme:e})=>({color:e.custom.palette.text.secondary}))),$i=({links:e})=>On.jsx(Bi,{children:e?.map(((t,o)=>On.jsxs(n,{children:[t.href?On.jsx(Li,{underline:"hover",href:t.href,children:On.jsx(Di,{variation:"sm",component:"p",children:t.label})},t.label):On.jsx(Di,{variation:"sm",component:"p",children:t.label}),On.jsx(Oi,{variation:"sm",component:"p",children:o+1<e?.length?"/":""})]},t.label)))}),Ii=y(M)((()=>({color:"inherit",position:"absolute",padding:2}))),Hi=({sizing:e,...t})=>On.jsx(Ii,{size:e?ji[e]:40,...t}),Ni=({children:e,message:t,variation:n="primary",...o})=>{const i=w();if("primary"===n)return On.jsx(T,{...o,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:i.spacing(i.custom.radius.sm),filter:`drop-shadow(${i.custom.elevation.overlay})`}}}},title:t,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:On.jsx(j,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},_i=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),Wi=e=>({backgroundColor:e.custom.palette.purple[100],color:e.custom.palette.icon.primary,"& .MuiButtonBase-root":{":hover":{background:e.custom.palette.interaction.hoverOnDark},":active":{background:e.custom.palette.interaction.pressOnDark}}}),Ui=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"}}),Zi=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"}}),Yi=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Gi={xs:3*wn,sm:3.5*wn,md:4*wn,lg:5*wn,xl:6*wn},qi=e=>({height:Gi[e],width:Gi[e]}),Ki={xs:2*wn,sm:2*wn,md:2*wn,lg:2.5*wn,xl:3*wn},Xi=e=>({height:Ki[e],width:Ki[e]}),Ji=y(P)((({theme:e,variation:t,shape:n="default",sizing:o})=>({boxSizing:"border-box",transition:"all 200ms ease",...n&&{...Yi(n,e)},...o&&{...qi(o)},"&.MuiIconButton-root":{..."default"===t&&{..._i(e)},..."toggle"===t&&{...Wi(e)},..."outlined"===t&&{...Ui(e)},..."raised"===t&&{...Zi(e)},...n&&{...Yi(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&&{...Xi(o)},position:"relative",zIndex:1}}))),Qi=({icon:e,loading:t,tooltipMessage:n,sizing:o,slotProps:i,...r})=>{const s=()=>On.jsx(Ji,{...r,sizing:o,children:t?On.jsx(Hi,{sizing:o}):e});return n?On.jsx(Ni,{message:n,...i?.tooltip,children:s()}):s()},er=y(j)((({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}))),tr=y(j)((({theme:e})=>({borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,width:"100%"}))),nr=y(j)((({theme:e})=>({display:"flex",justifyContent:"flex-end",padding:e.spacing(1)}))),or=y(j)((({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)}))),ir=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),rr=({backHref:e,title:t,breadcrumbLinks:n,buttons:o,controlBar:i})=>On.jsxs(On.Fragment,{children:[On.jsx(er,{sx:{justifyContent:"space-between"},children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsxs(ir,{sx:{justifyContent:"space-between",py:1},children:[On.jsxs(ir,{children:[e&&On.jsx(Qi,{sizing:"lg",icon:On.jsx(Ci,{name:"arrow-left",size:20})}),On.jsxs(ir,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[t&&On.jsx(Fi,{variation:"lg",component:"p",weight:"bold",children:t}),n&&On.jsx($i,{links:n})]})]}),o&&On.jsx(ir,{children:o})]})})})})}),i&&On.jsx(tr,{children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsx(nr,{children:On.jsx(or,{children:i})})})})})})]}),sr=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],ar=(e,t=16)=>{const n=1/t*e;return Math.round(1e3*n)/1e3},lr=(e,t="xs")=>{const n=sr.reduce(((n,o,i)=>{const r=sr.indexOf(t)||0,s=Number((16*Math.pow(e,i-r)).toFixed(2));return n[o]=s,n}),{}),o={};for(const[e,t]of Object.entries(n))o[e]=ar(t)+"rem";return o},cr={lg:{headline:lr(1.309,"xs"),body:lr(1.125,"md")},sm:{headline:lr(1.125,"xs"),body:lr(1.1,"md")},button:lr(1.125,"md")},ur=e=>{const t=sr.map((t=>({props:{variant:t},style:{fontFamily:`${En.FontStack.Serif}`,fontSize:cr[e].headline[t]}}))),n=sr.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${En.FontStack.SansSerif}`,fontSize:cr[e].body[t]}}))),o=sr.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${En.FontStack.SansSerif}`,fontSize:cr[e].body[t]}})));return[...t,...sr.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${En.FontStack.SansSerif}`,fontSize:cr[e].body[t]}}))),...n,...o]},dr={xxs:cr.button.xxs,xs:cr.button.xs,sm:cr.button.sm,md:cr.button.sm,lg:cr.button.md,xl:cr.button.lg,xxl:cr.button.xl,xxxl:cr.button.xxl},pr=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),hr=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}`}}),mr=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]}}),fr=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}}}),gr=(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}},...pr(e)}),xr={xs:3*wn,sm:3.5*wn,md:4*wn,lg:5*wn,xl:6*wn,xxl:7*wn,xxxl:8*wn},vr={xs:.5*wn,sm:.5*wn,md:wn,lg:wn,xl:wn,xxl:wn,xxxl:wn},yr=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:ji[e],width:ji[e]}}}),br=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:dr[e],paddingLeft:vr[e],paddingRight:vr[e]}}),wr=e=>({height:xr[e],paddingLeft:wn,paddingRight:wn}),jr=y(E)((({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"}}))),Cr=y(j)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5),justifyContent:"center",transition:e.custom.easing.input}))),kr=y(j)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),Sr=y(Fi)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),Mr=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},Tr=y(E)((({active:e,fullWidth:t,sizing:n,theme:o})=>({...gr(o,e),alignItems:"center",backgroundColor:e?o.custom.palette.interaction.press:"transparent",borderRadius:o.spacing(o.custom.radius.md),color:o.custom.palette.text.primary,display:"flex",gap:o.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:Mr(n,o),textTransform:"none",width:t?"100%":"auto","&:hover":{...gr(o,e)["&:hover"],[`.${R.root}`]:{opacity:1}},"&:focus":{...gr(o,e)["&:focus"],[`.${R.root}`]:{opacity:1}}}))),Pr=({active:e,fullWidth:t=!0,danger:n,href:i,icon:r,label:s,navigationSizing:a,onClick:l,sizing:c="lg"})=>{const u=w(),d=o(null);return On.jsxs(Cr,{onClick:l,children:[On.jsxs(Tr,{active:!i&&e,sizing:c,fullWidth:t,children:[On.jsxs(j,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:d,children:[r&&On.jsx(Ci,{name:r,size:24}),"lg"===a&&On.jsx(V,{in:!0,direction:"right",container:d.current,children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(F,{in:!0,style:{transitionDelay:"100ms"},children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(Fi,{component:"p",variation:"sm"===c?"xs":"md",type:"button",clamp:1,sx:ye(n&&{color:u.custom.palette.text.negative}),children:s})})})})})]}),"lg"===a&&i&&On.jsx(kr,{children:On.jsx(Ci,{name:"open-in-new",size:20})})]}),"sm"===a&&On.jsx(B,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:On.jsx(j,{children:On.jsx(Sr,{active:e,component:"p",type:"button",variation:"xs",sx:ye(n&&{color:u.custom.palette.text.negative}),children:s})})})]})};function Ar(t){if("undefined"==typeof window)return t;const n=e.useRef(null);return e.useLayoutEffect((()=>{n.current=t})),e.useCallback(((...e)=>{var t;null===(t=n.current)||void 0===t||t.call(n,...e)}),[])}const zr={};const Er={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},Rr=e,Vr="useId"in Rr?()=>Rr.useId():()=>{};function Fr({parentPopupState:e,popupId:t=Vr(),variant:n,disableAutoFocus:a}){const l=o(!0);i((()=>(l.current=!0,()=>{l.current=!1})),[]);const[c,u]=r(Er),d=s((e=>{l.current&&u(e)}),[]),p=s((e=>d((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),h=Ar((e=>(c.isOpen?g(e):m(e),c))),m=Ar((t=>{const o=t instanceof Element?void 0:t,i=t instanceof Element?t:(null==t?void 0:t.currentTarget)instanceof Element?t.currentTarget:void 0;if("touchstart"===(null==o?void 0:o.type))return void d((e=>({...e,_deferNextOpen:!0})));const r=null==o?void 0:o.clientX,s=null==o?void 0:o.clientY,a="number"==typeof r&&"number"==typeof s?{left:r,top:s}:void 0,l=r=>{var s,l;if(t||r.setAnchorElUsed||"dialog"===n||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",zr[s="missingEventOrAnchorEl"]||(zr[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),e){if(!e.isOpen)return r;setTimeout((()=>e._setChildPopupState(w)))}const c={...r,isOpen:!0,anchorPosition:a,hovered:"mouseover"===(null==o?void 0:o.type)||r.hovered,focused:"focus"===(null==o?void 0:o.type)||r.focused,_openEventType:null==o?void 0:o.type};return r.setAnchorElUsed||(null!=o&&o.currentTarget?c.anchorEl=null==o?void 0:o.currentTarget:i&&(c.anchorEl=i)),c};d((e=>e._deferNextOpen?(setTimeout((()=>d(l)),0),{...e,_deferNextOpen:!1}):l(e)))})),f=t=>{const{_childPopupState:n}=t;return setTimeout((()=>{null==n||n.close(),null==e||e._setChildPopupState(null)})),{...t,isOpen:!1,hovered:!1,focused:!1}},g=Ar((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?d((e=>e._deferNextClose?(setTimeout((()=>d(f)),0),{...e,_deferNextClose:!1}):f(e))):d((e=>({...e,_deferNextClose:!0})))})),x=s(((e,t)=>{e?m(t):g(t)}),[]),v=Ar((e=>{const{relatedTarget:t}=e;d((e=>!e.hovered||t instanceof Element&&Dr(t,w)?e:e.focused?{...e,hovered:!1}:f(e)))})),y=Ar((e=>{if(!e)return;const{relatedTarget:t}=e;d((e=>!e.focused||t instanceof Element&&Dr(t,w)?e:e.hovered?{...e,focused:!1}:f(e)))})),b=s((e=>d((t=>({...t,_childPopupState:e})))),[]),w={...c,setAnchorEl:p,popupId:t??void 0,variant:n,open:m,close:g,toggle:h,setOpen:x,onBlur:y,onMouseLeave:v,disableAutoFocus:a??Boolean(c.hovered||c.focused),_setChildPopupState:b};return w}function Br({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 Lr({isOpen:e,anchorEl:t,popupId:n,onMouseLeave:o}){return{id:n,anchorEl:t,open:e,onMouseLeave:o}}function Dr(e,t){const{anchorEl:n,_childPopupState:o}=t;return Or(n,e)||Or(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&&Dr(e,o)}function Or(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const $r={trigger:function(e){return{...Br(e),onClick:e.open,onTouchStart:e.open}},contextMenu:function(e){return{...Br(e),onContextMenu:t=>{t.preventDefault(),e.open(t)}}},toggle:function(e){return{...Br(e),onClick:e.toggle,onTouchStart:e.toggle}},hover:function(e){const{open:t,onMouseLeave:n}=e;return{...Br(e),onTouchStart:t,onMouseOver:t,onMouseLeave:n}},focus:function(e){const{open:t,onBlur:n}=e;return{...Br(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}}},Ir=({bindOn:e=["toggle"],trigger:t,children:n,...o})=>{const i=Fr({variant:"popper"}),r={transition:!0,...o.popperProps},s={...o.clickAwayListenerProps,onClickAway:e=>{o.clickAwayListenerProps?.onClickAway?o.clickAwayListenerProps.onClickAway(e,i):i.close()}},l={timeout:350,...o.transitionFadeProps},{sx:c,...u}={variation:"overlay",borderradius:"md",...o.surfaceProps},d=a((()=>e.reduce(((e,t)=>({...e,...$r[t](i)})),{})),[e]);return On.jsxs(On.Fragment,{children:[On.jsx(j,{...d,children:t(i)}),On.jsx(L,{...Lr(i),...r,children:({TransitionProps:e})=>On.jsx(D,{...s,children:On.jsx(F,{...e,...l,children:On.jsx(j,{children:On.jsx(Ai,{sx:ye({p:2},c),...u,children:n})})})})})]})},Hr=({children:e,description:t,title:n})=>On.jsxs(O,{sx:{gap:2,p:1},children:[On.jsxs(O,{sx:{gap:1},children:[On.jsx(Fi,{variation:"sm",component:"p",weight:"bold",children:n}),On.jsx(Fi,{variation:"sm",component:"p",children:t})]}),e]}),Nr=y(Qi)((({theme:e})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...gr(e)}))),_r=y(j)((({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)}))),Wr=({notification:e,onClick:t})=>On.jsxs(j,{sx:{position:"relative"},children:[On.jsx(Nr,{icon:On.jsx(Ci,{name:"notification"}),variation:"raised",onClick:t}),e&&On.jsx(F,{in:!0,style:{transitionDelay:"200ms"},children:On.jsx(j,{children:On.jsx(_r,{})})})]}),Ur=({children:e,description:t,title:n,navigationSizing:o})=>"sm"===o?On.jsx(Ir,{popperProps:{placement:"right-end"},surfaceProps:{variation:"raised",sx:{maxWidth:200,p:1,ml:1}},bindOn:["trigger"],trigger:()=>On.jsx(B,{in:!0,style:{transformOrigin:"0 100%"},children:On.jsx(j,{children:On.jsx(Wr,{notification:!0})})}),children:On.jsx(Hr,{description:t,title:n,children:e})}):On.jsx(B,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(Ai,{variation:"raised",borderradius:"md",sx:{maxWidth:200,minHeight:40,width:"100%",p:1},children:On.jsx(Hr,{description:t,title:n,children:e})})})}),Zr=({sizing:e="lg",children:t,...n})=>{const{custom:o}=w();switch(e){case"sm":return On.jsx($,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:32,width:32},...n,children:t});case"lg":return On.jsx($,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:48,width:48},...n,children:t})}},Yr=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Gr=y(O)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),qr=y(O)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Kr=y(E)((({active:e,navigationSizing:t,theme:n})=>({...gr(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"}))),Xr=({active:e,avatar:t,email:n,name:i,navigationSizing:r,withMenu:s})=>{const a=w(),l=o(null);return On.jsx(Kr,{active:e,navigationSizing:r,children:On.jsxs(Yr,{ref:l,children:[On.jsx(Zr,{src:t,sizing:"sm"}),On.jsx(F,{in:!0,children:On.jsxs(Yr,{children:[On.jsxs(Gr,{withMenu:s,children:[On.jsx(Fi,{variation:"sm",component:"p",type:"button",noWrap:!0,children:i}),On.jsx(Fi,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:a.custom.palette.text.secondary},children:n})]}),s&&On.jsx(qr,{children:On.jsx(Ci,{name:"chevron-right",size:24})})]})})]})})},Jr=y(E)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.5,1),textTransform:"none",width:"100%",...gr(t,e)}))),Qr=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),es=y(O)((({theme:e})=>({height:24,width:24,alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),ts=({active:e,danger:t,hasChildren:n,label:o,selected:i,onClick:r})=>{const s=w();return On.jsx(Jr,{active:e,onClick:r,children:On.jsxs(Qr,{sx:{flex:1},children:[On.jsx(Qr,{children:On.jsx(Fi,{component:"p",sx:ye(t&&{color:s.custom.palette.text.negative}),type:"button",variation:"md",children:o})}),On.jsxs(es,{children:[n&&On.jsx(Ci,{name:"chevron-right",size:24}),i&&On.jsx(Ci,{name:"check",size:24})]})]})})},ns=({avatar:e,email:t,menuItems:n,name:o,navigationSizing:i})=>On.jsx(Ir,{popperProps:{placement:"right-end"},surfaceProps:{sx:{ml:1,p:1,width:192}},bindOn:["trigger"],trigger:r=>On.jsx(Xr,{active:r.isOpen,avatar:e,email:t,name:o,navigationSizing:i,withMenu:!!n?.length}),children:On.jsx(On.Fragment,{children:n?.map(os)})}),os=(e,t)=>e.children?.length?On.jsx(Ir,{popperProps:{placement:"right-end"},surfaceProps:{sx:{p:1,width:192}},bindOn:["trigger","hover"],trigger:t=>On.jsx(ts,{label:e.label,active:t.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger,onClick:e.onClick}),children:On.jsx(On.Fragment,{children:e?.children?.map(os)})},`${e.label}-${t}`):On.jsx(ts,{label:e.label,selected:e.selected,danger:e.danger,onClick:e.onClick},`${e.label}-${t}`),is=()=>On.jsxs(v,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[On.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),On.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"})]}),rs=()=>{const e=w();return On.jsxs(v,{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:[On.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"}),On.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"}),On.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"}),On.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"})]})},ss=y(j)((({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)}))),as=({isMobile:e,logoLink:t="/",navigationSizing:n,toggleMenuOnClick:o})=>On.jsxs(ss,{navigationSizing:n,children:[On.jsx(j,{sx:{display:"flex",width:"100%"},children:On.jsxs(j,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[On.jsx(Ri,{href:t,children:On.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:.5,pr:"lg"===n?.5:0},children:[On.jsx(is,{}),"lg"===n&&On.jsx(F,{in:!0,children:On.jsx(j,{sx:{display:"flex",alignItems:"flex-end"},children:On.jsx(rs,{})})})]})}),"lg"===n&&On.jsx(F,{in:"lg"===n,children:On.jsx(j,{children:On.jsx(Qi,{onClick:o,sizing:"lg",icon:e?On.jsx(Ci,{name:"close",size:20}):On.jsx(Ci,{name:"nav-toggle",size:20})})})})]})}),"sm"===n&&On.jsx(B,{in:!0,style:{transformOrigin:"0 100%"},children:On.jsx(j,{sx:{alignItems:"center",display:"flex",justifyContent:"flex-start",width:"100%"},children:On.jsx(Qi,{onClick:o,sizing:"lg",icon:e?On.jsx(Ci,{name:"close",size:20}):On.jsx(Ci,{name:"nav-toggle",size:20})})})})]}),ls=y(O)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),cs=y(j)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),us=y(j)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),ds=({logoLink:e,isMobile:t,nudgeProps:n,primaryMenuItemProps:o,secondaryMenuItemProps:i,sizing:r="lg",tertiaryMenuItemProps:s,toggleMenuOnClick:a=()=>{},userMenuProps:l})=>{const c=w();return On.jsxs(ls,{navigationSizing:r,children:[On.jsx(as,{logoLink:e,navigationSizing:r,toggleMenuOnClick:a,isMobile:t}),On.jsx(cs,{children:On.jsxs(O,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[o?.length>0&&On.jsx(O,{sx:{gap:"lg"===r?.5:2,width:"100%"},children:o.map(((e,t)=>On.jsx(Pr,{navigationSizing:r,...e},`primary-menu-item-${t}`)))}),On.jsxs(O,{sx:{gap:2},children:[n?.title&&On.jsx(Ur,{navigationSizing:r,...n}),i?.length>0&&i.map(((e,t)=>On.jsx(Pr,{navigationSizing:r,...e,label:"Help center"===e.label&&"sm"===r?"Help":e.label},`secondary-menu-item-${t}`))),On.jsx(I,{sx:{color:c.custom.palette.stroke.default}}),On.jsx(ns,{navigationSizing:r,...l}),s?.length>0&&On.jsx(us,{children:s.map(((e,t)=>On.jsx(Pr,{navigationSizing:r,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},ps=y(j)({"& .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"}}),hs=({children:e,src:t,alt:n,width:o,height:i,...s})=>{const[a,l]=r(!1);return On.jsxs(On.Fragment,{children:[On.jsx(F,{in:!a,unmountOnExit:!0,children:On.jsx(j,{sx:{width:o,height:i,position:"absolute",inset:0},children:On.jsx(H,{variant:"rectangular",width:o,height:"100%"})})}),On.jsx(ps,{children:On.jsx(be,{onLoad:()=>l(!0),alt:n,height:i,src:t,width:o,threshold:500,effect:"blur",wrapperProps:{style:{transitionDelay:"200ms"}},...s})})]})},ms=y(j)((({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)}))),fs=(e,t)=>On.jsxs(j,{display:"flex",gap:1,children:[On.jsx(Fi,{variation:"sm",component:"p",weight:"bold",children:e||0}),On.jsx(Fi,{variation:"sm",component:"p",color:"text.secondary",children:t})]}),gs=({loops:e,tests:t,drafts:n})=>On.jsxs(j,{display:"flex",alignItems:"center",children:[fs(e,"Loops"),On.jsx(ms,{}),fs(t,"Tests"),On.jsx(ms,{}),fs(n,"Drafts")]}),xs=y(j)((({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]}}))),vs=({sx:e,body:t})=>On.jsx(xs,{"data-id":"pill-container",sx:ye(e,{position:"absolute",zIndex:1}),children:On.jsx(Fi,{variation:"xxs",component:"p",weight:"bold",children:t})}),ys=({title:e,maxLines:t})=>On.jsx(Fi,{variation:"md",component:"p",weight:"bold",sx:{overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":`${t}`,"-webkit-box-orient":"vertical"},children:e}),bs=({updatedDate:e,format:t=!1,noWrap:n})=>On.jsxs(Fi,{variation:"sm",component:"p",color:"text.secondary",noWrap:n,children:["Edited on ",t?we(e).format("DD MMM YYYY"):e]}),ws=({title:e,loopCount:t,testCount:n,draftCount:o,updatedAt:i,moreActions:r,thumbnail:s,isDemo:a,loading:l,onClick:c})=>{const u=w();return On.jsx(j,{sx:{width:"100%",transition:"all 0.3s ease","&:hover":{'*[data-id="image-container"]':{boxShadow:u.custom.elevation.raised}}},children:On.jsxs(N,{onClick:c,sx:{"& .MuiCardActionArea-focusHighlight":{backgroundColor:u.palette.background.paper}},children:[l?On.jsx(H,{sx:{width:"100%",height:150,transform:"none"},animation:"pulse"}):On.jsxs(j,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:u.custom.radius.md},children:[a&&On.jsx(vs,{body:"Demo",sx:{bottom:8,left:8}}),On.jsx(hs,{src:s,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),On.jsx(_,{sx:{py:u.spacing(u.custom.padding.xs),px:0},children:On.jsxs(O,{gap:u.spacing(u.custom.margin.xs),children:[l?On.jsx(H,{width:"100%",height:20}):On.jsxs(O,{direction:"row",justifyContent:"space-between",alignItems:"start",children:[On.jsx(ys,{title:e,maxLines:2}),On.jsx(j,{children:r})]}),l?On.jsx(H,{width:"100%",height:20}):On.jsx(gs,{loops:t,tests:n,drafts:o}),l?On.jsx(H,{width:"60%",height:20}):On.jsx(bs,{updatedDate:i,format:!0})]})})]})})},js=({title:e,loopCount:t,testCount:n,draftCount:o,updatedAt:i,moreActions:r,thumbnail:s,isDemo:a,loading:l,onClick:c})=>{const u=w();return On.jsx(j,{sx:{minWidth:280,width:"auto",borderBottom:`1px solid ${u.custom.palette.stroke.default}`,transition:"all 0.3s ease"},children:On.jsx(N,{onClick:c,sx:{p:u.spacing(u.custom.padding.xs)},children:On.jsxs(j,{sx:{display:"flex",gap:u.spacing(u.custom.margin.sm),alignItems:"center"},children:[l?On.jsx(H,{variant:"rounded",width:108,height:72}):On.jsxs(j,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",width:108,height:72,position:"relative",borderRadius:u.custom.radius.md},children:[a&&On.jsx(vs,{sx:{top:4,right:4},body:"Demo"}),On.jsx(hs,{src:s,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),On.jsx(_,{sx:{overflow:"hidden",p:0,pl:u.spacing(u.custom.padding.sm),minWidth:67,display:"flex",flex:1,"&:last-child":{pb:0}},children:On.jsxs(O,{gap:u.spacing(u.custom.margin.xs),width:"100%",children:[l?On.jsx(H,{variant:"text",width:"50%"}):On.jsx(ys,{title:e,maxLines:1}),On.jsxs(O,{direction:"row",gap:u.spacing(u.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[l?On.jsx(H,{variant:"text",width:"50%"}):On.jsx(gs,{loops:t,tests:n,drafts:o}),l?On.jsx(H,{variant:"text",width:130}):On.jsx(bs,{updatedDate:i,format:!0,noWrap:!0})]})]})}),r&&r]})})})},Cs=e=>"list"===e.viewType?On.jsx(js,{...e}):On.jsx(ws,{...e}),ks=y(j)((({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}))),Ss=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),Ms=y(Fi)((({theme:e})=>({color:e.custom.palette.text.secondary}))),Ts=({buttons:e,subtitle:t,title:n})=>On.jsx(On.Fragment,{children:On.jsx(ks,{sx:{justifyContent:"space-between"},children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsxs(Ss,{sx:{justifyContent:"space-between",py:1},children:[On.jsx(Ss,{children:On.jsxs(Ss,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[n&&On.jsx(Fi,{variation:"sm",component:"h2",weight:"bold",children:n}),t&&On.jsx(Ms,{variation:"sm",component:"p",children:t})]})}),e&&On.jsx(Ss,{children:e})]})})})})})}),Ps=()=>{const e=w();return[...e.breakpoints.keys].reduce(((t,n)=>Re(e.breakpoints.up(n))?n:t),null)??"sm"},As=y(W)((({theme:e})=>({[`&.${U.root}`]:{backgroundColor:e.custom.palette.neutral[200],borderRadius:e.custom.radius.round,[`& .${U.bar}`]:{backgroundColor:e.custom.palette.green[500],borderRadius:`0 ${e.custom.radius.round}px ${e.custom.radius.round}px 0`}}}))),zs=e=>{const{variation:t,...n}=e;return On.jsx(As,{variant:t,...n})},Es=y(j)((({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)})`}))),Rs=y(j)((({theme:e})=>({display:"flex",flexDirection:"column",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),Vs=y(Fi)((({theme:e})=>({flexBasis:"100%",color:e.palette.text.secondary})));function Fs(){return Fs=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},Fs.apply(null,arguments)}var Bs,Ls={exports:{}},Ds={exports:{}},Os={};var $s,Is,Hs,Ns,_s,Ws,Us,Zs,Ys,Gs,qs,Ks,Xs,Js,Qs={};
|
|
11
|
+
/** @license React v16.13.1
|
|
12
|
+
* react-is.development.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/function ea(){return Is||(Is=1,"production"===process.env.NODE_ENV?Ds.exports=function(){if(Bs)return Os;Bs=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,i=e?Symbol.for("react.strict_mode"):60108,r=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 r:case i: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 Os.AsyncMode=l,Os.ConcurrentMode=c,Os.ContextConsumer=a,Os.ContextProvider=s,Os.Element=t,Os.ForwardRef=u,Os.Fragment=o,Os.Lazy=m,Os.Memo=h,Os.Portal=n,Os.Profiler=r,Os.StrictMode=i,Os.Suspense=d,Os.isAsyncMode=function(e){return b(e)||y(e)===l},Os.isConcurrentMode=b,Os.isContextConsumer=function(e){return y(e)===a},Os.isContextProvider=function(e){return y(e)===s},Os.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Os.isForwardRef=function(e){return y(e)===u},Os.isFragment=function(e){return y(e)===o},Os.isLazy=function(e){return y(e)===m},Os.isMemo=function(e){return y(e)===h},Os.isPortal=function(e){return y(e)===n},Os.isProfiler=function(e){return y(e)===r},Os.isStrictMode=function(e){return y(e)===i},Os.isSuspense=function(e){return y(e)===d},Os.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===r||e===i||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)},Os.typeOf=y,Os}():Ds.exports=($s||($s=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,i=e?Symbol.for("react.strict_mode"):60108,r=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 r:case i: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,k=t,S=u,M=o,T=m,P=h,A=n,z=r,E=i,R=d,V=!1;function F(e){return y(e)===c}Qs.AsyncMode=b,Qs.ConcurrentMode=w,Qs.ContextConsumer=j,Qs.ContextProvider=C,Qs.Element=k,Qs.ForwardRef=S,Qs.Fragment=M,Qs.Lazy=T,Qs.Memo=P,Qs.Portal=A,Qs.Profiler=z,Qs.StrictMode=E,Qs.Suspense=R,Qs.isAsyncMode=function(e){return V||(V=!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.")),F(e)||y(e)===l},Qs.isConcurrentMode=F,Qs.isContextConsumer=function(e){return y(e)===a},Qs.isContextProvider=function(e){return y(e)===s},Qs.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qs.isForwardRef=function(e){return y(e)===u},Qs.isFragment=function(e){return y(e)===o},Qs.isLazy=function(e){return y(e)===m},Qs.isMemo=function(e){return y(e)===h},Qs.isPortal=function(e){return y(e)===n},Qs.isProfiler=function(e){return y(e)===r},Qs.isStrictMode=function(e){return y(e)===i},Qs.isSuspense=function(e){return y(e)===d},Qs.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===r||e===i||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)},Qs.typeOf=y}()),Qs)),Ds.exports}
|
|
19
|
+
/*
|
|
20
|
+
object-assign
|
|
21
|
+
(c) Sindre Sorhus
|
|
22
|
+
@license MIT
|
|
23
|
+
*/function ta(){if(Ns)return Hs;Ns=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Hs=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,i){for(var r,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 r=Object(arguments[l]))t.call(r,c)&&(a[c]=r[c]);if(e){s=e(r);for(var u=0;u<s.length;u++)n.call(r,s[u])&&(a[s[u]]=r[s[u]])}}return a},Hs}function na(){if(Ws)return _s;Ws=1;return _s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function oa(){return Zs?Us:(Zs=1,Us=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var ia=ea();Ls.exports=function(){if(Ks)return qs;Ks=1;var e=ea(),t=ta(),n=na(),o=oa(),i=function(){if(Gs)return Ys;Gs=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=na(),n={},o=oa();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,r,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in i)if(o(i,c)){var u;try{if("function"!=typeof i[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 i[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=i[c](r,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 i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ys=i}(),r=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),qs=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,i,r,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[o];if(!Array.isArray(a))return new h("Invalid "+r+" `"+s+"` of type `"+v(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,i,r,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,o,i){var r=e[t];return a(r)?null:new h("Invalid "+o+" `"+i+"` of type `"+v(r)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,o,i,r){var s=t[n];return e.isValidElementType(s)?null:new h("Invalid "+i+" `"+r+"` of type `"+v(s)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,o,i,r){if(!(t[n]instanceof e)){var s=e.name||u;return new h("Invalid "+i+" `"+r+"` 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,i){return x(e[t])?null:new h("Invalid "+o+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,i,r,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[i],c=v(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,r,s,a+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,o,i,r){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 "+i+" `"+r+"` of value `"+String(s)+"` supplied to `"+o+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&r(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&&r("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(i)+" at index "+t+"."),s}return m((function(t,i,r,s,a){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,i,r,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 `"+r+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,o,i,r,s){var a=t[o],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(i,r,s,c,y(u));var d=u(a,c,i,r,s+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(i,r,s,a,l){var c=i[r],u=v(c);if("object"!==u)return new h("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var d=t({},i[r],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(i[r],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 i(i,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&&(r("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]?i?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=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function f(e){return m((function(t,n,o,i,r,s){var a=t[n];return v(a)!==e?new h("Invalid "+i+" `"+r+"` of type `"+y(a)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,o,i){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 `"+i+"`.")}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 i=n.value;if(i&&!x(i[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=i,d.resetWarningCache=i.resetWarningCache,d.PropTypes=d,d},qs}()(ia.isElement,!0)}else Ls.exports=function(){if(Js)return Xs;Js=1;var e=na();function t(){}function n(){}return n.resetWarningCache=t,Xs=function(){function o(t,n,o,i,r,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 i(){return o}o.isRequired=o;var r={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return r.PropTypes=r,r}}()();var ra=Rn(Ls.exports);function sa(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=sa(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function aa(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=sa(e))&&(o&&(o+=" "),o+=t);return o}const la=e=>e,ca=(()=>{let e=la;return{configure(t){e=t},generate:t=>e(t),reset(){e=la}}})(),ua={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 da(e,t,n="Mui"){const o=ua[t];return o?`${n}-${o}`:`${ca.generate(e)}-${t}`}const pa=e.createContext({});function ha(e){return da("MuiTimeline",e)}function ma(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${Ne(e)}`}"production"!==process.env.NODE_ENV&&(pa.displayName="TimelineContext"),function(e,t,n="Mui"){const o={};t.forEach((t=>{o[t]=da(e,t,n)}))}("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const fa=["position","className"],ga=e=>{const{position:t,classes:n}=e;return function(e,t,n){const o={};return Object.keys(e).forEach((i=>{o[i]=e[i].reduce(((e,o)=>{if(o){const i=t(o);""!==i&&e.push(i),n&&n[o]&&e.push(n[o])}return e}),[]).join(" ")})),o}({root:["root",t&&ma(t)]},ha,n)},xa=$e("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[ma(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),va=e.forwardRef((function(t,n){const o=Ie({props:t,name:"MuiTimeline"}),{position:i="right",className:r}=o,s=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}(o,fa),a=Fs({},o,{position:i}),l=ga(a),c=e.useMemo((()=>({position:i})),[i]);return On.jsx(pa.Provider,{value:c,children:On.jsx(xa,Fs({className:aa(l.root,r),ownerState:a,ref:n},s))})}));"production"!==process.env.NODE_ENV&&(va.propTypes={children:ra.node,classes:ra.object,className:ra.string,position:ra.oneOf(["alternate-reverse","alternate","left","right"]),sx:ra.oneOfType([ra.arrayOf(ra.oneOfType([ra.func,ra.object,ra.bool])),ra.func,ra.object])});const ya=l({});const ba=l(null),wa=l({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});const ja="undefined"!=typeof window,Ca=ja?d:i,ka=e=>e;let Sa=ka,Ma=ka;"production"!==process.env.NODE_ENV&&(Sa=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Ma=(e,t)=>{if(!e)throw new Error(t)});const Ta=!1;const Pa=["read","resolveKeyframes","update","preRender","render","postRender"];function Aa(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=Pa.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,o=!1,i=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){r.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,i=!1,s=!1)=>{const a=s&&o?t:n;return i&&r.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),r.delete(e)},process:e=>{s=e,o?i=!0:(o=!0,[t,n]=[n,t],t.forEach(a),t.clear(),o=!1,i&&(i=!1,l.process(e)))}};return l}(r),e)),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:p}=s,h=()=>{const r=performance.now();n=!1,i.delta=o?1e3/60:Math.max(Math.min(r-i.timestamp,40),1),i.timestamp=r,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),d.process(i),p.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(h))};return{schedule:Pa.reduce(((t,r)=>{const a=s[r];return t[r]=(t,r=!1,s=!1)=>(n||(n=!0,o=!0,i.isProcessing||e(h)),a.schedule(t,r,s)),t}),{}),cancel:e=>{for(let t=0;t<Pa.length;t++)s[Pa[t]].cancel(e)},state:i,steps:s}}const{schedule:za,cancel:Ea,state:Ra,steps:Va}=Aa("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:ka,!0),Fa=l({strict:!1}),Ba={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"]},La={};for(const e in Ba)La[e]={isEnabled:t=>Ba[e].some((e=>!!t[e]))};const Da=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 Oa(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Da.has(e)}let $a=e=>!Oa(e);try{(Ia=require("@emotion/is-prop-valid").default)&&($a=e=>e.startsWith("on")?!Oa(e):Ia(e))}catch(e){}var Ia;const Ha=new Set;function Na(e,t,n){e||Ha.has(t)||(console.warn(t),Ha.add(t))}function _a(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>("production"!==process.env.NODE_ENV&&Na(!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 Wa=l({});function Ua(e){return"string"==typeof e||Array.isArray(e)}function Za(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const Ya=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ga=["initial",...Ya];function qa(e){return Za(e.animate)||Ga.some((t=>Ua(e[t])))}function Ka(e){return Boolean(qa(e)||e.variants)}function Xa(e){const{initial:t,animate:n}=function(e,t){if(qa(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Ua(t)?t:void 0,animate:Ua(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,c(Wa));return a((()=>({initial:t,animate:n})),[Ja(t),Ja(n)])}function Ja(e){return Array.isArray(e)?e.join(" "):e}const Qa=Symbol.for("motionComponentSymbol");function el(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function tl(e,t,n){return s((o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&("function"==typeof n?n(o):el(n)&&(n.current=o))}),[t])}const nl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ol="data-"+nl("framerAppearId"),{schedule:il,cancel:rl}=Aa(queueMicrotask,!1),sl=l({});function al(e,t,n,r,s){var a,l;const{visualElement:u}=c(Wa),d=c(Fa),h=c(ba),m=c(wa).reducedMotion,f=o(null);r=r||d.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:u,props:n,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:m}));const g=f.current,x=c(sl);!g||g.projection||!s||"html"!==g.type&&"svg"!==g.type||function(e,t,n,o){const{layoutId:i,layout:r,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:ll(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:Boolean(s)||a&&el(a),visualElement:e,animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,layoutScroll:l,layoutRoot:c})}(f.current,n,s,x);const v=o(!1);p((()=>{g&&v.current&&g.update(n,h)}));const y=n[ol],b=o(Boolean(y)&&!(null===(a=window.MotionHandoffIsComplete)||void 0===a?void 0:a.call(window,y))&&(null===(l=window.MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(window,y)));return Ca((()=>{g&&(v.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),il.render(g.render),b.current&&g.animationState&&g.animationState.animateChanges())})),i((()=>{g&&(!b.current&&g.animationState&&g.animationState.animateChanges(),b.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,y)})),b.current=!1))})),g}function ll(e){if(e)return!1!==e.options.allowProjection?e.projection:ll(e.parent)}function cl({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:i}){var r,s;function a(r,s){let a;const l={...c(wa),...r,layoutId:ul(r)},{isStatic:u}=l,d=Xa(r),p=o(r,u);if(!u&&ja){!function(e,t){const n=c(Fa).strict;if("production"!==process.env.NODE_ENV&&t&&n){const t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Sa(!1,t):Ma(!1,t)}}(l,e);const n=function(e){const{drag:t,layout:n}=La;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}}(l);a=n.MeasureLayout,d.visualElement=al(i,p,l,t,n.ProjectionNode)}return On.jsxs(Wa.Provider,{value:d,children:[a&&d.visualElement?On.jsx(a,{visualElement:d.visualElement,...l}):null,n(i,r,tl(p,d.visualElement,s),p,u,d.visualElement)]})}e&&function(e){for(const t in e)La[t]={...La[t],...e[t]}}(e),a.displayName=`motion.${"string"==typeof i?i:`create(${null!==(s=null!==(r=i.displayName)&&void 0!==r?r:i.name)&&void 0!==s?s:""})`}`;const l=h(a);return l[Qa]=i,l}function ul({layoutId:e}){const t=c(ya).id;return t&&void 0!==e?t+"-"+e:e}const dl=["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 pl(e){return"string"==typeof e&&!e.includes("-")&&!!(dl.indexOf(e)>-1||/[A-Z]/u.test(e))}function hl(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function ml(e,t,n,o){if("function"==typeof t){const[i,r]=hl(o);t=t(void 0!==n?n:e.custom,i,r)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[i,r]=hl(o);t=t(void 0!==n?n:e.custom,i,r)}return t}const fl=e=>Array.isArray(e),gl=e=>Boolean(e&&e.getVelocity);function xl(e){const t=gl(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const vl=e=>(t,n)=>{const i=c(Wa),r=c(ba),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},o,i,r){const s={latestValues:yl(o,i,r,e),renderState:t()};return n&&(s.onMount=e=>n({props:o,current:e,...s}),s.onUpdate=e=>n(e)),s}(e,t,i,r);return n?s():function(e){const t=o(null);return null===t.current&&(t.current=e()),t.current}(s)};function yl(e,t,n,o){const i={},r=o(e,{});for(const e in r)i[e]=xl(r[e]);let{initial:s,animate:a}=e;const l=qa(e),c=Ka(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&&!Za(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const o=ml(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&&(i[e]=t)}for(const t in e)i[t]=e[t]}}}return i}const bl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wl=new Set(bl),jl=e=>t=>"string"==typeof t&&t.startsWith(e),Cl=jl("--"),kl=jl("var(--"),Sl=e=>!!kl(e)&&Ml.test(e.split("/*")[0].trim()),Ml=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Tl=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Pl=(e,t,n)=>n>t?t:n<e?e:n,Al={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},zl={...Al,transform:e=>Pl(0,1,e)},El={...Al,default:1},Rl=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Vl=Rl("deg"),Fl=Rl("%"),Bl=Rl("px"),Ll=Rl("vh"),Dl=Rl("vw"),Ol={...Fl,parse:e=>Fl.parse(e)/100,transform:e=>Fl.transform(100*e)},$l={borderWidth:Bl,borderTopWidth:Bl,borderRightWidth:Bl,borderBottomWidth:Bl,borderLeftWidth:Bl,borderRadius:Bl,radius:Bl,borderTopLeftRadius:Bl,borderTopRightRadius:Bl,borderBottomRightRadius:Bl,borderBottomLeftRadius:Bl,width:Bl,maxWidth:Bl,height:Bl,maxHeight:Bl,top:Bl,right:Bl,bottom:Bl,left:Bl,padding:Bl,paddingTop:Bl,paddingRight:Bl,paddingBottom:Bl,paddingLeft:Bl,margin:Bl,marginTop:Bl,marginRight:Bl,marginBottom:Bl,marginLeft:Bl,backgroundPositionX:Bl,backgroundPositionY:Bl},Il={rotate:Vl,rotateX:Vl,rotateY:Vl,rotateZ:Vl,scale:El,scaleX:El,scaleY:El,scaleZ:El,skew:Vl,skewX:Vl,skewY:Vl,distance:Bl,translateX:Bl,translateY:Bl,translateZ:Bl,x:Bl,y:Bl,z:Bl,perspective:Bl,transformPerspective:Bl,opacity:zl,originX:Ol,originY:Ol,originZ:Bl},Hl={...Al,transform:Math.round},Nl={...$l,...Il,zIndex:Hl,size:Bl,fillOpacity:zl,strokeOpacity:zl,numOctaves:Hl},_l={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Wl=bl.length;function Ul(e,t,n){const{style:o,vars:i,transformOrigin:r}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(wl.has(e))s=!0;else if(Cl(e))i[e]=n;else{const t=Tl(n,Nl[e]);e.startsWith("origin")?(a=!0,r[e]=t):o[e]=t}}if(t.transform||(s||n?o.transform=function(e,t,n){let o="",i=!0;for(let r=0;r<Wl;r++){const s=bl[r],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=Tl(a,Nl[s]);l||(i=!1,o+=`${_l[s]||s}(${e}) `),n&&(t[s]=e)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}(t,e.transform,n):o.transform&&(o.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=r;o.transformOrigin=`${e} ${t} ${n}`}}const Zl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Yl={offset:"strokeDashoffset",array:"strokeDasharray"};function Gl(e,t,n){return"string"==typeof e?e:Bl.transform(t+n*e)}function ql(e,{attrX:t,attrY:n,attrScale:o,originX:i,originY:r,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d){if(Ul(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!==i||void 0!==r||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Gl(t,e.x,e.width)} ${Gl(n,e.y,e.height)}`}(m,void 0!==i?i:.5,void 0!==r?r:.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,i=!0){e.pathLength=1;const r=i?Zl:Yl;e[r.offset]=Bl.transform(-o);const s=Bl.transform(t),a=Bl.transform(n);e[r.array]=`${s} ${a}`}(p,s,a,l,!1)}const Kl=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Xl=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Jl=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ql(e,{style:t,vars:n},o,i){Object.assign(e.style,t,i&&i.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const ec=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 tc(e,t,n,o){Ql(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(ec.has(n)?n:nl(n),t.attrs[n])}const nc={};function oc(e,{layout:t,layoutId:n}){return wl.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!nc[e]||"opacity"===e)}function ic(e,t,n){var o;const{style:i}=e,r={};for(const s in i)(gl(i[s])||t.style&&gl(t.style[s])||oc(s,e)||void 0!==(null===(o=null==n?void 0:n.getValue(s))||void 0===o?void 0:o.liveStyle))&&(r[s]=i[s]);return r}function rc(e,t,n){const o=ic(e,t,n);for(const n in e)if(gl(e[n])||gl(t[n])){o[-1!==bl.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return o}const sc=["x","y","width","height","cx","cy","r"],ac={useVisualState:vl({scrapeMotionValuesFromProps:rc,createRenderState:Xl,onUpdate:({props:e,prevProps:t,current:n,renderState:o,latestValues:i})=>{if(!n)return;let r=!!e.drag;if(!r)for(const e in i)if(wl.has(e)){r=!0;break}if(!r)return;let s=!t;if(t)for(let n=0;n<sc.length;n++){const o=sc[n];e[o]!==t[o]&&(s=!0)}s&&za.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),za.render((()=>{ql(o,i,Jl(n.tagName),e.transformTemplate),tc(n,o)}))}))}})},lc={useVisualState:vl({scrapeMotionValuesFromProps:ic,createRenderState:Kl})};function cc(e,t,n){for(const o in t)gl(t[o])||oc(o,n)||(e[o]=t[o])}function uc(e,t){const n={};return cc(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return a((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Ul(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}function dc(e,t){const n={},o=uc(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 pc(e,t,n,o){const i=a((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ql(n,t,Jl(o),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};cc(t,e.style,e),i.style={...t,...i.style}}return i}function hc(e=!1){return(t,o,i,{latestValues:r},s)=>{const l=(pl(t)?pc:dc)(o,r,s,t),c=function(e,t,n){const o={};for(const i in e)"values"===i&&"object"==typeof e.values||($a(i)||!0===n&&Oa(i)||!t&&!Oa(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}(o,"string"==typeof t,e),u=t!==n?{...c,...l,ref:i}:{},{children:d}=o,p=a((()=>gl(d)?d.get():d),[d]);return m(t,{...u,children:p})}}function mc(e,t){return function(n,{forwardMotionProps:o}={forwardMotionProps:!1}){return cl({...pl(n)?ac:lc,preloadedFeatures:e,useRender:hc(o),createVisualElement:t,Component:n})}}function fc(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 gc(e,t,n){const o=e.getProps();return ml(o,t,void 0!==n?n:o.custom,e)}function xc(e,t){return e?e[t]||e.default||e:void 0}const vc=new Set(["width","height","top","left","right","bottom",...bl]);let yc;function bc(){yc=void 0}const wc={now:()=>(void 0===yc&&wc.set(Ra.isProcessing||Ta?Ra.timestamp:performance.now()),yc),set:e=>{yc=e,queueMicrotask(bc)}};function jc(e,t){-1===e.indexOf(t)&&e.push(t)}function Cc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class kc{constructor(){this.subscriptions=[]}add(e){return jc(this.subscriptions,e),()=>Cc(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 i=0;i<o;i++){const o=this.subscriptions[i];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Sc(e,t){return t?e*(1e3/t):0}class Mc{constructor(e,t={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=wc.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=wc.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&&Na(!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 kc);const n=this.events[e].add(t);return"change"===e?()=>{n(),za.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=wc.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Sc(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 Tc(e,t){return new Mc(e,t)}function Pc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Tc(n))}function Ac(e,t){const n=e.getValue("willChange");if(o=n,Boolean(gl(o)&&o.add))return n.add(t);var o}function zc(e){return e.props[ol]}function Ec(e){let t;return()=>(void 0===t&&(t=e()),t)}const Rc=Ec((()=>void 0!==window.ScrollTimeline));class Vc{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=>Rc()&&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 Fc extends Vc{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}const Bc=e=>1e3*e,Lc=e=>e/1e3;function Dc(e){return"function"==typeof e}function Oc(e,t){e.timeline=t,e.onfinish=null}const $c=e=>Array.isArray(e)&&"number"==typeof e[0],Ic={linearEasing:void 0};function Hc(e,t){const n=Ec(e);return()=>{var e;return null!==(e=Ic[t])&&void 0!==e?e:n()}}const Nc=Hc((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),_c=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},Wc=(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)o+=e(_c(0,i-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`};function Uc(e){return Boolean("function"==typeof e&&Nc()||!e||"string"==typeof e&&(e in Yc||Nc())||$c(e)||Array.isArray(e)&&e.every(Uc))}const Zc=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,Yc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zc([0,.65,.55,1]),circOut:Zc([.55,0,1,.45]),backIn:Zc([.31,.01,.66,-.59]),backOut:Zc([.33,1.53,.69,.99])};function Gc(e,t){return e?"function"==typeof e&&Nc()?Wc(e,t):$c(e)?Zc(e):Array.isArray(e)?e.map((e=>Gc(e,t)||Yc.easeOut)):Yc[e]:void 0}const qc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Kc(e,t,n,o){if(e===t&&n===o)return ka;const i=t=>function(e,t,n,o,i){let r,s,a=0;do{s=t+(n-t)/2,r=qc(s,o,i)-e,r>0?n=s:t=s}while(Math.abs(r)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:qc(i(e),t,o)}const Xc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Jc=e=>t=>1-e(1-t),Qc=Kc(.33,1.53,.69,.99),eu=Jc(Qc),tu=Xc(eu),nu=e=>(e*=2)<1?.5*eu(e):.5*(2-Math.pow(2,-10*(e-1))),ou=e=>1-Math.sin(Math.acos(e)),iu=Jc(ou),ru=Xc(ou),su=e=>/^0[^.\s]+$/u.test(e);const au=e=>Math.round(1e5*e)/1e5,lu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const cu=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,uu=(e,t)=>n=>Boolean("string"==typeof n&&cu.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),du=(e,t,n)=>o=>{if("string"!=typeof o)return o;const[i,r,s,a]=o.match(lu);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},pu={...Al,transform:e=>Math.round((e=>Pl(0,255,e))(e))},hu={test:uu("rgb","red"),parse:du("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+pu.transform(e)+", "+pu.transform(t)+", "+pu.transform(n)+", "+au(zl.transform(o))+")"};const mu={test:uu("#"),parse:function(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}},transform:hu.transform},fu={test:uu("hsl","hue"),parse:du("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+Fl.transform(au(t))+", "+Fl.transform(au(n))+", "+au(zl.transform(o))+")"},gu={test:e=>hu.test(e)||mu.test(e)||fu.test(e),parse:e=>hu.test(e)?hu.parse(e):fu.test(e)?fu.parse(e):mu.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?hu.transform(e):fu.transform(e)},xu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const vu="number",yu="color",bu=/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 wu(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const s=t.replace(bu,(e=>(gu.test(e)?(o.color.push(r),i.push(yu),n.push(gu.parse(e))):e.startsWith("var(")?(o.var.push(r),i.push("var"),n.push(e)):(o.number.push(r),i.push(vu),n.push(parseFloat(e))),++r,"${}"))).split("${}");return{values:n,split:s,indexes:o,types:i}}function ju(e){return wu(e).values}function Cu(e){const{split:t,types:n}=wu(e),o=t.length;return e=>{let i="";for(let r=0;r<o;r++)if(i+=t[r],void 0!==e[r]){const t=n[r];i+=t===vu?au(e[r]):t===yu?gu.transform(e[r]):e[r]}return i}}const ku=e=>"number"==typeof e?0:e;const Su={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(lu))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(xu))||void 0===n?void 0:n.length)||0)>0},parse:ju,createTransformer:Cu,getAnimatableNone:function(e){const t=ju(e);return Cu(e)(t.map(ku))}},Mu=new Set(["brightness","contrast","saturate","opacity"]);function Tu(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(lu)||[];if(!o)return e;const i=n.replace(o,"");let r=Mu.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Pu=/\b([a-z-]*)\(.*?\)/gu,Au={...Su,getAnimatableNone:e=>{const t=e.match(Pu);return t?t.map(Tu).join(" "):e}},zu={...Nl,color:gu,backgroundColor:gu,outlineColor:gu,fill:gu,stroke:gu,borderColor:gu,borderTopColor:gu,borderRightColor:gu,borderBottomColor:gu,borderLeftColor:gu,filter:Au,WebkitFilter:Au},Eu=e=>zu[e];function Ru(e,t){let n=Eu(e);return n!==Au&&(n=Su),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Vu=new Set(["auto","none","0"]);const Fu=e=>e===Al||e===Bl,Bu=(e,t)=>parseFloat(e.split(", ")[t]),Lu=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const i=o.match(/^matrix3d\((.+)\)$/u);if(i)return Bu(i[1],t);{const t=o.match(/^matrix\((.+)\)$/u);return t?Bu(t[1],e):0}},Du=new Set(["x","y","z"]),Ou=bl.filter((e=>!Du.has(e)));const $u={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:Lu(4,13),y:Lu(5,14)};$u.translateX=$u.x,$u.translateY=$u.y;const Iu=new Set;let Hu=!1,Nu=!1;function _u(){if(Nu){const e=Array.from(Iu).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 Ou.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)}))}Nu=!1,Hu=!1,Iu.forEach((e=>e.complete())),Iu.clear()}function Wu(){Iu.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Nu=!0)}))}class Uu{constructor(e,t,n,o,i,r=!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=i,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Iu.add(this),Hu||(Hu=!0,za.read(Wu),za.resolveKeyframes(_u))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:o}=this;for(let i=0;i<e.length;i++)if(null===e[i])if(0===i){const i=null==o?void 0:o.get(),r=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){const o=n.readValue(t,r);null!=o&&(e[0]=o)}void 0===e[0]&&(e[0]=r),o&&void 0===i&&o.set(e[0])}else e[i]=e[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Iu.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Iu.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Zu=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Yu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Gu(e,t,n=1){Ma(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,i]=function(e){const t=Yu.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${null!=n?n:o}`,i]}(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const e=r.trim();return Zu(e)?parseFloat(e):e}return Sl(i)?Gu(i,t,n+1):i}const qu=e=>t=>t.test(e),Ku=[Al,Bl,Fl,Vl,Dl,Ll,{test:e=>"auto"===e,parse:e=>e}],Xu=e=>Ku.find(qu(e));class Ju extends Uu{constructor(e,t,n,o,i){super(e,t,n,o,i,!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(),Sl(o))){const i=Gu(o,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=o)}}if(this.resolveNoneKeyframes(),!vc.has(n)||2!==e.length)return;const[o,i]=e,r=Xu(o),s=Xu(i);if(r!==s)if(Fu(r)&&Fu(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||su(o))&&n.push(t);var o;n.length&&function(e,t,n){let o,i=0;for(;i<e.length&&!o;){const t=e[i];"string"==typeof t&&!Vu.has(t)&&wu(t).values.length&&(o=e[i]),i++}if(o&&n)for(const i of t)e[i]=Ru(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=$u[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 i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=o.length-1,s=o[r];o[r]=$u[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 Qu=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Su.test(e)&&"0"!==e||e.startsWith("url(")));function ed(e,t,n,o){const i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;const r=e[e.length-1],s=Qu(i,t),a=Qu(r,t);return Sa(s===a,`You are trying to animate ${t} from "${i}" to "${r}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${r} 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||Dc(n))&&o)}const td=e=>null!==e;function nd(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(td),r=t&&"loop"!==n&&t%2==1?0:i.length-1;return r&&void 0!==o?o:i[r]}class od{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:r="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=wc.now(),this.options={autoplay:e,delay:t,type:n,repeat:o,repeatDelay:i,repeatType:r,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(Wu(),_u()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=wc.now(),this.hasAttemptedResolve=!0;const{name:n,type:o,velocity:i,delay:r,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!ed(e,n,o,i)){if(!r)return a&&a(nd(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 id=2e4;function rd(e){let t=0;let n=e.next(t);for(;!n.done&&t<id;)t+=50,n=e.next(t);return t>=id?1/0:t}const sd=(e,t,n)=>e+(t-e)*n;function ad(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 ld(e,t){return n=>n>0?t:e}const cd=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},ud=[mu,hu,fu];function dd(e){const t=(n=e,ud.find((e=>e.test(n))));var n;if(Sa(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===fu&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let i=0,r=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;i=ad(a,o,e+1/3),r=ad(a,o,e),s=ad(a,o,e-1/3)}else i=r=s=n;return{red:Math.round(255*i),green:Math.round(255*r),blue:Math.round(255*s),alpha:o}}(o)),o}const pd=(e,t)=>{const n=dd(e),o=dd(t);if(!n||!o)return ld(e,t);const i={...n};return e=>(i.red=cd(n.red,o.red,e),i.green=cd(n.green,o.green,e),i.blue=cd(n.blue,o.blue,e),i.alpha=sd(n.alpha,o.alpha,e),hu.transform(i))},hd=(e,t)=>n=>t(e(n)),md=(...e)=>e.reduce(hd),fd=new Set(["none","hidden"]);function gd(e,t){return n=>sd(e,t,n)}function xd(e){return"number"==typeof e?gd:"string"==typeof e?Sl(e)?ld:gu.test(e)?pd:bd:Array.isArray(e)?vd:"object"==typeof e?gu.test(e)?pd:yd:ld}function vd(e,t){const n=[...e],o=n.length,i=e.map(((e,n)=>xd(e)(e,t[n])));return e=>{for(let t=0;t<o;t++)n[t]=i[t](e);return n}}function yd(e,t){const n={...e,...t},o={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(o[i]=xd(e[i])(e[i],t[i]));return e=>{for(const t in o)n[t]=o[t](e);return n}}const bd=(e,t)=>{const n=Su.createTransformer(t),o=wu(e),i=wu(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?fd.has(e)&&!i.values.length||fd.has(t)&&!o.values.length?function(e,t){return fd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):md(vd(function(e,t){var n;const o=[],i={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const s=t.types[r],a=e.indexes[s][i[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;o[r]=l,i[s]++}return o}(o,i),i.values),n):(Sa(!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.`),ld(e,t))};function wd(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return sd(e,t,n);return xd(e)(e,t)}function jd(e,t,n){const o=Math.max(t-5,0);return Sc(n-e(o),t-o)}const Cd=100,kd=10,Sd=1,Md=0,Td=800,Pd=.3,Ad=.3,zd={granular:.01,default:2},Ed={granular:.005,default:.5},Rd=.01,Vd=10,Fd=.05,Bd=1;function Ld({duration:e=Td,bounce:t=Pd,velocity:n=Md,mass:o=Sd}){let i,r;Sa(e<=Bc(Vd),"Spring duration must be 10 seconds or less");let s=1-t;s=Pl(Fd,Bd,s),e=Pl(Rd,Vd,Lc(e)),s<1?(i=t=>{const o=t*s,i=o*e;return.001-(o-n)/Od(t,s)*Math.exp(-i)},r=t=>{const o=t*s*e,r=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=Od(Math.pow(t,2),s);return(.001-i(t)>0?-1:1)*((r-a)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<Dd;n++)o-=e(o)/t(o);return o}(i,r,5/e);if(e=Bc(e),isNaN(a))return{stiffness:Cd,damping:kd,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const Dd=12;function Od(e,t){return e*Math.sqrt(1-t*t)}const $d=["duration","bounce"],Id=["stiffness","damping","mass"];function Hd(e,t){return t.some((t=>void 0!==e[t]))}function Nd(e=Ad,t=Pd){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:c,mass:u,duration:d,velocity:p,isResolvedFromDuration:h}=function(e){let t={velocity:Md,stiffness:Cd,damping:kd,mass:Sd,isResolvedFromDuration:!1,...e};if(!Hd(e,Id)&&Hd(e,$d))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(1.2*n),i=o*o,r=2*Pl(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Sd,stiffness:i,damping:r}}else{const n=Ld(e);t={...t,...n,mass:Sd},t.isResolvedFromDuration=!0}return t}({...n,velocity:-Lc(n.velocity||0)}),m=p||0,f=c/(2*Math.sqrt(l*u)),g=s-r,x=Lc(Math.sqrt(l/u)),v=Math.abs(g)<5;let y;if(o||(o=v?zd.granular:zd.default),i||(i=v?Ed.granular:Ed.default),f<1){const e=Od(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?Bc(m):jd(y,e,t));const r=Math.abs(n)<=o,l=Math.abs(s-t)<=i;a.done=r&&l}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(rd(b),id),t=Wc((t=>b.next(e*t).value),e,30);return e+"ms "+t}};return b}function _d({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:r=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=Nd({keyframes:[p.value,h(p.value)],velocity:jd(v,e,p.value),damping:i,stiffness:r,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 Wd=Kc(.42,0,1,1),Ud=Kc(0,0,.58,1),Zd=Kc(.42,0,.58,1),Yd={linear:ka,easeIn:Wd,easeInOut:Zd,easeOut:Ud,circIn:ou,circInOut:ru,circOut:iu,backIn:eu,backInOut:tu,backOut:Qc,anticipate:nu},Gd=e=>{if($c(e)){Ma(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,i]=e;return Kc(t,n,o,i)}return"string"==typeof e?(Ma(void 0!==Yd[e],`Invalid easing type '${e}'`),Yd[e]):e};function qd(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Ma(r===t.length,"Both input and output ranges must be the same length"),1===r)return()=>t[0];if(2===r&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const o=[],i=n||wd,r=e.length-1;for(let n=0;n<r;n++){let r=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||ka:t;r=md(e,r)}o.push(r)}return o}(t,o,i),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 i=_c(e[o],e[o+1],n);return a[o](i)};return n?t=>c(Pl(e[0],e[r-1],t)):c}function Kd(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=_c(0,t,o);e.push(sd(n,1,i))}}(t,e.length-1),t}function Xd(e,t){return e.map((()=>t||Zd)).splice(0,e.length-1)}function Jd({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(Gd):Gd(o),r={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:Kd(t),e),a=qd(s,t,{ease:Array.isArray(i)?i:Xd(t,i)});return{calculatedDuration:e,next:t=>(r.value=a(t),r.done=t>=e,r)}}const Qd=e=>{const t=({timestamp:t})=>e(t);return{start:()=>za.update(t,!0),stop:()=>Ea(t),now:()=>Ra.isProcessing?Ra.timestamp:wc.now()}},ep={decay:_d,inertia:_d,tween:Jd,keyframes:Jd,spring:Nd},tp=e=>e/100;class np extends od{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:i}=this.options,r=(null==o?void 0:o.KeyframeResolver)||Uu;this.resolver=new r(i,((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:i,velocity:r=0}=this.options,s=Dc(t)?t:ep[t]||Jd;let a,l;s!==Jd&&"number"!=typeof e[0]&&("production"!==process.env.NODE_ENV&&Ma(2===e.length,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=md(tp,wd(e[0],e[1])),e=[0,100]);const c=s({...this.options,keyframes:e});"mirror"===i&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-r})),null===c.calculatedDuration&&(c.calculatedDuration=rd(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:i,mirroredGenerator:r,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return i.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=i;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=r)),v=Pl(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=nd(a,this.options,o)),f&&f(b.value),j&&this.finish(),b}get duration(){const{resolved:e}=this;return e?Lc(e.calculatedDuration):0}get time(){return Lc(this.currentTime)}set time(e){e=Bc(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=Lc(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Qd,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 op=new Set(["opacity","clipPath","filter","transform"]);function ip(e,t,n,{delay:o=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Gc(a,i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===s?"alternate":"normal"})}const rp=Ec((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const sp={anticipate:nu,backInOut:tu,circInOut:ru};class ap extends od{constructor(e){super(e);const{name:t,motionValue:n,element:o,keyframes:i}=this.options;this.resolver=new Ju(i,((e,t)=>this.onKeyframesResolved(e,t)),t,n,o),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:o,ease:i,type:r,motionValue:s,name:a,startTime:l}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof i&&Nc()&&i in sp&&(i=sp[i]),function(e){return Dc(e.type)||"spring"===e.type||!Uc(e.ease)}(this.options)){const{onComplete:t,onUpdate:s,motionValue:a,element:l,...c}=this.options,u=function(e,t){const n=new np({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:e[0]};const i=[];let r=0;for(;!o.done&&r<2e4;)o=n.sample(r),i.push(o.value),r+=10;return{times:void 0,keyframes:i,duration:r-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,o=u.times,i=u.ease,r="keyframes"}const c=ip(s.owner.current,a,e,{...this.options,duration:n,times:o,ease:i});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(Oc(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;s.set(nd(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:o,type:r,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return Lc(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return Lc(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=Bc(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 ka;const{animation:n}=t;Oc(n,e)}else this.pendingTimeline=e;return ka}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:i,ease:r,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 np({...c,keyframes:n,duration:o,type:i,ease:r,times:s,isGenerator:!0}),d=Bc(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:i,damping:r,type:s}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return rp()&&n&&op.has(n)&&!a&&!l&&!o&&"mirror"!==i&&0!==r&&"inertia"!==s}}const lp={type:"spring",stiffness:500,damping:25,restSpeed:10},cp={type:"keyframes",duration:.8},up={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dp=(e,{keyframes:t})=>t.length>2?cp:wl.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:lp:up;const pp=(e,t,n,o={},i,r)=>s=>{const a=xc(o,e)||{},l=a.delay||o.delay||0;let{elapsed:c=0}=o;c-=Bc(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:r?void 0:i};(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...dp(e,u)}),u.duration&&(u.duration=Bc(u.duration)),u.repeatDelay&&(u.repeatDelay=Bc(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&&!r&&void 0!==t.get()){const e=nd(u.keyframes,a);if(void 0!==e)return za.update((()=>{u.onUpdate(e),u.onComplete()})),new Fc([])}return!r&&ap.supports(u)?new ap(u):new np(u)};function hp({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function mp(e,t,{delay:n=0,transitionOverride:o,type:i}={}){var r;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;o&&(s=o);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in l){const o=e.getValue(t,null!==(r=e.latestValues[t])&&void 0!==r?r:null),i=l[t];if(void 0===i||u&&hp(u,t))continue;const a={delay:n,...xc(s||{},t)};let d=!1;if(window.MotionHandoffAnimation){const n=zc(e);if(n){const e=window.MotionHandoffAnimation(n,t,za);null!==e&&(a.startTime=e,d=!0)}}Ac(e,t),o.start(pp(t,o,i,e.shouldReduceMotion&&vc.has(t)?{type:!1}:a,e,d));const p=o.animation;p&&c.push(p)}return a&&Promise.all(c).then((()=>{za.update((()=>{a&&function(e,t){const n=gc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const t in r)Pc(e,t,(s=r[t],fl(s)?s[s.length-1]||0:s));var s}(e,a)}))})),c}function fp(e,t,n={}){var o;const i=gc(e,t,"exit"===n.type?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const s=i?()=>Promise.all(mp(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,o=0,i=1,r){const s=[],a=(e.variantChildren.size-1)*o,l=1===i?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(gp).forEach(((e,o)=>{e.notify("AnimationStart",t),s.push(fp(e,t,{...r,delay:n+l(o)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,i+o,s,a,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(n.delay)])}function gp(e,t){return e.sortNodePosition(t)}const xp=Ga.length;function vp(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&vp(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<xp;n++){const o=Ga[n],i=e.props[o];(Ua(i)||!1===i)&&(t[o]=i)}return t}const yp=[...Ya].reverse(),bp=Ya.length;function wp(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 i=t.map((t=>fp(e,t,n)));o=Promise.all(i)}else if("string"==typeof t)o=fp(e,t,n);else{const i="function"==typeof t?gc(e,t,n.custom):t;o=Promise.all(mp(e,i,n))}return o.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}function jp(e){let t=wp(e),n=Sp(),o=!0;const i=t=>(n,o)=>{var i;const r=gc(e,o,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(r){const{transition:e,transitionEnd:t,...o}=r;n={...n,...o,...t}}return n};function r(r){const{props:s}=e,a=vp(e.parent)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;t<bp;t++){const p=yp[t],h=n[p],m=void 0!==s[p]?s[p]:a[p],f=Ua(m),g=p===r?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||Za(m)||"boolean"==typeof m)continue;const v=Cp(h.prevProp,m);let y=v||p===r&&h.isActive&&!x&&f||t>d&&f,b=!1;const w=Array.isArray(m)?m:[m];let j=w.reduce(i(p),{});!1===g&&(j={});const{prevResolvedValues:C={}}=h,k={...C,...j},S=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 k){const t=j[e],n=C[e];if(u.hasOwnProperty(e))continue;let o=!1;o=fl(t)&&fl(n)?!fc(t,n):t!==n,o?null!=t?S(e):c.add(e):void 0!==t&&c.has(e)?S(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),i=e.getValue(n);i&&(i.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:r,setActive:function(t,o){var i;if(n[t].isActive===o)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)})),n[t].isActive=o;const s=r(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Sp(),o=!0}}}function Cp(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!fc(t,e)}function kp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sp(){return{animate:kp(!0),whileInView:kp(),whileHover:kp(),whileTap:kp(),whileDrag:kp(),whileFocus:kp(),exit:kp()}}class Mp{constructor(e){this.isMounted=!1,this.node=e}update(){}}let Tp=0;const Pp={animation:{Feature:class extends Mp{constructor(e){super(e),e.animationState||(e.animationState=jp(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Za(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 Mp{constructor(){super(...arguments),this.id=Tp++}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(){}}}},Ap={x:!1,y:!1};function zp(){return Ap.x||Ap.y}const Ep=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Rp(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function Vp(e){return{point:{x:e.pageX,y:e.pageY}}}function Fp(e,t,n,o){return Rp(e,t,(e=>t=>Ep(t)&&e(t,Vp(t)))(n),o)}const Bp=(e,t)=>Math.abs(e-t);class Lp{constructor(e,t,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:i=!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=$p(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Bp(e.x,t.x),o=Bp(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:i}=Ra;this.history.push({...o,timestamp:i});const{onStart:r,onMove:s}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Dp(t,this.transformPagePoint),za.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:o,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const r=$p("pointercancel"===e.type?this.lastMoveEventInfo:Dp(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),o&&o(e,r)},!Ep(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=o||window;const r=Dp(Vp(e),this.transformPagePoint),{point:s}=r,{timestamp:a}=Ra;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,$p(r,this.history)),this.removeListeners=md(Fp(this.contextWindow,"pointermove",this.handlePointerMove),Fp(this.contextWindow,"pointerup",this.handlePointerUp),Fp(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ea(this.updatePoint)}}function Dp(e,t){return t?{point:t(e.point)}:e}function Op(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $p({point:e},t){return{point:e,delta:Op(e,Hp(t)),offset:Op(e,Ip(t)),velocity:Np(t,.1)}}function Ip(e){return e[0]}function Hp(e){return e[e.length-1]}function Np(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=Hp(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Bc(t)));)n--;if(!o)return{x:0,y:0};const r=Lc(i.timestamp-o.timestamp);if(0===r)return{x:0,y:0};const s={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function _p(e){return e.max-e.min}function Wp(e,t,n,o=.5){e.origin=o,e.originPoint=sd(t.min,t.max,e.origin),e.scale=_p(n)/_p(t),e.translate=sd(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 Up(e,t,n,o){Wp(e.x,t.x,n.x,o?o.originX:void 0),Wp(e.y,t.y,n.y,o?o.originY:void 0)}function Zp(e,t,n){e.min=n.min+t.min,e.max=e.min+_p(t)}function Yp(e,t,n){e.min=t.min-n.min,e.max=e.min+_p(t)}function Gp(e,t,n){Yp(e.x,t.x,n.x),Yp(e.y,t.y,n.y)}function qp(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 Kp(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 Xp=.35;function Jp(e,t,n){return{min:Qp(e,t),max:Qp(e,n)}}function Qp(e,t){return"number"==typeof e?e:e[t]||0}const eh=()=>({x:{min:0,max:0},y:{min:0,max:0}});function th(e){return[e("x"),e("y")]}function nh({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function oh(e){return void 0===e||1===e}function ih({scale:e,scaleX:t,scaleY:n}){return!oh(e)||!oh(t)||!oh(n)}function rh(e){return ih(e)||sh(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function sh(e){return ah(e.x)||ah(e.y)}function ah(e){return e&&"0%"!==e}function lh(e,t,n){return n+t*(e-n)}function ch(e,t,n,o,i){return void 0!==i&&(e=lh(e,i,o)),lh(e,n,o)+t}function uh(e,t=0,n=1,o,i){e.min=ch(e.min,t,n,o,i),e.max=ch(e.max,t,n,o,i)}function dh(e,{x:t,y:n}){uh(e.x,t.translate,t.scale,t.originPoint),uh(e.y,n.translate,n.scale,n.originPoint)}const ph=.999999999999,hh=1.0000000000001;function mh(e,t){e.min=e.min+t,e.max=e.max+t}function fh(e,t,n,o,i=.5){uh(e,t,n,sd(e.min,e.max,i),o)}function gh(e,t){fh(e.x,t.x,t.scaleX,t.scale,t.originX),fh(e.y,t.y,t.scaleY,t.scale,t.originY)}function xh(e,t){return nh(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 vh=({current:e})=>e?e.ownerDocument.defaultView:null,yh=new WeakMap;class bh{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 Lp(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Vp(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:i}=this.getProps();if(n&&!o&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(r=n)||"y"===r?Ap[r]?null:(Ap[r]=!0,()=>{Ap[r]=!1}):Ap.x||Ap.y?null:(Ap.x=Ap.y=!0,()=>{Ap.x=Ap.y=!1}),!this.openDragLock))return;var r;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),th((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Fl.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=_p(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),i&&za.postRender((()=>i(e,t))),Ac(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:i,onDrag:r}=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&&i&&i(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),r&&r(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>th((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:vh(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&za.postRender((()=>i(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||!wh(e,o,this.currentDirection))return;const i=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?sd(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?sd(n,e,o.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),i.set(r)}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,i=this.constraints;t&&el(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!o)&&function(e,{top:t,left:n,bottom:o,right:i}){return{x:qp(e.x,n,i),y:qp(e.y,t,o)}}(o.layoutBox,t),this.elastic=function(e=Xp){return!1===e?e=0:!0===e&&(e=Xp),{x:Jp(e,"left","right"),y:Jp(e,"top","bottom")}}(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&th((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||!el(e))return!1;const n=e.current;Ma(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 i=function(e,t,n){const o=xh(e,n),{scroll:i}=t;return i&&(mh(o.x,i.offset.x),mh(o.y,i.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:Kp(e.x,t.x),y:Kp(e.y,t.y)}}(o.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=nh(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=th((s=>{if(!wh(s,t,this.currentDirection))return;let l=a[s]||{};r&&(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,...i,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return Ac(this.visualElement,e),n.start(pp(e,n,0,t,this.visualElement,!1))}stopAnimation(){th((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){th((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){th((t=>{const{drag:n}=this.getProps();if(!wh(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:r}=o.layout.layoutBox[t];i.set(e[t]-sd(n,r,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!el(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};th((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=_p(e),i=_p(t);return i>o?n=_c(t.min,t.max-o,e.min):o>i&&(n=_c(e.min,e.max-i,t.min)),Pl(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),th((t=>{if(!wh(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:r}=this.constraints[t];n.set(sd(i,r,o[t]))}))}addListeners(){if(!this.visualElement.current)return;yh.set(this.visualElement,this);const e=Fp(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();el(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()),za.read(t);const i=Rp(window,"resize",(()=>this.scalePositionWithinConstraints())),r=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(th((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{i(),e(),o(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:r=Xp,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:r,dragMomentum:s}}}function wh(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const jh=e=>(t,n)=>{e&&za.postRender((()=>e(t,n)))};const Ch={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Sh={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Bl.test(e))return e;e=parseFloat(e)}return`${kh(e,t.target.x)}% ${kh(e,t.target.y)}%`}},Mh={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=Su.parse(e);if(i.length>5)return o;const r=Su.createTransformer(e),s="number"!=typeof i[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const c=sd(a,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=c),"number"==typeof i[3+s]&&(i[3+s]/=c),r(i)}};class Th extends f{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=e;!function(e){for(const t in e)nc[t]=e[t],Cl(t)&&(nc[t].isCSSVariable=!0)}(Ah),i&&(t.group&&t.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ch.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:i}=this.props,r=n.projection;return r?(r.isPresent=i,o||e.layoutDependency!==t||void 0===t?r.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?r.promote():r.relegate()||za.postRender((()=>{const e=r.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),il.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 Ph(e){const[t,n]=function(e=!0){const t=c(ba);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=t,a=u();i((()=>{e&&r(a)}),[e]);const l=s((()=>e&&o&&o(a)),[a,o,e]);return!n&&o?[!1,l]:[!0]}(),o=c(ya);return On.jsx(Th,{...e,layoutGroup:o,switchLayoutGroup:c(sl),isPresent:t,safeToRemove:n})}const Ah={borderRadius:{...Sh,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Sh,borderTopRightRadius:Sh,borderBottomLeftRadius:Sh,borderBottomRightRadius:Sh,boxShadow:Mh};const zh=(e,t)=>e.depth-t.depth;class Eh{constructor(){this.children=[],this.isDirty=!1}add(e){jc(this.children,e),this.isDirty=!0}remove(e){Cc(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(zh),this.isDirty=!1,this.children.forEach(e)}}const Rh=["TopLeft","TopRight","BottomLeft","BottomRight"],Vh=Rh.length,Fh=e=>"string"==typeof e?parseFloat(e):e,Bh=e=>"number"==typeof e||Bl.test(e);function Lh(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Dh=$h(0,.5,iu),Oh=$h(.5,.95,ka);function $h(e,t,n){return o=>o<e?0:o>t?1:n(_c(e,t,o))}function Ih(e,t){e.min=t.min,e.max=t.max}function Hh(e,t){Ih(e.x,t.x),Ih(e.y,t.y)}function Nh(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function _h(e,t,n,o,i){return e=lh(e-=t,1/n,o),void 0!==i&&(e=lh(e,1/i,o)),e}function Wh(e,t,[n,o,i],r,s){!function(e,t=0,n=1,o=.5,i,r=e,s=e){Fl.test(t)&&(t=parseFloat(t),t=sd(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=sd(r.min,r.max,o);e===r&&(a-=t),e.min=_h(e.min,t,n,a,i),e.max=_h(e.max,t,n,a,i)}(e,t[n],t[o],t[i],t.scale,r,s)}const Uh=["x","scaleX","originX"],Zh=["y","scaleY","originY"];function Yh(e,t,n,o){Wh(e.x,t,Uh,n?n.x:void 0,o?o.x:void 0),Wh(e.y,t,Zh,n?n.y:void 0,o?o.y:void 0)}function Gh(e){return 0===e.translate&&1===e.scale}function qh(e){return Gh(e.x)&&Gh(e.y)}function Kh(e,t){return e.min===t.min&&e.max===t.max}function Xh(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Jh(e,t){return Xh(e.x,t.x)&&Xh(e.y,t.y)}function Qh(e){return _p(e.x)/_p(e.y)}function em(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class tm{constructor(){this.members=[]}add(e){jc(this.members,e),e.scheduleRender()}remove(e){if(Cc(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 nm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},om="undefined"!=typeof window&&void 0!==window.MotionDebug,im=["","X","Y","Z"],rm={visibility:"hidden"};let sm=0;function am(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function lm(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=zc(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",za,!(t||o))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&lm(o)}function cm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=sm++,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,om&&(nm.totalNodes=nm.resolvedTargetDeltas=nm.recalculatedProjection=0),this.nodes.forEach(pm),this.nodes.forEach(ym),this.nodes.forEach(bm),this.nodes.forEach(hm),om&&window.MotionDebug.record(nm)},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 Eh)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new kc),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:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||i)&&(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=wc.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(Ea(o),e(r-t))};return za.read(o,!0),()=>Ea(o)}(o,250),Ch.hasAnimatedSinceResize&&(Ch.hasAnimatedSinceResize=!1,this.nodes.forEach(vm))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&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 i=this.options.transition||s.getDefaultTransition()||Mm,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Jh(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={...xc(i,"layout"),onPlay:r,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||vm(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,Ea(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(wm),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&&lm(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(fm);this.isUpdating||this.nodes.forEach(gm),this.isUpdating=!1,this.nodes.forEach(xm),this.nodes.forEach(um),this.nodes.forEach(dm),this.clearAllSnapshots();const e=wc.now();Ra.delta=Pl(0,1e3/60,e-Ra.timestamp),Ra.timestamp=e,Ra.isProcessing=!0,Va.update.process(Ra),Va.preRender.process(Ra),Va.render.process(Ra),Ra.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,il.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(mm),this.sharedNodes.forEach(jm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,za.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){za.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||_p(this.snapshot.measuredBox.x)||_p(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(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!qh(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,r=o!==this.prevTransformTemplateValue;e&&(t||rh(this.latestValues)||r)&&(i(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)),Am((o=n).x),Am(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(Em))){const{scroll:e}=this.root;e&&(mh(n.x,e.offset.x),mh(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(Hh(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:i,options:r}=o;o!==this.root&&i&&r.layoutScroll&&(i.wasRoot&&Hh(n,e),mh(n.x,i.offset.x),mh(n.y,i.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Hh(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&&gh(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),rh(o.latestValues)&&gh(n,o.latestValues)}return rh(this.latestValues)&&gh(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Hh(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!rh(n.latestValues))continue;ih(n.latestValues)&&n.updateSnapshot();const o={x:{min:0,max:0},y:{min:0,max:0}};Hh(o,n.measurePageBox()),Yh(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return rh(this.latestValues)&&Yh(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!==Ra.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:i,layoutId:r}=this.options;if(this.layout&&(i||r)){if(this.resolvedRelativeTargetAt=Ra.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}},Gp(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Hh(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,Zp(s.x,a.x,l.x),Zp(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Hh(this.target,this.layout.layoutBox),dh(this.target,this.targetDelta)):Hh(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}},Gp(this.relativeTargetOrigin,this.target,e.target),Hh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}om&&nm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ih(this.parent.latestValues)&&!sh(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===Ra.timestamp&&(o=!1),o)return;const{layout:i,layoutId:r}=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||!i&&!r)return;Hh(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const i=n.length;if(!i)return;let r,s;t.x=t.y=1;for(let a=0;a<i;a++){r=n[a],s=r.projectionDelta;const{visualElement:i}=r.options;i&&i.props.style&&"contents"===i.props.style.display||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&gh(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,dh(e,s)),o&&rh(r.latestValues)&&gh(e,r.latestValues))}t.x<hh&&t.x>ph&&(t.x=1),t.y<hh&&t.y>ph&&(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?(Nh(this.prevProjectionDelta.x,this.projectionDelta.x),Nh(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Up(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&em(this.projectionDelta.x,this.prevProjectionDelta.x)&&em(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),om&&nm.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:{},i={...this.latestValues},r={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(Sm));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,p;Cm(r.x,e.x,n),Cm(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Gp(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){km(e.x,t.x,n.x,o),km(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&(l=this.relativeTarget,p=d,Kh(l.x,p.x)&&Kh(l.y,p.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Hh(d,this.relativeTarget)),a&&(this.animationValues=i,function(e,t,n,o,i,r){i?(e.opacity=sd(0,void 0!==n.opacity?n.opacity:1,Dh(o)),e.opacityExit=sd(void 0!==t.opacity?t.opacity:1,0,Oh(o))):r&&(e.opacity=sd(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let i=0;i<Vh;i++){const r=`border${Rh[i]}Radius`;let s=Lh(t,r),a=Lh(n,r);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Bh(s)===Bh(a)?(e[r]=Math.max(sd(Fh(s),Fh(a),o),0),(Fl.test(a)||Fl.test(s))&&(e[r]+="%")):e[r]=a)}(t.rotate||n.rotate)&&(e.rotate=sd(t.rotate||0,n.rotate||0,o))}(i,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&&(Ea(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=za.update((()=>{Ch.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=gl(e)?e:Tc(e);return o.start(pp("",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:i}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&zm(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=_p(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=_p(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}Hh(t,n),gh(t,i),Up(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new tm);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&&am("z",e,o,this.animationValues);for(let t=0;t<im.length;t++)am(`rotate${im[t]}`,e,o,this.animationValues),am(`skew${im[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 rm;const o={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=xl(null==e?void 0:e.pointerEvents)||"",o.transform=i?i(this.latestValues,""):"none",o;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=xl(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!rh(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const s=r.animationValues||r.latestValues;this.applyTransformsToTarget(),o.transform=function(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:i,rotateY:r,skewX:s,skewY:a}=n;e&&(o=`perspective(${e}px) ${o}`),t&&(o+=`rotate(${t}deg) `),i&&(o+=`rotateX(${i}deg) `),r&&(o+=`rotateY(${r}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),i&&(o.transform=i(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,r.animationValues?o.opacity=r===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=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in nc){if(void 0===s[e])continue;const{correct:t,applyTo:n,isCSSVariable:i}=nc[e],a="none"===o.transform?s[e]:t(s[e],r);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=a}else i?this.options.visualElement.renderState.vars[e]=a:o[e]=a}return this.options.layoutId&&(o.pointerEvents=r===this?xl(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(fm),this.root.sharedNodes.clear()}}}function um(e){e.updateLayout()}function dm(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:i}=e.options,r=n.source!==e.layout.source;"size"===i?th((e=>{const o=r?n.measuredBox[e]:n.layoutBox[e],i=_p(o);o.min=t[e].min,o.max=o.min+i})):zm(i,n.layoutBox,t)&&th((o=>{const i=r?n.measuredBox[o]:n.layoutBox[o],s=_p(t[o]);i.max=i.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}};Up(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?Up(a,e.applyTransform(o,!0),n.measuredBox):Up(a,t,n.layoutBox);const l=!qh(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:i,layout:r}=o;if(i&&r){const s={x:{min:0,max:0},y:{min:0,max:0}};Gp(s,n.layoutBox,i.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Gp(a,t,r.layoutBox),Jh(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 pm(e){om&&nm.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 hm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mm(e){e.clearSnapshot()}function fm(e){e.clearMeasurements()}function gm(e){e.isLayoutDirty=!1}function xm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ym(e){e.resolveTargetDelta()}function bm(e){e.calcProjection()}function wm(e){e.resetSkewAndRotation()}function jm(e){e.removeLeadSnapshot()}function Cm(e,t,n){e.translate=sd(t.translate,0,n),e.scale=sd(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function km(e,t,n,o){e.min=sd(t.min,n.min,o),e.max=sd(t.max,n.max,o)}function Sm(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Mm={duration:.45,ease:[.4,0,.1,1]},Tm=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Pm=Tm("applewebkit/")&&!Tm("chrome/")?Math.round:ka;function Am(e){e.min=Pm(e.min),e.max=Pm(e.max)}function zm(e,t,n){return"position"===e||"preserve-aspect"===e&&(o=Qh(t),i=Qh(n),r=.2,!(Math.abs(o-i)<=r));var o,i,r}function Em(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const Rm=cm({attachResizeListener:(e,t)=>Rp(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Vm={current:void 0},Fm=cm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Vm.current){const e=new Rm({});e.mount(window),e.setOptions({layoutScroll:!0}),Vm.current=e}return Vm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Bm={pan:{Feature:class extends Mp{constructor(){super(...arguments),this.removePointerDownListener=ka}onPointerDown(e){this.session=new Lp(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:vh(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:jh(e),onStart:jh(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&za.postRender((()=>o(e,t)))}}}mount(){this.removePointerDownListener=Fp(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 Mp{constructor(e){super(e),this.removeGroupControls=ka,this.removeListeners=ka,this.controls=new bh(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ka}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Fm,MeasureLayout:Ph}};function Lm(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 Dm(e){return!("touch"===e.pointerType||zp())}function Om(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover","Start"===n);const i=o["onHover"+n];i&&za.postRender((()=>i(t,Vp(t))))}const $m=(e,t)=>!!t&&(e===t||$m(e,t.parentElement)),Im=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const Hm=new WeakSet;function Nm(e){return t=>{"Enter"===t.key&&e(t)}}function _m(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function Wm(e){return Ep(e)&&!zp()}function Um(e,t,n={}){const[o,i,r]=Lm(e,n),s=e=>{const o=e.currentTarget;if(!Wm(e)||Hm.has(o))return;Hm.add(o);const r=t(o,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),Wm(e)&&Hm.has(o)&&(Hm.delete(o),"function"==typeof r&&r(e,{success:t}))},a=e=>{s(e,n.useGlobalTarget||$m(o,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return o.forEach((e=>{(function(e){return Im.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const o=Nm((()=>{if(Hm.has(n))return;_m(n,"down");const e=Nm((()=>{_m(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>_m(n,"cancel")),t)}));n.addEventListener("keydown",o,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",o)),t)})(e,i)),i)})),r}function Zm(e,t,n){const{props:o}=e;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap","Start"===n);const i=o["onTap"+("End"===n?"":n)];i&&za.postRender((()=>i(t,Vp(t))))}const Ym=new WeakMap,Gm=new WeakMap,qm=e=>{const t=Ym.get(e.target);t&&t(e)},Km=e=>{e.forEach(qm)};function Xm(e,t,n){const o=function({root:e,...t}){const n=e||document;Gm.has(n)||Gm.set(n,{});const o=Gm.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Km,{root:e,...t})),o[i]}(t);return Ym.set(e,n),o.observe(e),()=>{Ym.delete(e),o.unobserve(e)}}const Jm={some:0,all:1};const Qm={inView:{Feature:class extends Mp{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:i}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:Jm[o]};return Xm(this.node.current,r,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!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(),r=t?n:o;r&&r(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 Mp{mount(){const{current:e}=this.node;e&&(this.unmount=Um(e,((e,t)=>(Zm(this.node,t,"Start"),(e,{success:t})=>Zm(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends Mp{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=md(Rp(this.node.current,"focus",(()=>this.onFocus())),Rp(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Mp{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[o,i,r]=Lm(e,n),s=e=>{if(!Dm(e))return;const{target:n}=e,o=t(n,e);if("function"!=typeof o||!n)return;const r=e=>{Dm(e)&&(o(e),n.removeEventListener("pointerleave",r))};n.addEventListener("pointerleave",r,i)};return o.forEach((e=>{e.addEventListener("pointerenter",s,i)})),r}(e,((e,t)=>(Om(this.node,t,"Start"),e=>Om(this.node,e,"End")))))}unmount(){}}}},ef={layout:{ProjectionNode:Fm,MeasureLayout:Ph}},tf={current:null},nf={current:!1};const of=[...Ku,gu,Su],rf=new WeakMap;const sf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class af{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Uu,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=wc.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,za.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=r;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(i),this.isControllingVariants=qa(t),this.isVariantNode=Ka(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]&&gl(t)&&t.set(a[e],!1)}}mount(e){this.current=e,rf.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))),nf.current||function(){if(nf.current=!0,ja)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tf.current=e.matches;e.addListener(t),t()}else tf.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tf.current),"production"!==process.env.NODE_ENV&&Na(!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(){rf.delete(this.current),this.projection&&this.projection.unmount(),Ea(this.notifyUpdate),Ea(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=wl.has(e),o=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&za.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),i=t.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{o(),i(),r&&r(),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 La){const t=La[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<sf.length;t++){const n=sf[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 i=t[o],r=n[o];if(gl(i))e.addValue(o,i),"development"===process.env.NODE_ENV&&Na("12.0.6"===i.version,`Attempting to mix Motion versions ${i.version} with 12.0.6 may not work as expected.`);else if(gl(r))e.addValue(o,Tc(i,{owner:e}));else if(r!==i)if(e.hasValue(o)){const t=e.getValue(o);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,Tc(void 0!==t?t:i,{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=Tc(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 i;return null!=o&&("string"==typeof o&&(Zu(o)||su(o))?o=parseFloat(o):(i=o,!of.find(qu(i))&&Su.test(t)&&(o=Ru(e,t))),this.setBaseTarget(e,gl(o)?o.get():o)),gl(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 i=ml(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(o=i[e])}if(n&&void 0!==o)return o;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||gl(i)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new kc),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class lf extends af{constructor(){super(...arguments),this.KeyframeResolver=Ju}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;gl(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class cf extends lf{constructor(){super(...arguments),this.type="html",this.renderInstance=Ql}readValueFromInstance(e,t){if(wl.has(t)){const e=Eu(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),i=(Cl(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return xh(e,t)}build(e,t,n){Ul(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return ic(e,t,n)}}class uf extends lf{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eh}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(wl.has(t)){const e=Eu(t);return e&&e.default||0}return t=ec.has(t)?t:nl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return rc(e,t,n)}build(e,t,n){ql(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,o){tc(e,t,0,o)}mount(e){this.isSVGTag=Jl(e.tagName),super.mount(e)}}const df=(e,t)=>pl(e)?new uf(t):new cf(t,{allowProjection:e!==n}),pf=_a(mc({...Pp,...Qm,...Bm,...ef},df)),hf=y((({children:e,loading:t,sizing:n,...o})=>On.jsxs(jr,{...o,sizing:n,loading:t,children:[t&&On.jsx(Hi,{sizing:n}),On.jsx(j,{...t?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:n})=>({color:e.custom.palette.text.primary,...n&&{...br(n)},...n&&{...wr(n)},...n&&{...yr(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&&{...pr(e)},..."outlined"===t&&{...hr(e)},..."secondary"===t&&{...mr(e)},..."primary"===t&&{...fr(e)}}))),mf=({sizing:e="lg",variation:t="primary",...n})=>On.jsx(hf,{variation:t,sizing:e,...n}),ff=y(Ve)((({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}`}}))),gf=y(j)((({theme:e})=>({display:"flex",flexDirection:"column",padding:`0 0 ${e.spacing(e.custom.padding.md)} ${e.spacing(e.custom.padding.sm)}`}))),xf=e=>({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.spacing(e.custom.padding.sm),marginTop:e.spacing(e.custom.margin.xs)}),vf=y(Ri)((({theme:e})=>({[`&.${S.root}`]:{...xf(e),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.link},"&:hover":{"> .MuiTypography-root:first-child":{textDecoration:"underline"},"& .MuiSvgIcon-root":{color:e.custom.palette.icon.linkHover}}}}))),yf=y(j)((({theme:e})=>({[`&.${R.root}`]:{...xf(e),"& .MuiTypography-root":{color:"inherit"}}}))),bf=y(Fi)((()=>({color:"inherit",fontWeight:500,fontSize:dr.lg}))),wf=y(Fi)((({theme:e})=>({fontWeight:400,textDecoration:"none",color:e.custom.palette.text.secondary,flexBasis:"100%"}))),jf=({children:e,complete:t,url:n})=>t?On.jsx(yf,{children:e}):On.jsx(vf,{underline:"none",href:n,target:"_self",children:e}),Cf=({complete:e,title:t,description:n,url:o})=>On.jsx(gf,{children:On.jsxs(jf,{complete:e,url:o,children:[On.jsx(bf,{component:"p",variation:"lg",children:t}),!e&&On.jsx(Ci,{name:"arrow-right",size:16}),!e&&n&&On.jsx(wf,{variation:"lg",component:"p",children:n})]})}),kf=({item:e,showConnector:t})=>{const{complete:n,title:o,description:i,url:r}=e;return On.jsxs(Be,{children:[On.jsxs(Le,{children:[On.jsx(ff,{completed:n,children:n?On.jsx(Ci,{name:"badge-tick-in-circle",size:24}):void 0}),t&&On.jsx(De,{sx:{backgroundColor:e=>e.custom.palette.icon.disabled}})]}),e&&On.jsx(Oe,{component:()=>On.jsx(Cf,{complete:n,title:o,description:i,url:r})})]})},Sf=({expanded:e,onToggleExpanded:t,items:n})=>{const s=n.find((e=>!e.complete)),l=a((()=>e?n:[s]),[e]),c=o(null),[u,d]=r("auto");return i((()=>{if(!c.current)return;const e=c.current.scrollHeight+1.5*wn;d(e)}),[e,n]),On.jsx(pf.div,{initial:!1,animate:{height:u},transition:{duration:.4,ease:[.645,.045,.355,1]},style:{overflow:"hidden",paddingBottom:1.5*wn},children:On.jsx("div",{ref:c,children:On.jsxs(va,{sx:{paddingLeft:e=>e.spacing(e.custom.padding.xs),[`& .${Fe.root}`]:{minHeight:0,":before":{flex:0,padding:0}}},children:[l.map(((e,t)=>{const n=t<l.length-1;return e&&e?.title===s?.title?On.jsx(kf,{item:e,showConnector:l.length>1?n:!!s?.description},e.title):e&&On.jsx(kf,{item:e,showConnector:n},e.title)})),!e&&On.jsx(j,{sx:{marginTop:e=>e.spacing(e.custom.margin.md),alignSelf:"center"},children:On.jsx(mf,{endIcon:On.jsx(Ci,{name:"chevron-down",size:16}),sizing:"xs",variation:"outlined",onClick:t,children:"Show more"})})]})})})},Mf=({completed:e,total:t})=>On.jsx(Fi,{component:"p",variation:"lg",sx:{fontWeight:500},children:`${e} of ${t} tasks completed`}),Tf=({cardTitle:e,cardSubtitle:t,welcomeImageUrl:n,welcomeImageAltDescription:o,items:i=[]})=>{const[s,a]=r(!0),l=Ps(),c=()=>a(!s),u=i.length,d=i.filter((e=>e.complete)).length,p=d/u*100;return On.jsxs(Ai,{variation:"raised",borderradius:"lg",sx:{display:"flex",flexDirection:"xl"===l?"row":"column",gap:e=>e.spacing(e.custom.margin.lg),padding:e=>e.spacing(e.custom.padding.lg)},children:[On.jsxs(Es,{children:[On.jsx(j,{component:"img",src:n,alt:o,width:"72px",height:"72px"}),On.jsx(Fi,{component:"h1",variation:"md",fontWeight:500,children:e}),On.jsx(Vs,{component:"p",variation:"lg",children:t})]}),On.jsxs(Rs,{children:[On.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",alignItems:"start",width:"100%",height:"36px",paddingBottom:e=>e.spacing(e.custom.padding.sm)},children:[On.jsx(Mf,{completed:d,total:u}),s&&On.jsx(Qi,{sizing:"sm",variation:"outlined",icon:On.jsx(je,{}),onClick:c})]}),On.jsx(zs,{variation:"determinate",value:p}),On.jsx(Sf,{expanded:s,onToggleExpanded:c,items:i})]})]})},Pf={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},Af=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},zf=(e,t,n)=>({maxLength:{value:n||255,message:`Maximum character limit of ${n||255}.`},...t&&{required:e?`Please enter ${Af(e)} ${e}`:"This field is required"}}),Ef=zf().maxLength.value,Rf=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"}}),Vf=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,Ff=(e,t)=>{switch(t){case"tone1":default:return Vf(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%, ${Z(e.custom.palette.blue[1e3],.2)} 0%, ${Z(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},Bf=(e,t)=>{const n=Ff(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(",")},Lf=({logo:e,headerText:t,subText:n})=>{const o=w();return On.jsxs(O,{gap:o.spacing(o.custom.margin.md),alignItems:"center",mb:o.spacing(o.custom.margin.lg),children:[!1===e?null:e||On.jsx(Ci,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),On.jsxs(O,{gap:o.spacing(o.custom.margin.md),children:[t&&On.jsx(Fi,{variation:"sm",component:"h1",align:"center",weight:"bold",children:t}),function(){if(n)return"string"==typeof n?On.jsx(Fi,{variation:"md",component:"p",align:"center",children:n}):n}()]})]})},Df=({variation:e="primary",...t})=>{if("primary"===e)return On.jsx(Y,{...t})},Of=({label:e,sx:t,...n})=>{const o=w(),i=e?o.custom.margin.md:0;return On.jsx(G,{label:e||"",sx:ye({ml:0,"&.Mui-disabled":{color:o.custom.palette.text.disabled},"&.Mui-error":{color:o.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:i,color:"inherit",fontSize:{xs:cr.sm.body.md,sm:cr.sm.body.md,md:cr.sm.body.md,lg:cr.lg.body.md,xl:cr.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:i}}},t),...n})},$f=y(q)((({theme:e,sizing:t})=>({height:"default"===t?bn[300]:bn[400],width:"default"===t?bn[300]:bn[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?ji.sm:ji.xl,height:"default"===t?ji.sm:ji.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}}}))),If=e=>On.jsx($f,{checkedIcon:On.jsx(Ce,{}),indeterminateIcon:On.jsx(ke,{}),...e}),Hf=({internalChange:e,checkboxLabel:t,indeterminate:n,sizing:o="default",onChange:i,inputRef:r,value:s,...a})=>void 0===s?On.jsx(j,{}):On.jsx(Of,{inputRef:r,label:t,checked:s,control:On.jsx(If,{sizing:o,indeterminate:n}),onChange:(t,n)=>{i&&i(t,n),e&&e()},...a}),Nf=y(K)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:ji.xl,height:ji.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:cr.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"}}}}}))),_f=({startAdornment:e,endAdornment:t,placeholder:n,onChange:o,internalChange:i,inputRef:r,...s})=>On.jsx(Nf,{placeholder:n,sx:{height:bn[500],"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:r,InputProps:{startAdornment:e?On.jsx(X,{position:"start",sx:{pl:1},children:e}):null,endAdornment:t?On.jsx(X,{position:"start",sx:{pr:1},children:t}):null},...s,onChange:e=>{o&&o(e),i&&i()}}),Wf=({sizing:e,options:t,other:n,internalChange:o,value:i,inputRef:r,onChange:s})=>{const a=n?.name||"other-option",l=`${a}-value-`,c=e=>`${l}${e}`,u=n?.enabled,d=i?.includes(a)&&u,p=i?.find((e=>e.includes(l)));if(!i)return On.jsx("div",{});const h=(e,r)=>{let c=i.includes(e)?i.filter((t=>t!==e)):r?[e]:[...new Set(i),e];if(r||(c=c.filter((e=>!t.find((t=>t?.exclusive&&e===t.value))))),n?.enabled){!i.includes(a)||e!==a||(c=c.filter((e=>!e.includes(l))))}s(c),o&&o()};return On.jsxs(On.Fragment,{children:[On.jsxs(J,{sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiCheckbox-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},children:[t?t.map(((t,n)=>{const o=t.value;return On.jsx(Of,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"},"& .MuiTypography-root":{mt:"default"!==e?.5:0}},onChange:()=>h(o,t.exclusive),checked:i.includes(o),control:On.jsx(If,{sizing:e}),label:t.label},o)})):null,u&&On.jsx(Of,{inputRef:r,onChange:()=>h(a),label:n?.label||"Other",checked:i.includes(a),control:On.jsx(If,{sizing:e})},a)]}),d&&On.jsx(j,{sx:{mt:1},children:On.jsx(_f,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(l,""):"",placeholder:n?.placeholder,onChange:e=>{const t=i.find((e=>e.includes(l))),n=(t?i.map((t=>t.includes(l)?c(e.target.value):t)):[...i,c(e.target.value)]).filter((e=>e!==l));s(n),o&&o()},required:!0})})]})},Uf=({sx:e,children:t,texture:n="noise1",gradient:o="tone1",...i})=>{const r=w();return On.jsx(A,{maxWidth:!1,disableGutters:!0,sx:ye({background:Bf(r,{texture:n,gradient:o}),height:"100%",p:[0,0,0]},!!e&&{...e}),...i,children:t})},Zf=({inputField:e,onChange:t,internalChange:n,transformValue:o,...i})=>{const r=e;return On.jsx(r,{onChange:e=>{t&&t(o?o(e):e),n&&n()},...i})},Yf=y(Q)((({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}}))),Gf=e=>On.jsx(Yf,{...e}),qf=e=>{const{icon:t=null,state:n="default",disabled:o,showicon:i=!0}=e,r=w();return On.jsxs(j,{sx:{display:"inline-flex",alignItems:"center",color:o?r.custom.palette.text.disabled:(()=>{switch(n){case"disabled":return r.custom.palette.text.disabled;case"positive":return r.custom.palette.text.positive;case"negative":return r.custom.palette.text.negative;default:return r.custom.palette.text.secondary}})(),"& svg":{marginRight:r.spacing(r.custom.margin.xs),width:ji.xs,height:ji.xs,color:"inherit"}},children:[(()=>{if(!i)return null;if(t)return t;switch(n){case"disabled":default:return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(Se,{})});case"positive":return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(Ce,{})});case"negative":return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(Me,{})})}})(),On.jsx(Gf,{...e,sx:{fontSize:{xs:cr.sm.body.sm,sm:cr.sm.body.sm,md:cr.sm.body.sm,lg:cr.lg.body.sm,xl:cr.lg.body.sm}}})]})},Kf=y(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:bn[50],height:bn[50],top:`calc(100% + ${bn[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:bn[50],height:bn[50],top:`calc(100% + ${bn[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Xf=({children:e,width:t})=>On.jsx(Kf,{sx:{width:t,minWidth:300},children:e}),Jf=y(ee)((({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?bn[300]:bn[400],width:"default"===t?bn[300]:bn[400],"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&ji.sm,height:"default"===t&&ji.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}}}}))),Qf=e=>On.jsx(Jf,{...e}),eg=y(Qf)((()=>({marginRight:0}))),tg=y(j)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:bn[50],width:`calc(100% - ${bn[400]}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),ng=e=>On.jsx(tg,{sx:{position:"relative"},children:On.jsx(eg,{...e})}),og=({disabled:e=!1,onChange:t,labelLeft:n,labelRight:o,internalChange:i,labelCenter:r})=>{const s=[...Array(7).keys()];return On.jsx(te,{children:On.jsxs(Xf,{children:[On.jsx(ne,{container:!0,justifyContent:"space-between",children:s.map(((n,o)=>{const r=o+1!==s.length;return On.jsx(ne,{item:!0,sm:r,children:On.jsx(ng,{disabled:e,value:n,onChange:(e,n)=>{t&&t(e,n),i&&i()},name:`radio-option-${n}`},n)},n)}))}),On.jsxs(ne,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[On.jsx(ne,{item:!0,sm:!0,sx:{textAlign:"left"},children:On.jsx(qf,{disabled:e,showicon:!1,children:n})}),On.jsx(ne,{item:!0,sm:!0,sx:{textAlign:"center"},children:On.jsx(qf,{disabled:e,align:"center",showicon:!1,children:r})}),On.jsx(ne,{item:!0,sm:!0,sx:{textAlign:"right"},children:On.jsx(qf,{disabled:e,align:"right",showicon:!1,children:o})})]})]})})},ig=y(oe)((({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:Z(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),rg=({open:e,anchorEl:t,handleClick:n,handleClose:o,items:i,...r})=>On.jsx(On.Fragment,{children:On.jsx(ig,{anchorEl:t,open:e,onClose:o,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...r,children:i?.map(((e,t)=>On.jsxs(ie,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&On.jsx(j,{mr:1,children:e.icon}),e.label]},t)))})}),sg=()=>{const[e,n]=t.useState(null);return{open:Boolean(e),handleClick:e=>{n(e.currentTarget)},handleClose:()=>{n(null)},anchorEl:e}},ag=({children:e,...t})=>e,lg=({sx:e,...t})=>On.jsx(Gf,{...t,sx:ye({fontSize:{xs:cr.sm.body.md,sm:cr.sm.body.md,md:cr.sm.body.md,lg:cr.lg.body.md,xl:cr.lg.body.md}},!!e&&{...e})}),cg=y(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:bn[200],borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${bn[200]}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:bn[200],borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${bn[200]}px)`}}}}}))),ug=({children:e,width:t})=>On.jsx(cg,{sx:{width:t},children:e}),dg=y(qf)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),pg=({disabled:e,children:t})=>On.jsx(dg,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),hg=y(Qf)((()=>({marginRight:0}))),mg=y(j)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:bn[50],width:`calc(50% - ${bn[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:bn[50],width:`calc(50% - ${bn[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),fg=e=>On.jsx(mg,{sx:{textAlign:"center",position:"relative"},children:On.jsx(hg,{...e})}),gg=({options:e=[],disabled:t=!1,sizing:n="lg",onChange:o,internalChange:i,value:r})=>{const s=w();function a(e){console.warn(e),o(e.value),i&&i()}return On.jsx(j,{children:On.jsx(ug,{children:On.jsx(ne,{container:!0,justifyContent:"space-between",children:e.map((e=>On.jsxs(ne,{item:!0,sm:!0,onClick:()=>a(e),sx:{...!t&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!t&&{backgroundColor:s.custom.palette.input.default,borderColor:s.custom.palette.stroke.focus,boxShadow:s.custom.boxShadow.input.focus},"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:s.custom.palette.purple[500]}}}},children:[On.jsx(fg,{sizing:n,disabled:t,onChange:t=>a(e),checked:r===e.value},e.value),On.jsx(j,{sx:{mt:jn.xs,width:"100%"},children:On.jsx(pg,{disabled:t,children:e.label})})]},e.value)))})})})},xg=h(((e,n)=>{const{decimalSeparator:o,thousandSeparator:i,value:r,...s}=e,a=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return On.jsx(Ze,{...s,value:r??"",getInputRef:n,thousandSeparator:i??a,decimalSeparator:o??l})})),vg=({disabled:e=!1,InputProps:t,inputProps:n,placeholder:o,hideActionButtons:i=!1,max:s=1/0,min:a=-1/0,startAdornment:l,endAdornment:c,internalChange:u,numericFormatProps:d,onChange:p,step:h=1,value:m,...f})=>{const g=w(),[x,v]=r(m),y=x,b=e=>{v(e),p&&p(e),u&&u()},j=()=>{const e=(null==y||Number.isNaN(y)?0:y)+h;e>s||b(e)},C=()=>{const e=(null==y||Number.isNaN(y)?0:y)-h;e<a||b(e)},k={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=a&&e<=s,max:s!==1/0?s:void 0,min:a!==-1/0?a:void 0,step:1!==h?h:void 0,onKeyDown:e=>{"ArrowUp"===e.key?j():"ArrowDown"===e.key&&C()},onValueChange:({floatValue:e})=>{e!==y&&b(e)},value:y,...d};return On.jsx(Nf,{placeholder:o,sx:{height:bn[500],"& .MuiOutlinedInput-input":{minWidth:bn[300],pl:l?1:2,pr:l?1:2}},...f,value:y??"",disabled:e,InputProps:{...t,inputComponent:xg,startAdornment:l?On.jsx(X,{position:"start",sx:{pl:1},children:l}):null,endAdornment:!i&&On.jsxs(O,{gap:g.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[c&&On.jsx(X,{position:"end",children:c}),On.jsxs(O,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${g.custom.palette.stroke.default}`},children:[On.jsx(re,{onClick:()=>j(),sx:{flex:1,borderTopRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:On.jsx(Te,{fontSize:"inherit"})}),On.jsx(I,{}),On.jsx(re,{onClick:()=>C(),sx:{flex:1,borderBottomRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:On.jsx(Pe,{fontSize:"inherit"})})]})]})},inputProps:{inputType:"number",...n,...k}})};const yg=({options:e,onChange:t,other:n,value:s,internalChange:a,...l})=>{const c=n?.enabled,u="other-option",d=`${u}-value-`,[p,h]=r(s),[m,f]=r(!1),g=o(null);i((()=>{!m&&p?.includes(d)?f(!0):m&&f(!1)}),[p]);return i((()=>{g.current&&Array.from(g.current.getElementsByTagName("label")).forEach((e=>{if(e.clientHeight>4*wn){const t=e.querySelector(".MuiTypography-root");t&&(t.style.marginTop=wn/2+"px")}}))}),[g.current]),On.jsxs(On.Fragment,{children:[On.jsxs(te,{...l,value:p,ref:g,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,n)=>{t&&t(n),h(n),a&&a()},children:[e?e.map(((e,t)=>On.jsx(Of,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:On.jsx(Qf,{})},t))):null,c&&On.jsx(Of,{label:n?.label||"Other",value:d,control:On.jsx(Qf,{checked:p?.includes(d)})},u)]}),m&&On.jsx(j,{sx:{mt:1},children:On.jsx(_f,{fullWidth:!0,autoFocus:!0,placeholder:n?.placeholder,defaultValue:p?.replace(d,""),onChange:e=>{var n;t&&t((n=e.target.value,`${d}${n}`)),a&&a()},required:!0})})]})},bg=({handleSelectAll:e,isIndeterminate:t,isAllSelected:n,sizing:o})=>{const[s,a]=r(!1),l=w();return i((()=>{n&&a(n)}),[n]),On.jsxs(O,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:t=>{const n=!s;a(n),e(t,n)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[On.jsx(se,{sx:{cursor:"pointer",fontSize:()=>o&&dr[o]},children:"Select all"}),On.jsx(If,{sizing:"default",indeterminate:t,checked:s})]})},wg=h((({children:e,handleSelectAll:t,showSelectAll:n,value:o=[],selections:i,sizing:r,...s},a)=>{const l=Array.isArray(o)&&o.length===i.length,c=Array.isArray(o)&&o.length>0&&o.length<i.length;return On.jsxs("ul",{ref:a,...s,children:[n&&On.jsx(bg,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:r}),e]})})),jg="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",Cg=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},kg=(e,t)=>({"& .MuiTypography-root":{height:Cg(t),fontSize:dr[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)}}),Sg=e=>({fontSize:`${cr.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(Cn.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"}}),Mg=(e,t)=>{switch(t){case"lg":return{height:Cg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ji.lg,height:ji.lg,top:`calc(50% - ${ji.lg/2}px)`}};case"md":return{height:Cg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ji.md,height:ji.md,top:`calc(50% - ${ji.md/2}px)`}};case"xs":return{height:Cg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ji.xs,height:ji.xs,top:`calc(50% - ${ji.xs/2}px)`}};default:return{height:Cg("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:ji.lg,height:ji.lg,top:`calc(50% - ${ji.lg/2}px)`}}}},Tg=e=>({position:"relative",fontSize:`${cr.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:ji.xl,height:ji.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),Pg=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:jg}}}}),Ag=y(ae)((({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:ji[t],height:ji[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*wn+"px":3*wn+"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:dr[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*wn+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*wn+"px":3*wn+"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)}`}}}))),zg=y(le)((({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}}}))),Eg=y(K)((({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"}}))),Rg=y(L)((({theme:e,sizing:t})=>({"& .MuiPaper-root":{...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===t?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===t?e.spacing(e.custom.margin.sm):e.spacing(e.custom.margin.xs)} + ${e.spacing(e.custom.margin.xs)})`},border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:jg,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${ce.listbox}`]:{overflowX:"hidden",[`& .${ce.option}`]:{fontSize:dr[t],...t&&{height:"lg"===t?5*wn+"px":4*wn+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),Vg=e=>On.jsx(Rg,{...e}),Fg=({selections:e,disableClearable:t=!1,disabled:n,internalChange:o,multiple:i=!0,onChange:s,placeholder:a="",renderListItem:l,sizing:c="lg",value:u=(i?[]:"")})=>{const[d,p]=r(e.filter((e=>u.includes(e?.value)))),m=(t,n)=>{if(s){const i=n?e.map((({value:e})=>e)):[];p(n?e:[]),s(t,i,"selectOption"),o&&o()}},f=e=>null!==e&&(!Array.isArray(e)||e.length>0);return On.jsx(Ag,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:On.jsx(Ae,{}),sizing:c,disabled:n,disableClearable:t,autoComplete:!0,multiple:i,renderInput:e=>On.jsx(Eg,{...e,placeholder:f(d)?void 0:a,sizing:c}),options:e,renderTags:(e,t)=>e.map(((e,n)=>{const{key:o,...i}=t({index:n});return On.jsx(zg,{sizing:c,deleteIcon:On.jsx(ze,{fontSize:"small"}),label:e.label,...i},o)})),onChange:(e,t,n)=>{const i=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;p(t),s?.(e,i,n),o?.()},PopperComponent:e=>On.jsx(Vg,{...e,sizing:c}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:n})=>{const{key:o,...i}=e;return On.jsxs("li",{...i,children:[On.jsx("span",{children:l?l(t.value,t.label):t.label}),On.jsx(Ce,{sx:{visibility:n?"visible":"hidden",fontSize:"16px"}})]},o)},ListboxComponent:h(((t,n)=>On.jsx(wg,{ref:n,...t,showSelectAll:i,handleSelectAll:m,value:d,selections:e,sizing:c}))),value:d})},Bg=y(ie)((({theme:e})=>({...{...Tg(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}}}))),Lg=({children:e,selected:t,...n})=>On.jsx(Bg,{...n,children:On.jsxs(j,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[On.jsx(j,{children:e}),t&&On.jsx(Ce,{})]})}),Dg=y(ue)((({theme:e,sizing:t})=>({...{...Sg(e)},...t&&{...Mg(e,t)},...t&&{...kg(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}}}))),Og=({selections:e,autoComplete:t=!1,disabled:n=!1,disablePortal:o=!1,inputRef:i,internalChange:r,multi:s=!0,onChange:a,placeholder:l="",selectOptionProps:c,sizing:u="lg",sx:d,value:p=[],renderListItem:h,...m})=>{const f=w(),g=Ps();return t?On.jsx(Fg,{selections:e,placeholder:l,disabled:n,sizing:u,onChange:(e,t)=>{a&&a(t||""),r&&r()},value:Array.isArray(p)?p??[]:p??"",internalChange:r,renderListItem:h,multiple:s}):On.jsxs(Dg,{sizing:u,inputRef:i,MenuProps:{disablePortal:o,sx:Pg,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:Ae,renderValue:t=>l&&!t?On.jsx(Fi,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",sx:{color:f.custom.palette.text.placeholder},children:l}):On.jsx(Fi,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{a&&a(e,t),r&&r()},sx:d,value:p,...m,children:[""!==l.trim()&&On.jsx(Lg,{disabled:!0,value:"","aria-label":"placeholder",children:l},"placeholder"),e?.map((({value:e,label:t})=>On.jsx(Lg,{value:e,...c,children:h?h(e,t):t},e)))]})},$g=y(j)((({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"}}}))),Ig=y(lg)((({theme:e})=>({fontSize:cr.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Hg=({label:e="Placeholder",disabled:t,onChange:n,options:o,fullWidth:i})=>{const r=w(),s=o.map((e=>e.label)).indexOf(e);return On.jsx($g,{disabled:t,fullWidth:i,children:On.jsxs(O,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[On.jsxs(j,{display:"flex",alignItems:"center",sx:{"& svg":{fill:r.custom.palette.icon.secondary}},children:[On.jsx(Ee,{sx:{width:ji.lg,height:ji.lg,mr:r.custom.padding.sm}}),On.jsx(Ig,{align:"left",disabled:t,children:e})]}),On.jsx(Og,{name:"rank",sizing:"xs",selections:o.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:t,value:`${s}`,onChange:function(e){const t=s,i=Number(e.target.value),r=o;let a=1;const l=r.splice(t,a)[0];a=0,r.splice(i,a,l),n(r)},MenuProps:{anchorOrigin:{vertical:bn[400],horizontal:"center"}}})]})})},Ng=l({attributes:{},listeners:void 0,ref(){}}),_g=e=>ot({...e,wasDragging:!0});function Wg({children:e,top:t,bottom:n,id:o}){const{attributes:i,isDragging:r,listeners:s,setNodeRef:l,setActivatorNodeRef:c,transform:u,transition:d}=nt({id:o,animateLayoutChanges:_g}),p=a((()=>({attributes:i,listeners:s,ref:c})),[i,s,c]),h={opacity:r?.4:void 0,transform:ct.Translate.toString(u),transition:d};return On.jsx(Ng.Provider,{value:p,children:On.jsxs(O,{className:"SortableItem",...i,sx:{position:"relative",...h,width:"100%"},ref:l,children:[t&&t,On.jsx(j,{...s,sx:{display:"flex",cursor:"grab"},children:e}),n&&n]})})}const Ug={sideEffects:Ye({styles:{active:{opacity:"0.4"}}})};function Zg({children:e}){return ut(On.jsx(Ge,{zIndex:999999,dropAnimation:Ug,children:e}),document.body)}const Yg=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class Gg extends et{static activators=[{eventName:"onMouseDown",handler:Yg}]}class qg extends tt{static activators=[{eventName:"onTouchStart",handler:Yg}]}function Kg({items:e,onChange:t,renderItem:o,disabled:i,direction:s}){if(!e)return;const[l,c]=r(null),u=a((()=>e.find((e=>e?.id===l?.id))),[l,e]),d=w(),p=de(d.breakpoints.down("md")),h=qe(Ke(Gg,{activationConstraint:{distance:5}}),Ke(qg,{activationConstraint:{delay:p?300:0,tolerance:8}}),Ke(Xe,{coordinateGetter:it}));return On.jsxs(Je,{measuring:{droppable:{strategy:Qe.Always}},sensors:h,onDragStart:({active:e})=>{c(e)},onDragEnd:({active:n,over:o})=>{if(o&&n.id!==o?.id){const i=e.findIndex((({id:e})=>e===n.id)),r=e.findIndex((({id:e})=>e===o.id));t(rt(e,i,r))}c(null)},onDragCancel:()=>{c(null)},children:[On.jsx(st,{items:e,disabled:i,strategy:"horizontal"===s?at:lt,children:On.jsx(O,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:e.map((e=>On.jsx(n,{children:o(e)},e.id)))})}),On.jsx(Zg,{children:u?o(u,!0,!!l):null})]})}Kg.Item=Wg,Kg.DragHandle=function(){const{attributes:e,listeners:t,ref:n}=c(Ng);return On.jsx(j,{...e,...t,ref:n,children:On.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:On.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 Xg=({labelTop:e,labelBottom:t,disabled:n,fullWidth:o=!1,options:i,onChange:s,value:a,internalChange:l})=>{const c=w(),[u,d]=r(a||i);function p(e){d(e),s(e.map((({id:e})=>e))),l&&l()}return On.jsxs(O,{gap:c.custom.margin.sm,textAlign:"center",sx:{width:o?"100%":"auto"},children:[e&&On.jsx(lg,{disabled:n,sx:{color:c.custom.palette.text.secondary},children:e}),On.jsx(Kg,{onChange:function(e){d(e),s(e.map((({id:e})=>e))),l&&l()},items:u,direction:"vertical",renderItem:({...e})=>On.jsx(Wg,{id:e.id,children:On.jsx(Hg,{onChange:p,...e,options:u,disabled:n,selections:e.selections,fullWidth:o})})}),t&&On.jsx(lg,{disabled:n,sx:{color:c.custom.palette.text.secondary},children:t})]})},Jg=y(ht)((({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)}}}))),Qg=({onChange:e,value:t,internalChange:n,minWidth:i=100,minHeight:r=100,maxHeight:s,placeholder:a})=>{const l=o(null),c=w();return On.jsx(Jg,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:r,minWidth:i,maxHeight:s}},ref:l,onUpdate:({editor:t})=>{e&&e(t.getHTML()),n&&n()},extensions:[pt.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),dt.configure({placeholder:a}),gt],content:t,renderControls:()=>On.jsxs(O,{gap:c.custom.margin.xs,direction:"row",children:[On.jsx(mt,{}),On.jsx(ft,{})]})})},ex=e=>({"& .MuiSlider-thumb":{width:bn[300],height:bn[300],backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:bn[50],height:bn[50],backgroundColor:e.custom.palette.icon.primaryInverted}}}),tx=e=>Array.isArray(e),nx=(e,t)=>({height:bn[100],padding:`${bn[100]}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${bn[400]}px)`,left:`-${bn[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&&tx(t)?`-${bn[100]+1}px`:`-${bn[200]+1}px`,width:`calc(100% + ${bn[200]}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:bn[50],width:bn[50],borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),ox=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:bn[50],minWidth:bn[400],"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${cr.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),ix=y(pe)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${bn[400]}px)`,marginLeft:bn[400]/2,...{...nx(e,t)},...{...ex(e)},...{...ox(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}}}}))),rx=[1,2,5,10],sx=(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)),i=n/Math.pow(10,o);return r=i,(rx.find((e=>r<=e))??rx[rx.length-1])*Math.pow(10,o);var r},ax=({labelLeft:e,labelMiddle:t,labelRight:n,labelRightProps:o,labelLeftProps:i,disabled:r,onChange:s,internalChange:a,max:l=5,min:c=1,step:u,value:d=c,...p})=>{const{sanitisedMin:h,sanitisedMax:m}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(c,l),f=((e,t,n)=>{const o=[];for(let i=e;i<=t;i+=n)o.push({value:i,label:i===e||i===t||i+n<=t?i.toString():void 0});return o[o.length-1].value!==t&&o.push({value:t,label:t.toString()}),o})(h,m,u??sx(c,l));return On.jsxs(j,{sx:{minWidth:300},children:[On.jsx(j,{height:24,children:On.jsx(ix,{valueLabelDisplay:r?"on":"auto",disabled:r,marks:f,step:u,max:m,min:h,onChangeCommitted:()=>{a&&a()},onChange:(e,t,n)=>{s&&s(e,t,n)},value:d,...p})}),On.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",pt:Cn.lg,gap:1},children:[e&&On.jsx(j,{sx:{flex:1},children:On.jsx(qf,{disabled:r,showicon:!1,...i,children:e})}),t&&On.jsx(j,{sx:{flex:1,textAlign:"center"},children:On.jsx(qf,{showicon:!1,disabled:r,children:t})}),n&&On.jsx(j,{sx:{flex:1,textAlign:"right"},children:On.jsx(qf,{...o,showicon:!1,disabled:r,children:n})})]})]})},lx=y(he)((({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}}}}))),cx=({internalChange:e,onChange:t,...n})=>On.jsx(lx,{...n,onChange:(n,o)=>{t&&t(n,o),e&&e()},icon:On.jsx(v,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.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:On.jsx(v,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.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"})})}),ux=y((e=>On.jsx(me,{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})}}))),dx=({sizing:e="sm",sx:t,inputRef:n,value:o,label:i,labelPlacement:r="start",fullWidth:s,onChange:a,internalChange:l,...c})=>On.jsx(Of,{inputRef:n,checked:o,label:i,labelPlacement:r,control:On.jsx(ux,{sizing:e}),onChange:(e,t)=>{a&&a(e,t),l&&l()},sx:ye(s?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},t),...c}),px=y(Nf)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:bn[500],alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:ji.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),hx=({startAdornment:e,endAdornment:t,onChange:n,internalChange:o,inputRef:i,...r})=>On.jsx(px,{multiline:!0,inputRef:i,InputProps:{startAdornment:e?On.jsx(X,{position:"start",children:e}):null,endAdornment:t?On.jsx(X,{position:"start",children:t}):null},...r,onChange:e=>{n&&n(e),o&&o()}}),mx=(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}},fx=(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}},gx=y(W)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${U.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:mx(t,e)}}))),xx={translations:bt.translations,graphs:yt.adjacencyGraphs,dictionary:{...yt.dictionary,...bt.dictionary}};xt.setOptions(xx);const vx=({label:e="Strength",width:t=60,value:n,onChange:o})=>{const[s,a]=r(0),l=w();return i((()=>{a(vt(n).score)}),[n]),i((()=>{o(s)}),[s]),On.jsxs(O,{direction:"row",gap:1,sx:{alignItems:"center"},children:[On.jsx(Fi,{variation:"sm",component:"p",children:e}),On.jsx(gx,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:t}}),On.jsx(Fi,{variation:"sm",component:"p",sx:{color:fx(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},yx=({helperText:e,inputName:t,errors:n,...o})=>{const i=Boolean(n&&n[t]);return i?On.jsx(wt,{errors:n,name:t,render:({message:e})=>On.jsx(qf,{showicon:!!e,state:"negative",children:e})}):e&&!i?On.jsx(qf,{state:"default",...o,children:e}):null},bx={textfield:_f,numberfield:vg,textarea:hx,select:Og,checkbox:Hf,checkboxGroup:Wf,switch:dx,slider:ax,starRating:cx,differential:og,likert:gg,radioGroup:yg,ranking:Xg,richTextfield:Qg,customfield:Zf},wx=({name:e,fieldType:t,label:n,control:o,errors:s,labelProps:a,helperText:l,helpTextProps:c,validation:u,content:d,styleOverrides:p,defaultValue:h,onChange:m,watch:f,trigger:g,strengthIndicator:x,...v})=>{const{custom:y}=w(),b=void 0!==s&&Object.keys(s).length>0,[j,C]=r(0);return x&&i((()=>{j>0&&g(e)}),[j]),u?.match?.field&&i((()=>{u?.match?.field&&g(u?.match?.field)}),[f(e)]),On.jsxs(O,{sx:ye(p?.sxInputStack,v?.hidden&&{display:"none!important"}),gap:y.margin.sm,children:["switch"!==t?n&&On.jsx(lg,{...a,children:n}):null,"html"===t&&d?On.jsx(ag,{children:d}):On.jsxs(On.Fragment,{children:[On.jsx(_e,{name:e,control:o,render:e=>function({field:{ref:e,...o}}){const i=bx[t];return On.jsx(i,{...v,...o,inputRef:e,..."switch"===t?{label:n}:{}})}(e),rules:{...u,validate:e=>{if(u&&"phone"in u)return Ue(`+${f("extension")}${e}`)||u.phone.message;if(u&&"score"in u)return j<=u.score.value?u.score.message:void 0;if(u&&"white_space"in u)return!e.match(/^\s*$/g)||u.white_space.message;if(u&&"match"in u&&u?.match?.field)switch(u?.match?.comparison){case"not_eq":return e!=f(u.match.field)||u.match.message;case"gt":return e>f(u.match.field)||u.match.message;case"lt":return e<f(u.match.field)||u.match.message;default:return e===f(u.match.field)||u.match.message}}}}),x&&"password"===v?.type&&On.jsx(vx,{value:f(e),onChange:C})]}),On.jsxs(On.Fragment,{children:[Boolean(b)?On.jsx(yx,{helperText:void 0,inputName:e,errors:s,showicon:!0}):null,Boolean(l)?On.jsx(yx,{helperText:l,inputName:e,errors:void 0,...c}):null]})]})},jx=e=>e.reduce(((e,t)=>({...e,[t?.name]:Cx(t,t?.defaultValue)})),{}),Cx=(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}}},kx=h((({submitButton:e,secondaryButton:t,onFormSubmit:n,onFormChange:r,formConfig:s},l)=>{const{custom:c}=w(),{fields:u,reValidateMode:d,styleOverrides:p,autoComplete:h,formId:f,mode:x}=s,v=(e=>{const t=o();return i((()=>{t.current=e}),[e]),t.current})(u),{reset:y,getValues:b,trigger:C,setValue:k,control:S,formState:{isValid:M,errors:T},setFocus:P,handleSubmit:A,watch:z}=We({mode:x||"onChange",reValidateMode:d,defaultValues:a((()=>jx(u)),[]),shouldUnregister:!0});i((()=>{if(void 0!==v){const e=v.filter((({fieldType:e})=>"html"!==e)).map((({name:e})=>e));u.filter((({name:t,fieldType:n})=>!e.includes(t)&&"html"!==n)).forEach((e=>{k(e.name,Cx(e,e.defaultValue))}))}}),[u]),i((()=>{y(jx(u))}),[f]),g(l,(()=>({set(e,t){k(e,t)},resetForm(){y()},focus(e){P(e)},submit(){n&&A(n)()},values:()=>b(),valid:()=>M,errors:()=>T,async triggerFormValidation(){await C()}})));const E=()=>{r&&r(b())};return On.jsxs(j,{component:"form",autoComplete:h,noValidate:!0,sx:p?.sxForm,...n&&{onSubmit:A(n)},children:[On.jsx(O,{gap:c.margin.md,sx:p?.sxStack,children:u.map((({name:e,...t})=>m(wx,{...r&&{internalChange:E},name:e,key:e,errors:T,control:S,watch:z,trigger:C,...t})))}),(t||e)&&On.jsxs(O,{direction:"row",sx:p?.sxButtons||{mt:c.margin.lg,gap:c.margin.sm,justifyContent:"flex-end"},children:[t&&t,e&&e]})]})})),Sx=y(j)((({theme:e})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:e.zIndex.tooltip}))),Mx=y(A)((({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"}))),Tx=y(j)((({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1}))),Px=y(j)((({theme:e})=>({background:e.custom.palette.green[300],height:"100%"}))),Ax=y(j)((({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"}))),zx=({breakpoint:e})=>{const t=Array.from({length:6},((e,t)=>t));return e||(e=Ps()),On.jsxs(Sx,{children:[On.jsx(Mx,{children:On.jsx(Tx,{children:On.jsxs(z,{container:!0,spacing:2,sx:{flex:1},children:[t.map((e=>On.jsx(z,{sm:!0,sx:{display:{sm:"none",md:"block"}},children:On.jsx(Px,{})},`grid-1-${e}`))),t.map((e=>On.jsx(z,{sm:!0,sx:{display:{sm:"block"}},children:On.jsx(Px,{})},`grid-2-${e}`)))]})})}),!!e&&On.jsx(Ax,{children:On.jsx(Fi,{variation:"md",component:"p",weight:"bold",children:e})})]})},Ex=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}}),Rx=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}}),Vx=y(fe)((({theme:e,variation:t,orientation:n="horizontal",iconColor:o,sizing:i="lg",groupRaised:r=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...r&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{..._i(e)},..."toggle"===t&&{...Wi(e)},..."vertical"===n&&{...Ex(e)},..."horizontal"===n&&{...Rx(e)},...i&&{...qi(i)}},"& .MuiSvgIcon-root":{...i&&{...Xi(i)},fill:o||"inherit"}}}))),Fx=({ButtonGroupProps:e,children:t,...n})=>On.jsx(Vx,{...n,...e,children:t}),Bx=()=>On.jsx(j,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:On.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),Lx=e=>On.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:On.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"})}),Dx=y(mf)((({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}))),Ox=()=>On.jsx(Dx,{variation:"primary",sizing:"md",startIcon:On.jsx(Ci,{name:"ai"}),children:"Loops AI"}),$x={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},Ix=y("div")((()=>({whiteSpace:"pre"}))),Hx=e=>{const{children:t}=e,n=t&&t.replaceAll(/\s/g," ").replaceAll(/<p><\/p>/g,"<br />");return On.jsx(jt,{options:{overrides:{p:{component:Fi,props:$x},strong:{component:Fi,props:{...$x,weight:"bold"}},em:{component:Fi,props:{...$x,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:Ix,forceBlock:!0,forceWrapper:!0},children:n})},Nx=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},_x=(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]}}},Wx=y(le)((({theme:e,variation:t,weight:n})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,..._x(e,t,n),"& .MuiChip-label":{fontSize:`${cr.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...Nx(0,n)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,..._x(e,t,n),...Nx(0,n)}}))),Ux=({body:e,maxWidth:t,...n})=>On.jsx(Wx,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...n});var Zx=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 Yx="undefined"!=typeof document,Gx=function(e,t,n){for(var o=0,i=0;o=i,i=Yt(),38===o&&12===i&&(t[n]=1),!Ut(i);)Wt();return qt(e,Kt)},qx=function(e,t){return Ot(function(e,t){var n=-1,o=44;do{switch(Ut(o)){case 0:38===o&&12===Yt()&&(t[n]=1),e[n]+=Gx(Kt-1,t,n);break;case 2:e[n]+=Gt(o);break;case 4:if(44===o){e[++n]=58===Yt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Zt(o)}}while(o=Wt());return e}($t(e),t))},Kx=new WeakMap,Xx=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)||Kx.get(n))&&!o){Kx.set(e,!0);for(var i=[],r=qx(t,i),s=n.props,a=0,l=0;a<r.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=i[a]?r[a].replace(/&\f/g,s[c]):s[c]+" "+r[a]}}},Jx=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Qx(e,t){switch(It(e,t)){case 5103:return Rt+"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 Rt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Rt+e+Vt+e+Ft+e+e;case 6828:case 4268:return Rt+e+Ft+e+e;case 6165:return Rt+e+Ft+"flex-"+e+e;case 5187:return Rt+e+Et(e,/(\w+).+(:[^]+)/,Rt+"box-$1$2"+Ft+"flex-$1$2")+e;case 5443:return Rt+e+Ft+"flex-item-"+Et(e,/flex-|-self/,"")+e;case 4675:return Rt+e+Ft+"flex-line-pack"+Et(e,/align-content|flex-|-self/,"")+e;case 5548:return Rt+e+Ft+Et(e,"shrink","negative")+e;case 5292:return Rt+e+Ft+Et(e,"basis","preferred-size")+e;case 6060:return Rt+"box-"+Et(e,"-grow","")+Rt+e+Ft+Et(e,"grow","positive")+e;case 4554:return Rt+Et(e,/([^-])(transform)/g,"$1"+Rt+"$2")+e;case 6187:return Et(Et(Et(e,/(zoom-|grab)/,Rt+"$1"),/(image-set)/,Rt+"$1"),e,"")+e;case 5495:case 3959:return Et(e,/(image-set\([^]*)/,Rt+"$1$`$1");case 4968:return Et(Et(e,/(.+:)(flex-)?(.*)/,Rt+"box-pack:$3"+Ft+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Rt+e+e;case 4095:case 3583:case 4068:case 2532:return Et(e,/(.+)-inline(.+)/,Rt+"$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(Nt(e)-1-t>6)switch(Ht(e,t+1)){case 109:if(45!==Ht(e,t+4))break;case 102:return Et(e,/(.+:)(.+)-([^]+)/,"$1"+Rt+"$2-$3$1"+Vt+(108==Ht(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_t(e,"stretch")?Qx(Et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ht(e,t+1))break;case 6444:switch(Ht(e,Nt(e)-3-(~_t(e,"!important")&&10))){case 107:return Et(e,":",":"+Rt)+e;case 101:return Et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rt+(45===Ht(e,14)?"inline-":"")+"box$3$1"+Rt+"$2$3$1"+Ft+"$2box$3")+e}break;case 5936:switch(Ht(e,t+11)){case 114:return Rt+e+Ft+Et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rt+e+Ft+Et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rt+e+Ft+Et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rt+e+Ft+e+e}return e}var ev,tv,nv=Yx?void 0:(ev=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},tv=new WeakMap,function(e){if(tv.has(e))return tv.get(e);var t=ev(e);return tv.set(e,t),t}),ov=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case Lt:e.return=Qx(e.value,e.length);break;case Bt:return At([zt(e,{value:Et(e.value,"@","@"+Rt)})],o);case Mt:if(e.length)return Tt(e.props,(function(t){switch(Pt(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return At([zt(e,{props:[Et(t,/:(read-\w+)/,":"+Vt+"$1")]})],o);case"::placeholder":return At([zt(e,{props:[Et(t,/:(plac\w+)/,":"+Rt+"input-$1")]}),zt(e,{props:[Et(t,/:(plac\w+)/,":"+Vt+"$1")]}),zt(e,{props:[Et(t,/:(plac\w+)/,Ft+"input-$1")]})],o)}return""}))}}],iv=function(e){var t=e.key;if(Yx&&"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,i,r=e.stylisPlugins||ov,s={},a=[];Yx&&(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=[Xx,Jx];if(nv){var c=[Ct],u=St(l.concat(r,c)),d=nv(r)(t),p=function(e,t){var n,o=t.name;return void 0===d[o]&&(d[o]=(n=e?e+"{"+t.styles+"}":t.styles,At(Dt(n),u))),d[o]};i=function(e,t,n,o){var i=t.name,r=p(e,t);return void 0===g.compat?(o&&(g.inserted[i]=!0),r):o?void(g.inserted[i]=r):r}}else{var h,m=[Ct,kt((function(e){h.insert(e)}))],f=St(l.concat(r,m));i=function(e,t,n,o){var i;h=n,i=e?e+"{"+t.styles+"}":t.styles,At(Dt(i),f),o&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new Zx({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(a),g};const rv=y("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),sv=e=>{const[t,n]=r(null),o=t?.contentWindow?.document?.body,i=iv({key:"css",container:t?.contentWindow?.document?.head,prepend:!0});return On.jsx(rv,{ref:n,children:o&&ut(On.jsx(Jt,{value:i,children:e.children}),o)})},av=()=>On.jsxs(O,{gap:.5,flexDirection:"row",children:[On.jsx(v,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.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"})}),On.jsxs(v,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[On.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:On.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"})}),On.jsx("defs",{children:On.jsx("clipPath",{id:"clip0_900_1816",children:On.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),lv=({typographyProps:e,text:t,sx:n})=>{const o=w();return On.jsx(j,{sx:ye(n,{width:"100%",position:"relative",display:"flex",gap:4,my:o.spacing(o.custom.margin.md),"&:before":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:On.jsx(Fi,{align:"center",variation:"sm",component:"p",...e,children:t})})},cv=({buttons:e,message:t,status:n="neutral",variation:o="sm"})=>{const i=w();return On.jsx(O,{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:On.jsxs(j,{sx:{display:"flex",flex:1,flexDirection:"sm"===o?"row":"column",gap:2},children:[On.jsxs(j,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==n&&On.jsx(uv,{status:n}),On.jsx(j,{sx:{display:"flex"},children:On.jsx(Fi,{variation:"md",component:"p",sx:{px:1,pt:.5},children:t})})]}),e&&On.jsx(j,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},uv=({status:e})=>{const t=w();switch(e){case"neutral":return null;case"success":return On.jsx(dv,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return On.jsx(dv,{backgroundColor:t.custom.palette.yellow[500],name:"error"});case"danger":return On.jsx(dv,{backgroundColor:t.custom.palette.red[500],name:"warning"});case"discover":return On.jsx(dv,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},dv=({backgroundColor:e,name:t})=>{const n=w();return On.jsx(j,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:On.jsx(j,{sx:{backgroundColor:e,borderRadius:n.custom.radius.round,color:n.custom.palette.white,display:"flex",p:.5},children:On.jsx(Ci,{name:t,size:20})})})},pv="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",hv=()=>On.jsx(xe,{styles:{"strong, b":{fontWeight:500}}}),mv=l(null),fv=(e="light",t="lg",n="ltr")=>{const{width:o}=(()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[n,o]=r(t);return i((()=>{if(e)return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n);function n(){x((()=>{o(t())}))}}),[]),n})(),[s,l]=r(e),[c,u]=r(t),[d,p]=r(n),[h,m]=r(!1),[f,g]=r("");i((()=>{document.documentElement.setAttribute("dir",d)}),[d]);i((()=>{x((()=>{u(o&&o<yn.lg?"sm":"lg")}))}),[o]),i((()=>{x((()=>{p(n)}))}),[n]),i((()=>{x((()=>{l(e)}))}),[e]);const v=a((()=>((e,t,n)=>ge({direction:n,custom:{palette:{black:"#000000",white:"#ffffff",neutral:dn[e],neutralAlpha:"light"===e?nn:on,purple:hn[e],red:mn[e],peach:fn[e],yellow:gn[e],blue:xn[e],green:vn[e],icon:An[e].icon,interaction:An[e].interaction,stroke:An[e].stroke,surface:An[e].surface,text:An[e].text,input:An[e].input},margin:jn,padding:Cn,radius:kn,elevation:Sn,elevationFilter:Mn,boxShadow:Tn,easing:Pn,typography:cr[t]},palette:{mode:e,primary:{main:rn[500]}},spacing:wn,shape:{borderRadius:wn,hotspot:{default:12,active:24}},breakpoints:{values:yn},typography:{fontFamily:`"${En.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:ur(t),styleOverrides:{root:{color:An[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${dn[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: '${En.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${En.Domaine.default.weight};\n src: url(${pv}${En.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${En.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${En.Domaine.bold.weight};\n src: url(${pv}${En.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${En.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${En.FoundersGrotesk.default.weight};\n src: url(${pv}${En.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${En.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${En.FoundersGrotesk.bold.weight};\n src: url(${pv}${En.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${yn.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${yn.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:En.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*wn}px ${e.padding.md*wn}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,c,d)),[s,d,c]),y=de(v.breakpoints.only("sm"),{noSsr:!0}),b=de(v.breakpoints.only("md"),{noSsr:!0}),w=de(v.breakpoints.between("lg","xl"),{noSsr:!0}),j=de(v.breakpoints.up("xl"),{noSsr:!0});return i((()=>{x((()=>{y&&g("sm"),b&&g("md"),w&&g("lg"),j&&g("xl")}))}),[y,b,w,j]),{breakpoint:f,gridOverlayVisible:h,mode:s,theme:v,toggleGridOverlay:()=>{x((()=>{m((e=>!e))}))},toggleMode:e=>{x((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}},gv=iv({key:"muirtl",stylisPlugins:[Xt,Qt]}),xv=iv({key:"mui"}),vv=({mode:e="light",screenSize:t="lg",direction:n="ltr",children:o})=>{const i=fv(e,t,n);return On.jsx(mv.Provider,{value:i,children:On.jsx(Jt,{value:"rtl"===n?gv:xv,children:On.jsxs(He,{theme:i.theme,children:[On.jsx(ve,{}),On.jsx(hv,{}),o]})})})};export{zi as AuthContainerSurface,Lf as AuthFormHeader,Zr as Avatar,Df as AvatarGroup,$i as Breadcrumb,mf as Button,Hf as Checkbox,Wf as CheckboxGroup,Uf as ColorBackgroundContainer,Zf as CustomField,Ef as DEFAULT_MAX_INPUT_LENGTH,og as Differential,rg as DropdownMenu,zn as FontWeight,Of as FormControlLabel,kx as FormGenerator,zx as GridOverlay,rr as Header,ag as Html,Ci as Icon,Qi as IconButton,Fx as IconButtonGroup,hs as Image,Nf as InputFieldBase,lg as InputLabel,qf as InputLabelHelp,gg as Likert,Ri as Link,Bx as Loader,Lx as Logo,Ox as LoopsAiButton,Hx as Markdown,Pr as MenuButton,ds as Navigation,Ur as Nudge,vg as NumberField,Tf as OnboardingCard,Ux as Pill,Ir as Popper,sv as Portal,av as PoweredByWatermarkLogo,Hi as Progress,zs as ProgressBar,Cs as ProjectItem,Qf as Radio,yg as RadioGroup,Xg as Rank,Qg as RichTextField,Ts as SectionHeader,Og as Select,ax as Slider,Kg as SortableList,cx as StarRating,Ai as Surface,dx as Switch,lv as TextBarDivider,_f as TextField,hx as Textarea,vv as ThemeProvider,cv as Toast,Ni as Tooltip,Fi as Typography,ns as UserMenu,Bf as backgroundCreator,wn as base,cn as blue,xn as blueRamp,Tn as boxShadow,yn as breakpoints,Af as chooseArticle,tn as darkNeutral,on as darkNeutralAlpha,zf as defaultInputValidation,Pn as easing,Sn as elevation,Mn as elevationFilter,Pf as emailValidation,En as fonts,pn as generateRamp,un as green,vn as greenRamp,ji as iconSizeMap,jn as margin,en as neutral,nn as neutralAlpha,dn as neutralRamp,Cn as padding,Rf as passwordValidation,an as peach,fn as peachRamp,rn as purple,hn as purpleRamp,kn as radius,sn as red,mn as redRamp,An as semantic,bn as space,sg as useDropdownMenu,ln as yellow,gn as yellowRamp};
|