(self.ldBronxApp=self.ldBronxApp||[]).push([[7592],{54483:(e,t,n)=>{"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(32747),o=n(10056),u=n(63172),a=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setFocusTrapElement=function(e){n.focusTrapElement=e},"undefined"!=typeof document&&(n.previouslyFocusedElement=document.activeElement),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.props.focusTrapOptions,t={returnFocusOnDeactivate:!1};for(var n in e)e.hasOwnProperty(n)&&"returnFocusOnDeactivate"!==n&&(t[n]=e[n]);var r=o.findDOMNode(this.focusTrapElement);this.focusTrap=this.props._createFocusTrap(r,t),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}},{key:"componentDidUpdate",value:function(e){if(e.active&&!this.props.active){var t={returnFocus:this.props.focusTrapOptions.returnFocusOnDeactivate||!1};this.focusTrap.deactivate(t)}else!e.active&&this.props.active&&this.focusTrap.activate();e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}},{key:"componentWillUnmount",value:function(){this.focusTrap.deactivate(),!1!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus()}},{key:"render",value:function(){var e=this,t=i.Children.only(this.props.children);return i.cloneElement(t,{ref:function(n){e.setFocusTrapElement(n),"function"==typeof t.ref&&t.ref(n)}})}}]),t}(i.Component);a.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:u},e.exports=a},63172:(e,t,n)=>{var r,i=n(34760),o=n(47529),u=(r=[],{activateTrap:function(e){if(r.length>0){var t=r[r.length-1];t!==e&&t.pause()}var n=r.indexOf(e);-1===n||r.splice(n,1),r.push(e)},deactivateTrap:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),r.length>0&&r[r.length-1].unpause()}});function a(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,r="string"==typeof e?n.querySelector(e):e,c=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),s={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},l={activate:function(e){if(s.active)return;b(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:c.onActivate;t&&t();return p(),l},deactivate:f,pause:function(){if(s.paused||!s.active)return;s.paused=!0,d()},unpause:function(){if(!s.paused||!s.active)return;s.paused=!1,p()}};return l;function f(e){if(s.active){d(),s.active=!1,s.paused=!1,u.deactivateTrap(l);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:c.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:c.returnFocusOnDeactivate)&&a((function(){F(s.nodeFocusedBeforeActivation)})),l}}function p(){if(s.active)return u.activateTrap(l),b(),a((function(){F(g())})),n.addEventListener("focusin",y,!0),n.addEventListener("mousedown",h,!0),n.addEventListener("touchstart",h,!0),n.addEventListener("click",D,!0),n.addEventListener("keydown",v,!0),l}function d(){if(s.active)return n.removeEventListener("focusin",y,!0),n.removeEventListener("mousedown",h,!0),n.removeEventListener("touchstart",h,!0),n.removeEventListener("click",D,!0),n.removeEventListener("keydown",v,!0),l}function m(e){var t=c[e],r=t;if(!t)return null;if("string"==typeof t&&!(r=n.querySelector(t)))throw new Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(r=t()))throw new Error("`"+e+"` did not return a node");return r}function g(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):r.contains(n.activeElement)?n.activeElement:s.firstTabbableNode||m("fallbackFocus")))throw new Error("You can't have a focus-trap without at least one focusable element");return e}function h(e){r.contains(e.target)||(c.clickOutsideDeactivates?f({returnFocus:!i.isFocusable(e.target)}):e.preventDefault())}function y(e){r.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),F(s.mostRecentlyFocusedNode||g()))}function v(e){if(!1!==c.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void f();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(b(),e.shiftKey&&e.target===s.firstTabbableNode)return e.preventDefault(),void F(s.lastTabbableNode);if(!e.shiftKey&&e.target===s.lastTabbableNode)e.preventDefault(),F(s.firstTabbableNode)}(e)}function D(e){c.clickOutsideDeactivates||r.contains(e.target)||(e.preventDefault(),e.stopImmediatePropagation())}function b(){var e=i(r);s.firstTabbableNode=e[0]||g(),s.lastTabbableNode=e[e.length-1]||g()}function F(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),s.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):F(g()))}}},94029:(e,t,n)=>{"use strict";var r=n(95320),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var u;arguments.length>=3&&(u=n),"[object Array]"===i.call(e)?function(e,t,n){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,u):"string"==typeof e?function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,u):function(e,t,n){for(var r in e)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,u)}},91828:(e,t,n)=>{"use strict";function r(e){return Intl.getCanonicalLocales(e)}function i(e,t){var n=t.tzData,r=t.uppercaseLinks,i=e.toUpperCase(),o=Object.keys(n).reduce((function(e,t){return e[t.toUpperCase()]=t,e}),{}),u=r[i]||o[i];return"Etc/UTC"===u||"Etc/GMT"===u?"UTC":u}function o(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function u(e){if("symbol"===(void 0===e?"undefined":o(e)))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function a(e){if(void 0===e)return NaN;if(null===e)return 0;if("boolean"==typeof e)return e?1:0;if("number"==typeof e)return e;if("symbol"===(void 0===e?"undefined":o(e))||"bigint"===(void 0===e?"undefined":o(e)))throw new TypeError("Cannot convert symbol/bigint to number");return Number(e)}function c(e){return isFinite(e)?Math.abs(e)>8640000000000001?NaN:function(e){var t=a(e);if(isNaN(t)||l(t,-0))return 0;if(isFinite(t))return t;var n=Math.floor(Math.abs(t));return t<0&&(n=-n),l(n,-0)?0:n}(e):NaN}function s(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function l(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return new Array(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"===(void 0===e?"undefined":o(e))?"Symbol":"bigint"===(void 0===e?"undefined":o(e))?"BigInt":void 0}n.r(t),n.d(t,{ArrayCreate:()=>f,CanonicalizeLocaleList:()=>r,CanonicalizeTimeZoneName:()=>i,CoerceOptionsToObject:()=>P,ComputeExponent:()=>se,ComputeExponentForMagnitude:()=>oe,CurrencyDigits:()=>le,DateFromTime:()=>C,Day:()=>h,DayFromYear:()=>v,DayWithinYear:()=>w,DaysInYear:()=>F,FormatNumericToParts:()=>Fe,FormatNumericToString:()=>ce,GetNumberOption:()=>z,GetOption:()=>V,GetOptionsObject:()=>W,HasOwnProperty:()=>p,HourFromTime:()=>B,InLeapYear:()=>E,InitializeNumberFormat:()=>Ce,IsSanctionedSimpleUnitIdentifier:()=>G,IsValidTimeZoneName:()=>Y,IsWellFormedCurrencyCode:()=>Z,IsWellFormedUnitIdentifier:()=>$,MinFromTime:()=>R,MonthFromTime:()=>x,OrdinaryHasInstance:()=>M,PartitionNumberPattern:()=>be,PartitionPattern:()=>Ae,RangePatternType:()=>Se,SANCTIONED_UNITS:()=>U,SIMPLE_UNITS:()=>H,SameValue:()=>l,SecFromTime:()=>L,SetNumberFormatDigitOptions:()=>xe,SetNumberFormatUnitOptions:()=>Ee,SupportedLocales:()=>Te,TimeClip:()=>c,TimeFromYear:()=>D,ToNumber:()=>a,ToObject:()=>s,ToRawFixed:()=>ae,ToRawPrecision:()=>ue,ToString:()=>u,Type:()=>d,WeekDay:()=>y,YearFromTime:()=>b,_formatToParts:()=>he,defineProperty:()=>re,getInternalSlot:()=>ee,getMagnitude:()=>J,getMultiInternalSlots:()=>te,invariant:()=>ie,isLiteralPart:()=>ne,isMissingLocaleDataError:()=>ke,msFromTime:()=>I,removeUnitNamespace:()=>_,setInternalSlot:()=>K,setMultiInternalSlots:()=>X});var m=864e5;function g(e,t){return e-Math.floor(e/t)*t}function h(e){return Math.floor(e/m)}function y(e){return g(h(e)+4,7)}function v(e){return Date.UTC(e,0)/m}function D(e){return Date.UTC(e,0)}function b(e){return new Date(e).getUTCFullYear()}function F(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function w(e){return h(e)-v(b(e))}function E(e){return 365===F(b(e))?0:1}function x(e){var t=w(e),n=E(e);if(t>=0&&t<31)return 0;if(t<59+n)return 1;if(t<90+n)return 2;if(t<120+n)return 3;if(t<151+n)return 4;if(t<181+n)return 5;if(t<212+n)return 6;if(t<243+n)return 7;if(t<273+n)return 8;if(t<304+n)return 9;if(t<334+n)return 10;if(t<365+n)return 11;throw new Error("Invalid time")}function C(e){var t=w(e),n=x(e),r=E(e);if(0===n)return t+1;if(1===n)return t-30;if(2===n)return t-58-r;if(3===n)return t-89-r;if(4===n)return t-119-r;if(5===n)return t-150-r;if(6===n)return t-180-r;if(7===n)return t-211-r;if(8===n)return t-242-r;if(9===n)return t-272-r;if(10===n)return t-303-r;if(11===n)return t-333-r;throw new Error("Invalid time")}var A=24,T=60,S=60,O=1e3,k=O*S,N=k*T;function B(e){return g(Math.floor(e/N),A)}function R(e){return g(Math.floor(e/k),T)}function L(e){return g(Math.floor(e/O),S)}function M(e,t,n){if("function"!=typeof e)return!1;if(null==n?void 0:n.boundTargetFunction)return t instanceof(null==n?void 0:n.boundTargetFunction);if("object"!=typeof t)return!1;var r=e.prototype;if("object"!=typeof r)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(r,t)}function I(e){return g(e,O)}function P(e){return void 0===e?Object.create(null):s(e)}function j(e,t,n,r){if(void 0!==e){if(e=Number(e),isNaN(e)||e<t||e>n)throw new RangeError("".concat(e," is outside of range [").concat(t,", ").concat(n,"]"));return Math.floor(e)}return r}function z(e,t,n,r,i){return j(e[t],n,r,i)}function V(e,t,n,r,i){if("object"!=typeof e)throw new TypeError("Options must be an object");var o=e[t];if(void 0!==o){if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(o=Boolean(o)),"string"===n&&(o=u(o)),void 0!==r&&!r.filter((function(e){return e==o})).length)throw new RangeError("".concat(o," is not within ").concat(r.join(", ")));return o}return i}function W(e){if(void 0===e)return Object.create(null);if("object"==typeof e)return e;throw new TypeError("Options must be an object")}var U=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function _(e){return e.slice(e.indexOf("-")+1)}var H=U.map(_);function G(e){return H.indexOf(e)>-1}function Y(e,t){var n=t.tzData,r=t.uppercaseLinks,i=e.toUpperCase(),o=new Set,u=new Set;return Object.keys(n).map((function(e){return e.toUpperCase()})).forEach((function(e){return o.add(e)})),Object.keys(r).forEach((function(e){u.add(e.toUpperCase()),o.add(r[e].toUpperCase())})),o.has(i)||u.has(i)}var q=/[^A-Z]/;function Z(e){return 3===(e=e.replace(/([a-z])/g,(function(e,t){return t.toUpperCase()}))).length&&!q.test(e)}function $(e){if(G(e=e.replace(/([A-Z])/g,(function(e,t){return t.toLowerCase()}))))return!0;var t=e.split("-per-");if(2!==t.length)return!1;var n=t[0],r=t[1];return!(!G(n)||!G(r))}function J(e){return Math.floor(Math.log(e)*Math.LOG10E)}function Q(e,t){if("function"==typeof e.repeat)return e.repeat(t);for(var n=new Array(t),r=0;r<n.length;r++)n[r]=e;return n.join("")}function K(e,t,n,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[n]=r}function X(e,t,n){for(var r=0,i=Object.keys(n);r<i.length;r++){var o=i[r];K(e,t,o,n[o])}}function ee(e,t,n){return te(e,t,n)[n]}function te(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=e.get(t);if(!i)throw new TypeError("".concat(t," InternalSlot has not been initialized"));return n.reduce((function(e,t){return e[t]=i[t],e}),Object.create(null))}function ne(e){return"literal"===e.type}function re(e,t,n){var r=n.value;Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:r})}function ie(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function oe(e,t,n){var r=(0,n.getInternalSlots)(e),i=r.notation,o=r.dataLocaleData,u=r.numberingSystem;switch(i){case"standard":return 0;case"scientific":return t;case"engineering":return 3*Math.floor(t/3);default:var a=r.compactDisplay,c=r.style,s=r.currencyDisplay,l=void 0;if("currency"===c&&"name"!==s){l=(o.numbers.currency[u]||o.numbers.currency[o.numbers.nu[0]]).short}else{var f=o.numbers.decimal[u]||o.numbers.decimal[o.numbers.nu[0]];l="long"===a?f.long:f.short}if(!l)return 0;var p=String(Math.pow(10,t)),d=Object.keys(l);if(p<d[0])return 0;if(p>d[d.length-1])return d[d.length-1].length-1;var m=d.indexOf(p);if(-1===m)return 0;var g=d[m];return"0"===l[g].other?0:g.length-l[g].other.match(/0+/)[0].length}}function ue(e,t,n){var r,i,o,u,a=n;if(0===e)r=Q("0",a),i=0,o=0;else{var c=e.toString(),s=c.indexOf("e"),l=c.split("e"),f=l[0],p=l[1],d=f.replace(".","");if(s>=0&&d.length<=a)i=+p,r=d+Q("0",a-d.length),o=e;else{var m=(i=J(e))-a+1,g=Math.round(y(e,m));y(g,a-1)>=10&&(i+=1,g=Math.floor(g/10)),r=g.toString(),o=y(g,a-1-i)}}if(i>=a-1?(r+=Q("0",i-a+1),u=i+1):i>=0?(r="".concat(r.slice(0,i+1),".").concat(r.slice(i+1)),u=i+1):(r="0.".concat(Q("0",-i-1)).concat(r),u=1),r.indexOf(".")>=0&&n>t){for(var h=n-t;h>0&&"0"===r[r.length-1];)r=r.slice(0,-1),h--;"."===r[r.length-1]&&(r=r.slice(0,-1))}return{formattedString:r,roundedNumber:o,integerDigitsCount:u};function y(e,t){return t<0?e*Math.pow(10,-t):e/Math.pow(10,t)}}function ae(e,t,n){var r,i,o=n,u=Math.round(e*Math.pow(10,o)),a=u/Math.pow(10,o);if(u<1e21)r=u.toString();else{var c=(r=u.toString()).split("e"),s=c[0],l=c[1];r=s.replace(".",""),r+=Q("0",Math.max(+l-r.length+1,0))}if(0!==o){var f=r.length;if(f<=o)r=Q("0",o+1-f)+r,f=o+1;var p=r.slice(0,f-o),d=r.slice(f-o);r="".concat(p,".").concat(d),i=p.length}else i=r.length;for(var m=n-t;m>0&&"0"===r[r.length-1];)r=r.slice(0,-1),m--;return"."===r[r.length-1]&&(r=r.slice(0,-1)),{formattedString:r,roundedNumber:a,integerDigitsCount:i}}function ce(e,t){var n,r=t<0||l(t,-0);switch(r&&(t=-t),e.roundingType){case"significantDigits":n=ue(t,e.minimumSignificantDigits,e.maximumSignificantDigits);break;case"fractionDigits":n=ae(t,e.minimumFractionDigits,e.maximumFractionDigits);break;default:(n=ue(t,1,2)).integerDigitsCount>1&&(n=ae(t,0,0))}t=n.roundedNumber;var i=n.formattedString,o=n.integerDigitsCount,u=e.minimumIntegerDigits;o<u&&(i=Q("0",u-o)+i);return r&&(t=-t),{roundedNumber:t,formattedString:i}}function se(e,t,n){var r=n.getInternalSlots;if(0===t)return[0,0];t<0&&(t=-t);var i=J(t),o=oe(e,i,{getInternalSlots:r});t=o<0?t*Math.pow(10,-o):t/Math.pow(10,o);var u=ce(r(e),t);return 0===u.roundedNumber||J(u.roundedNumber)===i-o?[o,i]:[oe(e,i+1,{getInternalSlots:r}),i+1]}function le(e,t){var n=t.currencyDigitsData;return p(n,e)?n[e]:2}var fe={adlm:["𞥐","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],ahom:["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],bhks:["𑱐","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],brah:["𑁦","𑁧","𑁨","𑁩","𑁪","𑁫","𑁬","𑁭","𑁮","𑁯"],cakm:["𑄶","𑄷","𑄸","𑄹","𑄺","𑄻","𑄼","𑄽","𑄾","𑄿"],cham:["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],deva:["०","१","२","३","४","५","६","७","८","९"],diak:["𑥐","𑥑","𑥒","𑥓","𑥔","𑥕","𑥖","𑥗","𑥘","𑥙"],fullwide:["０","１","２","３","４","５","６","７","８","９"],gong:["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],gonm:["𑵐","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],hmng:["𖭐","𖭑","𖭒","𖭓","𖭔","𖭕","𖭖","𖭗","𖭘","𖭙"],hmnp:["𞅀","𞅁","𞅂","𞅃","𞅄","𞅅","𞅆","𞅇","𞅈","𞅉"],java:["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],kali:["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],lana:["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],lanatham:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],lepc:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mathbold:["𝟎","𝟏","𝟐","𝟑","𝟒","𝟓","𝟔","𝟕","𝟖","𝟗"],mathdbl:["𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"],mathmono:["𝟶","𝟷","𝟸","𝟹","𝟺","𝟻","𝟼","𝟽","𝟾","𝟿"],mathsanb:["𝟬","𝟭","𝟮","𝟯","𝟰","𝟱","𝟲","𝟳","𝟴","𝟵"],mathsans:["𝟢","𝟣","𝟤","𝟥","𝟦","𝟧","𝟨","𝟩","𝟪","𝟫"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],modi:["𑙐","𑙑","𑙒","𑙓","𑙔","𑙕","𑙖","𑙗","𑙘","𑙙"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mroo:["𖩠","𖩡","𖩢","𖩣","𖩤","𖩥","𖩦","𖩧","𖩨","𖩩"],mtei:["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],mymrshan:["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],mymrtlng:["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],newa:["𑑐","𑑑","𑑒","𑑓","𑑔","𑑕","𑑖","𑑗","𑑘","𑑙"],nkoo:["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],olck:["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],osma:["𐒠","𐒡","𐒢","𐒣","𐒤","𐒥","𐒦","𐒧","𐒨","𐒩"],rohg:["𐴰","𐴱","𐴲","𐴳","𐴴","𐴵","𐴶","𐴷","𐴸","𐴹"],saur:["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],segment:["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],shrd:["𑇐","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],sind:["𑋰","𑋱","𑋲","𑋳","𑋴","𑋵","𑋶","𑋷","𑋸","𑋹"],sinh:["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],sora:["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],sund:["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],takr:["𑛀","𑛁","𑛂","𑛃","𑛄","𑛅","𑛆","𑛇","𑛈","𑛉"],talu:["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],tirh:["𑓐","𑓑","𑓒","𑓓","𑓔","𑓕","𑓖","𑓗","𑓘","𑓙"],vaii:["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],wara:["𑣠","𑣡","𑣢","𑣣","𑣤","𑣥","𑣦","𑣧","𑣨","𑣩"],wcho:["𞋰","𞋱","𞋲","𞋳","𞋴","𞋵","𞋶","𞋷","𞋸","𞋹"]},pe=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/,de=new RegExp("^".concat(pe.source)),me=new RegExp("".concat(pe.source,"$")),ge=/[#0](?:[\.,][#0]+)*/g;function he(e,t,n,r){var i,o,u=e.sign,a=e.exponent,c=e.magnitude,s=r.notation,l=r.style,f=r.numberingSystem,p=t.numbers.nu[0],d=null;if("compact"===s&&c&&(d=function(e,t,n,r,i,o,u){var a,c,s=e.roundedNumber,l=e.sign,f=e.magnitude,p=String(Math.pow(10,f)),d=n.numbers.nu[0];if("currency"===r&&"name"!==o){var m=null===(a=((g=n.numbers.currency)[u]||g[d]).short)||void 0===a?void 0:a[p];if(!m)return null;c=De(t,s,m)}else{var g,h=((g=n.numbers.decimal)[u]||g[d])[i][p];if(!h)return null;c=De(t,s,h)}if("0"===c)return null;return c=ve(c,l).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0"),c}(e,n,t,l,r.compactDisplay,r.currencyDisplay,f)),"currency"===l&&"name"!==r.currencyDisplay){var m=t.currencies[r.currency];if(m)switch(r.currencyDisplay){case"code":i=r.currency;break;case"symbol":i=m.symbol;break;default:i=m.narrow}else i=r.currency}if(d)o=d;else if("decimal"===l||"unit"===l||"currency"===l&&"name"===r.currencyDisplay)o=ve((t.numbers.decimal[f]||t.numbers.decimal[p]).standard,u);else if("currency"===l){o=ve((h=t.numbers.currency[f]||t.numbers.currency[p])[r.currencySign],u)}else{o=ve(t.numbers.percent[f]||t.numbers.percent[p],u)}var g=ge.exec(o)[0];if(o=o.replace(ge,"{0}").replace(/'(.)'/g,"$1"),"currency"===l&&"name"!==r.currencyDisplay){var h,y=(h=t.numbers.currency[f]||t.numbers.currency[p]).currencySpacing.afterInsertBetween;y&&!me.test(i)&&(o=o.replace("¤{0}","¤".concat(y,"{0}")));var v=h.currencySpacing.beforeInsertBetween;v&&!de.test(i)&&(o=o.replace("{0}¤","{0}".concat(v,"¤")))}for(var D=o.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),b=[],F=t.numbers.symbols[f]||t.numbers.symbols[p],w=0,E=D;w<E.length;w++){if(U=E[w])switch(U){case"{0}":b.push.apply(b,ye(F,e,s,a,f,!d&&r.useGrouping,g));break;case"-":b.push({type:"minusSign",value:F.minusSign});break;case"+":b.push({type:"plusSign",value:F.plusSign});break;case"%":b.push({type:"percentSign",value:F.percentSign});break;case"¤":b.push({type:"currency",value:i});break;default:/^\{c:/.test(U)?b.push({type:"compact",value:U.substring(3,U.length-1)}):b.push({type:"literal",value:U})}}switch(l){case"currency":if("name"===r.currencyDisplay){var x=(t.numbers.currency[f]||t.numbers.currency[p]).unitPattern,C=void 0,A=t.currencies[r.currency];C=A?De(n,e.roundedNumber*Math.pow(10,a),A.displayName):r.currency;for(var T=[],S=0,O=x.split(/(\{[01]\})/g);S<O.length;S++){switch(U=O[S]){case"{0}":T.push.apply(T,b);break;case"{1}":T.push({type:"currency",value:C});break;default:U&&T.push({type:"literal",value:U})}}return T}return b;case"unit":var k=r.unit,N=r.unitDisplay,B=t.units.simple[k];x=void 0;if(B)x=De(n,e.roundedNumber*Math.pow(10,a),t.units.simple[k][N]);else{var R=k.split("-per-"),L=R[0],M=R[1];B=t.units.simple[L];var I=De(n,e.roundedNumber*Math.pow(10,a),t.units.simple[L][N]),P=t.units.simple[M].perUnit[N];if(P)x=P.replace("{0}",I);else{var j=t.units.compound.per[N],z=De(n,1,t.units.simple[M][N]);x=x=j.replace("{0}",I).replace("{1}",z.replace("{0}",""))}}T=[];for(var V=0,W=x.split(/(\s*\{0\}\s*)/);V<W.length;V++){var U=W[V],_=/^(\s*)\{0\}(\s*)$/.exec(U);_?(_[1]&&T.push({type:"literal",value:_[1]}),T.push.apply(T,b),_[2]&&T.push({type:"literal",value:_[2]})):U&&T.push({type:"unit",value:U})}return T;default:return b}}function ye(e,t,n,r,i,o,u){var a=[],c=t.formattedString,s=t.roundedNumber;if(isNaN(s))return[{type:"nan",value:c}];if(!isFinite(s))return[{type:"infinity",value:c}];var l=fe[i];l&&(c=c.replace(/\d/g,(function(e){return l[+e]||e})));var f,p,d=c.indexOf(".");if(d>0?(f=c.slice(0,d),p=c.slice(d+1)):f=c,o&&("compact"!==n||s>=1e4)){var m=e.group,g=[],h=u.split(".")[0].split(","),y=3,v=3;h.length>1&&(y=h[h.length-1].length),h.length>2&&(v=h[h.length-2].length);var D=f.length-y;if(D>0){for(g.push(f.slice(D,D+y)),D-=v;D>0;D-=v)g.push(f.slice(D,D+v));g.push(f.slice(0,D+v))}else g.push(f);for(;g.length>0;){var b=g.pop();a.push({type:"integer",value:b}),g.length>0&&a.push({type:"group",value:m})}}else a.push({type:"integer",value:f});if(void 0!==p&&a.push({type:"decimal",value:e.decimal},{type:"fraction",value:p}),("scientific"===n||"engineering"===n)&&isFinite(s)){a.push({type:"exponentSeparator",value:e.exponential}),r<0&&(a.push({type:"exponentMinusSign",value:e.minusSign}),r=-r);var F=ae(r,0,0);a.push({type:"exponentInteger",value:F.formattedString})}return a}function ve(e,t){e.indexOf(";")<0&&(e="".concat(e,";-").concat(e));var n=e.split(";"),r=n[0],i=n[1];switch(t){case 0:return r;case-1:return i;default:return i.indexOf("-")>=0?i.replace(/-/g,"+"):"+".concat(r)}}function De(e,t,n){return n[e.select(t)]||n.other}function be(e,t,n){var r,i,o,u=n.getInternalSlots,a=u(e),c=a.pl,s=a.dataLocaleData,f=a.numberingSystem,p=s.numbers.symbols[f]||s.numbers.symbols[s.numbers.nu[0]],d=0,m=0;if(isNaN(t))i=p.nan;else if(isFinite(t)){"percent"===a.style&&(t*=100),m=(r=se(e,t,{getInternalSlots:u}))[0],d=r[1];var g=ce(a,t=m<0?t*Math.pow(10,-m):t/Math.pow(10,m));i=g.formattedString,t=g.roundedNumber}else i=p.infinity;switch(a.signDisplay){case"never":o=0;break;case"auto":o=l(t,0)||t>0||isNaN(t)?0:-1;break;case"always":o=l(t,0)||t>0||isNaN(t)?1:-1;break;default:o=0===t||isNaN(t)?0:t>0?1:-1}return he({roundedNumber:t,formattedString:i,exponent:m,magnitude:d,sign:o},a.dataLocaleData,c,a)}function Fe(e,t,n){for(var r=be(e,t,n),i=f(0),o=0,u=r;o<u.length;o++){var a=u[o];i.push({type:a.type,value:a.value})}return i}var we=n(28900);function Ee(e,t,n){void 0===t&&(t=Object.create(null));var r=(0,n.getInternalSlots)(e),i=V(t,"style","string",["decimal","percent","currency","unit"],"decimal");r.style=i;var o=V(t,"currency","string",void 0,void 0);if(void 0!==o&&!Z(o))throw RangeError("Malformed currency code");if("currency"===i&&void 0===o)throw TypeError("currency cannot be undefined");var u=V(t,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),a=V(t,"currencySign","string",["standard","accounting"],"standard"),c=V(t,"unit","string",void 0,void 0);if(void 0!==c&&!$(c))throw RangeError("Invalid unit argument for Intl.NumberFormat()");if("unit"===i&&void 0===c)throw TypeError("unit cannot be undefined");var s=V(t,"unitDisplay","string",["short","narrow","long"],"short");"currency"===i&&(r.currency=o.toUpperCase(),r.currencyDisplay=u,r.currencySign=a),"unit"===i&&(r.unit=c,r.unitDisplay=s)}function xe(e,t,n,r,i){var o=z(t,"minimumIntegerDigits",1,21,1),u=t.minimumFractionDigits,a=t.maximumFractionDigits,c=t.minimumSignificantDigits,s=t.maximumSignificantDigits;if(e.minimumIntegerDigits=o,void 0!==c||void 0!==s)e.roundingType="significantDigits",c=j(c,1,21,1),s=j(s,c,21,21),e.minimumSignificantDigits=c,e.maximumSignificantDigits=s;else if(void 0!==u||void 0!==a){e.roundingType="fractionDigits",u=j(u,0,20,n),a=j(a,u,20,Math.max(u,r)),e.minimumFractionDigits=u,e.maximumFractionDigits=a}else"compact"===i?e.roundingType="compactRounding":(e.roundingType="fractionDigits",e.minimumFractionDigits=n,e.maximumFractionDigits=r)}function Ce(e,t,n,i){var o=i.getInternalSlots,u=i.localeData,a=i.availableLocales,c=i.numberingSystemNames,s=i.getDefaultLocale,l=i.currencyDigitsData,f=r(t),p=P(n),d=Object.create(null),m=V(p,"localeMatcher","string",["lookup","best fit"],"best fit");d.localeMatcher=m;var g=V(p,"numberingSystem","string",void 0,void 0);if(void 0!==g&&c.indexOf(g)<0)throw RangeError("Invalid numberingSystems: ".concat(g));d.nu=g;var h=(0,we.ResolveLocale)(a,f,d,["nu"],u,s),y=u[h.dataLocale];ie(!!y,"Missing locale data for ".concat(h.dataLocale));var v=o(e);v.locale=h.locale,v.dataLocale=h.dataLocale,v.numberingSystem=h.nu,v.dataLocaleData=y,Ee(e,p,{getInternalSlots:o});var D,b,F=v.style;if("currency"===F){var w=le(v.currency,{currencyDigitsData:l});D=w,b=w}else D=0,b="percent"===F?0:3;var E=V(p,"notation","string",["standard","scientific","engineering","compact"],"standard");v.notation=E,xe(v,p,D,b,E);var x=V(p,"compactDisplay","string",["short","long"],"short");"compact"===E&&(v.compactDisplay=x);var C=V(p,"useGrouping","boolean",void 0,!0);v.useGrouping=C;var A=V(p,"signDisplay","string",["auto","never","always","exceptZero"],"auto");return v.signDisplay=A,e}function Ae(e){for(var t=[],n=e.indexOf("{"),r=0,i=0,o=e.length;n<e.length&&n>-1;)ie((r=e.indexOf("}",n))>n,"Invalid pattern ".concat(e)),n>i&&t.push({type:"literal",value:e.substring(i,n)}),t.push({type:e.substring(n+1,r),value:void 0}),i=r+1,n=e.indexOf("{",i);return i<o&&t.push({type:"literal",value:e.substring(i,o)}),t}function Te(e,t,n){return void 0!==n&&V(n=s(n),"localeMatcher","string",["lookup","best fit"],"best fit"),(0,we.LookupSupportedLocales)(e,t)}var Se,Oe=n(97582);!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}(0,Oe.__extends)(t,e)}(Error);function ke(e){return"MISSING_LOCALE_DATA"===e.type}!function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(Se||(Se={}))},10575:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:a)(e,{cache:n,serializer:r})}function i(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),u=t.get(o);return void 0===u&&(u=e.call(this,r),t.set(o,u)),u}function o(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function u(e,t,n,r,i){return n.bind(t,e,r,i)}function a(e,t){return u(e,this,1===e.length?i:o,t.cache.create(),t.serializer)}n.d(t,{A:()=>f,Z:()=>r});var c=function(){return JSON.stringify(arguments)};function s(){this.cache=Object.create(null)}s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new s}},f={variadic:function(e,t){return u(e,this,o,t.cache.create(),t.serializer)},monadic:function(e,t){return u(e,this,i,t.cache.create(),t.serializer)}}},85983:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>f,RR:()=>c,cv:()=>p,dp:()=>g,dr:()=>m,oo:()=>o,uY:()=>d,x7:()=>a});var r=n(71347);function i(e,t,n){let{reference:i,floating:o}=e;const u=(0,r.Qq)(t),a=(0,r.Wh)(t),c=(0,r.I4)(a),s=(0,r.k3)(t),l="y"===u,f=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,d=i[c]/2-o[c]/2;let m;switch(s){case"top":m={x:f,y:i.y-o.height};break;case"bottom":m={x:f,y:i.y+i.height};break;case"right":m={x:i.x+i.width,y:p};break;case"left":m={x:i.x-o.width,y:p};break;default:m={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":m[a]-=d*(n&&l?-1:1);break;case"end":m[a]+=d*(n&&l?-1:1)}return m}const o=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:u=[],platform:a}=n,c=u.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:p}=i(l,r,s),d=r,m={},g=0;for(let n=0;n<c.length;n++){const{name:u,fn:h}=c[n],{x:y,y:v,data:D,reset:b}=await h({x:f,y:p,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:l,platform:a,elements:{reference:e,floating:t}});f=null!=y?y:f,p=null!=v?v:p,m={...m,[u]:{...m[u],...D}},b&&g<=50&&(g++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(l=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:f,y:p}=i(l,d,s))),n=-1)}return{x:f,y:p,placement:d,strategy:o,middlewareData:m}};async function u(e,t){var n;void 0===t&&(t={});const{x:i,y:o,platform:u,rects:a,elements:c,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:m=0}=(0,r.ku)(t,e),g=(0,r.yd)(m),h=c[d?"floating"===p?"reference":"floating":p],y=(0,r.JB)(await u.getClippingRect({element:null==(n=await(null==u.isElement?void 0:u.isElement(h)))||n?h:h.contextElement||await(null==u.getDocumentElement?void 0:u.getDocumentElement(c.floating)),boundary:l,rootBoundary:f,strategy:s})),v="floating"===p?{...a.floating,x:i,y:o}:a.reference,D=await(null==u.getOffsetParent?void 0:u.getOffsetParent(c.floating)),b=await(null==u.isElement?void 0:u.isElement(D))&&await(null==u.getScale?void 0:u.getScale(D))||{x:1,y:1},F=(0,r.JB)(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:D,strategy:s}):v);return{top:(y.top-F.top+g.top)/b.y,bottom:(F.bottom-y.bottom+g.bottom)/b.y,left:(y.left-F.left+g.left)/b.x,right:(F.right-y.right+g.right)/b.x}}const a=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:u,platform:a,elements:c,middlewareData:s}=t,{element:l,padding:f=0}=(0,r.ku)(e,t)||{};if(null==l)return{};const p=(0,r.yd)(f),d={x:n,y:i},m=(0,r.Wh)(o),g=(0,r.I4)(m),h=await a.getDimensions(l),y="y"===m,v=y?"top":"left",D=y?"bottom":"right",b=y?"clientHeight":"clientWidth",F=u.reference[g]+u.reference[m]-d[m]-u.floating[g],w=d[m]-u.reference[m],E=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l));let x=E?E[b]:0;x&&await(null==a.isElement?void 0:a.isElement(E))||(x=c.floating[b]||u.floating[g]);const C=F/2-w/2,A=x/2-h[g]/2-1,T=(0,r.VV)(p[v],A),S=(0,r.VV)(p[D],A),O=T,k=x-h[g]-S,N=x/2-h[g]/2+C,B=(0,r.uZ)(O,N,k),R=!s.arrow&&null!=(0,r.hp)(o)&&N!==B&&u.reference[g]/2-(N<O?T:S)-h[g]/2<0,L=R?N<O?N-O:N-k:0;return{[m]:d[m]+L,data:{[m]:B,centerOffset:N-B-L,...R&&{alignmentOffset:L}},reset:R}}});const c=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:o,middlewareData:a,rects:c,initialPlacement:s,platform:l,elements:f}=t,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:y=!0,...v}=(0,r.ku)(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const D=(0,r.k3)(o),b=(0,r.k3)(s)===s,F=await(null==l.isRTL?void 0:l.isRTL(f.floating)),w=m||(b||!y?[(0,r.pw)(s)]:(0,r.gy)(s));m||"none"===h||w.push(...(0,r.KX)(s,y,h,F));const E=[s,...w],x=await u(t,v),C=[];let A=(null==(i=a.flip)?void 0:i.overflows)||[];if(p&&C.push(x[D]),d){const e=(0,r.i8)(o,c,F);C.push(x[e[0]],x[e[1]])}if(A=[...A,{placement:o,overflows:C}],!C.every((e=>e<=0))){var T,S;const e=((null==(T=a.flip)?void 0:T.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(S=A.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!n)switch(g){case"bestFit":{var O;const e=null==(O=A.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}};function s(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return r.mA.some((t=>e[t]>=0))}const f=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:i="referenceHidden",...o}=(0,r.ku)(e,t);switch(i){case"referenceHidden":{const e=s(await u(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{const e=s(await u(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}};const p=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:u,placement:a,middlewareData:c}=t,s=await async function(e,t){const{placement:n,platform:i,elements:o}=e,u=await(null==i.isRTL?void 0:i.isRTL(o.floating)),a=(0,r.k3)(n),c=(0,r.hp)(n),s="y"===(0,r.Qq)(n),l=["left","top"].includes(a)?-1:1,f=u&&s?-1:1,p=(0,r.ku)(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return c&&"number"==typeof g&&(m="end"===c?-1*g:g),s?{x:m*f,y:d*l}:{x:d*l,y:m*f}}(t,e);return a===(null==(n=c.offset)?void 0:n.placement)&&null!=(i=c.arrow)&&i.alignmentOffset?{}:{x:o+s.x,y:u+s.y,data:{...s,placement:a}}}}},d=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=(0,r.ku)(e,t),f={x:n,y:i},p=await u(t,l),d=(0,r.Qq)((0,r.k3)(o)),m=(0,r.Rn)(d);let g=f[m],h=f[d];if(a){const e="y"===m?"bottom":"right",t=g+p["y"===m?"top":"left"],n=g-p[e];g=(0,r.uZ)(t,g,n)}if(c){const e="y"===d?"bottom":"right",t=h+p["y"===d?"top":"left"],n=h-p[e];h=(0,r.uZ)(t,h,n)}const y=s.fn({...t,[m]:g,[d]:h});return{...y,data:{x:y.x-n,y:y.y-i}}}}},m=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:o,rects:u,middlewareData:a}=t,{offset:c=0,mainAxis:s=!0,crossAxis:l=!0}=(0,r.ku)(e,t),f={x:n,y:i},p=(0,r.Qq)(o),d=(0,r.Rn)(p);let m=f[d],g=f[p];const h=(0,r.ku)(c,t),y="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){const e="y"===d?"height":"width",t=u.reference[d]-u.floating[e]+y.mainAxis,n=u.reference[d]+u.reference[e]-y.mainAxis;m<t?m=t:m>n&&(m=n)}if(l){var v,D;const e="y"===d?"width":"height",t=["top","left"].includes((0,r.k3)(o)),n=u.reference[p]-u.floating[e]+(t&&(null==(v=a.offset)?void 0:v[p])||0)+(t?0:y.crossAxis),i=u.reference[p]+u.reference[e]+(t?0:(null==(D=a.offset)?void 0:D[p])||0)-(t?y.crossAxis:0);g<n?g=n:g>i&&(g=i)}return{[d]:m,[p]:g}}}},g=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:o,elements:a}=t,{apply:c=(()=>{}),...s}=(0,r.ku)(e,t),l=await u(t,s),f=(0,r.k3)(n),p=(0,r.hp)(n),d="y"===(0,r.Qq)(n),{width:m,height:g}=i.floating;let h,y;"top"===f||"bottom"===f?(h=f,y=p===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,h="end"===p?"top":"bottom");const v=g-l[h],D=m-l[y],b=!t.middlewareData.shift;let F=v,w=D;if(d){const e=m-l.left-l.right;w=p||b?(0,r.VV)(D,e):e}else{const e=g-l.top-l.bottom;F=p||b?(0,r.VV)(v,e):e}if(b&&!p){const e=(0,r.Fp)(l.left,0),t=(0,r.Fp)(l.right,0),n=(0,r.Fp)(l.top,0),i=(0,r.Fp)(l.bottom,0);d?w=m-2*(0!==e||0!==t?e+t:(0,r.Fp)(l.left,l.right)):F=g-2*(0!==n||0!==i?n+i:(0,r.Fp)(l.top,l.bottom))}await c({...t,availableWidth:w,availableHeight:F});const E=await o.getDimensions(a.floating);return m!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}}},13397:(e,t,n)=>{"use strict";n.d(t,{x7:()=>U,Me:()=>P,oo:()=>H,RR:()=>z,Cp:()=>W,dr:()=>_,uY:()=>j,dp:()=>V});var r=n(71347),i=n(85983);function o(e){return c(e)?(e.nodeName||"").toLowerCase():"#document"}function u(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(c(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function c(e){return e instanceof Node||e instanceof u(e).Node}function s(e){return e instanceof Element||e instanceof u(e).Element}function l(e){return e instanceof HTMLElement||e instanceof u(e).HTMLElement}function f(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof u(e).ShadowRoot)}function p(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function d(e){return["table","td","th"].includes(o(e))}function m(e){const t=g(),n=y(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function g(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function h(e){return["html","body","#document"].includes(o(e))}function y(e){return u(e).getComputedStyle(e)}function v(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function D(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||f(e)&&e.host||a(e);return f(t)?t.host:t}function b(e){const t=D(e);return h(t)?e.ownerDocument?e.ownerDocument.body:e.body:l(t)&&p(t)?t:b(t)}function F(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=b(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=u(i);return o?t.concat(a,a.visualViewport||[],p(i)?i:[],a.frameElement&&n?F(a.frameElement):[]):t.concat(i,F(i,[],n))}function w(e){const t=y(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=l(e),u=o?e.offsetWidth:n,a=o?e.offsetHeight:i,c=(0,r.NM)(n)!==u||(0,r.NM)(i)!==a;return c&&(n=u,i=a),{width:n,height:i,$:c}}function E(e){return s(e)?e:e.contextElement}function x(e){const t=E(e);if(!l(t))return(0,r.ze)(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:u}=w(t);let a=(u?(0,r.NM)(n.width):n.width)/i,c=(u?(0,r.NM)(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const C=(0,r.ze)(0);function A(e){const t=u(e);return g()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:C}function T(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=E(e);let c=(0,r.ze)(1);t&&(i?s(i)&&(c=x(i)):c=x(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==u(e))&&t}(a,n,i)?A(a):(0,r.ze)(0);let f=(o.left+l.x)/c.x,p=(o.top+l.y)/c.y,d=o.width/c.x,m=o.height/c.y;if(a){const e=u(a),t=i&&s(i)?u(i):i;let n=e,r=n.frameElement;for(;r&&i&&t!==n;){const e=x(r),t=r.getBoundingClientRect(),i=y(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;f*=e.x,p*=e.y,d*=e.x,m*=e.y,f+=o,p+=a,n=u(r),r=n.frameElement}}return(0,r.JB)({width:d,height:m,x:f,y:p})}const S=[":popover-open",":modal"];function O(e){return S.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function k(e){return T(a(e)).left+v(e).scrollLeft}function N(e,t,n){let i;if("viewport"===t)i=function(e,t){const n=u(e),r=a(e),i=n.visualViewport;let o=r.clientWidth,c=r.clientHeight,s=0,l=0;if(i){o=i.width,c=i.height;const e=g();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:c,x:s,y:l}}(e,n);else if("document"===t)i=function(e){const t=a(e),n=v(e),i=e.ownerDocument.body,o=(0,r.Fp)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),u=(0,r.Fp)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let c=-n.scrollLeft+k(e);const s=-n.scrollTop;return"rtl"===y(i).direction&&(c+=(0,r.Fp)(t.clientWidth,i.clientWidth)-o),{width:o,height:u,x:c,y:s}}(a(e));else if(s(t))i=function(e,t){const n=T(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,u=l(e)?x(e):(0,r.ze)(1);return{width:e.clientWidth*u.x,height:e.clientHeight*u.y,x:o*u.x,y:i*u.y}}(t,n);else{const n=A(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(i)}function B(e,t){const n=D(e);return!(n===t||!s(n)||h(n))&&("fixed"===y(n).position||B(n,t))}function R(e,t,n){const i=l(t),u=a(t),c="fixed"===n,s=T(e,!0,c,t);let f={scrollLeft:0,scrollTop:0};const d=(0,r.ze)(0);if(i||!i&&!c)if(("body"!==o(t)||p(u))&&(f=v(t)),i){const e=T(t,!0,c,t);d.x=e.x+t.clientLeft,d.y=e.y+t.clientTop}else u&&(d.x=k(u));return{x:s.left+f.scrollLeft-d.x,y:s.top+f.scrollTop-d.y,width:s.width,height:s.height}}function L(e,t){return l(e)&&"fixed"!==y(e).position?t?t(e):e.offsetParent:null}function M(e,t){const n=u(e);if(!l(e)||O(e))return n;let r=L(e,t);for(;r&&d(r)&&"static"===y(r).position;)r=L(r,t);return r&&("html"===o(r)||"body"===o(r)&&"static"===y(r).position&&!m(r))?n:r||function(e){let t=D(e);for(;l(t)&&!h(t);){if(m(t))return t;t=D(t)}return null}(e)||n}const I={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:u}=e;const c="fixed"===u,s=a(i),f=!!t&&O(t.floating);if(i===s||f&&c)return n;let d={scrollLeft:0,scrollTop:0},m=(0,r.ze)(1);const g=(0,r.ze)(0),h=l(i);if((h||!h&&!c)&&(("body"!==o(i)||p(s))&&(d=v(i)),l(i))){const e=T(i);m=x(i),g.x=e.x+i.clientLeft,g.y=e.y+i.clientTop}return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-d.scrollLeft*m.x+g.x,y:n.y*m.y-d.scrollTop*m.y+g.y}},getDocumentElement:a,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:u}=e;const a=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=F(e,[],!1).filter((e=>s(e)&&"body"!==o(e))),i=null;const u="fixed"===y(e).position;let a=u?D(e):e;for(;s(a)&&!h(a);){const t=y(a),n=m(a);n||"fixed"!==t.position||(i=null),(u?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||p(a)&&!n&&B(e,a))?r=r.filter((e=>e!==a)):i=t,a=D(a)}return t.set(e,r),r}(t,this._c):[].concat(n),i],c=a[0],l=a.reduce(((e,n)=>{const i=N(t,n,u);return e.top=(0,r.Fp)(i.top,e.top),e.right=(0,r.VV)(i.right,e.right),e.bottom=(0,r.VV)(i.bottom,e.bottom),e.left=(0,r.Fp)(i.left,e.left),e}),N(t,c,u));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:M,getElementRects:async function(e){const t=this.getOffsetParent||M,n=this.getDimensions;return{reference:R(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=w(e);return{width:t,height:n}},getScale:x,isElement:s,isRTL:function(e){return"rtl"===y(e).direction}};function P(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,f=E(e),p=o||u?[...f?F(f):[],...F(t)]:[];p.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));const d=f&&s?function(e,t){let n,i=null;const o=a(e);function u(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function a(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),u();const{left:l,top:f,width:p,height:d}=e.getBoundingClientRect();if(c||t(),!p||!d)return;const m={rootMargin:-(0,r.GW)(f)+"px "+-(0,r.GW)(o.clientWidth-(l+p))+"px "+-(0,r.GW)(o.clientHeight-(f+d))+"px "+-(0,r.GW)(l)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,s))||1};let g=!0;function h(e){const t=e[0].intersectionRatio;if(t!==s){if(!g)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}g=!1}try{i=new IntersectionObserver(h,{...m,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(h,m)}i.observe(e)}(!0),u}(f,n):null;let m,g=-1,h=null;c&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===f&&h&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),f&&!l&&h.observe(f),h.observe(t));let y=l?T(e):null;return l&&function t(){const r=T(e);!y||r.x===y.x&&r.y===y.y&&r.width===y.width&&r.height===y.height||n();y=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{o&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(m)}}const j=i.uY,z=i.RR,V=i.dp,W=i.Cp,U=i.x7,_=i.dr,H=(e,t,n)=>{const r=new Map,o={platform:I,...n},u={...o.platform,_c:r};return(0,i.oo)(e,t,{...o,platform:u})}},1371:(e,t,n)=>{"use strict";n.d(t,{YF:()=>p,x7:()=>u});var r=n(13397),i=n(32747),o=n(10056);const u=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:i}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?(0,r.x7)({element:n.current,padding:i}).fn(t):{}:n?(0,r.x7)({element:n,padding:i}).fn(t):{};var o}});var a="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function c(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,i;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(!c(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function l(e,t){const n=s(e);return Math.round(t*n)/n}function f(e){const t=i.useRef(e);return a((()=>{t.current=e})),t}function p(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:u=[],platform:p,elements:{reference:d,floating:m}={},transform:g=!0,whileElementsMounted:h,open:y}=e,[v,D]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,F]=i.useState(u);c(b,u)||F(u);const[w,E]=i.useState(null),[x,C]=i.useState(null),A=i.useCallback((e=>{e!==k.current&&(k.current=e,E(e))}),[]),T=i.useCallback((e=>{e!==N.current&&(N.current=e,C(e))}),[]),S=d||w,O=m||x,k=i.useRef(null),N=i.useRef(null),B=i.useRef(v),R=null!=h,L=f(h),M=f(p),I=i.useCallback((()=>{if(!k.current||!N.current)return;const e={placement:t,strategy:n,middleware:b};M.current&&(e.platform=M.current),(0,r.oo)(k.current,N.current,e).then((e=>{const t={...e,isPositioned:!0};P.current&&!c(B.current,t)&&(B.current=t,o.flushSync((()=>{D(t)})))}))}),[b,t,n,M]);a((()=>{!1===y&&B.current.isPositioned&&(B.current.isPositioned=!1,D((e=>({...e,isPositioned:!1}))))}),[y]);const P=i.useRef(!1);a((()=>(P.current=!0,()=>{P.current=!1})),[]),a((()=>{if(S&&(k.current=S),O&&(N.current=O),S&&O){if(L.current)return L.current(S,O,I);I()}}),[S,O,I,L,R]);const j=i.useMemo((()=>({reference:k,floating:N,setReference:A,setFloating:T})),[A,T]),z=i.useMemo((()=>({reference:S,floating:O})),[S,O]),V=i.useMemo((()=>{const e={position:n,left:0,top:0};if(!z.floating)return e;const t=l(z.floating,v.x),r=l(z.floating,v.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...s(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,g,z.floating,v.x,v.y]);return i.useMemo((()=>({...v,update:I,refs:j,elements:z,floatingStyles:V})),[v,I,j,z,V])}},71347:(e,t,n)=>{"use strict";n.d(t,{Fp:()=>o,GW:()=>a,I4:()=>h,JB:()=>C,KX:()=>w,NM:()=>u,Qq:()=>y,Rn:()=>g,VV:()=>i,Wh:()=>v,gy:()=>b,hp:()=>m,i8:()=>D,k3:()=>d,ku:()=>p,mA:()=>r,pw:()=>E,uZ:()=>f,yd:()=>x,ze:()=>c});const r=["top","right","bottom","left"],i=Math.min,o=Math.max,u=Math.round,a=Math.floor,c=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function f(e,t,n){return o(e,i(t,n))}function p(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(d(e))?"y":"x"}function v(e){return g(y(e))}function D(e,t,n){void 0===n&&(n=!1);const r=m(e),i=v(e),o=h(i);let u="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(u=E(u)),[u,E(u)]}function b(e){const t=E(e);return[F(e),t,F(t)]}function F(e){return e.replace(/start|end/g,(e=>l[e]))}function w(e,t,n,r){const i=m(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],u=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:u;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(F)))),o}function E(e){return e.replace(/left|right|bottom|top/g,(e=>s[e]))}function x(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function C(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}}}]);