PageSourceSearch

https://www.grover.com/_next/static/chunks/8356-dcbc980069e5e381.js

js grover.com collected 2026-10-02 02:40:50 UTC 48,572 bytes, 263 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8356],{694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return Math.min(Math.max(e,t),r)},e.exports=t.default},3403:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5247:(e,t)=>{"use strict";function r(e){var t=void 0;return"u">typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach(function(t){if("constructor"!==t){var r=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof r.value&&Object.defineProperty(e.prototype,t,o(e,t,r))}}),e}function o(e,t,r){var o=r.value;if("function"!=typeof o)throw Error("@autobind decorator can only be applied to methods not: "+typeof o);var n=!1;return{configurable:!0,get:function(){if(n||this===e.prototype||this.hasOwnProperty(t))return o;var r=o.bind(this);return n=!0,Object.defineProperty(this,t,{value:r,configurable:!0,writable:!0}),n=!1,r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length?r.apply(void 0,t):o.apply(void 0,t)},e.exports=t.default},6803:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"number"==typeof e},e.exports=t.default},11764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,n=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),a=b(r(14232)),i=b(r(95062)),s=b(r(5247)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(30387)),u=b(r(16161)),d=b(r(77814)),c=b(r(34996)),p=b(r(75176)),h=b(r(66613)),f=b(r(92119)),m=r(46853),y=r(85028);function b(e){return e&&e.__esModule?e:{default:e}}function v(e,t,r,o,n){var a={};return Object.keys(o).forEach(function(e){a[e]=o[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce(function(r,o){return o(e,t,r)||r},a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}v((o=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.startValue=null,r.node=null,r.trackNode=null,r.isSliderDragging=!1,r.lastKeyMoved=null,r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,null,[{key:"propTypes",get:function(){return{allowSameValues:i.default.bool,ariaLabelledby:i.default.string,ariaControls:i.default.string,classNames:i.default.objectOf(i.default.string),disabled:i.default.bool,draggableTrack:i.default.bool,formatLabel:i.default.func,maxValue:c.default,minValue:c.default,name:i.default.string,onChangeStart:i.default.func,onChange:i.default.func.isRequired,onChangeComplete:i.default.func,step:i.default.number,value:p.default}}},{key:"defaultProps",get:function(){return{allowSameValues:!1,classNames:u.default,disabled:!1,maxValue:10,minValue:0,step:1}}}
1]),n(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener()}},{key:"getComponentClassName",value:function(){return this.props.disabled?this.props.classNames.disabledInputRange:this.props.classNames.inputRange}},{key:"getTrackClientRect",value:function(){return this.trackNode.getClientRect()}},{key:"getKeyByPosition",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue()),r=l.getPositionsFromValues(t,this.props.minValue,this.props.maxValue,this.getTrackClientRect());return this.isMultiValue()&&(0,m.distanceTo)(e,r.min)<(0,m.distanceTo)(e,r.max)?"min":"max"}},{key:"getKeys",value:function(){return this.isMultiValue()?["min","max"]:["max"]}},{key:"hasStepDifference",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue());return(0,m.length)(e.min,t.min)>=this.props.step||(0,m.length)(e.max,t.max)>=this.props.step}},{key:"isMultiValue",value:function(){return(0,m.isObject)(this.props.value)}},{key:"isWithinRange",value:function(e){return this.isMultiValue()?e.min>=this.props.minValue&&e.max<=this.props.maxValue&&this.props.allowSameValues?e.min<=e.max:e.min<e.max:e.max>=this.props.minValue&&e.max<=this.props.maxValue}},{key:"shouldUpdate",value:function(e){return this.isWithinRange(e)&&this.hasStepDifference(e)}},{key:"updatePosition",value:function(e,t){var r=l.getValueFromProps(this.props,this.isMultiValue()),o=l.getPositionsFromValues(r,this.props.minValue,this.props.maxValue,this.getTrackClientRect());o[e]=t,this.lastKeyMoved=e,this.updatePositions(o)}},{key:"updatePositions",value:function(e){var t={min:l.getValueFromPosition(e.min,this.props.minValue,this.props.maxValue,this.getTrackClientRect()),max:l.getValueFromPosition(e.max,this.props.minValue,this.props.maxValue,this.getTrackClientRect())},r={min:l.getStepValueFromValue(t.min,this.props.step),max:l.getStepValueFromValue(t.max,this.props.step)};this.updateValues(r)}},{key:"updateValue",value:function(e,t){var r=l.getValueFromProps(this.props,this.isMultiValue());r[e]=t,this.updateValues(r)}},{key:"updateValues",value:function(e){this.shouldUpdate(e)&&this.props.onChange(this.isMultiValue()?e:e.max)}},{key:"incrementValue",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue())[e]+this.props.step;this.updateValue(e,t)}},{key:"decrementValue",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue())[e]-this.props.step;this.updateValue(e,t)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleSliderDrag",value:function(e,t){var r=this;if(!this.props.disabled){var o=l.getPositionFromEvent(e,this.getTrackClientRect());this.isSliderDragging=!0,requestAnimationFrame(function(){return r.updatePosition(t,o)})}}},{key:"handleTrackDrag",value:function(e,t){if(!this.props.disabled&&this.props.draggableTrack&&!this.isSliderDragging){var r=this.props,o=r.maxValue,n=r.minValue,a=r.value,i=a.max,s=a.min,u=l.getPositionFromEvent(e,this.getTrackClientRect()),d=l.getValueFromPosition(u,n,o,this.getTrackClientRect()),c=l.getStepValueFromValue(d,this.props.step),p=l.getPositionFromEvent(t,this.getTrackClientRect()),h=l.getValueFromPosition(p,n,o,this.getTrackClientRect()),f=l.getStepValueFromValue(h,this.props.step)-c;this.updateValues({min:s-f,max:i-f})}}},{key:"handleSliderKeyDown",value:function(e,t){if(!this.props.disabled)switch(e.keyCode){case y.LEFT_ARROW:case y.DOWN_ARROW:e.preventDefault(),this.decrementValue(t);break;case y.RIGHT_ARROW:case y.UP_ARROW:e.preventDefault(),this.incrementValue(t)}}},{key:"handleTrackMouseDown",value:function(e,t){if(!this.props.disabled){var r=this.props,o=r.maxValue,n=r.minValue,a=r.value,i=a.max,s=a.min;e.preventDefault();var u=l.getValueFromPosition(t,n,o,this.getTrackClientRect()),d=l.getStepValueFromValue(u,this.props.step);(!this.props.draggableTrack||d>i||d<s)&&this.updatePosition(this.getKeyByPosition(t),t)}}},{key:"handleInteractionStart",value:function(){this.props.onChangeStart&&this.props.onChangeStart(this.props.value),this.props.onChangeComplete&&!(0,m.isDefined)(this.startValue)&&(this.startValue=this.props.value)}},{key:"handleInteractionEnd",value:function(){this.isSliderDragging&&(this.isSliderDragging=!1),this.props.onChangeComplete&&(0,m.isDefined)(this.startValue)&&(this.startValue!==this.props.value&&this.props.onChangeComplete(this.props.value),this.startValue=null)}},{key:"handleKeyDown",value:function(e){this.handleInteractionStart(e)}},{key:"handleKeyUp",value:function(e){this.handleInteractionEnd(e)}},{key:"handleMouseDown",value:function(e){this.handleInteractionStart(e),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(e){this.handleInteractionEnd(e),this.removeDocumentMouseUpListener()}},{key:"handleTouchStart",value:function(e){this.handleInteractionStart(e),this.addDocumentTouchEndListener()}},{key:"handleTouchEnd",value:function(e){this.handleInteractionEnd(e),this.removeDocumentTouchEndListener()}},{key:"renderSliders",value:function(){var e=this,t=l.getValueFromProps(this.props,this.isMultiValue()),r=l.getPercentagesFromValues(t,this.props.minValue,this.props.maxValue);return(this.props.allowSameValues&&"min"===this.lastKeyMoved?this.getKeys().reverse():this.getKeys()).map(function(o){var n=t[o],i=r[o],s=e.props,l=s.maxValue,u=s.minValue;return"min"===o?l=t.max:u=t.min,a.default.createElement(h.default,{ariaLabelledby:e.props.ariaLabelledby,ariaControl
1s:e.props.ariaControls,classNames:e.props.classNames,formatLabel:e.props.formatLabel,key:o,maxValue:l,minValue:u,onSliderDrag:e.handleSliderDrag,onSliderKeyDown:e.handleSliderKeyDown,percentage:i,type:o,value:n})})}},{key:"renderHiddenInputs",value:function(){var e=this;if(!this.props.name)return[];var t=this.isMultiValue(),r=l.getValueFromProps(this.props,t);return this.getKeys().map(function(o){var n=r[o],i=t?""+e.props.name+(0,m.captialize)(o):e.props.name;return a.default.createElement("input",{key:o,type:"hidden",name:i,value:n})})}},{key:"render",value:function(){var e=this,t=this.getComponentClassName(),r=l.getValueFromProps(this.props,this.isMultiValue()),o=l.getPercentagesFromValues(r,this.props.minValue,this.props.maxValue);return a.default.createElement("div",{"aria-disabled":this.props.disabled,ref:function(t){e.node=t},className:t,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart},a.default.createElement(d.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"min"},this.props.minValue),a.default.createElement(f.default,{classNames:this.props.classNames,draggableTrack:this.props.draggableTrack,ref:function(t){e.trackNode=t},percentages:o,onTrackDrag:this.handleTrackDrag,onTrackMouseDown:this.handleTrackMouseDown},this.renderSliders()),a.default.createElement(d.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"max"},this.props.maxValue),this.renderHiddenInputs())}}]),t}(a.default.Component)).prototype,"handleSliderDrag",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleSliderDrag"),o.prototype),v(o.prototype,"handleTrackDrag",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTrackDrag"),o.prototype),v(o.prototype,"handleSliderKeyDown",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleSliderKeyDown"),o.prototype),v(o.prototype,"handleTrackMouseDown",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTrackMouseDown"),o.prototype),v(o.prototype,"handleInteractionStart",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleInteractionStart"),o.prototype),v(o.prototype,"handleInteractionEnd",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleInteractionEnd"),o.prototype),v(o.prototype,"handleKeyDown",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleKeyDown"),o.prototype),v(o.prototype,"handleKeyUp",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleKeyUp"),o.prototype),v(o.prototype,"handleMouseDown",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseDown"),o.prototype),v(o.prototype,"handleMouseUp",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseUp"),o.prototype),v(o.prototype,"handleTouchStart",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTouchStart"),o.prototype),v(o.prototype,"handleTouchEnd",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTouchEnd"),o.prototype),t.default=o,e.exports=t.default},12158:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var o=r(37876);let n=(0,r(14232).forwardRef)(({size:e=24,...t},r)=>(0,o.jsx)("svg",{"data-testid":"svg-filter",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 24 24",ref:r,...t,children:(0,o.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 7a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1M7 12a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1M10 17a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1",clipRule:"evenodd"})}));n.displayName="SvgFilter"},16161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={activeTrack:"input-range__track input-range__track--active",disabledInputRange:"input-range input-range--disabled",inputRange:"input-range",labelContainer:"input-range__label-container",maxLabel:"input-range__label input-range__label--max",minLabel:"input-range__label input-range__label--min",slider:"input-range__slider",sliderContainer:"input-range__slider-container",track:"input-range__track input-range__track--background",valueLabel:"input-range__label input-range__label--value"},e.exports=t.default},17959:(e,t,r)=>{"use strict";r.d(t,{z:()=>f});var o=r(37876),n=r(87856),a=r(61223);let i=(0,n.i7)`
2    from {
3        opacity: 0;
4        transform: scale(0.8);
5    }
6
7    to {
8        opacity: 1;
9        transform: scale(1);
10    }
11`,s=n.Ay.div.withConfig({displayName:"RadioGroup__InputWrapper",componentId:"devsbb__sc-hb0ep5-0"})`
12    display: flex;
13    align-items: flex-start;
14`,l=n.Ay.span.withConfig({displayName:"RadioGroup__Label",componentId:"devsbb__sc-hb0ep5-1"})`
15    min-width: 0;
16
17    &:hover {
18        ${({$disabled:e,theme:t})=>!e&&(0,n.AH)`
19                color: ${t.colors.hover.superDarkGrey};
20            `}
21    }
22    ${({theme:e})=>e.typography.RegularParagraph}
23    color: ${({theme:e})=>e.colors.text.darkerGrey};
24
25    ${({$disabled:e,theme:t})=>e?(0,n.AH)`
26            color: ${t.colors.text.baseGrey};
27        `:""}
28`,u=n.Ay.div.withConfig({displayName:"RadioGroup__LabelWrapper",componentId:"devsbb__sc-hb0ep5-2"})`
29    min-width: 0;
30    display: flex;
31    align-items: center;
32    flex-grow: 1;
33`,d=(0,n.Ay)(a.q7).withConfig({displayName:"RadioGroup__Radio",componentId:"devsbb__sc-hb0ep5-3"})`
34    padding: 0;
35    width: 24px;
36    height: 24px;
37    background-color: ${({theme:e})=>e.colors.background.white};
38    border: 1px solid ${({theme:e})=>e.colors.stroke.darkerGrey};
39    border-radius: ${({theme:e})=>e.borderRadius.full};
40    display: flex;
41    align-items: center;
42    justify-content: center;
43    flex-shrink: 0;
44    box-sizing: border-box;
45    overflow: hidden;
46
47    &[data-disabled] {
48        border-color: ${({theme:e})=>e.colors.stroke.baseGrey};
49        background-color: ${({theme:e})=>e.colors.background.superLightGrey};
50        cursor: not-allowed;
51    }
52
53    &:focus-visible {
54        outline: none;
55        box-shadow: ${({theme:e})=>e.shadows.focused};
56    }
57`,c=(0,n.Ay)(a.C1).withConfig({displayName:"RadioGroup__RadioIndicator",componentId:"devsbb__sc-hb0ep5-4"})`
58    width: 16px;
59    height: 16px;
60    background-color: ${({theme:e})=>e.colors.background.darkerGrey};
61    border-radius: ${({theme:e})=>e.borderRadius.full};
62    animation: ${i} 100ms cubic-bezier(0.2, 0, 0, 1);
63
64    &[data-disabled] {
65        background-color: ${({theme:e})=>e.colors.stroke.baseGrey};
66    }
67`,p=n.Ay.label.withConfig({displayName:"RadioGroup__RadioWrapper",componentId:"devsbb__sc-hb0ep5-5"})`
68    width: fit-content;
69    min-width: 0;
70    background-color: ${({theme:e})=>e.colors.background.white};
71    border-radius: 4px;
72    display: flex;
73    align-items: stretch;
74    gap: ${({theme:e})=>e.spacers["2M"]};
75    box-sizing: border-box;
76    cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
77
78    ${({$labelPlacement:e,theme:t})=>"start"!==e?"":(0,n.AH)`
79            gap: ${t.spacers.XL};
80            width: 100%;
81
82            ${u} {
83                order: -1;
84            }
85        `}
86`,h=(0,n.Ay)(a.bL).withConfig({displayName:"RadioGroup__Wrapper",componentId:"devsbb__sc-hb0ep5-6"})`
87    display: flex;
88    flex-direction: ${({orientation:e})=>"horizontal"===e?"row":"column"};
89    align-items: flex-start;
90    flex-wrap: wrap;
91    gap: ${({theme:e})=>e.spacers.L} ${({theme:e})=>e.spacers.XL};
92`,f=({className:e,defaultValue:t,disabled:r=!1,labelPlacement:n="end",onChange:a=()=>null,options:i,orientation:f="vertical",value:m,testId:y})=>(0,o.jsx)(h,{className:e,"data-testid":null!=y?y:"radio-group",defaultValue:t,disabled:r,onValueChange:a,orientation:"start"===n?"vertical":f,...{value:m},children:i.map(({disabled:e,label:t,value:a},i)=>(0,o.jsxs)(p,{$disabled:r||e||!1,$labelPlacement:n,children:[(0,o.jsx)(s,{children:(0,o.jsx)(d,{"data-testid":"radio-item",disabled:e,value:a,children:(0,o.jsx)(c,{})})}),(0,o.jsx)(u,{children:(0,o.jsx)(l,{"data-testid":"radio-label",$disabled:r||e||!1,children:t})})]},`radio-item-${i}-${a}`))})},18577:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){return null!==e&&(void 0===e?"undefined":r(e))==="object"},e.exports=t.default},19596:(e,t,r)=>{"use strict";r.d(t,{q:()=>s});var o=r(13478),n=r(61482),a=class extends o.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:r}=e,o=super.createResult(e,t),{isFetching:a,isRefetching:i,isError:s,isRefetchError:l}=o,u=r.fetchMeta?.fetchMore?.direction,d=s&&"forward"===u,c=a&&"forward"===u,p=s&&"backward"===u,h=a&&"backward"===u;return{...o,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,n.rB)(t,r.data),hasPreviousPage:(0,n.RQ)(t,r.data),isFetchNextPageError:d,isFetchingNextPage:c,isFetchPreviousPageError:p,isFetchingPreviousPage:h,isRefetchError:l&&!d&&!p,isRefetching:i&&!c&&!h}}},i=r(73512);function s(e,t){return(0,i.t)(e,a,t)}},30387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};t.getPercentageFromPosition=a,t.getValueFromPosition=function(e,t,r,o){return t+(r-t)*a(e,o)},t.getValueFromProps=function(e,t){return t?o({},e.value):{min:e.minValue,max:e.value}},t.getPercentageFromValue=i,t.getPercentagesFromValues=function(e,t,r){return{min:i(e.min,t,r),max:i(e.max,t,r)}},t.getPositionFromValue=s,t.getPositionsFromValues=function(e,t,r,o){return{min:s(e.min,t,r,o),max:s(e.max,t,r,o)}},t.getPositionFromEvent=function(e,t){var r=t.width,o=(e.touches?e.touches[0]:e).clientX;return{x:(0,n.clamp)(o-t.left,0,r),y:0}},t.getStepValueFromValue=function(e,t){return Math.round(e/t)*t};var n=r(46853);function a(e,t){var r=t.width;return e.x/r||0}function i(e,t,r){var o=(0,n.clamp)(e,t,r),a=r-t;return(o-t)/a||0}function s(e,t,r,o){var n=o.width;return{x:i(e,t,r)*n,y:0}}},34996:(e,t,r)=>{"use strict";
92Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.maxValue,r=e.minValue;return(0,o.isNumber)(r)&&(0,o.isNumber)(t)?r>=t?Error('"minValue" must be smaller than "maxValue"'):void 0:Error('"minValue" and "maxValue" must be a number')};var o=r(46853);e.exports=t.default},41244:(e,t,r)=>{"use strict";r.d(t,{b:()=>n});var o=r(37876);let n=(0,r(14232).forwardRef)(({size:e=24,...t},r)=>(0,o.jsx)("svg",{"data-testid":"svg-categories",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 24 24",ref:r,...t,children:(0,o.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.586 7.219C13.22 7.693 12.646 8 12 8a1.997 1.997 0 0 1-2-2 1.999 1.999 0 1 1 3.586 1.219M14 12a1.999 1.999 0 1 1-4 0 1.999 1.999 0 1 1 4 0M13.701 19.053A1.999 1.999 0 0 1 10 18a1.999 1.999 0 1 1 3.701 1.053M7.586 7.219C7.22 7.693 6.646 8 6 8a1.997 1.997 0 0 1-2-2 1.999 1.999 0 1 1 3.586 1.219M8 12a1.999 1.999 0 1 1-4 0 1.999 1.999 0 1 1 4 0M7.701 19.053A1.999 1.999 0 0 1 4 18a1.999 1.999 0 1 1 3.701 1.053M19.586 7.219C19.22 7.693 18.646 8 18 8a1.997 1.997 0 0 1-2-2 1.999 1.999 0 1 1 3.586 1.219M20 12a1.999 1.999 0 1 1-4 0 1.999 1.999 0 1 1 4 0M19.701 19.053A1.999 1.999 0 0 1 16 18a1.999 1.999 0 1 1 3.701 1.053",clipRule:"evenodd"})}));n.displayName="SvgCategories"},44311:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!=e},e.exports=t.default},46853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(3403);Object.defineProperty(t,"captialize",{enumerable:!0,get:function(){return d(o).default}});var n=r(694);Object.defineProperty(t,"clamp",{enumerable:!0,get:function(){return d(n).default}});var a=r(84814);Object.defineProperty(t,"distanceTo",{enumerable:!0,get:function(){return d(a).default}});var i=r(44311);Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return d(i).default}});var s=r(6803);Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return d(s).default}});var l=r(18577);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return d(l).default}});var u=r(88231);function d(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"length",{enumerable:!0,get:function(){return d(u).default}})},51096:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});var o=r(37876);let n=(0,r(14232).forwardRef)(({size:e=24,...t},r)=>(0,o.jsx)("svg",{"data-testid":"svg-arrow-left",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 24 24",ref:r,...t,children:(0,o.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.72 19.707a1 1 0 0 0 0-1.414L5.429 13H21a1 1 0 0 0 0-2H5.428l5.293-5.293a1 1 0 0 0-1.414-1.414l-7 7a1 1 0 0 0 0 1.414l7 7a1 1 0 0 0 1.414 0",clipRule:"evenodd"})}));n.displayName="SvgArrowLeft"},53477:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var o=r(37876);let n=(0,r(14232).forwardRef)(({size:e=24,...t},r)=>(0,o.jsx)("svg",{"data-testid":"svg-stars",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 24 24",ref:r,...t,children:(0,o.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m15 4 2.63 5.315L23 12l-5.37 2.63-2.658 5.314-2.657-5.314L7 12l5.315-2.685zm-1.194 6.806L11 12l2.806 1.139L15 16l1.139-2.861L19 12l-2.861-1.194L15 8zM8.5 15l1.167 2.333L12 18.5l-2.333 1.167L8.5 22l-1.167-2.333L5 18.5l2.333-1.167zM6.5 3l1.167 2.333L10 6.5 7.667 7.667 6.5 10 5.333 7.667 3 6.5l2.333-1.167z",clipRule:"evenodd"})}));n.displayName="SvgStars"},58706:(e,t,r)=>{"use strict";r.d(t,{C1:()=>P,bL:()=>O});var o=r(14232),n=r(10714),a=r(91844),i=r(33716),s=r(58162),l=r(61676),u=r(82277),d=globalThis?.document?o.useLayoutEffect:()=>{},c=e=>{var t;let r,a,{present:i,children:s}=e,l=function(e){var t,r;let[n,a]=o.useState(),i=o.useRef({}),s=o.useRef(e),l=o.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer((e,t)=>r[e][t]??e,t));return o.useEffect(()=>{let e=p(i.current);l.current="mounted"===u?e:"none"},[u]),d(()=>{let t=i.current,r=s.current;if(r!==e){let o=l.current,n=p(t);e?c("MOUNT"):"none"===n||t?.display==="none"?c("UNMOUNT"):r&&o!==n?c("ANIMATION_OUT"):c("UNMOUNT"),s.current=e}},[e,c]),d(()=>
92{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let o=p(i.current).includes(r.animationName);if(r.target===n&&o&&(c("ANIMATION_END"),!s.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},o=e=>{e.target===n&&(l.current=p(i.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:o.useCallback(e=>{e&&(i.current=getComputedStyle(e)),a(e)},[])}}(i),u="function"==typeof s?s({present:l.isPresent}):o.Children.only(s),c=(0,n.s)(l.ref,(t=u,(a=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(a=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof s||l.isPresent?o.cloneElement(u,{ref:c}):null};function p(e){return e?.animationName||"none"}c.displayName="Presence";var h=r(66326),f=r(37876),m="Checkbox",[y,b]=(0,a.A)(m),[v,g]=y(m),w=o.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:a,checked:l,defaultChecked:u,required:d,disabled:c,value:p="on",onCheckedChange:m,form:y,...b}=e,[g,w]=o.useState(null),k=(0,n.s)(t,e=>w(e)),x=o.useRef(!1),O=!g||y||!!g.closest("form"),[P=!1,j]=(0,s.i)({prop:l,defaultProp:u,onChange:m}),L=o.useRef(P);return o.useEffect(()=>{let e=g?.form;if(e){let t=()=>j(L.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[g,j]),(0,f.jsxs)(v,{scope:r,state:P,disabled:c,children:[(0,f.jsx)(h.sG.button,{type:"button",role:"checkbox","aria-checked":_(P)?"mixed":P,"aria-required":d,"data-state":D(P),"data-disabled":c?"":void 0,disabled:c,value:p,...b,ref:k,onKeyDown:(0,i.m)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.m)(e.onClick,e=>{j(e=>!!_(e)||!e),O&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})}),O&&(0,f.jsx)(M,{control:g,bubbles:!x.current,name:a,value:p,checked:P,required:d,disabled:c,form:y,style:{transform:"translateX(-100%)"},defaultChecked:!_(u)&&u})]})});w.displayName=m;var k="CheckboxIndicator",x=o.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:o,...n}=e,a=g(k,r);return(0,f.jsx)(c,{present:o||_(a.state)||!0===a.state,children:(0,f.jsx)(h.sG.span,{"data-state":D(a.state),"data-disabled":a.disabled?"":void 0,...n,ref:t,style:{pointerEvents:"none",...e.style}})})});x.displayName=k;var M=e=>{let{control:t,checked:r,bubbles:n=!0,defaultChecked:a,...i}=e,s=o.useRef(null),d=(0,l.Z)(r),c=(0,u.X)(t);o.useEffect(()=>{let e=s.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(d!==r&&t){let o=new Event("click",{bubbles:n});e.indeterminate=_(r),t.call(e,!_(r)&&r),e.dispatchEvent(o)}},[d,r,n]);let p=o.useRef(!_(r)&&r);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a??p.current,...i,tabIndex:-1,ref:s,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function _(e){return"indeterminate"===e}function D(e){return _(e)?"indeterminate":e?"checked":"unchecked"}var O=w,P=x},66613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,n=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),a=u(r(14232)),i=u(r(95062)),s=u(r(5247)),l=u(r(77814));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r,o,n){var a={};return Object.keys(o).forEach(function(e){a[e]=o[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce(function(r,o){return o(e,t,r)||r},a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}d((o=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.node=null,r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,null,[{key:"propTypes",get:function(){return{ariaLabelledby:i.default.string,ariaControl
92s:i.default.string,classNames:i.default.objectOf(i.default.string).isRequired,formatLabel:i.default.func,maxValue:i.default.number,minValue:i.default.number,onSliderDrag:i.default.func.isRequired,onSliderKeyDown:i.default.func.isRequired,percentage:i.default.number.isRequired,type:i.default.string.isRequired,value:i.default.number.isRequired}}}]),n(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener(),this.removeDocumentTouchMoveListener()}},{key:"getStyle",value:function(){return{position:"absolute",left:100*(this.props.percentage||0)+"%"}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchMoveListener",value:function(){this.removeDocumentTouchMoveListener(),this.node.ownerDocument.addEventListener("touchmove",this.handleTouchMove)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchMoveListener",value:function(){this.node.ownerDocument.removeEventListener("touchmove",this.handleTouchMove)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleMouseDown",value:function(){this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener()}},{key:"handleMouseMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchStart",value:function(){this.addDocumentTouchEndListener(),this.addDocumentTouchMoveListener()}},{key:"handleTouchMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchEnd",value:function(){this.removeDocumentTouchMoveListener(),this.removeDocumentTouchEndListener()}},{key:"handleKeyDown",value:function(e){this.props.onSliderKeyDown(e,this.props.type)}},{key:"render",value:function(){var e=this,t=this.getStyle();return a.default.createElement("span",{className:this.props.classNames.sliderContainer,ref:function(t){e.node=t},style:t},a.default.createElement(l.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"value"},this.props.value),a.default.createElement("div",{"aria-labelledby":this.props.ariaLabelledby,"aria-controls":this.props.ariaControls,"aria-valuemax":this.props.maxValue,"aria-valuemin":this.props.minValue,"aria-valuenow":this.props.value,className:this.props.classNames.slider,draggable:"false",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,role:"slider",tabIndex:"0"}))}}]),t}(a.default.Component)).prototype,"handleMouseDown",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseDown"),o.prototype),d(o.prototype,"handleMouseUp",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseUp"),o.prototype),d(o.prototype,"handleMouseMove",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseMove"),o.prototype),d(o.prototype,"handleTouchStart",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTouchStart"),o.prototype),d(o.prototype,"handleTouchMove",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTouchMove"),o.prototype),d(o.prototype,"handleTouchEnd",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTouchEnd"),o.prototype),d(o.prototype,"handleKeyDown",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleKeyDown"),o.prototype),t.default=o,e.exports=t.default},70066:(e,t,r)=>{"use strict";r.d(t,{f:()=>n});var o=r(37876);let n=(0,r(14232).forwardRef)(({size:e=24,...t},r)=>(0,o.jsx)("svg",{"data-testid":"svg-star-outlined",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 24 24",ref:r,...t,children:(0,o.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.94 7.955 12 2 9.063 7.955 2.49 8.91l4.756 4.635-1.123 6.545L12 17l5.878 3.09-1.123-6.545 4.755-4.635zm2.273 2.351-3.601-.523L12 6.519 10.39 9.783l-3.602.523 2.606 2.54-.615 3.588 3.222-1.694 3.221 1.694-.615-3.587z",clipRule:"evenodd"})}));n.displayName="SvgStarOutlined"},73447:()=>{},75176:(e,t,r)=>{"use strict";
92Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e.maxValue,n=e.minValue,a=e[t];return(0,o.isNumber)(a)||(0,o.isObject)(a)&&(0,o.isNumber)(a.min)&&(0,o.isNumber)(a.max)?(0,o.isNumber)(a)&&(a<n||a>r)||(0,o.isObject)(a)&&(a.min<n||a.min>r||a.max<n||a.max>r)?Error('"'+t+'" must be in between "minValue" and "maxValue"'):void 0:Error('"'+t+'" must be a number or a range object')};var o=r(46853);e.exports=t.default},77814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=a(r(14232)),n=a(r(95062));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.formatLabel?e.formatLabel(e.children,e.type):e.children;return o.default.createElement("span",{className:e.classNames[e.type+"Label"]},o.default.createElement("span",{className:e.classNames.labelContainer},t))}i.propTypes={children:n.default.node.isRequired,classNames:n.default.objectOf(n.default.string).isRequired,formatLabel:n.default.func,type:n.default.string.isRequired},e.exports=t.default},79706:(e,t,r)=>{"use strict";var o=r(3717);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,a,i){if(i!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},79722:(e,t,r)=>{"use strict";r.d(t,{I:()=>l});var o=r(37876),n=r(14232),a=r(87856);let i=a.Ay.button.withConfig({displayName:"FilterGroup__Filter",componentId:"devsbb__sc-1kv0182-0"})`
93    padding: 0 ${({theme:e})=>e.spacers.L};
94    width: auto;
95    min-width: ${({$size:e})=>"L"===e?"100px":"0px"};
96    height: ${({$size:e})=>"L"===e?"48px":"40px"};
97    ${({theme:e})=>e.typography.RegularParagraphBold}
98    color: ${({theme:e})=>e.colors.text.darkerGrey};
99    background-color: ${({theme:e})=>e.colors.background.white};
100    border: 1px solid ${({theme:e})=>e.colors.stroke.darkerGrey};
101    border-radius: ${({theme:e})=>e.borderRadius.S};
102    display: flex;
103    align-items: center;
104    justify-content: center;
105    gap: ${({theme:e})=>e.spacers.M};
106    flex-shrink: 0;
107    box-sizing: border-box;
108    overflow: hidden;
109    transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1);
110    transition-property: background-color, border-color, color;
111    cursor: pointer;
112
113    &:has(*) {
114        padding-left: ${({theme:e})=>e.spacers["2M"]};
115    }
116
117    &:hover {
118        background-color: ${({theme:e})=>e.colors.hover.lighterGrey};
119    }
120
121    &[data-state='checked'] {
122        color: ${({theme:e})=>e.colors.text.white};
123        background-color: ${({theme:e})=>e.colors.background.darkerGrey};
124    }
125
126    &:disabled {
127        border-color: ${({theme:e})=>e.colors.background.superLightGrey};
128        color: ${({theme:e})=>e.colors.text.baseGrey};
129        background-color: ${({theme:e})=>e.colors.background.superLightGrey};
130        cursor: not-allowed;
131    }
132
133    &:focus-visible {
134        outline: none;
135        box-shadow: ${({theme:e})=>e.shadows.focused};
136    }
137`,s=a.Ay.div.withConfig({displayName:"FilterGroup__Wrapper",componentId:"devsbb__sc-1kv0182-1"})`
138    display: flex;
139    align-items: flex-start;
140    flex-wrap: wrap;
141    gap: ${({theme:e})=>e.spacers["2M"]};
142`,l=({className:e,defaultValue:t,disabled:r=!1,onChange:a=()=>null,options:l,size:u="L",testId:d})=>{let[c,p]=(0,n.useState)(t);return(0,o.jsx)(s,{className:e,"data-testid":null!=d?d:"filter-group",defaultValue:t,...void 0!==c&&{value:c},children:l.map(({disabled:e,icon:t,label:n,value:s},l)=>(0,o.jsxs)(i,{"data-state":c===s?"checked":"unchecked","data-testid":"filter-item",disabled:r||e,onClick:e=>{"checked"===e.currentTarget.dataset.state?(p(void 0),a(void 0)):(p(s),a(s))},$size:u,value:s,children:[null!=t?t:null,n]},`filter-item-${l}-${s}`))})}},80954:(e,t,r)=>{"use strict";r.d(t,{S:()=>f});var o=r(37876),n=r(14232),a=r(87856),i=r(58706);let s=(0,a.Ay)(i.C1).withConfig({displayName:"Checkbox__CheckboxIndicator",componentId:"devsbb__sc-1d1db1-0"})`
143    color: ${({theme:e})=>
143e.colors.text.white};
144    line-height: 0;
145    flex-shrink: 0;
146`,l=(0,a.Ay)(i.bL).withConfig({displayName:"Checkbox__CheckboxWrapper",componentId:"devsbb__sc-1d1db1-1"})`
147    padding: 0;
148    width: 24px;
149    height: 24px;
150    background-color: ${({theme:e})=>e.colors.background.white};
151    border: 1px solid ${({theme:e})=>e.colors.stroke.darkerGrey};
152    border-radius: 4px;
153    display: flex;
154    align-items: center;
155    justify-content: center;
156    flex-shrink: 0;
157    box-sizing: border-box;
158    overflow: hidden;
159    cursor: pointer;
160    transition: background-color 100ms cubic-bezier(0.2, 0, 0, 1);
161
162    ${({$error:e,theme:t})=>e?(0,a.AH)`
163            border-color: ${t.colors.status.darkRed};
164        `:""}
165
166    &[data-state='checked'] {
167        background-color: ${({$error:e,theme:t})=>e?t.colors.status.darkRed:t.colors.background.darkerGrey};
168
169        &[data-disabled] {
170            background-color: ${({theme:e})=>e.colors.stroke.baseGrey};
171        }
172    }
173
174    &[data-disabled] {
175        border-color: ${({theme:e})=>e.colors.stroke.baseGrey};
176        background-color: ${({theme:e})=>e.colors.background.superLightGrey};
177        cursor: not-allowed;
178    }
179
180    &:focus,
181    &:focus-visible {
182        outline: none;
183    }
184`,u=a.Ay.div.withConfig({displayName:"Checkbox__InputWrapper",componentId:"devsbb__sc-1d1db1-2"})`
185    display: flex;
186    align-items: flex-start;
187`,d=a.Ay.span.withConfig({displayName:"Checkbox__Label",componentId:"devsbb__sc-1d1db1-3"})`
188    min-width: 0;
189    ${({theme:e})=>e.typography.RegularParagraph}
190    color: ${({theme:e})=>e.colors.text.darkerGrey};
191
192    a {
193        color: inherit;
194        outline: none;
195        text-underline-offset: 2px;
196        ${({theme:e})=>(0,a.AH)(e.typography.RegularParagraphUnderline)}
197    }
198
199    &:hover {
200        ${({$disabled:e,theme:t})=>!e&&(0,a.AH)`
201                color: ${t.colors.hover.superDarkGrey};
202            `}
203    }
204
205    ${({$boxed:e,theme:t})=>e?(0,a.AH)`
206            ${t.typography.SmallParagraph}
207
208            a {
209                ${({theme:e})=>(0,a.AH)(e.typography.SmallParagraphUnderline)}
210            }
211        `:""}
212
213    ${({$error:e,theme:t})=>e?(0,a.AH)`
214            color: ${t.colors.status.darkRed};
215        `:""}
216
217    ${({$disabled:e,theme:t})=>e?(0,a.AH)`
218            color: ${t.colors.text.baseGrey};
219        `:""}
220`,c=a.Ay.div.withConfig({displayName:"Checkbox__LabelWrapper",componentId:"devsbb__sc-1d1db1-4"})`
221    min-width: 0;
222    display: flex;
223    align-items: center;
224    flex-grow: 1;
225`,p=a.Ay.label.withConfig({displayName:"Checkbox__Wrapper",componentId:"devsbb__sc-1d1db1-5"})`
226    width: fit-content;
227    min-width: 0;
228    background-color: ${({theme:e})=>e.colors.background.white};
229    border-radius: 4px;
230    display: flex;
231    align-items: stretch;
232    gap: ${({theme:e})=>e.spacers["2M"]};
233    box-sizing: border-box;
234    cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
235    overflow: hidden;
236
237    &:has(:focus-visible) {
238        box-shadow: ${({theme:e})=>e.shadows.focused};
239    }
240
241    ${({$disabled:e,$error:t,$withBackground:r,theme:o})=>r?(0,a.AH)`
242            padding: ${o.spacers["2M"]};
243            width: 100%;
244            background-color: ${o.colors.background[t&&!e?"lightRed":"superLightGrey"]};
245            border-radius: ${o.borderRadius.S};
246        `:""}
247
248    ${({$labelPlacement:e,theme:t})=>"start"!==e?"":(0,a.AH)`
249            gap: ${t.spacers.XL};
250            width: 100%;
251
252            ${c} {
253                order: -1;
254            }
255        `}
256`;a.Ay.div.withConfig({displayName:"Checkbox__StoryWrapper",componentId:"devsbb__sc-1d1db1-6"})`
257    display: flex;
258    flex-direction: column;
259    align-items: flex-start;
260    gap: ${({theme:e})=>e.spacers.L};
261    min-width: 0;
262`;var h=r(22957);let f=(0,n.forwardRef)(({boxed:e=!1,defaultChecked:t,disabled:r=!1,error:n=!1,label:a,labelPlacement:i="end",name:f,onChange:m=()=>null,value:y,testId:b},v)=>{let g=`${f}-label`,w=!!a,k="string"==typeof a?a:f;return(0,o.jsxs)(p,{"data-testid":null!=b?b:"checkbox",$disabled:r,$error:n,$labelPlacement:i,htmlFor:f,$withBackground:e,children:[(0,o.jsx)(u,{children:(0,o.jsx)(l,{"aria-labelledby":w?g:void 0,"aria-label":w?void 0:k,defaultChecked:t,disabled:r,$error:n,id:f,name:f,onCheckedChange:m,ref:v,...{checked:y},children:(0,o.jsx)(s,{children:(0,o.jsx)(h.C,{})})})}),w?(0,o.jsx)(c,{children:(0,o.jsx)(d,{id:g,$boxed:e,$disabled:r,$error:n,children:a})}):null]})});f.displayName="Checkbox"},84814:(e,t)=>
262{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},e.exports=t.default},85028:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOWN_ARROW=40,t.LEFT_ARROW=37,t.RIGHT_ARROW=39,t.UP_ARROW=38},86015:(e,t,r)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=((o=r(11764))&&o.__esModule?o:{default:o}).default,e.exports=t.default},88231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.abs(e-t)},e.exports=t.default},92119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,n=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),a=l(r(14232)),i=l(r(95062)),s=l(r(5247));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r,o,n){var a={};return Object.keys(o).forEach(function(e){a[e]=o[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce(function(r,o){return o(e,t,r)||r},a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}u((o=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.node=null,r.trackDragEvent=null,r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,null,[{key:"propTypes",get:function(){return{children:i.default.node.isRequired,classNames:i.default.objectOf(i.default.string).isRequired,draggableTrack:i.default.bool,onTrackDrag:i.default.func,onTrackMouseDown:i.default.func.isRequired,percentages:i.default.objectOf(i.default.number).isRequired}}}]),n(t,[{key:"getClientRect",value:function(){return this.node.getBoundingClientRect()}},{key:"getActiveTrackStyle",value:function(){var e=(this.props.percentages.max-this.props.percentages.min)*100+"%";return{left:100*this.props.percentages.min+"%",width:e}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseMove",value:function(e){this.props.draggableTrack&&(null!==this.trackDragEvent&&this.props.onTrackDrag(e,this.trackDragEvent),this.trackDragEvent=e)}},{key:"handleMouseUp",value:function(){this.props.draggableTrack&&(this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.trackDragEvent=null)}},{key:"handleMouseDown",value:function(e){var t={x:(e.touches?e.touches[0].clientX:e.clientX)-this.getClientRect().left,y:0};this.props.onTrackMouseDown(e,t),this.props.draggableTrack&&(this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener())}},{key:"handleTouchStart",value:function(e){e.preventDefault(),this.handleMouseDown(e)}},{key:"render",value:function(){var e=this,t=this.getActiveTrackStyle();return a.default.createElement("div",{className:this.props.classNames.track,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,ref:function(t){e.node=t}},a.default.createElement("div",{style:t,className:this.props.classNames.activeTrack}),this.props.children)}}]),t}(a.default.Component)).prototype,"handleMouseMove",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseMove"),o.prototype),u(o.prototype,"handleMouseUp",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseUp"),o.prototype),u(o.prototype,"handleMouseDown",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleMouseDown"),o.prototype),u(o.prototype,"handleTouchStart",[s.default],Object.getOwnPropertyDescriptor(o.prototype,"handleTouchStart"),o.prototype),t.default=o,e.exports=t.default},95062:(e,t,r)=>{e.exports=r(79706)()}}]);
263//# sourceMappingURL=8356-dcbc980069e5e381.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.