@lifesg/react-design-system 1.0.0-alpha.21 → 1.0.0-alpha.23

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.
Files changed (125) hide show
  1. package/accordion/index.js +5 -5
  2. package/accordion/index.js.map +1 -1
  3. package/alert/index.js +23 -23
  4. package/alert/index.js.map +1 -1
  5. package/animations/index.d.ts +1 -0
  6. package/animations/index.js +3 -4
  7. package/animations/index.js.map +1 -1
  8. package/animations/loading-dots/loading-dots.d.ts +2 -1
  9. package/animations/loading-dots-spinner/loading-dots-spinner.d.ts +2 -1
  10. package/animations/loading-dots-spinner/lottie-animation.d.ts +2 -1
  11. package/animations/loading-spinner/loading-spinner.d.ts +2 -1
  12. package/animations/types.d.ts +10 -0
  13. package/box-container/index.js +18 -18
  14. package/box-container/index.js.map +1 -1
  15. package/breadcrumb/index.js +3 -3
  16. package/breadcrumb/index.js.map +1 -1
  17. package/button/index.js +2 -2
  18. package/button/index.js.map +1 -1
  19. package/calendar/index.js +57 -57
  20. package/calendar/index.js.map +1 -1
  21. package/card/index.js +1 -1
  22. package/card/index.js.map +1 -1
  23. package/checkbox/index.js +3 -3
  24. package/checkbox/index.js.map +1 -1
  25. package/cjs/index.js +704 -238
  26. package/cjs/index.js.map +1 -1
  27. package/color/index.js +1 -1
  28. package/color/index.js.map +1 -1
  29. package/color/types.d.ts +1 -0
  30. package/date-input/index.js +5 -3
  31. package/date-input/index.js.map +1 -1
  32. package/design-token/index.js +6 -4
  33. package/design-token/index.js.map +1 -1
  34. package/design-token/types.d.ts +1 -0
  35. package/error-display/index.js +38 -38
  36. package/error-display/index.js.map +1 -1
  37. package/feedback-rating/index.js +118 -118
  38. package/feedback-rating/index.js.map +1 -1
  39. package/filter/addons/filter-item-checkbox.d.ts +3 -0
  40. package/filter/addons/filter-item-checkbox.styles.d.ts +12 -0
  41. package/filter/filter-context.d.ts +7 -0
  42. package/filter/filter-item-page.d.ts +3 -0
  43. package/filter/filter-item-page.styles.d.ts +1 -0
  44. package/filter/filter-item.d.ts +3 -0
  45. package/filter/filter-item.styles.d.ts +26 -0
  46. package/filter/filter.d.ts +7 -0
  47. package/filter/filter.styles.d.ts +17 -0
  48. package/filter/index.d.ts +2 -0
  49. package/filter/index.js +696 -0
  50. package/filter/index.js.map +1 -0
  51. package/filter/package.json +7 -0
  52. package/filter/types.d.ts +49 -0
  53. package/footer/index.js +5 -5
  54. package/footer/index.js.map +1 -1
  55. package/form/index.js +52 -50
  56. package/form/index.js.map +1 -1
  57. package/icon-button/index.js +1 -1
  58. package/icon-button/index.js.map +1 -1
  59. package/index.d.ts +3 -0
  60. package/index.js +701 -235
  61. package/index.js.map +1 -1
  62. package/input/index.js +7 -5
  63. package/input/index.js.map +1 -1
  64. package/input-group/index.js +5 -3
  65. package/input-group/index.js.map +1 -1
  66. package/input-select/index.js +8 -6
  67. package/input-select/index.js.map +1 -1
  68. package/input-textarea/index.js +4 -2
  69. package/input-textarea/index.js.map +1 -1
  70. package/link-list/index.js +1 -1
  71. package/link-list/index.js.map +1 -1
  72. package/modal/index.js +4 -4
  73. package/modal/index.js.map +1 -1
  74. package/navbar/brand.d.ts +5 -4
  75. package/navbar/brand.styles.d.ts +2 -0
  76. package/navbar/index.js +267 -129
  77. package/navbar/index.js.map +1 -1
  78. package/navbar/menu.d.ts +10 -0
  79. package/navbar/menu.styles.d.ts +5 -0
  80. package/navbar/navbar-items.styles.d.ts +7 -0
  81. package/navbar/navbar.styles.d.ts +4 -2
  82. package/navbar/types.d.ts +13 -5
  83. package/notification-banner/index.js +1 -1
  84. package/notification-banner/index.js.map +1 -1
  85. package/otp-input/index.js +8 -6
  86. package/otp-input/index.js.map +1 -1
  87. package/otp-input/otp-input.d.ts +1 -1
  88. package/otp-input/types.d.ts +5 -5
  89. package/overlay/index.js +1 -1
  90. package/overlay/index.js.map +1 -1
  91. package/package.json +1 -1
  92. package/phone-number-input/index.js +16 -14
  93. package/phone-number-input/index.js.map +1 -1
  94. package/popover/index.js +2 -2
  95. package/popover/index.js.map +1 -1
  96. package/progress-indicator/index.js +1 -1
  97. package/progress-indicator/index.js.map +1 -1
  98. package/radio-button/index.js +4 -4
  99. package/radio-button/index.js.map +1 -1
  100. package/shared/toggle-icon/toggle-icon.d.ts +9 -0
  101. package/shared/toggle-icon/toggle-icon.styles.d.ts +6 -0
  102. package/smart-app-banner/index.js +6 -6
  103. package/smart-app-banner/index.js.map +1 -1
  104. package/text/index.js +2 -2
  105. package/text/index.js.map +1 -1
  106. package/text-list/index.js +1 -1
  107. package/text-list/index.js.map +1 -1
  108. package/timeline/index.js +19 -19
  109. package/timeline/index.js.map +1 -1
  110. package/timepicker/index.js +23 -21
  111. package/timepicker/index.js.map +1 -1
  112. package/toggle/index.d.ts +2 -0
  113. package/toggle/index.js +230 -0
  114. package/toggle/index.js.map +1 -0
  115. package/toggle/package.json +7 -0
  116. package/toggle/toggle.d.ts +3 -0
  117. package/toggle/toggle.styles.d.ts +18 -0
  118. package/toggle/types.d.ts +30 -0
  119. package/toggle-button/index.js +22 -22
  120. package/toggle-button/index.js.map +1 -1
  121. package/toggle-button/toggle-button.d.ts +3 -0
  122. package/tooltip/index.js +1 -1
  123. package/tooltip/index.js.map +1 -1
  124. package/unit-number/index.js +10 -8
  125. package/unit-number/index.js.map +1 -1
