@kroo-web/design-system 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js
CHANGED
|
@@ -34,7 +34,7 @@ import*as e from"react";import t,{useState as n,useEffect as o,createContext as
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/"production"===process.env.NODE_ENV?Ye.exports=function(){if(ot)return Je;ot=1;var e=rt,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var s,l={},u=null,c=null;for(s in void 0!==a&&(u=""+a),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)o.call(n,s)&&!i.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:u,ref:c,props:l,_owner:r.current}}return Je.Fragment=n,Je.jsx=a,Je.jsxs=a,Je}():Ye.exports=(it||(it=1,"production"!==process.env.NODE_ENV&&function(){var e,t=rt,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g=t.__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=g.ReactDebugCurrentFrame,r=o.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));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 A(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 o:return"Portal";case a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return y(e)+".Consumer";case s:return y(e._context)+".Provider";case u:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:A(e.type)||"Memo";case f:var n=e,m=n._payload,h=n._init;try{return A(h(m))}catch{return null}}return null}e=Symbol.for("react.module.reference");var b,w,x,E,k,S,C,P=Object.assign,I=0;function O(){}O.__reactDisabledLog=!0;var D,T=g.ReactCurrentDispatcher;function N(e,t,n){if(void 0===D)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);D=o&&o[1]||""}return"\n"+D+e}var B,R=!1,M="function"==typeof WeakMap?WeakMap:Map;function F(e,t){if(!e||R)return"";var n,o=B.get(e);if(void 0!==o)return o;R=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=T.current,T.current=null,function(){if(0===I){b=console.log,w=console.info,x=console.warn,E=console.error,k=console.group,S=console.groupCollapsed,C=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}I++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&B.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{R=!1,T.current=r,function(){if(0==--I){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:b}),info:P({},e,{value:w}),warn:P({},e,{value:x}),error:P({},e,{value:E}),group:P({},e,{value:k}),groupCollapsed:P({},e,{value:S}),groupEnd:P({},e,{value:C})})}I<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:"",f=p?N(p):"";return"function"==typeof e&&B.set(e,f),f}function V(e,t,n){if(null==e)return"";if("function"==typeof e)return F(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return N(e);switch(e){case c:return N("Suspense");case d:return N("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return function(e){return F(e,!1)}(e.render);case p:return V(e.type,t,n);case f:var o=e,r=o._payload,i=o._init;try{return V(i(r),t,n)}catch{}}return""}B=new M;var L=Object.prototype.hasOwnProperty,_={},j=g.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,n=V(e.type,e._source,t?t.type:null);j.setExtraStackFrame(n)}else j.setExtraStackFrame(null)}var U=Array.isArray;function Q(e){return U(e)}function H(e){return""+e}function q(e){if(function(e){try{return H(e),!1}catch{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)),H(e)}var K,W,G,Z=g.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function Y(e,t,o,r,i){var a,s={},l=null,u=null;for(a in void 0!==o&&(q(o),l=""+o),function(e){if(L.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(q(t.key),l=""+t.key),function(e){if(L.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&Z.current&&t&&Z.current.stateNode!==t){var n=A(Z.current.type);G[n]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',A(Z.current.type),e.ref),G[n]=!0)}}(t,i)),t)L.call(t,a)&&!X.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){K||(K=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(s,d),u&&function(e,t){var n=function(){W||(W=!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})}(s,d)}return function(e,t,o,r,i,a,s){var l={$$typeof:n,type:e,key:t,ref:o,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,r,Z.current,s)}G={};var J,$=g.ReactCurrentOwner,ee=g.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=V(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===n}function oe(){if($.current){var e=A($.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var re={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=oe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!re[n]){re[n]=!0;var o="";e&&e._owner&&e._owner!==$.current&&(o=" It was passed a child from "+A(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 ae(e,t){if("object"==typeof e)if(Q(e))for(var n=0;n<e.length;n++){var o=e[n];ne(o)&&ie(o,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)ne(i.value)&&ie(i.value,t)}}function se(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!==p)return;t=n.propTypes}if(t){var o=A(n);!function(e,t,n,o,r){var i=Function.call.bind(L);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((o||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(z(r),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,a,typeof s),z(null)),s instanceof Error&&!(s.message in _)&&(_[s.message]=!0,z(r),v("Failed %s type: %s",n,s.message),z(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?",A(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.")}}function le(t,o,h,g,y,b){var w=function(t){return!("string"!=typeof t&&"function"!=typeof t&&t!==r&&t!==a&&t!==i&&t!==c&&t!==d&&t!==m&&("object"!=typeof t||null===t||t.$$typeof!==f&&t.$$typeof!==p&&t.$$typeof!==s&&t.$$typeof!==l&&t.$$typeof!==u&&t.$$typeof!==e&&void 0===t.getModuleId))}(t);if(!w){var x,E="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(E+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),E+=oe(),null===t?x="null":Q(t)?x="array":void 0!==t&&t.$$typeof===n?(x="<"+(A(t.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):x=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",x,E)}var k=Y(t,o,h,y,b);if(null==k)return k;if(w){var S=o.children;if(void 0!==S)if(g)if(Q(S)){for(var C=0;C<S.length;C++)ae(S[C],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 ae(S,t)}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):se(k),k}var ue=function(e,t,n){return le(e,t,n,!1)},ce=function(e,t,n){return le(e,t,n,!0)};at.Fragment=r,at.jsx=ue,at.jsxs=ce}()),at);const st=Ye.exports.jsx;function lt(...e){return e.filter(Boolean).map((e=>e.trim())).join(" ")}const ut=rt.forwardRef((({icon:e,onClick:t,as:n,weight:o,fill:r=!1,grade:i,size:a,style:s,color:l,className:u,...c},d)=>{const p=void 0!==t?"button":n??"span",f={color:l,...s};return r&&(f.fontVariationSettings=[f.fontVariationSettings,'"FILL" 1'].filter(Boolean).join(", ")),o&&(f.fontVariationSettings=[f.fontVariationSettings,`"wght" ${o}`].filter(Boolean).join(", ")),i&&(f.fontVariationSettings=[f.fontVariationSettings,`"GRAD" ${i}`].filter(Boolean).join(", ")),a&&(f.fontVariationSettings=[f.fontVariationSettings,`"opsz" ${a}`].filter(Boolean).join(", "),f.fontSize=a),st(p,{...c,ref:d,style:f,onClick:t,className:lt("material-symbols",u),children:e})}));function ct(){var e=n({height:void 0,width:600}),t=e[0],r=e[1];return o((function(){function e(){r({height:window.innerHeight,width:window.innerWidth||600})}return window.addEventListener("resize",e,{passive:!0}),e(),function(){return window.removeEventListener("resize",e)}}),[]),t}var dt={large:40,regular:24,regularMobile:20,xlarge:48},pt={light:200,medium:400,mobileRegularMedium:500,mobileRegularNormal:400,normal:300},ft=function(e){var n,o=e.size,r=void 0===o?"regular":o,i=e.weight,a=void 0===i?"normal":i,s=P(e,["size","weight"]),l=ct().width<768,u=l&&"regular"===r?dt.regularMobile:dt[r],c="regular"===r&&l?pt["mobileRegular".concat((n=a,n.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))))]:pt[a];return t.createElement("span",{style:{display:"block",height:"".concat(u,"px"),width:"".concat(u,"px")},translate:"no"},t.createElement(ut,C({size:u,weight:c},s)))},mt={"form-label":"typography-module_form-label__SomhN","form-helper":"typography-module_form-helper__vQm-e","form-button":"typography-module_form-button__D-Xch","form-input-normal":"typography-module_form-input-normal__vCxpV","form-input-semi-bold":"typography-module_form-input-semi-bold__NL-w-","content-regular-light":"typography-module_content-regular-light__Hhz6w","content-regular":"typography-module_content-regular__t0R5y","content-regular-semi-bold":"typography-module_content-regular-semi-bold__uicoX","content-large-light":"typography-module_content-large-light__WOG9i","content-large":"typography-module_content-large__hYAxO","content-large-semi-bold":"typography-module_content-large-semi-bold__04cB0","content-title-light":"typography-module_content-title-light__g1-zn","content-title":"typography-module_content-title__pSV7C","content-title-semi-bold":"typography-module_content-title-semi-bold__wEBjO",tag:"typography-module_tag__6g-kC","marketing-text-light":"typography-module_marketing-text-light__Qqmzp","marketing-text-regular":"typography-module_marketing-text-regular__Tg3ph","marketing-text-semi-bold":"typography-module_marketing-text-semi-bold__-1uLX","marketing-quote-light":"typography-module_marketing-quote-light__-Z0bL","marketing-quote-regular":"typography-module_marketing-quote-regular__Uxe14","marketing-quote-semi-bold":"typography-module_marketing-quote-semi-bold__HpFnB","marketing-small-light":"typography-module_marketing-small-light__BaWx-","marketing-small-regular":"typography-module_marketing-small-regular__k9b8H","marketing-small-semi-bold":"typography-module_marketing-small-semi-bold__qh1qZ","marketing-medium-light":"typography-module_marketing-medium-light__40Uug","marketing-medium-regular":"typography-module_marketing-medium-regular__oyVJA","marketing-medium-semi-bold":"typography-module_marketing-medium-semi-bold__BEh4l","marketing-large-light":"typography-module_marketing-large-light__gXEvK","marketing-large-regular":"typography-module_marketing-large-regular__1XwIp","marketing-large-semi-bold":"typography-module_marketing-large-semi-bold__2KEaV","marketing-tag-light":"typography-module_marketing-tag-light__-c5Lr","marketing-tag-regular":"typography-module_marketing-tag-regular__1Lsf1","marketing-tag-semi-bold":"typography-module_marketing-tag-semi-bold__ZYJzw","marketing-small-medium":"typography-module_marketing-small-medium__ZzHUn","marketing-heading-1":"typography-module_marketing-heading-1__lnrwI","marketing-heading-2":"typography-module_marketing-heading-2__Y2zwW","marketing-heading-3":"typography-module_marketing-heading-3__XxtBm","marketing-heading-4":"typography-module_marketing-heading-4__6y-es","marketing-heading-5":"typography-module_marketing-heading-5__vYXcb","marketing-heading-6":"typography-module_marketing-heading-6__fzVr-","marketing-heading-7":"typography-module_marketing-heading-7__0Qwet","footer-regular":"typography-module_footer-regular__W3Cnm","footer-semi-bold":"typography-module_footer-semi-bold__no6iQ"};We(".typography-module_form-label__SomhN {\n font-weight: var(--product-font-weight-semi-bold);\n font-size: var(--product-font-form-label-mobile-size);\n letter-spacing: var(--product-font-form-label-letter-spacing);\n line-height: var(--product-font-form-label-line-height);\n}\n\n.typography-module_form-helper__vQm-e {\n font-size: var(--product-font-form-helper-mobile-size);\n letter-spacing: var(--product-font-form-helper-letter-spacing);\n line-height: var(--product-font-form-helper-line-height);\n}\n\n.typography-module_form-button__D-Xch {\n font-size: var(--product-font-form-input-button-mobile-size);\n letter-spacing: var(--product-font-form-input-button-letter-spacing);\n line-height: var(--product-font-form-input-button-line-height);\n font-weight: var(--product-font-weight-medium);\n}\n\n.typography-module_form-input-normal__vCxpV {\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n}\n\n.typography-module_form-input-semi-bold__NL-w- {\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_content-regular-light__Hhz6w {\n font-size: var(--product-font-content-regular-light-mobile-size);\n letter-spacing: var(--product-font-content-regular-light-letter-spacing);\n line-height: var(--product-font-content-regular-light-line-height);\n font-weight: var(--product-font-weight-light);\n}\n\n.typography-module_content-regular__t0R5y {\n font-size: var(--product-font-content-regular-normal-mobile-size);\n letter-spacing: var(--product-font-content-regular-normal-letter-spacing);\n line-height: var(--product-font-content-regular-normal-line-height);\n}\n\n.typography-module_content-regular-semi-bold__uicoX {\n font-size: var(--product-font-content-regular-semi-bold-mobile-size);\n letter-spacing: var(--product-font-content-regular-semi-bold-letter-spacing);\n line-height: var(--product-font-content-regular-semi-bold-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_content-large-light__WOG9i {\n font-size: var(--product-font-content-large-light-mobile-size);\n letter-spacing: var(--product-font-content-large-light-letter-spacing);\n line-height: var(--product-font-content-large-light-line-height);\n font-weight: var(--product-font-weight-light);\n}\n\n.typography-module_content-large__hYAxO {\n font-size: var(--product-font-content-large-normal-mobile-size);\n letter-spacing: var(--product-font-content-large-normal-letter-spacing);\n line-height: var(--product-font-content-large-normal-line-height);\n}\n\n.typography-module_content-large-semi-bold__04cB0 {\n font-size: var(--product-font-content-large-semi-bold-mobile-size);\n letter-spacing: var(--product-font-content-large-semi-bold-letter-spacing);\n line-height: var(--product-font-content-large-semi-bold-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_content-title-light__g1-zn {\n font-size: var(--product-font-content-large-light-mobile-size);\n letter-spacing: var(--product-font-content-large-light-letter-spacing);\n line-height: var(--product-font-content-large-light-line-height);\n font-weight: var(--product-font-weight-light);\n}\n\n.typography-module_content-title__pSV7C {\n font-size: var(--product-font-content-large-normal-mobile-size);\n letter-spacing: var(--product-font-content-large-normal-letter-spacing);\n line-height: var(--product-font-content-large-normal-line-height);\n}\n\n.typography-module_content-title-semi-bold__wEBjO {\n font-size: var(--product-font-content-large-semi-bold-mobile-size);\n letter-spacing: var(--product-font-content-large-semi-bold-letter-spacing);\n line-height: var(--product-font-content-large-semi-bold-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_tag__6g-kC {\n font-size: var(--product-font-tag-mobile-size);\n line-height: var(--product-font-tag-line-height);\n text-transform: var(--product-font-tag-text-transform);\n font-weight: var(--product-font-tag-weight);\n letter-spacing: var(--product-font-tag-letter-spacing);\n}\n\n@media (min-width: 768px) {\n .typography-module_form-label__SomhN {\n font-size: var(--product-font-form-label-desktop-size);\n }\n\n .typography-module_form-helper__vQm-e {\n font-size: var(--product-font-form-helper-desktop-size);\n }\n\n .typography-module_form-button__D-Xch {\n font-size: var(--product-font-form-input-button-desktop-size);\n }\n\n .typography-module_form-input-normal__vCxpV {\n font-size: var(--product-font-form-input-desktop-size);\n }\n\n .typography-module_form-input-semi-bold__NL-w- {\n font-size: var(--product-font-form-input-desktop-size);\n }\n\n .typography-module_content-regular-light__Hhz6w {\n font-size: var(--product-font-content-regular-light-desktop-size);\n }\n\n .typography-module_content-regular__t0R5y {\n font-size: var(--product-font-content-regular-normal-desktop-size);\n }\n\n .typography-module_content-regular-semi-bold__uicoX {\n font-size: var(--product-font-content-regular-semi-bold-desktop-size);\n }\n\n .typography-module_content-large-light__WOG9i {\n font-size: var(--product-font-content-large-light-desktop-size);\n }\n\n .typography-module_content-large__hYAxO {\n font-size: var(--product-font-content-large-normal-desktop-size);\n }\n\n .typography-module_content-large-semi-bold__04cB0 {\n font-size: var(--product-font-content-large-semi-bold-desktop-size);\n }\n\n .typography-module_content-title-light__g1-zn {\n font-size: var(--product-font-content-large-light-desktop-size);\n }\n\n .typography-module_content-title__pSV7C {\n font-size: var(--product-font-content-large-normal-desktop-size);\n }\n\n .typography-module_content-title-semi-bold__wEBjO {\n font-size: var(--product-font-content-large-semi-bold-desktop-size);\n }\n}\n\n/* MARKETING STYLES (PULLED FROM THE REPO) */\n\n.typography-module_marketing-text-light__Qqmzp {\n font-weight: 300;\n}\n\n.typography-module_marketing-text-regular__Tg3ph {\n font-weight: 400;\n}\n\n.typography-module_marketing-text-semi-bold__-1uLX {\n font-weight: 600;\n letter-spacing: -0.02em;\n}\n\n.typography-module_marketing-quote-light__-Z0bL {\n font-weight: 300;\n}\n\n.typography-module_marketing-quote-regular__Uxe14 {\n font-weight: 400;\n}\n\n.typography-module_marketing-quote-semi-bold__HpFnB {\n font-weight: 600;\n}\n\n.typography-module_marketing-small-light__BaWx- {\n font-weight: 300;\n font-size: 1rem;\n line-height: 128%;\n letter-spacing: 0em;\n}\n\n.typography-module_marketing-small-regular__k9b8H {\n font-size: 1rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 400;\n}\n\n.typography-module_marketing-small-semi-bold__qh1qZ {\n font-size: 1rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 600;\n}\n\n.typography-module_marketing-medium-light__40Uug {\n font-size: 1.25rem;\n font-weight: 300;\n line-height: 128%;\n letter-spacing: 0em;\n}\n\n.typography-module_marketing-medium-regular__oyVJA {\n font-size: 1.25rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 400;\n}\n\n.typography-module_marketing-medium-semi-bold__BEh4l {\n font-size: 1.25rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 600;\n}\n\n.typography-module_marketing-large-light__gXEvK {\n font-size: 2rem;\n font-weight: 300;\n letter-spacing: -0.02em;\n line-height: 120%;\n}\n\n.typography-module_marketing-large-regular__1XwIp {\n font-size: 2rem;\n letter-spacing: -0.02em;\n line-height: 120%;\n font-weight: 400;\n}\n\n.typography-module_marketing-large-semi-bold__2KEaV {\n font-size: 2rem;\n letter-spacing: -0.02em;\n line-height: 120%;\n font-weight: 600;\n}\n\n.typography-module_marketing-tag-light__-c5Lr {\n font-weight: 300;\n text-transform: uppercase;\n letter-spacing: 0.075rem;\n font-size: 0.5rem;\n line-height: 0.5rem;\n}\n\n.typography-module_marketing-tag-regular__1Lsf1 {\n font-weight: 400;\n text-transform: uppercase;\n letter-spacing: 0.075rem;\n font-size: 0.5rem;\n line-height: 0.5rem;\n}\n\n.typography-module_marketing-tag-semi-bold__ZYJzw {\n text-transform: uppercase;\n letter-spacing: 0.075rem;\n font-size: 0.5rem;\n line-height: 0.5rem;\n font-weight: 600;\n}\n\n@media (min-width: 768px) {\n .typography-module_marketing-small-light__BaWx- {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-small-regular__k9b8H {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-small-medium__ZzHUn {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-small-semi-bold__qh1qZ {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-medium-light__40Uug {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-medium-regular__oyVJA {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-medium-semi-bold__BEh4l {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-large-light__gXEvK {\n font-size: 2.5rem;\n }\n\n .typography-module_marketing-large-regular__1XwIp {\n font-size: 2.5rem;\n }\n\n .typography-module_marketing-large-semi-bold__2KEaV {\n font-size: 2.5rem;\n }\n}\n\n@media (min-width: 1280px) {\n .typography-module_marketing-small-light__BaWx- {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-small-regular__k9b8H {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-small-medium__ZzHUn {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-small-semi-bold__qh1qZ {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-medium-light__40Uug {\n font-size: 2rem;\n letter-spacing: -0.02em;\n }\n\n .typography-module_marketing-medium-regular__oyVJA {\n font-size: 2rem;\n letter-spacing: -0.02em;\n }\n\n .typography-module_marketing-medium-semi-bold__BEh4l {\n font-size: 2rem;\n letter-spacing: -0.02em;\n }\n\n .typography-module_marketing-large-light__gXEvK {\n font-size: 4rem;\n line-height: 128%;\n }\n\n .typography-module_marketing-large-regular__1XwIp {\n font-size: 4rem;\n line-height: 128%;\n }\n\n .typography-module_marketing-large-semi-bold__2KEaV {\n font-size: 4rem;\n line-height: 128%;\n }\n\n .typography-module_marketing-tag-light__-c5Lr {\n font-size: 0.625rem;\n line-height: 0.625rem;\n }\n\n .typography-module_marketing-tag-regular__1Lsf1 {\n font-size: 0.625rem;\n line-height: 0.625rem;\n }\n\n .typography-module_marketing-tag-semi-bold__ZYJzw {\n font-size: 0.625rem;\n line-height: 0.625rem;\n }\n}\n\n.typography-module_marketing-heading-1__lnrwI {\n font-size: 4rem;\n font-weight: 700;\n letter-spacing: -0.05em;\n line-height: 80%;\n}\n\n.typography-module_marketing-heading-2__Y2zwW {\n font-size: 4rem;\n font-weight: 700;\n letter-spacing: -0.02em;\n line-height: 88%;\n display: block;\n}\n\n.typography-module_marketing-heading-3__XxtBm {\n font-size: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.02em;\n line-height: 100%;\n}\n\n.typography-module_marketing-heading-4__6y-es {\n font-size: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.02em;\n line-height: 80%;\n}\n\n.typography-module_marketing-heading-5__vYXcb {\n font-size: 2rem;\n letter-spacing: -0.02em;\n line-height: 100%;\n}\n\n.typography-module_marketing-heading-6__fzVr- {\n font-size: 1.5rem;\n font-weight: 600;\n letter-spacing: 0em;\n}\n\n.typography-module_marketing-heading-7__0Qwet {\n font-size: 1rem;\n font-weight: 700;\n letter-spacing: 0em;\n line-height: 100%;\n text-transform: uppercase;\n}\n\n.typography-module_marketing-heading-1__lnrwI > span:last-child,\n.typography-module_marketing-heading-2__Y2zwW > span:last-child,\n.typography-module_marketing-heading-3__XxtBm > span:last-child,\n.typography-module_marketing-heading-4__6y-es > span:last-child,\n.typography-module_marketing-heading-5__vYXcb > span:last-child,\n.typography-module_marketing-heading-6__fzVr- > span:last-child,\n.typography-module_marketing-heading-7__0Qwet > span:last-child {\n font-family: var(--font-secondary);\n color: var(--product-love-pink-100);\n}\n\n.typography-module_marketing-heading-1__lnrwI,\n.typography-module_marketing-heading-4__6y-es {\n font-family: var(--font-secondary);\n}\n\n@media (min-width: 768px) {\n .typography-module_marketing-heading-1__lnrwI {\n font-size: 5rem;\n }\n\n .typography-module_marketing-heading-2__Y2zwW {\n font-size: 5rem;\n }\n\n .typography-module_marketing-heading-3__XxtBm {\n font-size: 4rem;\n }\n\n .typography-module_marketing-heading-4__6y-es {\n font-size: 4rem;\n }\n\n .typography-module_marketing-heading-5__vYXcb {\n font-size: 2.5rem;\n line-height: 100%;\n }\n\n .typography-module_marketing-heading-6__fzVr- {\n font-size: 1.75rem;\n }\n\n .typography-module_marketing-heading-7__0Qwet {\n font-size: 1.25rem;\n }\n}\n\n@media (min-width: 1280px) {\n .typography-module_marketing-heading-1__lnrwI {\n font-size: 7.5rem;\n line-height: 88%;\n }\n\n .typography-module_marketing-heading-2__Y2zwW {\n font-size: 7.5rem;\n }\n\n .typography-module_marketing-heading-3__XxtBm {\n font-size: 6.75rem;\n }\n\n .typography-module_marketing-heading-4__6y-es {\n font-size: 5rem;\n }\n\n .typography-module_marketing-heading-5__vYXcb {\n font-size: 3.5rem;\n }\n\n .typography-module_marketing-heading-6__fzVr- {\n font-size: 2rem;\n }\n}\n\n.typography-module_footer-regular__W3Cnm {\n letter-spacing: 0em;\n font-size: 0.6875rem;\n line-height: 160%;\n color: inherit;\n font-weight: 400;\n}\n\n.typography-module_footer-semi-bold__no6iQ {\n letter-spacing: 0em;\n font-size: 0.6875rem;\n line-height: 160%;\n color: inherit;\n font-weight: 600;\n}\n\n@media (min-width: 768px) {\n .typography-module_footer-regular__W3Cnm {\n font-size: 1rem;\n }\n\n .typography-module_footer-semi-bold__no6iQ {\n font-size: 1rem;\n }\n}\n");var ht=function(e){var n=e.as,o=e.children,r=e.className,i=e.variant,a=void 0===i?"content-regular":i,s=P(e,["as","children","className","variant"]),l=n||"p";return t.createElement(l,C({className:Ke(mt[a],r)},s),o)},gt={root:"accordion-module_root__oSY1m","root--detached":"accordion-module_root--detached__apO9i",item:"accordion-module_item__YhvmE",trigger:"accordion-module_trigger__2C8Zq","trigger-title":"accordion-module_trigger-title__huMzM",content:"accordion-module_content__18iAN",controls:"accordion-module_controls__ya9mj",open:"accordion-module_open__acchR",close:"accordion-module_close__4U-lr",right:"accordion-module_right__RKx3z",filled:"accordion-module_filled__0k2bT"};We('.accordion-module_root__oSY1m {\n background: var(--greyscale-0);\n border-radius: var(--product-radius-3);\n padding: 0;\n overflow: hidden;\n}\n\n.accordion-module_root--detached__apO9i {\n display: flex;\n gap: 0.5rem;\n flex-direction: column;\n background: none;\n}\n\n.accordion-module_item__YhvmE {\n margin: 0;\n border-bottom: var(--product-border-width-1) solid var(--greyscale-20);\n}\n\n.accordion-module_item__YhvmE:last-child {\n border-bottom: none;\n margin-bottom: 0;\n}\n\n.accordion-module_root--detached__apO9i .accordion-module_item__YhvmE {\n border-bottom: none;\n background: var(--greyscale-0);\n border-radius: var(--product-radius-3);\n}\n\n.accordion-module_trigger__2C8Zq {\n display: flex;\n align-items: center;\n background: none;\n border: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n width: 100%;\n text-align: left;\n color: var(--greyscale-100);\n border: var(--product-border-width-2) solid var(--greyscale-0);\n padding: var(--product-spacing-3) var(--product-spacing-4);\n gap: 0.25rem;\n border-radius: var(--product-radius-3);\n}\n\n.accordion-module_trigger-title__huMzM {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.accordion-module_trigger__2C8Zq:hover {\n background: var(--greyscale-20);\n}\n\n.accordion-module_trigger__2C8Zq:active {\n background: var(--greyscale-40);\n}\n\n.accordion-module_content__18iAN {\n overflow-x: auto;\n}\n\n.accordion-module_controls__ya9mj {\n margin-left: auto;\n padding-left: 1rem;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="open"] .accordion-module_controls__ya9mj > div {\n outline: 1px solid transparent;\n backface-visibility: hidden;\n transform: translateZ(0);\n will-change: transform;\n perspective: 1000;\n transform: rotate(-135deg);\n transition: transform 0.2s;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="closed"] .accordion-module_controls__ya9mj > div {\n transform: rotate(0deg);\n transition: transform 0.2s;\n}\n\n.accordion-module_open__acchR,\n.accordion-module_close__4U-lr {\n border-radius: 0.25rem;\n outline: 1px solid;\n margin-right: 1rem;\n line-height: 1rem;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.accordion-module_right__RKx3z.accordion-module_open__acchR,\n.accordion-module_right__RKx3z.accordion-module_close__4U-lr {\n outline: none;\n}\n\n.accordion-module_close__4U-lr {\n display: none;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="open"] > .accordion-module_close__4U-lr {\n display: flex;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="open"] > .accordion-module_open__acchR {\n display: none;\n}\n\n@media (min-width: 768px) {\n .accordion-module_filled__0k2bT .accordion-module_trigger__2C8Zq {\n padding: var(product-spacing-4);\n }\n}\n');var vt=r({active:[]}),yt=function(e){var o=e.children,r=n([]),i=r[0],a=r[1];return t.createElement(vt.Provider,{value:{active:i,setActive:a}},o)},At=r({setValue:function(){return null},value:""}),bt=function(e){var o=e.children,r=n(""),i=r[0],a=r[1];return t.createElement(At.Provider,{value:{setValue:a,value:i}},o)},wt=i((function(e,n){var o=e.children,r=e.grouping,i=P(e,["children","grouping"]),s=a(vt).setActive;return t.createElement(ze,C({ref:n},i,{className:Ke(gt.root,"detached"===r&>["root--detached"]),onValueChange:function(e){s&&s(e)}}),o)}));wt.displayName="AccordionRoot";var xt=i((function(e,n){var o=P(e,[]);return(0,a(At).setValue)(o.value),t.createElement(Ue,C({ref:n},o,{className:gt.item}))}));xt.displayName="AccordionItem";var Et=function(){var e=a(At).value,n=a(vt).active.includes(e);return t.createElement("div",{className:Ke(gt.controls)},t.createElement(ft,{className:gt.icon,icon:n?"remove_circle":"add_circle"}))},kt=function(e){var n=e.as,o=e.children,r=e.className;return"large"===e.size?t.createElement(ht,{as:n,className:r,variant:"content-large-semi-bold"},o):t.createElement(ht,{as:n,className:r},o)},St=i((function(e,n){var o=e.as,r=e.children,i=e.controls,a=e.size,s=void 0===a?"regular":a,l=P(e,["as","children","controls","size"]);return t.createElement(Qe,C({ref:n},l,{className:gt.trigger}),t.createElement(kt,{as:o,className:gt["trigger-title"],size:s},r),i||t.createElement(Et,null))}));St.displayName="AccordionTrigger";var Ct=i((function(e,n){var o=e.children,r=P(e,["children"]);return t.createElement(He,C({ref:n},r),t.createElement(Ze,{className:Ke(gt.content),variants:{radius:"none",size:{horizontal:"medium",vertical:"medium"}}},o))}));Ct.displayName="AccordionContent";var Pt={Content:Ct,Item:function(e){return t.createElement(bt,null,t.createElement(xt,C({},e)))},Root:function(e){return t.createElement(yt,null,t.createElement(wt,C({},e)))},Trigger:St},It={button:"button-module_button__JyfZW",action:"button-module_action__923NK",focus:"button-module_focus__qhW-P",primary:"button-module_primary__ggjlO",hover:"button-module_hover__v7lsh",active:"button-module_active__cCFGN",secondary:"button-module_secondary__Q4I1z",tertiary:"button-module_tertiary__0yMR6",ghost:"button-module_ghost__Dp7F-",danger:"button-module_danger__juOtt",standard:"button-module_standard__-Qbpu",text:"button-module_text__XCulJ","only-icon":"button-module_only-icon__3W6NK",nav:"button-module_nav__08mQP",outline:"button-module_outline__cMLmz",disabled:"button-module_disabled__S7XlI"};We(".button-module_button__JyfZW {\n all: unset;\n display: flex;\n padding: var(--product-spacing-3) var(--product-spacing-7);\n border-radius: var(--product-radius-3);\n width: -moz-fit-content;\n width: fit-content;\n cursor: pointer;\n}\n\n.button-module_button__JyfZW > * {\n display: flex;\n align-items: center;\n gap: var(--product-spacing-1);\n}\n\n.button-module_action__923NK {\n all: unset;\n display: flex;\n border-radius: var(--product-radius-2);\n padding: var(--product-spacing-2_5) var(--product-spacing-6);\n width: -moz-fit-content;\n width: fit-content;\n cursor: pointer;\n}\n\n.button-module_action__923NK > * {\n display: flex;\n align-items: center;\n gap: var(--product-spacing-1);\n}\n\n.button-module_button__JyfZW:focus,\n.button-module_button__JyfZW.button-module_focus__qhW-P {\n outline: var(--product-border-width-1) solid var(--product-focus);\n}\n\n.button-module_action__923NK:focus,\n.button-module_action__923NK.button-module_focus__qhW-P {\n outline: var(--product-border-width-1) solid var(--product-focus);\n}\n\n/* ! Button */\n\n/* Primary */\n\n.button-module_primary__ggjlO {\n color: var(--product-greyscale-0);\n background: var(--product-love-pink-100);\n}\n\n.button-module_primary__ggjlO:hover,\n.button-module_primary__ggjlO.button-module_hover__v7lsh {\n background: var(--product-love-pink-80);\n}\n\n.button-module_primary__ggjlO:active,\n.button-module_primary__ggjlO.button-module_active__cCFGN {\n background: var(--product-love-pink-120);\n}\n\n/* Secondary */\n\n.button-module_secondary__Q4I1z {\n color: var(--product-greyscale-0);\n background: var(--product-greyscale-100);\n}\n\n.button-module_secondary__Q4I1z:hover,\n.button-module_secondary__Q4I1z.button-module_hover__v7lsh {\n background: var(--product-greyscale-80);\n}\n\n.button-module_secondary__Q4I1z:active,\n.button-module_secondary__Q4I1z.button-module_active__cCFGN {\n background: var(--product-greyscale-60);\n}\n\n/* Tertiary */\n\n.button-module_tertiary__0yMR6 {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n.button-module_tertiary__0yMR6:hover,\n.button-module_tertiary__0yMR6.button-module_hover__v7lsh {\n background: var(--product-light-blue-20);\n}\n\n.button-module_tertiary__0yMR6:active,\n.button-module_tertiary__0yMR6.button-module_active__cCFGN {\n background: var(--product-light-blue-40);\n}\n\n/* Ghost */\n\n.button-module_ghost__Dp7F- {\n color: #004b87;\n background: var(--product-greyscale-0);\n}\n\n.button-module_ghost__Dp7F-:hover,\n.button-module_ghost__Dp7F-.button-module_hover__v7lsh {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n.button-module_ghost__Dp7F-:active,\n.button-module_ghost__Dp7F-.button-module_active__cCFGN {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-40);\n}\n\n/* Danger */\n\n.button-module_danger__juOtt {\n color: var(--product-greyscale-0);\n background: var(--product-error);\n}\n\n.button-module_danger__juOtt:hover,\n.button-module_danger__juOtt.button-module_hover__v7lsh {\n background: var(--product-danger-80);\n}\n\n.button-module_danger__juOtt:active,\n.button-module_danger__juOtt.button-module_active__cCFGN {\n background: var(--product-danger-120);\n}\n\n/*! Action Button */\n\n/* Standard */\n\n.button-module_action__923NK.button-module_standard__-Qbpu {\n color: var(--product-greyscale-0);\n background: var(--product-light-blue-100);\n}\n\n.button-module_action__923NK.button-module_standard__-Qbpu:hover,\n.button-module_action__923NK.button-module_standard__-Qbpu.button-module_hover__v7lsh {\n background: var(--product-light-blue-80);\n}\n\n.button-module_action__923NK.button-module_standard__-Qbpu:active,\n.button-module_action__923NK.button-module_standard__-Qbpu.button-module_active__cCFGN {\n background: var(--product-light-blue-120);\n}\n\n/* Secondary */\n\n.button-module_action__923NK.button-module_secondary__Q4I1z {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-0);\n}\n\n.button-module_action__923NK.button-module_secondary__Q4I1z:hover,\n.button-module_action__923NK.button-module_secondary__Q4I1z.button-module_hover__v7lsh {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n.button-module_action__923NK.button-module_secondary__Q4I1z:active,\n.button-module_action__923NK.button-module_secondary__Q4I1z.button-module_active__cCFGN {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n/* Tertiary */\n\n.button-module_action__923NK.button-module_tertiary__0yMR6 {\n background: var(--product-greyscale-100);\n color: var(--product-greyscale-0);\n}\n\n.button-module_action__923NK.button-module_tertiary__0yMR6:hover,\n.button-module_action__923NK.button-module_tertiary__0yMR6.button-module_hover__v7lsh {\n background: var(--product-greyscale-80);\n}\n\n.button-module_action__923NK.button-module_tertiary__0yMR6:active,\n.button-module_action__923NK.button-module_tertiary__0yMR6.button-module_active__cCFGN {\n background: var(--product-greyscale-100);\n}\n\n/* Ghost */\n\n.button-module_action__923NK.button-module_ghost__Dp7F- {\n color: #004b87;\n background: var(--product-greyscale-0);\n}\n\n.button-module_action__923NK.button-module_ghost__Dp7F-:hover,\n.button-module_action__923NK.button-module_ghost__Dp7F-.button-module_hover__v7lsh {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n.button-module_action__923NK.button-module_ghost__Dp7F-:active,\n.button-module_action__923NK.button-module_ghost__Dp7F-.button-module_active__cCFGN {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-40);\n}\n\n.button-module_action__923NK.button-module_ghost__Dp7F-:focus,\n.button-module_action__923NK.button-module_ghost__Dp7F-.button-module_focus__qhW-P {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n/* Danger */\n\n.button-module_action__923NK.button-module_danger__juOtt {\n color: var(--product-greyscale-0);\n background: var(--product-error);\n}\n\n.button-module_action__923NK.button-module_danger__juOtt:hover,\n.button-module_action__923NK.button-module_danger__juOtt.button-module_hover__v7lsh {\n background: var(--product-danger-80);\n}\n\n.button-module_action__923NK.button-module_danger__juOtt:active,\n.button-module_action__923NK.button-module_danger__juOtt.button-module_active__cCFGN {\n background: var(--product-danger-120);\n}\n\n/*! Text Button */\n.button-module_text__XCulJ {\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n padding: var(--product-spacing-1);\n border-radius: var(--product-radius-2);\n cursor: pointer;\n}\n\n/* Primary */\n\n.button-module_text__XCulJ.button-module_primary__ggjlO {\n background: none;\n border: none;\n color: var(--product-greyscale-100);\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO::after {\n content: '';\n position: absolute;\n background: var(--product-greyscale-100);\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO:hover::after,\n.button-module_text__XCulJ.button-module_primary__ggjlO.button-module_hover__v7lsh::after {\n background: var(--product-love-pink-100);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO:active::after,\n.button-module_text__XCulJ.button-module_primary__ggjlO.button-module_active__cCFGN::after {\n background: var(--product-love-pink-120);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO:focus,\n.button-module_text__XCulJ.button-module_primary__ggjlO.button-module_focus__qhW-P {\n outline: 2px solid var(--product-focus);\n}\n\n/* Secondary */\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z {\n background: none;\n border: none;\n color: var(--product-light-blue-100);\n}\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z:hover::after,\n.button-module_text__XCulJ.button-module_secondary__Q4I1z.button-module_hover__v7lsh::after {\n background: var(--product-light-blue-100);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z:active::after,\n.button-module_text__XCulJ.button-module_secondary__Q4I1z.button-module_active__cCFGN::after {\n background: var(--product-light-blue-120);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z:focus,\n.button-module_text__XCulJ.button-module_secondary__Q4I1z.button-module_focus__qhW-P {\n outline: 2px solid var(--product-focus);\n}\n\n.button-module_button__JyfZW:disabled {\n background: var(--product-disabled);\n color: var(--product-disabled-text);\n cursor: not-allowed;\n}\n\n.button-module_action__923NK:disabled {\n background: var(--product-disabled);\n color: var(--product-disabled-text);\n cursor: not-allowed;\n}\n\n.button-module_action__923NK:disabled:hover,\n.button-module_action__923NK:disabled.button-module_hover__v7lsh {\n background: var(--product-disabled);\n color: var(--product-disabled-text);\n cursor: not-allowed;\n border: none;\n}\n\n.button-module_text__XCulJ:disabled {\n position: relative;\n color: var(--product-disabled-text);\n border: none;\n cursor: not-allowed;\n}\n\n.button-module_text__XCulJ:disabled:hover {\n border: none;\n}\n\n.button-module_text__XCulJ:disabled:hover::after {\n content: '';\n position: absolute;\n background: var(--product-disabled-text);\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ:disabled:active {\n color: var(--product-disabled-text);\n}\n\n.button-module_text__XCulJ:disabled::after {\n content: '';\n position: absolute;\n background: var(--product-disabled-text);\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_only-icon__3W6NK {\n padding: var(--product-spacing-3);\n border-radius: var(--product-radius-3);\n}\n\n.button-module_action__923NK.button-module_only-icon__3W6NK {\n padding: var(--product-spacing-2_5);\n border-radius: var(--product-radius-3);\n}\n\n/* Nav button */\n\n.button-module_nav__08mQP {\n padding: 0.375rem 1rem;\n border-radius: 9999px;\n cursor: pointer;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.button-module_nav__08mQP.button-module_primary__ggjlO {\n border: none;\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz {\n background: var(--product-ghost-white);\n border: 1px solid var(--product-greyscale-100);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:hover,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_hover__v7lsh {\n background: var(--product-greyscale-20);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:active,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_active__cCFGN {\n background: var(--product-greyscale-40);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:focus-visible,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_focus__qhW-P {\n outline: 3px solid var(--product-focus);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:disabled,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_disabled__S7XlI {\n border: 1px solid var(--product-greyscale-60);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:disabled:hover {\n background: var(--product-ghost-white);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z {\n background: var(--product-light-blue-20);\n color: var(--product-light-blue-100);\n border: none;\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:hover,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_hover__v7lsh {\n background: var(--product-light-blue-40);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:active,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_active__cCFGN {\n background: var(--product-light-blue-60);\n color: var(--product-ghost-white);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:focus-visible,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_focus__qhW-P {\n background: var(--product-light-blue-20);\n outline: 3px solid var(--product-focus);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:disabled,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_disabled__S7XlI {\n background: var(--product-greyscale-40);\n color: var(--product-greyscale-60);\n}\n\n.button-module_nav__08mQP.button-module_only-icon__3W6NK {\n padding: 0.375rem;\n}\n\n@media (min-width: 768px) {\n .button-module_button__JyfZW {\n padding: var(--product-spacing-4) var(--product-spacing-7);\n }\n\n .button-module_action__923NK {\n border-radius: var(--product-radius-3);\n }\n\n .button-module_only-icon__3W6NK {\n padding: 16px;\n }\n\n .button-module_action__923NK.button-module_only-icon__3W6NK {\n padding: 10px;\n }\n\n .button-module_nav__08mQP {\n padding: 0.5rem 1rem;\n }\n}\n");function Ot(e){var n=e.as,o=e.children,r=e.className,i=void 0===r?"":r,a=e.onlyIcon,s=void 0!==a&&a,l=e.variant,u=e.visualType,c=P(e,["as","children","className","onlyIcon","variant","visualType"]),d=n||"button";return t.createElement(d,C({className:Ke(i,It[l||"primary"],It[u||"button"],s&&It["only-icon"])},c),s&&o,!s&&t.createElement(ht,{variant:"form-button"},o))}var Dt={container:"callout-module_container__yuu-N",primary:"callout-module_primary__kL3xP",warning:"callout-module_warning__U-EFf",error:"callout-module_error__yAduK",positive:"callout-module_positive__HZTWZ",secondary:"callout-module_secondary__TqkOR"};We(".callout-module_container__yuu-N {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: -moz-fit-content;\n width: fit-content;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 2.25rem;\n padding-right: 1rem;\n}\n\n.callout-module_container__yuu-N > span {\n position: absolute;\n left: 0.5rem;\n}\n\n.callout-module_primary__kL3xP {\n background-color: var(--product-light-blue-20);\n color: var(--product-light-blue-100);\n}\n\n.callout-module_warning__U-EFf {\n background-color: var(--product-yellow-20);\n color: var(--product-greyscale-80);\n}\n\n.callout-module_error__yAduK {\n background-color: var(--product-error-20);\n color: var(--product-greyscale-80);\n}\n\n.callout-module_positive__HZTWZ {\n background: var(--product-success-20);\n color: var(--product-greyscale-80);\n}\n\n.callout-module_secondary__TqkOR {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-80);\n}\n\n@media screen and (min-width: 768px) {\n .callout-module_container__yuu-N {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 2.5rem;\n padding-right: 1rem;\n }\n}\n");var Tt={Icon:ft,Root:function(e){var n=e.children,o=e.type,r=void 0===o?"primary":o;return t.createElement("div",{className:Ke(Dt.container,Dt[r])},n)},Text:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(ht,C({},o),n)}},Nt={cards:"cards-module_cards__vogb6","layout--bento-three":"cards-module_layout--bento-three__QEMZ5","layout--bento-four":"cards-module_layout--bento-four__45aR4","layout--bento-five":"cards-module_layout--bento-five__SOo2w"};We(".cards-module_cards__vogb6 {\n list-style: none;\n}\n\n.cards-module_layout--bento-three__QEMZ5 {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n gap: 1rem;\n margin-top: 1.5rem;\n margin-bottom: 0.5rem;\n}\n\n.cards-module_layout--bento-three__QEMZ5 br {\n margin: 0 !important;\n}\n\n.cards-module_layout--bento-three__QEMZ5 > * {\n width: 100%;\n}\n\n.cards-module_layout--bento-four__45aR4 {\n display: grid;\n grid-template-columns: repeat(2, 2fr);\n gap: 1rem;\n margin-bottom: 0.5rem;\n}\n\n.cards-module_layout--bento-four__45aR4 > * {\n width: 100%;\n}\n\n.cards-module_layout--bento-four__45aR4 br {\n margin: 0 !important;\n}\n\n.cards-module_layout--bento-five__SOo2w {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(3, 1fr);\n gap: 1rem;\n}\n\n.cards-module_layout--bento-five__SOo2w > *:first-child {\n grid-row: 1 / 3;\n}\n\n@media (min-width: 768px) {\n .cards-module_layout--bento-three__QEMZ5 {\n flex-direction: row;\n margin-top: 2rem;\n margin-bottom: 1rem;\n }\n\n .cards-module_layout--bento-three__QEMZ5 > * {\n width: calc(100% / 3);\n }\n\n .cards-module_layout--bento-four__45aR4 {\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(2, auto);\n }\n\n .cards-module_layout--bento-four__45aR4 > *:last-child {\n grid-column: 1 / 4;\n padding: 4rem 2rem;\n }\n\n .cards-module_layout--bento-five__SOo2w {\n grid-template-rows: repeat(2, 1fr);\n grid-template-columns: repeat(3, 1fr);\n }\n\n .cards-module_layout--bento-five__SOo2w > *:first-child {\n grid-row: 1 / 3;\n }\n}\n\n@media (min-width: 1280px) {\n .cards-module_layout--bento-three__QEMZ5 {\n gap: 1.5rem;\n margin-top: 2.5rem;\n }\n\n .cards-module_layout--bento-four__45aR4 {\n gap: 1.5rem;\n margin-bottom: 1rem;\n }\n\n .cards-module_layout--bento-five__SOo2w {\n gap: 1.5rem;\n }\n}\n");var Bt=function(e){var n=e.as,o=e.children,r=e.variants,i=n||"div",a=C({layout:"bento-three"},r);return t.createElement(i,{className:Ke(Nt.cards,Nt["layout--".concat(a.layout)])},o)};function Rt(t){const n=e.useRef({value:t,previous:t});return e.useMemo((()=>(n.current.value!==t&&(n.current.previous=n.current.value,n.current.value=t),n.current.previous)),[t])}function Mt(t){const[n,o]=e.useState(void 0);return H((()=>{if(t){o({width:t.offsetWidth,height:t.offsetHeight});const e=new ResizeObserver((e=>{if(!Array.isArray(e))return;if(!e.length)return;const n=e[0];let r,i;if("borderBoxSize"in n){const e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=t.offsetWidth,i=t.offsetHeight;o({width:r,height:i})}));return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}o(void 0)}),[t]),n}var Ft="Checkbox",[Vt,Lt]=O(Ft),[_t,jt]=Vt(Ft),zt=e.forwardRef(((t,n)=>{const{__scopeCheckbox:o,name:r,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,form:d,...p}=t,[f,m]=e.useState(null),h=B(n,(e=>m(e))),g=e.useRef(!1),v=!f||(d||!!f.closest("form")),[A=!1,w]=U({prop:i,defaultProp:a,onChange:c}),x=e.useRef(A);return e.useEffect((()=>{const e=f?.form;if(e){const t=()=>w(x.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}}),[f,w]),b(_t,{scope:o,state:A,disabled:l,children:[y(Q.button,{type:"button",role:"checkbox","aria-checked":qt(A)?"mixed":A,"aria-required":s,"data-state":Kt(A),"data-disabled":l?"":void 0,disabled:l,value:u,...p,ref:h,onKeyDown:j(t.onKeyDown,(e=>{"Enter"===e.key&&e.preventDefault()})),onClick:j(t.onClick,(e=>{w((e=>!!qt(e)||!e)),v&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())}))}),v&&y(Ht,{control:f,bubbles:!g.current,name:r,value:u,checked:A,required:s,disabled:l,form:d,style:{transform:"translateX(-100%)"},defaultChecked:!qt(a)&&a})]})}));zt.displayName=Ft;var Ut="CheckboxIndicator",Qt=e.forwardRef(((e,t)=>{const{__scopeCheckbox:n,forceMount:o,...r}=e,i=jt(Ut,n);return y(q,{present:o||qt(i.state)||!0===i.state,children:y(Q.span,{"data-state":Kt(i.state),"data-disabled":i.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})}));Qt.displayName=Ut;var Ht=t=>{const{control:n,checked:o,bubbles:r=!0,defaultChecked:i,...a}=t,s=e.useRef(null),l=Rt(o),u=Mt(n);e.useEffect((()=>{const e=s.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set;if(l!==o&&n){const t=new Event("click",{bubbles:r});e.indeterminate=qt(o),n.call(e,!qt(o)&&o),e.dispatchEvent(t)}}),[l,o,r]);const c=e.useRef(!qt(o)&&o);return y("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i??c.current,...a,tabIndex:-1,ref:s,style:{...t.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function qt(e){return"indeterminate"===e}function Kt(e){return qt(e)?"indeterminate":e?"checked":"unchecked"}var Wt=zt,Gt=Qt,Zt={container:"checkBox-module_container__o7fVw",root:"checkBox-module_root__ic8tN",radio:"checkBox-module_radio__1zNqz",indicator:"checkBox-module_indicator__PsVgC",label:"checkBox-module_label__sERZR"};We(".checkBox-module_container__o7fVw {\n display: flex;\n}\n\n.checkBox-module_root__ic8tN {\n background-color: white;\n width: 25px;\n height: 25px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.checkBox-module_root__ic8tN:hover {\n background-color: var(--product-greyscale-20);\n}\n\n.checkBox-module_root__ic8tN:focus-visible {\n box-shadow: 0 0 0 2px var(--product-focus);\n}\n\n.checkBox-module_radio__1zNqz.checkBox-module_root__ic8tN {\n border-radius: 50%;\n}\n\n.checkBox-module_indicator__PsVgC {\n}\n\n.checkBox-module_label__sERZR {\n color: black;\n padding-left: 15px;\n font-size: 15px;\n line-height: 1;\n}\n");var Xt=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Yt,C({},s,{field:C({},n)}))}})},Yt=function(e){var n=e.field,o=e.id,r=e.label,i=e.variant;return t.createElement("div",{className:Zt.container},t.createElement(Wt,C({className:Ke(Zt.root,Zt[i||""]),id:o},n),t.createElement(Gt,{className:Zt.indicator},t.createElement(ft,{icon:"check"}))),t.createElement(ht,{as:"label",className:Zt.label,htmlFor:o,variant:"form-input-normal"},r))},Jt="columns-module_container__mrWhl";We(".columns-module_container__mrWhl {\n display: grid;\n gap: 1rem;\n}\n");var $t=function(e){var n=e.children,o=e.cols;return t.createElement("div",{className:Jt,style:{gridTemplateColumns:"repeat(".concat(o,", 1fr)")}},n)};function en(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}function tn(){return tn=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},tn.apply(null,arguments)}function nn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function on(e,t){return on=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},on(e,t)}function rn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function an(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var sn,ln={exports:{}},un={exports:{}},cn={};var dn,pn,fn,mn,hn,gn,vn,yn,An,bn,wn,xn,En,kn,Sn={};
|
|
37
|
+
*/"production"===process.env.NODE_ENV?Ye.exports=function(){if(ot)return Je;ot=1;var e=rt,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var s,l={},u=null,c=null;for(s in void 0!==a&&(u=""+a),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)o.call(n,s)&&!i.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:u,ref:c,props:l,_owner:r.current}}return Je.Fragment=n,Je.jsx=a,Je.jsxs=a,Je}():Ye.exports=(it||(it=1,"production"!==process.env.NODE_ENV&&function(){var e,t=rt,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g=t.__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=g.ReactDebugCurrentFrame,r=o.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));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 A(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 o:return"Portal";case a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return y(e)+".Consumer";case s:return y(e._context)+".Provider";case u:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:A(e.type)||"Memo";case f:var n=e,m=n._payload,h=n._init;try{return A(h(m))}catch{return null}}return null}e=Symbol.for("react.module.reference");var b,w,x,E,k,S,C,P=Object.assign,I=0;function O(){}O.__reactDisabledLog=!0;var D,T=g.ReactCurrentDispatcher;function N(e,t,n){if(void 0===D)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);D=o&&o[1]||""}return"\n"+D+e}var B,R=!1,M="function"==typeof WeakMap?WeakMap:Map;function F(e,t){if(!e||R)return"";var n,o=B.get(e);if(void 0!==o)return o;R=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=T.current,T.current=null,function(){if(0===I){b=console.log,w=console.info,x=console.warn,E=console.error,k=console.group,S=console.groupCollapsed,C=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}I++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&B.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{R=!1,T.current=r,function(){if(0==--I){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:b}),info:P({},e,{value:w}),warn:P({},e,{value:x}),error:P({},e,{value:E}),group:P({},e,{value:k}),groupCollapsed:P({},e,{value:S}),groupEnd:P({},e,{value:C})})}I<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:"",f=p?N(p):"";return"function"==typeof e&&B.set(e,f),f}function V(e,t,n){if(null==e)return"";if("function"==typeof e)return F(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return N(e);switch(e){case c:return N("Suspense");case d:return N("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return function(e){return F(e,!1)}(e.render);case p:return V(e.type,t,n);case f:var o=e,r=o._payload,i=o._init;try{return V(i(r),t,n)}catch{}}return""}B=new M;var L=Object.prototype.hasOwnProperty,_={},j=g.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,n=V(e.type,e._source,t?t.type:null);j.setExtraStackFrame(n)}else j.setExtraStackFrame(null)}var U=Array.isArray;function Q(e){return U(e)}function H(e){return""+e}function q(e){if(function(e){try{return H(e),!1}catch{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)),H(e)}var K,W,G,Z=g.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function Y(e,t,o,r,i){var a,s={},l=null,u=null;for(a in void 0!==o&&(q(o),l=""+o),function(e){if(L.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(q(t.key),l=""+t.key),function(e){if(L.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&Z.current&&t&&Z.current.stateNode!==t){var n=A(Z.current.type);G[n]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',A(Z.current.type),e.ref),G[n]=!0)}}(t,i)),t)L.call(t,a)&&!X.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){K||(K=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(s,d),u&&function(e,t){var n=function(){W||(W=!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})}(s,d)}return function(e,t,o,r,i,a,s){var l={$$typeof:n,type:e,key:t,ref:o,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,r,Z.current,s)}G={};var J,$=g.ReactCurrentOwner,ee=g.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=V(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===n}function oe(){if($.current){var e=A($.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var re={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=oe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!re[n]){re[n]=!0;var o="";e&&e._owner&&e._owner!==$.current&&(o=" It was passed a child from "+A(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 ae(e,t){if("object"==typeof e)if(Q(e))for(var n=0;n<e.length;n++){var o=e[n];ne(o)&&ie(o,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)ne(i.value)&&ie(i.value,t)}}function se(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!==p)return;t=n.propTypes}if(t){var o=A(n);!function(e,t,n,o,r){var i=Function.call.bind(L);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((o||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(z(r),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,a,typeof s),z(null)),s instanceof Error&&!(s.message in _)&&(_[s.message]=!0,z(r),v("Failed %s type: %s",n,s.message),z(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?",A(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.")}}function le(t,o,h,g,y,b){var w=function(t){return!("string"!=typeof t&&"function"!=typeof t&&t!==r&&t!==a&&t!==i&&t!==c&&t!==d&&t!==m&&("object"!=typeof t||null===t||t.$$typeof!==f&&t.$$typeof!==p&&t.$$typeof!==s&&t.$$typeof!==l&&t.$$typeof!==u&&t.$$typeof!==e&&void 0===t.getModuleId))}(t);if(!w){var x,E="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(E+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),E+=oe(),null===t?x="null":Q(t)?x="array":void 0!==t&&t.$$typeof===n?(x="<"+(A(t.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):x=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",x,E)}var k=Y(t,o,h,y,b);if(null==k)return k;if(w){var S=o.children;if(void 0!==S)if(g)if(Q(S)){for(var C=0;C<S.length;C++)ae(S[C],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 ae(S,t)}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):se(k),k}var ue=function(e,t,n){return le(e,t,n,!1)},ce=function(e,t,n){return le(e,t,n,!0)};at.Fragment=r,at.jsx=ue,at.jsxs=ce}()),at);const st=Ye.exports.jsx;function lt(...e){return e.filter(Boolean).map((e=>e.trim())).join(" ")}const ut=rt.forwardRef((({icon:e,onClick:t,as:n,weight:o,fill:r=!1,grade:i,size:a,style:s,color:l,className:u,...c},d)=>{const p=void 0!==t?"button":n??"span",f={color:l,...s};return r&&(f.fontVariationSettings=[f.fontVariationSettings,'"FILL" 1'].filter(Boolean).join(", ")),o&&(f.fontVariationSettings=[f.fontVariationSettings,`"wght" ${o}`].filter(Boolean).join(", ")),i&&(f.fontVariationSettings=[f.fontVariationSettings,`"GRAD" ${i}`].filter(Boolean).join(", ")),a&&(f.fontVariationSettings=[f.fontVariationSettings,`"opsz" ${a}`].filter(Boolean).join(", "),f.fontSize=a),st(p,{...c,ref:d,style:f,onClick:t,className:lt("material-symbols",u),children:e})}));function ct(){var e=n({height:void 0,width:600}),t=e[0],r=e[1];return o((function(){function e(){r({height:window.innerHeight,width:window.innerWidth||600})}return window.addEventListener("resize",e,{passive:!0}),e(),function(){return window.removeEventListener("resize",e)}}),[]),t}var dt={large:40,regular:24,regularMobile:20,xlarge:48},pt={light:200,medium:400,mobileRegularMedium:500,mobileRegularNormal:400,normal:300},ft=function(e){var n,o=e.size,r=void 0===o?"regular":o,i=e.weight,a=void 0===i?"normal":i,s=P(e,["size","weight"]),l=ct().width<768,u=l&&"regular"===r?dt.regularMobile:dt[r],c="regular"===r&&l?pt["mobileRegular".concat((n=a,n.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))))]:pt[a];return t.createElement("span",{style:{display:"block",height:"".concat(u,"px"),width:"".concat(u,"px")},translate:"no"},t.createElement(ut,C({size:u,weight:c},s)))},mt={"form-label":"typography-module_form-label__SomhN","form-helper":"typography-module_form-helper__vQm-e","form-button":"typography-module_form-button__D-Xch","form-input-normal":"typography-module_form-input-normal__vCxpV","form-input-semi-bold":"typography-module_form-input-semi-bold__NL-w-","content-regular-light":"typography-module_content-regular-light__Hhz6w","content-regular":"typography-module_content-regular__t0R5y","content-regular-semi-bold":"typography-module_content-regular-semi-bold__uicoX","content-large-light":"typography-module_content-large-light__WOG9i","content-large":"typography-module_content-large__hYAxO","content-large-semi-bold":"typography-module_content-large-semi-bold__04cB0","content-title-light":"typography-module_content-title-light__g1-zn","content-title":"typography-module_content-title__pSV7C","content-title-semi-bold":"typography-module_content-title-semi-bold__wEBjO",tag:"typography-module_tag__6g-kC","marketing-text-light":"typography-module_marketing-text-light__Qqmzp","marketing-text-regular":"typography-module_marketing-text-regular__Tg3ph","marketing-text-semi-bold":"typography-module_marketing-text-semi-bold__-1uLX","marketing-quote-light":"typography-module_marketing-quote-light__-Z0bL","marketing-quote-regular":"typography-module_marketing-quote-regular__Uxe14","marketing-quote-semi-bold":"typography-module_marketing-quote-semi-bold__HpFnB","marketing-small-light":"typography-module_marketing-small-light__BaWx-","marketing-small-regular":"typography-module_marketing-small-regular__k9b8H","marketing-small-semi-bold":"typography-module_marketing-small-semi-bold__qh1qZ","marketing-medium-light":"typography-module_marketing-medium-light__40Uug","marketing-medium-regular":"typography-module_marketing-medium-regular__oyVJA","marketing-medium-semi-bold":"typography-module_marketing-medium-semi-bold__BEh4l","marketing-large-light":"typography-module_marketing-large-light__gXEvK","marketing-large-regular":"typography-module_marketing-large-regular__1XwIp","marketing-large-semi-bold":"typography-module_marketing-large-semi-bold__2KEaV","marketing-tag-light":"typography-module_marketing-tag-light__-c5Lr","marketing-tag-regular":"typography-module_marketing-tag-regular__1Lsf1","marketing-tag-semi-bold":"typography-module_marketing-tag-semi-bold__ZYJzw","marketing-small-medium":"typography-module_marketing-small-medium__ZzHUn","marketing-heading-1":"typography-module_marketing-heading-1__lnrwI","marketing-heading-2":"typography-module_marketing-heading-2__Y2zwW","marketing-heading-3":"typography-module_marketing-heading-3__XxtBm","marketing-heading-4":"typography-module_marketing-heading-4__6y-es","marketing-heading-5":"typography-module_marketing-heading-5__vYXcb","marketing-heading-6":"typography-module_marketing-heading-6__fzVr-","marketing-heading-7":"typography-module_marketing-heading-7__0Qwet","footer-regular":"typography-module_footer-regular__W3Cnm","footer-semi-bold":"typography-module_footer-semi-bold__no6iQ"};We(".typography-module_form-label__SomhN {\n font-weight: var(--product-font-weight-semi-bold);\n font-size: var(--product-font-form-label-mobile-size);\n letter-spacing: var(--product-font-form-label-letter-spacing);\n line-height: var(--product-font-form-label-line-height);\n}\n\n.typography-module_form-helper__vQm-e {\n font-size: var(--product-font-form-helper-mobile-size);\n letter-spacing: var(--product-font-form-helper-letter-spacing);\n line-height: var(--product-font-form-helper-line-height);\n}\n\n.typography-module_form-button__D-Xch {\n font-size: var(--product-font-form-input-button-mobile-size);\n letter-spacing: var(--product-font-form-input-button-letter-spacing);\n line-height: var(--product-font-form-input-button-line-height);\n font-weight: var(--product-font-weight-medium);\n}\n\n.typography-module_form-input-normal__vCxpV {\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n}\n\n.typography-module_form-input-semi-bold__NL-w- {\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_content-regular-light__Hhz6w {\n font-size: var(--product-font-content-regular-light-mobile-size);\n letter-spacing: var(--product-font-content-regular-light-letter-spacing);\n line-height: var(--product-font-content-regular-light-line-height);\n font-weight: var(--product-font-weight-light);\n}\n\n.typography-module_content-regular__t0R5y {\n font-size: var(--product-font-content-regular-normal-mobile-size);\n letter-spacing: var(--product-font-content-regular-normal-letter-spacing);\n line-height: var(--product-font-content-regular-normal-line-height);\n}\n\n.typography-module_content-regular-semi-bold__uicoX {\n font-size: var(--product-font-content-regular-semi-bold-mobile-size);\n letter-spacing: var(--product-font-content-regular-semi-bold-letter-spacing);\n line-height: var(--product-font-content-regular-semi-bold-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_content-large-light__WOG9i {\n font-size: var(--product-font-content-large-light-mobile-size);\n letter-spacing: var(--product-font-content-large-light-letter-spacing);\n line-height: var(--product-font-content-large-light-line-height);\n font-weight: var(--product-font-weight-light);\n}\n\n.typography-module_content-large__hYAxO {\n font-size: var(--product-font-content-large-normal-mobile-size);\n letter-spacing: var(--product-font-content-large-normal-letter-spacing);\n line-height: var(--product-font-content-large-normal-line-height);\n}\n\n.typography-module_content-large-semi-bold__04cB0 {\n font-size: var(--product-font-content-large-semi-bold-mobile-size);\n letter-spacing: var(--product-font-content-large-semi-bold-letter-spacing);\n line-height: var(--product-font-content-large-semi-bold-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_content-title-light__g1-zn {\n font-size: var(--product-font-content-large-light-mobile-size);\n letter-spacing: var(--product-font-content-large-light-letter-spacing);\n line-height: var(--product-font-content-large-light-line-height);\n font-weight: var(--product-font-weight-light);\n}\n\n.typography-module_content-title__pSV7C {\n font-size: var(--product-font-content-large-normal-mobile-size);\n letter-spacing: var(--product-font-content-large-normal-letter-spacing);\n line-height: var(--product-font-content-large-normal-line-height);\n}\n\n.typography-module_content-title-semi-bold__wEBjO {\n font-size: var(--product-font-content-large-semi-bold-mobile-size);\n letter-spacing: var(--product-font-content-large-semi-bold-letter-spacing);\n line-height: var(--product-font-content-large-semi-bold-line-height);\n font-weight: var(--product-font-weight-semi-bold);\n}\n\n.typography-module_tag__6g-kC {\n font-size: var(--product-font-tag-mobile-size);\n line-height: var(--product-font-tag-line-height);\n text-transform: var(--product-font-tag-text-transform);\n font-weight: var(--product-font-tag-weight);\n letter-spacing: var(--product-font-tag-letter-spacing);\n}\n\n@media (min-width: 768px) {\n .typography-module_form-label__SomhN {\n font-size: var(--product-font-form-label-desktop-size);\n }\n\n .typography-module_form-helper__vQm-e {\n font-size: var(--product-font-form-helper-desktop-size);\n }\n\n .typography-module_form-button__D-Xch {\n font-size: var(--product-font-form-input-button-desktop-size);\n }\n\n .typography-module_form-input-normal__vCxpV {\n font-size: var(--product-font-form-input-desktop-size);\n }\n\n .typography-module_form-input-semi-bold__NL-w- {\n font-size: var(--product-font-form-input-desktop-size);\n }\n\n .typography-module_content-regular-light__Hhz6w {\n font-size: var(--product-font-content-regular-light-desktop-size);\n }\n\n .typography-module_content-regular__t0R5y {\n font-size: var(--product-font-content-regular-normal-desktop-size);\n }\n\n .typography-module_content-regular-semi-bold__uicoX {\n font-size: var(--product-font-content-regular-semi-bold-desktop-size);\n }\n\n .typography-module_content-large-light__WOG9i {\n font-size: var(--product-font-content-large-light-desktop-size);\n }\n\n .typography-module_content-large__hYAxO {\n font-size: var(--product-font-content-large-normal-desktop-size);\n }\n\n .typography-module_content-large-semi-bold__04cB0 {\n font-size: var(--product-font-content-large-semi-bold-desktop-size);\n }\n\n .typography-module_content-title-light__g1-zn {\n font-size: var(--product-font-content-large-light-desktop-size);\n }\n\n .typography-module_content-title__pSV7C {\n font-size: var(--product-font-content-large-normal-desktop-size);\n }\n\n .typography-module_content-title-semi-bold__wEBjO {\n font-size: var(--product-font-content-large-semi-bold-desktop-size);\n }\n}\n\n/* MARKETING STYLES (PULLED FROM THE REPO) */\n\n.typography-module_marketing-text-light__Qqmzp {\n font-weight: 300;\n}\n\n.typography-module_marketing-text-regular__Tg3ph {\n font-weight: 400;\n}\n\n.typography-module_marketing-text-semi-bold__-1uLX {\n font-weight: 600;\n letter-spacing: -0.02em;\n}\n\n.typography-module_marketing-quote-light__-Z0bL {\n font-weight: 300;\n}\n\n.typography-module_marketing-quote-regular__Uxe14 {\n font-weight: 400;\n}\n\n.typography-module_marketing-quote-semi-bold__HpFnB {\n font-weight: 600;\n}\n\n.typography-module_marketing-small-light__BaWx- {\n font-weight: 300;\n font-size: 1rem;\n line-height: 128%;\n letter-spacing: 0em;\n}\n\n.typography-module_marketing-small-regular__k9b8H {\n font-size: 1rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 400;\n}\n\n.typography-module_marketing-small-semi-bold__qh1qZ {\n font-size: 1rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 600;\n}\n\n.typography-module_marketing-medium-light__40Uug {\n font-size: 1.25rem;\n font-weight: 300;\n line-height: 128%;\n letter-spacing: 0em;\n}\n\n.typography-module_marketing-medium-regular__oyVJA {\n font-size: 1.25rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 400;\n}\n\n.typography-module_marketing-medium-semi-bold__BEh4l {\n font-size: 1.25rem;\n line-height: 128%;\n letter-spacing: 0em;\n font-weight: 600;\n}\n\n.typography-module_marketing-large-light__gXEvK {\n font-size: 2rem;\n font-weight: 300;\n letter-spacing: -0.02em;\n line-height: 120%;\n}\n\n.typography-module_marketing-large-regular__1XwIp {\n font-size: 2rem;\n letter-spacing: -0.02em;\n line-height: 120%;\n font-weight: 400;\n}\n\n.typography-module_marketing-large-semi-bold__2KEaV {\n font-size: 2rem;\n letter-spacing: -0.02em;\n line-height: 120%;\n font-weight: 600;\n}\n\n.typography-module_marketing-tag-light__-c5Lr {\n font-weight: 300;\n text-transform: uppercase;\n letter-spacing: 0.075rem;\n font-size: 0.5rem;\n line-height: 0.5rem;\n}\n\n.typography-module_marketing-tag-regular__1Lsf1 {\n font-weight: 400;\n text-transform: uppercase;\n letter-spacing: 0.075rem;\n font-size: 0.5rem;\n line-height: 0.5rem;\n}\n\n.typography-module_marketing-tag-semi-bold__ZYJzw {\n text-transform: uppercase;\n letter-spacing: 0.075rem;\n font-size: 0.5rem;\n line-height: 0.5rem;\n font-weight: 600;\n}\n\n@media (min-width: 768px) {\n .typography-module_marketing-small-light__BaWx- {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-small-regular__k9b8H {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-small-medium__ZzHUn {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-small-semi-bold__qh1qZ {\n font-size: 1.25rem;\n }\n\n .typography-module_marketing-medium-light__40Uug {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-medium-regular__oyVJA {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-medium-semi-bold__BEh4l {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-large-light__gXEvK {\n font-size: 2.5rem;\n }\n\n .typography-module_marketing-large-regular__1XwIp {\n font-size: 2.5rem;\n }\n\n .typography-module_marketing-large-semi-bold__2KEaV {\n font-size: 2.5rem;\n }\n}\n\n@media (min-width: 1280px) {\n .typography-module_marketing-small-light__BaWx- {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-small-regular__k9b8H {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-small-medium__ZzHUn {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-small-semi-bold__qh1qZ {\n font-size: 1.5rem;\n }\n\n .typography-module_marketing-medium-light__40Uug {\n font-size: 2rem;\n letter-spacing: -0.02em;\n }\n\n .typography-module_marketing-medium-regular__oyVJA {\n font-size: 2rem;\n letter-spacing: -0.02em;\n }\n\n .typography-module_marketing-medium-semi-bold__BEh4l {\n font-size: 2rem;\n letter-spacing: -0.02em;\n }\n\n .typography-module_marketing-large-light__gXEvK {\n font-size: 4rem;\n line-height: 128%;\n }\n\n .typography-module_marketing-large-regular__1XwIp {\n font-size: 4rem;\n line-height: 128%;\n }\n\n .typography-module_marketing-large-semi-bold__2KEaV {\n font-size: 4rem;\n line-height: 128%;\n }\n\n .typography-module_marketing-tag-light__-c5Lr {\n font-size: 0.625rem;\n line-height: 0.625rem;\n }\n\n .typography-module_marketing-tag-regular__1Lsf1 {\n font-size: 0.625rem;\n line-height: 0.625rem;\n }\n\n .typography-module_marketing-tag-semi-bold__ZYJzw {\n font-size: 0.625rem;\n line-height: 0.625rem;\n }\n}\n\n.typography-module_marketing-heading-1__lnrwI {\n font-size: 4rem;\n font-weight: 700;\n letter-spacing: -0.05em;\n line-height: 80%;\n}\n\n.typography-module_marketing-heading-2__Y2zwW {\n font-size: 4rem;\n font-weight: 700;\n letter-spacing: -0.02em;\n line-height: 88%;\n display: block;\n}\n\n.typography-module_marketing-heading-3__XxtBm {\n font-size: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.02em;\n line-height: 100%;\n}\n\n.typography-module_marketing-heading-4__6y-es {\n font-size: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.02em;\n line-height: 80%;\n}\n\n.typography-module_marketing-heading-5__vYXcb {\n font-size: 2rem;\n letter-spacing: -0.02em;\n line-height: 100%;\n}\n\n.typography-module_marketing-heading-6__fzVr- {\n font-size: 1.5rem;\n font-weight: 600;\n letter-spacing: 0em;\n}\n\n.typography-module_marketing-heading-7__0Qwet {\n font-size: 1rem;\n font-weight: 700;\n letter-spacing: 0em;\n line-height: 100%;\n text-transform: uppercase;\n}\n\n.typography-module_marketing-heading-1__lnrwI > span:last-child,\n.typography-module_marketing-heading-2__Y2zwW > span:last-child,\n.typography-module_marketing-heading-3__XxtBm > span:last-child,\n.typography-module_marketing-heading-4__6y-es > span:last-child,\n.typography-module_marketing-heading-5__vYXcb > span:last-child,\n.typography-module_marketing-heading-6__fzVr- > span:last-child,\n.typography-module_marketing-heading-7__0Qwet > span:last-child {\n font-family: var(--font-secondary);\n color: var(--product-love-pink-100);\n}\n\n.typography-module_marketing-heading-1__lnrwI,\n.typography-module_marketing-heading-4__6y-es {\n font-family: var(--font-secondary);\n}\n\n@media (min-width: 768px) {\n .typography-module_marketing-heading-1__lnrwI {\n font-size: 5rem;\n }\n\n .typography-module_marketing-heading-2__Y2zwW {\n font-size: 5rem;\n }\n\n .typography-module_marketing-heading-3__XxtBm {\n font-size: 4rem;\n }\n\n .typography-module_marketing-heading-4__6y-es {\n font-size: 4rem;\n }\n\n .typography-module_marketing-heading-5__vYXcb {\n font-size: 2.5rem;\n line-height: 100%;\n }\n\n .typography-module_marketing-heading-6__fzVr- {\n font-size: 1.75rem;\n }\n\n .typography-module_marketing-heading-7__0Qwet {\n font-size: 1.25rem;\n }\n}\n\n@media (min-width: 1280px) {\n .typography-module_marketing-heading-1__lnrwI {\n font-size: 7.5rem;\n line-height: 88%;\n }\n\n .typography-module_marketing-heading-2__Y2zwW {\n font-size: 7.5rem;\n }\n\n .typography-module_marketing-heading-3__XxtBm {\n font-size: 6.75rem;\n }\n\n .typography-module_marketing-heading-4__6y-es {\n font-size: 5rem;\n }\n\n .typography-module_marketing-heading-5__vYXcb {\n font-size: 3.5rem;\n }\n\n .typography-module_marketing-heading-6__fzVr- {\n font-size: 2rem;\n }\n}\n\n.typography-module_footer-regular__W3Cnm {\n letter-spacing: 0em;\n font-size: 0.6875rem;\n line-height: 160%;\n color: inherit;\n font-weight: 400;\n}\n\n.typography-module_footer-semi-bold__no6iQ {\n letter-spacing: 0em;\n font-size: 0.6875rem;\n line-height: 160%;\n color: inherit;\n font-weight: 600;\n}\n\n@media (min-width: 768px) {\n .typography-module_footer-regular__W3Cnm {\n font-size: 1rem;\n }\n\n .typography-module_footer-semi-bold__no6iQ {\n font-size: 1rem;\n }\n}\n");var ht=function(e){var n=e.as,o=e.children,r=e.className,i=e.variant,a=void 0===i?"content-regular":i,s=P(e,["as","children","className","variant"]),l=n||"p";return t.createElement(l,C({className:Ke(mt[a],r)},s),o)},gt={root:"accordion-module_root__oSY1m","root--detached":"accordion-module_root--detached__apO9i",item:"accordion-module_item__YhvmE",trigger:"accordion-module_trigger__2C8Zq","trigger-title":"accordion-module_trigger-title__huMzM",content:"accordion-module_content__18iAN",controls:"accordion-module_controls__ya9mj",open:"accordion-module_open__acchR",close:"accordion-module_close__4U-lr",right:"accordion-module_right__RKx3z",filled:"accordion-module_filled__0k2bT"};We('.accordion-module_root__oSY1m {\n background: var(--greyscale-0);\n border-radius: var(--product-radius-3);\n padding: 0;\n overflow: hidden;\n}\n\n.accordion-module_root--detached__apO9i {\n display: flex;\n gap: 0.5rem;\n flex-direction: column;\n background: none;\n}\n\n.accordion-module_item__YhvmE {\n margin: 0;\n border-bottom: var(--product-border-width-1) solid var(--greyscale-20);\n}\n\n.accordion-module_item__YhvmE:last-child {\n border-bottom: none;\n margin-bottom: 0;\n}\n\n.accordion-module_root--detached__apO9i .accordion-module_item__YhvmE {\n border-bottom: none;\n background: var(--greyscale-0);\n border-radius: var(--product-radius-3);\n}\n\n.accordion-module_trigger__2C8Zq {\n display: flex;\n align-items: center;\n background: none;\n border: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n width: 100%;\n text-align: left;\n color: var(--greyscale-100);\n border: var(--product-border-width-2) solid var(--greyscale-0);\n padding: var(--product-spacing-3) var(--product-spacing-4);\n gap: 0.25rem;\n border-radius: var(--product-radius-3);\n}\n\n.accordion-module_trigger-title__huMzM {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.accordion-module_trigger__2C8Zq:hover {\n background: var(--greyscale-20);\n}\n\n.accordion-module_trigger__2C8Zq:active {\n background: var(--greyscale-40);\n}\n\n.accordion-module_content__18iAN {\n overflow-x: auto;\n}\n\n.accordion-module_controls__ya9mj {\n margin-left: auto;\n padding-left: 1rem;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="open"] .accordion-module_controls__ya9mj > div {\n outline: 1px solid transparent;\n backface-visibility: hidden;\n transform: translateZ(0);\n will-change: transform;\n perspective: 1000;\n transform: rotate(-135deg);\n transition: transform 0.2s;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="closed"] .accordion-module_controls__ya9mj > div {\n transform: rotate(0deg);\n transition: transform 0.2s;\n}\n\n.accordion-module_open__acchR,\n.accordion-module_close__4U-lr {\n border-radius: 0.25rem;\n outline: 1px solid;\n margin-right: 1rem;\n line-height: 1rem;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.accordion-module_right__RKx3z.accordion-module_open__acchR,\n.accordion-module_right__RKx3z.accordion-module_close__4U-lr {\n outline: none;\n}\n\n.accordion-module_close__4U-lr {\n display: none;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="open"] > .accordion-module_close__4U-lr {\n display: flex;\n}\n\n.accordion-module_trigger__2C8Zq[data-state="open"] > .accordion-module_open__acchR {\n display: none;\n}\n\n@media (min-width: 768px) {\n .accordion-module_filled__0k2bT .accordion-module_trigger__2C8Zq {\n padding: var(product-spacing-4);\n }\n}\n');var vt=r({active:[]}),yt=function(e){var o=e.children,r=n([]),i=r[0],a=r[1];return t.createElement(vt.Provider,{value:{active:i,setActive:a}},o)},At=r({setValue:function(){return null},value:""}),bt=function(e){var o=e.children,r=n(""),i=r[0],a=r[1];return t.createElement(At.Provider,{value:{setValue:a,value:i}},o)},wt=i((function(e,n){var o=e.children,r=e.grouping,i=P(e,["children","grouping"]),s=a(vt).setActive;return t.createElement(ze,C({ref:n},i,{className:Ke(gt.root,"detached"===r&>["root--detached"]),onValueChange:function(e){s&&s(e)}}),o)}));wt.displayName="AccordionRoot";var xt=i((function(e,n){var r=P(e,[]),i=a(At).setValue;return o((function(){i(r.value)}),[r.value,i]),t.createElement(Ue,C({ref:n},r,{className:gt.item}))}));xt.displayName="AccordionItem";var Et=function(){var e=a(At).value,n=a(vt).active.includes(e);return t.createElement("div",{className:Ke(gt.controls)},t.createElement(ft,{className:gt.icon,icon:n?"remove_circle":"add_circle"}))},kt=function(e){var n=e.as,o=e.children,r=e.className;return"large"===e.size?t.createElement(ht,{as:n,className:r,variant:"content-large-semi-bold"},o):t.createElement(ht,{as:n,className:r},o)},St=i((function(e,n){var o=e.as,r=e.children,i=e.controls,a=e.size,s=void 0===a?"regular":a,l=P(e,["as","children","controls","size"]);return t.createElement(Qe,C({ref:n},l,{className:gt.trigger}),t.createElement(kt,{as:o,className:gt["trigger-title"],size:s},r),i||t.createElement(Et,null))}));St.displayName="AccordionTrigger";var Ct=i((function(e,n){var o=e.children,r=P(e,["children"]);return t.createElement(He,C({ref:n},r),t.createElement(Ze,{className:Ke(gt.content),variants:{radius:"none",size:{horizontal:"medium",vertical:"medium"}}},o))}));Ct.displayName="AccordionContent";var Pt={Content:Ct,Item:function(e){return t.createElement(bt,null,t.createElement(xt,C({},e)))},Root:function(e){return t.createElement(yt,null,t.createElement(wt,C({},e)))},Trigger:St},It={button:"button-module_button__JyfZW",action:"button-module_action__923NK",focus:"button-module_focus__qhW-P",primary:"button-module_primary__ggjlO",hover:"button-module_hover__v7lsh",active:"button-module_active__cCFGN",secondary:"button-module_secondary__Q4I1z",tertiary:"button-module_tertiary__0yMR6",ghost:"button-module_ghost__Dp7F-",danger:"button-module_danger__juOtt",standard:"button-module_standard__-Qbpu",text:"button-module_text__XCulJ","only-icon":"button-module_only-icon__3W6NK",nav:"button-module_nav__08mQP",outline:"button-module_outline__cMLmz",disabled:"button-module_disabled__S7XlI"};We(".button-module_button__JyfZW {\n all: unset;\n display: flex;\n padding: var(--product-spacing-3) var(--product-spacing-7);\n border-radius: var(--product-radius-3);\n width: -moz-fit-content;\n width: fit-content;\n cursor: pointer;\n}\n\n.button-module_button__JyfZW > * {\n display: flex;\n align-items: center;\n gap: var(--product-spacing-1);\n}\n\n.button-module_action__923NK {\n all: unset;\n display: flex;\n border-radius: var(--product-radius-2);\n padding: var(--product-spacing-2_5) var(--product-spacing-6);\n width: -moz-fit-content;\n width: fit-content;\n cursor: pointer;\n}\n\n.button-module_action__923NK > * {\n display: flex;\n align-items: center;\n gap: var(--product-spacing-1);\n}\n\n.button-module_button__JyfZW:focus,\n.button-module_button__JyfZW.button-module_focus__qhW-P {\n outline: var(--product-border-width-1) solid var(--product-focus);\n}\n\n.button-module_action__923NK:focus,\n.button-module_action__923NK.button-module_focus__qhW-P {\n outline: var(--product-border-width-1) solid var(--product-focus);\n}\n\n/* ! Button */\n\n/* Primary */\n\n.button-module_primary__ggjlO {\n color: var(--product-greyscale-0);\n background: var(--product-love-pink-100);\n}\n\n.button-module_primary__ggjlO:hover,\n.button-module_primary__ggjlO.button-module_hover__v7lsh {\n background: var(--product-love-pink-80);\n}\n\n.button-module_primary__ggjlO:active,\n.button-module_primary__ggjlO.button-module_active__cCFGN {\n background: var(--product-love-pink-120);\n}\n\n/* Secondary */\n\n.button-module_secondary__Q4I1z {\n color: var(--product-greyscale-0);\n background: var(--product-greyscale-100);\n}\n\n.button-module_secondary__Q4I1z:hover,\n.button-module_secondary__Q4I1z.button-module_hover__v7lsh {\n background: var(--product-greyscale-80);\n}\n\n.button-module_secondary__Q4I1z:active,\n.button-module_secondary__Q4I1z.button-module_active__cCFGN {\n background: var(--product-greyscale-60);\n}\n\n/* Tertiary */\n\n.button-module_tertiary__0yMR6 {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n.button-module_tertiary__0yMR6:hover,\n.button-module_tertiary__0yMR6.button-module_hover__v7lsh {\n background: var(--product-light-blue-20);\n}\n\n.button-module_tertiary__0yMR6:active,\n.button-module_tertiary__0yMR6.button-module_active__cCFGN {\n background: var(--product-light-blue-40);\n}\n\n/* Ghost */\n\n.button-module_ghost__Dp7F- {\n color: #004b87;\n background: var(--product-greyscale-0);\n}\n\n.button-module_ghost__Dp7F-:hover,\n.button-module_ghost__Dp7F-.button-module_hover__v7lsh {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n.button-module_ghost__Dp7F-:active,\n.button-module_ghost__Dp7F-.button-module_active__cCFGN {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-40);\n}\n\n/* Danger */\n\n.button-module_danger__juOtt {\n color: var(--product-greyscale-0);\n background: var(--product-error);\n}\n\n.button-module_danger__juOtt:hover,\n.button-module_danger__juOtt.button-module_hover__v7lsh {\n background: var(--product-danger-80);\n}\n\n.button-module_danger__juOtt:active,\n.button-module_danger__juOtt.button-module_active__cCFGN {\n background: var(--product-danger-120);\n}\n\n/*! Action Button */\n\n/* Standard */\n\n.button-module_action__923NK.button-module_standard__-Qbpu {\n color: var(--product-greyscale-0);\n background: var(--product-light-blue-100);\n}\n\n.button-module_action__923NK.button-module_standard__-Qbpu:hover,\n.button-module_action__923NK.button-module_standard__-Qbpu.button-module_hover__v7lsh {\n background: var(--product-light-blue-80);\n}\n\n.button-module_action__923NK.button-module_standard__-Qbpu:active,\n.button-module_action__923NK.button-module_standard__-Qbpu.button-module_active__cCFGN {\n background: var(--product-light-blue-120);\n}\n\n/* Secondary */\n\n.button-module_action__923NK.button-module_secondary__Q4I1z {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-0);\n}\n\n.button-module_action__923NK.button-module_secondary__Q4I1z:hover,\n.button-module_action__923NK.button-module_secondary__Q4I1z.button-module_hover__v7lsh {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n.button-module_action__923NK.button-module_secondary__Q4I1z:active,\n.button-module_action__923NK.button-module_secondary__Q4I1z.button-module_active__cCFGN {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n/* Tertiary */\n\n.button-module_action__923NK.button-module_tertiary__0yMR6 {\n background: var(--product-greyscale-100);\n color: var(--product-greyscale-0);\n}\n\n.button-module_action__923NK.button-module_tertiary__0yMR6:hover,\n.button-module_action__923NK.button-module_tertiary__0yMR6.button-module_hover__v7lsh {\n background: var(--product-greyscale-80);\n}\n\n.button-module_action__923NK.button-module_tertiary__0yMR6:active,\n.button-module_action__923NK.button-module_tertiary__0yMR6.button-module_active__cCFGN {\n background: var(--product-greyscale-100);\n}\n\n/* Ghost */\n\n.button-module_action__923NK.button-module_ghost__Dp7F- {\n color: #004b87;\n background: var(--product-greyscale-0);\n}\n\n.button-module_action__923NK.button-module_ghost__Dp7F-:hover,\n.button-module_action__923NK.button-module_ghost__Dp7F-.button-module_hover__v7lsh {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n.button-module_action__923NK.button-module_ghost__Dp7F-:active,\n.button-module_action__923NK.button-module_ghost__Dp7F-.button-module_active__cCFGN {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-40);\n}\n\n.button-module_action__923NK.button-module_ghost__Dp7F-:focus,\n.button-module_action__923NK.button-module_ghost__Dp7F-.button-module_focus__qhW-P {\n color: var(--product-greyscale-100);\n background: var(--product-greyscale-20);\n}\n\n/* Danger */\n\n.button-module_action__923NK.button-module_danger__juOtt {\n color: var(--product-greyscale-0);\n background: var(--product-error);\n}\n\n.button-module_action__923NK.button-module_danger__juOtt:hover,\n.button-module_action__923NK.button-module_danger__juOtt.button-module_hover__v7lsh {\n background: var(--product-danger-80);\n}\n\n.button-module_action__923NK.button-module_danger__juOtt:active,\n.button-module_action__923NK.button-module_danger__juOtt.button-module_active__cCFGN {\n background: var(--product-danger-120);\n}\n\n/*! Text Button */\n.button-module_text__XCulJ {\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n padding: var(--product-spacing-1);\n border-radius: var(--product-radius-2);\n cursor: pointer;\n}\n\n/* Primary */\n\n.button-module_text__XCulJ.button-module_primary__ggjlO {\n background: none;\n border: none;\n color: var(--product-greyscale-100);\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO::after {\n content: '';\n position: absolute;\n background: var(--product-greyscale-100);\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO:hover::after,\n.button-module_text__XCulJ.button-module_primary__ggjlO.button-module_hover__v7lsh::after {\n background: var(--product-love-pink-100);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO:active::after,\n.button-module_text__XCulJ.button-module_primary__ggjlO.button-module_active__cCFGN::after {\n background: var(--product-love-pink-120);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_primary__ggjlO:focus,\n.button-module_text__XCulJ.button-module_primary__ggjlO.button-module_focus__qhW-P {\n outline: 2px solid var(--product-focus);\n}\n\n/* Secondary */\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z {\n background: none;\n border: none;\n color: var(--product-light-blue-100);\n}\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z:hover::after,\n.button-module_text__XCulJ.button-module_secondary__Q4I1z.button-module_hover__v7lsh::after {\n background: var(--product-light-blue-100);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z:active::after,\n.button-module_text__XCulJ.button-module_secondary__Q4I1z.button-module_active__cCFGN::after {\n background: var(--product-light-blue-120);\n content: '';\n position: absolute;\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ.button-module_secondary__Q4I1z:focus,\n.button-module_text__XCulJ.button-module_secondary__Q4I1z.button-module_focus__qhW-P {\n outline: 2px solid var(--product-focus);\n}\n\n.button-module_button__JyfZW:disabled {\n background: var(--product-disabled);\n color: var(--product-disabled-text);\n cursor: not-allowed;\n}\n\n.button-module_action__923NK:disabled {\n background: var(--product-disabled);\n color: var(--product-disabled-text);\n cursor: not-allowed;\n}\n\n.button-module_action__923NK:disabled:hover,\n.button-module_action__923NK:disabled.button-module_hover__v7lsh {\n background: var(--product-disabled);\n color: var(--product-disabled-text);\n cursor: not-allowed;\n border: none;\n}\n\n.button-module_text__XCulJ:disabled {\n position: relative;\n color: var(--product-disabled-text);\n border: none;\n cursor: not-allowed;\n}\n\n.button-module_text__XCulJ:disabled:hover {\n border: none;\n}\n\n.button-module_text__XCulJ:disabled:hover::after {\n content: '';\n position: absolute;\n background: var(--product-disabled-text);\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_text__XCulJ:disabled:active {\n color: var(--product-disabled-text);\n}\n\n.button-module_text__XCulJ:disabled::after {\n content: '';\n position: absolute;\n background: var(--product-disabled-text);\n height: 2px;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n.button-module_only-icon__3W6NK {\n padding: var(--product-spacing-3);\n border-radius: var(--product-radius-3);\n}\n\n.button-module_action__923NK.button-module_only-icon__3W6NK {\n padding: var(--product-spacing-2_5);\n border-radius: var(--product-radius-3);\n}\n\n/* Nav button */\n\n.button-module_nav__08mQP {\n padding: 0.375rem 1rem;\n border-radius: 9999px;\n cursor: pointer;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.button-module_nav__08mQP.button-module_primary__ggjlO {\n border: none;\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz {\n background: var(--product-ghost-white);\n border: 1px solid var(--product-greyscale-100);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:hover,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_hover__v7lsh {\n background: var(--product-greyscale-20);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:active,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_active__cCFGN {\n background: var(--product-greyscale-40);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:focus-visible,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_focus__qhW-P {\n outline: 3px solid var(--product-focus);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:disabled,\n.button-module_nav__08mQP.button-module_outline__cMLmz.button-module_disabled__S7XlI {\n border: 1px solid var(--product-greyscale-60);\n}\n\n.button-module_nav__08mQP.button-module_outline__cMLmz:disabled:hover {\n background: var(--product-ghost-white);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z {\n background: var(--product-light-blue-20);\n color: var(--product-light-blue-100);\n border: none;\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:hover,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_hover__v7lsh {\n background: var(--product-light-blue-40);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:active,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_active__cCFGN {\n background: var(--product-light-blue-60);\n color: var(--product-ghost-white);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:focus-visible,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_focus__qhW-P {\n background: var(--product-light-blue-20);\n outline: 3px solid var(--product-focus);\n}\n\n.button-module_nav__08mQP.button-module_secondary__Q4I1z:disabled,\n.button-module_nav__08mQP.button-module_secondary__Q4I1z.button-module_disabled__S7XlI {\n background: var(--product-greyscale-40);\n color: var(--product-greyscale-60);\n}\n\n.button-module_nav__08mQP.button-module_only-icon__3W6NK {\n padding: 0.375rem;\n}\n\n@media (min-width: 768px) {\n .button-module_button__JyfZW {\n padding: var(--product-spacing-4) var(--product-spacing-7);\n }\n\n .button-module_action__923NK {\n border-radius: var(--product-radius-3);\n }\n\n .button-module_only-icon__3W6NK {\n padding: 16px;\n }\n\n .button-module_action__923NK.button-module_only-icon__3W6NK {\n padding: 10px;\n }\n\n .button-module_nav__08mQP {\n padding: 0.5rem 1rem;\n }\n}\n");function Ot(e){var n=e.as,o=e.children,r=e.className,i=void 0===r?"":r,a=e.onlyIcon,s=void 0!==a&&a,l=e.variant,u=e.visualType,c=P(e,["as","children","className","onlyIcon","variant","visualType"]),d=n||"button";return t.createElement(d,C({className:Ke(i,It[l||"primary"],It[u||"button"],s&&It["only-icon"])},c),s&&o,!s&&t.createElement(ht,{variant:"form-button"},o))}var Dt={container:"callout-module_container__yuu-N",primary:"callout-module_primary__kL3xP",warning:"callout-module_warning__U-EFf",error:"callout-module_error__yAduK",positive:"callout-module_positive__HZTWZ",secondary:"callout-module_secondary__TqkOR"};We(".callout-module_container__yuu-N {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: -moz-fit-content;\n width: fit-content;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 2.25rem;\n padding-right: 1rem;\n}\n\n.callout-module_container__yuu-N > span {\n position: absolute;\n left: 0.5rem;\n}\n\n.callout-module_primary__kL3xP {\n background-color: var(--product-light-blue-20);\n color: var(--product-light-blue-100);\n}\n\n.callout-module_warning__U-EFf {\n background-color: var(--product-yellow-20);\n color: var(--product-greyscale-80);\n}\n\n.callout-module_error__yAduK {\n background-color: var(--product-error-20);\n color: var(--product-greyscale-80);\n}\n\n.callout-module_positive__HZTWZ {\n background: var(--product-success-20);\n color: var(--product-greyscale-80);\n}\n\n.callout-module_secondary__TqkOR {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-80);\n}\n\n@media screen and (min-width: 768px) {\n .callout-module_container__yuu-N {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 2.5rem;\n padding-right: 1rem;\n }\n}\n");var Tt={Icon:ft,Root:function(e){var n=e.children,o=e.type,r=void 0===o?"primary":o;return t.createElement("div",{className:Ke(Dt.container,Dt[r])},n)},Text:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(ht,C({},o),n)}},Nt={cards:"cards-module_cards__vogb6","layout--bento-three":"cards-module_layout--bento-three__QEMZ5","layout--bento-four":"cards-module_layout--bento-four__45aR4","layout--bento-five":"cards-module_layout--bento-five__SOo2w"};We(".cards-module_cards__vogb6 {\n list-style: none;\n}\n\n.cards-module_layout--bento-three__QEMZ5 {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n gap: 1rem;\n margin-top: 1.5rem;\n margin-bottom: 0.5rem;\n}\n\n.cards-module_layout--bento-three__QEMZ5 br {\n margin: 0 !important;\n}\n\n.cards-module_layout--bento-three__QEMZ5 > * {\n width: 100%;\n}\n\n.cards-module_layout--bento-four__45aR4 {\n display: grid;\n grid-template-columns: repeat(2, 2fr);\n gap: 1rem;\n margin-bottom: 0.5rem;\n}\n\n.cards-module_layout--bento-four__45aR4 > * {\n width: 100%;\n}\n\n.cards-module_layout--bento-four__45aR4 br {\n margin: 0 !important;\n}\n\n.cards-module_layout--bento-five__SOo2w {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(3, 1fr);\n gap: 1rem;\n}\n\n.cards-module_layout--bento-five__SOo2w > *:first-child {\n grid-row: 1 / 3;\n}\n\n@media (min-width: 768px) {\n .cards-module_layout--bento-three__QEMZ5 {\n flex-direction: row;\n margin-top: 2rem;\n margin-bottom: 1rem;\n }\n\n .cards-module_layout--bento-three__QEMZ5 > * {\n width: calc(100% / 3);\n }\n\n .cards-module_layout--bento-four__45aR4 {\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(2, auto);\n }\n\n .cards-module_layout--bento-four__45aR4 > *:last-child {\n grid-column: 1 / 4;\n padding: 4rem 2rem;\n }\n\n .cards-module_layout--bento-five__SOo2w {\n grid-template-rows: repeat(2, 1fr);\n grid-template-columns: repeat(3, 1fr);\n }\n\n .cards-module_layout--bento-five__SOo2w > *:first-child {\n grid-row: 1 / 3;\n }\n}\n\n@media (min-width: 1280px) {\n .cards-module_layout--bento-three__QEMZ5 {\n gap: 1.5rem;\n margin-top: 2.5rem;\n }\n\n .cards-module_layout--bento-four__45aR4 {\n gap: 1.5rem;\n margin-bottom: 1rem;\n }\n\n .cards-module_layout--bento-five__SOo2w {\n gap: 1.5rem;\n }\n}\n");var Bt=function(e){var n=e.as,o=e.children,r=e.variants,i=n||"div",a=C({layout:"bento-three"},r);return t.createElement(i,{className:Ke(Nt.cards,Nt["layout--".concat(a.layout)])},o)};function Rt(t){const n=e.useRef({value:t,previous:t});return e.useMemo((()=>(n.current.value!==t&&(n.current.previous=n.current.value,n.current.value=t),n.current.previous)),[t])}function Mt(t){const[n,o]=e.useState(void 0);return H((()=>{if(t){o({width:t.offsetWidth,height:t.offsetHeight});const e=new ResizeObserver((e=>{if(!Array.isArray(e))return;if(!e.length)return;const n=e[0];let r,i;if("borderBoxSize"in n){const e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=t.offsetWidth,i=t.offsetHeight;o({width:r,height:i})}));return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}o(void 0)}),[t]),n}var Ft="Checkbox",[Vt,Lt]=O(Ft),[_t,jt]=Vt(Ft),zt=e.forwardRef(((t,n)=>{const{__scopeCheckbox:o,name:r,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,form:d,...p}=t,[f,m]=e.useState(null),h=B(n,(e=>m(e))),g=e.useRef(!1),v=!f||(d||!!f.closest("form")),[A=!1,w]=U({prop:i,defaultProp:a,onChange:c}),x=e.useRef(A);return e.useEffect((()=>{const e=f?.form;if(e){const t=()=>w(x.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}}),[f,w]),b(_t,{scope:o,state:A,disabled:l,children:[y(Q.button,{type:"button",role:"checkbox","aria-checked":qt(A)?"mixed":A,"aria-required":s,"data-state":Kt(A),"data-disabled":l?"":void 0,disabled:l,value:u,...p,ref:h,onKeyDown:j(t.onKeyDown,(e=>{"Enter"===e.key&&e.preventDefault()})),onClick:j(t.onClick,(e=>{w((e=>!!qt(e)||!e)),v&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())}))}),v&&y(Ht,{control:f,bubbles:!g.current,name:r,value:u,checked:A,required:s,disabled:l,form:d,style:{transform:"translateX(-100%)"},defaultChecked:!qt(a)&&a})]})}));zt.displayName=Ft;var Ut="CheckboxIndicator",Qt=e.forwardRef(((e,t)=>{const{__scopeCheckbox:n,forceMount:o,...r}=e,i=jt(Ut,n);return y(q,{present:o||qt(i.state)||!0===i.state,children:y(Q.span,{"data-state":Kt(i.state),"data-disabled":i.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})}));Qt.displayName=Ut;var Ht=t=>{const{control:n,checked:o,bubbles:r=!0,defaultChecked:i,...a}=t,s=e.useRef(null),l=Rt(o),u=Mt(n);e.useEffect((()=>{const e=s.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set;if(l!==o&&n){const t=new Event("click",{bubbles:r});e.indeterminate=qt(o),n.call(e,!qt(o)&&o),e.dispatchEvent(t)}}),[l,o,r]);const c=e.useRef(!qt(o)&&o);return y("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i??c.current,...a,tabIndex:-1,ref:s,style:{...t.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function qt(e){return"indeterminate"===e}function Kt(e){return qt(e)?"indeterminate":e?"checked":"unchecked"}var Wt=zt,Gt=Qt,Zt={container:"checkBox-module_container__o7fVw",root:"checkBox-module_root__ic8tN",radio:"checkBox-module_radio__1zNqz",indicator:"checkBox-module_indicator__PsVgC",label:"checkBox-module_label__sERZR"};We(".checkBox-module_container__o7fVw {\n display: flex;\n}\n\n.checkBox-module_root__ic8tN {\n background-color: white;\n width: 25px;\n height: 25px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.checkBox-module_root__ic8tN:hover {\n background-color: var(--product-greyscale-20);\n}\n\n.checkBox-module_root__ic8tN:focus-visible {\n box-shadow: 0 0 0 2px var(--product-focus);\n}\n\n.checkBox-module_radio__1zNqz.checkBox-module_root__ic8tN {\n border-radius: 50%;\n}\n\n.checkBox-module_indicator__PsVgC {\n}\n\n.checkBox-module_label__sERZR {\n color: black;\n padding-left: 15px;\n font-size: 15px;\n line-height: 1;\n}\n");var Xt=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Yt,C({},s,{field:C({},n)}))}})},Yt=function(e){var n=e.field,o=e.id,r=e.label,i=e.variant;return t.createElement("div",{className:Zt.container},t.createElement(Wt,C({className:Ke(Zt.root,Zt[i||""]),id:o},n),t.createElement(Gt,{className:Zt.indicator},t.createElement(ft,{icon:"check"}))),t.createElement(ht,{as:"label",className:Zt.label,htmlFor:o,variant:"form-input-normal"},r))},Jt="columns-module_container__mrWhl";We(".columns-module_container__mrWhl {\n display: grid;\n gap: 1rem;\n}\n");var $t=function(e){var n=e.children,o=e.cols;return t.createElement("div",{className:Jt,style:{gridTemplateColumns:"repeat(".concat(o,", 1fr)")}},n)};function en(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}function tn(){return tn=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},tn.apply(null,arguments)}function nn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function on(e,t){return on=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},on(e,t)}function rn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function an(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var sn,ln={exports:{}},un={exports:{}},cn={};var dn,pn,fn,mn,hn,gn,vn,yn,An,bn,wn,xn,En,kn,Sn={};
|
|
38
38
|
/** @license React v16.13.1
|
|
39
39
|
* react-is.development.js
|
|
40
40
|
*
|
|
@@ -88,4 +88,4 @@ function Uf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;
|
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the MIT license found in the
|
|
90
90
|
* LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/"production"===process.env.NODE_ENV?wm.exports=function(){if(Pm)return xm;Pm=1;var e=t,n=Dm(),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;return xm.useSyncExternalStoreWithSelector=function(e,t,n,u,c){var d=i(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=s((function(){function e(e){if(!a){if(a=!0,r=e,e=u(e),void 0!==c&&p.hasValue){var t=p.value;if(c(t,e))return i=t}return i=e}if(t=i,o(r,e))return t;var n=u(e);return void 0!==c&&c(t,n)?t:(r=e,i=n)}var r,i,a=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,u,c]);var f=r(e,d[0],d[1]);return a((function(){p.hasValue=!0,p.value=f}),[f]),l(f),f},xm}():wm.exports=(Tm||(Tm=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=t,n=Dm(),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;Nm.useSyncExternalStoreWithSelector=function(e,t,n,u,c){var d,p=i(null);null===p.current?(d={hasValue:!1,value:null},p.current=d):d=p.current;var f=s((function(){var e,r,i=!1,a=function(t){if(!i){i=!0,e=t;var n=u(t);if(void 0!==c&&d.hasValue){var a=d.value;if(c(a,n))return r=a,a}return r=n,n}var s=r;if(o(e,t))return s;var l=u(t);return void 0!==c&&c(s,l)?s:(e=t,r=l,l)},s=void 0===n?null:n;return[function(){return a(t())},null===s?void 0:function(){return a(s())}]}),[t,n,u,c]),m=f[0],h=f[1],g=r(e,m,h);return a((function(){d.hasValue=!0,d.value=g}),[g]),l(g),g},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Nm);var Bm=rn(wm.exports);const{useDebugValue:Rm}=t,{useSyncExternalStoreWithSelector:Mm}=Bm;let Fm=!1;const Vm=e=>e;const Lm=e=>{"production"!==(import.meta.env?import.meta.env.MODE:void 0)&&"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?Am(e):Am)(e):e,n=(e,n)=>function(e,t=Vm,n){"production"!==(import.meta.env?import.meta.env.MODE:void 0)&&n&&!Fm&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Fm=!0);const o=Mm(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return Rm(o),o}(t,e,n);return Object.assign(n,t),n};var _m="modal-module_modal__RJmct",jm="modal-module_modal-header__Io9gR",zm="modal-module_buttons__A9VMO";We(".modal-module_modal__RJmct {\n position: fixed;\n inset: 0;\n width: calc(100% - 2rem);\n margin: 1rem;\n border-radius: 24px;\n border: none;\n padding: 2rem;\n background-color: var(--product-ghost-white);\n top: calc(50% - 1rem);\n left: calc(50% - 1rem);\n transform: translate(-50%, -50%);\n z-index: 1000;\n}\n\n.modal-module_modal__RJmct::backdrop {\n background-color: rgba(0, 0, 0, 0.75);\n z-index: 998;\n}\n\n.modal-module_backdrop-close__ICMET {\n position: fixed;\n inset: 0;\n background: orange;\n opacity: 0.3;\n z-index: 999;\n}\n\n.modal-module_modal-header__Io9gR {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid var(--product-border);\n margin-bottom: 1.5rem;\n}\n\n.modal-module_buttons__A9VMO {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n margin-top: 1.5rem;\n}\n\n.modal-module_buttons__A9VMO button {\n width: auto;\n display: flex;\n justify-content: center;\n}\n\n@media (min-width: 768px) {\n .modal-module_modal__RJmct {\n width: 720px;\n margin: 0;\n top: 50%;\n left: 50%;\n }\n\n .modal-module_buttons__A9VMO {\n flex-direction: row;\n justify-content: flex-end;\n margin-top: 2.5rem;\n gap: 1rem;\n }\n\n .modal-module_buttons__A9VMO button {\n width: -moz-fit-content;\n width: fit-content;\n }\n}\n");var Um=Lm((function(e){return{activeModal:"",close:function(){return e({activeModal:"",isOpen:!1})},isOpen:!1,open:function(t){return e({activeModal:t,isOpen:!0})}}})),Qm=function(e){var n=e.children;return t.createElement("footer",{className:zm},n)},Hm={Buttons:Qm,Content:function(e){var n=e.children,o=e.closeOnBackdropClick,r=e.focusTrap,i=e.value,a=Um(),l=a.activeModal,u=a.isOpen,c=i===l&&u,d=s(null),p=function(){var e;(null==d?void 0:d.current)&&(gf(null==d?void 0:d.current),null===(e=d.current)||void 0===e||e.close())};return c?function(){var e;(null==d?void 0:d.current)&&(hf(null==d?void 0:d.current),null===(e=d.current)||void 0===e||e.showModal())}():p(),t.createElement(ym,{active:c&&!0===r},t.createElement("dialog",{className:_m,onClick:function(e){o&&e.target===e.currentTarget&&p()},ref:d},n))},Control:function(e){var n=e.children,o=e.value,r=P(e,["children","value"]),i=Um().open;return t.createElement(Ot,C({autoFocus:!0,onClick:function(){return i(o)}},r),n)},Header:function(e){var n=e.actionButtonProps,o=e.onClick,r=e.title,i=e.variant,a=Um().close;return t.createElement("header",{className:jm},t.createElement(ht,{variant:"content-title-semi-bold"},r),"action"===i&&t.createElement(Ot,C({onClick:function(){o&&o()},type:"submit",variant:"standard",visualType:"action"},n),"Done"),"action"!==i&&t.createElement(Ot,{autoFocus:!0,onClick:function(){return a()},onlyIcon:!0,variant:"tertiary"},t.createElement(ft,{icon:"close"})))}},qm="numberField-module_container__DPRfq",Km="numberField-module_fake-input__OepBg",Wm="numberField-module_spinbutton-container__u6eZo",Gm="numberField-module_spinbutton-container--error__e4hYD",Zm="numberField-module_control__hZdOA";We(".numberField-module_container__DPRfq {\n display: flex;\n flex-direction: column;\n}\n\n.numberField-module_fake-input__OepBg {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.numberField-module_spinbutton-container__u6eZo {\n display: flex;\n width: -moz-fit-content;\n width: fit-content;\n padding: var(--product-spacing-4) var(--product-spacing-5);\n border-radius: var(--product-radius-3);\n background: var(--product-greyscale-0);\n}\n\n.numberField-module_spinbutton-container--error__e4hYD {\n border: var(--product-border-width-1) solid var(--product-error);\n}\n\n.numberField-module_label__5qWGD {\n margin-bottom: var(--product-spacing-3);\n}\n\n.numberField-module_error__GeUsR {\n color: var(--product-error);\n}\n\n.numberField-module_spinbutton-container--disabled__vjhWU {\n background: var(--product-greyscale-20);\n}\n\n.numberField-module_control__hZdOA {\n all: unset;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n");var Xm=["ArrowUp","ArrowDown","PageUp","PageDown","Home","End"],Ym=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Jm,C({},s,{field:C({},n)}))}})},Jm=function(e){var n=e.error,o=e.field,r=o.onBlur,i=o.onChange,a=o.value,s=e.helper,l=e.label,u=e.max,c=void 0===u?100:u,d=e.min,p=void 0===d?0:d,f=e.name,m=e.width,h=void 0===m?3:m,g=function(e){a<=p||i(a-e)},v=function(e){a>=c||i(a+e)};return t.createElement(Up,{error:null==n?void 0:n.message,helper:null==s?void 0:s.message,id:"".concat(f,"-label"),label:l},t.createElement("div",{className:qm},t.createElement("div",{className:Ke(Wm,n&&Gm)},t.createElement("button",{"aria-label":"decrease",className:Zm,onClick:function(){return g(1)},tabIndex:-1,type:"button"},t.createElement(ft,{icon:"remove",size:"large"})),t.createElement(ht,{"aria-errormessage":n?"".concat(f,"-error"):void 0,"aria-invalid":!!(null==n?void 0:n.message),"aria-labelledby":"".concat(f,"-label"),"aria-valuemax":c,"aria-valuemin":p,"aria-valuenow":a,as:"div",className:Km,onBlur:r,onKeyDown:function(e){Xm.includes(e.key)&&(e.preventDefault(),function(e){"ArrowUp"===e.key&&v(1),"ArrowDown"===e.key&&g(1)}(e),function(e){"PageUp"===e.key&&v(5),"PageDown"===e.key&&g(5)}(e),function(e){"Home"===e.key&&i(p),"End"===e.key&&i(c)}(e))},role:"spinbutton",style:{width:"".concat(h,"ch")},tabIndex:0},a),t.createElement("button",{"aria-label":"increase",className:Zm,onClick:function(){return v(1)},tabIndex:-1,type:"button"},t.createElement(ft,{icon:"add",size:"large"})))))},$m=[{country:"Afghanistan",code:"93",iso:"AF"},{country:"Albania",code:"355",iso:"AL"},{country:"Algeria",code:"213",iso:"DZ"},{country:"American Samoa",code:"1-684",iso:"AS"},{country:"Andorra",code:"376",iso:"AD"},{country:"Angola",code:"244",iso:"AO"},{country:"Anguilla",code:"1-264",iso:"AI"},{country:"Antarctica",code:"672",iso:"AQ"},{country:"Antigua and Barbuda",code:"1-268",iso:"AG"},{country:"Argentina",code:"54",iso:"AR"},{country:"Armenia",code:"374",iso:"AM"},{country:"Aruba",code:"297",iso:"AW"},{country:"Australia",code:"61",iso:"AU"},{country:"Austria",code:"43",iso:"AT"},{country:"Azerbaijan",code:"994",iso:"AZ"},{country:"Bahamas",code:"1-242",iso:"BS"},{country:"Bahrain",code:"973",iso:"BH"},{country:"Bangladesh",code:"880",iso:"BD"},{country:"Barbados",code:"1-246",iso:"BB"},{country:"Belarus",code:"375",iso:"BY"},{country:"Belgium",code:"32",iso:"BE"},{country:"Belize",code:"501",iso:"BZ"},{country:"Benin",code:"229",iso:"BJ"},{country:"Bermuda",code:"1-441",iso:"BM"},{country:"Bhutan",code:"975",iso:"BT"},{country:"Bolivia",code:"591",iso:"BO"},{country:"Bosnia and Herzegovina",code:"387",iso:"BA"},{country:"Botswana",code:"267",iso:"BW"},{country:"Brazil",code:"55",iso:"BR"},{country:"British Indian Ocean Territory",code:"246",iso:"IO"},{country:"British Virgin Islands",code:"1-284",iso:"VG"},{country:"Brunei",code:"673",iso:"BN"},{country:"Bulgaria",code:"359",iso:"BG"},{country:"Burkina Faso",code:"226",iso:"BF"},{country:"Burundi",code:"257",iso:"BI"},{country:"Cambodia",code:"855",iso:"KH"},{country:"Cameroon",code:"237",iso:"CM"},{country:"Canada",code:"1",iso:"CA"},{country:"Cape Verde",code:"238",iso:"CV"},{country:"Cayman Islands",code:"1-345",iso:"KY"},{country:"Central African Republic",code:"236",iso:"CF"},{country:"Chad",code:"235",iso:"TD"},{country:"Chile",code:"56",iso:"CL"},{country:"China",code:"86",iso:"CN"},{country:"Christmas Island",code:"61",iso:"CX"},{country:"Cocos Islands",code:"61",iso:"CC"},{country:"Colombia",code:"57",iso:"CO"},{country:"Comoros",code:"269",iso:"KM"},{country:"Cook Islands",code:"682",iso:"CK"},{country:"Costa Rica",code:"506",iso:"CR"},{country:"Croatia",code:"385",iso:"HR"},{country:"Cuba",code:"53",iso:"CU"},{country:"Curacao",code:"599",iso:"CW"},{country:"Cyprus",code:"357",iso:"CY"},{country:"Czech Republic",code:"420",iso:"CZ"},{country:"Democratic Republic of the Congo",code:"243",iso:"CD"},{country:"Denmark",code:"45",iso:"DK"},{country:"Djibouti",code:"253",iso:"DJ"},{country:"Dominica",code:"1-767",iso:"DM"},{country:"Dominican Republic",code:"1-809, 1-829, 1-849",iso:"DO"},{country:"East Timor",code:"670",iso:"TL"},{country:"Ecuador",code:"593",iso:"EC"},{country:"Egypt",code:"20",iso:"EG"},{country:"El Salvador",code:"503",iso:"SV"},{country:"Equatorial Guinea",code:"240",iso:"GQ"},{country:"Eritrea",code:"291",iso:"ER"},{country:"Estonia",code:"372",iso:"EE"},{country:"Ethiopia",code:"251",iso:"ET"},{country:"Falkland Islands",code:"500",iso:"FK"},{country:"Faroe Islands",code:"298",iso:"FO"},{country:"Fiji",code:"679",iso:"FJ"},{country:"Finland",code:"358",iso:"FI"},{country:"France",code:"33",iso:"FR"},{country:"French Polynesia",code:"689",iso:"PF"},{country:"Gabon",code:"241",iso:"GA"},{country:"Gambia",code:"220",iso:"GM"},{country:"Georgia",code:"995",iso:"GE"},{country:"Germany",code:"49",iso:"DE"},{country:"Ghana",code:"233",iso:"GH"},{country:"Gibraltar",code:"350",iso:"GI"},{country:"Greece",code:"30",iso:"GR"},{country:"Greenland",code:"299",iso:"GL"},{country:"Grenada",code:"1-473",iso:"GD"},{country:"Guam",code:"1-671",iso:"GU"},{country:"Guatemala",code:"502",iso:"GT"},{country:"Guernsey",code:"44-1481",iso:"GG"},{country:"Guinea",code:"224",iso:"GN"},{country:"Guinea-Bissau",code:"245",iso:"GW"},{country:"Guyana",code:"592",iso:"GY"},{country:"Haiti",code:"509",iso:"HT"},{country:"Honduras",code:"504",iso:"HN"},{country:"Hong Kong",code:"852",iso:"HK"},{country:"Hungary",code:"36",iso:"HU"},{country:"Iceland",code:"354",iso:"IS"},{country:"India",code:"91",iso:"IN"},{country:"Indonesia",code:"62",iso:"ID"},{country:"Iran",code:"98",iso:"IR"},{country:"Iraq",code:"964",iso:"IQ"},{country:"Ireland",code:"353",iso:"IE"},{country:"Isle of Man",code:"44-1624",iso:"IM"},{country:"Israel",code:"972",iso:"IL"},{country:"Italy",code:"39",iso:"IT"},{country:"Ivory Coast",code:"225",iso:"CI"},{country:"Jamaica",code:"1-876",iso:"JM"},{country:"Japan",code:"81",iso:"JP"},{country:"Jersey",code:"44-1534",iso:"JE"},{country:"Jordan",code:"962",iso:"JO"},{country:"Kazakhstan",code:"7",iso:"KZ"},{country:"Kenya",code:"254",iso:"KE"},{country:"Kiribati",code:"686",iso:"KI"},{country:"Kosovo",code:"383",iso:"XK"},{country:"Kuwait",code:"965",iso:"KW"},{country:"Kyrgyzstan",code:"996",iso:"KG"},{country:"Laos",code:"856",iso:"LA"},{country:"Latvia",code:"371",iso:"LV"},{country:"Lebanon",code:"961",iso:"LB"},{country:"Lesotho",code:"266",iso:"LS"},{country:"Liberia",code:"231",iso:"LR"},{country:"Libya",code:"218",iso:"LY"},{country:"Liechtenstein",code:"423",iso:"LI"},{country:"Lithuania",code:"370",iso:"LT"},{country:"Luxembourg",code:"352",iso:"LU"},{country:"Macao",code:"853",iso:"MO"},{country:"Macedonia",code:"389",iso:"MK"},{country:"Madagascar",code:"261",iso:"MG"},{country:"Malawi",code:"265",iso:"MW"},{country:"Malaysia",code:"60",iso:"MY"},{country:"Maldives",code:"960",iso:"MV"},{country:"Mali",code:"223",iso:"ML"},{country:"Malta",code:"356",iso:"MT"},{country:"Marshall Islands",code:"692",iso:"MH"},{country:"Mauritania",code:"222",iso:"MR"},{country:"Mauritius",code:"230",iso:"MU"},{country:"Mayotte",code:"262",iso:"YT"},{country:"Mexico",code:"52",iso:"MX"},{country:"Micronesia",code:"691",iso:"FM"},{country:"Moldova",code:"373",iso:"MD"},{country:"Monaco",code:"377",iso:"MC"},{country:"Mongolia",code:"976",iso:"MN"},{country:"Montenegro",code:"382",iso:"ME"},{country:"Montserrat",code:"1-664",iso:"MS"},{country:"Morocco",code:"212",iso:"MA"},{country:"Mozambique",code:"258",iso:"MZ"},{country:"Myanmar",code:"95",iso:"MM"},{country:"Namibia",code:"264",iso:"NA"},{country:"Nauru",code:"674",iso:"NR"},{country:"Nepal",code:"977",iso:"NP"},{country:"Netherlands",code:"31",iso:"NL"},{country:"Netherlands Antilles",code:"599",iso:"AN"},{country:"New Caledonia",code:"687",iso:"NC"},{country:"New Zealand",code:"64",iso:"NZ"},{country:"Nicaragua",code:"505",iso:"NI"},{country:"Niger",code:"227",iso:"NE"},{country:"Nigeria",code:"234",iso:"NG"},{country:"Niue",code:"683",iso:"NU"},{country:"North Korea",code:"850",iso:"KP"},{country:"Northern Mariana Islands",code:"1-670",iso:"MP"},{country:"Norway",code:"47",iso:"NO"},{country:"Oman",code:"968",iso:"OM"},{country:"Pakistan",code:"92",iso:"PK"},{country:"Palau",code:"680",iso:"PW"},{country:"Palestine",code:"970",iso:"PS"},{country:"Panama",code:"507",iso:"PA"},{country:"Papua New Guinea",code:"675",iso:"PG"},{country:"Paraguay",code:"595",iso:"PY"},{country:"Peru",code:"51",iso:"PE"},{country:"Philippines",code:"63",iso:"PH"},{country:"Pitcairn",code:"64",iso:"PN"},{country:"Poland",code:"48",iso:"PL"},{country:"Portugal",code:"351",iso:"PT"},{country:"Puerto Rico",code:"1-787, 1-939",iso:"PR"},{country:"Qatar",code:"974",iso:"QA"},{country:"Republic of the Congo",code:"242",iso:"CG"},{country:"Reunion",code:"262",iso:"RE"},{country:"Romania",code:"40",iso:"RO"},{country:"Russia",code:"7",iso:"RU"},{country:"Rwanda",code:"250",iso:"RW"},{country:"Saint Barthelemy",code:"590",iso:"BL"},{country:"Saint Helena",code:"290",iso:"SH"},{country:"Saint Kitts and Nevis",code:"1-869",iso:"KN"},{country:"Saint Lucia",code:"1-758",iso:"LC"},{country:"Saint Martin",code:"590",iso:"MF"},{country:"Saint Pierre and Miquelon",code:"508",iso:"PM"},{country:"Saint Vincent and the Grenadines",code:"1-784",iso:"VC"},{country:"Samoa",code:"685",iso:"WS"},{country:"San Marino",code:"378",iso:"SM"},{country:"Sao Tome and Principe",code:"239",iso:"ST"},{country:"Saudi Arabia",code:"966",iso:"SA"},{country:"Senegal",code:"221",iso:"SN"},{country:"Serbia",code:"381",iso:"RS"},{country:"Seychelles",code:"248",iso:"SC"},{country:"Sierra Leone",code:"232",iso:"SL"},{country:"Singapore",code:"65",iso:"SG"},{country:"Sint Maarten",code:"1-721",iso:"SX"},{country:"Slovakia",code:"421",iso:"SK"},{country:"Slovenia",code:"386",iso:"SI"},{country:"Solomon Islands",code:"677",iso:"SB"},{country:"Somalia",code:"252",iso:"SO"},{country:"South Africa",code:"27",iso:"ZA"},{country:"South Korea",code:"82",iso:"KR"},{country:"South Sudan",code:"211",iso:"SS"},{country:"Spain",code:"34",iso:"ES"},{country:"Sri Lanka",code:"94",iso:"LK"},{country:"Sudan",code:"249",iso:"SD"},{country:"Suriname",code:"597",iso:"SR"},{country:"Svalbard and Jan Mayen",code:"47",iso:"SJ"},{country:"Swaziland",code:"268",iso:"SZ"},{country:"Sweden",code:"46",iso:"SE"},{country:"Switzerland",code:"41",iso:"CH"},{country:"Syria",code:"963",iso:"SY"},{country:"Taiwan",code:"886",iso:"TW"},{country:"Tajikistan",code:"992",iso:"TJ"},{country:"Tanzania",code:"255",iso:"TZ"},{country:"Thailand",code:"66",iso:"TH"},{country:"Togo",code:"228",iso:"TG"},{country:"Tokelau",code:"690",iso:"TK"},{country:"Tonga",code:"676",iso:"TO"},{country:"Trinidad and Tobago",code:"1-868",iso:"TT"},{country:"Tunisia",code:"216",iso:"TN"},{country:"Turkey",code:"90",iso:"TR"},{country:"Turkmenistan",code:"993",iso:"TM"},{country:"Turks and Caicos Islands",code:"1-649",iso:"TC"},{country:"Tuvalu",code:"688",iso:"TV"},{country:"U.S. Virgin Islands",code:"1-340",iso:"VI"},{country:"Uganda",code:"256",iso:"UG"},{country:"Ukraine",code:"380",iso:"UA"},{country:"United Arab Emirates",code:"971",iso:"AE"},{country:"United Kingdom",code:"44",iso:"GB"},{country:"United States",code:"1",iso:"US"},{country:"Uruguay",code:"598",iso:"UY"},{country:"Uzbekistan",code:"998",iso:"UZ"},{country:"Vanuatu",code:"678",iso:"VU"},{country:"Vatican",code:"379",iso:"VA"},{country:"Venezuela",code:"58",iso:"VE"},{country:"Vietnam",code:"84",iso:"VN"},{country:"Wallis and Futuna",code:"681",iso:"WF"},{country:"Western Sahara",code:"212",iso:"EH"},{country:"Yemen",code:"967",iso:"YE"},{country:"Zambia",code:"260",iso:"ZM"},{country:"Zimbabwe",code:"263",iso:"ZW"}],eh="phoneField-module_container__O2nj3",th="phoneField-module_select__gwMva",nh="phoneField-module_flag__p2BYn",oh="phoneField-module_input-container__qyzH8",rh="phoneField-module_phone-input__vQV2U",ih="phoneField-module_error__HQhja",ah="phoneField-module_error-icon__ASrep",sh="phoneField-module_helper__rnbGq",lh="phoneField-module_input-helper-outer__DkMld";We(".phoneField-module_container__O2nj3 {\n display: flex;\n gap: 0.25rem;\n}\n\n.phoneField-module_select__gwMva {\n position: relative;\n display: flex;\n height: -moz-fit-content;\n height: fit-content;\n}\n\n.phoneField-module_select__gwMva select {\n padding-top: 1rem;\n padding-bottom: 1rem;\n padding-left: 1.75rem;\n width: 10.5ch;\n font-size: 1.125rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1.5rem;\n border-radius: 0.5rem 0.125rem 0.125rem 0.5rem;\n border: 4px solid var(--product-greyscale-0);\n text-overflow: ellipsis;\n min-width: 10ch;\n color: var(--product-greyscale-100);\n height: -moz-fit-content;\n height: fit-content;\n}\n\n.phoneField-module_select__gwMva select:hover {\n background: var(--product-greyscale-20);\n}\n\n.phoneField-module_select__gwMva select:focus {\n outline: none;\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.phoneField-module_flag__p2BYn {\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n font-family: Inter;\n font-size: 1.125rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1.5rem;\n}\n\n.phoneField-module_input-container__qyzH8 {\n position: relative;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n}\n\n.phoneField-module_phone-input__vQV2U {\n width: 100%;\n font-size: 1.125rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1.5rem;\n padding: 1.25rem 1rem;\n border-radius: 0.125rem 0.5rem 0.5rem 0.125rem;\n border: 2px solid transparent;\n caret-color: var(--product-love-pink-100);\n color: var(--product-greyscale-100);\n height: 100%;\n}\n\n.phoneField-module_phone-input__vQV2U.phoneField-module_error__HQhja {\n border-color: var(--product-error);\n}\n\n.phoneField-module_phone-input__vQV2U.phoneField-module_error__HQhja:hover {\n border-color: var(--product-error);\n}\n\n.phoneField-module_phone-input__vQV2U.phoneField-module_error__HQhja:placeholder {\n color: var(--product-error);\n}\n\n.phoneField-module_phone-input__vQV2U:placeholder {\n color: var(--product-greyscale-60);\n}\n\n.phoneField-module_phone-input__vQV2U:hover {\n border-color: var(--product-greyscale-20);\n}\n\n.phoneField-module_phone-input__vQV2U:focus-visible {\n outline: none;\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.phoneField-module_error-icon__ASrep {\n position: absolute;\n top: 50%;\n right: 1rem;\n transform: translateY(-50%);\n color: var(--product-error);\n}\n\n.phoneField-module_helper__rnbGq {\n color: var(--product-error);\n padding: 0.5rem 1rem;\n}\n\n.phoneField-module_input-helper-outer__DkMld {\n width: 100%;\n display: flex;\n flex-direction: column;\n}\n\n\n /* only safari */\n\n@supports (-webkit-hyphens:none)\n{\n .phoneField-module_select__gwMva select {\n -webkit-appearance: none;\n height: 64px;\n text-indent: .5rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n}\n\n\n/* only IOS */\n\n@supports (-webkit-touch-callout: none) {\n\n\n .phoneField-module_select__gwMva select {\n -webkit-appearance: none;\n height: 64px;\n text-indent: .5rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n}\n\n\n");var uh=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(ch,C({},s,{field:C({},n)}))}})},ch=function(e){var o,r,i=e.error,a=e.field,s=e.id,l=e.placeholder,u=n("GB"),c=u[0],d=u[1],p=E().setValue,f=i,m=null===(o=$m.find((function(e){return e.iso===c})))||void 0===o?void 0:o.code;p("".concat(s,".phone.code"),"+".concat(m)),p("".concat(s,".phone.formatted"),"+".concat(m).concat(a.value));var h,g;return t.createElement("div",{className:eh},t.createElement("div",{className:th},t.createElement("div",{className:nh},(h=(null===(r=$m.find((function(e){return e.iso===c})))||void 0===r?void 0:r.iso)||"",g=h.toUpperCase().split("").map((function(e){return 127397+e.charCodeAt()})),String.fromCodePoint.apply(String,g))),t.createElement("label",{className:"sr-only",htmlFor:"".concat(s,"-call-code-select")},"Call code"),t.createElement("select",{defaultValue:"44",id:"".concat(s,"-call-code-select"),onChange:function(e){var t=e.target.value;d(t)}},$m.filter((function(e){return"44"===e.code})).map((function(e){var n=e.code,o=e.country,r=e.iso;return t.createElement("option",{key:o,value:r},"+",n," (",o,")")})),t.createElement("optgroup",{label:"Other countries"},$m.filter((function(e){return"44"!==e.code})).map((function(e){var n=e.code,o=e.country,r=e.iso;return t.createElement("option",{key:o,value:r},"+",n," (",o,")")}))))),t.createElement("div",{className:lh},t.createElement("div",{className:oh},t.createElement("label",{className:"sr-only",htmlFor:"".concat(s,"-phone-input")},"Mobile phone number without callcode"),t.createElement("input",C({"aria-describedby":"".concat(s,"-phone-field-error"),className:Ke(rh,f&&ih),id:"".concat(s,"-phone-input"),placeholder:l,type:"tel"},a)),f&&t.createElement("div",{className:ah},t.createElement(ft,{icon:"error"}))),t.createElement(ht,{className:Ke("".concat(s,"-phone-field-error"),sh),variant:"form-helper"},null==i?void 0:i.message)))},dh=Object.defineProperty,ph=Object.defineProperties,fh=Object.getOwnPropertyDescriptors,mh=Object.getOwnPropertySymbols,hh=Object.prototype.hasOwnProperty,gh=Object.prototype.propertyIsEnumerable,vh=(e,t,n)=>t in e?dh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var yh=["[data-lastpass-icon-root]","com-1password-button","[data-dashlanecreated]",'[style$="2147483647 !important;"]'].join(",");var Ah=e.createContext({}),bh=e.forwardRef(((t,n)=>{var o,r,i,a,s,l=t,{value:u,onChange:c,maxLength:d,textAlign:p="left",pattern:f,placeholder:m,inputMode:h="numeric",onComplete:g,pushPasswordManagerStrategy:v="increase-width",pasteTransformer:y,containerClassName:A,noScriptCSSFallback:b=xh,render:w,children:x}=l,E=((e,t)=>{var n={};for(var o in e)hh.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&mh)for(var o of mh(e))t.indexOf(o)<0&&gh.call(e,o)&&(n[o]=e[o]);return n})(l,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]);let[k,S]=e.useState("string"==typeof E.defaultValue?E.defaultValue:""),C=null!=u?u:k,P=function(t){let n=e.useRef();return e.useEffect((()=>{n.current=t})),n.current}(C),I=e.useCallback((e=>{null==c||c(e),S(e)}),[c]),O=e.useMemo((()=>f?"string"==typeof f?new RegExp(f):f:null),[f]),D=e.useRef(null),T=e.useRef(null),N=e.useRef({value:C,onChange:I,isIOS:"undefined"!=typeof window&&(null==(r=null==(o=null==window?void 0:window.CSS)?void 0:o.supports)?void 0:r.call(o,"-webkit-touch-callout","none"))}),B=e.useRef({prev:[null==(i=D.current)?void 0:i.selectionStart,null==(a=D.current)?void 0:a.selectionEnd,null==(s=D.current)?void 0:s.selectionDirection]});e.useImperativeHandle(n,(()=>D.current),[]),e.useEffect((()=>{let e=D.current,t=T.current;if(!e||!t)return;function n(){if(document.activeElement!==e)return _(null),void z(null);let t,n=e.selectionStart,o=e.selectionEnd,r=e.selectionDirection,i=e.maxLength,a=e.value,s=B.current.prev,l=-1,u=-1;if(0!==a.length&&null!==n&&null!==o){let e=n===o,r=n===a.length&&a.length<i;if(e&&!r){let e=n;if(0===e)l=0,u=1,t="forward";else if(e===i)l=e-1,u=e,t="backward";else if(i>1&&a.length>1){let n=0;if(null!==s[0]&&null!==s[1]){t=e<s[1]?"backward":"forward";let o=s[0]===s[1]&&s[0]<i;"backward"===t&&!o&&(n=-1)}l=n+e,u=n+e+1}}-1!==l&&-1!==u&&l!==u&&D.current.setSelectionRange(l,u,t)}let c=-1!==l?l:n,d=-1!==u?u:o,p=null!=t?t:r;_(c),z(d),B.current.prev=[c,d,p]}if(N.current.value!==e.value&&N.current.onChange(e.value),B.current.prev=[e.selectionStart,e.selectionEnd,e.selectionDirection],document.addEventListener("selectionchange",n,{capture:!0}),n(),document.activeElement===e&&V(!0),!document.getElementById("input-otp-style")){let e=document.createElement("style");if(e.id="input-otp-style",document.head.appendChild(e),e.sheet){let t="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";wh(e.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),wh(e.sheet,`[data-input-otp]:autofill { ${t} }`),wh(e.sheet,`[data-input-otp]:-webkit-autofill { ${t} }`),wh(e.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),wh(e.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let o=()=>{t&&t.style.setProperty("--root-height",`${e.clientHeight}px`)};o();let r=new ResizeObserver(o);return r.observe(e),()=>{document.removeEventListener("selectionchange",n,{capture:!0}),r.disconnect()}}),[]);let[R,M]=e.useState(!1),[F,V]=e.useState(!1),[L,_]=e.useState(null),[j,z]=e.useState(null);e.useEffect((()=>{!function(e){setTimeout(e,0),setTimeout(e,10),setTimeout(e,50)}((()=>{var e,t,n,o;null==(e=D.current)||e.dispatchEvent(new Event("input"));let r=null==(t=D.current)?void 0:t.selectionStart,i=null==(n=D.current)?void 0:n.selectionEnd,a=null==(o=D.current)?void 0:o.selectionDirection;null!==r&&null!==i&&(_(r),z(i),B.current.prev=[r,i,a])}))}),[C,F]),e.useEffect((()=>{void 0!==P&&C!==P&&P.length<d&&C.length===d&&(null==g||g(C))}),[d,g,P,C]);let U=function({containerRef:t,inputRef:n,pushPasswordManagerStrategy:o,isFocused:r}){let[i,a]=e.useState(!1),[s,l]=e.useState(!1),[u,c]=e.useState(!1),d=e.useMemo((()=>"none"!==o&&("increase-width"===o||"experimental-no-flickering"===o)&&i&&s),[i,s,o]),p=e.useCallback((()=>{let e=t.current,r=n.current;if(!e||!r||u||"none"===o)return;let i=e,s=i.getBoundingClientRect().left+i.offsetWidth-18,l=i.getBoundingClientRect().top+i.offsetHeight/2;0===document.querySelectorAll(yh).length&&document.elementFromPoint(s,l)===e||(a(!0),c(!0))}),[t,n,u,o]);return e.useEffect((()=>{let e=t.current;if(!e||"none"===o)return;function n(){let t=window.innerWidth-e.getBoundingClientRect().right;l(t>=40)}n();let r=setInterval(n,1e3);return()=>{clearInterval(r)}}),[t,o]),e.useEffect((()=>{let e=r||document.activeElement===n.current;if("none"===o||!e)return;let t=setTimeout(p,0),i=setTimeout(p,2e3),a=setTimeout(p,5e3),s=setTimeout((()=>{c(!0)}),6e3);return()=>{clearTimeout(t),clearTimeout(i),clearTimeout(a),clearTimeout(s)}}),[n,r,o,p]),{hasPWMBadge:i,willPushPWMBadge:d,PWM_BADGE_SPACE_WIDTH:"40px"}}({containerRef:T,inputRef:D,pushPasswordManagerStrategy:v,isFocused:F}),Q=e.useCallback((e=>{let t=e.currentTarget.value.slice(0,d);t.length>0&&O&&!O.test(t)?e.preventDefault():("string"==typeof P&&t.length<P.length&&document.dispatchEvent(new Event("selectionchange")),I(t))}),[d,I,P,O]),H=e.useCallback((()=>{var e;if(D.current){let t=Math.min(D.current.value.length,d-1),n=D.current.value.length;null==(e=D.current)||e.setSelectionRange(t,n),_(t),z(n)}V(!0)}),[d]),q=e.useCallback((e=>{var t,n;let o=D.current;if(!(y||N.current.isIOS&&e.clipboardData&&o))return;let r=e.clipboardData.getData("text/plain"),i=y?y(r):r;console.log({_content:r,content:i}),e.preventDefault();let a=null==(t=D.current)?void 0:t.selectionStart,s=null==(n=D.current)?void 0:n.selectionEnd,l=(a!==s?C.slice(0,a)+i+C.slice(s):C.slice(0,a)+i+C.slice(a)).slice(0,d);if(l.length>0&&O&&!O.test(l))return;o.value=l,I(l);let u=Math.min(l.length,d-1),c=l.length;o.setSelectionRange(u,c),_(u),z(c)}),[d,I,O,C]),K=e.useMemo((()=>({position:"relative",cursor:E.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"})),[E.disabled]),W=e.useMemo((()=>({position:"absolute",inset:0,width:U.willPushPWMBadge?`calc(100% + ${U.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:U.willPushPWMBadge?`inset(0 ${U.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:p,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"})),[U.PWM_BADGE_SPACE_WIDTH,U.willPushPWMBadge,p]),G=e.useMemo((()=>e.createElement("input",((e,t)=>ph(e,fh(t)))(((e,t)=>{for(var n in t||(t={}))hh.call(t,n)&&vh(e,n,t[n]);if(mh)for(var n of mh(t))gh.call(t,n)&&vh(e,n,t[n]);return e})({autoComplete:E.autoComplete||"one-time-code"},E),{"data-input-otp":!0,"data-input-otp-placeholder-shown":0===C.length||void 0,"data-input-otp-mss":L,"data-input-otp-mse":j,inputMode:h,pattern:null==O?void 0:O.source,"aria-placeholder":m,style:W,maxLength:d,value:C,ref:D,onPaste:e=>{var t;q(e),null==(t=E.onPaste)||t.call(E,e)},onChange:Q,onMouseOver:e=>{var t;M(!0),null==(t=E.onMouseOver)||t.call(E,e)},onMouseLeave:e=>{var t;M(!1),null==(t=E.onMouseLeave)||t.call(E,e)},onFocus:e=>{var t;H(),null==(t=E.onFocus)||t.call(E,e)},onBlur:e=>{var t;V(!1),null==(t=E.onBlur)||t.call(E,e)}}))),[Q,H,q,h,W,d,j,L,E,null==O?void 0:O.source,C]),Z=e.useMemo((()=>({slots:Array.from({length:d}).map(((e,t)=>{var n;let o=F&&null!==L&&null!==j&&(L===j&&t===L||t>=L&&t<j),r=void 0!==C[t]?C[t]:null;return{char:r,placeholderChar:void 0!==C[0]?null:null!=(n=null==m?void 0:m[t])?n:null,isActive:o,hasFakeCaret:o&&null===r}})),isFocused:F,isHovering:!E.disabled&&R})),[F,R,d,j,L,E.disabled,C]),X=e.useMemo((()=>w?w(Z):e.createElement(Ah.Provider,{value:Z},x)),[x,Z,w]);return e.createElement(e.Fragment,null,null!==b&&e.createElement("noscript",null,e.createElement("style",null,b)),e.createElement("div",{ref:T,"data-input-otp-container":!0,style:K,className:A},X,e.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},G)))}));function wh(e,t){try{e.insertRule(t)}catch(e){console.error("input-otp could not insert CSS rule:",t)}}bh.displayName="Input";var xh="\n[data-input-otp] {\n --nojs-bg: white !important;\n --nojs-fg: black !important;\n\n background-color: var(--nojs-bg) !important;\n color: var(--nojs-fg) !important;\n caret-color: var(--nojs-fg) !important;\n letter-spacing: .25em !important;\n text-align: center !important;\n border: 1px solid var(--nojs-fg) !important;\n border-radius: 4px !important;\n width: 100% !important;\n}\n@media (prefers-color-scheme: dark) {\n [data-input-otp] {\n --nojs-bg: black !important;\n --nojs-fg: white !important;\n }\n}",Eh="pinInput-module_inputContainer__bzkiK",kh="pinInput-module_inputWrapper__Rsd-3",Sh="pinInput-module_input__SL8JP",Ch="pinInput-module_container__654rA",Ph="pinInput-module_slotContainer__3E97Z",Ih="pinInput-module_slot__LVnFB",Oh="pinInput-module_slotActive__P42oc",Dh="pinInput-module_slotWithValue__jfZsL",Th="pinInput-module_fakeCaret__QTYND",Nh="pinInput-module_fakeDash__7httn";We(".pinInput-module_inputContainer__bzkiK {\n list-style: none;\n display: flex;\n justify-content: center;\n gap: 0.5rem;\n}\n\n.pinInput-module_inputWrapper__Rsd-3 {\n width: 3.5rem;\n height: 4.5rem;\n border: 2px solid transparent;\n border-radius: 6px;\n}\n\n\n.pinInput-module_input__SL8JP {\n height: 100%;\n width: 100%;\n font-size: 2rem;\n font-weight: 600;\n text-align: center;\n background: var(--primary-ghost-white);\n color: var(--primary-trust-blue-100);\n caret-color: var(--product-love-pink-100);\n border: none;\n border: 0.25rem solid white;\n border-radius: 6px;\n outline: none;\n overflow: hidden;\n width: 48px;\n}\n\n.pinInput-module_input__SL8JP:hover {\n outline: 2px solid var(--product-greyscale-20);\n}\n\n.pinInput-module_input__SL8JP:focus {\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.pinInput-module_input__SL8JP:not(:-moz-placeholder-shown) {\n background: var(--secondary-blue-20);\n outline: 2px solid var(--product-greyscale-100);\n\n}\n\n.pinInput-module_input__SL8JP:not(:placeholder-shown) {\n background: var(--secondary-blue-20);\n outline: 2px solid var(--product-greyscale-100);\n\n}\n\n.pinInput-module_input__SL8JP+error {\n border: 2px solid var(--product-error);\n}\n\n@media only screen and (min-width: 678px) {\n\n .pinInput-module_inputContainer__bzkiK {\n gap: 1rems\n }\n\n .pinInput-module_input__SL8JP {\n width: 3.5rem;\n }\n}\n\n/* NEW */\n\n.pinInput-module_container__654rA {\n display: flex; \n align-items: center; \n justify-content: center;\n}\n\n.pinInput-module_container__654rA:disabled {\n opacity: 0.3;\n}\n\n.pinInput-module_slotContainer__3E97Z {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 0.5rem;\n}\n\n.pinInput-module_slot__LVnFB {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 2rem;\n font-weight: 600;\n background: var(--product-greyscale-0);\n color: var(--primary-trust-blue-100);\n border-radius: 6px;\n width: 48px;\n height: 72px;\n}\n\n.pinInput-module_slotActive__P42oc {\n border: 2px solid var(--product-greyscale-20);\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.pinInput-module_slotWithValue__jfZsL {\n border: 4px solid var(--product-greyscale-0);\n background: var(--secondary-blue-20);\n padding: .25rem;\n}\n\n\n\n.pinInput-module_fakeCaret__QTYND {\n display: flex; \n position: absolute; \n top: 0;\n right: 0;\n bottom: 0;\n left: 0; \n justify-content: center; \n align-items: center; \n pointer-events: none; \n animation: pinInput-module_caret-blink__KJ2y6 1.2s ease-out infinite;\n}\n\n.pinInput-module_fakeCaret__QTYND > div {\n width: 2px; \n height: 2rem; \n border-radius: 9999px;\n background-color: var(--product-love-pink-100); \n}\n\n.pinInput-module_fakeDash__7httn {\n display: flex; \n justify-content: center; \n align-items: center; \n width: 1.5rem; \n}\n\n.pinInput-module_fakeDash__7httn > div {\n width: 0.75rem; \n height: 0.25rem; \n}\n\n@media only screen and (min-width: 678px) { \n .pinInput-module_slotContainer__3E97Z {\n gap: 1.5rem;\n }\n\n .pinInput-module_fakeDash__7httn {\n width: 3rem;\n }\n} \n\n@keyframes pinInput-module_caret-blink__KJ2y6 {\n 0%, 70%, 100% {\n opacity: 1;\n }\n 20%, 50% {\n opacity: 0;\n }\n}\n");var Bh=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"],Rh=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Mh,C({},s,{field:C({},n)}))}})},Mh=function(e){var r=e.field,i=e.isNumeric,a=void 0===i||i,l=e.isOTP,u=void 0===l||l,c=e.isPassword,d=void 0!==c&&c,p=e.label,f=e.length,m=void 0===f?6:f,h=s([]),g=n(Array.from({length:m},(function(){return null}))),v=g[0],y=g[1],A=function(e){var t=e.target,n=h.current.indexOf(t),o=h.current[n+1];!a||/^\d+$/.test(t.value)?(y((function(e){var o=I([],e,!0);return o[n]=t.value,o})),o&&o.focus()):t.value=""},b=function(e){e.preventDefault();var t=e.clipboardData;if(t){var n=t.getData("text").split("");y((function(e){var t=I([],e,!0);return n.slice(0,m).forEach((function(e,n){t[n]=e})),t}))}},w=function(e){if(!(e.target.value.length<m)){e.preventDefault();var t=e.target.value.split("");y((function(e){var n=I([],e,!0);return t.slice(0,m).forEach((function(e,t){n[t]=e})),n}))}};return o((function(){r.onChange(v.join(""))}),[r,v]),t.createElement("label",null,t.createElement("span",{className:"sr-only"},p),t.createElement("ul",{className:Eh},Array.from({length:m}).map((function(e,n){return t.createElement("li",{className:kh,key:"otp-".concat(n,"$")},t.createElement("input",{"aria-label":"pin input ".concat(n+1," of ").concat(m),autoCapitalize:"none",autoComplete:u?"one-time-code":"false",className:Sh,inputMode:a?"numeric":"text",maxLength:6,onInput:A,onInputCapture:w,onKeyDown:function(e){"Backspace"===e.key&&function(e){null==e||e.preventDefault();var t=e.target,n=h.current.indexOf(t),o=h.current[n-1];t.value="",y((function(e){var t=I([],e,!0);return t[n]=null,t})),o&&o.focus()}(e),"Delete"===e.key&&function(e){null==e||e.preventDefault();var t=e.target,n=h.current.indexOf(t);t.value="",y((function(e){var t=I([],e,!0);return t[n]=null,t}))}(e),Bh.includes(e.key)&&function(e){e.preventDefault();var t=e.target,n=h.current.indexOf(t),o=h.current[n-1];if("Home"===e.key&&h.current[0].focus(),"End"===e.key&&h.current[m-1].focus(),"ArrowLeft"===e.key&&o&&o.focus(),"ArrowRight"===e.key){var r=h.current[n+1];r&&r.focus()}}(e)},onPaste:b,pattern:a?"[0-9]*":"",placeholder:" ",ref:function(e){e&&(h.current[n]=e)},type:d?"password":"text",value:v[n]||""}))}))),t.createElement("input",C({"aria-hidden":"true",className:"sr-only",tabIndex:-1},r)))},Fh=function(){return t.createElement("div",{className:Nh},t.createElement("div",{className:"w-3 h-1 rounded-full bg-border"}))},Vh=function(){return t.createElement("div",{className:Th},t.createElement("div",null))},Lh=function(e){var n=e.char,o=e.hasFakeCaret,r=e.isActive,i=e.placeholderChar;return t.createElement("div",{className:Ke(Ih,r&&Oh,n&&Dh)},t.createElement("div",null,null!=n?n:i),o&&t.createElement(Vh,null))},_h=function(){return t.createElement(bh,{containerClassName:Ch,maxLength:6,render:function(e){var n=e.slots;return t.createElement(t.Fragment,null,t.createElement("div",{className:Ph},n.slice(0,3).map((function(e,n){return t.createElement(Lh,C({key:n},e))}))),t.createElement(Fh,null),t.createElement("div",{className:Ph},n.slice(3).map((function(e,n){return t.createElement(Lh,C({key:n},e))}))))}})};var jh,zh="dismissableLayer.update",Uh="dismissableLayer.pointerDownOutside",Qh="dismissableLayer.focusOutside",Hh=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qh=e.forwardRef(((t,n)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=t,c=e.useContext(Hh),[d,p]=e.useState(null),f=d?.ownerDocument??globalThis?.document,[,m]=e.useState({}),h=B(n,(e=>p(e))),g=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=g.indexOf(v),b=d?g.indexOf(d):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,x=b>=A,E=function(t,n=globalThis?.document){const o=z(t),r=e.useRef(!1),i=e.useRef((()=>{}));return e.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let t=function(){Wh(Uh,o,r,{discrete:!0})};const r={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);r.current=!1},t=window.setTimeout((()=>{n.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}}),[n,o]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...c.branches].some((e=>e.contains(t)));x&&!n&&(i?.(e),s?.(e),e.defaultPrevented||l?.())}),f),k=function(t,n=globalThis?.document){const o=z(t),r=e.useRef(!1);return e.useEffect((()=>{const e=e=>{if(e.target&&!r.current){Wh(Qh,o,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)}),[n,o]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...c.branches].some((e=>e.contains(t)))||(a?.(e),s?.(e),e.defaultPrevented||l?.())}),f);return function(t,n=globalThis?.document){const o=z(t);e.useEffect((()=>{const e=e=>{"Escape"===e.key&&o(e)};return n.addEventListener("keydown",e,{capture:!0}),()=>n.removeEventListener("keydown",e,{capture:!0})}),[o,n])}((e=>{b===c.layers.size-1&&(r?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))}),f),e.useEffect((()=>{if(d)return o&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(jh=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Kh(),()=>{o&&1===c.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=jh)}}),[d,f,o,c]),e.useEffect((()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Kh())}),[d,c]),e.useEffect((()=>{const e=()=>m({});return document.addEventListener(zh,e),()=>document.removeEventListener(zh,e)}),[]),y(Q.div,{...u,ref:h,style:{pointerEvents:w?x?"auto":"none":void 0,...t.style},onFocusCapture:j(t.onFocusCapture,k.onFocusCapture),onBlurCapture:j(t.onBlurCapture,k.onBlurCapture),onPointerDownCapture:j(t.onPointerDownCapture,E.onPointerDownCapture)})}));qh.displayName="DismissableLayer";function Kh(){const e=new CustomEvent(zh);document.dispatchEvent(e)}function Wh(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?function(e,t){e&&w.flushSync((()=>e.dispatchEvent(t)))}(r,i):r.dispatchEvent(i)}e.forwardRef(((t,n)=>{const o=e.useContext(Hh),r=e.useRef(null),i=B(n,r);return e.useEffect((()=>{const e=r.current;if(e)return o.branches.add(e),()=>{o.branches.delete(e)}}),[o.branches]),y(Q.div,{...t,ref:i})})).displayName="DismissableLayerBranch";var Gh=0;function Zh(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xh="focusScope.autoFocusOnMount",Yh="focusScope.autoFocusOnUnmount",Jh={bubbles:!1,cancelable:!0},$h=e.forwardRef(((t,n)=>{const{loop:o=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=t,[l,u]=e.useState(null),c=z(i),d=z(a),p=e.useRef(null),f=B(n,(e=>u(e))),m=e.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;e.useEffect((()=>{if(r){let e=function(e){if(m.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:og(p.current,{select:!0})},t=function(e){if(m.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||og(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&og(l)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return l&&o.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[r,l,m.paused]),e.useEffect((()=>{if(l){rg.add(m);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(Xh,Jh);l.addEventListener(Xh,c),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(og(o,{select:t}),document.activeElement!==n)return}((e=eg(l),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&og(l))}return()=>{l.removeEventListener(Xh,c),setTimeout((()=>{const e=new CustomEvent(Yh,Jh);l.addEventListener(Yh,d),l.dispatchEvent(e),e.defaultPrevented||og(t??document.body,{select:!0}),l.removeEventListener(Yh,d),rg.remove(m)}),0)}}var e}),[l,c,d,m]);const h=e.useCallback((e=>{if(!o&&!r)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[r,i]=function(e){const t=eg(e),n=tg(t,e),o=tg(t.reverse(),e);return[n,o]}(t);r&&i?e.shiftKey||n!==i?e.shiftKey&&n===r&&(e.preventDefault(),o&&og(i,{select:!0})):(e.preventDefault(),o&&og(r,{select:!0})):n===t&&e.preventDefault()}}),[o,r,m.paused]);return y(Q.div,{tabIndex:-1,...s,ref:f,onKeyDown:h})}));function eg(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function tg(e,t){for(const n of e)if(!ng(n,{upTo:t}))return n}function ng(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function og(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}$h.displayName="FocusScope";var rg=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=ig(e,t),e.unshift(t)},remove(t){e=ig(e,t),e[0]?.resume()}}}();function ig(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}const ag=["top","right","bottom","left"],sg=Math.min,lg=Math.max,ug=Math.round,cg=Math.floor,dg=e=>({x:e,y:e}),pg={left:"right",right:"left",bottom:"top",top:"bottom"},fg={start:"end",end:"start"};function mg(e,t,n){return lg(e,sg(t,n))}function hg(e,t){return"function"==typeof e?e(t):e}function gg(e){return e.split("-")[0]}function vg(e){return e.split("-")[1]}function yg(e){return"x"===e?"y":"x"}function Ag(e){return"y"===e?"height":"width"}function bg(e){return["top","bottom"].includes(gg(e))?"y":"x"}function wg(e){return yg(bg(e))}function xg(e){return e.replace(/start|end/g,(e=>fg[e]))}function Eg(e){return e.replace(/left|right|bottom|top/g,(e=>pg[e]))}function kg(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Sg(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Cg(e,t,n){let{reference:o,floating:r}=e;const i=bg(t),a=wg(t),s=Ag(a),l=gg(t),u="y"===i,c=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,p=o[s]/2-r[s]/2;let f;switch(l){case"top":f={x:c,y:o.y-r.height};break;case"bottom":f={x:c,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-r.width,y:d};break;default:f={x:o.x,y:o.y}}switch(vg(t)){case"start":f[a]-=p*(n&&u?-1:1);break;case"end":f[a]+=p*(n&&u?-1:1)}return f}async function Pg(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=hg(t,e),m=kg(f),h=s[p?"floating"===d?"reference":"floating":d],g=Sg(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),A=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=Sg(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-b.top+m.top)/A.y,bottom:(b.bottom-g.bottom+m.bottom)/A.y,left:(g.left-b.left+m.left)/A.x,right:(b.right-g.right+m.right)/A.x}}function Ig(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Og(e){return ag.some((t=>e[t]>=0))}function Dg(){return"undefined"!=typeof window}function Tg(e){return Rg(e)?(e.nodeName||"").toLowerCase():"#document"}function Ng(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Bg(e){var t;return null==(t=(Rg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Rg(e){return!!Dg()&&(e instanceof Node||e instanceof Ng(e).Node)}function Mg(e){return!!Dg()&&(e instanceof Element||e instanceof Ng(e).Element)}function Fg(e){return!!Dg()&&(e instanceof HTMLElement||e instanceof Ng(e).HTMLElement)}function Vg(e){return!(!Dg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Ng(e).ShadowRoot)}function Lg(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Hg(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function _g(e){return["table","td","th"].includes(Tg(e))}function jg(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function zg(e){const t=Ug(),n=Mg(e)?Hg(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Ug(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qg(e){return["html","body","#document"].includes(Tg(e))}function Hg(e){return Ng(e).getComputedStyle(e)}function qg(e){return Mg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Kg(e){if("html"===Tg(e))return e;const t=e.assignedSlot||e.parentNode||Vg(e)&&e.host||Bg(e);return Vg(t)?t.host:t}function Wg(e){const t=Kg(e);return Qg(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fg(t)&&Lg(t)?t:Wg(t)}function Gg(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Wg(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Ng(r);if(i){const e=Zg(a);return t.concat(a,a.visualViewport||[],Lg(r)?r:[],e&&n?Gg(e):[])}return t.concat(r,Gg(r,[],n))}function Zg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xg(e){const t=Hg(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Fg(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=ug(n)!==i||ug(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}function Yg(e){return Mg(e)?e:e.contextElement}function Jg(e){const t=Yg(e);if(!Fg(t))return dg(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=Xg(t);let a=(i?ug(n.width):n.width)/o,s=(i?ug(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const $g=dg(0);function ev(e){const t=Ng(e);return Ug()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:$g}function tv(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=Yg(e);let a=dg(1);t&&(o?Mg(o)&&(a=Jg(o)):a=Jg(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ng(e))&&t}(i,n,o)?ev(i):dg(0);let l=(r.left+s.x)/a.x,u=(r.top+s.y)/a.y,c=r.width/a.x,d=r.height/a.y;if(i){const e=Ng(i),t=o&&Mg(o)?Ng(o):o;let n=e,r=Zg(n);for(;r&&o&&t!==n;){const e=Jg(r),t=r.getBoundingClientRect(),o=Hg(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,u*=e.y,c*=e.x,d*=e.y,l+=i,u+=a,n=Ng(r),r=Zg(n)}}return Sg({width:c,height:d,x:l,y:u})}function nv(e,t){const n=qg(e).scrollLeft;return t?t.left+n:tv(Bg(e)).left+n}function ov(e,t,n){void 0===n&&(n=!1);const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(n?0:nv(e,o)),y:o.top+t.scrollTop}}function rv(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=Ng(e),o=Bg(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const e=Ug();(!e||e&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)o=function(e){const t=Bg(e),n=qg(e),o=e.ownerDocument.body,r=lg(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=lg(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+nv(e);const s=-n.scrollTop;return"rtl"===Hg(o).direction&&(a+=lg(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:s}}(Bg(e));else if(Mg(t))o=function(e,t){const n=tv(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=Fg(e)?Jg(e):dg(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n);else{const n=ev(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Sg(o)}function iv(e,t){const n=Kg(e);return!(n===t||!Mg(n)||Qg(n))&&("fixed"===Hg(n).position||iv(n,t))}function av(e,t,n){const o=Fg(t),r=Bg(t),i="fixed"===n,a=tv(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=dg(0);if(o||!o&&!i)if(("body"!==Tg(t)||Lg(r))&&(s=qg(t)),o){const e=tv(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else r&&(l.x=nv(r));const u=!r||o||i?dg(0):ov(r,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}function sv(e){return"static"===Hg(e).position}function lv(e,t){if(!Fg(e)||"fixed"===Hg(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Bg(e)===n&&(n=n.ownerDocument.body),n}function uv(e,t){const n=Ng(e);if(jg(e))return n;if(!Fg(e)){let t=Kg(e);for(;t&&!Qg(t);){if(Mg(t)&&!sv(t))return t;t=Kg(t)}return n}let o=lv(e,t);for(;o&&_g(o)&&sv(o);)o=lv(o,t);return o&&Qg(o)&&sv(o)&&!zg(o)?n:o||function(e){let t=Kg(e);for(;Fg(t)&&!Qg(t);){if(zg(t))return t;if(jg(t))return null;t=Kg(t)}return null}(e)||n}const cv={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i="fixed"===r,a=Bg(o),s=!!t&&jg(t.floating);if(o===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=dg(1);const c=dg(0),d=Fg(o);if((d||!d&&!i)&&(("body"!==Tg(o)||Lg(a))&&(l=qg(o)),Fg(o))){const e=tv(o);u=Jg(o),c.x=e.x+o.clientLeft,c.y=e.y+o.clientTop}const p=!a||d||i?dg(0):ov(a,l,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}},getDocumentElement:Bg,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?jg(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let o=Gg(e,[],!1).filter((e=>Mg(e)&&"body"!==Tg(e))),r=null;const i="fixed"===Hg(e).position;let a=i?Kg(e):e;for(;Mg(a)&&!Qg(a);){const t=Hg(a),n=zg(a);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||Lg(a)&&!n&&iv(e,a))?o=o.filter((e=>e!==a)):r=t,a=Kg(a)}return t.set(e,o),o}(t,this._c):[].concat(n),o],a=i[0],s=i.reduce(((e,n)=>{const o=rv(t,n,r);return e.top=lg(o.top,e.top),e.right=sg(o.right,e.right),e.bottom=sg(o.bottom,e.bottom),e.left=lg(o.left,e.left),e}),rv(t,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:uv,getElementRects:async function(e){const t=this.getOffsetParent||uv,n=this.getDimensions,o=await n(e.floating);return{reference:av(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Xg(e);return{width:t,height:n}},getScale:Jg,isElement:Mg,isRTL:function(e){return"rtl"===Hg(e).direction}};function dv(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,u=Yg(e),c=r||i?[...u?Gg(u):[],...Gg(t)]:[];c.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=u&&s?function(e,t){let n,o=null;const r=Bg(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const f={rootMargin:-cg(c)+"px "+-cg(r.clientWidth-(u+d))+"px "+-cg(r.clientHeight-(c+p))+"px "+-cg(u)+"px",threshold:lg(0,sg(1,l))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{o=new IntersectionObserver(h,{...f,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(h,f)}o.observe(e)}(!0),i}(u,n):null;let p,f=-1,m=null;a&&(m=new ResizeObserver((e=>{let[o]=e;o&&o.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),u&&!l&&m.observe(u),m.observe(t));let h=l?tv(e):null;return l&&function t(){const o=tv(e);!h||o.x===h.x&&o.y===h.y&&o.width===h.width&&o.height===h.height||n();h=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}const pv=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=gg(n),s=vg(n),l="y"===bg(n),u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=hg(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof m&&(f="end"===s?-1*m:m),l?{x:f*c,y:p*u}:{x:p*u,y:f*c}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},fv=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=hg(e,t),u={x:n,y:o},c=await Pg(t,l),d=bg(gg(r)),p=yg(d);let f=u[p],m=u[d];if(i){const e="y"===p?"bottom":"right";f=mg(f+c["y"===p?"top":"left"],f,f-c[e])}if(a){const e="y"===d?"bottom":"right";m=mg(m+c["y"===d?"top":"left"],m,m-c[e])}const h=s.fn({...t,[p]:f,[d]:m});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[p]:i,[d]:a}}}}}},mv=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=hg(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=gg(r),y=bg(s),A=gg(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(u.floating)),w=p||(A||!h?[Eg(s)]:function(e){const t=Eg(e);return[xg(e),t,xg(t)]}(s)),x="none"!==m;!p&&x&&w.push(...function(e,t,n,o){const r=vg(e);let i=function(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:a;default:return[]}}(gg(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(xg)))),i}(s,h,m,b));const E=[s,...w],k=await Pg(t,g),S=[];let C=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&S.push(k[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const o=vg(e),r=wg(e),i=Ag(r);let a="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Eg(a)),[a,Eg(a)]}(r,a,b);S.push(k[e[0]],k[e[1]])}if(C=[...C,{placement:r,overflows:S}],!S.every((e=>e<=0))){var P,I;const e=((null==(P=i.flip)?void 0:P.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(I=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:I.placement;if(!n)switch(f){case"bestFit":{var O;const e=null==(O=C.filter((e=>{if(x){const t=bg(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}},hv=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...u}=hg(e,t),c=await Pg(t,u),d=gg(r),p=vg(r),f="y"===bg(r),{width:m,height:h}=i.floating;let g,v;"top"===d||"bottom"===d?(g=d,v=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,g="end"===p?"top":"bottom");const y=h-c.top-c.bottom,A=m-c.left-c.right,b=sg(h-c[g],y),w=sg(m-c[v],A),x=!t.middlewareData.shift;let E=b,k=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=A),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(E=y),x&&!p){const e=lg(c.left,0),t=lg(c.right,0),n=lg(c.top,0),o=lg(c.bottom,0);f?k=m-2*(0!==e||0!==t?e+t:lg(c.left,c.right)):E=h-2*(0!==n||0!==o?n+o:lg(c.top,c.bottom))}await l({...t,availableWidth:k,availableHeight:E});const S=await a.getDimensions(s.floating);return m!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}},gv=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=hg(e,t);switch(o){case"referenceHidden":{const e=Ig(await Pg(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Og(e)}}}case"escaped":{const e=Ig(await Pg(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Og(e)}}}default:return{}}}}},vv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=hg(e,t)||{};if(null==u)return{};const d=kg(c),p={x:n,y:o},f=wg(r),m=Ag(f),h=await a.getDimensions(u),g="y"===f,v=g?"top":"left",y=g?"bottom":"right",A=g?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[f]-p[f]-i.floating[m],w=p[f]-i.reference[f],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let E=x?x[A]:0;E&&await(null==a.isElement?void 0:a.isElement(x))||(E=s.floating[A]||i.floating[m]);const k=b/2-w/2,S=E/2-h[m]/2-1,C=sg(d[v],S),P=sg(d[y],S),I=C,O=E-h[m]-P,D=E/2-h[m]/2+k,T=mg(I,D,O),N=!l.arrow&&null!=vg(r)&&D!==T&&i.reference[m]/2-(D<I?C:P)-h[m]/2<0,B=N?D<I?D-I:D-O:0;return{[f]:p[f]+B,data:{[f]:T,centerOffset:D-T-B,...N&&{alignmentOffset:B}},reset:N}}}),yv=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=hg(e,t),c={x:n,y:o},d=bg(r),p=yg(d);let f=c[p],m=c[d];const h=hg(s,t),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+g.mainAxis,n=i.reference[p]+i.reference[e]-g.mainAxis;f<t?f=t:f>n&&(f=n)}if(u){var v,y;const e="y"===p?"width":"height",t=["top","left"].includes(gg(r)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),o=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[p]:f,[d]:m}}}},Av=(e,t,n)=>{const o=new Map,r={platform:cv,...n},i={...r.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=Cg(u,o,l),p=o,f={},m=0;for(let n=0;n<s.length;n++){const{name:i,fn:h}=s[n],{x:g,y:v,data:y,reset:A}=await h({x:c,y:d,initialPlacement:o,placement:p,strategy:r,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,f={...f,[i]:{...f[i],...y}},A&&m<=50&&(m++,"object"==typeof A&&(A.placement&&(p=A.placement),A.rects&&(u=!0===A.rects?await a.getElementRects({reference:e,floating:t,strategy:r}):A.rects),({x:c,y:d}=Cg(u,p,l))),n=-1)}return{x:c,y:d,placement:p,strategy:r,middlewareData:f}})(e,t,{...r,platform:i})};var bv="undefined"!=typeof document?d:o;function wv(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(!wv(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;0!=o--;){const n=r[o];if(("_owner"!==n||!e.$$typeof)&&!wv(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function xv(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ev(e,t){const n=xv(e);return Math.round(t*n)/n}function kv(t){const n=e.useRef(t);return bv((()=>{n.current=t})),n}const Sv=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:o}="function"==typeof e?e(t):e;return n&&(r=n,{}.hasOwnProperty.call(r,"current"))?null!=n.current?vv({element:n.current,padding:o}).fn(t):{}:n?vv({element:n,padding:o}).fn(t):{};var r}}),Cv=(e,t)=>({...pv(e),options:[e,t]}),Pv=(e,t)=>({...fv(e),options:[e,t]}),Iv=(e,t)=>({...yv(e),options:[e,t]}),Ov=(e,t)=>({...mv(e),options:[e,t]}),Dv=(e,t)=>({...hv(e),options:[e,t]}),Tv=(e,t)=>({...gv(e),options:[e,t]}),Nv=(e,t)=>({...Sv(e),options:[e,t]});var Bv=e.forwardRef(((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return y(Q.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:y("polygon",{points:"0,0 30,0 15,10"})})}));Bv.displayName="Arrow";var Rv=Bv;function Mv(...t){const n=t[0];if(1===t.length)return n;const o=()=>{const o=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const r=o.reduce(((e,{useScope:n,scopeName:o})=>({...e,...n(t)[`__scope${o}`]})),{});return e.useMemo((()=>({[`__scope${n.scopeName}`]:r})),[r])}};return o.scopeName=n.scopeName,o}var Fv="Popper",[Vv,Lv]=function(t,n=[]){let o=[];const r=()=>{const n=o.map((t=>e.createContext(t)));return function(o){const r=o?.[t]||n;return e.useMemo((()=>({[`__scope${t}`]:{...o,[t]:r}})),[o,r])}};return r.scopeName=t,[function(n,r){const i=e.createContext(r),a=o.length;function s(n){const{scope:o,children:r,...s}=n,l=o?.[t][a]||i,u=e.useMemo((()=>s),Object.values(s));return y(l.Provider,{value:u,children:r})}return o=[...o,r],s.displayName=n+"Provider",[s,function(o,s){const l=s?.[t][a]||i,u=e.useContext(l);if(u)return u;if(void 0!==r)return r;throw new Error(`\`${o}\` must be used within \`${n}\``)}]},Mv(r,...n)]}(Fv),[_v,jv]=Vv(Fv),zv=t=>{const{__scopePopper:n,children:o}=t,[r,i]=e.useState(null);return y(_v,{scope:n,anchor:r,onAnchorChange:i,children:o})};zv.displayName=Fv;var Uv="PopperAnchor",Qv=e.forwardRef(((t,n)=>{const{__scopePopper:o,virtualRef:r,...i}=t,a=jv(Uv,o),s=e.useRef(null),l=B(n,s);return e.useEffect((()=>{a.onAnchorChange(r?.current||s.current)})),r?null:y(Q.div,{...i,ref:l})}));Qv.displayName=Uv;var Hv="PopperContent",[qv,Kv]=Vv(Hv),Wv=e.forwardRef(((t,n)=>{const{__scopePopper:o,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:h,...g}=t,v=jv(Hv,o),[A,b]=e.useState(null),x=B(n,(e=>b(e))),[E,k]=e.useState(null),S=Mt(E),C=S?.width??0,P=S?.height??0,I=r+("center"!==a?"-"+a:""),O="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},D=Array.isArray(c)?c:[c],T=D.length>0,N={padding:O,boundary:D.filter(Yv),altBoundary:T},{refs:R,floatingStyles:M,placement:F,isPositioned:V,middlewareData:L}=function(t){void 0===t&&(t={});const{placement:n="bottom",strategy:o="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=t,[d,p]=e.useState({x:0,y:0,strategy:o,placement:n,middlewareData:{},isPositioned:!1}),[f,m]=e.useState(r);wv(f,r)||m(r);const[h,g]=e.useState(null),[v,y]=e.useState(null),A=e.useCallback((e=>{e!==k.current&&(k.current=e,g(e))}),[]),b=e.useCallback((e=>{e!==S.current&&(S.current=e,y(e))}),[]),x=a||h,E=s||v,k=e.useRef(null),S=e.useRef(null),C=e.useRef(d),P=null!=u,I=kv(u),O=kv(i),D=kv(c),T=e.useCallback((()=>{if(!k.current||!S.current)return;const e={placement:n,strategy:o,middleware:f};O.current&&(e.platform=O.current),Av(k.current,S.current,e).then((e=>{const t={...e,isPositioned:!1!==D.current};N.current&&!wv(C.current,t)&&(C.current=t,w.flushSync((()=>{p(t)})))}))}),[f,n,o,O,D]);bv((()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[c]);const N=e.useRef(!1);bv((()=>(N.current=!0,()=>{N.current=!1})),[]),bv((()=>{if(x&&(k.current=x),E&&(S.current=E),x&&E){if(I.current)return I.current(x,E,T);T()}}),[x,E,T,I,P]);const B=e.useMemo((()=>({reference:k,floating:S,setReference:A,setFloating:b})),[A,b]),R=e.useMemo((()=>({reference:x,floating:E})),[x,E]),M=e.useMemo((()=>{const e={position:o,left:0,top:0};if(!R.floating)return e;const t=Ev(R.floating,d.x),n=Ev(R.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...xv(R.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:t,top:n}}),[o,l,R.floating,d.x,d.y]);return e.useMemo((()=>({...d,update:T,refs:B,elements:R,floatingStyles:M})),[d,T,B,R,M])}({strategy:"fixed",placement:I,whileElementsMounted:(...e)=>dv(...e,{animationFrame:"always"===m}),elements:{reference:v.anchor},middleware:[Cv({mainAxis:i+P,alignmentAxis:s}),u&&Pv({mainAxis:!0,crossAxis:!1,limiter:"partial"===p?Iv():void 0,...N}),u&&Ov({...N}),Dv({...N,apply:({elements:e,rects:t,availableWidth:n,availableHeight:o})=>{const{width:r,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${o}px`),a.setProperty("--radix-popper-anchor-width",`${r}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),E&&Nv({element:E,padding:l}),Jv({arrowWidth:C,arrowHeight:P}),f&&Tv({strategy:"referenceHidden",...N})]}),[_,j]=$v(F),U=z(h);H((()=>{V&&U?.()}),[V,U]);const q=L.arrow?.x,K=L.arrow?.y,W=0!==L.arrow?.centerOffset,[G,Z]=e.useState();return H((()=>{A&&Z(window.getComputedStyle(A).zIndex)}),[A]),y("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...M,transform:V?M.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:y(qv,{scope:o,placedSide:_,onArrowChange:k,arrowX:q,arrowY:K,shouldHideArrow:W,children:y(Q.div,{"data-side":_,"data-align":j,...g,ref:x,style:{...g.style,animation:V?void 0:"none"}})})})}));Wv.displayName=Hv;var Gv="PopperArrow",Zv={top:"bottom",right:"left",bottom:"top",left:"right"},Xv=e.forwardRef((function(e,t){const{__scopePopper:n,...o}=e,r=Kv(Gv,n),i=Zv[r.placedSide];return y("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:y(Rv,{...o,ref:t,style:{...o.style,display:"block"}})})}));function Yv(e){return null!==e}Xv.displayName=Gv;var Jv=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,i=0!==r.arrow?.centerOffset,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,u]=$v(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(r.arrow?.x??0)+a/2,p=(r.arrow?.y??0)+s/2;let f="",m="";return"bottom"===l?(f=i?c:`${d}px`,m=-s+"px"):"top"===l?(f=i?c:`${d}px`,m=`${o.floating.height+s}px`):"right"===l?(f=-s+"px",m=i?c:`${p}px`):"left"===l&&(f=`${o.floating.width+s}px`,m=i?c:`${p}px`),{data:{x:f,y:m}}}});function $v(e){const[t,n="center"]=e.split("-");return[t,n]}var ey=zv,ty=Qv,ny=Wv,oy=Xv,ry=e.forwardRef(((t,n)=>{const{container:o,...r}=t,[i,a]=e.useState(!1);H((()=>a(!0)),[]);const s=o||i&&globalThis?.document?.body;return s?x.createPortal(y(Q.div,{...r,ref:n}),s):null}));ry.displayName="Portal";var iy=new WeakMap,ay=new WeakMap,sy={},ly=0,uy=function(e){return e&&(e.host||uy(e.parentNode))},cy=function(e,t,n,o){var r=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=uy(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);sy[n]||(sy[n]=new WeakMap);var i=sy[n],a=[],s=new Set,l=new Set(r),u=function(e){e&&!s.has(e)&&(s.add(e),u(e.parentNode))};r.forEach(u);var c=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(o),r=null!==t&&"false"!==t,l=(iy.get(e)||0)+1,u=(i.get(e)||0)+1;iy.set(e,l),i.set(e,u),a.push(e),1===l&&r&&ay.set(e,!0),1===u&&e.setAttribute(n,"true"),r||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}}))};return c(t),s.clear(),ly++,function(){a.forEach((function(e){var t=iy.get(e)-1,r=i.get(e)-1;iy.set(e,t),i.set(e,r),t||(ay.has(e)||e.removeAttribute(o),ay.delete(e)),r||e.removeAttribute(n)})),--ly||(iy=new WeakMap,iy=new WeakMap,ay=new WeakMap,sy={})}},dy=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live]"))),cy(o,r,n,"aria-hidden")):function(){return null}},py="right-scroll-bar-position",fy="width-before-scroll-bar";function my(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var hy="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,gy=new WeakMap;function vy(e,t){var o,r,i,a=(o=null,r=function(t){return e.forEach((function(e){return my(e,t)}))},(i=n((function(){return{value:o,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}}))[0]).callback=r,i.facade);return hy((function(){var t=gy.get(a);if(t){var n=new Set(t),o=new Set(e),r=a.current;n.forEach((function(e){o.has(e)||my(e,null)})),o.forEach((function(e){n.has(e)||my(e,r)}))}gy.set(a,e)}),[e]),a}function yy(e){return e}var Ay=function(t){var n=t.sideCar,o=P(t,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return e.createElement(r,C({},o))};Ay.isSideCarExport=!0;var by=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=yy);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter((function(e){return e!==r}))}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=C({async:!0,ssr:!1},e),t}(),wy=function(){},xy=e.forwardRef((function(t,n){var o=e.useRef(null),r=e.useState({onScrollCapture:wy,onWheelCapture:wy,onTouchMoveCapture:wy}),i=r[0],a=r[1],s=t.forwardProps,l=t.children,u=t.className,c=t.removeScrollBar,d=t.enabled,p=t.shards,f=t.sideCar,m=t.noIsolation,h=t.inert,g=t.allowPinchZoom,v=t.as,y=void 0===v?"div":v,A=t.gapMode,b=P(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=f,x=vy([o,n]),E=C(C({},b),i);return e.createElement(e.Fragment,null,d&&e.createElement(w,{sideCar:by,removeScrollBar:c,shards:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:o,gapMode:A}),s?e.cloneElement(e.Children.only(l),C(C({},E),{ref:x})):e.createElement(y,C({},E,{className:u,ref:x}),l))}));xy.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xy.classNames={fullWidth:fy,zeroRight:py};function Ey(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var ky=function(){var e=0,t=null;return{add:function(n){var o,r;0==e&&(t=Ey())&&(r=n,(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Sy=function(){var t,n=(t=ky(),function(n,o){e.useEffect((function(){return t.add(n),function(){t.remove()}}),[n&&o])});return function(e){var t=e.styles,o=e.dynamic;return n(t,o),null}},Cy={left:0,top:0,right:0,gap:0},Py=function(e){return parseInt(e||"",10)||0},Iy=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Cy;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[Py(n),Py(o),Py(r)]}(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Oy=Sy(),Dy="data-scroll-locked",Ty=function(e,t,n,o){var r=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(s,"px ").concat(o,";\n }\n body[").concat(Dy,"] {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(py," {\n right: ").concat(s,"px ").concat(o,";\n }\n \n .").concat(fy," {\n margin-right: ").concat(s,"px ").concat(o,";\n }\n \n .").concat(py," .").concat(py," {\n right: 0 ").concat(o,";\n }\n \n .").concat(fy," .").concat(fy," {\n margin-right: 0 ").concat(o,";\n }\n \n body[").concat(Dy,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Ny=function(){var e=parseInt(document.body.getAttribute(Dy)||"0",10);return isFinite(e)?e:0},By=function(t){var n=t.noRelative,o=t.noImportant,r=t.gapMode,i=void 0===r?"margin":r;e.useEffect((function(){return document.body.setAttribute(Dy,(Ny()+1).toString()),function(){var e=Ny()-1;e<=0?document.body.removeAttribute(Dy):document.body.setAttribute(Dy,e.toString())}}),[]);var a=e.useMemo((function(){return Iy(i)}),[i]);return e.createElement(Oy,{styles:Ty(a,!n,i,o?"":"!important")})},Ry=!1;if("undefined"!=typeof window)try{var My=Object.defineProperty({},"passive",{get:function(){return Ry=!0,!0}});window.addEventListener("test",My,My),window.removeEventListener("test",My,My)}catch(e){Ry=!1}var Fy=!!Ry&&{passive:!1},Vy=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Ly=function(e,t){var n=t.ownerDocument,o=t;do{if("undefined"!=typeof ShadowRoot&&o instanceof ShadowRoot&&(o=o.host),_y(e,o)){var r=jy(e,o);if(r[1]>r[2])return!0}o=o.parentNode}while(o&&o!==n.body);return!1},_y=function(e,t){return"v"===e?function(e){return Vy(e,"overflowY")}(t):function(e){return Vy(e,"overflowX")}(t)},jy=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},zy=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uy=function(e){return[e.deltaX,e.deltaY]},Qy=function(e){return e&&"current"in e?e.current:e},Hy=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},qy=0,Ky=[];function Wy(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Gy,Zy=(Gy=function(t){var n=e.useRef([]),o=e.useRef([0,0]),r=e.useRef(),i=e.useState(qy++)[0],a=e.useState(Sy)[0],s=e.useRef(t);e.useEffect((function(){s.current=t}),[t]),e.useEffect((function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var e=I([t.lockRef.current],(t.shards||[]).map(Qy),!0).filter(Boolean);return e.forEach((function(e){return e.classList.add("allow-interactivity-".concat(i))})),function(){document.body.classList.remove("block-interactivity-".concat(i)),e.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(i))}))}}}),[t.inert,t.lockRef.current,t.shards]);var l=e.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var n,i=zy(e),a=o.current,l="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=Ly(d,c);if(!p)return!0;if(p?n=d:(n="v"===d?"h":"v",p=Ly(d,c)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=n),!n)return!0;var f=r.current||n;return function(e,t,n,o,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*o,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,p=0;do{var f=jy(e,s),m=f[0],h=f[1]-f[2]-i*m;(m||h)&&_y(e,s)&&(d+=h,p+=m),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return c&&(Math.abs(d)<1||!r)?u=!0:c||!(Math.abs(p)<1)&&r||(u=!0),u}(f,t,e,"h"===f?l:u,!0)}),[]),u=e.useCallback((function(e){var t=e;if(Ky.length&&Ky[Ky.length-1]===a){var o="deltaY"in t?Uy(t):zy(t),r=n.current.filter((function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&(n=e.delta,r=o,n[0]===r[0]&&n[1]===r[1]);var n,r}))[0];if(r&&r.should)t.cancelable&&t.preventDefault();else if(!r){var i=(s.current.shards||[]).map(Qy).filter(Boolean).filter((function(e){return e.contains(t.target)}));(i.length>0?l(t,i[0]):!s.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),c=e.useCallback((function(e,t,o,r){var i={name:e,delta:t,target:o,should:r,shadowParent:Wy(o)};n.current.push(i),setTimeout((function(){n.current=n.current.filter((function(e){return e!==i}))}),1)}),[]),d=e.useCallback((function(e){o.current=zy(e),r.current=void 0}),[]),p=e.useCallback((function(e){c(e.type,Uy(e),e.target,l(e,t.lockRef.current))}),[]),f=e.useCallback((function(e){c(e.type,zy(e),e.target,l(e,t.lockRef.current))}),[]);e.useEffect((function(){return Ky.push(a),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",u,Fy),document.addEventListener("touchmove",u,Fy),document.addEventListener("touchstart",d,Fy),function(){Ky=Ky.filter((function(e){return e!==a})),document.removeEventListener("wheel",u,Fy),document.removeEventListener("touchmove",u,Fy),document.removeEventListener("touchstart",d,Fy)}}),[]);var m=t.removeScrollBar,h=t.inert;return e.createElement(e.Fragment,null,h?e.createElement(a,{styles:Hy(i)}):null,m?e.createElement(By,{gapMode:t.gapMode}):null)},by.useMedium(Gy),Ay),Xy=e.forwardRef((function(t,n){return e.createElement(xy,C({},t,{ref:n,sideCar:Zy}))}));Xy.classNames=xy.classNames;var Yy="Popover",[Jy,$y]=O(Yy,[Lv]),eA=Lv(),[tA,nA]=Jy(Yy),oA=t=>{const{__scopePopover:n,children:o,open:r,defaultOpen:i,onOpenChange:a,modal:s=!1}=t,l=eA(n),u=e.useRef(null),[c,d]=e.useState(!1),[p=!1,f]=U({prop:r,defaultProp:i,onChange:a});return y(ey,{...l,children:y(tA,{scope:n,contentId:Z(),triggerRef:u,open:p,onOpenChange:f,onOpenToggle:e.useCallback((()=>f((e=>!e))),[f]),hasCustomAnchor:c,onCustomAnchorAdd:e.useCallback((()=>d(!0)),[]),onCustomAnchorRemove:e.useCallback((()=>d(!1)),[]),modal:s,children:o})})};oA.displayName=Yy;var rA="PopoverAnchor";e.forwardRef(((t,n)=>{const{__scopePopover:o,...r}=t,i=nA(rA,o),a=eA(o),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=i;return e.useEffect((()=>(s(),()=>l())),[s,l]),y(ty,{...a,...r,ref:n})})).displayName=rA;var iA="PopoverTrigger",aA=e.forwardRef(((e,t)=>{const{__scopePopover:n,...o}=e,r=nA(iA,n),i=eA(n),a=B(t,r.triggerRef),s=y(Q.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":AA(r.open),...o,ref:a,onClick:j(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?s:y(ty,{asChild:!0,...i,children:s})}));aA.displayName=iA;var sA="PopoverPortal",[lA,uA]=Jy(sA,{forceMount:void 0}),cA=e=>{const{__scopePopover:t,forceMount:n,children:o,container:r}=e,i=nA(sA,t);return y(lA,{scope:t,forceMount:n,children:y(q,{present:n||i.open,children:y(ry,{asChild:!0,container:r,children:o})})})};cA.displayName=sA;var dA="PopoverContent",pA=e.forwardRef(((e,t)=>{const n=uA(dA,e.__scopePopover),{forceMount:o=n.forceMount,...r}=e,i=nA(dA,e.__scopePopover);return y(q,{present:o||i.open,children:i.modal?y(fA,{...r,ref:t}):y(mA,{...r,ref:t})})}));pA.displayName=dA;var fA=e.forwardRef(((t,n)=>{const o=nA(dA,t.__scopePopover),r=e.useRef(null),i=B(n,r),a=e.useRef(!1);return e.useEffect((()=>{const e=r.current;if(e)return dy(e)}),[]),y(Xy,{as:R,allowPinchZoom:!0,children:y(hA,{...t,ref:i,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:j(t.onCloseAutoFocus,(e=>{e.preventDefault(),a.current||o.triggerRef.current?.focus()})),onPointerDownOutside:j(t.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;a.current=o}),{checkForDefaultPrevented:!1}),onFocusOutside:j(t.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})})})})),mA=e.forwardRef(((t,n)=>{const o=nA(dA,t.__scopePopover),r=e.useRef(!1),i=e.useRef(!1);return y(hA,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{t.onCloseAutoFocus?.(e),e.defaultPrevented||(r.current||o.triggerRef.current?.focus(),e.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:e=>{t.onInteractOutside?.(e),e.defaultPrevented||(r.current=!0,"pointerdown"===e.detail.originalEvent.type&&(i.current=!0));const n=e.target,a=o.triggerRef.current?.contains(n);a&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&i.current&&e.preventDefault()}})})),hA=e.forwardRef(((t,n)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:d,...p}=t,f=nA(dA,o),m=eA(o);return e.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Zh()),document.body.insertAdjacentElement("beforeend",e[1]??Zh()),Gh++,()=>{1===Gh&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),Gh--}}),[]),y($h,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:y(qh,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1),children:y(ny,{"data-state":AA(f.open),role:"dialog",id:f.contentId,...m,...p,ref:n,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})})),gA="PopoverClose",vA=e.forwardRef(((e,t)=>{const{__scopePopover:n,...o}=e,r=nA(gA,n);return y(Q.button,{type:"button",...o,ref:t,onClick:j(e.onClick,(()=>r.onOpenChange(!1)))})}));vA.displayName=gA;var yA=e.forwardRef(((e,t)=>{const{__scopePopover:n,...o}=e,r=eA(n);return y(oy,{...r,...o,ref:t})}));function AA(e){return e?"open":"closed"}yA.displayName="PopoverArrow";var bA=oA,wA=aA,xA=cA,EA=pA,kA=vA,SA=yA,CA="popover-module_popoverContent__PIQxs",PA="popover-module_popoverClose__B-VLf",IA="popover-module_popoverArrow__TR3-g";We(".popover-module_popoverContent__PIQxs {\n border-radius: 12px;\n padding: 20px;\n width: 260px;\n background-color: white;\n box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px;\n animation-duration: 400ms;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n will-change: transform, opacity;\n}\n\n.popover-module_popoverClose__B-VLf {\n all: unset;\n cursor: pointer;\n font-family: inherit;\n border-radius: 100%;\n height: 25px;\n width: 25px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 5px;\n right: 5px;\n}\n\n.popover-module_popoverArrow__TR3-g {\n fill: white;\n}\n");var OA={Content:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(xA,null,t.createElement(EA,C({className:CA},o),t.createElement("div",null,n),t.createElement(kA,{"aria-label":"Close",className:PA},t.createElement(ft,{icon:"close"})),t.createElement(SA,{className:IA})))},Root:function(e){return t.createElement(bA,C({},e))},Trigger:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(wA,C({asChild:!0},o),n)}},DA={container:"progress-indicator-module_container__Q5btZ","container--full-width":"progress-indicator-module_container--full-width__QEQ02","container--medium":"progress-indicator-module_container--medium__bGFSg","container--small":"progress-indicator-module_container--small__gj6-6",progress:"progress-indicator-module_progress__r9GtM","progress-bar":"progress-indicator-module_progress-bar__NKEuA",label:"progress-indicator-module_label__nASe1"};We(".progress-indicator-module_container__Q5btZ {\n}\n\n.progress-indicator-module_container--full-width__QEQ02 {\n width: 100%;\n}\n\n.progress-indicator-module_container--medium__bGFSg {\n width: 265px;\n}\n\n.progress-indicator-module_container--small__gj6-6 {\n width: 100px;\n}\n\n.progress-indicator-module_progress__r9GtM {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 0.25rem;\n background: var(--product-greyscale-0);\n border-radius: 0.125rem;\n}\n\n.progress-indicator-module_progress-bar__NKEuA {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n background: var(--product-success);\n border-radius: 0.125rem;\n}\n\n.progress-indicator-module_label__nASe1 {\n margin-top: var(--product-spacing-1);\n}\n");var TA=function(e){var n=e.current,o=void 0===n?1:n,r=e.label,i=e.max,a=void 0===i?10:i,s=e.size,l=void 0===s?"full-width":s;return t.createElement("div",{className:Ke(DA.container,l&&DA["container--".concat(l)])},t.createElement("div",{className:DA.progress},t.createElement("div",{className:DA["progress-bar"],style:{width:"".concat(o/a*100,"%")}})),r&&t.createElement(ht,{className:DA.label,variant:"tag"},r),t.createElement(ht,{className:"sr-only"},"Step ",o," of ",a))};function NA(...t){const n=t[0];if(1===t.length)return n;const o=()=>{const o=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const r=o.reduce(((e,{useScope:n,scopeName:o})=>({...e,...n(t)[`__scope${o}`]})),{});return e.useMemo((()=>({[`__scope${n.scopeName}`]:r})),[r])}};return o.scopeName=n.scopeName,o}var BA="rovingFocusGroup.onEntryFocus",RA={bubbles:!1,cancelable:!0},MA="RovingFocusGroup",[FA,VA,LA]=_(MA),[_A,jA]=function(t,n=[]){let o=[];const r=()=>{const n=o.map((t=>e.createContext(t)));return function(o){const r=o?.[t]||n;return e.useMemo((()=>({[`__scope${t}`]:{...o,[t]:r}})),[o,r])}};return r.scopeName=t,[function(n,r){const i=e.createContext(r),a=o.length;function s(n){const{scope:o,children:r,...s}=n,l=o?.[t][a]||i,u=e.useMemo((()=>s),Object.values(s));return y(l.Provider,{value:u,children:r})}return o=[...o,r],s.displayName=n+"Provider",[s,function(o,s){const l=s?.[t][a]||i,u=e.useContext(l);if(u)return u;if(void 0!==r)return r;throw new Error(`\`${o}\` must be used within \`${n}\``)}]},NA(r,...n)]}(MA,[LA]),[zA,UA]=_A(MA),QA=e.forwardRef(((e,t)=>y(FA.Provider,{scope:e.__scopeRovingFocusGroup,children:y(FA.Slot,{scope:e.__scopeRovingFocusGroup,children:y(HA,{...e,ref:t})})})));QA.displayName=MA;var HA=e.forwardRef(((t,n)=>{const{__scopeRovingFocusGroup:o,orientation:r,loop:i=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:d=!1,...p}=t,f=e.useRef(null),m=B(n,f),h=pe(a),[g=null,v]=U({prop:s,defaultProp:l,onChange:u}),[A,b]=e.useState(!1),w=z(c),x=VA(o),E=e.useRef(!1),[k,S]=e.useState(0);return e.useEffect((()=>{const e=f.current;if(e)return e.addEventListener(BA,w),()=>e.removeEventListener(BA,w)}),[w]),y(zA,{scope:o,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:e.useCallback((e=>v(e)),[v]),onItemShiftTab:e.useCallback((()=>b(!0)),[]),onFocusableItemAdd:e.useCallback((()=>S((e=>e+1))),[]),onFocusableItemRemove:e.useCallback((()=>S((e=>e-1))),[]),children:y(Q.div,{tabIndex:A||0===k?-1:0,"data-orientation":r,...p,ref:m,style:{outline:"none",...t.style},onMouseDown:j(t.onMouseDown,(()=>{E.current=!0})),onFocus:j(t.onFocus,(e=>{const t=!E.current;if(e.target===e.currentTarget&&t&&!A){const t=new CustomEvent(BA,RA);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=x().filter((e=>e.focusable));GA([e.find((e=>e.active)),e.find((e=>e.id===g)),...e].filter(Boolean).map((e=>e.ref.current)),d)}}E.current=!1})),onBlur:j(t.onBlur,(()=>b(!1)))})})})),qA="RovingFocusGroupItem",KA=e.forwardRef(((t,n)=>{const{__scopeRovingFocusGroup:o,focusable:r=!0,active:i=!1,tabStopId:a,...s}=t,l=Z(),u=a||l,c=UA(qA,o),d=c.currentTabStopId===u,p=VA(o),{onFocusableItemAdd:f,onFocusableItemRemove:m}=c;return e.useEffect((()=>{if(r)return f(),()=>m()}),[r,f,m]),y(FA.ItemSlot,{scope:o,id:u,focusable:r,active:i,children:y(Q.span,{tabIndex:d?0:-1,"data-orientation":c.orientation,...s,ref:n,onMouseDown:j(t.onMouseDown,(e=>{r?c.onItemFocus(u):e.preventDefault()})),onFocus:j(t.onFocus,(()=>c.onItemFocus(u))),onKeyDown:j(t.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const o=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(o)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)?void 0:WA[o]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=p().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();const i=r.indexOf(e.currentTarget);r=c.loop?(o=i+1,(n=r).map(((e,t)=>n[(o+t)%n.length]))):r.slice(i+1)}setTimeout((()=>GA(r)))}var n,o}))})})}));KA.displayName=qA;var WA={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function GA(e,t=!1){const n=document.activeElement;for(const o of e){if(o===n)return;if(o.focus({preventScroll:t}),document.activeElement!==n)return}}var ZA=QA,XA=KA,YA="Radio",[JA,$A]=O(YA),[eb,tb]=JA(YA),nb=e.forwardRef(((t,n)=>{const{__scopeRadio:o,name:r,checked:i=!1,required:a,disabled:s,value:l="on",onCheck:u,form:c,...d}=t,[p,f]=e.useState(null),m=B(n,(e=>f(e))),h=e.useRef(!1),g=!p||(c||!!p.closest("form"));return b(eb,{scope:o,checked:i,disabled:s,children:[y(Q.button,{type:"button",role:"radio","aria-checked":i,"data-state":ab(i),"data-disabled":s?"":void 0,disabled:s,value:l,...d,ref:m,onClick:j(t.onClick,(e=>{i||u?.(),g&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())}))}),g&&y(ib,{control:p,bubbles:!h.current,name:r,value:l,checked:i,required:a,disabled:s,form:c,style:{transform:"translateX(-100%)"}})]})}));nb.displayName=YA;var ob="RadioIndicator",rb=e.forwardRef(((e,t)=>{const{__scopeRadio:n,forceMount:o,...r}=e,i=tb(ob,n);return y(q,{present:o||i.checked,children:y(Q.span,{"data-state":ab(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:t})})}));rb.displayName=ob;var ib=t=>{const{control:n,checked:o,bubbles:r=!0,...i}=t,a=e.useRef(null),s=Rt(o),l=Mt(n);return e.useEffect((()=>{const e=a.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set;if(s!==o&&n){const t=new Event("click",{bubbles:r});n.call(e,o),e.dispatchEvent(t)}}),[s,o,r]),y("input",{type:"radio","aria-hidden":!0,defaultChecked:o,...i,tabIndex:-1,ref:a,style:{...t.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function ab(e){return e?"checked":"unchecked"}var sb=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],lb="RadioGroup",[ub,cb]=O(lb,[jA,$A]),db=jA(),pb=$A(),[fb,mb]=ub(lb),hb=e.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,name:o,defaultValue:r,value:i,required:a=!1,disabled:s=!1,orientation:l,dir:u,loop:c=!0,onValueChange:d,...p}=e,f=db(n),m=pe(u),[h,g]=U({prop:i,defaultProp:r,onChange:d});return y(fb,{scope:n,name:o,required:a,disabled:s,value:h,onValueChange:g,children:y(ZA,{asChild:!0,...f,orientation:l,dir:m,loop:c,children:y(Q.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":s?"":void 0,dir:m,...p,ref:t})})})}));hb.displayName=lb;var gb="RadioGroupItem",vb=e.forwardRef(((t,n)=>{const{__scopeRadioGroup:o,disabled:r,...i}=t,a=mb(gb,o),s=a.disabled||r,l=db(o),u=pb(o),c=e.useRef(null),d=B(n,c),p=a.value===i.value,f=e.useRef(!1);return e.useEffect((()=>{const e=e=>{sb.includes(e.key)&&(f.current=!0)},t=()=>f.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}}),[]),y(XA,{asChild:!0,...l,focusable:!s,active:p,children:y(nb,{disabled:s,required:a.required,checked:p,...u,...i,name:a.name,ref:d,onCheck:()=>a.onValueChange(i.value),onKeyDown:j((e=>{"Enter"===e.key&&e.preventDefault()})),onFocus:j(i.onFocus,(()=>{f.current&&c.current?.click()}))})})}));vb.displayName=gb;var yb=e.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,...o}=e,r=pb(n);return y(rb,{...r,...o,ref:t})}));yb.displayName="RadioGroupIndicator";var Ab=hb,bb=vb,wb=yb,xb={legend:"radioGroup-module_legend__W5JW2","radio-root":"radioGroup-module_radio-root__neUc4","radio-root--horizontal":"radioGroup-module_radio-root--horizontal__M3cUz","radio-root--vertical":"radioGroup-module_radio-root--vertical__4Fc9i","radio-root--error":"radioGroup-module_radio-root--error__ScELD","radio-root-label--error":"radioGroup-module_radio-root-label--error__PrwOr","radio-item":"radioGroup-module_radio-item__zw2CV","radio-indicator":"radioGroup-module_radio-indicator__wJEwS","radio-root--disabled":"radioGroup-module_radio-root--disabled__E1zvJ",circle:"radioGroup-module_circle__yJl7K","radio-circle-container":"radioGroup-module_radio-circle-container__VTvrD"};We(".radioGroup-module_legend__W5JW2 {\n margin-bottom: var(--product-spacing-3);\n}\n\n.radioGroup-module_radio-root__neUc4 {\n display: flex;\n gap: var(--product-spacing-2);\n}\n\n.radioGroup-module_radio-root--horizontal__M3cUz {\n flex-direction: row;\n}\n\n.radioGroup-module_radio-root--vertical__4Fc9i {\n flex-direction: column;\n}\n\n.radioGroup-module_radio-root--error__ScELD {\n border: var(--product-border-width-1) solid var(--product-error);\n border-radius: var(--product-radius-2);\n}\n\n.radioGroup-module_radio-root-label--error__PrwOr {\n color: var(--product-error);\n padding-top: 0.5rem;\n padding-left: 1.5rem;\n margin-bottom: 1rem;\n}\n\n.radioGroup-module_radio-item__zw2CV {\n all: unset;\n position: relative;\n background-color: white;\n border-radius: var(--product-radius-2);\n padding: var(--product-spacing-5) var(--product-spacing-4);\n width: 25%;\n cursor: pointer;\n min-width: 1.5rem;\n min-height: 1.5rem;\n}\n\n.radioGroup-module_radio-item__zw2CV p {\n padding-right: 1.75rem;\n}\n\n.radioGroup-module_radio-item__zw2CV:focus {\n outline: 2px solid var(--product-focus);\n}\n\n/* ! The Circle */\n.radioGroup-module_radio-item__zw2CV::after {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n content: '';\n display: block;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n border: 2px solid black;\n right: calc(var(--product-spacing-4));\n}\n\n/* ! The dot inside the circle */\n.radioGroup-module_radio-indicator__wJEwS::after {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n content: '';\n width: 0.75rem;\n height: 0.75rem;\n border-radius: 50%;\n right: calc(var(--product-spacing-4) + 0.5rem);\n background-color: var(--product-greyscale-100);\n}\n\n.radioGroup-module_radio-root--disabled__E1zvJ .radioGroup-module_radio-item__zw2CV {\n background-color: var(--product-greyscale-20);\n color: var(--product-greyscale-40);\n cursor: not-allowed;\n}\n\n.radioGroup-module_radio-root--disabled__E1zvJ .radioGroup-module_radio-item__zw2CV::after {\n border-color: var(--product-greyscale-40);\n}\n\n.radioGroup-module_radio-root--disabled__E1zvJ .radioGroup-module_radio-indicator__wJEwS::after {\n background-color: var(--product-greyscale-40);\n}\n\n/* Make the first and last radio have rounded corners pointing to each other */\n\n.radioGroup-module_radio-item__zw2CV:first-child {\n border-top-right-radius: var(--product-radius-half);\n border-bottom-right-radius: var(--product-radius-half);\n}\n\n.radioGroup-module_radio-item__zw2CV:not(:first-child) {\n border-top-left-radius: var(--product-radius-half);\n border-bottom-left-radius: var(--product-radius-half);\n}\n\n/* Circle variant */\n\n.radioGroup-module_circle__yJl7K.radioGroup-module_radio-root__neUc4 {\n display: flex;\n flex-direction: column;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV {\n background: none;\n padding: 0;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:hover::after {\n background: var(--product-greyscale-20);\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:focus {\n outline: none;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:focus-visible {\n position: relative;\n outline: 2px solid var(--product-focus);\n outline-offset: 3px;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV::after {\n left: -2px;\n right: auto;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-indicator__wJEwS::after {\n left: calc(0.5rem - 2px);\n right: auto;\n z-index: 2;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:disabled::after {\n border-color: var(--product-greyscale-60);\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:disabled:hover::after {\n background: transparent;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:disabled ~ p {\n color: var(--product-greyscale-60);\n}\n\n.radioGroup-module_radio-circle-container__VTvrD {\n display: flex;\n gap: 0.75rem;\n}\n\n@media (min-width: 768px) {\n .radioGroup-module_radio-item__zw2CV {\n padding: var(--product-spacing-6);\n }\n\n .radioGroup-module_radio-root__neUc4 {\n gap: var(--product-spacing-2);\n }\n\n .radioGroup-module_radio-item__zw2CV::after {\n right: var(--product-spacing-6);\n }\n\n .radioGroup-module_radio-indicator__wJEwS::after {\n right: calc(var(--product-spacing-6) + 0.5rem);\n }\n}\n");var Eb=function(e){var n=e.className,o=P(e,["className"]);return t.createElement(wb,C({className:Ke(n,xb["radio-indicator"])},o))},kb={Indicator:Eb,Item:function(e){var n=e.children,o=e.className,r=e.variant,i=P(e,["children","className","variant"]);return"circle"===r?t.createElement("div",{className:xb["radio-circle-container"]},t.createElement(bb,C({className:Ke(o,xb["radio-item"])},i),t.createElement(Eb,null)),t.createElement(ht,{variant:"form-input-normal"},n)):t.createElement(bb,C({className:Ke(o,xb["radio-item"])},i),t.createElement(ht,{variant:"form-input-normal"},n))},Root:function(e){var n=e.children,o=e.className,r=e.disabled,i=e.label,a=e.name,s=e.variant,l=P(e,["children","className","disabled","label","name","variant"]),u=E(),c=u.control,d=u.formState.errors,p=void 0===d?{}:d,f=p&&p[a];return t.createElement(k,{control:c,name:a,render:function(e){var a=e.field,u=a.onChange,c=P(a,["onChange"]);return t.createElement("fieldset",null,t.createElement(ht,{as:"legend",className:xb.legend,variant:"form-input-normal"},i),t.createElement(Ab,C({className:Ke(o,s&&xb[s],xb["radio-root"],f&&xb["radio-root--error"],r&&xb["radio-root--disabled"]),disabled:r,onValueChange:u},l,c,{"aria-required":void 0}),n),f&&t.createElement("p",{className:xb["radio-root-label--error"]},null==f?void 0:f.message))}})}},Sb="range-module_container__ajA6j",Cb="range-module_range-container__jdaY9",Pb="range-module_slider__wO6mF",Ib="range-module_notches__F4sLq",Ob="range-module_notch__5XVJI",Db="range-module_progress__99Nu5",Tb="range-module_value-container__jOc3H";We(".range-module_container__ajA6j {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n background: var(--product-greyscale-0);\n padding: var(--product-spacing-6);\n border-radius: var(--product-radius-2);\n}\n\n.range-module_container__ajA6j > div {\n width: 70%;\n}\n\n.range-module_container__ajA6j > p {\n width: 30%;\n text-align: center;\n}\n\n.range-module_range-container__jdaY9 {\n position: relative;\n width: 100%;\n height: 24px;\n background: var(--product-greyscale-0);\n}\n\n/* The slider itself */\n.range-module_slider__wO6mF {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%; /* Full-width */\n height: 24px; /* Specified height */\n background: var(--product-greyscale-10); /* Grey background */\n outline: none; /* Remove outline */\n border-radius: var(--product-radius-2);\n accent-color: var(--product-light-blue-80);\n}\n\n/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */\n.range-module_slider__wO6mF::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n position: relative;\n width: 16px; /* Set a specific slider handle width */\n height: 16px; /* Slider handle height */\n background: black; /* Green background */\n cursor: pointer; /* Cursor on hover */\n border-radius: 9999px;\n outline: 1px solid black;\n border: 3px solid white;\n}\n\n.range-module_slider__wO6mF::-moz-range-thumb {\n position: relative;\n width: 16px; /* Set a specific slider handle width */\n height: 16px; /* Slider handle height */\n background: black; /* Green background */\n cursor: pointer; /* Cursor on hover */\n border-radius: 9999px;\n outline: 1px solid black;\n border: 3px solid white;\n}\n\n.range-module_notches__F4sLq {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n pointer-events: none;\n}\n\n.range-module_notch__5XVJI {\n position: absolute;\n width: 5px;\n height: 5px;\n border-radius: 9999px;\n background-color: var(--product-greyscale-60);\n opacity: 0.1;\n}\n\n.range-module_progress__99Nu5 {\n position: absolute;\n height: 100%;\n background: var(--product-light-blue-80);\n pointer-events: none;\n border-radius: var(--product-radius-2);\n}\n\n.range-module_value-container__jOc3H {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n}\n");var Nb=function(e,t,n){return(t-e)/n},Bb=function(e){var n=e.error,o=e.field,r=e.helper,i=e.id,a=e.label,s=e.max,l=void 0===s?1e3:s,u=e.min,c=void 0===u?0:u,d=e.name,p=e.step,f=void 0===p?100:p,m=o.value,h=(m-c)/(l-c)*100;return t.createElement(Up,{error:null==n?void 0:n.message,helper:null==r?void 0:r.message,id:i,label:a},t.createElement("div",{className:Sb},t.createElement("div",{className:Cb},t.createElement("div",{className:Ib},Array.from({length:Nb(c,l,f)}).map((function(e,n){return t.createElement("div",{className:Ob,key:"notch-".concat(n),style:{left:"".concat(n/Nb(c,l,f)*100,"%")}})}))),t.createElement("div",{className:Db,style:{width:"calc(".concat(h||0,"%)")}}),t.createElement("input",C({className:Pb,id:"".concat(d,"-range"),max:l,min:c,step:f,type:"range"},o))),t.createElement(ht,{className:Tb,variant:"content-title-semi-bold"},"£",m)))},Rb=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Bb,C({},s,{field:C({},n)}))}})},Mb="select-module_container__U4BrV",Fb="select-module_input__3CwCK",Vb="select-module_icon__jZoEd",Lb="select-module_input--error__sOEBq",_b="select-module_input--missing__CjrkZ",jb="select-module_input--has-value__gGlN7",zb="select-module_input--placeholder-visible__xUxNC",Ub="select-module_select-label__U0xnf",Qb="select-module_select-label--with-value__CJmTr",Hb="select-module_error-message__vVcNa",qb="select-module_helper-message__lU-8Q",Kb="select-module_input--disabled__nCJZ8",Wb="select-module_icon--disabled__9RkzW";We(".select-module_container__U4BrV {\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.select-module_input__3CwCK {\n all: unset;\n cursor: pointer;\n font-size: var(--product-font-form-input-desktop-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n background: var(--product-greyscale-0);\n border-radius: var(--product-radius-2);\n border: none;\n border: 1px solid transparent;\n padding: 1.25rem 3.87rem 1.25rem 1rem;\n}\n\n.select-module_input__3CwCK:hover {\n border: 1px solid var(--product-greyscale-20);\n}\n\n.select-module_icon__jZoEd {\n position: absolute;\n right: var(--product-spacing-6);\n top: 50%;\n transform: translateY(-50%);\n pointer-events: none;\n}\n\n.select-module_input__3CwCK:active {\n border: 1px solid transparent;\n outline: var(--product-border-width-1) solid var(--product-greyscale-20);\n}\n\n.select-module_input__3CwCK:focus {\n border: var(--product-border-width-1) solid rgba(var(--primary-dark-rgb));\n}\n\n.select-module_input--error__sOEBq {\n border: var(--product-border-width-1) solid var(--product-error);\n color: var(--product-error);\n}\n\n\n.select-module_input--missing__CjrkZ {\n border: var(--product-border-width-1) solid var(--product-yellow);\n}\n\n.select-module_input--missing__CjrkZ:focus,\n.select-module_input--missing__CjrkZ:hover {\n border: var(--product-border-width-1) solid var(--product-yellow);\n}\n\n.select-module_input--has-value__gGlN7 {\n padding-top: 1.88rem;\n padding-left: 1rem;\n padding-right: 0.62rem;\n padding-bottom: 0.62rem;\n}\n\n.select-module_input--placeholder-visible__xUxNC {\n color: #0000;\n}\n\n.select-module_select-label__U0xnf {\n inset: 0;\n position: absolute;\n display: flex;\n align-items: center;\n color: var(--product-greyscale-60);\n pointer-events: none;\n padding: 1.25rem 3.87rem 1.25rem 1rem;\n}\n\n.select-module_select-label--with-value__CJmTr {\n color: var(--product-greyscale-40);\n}\n\n.select-module_error-message__vVcNa {\n display: inline-block;\n padding-top: var(--product-spacing-2);\n padding-left: var(--product-spacing-6);\n color: var(--product-error);\n}\n\n.select-module_helper-message__lU-8Q {\n display: inline-block;\n padding-top: var(--product-spacing-2);\n padding-left: var(--product-spacing-6);\n}\n\n.select-module_input--disabled__nCJZ8 {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-40);\n border: none;\n pointer-events: none;\n}\n\n.select-module_icon--disabled__9RkzW {\n color: var(--product-greyscale-20);\n}\n\n\n@media screen and (min-width: 768px) {\n .select-module_input__3CwCK, .select-module_select-label__U0xnf {\n padding-left: 1.5rem;\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n padding-right: 1.5rem;\n }\n\n .select-module_select-label__U0xnf {\n\n }\n\n .select-module_input--has-value__gGlN7 {\n padding-top: 2.25rem;\n padding-left: 1.5rem;\n padding-bottom: 0.75rem;\n padding-right: 1.5rem;\n\n }\n}\n");var Gb={noValue:{fontSize:"1.25rem",top:0},value:{fontSize:"1rem",fontWeight:"600",top:"-1.25rem"}},Zb=function(e){var n=e.children,o=e.disabled,r=e.error,i=e.field,a=e.helper,s=e.id,l=e.items,u=e.label,c=e.missing,d=e.placeholder,p="placeholder"===i.value;return t.createElement("div",null,t.createElement("div",{className:Mb},t.createElement(ht,{animate:p?"noValue":"value",as:Pp.p,className:Ke("select-label-".concat(s),Ub,!p&&Qb),id:"".concat(s,"-label"),initial:{fontSize:"1.25rem"},variant:"form-input-normal",variants:Gb},u),t.createElement("svg",{className:Ke(Vb,o&&Wb),fill:"none",height:"7",viewBox:"0 0 12 7",width:"12",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M5.9998 6.9499C5.86647 6.9499 5.74147 6.92907 5.6248 6.8874C5.50814 6.84574 5.3998 6.7749 5.2998 6.6749L0.699805 2.0749C0.516471 1.89157 0.424805 1.65824 0.424805 1.3749C0.424805 1.09157 0.516471 0.858236 0.699805 0.674902C0.883138 0.491569 1.11647 0.399902 1.3998 0.399902C1.68314 0.399902 1.91647 0.491569 2.0998 0.674902L5.9998 4.5749L9.89981 0.674902C10.0831 0.491569 10.3165 0.399902 10.5998 0.399902C10.8831 0.399902 11.1165 0.491569 11.2998 0.674902C11.4831 0.858236 11.5748 1.09157 11.5748 1.3749C11.5748 1.65824 11.4831 1.89157 11.2998 2.0749L6.6998 6.6749C6.5998 6.7749 6.49147 6.84574 6.3748 6.8874C6.25814 6.92907 6.13314 6.9499 5.9998 6.9499Z",fill:"black"})),t.createElement("select",C({"aria-labelledby":"select-label-".concat(s),className:Ke(Fb,(null==r?void 0:r.message)&&Lb,o&&Kb,c&&_b,p&&zb,!p&&jb)},i),!n&&d&&t.createElement("option",{value:"placeholder"},d),n,l&&l.map((function(e){return t.createElement("option",C({key:e.id,value:e.id},e.props),e.title)})))),(null==a?void 0:a.message)&&t.createElement(ht,{as:"span",className:qb,variant:"form-helper"},a.message),(null==r?void 0:r.message)&&t.createElement(ht,{as:"p",className:Hb,variant:"form-helper"},r.message))},Xb=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Zb,C({},s,{field:C({},n)}))}})},Yb="skeleton-module_skeleton__ws0BG";We("@keyframes skeleton-module_place-holder-shimmer__NCfI5 {\n from {\n background-position: -1000px 0;\n }\n\n to {\n background-position: 1000px 0;\n }\n}\n\n.skeleton-module_skeleton__ws0BG {\n display: block;\n animation-duration: 2s;\n animation-fill-mode: backwards;\n animation-iteration-count: infinite;\n animation-name: skeleton-module_place-holder-shimmer__NCfI5;\n animation-timing-function: linear;\n background-color: var(--greyscale-0);\n background-image: linear-gradient(\n to right,\n var(--greyscale-0) 10%,\n rgba(172, 197, 213, 0.5) 40%,\n var(--greyscale-0) 60%\n );\n background-repeat: no-repeat;\n background-size: 1000px 100%;\n}\n");var Jb=function(e){var n=e.height,o=void 0===n?"50px":n,r=e.rounded,i=e.width,a=void 0===i?"100%":i;return t.createElement("div",{className:Yb,style:{borderRadius:r?"9999px":"0",height:o,width:a}})},$b="table-module_table__OGgJX";We('.table-module_table__OGgJX {\n border: 1px solid;\n padding: 1rem;\n margin-bottom: 2rem;\n width: 100%;\n text-align: left;\n}\n\n.table-module_table__OGgJX td {\n padding: 1rem;\n}\n\n.table-module_table__OGgJX td:first-child {\n min-width: 125px;\n}\n\n.table-module_table__OGgJX th {\n padding: 1rem;\n}\n\n.table-module_table__OGgJX thead {\n position: relative;\n}\n\n.table-module_table__OGgJX thead::after {\n position: absolute;\n content: "";\n width: 100%;\n height: 1px;\n background: var(--greyscale-100);\n}\n\n.table-module_table__OGgJX tbody > tr:last-child {\n border-bottom: none;\n margin-bottom: 0;\n}\n\n@media (min-width: 768px) {\n .table-module_table__OGgJX tr {\n padding: 2rem;\n }\n}\n\n@media (min-width: 1280px) {\n .table-module_table__OGgJX {\n padding: 1rem;\n margin-bottom: 3rem;\n }\n}\n');var ew=function(e){var n=e.children;return t.createElement("table",{className:$b},n)},tw=function(e){var n=e.children;return t.createElement("th",null,n)},nw=function(e){var n=e.children;return t.createElement("thead",null,n)},ow=function(e){var n=e.children;return t.createElement("tbody",null,n)},rw=function(e){var n=e.children;return t.createElement("tr",null,n)},iw=function(e){var n=e.children;return t.createElement("td",null,n)},aw=function(e){var n=e.children;return t.createElement("tfoot",null,n)},sw={Body:ow,Data:iw,Footer:aw,Head:tw,Header:nw,Root:ew,Row:rw},lw="Tabs",[uw,cw]=O(lw,[jA]),dw=jA(),[pw,fw]=uw(lw),mw=e.forwardRef(((e,t)=>{const{__scopeTabs:n,value:o,onValueChange:r,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=pe(s),[d,p]=U({prop:o,onChange:r,defaultProp:i});return y(pw,{scope:n,baseId:Z(),value:d,onValueChange:p,orientation:a,dir:c,activationMode:l,children:y(Q.div,{dir:c,"data-orientation":a,...u,ref:t})})}));mw.displayName=lw;var hw="TabsList",gw=e.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:o=!0,...r}=e,i=fw(hw,n),a=dw(n);return y(ZA,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:o,children:y(Q.div,{role:"tablist","aria-orientation":i.orientation,...r,ref:t})})}));gw.displayName=hw;var vw="TabsTrigger",yw=e.forwardRef(((e,t)=>{const{__scopeTabs:n,value:o,disabled:r=!1,...i}=e,a=fw(vw,n),s=dw(n),l=ww(a.baseId,o),u=xw(a.baseId,o),c=o===a.value;return y(XA,{asChild:!0,...s,focusable:!r,active:c,children:y(Q.button,{type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...i,ref:t,onMouseDown:j(e.onMouseDown,(e=>{r||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(o)})),onKeyDown:j(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&a.onValueChange(o)})),onFocus:j(e.onFocus,(()=>{const e="manual"!==a.activationMode;c||r||!e||a.onValueChange(o)}))})})}));yw.displayName=vw;var Aw="TabsContent",bw=e.forwardRef(((t,n)=>{const{__scopeTabs:o,value:r,forceMount:i,children:a,...s}=t,l=fw(Aw,o),u=ww(l.baseId,r),c=xw(l.baseId,r),d=r===l.value,p=e.useRef(d);return e.useEffect((()=>{const e=requestAnimationFrame((()=>p.current=!1));return()=>cancelAnimationFrame(e)}),[]),y(q,{present:i||d,children:({present:e})=>y(Q.div,{"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":u,hidden:!e,id:c,tabIndex:0,...s,ref:n,style:{...t.style,animationDuration:p.current?"0s":void 0},children:e&&a})})}));function ww(e,t){return`${e}-trigger-${t}`}function xw(e,t){return`${e}-content-${t}`}bw.displayName=Aw;var Ew=mw,kw=gw,Sw=yw,Cw=bw,Pw={Content:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(Cw,C({},o),n)},List:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(kw,C({},o)," ",n," ")},Root:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(Ew,C({},o),n)},Trigger:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(Sw,C({asChild:!0},o),n)}},Iw={tag:"tag-module_tag__04JA1",primary:"tag-module_primary__0LcgD",secondary:"tag-module_secondary__nNa-v",tertiary:"tag-module_tertiary__i580l",positive:"tag-module_positive__A6gYr",warning:"tag-module_warning__n-gPV",danger:"tag-module_danger__zY8uP",night:"tag-module_night__TNfyq","with-icon":"tag-module_with-icon__ByDLB","circular-icon":"tag-module_circular-icon__05IvA"};We(".tag-module_tag__04JA1 {\n display: flex;\n place-items: center;\n gap: 0.25rem;\n padding: 0.625rem 0.75rem;\n border-radius: 9999px;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n/* Variants */\n\n.tag-module_primary__0LcgD {\n background: var(--product-info);\n color: var(--product-greyscale-0);\n}\n\n.tag-module_secondary__nNa-v {\n background: var(--primary-trust-blue-20);\n color: var(--primary-trust-blue-100);\n}\n\n.tag-module_tertiary__i580l {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-80);\n}\n\n.tag-module_positive__A6gYr {\n background: var(--product-success);\n color: var(--product-greyscale-0);\n}\n\n.tag-module_warning__n-gPV {\n background: var(--product-yellow-20);\n color: var(--product-greyscale-100);\n}\n\n.tag-module_danger__zY8uP {\n background: var(--product-error);\n color: var(--product-greyscale-0);\n}\n\n.tag-module_night__TNfyq {\n background: transparent;\n border: 1px solid var(--product-greyscale-0);\n color: var(--product-greyscale-0);\n}\n\n/* END Variants */\n\n/* Modifiers */\n\n.tag-module_with-icon__ByDLB {\n padding: 0.625rem 0.75rem 0.625rem 0.5rem;\n}\n\n.tag-module_circular-icon__05IvA {\n padding: 0.625rem 0.75rem 0.625rem 0.25rem;\n}\n");var Ow={Content:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(ht,C({variant:"tag"},o),n)},Icon:ft,Root:function(e){var n=e.children,o=e.circularIcon,r=e.className,i=e.icon,a=e.variant,s=void 0===a?"primary":a,l=P(e,["children","circularIcon","className","icon","variant"]);return t.createElement("div",C({className:Ke(r,Iw.tag,Iw[s],i&&Iw["with-icon"],o&&Iw["circular-icon"])},l),n)}},Dw={container:"textField-module_container__Txn58",label:"textField-module_label__VwDxG","label--with-value":"textField-module_label--with-value__L233-",input:"textField-module_input__UUjTT","input--with-value":"textField-module_input--with-value__tIa-4","input--prefix":"textField-module_input--prefix__J9hsm","input--missing":"textField-module_input--missing__WLG2z",prefix:"textField-module_prefix__osD-S",inputDescription:"textField-module_inputDescription__DK-Sy","container--error":"textField-module_container--error__8zkIF",error:"textField-module_error__cJR5Z",helper:"textField-module_helper__GnkHD",rightContent:"textField-module_rightContent__Lqpnh",leftContent:"textField-module_leftContent__jjHHa","input--focus":"textField-module_input--focus__BaFyH","input--hover":"textField-module_input--hover__YAj7R"};We(".textField-module_container__Txn58 {\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.textField-module_label__VwDxG {\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n position: absolute;\n z-index: 3;\n color: var(--product-greyscale-40);\n pointer-events: none;\n left: 1.1rem;\n}\n\n.textField-module_label--with-value__L233- {\n font-weight: var(--product-font-weight-semi-bold);\n font-size: var(--product-font-form-label-mobile-size);\n letter-spacing: var(--product-font-form-label-letter-spacing);\n line-height: var(--product-font-form-label-line-height);\n}\n\n.textField-module_input__UUjTT {\n --BORDER_TOTAL: calc(var(--product-border-width-1) * 2);\n all: unset;\n box-sizing: border-box;\n background: var(--greyscale-0);\n display: block;\n border: var(--product-border-width-1) solid transparent;\n padding: var(--product-spacing-5) var(--product-spacing-4);\n border-radius: var(--product-radius-2);\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n z-index: 1;\n height: 64px;\n}\n\n.textField-module_input--with-value__tIa-4 {\n padding: var(--product-spacing-2_5) var(--product-spacing-4);\n padding-top: 2rem;\n}\n\n.textField-module_input--prefix__J9hsm {\n padding: var(--product-spacing-2_5) var(--product-spacing-4);\n padding-top: 1.7rem;\n padding-left: 2rem;\n}\n\n.textField-module_input--missing__WLG2z {\n border: var(--product-border-width-1) solid var(--product-yellow);\n}\n\n.textField-module_prefix__osD-S {\n position: absolute;\n left: var(--product-spacing-5);\n top: 63%;\n transform: translateY(-50%);\n z-index: 2;\n font-size: 1.125rem;\n}\n\n.textField-module_inputDescription__DK-Sy {\n display: flex;\n flex-direction: column;\n gap: var(--product-spacing-2);\n padding-top: var(--product-spacing-2);\n padding-bottom: var(--product-spacing-2);\n padding-left: var(--product-spacing-6);\n}\n\n.textField-module_container--error__8zkIF > label {\n color: var(--product-error);\n}\n\n.textField-module_container--error__8zkIF > input {\n border: var(--product-border-width-1) solid var(--product-error);\n}\n\n.textField-module_error__cJR5Z {\n color: var(--product-error);\n}\n\n.textField-module_helper__GnkHD {\n color: rgba(var(--grey-60-rgb));\n}\n\n.textField-module_rightContent__Lqpnh {\n position: absolute;\n right: var(--product-spacing-6);\n top: 50%;\n transform: translateY(-50%);\n z-index: 2;\n}\n\n.textField-module_leftContent__jjHHa {\n position: absolute;\n left: var(--product-spacing-6);\n top: 50%;\n transform: translateY(-50%);\n z-index: 2;\n}\n\n.textField-module_input__UUjTT:focus {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n.textField-module_input--focus__BaFyH {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n.textField-module_input__UUjTT:hover {\n outline: var(--product-border-width-1) solid var(--product-greyscale-20);\n}\n\n.textField-module_input--hover__YAj7R {\n outline: var(--product-border-width-1) solid var(--product-greyscale-20);\n}\n\n.textField-module_input__UUjTT:disabled {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-40);\n cursor: not-allowed;\n}\n\n.textField-module_input__UUjTT:disabled:hover {\n outline: none;\n}\n\n@media (min-width: 768px) {\n .textField-module_input__UUjTT {\n padding: var(--product-spacing-6);\n font-size: var(--product-font-form-input-desktop-size);\n height: 72px;\n }\n\n .textField-module_input--with-value__tIa-4 {\n padding: var(--product-spacing-3) var(--product-spacing-6);\n padding-top: 2rem;\n }\n\n .textField-module_input--prefix__J9hsm {\n\n padding-left: 2.5rem;\n }\n\n .textField-module_prefix__osD-S {\n left: var(--product-spacing-6);\n font-size: 1.25rem;\n top: 64%;\n }\n\n .textField-module_label__VwDxG {\n left: 25px;\n font-size: var(--product-font-form-input-desktop-size);\n }\n\n .textField-module_label--with-value__L233- {\n font-size: var(--product-font-form-label-desktop-size);\n }\n}\n");var Tw=i((function(e,o){var r=e.className,i=e.disabled,a=e.disableError,s=e.error,l=e.field,u=l.onBlur,c=l.value,d=P(l,["onBlur","value"]),p=e.helper,f=e.id,m=e.label,h=e.leftContent,g=e.missing,v=e.prefix,y=e.rightContent,A=e.suffix,b=e.type,w=P(e,["className","disabled","disableError","error","field","helper","id","label","leftContent","missing","prefix","rightContent","suffix","type"]),x=ct().width,E=n(!1),k=E[0],S=E[1],I=""!==c||k,O=x>768,D=p||s,T={focused:{fontSize:O?"1rem":".875rem",top:O?"20px":"23px"},notFocused:{fontSize:O?"1.25rem":"1.125rem",top:"50%",transform:"translateY(-50%)"}};return t.createElement("div",null,t.createElement("div",{className:Ke(Dw.container,s&&Dw["container--error"])},t.createElement(Pp.label,{animate:I?"focused":"notFocused",className:Ke(Dw.label,I&&Dw["label--with-value"]),htmlFor:"input-".concat(f),initial:"notFocused",variants:T},m," ",A&&t.createElement("span",null,A)),t.createElement("input",C({"aria-describedby":"error-".concat(f),className:Ke(r,Dw["input--".concat(r)],Dw.input,v&&Dw["input--prefix"],I&&Dw["input--with-value"],g&&Dw["input--missing"]),disabled:i,id:"input-".concat(f),onBlur:function(){u(),S(!1)},onFocus:function(){return S(!0)},type:b,value:c},d,w,{ref:function(e){d.ref(e),o&&(o.current=e)}})),v&&I&&t.createElement("span",{className:Dw.prefix},v),t.createElement("div",null,y&&t.createElement("div",{className:Dw.rightContent},y),h&&t.createElement("div",{className:Dw.leftContent},h))),D&&t.createElement("div",{className:Dw.inputDescription},p&&t.createElement("span",{className:Dw.helper,id:"feedback-".concat(f)},p.message),s&&!a&&t.createElement("span",{className:Dw.error,id:"error-".concat(f)},s.message)))})),Nw=i((function(e,n){var o=E(),r=o.control,i=o.formState.errors,a=void 0===i?{}:i,s=e.name,l=C(C({},e),{error:a&&a[s]});return t.createElement(k,{control:r,name:s,render:function(e){var o=e.field;return t.createElement(Tw,C({ref:n},l,{field:C({},o)}))}})})),Bw="Toast-module_title__-H6R2",Rw="Toast-module_icon-position__t33rU";We(".Toast-module_title__-H6R2 {\n font-weight: 600;\n margin-bottom: 0.375rem;\n}\n\n.Toast-module_icon-position__t33rU {\n position: absolute;\n top: 1.25rem;\n left: 1rem;\n}\n\n.Toast-module_icon-position__t33rU svg {\n fill: var(--product-greyscale-0);\n}\n");var Mw={Description:function(e){var n=e.children;return t.createElement(ht,{variant:"form-helper"},n)},Icon:function(e){return t.createElement("div",{className:Rw},t.createElement(ft,C({},e)))},Root:function(e){var n=e.children;return t.createElement("div",null,n)},Title:function(e){var n=e.children,o=e.className;return t.createElement(ht,{className:Ke(o,Bw),variant:"form-helper"},n)}},Fw=e.forwardRef(((e,t)=>y(Q.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));Fw.displayName="VisuallyHidden";var Vw=Fw,[Lw,_w]=O("Tooltip",[Lv]),jw=Lv(),zw="TooltipProvider",Uw=700,Qw="tooltip.open",[Hw,qw]=Lw(zw),Kw=t=>{const{__scopeTooltip:n,delayDuration:o=Uw,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=t,[s,l]=e.useState(!0),u=e.useRef(!1),c=e.useRef(0);return e.useEffect((()=>{const e=c.current;return()=>window.clearTimeout(e)}),[]),y(Hw,{scope:n,isOpenDelayed:s,delayDuration:o,onOpen:e.useCallback((()=>{window.clearTimeout(c.current),l(!1)}),[]),onClose:e.useCallback((()=>{window.clearTimeout(c.current),c.current=window.setTimeout((()=>l(!0)),r)}),[r]),isPointerInTransitRef:u,onPointerInTransitChange:e.useCallback((e=>{u.current=e}),[]),disableHoverableContent:i,children:a})};Kw.displayName=zw;var Ww="Tooltip",[Gw,Zw]=Lw(Ww),Xw=t=>{const{__scopeTooltip:n,children:o,open:r,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:l}=t,u=qw(Ww,t.__scopeTooltip),c=jw(n),[d,p]=e.useState(null),f=Z(),m=e.useRef(0),h=s??u.disableHoverableContent,g=l??u.delayDuration,v=e.useRef(!1),[A=!1,b]=U({prop:r,defaultProp:i,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(Qw))):u.onClose(),a?.(e)}}),w=e.useMemo((()=>A?v.current?"delayed-open":"instant-open":"closed"),[A]),x=e.useCallback((()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,b(!0)}),[b]),E=e.useCallback((()=>{window.clearTimeout(m.current),m.current=0,b(!1)}),[b]),k=e.useCallback((()=>{window.clearTimeout(m.current),m.current=window.setTimeout((()=>{v.current=!0,b(!0),m.current=0}),g)}),[g,b]);return e.useEffect((()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)}),[]),y(ey,{...c,children:y(Gw,{scope:n,contentId:f,open:A,stateAttribute:w,trigger:d,onTriggerChange:p,onTriggerEnter:e.useCallback((()=>{u.isOpenDelayed?k():x()}),[u.isOpenDelayed,k,x]),onTriggerLeave:e.useCallback((()=>{h?E():(window.clearTimeout(m.current),m.current=0)}),[E,h]),onOpen:x,onClose:E,disableHoverableContent:h,children:o})})};Xw.displayName=Ww;var Yw="TooltipTrigger",Jw=e.forwardRef(((t,n)=>{const{__scopeTooltip:o,...r}=t,i=Zw(Yw,o),a=qw(Yw,o),s=jw(o),l=B(n,e.useRef(null),i.onTriggerChange),u=e.useRef(!1),c=e.useRef(!1),d=e.useCallback((()=>u.current=!1),[]);return e.useEffect((()=>()=>document.removeEventListener("pointerup",d)),[d]),y(ty,{asChild:!0,...s,children:y(Q.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:j(t.onPointerMove,(e=>{"touch"!==e.pointerType&&(c.current||a.isPointerInTransitRef.current||(i.onTriggerEnter(),c.current=!0))})),onPointerLeave:j(t.onPointerLeave,(()=>{i.onTriggerLeave(),c.current=!1})),onPointerDown:j(t.onPointerDown,(()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})})),onFocus:j(t.onFocus,(()=>{u.current||i.onOpen()})),onBlur:j(t.onBlur,i.onClose),onClick:j(t.onClick,i.onClose)})})}));Jw.displayName=Yw;var $w="TooltipPortal",[ex,tx]=Lw($w,{forceMount:void 0}),nx=e=>{const{__scopeTooltip:t,forceMount:n,children:o,container:r}=e,i=Zw($w,t);return y(ex,{scope:t,forceMount:n,children:y(q,{present:n||i.open,children:y(ry,{asChild:!0,container:r,children:o})})})};nx.displayName=$w;var ox="TooltipContent",rx=e.forwardRef(((e,t)=>{const n=tx(ox,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...i}=e,a=Zw(ox,e.__scopeTooltip);return y(q,{present:o||a.open,children:a.disableHoverableContent?y(lx,{side:r,...i,ref:t}):y(ix,{side:r,...i,ref:t})})})),ix=e.forwardRef(((t,n)=>{const o=Zw(ox,t.__scopeTooltip),r=qw(ox,t.__scopeTooltip),i=e.useRef(null),a=B(n,i),[s,l]=e.useState(null),{trigger:u,onClose:c}=o,d=i.current,{onPointerInTransitChange:p}=r,f=e.useCallback((()=>{l(null),p(!1)}),[p]),m=e.useCallback(((e,t)=>{const n=e.currentTarget,o={x:e.clientX,y:e.clientY},r=function(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return o}(o,function(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}(o,n.getBoundingClientRect())),i=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(o.y-n.y)>=(e.y-n.y)*(o.x-n.x)))break;t.pop()}t.push(o)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const o=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(o.y-t.y)>=(e.y-t.y)*(o.x-t.x)))break;n.pop()}n.push(o)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...r,...function(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}(t.getBoundingClientRect())]);l(i),p(!0)}),[p]);return e.useEffect((()=>()=>f()),[f]),e.useEffect((()=>{if(u&&d){const e=e=>m(e,d),t=e=>m(e,u);return u.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}}),[u,d,m,f]),e.useEffect((()=>{if(s){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},o=u?.contains(t)||d?.contains(t),r=!function(e,t){const{x:n,y:o}=e;let r=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,l=t[i].x,u=t[i].y;s>o!=u>o&&n<(l-a)*(o-s)/(u-s)+a&&(r=!r)}return r}(n,s);o?f():r&&(f(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[u,d,s,c,f]),y(lx,{...t,ref:a})})),[ax,sx]=Lw(Ww,{isInside:!1}),lx=e.forwardRef(((t,n)=>{const{__scopeTooltip:o,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:s,...l}=t,u=Zw(ox,o),c=jw(o),{onClose:d}=u;return e.useEffect((()=>(document.addEventListener(Qw,d),()=>document.removeEventListener(Qw,d))),[d]),e.useEffect((()=>{if(u.trigger){const e=e=>{const t=e.target;t?.contains(u.trigger)&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[u.trigger,d]),y(qh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:b(ny,{"data-state":u.stateAttribute,...c,...l,ref:n,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y(F,{children:r}),y(ax,{scope:o,isInside:!0,children:y(Vw,{id:u.contentId,role:"tooltip",children:i||r})})]})})}));rx.displayName=ox;var ux="TooltipArrow",cx=e.forwardRef(((e,t)=>{const{__scopeTooltip:n,...o}=e,r=jw(n);return sx(ux,n).isInside?null:y(oy,{...r,...o,ref:t})}));cx.displayName=ux;var dx=Kw,px=Xw,fx=Jw,mx=nx,hx=rx,gx=cx,vx="Tooltip-module_control__vE3qi",yx="Tooltip-module_tooltip__UA7H9",Ax="Tooltip-module_beak__LxgAN";We(".Tooltip-module_control__vE3qi {\n all: unset;\n display: flex;\n background: black;\n color: white;\n border-radius: 1000px;\n height: -moz-fit-content;\n height: fit-content;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.Tooltip-module_tooltip__UA7H9 {\n padding: 1rem;\n padding-right: 0.5rem;\n background: white;\n max-width: 400px;\n border-radius: 1rem;\n}\n\n.Tooltip-module_beak__LxgAN {\n fill: white;\n}\n");var bx={Content:function(e){var n=e.children,o=e.className,r=P(e,["children","className"]);return t.createElement(mx,null,t.createElement(hx,C({className:Ke(o,yx)},r),n,t.createElement(gx,{className:Ax})))},Root:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(dx,null,t.createElement(px,C({},o),n))},Trigger:function(e){var n=e.children,o=e.className,r=P(e,["children","className"]);return t.createElement(fx,C({className:Ke(o,vx)},r),n)}},wx={"visual--paper":"wrapper-module_visual--paper__SOeqI","visual--bento":"wrapper-module_visual--bento__RzAYJ","visual--bento-icon":"wrapper-module_visual--bento-icon__Bj-F3","orientation--center":"wrapper-module_orientation--center__1tqbT","type--trust-pilot":"wrapper-module_type--trust-pilot__UwSbT"};We(".wrapper-module_visual--paper__SOeqI {\n display: block;\n background: var(--greyscale-0);\n padding: 1.5rem;\n border-radius: 0.25rem;\n height: 100%;\n transition: all 0.5s ease-in-out;\n}\n\n.wrapper-module_visual--paper__SOeqI:hover {\n box-shadow:\n 0px 204px 82px rgba(16, 24, 32, 0.05),\n 0px 115px 69px rgba(16, 24, 32, 0.18),\n 0px 51px 51px rgba(16, 24, 32, 0.31),\n 0px 13px 28px rgba(16, 24, 32, 0.36);\n}\n\n.wrapper-module_visual--bento__RzAYJ {\n color: var(--primary-deep-black);\n display: flex;\n align-items: center;\n gap: 1rem;\n width: 100%;\n background: var(--greyscale-0);\n padding: 1rem;\n border-radius: 0.5rem;\n}\n\n.wrapper-module_visual--bento-icon__Bj-F3 {\n color: var(--primary-deep-black);\n display: flex;\n flex-direction: column;\n gap: 1rem;\n background: var(--greyscale-0);\n padding: 1rem;\n border-radius: 0.5rem;\n width: 100%;\n}\n\n.wrapper-module_orientation--center__1tqbT {\n display: flex;\n flex-direction: column;\n align-items: center;\n align-items: center;\n}\n\n@media (min-width: 768px) {\n .wrapper-module_visual--bento__RzAYJ {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .wrapper-module_visual--paper__SOeqI {\n padding: 2rem;\n }\n\n .wrapper-module_type--trust-pilot__UwSbT {\n max-height: 8.75rem;\n }\n}\n\n@media (min-width: 1280px) {\n .wrapper-module_visual--paper__SOeqI {\n padding: 2.5rem;\n }\n}\n");var xx=function(e){var n=e.as,o=e.children,r=e.className,i=e.variants,a=C({visual:"paper"},i),s=n||"div";return t.createElement(s,{className:Ke(r,wx["visual--".concat(a.visual)],a.orientation&&wx["orientation--".concat(a.orientation)],a.type&&wx["type--".concat(a.type)])},o)};export{Pt as Accordion,Ot as Button,Qm as Buttons,Tt as Callout,Ze as Card,Bt as Cards,Xt as Checkbox,$t as Columns,Fp as ComboBox,Wp as DatePicker,Xp as Disclosure,Vp as Field,Jp as Form,ft as Icon,ef as Link,nf as Loading,Hm as Modal,Ym as NumberField,_h as OTPInput,uh as PhoneField,Rh as PinInput,OA as Popover,TA as ProgressIndicator,kb as RadioGroup,Rb as Range,Xb as Select,Jb as Skeleton,sw as Table,ow as TableBody,iw as TableData,aw as TableFooter,tw as TableHead,nw as TableHeader,ew as TableRoot,rw as TableRow,Pw as Tabs,Ow as Tag,Nw as TextField,Mw as Toast,bx as Tooltip,ht as Typography,xx as Wrapper,Um as useModal};
|
|
91
|
+
*/"production"===process.env.NODE_ENV?wm.exports=function(){if(Pm)return xm;Pm=1;var e=t,n=Dm(),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;return xm.useSyncExternalStoreWithSelector=function(e,t,n,u,c){var d=i(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=s((function(){function e(e){if(!a){if(a=!0,r=e,e=u(e),void 0!==c&&p.hasValue){var t=p.value;if(c(t,e))return i=t}return i=e}if(t=i,o(r,e))return t;var n=u(e);return void 0!==c&&c(t,n)?t:(r=e,i=n)}var r,i,a=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,u,c]);var f=r(e,d[0],d[1]);return a((function(){p.hasValue=!0,p.value=f}),[f]),l(f),f},xm}():wm.exports=(Tm||(Tm=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=t,n=Dm(),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;Nm.useSyncExternalStoreWithSelector=function(e,t,n,u,c){var d,p=i(null);null===p.current?(d={hasValue:!1,value:null},p.current=d):d=p.current;var f=s((function(){var e,r,i=!1,a=function(t){if(!i){i=!0,e=t;var n=u(t);if(void 0!==c&&d.hasValue){var a=d.value;if(c(a,n))return r=a,a}return r=n,n}var s=r;if(o(e,t))return s;var l=u(t);return void 0!==c&&c(s,l)?s:(e=t,r=l,l)},s=void 0===n?null:n;return[function(){return a(t())},null===s?void 0:function(){return a(s())}]}),[t,n,u,c]),m=f[0],h=f[1],g=r(e,m,h);return a((function(){d.hasValue=!0,d.value=g}),[g]),l(g),g},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Nm);var Bm=rn(wm.exports);const{useDebugValue:Rm}=t,{useSyncExternalStoreWithSelector:Mm}=Bm;let Fm=!1;const Vm=e=>e;const Lm=e=>{"production"!==(import.meta.env?import.meta.env.MODE:void 0)&&"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?Am(e):Am)(e):e,n=(e,n)=>function(e,t=Vm,n){"production"!==(import.meta.env?import.meta.env.MODE:void 0)&&n&&!Fm&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Fm=!0);const o=Mm(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return Rm(o),o}(t,e,n);return Object.assign(n,t),n};var _m="modal-module_modal__RJmct",jm="modal-module_modal-header__Io9gR",zm="modal-module_buttons__A9VMO";We(".modal-module_modal__RJmct {\n position: fixed;\n inset: 0;\n width: calc(100% - 2rem);\n margin: 1rem;\n border-radius: 24px;\n border: none;\n padding: 2rem;\n background-color: var(--product-ghost-white);\n top: calc(50% - 1rem);\n left: calc(50% - 1rem);\n transform: translate(-50%, -50%);\n z-index: 1000;\n}\n\n.modal-module_modal__RJmct::backdrop {\n background-color: rgba(0, 0, 0, 0.75);\n z-index: 998;\n}\n\n.modal-module_backdrop-close__ICMET {\n position: fixed;\n inset: 0;\n background: orange;\n opacity: 0.3;\n z-index: 999;\n}\n\n.modal-module_modal-header__Io9gR {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid var(--product-border);\n margin-bottom: 1.5rem;\n}\n\n.modal-module_buttons__A9VMO {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n margin-top: 1.5rem;\n}\n\n.modal-module_buttons__A9VMO button {\n width: auto;\n display: flex;\n justify-content: center;\n}\n\n@media (min-width: 768px) {\n .modal-module_modal__RJmct {\n width: 720px;\n margin: 0;\n top: 50%;\n left: 50%;\n }\n\n .modal-module_buttons__A9VMO {\n flex-direction: row;\n justify-content: flex-end;\n margin-top: 2.5rem;\n gap: 1rem;\n }\n\n .modal-module_buttons__A9VMO button {\n width: -moz-fit-content;\n width: fit-content;\n }\n}\n");var Um=Lm((function(e){return{activeModal:"",close:function(){return e({activeModal:"",isOpen:!1})},isOpen:!1,open:function(t){return e({activeModal:t,isOpen:!0})}}})),Qm=function(e){var n=e.children;return t.createElement("footer",{className:zm},n)},Hm={Buttons:Qm,Content:function(e){var n=e.children,o=e.closeOnBackdropClick,r=e.focusTrap,i=e.value,a=Um(),l=a.activeModal,u=a.isOpen,c=i===l&&u,d=s(null),p=function(){var e;(null==d?void 0:d.current)&&(gf(null==d?void 0:d.current),null===(e=d.current)||void 0===e||e.close())};return c?function(){var e;(null==d?void 0:d.current)&&(hf(null==d?void 0:d.current),null===(e=d.current)||void 0===e||e.showModal())}():p(),t.createElement(ym,{active:c&&!0===r},t.createElement("dialog",{className:_m,onClick:function(e){o&&e.target===e.currentTarget&&p()},ref:d},n))},Control:function(e){var n=e.children,o=e.value,r=P(e,["children","value"]),i=Um().open;return t.createElement(Ot,C({autoFocus:!0,onClick:function(){return i(o)}},r),n)},Header:function(e){var n=e.actionButtonProps,o=e.onClick,r=e.title,i=e.variant,a=Um().close;return t.createElement("header",{className:jm},t.createElement(ht,{variant:"content-title-semi-bold"},r),"action"===i&&t.createElement(Ot,C({onClick:function(){o&&o()},type:"submit",variant:"standard",visualType:"action"},n),"Done"),"action"!==i&&t.createElement(Ot,{autoFocus:!0,onClick:function(){return a()},onlyIcon:!0,variant:"tertiary"},t.createElement(ft,{icon:"close"})))}},qm="numberField-module_container__DPRfq",Km="numberField-module_fake-input__OepBg",Wm="numberField-module_spinbutton-container__u6eZo",Gm="numberField-module_spinbutton-container--error__e4hYD",Zm="numberField-module_control__hZdOA";We(".numberField-module_container__DPRfq {\n display: flex;\n flex-direction: column;\n}\n\n.numberField-module_fake-input__OepBg {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.numberField-module_spinbutton-container__u6eZo {\n display: flex;\n width: -moz-fit-content;\n width: fit-content;\n padding: var(--product-spacing-4) var(--product-spacing-5);\n border-radius: var(--product-radius-3);\n background: var(--product-greyscale-0);\n}\n\n.numberField-module_spinbutton-container--error__e4hYD {\n border: var(--product-border-width-1) solid var(--product-error);\n}\n\n.numberField-module_label__5qWGD {\n margin-bottom: var(--product-spacing-3);\n}\n\n.numberField-module_error__GeUsR {\n color: var(--product-error);\n}\n\n.numberField-module_spinbutton-container--disabled__vjhWU {\n background: var(--product-greyscale-20);\n}\n\n.numberField-module_control__hZdOA {\n all: unset;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n");var Xm=["ArrowUp","ArrowDown","PageUp","PageDown","Home","End"],Ym=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Jm,C({},s,{field:C({},n)}))}})},Jm=function(e){var n=e.error,o=e.field,r=o.onBlur,i=o.onChange,a=o.value,s=e.helper,l=e.label,u=e.max,c=void 0===u?100:u,d=e.min,p=void 0===d?0:d,f=e.name,m=e.width,h=void 0===m?3:m,g=function(e){a<=p||i(a-e)},v=function(e){a>=c||i(a+e)};return t.createElement(Up,{error:null==n?void 0:n.message,helper:null==s?void 0:s.message,id:"".concat(f,"-label"),label:l},t.createElement("div",{className:qm},t.createElement("div",{className:Ke(Wm,n&&Gm)},t.createElement("button",{"aria-label":"decrease",className:Zm,onClick:function(){return g(1)},tabIndex:-1,type:"button"},t.createElement(ft,{icon:"remove",size:"large"})),t.createElement(ht,{"aria-errormessage":n?"".concat(f,"-error"):void 0,"aria-invalid":!!(null==n?void 0:n.message),"aria-labelledby":"".concat(f,"-label"),"aria-valuemax":c,"aria-valuemin":p,"aria-valuenow":a,as:"div",className:Km,onBlur:r,onKeyDown:function(e){Xm.includes(e.key)&&(e.preventDefault(),function(e){"ArrowUp"===e.key&&v(1),"ArrowDown"===e.key&&g(1)}(e),function(e){"PageUp"===e.key&&v(5),"PageDown"===e.key&&g(5)}(e),function(e){"Home"===e.key&&i(p),"End"===e.key&&i(c)}(e))},role:"spinbutton",style:{width:"".concat(h,"ch")},tabIndex:0},a),t.createElement("button",{"aria-label":"increase",className:Zm,onClick:function(){return v(1)},tabIndex:-1,type:"button"},t.createElement(ft,{icon:"add",size:"large"})))))},$m=[{country:"Afghanistan",code:"93",iso:"AF"},{country:"Albania",code:"355",iso:"AL"},{country:"Algeria",code:"213",iso:"DZ"},{country:"American Samoa",code:"1-684",iso:"AS"},{country:"Andorra",code:"376",iso:"AD"},{country:"Angola",code:"244",iso:"AO"},{country:"Anguilla",code:"1-264",iso:"AI"},{country:"Antarctica",code:"672",iso:"AQ"},{country:"Antigua and Barbuda",code:"1-268",iso:"AG"},{country:"Argentina",code:"54",iso:"AR"},{country:"Armenia",code:"374",iso:"AM"},{country:"Aruba",code:"297",iso:"AW"},{country:"Australia",code:"61",iso:"AU"},{country:"Austria",code:"43",iso:"AT"},{country:"Azerbaijan",code:"994",iso:"AZ"},{country:"Bahamas",code:"1-242",iso:"BS"},{country:"Bahrain",code:"973",iso:"BH"},{country:"Bangladesh",code:"880",iso:"BD"},{country:"Barbados",code:"1-246",iso:"BB"},{country:"Belarus",code:"375",iso:"BY"},{country:"Belgium",code:"32",iso:"BE"},{country:"Belize",code:"501",iso:"BZ"},{country:"Benin",code:"229",iso:"BJ"},{country:"Bermuda",code:"1-441",iso:"BM"},{country:"Bhutan",code:"975",iso:"BT"},{country:"Bolivia",code:"591",iso:"BO"},{country:"Bosnia and Herzegovina",code:"387",iso:"BA"},{country:"Botswana",code:"267",iso:"BW"},{country:"Brazil",code:"55",iso:"BR"},{country:"British Indian Ocean Territory",code:"246",iso:"IO"},{country:"British Virgin Islands",code:"1-284",iso:"VG"},{country:"Brunei",code:"673",iso:"BN"},{country:"Bulgaria",code:"359",iso:"BG"},{country:"Burkina Faso",code:"226",iso:"BF"},{country:"Burundi",code:"257",iso:"BI"},{country:"Cambodia",code:"855",iso:"KH"},{country:"Cameroon",code:"237",iso:"CM"},{country:"Canada",code:"1",iso:"CA"},{country:"Cape Verde",code:"238",iso:"CV"},{country:"Cayman Islands",code:"1-345",iso:"KY"},{country:"Central African Republic",code:"236",iso:"CF"},{country:"Chad",code:"235",iso:"TD"},{country:"Chile",code:"56",iso:"CL"},{country:"China",code:"86",iso:"CN"},{country:"Christmas Island",code:"61",iso:"CX"},{country:"Cocos Islands",code:"61",iso:"CC"},{country:"Colombia",code:"57",iso:"CO"},{country:"Comoros",code:"269",iso:"KM"},{country:"Cook Islands",code:"682",iso:"CK"},{country:"Costa Rica",code:"506",iso:"CR"},{country:"Croatia",code:"385",iso:"HR"},{country:"Cuba",code:"53",iso:"CU"},{country:"Curacao",code:"599",iso:"CW"},{country:"Cyprus",code:"357",iso:"CY"},{country:"Czech Republic",code:"420",iso:"CZ"},{country:"Democratic Republic of the Congo",code:"243",iso:"CD"},{country:"Denmark",code:"45",iso:"DK"},{country:"Djibouti",code:"253",iso:"DJ"},{country:"Dominica",code:"1-767",iso:"DM"},{country:"Dominican Republic",code:"1-809, 1-829, 1-849",iso:"DO"},{country:"East Timor",code:"670",iso:"TL"},{country:"Ecuador",code:"593",iso:"EC"},{country:"Egypt",code:"20",iso:"EG"},{country:"El Salvador",code:"503",iso:"SV"},{country:"Equatorial Guinea",code:"240",iso:"GQ"},{country:"Eritrea",code:"291",iso:"ER"},{country:"Estonia",code:"372",iso:"EE"},{country:"Ethiopia",code:"251",iso:"ET"},{country:"Falkland Islands",code:"500",iso:"FK"},{country:"Faroe Islands",code:"298",iso:"FO"},{country:"Fiji",code:"679",iso:"FJ"},{country:"Finland",code:"358",iso:"FI"},{country:"France",code:"33",iso:"FR"},{country:"French Polynesia",code:"689",iso:"PF"},{country:"Gabon",code:"241",iso:"GA"},{country:"Gambia",code:"220",iso:"GM"},{country:"Georgia",code:"995",iso:"GE"},{country:"Germany",code:"49",iso:"DE"},{country:"Ghana",code:"233",iso:"GH"},{country:"Gibraltar",code:"350",iso:"GI"},{country:"Greece",code:"30",iso:"GR"},{country:"Greenland",code:"299",iso:"GL"},{country:"Grenada",code:"1-473",iso:"GD"},{country:"Guam",code:"1-671",iso:"GU"},{country:"Guatemala",code:"502",iso:"GT"},{country:"Guernsey",code:"44-1481",iso:"GG"},{country:"Guinea",code:"224",iso:"GN"},{country:"Guinea-Bissau",code:"245",iso:"GW"},{country:"Guyana",code:"592",iso:"GY"},{country:"Haiti",code:"509",iso:"HT"},{country:"Honduras",code:"504",iso:"HN"},{country:"Hong Kong",code:"852",iso:"HK"},{country:"Hungary",code:"36",iso:"HU"},{country:"Iceland",code:"354",iso:"IS"},{country:"India",code:"91",iso:"IN"},{country:"Indonesia",code:"62",iso:"ID"},{country:"Iran",code:"98",iso:"IR"},{country:"Iraq",code:"964",iso:"IQ"},{country:"Ireland",code:"353",iso:"IE"},{country:"Isle of Man",code:"44-1624",iso:"IM"},{country:"Israel",code:"972",iso:"IL"},{country:"Italy",code:"39",iso:"IT"},{country:"Ivory Coast",code:"225",iso:"CI"},{country:"Jamaica",code:"1-876",iso:"JM"},{country:"Japan",code:"81",iso:"JP"},{country:"Jersey",code:"44-1534",iso:"JE"},{country:"Jordan",code:"962",iso:"JO"},{country:"Kazakhstan",code:"7",iso:"KZ"},{country:"Kenya",code:"254",iso:"KE"},{country:"Kiribati",code:"686",iso:"KI"},{country:"Kosovo",code:"383",iso:"XK"},{country:"Kuwait",code:"965",iso:"KW"},{country:"Kyrgyzstan",code:"996",iso:"KG"},{country:"Laos",code:"856",iso:"LA"},{country:"Latvia",code:"371",iso:"LV"},{country:"Lebanon",code:"961",iso:"LB"},{country:"Lesotho",code:"266",iso:"LS"},{country:"Liberia",code:"231",iso:"LR"},{country:"Libya",code:"218",iso:"LY"},{country:"Liechtenstein",code:"423",iso:"LI"},{country:"Lithuania",code:"370",iso:"LT"},{country:"Luxembourg",code:"352",iso:"LU"},{country:"Macao",code:"853",iso:"MO"},{country:"Macedonia",code:"389",iso:"MK"},{country:"Madagascar",code:"261",iso:"MG"},{country:"Malawi",code:"265",iso:"MW"},{country:"Malaysia",code:"60",iso:"MY"},{country:"Maldives",code:"960",iso:"MV"},{country:"Mali",code:"223",iso:"ML"},{country:"Malta",code:"356",iso:"MT"},{country:"Marshall Islands",code:"692",iso:"MH"},{country:"Mauritania",code:"222",iso:"MR"},{country:"Mauritius",code:"230",iso:"MU"},{country:"Mayotte",code:"262",iso:"YT"},{country:"Mexico",code:"52",iso:"MX"},{country:"Micronesia",code:"691",iso:"FM"},{country:"Moldova",code:"373",iso:"MD"},{country:"Monaco",code:"377",iso:"MC"},{country:"Mongolia",code:"976",iso:"MN"},{country:"Montenegro",code:"382",iso:"ME"},{country:"Montserrat",code:"1-664",iso:"MS"},{country:"Morocco",code:"212",iso:"MA"},{country:"Mozambique",code:"258",iso:"MZ"},{country:"Myanmar",code:"95",iso:"MM"},{country:"Namibia",code:"264",iso:"NA"},{country:"Nauru",code:"674",iso:"NR"},{country:"Nepal",code:"977",iso:"NP"},{country:"Netherlands",code:"31",iso:"NL"},{country:"Netherlands Antilles",code:"599",iso:"AN"},{country:"New Caledonia",code:"687",iso:"NC"},{country:"New Zealand",code:"64",iso:"NZ"},{country:"Nicaragua",code:"505",iso:"NI"},{country:"Niger",code:"227",iso:"NE"},{country:"Nigeria",code:"234",iso:"NG"},{country:"Niue",code:"683",iso:"NU"},{country:"North Korea",code:"850",iso:"KP"},{country:"Northern Mariana Islands",code:"1-670",iso:"MP"},{country:"Norway",code:"47",iso:"NO"},{country:"Oman",code:"968",iso:"OM"},{country:"Pakistan",code:"92",iso:"PK"},{country:"Palau",code:"680",iso:"PW"},{country:"Palestine",code:"970",iso:"PS"},{country:"Panama",code:"507",iso:"PA"},{country:"Papua New Guinea",code:"675",iso:"PG"},{country:"Paraguay",code:"595",iso:"PY"},{country:"Peru",code:"51",iso:"PE"},{country:"Philippines",code:"63",iso:"PH"},{country:"Pitcairn",code:"64",iso:"PN"},{country:"Poland",code:"48",iso:"PL"},{country:"Portugal",code:"351",iso:"PT"},{country:"Puerto Rico",code:"1-787, 1-939",iso:"PR"},{country:"Qatar",code:"974",iso:"QA"},{country:"Republic of the Congo",code:"242",iso:"CG"},{country:"Reunion",code:"262",iso:"RE"},{country:"Romania",code:"40",iso:"RO"},{country:"Russia",code:"7",iso:"RU"},{country:"Rwanda",code:"250",iso:"RW"},{country:"Saint Barthelemy",code:"590",iso:"BL"},{country:"Saint Helena",code:"290",iso:"SH"},{country:"Saint Kitts and Nevis",code:"1-869",iso:"KN"},{country:"Saint Lucia",code:"1-758",iso:"LC"},{country:"Saint Martin",code:"590",iso:"MF"},{country:"Saint Pierre and Miquelon",code:"508",iso:"PM"},{country:"Saint Vincent and the Grenadines",code:"1-784",iso:"VC"},{country:"Samoa",code:"685",iso:"WS"},{country:"San Marino",code:"378",iso:"SM"},{country:"Sao Tome and Principe",code:"239",iso:"ST"},{country:"Saudi Arabia",code:"966",iso:"SA"},{country:"Senegal",code:"221",iso:"SN"},{country:"Serbia",code:"381",iso:"RS"},{country:"Seychelles",code:"248",iso:"SC"},{country:"Sierra Leone",code:"232",iso:"SL"},{country:"Singapore",code:"65",iso:"SG"},{country:"Sint Maarten",code:"1-721",iso:"SX"},{country:"Slovakia",code:"421",iso:"SK"},{country:"Slovenia",code:"386",iso:"SI"},{country:"Solomon Islands",code:"677",iso:"SB"},{country:"Somalia",code:"252",iso:"SO"},{country:"South Africa",code:"27",iso:"ZA"},{country:"South Korea",code:"82",iso:"KR"},{country:"South Sudan",code:"211",iso:"SS"},{country:"Spain",code:"34",iso:"ES"},{country:"Sri Lanka",code:"94",iso:"LK"},{country:"Sudan",code:"249",iso:"SD"},{country:"Suriname",code:"597",iso:"SR"},{country:"Svalbard and Jan Mayen",code:"47",iso:"SJ"},{country:"Swaziland",code:"268",iso:"SZ"},{country:"Sweden",code:"46",iso:"SE"},{country:"Switzerland",code:"41",iso:"CH"},{country:"Syria",code:"963",iso:"SY"},{country:"Taiwan",code:"886",iso:"TW"},{country:"Tajikistan",code:"992",iso:"TJ"},{country:"Tanzania",code:"255",iso:"TZ"},{country:"Thailand",code:"66",iso:"TH"},{country:"Togo",code:"228",iso:"TG"},{country:"Tokelau",code:"690",iso:"TK"},{country:"Tonga",code:"676",iso:"TO"},{country:"Trinidad and Tobago",code:"1-868",iso:"TT"},{country:"Tunisia",code:"216",iso:"TN"},{country:"Turkey",code:"90",iso:"TR"},{country:"Turkmenistan",code:"993",iso:"TM"},{country:"Turks and Caicos Islands",code:"1-649",iso:"TC"},{country:"Tuvalu",code:"688",iso:"TV"},{country:"U.S. Virgin Islands",code:"1-340",iso:"VI"},{country:"Uganda",code:"256",iso:"UG"},{country:"Ukraine",code:"380",iso:"UA"},{country:"United Arab Emirates",code:"971",iso:"AE"},{country:"United Kingdom",code:"44",iso:"GB"},{country:"United States",code:"1",iso:"US"},{country:"Uruguay",code:"598",iso:"UY"},{country:"Uzbekistan",code:"998",iso:"UZ"},{country:"Vanuatu",code:"678",iso:"VU"},{country:"Vatican",code:"379",iso:"VA"},{country:"Venezuela",code:"58",iso:"VE"},{country:"Vietnam",code:"84",iso:"VN"},{country:"Wallis and Futuna",code:"681",iso:"WF"},{country:"Western Sahara",code:"212",iso:"EH"},{country:"Yemen",code:"967",iso:"YE"},{country:"Zambia",code:"260",iso:"ZM"},{country:"Zimbabwe",code:"263",iso:"ZW"}],eh="phoneField-module_container__O2nj3",th="phoneField-module_select__gwMva",nh="phoneField-module_flag__p2BYn",oh="phoneField-module_input-container__qyzH8",rh="phoneField-module_phone-input__vQV2U",ih="phoneField-module_error__HQhja",ah="phoneField-module_error-icon__ASrep",sh="phoneField-module_helper__rnbGq",lh="phoneField-module_input-helper-outer__DkMld";We(".phoneField-module_container__O2nj3 {\n display: flex;\n gap: 0.25rem;\n}\n\n.phoneField-module_select__gwMva {\n position: relative;\n display: flex;\n height: -moz-fit-content;\n height: fit-content;\n}\n\n.phoneField-module_select__gwMva select {\n padding-top: 1rem;\n padding-bottom: 1rem;\n padding-left: 1.75rem;\n width: 10.5ch;\n font-size: 1.125rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1.5rem;\n border-radius: 0.5rem 0.125rem 0.125rem 0.5rem;\n border: 4px solid var(--product-greyscale-0);\n text-overflow: ellipsis;\n min-width: 10ch;\n color: var(--product-greyscale-100);\n height: -moz-fit-content;\n height: fit-content;\n}\n\n.phoneField-module_select__gwMva select:hover {\n background: var(--product-greyscale-20);\n}\n\n.phoneField-module_select__gwMva select:focus {\n outline: none;\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.phoneField-module_flag__p2BYn {\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n font-family: Inter;\n font-size: 1.125rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1.5rem;\n}\n\n.phoneField-module_input-container__qyzH8 {\n position: relative;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n}\n\n.phoneField-module_phone-input__vQV2U {\n width: 100%;\n font-size: 1.125rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1.5rem;\n padding: 1.25rem 1rem;\n border-radius: 0.125rem 0.5rem 0.5rem 0.125rem;\n border: 2px solid transparent;\n caret-color: var(--product-love-pink-100);\n color: var(--product-greyscale-100);\n height: 100%;\n}\n\n.phoneField-module_phone-input__vQV2U.phoneField-module_error__HQhja {\n border-color: var(--product-error);\n}\n\n.phoneField-module_phone-input__vQV2U.phoneField-module_error__HQhja:hover {\n border-color: var(--product-error);\n}\n\n.phoneField-module_phone-input__vQV2U.phoneField-module_error__HQhja:placeholder {\n color: var(--product-error);\n}\n\n.phoneField-module_phone-input__vQV2U:placeholder {\n color: var(--product-greyscale-60);\n}\n\n.phoneField-module_phone-input__vQV2U:hover {\n border-color: var(--product-greyscale-20);\n}\n\n.phoneField-module_phone-input__vQV2U:focus-visible {\n outline: none;\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.phoneField-module_error-icon__ASrep {\n position: absolute;\n top: 50%;\n right: 1rem;\n transform: translateY(-50%);\n color: var(--product-error);\n}\n\n.phoneField-module_helper__rnbGq {\n color: var(--product-error);\n padding: 0.5rem 1rem;\n}\n\n.phoneField-module_input-helper-outer__DkMld {\n width: 100%;\n display: flex;\n flex-direction: column;\n}\n\n\n /* only safari */\n\n@supports (-webkit-hyphens:none)\n{\n .phoneField-module_select__gwMva select {\n -webkit-appearance: none;\n height: 64px;\n text-indent: .5rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n}\n\n\n/* only IOS */\n\n@supports (-webkit-touch-callout: none) {\n\n\n .phoneField-module_select__gwMva select {\n -webkit-appearance: none;\n height: 64px;\n text-indent: .5rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n}\n\n\n");var uh=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(ch,C({},s,{field:C({},n)}))}})},ch=function(e){var o,r,i=e.error,a=e.field,s=e.id,l=e.placeholder,u=n("GB"),c=u[0],d=u[1],p=E().setValue,f=i,m=null===(o=$m.find((function(e){return e.iso===c})))||void 0===o?void 0:o.code;p("".concat(s,".phone.code"),"+".concat(m)),p("".concat(s,".phone.formatted"),"+".concat(m).concat(a.value));var h,g;return t.createElement("div",{className:eh},t.createElement("div",{className:th},t.createElement("div",{className:nh},(h=(null===(r=$m.find((function(e){return e.iso===c})))||void 0===r?void 0:r.iso)||"",g=h.toUpperCase().split("").map((function(e){return 127397+e.charCodeAt()})),String.fromCodePoint.apply(String,g))),t.createElement("label",{className:"sr-only",htmlFor:"".concat(s,"-call-code-select")},"Call code"),t.createElement("select",{defaultValue:"44",id:"".concat(s,"-call-code-select"),onChange:function(e){var t=e.target.value;d(t)}},$m.filter((function(e){return"44"===e.code})).map((function(e){var n=e.code,o=e.country,r=e.iso;return t.createElement("option",{key:o,value:r},"+",n," (",o,")")})),t.createElement("optgroup",{label:"Other countries"},$m.filter((function(e){return"44"!==e.code})).map((function(e){var n=e.code,o=e.country,r=e.iso;return t.createElement("option",{key:o,value:r},"+",n," (",o,")")}))))),t.createElement("div",{className:lh},t.createElement("div",{className:oh},t.createElement("label",{className:"sr-only",htmlFor:"".concat(s,"-phone-input")},"Mobile phone number without callcode"),t.createElement("input",C({"aria-describedby":"".concat(s,"-phone-field-error"),className:Ke(rh,f&&ih),id:"".concat(s,"-phone-input"),placeholder:l,type:"tel"},a)),f&&t.createElement("div",{className:ah},t.createElement(ft,{icon:"error"}))),t.createElement(ht,{className:Ke("".concat(s,"-phone-field-error"),sh),variant:"form-helper"},null==i?void 0:i.message)))},dh=Object.defineProperty,ph=Object.defineProperties,fh=Object.getOwnPropertyDescriptors,mh=Object.getOwnPropertySymbols,hh=Object.prototype.hasOwnProperty,gh=Object.prototype.propertyIsEnumerable,vh=(e,t,n)=>t in e?dh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var yh=["[data-lastpass-icon-root]","com-1password-button","[data-dashlanecreated]",'[style$="2147483647 !important;"]'].join(",");var Ah=e.createContext({}),bh=e.forwardRef(((t,n)=>{var o,r,i,a,s,l=t,{value:u,onChange:c,maxLength:d,textAlign:p="left",pattern:f,placeholder:m,inputMode:h="numeric",onComplete:g,pushPasswordManagerStrategy:v="increase-width",pasteTransformer:y,containerClassName:A,noScriptCSSFallback:b=xh,render:w,children:x}=l,E=((e,t)=>{var n={};for(var o in e)hh.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&mh)for(var o of mh(e))t.indexOf(o)<0&&gh.call(e,o)&&(n[o]=e[o]);return n})(l,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]);let[k,S]=e.useState("string"==typeof E.defaultValue?E.defaultValue:""),C=null!=u?u:k,P=function(t){let n=e.useRef();return e.useEffect((()=>{n.current=t})),n.current}(C),I=e.useCallback((e=>{null==c||c(e),S(e)}),[c]),O=e.useMemo((()=>f?"string"==typeof f?new RegExp(f):f:null),[f]),D=e.useRef(null),T=e.useRef(null),N=e.useRef({value:C,onChange:I,isIOS:"undefined"!=typeof window&&(null==(r=null==(o=null==window?void 0:window.CSS)?void 0:o.supports)?void 0:r.call(o,"-webkit-touch-callout","none"))}),B=e.useRef({prev:[null==(i=D.current)?void 0:i.selectionStart,null==(a=D.current)?void 0:a.selectionEnd,null==(s=D.current)?void 0:s.selectionDirection]});e.useImperativeHandle(n,(()=>D.current),[]),e.useEffect((()=>{let e=D.current,t=T.current;if(!e||!t)return;function n(){if(document.activeElement!==e)return _(null),void z(null);let t,n=e.selectionStart,o=e.selectionEnd,r=e.selectionDirection,i=e.maxLength,a=e.value,s=B.current.prev,l=-1,u=-1;if(0!==a.length&&null!==n&&null!==o){let e=n===o,r=n===a.length&&a.length<i;if(e&&!r){let e=n;if(0===e)l=0,u=1,t="forward";else if(e===i)l=e-1,u=e,t="backward";else if(i>1&&a.length>1){let n=0;if(null!==s[0]&&null!==s[1]){t=e<s[1]?"backward":"forward";let o=s[0]===s[1]&&s[0]<i;"backward"===t&&!o&&(n=-1)}l=n+e,u=n+e+1}}-1!==l&&-1!==u&&l!==u&&D.current.setSelectionRange(l,u,t)}let c=-1!==l?l:n,d=-1!==u?u:o,p=null!=t?t:r;_(c),z(d),B.current.prev=[c,d,p]}if(N.current.value!==e.value&&N.current.onChange(e.value),B.current.prev=[e.selectionStart,e.selectionEnd,e.selectionDirection],document.addEventListener("selectionchange",n,{capture:!0}),n(),document.activeElement===e&&V(!0),!document.getElementById("input-otp-style")){let e=document.createElement("style");if(e.id="input-otp-style",document.head.appendChild(e),e.sheet){let t="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";wh(e.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),wh(e.sheet,`[data-input-otp]:autofill { ${t} }`),wh(e.sheet,`[data-input-otp]:-webkit-autofill { ${t} }`),wh(e.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),wh(e.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let o=()=>{t&&t.style.setProperty("--root-height",`${e.clientHeight}px`)};o();let r=new ResizeObserver(o);return r.observe(e),()=>{document.removeEventListener("selectionchange",n,{capture:!0}),r.disconnect()}}),[]);let[R,M]=e.useState(!1),[F,V]=e.useState(!1),[L,_]=e.useState(null),[j,z]=e.useState(null);e.useEffect((()=>{!function(e){setTimeout(e,0),setTimeout(e,10),setTimeout(e,50)}((()=>{var e,t,n,o;null==(e=D.current)||e.dispatchEvent(new Event("input"));let r=null==(t=D.current)?void 0:t.selectionStart,i=null==(n=D.current)?void 0:n.selectionEnd,a=null==(o=D.current)?void 0:o.selectionDirection;null!==r&&null!==i&&(_(r),z(i),B.current.prev=[r,i,a])}))}),[C,F]),e.useEffect((()=>{void 0!==P&&C!==P&&P.length<d&&C.length===d&&(null==g||g(C))}),[d,g,P,C]);let U=function({containerRef:t,inputRef:n,pushPasswordManagerStrategy:o,isFocused:r}){let[i,a]=e.useState(!1),[s,l]=e.useState(!1),[u,c]=e.useState(!1),d=e.useMemo((()=>"none"!==o&&("increase-width"===o||"experimental-no-flickering"===o)&&i&&s),[i,s,o]),p=e.useCallback((()=>{let e=t.current,r=n.current;if(!e||!r||u||"none"===o)return;let i=e,s=i.getBoundingClientRect().left+i.offsetWidth-18,l=i.getBoundingClientRect().top+i.offsetHeight/2;0===document.querySelectorAll(yh).length&&document.elementFromPoint(s,l)===e||(a(!0),c(!0))}),[t,n,u,o]);return e.useEffect((()=>{let e=t.current;if(!e||"none"===o)return;function n(){let t=window.innerWidth-e.getBoundingClientRect().right;l(t>=40)}n();let r=setInterval(n,1e3);return()=>{clearInterval(r)}}),[t,o]),e.useEffect((()=>{let e=r||document.activeElement===n.current;if("none"===o||!e)return;let t=setTimeout(p,0),i=setTimeout(p,2e3),a=setTimeout(p,5e3),s=setTimeout((()=>{c(!0)}),6e3);return()=>{clearTimeout(t),clearTimeout(i),clearTimeout(a),clearTimeout(s)}}),[n,r,o,p]),{hasPWMBadge:i,willPushPWMBadge:d,PWM_BADGE_SPACE_WIDTH:"40px"}}({containerRef:T,inputRef:D,pushPasswordManagerStrategy:v,isFocused:F}),Q=e.useCallback((e=>{let t=e.currentTarget.value.slice(0,d);t.length>0&&O&&!O.test(t)?e.preventDefault():("string"==typeof P&&t.length<P.length&&document.dispatchEvent(new Event("selectionchange")),I(t))}),[d,I,P,O]),H=e.useCallback((()=>{var e;if(D.current){let t=Math.min(D.current.value.length,d-1),n=D.current.value.length;null==(e=D.current)||e.setSelectionRange(t,n),_(t),z(n)}V(!0)}),[d]),q=e.useCallback((e=>{var t,n;let o=D.current;if(!(y||N.current.isIOS&&e.clipboardData&&o))return;let r=e.clipboardData.getData("text/plain"),i=y?y(r):r;console.log({_content:r,content:i}),e.preventDefault();let a=null==(t=D.current)?void 0:t.selectionStart,s=null==(n=D.current)?void 0:n.selectionEnd,l=(a!==s?C.slice(0,a)+i+C.slice(s):C.slice(0,a)+i+C.slice(a)).slice(0,d);if(l.length>0&&O&&!O.test(l))return;o.value=l,I(l);let u=Math.min(l.length,d-1),c=l.length;o.setSelectionRange(u,c),_(u),z(c)}),[d,I,O,C]),K=e.useMemo((()=>({position:"relative",cursor:E.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"})),[E.disabled]),W=e.useMemo((()=>({position:"absolute",inset:0,width:U.willPushPWMBadge?`calc(100% + ${U.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:U.willPushPWMBadge?`inset(0 ${U.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:p,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"})),[U.PWM_BADGE_SPACE_WIDTH,U.willPushPWMBadge,p]),G=e.useMemo((()=>e.createElement("input",((e,t)=>ph(e,fh(t)))(((e,t)=>{for(var n in t||(t={}))hh.call(t,n)&&vh(e,n,t[n]);if(mh)for(var n of mh(t))gh.call(t,n)&&vh(e,n,t[n]);return e})({autoComplete:E.autoComplete||"one-time-code"},E),{"data-input-otp":!0,"data-input-otp-placeholder-shown":0===C.length||void 0,"data-input-otp-mss":L,"data-input-otp-mse":j,inputMode:h,pattern:null==O?void 0:O.source,"aria-placeholder":m,style:W,maxLength:d,value:C,ref:D,onPaste:e=>{var t;q(e),null==(t=E.onPaste)||t.call(E,e)},onChange:Q,onMouseOver:e=>{var t;M(!0),null==(t=E.onMouseOver)||t.call(E,e)},onMouseLeave:e=>{var t;M(!1),null==(t=E.onMouseLeave)||t.call(E,e)},onFocus:e=>{var t;H(),null==(t=E.onFocus)||t.call(E,e)},onBlur:e=>{var t;V(!1),null==(t=E.onBlur)||t.call(E,e)}}))),[Q,H,q,h,W,d,j,L,E,null==O?void 0:O.source,C]),Z=e.useMemo((()=>({slots:Array.from({length:d}).map(((e,t)=>{var n;let o=F&&null!==L&&null!==j&&(L===j&&t===L||t>=L&&t<j),r=void 0!==C[t]?C[t]:null;return{char:r,placeholderChar:void 0!==C[0]?null:null!=(n=null==m?void 0:m[t])?n:null,isActive:o,hasFakeCaret:o&&null===r}})),isFocused:F,isHovering:!E.disabled&&R})),[F,R,d,j,L,E.disabled,C]),X=e.useMemo((()=>w?w(Z):e.createElement(Ah.Provider,{value:Z},x)),[x,Z,w]);return e.createElement(e.Fragment,null,null!==b&&e.createElement("noscript",null,e.createElement("style",null,b)),e.createElement("div",{ref:T,"data-input-otp-container":!0,style:K,className:A},X,e.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},G)))}));function wh(e,t){try{e.insertRule(t)}catch(e){console.error("input-otp could not insert CSS rule:",t)}}bh.displayName="Input";var xh="\n[data-input-otp] {\n --nojs-bg: white !important;\n --nojs-fg: black !important;\n\n background-color: var(--nojs-bg) !important;\n color: var(--nojs-fg) !important;\n caret-color: var(--nojs-fg) !important;\n letter-spacing: .25em !important;\n text-align: center !important;\n border: 1px solid var(--nojs-fg) !important;\n border-radius: 4px !important;\n width: 100% !important;\n}\n@media (prefers-color-scheme: dark) {\n [data-input-otp] {\n --nojs-bg: black !important;\n --nojs-fg: white !important;\n }\n}",Eh="pinInput-module_inputContainer__bzkiK",kh="pinInput-module_inputWrapper__Rsd-3",Sh="pinInput-module_input__SL8JP",Ch="pinInput-module_container__654rA",Ph="pinInput-module_slotContainer__3E97Z",Ih="pinInput-module_slot__LVnFB",Oh="pinInput-module_slotActive__P42oc",Dh="pinInput-module_slotWithValue__jfZsL",Th="pinInput-module_fakeCaret__QTYND",Nh="pinInput-module_fakeDash__7httn";We(".pinInput-module_inputContainer__bzkiK {\n list-style: none;\n display: flex;\n justify-content: center;\n gap: 0.5rem;\n}\n\n.pinInput-module_inputWrapper__Rsd-3 {\n width: 3.5rem;\n height: 4.5rem;\n border: 2px solid transparent;\n border-radius: 6px;\n}\n\n\n.pinInput-module_input__SL8JP {\n height: 100%;\n width: 100%;\n font-size: 2rem;\n font-weight: 600;\n text-align: center;\n background: var(--primary-ghost-white);\n color: var(--primary-trust-blue-100);\n caret-color: var(--product-love-pink-100);\n border: none;\n border: 0.25rem solid white;\n border-radius: 6px;\n outline: none;\n overflow: hidden;\n width: 48px;\n}\n\n.pinInput-module_input__SL8JP:hover {\n outline: 2px solid var(--product-greyscale-20);\n}\n\n.pinInput-module_input__SL8JP:focus {\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.pinInput-module_input__SL8JP:not(:-moz-placeholder-shown) {\n background: var(--secondary-blue-20);\n outline: 2px solid var(--product-greyscale-100);\n\n}\n\n.pinInput-module_input__SL8JP:not(:placeholder-shown) {\n background: var(--secondary-blue-20);\n outline: 2px solid var(--product-greyscale-100);\n\n}\n\n.pinInput-module_input__SL8JP+error {\n border: 2px solid var(--product-error);\n}\n\n@media only screen and (min-width: 678px) {\n\n .pinInput-module_inputContainer__bzkiK {\n gap: 1rems\n }\n\n .pinInput-module_input__SL8JP {\n width: 3.5rem;\n }\n}\n\n/* NEW */\n\n.pinInput-module_container__654rA {\n display: flex; \n align-items: center; \n justify-content: center;\n}\n\n.pinInput-module_container__654rA:disabled {\n opacity: 0.3;\n}\n\n.pinInput-module_slotContainer__3E97Z {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 0.5rem;\n}\n\n.pinInput-module_slot__LVnFB {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 2rem;\n font-weight: 600;\n background: var(--product-greyscale-0);\n color: var(--primary-trust-blue-100);\n border-radius: 6px;\n width: 48px;\n height: 72px;\n}\n\n.pinInput-module_slotActive__P42oc {\n border: 2px solid var(--product-greyscale-20);\n outline: 2px solid var(--product-greyscale-100);\n}\n\n.pinInput-module_slotWithValue__jfZsL {\n border: 4px solid var(--product-greyscale-0);\n background: var(--secondary-blue-20);\n padding: .25rem;\n}\n\n\n\n.pinInput-module_fakeCaret__QTYND {\n display: flex; \n position: absolute; \n top: 0;\n right: 0;\n bottom: 0;\n left: 0; \n justify-content: center; \n align-items: center; \n pointer-events: none; \n animation: pinInput-module_caret-blink__KJ2y6 1.2s ease-out infinite;\n}\n\n.pinInput-module_fakeCaret__QTYND > div {\n width: 2px; \n height: 2rem; \n border-radius: 9999px;\n background-color: var(--product-love-pink-100); \n}\n\n.pinInput-module_fakeDash__7httn {\n display: flex; \n justify-content: center; \n align-items: center; \n width: 1.5rem; \n}\n\n.pinInput-module_fakeDash__7httn > div {\n width: 0.75rem; \n height: 0.25rem; \n}\n\n@media only screen and (min-width: 678px) { \n .pinInput-module_slotContainer__3E97Z {\n gap: 1.5rem;\n }\n\n .pinInput-module_fakeDash__7httn {\n width: 3rem;\n }\n} \n\n@keyframes pinInput-module_caret-blink__KJ2y6 {\n 0%, 70%, 100% {\n opacity: 1;\n }\n 20%, 50% {\n opacity: 0;\n }\n}\n");var Bh=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"],Rh=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Mh,C({},s,{field:C({},n)}))}})},Mh=function(e){var r=e.field,i=e.isNumeric,a=void 0===i||i,l=e.isOTP,u=void 0===l||l,c=e.isPassword,d=void 0!==c&&c,p=e.label,f=e.length,m=void 0===f?6:f,h=s([]),g=n(Array.from({length:m},(function(){return null}))),v=g[0],y=g[1],A=function(e){var t=e.target,n=h.current.indexOf(t),o=h.current[n+1];!a||/^\d+$/.test(t.value)?(y((function(e){var o=I([],e,!0);return o[n]=t.value,o})),o&&o.focus()):t.value=""},b=function(e){e.preventDefault();var t=e.clipboardData;if(t){var n=t.getData("text").split("");y((function(e){var t=I([],e,!0);return n.slice(0,m).forEach((function(e,n){t[n]=e})),t}))}},w=function(e){if(!(e.target.value.length<m)){e.preventDefault();var t=e.target.value.split("");y((function(e){var n=I([],e,!0);return t.slice(0,m).forEach((function(e,t){n[t]=e})),n}))}};return o((function(){r.onChange(v.join(""))}),[r,v]),t.createElement("label",null,t.createElement("span",{className:"sr-only"},p),t.createElement("ul",{className:Eh},Array.from({length:m}).map((function(e,n){return t.createElement("li",{className:kh,key:"otp-".concat(n,"$")},t.createElement("input",{"aria-label":"pin input ".concat(n+1," of ").concat(m),autoCapitalize:"none",autoComplete:u?"one-time-code":"false",className:Sh,inputMode:a?"numeric":"text",maxLength:6,onInput:A,onInputCapture:w,onKeyDown:function(e){"Backspace"===e.key&&function(e){null==e||e.preventDefault();var t=e.target,n=h.current.indexOf(t),o=h.current[n-1];t.value="",y((function(e){var t=I([],e,!0);return t[n]=null,t})),o&&o.focus()}(e),"Delete"===e.key&&function(e){null==e||e.preventDefault();var t=e.target,n=h.current.indexOf(t);t.value="",y((function(e){var t=I([],e,!0);return t[n]=null,t}))}(e),Bh.includes(e.key)&&function(e){e.preventDefault();var t=e.target,n=h.current.indexOf(t),o=h.current[n-1];if("Home"===e.key&&h.current[0].focus(),"End"===e.key&&h.current[m-1].focus(),"ArrowLeft"===e.key&&o&&o.focus(),"ArrowRight"===e.key){var r=h.current[n+1];r&&r.focus()}}(e)},onPaste:b,pattern:a?"[0-9]*":"",placeholder:" ",ref:function(e){e&&(h.current[n]=e)},type:d?"password":"text",value:v[n]||""}))}))),t.createElement("input",C({"aria-hidden":"true",className:"sr-only",tabIndex:-1},r)))},Fh=function(){return t.createElement("div",{className:Nh},t.createElement("div",{className:"w-3 h-1 rounded-full bg-border"}))},Vh=function(){return t.createElement("div",{className:Th},t.createElement("div",null))},Lh=function(e){var n=e.char,o=e.hasFakeCaret,r=e.isActive,i=e.placeholderChar;return t.createElement("div",{className:Ke(Ih,r&&Oh,n&&Dh)},t.createElement("div",null,null!=n?n:i),o&&t.createElement(Vh,null))},_h=function(e){return t.createElement(bh,C({containerClassName:Ch,maxLength:6,render:function(e){var n=e.slots;return t.createElement(t.Fragment,null,t.createElement("div",{className:Ph},n.slice(0,3).map((function(e,n){return t.createElement(Lh,C({key:n},e))}))),t.createElement(Fh,null),t.createElement("div",{className:Ph},n.slice(3).map((function(e,n){return t.createElement(Lh,C({key:n},e))}))))}},e))};var jh,zh="dismissableLayer.update",Uh="dismissableLayer.pointerDownOutside",Qh="dismissableLayer.focusOutside",Hh=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qh=e.forwardRef(((t,n)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=t,c=e.useContext(Hh),[d,p]=e.useState(null),f=d?.ownerDocument??globalThis?.document,[,m]=e.useState({}),h=B(n,(e=>p(e))),g=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=g.indexOf(v),b=d?g.indexOf(d):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,x=b>=A,E=function(t,n=globalThis?.document){const o=z(t),r=e.useRef(!1),i=e.useRef((()=>{}));return e.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let t=function(){Wh(Uh,o,r,{discrete:!0})};const r={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);r.current=!1},t=window.setTimeout((()=>{n.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}}),[n,o]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...c.branches].some((e=>e.contains(t)));x&&!n&&(i?.(e),s?.(e),e.defaultPrevented||l?.())}),f),k=function(t,n=globalThis?.document){const o=z(t),r=e.useRef(!1);return e.useEffect((()=>{const e=e=>{if(e.target&&!r.current){Wh(Qh,o,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)}),[n,o]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...c.branches].some((e=>e.contains(t)))||(a?.(e),s?.(e),e.defaultPrevented||l?.())}),f);return function(t,n=globalThis?.document){const o=z(t);e.useEffect((()=>{const e=e=>{"Escape"===e.key&&o(e)};return n.addEventListener("keydown",e,{capture:!0}),()=>n.removeEventListener("keydown",e,{capture:!0})}),[o,n])}((e=>{b===c.layers.size-1&&(r?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))}),f),e.useEffect((()=>{if(d)return o&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(jh=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Kh(),()=>{o&&1===c.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=jh)}}),[d,f,o,c]),e.useEffect((()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Kh())}),[d,c]),e.useEffect((()=>{const e=()=>m({});return document.addEventListener(zh,e),()=>document.removeEventListener(zh,e)}),[]),y(Q.div,{...u,ref:h,style:{pointerEvents:w?x?"auto":"none":void 0,...t.style},onFocusCapture:j(t.onFocusCapture,k.onFocusCapture),onBlurCapture:j(t.onBlurCapture,k.onBlurCapture),onPointerDownCapture:j(t.onPointerDownCapture,E.onPointerDownCapture)})}));qh.displayName="DismissableLayer";function Kh(){const e=new CustomEvent(zh);document.dispatchEvent(e)}function Wh(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?function(e,t){e&&w.flushSync((()=>e.dispatchEvent(t)))}(r,i):r.dispatchEvent(i)}e.forwardRef(((t,n)=>{const o=e.useContext(Hh),r=e.useRef(null),i=B(n,r);return e.useEffect((()=>{const e=r.current;if(e)return o.branches.add(e),()=>{o.branches.delete(e)}}),[o.branches]),y(Q.div,{...t,ref:i})})).displayName="DismissableLayerBranch";var Gh=0;function Zh(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xh="focusScope.autoFocusOnMount",Yh="focusScope.autoFocusOnUnmount",Jh={bubbles:!1,cancelable:!0},$h=e.forwardRef(((t,n)=>{const{loop:o=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=t,[l,u]=e.useState(null),c=z(i),d=z(a),p=e.useRef(null),f=B(n,(e=>u(e))),m=e.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;e.useEffect((()=>{if(r){let e=function(e){if(m.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:og(p.current,{select:!0})},t=function(e){if(m.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||og(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&og(l)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return l&&o.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[r,l,m.paused]),e.useEffect((()=>{if(l){rg.add(m);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(Xh,Jh);l.addEventListener(Xh,c),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(og(o,{select:t}),document.activeElement!==n)return}((e=eg(l),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&og(l))}return()=>{l.removeEventListener(Xh,c),setTimeout((()=>{const e=new CustomEvent(Yh,Jh);l.addEventListener(Yh,d),l.dispatchEvent(e),e.defaultPrevented||og(t??document.body,{select:!0}),l.removeEventListener(Yh,d),rg.remove(m)}),0)}}var e}),[l,c,d,m]);const h=e.useCallback((e=>{if(!o&&!r)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[r,i]=function(e){const t=eg(e),n=tg(t,e),o=tg(t.reverse(),e);return[n,o]}(t);r&&i?e.shiftKey||n!==i?e.shiftKey&&n===r&&(e.preventDefault(),o&&og(i,{select:!0})):(e.preventDefault(),o&&og(r,{select:!0})):n===t&&e.preventDefault()}}),[o,r,m.paused]);return y(Q.div,{tabIndex:-1,...s,ref:f,onKeyDown:h})}));function eg(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function tg(e,t){for(const n of e)if(!ng(n,{upTo:t}))return n}function ng(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function og(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}$h.displayName="FocusScope";var rg=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=ig(e,t),e.unshift(t)},remove(t){e=ig(e,t),e[0]?.resume()}}}();function ig(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}const ag=["top","right","bottom","left"],sg=Math.min,lg=Math.max,ug=Math.round,cg=Math.floor,dg=e=>({x:e,y:e}),pg={left:"right",right:"left",bottom:"top",top:"bottom"},fg={start:"end",end:"start"};function mg(e,t,n){return lg(e,sg(t,n))}function hg(e,t){return"function"==typeof e?e(t):e}function gg(e){return e.split("-")[0]}function vg(e){return e.split("-")[1]}function yg(e){return"x"===e?"y":"x"}function Ag(e){return"y"===e?"height":"width"}function bg(e){return["top","bottom"].includes(gg(e))?"y":"x"}function wg(e){return yg(bg(e))}function xg(e){return e.replace(/start|end/g,(e=>fg[e]))}function Eg(e){return e.replace(/left|right|bottom|top/g,(e=>pg[e]))}function kg(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Sg(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Cg(e,t,n){let{reference:o,floating:r}=e;const i=bg(t),a=wg(t),s=Ag(a),l=gg(t),u="y"===i,c=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,p=o[s]/2-r[s]/2;let f;switch(l){case"top":f={x:c,y:o.y-r.height};break;case"bottom":f={x:c,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-r.width,y:d};break;default:f={x:o.x,y:o.y}}switch(vg(t)){case"start":f[a]-=p*(n&&u?-1:1);break;case"end":f[a]+=p*(n&&u?-1:1)}return f}async function Pg(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=hg(t,e),m=kg(f),h=s[p?"floating"===d?"reference":"floating":d],g=Sg(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),A=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=Sg(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-b.top+m.top)/A.y,bottom:(b.bottom-g.bottom+m.bottom)/A.y,left:(g.left-b.left+m.left)/A.x,right:(b.right-g.right+m.right)/A.x}}function Ig(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Og(e){return ag.some((t=>e[t]>=0))}function Dg(){return"undefined"!=typeof window}function Tg(e){return Rg(e)?(e.nodeName||"").toLowerCase():"#document"}function Ng(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Bg(e){var t;return null==(t=(Rg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Rg(e){return!!Dg()&&(e instanceof Node||e instanceof Ng(e).Node)}function Mg(e){return!!Dg()&&(e instanceof Element||e instanceof Ng(e).Element)}function Fg(e){return!!Dg()&&(e instanceof HTMLElement||e instanceof Ng(e).HTMLElement)}function Vg(e){return!(!Dg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Ng(e).ShadowRoot)}function Lg(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Hg(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function _g(e){return["table","td","th"].includes(Tg(e))}function jg(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function zg(e){const t=Ug(),n=Mg(e)?Hg(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Ug(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qg(e){return["html","body","#document"].includes(Tg(e))}function Hg(e){return Ng(e).getComputedStyle(e)}function qg(e){return Mg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Kg(e){if("html"===Tg(e))return e;const t=e.assignedSlot||e.parentNode||Vg(e)&&e.host||Bg(e);return Vg(t)?t.host:t}function Wg(e){const t=Kg(e);return Qg(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fg(t)&&Lg(t)?t:Wg(t)}function Gg(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Wg(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Ng(r);if(i){const e=Zg(a);return t.concat(a,a.visualViewport||[],Lg(r)?r:[],e&&n?Gg(e):[])}return t.concat(r,Gg(r,[],n))}function Zg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xg(e){const t=Hg(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Fg(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=ug(n)!==i||ug(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}function Yg(e){return Mg(e)?e:e.contextElement}function Jg(e){const t=Yg(e);if(!Fg(t))return dg(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=Xg(t);let a=(i?ug(n.width):n.width)/o,s=(i?ug(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const $g=dg(0);function ev(e){const t=Ng(e);return Ug()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:$g}function tv(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=Yg(e);let a=dg(1);t&&(o?Mg(o)&&(a=Jg(o)):a=Jg(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ng(e))&&t}(i,n,o)?ev(i):dg(0);let l=(r.left+s.x)/a.x,u=(r.top+s.y)/a.y,c=r.width/a.x,d=r.height/a.y;if(i){const e=Ng(i),t=o&&Mg(o)?Ng(o):o;let n=e,r=Zg(n);for(;r&&o&&t!==n;){const e=Jg(r),t=r.getBoundingClientRect(),o=Hg(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,u*=e.y,c*=e.x,d*=e.y,l+=i,u+=a,n=Ng(r),r=Zg(n)}}return Sg({width:c,height:d,x:l,y:u})}function nv(e,t){const n=qg(e).scrollLeft;return t?t.left+n:tv(Bg(e)).left+n}function ov(e,t,n){void 0===n&&(n=!1);const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(n?0:nv(e,o)),y:o.top+t.scrollTop}}function rv(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=Ng(e),o=Bg(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const e=Ug();(!e||e&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)o=function(e){const t=Bg(e),n=qg(e),o=e.ownerDocument.body,r=lg(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=lg(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+nv(e);const s=-n.scrollTop;return"rtl"===Hg(o).direction&&(a+=lg(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:s}}(Bg(e));else if(Mg(t))o=function(e,t){const n=tv(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=Fg(e)?Jg(e):dg(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n);else{const n=ev(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Sg(o)}function iv(e,t){const n=Kg(e);return!(n===t||!Mg(n)||Qg(n))&&("fixed"===Hg(n).position||iv(n,t))}function av(e,t,n){const o=Fg(t),r=Bg(t),i="fixed"===n,a=tv(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=dg(0);if(o||!o&&!i)if(("body"!==Tg(t)||Lg(r))&&(s=qg(t)),o){const e=tv(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else r&&(l.x=nv(r));const u=!r||o||i?dg(0):ov(r,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}function sv(e){return"static"===Hg(e).position}function lv(e,t){if(!Fg(e)||"fixed"===Hg(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Bg(e)===n&&(n=n.ownerDocument.body),n}function uv(e,t){const n=Ng(e);if(jg(e))return n;if(!Fg(e)){let t=Kg(e);for(;t&&!Qg(t);){if(Mg(t)&&!sv(t))return t;t=Kg(t)}return n}let o=lv(e,t);for(;o&&_g(o)&&sv(o);)o=lv(o,t);return o&&Qg(o)&&sv(o)&&!zg(o)?n:o||function(e){let t=Kg(e);for(;Fg(t)&&!Qg(t);){if(zg(t))return t;if(jg(t))return null;t=Kg(t)}return null}(e)||n}const cv={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i="fixed"===r,a=Bg(o),s=!!t&&jg(t.floating);if(o===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=dg(1);const c=dg(0),d=Fg(o);if((d||!d&&!i)&&(("body"!==Tg(o)||Lg(a))&&(l=qg(o)),Fg(o))){const e=tv(o);u=Jg(o),c.x=e.x+o.clientLeft,c.y=e.y+o.clientTop}const p=!a||d||i?dg(0):ov(a,l,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}},getDocumentElement:Bg,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?jg(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let o=Gg(e,[],!1).filter((e=>Mg(e)&&"body"!==Tg(e))),r=null;const i="fixed"===Hg(e).position;let a=i?Kg(e):e;for(;Mg(a)&&!Qg(a);){const t=Hg(a),n=zg(a);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||Lg(a)&&!n&&iv(e,a))?o=o.filter((e=>e!==a)):r=t,a=Kg(a)}return t.set(e,o),o}(t,this._c):[].concat(n),o],a=i[0],s=i.reduce(((e,n)=>{const o=rv(t,n,r);return e.top=lg(o.top,e.top),e.right=sg(o.right,e.right),e.bottom=sg(o.bottom,e.bottom),e.left=lg(o.left,e.left),e}),rv(t,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:uv,getElementRects:async function(e){const t=this.getOffsetParent||uv,n=this.getDimensions,o=await n(e.floating);return{reference:av(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Xg(e);return{width:t,height:n}},getScale:Jg,isElement:Mg,isRTL:function(e){return"rtl"===Hg(e).direction}};function dv(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,u=Yg(e),c=r||i?[...u?Gg(u):[],...Gg(t)]:[];c.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=u&&s?function(e,t){let n,o=null;const r=Bg(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const f={rootMargin:-cg(c)+"px "+-cg(r.clientWidth-(u+d))+"px "+-cg(r.clientHeight-(c+p))+"px "+-cg(u)+"px",threshold:lg(0,sg(1,l))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{o=new IntersectionObserver(h,{...f,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(h,f)}o.observe(e)}(!0),i}(u,n):null;let p,f=-1,m=null;a&&(m=new ResizeObserver((e=>{let[o]=e;o&&o.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),u&&!l&&m.observe(u),m.observe(t));let h=l?tv(e):null;return l&&function t(){const o=tv(e);!h||o.x===h.x&&o.y===h.y&&o.width===h.width&&o.height===h.height||n();h=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}const pv=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=gg(n),s=vg(n),l="y"===bg(n),u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=hg(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof m&&(f="end"===s?-1*m:m),l?{x:f*c,y:p*u}:{x:p*u,y:f*c}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},fv=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=hg(e,t),u={x:n,y:o},c=await Pg(t,l),d=bg(gg(r)),p=yg(d);let f=u[p],m=u[d];if(i){const e="y"===p?"bottom":"right";f=mg(f+c["y"===p?"top":"left"],f,f-c[e])}if(a){const e="y"===d?"bottom":"right";m=mg(m+c["y"===d?"top":"left"],m,m-c[e])}const h=s.fn({...t,[p]:f,[d]:m});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[p]:i,[d]:a}}}}}},mv=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=hg(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=gg(r),y=bg(s),A=gg(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(u.floating)),w=p||(A||!h?[Eg(s)]:function(e){const t=Eg(e);return[xg(e),t,xg(t)]}(s)),x="none"!==m;!p&&x&&w.push(...function(e,t,n,o){const r=vg(e);let i=function(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:a;default:return[]}}(gg(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(xg)))),i}(s,h,m,b));const E=[s,...w],k=await Pg(t,g),S=[];let C=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&S.push(k[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const o=vg(e),r=wg(e),i=Ag(r);let a="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Eg(a)),[a,Eg(a)]}(r,a,b);S.push(k[e[0]],k[e[1]])}if(C=[...C,{placement:r,overflows:S}],!S.every((e=>e<=0))){var P,I;const e=((null==(P=i.flip)?void 0:P.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(I=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:I.placement;if(!n)switch(f){case"bestFit":{var O;const e=null==(O=C.filter((e=>{if(x){const t=bg(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}},hv=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...u}=hg(e,t),c=await Pg(t,u),d=gg(r),p=vg(r),f="y"===bg(r),{width:m,height:h}=i.floating;let g,v;"top"===d||"bottom"===d?(g=d,v=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,g="end"===p?"top":"bottom");const y=h-c.top-c.bottom,A=m-c.left-c.right,b=sg(h-c[g],y),w=sg(m-c[v],A),x=!t.middlewareData.shift;let E=b,k=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=A),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(E=y),x&&!p){const e=lg(c.left,0),t=lg(c.right,0),n=lg(c.top,0),o=lg(c.bottom,0);f?k=m-2*(0!==e||0!==t?e+t:lg(c.left,c.right)):E=h-2*(0!==n||0!==o?n+o:lg(c.top,c.bottom))}await l({...t,availableWidth:k,availableHeight:E});const S=await a.getDimensions(s.floating);return m!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}},gv=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=hg(e,t);switch(o){case"referenceHidden":{const e=Ig(await Pg(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Og(e)}}}case"escaped":{const e=Ig(await Pg(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Og(e)}}}default:return{}}}}},vv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=hg(e,t)||{};if(null==u)return{};const d=kg(c),p={x:n,y:o},f=wg(r),m=Ag(f),h=await a.getDimensions(u),g="y"===f,v=g?"top":"left",y=g?"bottom":"right",A=g?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[f]-p[f]-i.floating[m],w=p[f]-i.reference[f],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let E=x?x[A]:0;E&&await(null==a.isElement?void 0:a.isElement(x))||(E=s.floating[A]||i.floating[m]);const k=b/2-w/2,S=E/2-h[m]/2-1,C=sg(d[v],S),P=sg(d[y],S),I=C,O=E-h[m]-P,D=E/2-h[m]/2+k,T=mg(I,D,O),N=!l.arrow&&null!=vg(r)&&D!==T&&i.reference[m]/2-(D<I?C:P)-h[m]/2<0,B=N?D<I?D-I:D-O:0;return{[f]:p[f]+B,data:{[f]:T,centerOffset:D-T-B,...N&&{alignmentOffset:B}},reset:N}}}),yv=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=hg(e,t),c={x:n,y:o},d=bg(r),p=yg(d);let f=c[p],m=c[d];const h=hg(s,t),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+g.mainAxis,n=i.reference[p]+i.reference[e]-g.mainAxis;f<t?f=t:f>n&&(f=n)}if(u){var v,y;const e="y"===p?"width":"height",t=["top","left"].includes(gg(r)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),o=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[p]:f,[d]:m}}}},Av=(e,t,n)=>{const o=new Map,r={platform:cv,...n},i={...r.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=Cg(u,o,l),p=o,f={},m=0;for(let n=0;n<s.length;n++){const{name:i,fn:h}=s[n],{x:g,y:v,data:y,reset:A}=await h({x:c,y:d,initialPlacement:o,placement:p,strategy:r,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,f={...f,[i]:{...f[i],...y}},A&&m<=50&&(m++,"object"==typeof A&&(A.placement&&(p=A.placement),A.rects&&(u=!0===A.rects?await a.getElementRects({reference:e,floating:t,strategy:r}):A.rects),({x:c,y:d}=Cg(u,p,l))),n=-1)}return{x:c,y:d,placement:p,strategy:r,middlewareData:f}})(e,t,{...r,platform:i})};var bv="undefined"!=typeof document?d:o;function wv(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(!wv(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;0!=o--;){const n=r[o];if(("_owner"!==n||!e.$$typeof)&&!wv(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function xv(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ev(e,t){const n=xv(e);return Math.round(t*n)/n}function kv(t){const n=e.useRef(t);return bv((()=>{n.current=t})),n}const Sv=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:o}="function"==typeof e?e(t):e;return n&&(r=n,{}.hasOwnProperty.call(r,"current"))?null!=n.current?vv({element:n.current,padding:o}).fn(t):{}:n?vv({element:n,padding:o}).fn(t):{};var r}}),Cv=(e,t)=>({...pv(e),options:[e,t]}),Pv=(e,t)=>({...fv(e),options:[e,t]}),Iv=(e,t)=>({...yv(e),options:[e,t]}),Ov=(e,t)=>({...mv(e),options:[e,t]}),Dv=(e,t)=>({...hv(e),options:[e,t]}),Tv=(e,t)=>({...gv(e),options:[e,t]}),Nv=(e,t)=>({...Sv(e),options:[e,t]});var Bv=e.forwardRef(((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return y(Q.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:y("polygon",{points:"0,0 30,0 15,10"})})}));Bv.displayName="Arrow";var Rv=Bv;function Mv(...t){const n=t[0];if(1===t.length)return n;const o=()=>{const o=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const r=o.reduce(((e,{useScope:n,scopeName:o})=>({...e,...n(t)[`__scope${o}`]})),{});return e.useMemo((()=>({[`__scope${n.scopeName}`]:r})),[r])}};return o.scopeName=n.scopeName,o}var Fv="Popper",[Vv,Lv]=function(t,n=[]){let o=[];const r=()=>{const n=o.map((t=>e.createContext(t)));return function(o){const r=o?.[t]||n;return e.useMemo((()=>({[`__scope${t}`]:{...o,[t]:r}})),[o,r])}};return r.scopeName=t,[function(n,r){const i=e.createContext(r),a=o.length;function s(n){const{scope:o,children:r,...s}=n,l=o?.[t][a]||i,u=e.useMemo((()=>s),Object.values(s));return y(l.Provider,{value:u,children:r})}return o=[...o,r],s.displayName=n+"Provider",[s,function(o,s){const l=s?.[t][a]||i,u=e.useContext(l);if(u)return u;if(void 0!==r)return r;throw new Error(`\`${o}\` must be used within \`${n}\``)}]},Mv(r,...n)]}(Fv),[_v,jv]=Vv(Fv),zv=t=>{const{__scopePopper:n,children:o}=t,[r,i]=e.useState(null);return y(_v,{scope:n,anchor:r,onAnchorChange:i,children:o})};zv.displayName=Fv;var Uv="PopperAnchor",Qv=e.forwardRef(((t,n)=>{const{__scopePopper:o,virtualRef:r,...i}=t,a=jv(Uv,o),s=e.useRef(null),l=B(n,s);return e.useEffect((()=>{a.onAnchorChange(r?.current||s.current)})),r?null:y(Q.div,{...i,ref:l})}));Qv.displayName=Uv;var Hv="PopperContent",[qv,Kv]=Vv(Hv),Wv=e.forwardRef(((t,n)=>{const{__scopePopper:o,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:h,...g}=t,v=jv(Hv,o),[A,b]=e.useState(null),x=B(n,(e=>b(e))),[E,k]=e.useState(null),S=Mt(E),C=S?.width??0,P=S?.height??0,I=r+("center"!==a?"-"+a:""),O="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},D=Array.isArray(c)?c:[c],T=D.length>0,N={padding:O,boundary:D.filter(Yv),altBoundary:T},{refs:R,floatingStyles:M,placement:F,isPositioned:V,middlewareData:L}=function(t){void 0===t&&(t={});const{placement:n="bottom",strategy:o="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=t,[d,p]=e.useState({x:0,y:0,strategy:o,placement:n,middlewareData:{},isPositioned:!1}),[f,m]=e.useState(r);wv(f,r)||m(r);const[h,g]=e.useState(null),[v,y]=e.useState(null),A=e.useCallback((e=>{e!==k.current&&(k.current=e,g(e))}),[]),b=e.useCallback((e=>{e!==S.current&&(S.current=e,y(e))}),[]),x=a||h,E=s||v,k=e.useRef(null),S=e.useRef(null),C=e.useRef(d),P=null!=u,I=kv(u),O=kv(i),D=kv(c),T=e.useCallback((()=>{if(!k.current||!S.current)return;const e={placement:n,strategy:o,middleware:f};O.current&&(e.platform=O.current),Av(k.current,S.current,e).then((e=>{const t={...e,isPositioned:!1!==D.current};N.current&&!wv(C.current,t)&&(C.current=t,w.flushSync((()=>{p(t)})))}))}),[f,n,o,O,D]);bv((()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[c]);const N=e.useRef(!1);bv((()=>(N.current=!0,()=>{N.current=!1})),[]),bv((()=>{if(x&&(k.current=x),E&&(S.current=E),x&&E){if(I.current)return I.current(x,E,T);T()}}),[x,E,T,I,P]);const B=e.useMemo((()=>({reference:k,floating:S,setReference:A,setFloating:b})),[A,b]),R=e.useMemo((()=>({reference:x,floating:E})),[x,E]),M=e.useMemo((()=>{const e={position:o,left:0,top:0};if(!R.floating)return e;const t=Ev(R.floating,d.x),n=Ev(R.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...xv(R.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:t,top:n}}),[o,l,R.floating,d.x,d.y]);return e.useMemo((()=>({...d,update:T,refs:B,elements:R,floatingStyles:M})),[d,T,B,R,M])}({strategy:"fixed",placement:I,whileElementsMounted:(...e)=>dv(...e,{animationFrame:"always"===m}),elements:{reference:v.anchor},middleware:[Cv({mainAxis:i+P,alignmentAxis:s}),u&&Pv({mainAxis:!0,crossAxis:!1,limiter:"partial"===p?Iv():void 0,...N}),u&&Ov({...N}),Dv({...N,apply:({elements:e,rects:t,availableWidth:n,availableHeight:o})=>{const{width:r,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${o}px`),a.setProperty("--radix-popper-anchor-width",`${r}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),E&&Nv({element:E,padding:l}),Jv({arrowWidth:C,arrowHeight:P}),f&&Tv({strategy:"referenceHidden",...N})]}),[_,j]=$v(F),U=z(h);H((()=>{V&&U?.()}),[V,U]);const q=L.arrow?.x,K=L.arrow?.y,W=0!==L.arrow?.centerOffset,[G,Z]=e.useState();return H((()=>{A&&Z(window.getComputedStyle(A).zIndex)}),[A]),y("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...M,transform:V?M.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:y(qv,{scope:o,placedSide:_,onArrowChange:k,arrowX:q,arrowY:K,shouldHideArrow:W,children:y(Q.div,{"data-side":_,"data-align":j,...g,ref:x,style:{...g.style,animation:V?void 0:"none"}})})})}));Wv.displayName=Hv;var Gv="PopperArrow",Zv={top:"bottom",right:"left",bottom:"top",left:"right"},Xv=e.forwardRef((function(e,t){const{__scopePopper:n,...o}=e,r=Kv(Gv,n),i=Zv[r.placedSide];return y("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:y(Rv,{...o,ref:t,style:{...o.style,display:"block"}})})}));function Yv(e){return null!==e}Xv.displayName=Gv;var Jv=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,i=0!==r.arrow?.centerOffset,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,u]=$v(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(r.arrow?.x??0)+a/2,p=(r.arrow?.y??0)+s/2;let f="",m="";return"bottom"===l?(f=i?c:`${d}px`,m=-s+"px"):"top"===l?(f=i?c:`${d}px`,m=`${o.floating.height+s}px`):"right"===l?(f=-s+"px",m=i?c:`${p}px`):"left"===l&&(f=`${o.floating.width+s}px`,m=i?c:`${p}px`),{data:{x:f,y:m}}}});function $v(e){const[t,n="center"]=e.split("-");return[t,n]}var ey=zv,ty=Qv,ny=Wv,oy=Xv,ry=e.forwardRef(((t,n)=>{const{container:o,...r}=t,[i,a]=e.useState(!1);H((()=>a(!0)),[]);const s=o||i&&globalThis?.document?.body;return s?x.createPortal(y(Q.div,{...r,ref:n}),s):null}));ry.displayName="Portal";var iy=new WeakMap,ay=new WeakMap,sy={},ly=0,uy=function(e){return e&&(e.host||uy(e.parentNode))},cy=function(e,t,n,o){var r=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=uy(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);sy[n]||(sy[n]=new WeakMap);var i=sy[n],a=[],s=new Set,l=new Set(r),u=function(e){e&&!s.has(e)&&(s.add(e),u(e.parentNode))};r.forEach(u);var c=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(o),r=null!==t&&"false"!==t,l=(iy.get(e)||0)+1,u=(i.get(e)||0)+1;iy.set(e,l),i.set(e,u),a.push(e),1===l&&r&&ay.set(e,!0),1===u&&e.setAttribute(n,"true"),r||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}}))};return c(t),s.clear(),ly++,function(){a.forEach((function(e){var t=iy.get(e)-1,r=i.get(e)-1;iy.set(e,t),i.set(e,r),t||(ay.has(e)||e.removeAttribute(o),ay.delete(e)),r||e.removeAttribute(n)})),--ly||(iy=new WeakMap,iy=new WeakMap,ay=new WeakMap,sy={})}},dy=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live]"))),cy(o,r,n,"aria-hidden")):function(){return null}},py="right-scroll-bar-position",fy="width-before-scroll-bar";function my(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var hy="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,gy=new WeakMap;function vy(e,t){var o,r,i,a=(o=null,r=function(t){return e.forEach((function(e){return my(e,t)}))},(i=n((function(){return{value:o,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}}))[0]).callback=r,i.facade);return hy((function(){var t=gy.get(a);if(t){var n=new Set(t),o=new Set(e),r=a.current;n.forEach((function(e){o.has(e)||my(e,null)})),o.forEach((function(e){n.has(e)||my(e,r)}))}gy.set(a,e)}),[e]),a}function yy(e){return e}var Ay=function(t){var n=t.sideCar,o=P(t,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return e.createElement(r,C({},o))};Ay.isSideCarExport=!0;var by=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=yy);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter((function(e){return e!==r}))}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=C({async:!0,ssr:!1},e),t}(),wy=function(){},xy=e.forwardRef((function(t,n){var o=e.useRef(null),r=e.useState({onScrollCapture:wy,onWheelCapture:wy,onTouchMoveCapture:wy}),i=r[0],a=r[1],s=t.forwardProps,l=t.children,u=t.className,c=t.removeScrollBar,d=t.enabled,p=t.shards,f=t.sideCar,m=t.noIsolation,h=t.inert,g=t.allowPinchZoom,v=t.as,y=void 0===v?"div":v,A=t.gapMode,b=P(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=f,x=vy([o,n]),E=C(C({},b),i);return e.createElement(e.Fragment,null,d&&e.createElement(w,{sideCar:by,removeScrollBar:c,shards:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:o,gapMode:A}),s?e.cloneElement(e.Children.only(l),C(C({},E),{ref:x})):e.createElement(y,C({},E,{className:u,ref:x}),l))}));xy.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xy.classNames={fullWidth:fy,zeroRight:py};function Ey(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var ky=function(){var e=0,t=null;return{add:function(n){var o,r;0==e&&(t=Ey())&&(r=n,(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Sy=function(){var t,n=(t=ky(),function(n,o){e.useEffect((function(){return t.add(n),function(){t.remove()}}),[n&&o])});return function(e){var t=e.styles,o=e.dynamic;return n(t,o),null}},Cy={left:0,top:0,right:0,gap:0},Py=function(e){return parseInt(e||"",10)||0},Iy=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Cy;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[Py(n),Py(o),Py(r)]}(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Oy=Sy(),Dy="data-scroll-locked",Ty=function(e,t,n,o){var r=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(s,"px ").concat(o,";\n }\n body[").concat(Dy,"] {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(py," {\n right: ").concat(s,"px ").concat(o,";\n }\n \n .").concat(fy," {\n margin-right: ").concat(s,"px ").concat(o,";\n }\n \n .").concat(py," .").concat(py," {\n right: 0 ").concat(o,";\n }\n \n .").concat(fy," .").concat(fy," {\n margin-right: 0 ").concat(o,";\n }\n \n body[").concat(Dy,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Ny=function(){var e=parseInt(document.body.getAttribute(Dy)||"0",10);return isFinite(e)?e:0},By=function(t){var n=t.noRelative,o=t.noImportant,r=t.gapMode,i=void 0===r?"margin":r;e.useEffect((function(){return document.body.setAttribute(Dy,(Ny()+1).toString()),function(){var e=Ny()-1;e<=0?document.body.removeAttribute(Dy):document.body.setAttribute(Dy,e.toString())}}),[]);var a=e.useMemo((function(){return Iy(i)}),[i]);return e.createElement(Oy,{styles:Ty(a,!n,i,o?"":"!important")})},Ry=!1;if("undefined"!=typeof window)try{var My=Object.defineProperty({},"passive",{get:function(){return Ry=!0,!0}});window.addEventListener("test",My,My),window.removeEventListener("test",My,My)}catch(e){Ry=!1}var Fy=!!Ry&&{passive:!1},Vy=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Ly=function(e,t){var n=t.ownerDocument,o=t;do{if("undefined"!=typeof ShadowRoot&&o instanceof ShadowRoot&&(o=o.host),_y(e,o)){var r=jy(e,o);if(r[1]>r[2])return!0}o=o.parentNode}while(o&&o!==n.body);return!1},_y=function(e,t){return"v"===e?function(e){return Vy(e,"overflowY")}(t):function(e){return Vy(e,"overflowX")}(t)},jy=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},zy=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uy=function(e){return[e.deltaX,e.deltaY]},Qy=function(e){return e&&"current"in e?e.current:e},Hy=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},qy=0,Ky=[];function Wy(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Gy,Zy=(Gy=function(t){var n=e.useRef([]),o=e.useRef([0,0]),r=e.useRef(),i=e.useState(qy++)[0],a=e.useState(Sy)[0],s=e.useRef(t);e.useEffect((function(){s.current=t}),[t]),e.useEffect((function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var e=I([t.lockRef.current],(t.shards||[]).map(Qy),!0).filter(Boolean);return e.forEach((function(e){return e.classList.add("allow-interactivity-".concat(i))})),function(){document.body.classList.remove("block-interactivity-".concat(i)),e.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(i))}))}}}),[t.inert,t.lockRef.current,t.shards]);var l=e.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var n,i=zy(e),a=o.current,l="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=Ly(d,c);if(!p)return!0;if(p?n=d:(n="v"===d?"h":"v",p=Ly(d,c)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=n),!n)return!0;var f=r.current||n;return function(e,t,n,o,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*o,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,p=0;do{var f=jy(e,s),m=f[0],h=f[1]-f[2]-i*m;(m||h)&&_y(e,s)&&(d+=h,p+=m),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return c&&(Math.abs(d)<1||!r)?u=!0:c||!(Math.abs(p)<1)&&r||(u=!0),u}(f,t,e,"h"===f?l:u,!0)}),[]),u=e.useCallback((function(e){var t=e;if(Ky.length&&Ky[Ky.length-1]===a){var o="deltaY"in t?Uy(t):zy(t),r=n.current.filter((function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&(n=e.delta,r=o,n[0]===r[0]&&n[1]===r[1]);var n,r}))[0];if(r&&r.should)t.cancelable&&t.preventDefault();else if(!r){var i=(s.current.shards||[]).map(Qy).filter(Boolean).filter((function(e){return e.contains(t.target)}));(i.length>0?l(t,i[0]):!s.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),c=e.useCallback((function(e,t,o,r){var i={name:e,delta:t,target:o,should:r,shadowParent:Wy(o)};n.current.push(i),setTimeout((function(){n.current=n.current.filter((function(e){return e!==i}))}),1)}),[]),d=e.useCallback((function(e){o.current=zy(e),r.current=void 0}),[]),p=e.useCallback((function(e){c(e.type,Uy(e),e.target,l(e,t.lockRef.current))}),[]),f=e.useCallback((function(e){c(e.type,zy(e),e.target,l(e,t.lockRef.current))}),[]);e.useEffect((function(){return Ky.push(a),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",u,Fy),document.addEventListener("touchmove",u,Fy),document.addEventListener("touchstart",d,Fy),function(){Ky=Ky.filter((function(e){return e!==a})),document.removeEventListener("wheel",u,Fy),document.removeEventListener("touchmove",u,Fy),document.removeEventListener("touchstart",d,Fy)}}),[]);var m=t.removeScrollBar,h=t.inert;return e.createElement(e.Fragment,null,h?e.createElement(a,{styles:Hy(i)}):null,m?e.createElement(By,{gapMode:t.gapMode}):null)},by.useMedium(Gy),Ay),Xy=e.forwardRef((function(t,n){return e.createElement(xy,C({},t,{ref:n,sideCar:Zy}))}));Xy.classNames=xy.classNames;var Yy="Popover",[Jy,$y]=O(Yy,[Lv]),eA=Lv(),[tA,nA]=Jy(Yy),oA=t=>{const{__scopePopover:n,children:o,open:r,defaultOpen:i,onOpenChange:a,modal:s=!1}=t,l=eA(n),u=e.useRef(null),[c,d]=e.useState(!1),[p=!1,f]=U({prop:r,defaultProp:i,onChange:a});return y(ey,{...l,children:y(tA,{scope:n,contentId:Z(),triggerRef:u,open:p,onOpenChange:f,onOpenToggle:e.useCallback((()=>f((e=>!e))),[f]),hasCustomAnchor:c,onCustomAnchorAdd:e.useCallback((()=>d(!0)),[]),onCustomAnchorRemove:e.useCallback((()=>d(!1)),[]),modal:s,children:o})})};oA.displayName=Yy;var rA="PopoverAnchor";e.forwardRef(((t,n)=>{const{__scopePopover:o,...r}=t,i=nA(rA,o),a=eA(o),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=i;return e.useEffect((()=>(s(),()=>l())),[s,l]),y(ty,{...a,...r,ref:n})})).displayName=rA;var iA="PopoverTrigger",aA=e.forwardRef(((e,t)=>{const{__scopePopover:n,...o}=e,r=nA(iA,n),i=eA(n),a=B(t,r.triggerRef),s=y(Q.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":AA(r.open),...o,ref:a,onClick:j(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?s:y(ty,{asChild:!0,...i,children:s})}));aA.displayName=iA;var sA="PopoverPortal",[lA,uA]=Jy(sA,{forceMount:void 0}),cA=e=>{const{__scopePopover:t,forceMount:n,children:o,container:r}=e,i=nA(sA,t);return y(lA,{scope:t,forceMount:n,children:y(q,{present:n||i.open,children:y(ry,{asChild:!0,container:r,children:o})})})};cA.displayName=sA;var dA="PopoverContent",pA=e.forwardRef(((e,t)=>{const n=uA(dA,e.__scopePopover),{forceMount:o=n.forceMount,...r}=e,i=nA(dA,e.__scopePopover);return y(q,{present:o||i.open,children:i.modal?y(fA,{...r,ref:t}):y(mA,{...r,ref:t})})}));pA.displayName=dA;var fA=e.forwardRef(((t,n)=>{const o=nA(dA,t.__scopePopover),r=e.useRef(null),i=B(n,r),a=e.useRef(!1);return e.useEffect((()=>{const e=r.current;if(e)return dy(e)}),[]),y(Xy,{as:R,allowPinchZoom:!0,children:y(hA,{...t,ref:i,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:j(t.onCloseAutoFocus,(e=>{e.preventDefault(),a.current||o.triggerRef.current?.focus()})),onPointerDownOutside:j(t.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;a.current=o}),{checkForDefaultPrevented:!1}),onFocusOutside:j(t.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})})})})),mA=e.forwardRef(((t,n)=>{const o=nA(dA,t.__scopePopover),r=e.useRef(!1),i=e.useRef(!1);return y(hA,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{t.onCloseAutoFocus?.(e),e.defaultPrevented||(r.current||o.triggerRef.current?.focus(),e.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:e=>{t.onInteractOutside?.(e),e.defaultPrevented||(r.current=!0,"pointerdown"===e.detail.originalEvent.type&&(i.current=!0));const n=e.target,a=o.triggerRef.current?.contains(n);a&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&i.current&&e.preventDefault()}})})),hA=e.forwardRef(((t,n)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:d,...p}=t,f=nA(dA,o),m=eA(o);return e.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Zh()),document.body.insertAdjacentElement("beforeend",e[1]??Zh()),Gh++,()=>{1===Gh&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),Gh--}}),[]),y($h,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:y(qh,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1),children:y(ny,{"data-state":AA(f.open),role:"dialog",id:f.contentId,...m,...p,ref:n,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})})),gA="PopoverClose",vA=e.forwardRef(((e,t)=>{const{__scopePopover:n,...o}=e,r=nA(gA,n);return y(Q.button,{type:"button",...o,ref:t,onClick:j(e.onClick,(()=>r.onOpenChange(!1)))})}));vA.displayName=gA;var yA=e.forwardRef(((e,t)=>{const{__scopePopover:n,...o}=e,r=eA(n);return y(oy,{...r,...o,ref:t})}));function AA(e){return e?"open":"closed"}yA.displayName="PopoverArrow";var bA=oA,wA=aA,xA=cA,EA=pA,kA=vA,SA=yA,CA="popover-module_popoverContent__PIQxs",PA="popover-module_popoverClose__B-VLf",IA="popover-module_popoverArrow__TR3-g";We(".popover-module_popoverContent__PIQxs {\n border-radius: 12px;\n padding: 20px;\n width: 260px;\n background-color: white;\n box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px;\n animation-duration: 400ms;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n will-change: transform, opacity;\n}\n\n.popover-module_popoverClose__B-VLf {\n all: unset;\n cursor: pointer;\n font-family: inherit;\n border-radius: 100%;\n height: 25px;\n width: 25px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 5px;\n right: 5px;\n}\n\n.popover-module_popoverArrow__TR3-g {\n fill: white;\n}\n");var OA={Content:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(xA,null,t.createElement(EA,C({className:CA},o),t.createElement("div",null,n),t.createElement(kA,{"aria-label":"Close",className:PA},t.createElement(ft,{icon:"close"})),t.createElement(SA,{className:IA})))},Root:function(e){return t.createElement(bA,C({},e))},Trigger:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(wA,C({asChild:!0},o),n)}},DA={container:"progress-indicator-module_container__Q5btZ","container--full-width":"progress-indicator-module_container--full-width__QEQ02","container--medium":"progress-indicator-module_container--medium__bGFSg","container--small":"progress-indicator-module_container--small__gj6-6",progress:"progress-indicator-module_progress__r9GtM","progress-bar":"progress-indicator-module_progress-bar__NKEuA",label:"progress-indicator-module_label__nASe1"};We(".progress-indicator-module_container__Q5btZ {\n}\n\n.progress-indicator-module_container--full-width__QEQ02 {\n width: 100%;\n}\n\n.progress-indicator-module_container--medium__bGFSg {\n width: 265px;\n}\n\n.progress-indicator-module_container--small__gj6-6 {\n width: 100px;\n}\n\n.progress-indicator-module_progress__r9GtM {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 0.25rem;\n background: var(--product-greyscale-0);\n border-radius: 0.125rem;\n}\n\n.progress-indicator-module_progress-bar__NKEuA {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n background: var(--product-success);\n border-radius: 0.125rem;\n}\n\n.progress-indicator-module_label__nASe1 {\n margin-top: var(--product-spacing-1);\n}\n");var TA=function(e){var n=e.current,o=void 0===n?1:n,r=e.label,i=e.max,a=void 0===i?10:i,s=e.size,l=void 0===s?"full-width":s;return t.createElement("div",{className:Ke(DA.container,l&&DA["container--".concat(l)])},t.createElement("div",{className:DA.progress},t.createElement("div",{className:DA["progress-bar"],style:{width:"".concat(o/a*100,"%")}})),r&&t.createElement(ht,{className:DA.label,variant:"tag"},r),t.createElement(ht,{className:"sr-only"},"Step ",o," of ",a))};function NA(...t){const n=t[0];if(1===t.length)return n;const o=()=>{const o=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const r=o.reduce(((e,{useScope:n,scopeName:o})=>({...e,...n(t)[`__scope${o}`]})),{});return e.useMemo((()=>({[`__scope${n.scopeName}`]:r})),[r])}};return o.scopeName=n.scopeName,o}var BA="rovingFocusGroup.onEntryFocus",RA={bubbles:!1,cancelable:!0},MA="RovingFocusGroup",[FA,VA,LA]=_(MA),[_A,jA]=function(t,n=[]){let o=[];const r=()=>{const n=o.map((t=>e.createContext(t)));return function(o){const r=o?.[t]||n;return e.useMemo((()=>({[`__scope${t}`]:{...o,[t]:r}})),[o,r])}};return r.scopeName=t,[function(n,r){const i=e.createContext(r),a=o.length;function s(n){const{scope:o,children:r,...s}=n,l=o?.[t][a]||i,u=e.useMemo((()=>s),Object.values(s));return y(l.Provider,{value:u,children:r})}return o=[...o,r],s.displayName=n+"Provider",[s,function(o,s){const l=s?.[t][a]||i,u=e.useContext(l);if(u)return u;if(void 0!==r)return r;throw new Error(`\`${o}\` must be used within \`${n}\``)}]},NA(r,...n)]}(MA,[LA]),[zA,UA]=_A(MA),QA=e.forwardRef(((e,t)=>y(FA.Provider,{scope:e.__scopeRovingFocusGroup,children:y(FA.Slot,{scope:e.__scopeRovingFocusGroup,children:y(HA,{...e,ref:t})})})));QA.displayName=MA;var HA=e.forwardRef(((t,n)=>{const{__scopeRovingFocusGroup:o,orientation:r,loop:i=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:d=!1,...p}=t,f=e.useRef(null),m=B(n,f),h=pe(a),[g=null,v]=U({prop:s,defaultProp:l,onChange:u}),[A,b]=e.useState(!1),w=z(c),x=VA(o),E=e.useRef(!1),[k,S]=e.useState(0);return e.useEffect((()=>{const e=f.current;if(e)return e.addEventListener(BA,w),()=>e.removeEventListener(BA,w)}),[w]),y(zA,{scope:o,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:e.useCallback((e=>v(e)),[v]),onItemShiftTab:e.useCallback((()=>b(!0)),[]),onFocusableItemAdd:e.useCallback((()=>S((e=>e+1))),[]),onFocusableItemRemove:e.useCallback((()=>S((e=>e-1))),[]),children:y(Q.div,{tabIndex:A||0===k?-1:0,"data-orientation":r,...p,ref:m,style:{outline:"none",...t.style},onMouseDown:j(t.onMouseDown,(()=>{E.current=!0})),onFocus:j(t.onFocus,(e=>{const t=!E.current;if(e.target===e.currentTarget&&t&&!A){const t=new CustomEvent(BA,RA);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=x().filter((e=>e.focusable));GA([e.find((e=>e.active)),e.find((e=>e.id===g)),...e].filter(Boolean).map((e=>e.ref.current)),d)}}E.current=!1})),onBlur:j(t.onBlur,(()=>b(!1)))})})})),qA="RovingFocusGroupItem",KA=e.forwardRef(((t,n)=>{const{__scopeRovingFocusGroup:o,focusable:r=!0,active:i=!1,tabStopId:a,...s}=t,l=Z(),u=a||l,c=UA(qA,o),d=c.currentTabStopId===u,p=VA(o),{onFocusableItemAdd:f,onFocusableItemRemove:m}=c;return e.useEffect((()=>{if(r)return f(),()=>m()}),[r,f,m]),y(FA.ItemSlot,{scope:o,id:u,focusable:r,active:i,children:y(Q.span,{tabIndex:d?0:-1,"data-orientation":c.orientation,...s,ref:n,onMouseDown:j(t.onMouseDown,(e=>{r?c.onItemFocus(u):e.preventDefault()})),onFocus:j(t.onFocus,(()=>c.onItemFocus(u))),onKeyDown:j(t.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const o=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(o)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)?void 0:WA[o]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=p().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();const i=r.indexOf(e.currentTarget);r=c.loop?(o=i+1,(n=r).map(((e,t)=>n[(o+t)%n.length]))):r.slice(i+1)}setTimeout((()=>GA(r)))}var n,o}))})})}));KA.displayName=qA;var WA={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function GA(e,t=!1){const n=document.activeElement;for(const o of e){if(o===n)return;if(o.focus({preventScroll:t}),document.activeElement!==n)return}}var ZA=QA,XA=KA,YA="Radio",[JA,$A]=O(YA),[eb,tb]=JA(YA),nb=e.forwardRef(((t,n)=>{const{__scopeRadio:o,name:r,checked:i=!1,required:a,disabled:s,value:l="on",onCheck:u,form:c,...d}=t,[p,f]=e.useState(null),m=B(n,(e=>f(e))),h=e.useRef(!1),g=!p||(c||!!p.closest("form"));return b(eb,{scope:o,checked:i,disabled:s,children:[y(Q.button,{type:"button",role:"radio","aria-checked":i,"data-state":ab(i),"data-disabled":s?"":void 0,disabled:s,value:l,...d,ref:m,onClick:j(t.onClick,(e=>{i||u?.(),g&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())}))}),g&&y(ib,{control:p,bubbles:!h.current,name:r,value:l,checked:i,required:a,disabled:s,form:c,style:{transform:"translateX(-100%)"}})]})}));nb.displayName=YA;var ob="RadioIndicator",rb=e.forwardRef(((e,t)=>{const{__scopeRadio:n,forceMount:o,...r}=e,i=tb(ob,n);return y(q,{present:o||i.checked,children:y(Q.span,{"data-state":ab(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:t})})}));rb.displayName=ob;var ib=t=>{const{control:n,checked:o,bubbles:r=!0,...i}=t,a=e.useRef(null),s=Rt(o),l=Mt(n);return e.useEffect((()=>{const e=a.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set;if(s!==o&&n){const t=new Event("click",{bubbles:r});n.call(e,o),e.dispatchEvent(t)}}),[s,o,r]),y("input",{type:"radio","aria-hidden":!0,defaultChecked:o,...i,tabIndex:-1,ref:a,style:{...t.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function ab(e){return e?"checked":"unchecked"}var sb=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],lb="RadioGroup",[ub,cb]=O(lb,[jA,$A]),db=jA(),pb=$A(),[fb,mb]=ub(lb),hb=e.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,name:o,defaultValue:r,value:i,required:a=!1,disabled:s=!1,orientation:l,dir:u,loop:c=!0,onValueChange:d,...p}=e,f=db(n),m=pe(u),[h,g]=U({prop:i,defaultProp:r,onChange:d});return y(fb,{scope:n,name:o,required:a,disabled:s,value:h,onValueChange:g,children:y(ZA,{asChild:!0,...f,orientation:l,dir:m,loop:c,children:y(Q.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":s?"":void 0,dir:m,...p,ref:t})})})}));hb.displayName=lb;var gb="RadioGroupItem",vb=e.forwardRef(((t,n)=>{const{__scopeRadioGroup:o,disabled:r,...i}=t,a=mb(gb,o),s=a.disabled||r,l=db(o),u=pb(o),c=e.useRef(null),d=B(n,c),p=a.value===i.value,f=e.useRef(!1);return e.useEffect((()=>{const e=e=>{sb.includes(e.key)&&(f.current=!0)},t=()=>f.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}}),[]),y(XA,{asChild:!0,...l,focusable:!s,active:p,children:y(nb,{disabled:s,required:a.required,checked:p,...u,...i,name:a.name,ref:d,onCheck:()=>a.onValueChange(i.value),onKeyDown:j((e=>{"Enter"===e.key&&e.preventDefault()})),onFocus:j(i.onFocus,(()=>{f.current&&c.current?.click()}))})})}));vb.displayName=gb;var yb=e.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,...o}=e,r=pb(n);return y(rb,{...r,...o,ref:t})}));yb.displayName="RadioGroupIndicator";var Ab=hb,bb=vb,wb=yb,xb={legend:"radioGroup-module_legend__W5JW2","radio-root":"radioGroup-module_radio-root__neUc4","radio-root--horizontal":"radioGroup-module_radio-root--horizontal__M3cUz","radio-root--vertical":"radioGroup-module_radio-root--vertical__4Fc9i","radio-root--error":"radioGroup-module_radio-root--error__ScELD","radio-root-label--error":"radioGroup-module_radio-root-label--error__PrwOr","radio-item":"radioGroup-module_radio-item__zw2CV","radio-indicator":"radioGroup-module_radio-indicator__wJEwS","radio-root--disabled":"radioGroup-module_radio-root--disabled__E1zvJ",circle:"radioGroup-module_circle__yJl7K","radio-circle-container":"radioGroup-module_radio-circle-container__VTvrD"};We(".radioGroup-module_legend__W5JW2 {\n margin-bottom: var(--product-spacing-3);\n}\n\n.radioGroup-module_radio-root__neUc4 {\n display: flex;\n gap: var(--product-spacing-2);\n}\n\n.radioGroup-module_radio-root--horizontal__M3cUz {\n flex-direction: row;\n}\n\n.radioGroup-module_radio-root--vertical__4Fc9i {\n flex-direction: column;\n}\n\n.radioGroup-module_radio-root--error__ScELD {\n border: var(--product-border-width-1) solid var(--product-error);\n border-radius: var(--product-radius-2);\n}\n\n.radioGroup-module_radio-root-label--error__PrwOr {\n color: var(--product-error);\n padding-top: 0.5rem;\n padding-left: 1.5rem;\n margin-bottom: 1rem;\n}\n\n.radioGroup-module_radio-item__zw2CV {\n all: unset;\n position: relative;\n background-color: white;\n border-radius: var(--product-radius-2);\n padding: var(--product-spacing-5) var(--product-spacing-4);\n width: 25%;\n cursor: pointer;\n min-width: 1.5rem;\n min-height: 1.5rem;\n}\n\n.radioGroup-module_radio-item__zw2CV p {\n padding-right: 1.75rem;\n}\n\n.radioGroup-module_radio-item__zw2CV:focus {\n outline: 2px solid var(--product-focus);\n}\n\n/* ! The Circle */\n.radioGroup-module_radio-item__zw2CV::after {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n content: '';\n display: block;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n border: 2px solid black;\n right: calc(var(--product-spacing-4));\n}\n\n/* ! The dot inside the circle */\n.radioGroup-module_radio-indicator__wJEwS::after {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n content: '';\n width: 0.75rem;\n height: 0.75rem;\n border-radius: 50%;\n right: calc(var(--product-spacing-4) + 0.5rem);\n background-color: var(--product-greyscale-100);\n}\n\n.radioGroup-module_radio-root--disabled__E1zvJ .radioGroup-module_radio-item__zw2CV {\n background-color: var(--product-greyscale-20);\n color: var(--product-greyscale-40);\n cursor: not-allowed;\n}\n\n.radioGroup-module_radio-root--disabled__E1zvJ .radioGroup-module_radio-item__zw2CV::after {\n border-color: var(--product-greyscale-40);\n}\n\n.radioGroup-module_radio-root--disabled__E1zvJ .radioGroup-module_radio-indicator__wJEwS::after {\n background-color: var(--product-greyscale-40);\n}\n\n/* Make the first and last radio have rounded corners pointing to each other */\n\n.radioGroup-module_radio-item__zw2CV:first-child {\n border-top-right-radius: var(--product-radius-half);\n border-bottom-right-radius: var(--product-radius-half);\n}\n\n.radioGroup-module_radio-item__zw2CV:not(:first-child) {\n border-top-left-radius: var(--product-radius-half);\n border-bottom-left-radius: var(--product-radius-half);\n}\n\n/* Circle variant */\n\n.radioGroup-module_circle__yJl7K.radioGroup-module_radio-root__neUc4 {\n display: flex;\n flex-direction: column;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV {\n background: none;\n padding: 0;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:hover::after {\n background: var(--product-greyscale-20);\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:focus {\n outline: none;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:focus-visible {\n position: relative;\n outline: 2px solid var(--product-focus);\n outline-offset: 3px;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV::after {\n left: -2px;\n right: auto;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-indicator__wJEwS::after {\n left: calc(0.5rem - 2px);\n right: auto;\n z-index: 2;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:disabled::after {\n border-color: var(--product-greyscale-60);\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:disabled:hover::after {\n background: transparent;\n}\n\n.radioGroup-module_circle__yJl7K .radioGroup-module_radio-item__zw2CV:disabled ~ p {\n color: var(--product-greyscale-60);\n}\n\n.radioGroup-module_radio-circle-container__VTvrD {\n display: flex;\n gap: 0.75rem;\n}\n\n@media (min-width: 768px) {\n .radioGroup-module_radio-item__zw2CV {\n padding: var(--product-spacing-6);\n }\n\n .radioGroup-module_radio-root__neUc4 {\n gap: var(--product-spacing-2);\n }\n\n .radioGroup-module_radio-item__zw2CV::after {\n right: var(--product-spacing-6);\n }\n\n .radioGroup-module_radio-indicator__wJEwS::after {\n right: calc(var(--product-spacing-6) + 0.5rem);\n }\n}\n");var Eb=function(e){var n=e.className,o=P(e,["className"]);return t.createElement(wb,C({className:Ke(n,xb["radio-indicator"])},o))},kb={Indicator:Eb,Item:function(e){var n=e.children,o=e.className,r=e.variant,i=P(e,["children","className","variant"]);return"circle"===r?t.createElement("div",{className:xb["radio-circle-container"]},t.createElement(bb,C({className:Ke(o,xb["radio-item"])},i),t.createElement(Eb,null)),t.createElement(ht,{variant:"form-input-normal"},n)):t.createElement(bb,C({className:Ke(o,xb["radio-item"])},i),t.createElement(ht,{variant:"form-input-normal"},n))},Root:function(e){var n=e.children,o=e.className,r=e.disabled,i=e.label,a=e.name,s=e.variant,l=P(e,["children","className","disabled","label","name","variant"]),u=E(),c=u.control,d=u.formState.errors,p=void 0===d?{}:d,f=p&&p[a];return t.createElement(k,{control:c,name:a,render:function(e){var a=e.field,u=a.onChange,c=P(a,["onChange"]);return t.createElement("fieldset",null,t.createElement(ht,{as:"legend",className:xb.legend,variant:"form-input-normal"},i),t.createElement(Ab,C({className:Ke(o,s&&xb[s],xb["radio-root"],f&&xb["radio-root--error"],r&&xb["radio-root--disabled"]),disabled:r,onValueChange:u},l,c,{"aria-required":void 0}),n),f&&t.createElement("p",{className:xb["radio-root-label--error"]},null==f?void 0:f.message))}})}},Sb="range-module_container__ajA6j",Cb="range-module_range-container__jdaY9",Pb="range-module_slider__wO6mF",Ib="range-module_notches__F4sLq",Ob="range-module_notch__5XVJI",Db="range-module_progress__99Nu5",Tb="range-module_value-container__jOc3H";We(".range-module_container__ajA6j {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n background: var(--product-greyscale-0);\n padding: var(--product-spacing-6);\n border-radius: var(--product-radius-2);\n}\n\n.range-module_container__ajA6j > div {\n width: 70%;\n}\n\n.range-module_container__ajA6j > p {\n width: 30%;\n text-align: center;\n}\n\n.range-module_range-container__jdaY9 {\n position: relative;\n width: 100%;\n height: 24px;\n background: var(--product-greyscale-0);\n}\n\n/* The slider itself */\n.range-module_slider__wO6mF {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%; /* Full-width */\n height: 24px; /* Specified height */\n background: var(--product-greyscale-10); /* Grey background */\n outline: none; /* Remove outline */\n border-radius: var(--product-radius-2);\n accent-color: var(--product-light-blue-80);\n}\n\n/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */\n.range-module_slider__wO6mF::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n position: relative;\n width: 16px; /* Set a specific slider handle width */\n height: 16px; /* Slider handle height */\n background: black; /* Green background */\n cursor: pointer; /* Cursor on hover */\n border-radius: 9999px;\n outline: 1px solid black;\n border: 3px solid white;\n}\n\n.range-module_slider__wO6mF::-moz-range-thumb {\n position: relative;\n width: 16px; /* Set a specific slider handle width */\n height: 16px; /* Slider handle height */\n background: black; /* Green background */\n cursor: pointer; /* Cursor on hover */\n border-radius: 9999px;\n outline: 1px solid black;\n border: 3px solid white;\n}\n\n.range-module_notches__F4sLq {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n pointer-events: none;\n}\n\n.range-module_notch__5XVJI {\n position: absolute;\n width: 5px;\n height: 5px;\n border-radius: 9999px;\n background-color: var(--product-greyscale-60);\n opacity: 0.1;\n}\n\n.range-module_progress__99Nu5 {\n position: absolute;\n height: 100%;\n background: var(--product-light-blue-80);\n pointer-events: none;\n border-radius: var(--product-radius-2);\n}\n\n.range-module_value-container__jOc3H {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n}\n");var Nb=function(e,t,n){return(t-e)/n},Bb=function(e){var n=e.error,o=e.field,r=e.helper,i=e.id,a=e.label,s=e.max,l=void 0===s?1e3:s,u=e.min,c=void 0===u?0:u,d=e.name,p=e.step,f=void 0===p?100:p,m=o.value,h=(m-c)/(l-c)*100;return t.createElement(Up,{error:null==n?void 0:n.message,helper:null==r?void 0:r.message,id:i,label:a},t.createElement("div",{className:Sb},t.createElement("div",{className:Cb},t.createElement("div",{className:Ib},Array.from({length:Nb(c,l,f)}).map((function(e,n){return t.createElement("div",{className:Ob,key:"notch-".concat(n),style:{left:"".concat(n/Nb(c,l,f)*100,"%")}})}))),t.createElement("div",{className:Db,style:{width:"calc(".concat(h||0,"%)")}}),t.createElement("input",C({className:Pb,id:"".concat(d,"-range"),max:l,min:c,step:f,type:"range"},o))),t.createElement(ht,{className:Tb,variant:"content-title-semi-bold"},"£",m)))},Rb=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Bb,C({},s,{field:C({},n)}))}})},Mb="select-module_container__U4BrV",Fb="select-module_input__3CwCK",Vb="select-module_icon__jZoEd",Lb="select-module_input--error__sOEBq",_b="select-module_input--missing__CjrkZ",jb="select-module_input--has-value__gGlN7",zb="select-module_input--placeholder-visible__xUxNC",Ub="select-module_select-label__U0xnf",Qb="select-module_select-label--with-value__CJmTr",Hb="select-module_error-message__vVcNa",qb="select-module_helper-message__lU-8Q",Kb="select-module_input--disabled__nCJZ8",Wb="select-module_icon--disabled__9RkzW";We(".select-module_container__U4BrV {\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.select-module_input__3CwCK {\n all: unset;\n cursor: pointer;\n font-size: var(--product-font-form-input-desktop-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n background: var(--product-greyscale-0);\n border-radius: var(--product-radius-2);\n border: none;\n border: 1px solid transparent;\n padding: 1.25rem 3.87rem 1.25rem 1rem;\n}\n\n.select-module_input__3CwCK:hover {\n border: 1px solid var(--product-greyscale-20);\n}\n\n.select-module_icon__jZoEd {\n position: absolute;\n right: var(--product-spacing-6);\n top: 50%;\n transform: translateY(-50%);\n pointer-events: none;\n}\n\n.select-module_input__3CwCK:active {\n border: 1px solid transparent;\n outline: var(--product-border-width-1) solid var(--product-greyscale-20);\n}\n\n.select-module_input__3CwCK:focus {\n border: var(--product-border-width-1) solid rgba(var(--primary-dark-rgb));\n}\n\n.select-module_input--error__sOEBq {\n border: var(--product-border-width-1) solid var(--product-error);\n color: var(--product-error);\n}\n\n\n.select-module_input--missing__CjrkZ {\n border: var(--product-border-width-1) solid var(--product-yellow);\n}\n\n.select-module_input--missing__CjrkZ:focus,\n.select-module_input--missing__CjrkZ:hover {\n border: var(--product-border-width-1) solid var(--product-yellow);\n}\n\n.select-module_input--has-value__gGlN7 {\n padding-top: 1.88rem;\n padding-left: 1rem;\n padding-right: 0.62rem;\n padding-bottom: 0.62rem;\n}\n\n.select-module_input--placeholder-visible__xUxNC {\n color: #0000;\n}\n\n.select-module_select-label__U0xnf {\n inset: 0;\n position: absolute;\n display: flex;\n align-items: center;\n color: var(--product-greyscale-60);\n pointer-events: none;\n padding: 1.25rem 3.87rem 1.25rem 1rem;\n}\n\n.select-module_select-label--with-value__CJmTr {\n color: var(--product-greyscale-40);\n}\n\n.select-module_error-message__vVcNa {\n display: inline-block;\n padding-top: var(--product-spacing-2);\n padding-left: var(--product-spacing-6);\n color: var(--product-error);\n}\n\n.select-module_helper-message__lU-8Q {\n display: inline-block;\n padding-top: var(--product-spacing-2);\n padding-left: var(--product-spacing-6);\n}\n\n.select-module_input--disabled__nCJZ8 {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-40);\n border: none;\n pointer-events: none;\n}\n\n.select-module_icon--disabled__9RkzW {\n color: var(--product-greyscale-20);\n}\n\n\n@media screen and (min-width: 768px) {\n .select-module_input__3CwCK, .select-module_select-label__U0xnf {\n padding-left: 1.5rem;\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n padding-right: 1.5rem;\n }\n\n .select-module_select-label__U0xnf {\n\n }\n\n .select-module_input--has-value__gGlN7 {\n padding-top: 2.25rem;\n padding-left: 1.5rem;\n padding-bottom: 0.75rem;\n padding-right: 1.5rem;\n\n }\n}\n");var Gb={noValue:{fontSize:"1.25rem",top:0},value:{fontSize:"1rem",fontWeight:"600",top:"-1.25rem"}},Zb=function(e){var n=e.children,o=e.disabled,r=e.error,i=e.field,a=e.helper,s=e.id,l=e.items,u=e.label,c=e.missing,d=e.placeholder,p="placeholder"===i.value;return t.createElement("div",null,t.createElement("div",{className:Mb},t.createElement(ht,{animate:p?"noValue":"value",as:Pp.p,className:Ke("select-label-".concat(s),Ub,!p&&Qb),id:"".concat(s,"-label"),initial:{fontSize:"1.25rem"},variant:"form-input-normal",variants:Gb},u),t.createElement("svg",{className:Ke(Vb,o&&Wb),fill:"none",height:"7",viewBox:"0 0 12 7",width:"12",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M5.9998 6.9499C5.86647 6.9499 5.74147 6.92907 5.6248 6.8874C5.50814 6.84574 5.3998 6.7749 5.2998 6.6749L0.699805 2.0749C0.516471 1.89157 0.424805 1.65824 0.424805 1.3749C0.424805 1.09157 0.516471 0.858236 0.699805 0.674902C0.883138 0.491569 1.11647 0.399902 1.3998 0.399902C1.68314 0.399902 1.91647 0.491569 2.0998 0.674902L5.9998 4.5749L9.89981 0.674902C10.0831 0.491569 10.3165 0.399902 10.5998 0.399902C10.8831 0.399902 11.1165 0.491569 11.2998 0.674902C11.4831 0.858236 11.5748 1.09157 11.5748 1.3749C11.5748 1.65824 11.4831 1.89157 11.2998 2.0749L6.6998 6.6749C6.5998 6.7749 6.49147 6.84574 6.3748 6.8874C6.25814 6.92907 6.13314 6.9499 5.9998 6.9499Z",fill:"black"})),t.createElement("select",C({"aria-labelledby":"select-label-".concat(s),className:Ke(Fb,(null==r?void 0:r.message)&&Lb,o&&Kb,c&&_b,p&&zb,!p&&jb)},i),!n&&d&&t.createElement("option",{value:"placeholder"},d),n,l&&l.map((function(e){return t.createElement("option",C({key:e.id,value:e.id},e.props),e.title)})))),(null==a?void 0:a.message)&&t.createElement(ht,{as:"span",className:qb,variant:"form-helper"},a.message),(null==r?void 0:r.message)&&t.createElement(ht,{as:"p",className:Hb,variant:"form-helper"},r.message))},Xb=function(e){var n=E(),o=n.control,r=n.formState.errors,i=void 0===r?{}:r,a=e.name,s=C(C({},e),{error:i&&i[a]});return t.createElement(k,{control:o,name:a,render:function(e){var n=e.field;return t.createElement(Zb,C({},s,{field:C({},n)}))}})},Yb="skeleton-module_skeleton__ws0BG";We("@keyframes skeleton-module_place-holder-shimmer__NCfI5 {\n from {\n background-position: -1000px 0;\n }\n\n to {\n background-position: 1000px 0;\n }\n}\n\n.skeleton-module_skeleton__ws0BG {\n display: block;\n animation-duration: 2s;\n animation-fill-mode: backwards;\n animation-iteration-count: infinite;\n animation-name: skeleton-module_place-holder-shimmer__NCfI5;\n animation-timing-function: linear;\n background-color: var(--greyscale-0);\n background-image: linear-gradient(\n to right,\n var(--greyscale-0) 10%,\n rgba(172, 197, 213, 0.5) 40%,\n var(--greyscale-0) 60%\n );\n background-repeat: no-repeat;\n background-size: 1000px 100%;\n}\n");var Jb=function(e){var n=e.height,o=void 0===n?"50px":n,r=e.rounded,i=e.width,a=void 0===i?"100%":i;return t.createElement("div",{className:Yb,style:{borderRadius:r?"9999px":"0",height:o,width:a}})},$b="table-module_table__OGgJX";We('.table-module_table__OGgJX {\n border: 1px solid;\n padding: 1rem;\n margin-bottom: 2rem;\n width: 100%;\n text-align: left;\n}\n\n.table-module_table__OGgJX td {\n padding: 1rem;\n}\n\n.table-module_table__OGgJX td:first-child {\n min-width: 125px;\n}\n\n.table-module_table__OGgJX th {\n padding: 1rem;\n}\n\n.table-module_table__OGgJX thead {\n position: relative;\n}\n\n.table-module_table__OGgJX thead::after {\n position: absolute;\n content: "";\n width: 100%;\n height: 1px;\n background: var(--greyscale-100);\n}\n\n.table-module_table__OGgJX tbody > tr:last-child {\n border-bottom: none;\n margin-bottom: 0;\n}\n\n@media (min-width: 768px) {\n .table-module_table__OGgJX tr {\n padding: 2rem;\n }\n}\n\n@media (min-width: 1280px) {\n .table-module_table__OGgJX {\n padding: 1rem;\n margin-bottom: 3rem;\n }\n}\n');var ew=function(e){var n=e.children;return t.createElement("table",{className:$b},n)},tw=function(e){var n=e.children;return t.createElement("th",null,n)},nw=function(e){var n=e.children;return t.createElement("thead",null,n)},ow=function(e){var n=e.children;return t.createElement("tbody",null,n)},rw=function(e){var n=e.children;return t.createElement("tr",null,n)},iw=function(e){var n=e.children;return t.createElement("td",null,n)},aw=function(e){var n=e.children;return t.createElement("tfoot",null,n)},sw={Body:ow,Data:iw,Footer:aw,Head:tw,Header:nw,Root:ew,Row:rw},lw="Tabs",[uw,cw]=O(lw,[jA]),dw=jA(),[pw,fw]=uw(lw),mw=e.forwardRef(((e,t)=>{const{__scopeTabs:n,value:o,onValueChange:r,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=pe(s),[d,p]=U({prop:o,onChange:r,defaultProp:i});return y(pw,{scope:n,baseId:Z(),value:d,onValueChange:p,orientation:a,dir:c,activationMode:l,children:y(Q.div,{dir:c,"data-orientation":a,...u,ref:t})})}));mw.displayName=lw;var hw="TabsList",gw=e.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:o=!0,...r}=e,i=fw(hw,n),a=dw(n);return y(ZA,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:o,children:y(Q.div,{role:"tablist","aria-orientation":i.orientation,...r,ref:t})})}));gw.displayName=hw;var vw="TabsTrigger",yw=e.forwardRef(((e,t)=>{const{__scopeTabs:n,value:o,disabled:r=!1,...i}=e,a=fw(vw,n),s=dw(n),l=ww(a.baseId,o),u=xw(a.baseId,o),c=o===a.value;return y(XA,{asChild:!0,...s,focusable:!r,active:c,children:y(Q.button,{type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...i,ref:t,onMouseDown:j(e.onMouseDown,(e=>{r||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(o)})),onKeyDown:j(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&a.onValueChange(o)})),onFocus:j(e.onFocus,(()=>{const e="manual"!==a.activationMode;c||r||!e||a.onValueChange(o)}))})})}));yw.displayName=vw;var Aw="TabsContent",bw=e.forwardRef(((t,n)=>{const{__scopeTabs:o,value:r,forceMount:i,children:a,...s}=t,l=fw(Aw,o),u=ww(l.baseId,r),c=xw(l.baseId,r),d=r===l.value,p=e.useRef(d);return e.useEffect((()=>{const e=requestAnimationFrame((()=>p.current=!1));return()=>cancelAnimationFrame(e)}),[]),y(q,{present:i||d,children:({present:e})=>y(Q.div,{"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":u,hidden:!e,id:c,tabIndex:0,...s,ref:n,style:{...t.style,animationDuration:p.current?"0s":void 0},children:e&&a})})}));function ww(e,t){return`${e}-trigger-${t}`}function xw(e,t){return`${e}-content-${t}`}bw.displayName=Aw;var Ew=mw,kw=gw,Sw=yw,Cw=bw,Pw={Content:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(Cw,C({},o),n)},List:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(kw,C({},o)," ",n," ")},Root:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(Ew,C({},o),n)},Trigger:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(Sw,C({asChild:!0},o),n)}},Iw={tag:"tag-module_tag__04JA1",primary:"tag-module_primary__0LcgD",secondary:"tag-module_secondary__nNa-v",tertiary:"tag-module_tertiary__i580l",positive:"tag-module_positive__A6gYr",warning:"tag-module_warning__n-gPV",danger:"tag-module_danger__zY8uP",night:"tag-module_night__TNfyq","with-icon":"tag-module_with-icon__ByDLB","circular-icon":"tag-module_circular-icon__05IvA"};We(".tag-module_tag__04JA1 {\n display: flex;\n place-items: center;\n gap: 0.25rem;\n padding: 0.625rem 0.75rem;\n border-radius: 9999px;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n/* Variants */\n\n.tag-module_primary__0LcgD {\n background: var(--product-info);\n color: var(--product-greyscale-0);\n}\n\n.tag-module_secondary__nNa-v {\n background: var(--primary-trust-blue-20);\n color: var(--primary-trust-blue-100);\n}\n\n.tag-module_tertiary__i580l {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-80);\n}\n\n.tag-module_positive__A6gYr {\n background: var(--product-success);\n color: var(--product-greyscale-0);\n}\n\n.tag-module_warning__n-gPV {\n background: var(--product-yellow-20);\n color: var(--product-greyscale-100);\n}\n\n.tag-module_danger__zY8uP {\n background: var(--product-error);\n color: var(--product-greyscale-0);\n}\n\n.tag-module_night__TNfyq {\n background: transparent;\n border: 1px solid var(--product-greyscale-0);\n color: var(--product-greyscale-0);\n}\n\n/* END Variants */\n\n/* Modifiers */\n\n.tag-module_with-icon__ByDLB {\n padding: 0.625rem 0.75rem 0.625rem 0.5rem;\n}\n\n.tag-module_circular-icon__05IvA {\n padding: 0.625rem 0.75rem 0.625rem 0.25rem;\n}\n");var Ow={Content:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(ht,C({variant:"tag"},o),n)},Icon:ft,Root:function(e){var n=e.children,o=e.circularIcon,r=e.className,i=e.icon,a=e.variant,s=void 0===a?"primary":a,l=P(e,["children","circularIcon","className","icon","variant"]);return t.createElement("div",C({className:Ke(r,Iw.tag,Iw[s],i&&Iw["with-icon"],o&&Iw["circular-icon"])},l),n)}},Dw={container:"textField-module_container__Txn58",label:"textField-module_label__VwDxG","label--with-value":"textField-module_label--with-value__L233-",input:"textField-module_input__UUjTT","input--with-value":"textField-module_input--with-value__tIa-4","input--prefix":"textField-module_input--prefix__J9hsm","input--missing":"textField-module_input--missing__WLG2z",prefix:"textField-module_prefix__osD-S",inputDescription:"textField-module_inputDescription__DK-Sy","container--error":"textField-module_container--error__8zkIF",error:"textField-module_error__cJR5Z",helper:"textField-module_helper__GnkHD",rightContent:"textField-module_rightContent__Lqpnh",leftContent:"textField-module_leftContent__jjHHa","input--focus":"textField-module_input--focus__BaFyH","input--hover":"textField-module_input--hover__YAj7R"};We(".textField-module_container__Txn58 {\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.textField-module_label__VwDxG {\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n position: absolute;\n z-index: 3;\n color: var(--product-greyscale-40);\n pointer-events: none;\n left: 1.1rem;\n}\n\n.textField-module_label--with-value__L233- {\n font-weight: var(--product-font-weight-semi-bold);\n font-size: var(--product-font-form-label-mobile-size);\n letter-spacing: var(--product-font-form-label-letter-spacing);\n line-height: var(--product-font-form-label-line-height);\n}\n\n.textField-module_input__UUjTT {\n --BORDER_TOTAL: calc(var(--product-border-width-1) * 2);\n all: unset;\n box-sizing: border-box;\n background: var(--greyscale-0);\n display: block;\n border: var(--product-border-width-1) solid transparent;\n padding: var(--product-spacing-5) var(--product-spacing-4);\n border-radius: var(--product-radius-2);\n font-size: var(--product-font-form-input-mobile-size);\n letter-spacing: var(--product-font-form-input-letter-spacing);\n line-height: var(--product-font-form-input-line-height);\n z-index: 1;\n height: 64px;\n}\n\n.textField-module_input--with-value__tIa-4 {\n padding: var(--product-spacing-2_5) var(--product-spacing-4);\n padding-top: 2rem;\n}\n\n.textField-module_input--prefix__J9hsm {\n padding: var(--product-spacing-2_5) var(--product-spacing-4);\n padding-top: 1.7rem;\n padding-left: 2rem;\n}\n\n.textField-module_input--missing__WLG2z {\n border: var(--product-border-width-1) solid var(--product-yellow);\n}\n\n.textField-module_prefix__osD-S {\n position: absolute;\n left: var(--product-spacing-5);\n top: 63%;\n transform: translateY(-50%);\n z-index: 2;\n font-size: 1.125rem;\n}\n\n.textField-module_inputDescription__DK-Sy {\n display: flex;\n flex-direction: column;\n gap: var(--product-spacing-2);\n padding-top: var(--product-spacing-2);\n padding-bottom: var(--product-spacing-2);\n padding-left: var(--product-spacing-6);\n}\n\n.textField-module_container--error__8zkIF > label {\n color: var(--product-error);\n}\n\n.textField-module_container--error__8zkIF > input {\n border: var(--product-border-width-1) solid var(--product-error);\n}\n\n.textField-module_error__cJR5Z {\n color: var(--product-error);\n}\n\n.textField-module_helper__GnkHD {\n color: rgba(var(--grey-60-rgb));\n}\n\n.textField-module_rightContent__Lqpnh {\n position: absolute;\n right: var(--product-spacing-6);\n top: 50%;\n transform: translateY(-50%);\n z-index: 2;\n}\n\n.textField-module_leftContent__jjHHa {\n position: absolute;\n left: var(--product-spacing-6);\n top: 50%;\n transform: translateY(-50%);\n z-index: 2;\n}\n\n.textField-module_input__UUjTT:focus {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n.textField-module_input--focus__BaFyH {\n border: var(--product-border-width-1) solid var(--product-greyscale-100);\n}\n\n.textField-module_input__UUjTT:hover {\n outline: var(--product-border-width-1) solid var(--product-greyscale-20);\n}\n\n.textField-module_input--hover__YAj7R {\n outline: var(--product-border-width-1) solid var(--product-greyscale-20);\n}\n\n.textField-module_input__UUjTT:disabled {\n background: var(--product-greyscale-20);\n color: var(--product-greyscale-40);\n cursor: not-allowed;\n}\n\n.textField-module_input__UUjTT:disabled:hover {\n outline: none;\n}\n\n@media (min-width: 768px) {\n .textField-module_input__UUjTT {\n padding: var(--product-spacing-6);\n font-size: var(--product-font-form-input-desktop-size);\n height: 72px;\n }\n\n .textField-module_input--with-value__tIa-4 {\n padding: var(--product-spacing-3) var(--product-spacing-6);\n padding-top: 2rem;\n }\n\n .textField-module_input--prefix__J9hsm {\n\n padding-left: 2.5rem;\n }\n\n .textField-module_prefix__osD-S {\n left: var(--product-spacing-6);\n font-size: 1.25rem;\n top: 64%;\n }\n\n .textField-module_label__VwDxG {\n left: 25px;\n font-size: var(--product-font-form-input-desktop-size);\n }\n\n .textField-module_label--with-value__L233- {\n font-size: var(--product-font-form-label-desktop-size);\n }\n}\n");var Tw=i((function(e,o){var r=e.className,i=e.disabled,a=e.disableError,s=e.error,l=e.field,u=l.onBlur,c=l.value,d=P(l,["onBlur","value"]),p=e.helper,f=e.id,m=e.label,h=e.leftContent,g=e.missing,v=e.prefix,y=e.rightContent,A=e.suffix,b=e.type,w=P(e,["className","disabled","disableError","error","field","helper","id","label","leftContent","missing","prefix","rightContent","suffix","type"]),x=ct().width,E=n(!1),k=E[0],S=E[1],I=""!==c||k,O=x>768,D=p||s,T={focused:{fontSize:O?"1rem":".875rem",top:O?"20px":"23px"},notFocused:{fontSize:O?"1.25rem":"1.125rem",top:"50%",transform:"translateY(-50%)"}};return t.createElement("div",null,t.createElement("div",{className:Ke(Dw.container,s&&Dw["container--error"])},t.createElement(Pp.label,{animate:I?"focused":"notFocused",className:Ke(Dw.label,I&&Dw["label--with-value"]),htmlFor:"input-".concat(f),initial:"notFocused",variants:T},m," ",A&&t.createElement("span",null,A)),t.createElement("input",C({"aria-describedby":"error-".concat(f),className:Ke(r,Dw["input--".concat(r)],Dw.input,v&&Dw["input--prefix"],I&&Dw["input--with-value"],g&&Dw["input--missing"]),disabled:i,id:"input-".concat(f),onBlur:function(){u(),S(!1)},onFocus:function(){return S(!0)},type:b,value:c},d,w,{ref:function(e){d.ref(e),o&&(o.current=e)}})),v&&I&&t.createElement("span",{className:Dw.prefix},v),t.createElement("div",null,y&&t.createElement("div",{className:Dw.rightContent},y),h&&t.createElement("div",{className:Dw.leftContent},h))),D&&t.createElement("div",{className:Dw.inputDescription},p&&t.createElement("span",{className:Dw.helper,id:"feedback-".concat(f)},p.message),s&&!a&&t.createElement("span",{className:Dw.error,id:"error-".concat(f)},s.message)))})),Nw=i((function(e,n){var o=E(),r=o.control,i=o.formState.errors,a=void 0===i?{}:i,s=e.name,l=C(C({},e),{error:a&&a[s]});return t.createElement(k,{control:r,name:s,render:function(e){var o=e.field;return t.createElement(Tw,C({ref:n},l,{field:C({},o)}))}})})),Bw="Toast-module_title__-H6R2",Rw="Toast-module_icon-position__t33rU";We(".Toast-module_title__-H6R2 {\n font-weight: 600;\n margin-bottom: 0.375rem;\n}\n\n.Toast-module_icon-position__t33rU {\n position: absolute;\n top: 1.25rem;\n left: 1rem;\n}\n\n.Toast-module_icon-position__t33rU svg {\n fill: var(--product-greyscale-0);\n}\n");var Mw={Description:function(e){var n=e.children;return t.createElement(ht,{variant:"form-helper"},n)},Icon:function(e){return t.createElement("div",{className:Rw},t.createElement(ft,C({},e)))},Root:function(e){var n=e.children;return t.createElement("div",null,n)},Title:function(e){var n=e.children,o=e.className;return t.createElement(ht,{className:Ke(o,Bw),variant:"form-helper"},n)}},Fw=e.forwardRef(((e,t)=>y(Q.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));Fw.displayName="VisuallyHidden";var Vw=Fw,[Lw,_w]=O("Tooltip",[Lv]),jw=Lv(),zw="TooltipProvider",Uw=700,Qw="tooltip.open",[Hw,qw]=Lw(zw),Kw=t=>{const{__scopeTooltip:n,delayDuration:o=Uw,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=t,[s,l]=e.useState(!0),u=e.useRef(!1),c=e.useRef(0);return e.useEffect((()=>{const e=c.current;return()=>window.clearTimeout(e)}),[]),y(Hw,{scope:n,isOpenDelayed:s,delayDuration:o,onOpen:e.useCallback((()=>{window.clearTimeout(c.current),l(!1)}),[]),onClose:e.useCallback((()=>{window.clearTimeout(c.current),c.current=window.setTimeout((()=>l(!0)),r)}),[r]),isPointerInTransitRef:u,onPointerInTransitChange:e.useCallback((e=>{u.current=e}),[]),disableHoverableContent:i,children:a})};Kw.displayName=zw;var Ww="Tooltip",[Gw,Zw]=Lw(Ww),Xw=t=>{const{__scopeTooltip:n,children:o,open:r,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:l}=t,u=qw(Ww,t.__scopeTooltip),c=jw(n),[d,p]=e.useState(null),f=Z(),m=e.useRef(0),h=s??u.disableHoverableContent,g=l??u.delayDuration,v=e.useRef(!1),[A=!1,b]=U({prop:r,defaultProp:i,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(Qw))):u.onClose(),a?.(e)}}),w=e.useMemo((()=>A?v.current?"delayed-open":"instant-open":"closed"),[A]),x=e.useCallback((()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,b(!0)}),[b]),E=e.useCallback((()=>{window.clearTimeout(m.current),m.current=0,b(!1)}),[b]),k=e.useCallback((()=>{window.clearTimeout(m.current),m.current=window.setTimeout((()=>{v.current=!0,b(!0),m.current=0}),g)}),[g,b]);return e.useEffect((()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)}),[]),y(ey,{...c,children:y(Gw,{scope:n,contentId:f,open:A,stateAttribute:w,trigger:d,onTriggerChange:p,onTriggerEnter:e.useCallback((()=>{u.isOpenDelayed?k():x()}),[u.isOpenDelayed,k,x]),onTriggerLeave:e.useCallback((()=>{h?E():(window.clearTimeout(m.current),m.current=0)}),[E,h]),onOpen:x,onClose:E,disableHoverableContent:h,children:o})})};Xw.displayName=Ww;var Yw="TooltipTrigger",Jw=e.forwardRef(((t,n)=>{const{__scopeTooltip:o,...r}=t,i=Zw(Yw,o),a=qw(Yw,o),s=jw(o),l=B(n,e.useRef(null),i.onTriggerChange),u=e.useRef(!1),c=e.useRef(!1),d=e.useCallback((()=>u.current=!1),[]);return e.useEffect((()=>()=>document.removeEventListener("pointerup",d)),[d]),y(ty,{asChild:!0,...s,children:y(Q.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:j(t.onPointerMove,(e=>{"touch"!==e.pointerType&&(c.current||a.isPointerInTransitRef.current||(i.onTriggerEnter(),c.current=!0))})),onPointerLeave:j(t.onPointerLeave,(()=>{i.onTriggerLeave(),c.current=!1})),onPointerDown:j(t.onPointerDown,(()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})})),onFocus:j(t.onFocus,(()=>{u.current||i.onOpen()})),onBlur:j(t.onBlur,i.onClose),onClick:j(t.onClick,i.onClose)})})}));Jw.displayName=Yw;var $w="TooltipPortal",[ex,tx]=Lw($w,{forceMount:void 0}),nx=e=>{const{__scopeTooltip:t,forceMount:n,children:o,container:r}=e,i=Zw($w,t);return y(ex,{scope:t,forceMount:n,children:y(q,{present:n||i.open,children:y(ry,{asChild:!0,container:r,children:o})})})};nx.displayName=$w;var ox="TooltipContent",rx=e.forwardRef(((e,t)=>{const n=tx(ox,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...i}=e,a=Zw(ox,e.__scopeTooltip);return y(q,{present:o||a.open,children:a.disableHoverableContent?y(lx,{side:r,...i,ref:t}):y(ix,{side:r,...i,ref:t})})})),ix=e.forwardRef(((t,n)=>{const o=Zw(ox,t.__scopeTooltip),r=qw(ox,t.__scopeTooltip),i=e.useRef(null),a=B(n,i),[s,l]=e.useState(null),{trigger:u,onClose:c}=o,d=i.current,{onPointerInTransitChange:p}=r,f=e.useCallback((()=>{l(null),p(!1)}),[p]),m=e.useCallback(((e,t)=>{const n=e.currentTarget,o={x:e.clientX,y:e.clientY},r=function(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return o}(o,function(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}(o,n.getBoundingClientRect())),i=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(o.y-n.y)>=(e.y-n.y)*(o.x-n.x)))break;t.pop()}t.push(o)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const o=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(o.y-t.y)>=(e.y-t.y)*(o.x-t.x)))break;n.pop()}n.push(o)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...r,...function(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}(t.getBoundingClientRect())]);l(i),p(!0)}),[p]);return e.useEffect((()=>()=>f()),[f]),e.useEffect((()=>{if(u&&d){const e=e=>m(e,d),t=e=>m(e,u);return u.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}}),[u,d,m,f]),e.useEffect((()=>{if(s){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},o=u?.contains(t)||d?.contains(t),r=!function(e,t){const{x:n,y:o}=e;let r=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,l=t[i].x,u=t[i].y;s>o!=u>o&&n<(l-a)*(o-s)/(u-s)+a&&(r=!r)}return r}(n,s);o?f():r&&(f(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[u,d,s,c,f]),y(lx,{...t,ref:a})})),[ax,sx]=Lw(Ww,{isInside:!1}),lx=e.forwardRef(((t,n)=>{const{__scopeTooltip:o,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:s,...l}=t,u=Zw(ox,o),c=jw(o),{onClose:d}=u;return e.useEffect((()=>(document.addEventListener(Qw,d),()=>document.removeEventListener(Qw,d))),[d]),e.useEffect((()=>{if(u.trigger){const e=e=>{const t=e.target;t?.contains(u.trigger)&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[u.trigger,d]),y(qh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:b(ny,{"data-state":u.stateAttribute,...c,...l,ref:n,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y(F,{children:r}),y(ax,{scope:o,isInside:!0,children:y(Vw,{id:u.contentId,role:"tooltip",children:i||r})})]})})}));rx.displayName=ox;var ux="TooltipArrow",cx=e.forwardRef(((e,t)=>{const{__scopeTooltip:n,...o}=e,r=jw(n);return sx(ux,n).isInside?null:y(oy,{...r,...o,ref:t})}));cx.displayName=ux;var dx=Kw,px=Xw,fx=Jw,mx=nx,hx=rx,gx=cx,vx="Tooltip-module_control__vE3qi",yx="Tooltip-module_tooltip__UA7H9",Ax="Tooltip-module_beak__LxgAN";We(".Tooltip-module_control__vE3qi {\n all: unset;\n display: flex;\n background: black;\n color: white;\n border-radius: 1000px;\n height: -moz-fit-content;\n height: fit-content;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.Tooltip-module_tooltip__UA7H9 {\n padding: 1rem;\n padding-right: 0.5rem;\n background: white;\n max-width: 400px;\n border-radius: 1rem;\n}\n\n.Tooltip-module_beak__LxgAN {\n fill: white;\n}\n");var bx={Content:function(e){var n=e.children,o=e.className,r=P(e,["children","className"]);return t.createElement(mx,null,t.createElement(hx,C({className:Ke(o,yx)},r),n,t.createElement(gx,{className:Ax})))},Root:function(e){var n=e.children,o=P(e,["children"]);return t.createElement(dx,null,t.createElement(px,C({},o),n))},Trigger:function(e){var n=e.children,o=e.className,r=P(e,["children","className"]);return t.createElement(fx,C({className:Ke(o,vx)},r),n)}},wx={"visual--paper":"wrapper-module_visual--paper__SOeqI","visual--bento":"wrapper-module_visual--bento__RzAYJ","visual--bento-icon":"wrapper-module_visual--bento-icon__Bj-F3","orientation--center":"wrapper-module_orientation--center__1tqbT","type--trust-pilot":"wrapper-module_type--trust-pilot__UwSbT"};We(".wrapper-module_visual--paper__SOeqI {\n display: block;\n background: var(--greyscale-0);\n padding: 1.5rem;\n border-radius: 0.25rem;\n height: 100%;\n transition: all 0.5s ease-in-out;\n}\n\n.wrapper-module_visual--paper__SOeqI:hover {\n box-shadow:\n 0px 204px 82px rgba(16, 24, 32, 0.05),\n 0px 115px 69px rgba(16, 24, 32, 0.18),\n 0px 51px 51px rgba(16, 24, 32, 0.31),\n 0px 13px 28px rgba(16, 24, 32, 0.36);\n}\n\n.wrapper-module_visual--bento__RzAYJ {\n color: var(--primary-deep-black);\n display: flex;\n align-items: center;\n gap: 1rem;\n width: 100%;\n background: var(--greyscale-0);\n padding: 1rem;\n border-radius: 0.5rem;\n}\n\n.wrapper-module_visual--bento-icon__Bj-F3 {\n color: var(--primary-deep-black);\n display: flex;\n flex-direction: column;\n gap: 1rem;\n background: var(--greyscale-0);\n padding: 1rem;\n border-radius: 0.5rem;\n width: 100%;\n}\n\n.wrapper-module_orientation--center__1tqbT {\n display: flex;\n flex-direction: column;\n align-items: center;\n align-items: center;\n}\n\n@media (min-width: 768px) {\n .wrapper-module_visual--bento__RzAYJ {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .wrapper-module_visual--paper__SOeqI {\n padding: 2rem;\n }\n\n .wrapper-module_type--trust-pilot__UwSbT {\n max-height: 8.75rem;\n }\n}\n\n@media (min-width: 1280px) {\n .wrapper-module_visual--paper__SOeqI {\n padding: 2.5rem;\n }\n}\n");var xx=function(e){var n=e.as,o=e.children,r=e.className,i=e.variants,a=C({visual:"paper"},i),s=n||"div";return t.createElement(s,{className:Ke(r,wx["visual--".concat(a.visual)],a.orientation&&wx["orientation--".concat(a.orientation)],a.type&&wx["type--".concat(a.type)])},o)};export{Pt as Accordion,Ot as Button,Qm as Buttons,Tt as Callout,Ze as Card,Bt as Cards,Xt as Checkbox,$t as Columns,Fp as ComboBox,Wp as DatePicker,Xp as Disclosure,Vp as Field,Jp as Form,ft as Icon,ef as Link,nf as Loading,Hm as Modal,Ym as NumberField,_h as OTPInput,uh as PhoneField,Rh as PinInput,OA as Popover,TA as ProgressIndicator,kb as RadioGroup,Rb as Range,Xb as Select,Jb as Skeleton,sw as Table,ow as TableBody,iw as TableData,aw as TableFooter,tw as TableHead,nw as TableHeader,ew as TableRoot,rw as TableRow,Pw as Tabs,Ow as Tag,Nw as TextField,Mw as Toast,bx as Tooltip,ht as Typography,xx as Wrapper,Um as useModal};
|