1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cd4f5d36-8603-5a52-b5bb-6a473cd25874")}catch(e){}}(); 3(self.__LOADABLE_LOADED_CHUNKS__||=[]).push([[926],{20465:function(e,t,n){var r,o=this&&this.__extends||(r=function(e,t){return r=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])},r(e,t)},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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},c=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(96540)),l=n(21813),f=n(58105),d=["ArrowRight","ArrowUp","k","PageUp"],h=["ArrowLeft","ArrowDown","j","PageDown"],p=function(e){function t(t){var n=e.call(this,t)||this;if(n.trackRef=u.createRef(),n.thumbRefs=[],n.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(n.props.values.length).fill(0).map(function(e,t){return t}),isChanged:!1,markOffsets:[]},n.getOffsets=function(){var e=n.props,t=e.direction,r=e.values,o=e.min,i=e.max,a=n.trackRef.current;if(!a)return console.warn("No track element found."),[];var s=a.getBoundingClientRect(),c=(0,l.getPaddingAndBorder)(a);return n.getThumbs().map(function(e,n){var a={x:0,y:0},u=e.getBoundingClientRect(),d=(0,l.getMargin)(e);switch(t){case f.Direction.Right:return a.x=-1*(d.left+c.left),a.y=-1*((u.height-s.height)/2+c.top),a.x+=s.width*(0,l.relativeValue)(r[n],o,i)-u.width/2,a;case f.Direction.Left:return a.x=-1*(d.right+c.right),a.y=-1*((u.height-s.height)/2+c.top),a.x+=s.width-s.width*(0,l.relativeValue)(r[n],o,i)-u.width/2,a;case f.Direction.Up:return a.x=-1*((u.width-s.width)/2+d.left+c.left),a.y=-c.left,a.y+=s.height-s.height*(0,l.relativeValue)(r[n],o,i)-u.height/2,a;case f.Direction.Down:return a.x=-1*((u.width-s.width)/2+d.left+c.left),a.y=-c.left,a.y+=s.height*(0,l.relativeValue)(r[n],o,i)-u.height/2,a;default:return(0,l.assertUnreachable)(t)}})},n.getThumbs=function(){return n.trackRef&&n.trackRef.current?Array.from(n.trackRef.current.children).filter(function(e){return e.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},n.getTargetIndex=function(e){return n.getThumbs().findIndex(function(t){return t===e.target||t.contains(e.target)})},n.addTouchEvents=function(e){document.addEventListener("touchmove",n.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",n.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",n.schdOnEnd,{passive:!1})},n.addMouseEvents=function(e){document.addEventListener("mousemove",n.schdOnMouseMove),document.addEventListener("mouseup",n.schdOnEnd)},n.onMouseDownTrack=function(e){var t;if(0===e.button&&!(0,l.isIOS)())if(e.persist(),e.preventDefault(),n.addMouseEvents(e.nativeEvent),n.props.values.length>
31&&n.props.draggableTrack){if(n.thumbRefs.some(function(t){var n;return null===(n=t.current)||void 0===n?void 0:n.contains(e.target)}))return;n.setState({draggedTrackPos:[e.clientX,e.clientY]},function(){return n.onMove(e.clientX,e.clientY)})}else{var r=(0,l.getClosestThumbIndex)(n.thumbRefs.map(function(e){return e.current}),e.clientX,e.clientY,n.props.direction);null===(t=n.thumbRefs[r].current)||void 0===t||t.focus(),n.setState({draggedThumbIndex:r},function(){return n.onMove(e.clientX,e.clientY)})}},n.onResize=function(){(0,l.translateThumbs)(n.getThumbs(),n.getOffsets(),n.props.rtl),n.calculateMarkOffsets()},n.onTouchStartTrack=function(e){var t;if(e.persist(),n.addTouchEvents(e.nativeEvent),n.props.values.length>1&&n.props.draggableTrack){if(n.thumbRefs.some(function(t){var n;return null===(n=t.current)||void 0===n?void 0:n.contains(e.target)}))return;n.setState({draggedTrackPos:[e.touches[0].clientX,e.touches[0].clientY]},function(){return n.onMove(e.touches[0].clientX,e.touches[0].clientY)})}else{var r=(0,l.getClosestThumbIndex)(n.thumbRefs.map(function(e){return e.current}),e.touches[0].clientX,e.touches[0].clientY,n.props.direction);null===(t=n.thumbRefs[r].current)||void 0===t||t.focus(),n.setState({draggedThumbIndex:r},function(){return n.onMove(e.touches[0].clientX,e.touches[0].clientY)})}},n.onMouseOrTouchStart=function(e){if(!n.props.disabled){var t=(0,l.isTouchEvent)(e);if(t||0===e.button){var r=n.getTargetIndex(e);-1!==r&&(t?n.addTouchEvents(e):n.addMouseEvents(e),n.setState({draggedThumbIndex:r,thumbZIndexes:n.state.thumbZIndexes.map(function(e,t){return t===r?Math.max.apply(Math,n.state.thumbZIndexes):e<=n.state.thumbZIndexes[r]?e:e-1})}))}}},n.onMouseMove=function(e){e.preventDefault(),n.onMove(e.clientX,e.clientY)},n.onTouchMove=function(e){e.preventDefault(),n.onMove(e.touches[0].clientX,e.touches[0].clientY)},n.onKeyDown=function(e){var t=n.props,r=t.values,o=t.onChange,i=t.step,a=t.rtl,s=t.direction,c=n.state.isChanged,u=n.getTargetIndex(e.nativeEvent),p=a||s===f.Direction.Left||s===f.Direction.Down?-1:1;-1!==u&&(d.includes(e.key)?(e.preventDefault(),n.setState({draggedThumbIndex:u,isChanged:!0}),o((0,l.replaceAt)(r,u,n.normalizeValue(r[u]+p*("PageUp"===e.key?10*i:i),u)))):h.includes(e.key)?(e.preventDefault(),n.setState({draggedThumbIndex:u,isChanged:!0}),o((0,l.replaceAt)(r,u,n.normalizeValue(r[u]-p*("PageDown"===e.key?10*i:i),u)))):"Tab"===e.key?n.setState({draggedThumbIndex:-1},function(){c&&n.fireOnFinalChange()}):c&&n.fireOnFinalChange())},n.onKeyUp=function(e){var t=n.state.isChanged;n.setState({draggedThumbIndex:-1},function(){t&&n.fireOnFinalChange()})},n.onMove=function(e,t){var r=n.state,o=r.draggedThumbIndex,i=r.draggedTrackPos,a=n.props,s=a.direction,c=a.min,u=a.max,d=a.onChange,h=a.values,p=a.step,g=a.rtl;if(-1===o&&-1===i[0]&&-1===i[1])return null;var m=n.trackRef.current;if(!m)return null;var v=m.getBoundingClientRect(),y=(0,l.isVertical)(s)?v.height:v.width;if(-1!==i[0]&&-1!==i[1]){var b=e-i[0],w=t-i[1],x=0;switch(s){case f.Direction.Right:case f.Direction.Left:x=b/y*(u-c);break;case f.Direction.Down:case f.Direction.Up:x=w/y*(u-c);break;default:(0,l.assertUnreachable)(s)}if(g&&(x*=-1),Math.abs(x)>=p/2){for(var R=0;R<n.thumbRefs.length;R++){if(h[R]===u&&1===Math.sign(x)||h[R]===c&&-1===Math.sign(x))return;var k=h[R]+x;k>u?x=u-h[R]:k<c&&(x=c-h[R])}var T=h.slice(0);for(R=0;R<n.thumbRefs.length;R++)T=(0,l.replaceAt)(T,R,n.normalizeValue(h[R]+x,R));n.setState({draggedTrackPos:[e,t]}),d(T)}}else{var M=0;switch(s){case f.Direction.Right:M=(e-v.left)/y*(u-c)+c;break;case f.Direction.Left:M=(y-(e-v.left))/y*(u-c)+c;break;case f.Direction.Down:M=(t-v.top)/y*(u-c)+c;break;case f.Direction.Up:M=(y-(t-v.top))/y*(u-c)+c;break;default:(0,l.assertUnreachable)(s)}g&&(M=u+c-M),Math.abs(h[o]-M)>=p/2&&d((0,l.replaceAt)(h,o,n.normalizeValue(M,o)))}},n.normalizeValue=function(e,t){var r=n.props,o=r.min,i=r.max,a=r.step,s=r.allowOverlap,c=r.values;return(0,l.normalizeValue)(e,t,o,i,a,s,c)},n.onEnd=function(e){if(e.preventDefault(),document.removeEventListener("mousemove",n.schdOnMouseMove),document.removeEventListener("touchmove",n.schdOnTouchMove),document.removeEventListener("mouseup",n.schdOnEnd),document.removeEventListener("touchend",n.schdOnEnd),document.removeEventListener("touchcancel",n.schdOnEnd),-1===n.state.draggedThumbIndex&&-1===n.state.draggedTrackPos[0]&&-1===n.state.draggedTrackPos[1])return null;n.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]}
vendor: 2,130 bytes, line 3
3,function(){n.fireOnFinalChange()})},n.fireOnFinalChange=function(){n.setState({isChanged:!1});var e=n.props,t=e.onFinalChange,r=e.values;t&&t(r)},n.updateMarkRefs=function(e){if(!e.renderMark)return n.numOfMarks=void 0,void(n.markRefs=void 0);n.numOfMarks=(e.max-e.min)/n.props.step,n.markRefs=[];for(var t=0;t<n.numOfMarks+1;t++)n.markRefs[t]=u.createRef()},n.calculateMarkOffsets=function(){if(n.props.renderMark&&n.trackRef&&n.numOfMarks&&n.markRefs&&null!==n.trackRef.current){for(var e=window.getComputedStyle(n.trackRef.current),t=parseInt(e.width,10),r=parseInt(e.height,10),o=parseInt(e.paddingLeft,10),i=parseInt(e.paddingTop,10),a=[],s=0;s<n.numOfMarks+1;s++){var c=9999,u=9999;if(n.markRefs[s].current){var l=n.markRefs[s].current.getBoundingClientRect();c=l.height,u=l.width}n.props.direction===f.Direction.Left||n.props.direction===f.Direction.Right?a.push([Math.round(t/n.numOfMarks*s+o-u/2),-Math.round((c-r)/2)]):a.push([Math.round(r/n.numOfMarks*s+i-c/2),-Math.round((u-t)/2)])}n.setState({markOffsets:a})}},0===t.step)throw new Error('"step" property should be a positive number');return n.schdOnMouseMove=(0,l.schd)(n.onMouseMove),n.schdOnTouchMove=(0,l.schd)(n.onTouchMove),n.schdOnEnd=(0,l.schd)(n.onEnd),n.thumbRefs=t.values.map(function(){return u.createRef()}),n.updateMarkRefs(t),n}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.values,r=t.min,o=t.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",e.onResize)},unobserve:function(){return window.removeEventListener("resize",e.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,l.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(t){return(0,l.checkBoundaries)(t,e.props.min,e.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,l.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),n.forEac
3h(function(e){(0,l.isStepDivisible)(r,e,o)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},t.prototype.componentDidUpdate=function(e,t){var n=this.props,r=n.max,o=n.min,i=n.step,a=n.values,s=n.rtl;e.max===r&&e.min===o&&e.step===i||this.updateMarkRefs(this.props),(0,l.translateThumbs)(this.getThumbs(),this.getOffsets(),s),e.max===r&&e.min===o&&e.step===i&&t.markOffsets.length===this.state.markOffsets.length||(this.calculateMarkOffsets(),a.forEach(function(e){(0,l.isStepDivisible)(o,e,i)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.labelledBy,o=t.renderTrack,i=t.renderThumb,a=t.renderMark,s=void 0===a?function(){return null}:a,u=t.values,d=t.min,h=t.max,p=t.allowOverlap,g=t.disabled,m=this.state,v=m.draggedThumbIndex,y=m.thumbZIndexes,b=m.markOffsets;return o({props:{style:{transform:"scale(1)",cursor:v>-1?"grabbing":this.props.draggableTrack?(0,l.isVertical)(this.props.direction)?"ns-resize":"ew-resize":1!==u.length||g?"inherit":"pointer"},onMouseDown:g?l.voidFn:this.onMouseDownTrack,onTouchStart:g?l.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:g,children:c(c([],b.map(function(t,n,r){return s({props:{style:e.props.direction===f.Direction.Left||e.props.direction===f.Direction.Right?{position:"absolute",left:"".concat(t[0],"px"),marginTop:"".concat(t[1],"px")}:{position:"absolute",top:"".concat(t[0],"px"),marginLeft:"".concat(t[1],"px")},key:"mark".concat(n),ref:e.markRefs[n]},index:n})}),!0),u.map(function(t,o){var a=e.state.draggedThumbIndex===o;return i({index:o,value:t,isDragged:a,props:{style:{position:"absolute",zIndex:y[o],cursor:g?"inherit":a?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:o,tabIndex:g?void 0:0,"aria-valuemax":p?h:u[o+1]||h,"aria-valuemin":p?d:u[o-1]||d,"aria-valuenow":t,draggable:!1,ref:e.thumbRefs[o],"aria-label":n,"aria-labelledby":r,role:"slider",onKeyDown:g?l.voidFn:e.onKeyDown,onKeyUp:g?l.voidFn:e.onKeyUp}})}),!0)})},t.defaultProps={label:"Accessibility label",labelledBy:null,step:1,direction:f.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},t}(u.Component);t.default=p},60124: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.checkValuesAgainstBoundaries=t.relativeValue=t.useThumbOverlap=t.Direction=t.getTrackBackground=t.Range=void 0;var o=r(n(20465));t.Range=o.default;var i=n(21813);Object.defineProperty(t,"getTrackBackground",{enumerable:!0,get:function(){return i.getTrackBackground}}),Object.defineProperty(t,"useThumbOverlap",{enumerable:!0,get:function(){return i.useThumbOverlap}}),Object.defineProperty(t,"relativeValue",{enumerable:!0,get:function(){return i.relativeValue}}),Object.defineProperty(t,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return i.checkValuesAgainstBoundaries}});var a=n(58105);Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return a.Direction}})},58105:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=void 0,function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"}(n||(t.Direction=n={}))},21813:function(e,t,n){var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};
3Object.defineProperty(t,"__esModule",{value:!0}),t.isIOS=t.useThumbOverlap=t.assertUnreachable=t.voidFn=t.getTrackBackground=t.replaceAt=t.schd=t.translate=t.getClosestThumbIndex=t.translateThumbs=t.getPaddingAndBorder=t.getMargin=t.checkInitialOverlap=t.checkValuesAgainstBoundaries=t.checkBoundaries=t.isVertical=t.relativeValue=t.normalizeValue=t.isStepDivisible=t.isTouchEvent=t.getStepDecimals=void 0;var o=n(96540),i=n(58105);function a(e){return e===i.Direction.Up||e===i.Direction.Down}function s(e,t,n){e.style.transform="translate(".concat(t,"px, ").concat(n,"px)")}t.getStepDecimals=function(e){var t=e.toString().split(".")[1];return t?t.length:0},t.isTouchEvent=function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length},t.isStepDivisible=function(e,t,n){var r=Number(((t-e)/n).toFixed(8));return parseInt(r.toString(),10)===r},t.normalizeValue=function(e,n,r,o,i,a,s){var c=1e11;if(e=Math.round(e*c)/c,!a){var u=s[n-1],l=s[n+1];if(u&&u>e)return u;if(l&&l<e)return l}if(e>o)return o;if(e<r)return r;var f=Math.floor(e*c-r*c)%Math.floor(i*c),d=Math.floor(e*c-Math.abs(f)),h=0===f?e:d/c,p=Math.abs(f/c)<i/2?h:h+i,g=(0,t.getStepDecimals)(i);return parseFloat(p.toFixed(g))},t.relativeValue=function(e,t,n){return(e-t)/(n-t)},t.isVertical=a,t.checkBoundaries=function(e,t,n){if(t>=n)throw new RangeError("min (".concat(t,") is equal/bigger than max (").concat(n,")"));if(e<t)throw new RangeError("value (".concat(e,") is smaller than min (").concat(t,")"));if(e>n)throw new RangeError("value (".concat(e,") is bigger than max (").concat(n,")"))},t.checkValuesAgainstBoundaries=function(e,t,n){return e<t?t:e>n?n:e},t.checkInitialOverlap=function(e){if(!(e.length<2||e.slice(1).every(function(t,n){return e[n]<=t})))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))},t.getMargin=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["margin-top"],10),bottom:parseInt(t["margin-bottom"],10),left:parseInt(t["margin-left"],10),right:parseInt(t["margin-right"],10)}},t.getPaddingAndBorder=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["padding-top"],10)+parseInt(t["border-top-width"],10),bottom:parseInt(t["padding-bottom"],10)+parseInt(t["border-bottom-width"],10),left:parseInt(t["padding-left"],10)+parseInt(t["border-left-width"],10),right:parseInt(t["padding-right"],10)+parseInt(t["border-right-width"],10)}},t.translateThumbs=function(e,t,n){var r=n?-1:1;e.forEach(function(e,n){return s(e,r*t[n].x,t[n].y)})},t.getClosestThumbIndex=function(e,t,n,r){for(var o=0,i=u(e[0],t,n,r),a=1;a<e.length;a++){var s=u(e[a],t,n,r);s<i&&(i=s,o=a)}return o},t.translate=s,t.schd=function(e){var t=[],n=null;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];t=r,n||(n=requestAnimationFrame(function(){n=null,e.apply(void 0,t)}))}},t.replaceAt=function(e,t,n){var r=e.slice(0);return r[t]=n,r},t.getTrackBackground=function(e){var t=e.values,n=e.colors,r=e.min,o=e.max,a=e.direction,s=void 0===a?i.Direction.Right:a,c=e.rtl,u=void 0!==c&&c;u&&s===i.Direction.Right?s=i.Direction.Left:u&&i.Direction.Left&&(s=i.Direction.Right);var l=t.slice(0).sort(function(e,t){return e-t}).map(function(e){return(e-r)/(o-r)*100}).reduce(function(e,t,r){return"".concat(e,", ").concat(n[r]," ").concat(t,"%, ").concat(n[r+1]," ").concat(t,"%")},"");return"linear-gradient(".concat(s,", ").concat(n[0]," 0%").concat(l,", ").concat(n[n.length-1]," 100%)")},t.voidFn=function(){},t.assertUnreachable=function(e){throw new Error("Didn't expect to get here")};var c=function(e,t,n,o,i){return void 0===i&&(i=function(e){return e}),Math.ceil(r([e],Array.from(e.children),!0).reduce(function(e,r){var a=Math.ceil(r.getBoundingClientRect().width);if(r.innerText&&r.innerText.includes(n)&&0===r.childElementCount){var s=r.cloneNode(!0);s.innerHTML=i(t.toFixed(o)),s.style.visibility="hidden",document.body.appendChild(s),a=Math.ceil(s.getBoundingClientRect().width),document.body.removeChild(s)}return a>e?a:e},e.getBoundingClientRect().width))};function u(e,t,n,r){var o=e.getBoundingClientRect(),i=o.left,s=o.top,c=o.width,u=o.height;return a(r)?Math.abs(n-(s+u/2)):Math.abs(t-(i+c/2))}t.useThumbOverlap=function(e,n,i,a,s,u){void 0===a&&(a=.1),void 0===s&&(s=" - "),void 0===u&&(u=function(e){return e});var l=(0,t.getStepDecimals)(a),f=(0,o.useState)({}),d=f[0],h=f[1],p=(0,o.useState)(u(n[i].toFixed(l))),g=p[0],m=p[1];return(0,o.useEffect)(function(){if(e){var t=e.getThumbs();if(t.length<1)return;var o={},a=e.getOffsets(),f=function(e,t,n,o,i,a,s){void 0===s&&(s=function(e){return e});var u=[],l=function(e){var f=c(n[e],o[e],i,a,s),d=t[e].x;t.forEach(function(t,h){var p=t.x,g=c(n[h],o[h],i,a,s);e!==h&&(d>=p&&d<=p+g||d+f>=p&&d+f<=p+g)&&(u.includes(h)||(u.push(e),u.push(h),u=r(r([],u,!0),[e,h],!1),l(h)))})};return l(e),Array.from(new Set(u.sort()))}(i,a,t,n,s,l,u),d=u(n[i].toFixed(l));if(f.length){var p=f.reduce(function(e,t,n,o){return e.length?r(r([],e,!0),[a[o[n]].x],!1):[a[o[n]].x]},[]);if(Math.min.apply(Math,p)===a[i].x){var g=[];f.forEach(function(e){g.push(n[e].toFixed(l))}),d=Array.from(new Set(g.sort(function(e,t){return parseFloat(e)-parseFloat(t)}))).map(u).join(s);var v=Math.min.apply(Math,p),y=Math.max.apply(Math,p),b=t[f[p.indexOf(y)]].getBoundingClientRect().width;o.left="".concat(Math.abs(v-(y+b))/2,"px"),o.transform="translate(-50%, 0)"}else o.visibility="hidden"}m(d),h(o)}},[e,n]),[g,d]},t.isIOS=function(){var e,t=(null===(e=navigator.userAgentData)||void 0===e?void 0:e.platform)||navigator.platform;return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(t)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}},83734:(e,t,n)=>{n.d(t,{cY:()=>z,we:()=>F});const r=Math.min,o=Math.max,i=Math.round,a=(Math.floor,e=>({x:e,y:e}));function s(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function u(e){return e.split("-")[1]}function l(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function f(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function d(e,t,n){let{reference:r,floating:o}=e;const i=l(t),a=function(e){return"x"===l(e)?"y":"x"}(t),s="y"===a?"height":"width",f=c(t),d="y"===i,h=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,g=r[s]/2-o[s]/2;let m;switch(f){case"top":m={x:h,y:r.y-o.height};break;case"bottom":m={x:h,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:p};break;case"left":m={x:r.x-o.width,y:p};break;default:m={x:r.x,y:r.y}}const v=u(t);return v&&(m[a]+=g*("end"===v?1:-1)*(n&&d?-1:1)),m}async function h(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:g=0}=s(t,e),m=function(e){return"number"!=typeof e?function(e){var t,n,r,o;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}}(e):{top:e,right:e,bottom:e,left:e}}(g),v=c[p?"floating"===h?"reference":"floating":h],y=f(await i.getClippingRect
3({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:l,rootBoundary:d,strategy:u})),b="floating"===h?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),x=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},R=f(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:b,offsetParent:w,strategy:u}):b);return{top:(y.top-R.top+m.top)/x.y,bottom:(R.bottom-y.bottom+m.bottom)/x.y,left:(y.left-R.left+m.left)/x.x,right:(R.right-y.right+m.right)/x.x}}const p=new Set(["left","top"]);var g=n(86635);function m(e){const t=(0,g.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=(0,g.sb)(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:r,c=i(n)!==a||i(r)!==s;return c&&(n=a,r=s),{width:n,height:r,$:c}}function v(e){return(0,g.vq)(e)?e:e.contextElement}function y(e){const t=v(e);if(!(0,g.sb)(t))return a(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=m(t);let c=(s?i(n.width):n.width)/r,u=(s?i(n.height):n.height)/o;return c&&Number.isFinite(c)||(c=1),u&&Number.isFinite(u)||(u=1),{x:c,y:u}}const b=a(0);function w(e){const t=(0,g.zk)(e);return(0,g.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:b}function x(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=v(e);let s=a(1);t&&(r?(0,g.vq)(r)&&(s=y(r)):s=y(e));const c=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===(0,g.zk)(e)}(i,n,r)?w(i):a(0);let u=(o.left+c.x)/s.x,l=(o.top+c.y)/s.y,d=o.width/s.x,h=o.height/s.y;if(i&&r){const e=(0,g.zk)(i),t=(0,g.vq)(r)?(0,g.zk)(r):r;let n=e,o=(0,g._m)(n);for(;o&&t!==n;){const e=y(o),t=o.getBoundingClientRect(),r=(0,g.L9)(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,l*=e.y,d*=e.x,h*=e.y,u+=i,l+=a,n=(0,g.zk)(o),o=(0,g._m)(n)}}return f({width:d,height:h,x:u,y:l})}function R(e,t){const n=(0,g.CP)(e).scrollLeft;return t?t.left+n:x((0,g.ep)(e)).left+n}function k(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-R(e,n),y:n.top+t.scrollTop}}function T(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");const r="layoutViewport"===n,o=(0,g.zk)(e),i=(0,g.ep)(e),a=o.visualViewport;let s=i.clientWidth,c=i.clientHeight,u=0,l=0;if(a){const e=!(0,g.Tc)()||"fixed"===t;r?e||(u=-a.offsetLeft,l=-a.offsetTop):(s=a.width,c=a.height,e&&(u=a.offsetLeft,l=a.offsetTop))}if(R(i)<=0){const e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r),a="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;a<=25&&(s-=a)}return{width:s,height:c,x:u,y:l}}(e,n,t);else if("document"===t)r=function(e){const t=(0,g.CP)(e),n=e.ownerDocument.body,r=o(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=o(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let a=-t.scrollLeft+R(e);const s=-t.scrollTop;return"rtl"===(0,g.L9)(n).direction&&(a+=o(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:s}}((0,g.ep)(e));else if((0,g.vq)(t))r=function(e,t){const n=x(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=y(e);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=w(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return f(r)}function M(e,t,n){const r=(0,g.sb)(t),o=(0,g.ep)(t),i="fixed"===n,s=x(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=a(0);if((r||!i)&&(("body"!==(0,g.mq)(t)||(0,g.ZU)(o))&&(c=(0,g.CP)(t)),r)){const e=x(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}!r&&o&&(u.x=R(o));const l=!o||r||i?a(0):k(o,c);return{x:s.left+c.scrollLeft-u.x-l.x,y:s.top+c.scrollTop-u.y-l.y,width:s.width,height:s.height}}function E(e){return"static"===(0,g.L9)(e).position}function O(e,t){if(!(0,g.sb)(e)||"fixed"===(0,g.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,g.ep)(e)===n&&(n=n.ownerDocument.body),n}function D(e,t){const n=(0,g.zk)(e);if((0,g.Tf)(e))return n;if(!(0,g.sb)(e)){let t=(0,g.$4)(e);for(;t&&!(0,g.eu)(t);){if((0,g.vq)(t)&&!E(t))return t;t=(0,g.$4)(t)}return n}let r=O(e,t);for(;r&&(0,g.Lv)(r)&&E(r);)r=O(r,t);return r&&(0,g.eu)(r)&&E(r)&&!(0,g.sQ)(r)?n:r||(0,g.gJ)(e)||n}const C={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=(0,g.ep)(r),c=!!t&&(0,g.Tf)(t.floating);if(r===s||c&&i)return n;let u={scrollLeft:0,scrollTop:0},l=a(1);const f=a(0),d=(0,g.sb)(r);
3if((d||!i)&&(("body"!==(0,g.mq)(r)||(0,g.ZU)(s))&&(u=(0,g.CP)(r)),d)){const e=x(r);l=y(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}const h=!s||d||i?a(0):k(s,u);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+f.x+h.x,y:n.y*l.y-u.scrollTop*l.y+f.y+h.y}},getDocumentElement:g.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e;const s=[..."clippingAncestors"===n?(0,g.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,g.v9)(e,[],!1).filter(e=>(0,g.vq)(e)&&"body"!==(0,g.mq)(e)),o=null;const i="fixed"===(0,g.L9)(e).position;let a=i?(0,g.$4)(e):e;for(;(0,g.vq)(a)&&!(0,g.eu)(a);){const e=(0,g.L9)(a),t=(0,g.sQ)(a),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==a),a=(0,g.$4)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),i],c=T(t,s[0],a);let u=c.top,l=c.right,f=c.bottom,d=c.left;for(let e=1;e<s.length;e++){const n=T(t,s[e],a);u=o(n.top,u),l=r(n.right,l),f=r(n.bottom,f),d=o(n.left,d)}return{width:l-d,height:f-u,x:d,y:u}},getOffsetParent:D,getElementRects:async function(e){const t=this.getOffsetParent||D,n=this.getDimensions,r=await n(e.floating);return{reference:M(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:n}=m(e);return{width:t,height:n}},getScale:y,isElement:g.vq,isRTL:function(e){return"rtl"===(0,g.L9)(e).direction}},L=(e,t,n)=>{const r=new Map,o=null!=n?n:{},i={...C,...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:h},c=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:f}=d(u,r,c),p=r,g=0;const m={};for(let n=0;n<i.length;n++){const h=i[n];if(!h)continue;const{name:v,fn:y}=h,{x:b,y:w,data:x,reset:R}=await y({x:l,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:m,rects:u,platform:s,elements:{reference:e,floating:t}});l=null!=b?b:l,f=null!=w?w:f,m[v]={...m[v],...x},R&&g<50&&(g++,"object"==typeof R&&(R.placement&&(p=R.placement),R.rects&&(u=!0===R.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):R.rects),({x:l,y:f}=d(u,p,c))),n=-1)}return{x:l,y:f,placement:p,strategy:o,middlewareData:m}})(e,t,{...o,platform:i})};var P=n(96540),S=n(40961),I="undefined"!=typeof document?P.useLayoutEffect:function(){};function A(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!A(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||A(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function _(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function B(e,t){const n=_(e);return Math.round(t*n)/n}function V(e){const t=P.useRef(e);return I(()=>{t.current=e}),t}function F(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[l,f]=P.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=P.useState(r);A(d,r)||h(r);const[p,g]=P.useState(null),[m,v]=P.useState(null),y=P.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),b=P.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),w=i||p,x=a||m,R=P.useRef(null),k=P.useRef(null),T=P.useRef(l),M=null!=c,E=V(c),O=V(o),D=V(u),C=P.useCallback(()=>{if(!R.current||!k.current)return;const e={placement:t,strategy:n,middleware:d};O.current&&(e.platform=O.current),L(R.current,k.current,e).then(e=>{const t={...e,isPositioned:!1!==D.current};F.current&&!A(T.current,t)&&(T.current=t,S.flushSync(()=>{f(t)}))})},[d,t,n,O,D]);I(()=>{!1===u&&T.current.isPositioned&&(T.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);const F=P.useRef(!1);I(()=>(F.current=!0,()=>{F.current=!1}),[]),I(()=>
3{if(w&&(R.current=w),x&&(k.current=x),w&&x){if(E.current)return E.current(w,x,C);C()}},[w,x,C,E,M]);const z=P.useMemo(()=>({reference:R,floating:k,setReference:y,setFloating:b}),[y,b]),j=P.useMemo(()=>({reference:w,floating:x}),[w,x]),q=P.useMemo(()=>{const e={position:n,left:0,top:0};if(!j.floating)return e;const t=B(j.floating,l.x),r=B(j.floating,l.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",..._(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,j.floating,l.x,l.y]);return P.useMemo(()=>({...l,update:C,refs:z,elements:j,floatingStyles:q}),[l,C,z,j,q])}const z=(e,t)=>{const n=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:f}=t,d=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=c(n),f=u(n),d="y"===l(n),h=p.has(a)?-1:1,g=i&&d?-1:1,m=s(t,e);let{mainAxis:v,crossAxis:y,alignmentAxis:b}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return f&&"number"==typeof b&&(y="end"===f?-1*b:b),d?{x:y*g,y:v*h}:{x:v*h,y:y*g}}(t,e);return a===(null==(n=f.offset)?void 0:n.placement)&&null!=(r=f.arrow)&&r.alignmentOffset?{}:{x:o+d.x,y:i+d.y,data:{...d,placement:a}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}}},83505:(e,t,n)=>{n.d(t,{$c:()=>L,P6:()=>P,s9:()=>_,we:()=>B,fI:()=>C,R1:()=>O,bv:()=>F});var r=n(96540),o=n.t(r,2),i=n(86635);function a(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,i.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(e){return"composedPath"in e?e.composedPath()[0]:e.target}function c(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function u(e){return(null==e?void 0:e.ownerDocument)||document}function l(e,t,n){return void 0===n&&(n=!0),e.filter(e=>{var r;return e.parentId===t&&(!n||(null==(r=e.context)?void 0:r.open))}).flatMap(t=>[t,...l(e,t.id,n)])}var f="undefined"!=typeof document?r.useLayoutEffect:function(){};const d={...o}.useInsertionEffect||(e=>e());function h(e){const t=r.useRef(()=>{});return d(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var p=n(74848),g=(n(40961),n(83734));const m="data-floating-ui-focusable",v="active",y="selected",b={...o};let w=!1,x=0;const R=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+x++,k=b.useId||function(){const[e,t]=r.useState(()=>w?R():void 0);return f(()=>{null==e&&t(R())},[]),r.useEffect(()=>{w=!0},[]),e};function T(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}const M=r.createContext(null),E=r.createContext(null),O=()=>{var e;return(null==(e=r.useContext(M))?void 0:e.id)||null},D=()=>r.useContext(E);function C(e){const t=k(),n=D(),r=O(),o=e||r;return f(()=>{if(!t)return;const e={id:t,parentId:o};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}},[n,t,o]),t}function L(e){const{children:t,id:n}=e,o=O();return(0,p.jsx)(M.Provider,{value:r.useMemo(()=>({id:n,parentId:o}),[n,o]),children:t})}function P(e){const{children:t}=e,n=r.useRef([]),o=r.useCallback(e=>{n.current=[...n.current,e]},[]),i=r.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),[a]=r.useState(()=>T());return(0,p.jsx)(E.Provider,{value:r.useMemo(()=>({nodesRef:n,addNode:o,removeNode:i,events:a}),[o,i,a]),children:t})}const S={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},I={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},A=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function _(e,t){void 0===t&&(t={});const{open:n,onOpenChange:o,elements:f,dataRef:d}=e,{enabled:p=!0,escapeKey:g=!0,outsidePress:m=!0,outsidePressEvent:v="pointerdown",referencePress:y=!1,referencePressEvent:b="pointerdown",ancestorScroll:w=!1,bubbles:x,capture:R}=t,k=D(),T=h("function"==typeof m?m:()=>!1),M="function"==typeof m?T:m,E=r.useRef(!1),{escapeKey:O,outsidePress:C}=A(x),{escapeKey:L,outsidePress:P}=A(R),_=r.useRef(!1),B=h(e=>{var t;if(!n||!p||!g||"Escape"!==e.key)return;if(_.current)return;const r=null==(t=d.current.floatingContext)?void 0:t.nodeId,i=k?l(k.nodesRef.current,r):[];if(!O&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)}),!e)return}o(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")}),V=h(e=>{var t;const n=()=>{var t;B(e),null==(t=s(e))||t.removeEventListener("keydown",n)};null==(t=s(e))||t.addEventListener("keydown",n)}),F=h(e=>{var t;const n=d.current.insideReactTree;d.current.insideReactTree=!1;const r=E.current;if(E.current=!1,"click"===v&&r)return;if(n)return;if("function"==typeof M&&!M(e))return;const h=s(e),p="["+("data-floating-ui-"+"inert"+"]"),g=u(f.floating).querySelectorAll(p);let m=(0,i.vq)(h)?h:null;for(;m&&!(0,i.eu)(m);){const e=(0,i.$4)(m);if((0,i.eu)(e)||!(0,i.vq)(e))break;m=e}if(g.length&&(0,i.vq)(h)&&!h.matches("html,body")&&!a(h,f.floating)&&Array.from(g).every(e=>!a(m,e)))return;if((0,i.sb)(h)&&q){const t=(0,i.eu)(h),n=(0,i.L9)(h),r=/auto|scroll/,o=t||r.test(n.overflowX),a=t||r.test(n.overflowY),s=o&&h.clientWidth>0&&h.scrollWidth>h.clientWidth,c=a&&h.clientHeight>0&&h.scrollHeight>h.clientHeight,u="rtl"===n.direction,l=c&&(u?e.offsetX<=h.offsetWidth-h.clientWidth:e.offsetX>h.clientWidth),f=s&&e.offsetY>h.clientHeight;if(l||f)return}const y=null==(t=d.current.floatingContext)?void 0:t.nodeId,b=k&&l(k.nodesRef.current,y).some(t=>{var n;return c(e,null==(n=t.context)?void 0:n.elements.floating)});if(c(e,f.floating)||c(e,f.domReference)||b)return;const w=k?l(k.nodesRef.current,y):[];if(w.length>0){let e=!0;if(w.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)}),!e)return}o(!1,e,"outside-press")}),z=h(e=>{var t;const n=()=>{var t;F(e),null==(t=s(e))||t.removeEventListener(v,n)};null==(t=s(e))||t.addEventListener(v,n)});r.useEffect(()=>{if(!n||!p)return;d.current.__escapeKeyBubbles=O,d.current.__outsidePressBubbles=C;let e=-1;function t(e){o(!1,e,"ancestor-scroll")}function r(){window.clearTimeout(e),_.current=!0}function a(){e=window.setTimeout(()=>{_.current=!1},(0,i.Tc)()?5:0)}const s=u(f.floating);g&&(s.addEventListener("keydown",L?V:B,L),s.addEventListener("compositionstart",r),s.addEventListener("compositionend",a)),M&&s.addEventListener(v,P?z:F,P);let c=[];return w&&((0,i.vq)(f.domReference)&&(c=(0,i.v9)(f.domReference)),(0,i.vq)(f.floating)&&(c=c.concat((0,i.v9)(f.floating))),!(0,i.vq)(f.reference)&&f.reference&&f.reference.contextElement&&(c=c.concat((0,i.v9)(f.reference.contextElement)))),c=c.filter(e=>{var t;
3return e!==(null==(t=s.defaultView)?void 0:t.visualViewport)}),c.forEach(e=>{e.addEventListener("scroll",t)}),()=>{g&&(s.removeEventListener("keydown",L?V:B,L),s.removeEventListener("compositionstart",r),s.removeEventListener("compositionend",a)),M&&s.removeEventListener(v,P?z:F,P),c.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[d,f,g,M,v,n,o,w,p,O,C,B,L,V,F,P,z]),r.useEffect(()=>{d.current.insideReactTree=!1},[d,M,v]);const j=r.useMemo(()=>({onKeyDown:B,...y&&{[S[b]]:e=>{o(!1,e.nativeEvent,"reference-press")},..."click"!==b&&{onClick(e){o(!1,e.nativeEvent,"reference-press")}}}}),[B,o,y,b]),q=r.useMemo(()=>{function e(e){0===e.button&&(E.current=!0)}return{onKeyDown:B,onMouseDown:e,onMouseUp:e,[I[v]]:()=>{d.current.insideReactTree=!0}}},[B,v,d]);return r.useMemo(()=>p?{reference:j,floating:q}:{},[p,j,q])}function B(e){var t,n;let{elements:o,...a}=void 0===e?{}:e;const{nodeId:s}=a,c=function(e){const{open:t=!1,onOpenChange:n,elements:o}=e,i=k(),a=r.useRef({}),[s]=r.useState(()=>T()),c=null!=O(),[u,l]=r.useState(o.reference),f=h((e,t,r)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)}),d=r.useMemo(()=>({setPositionReference:l}),[]),p=r.useMemo(()=>({reference:u||o.reference||null,floating:o.floating||null,domReference:o.reference}),[u,o.reference,o.floating]);return r.useMemo(()=>({dataRef:a,open:t,onOpenChange:f,elements:p,events:s,floatingId:i,refs:d}),[t,f,p,s,i,d])}({...a,elements:{reference:null!=(t=null==o?void 0:o.reference)?t:null,floating:null!=(n=null==o?void 0:o.floating)?n:null}}),u=a.rootContext||c,l=u.elements,[d,p]=r.useState(null),[m,v]=r.useState(null),y=(null==l?void 0:l.domReference)||d,b=r.useRef(null),w=D();f(()=>{y&&(b.current=y)},[y]);const x=(0,g.we)({...a,elements:{...l,...m&&{reference:m}}}),R=r.useCallback(e=>{const t=(0,i.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;v(t),x.refs.setReference(t)},[x.refs]),M=r.useCallback(e=>{((0,i.vq)(e)||null===e)&&(b.current=e,p(e)),((0,i.vq)(x.refs.reference.current)||null===x.refs.reference.current||null!==e&&!(0,i.vq)(e))&&x.refs.setReference(e)},[x.refs]),E=r.useMemo(()=>({...x.refs,setReference:M,setPositionReference:R,domReference:b}),[x.refs,M,R]),C=r.useMemo(()=>({...x.elements,domReference:y}),[x.elements,y]),L=r.useMemo(()=>({...x,...u,refs:E,elements:C,nodeId:s}),[x,E,C,s,u]);return f(()=>{u.dataRef.current.floatingContext=L;const e=null==w?void 0:w.nodesRef.current.find(e=>e.id===s);e&&(e.context=L)}),r.useMemo(()=>({...x,context:L,refs:E,elements:C}),[x,E,C,L])}function V(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[v]:t,[y]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[m]:""},...i,...t.map(t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[n,i]=t;var a;o&&[v,y].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(a=r.get(n))||a.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)})):e[n]=i)}),e):e,{})}}function F(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),o=e.map(e=>null==e?void 0:e.item),i=r.useCallback(t=>V(t,e,"reference"),t),a=r.useCallback(t=>V(t,e,"floating"),n),s=r.useCallback(t=>V(t,e,"item"),o);return r.useMemo(()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:s}),[i,a,s])}},86635:(e,t,n)=>{function r(){return"undefined"!=typeof window}function o(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function c(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function l(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function f(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function d(e){return/^(table|td|th)$/.test(o(e))}function h(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>T,CP:()=>k,L9:()=>R,Lv:()=>d,Ng:()=>l,Tc:()=>w,Tf:()=>h,ZU:()=>f,_m:()=>O,ep:()=>a,eu:()=>x,gJ:()=>b,mq:()=>o,sQ:()=>y,sb:()=>u,v9:()=>E,vq:()=>c,zk:()=>i});const p=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,m=e=>!!e&&"none"!==e;let v;function y(e){const t=c(e)?R(e):e;return m(t.transform)||m(t.translate)||m(t.scale)||m(t.rotate)||m(t.perspective)||!w()&&(m(t.backdropFilter)||m(t.filter))||p.test(t.willChange||"")||g.test(t.contain||"")}function b(e){let t=T(e);for(;u(t)&&!x(t);){if(y(t))return t;if(h(t))return null;t=T(t)}return null}function w(){return null==v&&(v="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),v}function x(e){return/^(html|body|#document)$/.test(o(e))}function R(e){return i(e).getComputedStyle(e)}function k(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function T(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||l(e)&&e.host||a(e);return l(t)?t.host:t}function M(e){const t=T(e);return x(t)?(e.ownerDocument||e).body:u(t)&&f(t)?t:M(t)}function E(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=M(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),s=i(o);if(a){const e=O(s);
3return t.concat(s,s.visualViewport||[],f(o)?o:[],e&&n?E(e):[])}return t.concat(o,E(o,[],n))}function O(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}}}]); 4//# debugId=cd4f5d36-8603-5a52-b5bb-6a473cd25874
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.