@@ -0,0 +1,696 @@
1
+ import e,{jsx as t,jsxs as n,Fragment as r}from"react/jsx-runtime";import*as o from"react";import i,{useState as a,useRef as s,useEffect as l,cloneElement as c,isValidElement as u,createRef as d,PureComponent as h,useLayoutEffect as p,forwardRef as f,useCallback as m,useContext as g,useMemo as y}from"react";import v,{findDOMNode as b,unstable_batchedUpdates as w}from"react-dom";import C,{css as _,keyframes as $}from"styled-components";var x,S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},O={};Object.defineProperty(O,"__esModule",{value:!0});var k=e;const j=e=>k.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:k.jsx("path",{d:"M9.99991 11.229L5.97891 15.25C5.81224 15.4167 5.61091 15.4967 5.37491 15.49C5.13891 15.4827 4.93757 15.3957 4.77091 15.229C4.60424 15.0623 4.52091 14.8577 4.52091 14.615C4.52091 14.3717 4.60424 14.1667 4.77091 14L8.77091 10L4.74991 5.979C4.58324 5.81233 4.50324 5.60767 4.50991 5.365C4.51724 5.12167 4.60424 4.91667 4.77091 4.75C4.93757 4.58333 5.14224 4.5 5.38491 4.5C5.62824 4.5 5.83324 4.58333 5.99991 4.75L9.99991 8.771L14.0209 4.75C14.1876 4.58333 14.3922 4.5 14.6349 4.5C14.8782 4.5 15.0832 4.58333 15.2499 4.75C15.4166 4.91667 15.4999 5.12167 15.4999 5.365C15.4999 5.60767 15.4166 5.81233 15.2499 5.979L11.2289 10L15.2499 14.021C15.4166 14.1877 15.4999 14.389 15.4999 14.625C15.4999 14.861 15.4166 15.0623 15.2499 15.229C15.0832 15.3957 14.8782 15.479 14.6349 15.479C14.3922 15.479 14.1876 15.3957 14.0209 15.229L9.99991 11.229Z",fill:"currentColor"})});j.displayName="CrossIcon",x=O.CrossIcon=j;var F,P={exports:{}};F=e=>(()=>{var t={"./node_modules/css-mediaquery/index.js":
2
+ /*!**********************************************!*\
3
+ !*** ./node_modules/css-mediaquery/index.js ***!
4
+ \**********************************************/(e,t)=>{t.match=function(e,t){return s(e).some((function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var o=e.expressions.every((function(e){var n=e.feature,r=e.modifier,o=e.value,i=t[n];if(!i)return!1;switch(n){case"orientation":case"scan":return i.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=u(o),i=u(i);break;case"resolution":o=c(o),i=c(i);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=l(o),i=l(i);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,i=parseInt(i,10)||0}switch(r){case"min":return i>=o;case"max":return i<=o;default:return i===o}}));return o&&!n||!o&&n}))},t.parse=s;var n=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,o=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function s(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(n),i=t[1],a=t[2],s=t[3]||"",l={};return l.inverse=!!i&&"not"===i.toLowerCase(),l.type=a?a.toLowerCase():"all",s=s.match(/\([^\)]+\)/g)||[],l.expressions=s.map((function(e){var t=e.match(r),n=t[1].toLowerCase().match(o);return{modifier:n[1],feature:n[2],value:t[2]}})),l}))}function l(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function c(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function u(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},"./node_modules/hyphenate-style-name/index.js":
5
+ /*!****************************************************!*\
6
+ !*** ./node_modules/hyphenate-style-name/index.js ***!
7
+ \****************************************************/(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var r=/[A-Z]/g,o=/^ms-/,i={};function a(e){return"-"+e.toLowerCase()}const s=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(r,a);return i[e]=o.test(t)?"-"+t:t}},"./node_modules/matchmediaquery/index.js":
8
+ /*!***********************************************!*\
9
+ !*** ./node_modules/matchmediaquery/index.js ***!
10
+ \***********************************************/(e,t,n)=>{var r=n(/*! css-mediaquery */"./node_modules/css-mediaquery/index.js").match,o="undefined"!=typeof window?window.matchMedia:null;function i(e,t,n){var i=this;if(o&&!n){var a=o.call(window,e);this.matches=a.matches,this.media=a.media,a.addListener(s)}else this.matches=r(e,t),this.media=e;function s(e){i.matches=e.matches,i.media=e.media}this.addListener=function(e){a&&a.addListener(e)},this.removeListener=function(e){a&&a.removeListener(e)},this.dispose=function(){a&&a.removeListener(s)}}e.exports=function(e,t,n){return new i(e,t,n)}},"./node_modules/object-assign/index.js":
11
+ /*!*********************************************!*\
12
+ !*** ./node_modules/object-assign/index.js ***!
13
+ \*********************************************/e=>{
14
+ /*
15
+ object-assign
16
+ (c) Sindre Sorhus
17
+ @license MIT
18
+ */
19
+ var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,l=o(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(l[u]=a[u]);if(t){s=t(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},"./node_modules/prop-types/checkPropTypes.js":
20
+ /*!***************************************************!*\
21
+ !*** ./node_modules/prop-types/checkPropTypes.js ***!
22
+ \***************************************************/(e,t,n)=>{var r,o=n(/*! ./lib/ReactPropTypesSecret */"./node_modules/prop-types/lib/ReactPropTypesSecret.js"),i={},a=n(/*! ./lib/has */"./node_modules/prop-types/lib/has.js");function s(e,t,n,s,l){for(var c in e)if(a(e,c)){var u;try{if("function"!=typeof e[c]){var d=Error((s||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=e[c](t,c,s,n,null,o)}catch(e){u=e}if(!u||u instanceof Error||r((s||"React class")+": type specification of "+n+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var h=l?l():"";r("Failed "+n+" type: "+u.message+(null!=h?h:""))}}}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},s.resetWarningCache=function(){i={}},e.exports=s},"./node_modules/prop-types/factoryWithTypeCheckers.js":
23
+ /*!************************************************************!*\
24
+ !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
25
+ \************************************************************/(e,t,n)=>{var r,o=n(/*! react-is */"./node_modules/react-is/index.js"),i=n(/*! object-assign */"./node_modules/object-assign/index.js"),a=n(/*! ./lib/ReactPropTypesSecret */"./node_modules/prop-types/lib/ReactPropTypesSecret.js"),s=n(/*! ./lib/has */"./node_modules/prop-types/lib/has.js"),l=n(/*! ./checkPropTypes */"./node_modules/prop-types/checkPropTypes.js");function c(){return null}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:f(c),arrayOf:function(e){return f((function(t,n,r,o,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new p("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,o,i+"["+l+"]",a);if(c instanceof Error)return c}return null}))},element:f((function(t,n,r,o,i){var a=t[n];return e(a)?null:new p("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:f((function(e,t,n,r,i){var a=e[t];return o.isValidElementType(a)?null:new p("Invalid "+r+" `"+i+"` of type `"+v(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||u;return new p("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:f((function(e,t,n,r,o){return y(e[t])?null:new p("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,r,o,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],c=v(l);if("object"!==c)return new p("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in l)if(s(l,u)){var d=e(l,u,r,o,i+"."+u,a);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c;function t(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(h(a,e[s]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===b(t)?String(t):t}));return new p("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+l+".")}return f(t)},oneOfType:function(e){if(!Array.isArray(e))return r("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(n)+" at index "+t+"."),c}return f((function(t,n,r,o,i){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,n,r,o,i,a);if(null==u)return null;u.data&&s(u.data,"expectedType")&&l.push(u.data.expectedType)}return new p("Invalid "+o+" `"+i+"` supplied to `"+r+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return f((function(t,n,r,o,i){var s=t[n],l=v(s);if("object"!==l)return new p("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,o,i,c,b(u));var d=u(s,c,r,o,i+"."+c,a);if(d)return d}return null}))},exact:function(e){return f((function(t,n,r,o,l){var c=t[n],u=v(c);if("object"!==u)return new p("Invalid "+o+" `"+l+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var d=i({},t[n],e);for(var h in d){var f=e[h];if(s(e,h)&&"function"!=typeof f)return g(r,o,l,h,b(f));if(!f)return new p("Invalid "+o+" `"+l+"` key `"+h+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(c,h,r,o,l+"."+h,a);if(m)return m}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){var n={},o=0;function i(i,s,l,c,d,h,f){if(c=c||u,h=h||l,f!==a){if(t){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("undefined"!=typeof console){var g=c+":"+l;!n[g]&&o<3&&(r("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[g]=!0,o++)}}return null==s[l]?i?null===s[l]?new p("The "+d+" `"+h+"` is marked as required in `"+c+"`, but its value is `null`."):new p("The "+d+" `"+h+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,l,c,d,h)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function m(e){return f((function(t,n,r,o,i,a){var s=t[n];return v(s)!==e?new p("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,o){return new p((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function y(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(y);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!y(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!y(a[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=l,d.resetWarningCache=l.resetWarningCache,d.PropTypes=d,d}},"./node_modules/prop-types/index.js":
26
+ /*!******************************************!*\
27
+ !*** ./node_modules/prop-types/index.js ***!
28
+ \******************************************/(e,t,n)=>{var r=n(/*! react-is */"./node_modules/react-is/index.js");e.exports=n(/*! ./factoryWithTypeCheckers */"./node_modules/prop-types/factoryWithTypeCheckers.js")(r.isElement,!0)},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":
29
+ /*!*************************************************************!*\
30
+ !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
31
+ \*************************************************************/e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/prop-types/lib/has.js":
32
+ /*!********************************************!*\
33
+ !*** ./node_modules/prop-types/lib/has.js ***!
34
+ \********************************************/e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":
35
+ /*!***********************************************************!*\
36
+ !*** ./node_modules/react-is/cjs/react-is.development.js ***!
37
+ \***********************************************************/(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case c:case u:case o:case a:case i:case h:return p;default:var g=p&&p.$$typeof;switch(g){case l:case d:case m:case f:case s:return g;default:return t}}case r:return t}}}var C=c,_=u,$=l,x=s,S=n,O=d,k=o,j=m,F=f,P=r,H=a,E=i,I=h,M=!1;function D(e){return w(e)===u}t.AsyncMode=C,t.ConcurrentMode=_,t.ContextConsumer=$,t.ContextProvider=x,t.Element=S,t.ForwardRef=O,t.Fragment=k,t.Lazy=j,t.Memo=F,t.Portal=P,t.Profiler=H,t.StrictMode=E,t.Suspense=I,t.isAsyncMode=function(e){return M||(M=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||w(e)===c},t.isConcurrentMode=D,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===f},t.isPortal=function(e){return w(e)===r},t.isProfiler=function(e){return w(e)===a},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===a||e===i||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},t.typeOf=w}()},"./node_modules/react-is/index.js":
38
+ /*!****************************************!*\
39
+ !*** ./node_modules/react-is/index.js ***!
40
+ \****************************************/(e,t,n)=>{e.exports=n(/*! ./cjs/react-is.development.js */"./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":
41
+ /*!******************************************************!*\
42
+ !*** ./node_modules/shallow-equal/dist/index.esm.js ***!
43
+ \******************************************************/(e,t,n)=>{function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}n.r(t),n.d(t,{shallowEqualArrays:()=>o,shallowEqualObjects:()=>r})},"./src/Component.ts":
44
+ /*!**************************!*\
45
+ !*** ./src/Component.ts ***!
46
+ \**************************/function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(/*! ./useMediaQuery */"./src/useMediaQuery.ts"));t.default=function(e){var t=e.children,n=e.device,o=e.onChange,a=r(e,["children","device","onChange"]),s=(0,i.default)(a,n,o);return"function"==typeof t?t(s):s?t:null}},"./src/Context.ts":
47
+ /*!************************!*\
48
+ !*** ./src/Context.ts ***!
49
+ \************************/(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(/*! react */"react").createContext)(void 0);t.default=r},"./src/index.ts":
50
+ /*!**********************!*\
51
+ !*** ./src/index.ts ***!
52
+ \**********************/function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=r(n(/*! ./useMediaQuery */"./src/useMediaQuery.ts"));t.useMediaQuery=o.default;var i=r(n(/*! ./Component */"./src/Component.ts"));t.default=i.default;var a=r(n(/*! ./toQuery */"./src/toQuery.ts"));t.toQuery=a.default;var s=r(n(/*! ./Context */"./src/Context.ts"));t.Context=s.default},"./src/mediaQuery.ts":
53
+ /*!***************************!*\
54
+ !*** ./src/mediaQuery.ts ***!
55
+ \***************************/function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(/*! prop-types */"./node_modules/prop-types/index.js")),s=a.default.oneOfType([a.default.string,a.default.number]),l={all:a.default.bool,grid:a.default.bool,aural:a.default.bool,braille:a.default.bool,handheld:a.default.bool,print:a.default.bool,projection:a.default.bool,screen:a.default.bool,tty:a.default.bool,tv:a.default.bool,embossed:a.default.bool},c={orientation:a.default.oneOf(["portrait","landscape"]),scan:a.default.oneOf(["progressive","interlace"]),aspectRatio:a.default.string,deviceAspectRatio:a.default.string,height:s,deviceHeight:s,width:s,deviceWidth:s,color:a.default.bool,colorIndex:a.default.bool,monochrome:a.default.bool,resolution:s,type:Object.keys(l)},u=o(c,["type"]),d=r({minAspectRatio:a.default.string,maxAspectRatio:a.default.string,minDeviceAspectRatio:a.default.string,maxDeviceAspectRatio:a.default.string,minHeight:s,maxHeight:s,minDeviceHeight:s,maxDeviceHeight:s,minWidth:s,maxWidth:s,minDeviceWidth:s,maxDeviceWidth:s,minColor:a.default.number,maxColor:a.default.number,minColorIndex:a.default.number,maxColorIndex:a.default.number,minMonochrome:a.default.number,maxMonochrome:a.default.number,minResolution:s,maxResolution:s},u),h=r(r({},l),d);t.default={all:h,types:l,matchers:c,features:d}},"./src/toQuery.ts":
56
+ /*!************************!*\
57
+ !*** ./src/toQuery.ts ***!
58
+ \************************/function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(/*! hyphenate-style-name */"./node_modules/hyphenate-style-name/index.js")),i=r(n(/*! ./mediaQuery */"./src/mediaQuery.ts"));t.default=function(e){var t=[];return Object.keys(i.default.all).forEach((function(n){var r=e[n];null!=r&&t.push(function(e,t){var n=(0,o.default)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?"not ".concat(n):"(".concat(n,": ").concat(t,")")}(n,r))})),t.join(" and ")}},"./src/useMediaQuery.ts":
59
+ /*!******************************!*\
60
+ !*** ./src/useMediaQuery.ts ***!
61
+ \******************************/function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(/*! react */"react"),i=r(n(/*! matchmediaquery */"./node_modules/matchmediaquery/index.js")),a=r(n(/*! hyphenate-style-name */"./node_modules/hyphenate-style-name/index.js")),s=n(/*! shallow-equal */"./node_modules/shallow-equal/dist/index.esm.js"),l=r(n(/*! ./toQuery */"./src/toQuery.ts")),c=r(n(/*! ./Context */"./src/Context.ts")),u=function(e){if(e)return Object.keys(e).reduce((function(t,n){return t[(0,a.default)(n)]=e[n],t}),{})},d=function(){var e=(0,o.useRef)(!1);return(0,o.useEffect)((function(){e.current=!0}),[]),e.current},h=function(e){var t=function(){return function(e){return e.query||(0,l.default)(e)}(e)},n=(0,o.useState)(t),r=n[0],i=n[1];return(0,o.useEffect)((function(){var e=t();r!==e&&i(e)}),[e]),r};t.default=function(e,t,n){var r=function(e){var t=(0,o.useContext)(c.default),n=function(){return u(e)||u(t)},r=(0,o.useState)(n),i=r[0],a=r[1];return(0,o.useEffect)((function(){var e=n();(0,s.shallowEqualObjects)(i,e)||a(e)}),[e,t]),i}(t),a=h(e);if(!a)throw new Error("Invalid or missing MediaQuery!");var l=function(e,t){var n=function(){return(0,i.default)(e,t||{},!!t)},r=(0,o.useState)(n),a=r[0],s=r[1],l=d();return(0,o.useEffect)((function(){if(l){var e=n();return s(e),function(){e&&e.dispose()}}}),[e,t]),a}(a,r),p=function(e){var t=(0,o.useState)(e.matches),n=t[0],r=t[1];return(0,o.useEffect)((function(){var t=function(e){r(e.matches)};return e.addListener(t),r(e.matches),function(){e.removeListener(t)}}),[e]),n}(l),f=d();return(0,o.useEffect)((function(){f&&n&&n(p)}),[p]),(0,o.useEffect)((function(){return function(){l&&l.dispose()}}),[]),p}},react:
62
+ /*!**************************************************************************************!*\
63
+ !*** external {"commonjs":"react","commonjs2":"react","amd":"react","root":"React"} ***!
64
+ \**************************************************************************************/t=>{t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}return r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r("./src/index.ts")})(),P.exports=F(i);const H=C.div`
65
+ position: fixed;
66
+ left: 0;
67
+ top: 0;
68
+ height: 0;
69
+ width: 0;
70
+ visibility: hidden;
71
+ z-index: ${e=>e.zIndex||(e.$stacked?99999:99998)};
72
+
73
+ ${e=>{if(e.$show)return _`
74
+ height: 100%;
75
+ width: 100vw;
76
+ visibility: visible;
77
+ `}}
78
+ `,E=C.div`
79
+ position: absolute;
80
+ left: 0;
81
+ top: 0;
82
+ background-color: rgba(5, 1, 1, ${e=>e.$backgroundOpacity});
83
+ backdrop-filter: ${e=>(e=>{let t="";return e&&(t+="blur(10px)"),t.length>0?t:"none"})(e.$backgroundBlur)};
84
+ transition: opacity 200ms ease;
85
+
86
+ ${e=>{let t="";return e.$show?t+=_`
87
+ visibility: visible;
88
+ opacity: 1;
89
+ pointer-events: auto;
90
+ height: 100%;
91
+ width: 100vw;
92
+ `:t+=_`
93
+ visibility: hidden;
94
+ opacity: 0;
95
+ transition-delay: ${e.$disableTransition?"0ms":"400ms"};
96
+ pointer-events: none;
97
+ height: 0;
98
+ width: 0;
99
+ `,e.$disableTransition&&(t+=_`
100
+ transition: none;
101
+ `),t}}
102
+ `,I=({show:e=!1,rootId:n,onOverlayClick:r,children:o,backgroundOpacity:c,backgroundBlur:u=!0,disableTransition:d=!1,enableOverlayClick:h=!1,zIndex:p,id:f})=>{const[m,g]=a(null),[y,b]=a(),w=s(),C=s(null),_=o&&i.cloneElement(o,{ref:C}),$=f?`lifesg-ds-overlay-root-${f}`:"lifesg-ds-overlay-root";l((()=>{if(e){const e=O();if(x(e),!e){const e=setTimeout((()=>{j("add")}),200);return()=>clearTimeout(e)}}else if(!w.current){const e=setTimeout((()=>{j("remove")}),200);return()=>clearTimeout(e)}}),[e]),l((()=>{g(S());const e=O();return x(e),e||k(),()=>{j("remove")}}),[]);const x=e=>{w.current=e,b(e)},S=()=>document&&n?document.getElementById(n):document?document.body:null,O=()=>document.body.classList.contains(D),k=()=>{if(!document.getElementById(M)){const e=document.createElement("style");e.id=M;const t=document.documentElement.clientWidth,n=window.innerWidth-t;e.innerHTML=`\n\t\t\t\t.${D} {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t\tpadding-right: ${n}px !important;\n\t\t\t\t\t-ms-overflow-style: none;\n\t\t\t\t\tscrollbar-width: none;\n\t\t\t\t}\n\n\t\t\t\t.${D}::-webkit-scrollbar {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t`,document.body.appendChild(e)}},j=e=>{const t=document.body.classList.contains(D);"add"!==e||t?"remove"===e&&t&&document.body.classList.remove(D):document.body.classList.add(D)},F=e=>{const t=C.current?.firstChild;t&&t.contains(e.target)||r&&h&&(e.preventDefault(),r())};return m?v.createPortal(t(H,{id:$,"data-testid":$,$show:e,zIndex:p,$stacked:y,children:o&&t(E,{"data-testid":"overlay-wrapper",$show:e,$backgroundOpacity:c||(y?.5:.8),$backgroundBlur:u,$disableTransition:d,$enableOverlayClick:h,onClick:F,children:_})}),m):null},M="lifesg-ds-overlay-stylesheet",D="lifesg-ds-overlay-open",T={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840};var A=function(e,t){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},A(e,t)};var B=function(){return B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},B.apply(this,arguments)};var z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var R=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},N="object"==typeof z&&z&&z.Object===Object&&z,L="object"==typeof self&&self&&self.Object===Object&&self,V=N||L||Function("return this")(),W=V,q=function(){return W.Date.now()},Q=/\s/;var U=function(e){for(var t=e.length;t--&&Q.test(e.charAt(t)););return t},Z=/^\s+/;var G=function(e){return e?e.slice(0,U(e)+1).replace(Z,""):e},X=V.Symbol,Y=X,J=Object.prototype,K=J.hasOwnProperty,ee=J.toString,te=Y?Y.toStringTag:void 0;var ne=function(e){var t=K.call(e,te),n=e[te];try{e[te]=void 0;var r=!0}catch(e){}var o=ee.call(e);return r&&(t?e[te]=n:delete e[te]),o},re=Object.prototype.toString;var oe=ne,ie=function(e){return re.call(e)},ae=X?X.toStringTag:void 0;var se=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ae&&ae in Object(e)?oe(e):ie(e)},le=function(e){return null!=e&&"object"==typeof e};var ce=G,ue=R,de=function(e){return"symbol"==typeof e||le(e)&&"[object Symbol]"==se(e)},he=/^[-+]0x[0-9a-f]+$/i,pe=/^0b[01]+$/i,fe=/^0o[0-7]+$/i,me=parseInt;var ge=R,ye=q,ve=function(e){if("number"==typeof e)return e;if(de(e))return NaN;if(ue(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ue(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=ce(e);var n=pe.test(e);return n||fe.test(e)?me(e.slice(2),n?2:8):he.test(e)?NaN:+e},be=Math.max,we=Math.min;var Ce=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function f(e){return c=e,s=setTimeout(g,t),u?p(e):a}function m(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function g(){var e=ye();if(m(e))return y(e);s=setTimeout(g,function(e){var n=t-(e-l);return d?we(n,i-(e-c)):n}(e))}function y(e){return s=void 0,h&&r?p(e):(r=o=void 0,a)}function v(){var e=ye(),n=m(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return f(l);if(d)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),a}return t=ve(t)||0,ge(n)&&(u=!!n.leading,i=(d="maxWait"in n)?be(ve(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),v.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},v.flush=function(){return void 0===s?a:y(ye())},v},_e=Ce,$e=R;var xe=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return $e(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),_e(e,t,{leading:r,maxWait:t,trailing:o})},Se=function(e,t,n,r){switch(t){case"debounce":return Ce(e,n,r);case"throttle":return xe(e,n,r);default:return e}},Oe=function(e){return"function"==typeof e},ke=function(){return"undefined"==typeof window},je=function(e){return e instanceof Element||e instanceof HTMLDocument},Fe=function(e,t,n,r){return function(o){var i=o.width,a=o.height;t((function(t){return t.width===i&&t.height===a||t.width===i&&!r||t.height===a&&!n?t:(e&&Oe(e)&&e(i,a),{width:i,height:a})}))}};!function(e){function t(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,r=e.observerOptions;if(!ke()){t&&t.current&&(n.targetRef.current=t.current);var o=n.getElement();o&&(n.observableElement&&n.observableElement===o||(n.observableElement=o,n.resizeObserver.observe(o,r)))}},n.getElement=function(){var e=n.props,t=e.querySelector,r=e.targetDomEl;if(ke())return null;if(t)return document.querySelector(t);if(r&&je(r))return r;if(n.targetRef&&je(n.targetRef.current))return n.targetRef.current;var o=b(n);if(!o)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return o;default:return o.parentElement}},n.createResizeHandler=function(e){var t=n.props,r=t.handleWidth,o=void 0===r||r,i=t.handleHeight,a=void 0===i||i,s=t.onResize;if(o||a){var l=Fe(s,n.setState.bind(n),o,a);e.forEach((function(e){var t=e&&e.contentRect||{},r=t.width,o=t.height;!n.skipOnMount&&!ke()&&l({width:r,height:o}),n.skipOnMount=!1}))}},n.getRenderType=function(){var e=n.props,t=e.render,r=e.children;return Oe(t)?"renderProp":Oe(r)?"childFunction":u(r)?"child":Array.isArray(r)?"childArray":"parent"};var r=t.skipOnMount,o=t.refreshMode,i=t.refreshRate,a=void 0===i?1e3:i,s=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=r,n.targetRef=d(),n.observableElement=null,ke()||(n.resizeHandler=Se(n.createResizeHandler,o,a,s),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(t,e),t.prototype.componentDidMount=function(){this.attachObserver()},t.prototype.componentDidUpdate=function(){this.attachObserver()},t.prototype.componentWillUnmount=function(){ke()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},t.prototype.render=function(){var e,t=this.props,n=t.render,r=t.children,i=t.nodeType,a=void 0===i?"div":i,s=this.state,l={width:s.width,height:s.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return n&&n(l);case"childFunction":return(e=r)(l);case"child":if((e=r).type&&"string"==typeof e.type){var u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(l,["targetRef"]);return c(e,u)}return c(e,l);case"childArray":return(e=r).map((function(e){return!!e&&c(e,l)}));default:return o.createElement(a,null)}}}(h);var Pe=ke()?l:p;function He(e){void 0===e&&(e={});var t=e.skipOnMount,n=void 0!==t&&t,r=e.refreshMode,o=e.refreshRate,i=void 0===o?1e3:o,l=e.refreshOptions,c=e.handleWidth,u=void 0===c||c,d=e.handleHeight,h=void 0===d||d,p=e.targetRef,f=e.observerOptions,m=e.onResize,g=s(n),y=s(null),v=null!=p?p:y,b=s(),w=a({width:void 0,height:void 0}),C=w[0],_=w[1];return Pe((function(){if(!ke()){var e=Fe(m,_,u,h);b.current=Se((function(t){(u||h)&&t.forEach((function(t){var n=t&&t.contentRect||{},r=n.width,o=n.height;!g.current&&!ke()&&e({width:r,height:o}),g.current=!1}))}),r,i,l);var t=new window.ResizeObserver(b.current);return v.current&&t.observe(v.current,f),function(){t.disconnect();var e=b.current;e&&e.cancel&&e.cancel()}}}),[r,i,l,u,h,m,f,v.current]),B({ref:v},C)}const Ee=i.createContext({mode:"default"});var Ie=Array.isArray,Me="object"==typeof S&&S&&S.Object===Object&&S,De="object"==typeof self&&self&&self.Object===Object&&self,Te=Me||De||Function("return this")(),Ae=Te.Symbol,Be=Ae,ze=Object.prototype,Re=ze.hasOwnProperty,Ne=ze.toString,Le=Be?Be.toStringTag:void 0;var Ve=function(e){var t=Re.call(e,Le),n=e[Le];try{e[Le]=void 0;var r=!0}catch(e){}var o=Ne.call(e);return r&&(t?e[Le]=n:delete e[Le]),o},We=Object.prototype.toString;var qe=Ve,Qe=function(e){return We.call(e)},Ue=Ae?Ae.toStringTag:void 0;var Ze=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ue&&Ue in Object(e)?qe(e):Qe(e)};var Ge=Ze,Xe=function(e){return null!=e&&"object"==typeof e};var Ye=function(e){return"symbol"==typeof e||Xe(e)&&"[object Symbol]"==Ge(e)},Je=Ie,Ke=Ye,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tt=/^\w*$/;var nt=function(e,t){if(Je(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ke(e))||(tt.test(e)||!et.test(e)||null!=t&&e in Object(t))};var rt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ot=Ze,it=rt;var at,st=function(e){if(!it(e))return!1;var t=ot(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},lt=Te["__core-js_shared__"],ct=(at=/[^.]+$/.exec(lt&&lt.keys&&lt.keys.IE_PROTO||""))?"Symbol(src)_1."+at:"";var ut=function(e){return!!ct&&ct in e},dt=Function.prototype.toString;var ht=st,pt=ut,ft=rt,mt=function(e){if(null!=e){try{return dt.call(e)}catch(e){}try{return e+""}catch(e){}}return""},gt=/^\[object .+?Constructor\]$/,yt=Function.prototype,vt=Object.prototype,bt=yt.toString,wt=vt.hasOwnProperty,Ct=RegExp("^"+bt.call(wt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var _t=function(e){return!(!ft(e)||pt(e))&&(ht(e)?Ct:gt).test(mt(e))},$t=function(e,t){return null==e?void 0:e[t]};var xt=function(e,t){var n=$t(e,t);return _t(n)?n:void 0},St=xt(Object,"create"),Ot=St;var kt=function(){this.__data__=Ot?Ot(null):{},this.size=0};var jt=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ft=St,Pt=Object.prototype.hasOwnProperty;var Ht=function(e){var t=this.__data__;if(Ft){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Pt.call(t,e)?t[e]:void 0},Et=St,It=Object.prototype.hasOwnProperty;var Mt=St;var Dt=kt,Tt=jt,At=Ht,Bt=function(e){var t=this.__data__;return Et?void 0!==t[e]:It.call(t,e)},zt=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mt&&void 0===t?"__lodash_hash_undefined__":t,this};function Rt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Rt.prototype.clear=Dt,Rt.prototype.delete=Tt,Rt.prototype.get=At,Rt.prototype.has=Bt,Rt.prototype.set=zt;var Nt=Rt;var Lt=function(){this.__data__=[],this.size=0};var Vt=function(e,t){return e===t||e!=e&&t!=t};var Wt=function(e,t){for(var n=e.length;n--;)if(Vt(e[n][0],t))return n;return-1},qt=Wt,Qt=Array.prototype.splice;var Ut=Wt;var Zt=Wt;var Gt=Wt;var Xt=Lt,Yt=function(e){var t=this.__data__,n=qt(t,e);return!(n<0)&&(n==t.length-1?t.pop():Qt.call(t,n,1),--this.size,!0)},Jt=function(e){var t=this.__data__,n=Ut(t,e);return n<0?void 0:t[n][1]},Kt=function(e){return Zt(this.__data__,e)>-1},en=function(e,t){var n=this.__data__,r=Gt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}tn.prototype.clear=Xt,tn.prototype.delete=Yt,tn.prototype.get=Jt,tn.prototype.has=Kt,tn.prototype.set=en;var nn=tn,rn=xt(Te,"Map"),on=Nt,an=nn,sn=rn;var ln=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var cn=function(e,t){var n=e.__data__;return ln(t)?n["string"==typeof t?"string":"hash"]:n.map},un=cn;var dn=cn;var hn=cn;var pn=cn;var fn=function(){this.size=0,this.__data__={hash:new on,map:new(sn||an),string:new on}},mn=function(e){var t=un(this,e).delete(e);return this.size-=t?1:0,t},gn=function(e){return dn(this,e).get(e)},yn=function(e){return hn(this,e).has(e)},vn=function(e,t){var n=pn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function bn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}bn.prototype.clear=fn,bn.prototype.delete=mn,bn.prototype.get=gn,bn.prototype.has=yn,bn.prototype.set=vn;var wn=bn;function Cn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Cn.Cache||wn),n}Cn.Cache=wn;var _n=Cn;var $n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xn=/\\(\\)?/g,Sn=function(e){var t=_n(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace($n,(function(e,n,r,o){t.push(r?o.replace(xn,"$1"):n||e)})),t}));var On=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},kn=Ie,jn=Ye,Fn=Ae?Ae.prototype:void 0,Pn=Fn?Fn.toString:void 0;var Hn=function e(t){if("string"==typeof t)return t;if(kn(t))return On(t,e)+"";if(jn(t))return Pn?Pn.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n},En=Hn;var In=Ie,Mn=nt,Dn=Sn,Tn=function(e){return null==e?"":En(e)};var An=Ye;var Bn=function(e,t){return In(e)?e:Mn(e,t)?[e]:Dn(Tn(e))},zn=function(e){if("string"==typeof e||An(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Rn=function(e,t){for(var n=0,r=(t=Bn(t,e)).length;null!=e&&n<r;)e=e[zn(t[n++])];return n&&n==r?e:void 0};var Nn=function(e,t,n){var r=null==e?void 0:Rn(e,t);return void 0===r?n:r};const Ln=(e,t,n)=>t?Nn(n,t)||Nn(e,t):n||e,Vn=(e,t)=>{const n=t||e.defaultValue;return Nn(e.collections,n)};var Wn;!function(e){e.colorScheme="colorScheme",e.layout="layout",e.textStyleScheme="textStyleScheme",e.designTokenScheme="designTokenScheme"}(Wn||(Wn={}));const qn={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(87, 169, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)",Elevation:"rgba(75, 83, 159, 0.24)"}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(161, 87, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)",Elevation:"rgba(75, 83, 159, 0.24)"}}},defaultValue:"base"},Qn=e=>t=>{const n=t.theme,r=Vn(qn,n[Wn.colorScheme]);return n.options&&n.options.color?Ln(r,e,n.options.color):Ln(r,e)},Un={Brand:{1:Qn("Brand.1"),2:Qn("Brand.2"),3:Qn("Brand.3"),4:Qn("Brand.4"),5:Qn("Brand.5"),6:Qn("Brand.6")},Primary:Qn("Primary"),PrimaryDark:Qn("PrimaryDark"),Secondary:Qn("Secondary"),Accent:{Light:{1:Qn("Accent.Light.1"),2:Qn("Accent.Light.2"),3:Qn("Accent.Light.3"),4:Qn("Accent.Light.4"),5:Qn("Accent.Light.5"),6:Qn("Accent.Light.6")},Dark:{1:Qn("Accent.Dark.1"),2:Qn("Accent.Dark.2"),3:Qn("Accent.Dark.3")}},Neutral:{1:Qn("Neutral.1"),2:Qn("Neutral.2"),3:Qn("Neutral.3"),4:Qn("Neutral.4"),5:Qn("Neutral.5"),6:Qn("Neutral.6"),7:Qn("Neutral.7"),8:Qn("Neutral.8")},Validation:{Green:{Text:Qn("Validation.Green.Text"),Icon:Qn("Validation.Green.Icon"),Border:Qn("Validation.Green.Border"),Background:Qn("Validation.Green.Background")},Orange:{Text:Qn("Validation.Orange.Text"),Icon:Qn("Validation.Orange.Icon"),Border:Qn("Validation.Orange.Border"),Background:Qn("Validation.Orange.Background"),Badge:Qn("Validation.Orange.Badge")},Red:{Text:Qn("Validation.Red.Text"),Icon:Qn("Validation.Red.Icon"),Border:Qn("Validation.Red.Border"),Background:Qn("Validation.Red.Background")}},Shadow:{Accent:Qn("Shadow.Accent"),Red:Qn("Shadow.Red"),Elevation:Qn("Shadow.Elevation")}},Zn=e=>Object.keys(T).reduce(((t,n)=>{const r=T[n];return t[n]=`@media screen and (${e}: ${r}px)`,t}),{}),Gn=Zn("max-width"),Xn=(Zn("min-width"),{Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"}),Yn={collections:{base:{D1:{fontFamily:Xn.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:Xn.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:Xn.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:Xn.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:Xn.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:Xn.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:Xn.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:Xn.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:Xn.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:Xn.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:Xn.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:Xn.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:Xn.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:Xn.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Jn=e=>t=>{const n=t.theme,r=Vn(Yn,n[Wn.textStyleScheme]);return n.options&&n.options.textStyle?Ln(r,e,n.options.textStyle):Ln(r,e)},Kn={D1:{fontFamily:Jn("D1.fontFamily"),fontSize:Jn("D1.fontSize"),fontWeight:Jn("D1.fontWeight"),lineHeight:Jn("D1.lineHeight"),letterSpacing:Jn("D1.letterSpacing")},D2:{fontFamily:Jn("D2.fontFamily"),fontSize:Jn("D2.fontSize"),fontWeight:Jn("D2.fontWeight"),lineHeight:Jn("D2.lineHeight"),letterSpacing:Jn("D2.letterSpacing")},D3:{fontFamily:Jn("D3.fontFamily"),fontSize:Jn("D3.fontSize"),fontWeight:Jn("D3.fontWeight"),lineHeight:Jn("D3.lineHeight"),letterSpacing:Jn("D3.letterSpacing")},D4:{fontFamily:Jn("D4.fontFamily"),fontSize:Jn("D4.fontSize"),fontWeight:Jn("D4.fontWeight"),lineHeight:Jn("D4.lineHeight"),letterSpacing:Jn("D4.letterSpacing")},DBody:{fontFamily:Jn("DBody.fontFamily"),fontSize:Jn("DBody.fontSize"),fontWeight:Jn("DBody.fontWeight"),lineHeight:Jn("DBody.lineHeight"),letterSpacing:Jn("DBody.letterSpacing")},H1:{fontFamily:Jn("H1.fontFamily"),fontSize:Jn("H1.fontSize"),fontWeight:Jn("H1.fontWeight"),lineHeight:Jn("H1.lineHeight"),letterSpacing:Jn("H1.letterSpacing")},H2:{fontFamily:Jn("H2.fontFamily"),fontSize:Jn("H2.fontSize"),fontWeight:Jn("H2.fontWeight"),lineHeight:Jn("H2.lineHeight"),letterSpacing:Jn("H2.letterSpacing")},H3:{fontFamily:Jn("H3.fontFamily"),fontSize:Jn("H3.fontSize"),fontWeight:Jn("H3.fontWeight"),lineHeight:Jn("H3.lineHeight"),letterSpacing:Jn("H3.letterSpacing")},H4:{fontFamily:Jn("H4.fontFamily"),fontSize:Jn("H4.fontSize"),fontWeight:Jn("H4.fontWeight"),lineHeight:Jn("H4.lineHeight"),letterSpacing:Jn("H4.letterSpacing")},H5:{fontFamily:Jn("H5.fontFamily"),fontSize:Jn("H5.fontSize"),fontWeight:Jn("H5.fontWeight"),lineHeight:Jn("H5.lineHeight"),letterSpacing:Jn("H5.letterSpacing")},H6:{fontFamily:Jn("H6.fontFamily"),fontSize:Jn("H6.fontSize"),fontWeight:Jn("H6.fontWeight"),lineHeight:Jn("H6.lineHeight"),letterSpacing:Jn("H6.letterSpacing")},Body:{fontFamily:Jn("Body.fontFamily"),fontSize:Jn("Body.fontSize"),fontWeight:Jn("Body.fontWeight"),lineHeight:Jn("Body.lineHeight"),letterSpacing:Jn("Body.letterSpacing")},BodySmall:{fontFamily:Jn("BodySmall.fontFamily"),fontSize:Jn("BodySmall.fontSize"),fontWeight:Jn("BodySmall.fontWeight"),lineHeight:Jn("BodySmall.lineHeight"),letterSpacing:Jn("BodySmall.letterSpacing")},XSmall:{fontFamily:Jn("XSmall.fontFamily"),fontSize:Jn("XSmall.fontSize"),fontWeight:Jn("XSmall.fontWeight"),lineHeight:Jn("XSmall.lineHeight"),letterSpacing:Jn("XSmall.letterSpacing")}},er=e=>{switch(e){case 700:case"bold":return Xn.Bold;case 600:case"semibold":return Xn.Semibold;case 300:case"light":return Xn.Light;case 400:case"regular":return Xn.Regular;default:return""}},tr=(e,t)=>n=>{const r=Kn[e].fontFamily(n),o=Kn[e].fontWeight(n);return Object.values(Xn).includes(r)?_`
103
+ font-family: ${er(t)||er(o)||r};
104
+ font-weight: normal !important;
105
+ `:_`
106
+ font-family: ${r};
107
+ font-weight: ${(nr(t)||o)??"normal"};
108
+ `},nr=e=>{switch(e){case 300:case"light":return 300;case 400:case"regular":return 400;case 600:case"semibold":return 600;case 700:case"bold":return 700;case 900:case"black":return 900;default:return""}},rr=(e,t,n=!1)=>r=>{const o=Kn[e],i=o.fontSize(r);return _`
109
+ ${tr(e,t)}
110
+ font-size: ${i}rem !important;
111
+ line-height: ${o.lineHeight}rem !important;
112
+ letter-spacing: ${o.letterSpacing(r)||0}rem !important;
113
+ ${_`
114
+ margin-bottom: ${i*(n?1.05:0)}rem;
115
+ `}
116
+ `},or=(e=!1,t=!1)=>t?_`
117
+ display: block;
118
+ `:e?_`
119
+ display: inline;
120
+ `:_`
121
+ display: block;
122
+ `;var ir,ar={};Object.defineProperty(ar,"__esModule",{value:!0});var sr=e;const lr=e=>sr.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:sr.jsx("path",{d:"M10 18C8.90267 18 7.868 17.7917 6.896 17.375C5.924 16.9583 5.07333 16.3853 4.344 15.656C3.61467 14.9267 3.04167 14.076 2.625 13.104C2.20833 12.132 2 11.0973 2 10C2 8.88867 2.20833 7.85033 2.625 6.885C3.04167 5.92033 3.61467 5.07333 4.344 4.344C5.07333 3.61467 5.924 3.04167 6.896 2.625C7.868 2.20833 8.90267 2 10 2C11.1113 2 12.1497 2.20833 13.115 2.625C14.0797 3.04167 14.9267 3.61467 15.656 4.344C16.3853 5.07333 16.9583 5.92033 17.375 6.885C17.7917 7.85033 18 8.88867 18 10C18 11.0973 17.7917 12.132 17.375 13.104C16.9583 14.076 16.3853 14.9267 15.656 15.656C14.9267 16.3853 14.0797 16.9583 13.115 17.375C12.1497 17.7917 11.1113 18 10 18ZM10 16.5C11.8053 16.5 13.34 15.868 14.604 14.604C15.868 13.34 16.5 11.8053 16.5 10C16.5 8.19467 15.868 6.66 14.604 5.396C13.34 4.132 11.8053 3.5 10 3.5C8.19467 3.5 6.66 4.132 5.396 5.396C4.132 6.66 3.5 8.19467 3.5 10C3.5 11.8053 4.132 13.34 5.396 14.604C6.66 15.868 8.19467 16.5 10 16.5Z",fill:"currentColor"})});lr.displayName="CircleIcon",ir=ar.CircleIcon=lr;var cr,ur={};Object.defineProperty(ur,"__esModule",{value:!0});var dr=e;const hr=e=>dr.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:dr.jsx("path",{d:"M10 14C11.1113 14 12.0557 13.611 12.833 12.833C13.611 12.0557 14 11.1113 14 10C14 8.88867 13.611 7.94433 12.833 7.167C12.0557 6.389 11.1113 6 10 6C8.88867 6 7.94433 6.389 7.167 7.167C6.389 7.94433 6 8.88867 6 10C6 11.1113 6.389 12.0557 7.167 12.833C7.94433 13.611 8.88867 14 10 14ZM10 18C8.90267 18 7.868 17.7917 6.896 17.375C5.924 16.9583 5.07333 16.3853 4.344 15.656C3.61467 14.9267 3.04167 14.076 2.625 13.104C2.20833 12.132 2 11.0973 2 10C2 8.88867 2.20833 7.85033 2.625 6.885C3.04167 5.92033 3.61467 5.07333 4.344 4.344C5.07333 3.61467 5.924 3.04167 6.896 2.625C7.868 2.20833 8.90267 2 10 2C11.1113 2 12.1497 2.20833 13.115 2.625C14.0797 3.04167 14.9267 3.61467 15.656 4.344C16.3853 5.07333 16.9583 5.92033 17.375 6.885C17.7917 7.85033 18 8.88867 18 10C18 11.0973 17.7917 12.132 17.375 13.104C16.9583 14.076 16.3853 14.9267 15.656 15.656C14.9267 16.3853 14.0797 16.9583 13.115 17.375C12.1497 17.7917 11.1113 18 10 18ZM10 16.5C11.8053 16.5 13.34 15.868 14.604 14.604C15.868 13.34 16.5 11.8053 16.5 10C16.5 8.19467 15.868 6.66 14.604 5.396C13.34 4.132 11.8053 3.5 10 3.5C8.19467 3.5 6.66 4.132 5.396 5.396C4.132 6.66 3.5 8.19467 3.5 10C3.5 11.8053 4.132 13.34 5.396 14.604C6.66 15.868 8.19467 16.5 10 16.5Z",fill:"currentColor"})});hr.displayName="CircleDotIcon",cr=ur.CircleDotIcon=hr;var pr,fr={};Object.defineProperty(fr,"__esModule",{value:!0});var mr=e;const gr=e=>mr.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:mr.jsx("path",{d:"M4.5 17C4.08333 17 3.72933 16.854 3.438 16.562C3.146 16.2707 3 15.9167 3 15.5V4.5C3 4.08333 3.146 3.72933 3.438 3.438C3.72933 3.146 4.08333 3 4.5 3H15.5C15.9167 3 16.2707 3.146 16.562 3.438C16.854 3.72933 17 4.08333 17 4.5V15.5C17 15.9167 16.854 16.2707 16.562 16.562C16.2707 16.854 15.9167 17 15.5 17H4.5ZM4.5 15.5H15.5V4.5H4.5V15.5Z",fill:"currentColor"})});gr.displayName="SquareIcon",pr=fr.SquareIcon=gr;var yr,vr={};Object.defineProperty(vr,"__esModule",{value:!0});var br=e;const wr=e=>br.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:br.jsx("path",{d:"M4.25 17.5C3.764 17.5 3.35067 17.33 3.01 16.99C2.67 16.6493 2.5 16.236 2.5 15.75V4.25C2.5 3.764 2.67 3.35067 3.01 3.01C3.35067 2.67 3.764 2.5 4.25 2.5H15.75C16.236 2.5 16.6493 2.67 16.99 3.01C17.33 3.35067 17.5 3.764 17.5 4.25V15.75C17.5 16.236 17.33 16.6493 16.99 16.99C16.6493 17.33 16.236 17.5 15.75 17.5H4.25ZM8.875 13.188C8.98633 13.188 9.094 13.167 9.198 13.125C9.302 13.083 9.40267 13.0137 9.5 12.917L14.125 8.292C14.2917 8.12533 14.375 7.924 14.375 7.688C14.375 7.45133 14.2917 7.24267 14.125 7.062C13.9443 6.89533 13.736 6.812 13.5 6.812C13.264 6.812 13.0627 6.89533 12.896 7.062L8.875 11.083L7.125 9.333C6.95833 9.16633 6.757 9.083 6.521 9.083C6.285 9.083 6.08367 9.16633 5.917 9.333C5.73633 9.51367 5.646 9.722 5.646 9.958C5.646 10.194 5.73633 10.3953 5.917 10.562L8.25 12.917C8.34733 13.0137 8.448 13.083 8.552 13.125C8.656 13.167 8.76367 13.188 8.875 13.188Z",fill:"currentColor"})});wr.displayName="SquareTickFillIcon",yr=vr.SquareTickFillIcon=wr;var Cr,_r={};Object.defineProperty(_r,"__esModule",{value:!0});var $r=e;const xr=e=>$r.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:$r.jsx("path",{d:"M7.97897 14.646C7.86764 14.646 7.75997 14.625 7.65597 14.583C7.55197 14.5417 7.4513 14.4723 7.35397 14.375L3.83297 10.854C3.6663 10.6873 3.58664 10.4757 3.59397 10.219C3.60064 9.96167 3.6873 9.74967 3.85397 9.583C4.02064 9.41634 4.22897 9.333 4.47897 9.333C4.72897 9.333 4.9373 9.41634 5.10397 9.583L8.02097 12.5L14.917 5.604C15.0836 5.43734 15.2883 5.354 15.531 5.354C15.7743 5.354 15.9793 5.43734 16.146 5.604C16.3126 5.77067 16.396 5.97567 16.396 6.219C16.396 6.46167 16.3126 6.66634 16.146 6.833L8.60397 14.375C8.50664 14.4723 8.40597 14.5417 8.30197 14.583C8.19797 14.625 8.0903 14.646 7.97897 14.646Z",fill:"currentColor"})});xr.displayName="TickIcon",Cr=_r.TickIcon=xr;const Sr=C.div`
123
+ height: 1.625rem;
124
+ width: 1.625rem;
125
+ margin-right: 0.5rem;
126
+
127
+ svg {
128
+ height: 100%;
129
+ width: 100%;
130
+
131
+ ${e=>e.$active&&!e.disabled?_`
132
+ color: ${Un.Primary};
133
+ `:_`
134
+ color: ${Un.Neutral[4]};
135
+ `};
136
+ }
137
+ `,Or=({type:e,active:n=!1,disabled:r,className:o})=>{let i;switch(e){case"checkbox":i=t(n?yr:pr,{});break;case"radio":i=t(n?cr:ir,{});break;case"tick":i=t(Cr,{});break;case"cross":i=t(x,{});break;default:i=null}return t(Sr,{className:o,$active:n,disabled:r,children:i})};let kr=Vr();const jr=e=>zr(e,kr);let Fr=Vr();jr.write=e=>zr(e,Fr);let Pr=Vr();jr.onStart=e=>zr(e,Pr);let Hr=Vr();jr.onFrame=e=>zr(e,Hr);let Er=Vr();jr.onFinish=e=>zr(e,Er);let Ir=[];jr.setTimeout=(e,t)=>{let n=jr.now()+t,r=()=>{let e=Ir.findIndex((e=>e.cancel==r));~e&&Ir.splice(e,1),Ar-=~e?1:0},o={time:n,handler:e,cancel:r};return Ir.splice(Mr(n),0,o),Ar+=1,Rr(),o};let Mr=e=>~(~Ir.findIndex((t=>t.time>e))||~Ir.length);jr.cancel=e=>{Pr.delete(e),Hr.delete(e),Er.delete(e),kr.delete(e),Fr.delete(e)},jr.sync=e=>{Br=!0,jr.batchedUpdates(e),Br=!1},jr.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,jr.onStart(n)}return r.handler=e,r.cancel=()=>{Pr.delete(n),t=null},r};let Dr="undefined"!=typeof window?window.requestAnimationFrame:()=>{};jr.use=e=>Dr=e,jr.now="undefined"!=typeof performance?()=>performance.now():Date.now,jr.batchedUpdates=e=>e(),jr.catch=console.error,jr.frameLoop="always",jr.advance=()=>{"demand"!==jr.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Lr()};let Tr=-1,Ar=0,Br=!1;function zr(e,t){Br?(t.delete(e),e(0)):(t.add(e),Rr())}function Rr(){Tr<0&&(Tr=0,"demand"!==jr.frameLoop&&Dr(Nr))}function Nr(){~Tr&&(Dr(Nr),jr.batchedUpdates(Lr))}function Lr(){let e=Tr;Tr=jr.now();let t=Mr(Tr);t&&(Wr(Ir.splice(0,t),(e=>e.handler())),Ar-=t),Ar?(Pr.flush(),kr.flush(e?Math.min(64,Tr-e):16.667),Hr.flush(),Fr.flush(),Er.flush()):Tr=-1}function Vr(){let e=new Set,t=e;return{add(n){Ar+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Ar-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Ar-=t.size,Wr(t,(t=>t(n)&&e.add(t))),Ar+=e.size,t=e)}}}function Wr(e,t){e.forEach((e=>{try{t(e)}catch(e){jr.catch(e)}}))}function qr(){}const Qr={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function Ur(e,t){if(Qr.arr(e)){if(!Qr.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const Zr=(e,t)=>e.forEach(t);function Gr(e,t,n){if(Qr.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const Xr=e=>Qr.und(e)?[]:Qr.arr(e)?e:[e];function Yr(e,t){if(e.size){const n=Array.from(e);e.clear(),Zr(n,t)}}const Jr=(e,...t)=>Yr(e,(e=>e(...t))),Kr=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let eo,to,no=null,ro=!1,oo=qr;var io=Object.freeze({__proto__:null,get createStringInterpolator(){return eo},get to(){return to},get colors(){return no},get skipAnimation(){return ro},get willAdvance(){return oo},assign:e=>{e.to&&(to=e.to),e.now&&(jr.now=e.now),void 0!==e.colors&&(no=e.colors),null!=e.skipAnimation&&(ro=e.skipAnimation),e.createStringInterpolator&&(eo=e.createStringInterpolator),e.requestAnimationFrame&&jr.use(e.requestAnimationFrame),e.batchedUpdates&&(jr.batchedUpdates=e.batchedUpdates),e.willAdvance&&(oo=e.willAdvance),e.frameLoop&&(jr.frameLoop=e.frameLoop)}});const ao=new Set;let so=[],lo=[],co=0;const uo={get idle(){return!ao.size&&!so.length},start(e){co>e.priority?(ao.add(e),jr.onStart(ho)):(po(e),jr(mo))},advance:mo,sort(e){if(co)jr.onFrame((()=>uo.sort(e)));else{const t=so.indexOf(e);~t&&(so.splice(t,1),fo(e))}},clear(){so=[],ao.clear()}};function ho(){ao.forEach(po),ao.clear(),jr(mo)}function po(e){so.includes(e)||fo(e)}function fo(e){so.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(so,(t=>t.priority>e.priority)),0,e)}function mo(e){const t=lo;for(let n=0;n<so.length;n++){const r=so[n];co=r.priority,r.idle||(oo(r),r.advance(e),r.idle||t.push(r))}return co=0,lo=so,lo.length=0,so=t,so.length>0}const go="[-+]?\\d*\\.?\\d+";function yo(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const vo=new RegExp("rgb"+yo(go,go,go)),bo=new RegExp("rgba"+yo(go,go,go,go)),wo=new RegExp("hsl"+yo(go,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Co=new RegExp("hsla"+yo(go,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",go)),_o=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,$o=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,xo=/^#([0-9a-fA-F]{6})$/,So=/^#([0-9a-fA-F]{8})$/;function Oo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ko(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=Oo(o,r,e+1/3),a=Oo(o,r,e),s=Oo(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function jo(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Fo(e){return(parseFloat(e)%360+360)%360/360}function Po(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ho(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Eo(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=xo.exec(e))?parseInt(t[1]+"ff",16)>>>0:no&&void 0!==no[e]?no[e]:(t=vo.exec(e))?(jo(t[1])<<24|jo(t[2])<<16|jo(t[3])<<8|255)>>>0:(t=bo.exec(e))?(jo(t[1])<<24|jo(t[2])<<16|jo(t[3])<<8|Po(t[4]))>>>0:(t=_o.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=So.exec(e))?parseInt(t[1],16)>>>0:(t=$o.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=wo.exec(e))?(255|ko(Fo(t[1]),Ho(t[2]),Ho(t[3])))>>>0:(t=Co.exec(e))?(ko(Fo(t[1]),Ho(t[2]),Ho(t[3]))|Po(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const Io=(e,t,n)=>{if(Qr.fun(e))return e;if(Qr.arr(e))return Io({range:e,output:t,extrapolate:n});if(Qr.str(e.output[0]))return eo(e);const r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=i(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r;return c}(e,i[t],i[t+1],o[t],o[t+1],l,a,s,r.map)}};function Mo(){return Mo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mo.apply(this,arguments)}const Do=Symbol.for("FluidValue.get"),To=Symbol.for("FluidValue.observers"),Ao=e=>Boolean(e&&e[Do]),Bo=e=>e&&e[Do]?e[Do]():e,zo=e=>e[To]||null;function Ro(e,t){let n=e[To];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}class No{constructor(e){if(this[Do]=void 0,this[To]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");Lo(this,e)}}const Lo=(e,t)=>qo(e,Do,t);function Vo(e,t){if(e[Do]){let n=e[To];n||qo(e,To,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Wo(e,t){let n=e[To];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[To]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const qo=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Qo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Uo=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Zo=new RegExp(`(${Qo.source})(%|[a-z]+)`,"i"),Go=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Xo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Yo=e=>{const[t,n]=Jo(e);if(!t||Kr())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Xo.test(n)?Yo(n):n||e},Jo=e=>{const t=Xo.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let Ko;const ei=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,ti=e=>{Ko||(Ko=no?new RegExp(`(${Object.keys(no).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Bo(e).replace(Xo,Yo).replace(Uo,Eo).replace(Ko,Eo))),n=t.map((e=>e.match(Qo).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>Io(Mo({},e,{output:t}))));return e=>{var n;const o=!Zo.test(t[0])&&(null==(n=t.find((e=>Zo.test(e))))?void 0:n.replace(Qo,""));let i=0;return t[0].replace(Qo,(()=>`${r[i++](e)}${o||""}`)).replace(Go,ei)}},ni="react-spring: ",ri=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${ni}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},oi=ri(console.warn);const ii=ri(console.warn);function ai(e){return Qr.str(e)&&("#"==e[0]||/\d/.test(e)||!Kr()&&Xo.test(e)||e in(no||{}))}const si=Kr()?l:p;function li(){const e=a()[1],t=(()=>{const e=s(!1);return si((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}const ci=e=>l(e,ui),ui=[];function di(e){const t=s();return l((()=>{t.current=e})),t.current}const hi=Symbol.for("Animated:node"),pi=e=>e&&e[hi],fi=(e,t)=>{return n=e,r=hi,o=t,Object.defineProperty(n,r,{value:o,writable:!0,configurable:!0});var n,r,o},mi=e=>e&&e[hi]&&e[hi].getPayload();class gi{constructor(){this.payload=void 0,fi(this,this)}getPayload(){return this.payload||[]}}class yi extends gi{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,Qr.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new yi(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Qr.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Qr.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class vi extends yi{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Io({output:[e,e]})}static create(e){return new vi(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Qr.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Io({output:[this.getValue(),e]})),this._value=0,super.reset()}}const bi={dependencies:null};class wi extends gi{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Gr(this.source,((n,r)=>{var o;(o=n)&&o[hi]===o?t[r]=n.getValue(e):Ao(n)?t[r]=Bo(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Zr(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Gr(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){bi.dependencies&&Ao(e)&&bi.dependencies.add(e);const t=mi(e);t&&Zr(t,(e=>this.add(e)))}}class Ci extends wi{constructor(e){super(e)}static create(e){return new Ci(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(_i)),!0)}}function _i(e){return(ai(e)?vi:yi).create(e)}function $i(e){const t=pi(e);return t?t.constructor:Qr.arr(e)?Ci:ai(e)?vi:yi}function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xi.apply(this,arguments)}const Si=(e,t)=>{const n=!Qr.fun(e)||e.prototype&&e.prototype.isReactComponent;return f(((r,i)=>{const a=s(null),c=n&&m((e=>{a.current=function(e,t){e&&(Qr.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[u,d]=function(e,t){const n=new Set;bi.dependencies=n,e.style&&(e=xi({},e,{style:t.createAnimatedStyle(e.style)}));return e=new wi(e),bi.dependencies=null,[e,n]}(r,t),h=li(),p=()=>{const e=a.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,u.getValue(!0)))&&h()},f=new Oi(p,d),g=s();si((()=>(g.current=f,Zr(d,(e=>Vo(e,f))),()=>{g.current&&(Zr(g.current.deps,(e=>Wo(e,g.current))),jr.cancel(g.current.update))}))),l(p,[]),ci((()=>()=>{const e=g.current;Zr(e.deps,(t=>Wo(t,e)))}));const y=t.getComponentProps(u.getValue());return o.createElement(e,xi({},y,{ref:c}))}))};class Oi{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&jr.write(this.update)}}const ki=Symbol.for("AnimatedComponent"),ji=e=>Qr.str(e)?e:e&&Qr.str(e.displayName)?e.displayName:Qr.fun(e)&&e.name||null;function Fi(){return Fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fi.apply(this,arguments)}function Pi(e,...t){return Qr.fun(e)?e(...t):e}const Hi=(e,t)=>!0===e||!!(t&&e&&(Qr.fun(e)?e(t):Xr(e).includes(t))),Ei=(e,t)=>Qr.obj(e)?t&&e[t]:e,Ii=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Mi=e=>e,Di=(e,t=Mi)=>{let n=Ti;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const n=t(e[o],o);Qr.und(n)||(r[o]=n)}return r},Ti=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Ai={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Bi(e){const t=function(e){const t={};let n=0;if(Gr(e,((e,r)=>{Ai[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return Gr(e,((e,r)=>r in t||(n[r]=e))),n}return Fi({},e)}function zi(e){return e=Bo(e),Qr.arr(e)?e.map(zi):ai(e)?io.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Ri(e){for(const t in e)return!0;return!1}function Ni(e){return Qr.fun(e)||Qr.arr(e)&&Qr.obj(e[0])}function Li(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function Vi(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const Wi=1.70158,qi=1.525*Wi,Qi=2*Math.PI/3,Ui=2*Math.PI/4.5,Zi=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},Gi=Fi({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-Wi*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+Wi*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-qi)/2:(Math.pow(2*e-2,2)*((qi+1)*(2*e-2)+qi)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Qi),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Qi)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ui)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ui)/2+1,easeInBounce:e=>1-Zi(1-e),easeOutBounce:Zi,easeInOutBounce:e=>e<.5?(1-Zi(1-2*e))/2:(1+Zi(2*e-1))/2}.linear,clamp:!1});class Xi{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,Gi)}}function Yi(e,t){if(Qr.und(t.decay)){const n=!Qr.und(t.tension)||!Qr.und(t.friction);!n&&Qr.und(t.frequency)&&Qr.und(t.damping)&&Qr.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const Ji=[];class Ki{constructor(){this.changed=!1,this.values=Ji,this.toValues=null,this.fromValues=Ji,this.to=void 0,this.from=void 0,this.config=new Xi,this.immediate=!1}}function ea(e,{key:t,props:n,defaultProps:r,state:o,actions:i}){return new Promise(((a,s)=>{var l;let c,u,d=Hi(null!=(l=n.cancel)?l:null==r?void 0:r.cancel,t);if(d)f();else{Qr.und(n.pause)||(o.paused=Hi(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=o.paused||Hi(e,t)),c=Pi(n.delay||0,t),e?(o.resumeQueue.add(p),i.pause()):(i.resume(),p())}function h(){o.resumeQueue.add(p),o.timeouts.delete(u),u.cancel(),c=u.time-jr.now()}function p(){c>0&&!io.skipAnimation?(o.delayed=!0,u=jr.setTimeout(f,c),o.pauseQueue.add(h),o.timeouts.add(u)):f()}function f(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(h),o.timeouts.delete(u),e<=(o.cancelId||0)&&(d=!0);try{i.start(Fi({},n,{callId:e,cancel:d}),a)}catch(e){s(e)}}}))}const ta=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?oa(e.get()):t.every((e=>e.noop))?na(e.get()):ra(e.get(),t.every((e=>e.finished))),na=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ra=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),oa=e=>({value:e,cancelled:!0,finished:!1});function ia(e,t,n,r){const{callId:o,parentId:i,onRest:a}=t,{asyncTo:s,promise:l}=n;return i||e!==s||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const c=Di(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const h=new Promise(((e,t)=>(u=e,d=t))),p=e=>{const t=o<=(n.cancelId||0)&&oa(r)||o!==n.asyncId&&ra(r,!1);if(t)throw e.result=t,d(e),e},f=(e,t)=>{const i=new sa,a=new la;return(async()=>{if(io.skipAnimation)throw aa(n),a.result=ra(r,!1),d(a),a;p(i);const s=Qr.obj(e)?Fi({},e):Fi({},t,{to:e});s.parentId=o,Gr(c,((e,t)=>{Qr.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return p(i),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let m;if(io.skipAnimation)return aa(n),ra(r,!1);try{let t;t=Qr.arr(e)?(async e=>{for(const t of e)await f(t)})(e):Promise.resolve(e(f,r.stop.bind(r))),await Promise.all([t.then(u),h]),m=ra(r.get(),!0,!1)}catch(e){if(e instanceof sa)m=e.result;else{if(!(e instanceof la))throw e;m=e.result}}finally{o==n.asyncId&&(n.asyncId=i,n.asyncTo=i?s:void 0,n.promise=i?l:void 0)}return Qr.fun(a)&&jr.batchedUpdates((()=>{a(m,r,r.item)})),m})():l}function aa(e,t){Yr(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class sa extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class la extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const ca=e=>e instanceof da;let ua=1;class da extends No{constructor(...e){super(...e),this.id=ua++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=pi(this);return e&&e.getValue()}to(...e){return io.to(this,e)}interpolate(...e){return oi(`${ni}The "interpolate" function is deprecated in v9 (use "to" instead)`),io.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Ro(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||uo.sort(this),Ro(this,{type:"priority",parent:this,priority:e})}}const ha=Symbol.for("SpringPhase"),pa=e=>(1&e[ha])>0,fa=e=>(2&e[ha])>0,ma=e=>(4&e[ha])>0,ga=(e,t)=>t?e[ha]|=3:e[ha]&=-3,ya=(e,t)=>t?e[ha]|=4:e[ha]&=-5;class va extends da{constructor(e,t){if(super(),this.key=void 0,this.animation=new Ki,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Qr.und(e)||!Qr.und(t)){const n=Qr.obj(e)?Fi({},e):Fi({},t,{from:e});Qr.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(fa(this)||this._state.asyncTo)||ma(this)}get goal(){return Bo(this.animation.to)}get velocity(){const e=pi(this);return e instanceof yi?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return pa(this)}get isAnimating(){return fa(this)}get isPaused(){return ma(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{config:o,toValues:i}=r;const a=mi(r.to);!a&&Ao(r.to)&&(i=Xr(Bo(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==vi?1:a?a[l].lastPosition:i[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=Qr.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const h=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(Qr.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=h,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.restVelocity||h/10,r=o.clamp?0:o.bounce,l=!Qr.und(r),p=n==c?s.v0>0:n<c;let f,m=!1;const g=1,y=Math.ceil(e/g);for(let e=0;e<y&&(f=Math.abs(a)>t,f||(u=Math.abs(c-d)<=h,!u));++e){l&&(m=d==c||d>c==p,m&&(a=-a*r,d=c));a+=(1e-6*-o.tension*(d-c)+.001*-o.friction*a)/o.mass*g,d+=a*g}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+o.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,o.round)&&(n=!0)}));const s=pi(this),l=s.getValue();if(t){const e=Bo(r.to);l===e&&!n||o.decay?n&&o.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return jr.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(fa(this)){const{to:e,config:t}=this.animation;jr.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return Qr.und(e)?(n=this.queue||[],this.queue=[]):n=[Qr.obj(e)?e:Fi({},t,{to:e})],Promise.all(n.map((e=>this._update(e)))).then((e=>ta(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),aa(this._state,e&&this._lastCallId),jr.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=Qr.obj(n)?n[t]:n,(null==n||Ni(n))&&(n=void 0),r=Qr.obj(r)?r[t]:r,null==r&&(r=void 0);const o={to:n,from:r};return pa(this)||(e.reverse&&([n,r]=[r,n]),r=Bo(r),Qr.und(r)?pi(this)||this._set(n):this._set(r)),o}_update(e,t){let n=Fi({},e);const{key:r,defaultProps:o}=this;n.default&&Object.assign(o,Di(n,((e,t)=>/^on/.test(t)?Ei(e,r):e))),Sa(this,n,"onProps"),Oa(this,"onProps",n,this);const i=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return ea(++this._lastCallId,{key:r,props:n,defaultProps:o,state:a,actions:{pause:()=>{ma(this)||(ya(this,!0),Jr(a.pauseQueue),Oa(this,"onPause",ra(this,ba(this,this.animation.to)),this))},resume:()=>{ma(this)&&(ya(this,!1),fa(this)&&this._resume(),Jr(a.resumeQueue),Oa(this,"onResume",ra(this,ba(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=wa(n);if(e)return this._update(e,!0)}return e}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(oa(this));const r=!Qr.und(e.to),o=!Qr.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(oa(this));this._lastToId=t.callId}const{key:i,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!o||r||t.default&&!Qr.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const h=!Ur(d,c);h&&(s.from=d),d=Bo(d);const p=!Ur(u,l);p&&this._focus(u);const f=Ni(t.to),{config:m}=s,{decay:g,velocity:y}=m;(r||o)&&(m.velocity=0),t.config&&!f&&function(e,t,n){n&&(Yi(n=Fi({},n),t),t=Fi({},n,t)),Yi(e,t),Object.assign(e,t);for(const t in Gi)null==e[t]&&(e[t]=Gi[t]);let{mass:r,frequency:o,damping:i}=e;Qr.und(o)||(o<.01&&(o=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/o,2)*r,e.friction=4*Math.PI*i*r/o)}(m,Pi(t.config,i),t.config!==a.config?Pi(a.config,i):void 0);let v=pi(this);if(!v||Qr.und(u))return n(ra(this,!0));const b=Qr.und(t.reset)?o&&!t.default:!Qr.und(d)&&Hi(t.reset,i),w=b?d:this.get(),C=zi(u),_=Qr.num(C)||Qr.arr(C)||ai(C),$=!f&&(!_||Hi(a.immediate||t.immediate,i));if(p){const e=$i(u);if(e!==v.constructor){if(!$)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(C)}}const x=v.constructor;let S=Ao(u),O=!1;if(!S){const e=b||!pa(this)&&h;(p||e)&&(O=Ur(zi(w),C),S=!O),(Ur(s.immediate,$)||$)&&Ur(m.decay,g)&&Ur(m.velocity,y)||(S=!0)}if(O&&fa(this)&&(s.changed&&!b?S=!0:S||this._stop(l)),!f&&((S||Ao(l))&&(s.values=v.getPayload(),s.toValues=Ao(u)?null:x==vi?[1]:Xr(C)),s.immediate!=$&&(s.immediate=$,$||b||this._set(l)),S)){const{onRest:e}=s;Zr(xa,(e=>Sa(this,t,e)));const r=ra(this,ba(this,l));Jr(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&jr.batchedUpdates((()=>{s.changed=!b,null==e||e(r,this),b?Pi(a.onRest,r):null==s.onStart||s.onStart(r,this)}))}b&&this._set(w),f?n(ia(t.to,t,this._state,this)):S?this._start():fa(this)&&!p?this._pendingCalls.add(n):n(na(w))}_focus(e){const t=this.animation;e!==t.to&&(zo(this)&&this._detach(),t.to=e,zo(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ao(t)&&(Vo(t,this),ca(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ao(e)&&Wo(e,this)}_set(e,t=!0){const n=Bo(e);if(!Qr.und(n)){const e=pi(this);if(!e||!Ur(n,e.getValue())){const r=$i(n);e&&e.constructor==r?e.setValue(n):fi(this,r.create(n)),e&&jr.batchedUpdates((()=>{this._onChange(n,t)}))}}return pi(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Oa(this,"onStart",ra(this,ba(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Pi(this.animation.onChange,e,this)),Pi(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;pi(this).reset(Bo(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),fa(this)||(ga(this,!0),ma(this)||this._resume())}_resume(){io.skipAnimation?this.finish():uo.start(this)}_stop(e,t){if(fa(this)){ga(this,!1);const n=this.animation;Zr(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Ro(this,{type:"idle",parent:this});const r=t?oa(this.get()):ra(this.get(),ba(this,null!=e?e:n.to));Jr(this._pendingCalls,r),n.changed&&(n.changed=!1,Oa(this,"onRest",r,this))}}}function ba(e,t){const n=zi(t);return Ur(zi(e.get()),n)}function wa(e,t=e.loop,n=e.to){let r=Pi(t);if(r){const o=!0!==r&&Bi(r),i=(o||e).reverse,a=!o||o.reset;return Ca(Fi({},e,{loop:t,default:!1,pause:void 0,to:!i||Ni(n)?n:void 0,from:a?e.from:void 0,reset:a},o))}}function Ca(e){const{to:t,from:n}=e=Bi(e),r=new Set;return Qr.obj(t)&&$a(t,r),Qr.obj(n)&&$a(n,r),e.keys=r.size?Array.from(r):null,e}function _a(e){const t=Ca(e);return Qr.und(t.default)&&(t.default=Di(t)),t}function $a(e,t){Gr(e,((e,n)=>null!=e&&t.add(n)))}const xa=["onStart","onRest","onChange","onPause","onResume"];function Sa(e,t,n){e.animation[n]=t[n]!==Ii(t,n)?Ei(t[n],e.key):void 0}function Oa(e,t,...n){var r,o,i,a;null==(r=(o=e.animation)[t])||r.call(o,...n),null==(i=(a=e.defaultProps)[t])||i.call(a,...n)}const ka=["onStart","onChange","onRest"];let ja=1;class Fa{constructor(e,t){this.id=ja++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(Fi({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];Qr.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Ca(e)),this}start(e){let{queue:t}=this;return e?t=Xr(e).map(Ca):this.queue=[],this._flush?this._flush(this,t):(Ta(this,t),Pa(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Zr(Xr(t),(t=>n[t].stop(!!e)))}else aa(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Qr.und(e))this.start({pause:!0});else{const t=this.springs;Zr(Xr(e),(e=>t[e].pause()))}return this}resume(e){if(Qr.und(e))this.start({pause:!1});else{const t=this.springs;Zr(Xr(e),(e=>t[e].resume()))}return this}each(e){Gr(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,Yr(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,a=o||i&&n.size?this.get():null;o&&t.size&&Yr(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),i&&(this._started=!1,Yr(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}jr.onFrame(this._onFrame)}}function Pa(e,t){return Promise.all(t.map((t=>Ha(e,t)))).then((t=>ta(e,t)))}async function Ha(e,t,n){const{keys:r,to:o,from:i,loop:a,onRest:s,onResolve:l}=t,c=Qr.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const u=Qr.arr(o)||Qr.fun(o)?o:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):Zr(ka,(n=>{const r=t[n];if(Qr.fun(r)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Jr(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const h=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),p=!0===t.cancel||!0===Ii(t,"cancel");(u||p&&d.asyncId)&&h.push(ea(++e._lastAsyncId,{props:t,state:d,actions:{pause:qr,resume:qr,start(t,n){p?(aa(d,e._lastAsyncId),n(oa(e))):(t.onRest=s,n(ia(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const f=ta(e,await Promise.all(h));if(a&&f.finished&&(!n||!f.noop)){const n=wa(t,a,o);if(n)return Ta(e,[n]),Ha(e,n,!0)}return l&&jr.batchedUpdates((()=>l(f,e,e.item))),f}function Ea(e,t){const n=Fi({},e.springs);return t&&Zr(Xr(t),(e=>{Qr.und(e.keys)&&(e=Ca(e)),Qr.obj(e.to)||(e=Fi({},e,{to:void 0})),Da(n,e,(e=>Ma(e)))})),Ia(e,n),n}function Ia(e,t){Gr(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Vo(t,e))}))}function Ma(e,t){const n=new va;return n.key=e,t&&Vo(n,t),n}function Da(e,t,n){t.keys&&Zr(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function Ta(e,t){Zr(t,(t=>{Da(e.springs,t,(t=>Ma(t,e)))}))}const Aa=["children"],Ba=e=>{let{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Aa);const r=g(za),i=n.pause||!!r.pause,c=n.immediate||!!r.immediate;n=function(e,t){const[n]=a((()=>({inputs:t,result:e()}))),r=s(),o=r.current;let i=o;i?Boolean(t&&i.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.inputs))||(i={inputs:t,result:e()}):i=n;return l((()=>{r.current=i,o==n&&(n.inputs=n.result=void 0)}),[i]),i.result}((()=>({pause:i,immediate:c})),[i,c]);const{Provider:u}=za;return o.createElement(u,{value:n},t)},za=(Ra=Ba,Na={},Object.assign(Ra,o.createContext(Na)),Ra.Provider._context=Ra,Ra.Consumer._context=Ra,Ra);var Ra,Na;Ba.Provider=za.Provider,Ba.Consumer=za.Consumer;const La=()=>{const e=[],t=function(t){ii(`${ni}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return Zr(e,((e,o)=>{if(Qr.und(t))r.push(e.start());else{const i=n(t,e,o);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Zr(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Zr(e,(e=>e.resume(...arguments))),this},t.set=function(t){Zr(e,(e=>e.set(t)))},t.start=function(t){const n=[];return Zr(e,((e,r)=>{if(Qr.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}})),n},t.stop=function(){return Zr(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Zr(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return Qr.fun(e)?e(n,t):e};return t._getProps=n,t};function Va(e,t,n){const r=Qr.fun(t)&&t;r&&!n&&(n=[]);const o=y((()=>r||3==arguments.length?La():void 0),[]),i=s(0),a=li(),l=y((()=>({ctrls:[],queue:[],flush(e,t){const n=Ea(e,t);return i.current>0&&!l.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?Pa(e,t):new Promise((r=>{Ia(e,n),l.queue.push((()=>{r(Pa(e,t))})),a()}))}})),[]),c=s([...l.ctrls]),u=[],d=di(e)||0;function h(e,n){for(let o=e;o<n;o++){const e=c.current[o]||(c.current[o]=new Fa(null,l.flush)),n=r?r(o,e):t[o];n&&(u[o]=_a(n))}}y((()=>{Zr(c.current.slice(e,d),(e=>{Li(e,o),e.stop(!0)})),c.current.length=e,h(d,e)}),[e]),y((()=>{h(0,Math.min(d,e))}),n);const p=c.current.map(((e,t)=>Ea(e,u[t]))),f=g(Ba),m=di(f),v=f!==m&&Ri(f);si((()=>{i.current++,l.ctrls=c.current;const{queue:e}=l;e.length&&(l.queue=[],Zr(e,(e=>e()))),Zr(c.current,((e,t)=>{null==o||o.add(e),v&&e.start({default:f});const n=u[t];n&&(Vi(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),ci((()=>()=>{Zr(l.ctrls,(e=>e.stop(!0)))}));const b=p.map((e=>Fi({},e)));return o?[b,o]:b}let Wa;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(Wa||(Wa={}));class qa extends da{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Io(...t);const n=this._get(),r=$i(n);fi(this,r.create(n))}advance(e){const t=this._get();Ur(t,this.get())||(pi(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ua(this._active)&&Za(this)}_get(){const e=Qr.arr(this.source)?this.source.map(Bo):Xr(Bo(this.source));return this.calc(...e)}_start(){this.idle&&!Ua(this._active)&&(this.idle=!1,Zr(mi(this),(e=>{e.done=!1})),io.skipAnimation?(jr.batchedUpdates((()=>this.advance())),Za(this)):uo.start(this))}_attach(){let e=1;Zr(Xr(this.source),(t=>{Ao(t)&&Vo(t,this),ca(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Zr(Xr(this.source),(e=>{Ao(e)&&Wo(e,this)})),this._active.clear(),Za(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Xr(this.source).reduce(((e,t)=>Math.max(e,(ca(t)?t.priority:0)+1)),0))}}function Qa(e){return!1!==e.idle}function Ua(e){return!e.size||Array.from(e).every(Qa)}function Za(e){e.idle||(e.idle=!0,Zr(mi(e),(e=>{e.done=!0})),Ro(e,{type:"idle",parent:e}))}function Ga(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}io.assign({createStringInterpolator:ti,to:(e,t)=>new qa(e,t)});const Xa=["style","children","scrollTop","scrollLeft"],Ya=/^--/;function Ja(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Ya.test(e)||es.hasOwnProperty(e)&&es[e]?(""+t).trim():t+"px"}const Ka={};let es={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const ts=["Webkit","Ms","Moz","O"];es=Object.keys(es).reduce(((e,t)=>(ts.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),es);const ns=["x","y","z"],rs=/^(matrix|translate|scale|rotate|skew)/,os=/^(translate)/,is=/^(rotate|skew)/,as=(e,t)=>Qr.num(e)&&0!==e?e+t:e,ss=(e,t)=>Qr.arr(e)?e.every((e=>ss(e,t))):Qr.num(e)?e===t:parseFloat(e)===t;class ls extends wi{constructor(e){let{x:t,y:n,z:r}=e,o=Ga(e,ns);const i=[],a=[];(t||n||r)&&(i.push([t||0,n||0,r||0]),a.push((e=>[`translate3d(${e.map((e=>as(e,"px"))).join(",")})`,ss(e,0)]))),Gr(o,((e,t)=>{if("transform"===t)i.push([e||""]),a.push((e=>[e,""===e]));else if(rs.test(t)){if(delete o[t],Qr.und(e))return;const n=os.test(t)?"px":is.test(t)?"deg":"";i.push(Xr(e)),a.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${as(o,n)})`,ss(o,0)]:e=>[`${t}(${e.map((e=>as(e,n))).join(",")})`,ss(e,t.startsWith("scale")?1:0)])}})),i.length&&(o.transform=new cs(i,a)),super(o)}}class cs extends No{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Zr(this.inputs,((n,r)=>{const o=Bo(n[0]),[i,a]=this.transforms[r](Qr.arr(o)?o:n.map(Bo));e+=" "+i,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Zr(this.inputs,(e=>Zr(e,(e=>Ao(e)&&Vo(e,this)))))}observerRemoved(e){0==e&&Zr(this.inputs,(e=>Zr(e,(e=>Ao(e)&&Wo(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Ro(this,e)}}const us=["scrollTop","scrollLeft"];io.assign({batchedUpdates:w,createStringInterpolator:ti,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});const ds=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new wi(e)),getComponentProps:r=(e=>e)}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=ji(e)||"Anonymous";return(e=Qr.str(e)?i[e]||(i[e]=Si(e,o)):e[ki]||(e[ki]=Si(e,o))).displayName=`Animated(${t})`,e};return Gr(e,((t,n)=>{Qr.arr(e)&&(n=ji(t)),i[n]=i(t)})),{animated:i}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,{style:o,children:i,scrollTop:a,scrollLeft:s}=r,l=Ga(r,Xa),c=Object.values(l),u=Object.keys(l).map((t=>n||e.hasAttribute(t)?t:Ka[t]||(Ka[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==i&&(e.textContent=i);for(let t in o)if(o.hasOwnProperty(t)){const n=Ja(t,o[t]);Ya.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach(((t,n)=>{e.setAttribute(t,c[n])})),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s)},createAnimatedStyle:e=>new ls(e),getComponentProps:e=>Ga(e,us)}),hs=ds.animated;var ps,fs={};Object.defineProperty(fs,"__esModule",{value:!0});var ms=e;const gs=e=>ms.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ms.jsx("path",{d:"M2.62611 5.81312C2.84811 5.59112 3.10478 5.48012 3.39611 5.48012C3.68811 5.48012 3.94511 5.59112 4.16711 5.81312L10.1881 11.8341L16.2301 5.79212C16.4381 5.58412 16.6881 5.48012 16.9801 5.48012C17.2714 5.48012 17.5281 5.59112 17.7501 5.81312C17.9588 6.02179 18.0631 6.27545 18.0631 6.57412C18.0631 6.87279 17.9588 7.12612 17.7501 7.33412L10.8131 14.2721C10.7158 14.3688 10.6151 14.4381 10.5111 14.4801C10.4071 14.5215 10.2994 14.5421 10.1881 14.5421C10.0768 14.5421 9.96911 14.5215 9.86511 14.4801C9.76111 14.4381 9.66044 14.3688 9.56311 14.2721L2.60511 7.31312C2.38244 7.09112 2.27811 6.83779 2.29211 6.55312C2.30611 6.26845 2.41744 6.02179 2.62611 5.81312Z",fill:"currentColor"})});gs.displayName="ChevronDownIcon",ps=fs.ChevronDownIcon=gs;const ys=C.div`
138
+ display: inline-block;
139
+ position: relative;
140
+ width: ${e=>e.$size}px;
141
+ height: ${e=>e.$size}px;
142
+ `,vs=$`
143
+ 0% {
144
+ transform: rotate(0deg);
145
+ }
146
+ 100% {
147
+ transform: rotate(360deg);
148
+ }
149
+ `,bs=C.div`
150
+ box-sizing: border-box;
151
+ display: block;
152
+ position: absolute;
153
+ width: ${e=>e.$size}px;
154
+ height: ${e=>e.$size}px;
155
+ margin: ${e=>e.$borderWidth}px;
156
+ border-width: ${e=>e.$borderWidth}px;
157
+ border-style: solid;
158
+ border-radius: 50%;
159
+ border-color: ${e=>e.$color||Un.Neutral[8](e)}
160
+ transparent transparent transparent;
161
+ animation: ${vs} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
162
+ `,ws=C(bs)`
163
+ animation-delay: -0.45s;
164
+ `,Cs=C(bs)`
165
+ animation-delay: -0.3s;
166
+ `,_s=C(bs)`
167
+ animation-delay: -0.15s;
168
+ `;var $s,xs={};Object.defineProperty(xs,"__esModule",{value:!0});var Ss=e;const Os=e=>Ss.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:Ss.jsx("path",{d:"M4.25 17.5C3.764 17.5 3.35067 17.33 3.01 16.99C2.67 16.6493 2.5 16.236 2.5 15.75V4.25C2.5 3.764 2.67 3.35067 3.01 3.01C3.35067 2.67 3.764 2.5 4.25 2.5H9.208C9.444 2.5 9.649 2.58667 9.823 2.76C9.99633 2.934 10.083 3.139 10.083 3.375C10.083 3.611 9.99633 3.816 9.823 3.99C9.649 4.16333 9.444 4.25 9.208 4.25H4.25V15.75H15.75V10.792C15.75 10.556 15.8367 10.351 16.01 10.177C16.184 10.0037 16.389 9.917 16.625 9.917C16.861 9.917 17.066 10.0037 17.24 10.177C17.4133 10.351 17.5 10.556 17.5 10.792V15.75C17.5 16.236 17.33 16.6493 16.99 16.99C16.6493 17.33 16.236 17.5 15.75 17.5H4.25ZM7.5 12.5C7.33333 12.3333 7.25 12.1283 7.25 11.885C7.25 11.6423 7.33333 11.4377 7.5 11.271L14.521 4.25H12.708C12.472 4.25 12.2673 4.16333 12.094 3.99C11.92 3.816 11.833 3.611 11.833 3.375C11.833 3.139 11.92 2.934 12.094 2.76C12.2673 2.58667 12.472 2.5 12.708 2.5H16.625C16.861 2.5 17.066 2.58667 17.24 2.76C17.4133 2.934 17.5 3.139 17.5 3.375V7.292C17.5 7.528 17.4133 7.73267 17.24 7.906C17.066 8.08 16.861 8.167 16.625 8.167C16.389 8.167 16.184 8.08 16.01 7.906C15.8367 7.73267 15.75 7.528 15.75 7.292V5.479L8.708 12.521C8.54133 12.6877 8.34367 12.771 8.115 12.771C7.88567 12.771 7.68067 12.6807 7.5 12.5Z",fill:"currentColor"})});var ks;Os.displayName="ExternalIcon",$s=xs.ExternalIcon=Os,function(e){e.D1=C.h1`
169
+ ${e=>_`
170
+ ${rr("D1",e.weight,e.paragraph)}
171
+ color: ${Un.Neutral[1]};
172
+ ${or(e.inline,e.paragraph)}
173
+ `}
174
+ `,e.D2=C.h1`
175
+ ${e=>_`
176
+ ${rr("D2",e.weight,e.paragraph)}
177
+ color: ${Un.Neutral[1]};
178
+ ${or(e.inline,e.paragraph)}
179
+ `}
180
+ `,e.D3=C.h1`
181
+ ${e=>_`
182
+ ${rr("D3",e.weight,e.paragraph)}
183
+ color: ${Un.Neutral[1]};
184
+ ${or(e.inline,e.paragraph)}
185
+ `}
186
+ `,e.D4=C.h1`
187
+ ${e=>_`
188
+ ${rr("D4",e.weight,e.paragraph)}
189
+ color: ${Un.Neutral[1]};
190
+ ${or(e.inline,e.paragraph)}
191
+ `}
192
+ `,e.DBody=C.h1`
193
+ ${e=>_`
194
+ ${rr("DBody",e.weight,e.paragraph)}
195
+ color: ${Un.Neutral[1]};
196
+ ${or(e.inline,e.paragraph)}
197
+ `}
198
+ `,e.H1=C.h1`
199
+ ${e=>_`
200
+ ${rr("H1",e.weight,e.paragraph)}
201
+ color: ${Un.Neutral[1]};
202
+ ${or(e.inline,e.paragraph)}
203
+ `}
204
+ `,e.H2=C.h2`
205
+ ${e=>_`
206
+ ${rr("H2",e.weight,e.paragraph)}
207
+ color: ${Un.Neutral[1]};
208
+ ${or(e.inline,e.paragraph)}
209
+ `}
210
+ `,e.H3=C.h3`
211
+ ${e=>_`
212
+ ${rr("H3",e.weight,e.paragraph)}
213
+ color: ${Un.Neutral[1]};
214
+ ${or(e.inline,e.paragraph)}
215
+ `}
216
+ `,e.H4=C.h4`
217
+ ${e=>_`
218
+ ${rr("H4",e.weight,e.paragraph)}
219
+ color: ${Un.Neutral[1]};
220
+ ${or(e.inline,e.paragraph)}
221
+ `}
222
+ `,e.H5=C.h5`
223
+ ${e=>_`
224
+ ${rr("H5",e.weight,e.paragraph)}
225
+ color: ${Un.Neutral[1]};
226
+ ${or(e.inline,e.paragraph)}
227
+ `}
228
+ `,e.H6=C.h6`
229
+ ${e=>_`
230
+ ${rr("H6",e.weight,e.paragraph)}
231
+ color: ${Un.Neutral[1]};
232
+ ${or(e.inline,e.paragraph)}
233
+ `}
234
+ `,e.Body=C.p`
235
+ ${e=>_`
236
+ ${rr("Body",e.weight,e.paragraph)}
237
+ color: ${Un.Neutral[1]};
238
+ ${or(e.inline,e.paragraph)}
239
+ `}
240
+ `,e.BodySmall=C.p`
241
+ ${e=>_`
242
+ ${rr("BodySmall",e.weight,e.paragraph)}
243
+ color: ${Un.Neutral[1]};
244
+ ${or(e.inline,e.paragraph)}
245
+ `}
246
+ `,e.XSmall=C.span`
247
+ ${e=>_`
248
+ ${rr("XSmall",e.weight,e.paragraph)}
249
+ color: ${Un.Neutral[1]};
250
+ ${or(e.inline,e.paragraph)}
251
+ `}
252
+ `,e.Hyperlink={Default:e=>Ps({...e,textStyle:"Body"}),Small:e=>Ps({...e,textStyle:"BodySmall"})}}(ks||(ks={}));const js=C.a`
253
+ ${e=>_`
254
+ ${rr(e.textStyle,e.weight)}
255
+ color: ${Un.Primary};
256
+ text-decoration: none;
257
+
258
+ :hover,
259
+ :active,
260
+ :focus {
261
+ color: ${Un.Secondary};
262
+
263
+ svg {
264
+ color: ${Un.Secondary};
265
+ }
266
+ }
267
+ `}
268
+ `,Fs=C($s)`
269
+ height: 1rem;
270
+ width: 1rem;
271
+ margin-left: 0.4rem;
272
+ vertical-align: middle;
273
+ `,Ps=({external:e=!1,children:r,...o})=>n(js,{...o,children:[r,e&&t(Fs,{})]});var Hs;!function(e){e[e.Subpage=0]="Subpage",e[e.Domain=1]="Domain"}(Hs||(Hs={}));const Es=C.button`
274
+ padding: 0.5rem 1rem;
275
+ min-width: 4rem;
276
+ border-radius: 4px;
277
+ transition: all 200ms ease;
278
+ cursor: pointer;
279
+ display: flex;
280
+ align-items: center;
281
+ justify-content: center;
282
+
283
+ @media (hover: hover) {
284
+ &:hover {
285
+ box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.2);
286
+ }
287
+ }
288
+
289
+ // -----------------------------------------------------------------------------
290
+ // BUTTON STYLE + TEXT COLOR
291
+ // -----------------------------------------------------------------------------
292
+ ${e=>{switch(e.$buttonStyle){case"secondary":return _`
293
+ background-color: ${Un.Neutral[8](e)};
294
+ border: 1px solid ${Un.Primary(e)};
295
+
296
+ span {
297
+ color: ${Un.Primary(e)};
298
+ }
299
+ `;case"light":return _`
300
+ background-color: ${Un.Neutral[8](e)};
301
+ border: 1px solid ${Un.Neutral[5](e)};
302
+
303
+ span {
304
+ color: ${Un.Primary(e)};
305
+ }
306
+ `;case"disabled":return _`
307
+ background-color: ${Un.Neutral[6](e)};
308
+ border: 1px solid transparent;
309
+ cursor: not-allowed;
310
+
311
+ &:hover {
312
+ box-shadow: none;
313
+ }
314
+
315
+ span {
316
+ color: ${Un.Neutral[3](e)};
317
+ }
318
+ `;case"link":return _`
319
+ background-color: transparent;
320
+ border: none;
321
+ border-radius: unset;
322
+
323
+ &:hover {
324
+ box-shadow: none;
325
+ }
326
+
327
+ color: ${Un.Primary};
328
+ :hover,
329
+ :active,
330
+ :focus {
331
+ span {
332
+ color: ${Un.Secondary};
333
+ }
334
+ }
335
+ `;default:return _`
336
+ background-color: ${Un.Primary(e)};
337
+ border: 1px solid transparent;
338
+
339
+ ${Gn.mobileL} {
340
+ width: 100%;
341
+ }
342
+
343
+ span {
344
+ color: ${Un.Neutral[8](e)};
345
+ }
346
+ `}}}
347
+
348
+ // -----------------------------------------------------------------------------
349
+ // BUTTON SIZE + TEXT SIZE
350
+ // -----------------------------------------------------------------------------
351
+ ${e=>"small"===e.$buttonSizeStyle?_`
352
+ height: 2.5rem;
353
+ span {
354
+ ${rr("H5","semibold")}
355
+ }
356
+
357
+ ${Gn.mobileS} {
358
+ height: auto;
359
+ }
360
+ `:_`
361
+ height: 3rem;
362
+ span {
363
+ ${rr("H4","semibold")}
364
+ }
365
+
366
+ ${Gn.mobileS} {
367
+ height: auto;
368
+ }
369
+ `}
370
+ `,Is=C((({color:e,className:r,size:o=18})=>n(ys,{className:r,$size:o,$color:e,children:[t(bs,{id:"inner1",$size:o-2,$borderWidth:2}),t(ws,{id:"inner2",$size:o-2,$borderWidth:2}),t(Cs,{id:"inner3",$size:o-2,$borderWidth:2}),t(_s,{id:"inner4",$size:o-2,$borderWidth:2})]})))`
371
+ margin-right: 0.5rem;
372
+ ${e=>{let t;switch(e.$buttonStyle){case"secondary":case"light":case"link":t=Un.Primary(e);break;case"disabled":t=Un.Neutral[3](e);break;default:t=Un.Neutral[8](e)}return _`
373
+ #inner1,
374
+ #inner2,
375
+ #inner3,
376
+ #inner4 {
377
+ border-color: ${t} transparent transparent transparent;
378
+ }
379
+ `}}
380
+ `,Ms={Default:i.forwardRef(((e,r)=>{const{children:o,disabled:i=!1,loading:a=!1,styleType:s="default",...l}=e,c={$buttonStyle:i?"disabled":s,$buttonSizeStyle:"default"};return n(Es,{ref:r,"data-testid":l["data-testid"]||"button",disabled:i,...c,...l,children:[a&&t(Is,{...c}),t("span",{children:o})]})})),Small:i.forwardRef(((e,r)=>{const{children:o,disabled:i=!1,loading:a=!1,styleType:s="default",...l}=e,c={$buttonStyle:i?"disabled":s,$buttonSizeStyle:"small"};return n(Es,{ref:r,"data-testid":l["data-testid"]||"button",disabled:i,...c,...l,children:[a&&t(Is,{...c,size:16}),t("span",{children:o})]})}))},Ds=C.button`
381
+ display: flex;
382
+ justify-content: center;
383
+ align-items: center;
384
+ padding: 1.5rem;
385
+ background-color: transparent;
386
+ border: none;
387
+ cursor: pointer;
388
+
389
+ img {
390
+ height: 1rem;
391
+ width: 1rem;
392
+ }
393
+
394
+ &:active,
395
+ &:focus {
396
+ ${({$outline:e})=>"none"===e&&"outline: none;"}
397
+
398
+ ${({$highlight:e})=>e&&_`
399
+ background-color: ${Un.Neutral[7]};
400
+ `}
401
+ }
402
+ `,Ts=i.forwardRef((({children:e,focusHighlight:n=!0,focusOutline:r="none",...o},i)=>t(Ds,{ref:i,$outline:r,$highlight:n,...o,children:e}))),As=C.div`
403
+ background-color: ${e=>e.$collapsible?Un.Neutral[7](e):Un.Neutral[8](e)};
404
+
405
+ ${Gn.mobileL} {
406
+ background-color: ${Un.Neutral[7]};
407
+ }
408
+ `,Bs=C.div`
409
+ display: ${e=>e.$showDivider?"block":"none"};
410
+ height: 1px;
411
+ background-color: ${Un.Neutral[5]};
412
+
413
+ ${Gn.mobileL} {
414
+ display: ${e=>e.$showMobileDivider?"block":"none"};
415
+ margin: 0 1rem;
416
+ }
417
+ `,zs=C.div`
418
+ display: flex;
419
+ align-items: center;
420
+
421
+ background-color: ${Un.Neutral[8]};
422
+
423
+ ${Gn.mobileL} {
424
+ background-color: transparent;
425
+ }
426
+ `,Rs=C(Ts)`
427
+ margin: 0 0 0 auto;
428
+ `,Ns=C(ps)`
429
+ height: 1.125rem;
430
+ width: 1.125rem;
431
+ color: ${Un.Neutral[3]};
432
+
433
+ transform: rotate(${e=>e.$expanded?180:0}deg);
434
+ transition: transform 300ms ease-in-out;
435
+
436
+ &:hover {
437
+ color: ${Un.Neutral[2]};
438
+ }
439
+ `,Ls=C(ks.H4)`
440
+ margin: 1.5rem 0 1.5rem 1.25rem;
441
+
442
+ ${Gn.mobileL} {
443
+ ${rr("H5","semibold")}
444
+ margin: 1.5rem 1.25rem 0 1.25rem;
445
+ }
446
+ `,Vs=C(hs.div)`
447
+ overflow: hidden;
448
+ `,Ws=C.div`
449
+ padding: 1rem 1.25rem;
450
+
451
+ ${Gn.mobileL} {
452
+ padding: 1.5rem 1.25rem;
453
+ }
454
+ `,qs=C(hs.div)`
455
+ ${e=>e.$minimisable&&"overflow: hidden;"}
456
+ ${e=>e.$height&&`height: ${e.$height}px;`}
457
+ `,Qs=C(Ms.Small)`
458
+ height: fit-content;
459
+ padding: 0;
460
+ margin: 1rem 0 0 0;
461
+
462
+ ${Gn.mobileL} {
463
+ span {
464
+ ${rr("H6","semibold")}
465
+ }
466
+ }
467
+ `,Us=({collapsible:e=!0,minimisable:r=!1,minimisedHeight:o,showDivider:i=!0,showMobileDivider:s=!0,title:l,children:c,...u})=>{const{mode:d}=g(Ee),h="mobile"===d,[p,f]=a(!h&&e),[m,y]=a(r),v=!h&&e,b=He(),w=He(),C=function(e,t){const n=Qr.fun(e),[[r],o]=Va(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,o]:r}({height:p?0:b.height}),_=m?o??Math.min(.5*w.height,216):w.height;return n(As,{$collapsible:v,children:[t(Bs,{$showDivider:i,$showMobileDivider:s}),(l||v)&&n(zs,{children:[l&&t(Ls,{weight:"semibold",children:l}),v&&t(Rs,{focusHighlight:!1,focusOutline:"browser",onClick:()=>{f(!p)},"aria-label":p?"Expand":"Collapse",children:t(Ns,{$expanded:!p})})]}),t(Vs,{style:h?void 0:C,children:t("div",{ref:b.ref,children:n(Ws,{...u,children:[t(qs,{$height:_,$minimisable:r,children:t("div",{ref:w.ref,children:t("div",{"data-id":"content-container",children:"function"==typeof c?c(d,{minimised:m}):c})})}),r&&n(Qs,{"data-id":"minimise-button",styleType:"link",onClick:()=>{y(!m)},children:["View ",m?"more":"less"]})]})})})]})},Zs=C.div`
468
+ position: relative;
469
+ display: inline-flex;
470
+ min-width: 10.375rem;
471
+ border-radius: 4px;
472
+ border-width: 1px;
473
+ border-style: solid;
474
+ cursor: ${e=>e.$disabled?"not-allowed":"pointer"};
475
+ padding: 0.6875rem 1rem;
476
+
477
+ // Content positioning style
478
+ ${e=>{if(!e.$indicator)return _`
479
+ justify-content: center;
480
+ `}}
481
+
482
+ // Background, Hover and Border style
483
+ ${e=>"no-border"===e.$styleType?e.$error?_`
484
+ border-color: ${Un.Validation.Red.Icon};
485
+ background: ${Un.Neutral[8]};
486
+
487
+ :hover {
488
+ box-shadow: 0 0 4px 1px ${Un.Shadow.Red};
489
+ }
490
+ `:e.$disabled?_`
491
+ border-color: transparent;
492
+ `:_`
493
+ border-color: transparent;
494
+
495
+ :hover {
496
+ background: ${Un.Accent.Light[6]};
497
+ }
498
+ `:e.$disabled&&!e.$selected?_`
499
+ background: ${Un.Neutral[6]};
500
+ border-color: ${Un.Neutral[5]};
501
+ `:e.$disabled&&e.$selected?_`
502
+ background: ${Un.Neutral[6]};
503
+ border-color: ${Un.Neutral[4]};
504
+ `:e.$error?_`
505
+ background: ${Un.Neutral[8]};
506
+ border-color: ${Un.Validation.Red.Border};
507
+
508
+ :hover {
509
+ box-shadow: 0 0 4px 1px ${Un.Shadow.Red};
510
+ }
511
+ `:e.$selected?_`
512
+ background: ${Un.Accent.Light[5]};
513
+ border-color: ${Un.Primary};
514
+
515
+ :hover {
516
+ box-shadow: 0 0 4px 1px ${Un.Shadow.Accent};
517
+ }
518
+ `:_`
519
+ background: ${Un.Neutral[8]};
520
+ border-color: ${Un.Neutral[5]};
521
+
522
+ :hover {
523
+ box-shadow: 0 0 4px 1px ${Un.Shadow.Accent};
524
+ border-color: ${Un.Accent.Light[1]};
525
+ }
526
+ `}
527
+ `,Gs=C.input`
528
+ position: absolute;
529
+ height: 100%;
530
+ width: 100%;
531
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
532
+ top: 0;
533
+ left: 0;
534
+
535
+ /* Hide appearance but keep it focusable using keyboard interactions */
536
+ appearance: none;
537
+ background: transparent;
538
+ `,Xs=C.div`
539
+ display: flex;
540
+ flex-direction: column;
541
+ `,Ys=C.label`
542
+ ${e=>e.$selected&&!e.$indicator?_`
543
+ ${rr("H4","semibold")}
544
+ `:_`
545
+ ${rr("H4","regular")}
546
+ `}
547
+
548
+ color: ${Un.Neutral[1]};
549
+
550
+ ${e=>e.$disabled?_`
551
+ color: ${Un.Neutral[3](e)};
552
+ `:e.$selected?_`
553
+ color: ${Un.Primary(e)};
554
+ `:void 0}
555
+ `,Js=C(Us)`
556
+ padding: 0 0 1rem;
557
+
558
+ [data-id="content-container"] {
559
+ position: relative; // to get the item position relative to this parent
560
+ padding: 0.5rem 0.5rem 0;
561
+
562
+ ${Gn.mobileL} {
563
+ padding: 1rem 1.25rem 0.5rem;
564
+ }
565
+ }
566
+
567
+ [data-id="minimise-button"] {
568
+ margin: 0.5rem 1.25rem 0;
569
+
570
+ ${Gn.mobileL} {
571
+ margin: 0.5rem 1.25rem 0;
572
+ }
573
+ }
574
+ `,Ks=C.div`
575
+ display: flex;
576
+ flex-direction: column;
577
+
578
+ ${Gn.mobileL} {
579
+ flex-direction: row;
580
+ flex-wrap: wrap;
581
+ gap: 1rem;
582
+ }
583
+ `,el=C.label`
584
+ display: flex;
585
+ align-items: flex-start;
586
+ ${e=>!e.$visible&&"display: none;"}
587
+
588
+ position: relative;
589
+ width: 100%;
590
+ min-height: 1.5rem;
591
+ padding: 0.5rem;
592
+
593
+ cursor: pointer;
594
+ ${rr("BodySmall","regular")}
595
+ ${e=>e.$selected&&_`
596
+ color: ${Un.Primary};
597
+ `}
598
+ `,tl=C.input`
599
+ appearance: none;
600
+ `,nl=C(Or)`
601
+ height: 1.5rem;
602
+ width: 1.5rem;
603
+ flex-shrink: 0;
604
+
605
+ ${tl}:focus-visible + & {
606
+ outline: 2px solid ${Un.Primary};
607
+ outline-offset: -2px;
608
+ border-radius: 4px;
609
+ }
610
+ `,rl=C((({type:e="checkbox",indicator:r,checked:o,styleType:i="default",children:c,disabled:u,error:d,name:h,id:p,className:f,"data-testid":m,onChange:g})=>{const[y,v]=a(o),[b]=a((()=>crypto.randomUUID())),w=p?`${p}-input`:b,C=s();l((()=>{v(o)}),[o]);return n(Zs,{$selected:y,$disabled:u,className:f,$styleType:i,$error:d,$indicator:r,id:p,"data-testid":m,children:[r&&(()=>{let n;switch(e){case"yes":n="tick";break;case"no":n="cross";break;case"checkbox":case"radio":n=e}return t(Or,{type:n,active:y,disabled:u})})(),t(Gs,{ref:C,name:h,id:w,type:"checkbox"===e?"checkbox":"radio","data-testid":"toggle-input",disabled:u,onChange:t=>{if(!u){switch(e){case"checkbox":y||v((e=>!e));break;case"radio":case"yes":case"no":y||v(!0)}g&&g(t)}},checked:y}),t(Xs,{children:t(Ys,{htmlFor:w,$selected:y,$indicator:r,$disabled:u,"data-testid":"toggle-label",children:c})})]})}))`
611
+ ${e=>!e.$visible&&"visibility: hidden;"}
612
+ `;var ol,il={};Object.defineProperty(il,"__esModule",{value:!0});var al=e;const sl=e=>al.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:al.jsx("path",{d:"M12.521 17.562L5.58301 10.625C5.48635 10.5277 5.41701 10.427 5.37501 10.323C5.33301 10.219 5.31201 10.1113 5.31201 10C5.31201 9.88867 5.33301 9.781 5.37501 9.677C5.41701 9.573 5.48635 9.47234 5.58301 9.375L12.542 2.417C12.75 2.20834 13.0033 2.104 13.302 2.104C13.6007 2.104 13.854 2.21534 14.062 2.438C14.2847 2.646 14.389 2.90267 14.375 3.208C14.361 3.514 14.25 3.771 14.042 3.979L8.02101 10L14.062 16.042C14.2567 16.236 14.354 16.4893 14.354 16.802C14.354 17.1147 14.2567 17.368 14.062 17.562C13.854 17.7707 13.5973 17.875 13.292 17.875C12.986 17.875 12.729 17.7707 12.521 17.562Z",fill:"currentColor"})});sl.displayName="ChevronLeftIcon",ol=il.ChevronLeftIcon=sl;const ll=C.div`
613
+ background-color: ${Un.Neutral[8]};
614
+ height: 100%;
615
+ width: 100%;
616
+ display: flex;
617
+ flex-direction: column;
618
+ `;var cl,ul={};Object.defineProperty(ul,"__esModule",{value:!0});var dl=e;const hl=e=>dl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:dl.jsx("path",{d:"M3.375 15.833C3.139 15.833 2.934 15.7463 2.76 15.573C2.58667 15.399 2.5 15.194 2.5 14.958C2.5 14.722 2.58667 14.5173 2.76 14.344C2.934 14.17 3.139 14.083 3.375 14.083H6.792C7.028 14.083 7.23267 14.17 7.406 14.344C7.58 14.5173 7.667 14.722 7.667 14.958C7.667 15.194 7.58 15.399 7.406 15.573C7.23267 15.7463 7.028 15.833 6.792 15.833H3.375ZM3.375 5.917C3.139 5.917 2.934 5.83 2.76 5.656C2.58667 5.48267 2.5 5.278 2.5 5.042C2.5 4.806 2.58667 4.601 2.76 4.427C2.934 4.25367 3.139 4.167 3.375 4.167H9.896C10.132 4.167 10.3367 4.25367 10.51 4.427C10.684 4.601 10.771 4.806 10.771 5.042C10.771 5.278 10.684 5.48267 10.51 5.656C10.3367 5.83 10.132 5.917 9.896 5.917H3.375ZM10.083 17.5C9.847 17.5 9.64233 17.4133 9.469 17.24C9.295 17.066 9.208 16.861 9.208 16.625V13.312C9.208 13.076 9.295 12.8713 9.469 12.698C9.64233 12.5247 9.847 12.438 10.083 12.438C10.3197 12.438 10.5247 12.5247 10.698 12.698C10.8713 12.8713 10.958 13.076 10.958 13.312V14.083H16.625C16.861 14.083 17.066 14.17 17.24 14.344C17.4133 14.5173 17.5 14.722 17.5 14.958C17.5 15.194 17.4133 15.399 17.24 15.573C17.066 15.7463 16.861 15.833 16.625 15.833H10.958V16.625C10.958 16.861 10.8713 17.066 10.698 17.24C10.5247 17.4133 10.3197 17.5 10.083 17.5ZM6.792 12.542C6.556 12.542 6.351 12.455 6.177 12.281C6.00367 12.1077 5.917 11.903 5.917 11.667V10.875H3.375C3.139 10.875 2.934 10.7883 2.76 10.615C2.58667 10.441 2.5 10.236 2.5 10C2.5 9.764 2.58667 9.559 2.76 9.385C2.934 9.21167 3.139 9.125 3.375 9.125H5.917V8.354C5.917 8.118 6.00367 7.91333 6.177 7.74C6.351 7.566 6.556 7.479 6.792 7.479C7.028 7.479 7.23267 7.566 7.406 7.74C7.58 7.91333 7.667 8.118 7.667 8.354V11.667C7.667 11.903 7.58 12.1077 7.406 12.281C7.23267 12.455 7.028 12.542 6.792 12.542ZM10.083 10.875C9.847 10.875 9.64233 10.7883 9.469 10.615C9.295 10.441 9.208 10.236 9.208 10C9.208 9.764 9.295 9.559 9.469 9.385C9.64233 9.21167 9.847 9.125 10.083 9.125H16.625C16.861 9.125 17.066 9.21167 17.24 9.385C17.4133 9.559 17.5 9.764 17.5 10C17.5 10.236 17.4133 10.441 17.24 10.615C17.066 10.7883 16.861 10.875 16.625 10.875H10.083ZM13.208 7.562C12.972 7.562 12.7673 7.47533 12.594 7.302C12.42 7.12867 12.333 6.924 12.333 6.688V3.375C12.333 3.139 12.42 2.934 12.594 2.76C12.7673 2.58667 12.972 2.5 13.208 2.5C13.444 2.5 13.649 2.58667 13.823 2.76C13.9963 2.934 14.083 3.139 14.083 3.375V4.167H16.625C16.861 4.167 17.066 4.25367 17.24 4.427C17.4133 4.601 17.5 4.806 17.5 5.042C17.5 5.278 17.4133 5.48267 17.24 5.656C17.066 5.83 16.861 5.917 16.625 5.917H14.083V6.688C14.083 6.924 13.9963 7.12867 13.823 7.302C13.649 7.47533 13.444 7.562 13.208 7.562Z",fill:"currentColor"})});hl.displayName="FilterIcon",cl=ul.FilterIcon=hl;const pl=C.div`
619
+ ${Gn.mobileL} {
620
+ display: none;
621
+ }
622
+ `,fl=C.div`
623
+ display: none;
624
+ ${Gn.mobileL} {
625
+ display: block;
626
+ }
627
+ `,ml=C.div`
628
+ background-color: ${Un.Neutral[8]};
629
+ border: 1px solid ${Un.Neutral[5]};
630
+ border-radius: 0.5rem;
631
+ overflow: hidden;
632
+ width: 100%;
633
+ `,gl=C.div`
634
+ background-color: ${Un.Neutral[7]};
635
+ height: 100%;
636
+ width: 100%;
637
+ display: flex;
638
+ flex-direction: column;
639
+ `,yl=C.div`
640
+ flex: 1;
641
+ width: 100%;
642
+ overflow-y: auto;
643
+ `,vl=C.div`
644
+ display: flex;
645
+ align-items: center;
646
+
647
+ background-color: ${Un.Neutral[8]};
648
+
649
+ ${Gn.mobileL} {
650
+ border-bottom: 1px solid ${Un.Neutral[5]};
651
+ }
652
+ `,bl=C(ks.H4)`
653
+ flex: 1;
654
+ margin: 1.5rem 0 1rem 1.25rem;
655
+
656
+ ${Gn.mobileL} {
657
+ text-align: center;
658
+ margin: 1.5rem 0;
659
+ }
660
+ `,wl=C(Ts)`
661
+ padding: 1.5rem 1.25rem;
662
+ margin-right: auto;
663
+ color: ${Un.Neutral[3]};
664
+
665
+ svg {
666
+ height: 1.5rem;
667
+ width: 1.5rem;
668
+ }
669
+
670
+ &:hover {
671
+ color: ${Un.Neutral[2]};
672
+ }
673
+ `,Cl=C(Ms.Small)`
674
+ background-color: transparent;
675
+ padding: 1.5rem 1.25rem 1rem 1.25rem;
676
+ height: auto;
677
+
678
+ ${Gn.mobileL} {
679
+ padding: 1.5rem 1.25rem;
680
+ }
681
+ `,_l=C(Ms.Default)`
682
+ width: 100%;
683
+ span {
684
+ display: flex;
685
+ align-items: center;
686
+ }
687
+ `,$l=C(cl)`
688
+ margin-right: 0.625rem;
689
+ `,xl=C.div`
690
+ padding: 1.5rem 1.25rem;
691
+ background-color: ${Un.Neutral[8]};
692
+ border-top: 1px solid ${Un.Neutral[5]};
693
+ `,Sl=C(Ms.Default)`
694
+ width: 100%;
695
+ `,Ol=Object.assign((({toggleFilterButtonLabel:e="Filters",headerTitle:o="Filters",clearButtonDisabled:i=!1,onClear:s,onDismiss:l,onDone:c,children:u,...d})=>{const[h,p]=a(!1);P.exports.useMediaQuery({maxWidth:T.mobileL},void 0,(e=>{e||m()}));const f=()=>{p(!0)},m=()=>{p(!1),l&&l()},g=()=>{p(!1),c&&c()},y=()=>{s&&s()},v=e=>"function"==typeof u?u(e):u,b=e=>n(vl,{children:["mobile"===e&&t(wl,{onClick:m,focusOutline:"browser",focusHighlight:!1,"aria-label":"Dismiss",children:t(x,{})}),t(bl,{weight:"semibold",children:o}),t(Cl,{styleType:"link",onClick:y,disabled:i,children:"Clear"})]});return n("div",{...d,children:[t(fl,{children:t(Ee.Provider,{value:{mode:"mobile"},children:n(r,{children:[n(_l,{styleType:"light",onClick:f,children:[t($l,{})," ",e]}),t(I,{show:h,disableTransition:!0,children:n(gl,{children:[b("mobile"),t(yl,{children:v("mobile")}),t(xl,{children:t(Sl,{onClick:g,children:"Done"})})]})})]})})}),t(pl,{children:t(Ee.Provider,{value:{mode:"default"},children:n(ml,{children:[b("default"),v("default")]})})})]})}),{Item:Us,Page:({onDismiss:e,onDone:r,children:o})=>n(ll,{children:[t(wl,{onClick:e,focusOutline:"browser",focusHighlight:!1,"aria-label":"Dismiss",children:t(ol,{})}),t(yl,{children:o}),t(xl,{children:t(Sl,{onClick:r,children:"Done"})})]}),Checkbox:({selectedOptions:e,options:r,onSelect:o,labelExtractor:i,valueExtractor:c,...u})=>{const{mode:d}=g(Ee),[h,p]=a(e||[]),[f,y]=a(),[v,b]=a(r.length),w=s(),C=s(),_=e=>()=>{const t=[...h],n=h.findIndex((t=>x(t)===x(e)));n>=0?t.splice(n,1):t.push(e),p(t),o?.(t)},$=e=>i?i(e):e.label??e.toString(),x=e=>c?c(e):e.value??e.toString(),S=m((()=>{if(!w.current)return void y(void 0);const e=Array.from(w.current.children);let t=0,n=0,r=-1;for(let o=0;o<e.length;o++){const i=e[o].offsetTop;if(i>r&&(n++,r=i,n>2))break;t=o}b(t),y(n>2?r-8:void 0)}),[]);l((()=>{e!==h&&p(e||[])}),[e]),l((()=>{"default"===d?(()=>{const e=C.current?C.current.offsetTop+C.current.clientHeight:void 0;y(e)})():S()}),[r]),He({handleWidth:"mobile"===d,handleHeight:!1,skipOnMount:!0,refreshMode:"throttle",targetRef:w,onResize:S});return t(Js,{minimisable:r.length>5,minimisedHeight:f,...u,children:(e,{minimised:o})=>t(Ks,{role:"group","aria-label":u.title,ref:w,children:r.map(((r,i)=>"default"===e?((e,r,o)=>{const i=$(e),a=x(e),s=!!h.find((e=>x(e)===a));return n(el,{$visible:!o||r<5,$selected:s,ref:4===r?C:void 0,children:[t(tl,{type:"checkbox",checked:s,onChange:_(e)}),t(nl,{type:"checkbox",active:s}),i]},a)})(r,i,o):((e,n,r)=>{const o=$(e),i=x(e),a=!!h.find((e=>x(e)===i));return t(rl,{type:"checkbox",checked:a,$visible:!r||f&&n<=v,onChange:_(e),children:o})})(r,i,o)))})})}});export{Ol as Filter};
696
+ //# sourceMappingURL=index.js.map